/* ═══════════════════════════════════════════════════════════════════════
   FLEXGOLF — Fernmitgliedschaft im Golfclub Gerhelm, Nürnberger Land e.V.
   Eigenständige Verkaufsseite. Ein Ziel: der Beitritt.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Fonts (lokal, kein CDN) ── */
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap;
  src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap;
  src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap;
  src: url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-display: swap;
  src: url("fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 700; font-display: swap;
  src: url("fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); }

/* ── Token ── */
:root {
  --tanne:   #0b2118;          /* tiefster Grund */
  --pine:    #143728;          /* Kapitel-Dunkelgrün */
  --pine-h:  #1c4634;
  --papier:  #f2eee4;          /* warmes Papier */
  --creme:   #faf8f1;
  --tinte:   #16241d;
  --grau:    #5c6b62;
  --gold:    #cfa14c;          /* Morgenlicht */
  --gold-t:  #a87e2f;          /* Gold auf hellem Grund (Kontrast) */
  --gold-h:  #e9cd8d;
  --hell:    #f6f3ea;          /* Text auf dunkel */
  --linie-d: rgba(246, 243, 234, .18);
  --linie-h: rgba(22, 36, 29, .16);

  --inset: clamp(1.15rem, 5vw, 4.5rem);
  --mass:  72rem;

  /* Typo-Skala: Spitze zu Lauftext > 6:1 */
  --t-hero:    clamp(2.85rem, 11.5vw, 9.2rem);
  --t-display: clamp(2.2rem, 7.2vw, 5.6rem);
  --t-zahl:    clamp(3.4rem, 12vw, 10.5rem);
  --t-gross:   clamp(1.15rem, 1.9vw, 1.4rem);
  --t-lauf:    1.05rem;

  --display: "Space Grotesk", "Hanken Grotesk", sans-serif;
  --lauf: "Hanken Grotesk", system-ui, sans-serif;
}

/* ── Grundlagen ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--lauf);
  font-size: var(--t-lauf);
  line-height: 1.65;
  color: var(--tinte);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.skip {
  position: absolute; left: -999px; top: 0; z-index: 99;
  background: var(--gold); color: var(--tinte); padding: .7rem 1.2rem;
  font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }

/* ── Knöpfe ── */
.btn {
  display: inline-block;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  letter-spacing: .015em;
  padding: .85rem 1.7rem; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--tanne); }
.btn-gold:hover { background: var(--gold-h); }
.btn-glas { color: var(--hell); border-color: var(--linie-d); background: rgba(11, 33, 24, .25); backdrop-filter: blur(4px); }
.btn-glas:hover { border-color: var(--hell); }
.btn-glas[aria-pressed="true"] { background: var(--hell); color: var(--tanne); border-color: var(--hell); }
.btn-pine { background: var(--pine); color: var(--hell); }
.btn-pine:hover { background: var(--pine-h); }
.btn-leise { border-color: currentColor; background: transparent; color: inherit; opacity: .75; }
.btn-leise:hover { opacity: 1; }

/* ── Kopfzeile ── */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  padding: .8rem var(--inset);
  transition: background .25s ease, box-shadow .25s ease;
}
.kopf.fest { background: rgba(11, 33, 24, .92); box-shadow: 0 1px 0 var(--linie-d); backdrop-filter: blur(8px); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: var(--mass); margin: 0 auto; }
.marke { margin: 0; color: var(--hell); line-height: 1.25; }
/* Auf breiten Bildschirmen zeigt der Hero-Ausschnitt die Fahne von Grün 9
   genau unter dem Logo — die Marke rückt dort nach rechts aus (Andreas,
   29.08.2026). Die Formel hält den Logo-Start bei ~24 % Viewportbreite. */
@media (min-width: 1000px) {
  .marke { margin-left: max(0px, calc(36rem - 26vw)); }
}
.marke-logo { display: block; width: clamp(8.5rem, 22vw, 11.5rem); height: auto; }
.marke-club { font-size: .72rem; opacity: .78; display: block; letter-spacing: .02em; margin-top: .25rem; }
.kopf-cta { padding: .6rem 1.25rem; font-size: .92rem; }
@media (max-width: 640px) { .kopf-cta { display: none; } }

