/* ============================================================
   CARVALY · Design-System (Redesign, Task 041)
   Hell, ruhig, mobil zuerst. Mist als Grund, Tinte für Aktionen,
   Lime als Markierung ("markiert / erledigt"), nie als Fläche für Text-Blöcke.
   Quelle: Canvas „Carvaly · Richtungen", Runde 13 (Startseite, Desktop)
   und Runde 14 (Häufige Fragen, Fußzeile).
   ============================================================ */

/* Schriften: fonts.css (selbst gehostet), per <link> vor dieser Datei. */

:root {
  /* ---- Farben ---- */
  --mist:      #E3E9EE;   /* Seitengrund */
  --surface:   #F2F5F8;   /* Karten, Felder, Kästen */
  --ink:       #0E1A24;   /* Text und Aktionen */
  --muted:     #4A5866;   /* Nebentext, 5,9:1 auf --mist */
  --line:      #C8D2DA;   /* Linien, Rahmen, Scrollbalken */
  --lime:      #C5F04A;   /* Markierung: Hervorhebung, gewählt, erledigt */
  --white:     #FFFFFF;
  --red:       #B3261E;   /* Pflichtangabe fehlt */
  --red-soft:  #F8D7D3;
  --amber:     #F5C443;   /* nur Optionales offen */
  --amber-soft:#FBE2A0;
  --amber-ink: #8A5A00;
  --disabled:  #9AA7B2;
  --scrim:     rgba(14, 26, 36, 0.38);
  --shadow-card: 0 14px 36px rgba(14, 26, 36, 0.14);
  --shadow-pop:  0 12px 32px rgba(14, 26, 36, 0.18);

  /* ---- Schrift ---- */
  --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* ---- Bewegung ---- */
  --ease-out:     cubic-bezier(.22, 1, .36, 1);     /* Einblenden, Gleiten */
  --ease-io:      cubic-bezier(.65, 0, .35, 1);     /* Wischen, Marker */
  --ease-curtain: cubic-bezier(.76, 0, .24, 1);     /* Seitenvorhang */
  --ease-pop:     cubic-bezier(.34, 1.56, .64, 1);  /* Haken, Abzeichen */

  /* ---- Maße ---- */
  --hdr-h: 64px;
  --gutter: 20px;
}

