/* Webseite im Stil B «Wegweiser». Baut auf basis.css auf.
   Schrift: Montserrat dünn und fett im Kontrast, Cinzel Decorative für Namen, Dancing Script für Handgeschriebenes.
   Farbe: Cream als Fläche, Ink für dunkle Bänder, je Person ihre Farbe (--p, --p-hell). Gold nur im Verlauf. */
:root { --p: var(--ink); --p-hell: var(--papier); }
.f-j { --p: var(--j); --p-hell: var(--j-hell); }
.f-m { --p: var(--m); --p-hell: var(--m-hell); }
.f-n { --p: var(--n); --p-hell: var(--n-hell); }

/* Kopf: aktiver Punkt, Menü am Handy */
.kopf nav a[aria-current="page"] { color: var(--cream); box-shadow: inset 0 -2px 0 var(--gold-mid); }
.menu-knopf { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--cream); cursor: pointer; place-items: center; }
.menu-knopf span, .menu-knopf span::before, .menu-knopf span::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: rotate 300ms var(--weich), translate 300ms var(--weich), opacity 200ms; }
.menu-knopf span::before, .menu-knopf span::after { content: ""; position: absolute; left: 0; }
.menu-knopf span::before { translate: 0 -7px; } .menu-knopf span::after { translate: 0 7px; }
.menu-knopf[aria-expanded="true"] span { background: transparent; }
.menu-knopf[aria-expanded="true"] span::before { translate: 0 0; rotate: 45deg; }
.menu-knopf[aria-expanded="true"] span::after { translate: 0 0; rotate: -45deg; }
.menu { position: fixed; z-index: 49; inset: calc(env(safe-area-inset-top, 0px) + var(--kopf-h)) 0 0; background: var(--ink); color: var(--cream); padding: 28px var(--gut-r) calc(40px + env(safe-area-inset-bottom, 0px)) var(--gut-l); display: flex; flex-direction: column; gap: 4px; overflow-y: auto; opacity: 0; translate: 0 -8px; pointer-events: none; transition: opacity 250ms ease, translate 350ms var(--weich); }
.menu.offen { opacity: 1; translate: none; pointer-events: auto; }
.menu a:not(.goldknopf) { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 56px; padding-block: 10px; border-bottom: 1px solid color-mix(in srgb, var(--cream) 14%, transparent); text-decoration: none; font-size: 1.6rem; font-weight: 300; letter-spacing: -0.02em; }
.menu a small { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 60%, transparent); }
.menu a[aria-current="page"] { color: var(--gold-mid); }
.menu .goldknopf { margin-top: 24px; align-self: flex-start; }
@media (max-width: 900px) { .menu-knopf { display: grid; } .kopf-innen { gap: 10px; } }
@media (min-width: 901px) { .menu { display: none; } }
@media (max-width: 380px) { .kopf .goldknopf { padding: 0 14px; } }

/* Typografie */
.h-gross { font-weight: 300; font-size: clamp(2.6rem, 1rem + 4.6vw, 5.4rem); line-height: 1; letter-spacing: -0.04em; }
.h-mittel { font-weight: 300; font-size: clamp(2rem, 1rem + 2.8vw, 3.6rem); line-height: 1.04; letter-spacing: -0.035em; }
.h-klein { font-weight: 700; font-size: clamp(1.3rem, 1rem + 0.8vw, 1.7rem); line-height: 1.2; letter-spacing: -0.015em; }
.h-gross b, .h-mittel b { font-weight: 700; }
.h-gross b.block, .h-mittel b.block { display: block; }
.lead { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem); line-height: 1.7; max-width: 36em; }
.leise { color: var(--leise); }
.hand { font-family: var(--hand); font-weight: 400; }
.etikett.farbe { color: var(--p); }
.etikett.punkt { display: inline-flex; align-items: center; gap: 10px; }
.etikett.punkt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* Abschnitte und Bänder */
.abschnitt { padding-block: clamp(72px, 10vw, 150px); }
.abschnitt.eng { padding-block: clamp(56px, 7vw, 100px); }
.papier { background: var(--papier); }
.dunkel { background: var(--ink); color: var(--cream); }
.dunkel .etikett { color: var(--gold-mid); }
.dunkel .leise { color: color-mix(in srgb, var(--cream) 72%, transparent); }
.farbband { background: var(--p); color: var(--cream); }
.farbband .etikett { color: var(--p-hell); }
.zwei { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 110px); align-items: start; }
.zwei.mitte { align-items: center; }
.kopfteil { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 901px) { .klebt { position: sticky; top: calc(var(--kopf-h) + 40px); } }