/* ── Kicker & Überschriften ── */
.kicker {
  font-family: var(--display); font-weight: 500; font-size: .82rem;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-t); margin: 0 0 1.1rem;
}
.kicker-hell { color: var(--gold-h); text-shadow: 0 1px 10px rgba(11, 33, 24, .65); }
.kicker::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 2.4rem; height: 1px; background: currentColor; margin-left: .9rem; opacity: .6;
}
.h1, .h2 { font-family: var(--display); font-weight: 700; margin: 0; }
.h1 {
  font-size: var(--t-hero); line-height: .96; letter-spacing: -.02em;
  color: var(--hell); text-wrap: balance;
  text-shadow: 0 2px 24px rgba(11, 33, 24, .35);
}
.h1-zeile { display: block; }
.h1-gold { color: var(--gold-h); }
.ball {
  display: inline-block; width: .16em; height: .16em; border-radius: 50%;
  background: var(--gold-h); margin-left: .09em; margin-bottom: .04em;
  box-shadow: 0 0 .35em rgba(233, 205, 141, .8);
}
.h2 {
  font-size: var(--t-display); line-height: 1.0; letter-spacing: -.015em;
  color: var(--hell); margin-bottom: 1.6rem; text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--gold-h); }
.h2-dunkel { color: var(--tinte); }
.h2-dunkel em { color: var(--gold-t); }
.gross { font-size: var(--t-gross); line-height: 1.55; }

/* ── Kapitel-Gerüst ── */
.kap { padding: clamp(4rem, 10vw, 8.5rem) 0; position: relative; }
.kap-innen { max-width: var(--mass); margin: 0 auto; padding: 0 var(--inset); }
.kap-schmal { max-width: 52rem; }
.kap-dunkel { background: var(--pine); color: var(--hell); }
.kap-dunkel a { color: var(--gold-h); }
.kap-papier { background: var(--papier); }
.kap-cta { margin-top: 2.8rem; }

/* Versatz: Asymmetrie als Normalfall */
.versatz { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .versatz { grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); }
  .versatz > :first-child { margin-top: -1rem; }
  .versatz > :last-child { margin-top: 3.5rem; }
}

