/* Zellgefühl · Tessa Feldmann
   Design passend zum Wechseljahre-Tagebuch: Creme, Königsblau, Salbei, Rosé.
   Schriften liegen lokal auf dem Server (kein Google-Fonts-Aufruf, DSGVO). */

@font-face { font-family: "Raleway"; src: url("/assets/fonts/raleway-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("/assets/fonts/raleway-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("/assets/fonts/raleway-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url("/assets/fonts/dancing-script-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url("/assets/fonts/dancing-script-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --blau: #24439a;
  --blau-dunkel: #1b3478;
  --salbei: #8fb5ad;
  --salbei-hell: #e3eeeb;
  --rose: #e8a99f;
  --rose-hell: #f9ebe7;
  --creme: #f8f6f1;
  --weiss: #fffefb;
  --text: #2f3b5c;
  --text-leise: #5d6884;
  --linie: #d3e3df;
  --rund: 18px;
  --schatten: 0 12px 30px -20px rgba(36, 67, 154, .4);
  --schrift: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --zier: "Dancing Script", "Segoe Script", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.75; color: var(--text); background: var(--creme); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); text-underline-offset: 3px; }
a:hover { color: var(--blau-dunkel); }
strong { font-weight: 700; color: var(--blau-dunkel); }
:focus-visible { outline: 3px solid var(--salbei); outline-offset: 3px; border-radius: 6px; }

h1, h2, .zier { font-family: var(--zier); font-weight: 600; color: var(--blau); line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.3rem); }
h2 { font-size: clamp(2.05rem, 4.4vw, 2.9rem); margin-bottom: .55em; }
h3 { font-size: 1.12rem; font-weight: 700; color: var(--blau); line-height: 1.35; margin-bottom: .45em; }
p + p, p + ul, ul + p { margin-top: 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.schmal { width: min(780px, 100% - 32px); margin-inline: auto; }
.zentriert { text-align: center; }
.text-lg { font-size: 1.15rem; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--blau); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Kopf ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(248, 246, 241, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--zier); font-weight: 600; font-size: 1.9rem; color: var(--blau); line-height: 1; }
.brand img { width: 44px; height: auto; }
.brand small { display: block; font-family: var(--schrift); font-size: .58rem; letter-spacing: .14em; font-weight: 700; margin-top: 4px; text-transform: uppercase; }
.main-nav__list { display: flex; align-items: center; gap: 22px; list-style: none; }
.main-nav a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--text); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blau); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--rose); text-decoration-thickness: 2px; }
.main-nav__cta { background: var(--blau); color: #fff !important; padding: 9px 20px; border-radius: 999px; text-decoration: none !important; }
.main-nav__cta:hover { background: var(--blau-dunkel); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--blau); border-radius: 2px; content: ""; transition: transform .2s; }
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { left: 0; top: -7px; }
.nav-toggle__bar::after { left: 0; top: 7px; }

/* ---------- Abschnitte ---------- */
main { display: block; }
.section { position: relative; padding: clamp(60px, 8.5vw, 104px) 0; overflow-x: clip; }
.section--weiss { background: var(--weiss); }
.section--salbei { background: var(--salbei-hell); }
.section--rose { background: var(--rose-hell); }

.zweig { position: absolute; width: clamp(100px, 14vw, 180px); pointer-events: none; }
.zweig--links { left: -22px; bottom: 0; }
.zweig--rechts { right: -22px; top: 24px; transform: scaleX(-1); }

.eyebrow { font-family: var(--zier); font-size: clamp(1.35rem, 2.6vw, 1.7rem); color: var(--rose); font-weight: 600; margin-bottom: .2em; line-height: 1.2; }
.lead { font-size: 1.12rem; color: var(--text-leise); max-width: 640px; }
.zentriert .lead { margin-inline: auto; }

