/* ==========================================================================
   Naturheilpraxis Alexandra Kuritz
   Leitmotiv: das Ginkgo-Logo - zwei Blaetter, die zusammen ein Ganzes bilden.
   Farben aus Ginkgo im Jahreslauf: Moosgruen, Herbstgold, Papier, Tinte.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f2e8;
  --paper-2: #efe6d4;
  --card: #fffcf6;
  --ink: #2a2a24;
  --ink-soft: #57574c;
  --moss: #4d5f43;
  --moss-deep: #2f3b2a;
  --moss-light: #dfe5d3;
  --gold: #b8892c;
  --gold-soft: #ead9ae;
  --line: #ddd2bc;
  --rust: #9a4f32;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 100px;
  --radius: 18px;
  --wrap: 1160px;
  --shadow: 0 1px 2px rgba(42, 42, 36, .05), 0 12px 32px -12px rgba(42, 42, 36, .18);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--moss); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--moss-deep); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--moss-deep);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.6rem; font-weight: 600; }
h1 em, h2 em { font-style: italic; color: var(--gold); }

p { margin: 0 0 1.1em; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 44rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; }

.lead { font-size: 1.2rem; color: var(--ink-soft); }

.skip {
  position: absolute; left: -999px; top: 1rem;
  background: var(--moss-deep); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 1rem; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font: 600 .98rem/1.2 var(--sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--moss); color: #fff; }
.btn-primary:hover { background: var(--moss-deep); color: #fff; }
.btn-ghost { border-color: var(--moss); color: var(--moss); background: transparent; }
.btn-ghost:hover { background: var(--moss); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9c7322; color: #fff; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 232, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--moss-deep); }
/* Das Logo kommt als Maske, damit es jede Textfarbe annehmen kann. */
.logo-mask {
  display: block;
  background: currentColor;
  -webkit-mask: url("../img/logo.svg") center / contain no-repeat;
  mask: url("../img/logo.svg") center / contain no-repeat;
}
.brand .logo-mask { width: 48px; height: 48px; flex: none; }
.site-header .brand { gap: 1rem; }
.site-header .brand .logo-mask { width: 64px; height: 64px; }
.site-header .brand-name { font-size: 1.85rem; }
.site-header .brand-sub { font-size: .76rem; }
.brand-logo { color: var(--moss); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.brand-sub { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 1.1rem; font-weight: 500; position: relative; white-space: nowrap; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--gold); transition: right .25s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: .75em 1.5em; font-size: 1.05rem; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--moss-deep);
}
.nav-toggle svg { width: 32px; height: 32px; }

@media (max-width: 1180px) {
  :root { --header-h: 84px; }
  .site-header .brand .logo-mask { width: 54px; height: 54px; }
  .site-header .brand-name { font-size: 1.6rem; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1.2rem; justify-content: center; }
}

/* --- Hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero p.lead { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-top: 2.4rem; font-size: .9rem; color: var(--ink-soft); }
.hero-meta span { display: inline-flex; align-items: center; gap: .45em; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero-art { position: relative; aspect-ratio: 1; }
.hero-art .disc {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--card), var(--paper-2) 70%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.hero-art .ring {
  position: absolute; inset: -7%; border-radius: 50%;
  border: 1px dashed var(--gold-soft);
  animation: turn 120s linear infinite;
}
.hero-art .logo-big {
  position: absolute; inset: 9%; color: var(--moss);
  animation: breathe 9s ease-in-out infinite;
}
.hero-art .seal {
  position: absolute; right: -2%; bottom: 6%;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: .6rem 1.1rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--moss-deep);
  box-shadow: var(--shadow);
}
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.025) rotate(-1.5deg); } }

.leaf-bg {
  position: absolute; color: var(--gold-soft); opacity: .4; pointer-events: none; z-index: -1;
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; width: 80%; margin: 0 auto; order: -1; }
}

/* --- Sections ----------------------------------------------------------- */
section { scroll-margin-top: calc(var(--header-h) + 8px); }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 2.2rem; height: 1px; background: currentColor; }

