/* Boots-Rechner – zentrales Stylesheet (v4, 11.11.2026)
   Auffrischung nach Refactoring UI (Wathan/Schoger): feste Stufen für Abstände, Schrift, Farben und Schatten,
   weniger Rahmen, Bezeichnungen zurücknehmen, Akzentlinien. Aufbau und Klassennamen unverändert. */
/* Schrift Inter 4 (rsms.me, SIL Open Font License, Lizenz: fonts/inter-LICENSE.txt), auf Latein + deutsche Zeichen verkleinert, liegt auf dem eigenen Server (kein Google Fonts) */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  /* Primärfarbe Navy in Stufen (dunkel → hell) */
  --navy-900: #082a3f;
  --navy: #0b3954;
  --navy-700: #124e73;
  --navy-500: #2b6f99;
  --navy-100: #e4eef5;
  /* Türkis in Stufen */
  --teal-700: #0a6b6d;
  --teal: #0f8b8d;
  --teal-300: #7fd3d4;
  --teal-hell: #e2f4f4;
  --teal-50: #f1fafa;
  /* Akzent Sand-Orange */
  --akzent: #f2a541;
  --akzent-hell: #fff4e2;
  --akzent-text: #7a4d00;
  /* Grautöne mit leichtem Blaustich statt neutralem Grau */
  --grau-900: #17252f;
  --grau-700: #3a4b57;
  --grau-500: #5b6b75;
  --grau-300: #a9b8c1;
  --grau-200: #d5e0e6;
  --grau-100: #edf2f5;
  --sand: #f6f3ec;
  --weiss: #ffffff;
  /* alte Namen bleiben gültig */
  --text: var(--grau-900);
  --grau: var(--grau-500);
  --linie: var(--grau-200);
  --navy-2: var(--navy-700);
  /* Abstände: feste Stufen */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  /* Ecken */
  --radius: 14px;
  --radius-klein: 8px;
  /* Schatten in Höhenstufen, je zweiteilig (weicher Schlagschatten + enger Kontaktschatten) */
  --schatten-1: 0 1px 3px rgba(8, 42, 63, .10), 0 1px 2px rgba(8, 42, 63, .06);
  --schatten-2: 0 4px 10px rgba(8, 42, 63, .08), 0 2px 4px rgba(8, 42, 63, .06);
  --schatten-3: 0 12px 24px rgba(8, 42, 63, .10), 0 4px 8px rgba(8, 42, 63, .06);
  --schatten: var(--schatten-2);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-optical-sizing: auto;
  color: var(--text); background: var(--sand); line-height: 1.65; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-700); text-decoration-color: rgba(18, 78, 115, .35); text-underline-offset: 3px; }
a:hover { color: var(--teal); text-decoration-color: currentColor; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); letter-spacing: -.015em; }
h1 { font-weight: 800; letter-spacing: -.025em; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--navy); color: var(--weiss); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(255,255,255,.06), var(--schatten-1); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 62px; gap: var(--s4); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--weiss); text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; }
.brand span { color: var(--teal-300); }
.nav { display: flex; gap: var(--s1); flex-wrap: wrap; }
.nav a { color: #cfe3ec; text-decoration: none; padding: var(--s2) var(--s3); border-radius: var(--radius-klein); font-size: .94rem; font-weight: 500; }
.nav a:hover { background: rgba(255,255,255,.10); color: var(--weiss); }
.nav a.aktiv { background: rgba(127, 211, 212, .16); color: var(--weiss); box-shadow: inset 0 -2px 0 var(--teal-300); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.4); color: var(--weiss); border-radius: var(--radius-klein); padding: 6px 10px; font-size: 1rem; cursor: pointer; }

