/* ============================================================================
   ShäRi Design-System
   Farben: Petrol #028090 · Koralle #E8734A · Creme #FAF6F0 · Anthrazit #2D3436
   Schrift: Nunito (lokal, variable), Fließtext 18–20 px
   ============================================================================ */

/* ---- Schrift (selbst gehostet, kein CDN) ---------------------------------- */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin-var.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";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin-ext-var.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;
}

/* ---- Design-Token --------------------------------------------------------- */
:root {
  --petrol: #028090;          /* Primärfarbe, Vertrauen */
  --petrol-text: #026670;     /* dunkleres Petrol für Text/Links (Kontrast 6.2:1 auf Creme) */
  --petrol-tief: #01535c;
  --petrol-hauch: #e2f0f1;    /* sehr helles Petrol für Flächen */
  --koralle: #e8734a;         /* Akzent, nur große Elemente auf Creme */
  --koralle-tief: #c14e23;    /* CTA-Hintergrund (Kontrast 4.8:1 mit Weiß) */
  --koralle-dunkler: #a84116;
  --koralle-hauch: #fbe9e1;
  --creme: #faf6f0;
  --creme-tief: #f3ecdf;
  --weiss: #ffffff;
  --anthrazit: #2d3436;
  --anthrazit-sanft: #4a5457; /* Nebentexte, 7.5:1 auf Creme */
  --linie: #e5ddd0;

  --schrift: "Nunito", "Segoe UI", -apple-system, system-ui, sans-serif;

  /* Fließende Schriftgrößen (mobil → groß) */
  --text-s: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);        /* 16–17 */
  --text: clamp(1.125rem, 1.08rem + 0.25vw, 1.25rem);       /* 18–20 */
  --text-l: clamp(1.25rem, 1.18rem + 0.4vw, 1.5rem);        /* 20–24 */
  --h3: clamp(1.3rem, 1.2rem + 0.55vw, 1.625rem);           /* 21–26 */
  --h2: clamp(1.7rem, 1.5rem + 1.1vw, 2.375rem);            /* 27–38 */
  --h1: clamp(2.1rem, 1.75rem + 1.9vw, 3.25rem);            /* 34–52 */
  --kicker: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);

  --radius: 18px;
  --radius-s: 12px;
  --schatten: 0 2px 6px rgba(45, 52, 54, 0.06), 0 14px 34px rgba(45, 52, 54, 0.08);
  --schatten-hover: 0 4px 10px rgba(45, 52, 54, 0.08), 0 22px 48px rgba(45, 52, 54, 0.13);
  --uebergang: 220ms cubic-bezier(0.33, 1, 0.68, 1);
  --breite: 72rem;
  --breite-text: 46rem;
}

/* ---- Basis ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: var(--text);
  line-height: 1.65;
  color: var(--anthrazit);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  line-height: 1.18;
  font-weight: 800;
  color: var(--anthrazit);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--h1); letter-spacing: -0.015em; }
h2 { font-size: var(--h2); letter-spacing: -0.01em; }
h3 { font-size: var(--h3); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--petrol-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--petrol) 40%, transparent);
  transition: color var(--uebergang), text-decoration-color var(--uebergang);
}
a:hover { color: var(--petrol-tief); text-decoration-color: currentColor; }

ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
li { margin-bottom: 0.45em; }

img { max-width: 100%; height: auto; display: block; }

strong { font-weight: 700; }

::selection { background: var(--petrol); color: var(--weiss); }

/* Sichtbarer Fokus für Tastatur-Nutzung */
:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip-Link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  z-index: 200;
  background: var(--anthrazit);
  color: var(--weiss);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
}
.skip-link:focus { left: 0.75rem; }

/* ---- Layout-Helfer ---------------------------------------------------------- */
.huelle {
  width: min(100% - 2.5rem, var(--breite));
  margin-inline: auto;
}
.huelle-schmal { width: min(100% - 2.5rem, var(--breite-text)); margin-inline: auto; }

.sektion { padding-block: clamp(3.5rem, 6vw, 6.5rem); }
.sektion-weiss { background: var(--weiss); }
.sektion-petrol {
  background: linear-gradient(160deg, var(--petrol) 0%, var(--petrol-tief) 100%);
  color: var(--weiss);
}
.sektion-petrol h2, .sektion-petrol h3 { color: var(--weiss); }
.sektion-petrol a { color: var(--weiss); text-decoration-color: rgba(255,255,255,0.5); }
.sektion-creme-tief { background: var(--creme-tief); }