/* Knöpfe und Links */
.farbknopf { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--p); color: var(--cream); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; transition: translate 300ms var(--weich), box-shadow 300ms; border: 0; cursor: pointer; }
.farbknopf:hover { translate: 0 -2px; box-shadow: 0 14px 28px -16px var(--p); }
.farbband .farbknopf, .dunkel .farbknopf { background: var(--cream); color: var(--p); }
.textlink { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 0.92rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.35em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.textlink:hover { text-decoration-color: currentColor; }
.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Bogen-Porträt mit Namen, wie die Karten auf der Startseite */
.bogen { position: relative; overflow: hidden; border-radius: 999px 999px 24px 24px; background: var(--papier); aspect-ratio: 3 / 4; max-width: 100%; color: var(--cream); }
.bogen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.bogen figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 26px 24px; background: linear-gradient(to top, var(--p) 0, var(--p) calc(100% - 120px), color-mix(in srgb, var(--p) 0%, transparent) 100%); display: flex; flex-direction: column; gap: 6px; }
.bogen figcaption .etikett { color: color-mix(in srgb, var(--cream) 82%, transparent); }
.bogen figcaption b { font-family: var(--zier); font-weight: 400; font-size: clamp(2.2rem, 1.4rem + 1.6vw, 3rem); line-height: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .bogen.auftritt { animation: bogen-auf 1400ms var(--schwung) both 150ms; }
  .js .bogen.auftritt img { animation: bogen-bild 2200ms var(--weich) both 150ms; }
}
@keyframes bogen-auf { from { clip-path: inset(100% 0 0 0 round 999px 999px 24px 24px); } to { clip-path: inset(0 0 0 0 round 999px 999px 24px 24px); } }
@keyframes bogen-bild { from { scale: 1.15; } }

/* Kopfbereich einer Unterseite */
.held { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.held-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.held-text { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.held-text .etikett { color: var(--p); }
@media (prefers-reduced-motion: no-preference) {
  .js .held-text > * { animation: rein 1000ms var(--weich) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
}
@keyframes rein { from { opacity: 0; translate: 0 18px; } }

/* «Kennst du das?»: dieselben Sätze wie im Wegweiser, hier zum Wiedererkennen */
.kennst { display: flex; flex-direction: column; gap: 10px; }
.kennst > p { font-family: var(--hand); font-size: 1.6rem; line-height: 1.1; color: var(--p); rotate: -2deg; align-self: flex-start; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--p-hell); font-size: 0.92rem; font-weight: 500; line-height: 1.3; }
.tags li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--p); }

/* Geschichte */
.zitat { font-family: var(--hand); font-size: clamp(2rem, 1.3rem + 2vw, 3.1rem); line-height: 1.12; color: var(--p); text-wrap: balance; }
.geschichte { display: flex; flex-direction: column; gap: 1.2em; font-size: 1.05rem; line-height: 1.8; max-width: 38em; }
.illu { width: min(100%, 300px); opacity: 0.9; }