@media (min-width: 1024px) {
  :root { --hdr-h: 76px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hdr-h) + 8px);
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: #000; }
button, input, textarea, select { font-family: inherit; }
h1, h2, h3, p { margin: 0; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* Telefon zuerst: Desktop-Teile sind unter 1024 px aus, Telefon-Teile darüber */
@media (max-width: 1023.98px) { .only-dsk { display: none !important; } }
@media (min-width: 1024px) { .only-mob { display: none !important; } }

/* Inhaltsbreite: Telefon 20 px Rand, Desktop 1280 px Inhalt (Formular 1120 px) */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
@media (min-width: 1024px) {
  .wrap { padding-left: max(48px, calc((100% - 1280px) / 2)); padding-right: max(48px, calc((100% - 1280px) / 2)); }
  .wrap--form { padding-left: max(48px, calc((100% - 1120px) / 2)); padding-right: max(48px, calc((100% - 1120px) / 2)); }
}

/* Eigener Scrollbalken, nur Desktop: 6 px Daumen in Liniengrau, Spur unsichtbar */
@media (min-width: 1024px) {
  html { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  @supports selector(::-webkit-scrollbar) { html { scrollbar-width: auto; scrollbar-color: auto; } }
  ::-webkit-scrollbar { width: 14px; height: 14px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { min-height: 56px; border: 4px solid transparent; border-radius: 7px; background: var(--line) padding-box; }
  ::-webkit-scrollbar-thumb:hover { background-color: var(--muted); }
  ::-webkit-scrollbar-thumb:active { background-color: var(--ink); }
  ::-webkit-scrollbar-corner { background: transparent; }
}

/* ============ Bewegung ============ */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes mark { from { background-size: 0% 100%; } }
@keyframes reveal { from { clip-path: inset(100% 0 0 0 round 28px 0 0 28px); } }
@keyframes settle { from { transform: scale(1.14); } }
@keyframes pop { from { transform: scale(0); } }
@keyframes fill { from { transform: scaleX(0); } }
@keyframes wipeIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wipeOut { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes diagIn { from { clip-path: polygon(0 100%, 0 100%, 0 100%); } to { clip-path: polygon(0 100%, 0 -100%, 200% 100%); } }
@keyframes diagOut { from { clip-path: polygon(100% 0, -100% 0, 100% 200%); } to { clip-path: polygon(100% 0, 100% 0, 100% 0); } }
@keyframes menuIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes menuOut { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }

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

/* ============ Markierung (Lime) ============
   Zwei Zeilen Überschrift: die erste auf Mist, die zweite auf Lime. Der
   Lime-Balken zieht sich beim Erscheinen von links auf. */
.hl {
  display: inline;
  padding: 0 6px;
  margin-left: -6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hl--mist { background: var(--mist); }
.hl--lime { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / 100% 100%; }

/* ============ Knöpfe ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; margin: 0; padding: 0 24px;
  border: 0; border-radius: 14px;
  background: var(--ink); color: var(--white);
  font-size: 18px; font-weight: 700; line-height: 1;
  text-decoration: none; cursor: pointer;
}
.btn:hover { color: var(--white); background: #000; }
.btn--block { display: flex; width: 100%; }
.btn--soft { background: var(--surface); color: var(--ink); }
.btn--soft:hover { background: var(--surface); color: var(--ink); }

/* ============ Logo ============ */
.brand { display: flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 28px; fill: currentColor; flex-shrink: 0; }
.brand span { font-size: 22px; font-weight: 800; letter-spacing: -0.6px; }

/* ============ Kopfzeile ============ */
.hdr {
  position: sticky; top: 0; z-index: 30;
  height: var(--hdr-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px var(--gutter);
  background: var(--mist);
}
.hdr__right { display: flex; align-items: center; gap: 4px; }

.nav { display: none; }
@media (min-width: 1024px) {
  .hdr { padding: 0 max(48px, calc((100% - 1280px) / 2)); }
  .nav { display: flex; align-items: center; gap: 2px; }
}
.nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 10px; color: var(--ink); text-decoration: none;
  font-size: 16px; font-weight: 600; transition: background-color .2s;
}
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a[aria-current="page"] {
  text-decoration: underline; text-decoration-color: var(--lime);
  text-decoration-thickness: 3px; text-underline-offset: 8px;
}

/* DE/EN */
.lang { display: flex; padding: 2px; gap: 2px; background: var(--surface); border-radius: 10px; }
.lang a, .lang button {
  display: grid; place-items: center; min-width: 44px; height: 40px; margin: 0; padding: 0;
  border: 0; border-radius: 8px; background: transparent; color: var(--ink);
  font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.lang [aria-current="true"], .lang [aria-pressed="true"] { background: var(--ink); color: var(--white); }

.hdr__cta { display: none; }
@media (min-width: 1024px) {
  .hdr__cta { display: inline-flex; height: 48px; margin-left: 12px; padding: 0 22px; border-radius: 12px; font-size: 16px; }
}

/* Burger: zwei Striche, die zum X werden */
.burger {
  width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 12px;
  background: transparent; color: var(--ink); display: grid; place-items: center;
  cursor: pointer; transition: background-color .25s;
}
.burger[aria-expanded="true"] { background: var(--surface); }
.burger__bars { position: relative; display: block; width: 20px; height: 10px; }
.burger__bars span {
  position: absolute; left: 0; width: 20px; height: 2px; border-radius: 1px; background: currentColor;
  transition: transform .3s var(--ease-io);
}
.burger__bars span:first-child { top: 0; }
.burger__bars span:last-child { top: 8px; }
.burger[aria-expanded="true"] .burger__bars span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1024px) { .burger { display: none; } }

/* ============ Menü (nur Telefon) ============
   Fällt unter der Kopfzeile herunter; Kopfzeile und DE/EN bleiben sichtbar. */
.menu {
  position: fixed; left: 0; right: 0; top: var(--hdr-h); bottom: 0; z-index: 25;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  background: var(--mist);
}
.menu[hidden] { display: none; }
.menu.is-in { animation: menuIn .38s var(--ease-curtain) both; }
.menu.is-out { animation: menuOut .22s var(--ease-io) both; }
.menu::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .menu { display: none !important; } }
html.menu-open { overflow: hidden; }

.menu__in { padding: 8px var(--gutter) 32px; display: flex; flex-direction: column; gap: 26px; }
.menu__label { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--muted); animation: fade .3s .1s both; }
.menu__svcs { display: flex; flex-direction: column; gap: 8px; }
.menu__svc {
  display: flex; align-items: center; gap: 14px; padding: 8px 14px 8px 8px;
  background: var(--surface); border-radius: 16px; color: var(--ink); text-decoration: none;
  animation: rise .4s var(--ease-out) both;
}
.menu__svc:nth-child(1) { animation-delay: .1s; }
.menu__svc:nth-child(2) { animation-delay: .15s; }
.menu__svc:nth-child(3) { animation-delay: .2s; }
.menu__svc img { width: 64px; height: 64px; flex-shrink: 0; border-radius: 10px; object-fit: cover; }
.menu__svc-t { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
.menu__svc-t b { font-size: 18px; font-weight: 750; letter-spacing: -0.2px; }
.menu__svc-t span { font-size: 14px; color: var(--muted); }
.menu__links { display: flex; flex-direction: column; animation: rise .4s .26s var(--ease-out) both; }
.menu__links a {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  border-bottom: 1.5px solid var(--line); color: var(--ink); text-decoration: none;
  font-size: 24px; font-weight: 750; letter-spacing: -0.5px;
}
.menu__cta { animation: rise .4s .32s var(--ease-out) both; }
.menu__contact { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--muted); animation: fade .4s .4s both; }
.menu__contact b { color: var(--ink); }
.menu__contact a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--muted); text-decoration: none; }
.menu__legal { display: flex; gap: 16px; margin-top: 6px; font-size: 14px; }
.menu__legal a { display: inline; min-height: 0; color: var(--muted); text-decoration: underline; }

/* ============ Seitenvorhang und Sprachwisch ============
   Beim Seitenwechsel fährt ein Lime-Vorhang mit der Feder von unten herein, die
   neue Seite lädt darunter und der Vorhang fährt nach oben hinaus. Weil das über
   zwei Seitenaufrufe geht, setzt head.js schon vor dem ersten Zeichnen
   html[data-curtain]; dann steht der Vorhang, bis site.js ihn wegzieht. */
.curtain, .lwipe {
  position: fixed; inset: 0; z-index: 100;
  display: none; place-items: center;
  background: var(--lime); color: var(--ink);
  pointer-events: none;
}
.curtain svg { width: 56px; height: 56px; fill: var(--ink); }
html[data-curtain="page"] .curtain, .curtain.is-in, .curtain.is-out { display: grid; }
.curtain.is-in { animation: wipeIn .26s var(--ease-curtain) both; pointer-events: auto; }
.curtain.is-in svg { animation: pop .2s .05s var(--ease-pop) both; }
.curtain.is-out { animation: wipeOut .3s .03s var(--ease-curtain) both; }

.lwipe__label { font-size: 64px; font-weight: 800; letter-spacing: -2px; }
html[data-curtain^="lang"] .lwipe, .lwipe.is-in, .lwipe.is-out { display: grid; }
.lwipe.is-in { animation: diagIn .2s var(--ease-io) both; pointer-events: auto; }
.lwipe.is-out { animation: diagOut .24s .02s var(--ease-io) both; }

/* ============ Startseite: Hero ============ */
.hero {
  position: relative;
  height: max(600px, calc(100svh - var(--hdr-h)));
  padding-bottom: 24px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero__in { position: relative; flex-grow: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.hero__img {
  position: absolute; right: calc(-1 * var(--gutter)); top: 50%;
  width: 200px; height: 400px; margin-top: -200px;
  border-radius: 28px 0 0 28px; overflow: hidden;
  animation: reveal 1.1s .15s var(--ease-curtain) both;
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.8s .15s var(--ease-out) both; }
.hero h1 { position: relative; z-index: 2; font-size: 48px; line-height: 1.08; font-weight: 800; letter-spacing: -1.8px; }
.hero h1 .hl--mist { animation: fade .6s .05s both; }
.hero h1 .hl--lime { animation: fade .6s .2s both, mark .6s .9s var(--ease-io) both; }
.hero__lead { position: relative; z-index: 1; width: 152px; margin-top: 18px; font-size: 15px; line-height: 1.45; color: var(--muted); animation: fade .6s .5s both; }
.hero__stats { flex-shrink: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; animation: rise .6s .7s both; }
.stat { background: var(--surface); border-radius: 12px; padding: 10px 12px; }
.stat__n { font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.stat__l { font-size: 13px; line-height: 1.3; color: var(--muted); }
.hero__note { flex-shrink: 0; margin: 14px 0 12px; text-align: center; font-size: 14px; color: var(--muted); animation: rise .6s .7s both; }
.hero__btn { flex-shrink: 0; animation: rise .6s .8s both; }

@media (min-width: 1024px) {
  .hero { height: max(640px, calc(100dvh - var(--hdr-h))); justify-content: center; padding-bottom: 0; }
  .hero__in { position: static; flex-grow: 0; }
  .hero__img { top: 24px; bottom: 40px; left: calc(50% + 32px); right: 0; width: auto; height: auto; margin-top: 0; }
  .hero h1 { font-size: clamp(60px, 5.6vw, 84px); letter-spacing: -3px; line-height: 1.04; }
  .hero__lead { width: auto; max-width: 440px; margin-top: 24px; font-size: 19px; }
  .hero__btn { order: 1; margin-top: 36px; }
  .hero__btn .btn { display: inline-flex; width: auto; height: 60px; padding: 0 36px; }
  .hero__note { order: 2; margin: 14px 0 0; text-align: left; font-size: 15px; }
  .hero__stats { order: 3; margin-top: 56px; width: min(560px, calc(50% - 32px)); }
  .stat { padding: 16px 18px; border-radius: 16px; }
  .stat__n { font-size: 28px; }
}

/* ============ Abschnitte ============ */
.sec-h { font-size: 32px; line-height: 1.05; font-weight: 800; letter-spacing: -1px; }
@media (min-width: 1024px) {
  .sec-h { font-size: 48px; letter-spacing: -1.8px; }
}

/* Erscheinen beim Scrollen: site.js setzt .is-seen, sobald der Abschnitt
   ins Bild kommt. Ohne JS (oder mit reduzierter Bewegung) ist alles sichtbar. */
.js [data-rise] { opacity: 0; transform: translateY(var(--rise-y, 24px)); }
.js .is-seen [data-rise], .js [data-rise].is-seen { opacity: 1; transform: none; }
[data-rise] { transition: opacity .6s var(--rise-d, 0s), transform .7s var(--ease-out); }

/* ============ Startseite: Leistungen ============ */
.opts { padding-top: 36px; padding-bottom: 40px; }
.opts .sec-h { margin-bottom: 20px; }
.cards { display: flex; flex-direction: column; gap: 14px; }
.card {
  display: block; overflow: hidden;
  border: 2px solid transparent; border-radius: 20px;
  background: var(--surface); color: var(--ink); text-decoration: none;
  transition: opacity .6s var(--rise-d, 0s), transform .5s var(--ease-out), background-color .25s, border-color .25s, box-shadow .25s;
}
.card:hover { color: var(--ink); }
.card__img { display: block; height: 176px; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 16px; }
.card__t { display: flex; flex-direction: column; gap: 3px; }
.card__t b { font-size: 20px; font-weight: 750; letter-spacing: -0.3px; }
.card__t span { font-size: 15px; line-height: 1.4; color: var(--muted); }
.card__body svg { flex-shrink: 0; }
.cards .card:nth-child(1) { --rise-y: 32px; --rise-d: .05s; }
.cards .card:nth-child(2) { --rise-y: 40px; --rise-d: .15s; }
.cards .card:nth-child(3) { --rise-y: 48px; --rise-d: .25s; }
/* Angetippt: Karte schrumpft, Bild zoomt, Textfläche wird Lime, dann Vorhang */
.card.is-pressed { border-color: var(--ink); background: var(--lime); transform: scale(.97) !important; }
.card.is-pressed .card__img img { transform: scale(1.08); }

@media (min-width: 1024px) {
  .opts { padding-top: 96px; padding-bottom: 48px; }
  .opts .sec-h { margin-bottom: 40px; }
  .cards { flex-direction: row; gap: 20px; }
  .cards > .card { flex: 1 1 0; min-width: 0; }
  .card__img { height: 260px; }
  .card:hover { box-shadow: var(--shadow-card); }
}

/* ============ Startseite: Ablauf ============ */
.flow { padding-top: 24px; padding-bottom: 40px; }
.flow .sec-h { margin-bottom: 22px; max-width: 12ch; }
.flow ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.flow li { display: flex; gap: 12px; }
.flow__col { flex-shrink: 0; width: 34px; display: flex; flex-direction: column; align-items: center; }
.flow__dot {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink);
  background: var(--ink); color: var(--white);
  display: grid; place-items: center; font-size: 15px; font-weight: 800;
}
.flow li:first-child .flow__dot { background: var(--lime); color: var(--ink); }
.flow__line { flex-grow: 1; width: 2px; margin: 4px 0; background: var(--line); }
.flow li:last-child .flow__line { background: transparent; }
.flow__card {
  flex-grow: 1; margin-bottom: 12px; padding: 14px 16px 16px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.flow__card-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.flow__card-h b { font-size: 19px; line-height: 1.2; font-weight: 750; }
.flow__card-h svg { flex-shrink: 0; }
.flow__card p { font-size: 15px; line-height: 1.5; color: var(--muted); }

@media (min-width: 1024px) {
  .flow { padding-top: 96px; padding-bottom: 96px; }
  .flow .sec-h { margin-bottom: 40px; max-width: none; }
  .flow ol { flex-direction: row; }
  .flow li { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 0; }
  .flow__col { width: auto; flex-direction: row; }
  .flow__line { width: auto; height: 2px; margin: 0 4px; }
  .flow__card { flex-grow: 1; margin: 16px 16px 0 0; }
  .flow li:last-child .flow__card { margin-right: 0; }
}

/* ============ Startseite: Über uns ============ */
.who { padding-top: 8px; padding-bottom: 40px; }
.who__in { display: flex; gap: 16px; align-items: flex-start; }
.who__img {
  width: 104px; height: 128px; flex-shrink: 0; border-radius: 14px;
  background: var(--surface); border: 1.5px dashed var(--line);
  display: grid; place-items: center; font-size: 12px; color: var(--muted);
}
.who h2 { font-size: 22px; line-height: 1.2; font-weight: 750; }
.who p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--muted); }
@media (min-width: 1024px) {
  .who { padding-top: 0; padding-bottom: 104px; }
  .who__in { gap: 40px; align-items: center; }
  .who__img { width: 200px; height: 240px; border-radius: 20px; }
  .who h2 { font-size: 32px; letter-spacing: -0.8px; }
  .who p { max-width: 56ch; margin-top: 12px; font-size: 19px; }
}

/* ============ Startseite: Schluss ============ */
.final { padding-top: 36px; padding-bottom: 40px; background: var(--surface); }
.final h2 { font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -1.2px; }
.final .hl--lime { background-size: 0% 100%; transition: background-size .6s .15s var(--ease-io); }
.final.is-seen .hl--lime, .no-js .final .hl--lime { background-size: 100% 100%; }
.final .btn { margin-top: 22px; }
@media (min-width: 1024px) {
  .final { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding-top: 104px; padding-bottom: 104px; }
  .final h2 { font-size: 64px; letter-spacing: -2.4px; }
  .final .btn { flex-shrink: 0; width: auto; height: 64px; margin-top: 0; padding: 0 40px; }
}

/* ============ Fußzeile ============ */
.foot { padding-top: 36px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 32px; font-size: 15px; color: var(--muted); }
.foot__top { display: flex; flex-direction: column; gap: 28px; }
.foot__brand { display: flex; flex-direction: column; gap: 10px; }
.foot__brand .brand { align-self: flex-start; }
.foot__brand .brand svg { width: 24px; height: 24px; }
.foot__brand .brand span { font-size: 20px; letter-spacing: -0.5px; }
.foot__brand p { max-width: 30ch; line-height: 1.5; }
.foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.foot__col { display: flex; flex-direction: column; }
.foot__col > b { margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--ink); }
.foot__col a, .foot__col > span { display: flex; align-items: center; gap: 10px; min-height: 40px; color: var(--muted); text-decoration: none; }
.foot__col a:hover, .foot__legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot__contact { grid-column: 1 / -1; }
.foot__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px;
  padding-top: 18px; border-top: 1.5px solid var(--line); font-size: 14px;
}
.foot__legal { display: flex; gap: 20px; }
.foot__legal a { display: flex; align-items: center; min-height: 40px; color: var(--muted); text-decoration: none; }
@media (min-width: 1024px) {
  .foot { padding-top: 64px; padding-bottom: 40px; gap: 48px; }
  .foot__top { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 64px; }
  .foot__cols { grid-template-columns: repeat(3, auto); column-gap: 80px; }
  .foot__contact { grid-column: auto; }
}

