/* ==========================================================================
   Kita Bärlis — Konzept A "Familienalbum"
   Ein warmes, erzählerisches Design. Eine Button-Familie, eine Karten-Familie.
   Reihenfolge: Tokens · Reset · Layout · Typografie · Komponenten · Bereiche · Seiten · Responsive
   ========================================================================== */

/* Selbst gehostete Schriften — keine Anfragen an Dritte (DSGVO).
   Variable Schnitte, Quelle: Google Fonts (SIL Open Font License 1.1). */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin.woff2") format("woff2");
  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: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  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: "Nunito Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/nunito-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/nunito-sans-latin.woff2") format("woff2");
  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;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Farben */
  --creme: #faf6ef;
  --creme-tief: #f2eadd;
  --papier: #fffdf9;
  --teal: #2e9b88;
  --teal-dunkel: #1f5f54;
  --teal-tief: #17453d;
  --teal-hauch: #e3f1ed;
  --rosa: #d98c8b;
  --rosa-dunkel: #9c4f4d;   /* Kontrastvariante für Text auf Creme */
  --rosa-hell: #f2d9d8;
  --rosa-hauch: #fbeeed;
  --tinte: #22302c;
  --tinte-weich: #4d5f59;
  --linie: #e4dbcc;

  /* Typo */
  --schrift-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --schrift-text: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rundungen */
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 32px;
  --r-xl: 48px;
  --r-voll: 999px;

  /* Schatten */
  --schatten-s: 0 2px 8px rgba(34, 48, 44, 0.06);
  --schatten-m: 0 14px 34px -18px rgba(31, 95, 84, 0.34);
  --schatten-l: 0 30px 70px -34px rgba(31, 95, 84, 0.42);

  /* Raster */
  --breite: 1180px;
  --breite-schmal: 680px;
  --lesebreite: 35em;    /* ~70 Zeichen — em skaliert mit der Schriftgroesse */
  --luft: clamp(1.25rem, 4vw, 2.5rem);
  --block: clamp(4rem, 8.5vw, 7.5rem);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.68;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
iframe { display: block; max-width: 100%; }

img { height: auto; }

a { color: var(--teal-dunkel); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }

button,
input,
select,
textarea { font: inherit; color: inherit; }

table { border-collapse: collapse; width: 100%; }

blockquote,
figure,
fieldset { margin: 0; }

/* Qualitätsboden: sichtbarer Fokusring in Markenfarbe, überall gleich */
:focus-visible {
  outline: 2px solid var(--teal-dunkel);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--teal :focus-visible,
.fuss :focus-visible { outline-color: #8fd0c0; }

/* Sprungziele unter der klebenden Kopfleiste */
[id] { scroll-margin-top: 6.5rem; }

a, button, label, summary, input, select, textarea { touch-action: manipulation; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Ruhige Scroll-Reveals: einblenden plus 10px Drift, einmalig.
   Ohne JS bleibt alles sichtbar — die Klasse setzt erst main.js. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease-out, transform .45s ease-out;
}
.js-reveal [data-reveal].ist-sichtbar { opacity: 1; transform: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--teal-dunkel);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: var(--r-s);
  transition: top .2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--luft);
}
.wrap--schmal { max-width: var(--breite-schmal); }
.wrap--weit { max-width: 1340px; }