/* Startbereich und Seitenkopf */
.hero, .page-hero { position: relative; overflow-x: clip; text-align: center; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 90px); }
.hero__muschel { width: 86px; margin: 0 auto 16px; }
.hero .lead, .page-hero .lead { margin: 1.1em auto 0; }
.hero__actions, .knoepfe { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.links-buendig .hero__actions, .links-buendig .knoepfe { justify-content: flex-start; }

/* Herz-Trenner wie im Tagebuch */
.trenner { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 26px auto 0; color: var(--rose); font-size: 1rem; }
.trenner::before, .trenner::after { content: ""; width: 64px; height: 1.5px; background: var(--rose); border-radius: 2px; }

/* Knöpfe */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-family: var(--schrift); font-size: 1rem; line-height: 1.3; padding: 14px 28px; border-radius: 999px; border: 2px solid var(--blau); cursor: pointer; transition: background .2s, transform .2s, color .2s; text-align: center; }
.btn--primary { background: var(--blau); color: #fff; }
.btn--primary:hover { background: var(--blau-dunkel); border-color: var(--blau-dunkel); color: #fff; transform: translateY(-2px); }
.btn--secondary, .btn--ghost { background: transparent; color: var(--blau); }
.btn--secondary:hover, .btn--ghost:hover { background: var(--salbei-hell); }

/* Zwei Wege auf der Startseite */
.wege { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 10px; }
.weg { position: relative; overflow: hidden; background: var(--weiss); border: 1.5px solid var(--linie); border-radius: 24px; padding: clamp(28px, 4vw, 42px); box-shadow: var(--schatten); display: flex; flex-direction: column; }
.weg--rose { background: linear-gradient(160deg, var(--weiss) 55%, var(--rose-hell)); }
.weg--salbei { background: linear-gradient(160deg, var(--weiss) 55%, var(--salbei-hell)); }
.weg .eyebrow { font-size: 1.4rem; }
.weg h2 { font-size: clamp(1.9rem, 3.4vw, 2.4rem); }
.weg ul { margin-top: 6px; }
.weg .btn { margin-top: auto; align-self: flex-start; }
.weg .weg__text { margin-bottom: 26px; }

/* Karten im Stil der Tagebuch-Kästen */
.karten, .pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 34px; }
.karte, .pillar-card, .booking-card, .cross-link-card { background: var(--weiss); border: 1.5px solid var(--linie); border-radius: var(--rund); padding: 26px; box-shadow: var(--schatten); }
.karte__zahl { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--salbei); display: grid; place-items: center; color: var(--blau); font-weight: 700; margin-bottom: 14px; }
.pillar-card__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--salbei-hell); display: grid; place-items: center; margin-bottom: 16px; color: var(--blau); }
.pillar-card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.cross-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 26px; }
.cross-link-card { text-decoration: none; color: var(--text); transition: transform .2s, border-color .2s; }
.cross-link-card:hover { transform: translateY(-3px); border-color: var(--salbei); color: var(--text); }
.cross-link-card__label { font-weight: 700; color: var(--blau); }
.cross-link-card p { margin-top: 6px; }

/* Inhaltsblöcke */
.content-block + .content-block { margin-top: 44px; }
.content-block h2 { margin-bottom: .45em; }