/* ============ Häufige Fragen ============ */
.faq-top { padding-top: 28px; padding-bottom: 8px; }
.faq-top h1 { font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -1.6px; }
.faq-top h1 > span:first-child { animation: fade .6s .05s both; }
.faq-top h1 .hl--lime { animation: fade .6s .2s both, mark .6s .7s var(--ease-io) both; }
.faq-top p { margin-top: 16px; max-width: 40ch; font-size: 16px; line-height: 1.5; color: var(--muted); animation: fade .6s .4s both; }
.faq-body { padding-top: 24px; padding-bottom: 48px; }
.faq-grid { display: flex; flex-direction: column; gap: 28px; }
.faq-side { display: flex; flex-direction: column; gap: 24px; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-chip {
  display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 14px 0 16px;
  border: 0; border-radius: 22px; background: var(--surface); color: var(--ink);
  font-size: 15px; font-weight: 700; text-align: left; cursor: pointer; transition: background-color .25s;
}
.faq-chip[aria-pressed="true"] { background: var(--lime); }
.faq-chip small { font-size: 13px; color: var(--muted); }
.faq-more { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--surface); border-radius: 20px; }
.faq-more b { font-size: 20px; line-height: 1.2; font-weight: 800; letter-spacing: -0.4px; }
.faq-more p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.faq-more a:not(.btn) { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; text-decoration: none; }
.faq-more .btn { margin-top: 4px; }
.faq-main { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.faq-group { display: flex; flex-direction: column; gap: 8px; animation: rise .35s var(--ease-out) both; }
.faq-group[hidden] { display: none; }
.faq-group h2 { margin: 0 0 6px; display: flex; align-items: baseline; gap: 10px; font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.5px; }
.faq-group h2 small { font-size: 14px; font-weight: 700; color: var(--muted); }
.faq-item { background: var(--surface); border-radius: 16px; }
.faq-item h3 { margin: 0; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; margin: 0; padding: 14px 14px 14px 18px; border: 0; border-radius: 16px;
  background: transparent; color: var(--ink); font-size: 17px; line-height: 1.35; font-weight: 700;
  text-align: left; cursor: pointer;
}
.faq-q__ic {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--mist);
  display: grid; place-items: center; transition: background-color .25s;
}
.faq-q__ic svg { transition: transform .35s var(--ease-out); }
.faq-q[aria-expanded="true"] .faq-q__ic { background: var(--lime); }
.faq-q[aria-expanded="true"] .faq-q__ic svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease-out); }
.faq-a > div { min-height: 0; overflow: hidden; visibility: hidden; opacity: 0; transition: visibility .35s, opacity .3s; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a > div { visibility: visible; opacity: 1; }
/* Ohne JS bleiben die Antworten offen lesbar */
.no-js .faq-a { grid-template-rows: 1fr; }
.no-js .faq-a > div { visibility: visible; opacity: 1; }
.faq-a p { padding: 0 18px 18px; font-size: 16px; line-height: 1.55; color: var(--muted); }

@media (min-width: 1024px) {
  .faq-top { padding-top: 72px; padding-bottom: 16px; }
  .faq-top h1 { font-size: clamp(56px, 5vw, 76px); letter-spacing: -2.6px; }
  .faq-top p { max-width: 52ch; font-size: 19px; }
  .faq-body { padding-top: 40px; padding-bottom: 104px; }
  .faq-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 80px; align-items: start; }
  .faq-side { position: sticky; top: calc(var(--hdr-h) + 24px); }
  .faq-nav { flex-direction: column; flex-wrap: nowrap; gap: 4px; }
  .faq-chip { justify-content: space-between; min-height: 48px; padding: 0 16px; border-radius: 12px; }
  .faq-main { max-width: 760px; }
  .faq-q { padding: 18px 18px 18px 22px; font-size: 18px; }
  .faq-a p { padding: 0 72px 22px 22px; font-size: 17px; }
  .faq-more .btn { height: 52px; font-size: 16px; }
}

/* ============ 404 ============ */
.lost { min-height: calc(100svh - var(--hdr-h)); display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-top: 32px; padding-bottom: 48px; }
.lost h1 { font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -1.6px; }
.lost p { max-width: 40ch; font-size: 16px; line-height: 1.5; color: var(--muted); }
.lost .btn { align-self: flex-start; margin-top: 8px; }
@media (min-width: 1024px) {
  .lost h1 { font-size: 76px; letter-spacing: -2.6px; }
  .lost p { font-size: 19px; }
}