.section { padding-block: var(--block); position: relative; }
.section--eng { padding-block: clamp(2.75rem, 5.5vw, 4.5rem); }
.section--papier { background: var(--papier); }
.section--creme-tief { background: var(--creme-tief); }
.section--teal { background: var(--teal-dunkel); color: #f4efe6; }
.section--teal a { color: #cdece3; }
.section--rosa { background: var(--rosa-hauch); }

.section--teal .eyebrow { color: var(--rosa-hell); }
.section--teal .lede { color: #d7e6e1; }

.stack > * + * { margin-top: 1.15rem; }
.stack--weit > * + * { margin-top: 2rem; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--medien-rechts > :first-child { order: 2; }
.split--schmal-links { grid-template-columns: 0.85fr 1.15fr; }

.mitte { text-align: center; }
.mitte-block { margin-inline: auto; max-width: var(--lesebreite); }

/* --------------------------------------------------------------------------
   4. Typografie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--schrift-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--tinte);
  margin: 0 0 .6em;
  text-wrap: balance;
}

.section--teal h1,
.section--teal h2,
.section--teal h3,
.section--teal h4 { color: #fffdf9; }

h1, .h1 { font-size: clamp(2.35rem, 5.4vw, 4rem); }
h2, .h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3, .h3 { font-size: clamp(1.3rem, 2.1vw, 1.6rem); line-height: 1.2; }
h4, .h4 { font-size: 1.1rem; line-height: 1.3; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--schrift-text);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-dunkel);
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.62;
  color: var(--tinte-weich);
}

.klein { font-size: .92rem; color: var(--tinte-weich); }
.mini { font-size: .84rem; color: var(--tinte-weich); line-height: 1.55; }
.section--teal .mini,
.mini--auf-teal,
.fuss .mini { color: #bcd8d0; }

.betont { font-weight: 700; }
.nowrap { white-space: nowrap; }

/* Leitfrage über einem Wert — die unausgesprochene Elternfrage */
.leitfrage {
  font-family: var(--schrift-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--rosa-dunkel);
  margin: 0 0 .5rem;
}
.wert-titel { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.unterschrift {
  font-family: var(--schrift-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--teal-dunkel);
}

/* Handschriftlich anmutende Auszeichnung im Fliesstext */
.kursiv-display {
  font-family: var(--schrift-display);
  font-style: italic;
  font-weight: 500;
}

.liste-haken {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .7rem;
}
.liste-haken li {
  position: relative;
  padding-left: 1.9rem;
  line-height: 1.55;
}
.liste-haken li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 1.1rem;
  height: .6rem;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
  border-radius: 1px;
}
.section--teal .liste-haken li::before { border-color: var(--rosa-hell); }

/* --------------------------------------------------------------------------
   5. Komponenten
   -------------------------------------------------------------------------- */

/* 5.1 Buttons — eine einzige Familie: .btn + Variante + Grösse */
.btn {
  --btn-bg: var(--teal-dunkel);
  --btn-fg: #fffdf9;
  --btn-rand: var(--teal-dunkel);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.7rem;
  min-height: 3rem;
  border: 2px solid var(--btn-rand);
  border-radius: var(--r-voll);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--schrift-text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .005em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease-out, box-shadow .18s ease-out, background-color .18s ease-out, color .18s ease-out;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--schatten-m);
}
.btn:active { transform: scale(.98); }

.btn--rosa { --btn-bg: var(--rosa); --btn-rand: var(--rosa); --btn-fg: #40201f; }
.btn--hell { --btn-bg: #fffdf9; --btn-rand: #fffdf9; --btn-fg: var(--teal-tief); }
.btn--geist { --btn-bg: transparent; --btn-rand: var(--teal-dunkel); --btn-fg: var(--teal-dunkel); }
.btn--geist:hover { --btn-bg: var(--teal-dunkel); --btn-fg: #fffdf9; }
.section--teal .btn--geist { --btn-rand: #9fd3c7; --btn-fg: #ecf7f3; }
.section--teal .btn--geist:hover { --btn-bg: #fffdf9; --btn-fg: var(--teal-tief); --btn-rand: #fffdf9; }

/* Die Button-Farbe muss die Link-Farbe dunkler Bereiche schlagen. */
.section--teal a.btn,
.fuss a.btn { color: var(--btn-fg); }
.section--teal a.btn:hover,
.fuss a.btn:hover { color: var(--btn-fg); text-decoration: none; }

.btn--gross { padding: 1.05rem 2.2rem; font-size: 1.075rem; min-height: 3.5rem; }
.btn--klein { padding: .6rem 1.15rem; font-size: .9rem; min-height: 2.75rem; border-width: 2px; }
.btn--voll { width: 100%; }

.btn-reihe {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  align-items: center;
}
.btn-reihe--mitte { justify-content: center; }

/* Textlink mit Pfeil — kein zweiter Button-Stil, bewusst ein Link */
.pfeil-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .45rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--teal-dunkel);
  border-bottom: 2px solid var(--rosa);
  padding-bottom: 2px;
  transition: gap .18s ease-out;
}
.pfeil-link::after { content: "\2192"; transition: transform .18s ease; }
.pfeil-link:hover { gap: .7rem; }
.pfeil-link:hover::after { transform: translateX(2px); }
.section--teal .pfeil-link { color: #ecf7f3; border-bottom-color: var(--rosa-hell); }

/* 5.2 Sticker — die einzige Badge-Familie */
.sticker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.05rem;
  border-radius: var(--r-voll);
  background: var(--rosa-hell);
  color: #4a2523;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .01em;
  box-shadow: var(--schatten-s);
}
.sticker--teal { background: var(--teal-hauch); color: var(--teal-tief); }
.sticker--hell { background: #fffdf9; color: var(--teal-tief); }
.sticker--umriss { background: transparent; border: 2px dashed var(--rosa); color: #6d3a38; box-shadow: none; }
.sticker__punkt {
  width: .55rem; height: .55rem;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}
.sticker--gedreht { transform: rotate(-2.5deg); }

.sticker-reihe { display: flex; flex-wrap: wrap; gap: .6rem; }

/* 5.3 Karten — die einzige Karten-Familie */
.card {
  display: flex;
  flex-direction: column;
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--schatten-s);
  transition: transform .22s ease-out, box-shadow .22s ease-out;
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--creme-tief);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--hoch { aspect-ratio: 3 / 4; }
.card__media--portrait { aspect-ratio: 2 / 3; }

.card__body {
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: .7rem;
  flex: 1;
}
.card__title { margin: 0; font-size: 1.28rem; }
.card__text { margin: 0; color: var(--tinte-weich); }
.card__fuss { margin-top: auto; padding-top: .5rem; }

.card--verlinkt:hover { transform: translateY(-2px); box-shadow: var(--schatten-l); }
.card--tint { background: var(--teal-hauch); border-color: #cfe6df; }
.card--rosa { background: var(--rosa-hauch); border-color: var(--rosa-hell); }
.card--umriss { background: transparent; box-shadow: none; }
.card--flach { border-radius: var(--r-m); }
.card--eng .card__body { padding: 1.15rem 1.25rem; }

/* Nummerierte Karten (Ablauf-Schritte) */
.card__nummer {
  font-family: var(--schrift-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--rosa-dunkel);
  font-weight: 600;
}

/* 5.4 Foto-Masken — organische Radien, das erzählerische Element */
.foto {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--creme-tief);
  box-shadow: var(--schatten-l);
}
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto--bogen { border-radius: 50% 50% var(--r-l) var(--r-l) / 28% 28% var(--r-l) var(--r-l); }
.foto--blob { border-radius: 58% 42% 46% 54% / 44% 48% 52% 56%; }
.foto--blatt { border-radius: var(--r-xl) 6px var(--r-xl) 6px; }
.foto--hoch { aspect-ratio: 3 / 4; }
.foto--quer { aspect-ratio: 3 / 2; }
.foto--quadrat { aspect-ratio: 1; }

/* Fotostapel: zwei Bilder, leicht versetzt — Album-Anmutung */
.fotostapel { position: relative; padding-bottom: 3.5rem; padding-right: 2.5rem; }
.fotostapel__haupt { position: relative; z-index: 2; }
.fotostapel__neben {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  z-index: 3;
  border: 6px solid var(--creme);
  box-shadow: var(--schatten-m);
}

/* 5.5 Wellen-Trenner */
.welle { display: block; width: 100%; height: clamp(38px, 5vw, 74px); }
.welle svg { display: block; width: 100%; height: 100%; }
.welle--oben { margin-bottom: -1px; }
.welle--unten { margin-top: -1px; }

/* 5.6 Details / Akkordeon */
.akkordeon {
  border: 1px solid var(--linie);
  border-radius: var(--r-m);
  background: var(--papier);
  overflow: hidden;
}
.akkordeon + .akkordeon { margin-top: .85rem; }
.akkordeon > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.35rem;
  font-weight: 800;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.akkordeon > summary::-webkit-details-marker { display: none; }
.akkordeon > summary::after {
  content: "+";
  font-family: var(--schrift-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--teal);
  flex: none;
}
.akkordeon[open] > summary::after { content: "\2013"; }
.akkordeon__inhalt { padding: 0 1.35rem 1.35rem; }

/* 5.7 Formulare */
.feld { display: flex; flex-direction: column; gap: .4rem; }
.feld > label { font-weight: 700; font-size: .95rem; }
.feld .hinweis { font-size: .82rem; color: var(--tinte-weich); }

.feld input,
.feld select,
.feld textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--linie);
  border-radius: var(--r-s);
  background: #fff;
  font-size: 1rem;
  transition: border-color .18s ease-out, box-shadow .18s ease-out;
}
.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(46, 155, 136, .14);
  outline: none;
}
.feld textarea { min-height: 8rem; resize: vertical; }

.feld-grid { display: grid; gap: 1.1rem; }
.feld-grid--2 { grid-template-columns: repeat(2, 1fr); }

.pflicht { color: var(--rosa); }

.formular {
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--r-l);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--schatten-s);
}

.radio-gruppe { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-karte {
  position: relative;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem 1.1rem;
  min-height: 44px;
  border: 1.5px solid var(--linie);
  border-radius: var(--r-voll);
  background: #fff;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color .18s ease-out, background-color .18s ease-out;
}
.radio-karte input { accent-color: var(--teal); margin: 0; }
.radio-karte:has(input:checked) { border-color: var(--teal); background: var(--teal-hauch); }

.checkbox-zeile {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .95rem;
}
.checkbox-zeile input { margin-top: .3rem; accent-color: var(--teal); }

.form-meldung {
  display: none;
  margin-top: 1.1rem;
  padding: .9rem 1.15rem;
  border-radius: var(--r-s);
  background: var(--teal-hauch);
  border: 1.5px solid #b9dcd2;
  color: var(--teal-tief);
  font-weight: 700;
  font-size: .95rem;
}
.form-meldung.ist-sichtbar { display: block; }

/* 5.8 Tabellen */
.tabelle-rollbar {
  overflow-x: auto;
  border-radius: var(--r-l);
  border: 1px solid var(--linie);
  background: var(--papier);
  -webkit-overflow-scrolling: touch;
}
.tabelle { min-width: 620px; font-size: .98rem; }
.tabelle th,
.tabelle td { padding: .95rem 1.15rem; text-align: left; border-bottom: 1px solid var(--linie); }
.tabelle thead th {
  background: var(--teal-hauch);
  font-family: var(--schrift-text);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-tief);
  white-space: nowrap;
}
.tabelle tbody tr:last-child td { border-bottom: none; }
.tabelle tbody tr:nth-child(even) { background: rgba(227, 241, 237, .35); }
.tabelle tbody th { font-weight: 800; }
.tabelle .zahl { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }

/* 5.9 Zitat */
.zitat {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--r-l);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: var(--schatten-s);
  position: relative;
}
.zitat::before {
  content: "\201E";
  font-family: var(--schrift-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--rosa-hell);
  height: 1.5rem;
  margin-top: -.4rem;
}
.zitat p { font-family: var(--schrift-display); font-size: 1.16rem; line-height: 1.45; margin: 0; }
.zitat footer { margin-top: auto; font-size: .88rem; color: var(--tinte-weich); font-weight: 700; }
.zitat .platzhalter-marke {
  display: inline-block;
  margin-top: .5rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8a4c4a;
  background: var(--rosa-hauch);
  border: 1.5px dashed var(--rosa);
  border-radius: var(--r-voll);
  padding: .25rem .7rem;
}

/* 5.10 Karte / Maps */
.karte-einbettung {
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--linie);
  box-shadow: var(--schatten-s);
  background: var(--creme-tief);
}
.karte-einbettung iframe { width: 100%; height: 340px; border: 0; }