.zentriert { text-align: center; }
.einleitung {
  font-size: var(--text-l);
  color: var(--anthrazit-sanft);
  max-width: var(--breite-text);
}
.zentriert .einleitung { margin-inline: auto; }

.kicker {
  display: inline-block;
  font-size: var(--kicker);
  font-weight: 700;
  color: var(--petrol-text);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
/* Zentrierte Kicker (z. B. App-Sektion) wirklich mittig setzen */
.kicker.zentriert { display: block; text-align: center; }

/* Wellen-Trenner (Förde-Motiv) */
.welle { display: block; width: 100%; height: clamp(2.5rem, 6vw, 5rem); }

/* ---- Buttons (min. 44 px, Wörter statt Icons) ------------------------------- */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5ch;
  min-height: 52px;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: var(--text);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--uebergang), box-shadow var(--uebergang),
    background-color var(--uebergang), color var(--uebergang), border-color var(--uebergang);
}
.knopf:hover { transform: translateY(-2px); box-shadow: var(--schatten-hover); }
.knopf:active { transform: translateY(0); }

.knopf-koralle { background: var(--koralle-tief); color: var(--weiss); box-shadow: 0 10px 24px rgba(193, 78, 35, 0.28); }
.knopf-koralle:hover { background: var(--koralle-dunkler); color: var(--weiss); }

.knopf-petrol { background: var(--petrol); color: var(--weiss); box-shadow: 0 10px 24px rgba(2, 128, 144, 0.24); }
.knopf-petrol:hover { background: var(--petrol-tief); color: var(--weiss); }

.knopf-rahmen { background: transparent; color: var(--petrol-text); border-color: var(--petrol); }
.knopf-rahmen:hover { background: var(--petrol-hauch); color: var(--petrol-tief); }

.knopf-weiss { background: var(--weiss); color: var(--petrol-text); }
.knopf-weiss:hover { color: var(--petrol-tief); }
/* Auch auf Petrol-Grund dunkel bleiben (schlägt ".sektion-petrol a") */
.sektion-petrol .knopf-weiss { color: var(--petrol-text); }
.sektion-petrol .knopf-weiss:hover { color: var(--petrol-tief); }

.knopf-gross { min-height: 60px; padding: 1rem 2.4rem; font-size: var(--text-l); }

/* ---- Kopfzeile --------------------------------------------------------------- */
.kopf {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--creme) 86%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--uebergang), box-shadow var(--uebergang);
}
.kopf.gescrollt { border-color: var(--linie); box-shadow: 0 6px 24px rgba(45, 52, 54, 0.07); }

.kopf-innen {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 5rem;
}
.kopf-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.kopf-logo img { height: 2.6rem; width: auto; }

.kopf-nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.kopf-nav a:not(.knopf) {
  font-weight: 700;
  font-size: var(--text-s);
  color: var(--anthrazit);
  text-decoration: none;
  padding: 0.6rem 0.15rem;
  position: relative;
}
.kopf-nav a:not(.knopf)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0.35rem;
  height: 3px;
  border-radius: 2px;
  background: var(--koralle);
  transition: right var(--uebergang);
}
.kopf-nav a:not(.knopf):hover::after,
.kopf-nav a[aria-current="page"]::after { right: 0; }

.kopf-telefon { white-space: nowrap; }
.kopf-nav .knopf { min-height: 46px; padding: 0.55rem 1.4rem; font-size: var(--text-s); }

.kopf-menue-knopf {
  display: none;
  margin-left: auto;
  min-height: 48px;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 2px solid var(--anthrazit);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 62rem) {
  .kopf-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: var(--creme);
    border-bottom: 1px solid var(--linie);
    box-shadow: 0 24px 40px rgba(45, 52, 54, 0.12);
    padding: 1rem 1.25rem 1.5rem;
  }
  .kopf-nav.offen { display: flex; }
  .kopf-nav a:not(.knopf) { padding: 0.85rem 0.5rem; font-size: var(--text); }
  .kopf-nav .knopf { margin-top: 0.75rem; }
  .kopf-menue-knopf { display: inline-flex; align-items: center; }
}

/* Platz unter der fixierten Kopfzeile */
main { padding-top: 5rem; }

/* Fixierter Anruf-Button unten (nur mobil) */
.mobil-anruf {
  display: none;
  position: fixed;
  inset-inline: 0.75rem;
  bottom: 0.75rem;
  z-index: 90;
}
@media (max-width: 48rem) {
  .mobil-anruf { display: block; }
  .mobil-anruf a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border-radius: 999px;
    background: var(--petrol);
    color: var(--weiss);
    font-weight: 800;
    font-size: var(--text);
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(1, 83, 92, 0.35);
  }
  body { padding-bottom: 5.25rem; }
  footer { padding-bottom: 3.5rem; }
}