/* Schritte (wie Startseite) */
.weg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 36px); counter-reset: s; }
.weg li { position: relative; padding: 28px 26px 30px; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--anchor) 32%, transparent); display: flex; flex-direction: column; gap: 12px; }
.weg li::before { counter-increment: s; content: counter(s); font-weight: 200; font-size: 3.2rem; line-height: 1; letter-spacing: -0.04em; background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.weg h3 { font-size: 1.12rem; font-weight: 700; }
.weg p { font-size: 0.98rem; line-height: 1.7; }
.dunkel .weg p { color: color-mix(in srgb, var(--cream) 78%, transparent); }
.weg ul { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.weg ul li { all: unset; display: flex; gap: 10px; font-size: 0.92rem; line-height: 1.5; }
.weg ul li::before { all: unset; content: "·"; color: var(--gold-mid); font-weight: 700; }
.weg .meta { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-mid); }
.hell-weg li { border-color: var(--linie); background: var(--cream); }
.hell-weg li::before { background: none; color: var(--p); -webkit-background-clip: border-box; background-clip: border-box; }

/* Angebote */
.angebote { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.angebot { display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 28px; border-radius: 24px; background: var(--cream); border: 1px solid var(--linie); }
.papier .angebot { background: var(--cream); }
.angebot .marke-klein { text-transform: uppercase; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--p-hell); color: var(--p); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.angebot h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.angebot > p { font-size: 0.98rem; line-height: 1.65; color: var(--leise); }
.angebot ul { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.angebot ul li { display: flex; gap: 12px; font-size: 0.95rem; line-height: 1.45; }
.angebot ul li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.5em; border-radius: 50%; background: var(--p); }
.preis { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--linie); display: flex; flex-direction: column; gap: 4px; }
.preis b { font-size: 2rem; font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; }
.preis span { font-size: 0.85rem; color: var(--leise); }
.angebot .farbknopf, .angebot .goldknopf { align-self: stretch; }
.angebot.betont { background: var(--ink); color: var(--cream); border-color: color-mix(in srgb, var(--anchor) 35%, transparent); box-shadow: 0 30px 50px -30px var(--p); }
.angebot.betont > p, .angebot.betont .preis span { color: color-mix(in srgb, var(--cream) 72%, transparent); }
.angebot.betont .preis { border-top-color: color-mix(in srgb, var(--cream) 18%, transparent); }
.angebot.betont ul li::before { background: var(--p-hell); }
.angebot.betont .marke-klein { background: var(--p); color: var(--cream); }
.angebot.betont .farbknopf { background: var(--p); color: var(--cream); }

/* Formulare und Termine */
.feld { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 600; }
.feld input, .feld textarea { font: inherit; font-size: 1rem; font-weight: 400; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); background: var(--cream); color: var(--ink); width: 100%; }
.feld textarea { min-height: 96px; resize: vertical; }
.feld input:focus-visible, .feld textarea:focus-visible { outline: 2px solid var(--anchor); outline-offset: 1px; }
.feld small { font-weight: 400; opacity: 0.75; }
.formular { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: color-mix(in srgb, var(--cream) 10%, transparent); border: 1px solid color-mix(in srgb, var(--cream) 22%, transparent); }
.formular .klein { font-size: 0.8rem; opacity: 0.8; }
.formular .farbknopf { align-self: flex-start; }
.vorschau-meldung { padding: 14px 18px; border-radius: 14px; background: var(--cream); color: var(--ink); font-size: 0.92rem; line-height: 1.5; }
.nicht-sichtbar { position: absolute; left: -9999px; }
.zeiten { display: flex; flex-direction: column; gap: 10px; }
.zeit { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 20px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--cream) 28%, transparent); background: color-mix(in srgb, var(--cream) 8%, transparent); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color 250ms, padding-left 300ms var(--weich); }
.zeit:hover, .zeit[aria-pressed="true"] { background: var(--cream); color: var(--p); padding-left: 26px; }
.zeit b { display: block; font-size: 1.05rem; } .zeit span { font-size: 0.9rem; opacity: 0.85; }
.zeit em { font-style: normal; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; }

/* Zähler Gratisplätze */
.zaehler { display: flex; align-items: flex-end; gap: 18px; }
.zaehler b { font-weight: 200; font-size: clamp(4.4rem, 3rem + 4vw, 7rem); line-height: 0.85; letter-spacing: -0.05em; color: var(--p); font-variant-numeric: tabular-nums; }
.zaehler span { font-size: 0.95rem; line-height: 1.4; font-weight: 600; padding-bottom: 6px; }
.balken { height: 6px; border-radius: 6px; background: var(--p-hell); overflow: hidden; }
.balken i { display: block; height: 100%; width: var(--w, 0%); background: var(--p); border-radius: 6px; transition: width 1400ms var(--schwung); }

