/* Papierstorch: Formularpapier, Durchschläge, Stempel. Werte, die im Regler-Panel verschoben werden dürfen, stehen als eigene Variablen. */

@font-face {
  font-family: "Bricolage";
  src: url(../fonts/bricolage-grotesque-latin-standard-normal.woff2) format("woff2-variations");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage";
  src: url(../fonts/bricolage-grotesque-latin-ext-standard-normal.woff2) format("woff2-variations");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  /* Farben aus App und Logo */
  --papier: #ffffff;
  --papier-linie: #e6f0f1;
  --text: #0a0a0a;
  --text-leise: #5c5c5c;
  --grau: #e5e5e5;
  --teal: #298a91;
  --teal-knopf: #237f86;
  --teal-text: #1f6d73;
  --tief: #1d4f55;
  --hell: #cfe6e8;
  --leinen: #f3e6c8;
  --leinen-tief: #e2cda2;
  --koralle: #e8735a;
  --koralle-stempel: #dc6448;

  /* Schrift */
  --schrift-titel: "Bricolage", system-ui, sans-serif;
  --schrift-text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --h1: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem);
  --h2: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  --h3: clamp(1.3rem, 1.1rem + .7vw, 1.6rem);
  --lead: clamp(1.1rem, 1rem + .35vw, 1.32rem);
  --titel-breite: 88%;

  /* Abstände */
  --rand: clamp(16px, 4vw, 64px);
  --abschnitt: clamp(72px, 9vw, 136px);
  --einstieg-oben: 10px;
  --stempel-einzug: 70px; /* Stempel unter dem Schriftzug Papierstorch */
  --zeilen: 36px;
  --breite: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--teal) var(--papier-linie); overflow-x: clip; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--schrift-text);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--teal-text); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
a:hover { color: var(--tief); }
::selection { background: var(--hell); color: var(--tief); }
:focus-visible { outline: 3px solid var(--tief); outline-offset: 3px; border-radius: 4px; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.zahl { font-variant-numeric: tabular-nums; }

.huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }

/* Titel */
.titel {
  font-family: var(--schrift-titel);
  font-weight: 800;
  font-stretch: var(--titel-breite);
  line-height: 1;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h2.titel { font-size: var(--h2); margin-bottom: .45em; }
h3.titel { font-size: var(--h3); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; margin-bottom: .4em; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.4em;
  font: 700 1.19rem/1 var(--schrift-titel); font-stretch: 92%;
  border-radius: 6px; text-decoration: none;
  background: var(--teal-knopf); color: #fff;
  box-shadow: 0 1px 0 rgba(29, 79, 85, .35), 0 8px 18px -10px rgba(29, 79, 85, .6);
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.knopf:hover { background: var(--tief); color: #fff; transform: translateY(-1px); }
.knopf:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(29, 79, 85, .35); }
.knopf.zwei { background: transparent; color: var(--tief); box-shadow: inset 0 0 0 2px var(--tief); }
.knopf.zwei:hover { background: var(--tief); color: #fff; }
.knopf.hell { background: #fff; color: var(--tief); }
.knopf.hell:hover { background: var(--leinen); color: var(--tief); }
.knopf.klein { min-height: 44px; font-size: 1.05rem; padding: 0 1.1em; }

/* Stempel */
.stempel {
  --dreh: -6deg;
  display: inline-block;
  font: 800 1.35rem/1 var(--schrift-titel); font-stretch: 75%;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal);
  border: 3.5px solid currentColor; border-radius: 8px;
  padding: .32em .6em .28em;
  transform: rotate(var(--dreh));
  mix-blend-mode: multiply;
  text-align: center;
  white-space: nowrap;
}
.stempel small { display: block; font-size: .5em; letter-spacing: .12em; margin-top: .2em; }
.stempel.bezahlt { color: var(--koralle-stempel); font-size: 2rem; border-width: 5px; }
.stempel.blass { opacity: .28; }
/* Durchschläge sind reine Gestaltung: Text als Pseudo-Element, damit er nicht als (blasser) Lesetext zählt */
.stempel.blass::before { content: attr(data-text); }

/* Kopf */
/* Kopfzeile ohne eigene Fläche: Der Storch im Einstieg darf hinter Navigation und Button durchfliegen */
.kopf { background: transparent; position: relative; z-index: 5; }
.kopf .huelle { display: flex; align-items: center; gap: 2rem; min-height: 84px; }
.marke { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--tief); font: 800 1.6rem/1 var(--schrift-titel); font-stretch: 90%; letter-spacing: -.01em; }
.marke img { width: 64px; height: auto; margin-block: -6px; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a, .anmelden { color: var(--tief); text-decoration: none; font-weight: 500; }
.nav a:hover, .anmelden:hover { text-decoration: underline; }
.kopf .knopf { min-height: 46px; font-size: 1.05rem; }
/* Die Zeile über der Überschrift als Stempelabdruck (Wunsch der Person, 2026-10-14, statt Band) */
.kopfstempel {
  display: inline-block; text-align: left;
  font-size: clamp(.95rem, .85rem + .4vw, 1.2rem); line-height: 1.3; letter-spacing: .07em;
  color: var(--teal-text); border-width: 3px; padding: .45em .75em .4em;
  margin: 0 0 var(--stempel-abstand, clamp(28px, 4vw, 48px)) var(--stempel-einzug); transform-origin: left center;
}
.kopfstempel span { display: block; }
.kopfstempel, .kopfstempel span { white-space: nowrap; }
.kopfstempel { position: relative; z-index: 6; }

/* Liniertes Papier */
/* Früher liniertes Papier; auf Wunsch der Person (2026-10-14) ohne Linien, einfach Weiß. */
.liniert { background-color: var(--papier); }

/* Einstieg */
.einstieg { padding: var(--einstieg-oben) 0 clamp(56px, 7vw, 104px); overflow-x: clip; }
.einstieg .huelle { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.einstieg h1 { font-size: var(--h1); line-height: .98; }
.einstieg h1 em { font-style: normal; color: var(--teal); }
.einstieg .lead { font-size: var(--lead); line-height: 1.55; max-width: 38em; margin: 1.6rem 0 2rem; color: #262626; }
.aktionen { display: flex; flex-wrap: wrap; gap: .9rem; }
.hinweis { margin-top: 1rem; font-size: .95rem; color: var(--text-leise); max-width: 40em; }

.stapel { position: relative; padding: 48px 34px 24px 0; }
.blatt {
  position: relative; background: #fff; border: 1px solid var(--grau); border-radius: 4px;
  padding: 30px 32px 26px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .03), 0 24px 44px -26px rgba(29, 79, 85, .45);
}
.stapel::before, .stapel::after {
  content: ""; position: absolute; inset: 48px 34px 24px 0; border-radius: 4px;
  box-shadow: 0 18px 36px -24px rgba(29, 79, 85, .4);
}
.stapel::before { background: var(--hell); transform: rotate(3.5deg) translate(22px, 12px); }
.stapel::after { background: var(--leinen); transform: rotate(-2deg) translate(10px, 6px); }
.stapel .blatt { z-index: 1; }
.blatt-titel { font: 700 1.3rem/1.2 var(--schrift-titel); color: var(--tief); padding-bottom: .6rem; border-bottom: 2px solid var(--tief); margin-bottom: .4rem; }
.felder div { display: flex; justify-content: space-between; gap: 1rem; padding: .62rem 0; border-bottom: 1px solid var(--hell); font-size: .98rem; }
.felder dt { font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-leise); font-weight: 600; padding-top: .2em; }
.felder dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.stempelfeld { position: relative; height: 200px; }
.stempelfeld .stempel { position: absolute; }
.beispiel { position: absolute; right: 14px; bottom: 10px; font-size: .72rem; color: #6b6b6b; }
.einstieg .flieger { position: absolute; width: min(var(--storch-breite, 260px), 60%); right: var(--storch-x, -64px); top: var(--storch-y, -86px); z-index: 3; pointer-events: none; filter: drop-shadow(0 0 1px rgba(29, 79, 85, .45)) drop-shadow(0 6px 10px rgba(29, 79, 85, .12)); }

/* Stempelkette: ersetzt auf dem Handy den Besuchsbogen */
.stempelkette { display: none; }
@media (max-width: 640px) {
  .einstieg .stapel { display: none; }
  .stempelkette { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; margin-top: 32px; padding: 22px 16px 20px; background: var(--leinen); border-radius: 8px; }
  .kette-satz { font: 800 1.35rem/1.3 var(--schrift-titel); font-stretch: 90%; letter-spacing: -.01em; }
  .kette-storch { width: 104px; grid-row: 1; grid-column: 2; margin: -28px -8px 0 0; }
  .stempelkette ol { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .stempelkette li:nth-child(2) { padding-left: 18px; }
  .stempelkette li:nth-child(3) { padding-left: 6px; }
  .stempelkette li { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .stempelkette .nr { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--tief); color: #fff; font: 800 .78rem/1 var(--schrift-titel); }
  .stempelkette li.ziel { padding: 4px 0 0 22px; }
  .stempelkette li.ziel .nr { background: #c4492f; }
  .stempelkette .stempel { font-size: 1.02rem; border-width: 3px; padding: .3em .5em .26em; color: var(--teal-text); }
  .stempelkette .stempel.bezahlt { font-size: 1.9rem; border-width: 5px; color: #c4492f; }
}

/* Vergleich ohne und mit Papierstorch */
.problem { background: var(--tief); color: #fff; padding: var(--abschnitt) 0; }
.problem h2.titel { margin-bottom: .3em; }
.problem .unterzeile { font-size: var(--lead); color: var(--hell); margin-bottom: clamp(24px, 4vw, 48px); }
.vergleich-kopf, .vergleich li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); gap: clamp(16px, 3vw, 40px); }
.vergleich-kopf { font: 800 1.05rem/1.2 var(--schrift-titel); letter-spacing: .06em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 2px solid var(--hell); }
.vergleich-kopf::before { content: ""; }
.k-ohne { color: var(--leinen); }
.k-mit { color: var(--hell); }
.vergleich li { padding: 22px 0; border-bottom: 1px solid rgba(207, 230, 232, .3); align-items: start; }
.vergleich h3 { font: 700 1.25rem/1.25 var(--schrift-titel); }
.vergleich .ohne { color: #b6dade; }
.vergleich .mit { color: #fff; font-weight: 600; padding-left: 30px; position: relative; }
.vergleich .mit::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 4px; background: var(--hell);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect width='20' height='20' rx='4'/%3E%3C/svg%3E");
}
.vergleich .mit::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 3px); width: 6px; height: 11px; border: solid var(--tief); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.problem .ein-schritt {
  margin-top: clamp(32px, 4vw, 56px);
  font: 800 var(--h3)/1.3 var(--schrift-titel); font-stretch: 90%;
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem;
}
.problem .ein-schritt .stempel { color: var(--leinen); mix-blend-mode: normal; font-size: .85em; letter-spacing: .06em; }
@media (max-width: 640px) {
  .vergleich-kopf { display: none; }
  .vergleich li { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .vergleich .nur-sr { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; display: block; font: 800 .8rem/1.3 var(--schrift-titel); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
  .vergleich .ohne .nur-sr { color: var(--leinen); }
  .vergleich .mit .nur-sr { color: var(--hell); margin-left: -30px; }
  .vergleich .mit::before, .vergleich .mit::after { top: calc(1.3 * .8rem + 2px + .2em); }
  .vergleich .mit::after { top: calc(1.3 * .8rem + 2px + .2em + 3px); }
}

/* Ablauf */
.ablauf { padding: var(--abschnitt) 0; overflow-x: clip; }
.ablauf .kopftext { max-width: 44em; margin-bottom: clamp(40px, 6vw, 80px); }
.ablauf .kopftext p { font-size: var(--lead); color: #262626; }
.schritte { position: relative; counter-reset: schritt; }
.schritte::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; border-left: 3px dashed var(--tief); }
.schritt { position: relative; display: grid; grid-template-columns: 66px minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; }
.schritt + .schritt { border-top: 1px solid var(--papier-linie); }
.nummer {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 3px solid var(--tief); color: var(--tief);
  font: 800 1.9rem/1 var(--schrift-titel); font-variant-numeric: tabular-nums; position: relative; z-index: 1;
}
.schritt.du .nummer { background: var(--tief); color: #fff; }
.schritt p { color: #262626; max-width: 34em; }
.schritt .zusatz { margin-top: .8rem; font-size: .95rem; color: var(--text-leise); }
.beleg { position: relative; justify-self: stretch; }
.beleg .blatt { padding: 22px 24px 20px; }
.beleg .stempel { position: absolute; right: 18px; bottom: -14px; z-index: 2; }
.durchschlag { display: flex; flex-wrap: wrap; gap: .35rem .6rem; margin-top: .9rem; }
.durchschlag .stempel { position: static; font-size: .78rem; border-width: 2px; padding: .25em .45em; --dreh: -3deg; }
.zeile { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--hell); font-size: .95rem; }
.zeile b { font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-leise); font-weight: 600; padding-top: .25em; }
.beispiel-zeile { margin-top: .7rem; font-size: .72rem; color: #6b6b6b; text-align: left; }
.handy .beispiel-zeile { margin: .5rem 0 0; text-align: center; }
.handy .stempelplatz { display: flex; justify-content: center; padding: .2rem 0 .9rem; }
.beleg .handy .stempel { position: static; font-size: 1.05rem; }
.zeile .zahl { white-space: nowrap; }
.handy {
  width: 240px; margin-inline: auto; border: 10px solid var(--tief); border-radius: 30px; background: #fff;
  padding: 22px 14px 18px; box-shadow: 0 24px 40px -26px rgba(29, 79, 85, .6);
}
.handy .blatt-titel { font-size: .95rem; font-stretch: 80%; color: var(--tief); margin: 0 0 .4rem; white-space: nowrap; }
.handy p { font-size: .82rem; color: var(--text-leise); margin: .5rem 0; }
.unterschrift { border-bottom: 1.5px solid var(--tief); height: 64px; margin: .4rem 0 .9rem; }
.unterschrift svg { width: 100%; height: 64px; }
.handy .fake-knopf { display: block; text-align: center; background: var(--teal-knopf); color: #fff; border-radius: 6px; padding: .55rem; font: 700 .9rem var(--schrift-titel); }
.beleg.buehne { background: var(--hell); border-radius: 6px; padding: 18px 18px 8px; }
.storch-bild { width: min(100%, 420px); margin-inline: auto; }

/* Ganze Kette */
.kette { background: var(--leinen); padding: var(--abschnitt) 0; }
.kette .huelle { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.kette p { font-size: var(--lead); max-width: 32em; }
.kette strong { font-weight: 700; }
.zusammen { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.vorher { display: grid; gap: 12px; }
.vorher li { background: #fff; border: 1px dashed var(--leinen-tief); border-radius: 4px; padding: 12px 14px; font-size: .95rem; color: #404040; }
.vorher li b { display: block; font: 700 1rem/1.2 var(--schrift-titel); color: var(--text); }
.pfeil { width: 54px; color: var(--tief); }
.eins { background: #fff; border-radius: 4px; padding: 22px 22px 18px; box-shadow: 0 24px 44px -26px rgba(29, 79, 85, .5); text-align: center; }
.eins img { width: 76px; margin: 0 auto .6rem; }
.eins b { display: block; font: 800 1.5rem/1 var(--schrift-titel); color: var(--tief); }
.eins span { font-size: .9rem; color: var(--text-leise); }

/* Leistungsverzeichnis */
.leistungen { padding: var(--abschnitt) 0; }
.verzeichnis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); border-top: 2px solid var(--tief); margin-top: clamp(28px, 4vw, 48px); }
.verzeichnis li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 20px 0 22px; border-bottom: 1px solid var(--hell); }
.verzeichnis h3 { font: 700 1.2rem/1.2 var(--schrift-titel); margin-bottom: .3rem; }
.verzeichnis p { font-size: .98rem; color: #333; }
.haken { width: 26px; height: 26px; border: 2px solid var(--tief); border-radius: 4px; margin-top: 2px; color: var(--teal); }

/* Preis */
.preis { background: var(--hell); padding: var(--abschnitt) 0; }
.preis .huelle { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.preis .text p { font-size: var(--lead); max-width: 32em; }
.preis .text p + p { margin-top: 1rem; }
.beleg-preis { position: relative; }
.beleg-preis .blatt { padding: 26px 28px 30px; }
.rechnung { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-top: .6rem; }
.rechnung th, .rechnung td { padding: .7rem 0; border-bottom: 1px solid var(--hell); text-align: left; font-weight: 400; vertical-align: baseline; }
.rechnung td:last-child, .rechnung th:last-child { text-align: right; white-space: nowrap; }
.rechnung th { font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-leise); font-weight: 600; }
.rechnung .summe td { font: 800 1.6rem/1 var(--schrift-titel); color: var(--tief); border-bottom: 2px solid var(--tief); padding-top: 1rem; }
.rechnung .deckel td { font: 800 2.4rem/1 var(--schrift-titel); color: var(--tief); border-bottom: 0; padding-top: 1.1rem; }
.rechnung .deckel td:first-child { font: 600 1rem/1.3 var(--schrift-text); color: var(--text); }
.beleg-preis .stempelstorch { width: 280px; margin: 28px 0 0 auto; }
.angebote { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(32px, 4vw, 48px); border-top: 2px solid var(--tief); }
.angebote p { font-size: 1.05rem; max-width: 34em; }
.angebote p + p { margin-top: .8rem; }
.preis .schluss { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: clamp(32px, 4vw, 56px); }
.preis .schluss p { font-size: 1.05rem; max-width: 40em; }
.kontakt { flex: 1 1 320px; }
.kontaktwege { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.kontaktwege a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem;
  border: 2px solid var(--tief); border-radius: 6px; background: #fff; color: var(--tief);
  font: 700 1rem/1 var(--schrift-titel); text-decoration: none; transition: background-color .15s ease, color .15s ease;
}
.kontaktwege a:hover { background: var(--tief); color: #fff; }
.kontaktwege svg { width: 20px; height: 20px; flex: none; }

/* Datenschutz */
.schutz { padding: var(--abschnitt) 0; }
.schutz .huelle { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.schutz p { font-size: var(--lead); max-width: 30em; }
.schutz p + p { margin-top: 1rem; }
.siegel { display: grid; gap: 0; border-top: 2px solid var(--tief); }
.siegel li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--hell); align-items: start; }
.siegel svg { width: 40px; height: 40px; color: var(--tief); }
.siegel b { display: block; font: 700 1.2rem/1.2 var(--schrift-titel); margin-bottom: .2rem; }
.siegel span { color: #333; font-size: .98rem; }

/* Fragen */
.fragen { padding: var(--abschnitt) 0; }
.schutz + .fragen { padding-top: clamp(24px, 4vw, 64px); }
.fragen .huelle { max-width: 900px; }
.fragen details { border-bottom: 1px solid var(--hell); }
.fragen details:first-of-type { border-top: 2px solid var(--tief); margin-top: clamp(24px, 4vw, 40px); }
.fragen summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; font: 700 1.2rem/1.3 var(--schrift-titel);
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border: 2px solid var(--tief); border-radius: 4px;
  background: linear-gradient(var(--tief), var(--tief)) center / 12px 2px no-repeat, linear-gradient(var(--tief), var(--tief)) center / 2px 12px no-repeat;
  transition: transform .2s ease;
}
.fragen details[open] summary::after { background: linear-gradient(var(--tief), var(--tief)) center / 12px 2px no-repeat; background-color: var(--hell); }
.fragen summary:hover { color: var(--teal-text); }
.fragen details p { padding: 0 0 1.3rem; max-width: 42em; color: #262626; }
.fragen address { font-style: normal; font-weight: 600; margin-top: .3rem; }

/* Abschluss */
.abschluss { background: var(--tief); color: #fff; padding: var(--abschnitt) 0 0; overflow: hidden; }
.abschluss .huelle { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: end; }
.abschluss .text { padding-bottom: var(--abschnitt); }
.abschluss p { font-size: var(--lead); color: #e4eff0; max-width: 30em; margin-bottom: 2rem; }
.abschluss .ankunft { width: min(100%, 420px); justify-self: end; margin-bottom: -4px; }

/* Fuß */
.fuss { padding: 40px 0 48px; font-size: .95rem; }
.fuss .huelle { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.fuss nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.fuss p { color: var(--text-leise); }

/* Nach oben: kleiner, ruhiger Knopf unten rechts, erscheint nach etwas Scrollen. Springt ohne weiches Scrollen. */
.nach-oben {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  display: grid; place-items: center; width: 40px; height: 40px;
  background: rgba(255, 255, 255, .92); color: var(--tief); border: 1px solid var(--hell); border-radius: 50%;
  box-shadow: 0 4px 12px -6px rgba(29, 79, 85, .45);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease-out, visibility 0s linear .2s, background-color .15s ease, color .15s ease;
}
.nach-oben svg { width: 18px; height: 18px; }
.nach-oben.sichtbar { opacity: .85; visibility: visible; transition-delay: 0s; }
.nach-oben:hover, .nach-oben:focus-visible { opacity: 1; background: var(--tief); color: #fff; border-color: var(--tief); }
@media (max-width: 1020px) { .nach-oben { display: none; } }
@media (prefers-reduced-motion: reduce) { .nach-oben { transition: none; } }

/* Bewegung: Stempel landen einmal. Ohne JS oder bei reduzierter Bewegung sind sie sofort da. */
@media (prefers-reduced-motion: no-preference) {
  .js .landet { opacity: 0; transform: rotate(var(--dreh)) scale(1.5); }
  .js .landet.gelandet { opacity: 1; transform: rotate(var(--dreh)) scale(1); transition: opacity .12s ease-out, transform .18s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--verzug, 0s); }
}

/* Unterseiten */
.unterseite { padding: var(--abschnitt) 0; }
.unterseite .huelle { max-width: 760px; }
.unterseite h1 { font-size: var(--h2); margin-bottom: 1.2em; }
.unterseite h2 { font: 700 var(--h3)/1.2 var(--schrift-titel); margin: 2em 0 .5em; }
.unterseite p, .unterseite address { margin-bottom: 1em; font-style: normal; }

/* Tablet */
@media (max-width: 1020px) {
  .nav { display: none; }
  .kopf .huelle { gap: 1rem; }
  .anmelden { margin-left: auto; }
  .einstieg .huelle, .kette .huelle, .preis .huelle, .schutz .huelle { grid-template-columns: minmax(0, 1fr); }
  .stapel { max-width: 520px; margin-top: 40px; }
  .einstieg .flieger { right: -10px; }
  .schritt { grid-template-columns: 66px minmax(0, 1fr); }
  .schritt .beleg { grid-column: 2; }
  .beleg-preis { max-width: 520px; }
  .beleg-preis .stempelstorch { width: 220px; }
  .abschluss .huelle { grid-template-columns: 1fr; }
  .abschluss .text { padding-bottom: 24px; }
}

/* Handy */
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .kopf .huelle { min-height: 68px; }
  .marke { font-size: 1.3rem; }
  .marke img { width: 48px; }
  :root { --stempel-einzug: 52px; }
  .kopfstempel { font-size: .8rem; letter-spacing: .05em; display: table; margin-left: auto; margin-right: auto; transform-origin: center; }
  /* Auf dem Handy: oben Anmelden für Bestandskundinnen, „Kostenlos testen“ steht direkt darunter groß im Einstieg */
  .kopf .knopf { display: none; }
  .anmelden {
    margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
    border: 2px solid var(--tief); border-radius: 6px; font: 700 1rem/1 var(--schrift-titel);
  }
  .anmelden:hover { background: var(--tief); color: #fff; text-decoration: none; }
  .aktionen .knopf { flex: 1 1 100%; }
  .stapel { padding: 40px 16px 16px 0; }
  .stapel::before, .stapel::after { inset: 40px 16px 16px 0; }
  .blatt { padding: 22px 18px 18px; }
  .felder div { flex-direction: column; gap: .15rem; }
  .felder dd { text-align: left; }
  .stempelfeld { height: 170px; }
  .stempel { font-size: 1.1rem; }
  .stempel.bezahlt { font-size: 1.6rem; }
  .einstieg .flieger { width: 170px; right: -6px; top: -64px; }
  .schritte::before { left: 21px; }
  .schritt { grid-template-columns: 46px minmax(0, 1fr); gap: 16px; }
  .nummer { width: 46px; height: 46px; font-size: 1.35rem; }
  .schritt .beleg { grid-column: 1 / -1; }
  .zusammen { grid-template-columns: 1fr; }
  .pfeil { transform: rotate(90deg); margin-inline: auto; }
  .verzeichnis { grid-template-columns: 1fr; }
  .angebote { grid-template-columns: 1fr; }
  .rechnung .deckel td { font-size: 2rem; }
  .fuss .huelle { flex-direction: column; }
}

/* Sehr schmale Handys: Stempel unter dem Schriftzug kleiner, damit er in die Breite passt */
@media (max-width: 380px) {
  .kopfstempel { font-size: .72rem; letter-spacing: .04em; }
}