/* 5.11 Kontakt-Zeilen */
.kontakt-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.kontakt-liste li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.5; }
.kontakt-liste .icon { flex: none; width: 1.35rem; text-align: center; opacity: .85; }
.kontakt-liste a { font-weight: 700; text-decoration: none; }
.kontakt-liste a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   6. Prototyp-Banner
   -------------------------------------------------------------------------- */
.proto-banner {
  background: var(--tinte);
  color: #e9e2d4;
  font-size: .84rem;
  line-height: 1.45;
  padding: .55rem 0;
}
.proto-banner__inner {
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--luft);
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.proto-banner__zu {
  flex: none;
  background: none;
  border: 1px solid rgba(233, 226, 212, .55);
  color: inherit;
  border-radius: var(--r-voll);
  width: 44px;
  height: 44px;
  line-height: 1;
  cursor: pointer;
  font-size: 1rem;
}
.proto-banner__zu:hover { background: rgba(255, 255, 255, .12); }
.proto-banner[hidden] { display: none; }

/* --------------------------------------------------------------------------
   7. Kopfbereich / Navigation
   -------------------------------------------------------------------------- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, .93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linie);
}
.kopf__inner {
  max-width: var(--breite);
  margin-inline: auto;
  padding: .7rem var(--luft);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.marke {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--tinte);
  flex: none;
}
.marke img { width: 46px; height: 46px; border-radius: var(--r-voll); }
.marke__text { display: flex; flex-direction: column; line-height: 1.1; }
.marke__name { font-family: var(--schrift-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.01em; }
.marke__claim { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dunkel); font-weight: 800; }

.nav { margin-left: auto; }
.nav__liste {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .72rem;
  border-radius: var(--r-voll);
  font-size: .955rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--tinte);
  white-space: nowrap;
  transition: background-color .16s ease-out, color .16s ease-out;
}
.nav__link:hover { background: var(--teal-hauch); color: var(--teal-tief); }
.nav__link[aria-current="page"] { color: var(--teal-dunkel); background: var(--teal-hauch); }

.nav__gruppe { position: relative; }
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle::after {
  content: "";
  width: .42rem; height: .42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease-out;
}
.nav__gruppe[data-offen="true"] .nav__toggle::after { transform: rotate(-135deg) translateY(-2px); }

.nav__unterliste {
  list-style: none;
  margin: 0;
  padding: .5rem;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 15rem;
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--r-m);
  box-shadow: var(--schatten-l);
  display: none;
}
.nav__gruppe[data-offen="true"] .nav__unterliste { display: block; }
.nav__unterliste a {
  display: block;
  padding: .6rem .8rem;
  border-radius: var(--r-s);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--tinte);
}
.nav__unterliste a:hover { background: var(--teal-hauch); color: var(--teal-tief); }

.nav__cta { margin-left: .4rem; }
.nav__login { font-weight: 700; font-size: .9rem; }

.burger {
  display: none;
  margin-left: auto;
  width: 2.9rem;
  height: 2.9rem;
  border: 1.5px solid var(--linie);
  border-radius: var(--r-voll);
  background: var(--papier);
  cursor: pointer;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 50%;
  width: 1.15rem;
  height: 2px;
  background: var(--tinte);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .2s ease, opacity .2s ease;
}
.burger span { top: 50%; margin-top: -1px; }
.burger span::before,
.burger span::after { content: ""; left: 0; transform: none; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
/* Der Hero verkauft in fünf Sekunden: grosses warmes Foto, ein Claim,
   ein primärer Button, Verfügbarkeit sichtbar ohne Scrollen. */