/* Hero mit dezentem Wellenmuster im Hintergrund */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(127, 211, 212, .18) 0, transparent 40%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--teal) 100%);
  color: var(--weiss); padding: var(--s8) 0 96px; position: relative; overflow: hidden;
}
.hero h1 { color: var(--weiss); font-size: clamp(1.9rem, 4vw, 2.75rem); margin: 0 0 var(--s4); max-width: 760px; }
.hero p { font-size: 1.15rem; max-width: 640px; color: #d6ebf1; margin: 0 0 var(--s6); }
.hero .welle { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; }
.btn {
  display: inline-block; background: var(--akzent); color: var(--navy-900); font-weight: 700; padding: 13px 24px;
  border-radius: 10px; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem;
  box-shadow: 0 2px 0 #d48a28, var(--schatten-1); transition: transform .12s, box-shadow .12s, background .12s;
}
.btn:hover { background: #f5b25a; color: var(--navy-900); transform: translateY(-1px); box-shadow: 0 3px 0 #d48a28, var(--schatten-2); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 #d48a28; }
.btn-hell { background: rgba(255,255,255,.12); color: var(--weiss); margin-left: var(--s2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.btn-hell:hover { background: rgba(255,255,255,.2); color: var(--weiss); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }

/* Abschnitte */
.abschnitt { padding: var(--s7) 0; }
.abschnitt h2 { font-size: 1.75rem; margin: 0 0 var(--s2); }
.abschnitt .lead { color: var(--grau-500); margin: 0 0 var(--s6); max-width: 680px; font-size: 1.05rem; }
.weiss-bg { background: var(--weiss); }

/* Rechner-Karten: Schatten statt Rahmen, Symbol in getönter Fläche, Akzentlinie oben beim Überfahren */
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--s5); }
.karte {
  background: var(--weiss); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--schatten-1);
  text-decoration: none; color: var(--text); display: flex; flex-direction: column; position: relative;
  border-top: 3px solid transparent; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.karte:hover { transform: translateY(-3px); box-shadow: var(--schatten-3); border-top-color: var(--teal); color: var(--text); }
.karte .icon {
  font-size: 1.5rem; line-height: 1; width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--teal-hell); border-radius: 12px; margin-bottom: var(--s4);
}
.karte h3 { margin: 0 0 var(--s2); font-size: 1.15rem; }
.karte p { margin: 0 0 var(--s4); color: var(--grau-500); font-size: .97rem; flex: 1; }
.karte .mehr { color: var(--teal-700); font-weight: 700; font-size: .95rem; }

/* Infospalten mit kurzer Akzentlinie */
.spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s6); }
.spalten > div { padding-top: var(--s4); border-top: 3px solid var(--teal-hell); }
.spalten h3 { margin: 0 0 var(--s2); font-size: 1.08rem; }
.spalten p { margin: 0; color: var(--grau-500); }

/* Inhalt / Textseiten */
.breadcrumb { font-size: .88rem; color: var(--grau-500); padding: var(--s4) 0 0; }
.breadcrumb a { color: var(--grau-500); }
main.wrap > h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: var(--s3) 0 var(--s3); max-width: 820px; }
main.wrap > p { color: var(--grau-700); max-width: 72ch; font-size: 1.05rem; }
.text-seite { background: var(--weiss); border-radius: var(--radius); padding: var(--s6) var(--s6); margin: var(--s4) 0 var(--s7); box-shadow: var(--schatten-1); }
.text-seite > * { max-width: 72ch; }
.text-seite h1 { margin-top: 0; }
.text-seite h2 { font-size: 1.25rem; margin-top: var(--s6); }

/* Rechner-Layout */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s6); align-items: start; margin: var(--s5) 0 var(--s7); }
.calc-card { background: var(--weiss); border-radius: var(--radius); padding: var(--s6); box-shadow: var(--schatten-2); border-top: 4px solid var(--teal); }
.calc-card h2 { margin-top: 0; }
.section-label {
  font-weight: 700; color: var(--teal-700); margin: var(--s5) 0 var(--s3); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: var(--s3);
}
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--grau-100); }
form > .section-label:first-child { margin-top: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form-group { margin-bottom: var(--s4); }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .93rem; color: var(--grau-900); }
.hint { color: var(--grau-500); font-weight: 400; font-size: .85rem; }
input[type=number], input[type=text], select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--grau-200); border-radius: var(--radius-klein);
  font-size: 1rem; background: var(--grau-100); color: var(--text); transition: border-color .12s, background .12s, box-shadow .12s;
}
input[type=number]:hover, input[type=text]:hover, select:hover { border-color: var(--grau-300); }
input:focus, select:focus { outline: none; background: var(--weiss); border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 139, 141, .2); }
.range-wrapper { display: flex; align-items: center; gap: var(--s3); min-height: 44px; }
.range-wrapper input[type=range] { flex: 1; accent-color: var(--teal); }
.range-val { min-width: 70px; text-align: center; font-weight: 700; color: var(--navy); background: var(--teal-hell); border-radius: var(--radius-klein); padding: 4px 8px; font-variant-numeric: tabular-nums; }
.calc-card .btn { margin-top: var(--s2); width: 100%; font-size: 1.05rem; padding: 14px 24px; }

