/* Förderlotse Niedersachsen – Stylesheet. Blau und Gold, ruhig und vertrauenswürdig. */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #061230;
  --night-2: #040c24;
  --deep: #0b2150;
  --mid: #1d3f8f;
  --gold: #e8b04a;
  --gold-l: #ffd9a0;
  --paper: #f5f7fb;
  --white: #ffffff;
  --ink: #0c1a3a;
  --ink-soft: #44547a;
  --night-soft: #b4c1e0;
  --line-d: rgba(150, 185, 255, 0.22);
  --line-l: #d5dcec;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1160px;
  --header-h: 72px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 4.7vw, 3.9rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; max-width: 64ch; }

a { color: var(--mid); text-underline-offset: 3px; }
a:hover { color: var(--deep); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.hp { position: absolute; left: -9999px; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 10px 18px; background: var(--gold); color: var(--night);
  border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- Kopf ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(6, 18, 48, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-d);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; line-height: 1; }
.brand-name small {
  display: block; margin-top: 4px;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.03em;
  color: var(--night-soft);
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--night-soft); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--gold); }
.nav .nav-cta {
  padding: 10px 20px; background: var(--gold); color: var(--night); border-radius: 999px; font-weight: 700;
}
.nav .nav-cta:hover { background: var(--gold-l); color: var(--night); }
.nav a.nav-cta[aria-current="page"] { box-shadow: none; color: var(--night); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  background: transparent; color: #fff; border: 1px solid var(--line-d); border-radius: 12px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  background: var(--gold); color: var(--night);
  border: 2px solid var(--gold); border-radius: 999px;
  font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--gold-l); border-color: var(--gold-l); color: var(--night); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.btn--dark { background: var(--deep); border-color: var(--deep); color: #fff; }
.btn--dark:hover { background: var(--mid); border-color: var(--mid); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.text-btn {
  background: none; border: 0; padding: 12px 6px; min-height: 44px;
  color: var(--mid); font: 600 15px/1 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.text-btn:hover { color: var(--deep); }

/* ---------- Bänder ---------- */
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band--white { background: var(--white); }
.band--night { background: var(--night); color: #eef3ff; position: relative; overflow: hidden; }
.band--night a { color: var(--gold-l); }
.band--night a:hover { color: #fff; }
.band--night .btn { color: var(--night); }
.band--night .btn--ghost { color: #fff; }
.band--night h2, .band--night h3 { color: #fff; }
.band--night p { color: var(--night-soft); }
.band-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.band-head p { font-size: 1.12rem; color: var(--ink-soft); }
.band--night .band-head p { color: var(--night-soft); }

.lead { font-size: 1.22rem; line-height: 1.55; }

/* ---------- Startbereich ---------- */
.hero {
  position: relative; overflow: hidden; color: #eef3ff;
  background:
    radial-gradient(1100px 560px at 88% -8%, rgba(29, 63, 143, 0.6), transparent 62%),
    linear-gradient(180deg, var(--night) 0%, #081a40 100%);
  padding: clamp(44px, 6vw, 88px) 0 clamp(88px, 10vw, 140px);
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.hero h1 { color: #fff; }
.hero .lead { color: var(--night-soft); max-width: 34ch; }
.hero-facts { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; }
.hero-facts li {
  padding-left: 22px; position: relative; color: var(--night-soft); font-size: 1rem; max-width: 40ch;
}
.hero-facts li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px;
  border-radius: 50%; background: var(--gold);
}
.route-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.route-bg path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route-bg .route-main { opacity: 0.5; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 3s ease-out 0.3s forwards; }
.route-bg .route-faint { opacity: 0.18; stroke-dasharray: 3 9; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Fördercheck ---------- */
.fcheck {
  background: var(--white); color: var(--ink);
  border-radius: 16px; padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.fcheck h2, .fcheck h3 { color: var(--ink); }
.fcheck-title { font-size: 1.9rem; margin-bottom: 6px; }
.fcheck-sub { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 18px; }
.fcheck-nojs { display: none; }
html:not(.js) .fcheck-nojs { display: block; }
.fcheck-form { display: none; }
.js .fcheck-form { display: block; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fcheck-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.fcheck-progress li { height: 6px; border-radius: 3px; background: var(--line-l); }
.fcheck-progress li.done { background: var(--gold); }
.fcheck-step-label { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 6px; font-weight: 600; }
.fcheck fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fcheck legend { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; font-weight: 500; padding: 0; margin-bottom: 14px; color: var(--ink); }
.fcheck-opts { display: grid; gap: 10px; }
.fcheck-opt {
  display: flex; align-items: center; gap: 12px; min-height: 52px;
  padding: 12px 16px; border: 1.5px solid var(--line-l); border-radius: 10px;
  cursor: pointer; font-size: 1rem; line-height: 1.35; background: var(--white);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.fcheck-opt:hover { border-color: var(--mid); }
.fcheck-opt input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--deep); }
.fcheck-opt:has(input:checked) { border-color: var(--deep); background: #eef2fb; }
.fcheck-opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.fcheck-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.fcheck-error { margin: 14px 0 0; color: #8a1c1c; font-weight: 600; font-size: 0.95rem; }
.fcheck-result:focus { outline: none; }
.fcheck-result h3 { font-size: 1.7rem; }
.fcheck-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.fcheck-item { padding: 2px 0 2px 16px; border-left: 3px solid var(--gold); display: grid; gap: 2px; }
.fcheck-item strong { font-size: 1rem; color: var(--ink); }
.fcheck-item span { font-size: 0.98rem; color: var(--ink-soft); }
.fcheck-note { font-size: 0.9rem; color: var(--ink-soft); padding: 12px 14px; background: var(--paper); border-radius: 8px; max-width: none; }
.fcheck-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0 0; max-width: none; }

/* ---------- Grundregel ---------- */
.rule { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.rule h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); max-width: 14ch; }
.rule p { color: var(--ink-soft); font-size: 1.1rem; }
.seqs { display: grid; gap: 26px; }
.seq-label { font-size: 0.92rem; font-weight: 700; margin: 0 0 10px; color: var(--ink); }
.seq { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; align-items: center; }
.seq li {
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 1.5px solid var(--line-l); background: var(--white); color: var(--ink-soft);
}
.seq li + li { margin-left: 22px; position: relative; }
.seq li + li::before {
  content: ""; position: absolute; left: -22px; top: 50%; width: 22px; height: 2px; background: var(--line-l);
}
.seq--wrong li:last-child { border-style: dashed; color: #8a1c1c; border-color: #d9a3a3; background: #fdf4f4; }
.seq--right li { border-color: var(--gold); color: var(--ink); background: #fff9ee; }
.seq--right li + li::before { background: var(--gold); }

/* ---------- Leistungen als Zeilen ---------- */
.rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-l); }
.rows > li {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: 12px clamp(24px, 5vw, 72px);
  padding: 30px 0; border-bottom: 1px solid var(--line-l);
}
.rows h3 { margin: 0; font-size: 1.7rem; }
.rows p { margin: 0; color: var(--ink-soft); }
.rows .more { display: block; margin-top: 10px; font-weight: 600; }
.band--night .rows { border-color: var(--line-d); }
.band--night .rows > li { border-color: var(--line-d); }

/* ---------- Weg (Ablauf) ---------- */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: station; }
.route::before {
  content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(232, 176, 74, 0.35));
}
.route li { position: relative; padding-top: 56px; counter-increment: station; }
.route li::before {
  content: counter(station);
  position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: var(--night); font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--night);
}
.route h3 { font-size: 1.45rem; margin-bottom: 8px; }
.route p { margin: 0; font-size: 1rem; }
.band--paper .route::before, .band--white .route::before { background: linear-gradient(90deg, var(--gold), rgba(232, 176, 74, 0.4)); }
.band--paper .route li::before, .band--white .route li::before { box-shadow: 0 0 0 6px var(--paper); }
.band--white .route li::before { box-shadow: 0 0 0 6px var(--white); }
.band--paper .route h3, .band--white .route h3 { color: var(--ink); }
.band--paper .route p, .band--white .route p { color: var(--ink-soft); }

/* ---------- Tabelle ---------- */
.table-wrap { overflow-x: auto; }
table.geber { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-l); }
.geber caption { text-align: left; padding: 0 0 14px; color: var(--ink-soft); font-size: 0.95rem; caption-side: bottom; padding-top: 14px; }
.geber th, .geber td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line-l); font-size: 1rem; }
.geber thead th { background: var(--deep); color: #fff; font-size: 0.92rem; font-weight: 600; border-bottom: 0; }
.geber tbody th { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; width: 24%; }
.geber tbody tr:last-child th, .geber tbody tr:last-child td { border-bottom: 0; }
.geber td small { display: block; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Haltung ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.photo { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 48px -28px rgba(6, 18, 48, 0.5); }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 75%; }
.promises { margin: 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.promises li { padding-left: 22px; border-left: 3px solid var(--gold); }
.promises strong { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin-bottom: 4px; color: var(--ink); }
.promises span { color: var(--ink-soft); }

/* ---------- Fragen ---------- */
.faq { border-top: 1px solid var(--line-l); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; font-weight: 500; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.8rem; font-weight: 300; color: var(--mid);
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 48px 24px 0; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Seitenkopf der Unterseiten ---------- */
.page-head {
  position: relative; overflow: hidden; color: #eef3ff;
  background:
    radial-gradient(900px 420px at 90% -20%, rgba(29, 63, 143, 0.6), transparent 62%),
    linear-gradient(180deg, var(--night), #081a40);
  padding: clamp(40px, 6vw, 80px) 0;
}
.page-head .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-head.no-photo .wrap { grid-template-columns: minmax(0, 1fr); }
.page-head h1 { color: #fff; font-size: clamp(2.3rem, 4.8vw, 3.6rem); max-width: 18ch; }
.page-head p { color: var(--night-soft); font-size: 1.15rem; max-width: 46ch; }
.crumbs { font-size: 0.92rem; margin: 0 0 18px; color: var(--night-soft); max-width: none; }
.crumbs a { color: var(--night-soft); }
.crumbs a:hover { color: #fff; }
.page-head .photo img { aspect-ratio: 5 / 4; }

/* ---------- Text und Karten ---------- */
.prose { max-width: 740px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; max-width: 64ch; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--gold); font-weight: 700; }
.callout {
  margin: 1.6em 0; padding: 22px 26px; background: var(--white);
  border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; box-shadow: 0 0 0 1px var(--line-l);
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }

.defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.defs li { padding: 18px 0; border-top: 1px solid var(--line-l); }
.defs strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin-bottom: 4px; }
.defs span { color: var(--ink-soft); font-size: 1rem; }

.guide-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); }
.guide-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line-l); text-decoration: none; color: var(--ink);
}
.guide-list strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; display: block; }
.guide-list span { color: var(--ink-soft); }
.guide-list a:hover strong { color: var(--mid); text-decoration: underline; text-underline-offset: 4px; }
.guide-list .go { color: var(--mid); font-weight: 700; font-size: 0.95rem; white-space: nowrap; }

.stand { font-size: 0.92rem; color: var(--ink-soft); max-width: none; }
.sources a { margin-right: 14px; }

/* ---------- Kontakt und Formular ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.form-card { background: var(--white); border-radius: 16px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 0 0 1px var(--line-l); }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 600; font-size: 0.98rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid #9aa7c4; border-radius: 10px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--deep); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--deep); }
.check span { max-width: 52ch; }

/* ---------- Abschluss und Fuß ---------- */
.cta h2 { max-width: 20ch; }
.cta .route-bg { left: 48%; width: 52%; }
.cta .route-bg .route-main { animation: none; stroke-dashoffset: 0; opacity: 0.28; }
.cta .wrap { position: relative; z-index: 1; }

.site-footer { background: var(--night-2); color: var(--night-soft); padding: 56px 0 36px; font-size: 0.98rem; }
.site-footer a { color: var(--night-soft); text-decoration: none; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.site-footer h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; color: #fff; letter-spacing: 0; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 7px 0; }
.site-footer .brand-name { font-size: 1.5rem; }
.provider { max-width: 40ch; margin-top: 16px; }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: 0.9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.55rem; margin-top: 1.8em; }
.legal p { max-width: none; }
.note-box { padding: 14px 18px; border-radius: 10px; background: #fff7e6; border: 1px solid #f0d9a4; font-size: 0.95rem; max-width: none; }

/* ---------- Anpassung ---------- */
@media (max-width: 980px) {
  .hero .wrap, .rule, .split, .split--rev, .contact, .page-head .wrap { grid-template-columns: minmax(0, 1fr); }
  .route { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .route::before { left: 18px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--gold), rgba(232, 176, 74, 0.35)); }
  .route li { padding: 0 0 34px 62px; }
  .route li:last-child { padding-bottom: 0; }
  .rows > li { grid-template-columns: minmax(0, 1fr); }
  .defs { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .page-head .photo { order: -1; max-width: 520px; }
}

@media (max-width: 900px) {
  .js .nav-toggle { display: inline-flex; }
  .nav { flex-wrap: wrap; gap: 4px 20px; justify-content: flex-end; }
  .js .nav { display: none; }
  .js .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--night); border-bottom: 1px solid var(--line-d); padding: 8px 28px 24px;
  }
  .js .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line-d); font-size: 17px; }
  .js .nav.open .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .brand-name { font-size: 1.25rem; }
  .geber thead { display: none; }
  .geber, .geber tbody, .geber tr, .geber th, .geber td { display: block; width: 100%; }
  .geber tbody th { width: 100%; padding-bottom: 4px; border-bottom: 0; }
  .geber td { padding-top: 4px; }
  .faq summary { font-size: 1.25rem; }
  .guide-list a { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .seq { flex-direction: column; align-items: flex-start; }
  .seq li + li { margin-left: 0; margin-top: 18px; }
  .seq li + li::before { left: 26px; top: -18px; width: 2px; height: 18px; }
  .fcheck-nav .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-bg .route-main { animation: none; stroke-dashoffset: 0; }
  * { transition: none !important; }
}