/* Bücher, Basics, Empfehlungen */
.buecher { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.buch { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.buch img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px 14px 14px 6px; box-shadow: 0 18px 30px -18px color-mix(in srgb, var(--ink) 60%, transparent); transition: translate 400ms var(--weich), rotate 400ms var(--weich); }
.buch:hover img { translate: 0 -6px; rotate: -1.5deg; }
.buch span { font-size: 0.88rem; font-weight: 600; line-height: 1.35; }
.basics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.basic { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 22px; background: var(--cream); }
.basic img { height: 120px; width: auto; object-fit: contain; align-self: flex-start; }
.basic b { font-size: 1.05rem; } .basic small { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--p); }
.basic p { font-size: 0.92rem; line-height: 1.6; color: var(--leise); }
.emp-liste { display: flex; flex-direction: column; }
.emp { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--linie); }
.emp-bild { align-self: start; display: flex; gap: 10px; align-items: flex-end; justify-content: center; padding: 18px; border-radius: 22px; background: var(--cream); min-height: 200px; }
.emp-bild img { max-height: 180px; width: auto; object-fit: contain; }
.emp-text { display: flex; flex-direction: column; gap: 12px; }
.emp-text h3 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.emp-text .form { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--p); }
.emp-text > p { font-size: 1rem; line-height: 1.75; max-width: 42em; }
.gesetz { padding: 14px 18px; border-left: 3px solid var(--p); background: var(--cream); border-radius: 0 14px 14px 0; font-size: 0.92rem; line-height: 1.6; }
.gesetz b { display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--p); margin-bottom: 4px; }
.werbung { font-size: 0.78rem; color: var(--leise); }
.code { display: inline-flex; align-items: center; gap: 16px; min-height: 60px; padding: 0 12px 0 22px; border-radius: 999px; border: 1px dashed color-mix(in srgb, var(--anchor) 60%, transparent); font: inherit; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.08em; background: none; color: inherit; cursor: pointer; }
.code span { padding: 8px 14px; border-radius: 999px; background: var(--gradient-gold); color: var(--ink); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* Themenkarten Hormon-Analyse */
.themen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.thema { padding: 26px 24px; border-radius: 22px; background: var(--cream); display: flex; flex-direction: column; gap: 12px; }
.thema h3 { font-size: 1.2rem; font-weight: 700; }
.thema ul { display: flex; flex-direction: column; gap: 6px; }
.thema li { font-size: 0.93rem; line-height: 1.45; display: flex; gap: 10px; }
.thema li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.55em; border-radius: 50%; background: var(--p); }
.hinweis { padding: 18px 22px; border-radius: 18px; border: 1px solid var(--linie); font-size: 0.95rem; line-height: 1.65; max-width: 48em; }
.preisbox { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 22px; background: var(--papier); max-width: 30em; }
.preisbox .gross { display: flex; align-items: baseline; gap: 14px; }
.preisbox .gross b { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.03em; }
.preisbox .gross s { color: var(--leise); font-size: 1.1rem; }
.fakten { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.92rem; font-weight: 600; }
.fakten li { display: inline-flex; gap: 8px; align-items: center; }
.fakten li::before { content: "✓"; color: var(--p); font-weight: 700; }

/* Fragen */
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen details:first-child { border-top: 1px solid var(--linie); }
.fragen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; min-height: 64px; padding-block: 16px; font-weight: 600; font-size: 1.05rem; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -3px; transition: rotate 350ms var(--weich); }
.fragen details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.fragen details p { padding: 0 40px 24px 0; line-height: 1.75; max-width: 42em; }

/* Abschied */
.abschied { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.abschied .unterschrift { font-family: var(--hand); font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3.2rem); color: var(--p-hell); }

/* Newsletter-Band */
.nl { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }

/* Handy */
@media (max-width: 900px) {
  .zwei, .held-raster, .abschied, .nl { grid-template-columns: minmax(0, 1fr); }
  .held-raster .bogen { width: min(56%, 230px); order: -1; }
  .held-raster .bogen figcaption { padding: 70px 16px 14px; background: linear-gradient(to top, var(--p) 0, var(--p) calc(100% - 70px), color-mix(in srgb, var(--p) 0%, transparent) 100%); }
  .held-raster .bogen figcaption b { font-size: 1.6rem; }
  .held-raster .bogen figcaption .etikett { font-size: 0.6rem; }
  .held-raster > img { width: min(70%, 300px); order: -1; }
  .weg, .themen { grid-template-columns: minmax(0, 1fr); }
  .basics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buecher { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .buch { scroll-snap-align: start; }
  .emp { grid-template-columns: minmax(0, 1fr); }
  .emp-bild { justify-content: flex-start; min-height: 0; }
  .emp-bild img { max-height: 140px; }
}
@media (max-width: 520px) { .basics { grid-template-columns: minmax(0, 1fr); } .basic img { height: 96px; } }

/* Danke-Meldungen und Fehler in Formularen */
.danke { display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--cream); color: var(--ink); }
.danke b { font-size: 1.3rem; } .danke p { line-height: 1.6; }
.fehler-text { font-size: 0.92rem; font-weight: 600; color: var(--cream); background: color-mix(in srgb, var(--status-error) 70%, transparent); padding: 10px 14px; border-radius: 12px; }
.fehler-text:empty { display: none; }
.formular.hell { background: var(--papier); border-color: var(--linie); }
.formular.hell .feld input, .formular.hell .feld textarea { background: var(--cream); }
.formular.hell .fehler-text { color: var(--status-error); background: var(--status-error-bg); }
.kopf nav a[aria-current="page"] { color: var(--cream); }