.hero {
  position: relative;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(1100px 520px at 82% 22%, var(--rosa-hauch) 0%, transparent 62%),
    var(--creme);
}

.hero__medien {
  position: relative;
  height: clamp(250px, 26vw, 372px);
}
.hero__medien > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border-bottom-left-radius: var(--r-xl);
  border-bottom-right-radius: var(--r-xl);
}

.hero__stapel {
  position: absolute;
  right: clamp(1rem, 6vw, 5rem);
  bottom: clamp(-4rem, -5vw, -2.5rem);
  width: clamp(140px, 17vw, 220px);
  z-index: 3;
}
.hero__stapel .foto {
  border: 7px solid var(--creme);
  box-shadow: var(--schatten-l);
}
.hero__purzelbaum {
  position: absolute;
  left: -1.75rem;
  bottom: -1.5rem;
  z-index: 4;
  width: clamp(66px, 7vw, 92px);
  height: auto;
  border-radius: 50%;
  background: #fffdf9;
  padding: .4rem;
  box-shadow: var(--schatten-m);
  transform: rotate(-7deg);
}

.hero__inhalt { position: relative; z-index: 2; }
.hero__karte {
  max-width: 50rem;
  margin-top: clamp(-9rem, -9vw, -2.5rem);
  background: var(--creme);
  border-radius: var(--r-l);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--schatten-l);
}
.hero__karte h1 {
  font-size: clamp(2.05rem, 4vw, 3.15rem);
  margin-bottom: .3em;
}
.hero__subline {
  font-family: var(--schrift-display);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  font-style: italic;
  color: var(--teal-dunkel);
  margin: 0 0 1.1rem;
}
.hero__karte .lede { max-width: 52ch; font-size: clamp(1.02rem, 1.3vw, 1.14rem); }
.hero__sticker { margin: 0 0 1.35rem; gap: .5rem; }
.hero__aktionen { margin-top: 1.1rem; }