.alt { background: var(--paper-2); }
.dark { background: var(--moss-deep); color: #e9e6da; }
.dark h2, .dark h3 { color: #f7f2e8; }
.dark .lead { color: #c9cbb8; }
.dark a { color: var(--gold-soft); }

/* Zitat / Philosophie */
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.poem {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.45; font-style: italic;
  color: var(--moss-deep); border-left: 2px solid var(--gold); padding-left: 1.6rem; margin: 0;
}
.poem cite { display: block; margin-top: 1rem; font-family: var(--sans); font-style: normal; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 800px) { .quote-grid { grid-template-columns: 1fr; } }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3.5rem; }
.pillar { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.pillar .num { font-family: var(--serif); font-size: 1rem; color: var(--gold); font-weight: 600; letter-spacing: .1em; }
.pillar h3 { margin-top: .3rem; }
.pillar p { color: var(--ink-soft); margin: 0; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.3rem; }
.card {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem 1.8rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card .icon {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--moss-light); color: var(--moss); margin-bottom: 1.2rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: .98rem; margin: 0; }
.card.featured { background: var(--moss); border-color: var(--moss); color: #eef0e4; }
.card.featured h3 { color: #fff; }
.card.featured p { color: #dfe5d3; }
.card.featured .icon { background: rgba(255,255,255,.14); color: var(--gold-soft); }
.card.featured a { color: #fff; font-weight: 600; }
.card .tag {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  background: var(--gold); color: #fff; border-radius: 999px; padding: .25rem .7rem;
}

/* Haarmineralanalyse-Teaser */
.hma { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
/* Grid-Kinder duerfen schmaler werden als ihr Inhalt, sonst druecken
   die Elementkacheln (nowrap) die Seite mobil ueber den Rand. */
.hma > *, .two-col > *, .quote-grid > *, .about > *, .contact > * { min-width: 0; }
@media (max-width: 900px) { .hma { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .elements { gap: .35rem; } .el { padding: .3rem .35rem; border-radius: 8px; } .el .nm { display: none; } .facts { gap: .6rem; } .fact b { font-size: 2rem; } }

.elements { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.el {
  aspect-ratio: 1; border-radius: 10px; padding: .45rem .5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  transition: background .2s, transform .2s;
}
.el:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.el .no { font-size: .62rem; opacity: .6; }
.el .sym { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.85rem); font-weight: 600; line-height: 1; color: #fff; }
.el .nm { font-size: .6rem; letter-spacing: .02em; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.el.tox { background: rgba(154, 79, 50, .28); border-color: rgba(214, 140, 110, .45); }
.el-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; font-size: .82rem; color: #c9cbb8; }
.el-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .45em; vertical-align: -1px; background: rgba(255,255,255,.2); }
.el-legend span.t::before { background: rgba(214, 140, 110, .7); }

/* Heller Kontext fuer die Elementtafel (Unterseite) */
.light-table .el { background: var(--card); border-color: var(--line); }
.light-table .el:hover { background: #fff; }
.light-table .el .sym { color: var(--moss-deep); }
.light-table .el .no, .light-table .el .nm { color: var(--ink-soft); opacity: 1; }
.light-table .el.tox { background: #f6e6dd; border-color: #e3bfae; }
.light-table .el.tox .sym { color: var(--rust); }
.light-table + .el-legend { color: var(--ink-soft); }
.light-table + .el-legend span::before { background: var(--line); }
.light-table + .el-legend span.t::before { background: #e3bfae; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.fact { border-top: 1px solid rgba(255,255,255,.2); padding-top: .8rem; }
.fact b { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 500; color: var(--gold-soft); line-height: 1; }
.fact span { font-size: .85rem; color: #c9cbb8; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px);
}
.steps li { position: relative; counter-increment: s; text-align: center; padding: 0 .4rem; }
.steps li::before {
  content: counter(s);
  display: grid; place-items: center; margin: 0 auto 1.2rem;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  position: relative;
}
.alt .steps li::before { background: var(--paper-2); }
.steps h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.steps p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 0; bottom: 0; left: 27px; right: auto; width: 1px; height: auto;
    background: repeating-linear-gradient(180deg, var(--gold) 0 6px, transparent 6px 12px); }
  .steps li { text-align: left; padding: 0 0 2rem 78px; min-height: 54px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

/* Ueber mich */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.portrait-wrap { position: relative; }
.portrait {
  position: relative; margin: 0; aspect-ratio: 4 / 5;
  border-radius: 220px 220px var(--radius) var(--radius);
  overflow: hidden; background: var(--moss-light);
  box-shadow: var(--shadow);
}
/* Feiner Innenrahmen, der den Bogen nachzeichnet */
.portrait::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid rgba(255, 252, 246, .55);
  border-radius: 210px 210px calc(var(--radius) - 6px) calc(var(--radius) - 6px);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.portrait figcaption {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); white-space: nowrap;
  background: rgba(255, 252, 246, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-radius: 999px; padding: .45rem 1.1rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--moss-deep);
}
.portrait-badge {
  position: absolute; right: -22px; top: 18%;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--gold-soft); box-shadow: var(--shadow);
  display: grid; place-items: center; color: var(--gold);
}
.portrait-badge .logo-mask { width: 64%; height: 64%; }

.signature { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.4rem; }
.signature img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--gold-soft); }
.signature strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--moss-deep); line-height: 1.2; }
.signature em { font-family: var(--serif); font-size: 1.15rem; color: var(--gold); }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: .3em;
  background: var(--gold);
  -webkit-mask: url("../img/leaf.svg") center / contain no-repeat;
  mask: url("../img/leaf.svg") center / contain no-repeat;
}
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .portrait-wrap { max-width: 360px; width: calc(100% - 24px); } .portrait-badge { width: 72px; height: 72px; right: -16px; } .portrait figcaption { font-size: .66rem; letter-spacing: .1em; padding: .4rem .9rem; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: center; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 50%; background: var(--moss-light); color: var(--moss); display: grid; place-items: center; }
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list a, .contact-list strong { color: var(--ink); font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--moss); text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; font-size: .95rem; }
.hours td { padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; color: var(--ink-soft); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* CTA-Band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--moss); color: #eef0e4; border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2.5rem, 6vw, 4rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #dfe5d3; }
.cta-band .leaf-bg { color: #fff; opacity: .08; right: -40px; top: -30px; width: 300px; transform: rotate(-18deg); z-index: -1; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Hinweisbox */
.note {
  font-size: .9rem; color: var(--ink-soft); background: var(--card);
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 10px; padding: 1rem 1.2rem; margin-top: 2rem;
}
.dark .note { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); border-left-color: var(--gold); color: #c9cbb8; }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.4rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; position: relative;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--moss-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding-bottom: 1.2rem; color: var(--ink-soft); }

/* Haar-Zeitachse */
.hair { margin: 2.5rem 0 1rem; }
.hair-track { position: relative; height: 64px; }
.hair-strand {
  position: absolute; left: 0; right: 0; top: 30px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #6b5a44, #a88f6a 60%, #c9b28a);
}
.hair-root { position: absolute; left: -6px; top: 24px; width: 16px; height: 16px; border-radius: 50%; background: #6b5a44; }
.hair-mark { position: absolute; top: 0; transform: translateX(-50%); text-align: center; white-space: nowrap; font-size: .78rem; color: var(--ink-soft); }
.hair-mark::after { content: ""; display: block; width: 1px; height: 22px; background: var(--gold); margin: 4px auto 0; }
.hair-caption { display: flex; justify-content: space-between; font-size: .82rem; color: var(--ink-soft); }

/* Seitenkopf Unterseiten */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); position: relative; overflow: hidden; isolation: isolate; }
.page-hero .leaf-bg { right: -80px; top: -40px; width: 420px; }
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--ink-soft); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.ratios { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.ratios li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; text-align: center; }
.ratios b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--moss-deep); font-weight: 600; line-height: 1.1; }
.ratios span { font-size: .78rem; color: var(--ink-soft); }

/* Rechtstexte */
.legal { padding: 3rem 0 5rem; overflow-wrap: break-word; }
.legal h1, .legal h2 { hyphens: auto; -webkit-hyphens: auto; }
.legal h2 { font-size: 1.9rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.35rem; margin-top: 1.6rem; }
.legal p, .legal li { color: var(--ink-soft); }
.todo { background: #fff3cd; color: #6b4e00; padding: 0 .3em; border-radius: 4px; font-weight: 600; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--moss-deep); color: #c9cbb8; padding: 4rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #e9e6da; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h4 { font-family: var(--sans); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 1rem; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer .brand { color: #f7f2e8; margin-bottom: 1rem; }
.site-footer .brand-logo { color: var(--gold-soft); }
.site-footer .brand-sub { color: #a9ad97; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; color: #a9ad97; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Einblenden beim Scrollen ------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