/* Listen mit Kästchen wie im Tagebuch */
.symptom-list, .liste { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.symptom-list { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.symptom-list li, .liste li { background: var(--weiss); border: 1.5px solid var(--linie); border-radius: 14px; padding: 13px 18px 13px 50px; position: relative; }
.symptom-list li::before, .liste li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 16px; height: 16px; border: 1.5px solid var(--rose); border-radius: 4px; }
.haken { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.haken li { padding-left: 32px; position: relative; }
.haken li::before { content: "♡"; position: absolute; left: 4px; top: 0; color: var(--rose); font-size: 1.15rem; }
.link-list { list-style: none; display: grid; gap: 8px; margin-top: 14px; }

/* Hervorgehobener Satz wie "Ein Satz für mich" */
.satz { background: var(--rose-hell); border: 1.5px solid #f1d2cb; border-radius: var(--rund); padding: 32px 26px; text-align: center; font-family: var(--zier); font-size: clamp(1.5rem, 3.3vw, 2rem); color: var(--blau); line-height: 1.3; margin-top: 36px; }

/* Zitat */
.zitat { font-family: var(--zier); font-size: clamp(1.45rem, 3vw, 1.9rem); color: var(--blau); max-width: 680px; margin: 1em auto 0; line-height: 1.35; }

/* Zwei Spalten */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 72px); align-items: center; }
.zwei--oben { align-items: start; }
.bogen { aspect-ratio: 4 / 5; border-radius: 220px 220px var(--rund) var(--rund); overflow: hidden; border: 1.5px solid var(--linie); background: var(--salbei-hell); box-shadow: var(--schatten); }
.bogen img { width: 100%; height: 100%; object-fit: cover; }
.foto-paar { position: relative; padding-bottom: 60px; }
.foto-paar .bogen--klein { position: absolute; width: 42%; right: -4%; bottom: 0; border: 6px solid var(--creme); border-radius: 120px 120px 14px 14px; }

/* Warnhinweis */
.warning-box { background: var(--weiss); border: 1.5px solid #f1d2cb; border-left: 6px solid var(--rose); border-radius: var(--rund); padding: clamp(24px, 4vw, 36px); }
.warning-box h3 { font-size: 1.3rem; }
.warning-section { padding-top: 0; }

/* Abschluss-Band */
.cta-band { background: var(--blau); color: #eef1fa; border-radius: 26px; padding: clamp(34px, 6vw, 60px); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dfe5f5; max-width: 560px; margin-inline: auto; }
.cta-band .btn--primary { background: #fff; color: var(--blau); border-color: #fff; margin-top: 22px; }
.cta-band .btn--primary:hover { background: var(--rose-hell); border-color: var(--rose-hell); color: var(--blau); }
.cta-band .zweig { opacity: .35; }

.disclaimer, .hinweis { font-size: .86rem; color: var(--text-leise); line-height: 1.6; }
.hinweis { text-align: center; margin-top: 28px; }

/* Tagebuch-Geschenk */
.geschenk { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.cover { position: relative; overflow: hidden; background: var(--weiss); border-radius: 10px; aspect-ratio: 1 / 1.414; max-width: 330px; width: 100%; margin-inline: auto; rotate: -3deg; box-shadow: 0 26px 50px -26px rgba(36, 67, 154, .5); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px; }
.cover img.cover__muschel { width: 52px; margin-bottom: 10px; }
.cover__titel { font-family: var(--zier); color: var(--blau); font-size: 1.85rem; line-height: 1.1; font-weight: 600; }
.cover__unter { font-family: var(--zier); color: var(--blau); font-size: 1.12rem; margin-top: 10px; }
.cover .zweig { width: 105px; opacity: .9; }

/* Monate im Programm */
.monate { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.monat { background: var(--weiss); border: 1.5px solid var(--linie); border-radius: var(--rund); padding: 22px; }
.monat .zier { font-size: 1.6rem; display: block; margin-bottom: 6px; }

/* Termin */
.booking-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.booking-card .btn { margin-top: 14px; }

/* Formulare */
.form-box { background: var(--weiss); border: 1.5px solid var(--linie); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--schatten); }
.form-grid { display: grid; gap: 18px; }
.form-field { display: grid; gap: 6px; border: 0; }
.form-field label, .form-field legend { font-weight: 600; font-size: .95rem; color: var(--blau-dunkel); }
.form-field input[type=text], .form-field input[type=email], .form-field input[type=tel], .form-field textarea {
  font: inherit; font-size: 1rem; padding: 12px 15px; border-radius: 12px; border: 1.5px solid var(--linie); background: var(--creme); color: var(--text); width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--salbei); box-shadow: 0 0 0 3px var(--salbei-hell); background: #fff; }
.form-field--radio-group { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.form-field--radio-group legend { width: 100%; margin-bottom: 4px; }
.radio-option, .consent-option { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--text) !important; cursor: pointer; }
.radio-option input, .consent-option input { margin-top: 6px; accent-color: var(--blau); width: 17px; height: 17px; flex: none; }
.consent-option span { font-size: .88rem; line-height: 1.6; }
.form-privacy-note { font-size: .86rem; color: var(--text-leise); }
.form-actions .btn { min-width: 220px; }
.honeypot-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { width: min(1120px, 100% - 32px); margin: 24px auto 0; padding: 16px 20px; border-radius: 14px; font-weight: 600; text-align: center; }
.form-status--success { background: var(--salbei-hell); color: var(--blau-dunkel); border: 1.5px solid var(--salbei); }
.form-status--error { background: var(--rose-hell); color: #8a2f22; border: 1.5px solid var(--rose); }

/* Häufige Fragen */
details { background: var(--weiss); border: 1.5px solid var(--linie); border-radius: 14px; padding: 16px 20px; }
details + details { margin-top: 12px; }
summary { cursor: pointer; font-weight: 700; color: var(--blau); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 10px; }

/* Rechtstexte */
.rechtstext { width: min(780px, 100% - 32px); margin-inline: auto; }
.rechtstext h2 { font-family: var(--schrift); font-size: 1.2rem; font-weight: 700; margin-bottom: .4em; }
.rechtstext .content-block + .content-block { margin-top: 30px; }

/* ---------- Fuß ---------- */
.site-footer { background: var(--blau); color: #dfe5f5; padding: 60px 0 30px; font-size: .95rem; position: relative; overflow: hidden; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer .brand img { filter: brightness(0) invert(1); }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 10px; }
.site-footer__list { list-style: none; display: grid; gap: 6px; }
.site-footer__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .82rem; color: #c3cceb; }
.site-footer__muschel { position: absolute; right: -40px; bottom: -40px; width: 260px; opacity: .07; filter: brightness(0) invert(1); pointer-events: none; }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--creme); border-bottom: 1px solid var(--linie); box-shadow: 0 16px 30px -20px rgba(0,0,0,.25); }
  .main-nav[data-open="true"] { display: block; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; }
  .main-nav a { display: block; padding: 11px 0; font-size: 1rem; }
  .main-nav__cta { text-align: center; margin-top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .wege, .zwei, .geschenk { grid-template-columns: 1fr; }
  .monate { grid-template-columns: 1fr 1fr; }
  .bogen-spalte { max-width: 400px; margin-inline: auto; width: 100%; }
}
@media (max-width: 540px) {
  body { font-size: 1rem; }
  .monate, .site-footer__inner { grid-template-columns: 1fr; }
  .brand { font-size: 1.6rem; }
  .brand img { width: 38px; }
  .zweig { opacity: .4; }
  .btn { width: 100%; }
  .weg .btn { align-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Tagebuch-Knopf in Zartrosa */
:root { --tb: #f0bdb4; --tb-hover: #e8a99f; }
.btn--orange { background: var(--tb); border-color: var(--tb); color: var(--blau-dunkel); box-shadow: 0 8px 22px -12px rgba(232, 169, 159, .9); }
.btn--orange:hover { background: var(--tb-hover); border-color: var(--tb-hover); color: var(--blau-dunkel); transform: translateY(-2px); }
.kopf-tagebuch { display: inline-flex; align-items: center; gap: 6px; margin-left: 18px; padding: 9px 18px; border-radius: 999px; background: var(--tb); color: var(--blau-dunkel); font-weight: 700; font-size: .93rem; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 18px -10px rgba(232, 169, 159, .9); transition: background .2s, transform .2s; }
.kopf-tagebuch::before { content: "♥"; font-size: .8rem; color: #fff; }
.kopf-tagebuch:hover { background: var(--tb-hover); color: var(--blau-dunkel); transform: translateY(-1px); }
.kopf-tagebuch__kurz { display: none; }
.site-header__bar .main-nav { margin-left: auto; }
[id^="tagebuch"] { scroll-margin-top: 90px; }

@media (max-width: 1140px) {
  .kopf-tagebuch { margin-left: auto; order: 2; padding: 8px 14px; }
  .nav-toggle { order: 3; }
}
@media (max-width: 420px) {
  .kopf-tagebuch__lang { display: none; }
  .kopf-tagebuch__kurz { display: inline; }
}