/* ---- Hero --------------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 6vw, 6rem) clamp(3.5rem, 7vw, 7rem); }
.hero-innen {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (min-width: 56rem) {
  .hero-innen { grid-template-columns: 1.05fr 0.95fr; }
}
.hero h1 { margin-bottom: 0.5em; }
.hero-subline { font-size: var(--text-l); max-width: 36em; }
.hero-ehrlich {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--petrol-hauch);
  border-left: 5px solid var(--petrol);
  border-radius: var(--radius-s);
  padding: 1rem 1.25rem;
  font-size: var(--text-s);
  margin: 1.5rem 0 2rem;
  max-width: 38em;
}
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-textlink { flex-basis: 100%; font-weight: 700; }

/* Hero-Badge: das kostenlose Erstgespräch als sichtbares Sofort-Angebot */
.hero-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  background: var(--koralle-hauch);
  color: var(--koralle-dunkler);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-weight: 700;
  font-size: var(--text-s);
  margin: 0 0 1.5rem;
}
.hero-badge::before { content: "✓"; font-weight: 800; }

/* Foto-Kachel der Gründer (Hochformat-Porträt) */
.story-kachel {
  position: relative;
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 1rem 1rem 1.5rem;
  transform: rotate(1.6deg);
  transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--uebergang);
  max-width: 28rem;
  width: 100%;
  justify-self: center;
}
.story-kachel:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--schatten-hover); }
.story-kachel img { border-radius: calc(var(--radius) - 6px); width: 100%; }
.story-kachel figcaption { padding: 1.1rem 0.5rem 0; font-size: var(--text-s); }
.story-kachel figcaption p { font-weight: 700; margin-bottom: 0.3rem; }

/* Im Hero darf das Porträt fast so hoch werden wie der Textblock daneben */
.hero-bild { max-width: 34rem; }
@media (max-width: 56rem) {
  /* Auf dem Handy nicht bildschirmfüllend hoch: sanft beschneiden */
  .hero-bild { max-width: 24rem; }
  .hero-bild img { aspect-ratio: 5 / 5.4; object-fit: cover; object-position: 50% 18%; }
}

/* Schlichte Foto-Kachel für Themenfotos (weißer Rahmen, runde Ecken) */
.foto-kachel {
  margin: 0;
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 0.9rem;
}
.foto-kachel img { border-radius: calc(var(--radius) - 6px); width: 100%; }

/* Seitenkopf mit Text links und Themenfoto rechts */
.seitenkopf-raster {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.seitenkopf-raster .foto-kachel { max-width: 22rem; width: 100%; justify-self: center; }
@media (min-width: 56rem) {
  .seitenkopf-raster { grid-template-columns: 1.2fr 0.8fr; }
  .seitenkopf-raster .foto-kachel { max-width: 24rem; }
}

/* ---- Karten -------------------------------------------------------------------- */
.karten-raster {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  margin-top: 2.5rem;
}

/* 5 Leistungskarten ohne unschöne Lücken: Desktop 3+2 zentriert, Tablet 2+2+1 */
@media (min-width: 42rem) and (max-width: 61.99rem) {
  .karten-raster-5 { grid-template-columns: 1fr 1fr; }
  .karten-raster-5 > :last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, calc(50% - 0.75rem));
  }
}
@media (min-width: 62rem) {
  .karten-raster-5 { grid-template-columns: repeat(6, 1fr); }
  .karten-raster-5 > * { grid-column: span 2; }
  .karten-raster-5 > :nth-child(4) { grid-column: 2 / span 2; }
}
.karte {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 1.75rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform var(--uebergang), box-shadow var(--uebergang);
}
.karte:hover { transform: translateY(-5px); box-shadow: var(--schatten-hover); }
.karte h3 { margin-bottom: 0.15em; }
.karte p { color: var(--anthrazit-sanft); font-size: var(--text-s); flex-grow: 1; }
.karte .karten-link { font-weight: 700; font-size: var(--text-s); }
.karten-symbol {
  width: 3.4rem; height: 3.4rem;
  border-radius: 14px;
  background: var(--petrol-hauch);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}
.karten-symbol svg { width: 2rem; height: 2rem; }

.abgrenzung {
  margin-top: 2.25rem;
  background: var(--creme-tief);
  border-radius: var(--radius-s);
  padding: 1.1rem 1.4rem;
  font-size: var(--text-s);
  color: var(--anthrazit-sanft);
  max-width: 52em;
}

