/* HEIMELIE – Entwurf 13.10.2026, Fulmora.
   Eine Datei für alle Seiten. Schriften kommen im Entwurf von Google Fonts;
   für den Livegang lokal einbinden (DSGVO). */

:root {
  /* Markenfarben laut Briefing */
  --creme: #F7EFE7;
  --creme-hell: #FBF7F2;
  --rose: #F1E4D8;
  --blush: #EFDDCF;
  --sand: #D9BFA9;
  --terrakotta: #B07A5B;          /* Flächen, Linien, große Schrift */
  --braun: #6B4F3B;
  --dunkel: #3B2B24;
  --anthrazit: #2E2A26;
  /* Barrierearme Ableitungen (WCAG AA) */
  --terrakotta-text: #8E5C40;     /* kleine Schrift auf Creme: 5,2 : 1 */
  --knopf: #9C684B;               /* weiße Knopfschrift: 4,7 : 1 */
  --knopf-tief: #85563B;
  --text-2: #5E4F45;
  --linie: rgba(59, 43, 36, .12);
  --weiss: #FFFFFF;

  --serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --breite: 1200px;
  --breite-weit: 1360px;
  --rand: clamp(20px, 5vw, 48px);
  --kopf-hoehe: 76px;
  /* Radien: drei Stufen, überall dieselben */
  --radius-gross: 28px;           /* Bilder, große Karten, Blatt */
  --radius: 20px;                 /* kleine Karten */
  --radius-klein: 14px;           /* Felder, Wahlkarten, Listen im Bogen */
  --luft: clamp(96px, 11vw, 160px);
  /* Vertikaler Rhythmus im Textkopf (Augenbraue → Titel → Lead → Knöpfe) */
  --abstand-titel: 16px;
  --abstand-lead: clamp(20px, 2vw, 26px);
  --abstand-knoepfe: clamp(32px, 3.4vw, 44px);
  /* Laufweiten: groß = enger, klein = minimal weiter (Montserrat ist breit gezeichnet) */
  --lw-text: -.006em;
  --lw-lead: -.014em;
  --lw-klein: .004em;
}

/* ---------- Grundlagen ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--creme-hell); color: var(--anthrazit);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-weight: 400; letter-spacing: var(--lw-text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-kerning: normal; font-feature-settings: "kern", "liga";
}
img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--kopf-hoehe) + 24px); }
.bahn { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.bahn.weit { max-width: var(--breite-weit); }
.bahn.schmal { max-width: 820px; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--dunkel); color: var(--creme); padding: 12px 18px; border-radius: 10px; text-decoration: none; font-size: 14px; }
.sprung:focus { top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
summary:focus-visible { outline: 2px solid var(--dunkel); outline-offset: 3px; border-radius: 6px; }

/* ---------- Schrift ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--dunkel); margin: 0; text-wrap: balance; }
/* Display-Größen laufen enger, Textgrößen fast neutral – wie bei Apple (SF Display vs. SF Text) */
h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1.04; letter-spacing: -.024em; }
h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -.02em; }
h3 { font-size: clamp(23px, 2vw, 28px); line-height: 1.2; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--terrakotta); letter-spacing: -.012em; }
/* Seitentitel immer in zwei Gedanken: Aussage / kursiver Nachsatz (wie im Markenbriefing) */
.seitenkopf h1 em { display: block; }
/* lange Titel (ganze Sätze) eine Stufe kleiner, damit sie nicht über vier Zeilen laufen */
.seitenkopf h1.lang { font-size: clamp(36px, 4.8vw, 66px); line-height: 1.06; }
.augenbraue { margin: 0 0 var(--abstand-titel); font-size: 15px; line-height: 1.3; font-weight: 600; color: var(--terrakotta-text); letter-spacing: 0; }
.lead { margin: var(--abstand-lead) 0 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; letter-spacing: var(--lw-lead); color: var(--text-2); max-width: 34em; text-wrap: pretty; }
.mitte { text-align: center; }
.mitte .lead { margin-inline: auto; text-wrap: balance; }
.text { color: var(--text-2); font-size: 17px; line-height: 1.65; max-width: 33em; text-wrap: pretty; }
.text p { margin: 0 0 1em; }
.text p:last-child { margin-bottom: 0; }
.text strong { color: var(--dunkel); font-weight: 600; }
.signatur { font-size: 12px; line-height: 1.5; letter-spacing: .3em; font-weight: 500; color: var(--braun); text-transform: uppercase; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--knopf);
  background: var(--knopf); color: #fff; text-decoration: none; cursor: pointer;
  font: 500 16px/1.2 var(--sans); letter-spacing: -.008em; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.knopf:hover { background: var(--knopf-tief); border-color: var(--knopf-tief); }
.knopf:active { transform: scale(.98); }
.knopf.zart { background: transparent; color: var(--dunkel); border-color: rgba(59,43,36,.28); }
.knopf.zart:hover { border-color: var(--dunkel); background: rgba(59,43,36,.04); }
.knopf.klein { position: relative; min-height: 38px; padding: 0 18px; font-size: 14px; letter-spacing: 0; }
/* kleiner Knopf, aber Tippfläche ≥ 44 px */
.knopf.klein::after { content: ""; position: absolute; inset: -5px -2px; }
.knopf.hell { background: var(--creme-hell); border-color: var(--creme-hell); color: var(--dunkel); }
.knopf.hell:hover { background: #fff; border-color: #fff; }
.knopf.umriss-hell { background: transparent; border-color: rgba(247,239,231,.45); color: var(--creme); }
.knopf.umriss-hell:hover { border-color: var(--creme); background: rgba(247,239,231,.08); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--abstand-knoepfe); }
.mitte .knoepfe { justify-content: center; }
.weiter-link {
  display: inline-flex; align-items: center; gap: 5px; color: var(--terrakotta-text); font-weight: 500; font-size: 16px; letter-spacing: -.004em;
  text-decoration: none; min-height: 44px;
}
.weiter-link::after { content: "›"; font-size: 1.35em; line-height: 1; transform: translateY(-1px); transition: transform .2s; }
.weiter-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.weiter-link:hover::after { transform: translate(3px, -1px); }
.symbol { width: 18px; height: 18px; flex: none; }