/* Trust-Strip direkt unter dem Hero */
.trust {
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}
.trust__punkt {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding-top: .9rem;
  border-top: 3px solid var(--rosa-hell);
}
.trust__label {
  font-family: var(--schrift-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.2;
  color: var(--tinte);
}
.trust__zeile { font-size: .85rem; line-height: 1.45; color: var(--tinte-weich); }
.trust__fazit {
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0;
  max-width: var(--lesebreite);
  text-align: center;
  font-size: 1rem;
  color: var(--tinte-weich);
  padding-top: 1.4rem;
  border-top: 1px dashed var(--linie);
}

/* Seiten-Hero (alle Unterseiten) */
.seitenkopf {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 4.75rem);
  background:
    radial-gradient(760px 380px at 88% 0%, var(--rosa-hauch) 0%, transparent 62%),
    var(--creme-tief);
}
.seitenkopf__inhalt { max-width: 56ch; }
.seitenkopf h1 { margin-bottom: .35em; }

.brotkrumen { font-size: .85rem; color: var(--tinte-weich); margin-bottom: 1.1rem; }
.brotkrumen a { color: var(--tinte-weich); text-decoration: none; font-weight: 700; }
.brotkrumen a:hover { color: var(--teal-dunkel); text-decoration: underline; }
.brotkrumen span { opacity: .5; margin-inline: .4rem; }

/* --------------------------------------------------------------------------
   9. Wiederkehrende Bereiche
   -------------------------------------------------------------------------- */

/* Der Tag bei uns — abwechselnde Erzähl-Blöcke */
.tag-block + .tag-block { margin-top: clamp(3rem, 6vw, 5.5rem); }
.tag-block__zahl {
  font-family: var(--schrift-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rosa-dunkel);
  display: block;
  margin-bottom: .8rem;
}

/* Standort-Karten */
.haus-karte .card__body { gap: .9rem; }
.haus-karte__adresse { font-weight: 700; color: var(--tinte); }