/* ---- Schritte (1-2-3) ------------------------------------------------------------ */
.schritte-raster {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: 2.5rem;
  counter-reset: schritt;
}
.schritt {
  position: relative;
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 2rem 1.6rem 1.6rem;
  counter-increment: schritt;
}
.schritt::before {
  content: counter(schritt);
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--koralle-tief);
  color: var(--weiss);
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px rgba(193, 78, 35, 0.3);
}
.schritt h3 { font-size: var(--text-l); }
.schritt p { color: var(--anthrazit-sanft); font-size: var(--text-s); }

/* ---- Qualitäts-Sektion ------------------------------------------------------------ */
.qualitaet-liste {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 1rem;
  max-width: var(--breite-text);
  margin-inline: auto;
}
.qualitaet-liste li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-s);
  padding: 1.2rem 1.4rem;
  margin: 0;
}
.qualitaet-haken {
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--weiss);
  color: var(--petrol-tief);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 800;
}
.qualitaet-liste h3 { font-size: var(--text); margin-bottom: 0.2em; }
.qualitaet-liste p { font-size: var(--text-s); opacity: 0.92; margin: 0; }
.qualitaet-zusatz {
  margin: 2rem auto 0;
  max-width: var(--breite-text);
  text-align: center;
  font-size: var(--text-s);
  opacity: 0.92;
}

/* ---- Geld-Sektion / Rechner --------------------------------------------------------- */
.geld-raster { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 56rem) { .geld-raster { grid-template-columns: 1fr 1fr; } }

/* Themenfoto unter dem Text der Geld-Sektion */
.geld-bild { margin-top: 2rem; max-width: 29rem; }
.geld-bild img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }

.rechner {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 2rem 1.75rem;
}
.rechner-frage { font-weight: 800; font-size: var(--text-l); display: block; margin-bottom: 1rem; }
.rechner-optionen { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.rechner-optionen label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 52px;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--petrol);
  color: var(--petrol-text);
  font-weight: 800;
  cursor: pointer;
  transition: background-color var(--uebergang), color var(--uebergang), transform var(--uebergang);
}
.rechner-optionen label:hover { transform: translateY(-2px); }
.rechner-optionen input { position: absolute; opacity: 0; pointer-events: none; }
.rechner-optionen input:checked + span, .rechner-optionen label:has(input:checked) {
  background: var(--petrol);
  color: var(--weiss);
}
.rechner-optionen label:has(input:focus-visible) { outline: 3px solid var(--petrol); outline-offset: 3px; }
.rechner-ergebnis {
  margin-top: 1.5rem;
  border-radius: var(--radius-s);
  background: var(--koralle-hauch);
  border-left: 5px solid var(--koralle);
  padding: 1.25rem 1.4rem;
}
.rechner-ergebnis strong { font-size: var(--text-l); }
.rechner-ergebnis[hidden] { display: none; }
.rechner-zusatz, .rechner-hinweis { font-size: var(--text-s); color: var(--anthrazit-sanft); margin-top: 1rem; }
.rechner-stunden { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--koralle-tief); line-height: 1.1; display: block; }

/* ---- FAQ (Aufklapp-Elemente) ---------------------------------------------------------- */
.faq-liste { max-width: var(--breite-text); margin: 2.5rem auto 0; display: grid; gap: 0.9rem; }
.faq-liste details {
  background: var(--weiss);
  border-radius: var(--radius-s);
  box-shadow: var(--schatten);
  overflow: clip;
}
.faq-liste summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  font-weight: 800;
  font-size: var(--text);
  min-height: 44px;
  transition: color var(--uebergang);
}
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary:hover { color: var(--petrol-text); }
.faq-plus {
  flex-shrink: 0;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--petrol-hauch);
  color: var(--petrol-text);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 300ms cubic-bezier(0.33, 1, 0.68, 1), background-color var(--uebergang);
}
.faq-liste details[open] .faq-plus { transform: rotate(45deg); background: var(--petrol); color: var(--weiss); }
.faq-antwort { padding: 0 1.5rem 1.4rem; color: var(--anthrazit-sanft); }

/* ---- Warteliste / Formular -------------------------------------------------------------- */
.warteliste-wege {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 2.25rem 0;
}
.weg-knopf {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--weiss);
  border: 2px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.3rem;
  font: inherit;
  cursor: pointer;
  transition: border-color var(--uebergang), transform var(--uebergang), box-shadow var(--uebergang);
}
.weg-knopf:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: var(--petrol); }
.weg-knopf[aria-pressed="true"] {
  border-color: var(--petrol);
  background: var(--petrol-hauch);
  box-shadow: inset 0 0 0 1px var(--petrol);
}
.weg-knopf strong { display: block; font-size: var(--text-l); margin-bottom: 0.2rem; }
.weg-knopf span { color: var(--anthrazit-sanft); font-size: var(--text-s); }

