/* =========================================================
   Limmatik – Stylesheet
   Farben, Schrift und Abstände sind oben als Variablen definiert.
   ========================================================= */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --navy: #0B2530;
  --navy-2: #102F3B;
  --navy-3: #18404E;
  --teal: #2BB3B1;
  --teal-bright: #4FD1CC;
  --teal-text: #1F7573;
  --bg: #F4F7F6;
  --surface: #FFFFFF;
  --mist: #E3ECEA;
  --ink: #0B2530;
  --ink-soft: #445E68;
  --line: #D5E0DD;
  --on-dark: #FFFFFF;
  --on-dark-soft: #B7CCD2;

  --font-head: "Space Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071A22;
    --surface: #0E2833;
    --mist: #0B2129;
    --ink: #EAF2F1;
    --ink-soft: #9DB5BC;
    --line: #1E3D49;
    --teal-text: #4FD1CC;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-text); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; margin: 0; letter-spacing: -0.025em; font-weight: 600; }
h2 { font-size: clamp(34px, 5vw, 56px); }
h3 { font-size: 21px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head p { color: var(--ink-soft); font-size: 18px; margin: 0; max-width: 460px; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 16px 24px; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: var(--teal-bright); }
.btn-ghost { border-color: rgba(255,255,255,.3); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(255,255,255,.06); }
.btn-dark { background: var(--navy); color: var(--on-dark); }
.btn-dark:hover { background: var(--navy-3); }
@media (prefers-color-scheme: dark) {
  .btn-dark { background: var(--teal); color: var(--navy); }
  .btn-dark:hover { background: var(--teal-bright); }
}

/* ---------- Kopfzeile ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background-color .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: block; }
.brand img { height: 32px; width: auto; }
.brand .logo-dark { display: none; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: 16px; opacity: .9; }
.nav a:hover { opacity: 1; color: var(--teal-bright); }
.nav .btn { padding: 12px 20px; font-size: 15px; opacity: 1; }
.nav .btn:hover { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--on-dark); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Kopfzeile nach dem Scrollen bzw. auf Unterseiten */
.site-header.solid { background: color-mix(in srgb, var(--bg) 88%, transparent); border-bottom-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.solid .nav a { color: var(--ink); }
.site-header.solid .nav a:hover { color: var(--teal-text); }
.site-header.solid .nav .btn { color: var(--navy); }
.site-header.solid .nav-toggle span { background: var(--ink); }
.site-header.solid .logo-light { display: none; }
.site-header.solid .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  .site-header.solid .logo-light { display: block; }
  .site-header.solid .logo-dark { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; }
  .nav a, .site-header .nav a { color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav .btn { margin-top: 16px; border-bottom: 0; color: var(--navy); }
  .nav-open .site-header { background: var(--bg); }
  .nav-open .site-header .nav-toggle span { background: var(--ink); }
  .nav-open .site-header .logo-light { display: none; }
  .nav-open .site-header .logo-dark { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 860px) and (prefers-color-scheme: dark) {
  .nav-open .site-header .logo-light { display: block; }
  .nav-open .site-header .logo-dark { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--on-dark);
  padding: clamp(130px, 15vw, 190px) 0 0;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: -25% -15% auto auto; width: 75vw; height: 75vw; z-index: -1;
  background: radial-gradient(closest-side, rgba(43,179,177,.16), transparent 70%);
}
.hero h1 { font-size: clamp(42px, 7vw, 96px); letter-spacing: -0.04em; line-height: 1; max-width: 15ch; }
.hero-row { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: end; margin-top: 32px; }
.hero-lead { font-size: clamp(18px, 1.8vw, 21px); color: var(--on-dark-soft); max-width: 560px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.audience { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; padding: 0; }
.audience li { font-size: 14px; color: var(--on-dark-soft); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 12px; }
@media (max-width: 860px) { .hero-row { grid-template-columns: 1fr; } }

.flow { display: block; width: 100%; height: max(120px, 17vw); max-height: 280px; margin-top: clamp(32px, 5vw, 56px); }
.flow path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }
.flow .f1 { stroke: var(--teal); }
.flow .f2 { stroke: rgba(255,255,255,.55); }
.flow .f3 { stroke: rgba(43,179,177,.5); }
.flow .pulse { fill: #FFFFFF; }
.flow .pulse.t { fill: var(--teal-bright); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.fact { padding: 24px 24px 28px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.12); }
.fact b { display: block; font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.02em; }
.fact span { color: var(--on-dark-soft); font-size: 15px; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 16px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid rgba(255,255,255,.12); }
}

/* ---------- Problem-Finder ---------- */
.finder { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.finder-choices { padding: clamp(24px, 4vw, 48px); }
.finder-choices h2 { margin-bottom: 10px; }
.finder-choices > p { color: var(--ink-soft); margin-bottom: 26px; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 18px; cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--navy); } }
.finder-result {
  background: var(--mist); padding: clamp(24px, 4vw, 48px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 340px;
}
.finder-result .empty { color: var(--ink-soft); font-size: 18px; margin: auto 0; max-width: 300px; }
.finder-result h3 { font-size: 28px; margin-bottom: 12px; }
.finder-result p { color: var(--ink-soft); font-size: 17px; }
.finder-result .result-price { color: var(--ink); font-family: var(--font-head); font-weight: 600; margin: 0; }
.route { display: inline-flex; font-family: var(--font-head); font-weight: 600; font-size: 14px;
  color: var(--navy); background: var(--teal); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
@media (prefers-reduced-motion: no-preference) { .finder-result[data-state="filled"] .result-body { animation: rise .35s ease-out; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 860px) { .finder { grid-template-columns: 1fr; } .finder-result { min-height: 0; } }

/* ---------- Leistungen als Liste ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 56px minmax(200px, 1fr) 1.4fr; gap: 8px 32px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.svc svg { width: 36px; height: 36px; }
.svc svg * { fill: none; stroke: var(--teal-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: clamp(21px, 2.2vw, 26px); padding-top: 4px; }
.svc p { color: var(--ink-soft); margin: 0 0 12px; }
.svc .tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc .tags li { font-size: 13px; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; }
.devices { margin-top: 28px; color: var(--ink-soft); font-size: 16px; }
@media (max-width: 760px) { .svc { grid-template-columns: 44px 1fr; } .svc > div { grid-column: 2; } }

/* ---------- Preise mit Rechner ---------- */
.price-section { background: var(--surface); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rates-card, .calc { border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); }
.rates-card { background: var(--bg); border: 1px solid var(--line); }
.rate-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rate-row:first-child { padding-top: 0; }
.rate-row:last-of-type { border-bottom: 0; }
.rate-row h3 { font-size: 20px; }
.rate-row p { margin: 4px 0 0; color: var(--ink-soft); font-size: 15px; }
.rate-row .val { font-family: var(--font-head); font-size: clamp(28px, 3vw, 36px); font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; text-align: right; }
.rate-row .val small { display: block; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); font-family: var(--font-body); }

.calc { background: var(--navy); color: var(--on-dark); }
.calc h3 { font-size: 24px; margin-bottom: 6px; }
.calc > p { color: var(--on-dark-soft); margin-bottom: 24px; font-size: 15px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.08); border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.seg button { font: inherit; font-family: var(--font-head); font-weight: 600; font-size: 15px; border: 0; border-radius: 999px; padding: 11px; cursor: pointer; background: transparent; color: var(--on-dark-soft); }
.seg button[aria-pressed="true"] { background: var(--teal); color: var(--navy); }
.calc-field { margin-bottom: 20px; }
.calc-field label { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 10px; color: var(--on-dark-soft); }
.calc-field label output { color: var(--on-dark); font-family: var(--font-head); font-weight: 600; }
.calc input[type=range] { width: 100%; accent-color: var(--teal); }
.calc-field[hidden] { display: none; }
.total { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; margin-top: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total span { color: var(--on-dark-soft); font-size: 15px; }
.total output { font-family: var(--font-head); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; }
.calc small { display: block; color: var(--on-dark-soft); font-size: 13px; margin-top: 10px; }

.packages { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); }
.packages-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 20px; }
.packages-head p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.pk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
.pk-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.pk-list b { font-family: var(--font-head); font-weight: 600; white-space: nowrap; }
.price-notes { margin-top: 20px; font-size: 14px; color: var(--ink-soft); }
.price-notes p { margin: 0 0 6px; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } .pk-list { grid-template-columns: 1fr; } }

/* ---------- Ansprechpartner ---------- */
.person { display: grid; grid-template-columns: 360px 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.person-photo { position: relative; }
.person-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.person-photo::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 2px dashed var(--teal); opacity: .6; pointer-events: none;
}
.person h2 { margin-bottom: 24px; }
.person .quote { font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; letter-spacing: -0.015em; margin-bottom: 20px; }
.person p { color: var(--ink-soft); font-size: 18px; max-width: 600px; }
.person .sign { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin-top: 8px; }
.person .sign span { display: block; font-weight: 400; color: var(--ink-soft); font-size: 15px; font-family: var(--font-body); }
.cantons { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cantons li { font-family: var(--font-head); font-weight: 500; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.cantons li:first-child { background: var(--teal); border-color: var(--teal); color: var(--navy); }
@media (max-width: 860px) { .person { grid-template-columns: 1fr; } .person-photo { max-width: 260px; margin: 14px; } }

/* ---------- Fernhilfe erklärt ---------- */
.remote-section { background: var(--mist); }
.remote { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.remote-intro p { color: var(--ink-soft); font-size: 18px; margin-top: 20px; max-width: 420px; }
.remote-steps { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.remote-steps li {
  counter-increment: r; position: relative; padding: 0 0 34px 76px; min-height: 52px;
}
.remote-steps li::before {
  content: counter(r); position: absolute; left: 0; top: 0; width: 52px; height: 52px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--teal); color: var(--teal-text);
  font-family: var(--font-head); font-weight: 600; font-size: 19px;
}
.remote-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 25px; top: 60px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--teal) 0 50%, transparent 50%) 0 0 / 2px 10px repeat-y;
}
.remote-steps h3 { margin: 12px 0 6px; }
.remote-steps p { color: var(--ink-soft); margin: 0; max-width: 480px; }
.secure { margin-top: 8px; display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: var(--r-md); padding: 20px 22px; }
.secure svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.secure svg * { fill: none; stroke: var(--teal-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.secure p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.secure strong { color: var(--ink); }
@media (max-width: 860px) { .remote { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--teal-text); border-bottom: 2px solid var(--teal-text);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { color: var(--ink-soft); margin: -6px 0 22px; max-width: 620px; }
.faq-side p { color: var(--ink-soft); font-size: 18px; margin-top: 18px; max-width: 320px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact-section { background: var(--navy); color: var(--on-dark); }
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 7vw, 96px); }
.contact-info p { color: var(--on-dark-soft); font-size: 18px; margin-top: 20px; }
.contact-lines { list-style: none; padding: 0; margin: 36px 0 0; }
.contact-lines li { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-lines span { display: block; font-size: 14px; color: var(--on-dark-soft); }
.contact-lines a, .contact-lines div { font-family: var(--font-head); font-size: 21px; font-weight: 500; color: var(--on-dark); text-decoration: none; }
.contact-lines a:hover { color: var(--teal-bright); }

.form { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg);
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(43,179,177,.25); }
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field .error { display: none; color: #B42318; font-size: 14px; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #B42318; }
.field.invalid .error { display: block; }
@media (prefers-color-scheme: dark) { .field .error { color: #FF8A80; } .field.invalid input, .field.invalid textarea { border-color: #FF8A80; } }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-status { margin-top: 18px; font-size: 16px; border-radius: var(--r-sm); }
.form-status.ok { padding: 14px 16px; background: rgba(43,179,177,.15); color: var(--ink); border: 1px solid var(--teal); }
.form-status.fail { padding: 14px 16px; background: rgba(180,35,24,.08); color: var(--ink); border: 1px solid #B42318; }
.form button[disabled] { opacity: .6; cursor: wait; }
.form-hint { font-size: 14px; color: var(--ink-soft); margin: 0; flex: 1; min-width: 220px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Mobile Kontaktleiste ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: none; transform: translateY(140%); transition: transform .3s ease;
}
.mobile-cta .btn { width: 100%; box-shadow: 0 10px 30px rgba(11,37,48,.35); }
.mobile-cta.show { transform: none; }
@media (max-width: 760px) { .mobile-cta { display: block; } }

/* ---------- Fusszeile ---------- */
.site-footer { background: #061920; color: var(--on-dark-soft); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.site-footer img { height: 28px; width: auto; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--teal-bright); }
@media (max-width: 760px) { .site-footer { padding-bottom: 110px; } }

/* ---------- Einblenden beim Scrollen (dezent, einmalig) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Rechtliche Seiten ---------- */
.legal { padding: 150px 0 clamp(64px, 9vw, 110px); }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(38px, 5.5vw, 60px); letter-spacing: -0.035em; margin-bottom: 14px; }
.legal .updated { color: var(--ink-soft); margin-bottom: 44px; }
.legal h2 { font-size: 23px; margin: 44px 0 12px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink-soft); }
.back { display: inline-flex; margin-bottom: 28px; font-weight: 600; text-decoration: none; }
.back:hover { text-decoration: underline; }

@media (max-width: 520px) {
  .rates { gap: 22px; flex-wrap: nowrap; }
  .rate b { font-size: 28px; }
}