/* ---------- Logo (Nachbau der Wortmarke mit Herz-Linie) ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; padding-top: 1.2em; font-size: 26px; line-height: 1; }
.logo .wort { font-family: var(--serif); letter-spacing: -.005em; color: var(--anthrazit); white-space: nowrap; }
.logo .wort .i { position: relative; }
.logo .wort .punkt { color: var(--terrakotta); }
.logo .herz { position: absolute; width: 2.02em; height: 2.12em; left: calc(50% - .97em); bottom: .17em; color: var(--terrakotta); overflow: visible; pointer-events: none; }
.logo .zusatz { font-family: var(--sans); font-size: 5.6px; letter-spacing: .2em; margin-top: 6px; color: var(--dunkel); font-weight: 600; text-transform: uppercase; white-space: nowrap; padding-left: .2em; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--creme-hell) 86%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--linie);
}
.kopf .bahn { max-width: var(--breite-weit); display: flex; align-items: center; gap: 28px; min-height: var(--kopf-hoehe); }
.kopf .logo { margin-right: auto; font-size: 25px; }
.navi { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 34px); }
.navi a {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: 0; color: rgba(59,43,36,.8); transition: color .2s;
}
.navi a:hover { color: var(--dunkel); }
.navi a[aria-current="page"] { color: var(--terrakotta-text); }
.kopf-aktion { display: flex; align-items: center; gap: 10px; }
.menu-schalter, .menu-blatt { display: none; }

/* ---------- Seitenkopf (Hero) ---------- */
.seitenkopf { padding-block: clamp(64px, 8.5vw, 120px) clamp(56px, 6vw, 88px); }
.seitenkopf .signatur { margin: 32px 0 0; }
.buehne { position: relative; max-width: var(--breite-weit); margin-inline: auto; padding-inline: var(--rand); }
.buehne figure { margin: 0; border-radius: var(--radius-gross); overflow: hidden; aspect-ratio: 16 / 8; background: var(--rose); }
.buehne img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fokus, 50% 50%); }
.siegel {
  position: absolute; z-index: 2; margin: 0; left: calc(var(--rand) + clamp(20px, 3vw, 44px)); top: clamp(-70px, -5vw, -40px);
  width: clamp(104px, 11vw, 148px); aspect-ratio: 1; border-radius: 50%;
  background: var(--knopf); color: #fff; display: grid; place-items: center; text-align: center;
  font-size: clamp(9.5px, .8vw, 11px); letter-spacing: .2em; line-height: 1.85; text-transform: uppercase; font-weight: 500;
  box-shadow: 0 24px 48px -24px rgba(59,43,36,.6);
}
.siegel::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }

/* ---------- Werte-Leiste ---------- */
.werte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding-block: clamp(64px, 7vw, 104px); }
.wert { text-align: center; }
.wert svg { width: 30px; height: 30px; color: var(--terrakotta); margin: 0 auto 18px; }
.wert h3 { font-family: var(--sans); font-size: 16px; line-height: 1.35; font-weight: 600; letter-spacing: -.006em; color: var(--dunkel); margin-bottom: 6px; }
.wert p { margin: 0 auto; font-size: 15px; line-height: 1.5; color: var(--text-2); max-width: 15em; text-wrap: balance; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: var(--luft); }
.abschnitt.eng { padding-top: 0; }
.abschnitt.creme { background: var(--creme); }
.abschnitt.rose { background: var(--rose); }
.abschnitt-kopf { margin-bottom: clamp(44px, 5.4vw, 72px); }

/* Kacheln (Start: drei Leistungen) */
.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.kachel {
  display: flex; flex-direction: column; text-decoration: none; background: var(--creme);
  border-radius: var(--radius-gross); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease;
}
.kachel:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(59,43,36,.45); }
.kachel .inhalt { display: flex; flex-direction: column; flex: 1; padding: 36px 32px 30px; }
.kachel h3 { margin-bottom: 10px; }
.kachel p { margin: 0 0 14px; color: var(--text-2); font-size: 16px; line-height: 1.55; }
.kachel .weiter-link { margin-top: auto; }
.kachel figure { margin: 0; aspect-ratio: 4 / 3.4; overflow: hidden; }
.kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.kachel:hover img { transform: scale(1.04); }

/* Zweispalter: Bild + Text */
.zweispalt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.zweispalt + .zweispalt { margin-top: var(--luft); }
.zweispalt.gedreht figure { order: 2; }
.zweispalt figure { margin: 0; border-radius: var(--radius-gross); overflow: hidden; aspect-ratio: 4 / 5; background: var(--rose); }
.zweispalt figure img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fokus, 50% 50%); }
.zweispalt h2 { font-size: clamp(34px, 3.8vw, 52px); }
.zweispalt .text { margin-top: var(--abstand-lead); }

/* Punkte-Liste */
.punkte { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.punkte.einspaltig { grid-template-columns: minmax(0, 1fr); }
.punkte li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.45; color: var(--dunkel); }
.punkte li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1px; background: var(--terrakotta); }

/* Raster mit kleinen Karten (Home, Über) */
.raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.karte-info { background: var(--weiss); border-radius: var(--radius); padding: 32px; }
.abschnitt.creme .karte-info { background: var(--creme-hell); }
.karte-info svg { width: 28px; height: 28px; color: var(--terrakotta); margin-bottom: 22px; }
.karte-info h3 { font-size: 23px; margin-bottom: 8px; }
.karte-info p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }

/* Ablauf in drei Schritten */
.drei-schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.drei-schritte li { background: var(--creme-hell); border-radius: var(--radius); padding: 32px; counter-increment: s; }
.drei-schritte li::before { content: "0" counter(s); display: block; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--terrakotta); margin-bottom: 22px; }
.drei-schritte h3 { font-size: 23px; margin-bottom: 8px; }
.drei-schritte p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }

/* Zitat-/Statementband */
.statement { text-align: center; }
.statement h2 em { display: block; }
.statement .linie { width: 44px; height: 1px; background: var(--terrakotta); margin: 36px auto 24px; }

/* Abschlussband mit beiden Wegen */
.abschluss { background: var(--dunkel); color: var(--creme); border-radius: var(--radius-gross); padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 96px); text-align: center; }
.abschluss h2 { color: var(--creme); }
.abschluss h2 em { color: var(--sand); }
.abschluss .lead { color: #DCCDC0; text-wrap: balance; }
.abschluss :focus-visible { outline-color: var(--sand); }

.abschluss .knoepfe, .statement .knoepfe { justify-content: center; }
.abschnitt.eng + .buehne { margin-top: 0; }

/* Kontaktseite: zwei Wege als Wahlkarten */
.wege { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.weg {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; cursor: pointer;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius-gross); padding: 36px 36px 30px;
  font: inherit; color: inherit; transition: border-color .2s, box-shadow .3s, transform .3s;
}
.weg:hover { border-color: rgba(156,104,75,.5); box-shadow: 0 30px 60px -40px rgba(59,43,36,.5); transform: translateY(-3px); }
.weg svg.gross { width: 34px; height: 34px; color: var(--terrakotta); margin-bottom: 8px; }
.weg h3 { font-size: 28px; }
.weg p { margin: 0; color: var(--text-2); line-height: 1.55; text-wrap: pretty; }
.weg .weiter-link { margin-top: 8px; }
.kontaktdaten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.kontaktdaten div { background: var(--creme); border-radius: var(--radius); padding: 24px 28px; }
.kontaktdaten dt { font-size: 14px; font-weight: 600; color: var(--terrakotta-text); margin-bottom: 4px; }
.kontaktdaten dd { margin: 0; font-size: 17px; color: var(--dunkel); }
.region { margin: 40px 0 0; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--braun); font-weight: 500; }