.formular {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 38rem;
  margin-inline: auto;
}
.formular fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
.formular legend, .feld-label {
  font-weight: 800;
  display: block;
  margin-bottom: 0.4rem;
  padding: 0;
}
.feld { margin-bottom: 1.25rem; }
.feld input[type="email"], .feld input[type="tel"], .feld input[type="text"] {
  width: 100%;
  min-height: 56px;
  padding: 0.7rem 1rem;
  font: inherit;
  border: 2px solid var(--linie);
  border-radius: var(--radius-s);
  background: var(--creme);
  transition: border-color var(--uebergang);
}
.feld input:focus { border-color: var(--petrol); outline: none; }
.feld-hinweis { font-size: var(--text-s); color: var(--anthrazit-sanft); margin-top: 0.35rem; }

.wahl-reihe { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.wahl-reihe label {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.45rem 1.1rem;
  border: 2px solid var(--linie);
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--uebergang), background-color var(--uebergang), color var(--uebergang);
}
.wahl-reihe label:hover { border-color: var(--petrol); }
.wahl-reihe label:has(input:checked) { background: var(--petrol); border-color: var(--petrol); color: var(--weiss); }
.wahl-reihe label:has(input:focus-visible) { outline: 3px solid var(--petrol); outline-offset: 3px; }
.wahl-reihe input { position: absolute; opacity: 0; pointer-events: none; }

.haken-feld { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--text-s); }
.haken-feld input {
  width: 1.5rem; height: 1.5rem;
  margin-top: 0.15rem;
  accent-color: var(--petrol);
  flex-shrink: 0;
}

.formular .knopf { width: 100%; margin-top: 0.5rem; }
.lieber-sprechen { text-align: center; margin-top: 1.5rem; font-weight: 700; }

.bestaetigung {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
}
.bestaetigung-herz {
  width: 4rem; height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--koralle-hauch);
  display: grid;
  place-items: center;
}
.teilen-block { margin-top: 2rem; border-top: 1px solid var(--linie); padding-top: 1.75rem; }

/* ---- Inhaltsseiten ------------------------------------------------------------------------ */
.seitenkopf { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.seitenkopf .einleitung { margin-top: 0.5rem; }

.leistungs-liste {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
}
/* 2 Spalten auf Tablet, 3 auf Desktop – einzelne Rest-Kacheln laufen über die volle Breite */
@media (min-width: 42rem) {
  .leistungs-liste { grid-template-columns: 1fr 1fr; }
  .leistungs-liste li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 62rem) {
  .leistungs-liste { grid-template-columns: repeat(3, 1fr); }
  .leistungs-liste li:last-child:nth-child(odd) { grid-column: auto; }
  .leistungs-liste li:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
}
.leistungs-liste li {
  background: var(--weiss);
  border-radius: var(--radius-s);
  box-shadow: var(--schatten);
  padding: 1.3rem 1.4rem;
  margin: 0;
}
.leistungs-liste strong { display: block; margin-bottom: 0.15rem; }
.leistungs-liste span { color: var(--anthrazit-sanft); font-size: var(--text-s); }

.merk-liste { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.merk-liste li { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0; }
.merk-liste .haken { color: var(--petrol-text); font-weight: 800; flex-shrink: 0; }

.duo-raster { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .duo-raster { grid-template-columns: 1fr 1fr; } }

/* 3 Kästen ohne Leerfläche: Desktop 3 Spalten, Tablet 2 + 1 gestreckt, Mobil 1 */
.trio-raster { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) {
  .trio-raster { grid-template-columns: 1fr 1fr; }
  .trio-raster > :nth-child(3) { grid-column: 1 / -1; }
}
@media (min-width: 66rem) {
  .trio-raster { grid-template-columns: repeat(3, 1fr); }
  .trio-raster > :nth-child(3) { grid-column: auto; }
}

.info-kasten {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.info-kasten-petrol { background: var(--petrol-hauch); box-shadow: none; }
.info-kasten-koralle { background: var(--koralle-hauch); box-shadow: none; }

.fakten-band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
.fakten-band li {
  background: var(--weiss);
  border: 1.5px solid var(--linie);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-weight: 700;
  font-size: var(--text-s);
  margin: 0;
}

/* Artikel / Fließtext-Seiten */
.artikel { max-width: var(--breite-text); }
.artikel h2 { margin-top: 1.6em; font-size: var(--h3); }
.artikel-meta { color: var(--anthrazit-sanft); font-size: var(--text-s); }

.artikel-karte {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform var(--uebergang), box-shadow var(--uebergang);
}
.artikel-karte:hover { transform: translateY(-5px); box-shadow: var(--schatten-hover); }
.artikel-karte h2 { font-size: var(--text-l); margin: 0; }
.artikel-karte p { color: var(--anthrazit-sanft); font-size: var(--text-s); flex-grow: 1; }

/* ---- CTA-Band ------------------------------------------------------------------------------ */
.cta-band { text-align: center; }
.cta-band .knopf { margin-top: 1.5rem; }

/* ---- Memory-Spiel ---------------------------------------------------------------------------- */
.memory-status { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; font-weight: 700; margin: 1.5rem 0; }
.memory-brett {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.5rem, 2vw, 1rem);
  max-width: 34rem;
  margin-inline: auto;
}
@media (max-width: 30rem) { .memory-brett { grid-template-columns: repeat(4, 1fr); } }
.memory-karte {
  position: relative;
  aspect-ratio: 1;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  perspective: 600px;
  font: inherit;
}
.memory-karte-innen {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 450ms cubic-bezier(0.33, 1, 0.68, 1);
}
.memory-karte.offen .memory-karte-innen, .memory-karte.gefunden .memory-karte-innen { transform: rotateY(180deg); }
.memory-seite {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-s);
  display: grid;
  place-items: center;
}
.memory-vorn {
  background: var(--petrol);
  background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.16), transparent 55%);
  box-shadow: 0 4px 12px rgba(45, 52, 54, 0.15);
}
.memory-vorn svg { width: 42%; height: 42%; opacity: 0.9; }
.memory-hinten {
  background: var(--weiss);
  transform: rotateY(180deg);
  box-shadow: 0 4px 12px rgba(45, 52, 54, 0.12);
  border: 2px solid var(--linie);
}
.memory-hinten svg { width: 70%; height: 70%; }
.memory-karte.gefunden .memory-hinten { border-color: var(--petrol); background: var(--petrol-hauch); }
.memory-karte:hover:not(.offen):not(.gefunden) .memory-karte-innen { transform: translateY(-3px); }
.memory-fertig { margin-top: 2.5rem; }
.memory-fertig[hidden] { display: none; }