/* Ergebnis: Werte betonen, Bezeichnungen zurücknehmen (kein Grau auf Farbe, sondern getöntes Hell) */
.result-box {
  display: none; margin-top: var(--s5); color: var(--weiss); border-radius: var(--radius); padding: var(--s5) var(--s5) var(--s4);
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy) 60%, var(--navy-700) 100%);
  box-shadow: var(--schatten-3);
}
.result-box.show { display: block; }
.result-box h3 { color: var(--teal-300); margin: 0 0 var(--s1); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.result-main { font-size: 2.25rem; font-weight: 800; margin-bottom: var(--s4); letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.result-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.result-row:last-of-type { border-bottom: 0; }
.result-row > span:first-child { color: #a9cfe0; font-size: .93rem; }
.result-row .value { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.result-row .highlight { color: var(--akzent); }
.result-tip { margin-top: var(--s4); font-size: .93rem; color: #d6ebf1; background: rgba(255,255,255,.06); border-left: 3px solid var(--teal-300); border-radius: 0 var(--radius-klein) var(--radius-klein) 0; padding: var(--s3) var(--s4); }
.result-tip p { margin: 0 0 var(--s2); }
.result-tip p:last-child { margin-bottom: 0; }

/* Seitenleiste */
.sidebar-card { background: var(--weiss); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--schatten-1); margin-bottom: var(--s5); }
.sidebar-card h4 { margin: 0 0 var(--s3); font-size: 1rem; }
.sidebar-card .quellen { list-style: none; padding: 0; margin: 0; }
.sidebar-card .quellen li { padding: 6px 0; border-bottom: 1px solid var(--grau-100); }
.sidebar-card .quellen li:last-child { border-bottom: 0; }

/* Erklärtext unter dem Rechner: angenehme Zeilenlänge, Listen mit eigenen Punkten */
.info-text { background: var(--weiss); border-radius: var(--radius); padding: var(--s6) var(--s7); box-shadow: var(--schatten-1); margin-bottom: var(--s7); }
.info-text > p, .info-text > ul, .info-text > h2 { max-width: 72ch; }
.info-text h2 { font-size: 1.35rem; margin: var(--s6) 0 var(--s3); }
.info-text h2:first-child { margin-top: 0; }
.info-text > ul { list-style: none; padding-left: 0; }
.info-text > ul > li { position: relative; padding-left: 26px; margin-bottom: var(--s2); }
.info-text > ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-hell); }
.info-text > ul.quellen > li::before { background: var(--grau-300); box-shadow: none; width: 6px; height: 6px; }

/* FAQ: Flächen statt Rahmen */
.faq h2 { margin-bottom: var(--s4); }
.faq details { background: var(--weiss); border-radius: var(--radius-klein); padding: var(--s4) var(--s5); margin-bottom: var(--s3); box-shadow: var(--schatten-1); }
.faq details[open] { box-shadow: var(--schatten-2); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: var(--s4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.3rem; line-height: 1; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: var(--s3) 0 0; color: var(--grau-700); max-width: 72ch; }
main > .faq { margin-bottom: var(--s7); }

/* Footer */
.site-footer { background: var(--navy-900); color: #a9cfe0; padding: var(--s7) 0 var(--s5); font-size: .93rem; }
.site-footer a { color: #e6f3f7; text-decoration: none; }
.site-footer a:hover { color: var(--teal-300); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s5); }
.site-footer h4 { color: var(--weiss); margin: 0 0 var(--s3); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--s2); }
.footer-unten { border-top: 1px solid rgba(255,255,255,.1); margin-top: var(--s6); padding-top: var(--s4); color: #7fa3b5; }

/* Tabellen: Zebra statt Linien, Zahlenspalten rechtsbündig */
.tabelle-wrap { overflow-x: auto; margin: var(--s3) 0 var(--s4); border-radius: var(--radius-klein); }
.tabelle { width: 100%; border-collapse: collapse; font-size: .94rem; background: var(--weiss); font-variant-numeric: tabular-nums; }
.tabelle td { white-space: nowrap; }
.tabelle th, .tabelle td { padding: 9px 12px; text-align: left; }
.tabelle th { background: var(--navy-100); color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.tabelle tbody tr:nth-child(even) td { background: var(--grau-100); }
.tabelle th:not(:first-child), .tabelle td:not(:first-child) { text-align: right; }
.result-box .tabelle { background: transparent; color: var(--weiss); margin-top: var(--s1); }
.result-box .tabelle th { background: rgba(255,255,255,.08); color: var(--teal-300); }
.result-box .tabelle tbody tr:nth-child(even) td { background: rgba(255,255,255,.04); }
.result-box .tabelle tr.aktiv td { color: var(--akzent); font-weight: 700; background: rgba(242,165,65,.1); }
.quellen { font-size: .88rem; color: var(--grau-500); }
.quellen li { margin-bottom: var(--s1); }
.schaetzung { display: inline-block; background: var(--akzent-hell); color: var(--akzent-text); border-radius: 999px; padding: 1px 9px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; vertical-align: middle; }
.result-box .schaetzung { background: rgba(242,165,65,.18); color: var(--akzent); }
.stand { font-size: .85rem; color: var(--grau-500); }

/* Weniger Bewegung, wenn im Betriebssystem eingestellt */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Mobil */
@media (max-width: 860px) {
  .calc-layout { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: var(--s7) 0 80px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: var(--s2) var(--s3) var(--s4); box-shadow: var(--schatten-3); }
  .nav.offen { display: flex; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .text-seite, .info-text { padding: var(--s5) var(--s4); }
  .btn-hell { margin: 10px 0 0; }
  .calc-card { padding: var(--s5) var(--s4); }
  .result-box { padding: var(--s5) var(--s4) var(--s4); }
  .result-main { font-size: 1.9rem; }
  .result-row { flex-wrap: wrap; }
  .tabelle th, .tabelle td { padding: 7px 6px; font-size: .86rem; }
}

/* ===== Umbau Startseite (v5, 11.11.2026) ===== */
/* Hero: zweispaltig, rechts der Schnell-Check als „Beweis“, dass die Seite sofort etwas liefert */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .9fr); gap: var(--s7); align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-block; font-size: .78rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-300) !important; background: rgba(127, 211, 212, .12); padding: 5px 12px; border-radius: 999px; margin: 0 0 var(--s4) !important; }
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24'%3E%3Cpath d='M0 12c20 0 20-8 40-8s20 8 40 8 20-8 40-8' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
}
.schnell-karte {
  background: var(--weiss); color: var(--text); border-radius: 18px; padding: var(--s5);
  box-shadow: 0 24px 48px rgba(3, 20, 31, .35), 0 6px 12px rgba(3, 20, 31, .2);
}
.schnell-kopf { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.schnell-kopf h2 { font-size: 1.1rem; margin: 0; }
.schnell-kopf p { margin: 0; font-size: .85rem; color: var(--grau-500); }
.schnell-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-hell); display: grid; place-items: center; flex: none; }
.schnell-karte label { display: block; font-weight: 600; font-size: .85rem; margin: var(--s3) 0 6px; color: var(--grau-700); }
.schnell-ergebnis { margin-top: var(--s4); background: var(--navy); color: var(--weiss); border-radius: 12px; padding: var(--s4); text-align: center; }
.schnell-zahl { display: block; font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.schnell-neben { display: block; color: #a9cfe0; font-size: .9rem; margin-top: var(--s1); }
.schnell-link { display: block; text-align: center; margin-top: var(--s3); font-size: .88rem; font-weight: 600; color: var(--teal-700); text-decoration: none; }
.schnell-link:hover { text-decoration: underline; }

/* Einheitliche Linien-Symbole */
.icon svg, .schnell-icon svg, .vertrauen svg { width: 26px; height: 26px; fill: none; stroke: var(--teal-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Vertrauensleiste: ragt leicht in den Hero hinein (Überlappung schafft Tiefe) */
.vertrauen {
  list-style: none; margin: -28px 0 0; padding: var(--s4) var(--s5); position: relative; z-index: 2;
  background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten-2);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4);
}
.vertrauen li { display: flex; align-items: center; gap: var(--s3); font-size: .92rem; color: var(--grau-700); }
.vertrauen svg { width: 22px; height: 22px; flex: none; stroke: var(--weiss); stroke-width: 2.6; background: var(--teal); border-radius: 50%; padding: 4px; }
.vertrauen b { color: var(--navy); }

/* Gruppenüberschriften der Rechnerkarten */
.gruppe { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-700); margin: var(--s6) 0 var(--s4); display: flex; align-items: center; gap: var(--s3); }
.gruppe::after { content: ""; flex: 1; height: 1px; background: var(--grau-200); }
.karte .icon svg { width: 28px; height: 28px; }
.karte:hover .icon { background: var(--teal); }
.karte:hover .icon svg { stroke: var(--weiss); }
.karte .mehr { margin-top: auto; }
.karte:hover .mehr { color: var(--teal); }

/* „So arbeiten die Rechner“ als nummerierte Schritte */
.schritte { list-style: none; counter-reset: schritt; margin: var(--s5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.schritte li { counter-increment: schritt; position: relative; padding-top: 56px; }
.schritte li::before {
  content: counter(schritt); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; color: var(--weiss);
  background: linear-gradient(150deg, var(--teal) 0%, var(--navy-700) 100%); box-shadow: var(--schatten-1);
}
.schritte h3 { margin: 0 0 var(--s2); font-size: 1.08rem; }
.schritte p { margin: 0; color: var(--grau-500); }

/* Rechnerseiten: Überschrift mit Akzentstrich */
main.wrap > h1 { position: relative; padding-top: var(--s4); }
main.wrap > h1::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 4px; border-radius: 4px; background: var(--akzent); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .vertrauen { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .schritte { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
}

/* ===== Verbesserungen v6 (11.11.2026) ===== */
/* Weiter-Knopf zum nächsten Rechner in der Ergebnisbox */
.result-box .weiter {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-top: var(--s4);
  background: var(--akzent); color: var(--navy-900); font-weight: 700; text-decoration: none;
  padding: var(--s3) var(--s4); border-radius: 10px; box-shadow: 0 2px 0 #d48a28;
}
.result-box .weiter:hover { background: #f5b25a; color: var(--navy-900); }
.schnell-kopf .schaetzung { margin-left: 4px; }

/* Handy: Schnell-Check direkt unter die Überschrift, Einleitung danach */
@media (max-width: 900px) {
  .hero-text { display: contents; }
  .hero-grid { gap: var(--s4); }
  .hero-grid > * , .hero-text > * { margin: 0 !important; }
  .eyebrow { order: 1; justify-self: start; }
  .hero-text h1 { order: 2; }
  .schnell-karte { order: 3; margin: var(--s2) 0 !important; }
  .hero-text > p:not(.eyebrow) { order: 4; }
  .hero-text .btn { order: 5; justify-self: stretch; text-align: center; }
  .hero-text .btn-hell { order: 6; }
}
@media (max-width: 640px) {
  .eyebrow { font-size: .68rem !important; letter-spacing: .04em; padding: 4px 10px; }
}

/* Inter ist etwas breiter: Tabellen in der schmalen Seitenleiste dürfen umbrechen */
.sidebar-card .tabelle td { white-space: normal; }
.sidebar-card .tabelle th, .sidebar-card .tabelle td { padding: 8px 8px; }

/* ===== Fotos (v9, 11.11.2026) ===== */
/* Kopfbild der Startseite: Foto unter einer dunklen Verlaufsfläche, damit weiße Schrift sicher lesbar bleibt */
.hero-foto { position: absolute; inset: 0; z-index: 0; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.hero-foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(8, 42, 63, .94) 0%, rgba(11, 57, 84, .86) 45%, rgba(15, 139, 141, .55) 100%);
}
.hero::before { z-index: 1; }
.hero .welle { z-index: 2; }
.hero-grid { z-index: 2; }

/* Bild oben in der Seitenleiste der Rechnerseiten */
.seiten-bild { margin: 0 0 var(--s5); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten-2); background: var(--navy-100); }
.seiten-bild img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 860px) {
  .seiten-bild img { aspect-ratio: 16 / 9; }
}

/* Wellen entfernt (Nutzer 11.11.2026: „stören“): kein Wellenmuster, gerade Unterkante am Kopfbereich */
.hero::before { display: none; }
.hero .welle { display: none; }
.hero { padding-bottom: var(--s8); }

/* Vertrauensleiste entfernt (Nutzer 11.11.2026), Inhalt steht in „So arbeiten die Rechner“ */
.hero { padding-bottom: var(--s7); }