/* Team-Raster */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.team-karte { text-align: center; }
.team-karte .card__media { aspect-ratio: 2 / 3; }
.team-karte .card__body { padding: .9rem .8rem 1.1rem; gap: .2rem; }
.team-karte__name { font-family: var(--schrift-display); font-weight: 600; font-size: 1.05rem; }
.team-karte__rolle { font-size: .8rem; color: var(--tinte-weich); line-height: 1.35; }
.team-karte__ort { font-size: .72rem; color: var(--teal-dunkel); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.team-gruppe + .team-gruppe { margin-top: clamp(2.5rem, 5vw, 4rem); }
.team-gruppe__kopf {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
  padding-bottom: .8rem;
  border-bottom: 1px dashed var(--linie);
}
.team-gruppe__kopf h2 { margin: 0; }
.team-gruppe__anzahl { font-size: .88rem; color: var(--tinte-weich); font-weight: 700; }

/* Fakten-Band */
.fakten {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.fakt__zahl {
  font-family: var(--schrift-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  color: #fffdf9;
  display: block;
  margin-bottom: .45rem;
}
.fakt__text { font-size: .95rem; color: #cfe3dd; line-height: 1.45; }

/* Öffnungszeiten */
.zeiten-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.zeiten-liste li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: .55rem;
  border-bottom: 1px dashed var(--linie);
}
.zeiten-liste li:last-child { border-bottom: 0; padding-bottom: 0; }
.zeiten-liste dt, .zeiten-liste .tag { font-weight: 800; }
.zeiten-liste .zeit { font-variant-numeric: tabular-nums; color: var(--tinte-weich); }

/* CTA-Abschluss */
.cta-band { position: relative; }
.cta-band__inner { text-align: center; max-width: 52ch; margin-inline: auto; }

/* --------------------------------------------------------------------------
   10. Seitenspezifisch
   -------------------------------------------------------------------------- */

/* Kostenrechner */
.rechner {
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--r-l);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--schatten-m);
  display: grid;
  gap: 1.5rem;
}
.rechner__zeile { display: grid; gap: .7rem; }
.rechner__label { font-weight: 800; font-size: .95rem; }
.rechner__ergebnis {
  background: var(--teal-dunkel);
  color: #fffdf9;
  border-radius: var(--r-m);
  padding: 1.4rem 1.6rem;
  display: grid;
  gap: .35rem;
}
.rechner__summe {
  font-family: var(--schrift-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.05;
  font-weight: 600;
}
.rechner__nebensumme { color: #cfe3dd; font-weight: 700; }
.rechner__fussnote { font-size: .8rem; color: #b9d3cc; margin-top: .4rem; line-height: 1.5; }

/* Vertragsseite — Abschnittskarten */
.vertrag-nav {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--r-m);
  padding: 1.25rem;
}
.vertrag-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: v; display: grid; gap: .45rem; }
.vertrag-nav li { counter-increment: v; }
.vertrag-nav a {
  display: flex;
  gap: .6rem;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--tinte);
  padding: .4rem .5rem;
  border-radius: var(--r-s);
}
.vertrag-nav a::before { content: counter(v) "."; color: var(--rosa); font-family: var(--schrift-display); }
.vertrag-nav a:hover { background: var(--teal-hauch); color: var(--teal-tief); }

.vertrag-layout { display: grid; grid-template-columns: 15.5rem 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.vertrag-abschnitt { scroll-margin-top: 6.5rem; }
.vertrag-abschnitt + .vertrag-abschnitt { margin-top: 1.5rem; }

/* Schnuppertag — zweistufiges Formular */
.schritt-marke {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-dunkel);
  margin-bottom: 1rem;
}
.schritt-marke__kreis {
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  background: var(--teal-dunkel);
  color: #fffdf9;
  display: grid;
  place-items: center;
  font-size: .85rem;
  letter-spacing: 0;
}
.versprechen {
  background: var(--teal-hauch);
  border: 1.5px dashed var(--teal);
  border-radius: var(--r-m);
  padding: 1.25rem 1.4rem;
  display: grid;
  gap: .5rem;
}
.versprechen__titel { font-family: var(--schrift-display); font-size: 1.15rem; font-weight: 600; color: var(--teal-tief); }

/* Jobs */
.job-karte .card__body { gap: .8rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Login-Stub */
.login-box {
  max-width: 30rem;
  margin-inline: auto;
  text-align: center;
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: var(--r-l);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--schatten-m);
}
.login-box .sticker { margin-bottom: 1.25rem; }

/* --------------------------------------------------------------------------
   11. Fussbereich
   -------------------------------------------------------------------------- */
.fuss {
  background: var(--teal-tief);
  color: #cfe3dd;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .95rem;
}
.fuss a { color: #e4f2ed; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss h3 {
  color: #fffdf9;
  font-size: .82rem;
  font-family: var(--schrift-text);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.fuss__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
}
.fuss__marke { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.fuss__marke img { width: 52px; height: 52px; border-radius: var(--r-voll); background: #fffdf9; padding: 4px; }
.fuss__marke-name { font-family: var(--schrift-display); font-size: 1.25rem; color: #fffdf9; font-weight: 600; }
.fuss__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.fuss .kontakt-liste a { color: #e4f2ed; }
.fuss .zeiten-liste li { border-bottom-color: rgba(207, 227, 221, .25); }
.fuss .zeiten-liste .zeit { color: #cfe3dd; }
.fuss__anruf { display: grid; gap: .6rem; margin-top: 1.1rem; }
.fuss__anruf .btn { flex-direction: column; gap: .1rem; padding: .6rem 1rem; line-height: 1.35; }
.fuss__social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.fuss__social a {
  width: 44px; height: 44px;
  border-radius: var(--r-voll);
  border: 1.5px solid rgba(207, 227, 221, .35);
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.fuss__social a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.fuss__unten {
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(207, 227, 221, .22);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: #a9c8c1;
}
.fuss__rechtslinks { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .fuss__grid { grid-template-columns: 1fr 1fr; }
  .vertrag-layout { grid-template-columns: 1fr; }
  .vertrag-nav { position: static; }
}

@media (max-width: 1100px) {
  .burger { display: block; }

  /* Das Panel hängt unter der Kopfleiste. Bewusst absolut statt fixed: die
     Kopfleiste hat backdrop-filter und wäre sonst der Bezugsrahmen. */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: var(--creme);
    padding: 1.25rem var(--luft) 2rem;
    max-height: calc(100dvh - 5rem);
    overflow-y: auto;
    border-bottom-left-radius: var(--r-xl);
    border-bottom-right-radius: var(--r-xl);
    border-bottom: 1px solid var(--linie);
    box-shadow: var(--schatten-l);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-.6rem);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav[data-offen="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__liste { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav__link { padding: .85rem .9rem; font-size: 1.06rem; border-radius: var(--r-m); }
  .nav__toggle { width: 100%; justify-content: space-between; }
  .nav__unterliste {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    background: var(--creme-tief);
    margin: .3rem 0 .5rem;
    padding: .4rem;
    border-radius: var(--r-m);
  }
  .nav__gruppe[data-offen="true"] .nav__unterliste { display: block; }
  .nav__cta { margin: .8rem 0 0; }
  .nav__cta .btn { width: 100%; }

  .split,
  .hero__grid { grid-template-columns: 1fr; }
  .split--schmal-links { grid-template-columns: 1fr; }
  .split--medien-rechts > :first-child { order: 0; }
  .split > .foto { max-width: 30rem; margin-inline: auto; }
  .hero__medien { order: -1; }
  .hero__lede { max-width: none; }
  .hero h1 { max-width: none; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .fakten { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }
  .feld-grid--2 { grid-template-columns: 1fr; }
  .fuss__grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); }
  .fotostapel { padding-bottom: 2.5rem; padding-right: 1.5rem; }
  .karte-einbettung iframe { height: 260px; }
  .marke__claim { display: none; }

  /* Preistabelle wird auf kleinen Schirmen zu Karten — kein seitliches Scrollen */
  .tabelle-rollbar { overflow-x: visible; border: 0; background: none; border-radius: 0; }
  .tabelle,
  .tabelle tbody,
  .tabelle tr,
  .tabelle td,
  .tabelle th { display: block; min-width: 0; }
  .tabelle thead { display: none; }
  .tabelle tbody tr {
    background: var(--papier) !important;
    border: 1px solid var(--linie);
    border-radius: var(--r-m);
    padding: .35rem 0;
    margin-bottom: .85rem;
    box-shadow: var(--schatten-s);
  }
  .tabelle tbody th {
    font-family: var(--schrift-display);
    font-size: 1.15rem;
    padding: .75rem 1.1rem .35rem;
    border-bottom: 1px dashed var(--linie);
  }
  .tabelle tbody td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .5rem 1.1rem;
    border-bottom: 0;
  }
  .tabelle tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--tinte-weich);
    font-size: .88rem;
  }
}

@media (max-width: 420px) {
  .grid--4 { grid-template-columns: 1fr; }
  .fakten { grid-template-columns: 1fr; text-align: left; }
  .btn-reihe .btn { width: 100%; }
  .marke img { width: 40px; height: 40px; }
  .marke__name { font-size: 1.08rem; }
}


/* --------------------------------------------------------------------------
   13. Kleinteile aus dem Verkaufstext
   -------------------------------------------------------------------------- */
.card__body--reihe { flex-direction: row; align-items: flex-start; gap: 1.25rem; }
.card__title--klein { font-size: 1.1rem; }
.purzelbaum-siegel { flex: none; border-radius: 50%; }

.fuss__titel,
.vertrag-nav__titel {
  font-family: var(--schrift-text);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}
.fuss__titel { color: #fffdf9; }
.vertrag-nav__titel { color: var(--teal-dunkel); margin-bottom: .8rem; }

.feldsatz {
  border: 1px solid var(--linie);
  border-radius: var(--r-m);
  padding: 1.25rem;
}
.feldsatz > legend { font-weight: 800; padding-inline: .5rem; }

/* Tablet ist kein breites Telefon: eigene Spaltenzahl statt gestreckter Mobilansicht. */
@media (max-width: 1179px) {
  .trust { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 721px) and (max-width: 1023px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 > *:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .hero__medien { height: clamp(230px, 54vw, 320px); }
  .hero__medien > img { border-bottom-left-radius: var(--r-l); border-bottom-right-radius: var(--r-l); }
  /* Auf dem Telefon bleibt der Foto-Stapel im Bild — sonst kollidiert er mit der Textkarte. */
  .hero__stapel { width: clamp(96px, 26vw, 130px); right: 1rem; bottom: 1rem; }
  .hero__stapel .foto { border-width: 5px; }
  .hero__purzelbaum { display: none; }
  .hero__karte { margin-top: -1.75rem; }
  .card__body--reihe { flex-direction: column; gap: .9rem; }
}
@media (max-width: 420px) {
  .trust { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   14. Touch-Ziele — jede eigenständige Verknüpfung mindestens 44px hoch
   (Ausnahme bleiben Links mitten im Fliesstext, WCAG 2.5.5)
   -------------------------------------------------------------------------- */
.marke { min-height: 44px; }

.fuss__liste a,
.vertrag-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.fuss__liste { gap: 0; }

.kontakt-liste a,
.brotkrumen a,
.fuss__rechtslinks a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}



/* --------------------------------------------------------------------------
   15. Nachtrag aus dem Review
   -------------------------------------------------------------------------- */

/* Auszufüllender Platzhalter — bewusst gestaltet, nicht wie ein Textfehler.
   Der Betreiber ersetzt den Inhalt, die Auszeichnung fällt beim Ersetzen weg. */
.token {
  display: inline-block;
  padding: .05em .5em;
  margin-inline: .1em;
  border: 1.5px dashed #8a4340;
  border-radius: var(--r-s);
  background: #fffdf9;
  color: #7d3a37;
  font-size: .92em;
  font-weight: 800;
  font-style: italic;
  letter-spacing: .01em;
  white-space: nowrap;
}

/* Porträt-Ersatz: Initialen auf weichem Teal, gleiche Kartengeometrie wie ein Foto. */
.initialen {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--teal-hauch) 0%, #d3e8e1 100%);
}
.initialen span {
  font-family: var(--schrift-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--teal-dunkel);
  letter-spacing: .02em;
}

/* Schlanke Prototyp-Leiste — kostet oben so wenig Höhe wie möglich. */
.proto-banner { padding: 0; font-size: .8rem; }
.proto-banner__zu { width: 44px; height: 44px; border-width: 0; font-size: 1.1rem; }

/* Hero enger gesetzt, damit CTA und Trust-Strip an die Falz rücken. */
.hero__karte {
  padding: clamp(1.25rem, 2.2vw, 1.6rem) clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.25rem, 2.2vw, 1.6rem);
}
.hero__karte h1 { margin-bottom: .22em; }
.hero__karte .lede { margin-bottom: 0; }
.hero__sticker { margin-bottom: 1.1rem; }
.hero__aktionen { margin-top: 1.1rem; }
.trust { margin-top: clamp(1.5rem, 2.5vw, 2rem); }


/* --------------------------------------------------------------------------
   16. Grosse Schirme — den Platz gestalten, nicht strecken
   -------------------------------------------------------------------------- */

/* Der Zeilenlauf bleibt lesbar, egal wie breit das Fenster ist. */
.wrap--schmal { max-width: var(--breite-schmal); }
.mitte-block { max-width: min(var(--lesebreite), 100%); }
.hero__karte .lede,
.seitenkopf .lede { max-width: var(--lesebreite); }

@media (min-width: 1600px) {
  :root { --breite: 1320px; }

  /* Das Hero-Foto wird zum gerahmten Bild statt zu einem randlosen Streifen. */
  .hero__medien {
    max-width: 1560px;
    margin-inline: auto;
    height: clamp(372px, 24vw, 460px);
  }
  .hero__medien > img { border-radius: var(--r-xl); }
  .hero__karte { max-width: 54rem; }

  /* Sektionsfarben laufen weiter über die volle Breite, der Inhalt bleibt gefasst. */
  .wrap--weit { max-width: 1520px; }
}

@media (min-width: 2200px) {
  :root { --breite: 1440px; }
  .hero__medien { max-width: 1760px; height: clamp(420px, 20vw, 520px); }
  .wrap--weit { max-width: 1700px; }
  body { font-size: 1.125rem; }
}


/* --------------------------------------------------------------------------
   17. Tablet-Feinschliff
   -------------------------------------------------------------------------- */

/* Gestapelte Split-Blöcke: der Text behält seine Lesebreite, statt über die
   ganze Tabletbreite zu laufen. */
@media (max-width: 1100px) {
  .split > *:not(.foto):not(.karte-einbettung):not(.formular):not(.team-grid):not(.rechner) {
    max-width: var(--lesebreite);
  }
  .split { justify-items: start; }
}

/* Preistabelle: zwischen 721 und 1023px kompakter setzen, damit sie ohne
   seitliches Scrollen in die Tabletbreite passt. */
@media (min-width: 721px) and (max-width: 1023px) {
  .tabelle { min-width: 0; font-size: .88rem; }
  .tabelle th,
  .tabelle td { padding: .7rem .6rem; }
  .tabelle thead th { font-size: .7rem; letter-spacing: .04em; white-space: normal; }
}

/* Kleine Hinweiszeilen bleiben ebenfalls lesbar breit. */
.mini.mitte { max-width: var(--lesebreite); margin-inline: auto; }

/* Auch Klein- und Hinweistexte halten die Lesebreite — sie fassen bei kleinerer
   Schrift sonst deutlich mehr Zeichen pro Zeile als der Fliesstext. */
.mini,
.klein,
.card__text,
.rechner__fussnote,
.hinweis { max-width: var(--lesebreite); }
.mini.mitte { margin-inline: auto; }