/* ---- Fußzeile ---------------------------------------------------------------------------------- */
.fuss {
  background: var(--anthrazit);
  color: #e8eaea;
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
  margin-top: 0;
}
.fuss a { color: var(--weiss); text-decoration-color: rgba(255,255,255,0.4); }
.fuss a:hover { color: var(--weiss); text-decoration-color: var(--weiss); }
.fuss-raster {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.fuss h2 { color: var(--weiss); font-size: var(--text); margin-bottom: 0.9rem; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: 0.6rem; font-size: var(--text-s); }
.fuss-logo img { height: 2.4rem; width: auto; margin-bottom: 1rem; }
.fuss-unten {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--text-s);
  color: #b9c0c1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* ---- Animationen (Einblenden beim Scrollen) ------------------------------------------------------ */
/* Versteckt wird nur mit aktivem JavaScript (kein-js wird im <head> entfernt).
   Das Einblenden läuft als einmalige Animation statt als Transition, damit
   Hover-Übergänge der Karten und Knöpfe danach wieder flott reagieren. */
html:not(.kein-js) .anim:not(.sichtbar) { opacity: 0; }
.anim.sichtbar {
  animation: anim-auftritt 650ms cubic-bezier(0.33, 1, 0.68, 1) backwards;
  animation-delay: var(--anim-delay, 0ms);
}
@keyframes anim-auftritt {
  from { opacity: 0; transform: translateY(22px); }
}

/* Varianten für lebendigere Blickführung */
.anim-links.sichtbar { animation-name: anim-links; }
@keyframes anim-links {
  from { opacity: 0; transform: translateX(-32px); }
}
.anim-rechts.sichtbar { animation-name: anim-rechts; }
@keyframes anim-rechts {
  from { opacity: 0; transform: translateX(32px); }
}
.anim-pop.sichtbar { animation-name: anim-pop; }
@keyframes anim-pop {
  from { opacity: 0; transform: translateY(26px) scale(0.94); }
}

/* Sanfter Auftritt im Hero und in den Seitenköpfen der Unterseiten */
@keyframes auftritt {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
:is(.hero, .seitenkopf) .auftritt { animation: auftritt 800ms cubic-bezier(0.33, 1, 0.68, 1) both; }
:is(.hero, .seitenkopf) .auftritt:nth-child(2) { animation-delay: 120ms; }
:is(.hero, .seitenkopf) .auftritt:nth-child(3) { animation-delay: 210ms; }
:is(.hero, .seitenkopf) .auftritt:nth-child(4) { animation-delay: 300ms; }
:is(.hero, .seitenkopf) .auftritt:nth-child(5) { animation-delay: 380ms; }
:is(.hero, .seitenkopf) .auftritt:nth-child(6) { animation-delay: 450ms; }
:is(.hero, .seitenkopf) .auftritt:nth-child(7) { animation-delay: 510ms; }
:is(.hero, .seitenkopf) .auftritt:nth-child(n + 8) { animation-delay: 560ms; }
.hero-bild.auftritt, .seitenkopf .foto-kachel.auftritt, .seitenkopf .story-kachel.auftritt { animation-delay: 300ms; }

/* Bewegung reduzieren, wenn gewünscht */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .anim { opacity: 1 !important; transform: none !important; }
}

/* ---- Karten-Illustrationen (Karikatur-Szenen) ------------------------------------------------------ */
.karten-illustration {
  background: var(--creme, #faf6f0);
  border-radius: 14px;
  padding: 0.6rem 0.9rem;
  margin-bottom: 1.1rem;
  transition: transform 400ms cubic-bezier(0.33, 1, 0.68, 1);
}
.karten-illustration svg { width: 100%; height: auto; display: block; }
.karte:hover .karten-illustration { transform: translateY(-4px) rotate(-1deg); }

/* ---- App-Sektion ------------------------------------------------------------------------------------ */
.app-sektion .einleitung { max-width: 42em; margin-inline: auto; }
.app-buehne {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 3.5rem;
}
@media (max-width: 860px) { .app-buehne { grid-template-columns: 1fr; justify-items: center; } }

.app-handy-halter { position: relative; perspective: 1000px; position: sticky; top: 6.5rem; }
@media (max-width: 860px) { .app-handy-halter { position: relative; top: 0; } }
.app-handy {
  width: min(300px, 78vw);
  border-radius: 34px;
  background: #1c2b2d;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(1, 83, 92, 0.28);
  transform: rotateY(var(--tilt-y, -6deg)) rotateX(var(--tilt-x, 3deg));
  transition: transform 300ms ease;
  will-change: transform;
}
.app-handy-kerbe { width: 40%; height: 8px; border-radius: 6px; background: #0e1718; margin: 2px auto 8px; }
.app-schirm {
  background: var(--creme, #faf6f0);
  border-radius: 24px;
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}
.app-schirm-kopf { display: flex; justify-content: space-between; align-items: center; }
.app-schirm-logo { font-weight: 800; color: var(--petrol, #028090); }
.app-schirm-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--koralle, #e8734a); }
.app-karte-live, .app-karte-eintrag, .app-karte-budget {
  background: #fff;
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  box-shadow: 0 4px 14px rgba(1, 83, 92, 0.08);
  font-size: 0.82rem;
}
.app-karte-live { display: flex; gap: 0.7rem; align-items: center; }
.app-karte-live strong { display: block; color: var(--petrol-tief, #01535c); }
.app-karte-live span:last-child strong + span, .app-karte-live div span { color: #5b6a6c; }
.app-puls {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  background: #3aa76d;
  box-shadow: 0 0 0 0 rgba(58, 167, 109, 0.5);
  animation: puls 2s ease-out infinite;
}
@keyframes puls {
  0% { box-shadow: 0 0 0 0 rgba(58, 167, 109, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(58, 167, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(58, 167, 109, 0); }
}
.app-eintrag-foto { background: var(--creme, #faf6f0); border-radius: 10px; margin-bottom: 0.5rem; }
.app-eintrag-foto svg { width: 100%; height: auto; display: block; }
.app-karte-eintrag p { margin: 0; color: #43575a; font-style: italic; }
.app-budget-zeile { display: flex; justify-content: space-between; align-items: baseline; }
.app-budget-zeile strong { color: var(--koralle-tief, #c14e23); font-size: 1.05rem; }
.app-budget-balken {
  height: 10px; border-radius: 6px; background: #eee4d6; overflow: hidden; margin: 0.45rem 0 0.35rem;
}
.app-budget-balken span {
  display: block; height: 100%; width: 0; border-radius: 6px;
  background: linear-gradient(90deg, var(--petrol, #028090), #04a3b5);
  transition: width 1200ms cubic-bezier(0.33, 1, 0.68, 1) 300ms;
}
.sichtbar .app-budget-balken span, .kein-js .app-budget-balken span { width: var(--fuellung, 68%); }
.app-karte-budget small { color: #5b6a6c; }

.app-schwebe {
  position: absolute; display: grid; place-items: center;
  animation: schweben 5s ease-in-out infinite;
}
.app-schwebe-herz { width: 58px; top: -14px; right: -20px; }
.app-schwebe-herz svg { width: 100%; height: auto; }
.app-schwebe-haken {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: #3aa76d; font-size: 1.4rem; font-weight: 800;
  box-shadow: 0 10px 24px rgba(1, 83, 92, 0.18);
  bottom: 30px; left: -22px; animation-delay: 1.2s;
}
@keyframes schweben {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.app-funktionen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}
.app-funktion {
  background: var(--creme, #faf6f0);
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  transition: transform 300ms ease, box-shadow 300ms ease,
    opacity 650ms cubic-bezier(0.33, 1, 0.68, 1);
}
.app-funktion:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(1, 83, 92, 0.12); }
.app-funktion-symbol { width: 46px; margin-bottom: 0.7rem; }
.app-funktion-symbol svg { width: 100%; height: auto; display: block; }
.app-funktion h3 { font-size: 1.02rem; margin-bottom: 0.35rem; color: var(--petrol-tief, #01535c); }
.app-funktion p { font-size: var(--text-s, 0.92rem); margin: 0; color: #43575a; }
.app-hinweis {
  text-align: center; max-width: 38em; margin: 1.25rem auto 0;
  color: #5b6a6c; font-size: var(--text-s, 0.95rem);
}

/* ---- Status-Hinweis (Warteliste) -------------------------------------------------------------------- */
.status-hinweis {
  max-width: 44em;
  margin: 0.8rem auto 0;
  background: #fff;
  border-left: 4px solid var(--petrol, #028090);
  border-radius: 10px;
  padding: 0.8rem 1.1rem;
  font-size: var(--text-s, 0.95rem);
  color: #43575a;
  text-align: left;
}

/* ---- Memory-Teaser ----------------------------------------------------------------------------------- */
.memory-teaser { background: #fff; }
.memory-teaser-innen {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 720px) { .memory-teaser-innen { grid-template-columns: 1fr; } }
.memory-teaser h2 { margin-bottom: 0.6rem; }
.memory-teaser p { margin-bottom: 1.4rem; }
.memory-teaser-karten { display: flex; justify-content: center; }
.memory-teaser-karte {
  width: 96px; height: 120px;
  background: var(--creme, #faf6f0);
  border: 2px solid rgba(2, 128, 144, 0.25);
  border-radius: 14px;
  display: grid; place-items: center;
  padding: 0.8rem;
  margin-inline: -12px;
  transform: rotate(var(--dreh, 0deg));
  box-shadow: 0 10px 24px rgba(1, 83, 92, 0.12);
  transition: transform 350ms cubic-bezier(0.33, 1, 0.68, 1);
}
.memory-teaser-karte svg { width: 100%; height: auto; }
.memory-teaser-karten:hover .memory-teaser-karte { transform: rotate(0deg) translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  .app-handy { transform: none; }
  .app-puls, .app-schwebe { animation: none; }
  .app-budget-balken span { width: var(--fuellung, 68%); transition: none; }
}

/* ---- Druck ------------------------------------------------------------------------------------------ */
/* ---- Beispielrechnung je Pflegegrad (Kosten-Seite) ---------------------------------- */
.beispiel-zeilen {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 42rem) { .beispiel-zeilen { grid-template-columns: 1fr 1fr; } }
@media (min-width: 66rem) {
  .beispiel-zeilen { grid-template-columns: repeat(6, 1fr); }
  .beispiel-zeilen > li { grid-column: span 2; }
  .beispiel-zeilen > li:nth-child(4) { grid-column: 2 / span 2; }
}
.beispiel-zeilen > li {
  background: var(--creme, #faf6f0);
  border-radius: var(--radius-s);
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.beispiel-zeilen strong { color: var(--petrol-tief); }
.beispiel-stunden { font-weight: 800; font-size: var(--text-l); }
.beispiel-zeilen p { font-size: var(--text-s); margin: 0; }

/* ---- PDF-Band: Download-Kasten für das Infoblatt ------------------------------------ */
.pdf-band {
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.pdf-band > div { flex: 1 1 26em; }
.pdf-band h2 { font-size: var(--h3); margin-bottom: 0.4rem; }
.pdf-band p { max-width: 34em; margin: 0; }
.pdf-band .knopf { display: inline-flex; align-items: center; flex: none; }

@media print {
  .kopf, .mobil-anruf, .fuss, .welle { display: none; }
  main { padding-top: 0; }
  body { background: #fff; }
}