/* ═══ 01 · Hero ═══ */
.hero {
  position: relative; min-height: max(100svh, 580px);
  display: flex; align-items: flex-end;
  background: var(--tanne); overflow: hidden;
}
.hero-bild { position: absolute; inset: -12% 0; z-index: 0; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(178deg, rgba(11,33,24,.18) 30%, rgba(11,33,24,.55) 72%, rgba(11,33,24,.88) 100%);
}
.hero-text {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--mass); margin: 0 auto;
  padding: 7.5rem var(--inset) clamp(2.6rem, 7vh, 5rem);
}
.hero-lead {
  max-width: 34rem; font-size: var(--t-gross); line-height: 1.5;
  color: var(--hell); margin: 1.6rem 0 2.1rem;
  text-shadow: 0 1px 12px rgba(11, 33, 24, .45);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ═══ 02 · Verein ═══ */
.leistungen { margin: 2.4rem 0 0; }
.leistung { padding: 1.35rem 0; border-top: 1px solid var(--linie-d); }
.leistung dt { font-family: var(--display); font-weight: 700; font-size: 1.18rem; margin-bottom: .3rem; }
.leistung dd { margin: 0; opacity: .82; max-width: 34rem; }

/* ═══ 03 · Wertrechnung ═══ */
.rechnung { margin-top: clamp(2rem, 5vw, 4rem); }
.r-zeile {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline;
  column-gap: clamp(.9rem, 3vw, 2rem); padding: .4rem 0;
}
.r-zeile:has(.r-op) { grid-template-columns: auto auto 1fr; }
.r-op {
  font-family: var(--display); font-weight: 500;
  font-size: calc(var(--t-zahl) * .45); color: var(--gold-t); line-height: 1;
}
.r-zahl {
  font-family: var(--display); font-weight: 700; line-height: 1;
  font-size: calc(var(--t-zahl) * .62); letter-spacing: -.03em; white-space: nowrap;
}
.r-beitrag .r-zahl { font-size: var(--t-zahl); }
.r-gutschein { margin-left: clamp(1.5rem, 12vw, 9rem); }
.r-gutschein .r-zahl { color: var(--gold-t); }
.r-was { font-size: .98rem; line-height: 1.4; color: var(--grau); max-width: 22rem; }
.r-was small { font-size: .85rem; }
@media (max-width: 640px) {
  .r-zeile, .r-zeile:has(.r-op) { grid-template-columns: auto 1fr; }
  .r-zeile .r-was { grid-column: 1 / -1; margin-top: .35rem; max-width: none; }
  .r-gutschein { margin-left: 1.5rem; }
  .r-strich, .r-effektiv { margin-left: 0; }
}
.r-strich {
  height: 3px; background: var(--tinte); margin: 1.4rem 0 1.2rem;
  max-width: 38rem; margin-left: clamp(0rem, 6vw, 4.5rem);
}
.r-effektiv { margin-left: clamp(0rem, 6vw, 4.5rem); }
.r-zahl-gross { font-size: var(--t-zahl); }
.rechnung-fuss {
  margin-top: 2.2rem; font-size: .95rem; color: var(--grau);
  border-left: 3px solid var(--gold); padding-left: 1rem; max-width: 30rem;
}
.rechnung-link { color: var(--pine); font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* ═══ 04 · Gutschein (Signatur-Moment) ═══ */
.kap-gutschein { overflow: hidden; background: linear-gradient(200deg, var(--pine) 0%, var(--tanne) 90%); }
.gs-schalter-zeile { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.schalter-plus { font-weight: 500; opacity: .8; }

.gs-buehne {
  position: relative; min-height: clamp(310px, 44vw, 460px);
  display: flex; align-items: center; justify-content: center;
  perspective: 1200px;
}
.gutschein-karte {
  position: relative; width: min(30rem, 88%); aspect-ratio: 8 / 5;
  transform: rotate(-3deg) translateY(24px); opacity: 0;
  transition: transform .8s cubic-bezier(.2, .8, .25, 1), opacity .8s ease;
}
.gutschein-karte.sichtbar { transform: rotate(-3deg) translateY(0); opacity: 1; }
.gk-haelfte {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 150% at 12% 0%, rgba(207, 161, 76, .16), transparent 55%),
    linear-gradient(160deg, #1a4432, #0e2a1e 70%);
  border: 1px solid rgba(207, 161, 76, .55);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  padding: clamp(1rem, 3vw, 1.7rem);
  display: grid; grid-template-rows: auto 1fr auto; align-content: stretch;
  color: var(--hell);
  transition: transform .8s cubic-bezier(.2, .8, .25, 1), opacity .6s ease;
  backface-visibility: hidden;
}
.gk-wappen { width: 34px; height: 49px; opacity: .95; }
.gk-titel {
  position: absolute; top: clamp(1rem, 3vw, 1.7rem); right: clamp(1rem, 3vw, 1.7rem);
  margin: 0; text-align: right;
  font-family: var(--display); font-weight: 500; font-size: .72rem;
  letter-spacing: .3em; color: var(--gold-h); line-height: 1.6;
}
.gk-loch { margin: 0; align-self: center; display: flex; align-items: baseline; gap: .6rem; }
.gk-loch-zahl {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(4rem, 11vw, 7rem); line-height: 1; letter-spacing: -.04em;
  color: var(--gold-h);
}
.gk-loch-wort { font-family: var(--display); font-weight: 500; letter-spacing: .34em; font-size: 1rem; opacity: .9; }
.gk-fuss { margin: 0; font-size: .8rem; opacity: .75; letter-spacing: .04em; }
.gk-rechts { opacity: 0; transform: translate(2%, 3%) rotate(1.5deg) scale(.98); z-index: -1; }
.gk-perforation {
  position: absolute; left: 50%; top: 6%; bottom: 6%; width: 0;
  border-left: 2px dashed rgba(207, 161, 76, .0);
  transition: border-color .4s ease .2s;
}

/* Der Split */
.gutschein-karte.gesplittet .gk-links { transform: translateX(-27%) rotate(-5deg) scale(.8); }
.gutschein-karte.gesplittet .gk-rechts { opacity: 1; z-index: 0; transform: translateX(27%) rotate(4deg) scale(.8); }
.gutschein-karte.gesplittet .gk-perforation { border-color: rgba(207, 161, 76, .0); }
.gutschein-karte.trennt .gk-perforation { border-color: rgba(207, 161, 76, .8); }

/* Die Vielspieler-Staffel: fünf Scheine fächern auf, die Karte tritt zurück */
.gs-staffel {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0;
  transition: opacity .5s ease;
}
.gk-mini {
  width: clamp(3.6rem, 9vw, 5.2rem); aspect-ratio: 5 / 7;
  margin: 0 clamp(-.5rem, -1vw, -.3rem);
  border-radius: 10px; border: 1px solid rgba(207, 161, 76, .55);
  background: linear-gradient(160deg, #1a4432, #0e2a1e 75%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
  display: grid; align-content: center; justify-items: center; gap: .2rem;
  color: var(--hell);
  opacity: 0; transform: translateY(26px) rotate(0deg);
  transition: transform .6s cubic-bezier(.2, .8, .25, 1), opacity .45s ease;
}
.gk-mini-prozent { font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 2.6vw, 1.5rem); color: var(--gold-h); line-height: 1; }
.gk-mini-prozent small { font-size: .6em; }
.gk-mini-runde { font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.gs-buehne.zeigt-staffel .gutschein-karte { opacity: .12; transform: rotate(-3deg) scale(.82); }
.gs-buehne.zeigt-staffel .gs-staffel { opacity: 1; }
.gs-buehne.zeigt-staffel .gk-mini { opacity: 1; }
.gs-buehne.zeigt-staffel .gk-mini:nth-child(1) { transform: translateY(12px) rotate(-13deg); }
.gs-buehne.zeigt-staffel .gk-mini:nth-child(2) { transform: translateY(-2px) rotate(-6deg); transition-delay: .05s; }
.gs-buehne.zeigt-staffel .gk-mini:nth-child(3) { transform: translateY(-8px); transition-delay: .1s; }
.gs-buehne.zeigt-staffel .gk-mini:nth-child(4) { transform: translateY(-2px) rotate(6deg); transition-delay: .15s; }
.gs-buehne.zeigt-staffel .gk-mini:nth-child(5) { transform: translateY(12px) rotate(13deg); transition-delay: .2s; }

/* ═══ 05 · Anlage ═══ */
.kap-anlage { padding-top: 0; padding-bottom: 0; }
.anlage-luft { position: relative; }
.anlage-luft img { width: 100%; height: clamp(320px, 62vh, 640px); object-fit: cover; }
.anlage-text { padding-top: clamp(3.4rem, 8vw, 6.5rem); padding-bottom: clamp(2.6rem, 6vw, 4.5rem); max-width: 46rem; margin-right: auto; margin-left: max(var(--inset), calc((100vw - var(--mass)) / 2)); padding-left: 0; }
@media (max-width: 900px) { .anlage-text { margin-left: 0; padding-left: var(--inset); } }
.anlage-link { margin-top: 1.6rem; }
.anlage-link a {
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  color: var(--pine); text-decoration-color: var(--gold); text-underline-offset: 5px;
}
.anlage-link a:hover { color: var(--gold-t); }
.anlage-duo { display: grid; gap: 0; }
@media (min-width: 900px) {
  .anlage-duo { grid-template-columns: 11fr 9fr; align-items: end; }
  .anlage-bild-b { margin-bottom: clamp(2rem, 8vw, 6rem); }
}
.anlage-bild { margin: 0; }
.anlage-bild img { width: 100%; height: 100%; object-fit: cover; }
.anlage-bild-a img { max-height: 560px; }
.anlage-bild-b img { max-height: 440px; }

/* ═══ 06 · Antworten (Ruhezone) ═══ */
.kap-ruhe { background: var(--creme); }
.frage { border-top: 1px solid var(--linie-h); }
.frage:last-of-type { border-bottom: 1px solid var(--linie-h); }
.frage summary {
  cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  padding: 1.25rem 2.6rem 1.25rem 0; position: relative;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: "+"; position: absolute; right: .2rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--display); font-weight: 500; font-size: 1.6rem; color: var(--gold-t);
  transition: transform .25s ease;
}
.frage[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.frage p { margin: 0 0 1.4rem; max-width: 44rem; color: #2c3a32; }
.kap-ruhe .h2 { margin-bottom: 2.2rem; }

/* ═══ 07 · Beitritt ═══ */
.kap-beitritt {
  background: var(--tanne); color: var(--hell);
  position: relative; overflow: hidden;
}
.beitritt-bild { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.beitritt-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.kap-beitritt::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,33,24,.82), rgba(11,33,24,.62) 30%, rgba(11,33,24,.9) 85%);
}
.kap-beitritt .kap-innen { position: relative; z-index: 2; }

.wizard-panel {
  margin-top: 2.6rem;
  background: var(--creme); color: var(--tinte);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  padding: clamp(1.4rem, 4vw, 3rem);
  max-width: 46rem;
}
.wizard-nojs { font-size: 1.05rem; }

/* Schritt-Anzeige */
.w-schritte {
  display: flex; flex-wrap: wrap; gap: .35rem .2rem;
  list-style: none; margin: 0 0 2rem; padding: 0;
  counter-reset: ws;
}
.w-schritte li {
  counter-increment: ws;
  font-family: var(--display); font-weight: 500; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--grau);
  display: flex; align-items: center; gap: .45rem;
  padding: .3rem .55rem; border-radius: 999px;
}
.w-schritte li::before {
  content: counter(ws);
  font-weight: 700;
  display: grid; place-items: center;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  border: 1.5px solid currentColor;
}
.w-schritte li.aktiv { color: var(--pine); background: rgba(20, 55, 40, .08); }
.w-schritte li.aktiv::before { background: var(--pine); border-color: var(--pine); color: var(--creme); }
.w-schritte li.erledigt { color: var(--gold-t); }
@media (max-width: 640px) { .w-schritte li span, .w-schritte li { font-size: .64rem; } }

.w-schritt { border: 0; padding: 0; margin: 0; min-inline-size: auto; }
.w-titel {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.2;
  padding: 0; margin-bottom: 1.4rem; display: block;
}
.w-zwischen { font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin: 2rem 0 1rem; }

/* Formularfelder */
.w-gitter { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.w-feld { display: block; }
.w-feld-breit { grid-column: 1 / -1; }
.w-feld-schmal { max-width: 11rem; }
@media (max-width: 560px) { .w-gitter { grid-template-columns: 1fr; } .w-feld-schmal { max-width: none; } }
.w-feld > span, .w-geburt > span {
  display: block; font-weight: 700; font-size: .84rem;
  letter-spacing: .02em; margin-bottom: .35rem;
}
.w-feld input, .w-feld select, .w-geburt-selects select {
  width: 100%; font: inherit; color: inherit;
  padding: .72rem .85rem;
  border: 1.5px solid var(--linie-h); border-radius: 10px;
  background: #fff;
  transition: border-color .15s ease;
}
.w-feld input:focus, .w-feld select:focus, .w-geburt-selects select:focus {
  border-color: var(--pine); outline: none; box-shadow: 0 0 0 3px rgba(20, 55, 40, .14);
}
.w-feld input[aria-invalid="true"], .w-feld select[aria-invalid="true"],
.w-geburt-selects select[aria-invalid="true"] { border-color: #a4432f; }
.w-geburt-selects { display: grid; grid-template-columns: 1fr 1.4fr 1.1fr; gap: .6rem; }
.w-feld[data-wenn] { display: none; }
.w-feld[data-wenn].zeigen { display: block; }
.w-iban-ok { color: #2c6e46; font-weight: 700; margin-top: .3rem; display: inline-block; }

.w-fehler {
  color: #a4432f; font-weight: 500; background: rgba(164, 67, 47, .09);
  border-left: 3px solid #a4432f; padding: .6rem .9rem; border-radius: 0 8px 8px 0;
  margin: 1.2rem 0 0;
}
.w-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.w-nav .btn { font-size: .95rem; }

/* Schritt 2: Mandat */
.w-mandat {
  margin-top: 1.4rem; padding: 1.1rem 1.2rem;
  background: rgba(20, 55, 40, .06); border-radius: 12px;
  font-size: .92rem; line-height: 1.55;
}
.w-mandat p { margin: 0 0 .9rem; }
.w-haken { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; margin-top: 1.1rem; font-size: .98rem; }
.w-haken input {
  width: 1.35rem; height: 1.35rem; margin-top: .15rem; flex: none;
  accent-color: var(--pine);
}

/* Schritt 4: Vertragstext */
.w-eckdaten {
  display: grid; gap: .4rem 1.4rem; grid-template-columns: auto 1fr;
  font-size: .95rem; margin-bottom: 1.4rem;
  padding: 1rem 1.2rem; background: rgba(207, 161, 76, .12); border-radius: 12px;
}
.w-eckdaten dt { font-weight: 700; }
.w-eckdaten dd { margin: 0; }
.w-vertrag {
  max-height: 21rem; overflow-y: auto;
  border: 1.5px solid var(--linie-h); border-radius: 12px;
  padding: 1.2rem 1.3rem; background: #fff;
  font-size: .92rem; line-height: 1.6;
}
.w-vertrag h4 { font-family: var(--display); margin: 1.4rem 0 .5rem; font-size: 1rem; }
.w-vertrag h4:first-child { margin-top: 0; }
.w-vertrag p { margin: 0 0 .8rem; }
.w-dokumente { font-size: .9rem; margin: 1rem 0 0; color: var(--grau); }

/* Schritt 5: Unterschrift */
.w-signatur { position: relative; margin-top: .6rem; }
#w-canvas {
  width: 100%; height: 200px; touch-action: none; display: block;
  background: #fff; border: 1.5px solid var(--linie-h); border-radius: 12px;
  cursor: crosshair;
}
.w-signatur-linie {
  position: absolute; left: 8%; right: 8%; bottom: 2.6rem;
  border-bottom: 1.5px dashed rgba(22, 36, 29, .3);
  pointer-events: none;
}
.w-signatur-werkzeug { margin-top: .8rem; }

/* Schritt 6 + Bestätigung */
.w-schluss { display: grid; gap: .45rem 1.4rem; grid-template-columns: auto 1fr; font-size: .98rem; }
.w-schluss dt { font-weight: 700; }
.w-schluss dd { margin: 0; }
.w-schluss-hinweis {
  margin-top: 1.4rem; font-size: .92rem; color: var(--grau);
  border-left: 3px solid var(--gold); padding-left: 1rem;
}
.w-abschluss { font-size: 1.02rem; padding: 1rem 1.6rem; }
.w-abschluss[disabled] { opacity: .55; cursor: wait; transform: none; }
.w-fertig .w-titel { color: var(--pine); }
.w-fertig-gruss { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--gold-t); }
/* Echo des Signatur-Moments: der Gutschein mit dem eigenen Namen */
.w-fertig-karte { margin: 1.4rem 0; max-width: 21rem; }
.w-fertig-karte .karte {
  border-radius: 14px; padding: 1.2rem 1.3rem;
  background:
    radial-gradient(120% 150% at 12% 0%, rgba(207, 161, 76, .16), transparent 55%),
    linear-gradient(160deg, #1a4432, #0e2a1e 70%);
  border: 1px solid rgba(207, 161, 76, .55);
  color: var(--hell);
  box-shadow: 0 14px 40px rgba(20, 55, 40, .35);
}
.w-fertig-karte .k-titel { font-family: var(--display); font-weight: 500; font-size: .68rem; letter-spacing: .3em; color: var(--gold-h); margin: 0 0 .6rem; }
.w-fertig-karte .k-loch { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; letter-spacing: -.03em; color: var(--gold-h); margin: 0; }
.w-fertig-karte .k-loch span { font-size: .85rem; font-weight: 500; letter-spacing: .3em; margin-left: .5rem; }
.w-fertig-karte .k-name { margin: .7rem 0 0; font-weight: 700; }
.w-fertig-karte .k-fuss { margin: .15rem 0 0; font-size: .78rem; opacity: .75; }
.w-nachweis {
  margin: 1.6rem 0; padding: 1.2rem 1.3rem;
  background: rgba(20, 55, 40, .06); border-radius: 14px;
}
.w-nachweis h4 { font-family: var(--display); margin: 0 0 .5rem; font-size: 1.05rem; }
.w-nachweis p { margin: 0 0 .8rem; font-size: .95rem; }
.w-nachweis-qr {
  width: min(11rem, 60%); background: #fff; padding: .7rem;
  border-radius: 10px; border: 1px solid var(--linie-h);
}
.w-nachweis-qr svg { display: block; width: 100%; height: auto; }

/* ── Fußzeile ── */
.fuss { background: var(--tanne); color: var(--hell); padding: 2.2rem var(--inset) 5.5rem; }
.fuss-innen { max-width: var(--mass); margin: 0 auto; display: flex; flex-wrap: wrap; gap: .6rem 2.5rem; justify-content: space-between; font-size: .88rem; }
.fuss p { margin: 0; opacity: .8; }
.fuss a { color: inherit; }
@media (min-width: 761px) { .fuss { padding-bottom: 2.2rem; } }

/* ── Sticky-CTA (mobil) ── */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: .65rem var(--inset) calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(11, 33, 24, .93); backdrop-filter: blur(8px);
  border-top: 1px solid var(--linie-d);
  transform: translateY(110%); transition: transform .3s ease;
  display: none;
}
.sticky-cta .btn { display: block; text-align: center; }
.sticky-cta.zeigen { transform: translateY(0); }
@media (max-width: 760px) { .sticky-cta { display: block; } }