/* ---------- Fuß ---------- */
.fuss { background: var(--anthrazit); color: #C3B5AA; font-size: 14px; padding-block: 72px calc(40px + env(safe-area-inset-bottom, 0px)); }
.fuss .bahn { max-width: var(--breite-weit); }
.fuss-oben { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(247,239,231,.12); }
.fuss .logo { font-size: 26px; align-items: flex-start; }
.fuss .logo .wort { color: var(--creme); }
.fuss .logo .zusatz { color: #C3B5AA; }
.fuss-marke p { margin: 18px 0 0; max-width: 300px; line-height: 1.6; }
.fuss h4 { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: var(--lw-klein); color: var(--creme); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fuss a { text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.fuss a:hover { color: var(--creme); }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 24px; font-size: 13px; }
.fuss-unten nav { display: flex; gap: 24px; }
.fuss :focus-visible { outline-color: var(--sand); }

/* =====================================================================
   Anfragebogen als Blatt (dialog). Öffnet sich von jeder Seite aus.
   ===================================================================== */
html.bogen-offen { overflow: hidden; }
.bogen {
  --bogen-rand: clamp(22px, 5vw, 48px);
  width: min(720px, calc(100vw - 32px)); height: min(820px, calc(100dvh - 48px)); max-width: none; max-height: none;
  margin: auto; padding: 0; border: 0; border-radius: var(--radius-gross);
  background: var(--creme-hell); color: var(--anthrazit); box-shadow: 0 40px 120px -30px rgba(46,42,38,.55);
}
.bogen[open] { display: flex; flex-direction: column; animation: bogen-auf .38s cubic-bezier(.2,.8,.2,1); }
.bogen::backdrop { background: rgba(46,42,38,.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: dunkel-auf .3s ease; }
@keyframes bogen-auf { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes dunkel-auf { from { opacity: 0; } to { opacity: 1; } }

.bogen-kopf { position: relative; flex: none; display: flex; align-items: center; gap: 16px; padding: 14px 14px 14px var(--bogen-rand); border-bottom: 1px solid var(--linie); }
.bogen-titel { margin: 0; font-size: 15px; line-height: 1.3; font-weight: 600; letter-spacing: -.004em; color: var(--dunkel); }
.bogen-zahl { margin-left: auto; font-size: 13px; letter-spacing: var(--lw-klein); color: var(--text-2); font-variant-numeric: tabular-nums; }
.schliessen {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(59,43,36,.07); color: var(--dunkel);
  display: grid; place-items: center; cursor: pointer; flex: none; transition: background .2s;
}
.schliessen:hover { background: rgba(59,43,36,.13); }
.schliessen svg { width: 16px; height: 16px; }
.fortschritt { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: rgba(59,43,36,.06); }
.fortschritt span { display: block; height: 100%; width: 0; background: var(--terrakotta); transition: width .45s cubic-bezier(.2,.8,.2,1); }

.bogen-rumpf { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: clamp(32px, 5vw, 48px) var(--bogen-rand) 48px; -webkit-overflow-scrolling: touch; }
.bogen-fuss { flex: none; display: flex; align-items: center; gap: 16px; min-height: 80px; padding: 14px var(--bogen-rand) calc(14px + env(safe-area-inset-bottom, 0px)) calc(var(--bogen-rand) - 12px); border-top: 1px solid var(--linie); background: var(--creme-hell); }
.bogen-fuss .knopf { min-width: 148px; }
.bogen-fuss .knopf { margin-left: auto; }
.zurueck { background: none; border: 0; color: var(--text-2); font: 500 16px var(--sans); letter-spacing: -.004em; cursor: pointer; min-height: 44px; padding: 0 12px; border-radius: 999px; }
.zurueck:hover { color: var(--dunkel); background: rgba(59,43,36,.05); }
.fehler { margin: 0; color: #A5442A; font-size: 14px; line-height: 1.4; letter-spacing: var(--lw-klein); text-wrap: pretty; }

.ablauf { display: block; }
.schritt { animation: schritt-ein .35s ease; }
@keyframes schritt-ein { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.schritt:focus, .frage:focus, .frage:focus-visible, .danke:focus { outline: none; box-shadow: none; }  /* Fokus springt per Skript auf die Frage (Screenreader) – kein Rahmen */
.frage { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 36px); font-weight: 400; line-height: 1.16; letter-spacing: -.016em; color: var(--dunkel); margin: 0; text-wrap: balance; }
.frage-hilfe { margin: 12px 0 0; color: var(--text-2); font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.block { margin-top: 32px; }
.block > .etikett { display: block; margin: 0 0 12px; font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: var(--lw-klein); color: var(--dunkel); }
.block > .etikett small { font-weight: 400; color: var(--text-2); }

/* Auswahlkarten */
.wahl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wahl.eins { grid-template-columns: minmax(0, 1fr); }
.wahl.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wahlkarte {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 14px; row-gap: 2px;
  padding: 18px 20px; min-height: 64px; cursor: pointer; background: var(--weiss);
  border: 1px solid rgba(59,43,36,.14); border-radius: var(--radius-klein); transition: border-color .2s, box-shadow .2s, background .2s;
}
.wahlkarte:hover { border-color: rgba(59,43,36,.32); }
.wahlkarte input { position: absolute; opacity: 0; pointer-events: none; }
.wahlkarte .titel { font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--dunkel); line-height: 1.3; }
.wahlkarte .klein { grid-column: 1; font-size: 14px; letter-spacing: 0; color: var(--text-2); line-height: 1.45; }
.wahlkarte::after {
  content: ""; grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid rgba(59,43,36,.25); transition: all .2s;
}
.wahlkarte:has(input:checked) { border-color: var(--knopf); box-shadow: inset 0 0 0 1px var(--knopf); }
.wahlkarte:has(input:checked)::after { border-color: var(--knopf); background: var(--knopf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.wahlkarte:has(input:focus-visible) { outline: 2px solid var(--dunkel); outline-offset: 2px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font-size: 15px; line-height: 1.25; letter-spacing: -.004em; background: var(--weiss); border: 1px solid rgba(59,43,36,.16); color: var(--dunkel);
  transition: background .18s, border-color .18s, color .18s;
}
.chip span:hover { border-color: rgba(59,43,36,.36); }
.chip input:checked + span { background: var(--dunkel); border-color: var(--dunkel); color: var(--creme); }
.chip input:focus-visible + span { outline: 2px solid var(--dunkel); outline-offset: 2px; }

/* Felder */
.felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.feld { display: grid; gap: 8px; font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: var(--lw-klein); color: var(--dunkel); }
.feld.breit { grid-column: 1 / -1; }
.feld small { font-weight: 400; color: var(--text-2); }
.feld input, .feld textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; font: 400 17px/1.4 var(--sans); letter-spacing: -.008em; color: var(--anthrazit);
  background: var(--weiss); border: 1px solid rgba(59,43,36,.18); border-radius: var(--radius-klein); -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.feld textarea { min-height: 112px; resize: vertical; }
.feld input::placeholder, .feld textarea::placeholder { color: #A39286; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--knopf); box-shadow: 0 0 0 4px rgba(156,104,75,.16); }

.zaehler { display: flex; align-items: center; gap: 18px; }
.zaehler output { font-family: var(--serif); font-size: 44px; line-height: 1; min-width: .9em; text-align: right; color: var(--dunkel); font-variant-numeric: lining-nums tabular-nums; }
.zaehler .wort { margin-left: -8px; font-size: 17px; letter-spacing: -.008em; color: var(--text-2); min-width: 3.8em; }
.rund {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(59,43,36,.2); background: var(--weiss);
  color: var(--dunkel); font-size: 22px; line-height: 1; cursor: pointer; transition: border-color .2s;
}
.rund:hover { border-color: var(--dunkel); }
.rund:disabled { opacity: .35; cursor: default; }
.kind { margin-top: 24px; }
.kind p { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: var(--lw-klein); color: var(--dunkel); }

.haken { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; letter-spacing: 0; color: var(--text-2); cursor: pointer; padding-block: 10px; }
.haken input { width: 22px; height: 22px; margin: 0; accent-color: var(--knopf); flex: none; }
.haken input + span { padding-top: 1px; }
.haken a { color: var(--terrakotta-text); }

/* Zusammenfassung */
.zusammenfassung { margin: 28px 0 0; display: grid; gap: 0; background: var(--weiss); border-radius: var(--radius-klein); border: 1px solid var(--linie); }
.zusammenfassung div { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 2px 20px; padding: 8px 8px 8px 20px; min-height: 56px; align-items: baseline; }
.zusammenfassung div > dt, .zusammenfassung div > dd { padding-block: 8px; }
.zusammenfassung .aendern { align-self: center; }
.zusammenfassung div + div { border-top: 1px solid var(--linie); }
.zusammenfassung dt { font-size: 14px; letter-spacing: var(--lw-klein); color: var(--text-2); }
.zusammenfassung dd { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--dunkel); overflow-wrap: anywhere; }
.aendern { background: none; border: 0; min-height: 44px; padding: 0 12px; font: 500 14px var(--sans); color: var(--terrakotta-text); cursor: pointer; border-radius: 999px; }
.aendern:hover { text-decoration: underline; }

/* Danke */
.danke { text-align: center; padding-top: clamp(16px, 6vh, 64px); }
.danke-zeichen { width: 76px; height: 76px; margin: 0 auto 28px; border-radius: 50%; background: var(--blush); color: var(--terrakotta); display: grid; place-items: center; }
.danke-zeichen svg { width: 34px; height: 34px; }
.danke .frage-hilfe { max-width: 440px; margin-inline: auto; }
.danke .knoepfe { justify-content: center; margin-top: 30px; }
.entwurf-notiz { margin: 32px auto 0; max-width: 440px; font-size: 13px; line-height: 1.5; color: var(--text-2); background: var(--rose); border-radius: var(--radius-klein); padding: 12px 16px; }

/* =====================================================================
   Maries Entwürfe (14.10.2026): Startseite „Weniger organisieren. Mehr
   leben.“ und Unterseite „So funktioniert HEIMELIE.“ – Desktop nah am
   Entwurf, Handy mit eigenen Hochformat-Bildern derselben Stimmung.
   ===================================================================== */
.marke { font-size: clamp(44px, 4.4vw, 62px); padding-top: 1.05em; }
.marke .zusatz { font-size: .17em; letter-spacing: .26em; margin-top: .55em; font-weight: 500; color: var(--braun); }
.trenner { display: block; width: 56px; height: 1px; background: rgba(107,79,59,.45); margin: 26px auto; }

/* Startseite */
.marie-hero { position: relative; display: grid; place-items: center; min-height: min(calc(100svh - var(--kopf-hoehe) - 30px), 56.25vw); overflow: hidden; background: var(--creme); }
.marie-hero-bild, .marie-hero-bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.marie-hero-bild img { object-fit: cover; object-position: 50% 50%; }
.marie-hero::after { /* weiches Lichtfeld hinter dem Text, wie im Entwurf */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 32% 50% at 50% 50%, rgba(251,247,242,.74) 25%, rgba(251,247,242,.35) 65%, rgba(251,247,242,0) 100%);
}
.marie-hero-text { position: relative; z-index: 1; text-align: center; max-width: 520px; padding: clamp(40px, 5vw, 72px) 20px; display: flex; flex-direction: column; align-items: center; }
.marie-hero h1 { margin-top: clamp(28px, 3.4vw, 48px); font-size: clamp(44px, 4.3vw, 64px); line-height: 1.08; letter-spacing: -.02em; }
.marie-hero h1 .zeile1 { display: block; color: #6E5D52; }
.marie-hero h1 em { display: block; color: var(--dunkel); }
.marie-hero .trenner { margin: 28px auto 24px; }
.marie-hero .unterzeile { margin: 0; max-width: 23em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--dunkel); text-wrap: balance; }
.marie-hero .knoepfe { justify-content: center; margin-top: 34px; }
.marie-hero .knopf.zart { background: rgba(251,247,242,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Unterseite So funktioniert */
.so-buehne { position: relative; overflow: hidden; background: var(--creme); }
.so-grund, .so-grund img { position: absolute; inset: 0; width: 100%; height: 100%; }
.so-grund img { object-fit: cover; object-position: 50% 50%; }
.so-inhalt { position: relative; z-index: 1; max-width: 1280px; margin-inline: auto; padding: clamp(40px, 5vw, 72px) var(--rand) clamp(72px, 8vw, 120px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.so-inhalt .marke { font-size: clamp(38px, 3.4vw, 50px); }
.so-inhalt .trenner { margin: 22px auto 20px; width: 44px; }
.so-buehne h1 { font-size: clamp(42px, 4.6vw, 68px); line-height: 1.05; letter-spacing: -.02em; }
.so-buehne h1 em { color: var(--dunkel); letter-spacing: -.015em; }
.so-buehne h1 .punkt { color: var(--terrakotta); }
.leitsatz { margin: 14px 0 0; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: .06em; color: var(--dunkel); }
.so-schritte {
  --spalt: clamp(56px, 7vw, 118px);
  list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; width: 100%;
  display: grid; grid-template-columns: repeat(3, minmax(0, 340px)); justify-content: center; column-gap: var(--spalt); align-items: start;
}
.so-schritt { position: relative; display: flex; flex-direction: column; align-items: center; }
.bogenbild {
  width: 100%; aspect-ratio: 304 / 276; overflow: hidden; background: var(--rose);
  border-radius: 50% 50% 0 0 / 41% 41% 0 0;
  box-shadow: 0 0 0 5px rgba(255,255,255,.55), 0 0 30px 8px rgba(255,255,255,.5);
}
.bogenbild img { width: 100%; height: 100%; object-fit: cover; }
.so-schritt:nth-child(2) .bogenbild { aspect-ratio: 295 / 228; border-radius: 50% 50% 0 0 / 36% 36% 0 0; margin-top: 15%; }
/* Herzlinie zwischen den Bögen */
.so-schritt:not(:last-child)::after {
  content: ""; position: absolute; z-index: 2; left: calc(100% - 6px); width: calc(var(--spalt) + 12px); top: 52%; aspect-ratio: 140 / 80;
  translate: 0 -50%; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 80' fill='none' stroke='%23B07A5B' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 66 C 24 68, 46 62, 63 49 C 50 39, 42 21, 50 11 C 57 3, 67 8, 68 19 C 70 8, 81 3, 88 11 C 96 21, 86 38, 69 51 C 86 61, 112 64, 140 60'/%3E%3C/svg%3E") center / contain no-repeat;
}
.so-schritt:nth-child(1)::after { top: 64%; }
.so-schritt:nth-child(2)::after { top: 56%; }
.so-zeichen {
  position: relative; z-index: 3; width: 88px; height: 88px; margin-top: -44px; border-radius: 50%;
  display: grid; place-items: center; background: #EAD7CA; color: var(--dunkel);
  box-shadow: 0 0 0 4px rgba(255,255,255,.75), 0 10px 24px -14px rgba(59,43,36,.5);
}
.so-zeichen svg { width: 42px; height: 42px; }
.so-schritt .nr { margin-top: 18px; font-family: var(--serif); font-size: clamp(38px, 3vw, 46px); line-height: 1; color: var(--braun); letter-spacing: -.01em; }
.so-schritt h2 { margin-top: 10px; font-size: clamp(25px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.012em; }
.so-schritt p { margin: 12px 0 0; max-width: 21em; font-size: 16.5px; line-height: 1.55; color: var(--dunkel); text-wrap: pretty; }
.so-inhalt .knoepfe { justify-content: center; margin-top: clamp(40px, 4vw, 56px); }
.so-inhalt .knopf.zart { background: rgba(251,247,242,.6); }

/* ---------- WhatsApp-Knopf unten rechts ---------- */
.wa { position: fixed; z-index: 35; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; }
.wa > * { pointer-events: auto; }
.wa-knopf {
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--knopf); color: #fff; box-shadow: 0 14px 30px -10px rgba(59,43,36,.55), 0 0 0 4px rgba(251,247,242,.7);
  transition: transform .25s ease, background .2s;
}
.wa-knopf:hover { background: var(--knopf-tief); transform: translateY(-2px); }
.wa-knopf svg { width: 30px; height: 30px; }
.wa-knopf.offen { background: var(--dunkel); }
.wa-fenster {
  width: min(360px, calc(100vw - 36px)); background: var(--creme-hell); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 70px -24px rgba(46,42,38,.5), 0 0 0 1px var(--linie); animation: wa-auf .28s cubic-bezier(.2,.8,.2,1); transform-origin: bottom right;
}
@keyframes wa-auf { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.wa-kopf { display: flex; align-items: center; gap: 12px; padding: 14px 10px 14px 16px; background: var(--dunkel); color: var(--creme); }
.wa-bild { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--blush); color: var(--dunkel); font-family: var(--serif); font-size: 20px; }
.wa-name { margin: 0; font-weight: 600; font-size: 15px; }
.wa-status { margin: 2px 0 0; font-size: 12.5px; color: #D9C8BB; }
.wa-zu { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--creme); cursor: pointer; display: grid; place-items: center; }
.wa-zu:hover { background: rgba(247,239,231,.1); }
.wa-zu svg { width: 15px; height: 15px; }
.wa-verlauf { padding: 18px 16px 6px; background: var(--creme); }
.wa-blase { position: relative; margin: 0; max-width: 88%; background: #fff; border-radius: 4px 16px 16px 16px; padding: 12px 14px 10px; font-size: 15px; line-height: 1.5; color: var(--dunkel); box-shadow: 0 1px 2px rgba(59,43,36,.08); }
.wa-blase span { display: block; margin-top: 4px; font-size: 12px; color: var(--text-2); }
.wa-eingabe { display: grid; gap: 10px; padding: 12px 16px 14px; background: var(--creme); }
.wa-eingabe textarea { width: 100%; resize: none; min-height: 62px; padding: 12px 14px; font: 400 16px/1.4 var(--sans); color: var(--anthrazit); background: #fff; border: 1px solid rgba(59,43,36,.16); border-radius: var(--radius-klein); }
.wa-eingabe textarea:focus { outline: none; border-color: var(--knopf); box-shadow: 0 0 0 4px rgba(156,104,75,.16); }
.wa-eingabe .knopf { width: 100%; min-height: 48px; gap: 10px; }
.wa-eingabe .knopf svg { width: 20px; height: 20px; }
.wa-hinweis { margin: 0; font-size: 12px; color: var(--text-2); text-align: center; }
.wa-hinweis.entwurf { color: #A5442A; font-weight: 500; }
html.menu-offen .wa { display: none; }
@media print { .wa { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* =====================================================================
   Tablet & Handy – bewusst am Dateiende
   ===================================================================== */
@media (max-width: 1080px) {
  .navi { gap: 18px; }
  .kopf-aktion .knopf.zart { display: none; }
}
@media (max-width: 960px) {
  :root { --kopf-hoehe: 68px; }
  .navi, .kopf-aktion .knopf.zart { display: none; }
  .kopf .bahn { gap: 10px; }
  .kopf .logo { font-size: 22px; }
  .kopf .logo .zusatz { font-size: 4.8px; }
  .menu-schalter {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: transparent; cursor: pointer; color: var(--dunkel); margin-right: -8px;
  }
  .menu-schalter .striche { position: relative; width: 20px; height: 9px; }
  .menu-schalter .striche::before, .menu-schalter .striche::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .3s ease, top .3s ease;
  }
  .menu-schalter .striche::before { top: 0; }
  .menu-schalter .striche::after { top: 7.5px; }
  .kopf.offen .menu-schalter .striche::before { top: 3.75px; transform: rotate(45deg); }
  .kopf.offen .menu-schalter .striche::after { top: 3.75px; transform: rotate(-45deg); }
  .kopf.offen .menu-blatt {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    height: calc(100dvh - var(--kopf-hoehe) - env(safe-area-inset-top, 0px)); overflow-y: auto;
    background: var(--creme-hell); padding: 12px var(--rand) 40px; animation: blatt-auf .3s ease;
  }
  .menu-blatt nav a {
    display: flex; align-items: center; min-height: 58px; border-bottom: 1px solid var(--linie); text-decoration: none;
    font-family: var(--serif); font-size: 28px; line-height: 1.2; letter-spacing: -.012em; color: var(--dunkel);
  }
  .menu-blatt nav a[aria-current="page"] { color: var(--terrakotta-text); }
  .menu-blatt .knoepfe { flex-direction: column; margin-top: 32px; }
  .menu-blatt .knoepfe .knopf { width: 100%; }
  html.menu-offen { overflow: hidden; }
  .werte { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .kacheln { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .zweispalt, .zweispalt.gedreht { grid-template-columns: minmax(0, 1fr); }
  .zweispalt.gedreht figure { order: 0; }
  .zweispalt figure { aspect-ratio: 4 / 3.6; }
  .raster, .drei-schritte { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; gap: 16px; }
  .kacheln { gap: 20px; }
  .wege, .kontaktdaten { grid-template-columns: minmax(0, 1fr); }
  .fuss-oben { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss-marke { grid-column: 1 / -1; }
}
@keyframes blatt-auf { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  :root { --abstand-titel: 14px; --abstand-lead: 18px; --abstand-knoepfe: 32px; }
  body { font-size: 16px; }
  h1 { letter-spacing: -.02em; }
  h2 { letter-spacing: -.018em; }
  .kopf-aktion .knopf { min-height: 36px; padding: 0 16px; font-size: 14px; }
  .lead { font-size: 18px; line-height: 1.5; letter-spacing: -.01em; }
  .text { font-size: 16.5px; }
  .knoepfe { flex-direction: column; align-items: stretch; }
  .knoepfe .knopf { width: 100%; }
  .buehne figure { aspect-ratio: 4 / 3.3; }
  .buehne { padding-inline: 12px; }
  /* Siegel: auf dem Handy als kursive Serife statt Mini-Versalien – bleibt lesbar */
  .siegel { left: 24px; top: -44px; width: 104px; font: italic 400 14px/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
  /* Werte als ruhige Liste: Zeichen links, Text rechts */
  .werte { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 460px; }
  .wert { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 18px; text-align: left; }
  .wert svg { grid-row: 1 / span 2; margin: 2px 0 0; }
  .wert h3 { margin-bottom: 2px; }
  .wert p { margin: 0; max-width: none; font-size: 15px; text-wrap: pretty; }
  .abschnitt-kopf.mitte, .statement { text-align: left; }
  .abschnitt-kopf.mitte .lead { margin-inline: 0; text-wrap: pretty; }
  .statement .linie { margin-inline: 0; }
  .statement .knoepfe { justify-content: stretch; }
  .fuss a { min-height: 44px; }
  .region { letter-spacing: .18em; text-wrap: balance; }
  .kontaktdaten div { padding: 20px 24px; }
  .punkte { grid-template-columns: minmax(0, 1fr); }
  .kachel .inhalt { padding: 28px 24px 22px; }
  .karte-info, .drei-schritte li { padding: 28px 24px; }
  .weg { padding: 30px 24px 24px; }
  .fuss-oben { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Bogen als Vollbild-Blatt */
  .bogen { --bogen-rand: 20px; width: 100vw; height: 100dvh; border-radius: 0; margin: 0; max-width: 100vw; max-height: 100dvh; }
  .bogen-kopf { padding: calc(8px + env(safe-area-inset-top, 0px)) 8px 8px var(--bogen-rand); }
  .bogen-rumpf { padding: 28px var(--bogen-rand) 36px; }
  .frage { font-size: 28px; }
  .wahl, .wahl.drei { grid-template-columns: minmax(0, 1fr); }
  .felder { grid-template-columns: minmax(0, 1fr); }
  .zusammenfassung div { grid-template-columns: minmax(0, 1fr) auto; }
  .zusammenfassung dt { grid-column: 1; }
  .zusammenfassung dd { grid-column: 1; }
  .zusammenfassung .aendern { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .bogen-fuss { min-height: 72px; padding-right: 16px; padding-left: 8px; }
  .bogen-fuss .knopf { min-width: 152px; }
  .zusammenfassung div { padding-left: 16px; }
}

/* Maries Entwürfe auf dem Handy – eigene Hochformat-Bilder, Text oben im Licht */
@media (max-width: 700px) {
  .marie-hero { display: block; min-height: 0; aspect-ratio: auto; }
  .marie-hero-bild { position: relative; display: block; aspect-ratio: 9 / 16; max-height: calc(100svh - var(--kopf-hoehe) - 28px); min-height: 560px; }
  .marie-hero-bild img { position: absolute; object-position: 50% 62%; }
  .marie-hero::after {
    background: radial-gradient(ellipse 95% 44% at 50% 26%, rgba(251,247,242,.84) 30%, rgba(251,247,242,.4) 70%, rgba(251,247,242,0) 100%),
                linear-gradient(180deg, rgba(251,247,242,0) 70%, rgba(251,247,242,.92) 92%, var(--creme-hell) 100%);
  }
  .marie-hero-text { position: absolute; z-index: 1; inset: 0; margin: 0 auto; padding: 26px 22px 22px; max-width: 420px; }
  .marie-hero .marke { font-size: 32px; }
  .marie-hero h1 { margin-top: 14px; font-size: clamp(32px, 9vw, 38px); }
  .marie-hero .trenner { margin: 16px auto 14px; width: 44px; }
  .marie-hero .unterzeile { font-size: 15.5px; max-width: 17em; color: var(--dunkel); }
  /* Knöpfe unten auf dem hellen Verlauf, die Familie in der Mitte bleibt frei */
  .marie-hero .knoepfe { margin-top: auto; width: 100%; }

  .so-buehne::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(251,247,242,.38); pointer-events: none; }
  .so-inhalt { z-index: 2; padding-top: 34px; }
  .so-inhalt .marke { font-size: 34px; }
  .so-buehne h1 { font-size: clamp(36px, 10vw, 44px); }
  .so-buehne h1 em { display: block; }
  .so-schritte { grid-template-columns: minmax(0, 1fr); row-gap: 64px; margin-top: 36px; }
  .so-schritt .bogenbild, .so-schritt:nth-child(2) .bogenbild { width: min(82%, 320px); margin-top: 0; }
  /* auf dem Handy: kleines Herz zwischen den Schritten statt Linie */
  .so-schritt:not(:last-child)::after {
    left: 50%; top: auto; bottom: -50px; width: 40px; translate: -50% 0; aspect-ratio: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23B07A5B' stroke-width='1.2' stroke-linejoin='round'%3E%3Cpath d='M16 26.5S4.5 19.8 4.5 11.8A6 6 0 0 1 16 9a6 6 0 0 1 11.5 2.8C27.5 19.8 16 26.5 16 26.5z'/%3E%3C/svg%3E");
  }
  .so-zeichen { width: 76px; height: 76px; margin-top: -38px; }
  .so-zeichen svg { width: 36px; height: 36px; }
  .so-inhalt .knoepfe { width: 100%; }
}

/* Über HEIMELIE – Maries Geschichte als ruhiger Lesetext */
.geschichte .fliess { max-width: 40rem; margin-inline: auto; }
.geschichte .fliess p { margin: 0 0 1.3em; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.75; color: var(--text-2); text-wrap: pretty; }
.geschichte .fliess p.einstieg { font-family: var(--serif); font-size: clamp(19px, 1.9vw, 25px); line-height: 1.55; color: var(--dunkel); letter-spacing: -.005em; }
.geschichte .fliess p.hervor { font-family: var(--serif); font-size: clamp(19px, 1.9vw, 25px); line-height: 1.45; color: var(--dunkel); letter-spacing: -.005em; margin-block: 1.4em; }
.geschichte .fliess p.hervor em { font-style: italic; color: var(--terrakotta); }
.geschichte .fliess p.hervor.ruhig { margin-bottom: 0; }
.geschichte .fliess p:last-child { margin-bottom: 0; }
.breitbild { margin: clamp(40px, 5vw, 72px) auto; max-width: 1040px; padding-inline: var(--rand); }
.breitbild img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 45% 55%; border-radius: var(--radius-gross); }
.staerken { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); max-width: 1040px; margin-inline: auto; }
.staerke { background: var(--creme); border-radius: var(--radius-gross); padding: clamp(28px, 3.6vw, 48px); }
.staerke h3 { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 14px; }
.staerke p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--text-2); text-wrap: pretty; }
@media (max-width: 760px) {
  .staerken { grid-template-columns: minmax(0, 1fr); }
  .breitbild img { aspect-ratio: 4 / 3; }
}

/* Über HEIMELIE – Kopfbild */
.ueber-kopf { max-width: 1040px; margin: clamp(20px, 3vw, 40px) auto 0; padding-inline: var(--rand); }
.ueber-kopf img { display: block; width: 100%; aspect-ratio: 8 / 5; object-fit: cover; object-position: 50% 12%; border-radius: var(--radius-gross); }
@media (max-width: 760px) {
  .ueber-kopf { padding-inline: 0; margin-top: 0; }
  .ueber-kopf img { aspect-ratio: 3 / 4; object-position: 50% 30%; border-radius: 0; }
}

/* Rechtstexte (Datenschutz) */
.text.recht { max-width: 42em; }
.text.recht h2 { font-family: var(--sans); font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.006em; color: var(--dunkel); margin: 2em 0 .6em; }
.text.recht ul { margin: 0 0 1em; padding-left: 1.2em; }
.text.recht li { margin-bottom: .45em; }
.text.recht a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Bereiche & Rollen (Erweiterung 14.10.): Übersicht auf der Startseite, Rollenkarten, Premium-Karte */
.kacheln.vier { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.kacheln.vier .kachel figure { order: -1; aspect-ratio: 16 / 9; }
.kacheln.vier .kachel .inhalt { padding: 32px 36px 34px; }
.uebersicht-abschnitt { padding-bottom: clamp(56px, 6vw, 88px); }
.uebersicht-abschnitt .augenbraue { text-align: center; margin-bottom: 32px; }
.uebersicht { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--linie); }
.uebersicht-spalte { padding: 22px 24px; }
.uebersicht-spalte + .uebersicht-spalte { border-left: 1px solid var(--linie); }
.uebersicht-spalte h3 { margin: 0 0 12px; font: 600 12.5px/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.uebersicht-spalte h3 a { color: var(--terrakotta-text); text-decoration: none; }
.uebersicht-spalte h3 a:hover { color: var(--terrakotta-text); }
.uebersicht-spalte h3 { min-height: 2.7em; }
.uebersicht-spalte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.uebersicht-spalte li { font-size: 14px; line-height: 1.4; color: var(--text-2); }
.raster.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rollen { margin-top: clamp(48px, 5vw, 72px); }
.abschnitt-kopf + .rollen { margin-top: 0; }
.rollen .karte-info { padding: 28px 26px; }
.rollen .karte-info h3 { font-size: 22px; }
.punkte.klein { margin-top: 18px; gap: 8px; }
.punkte.klein li { font-size: 14.5px; padding-left: 22px; color: var(--text-2); }
.punkte.klein li::before { width: 10px; }
.karte-info.breit { margin-top: 24px; border-radius: var(--radius-gross); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); padding: clamp(32px, 4vw, 52px); align-items: start; }
.karte-info.breit h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 14px; }
.karte-info.breit .punkte { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.karte-info.dunkel { background: var(--dunkel); color: var(--creme); }
.abschnitt .karte-info.dunkel p { color: rgba(247, 239, 231, .78); }
.karte-info.dunkel h3 { color: var(--creme); }
.karte-info.dunkel .punkte li { color: rgba(247, 239, 231, .9); font-size: 15px; }
.karte-info.dunkel svg { color: var(--sand); }
.karte-info.dunkel .augenbraue { color: var(--sand); }
.karte-info.dunkel .punkte li::before { background: var(--sand); }
@media (max-width: 1080px) {
  .raster.vier { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .uebersicht { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uebersicht-spalte h3 { min-height: 0; }
  .uebersicht-spalte:nth-child(odd) { border-left: 0; }
  .uebersicht-spalte:nth-child(n+3) { border-top: 1px solid var(--linie); }
}
@media (max-width: 960px) {
  .kacheln.vier { grid-template-columns: minmax(0, 1fr); }
  .raster.rollen { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .raster.vier.rollen { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .karte-info.breit { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .raster.vier.rollen { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .uebersicht { grid-template-columns: minmax(0, 1fr); }
  .uebersicht-spalte { padding: 20px 0; }
  .uebersicht-spalte + .uebersicht-spalte, .uebersicht-spalte:nth-child(n+3) { border-left: 0; border-top: 1px solid var(--linie); }
  .uebersicht-spalte ul { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: start; gap: 6px 28px; }
  .karte-info.breit .punkte { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .karte-info.dunkel .punkte li { font-size: 14.5px; }
  .kacheln.vier .kachel .inhalt { padding: 26px 24px 28px; }
}

/* Danke-Seite: Senden-Fehler und WhatsApp-Knopf auf schmalen Handys */
.sende-fehler { margin: 24px auto 0; max-width: 440px; font-size: 14px; line-height: 1.5; color: var(--terrakotta-text); background: var(--rose); border-radius: var(--radius-klein); padding: 12px 16px; text-align: center; }
.sende-fehler a { color: inherit; font-weight: 600; }
[data-whatsapp] .knopf { white-space: normal; text-align: center; line-height: 1.3; padding-inline: 24px; }

.rollen .karte-info svg { width: 26px; height: 26px; margin-bottom: 14px; }
.raster.vier.rollen .karte-info { padding: 28px 24px; }
.raster.vier.rollen .karte-info h3 { font-size: 20px; }
