/* Zulassungsservice Goslar – Stylesheet
   Layout nach Figma „Homepage V2.1“, Blau/Nachtblau aus dem Branding, Typo und Ruhe wie kocakmedia.de.
   Keine externen Requests: Inter Tight liegt lokal unter /assets/fonts (auf Apple-Geräten greift SF Pro). */

@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/InterTight-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Design-Tokens */
:root {
  --blue: #2f6bff;
  --blue-600: #1f58e8;
  --navy: #14213d;
  --ink: #1d1d1f;
  --grey: #6e6e73;
  --grey-2: #86868b;
  --bg: #f5f5f7;
  --surface: #fff;
  --line: #d2d2d7;
  --line-2: #e8e8ed;
  --wa: #25d366;
  --ok: #1f8f4e;
  --ok-bg: #edf7f0;
  --todo-bg: #fff2bd;
  --todo: #735400;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Tight", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --r-card: 28px;
  --gutter: 20px;
  --pad: 40px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 92px;
  color-scheme: light;
}

/* ---------- Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; letter-spacing: -.01em;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--blue); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; transition: top .2s; }
.skip:focus { top: 16px; }

@view-transition { navigation: auto; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: 120px var(--pad) 0; }
.section--tight { padding-top: 64px; }

/* ---------- Typografie */
.h1, .h2, .h3 { font-weight: 600; text-wrap: balance; }
.h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: 1.02; letter-spacing: -.04em; }
.h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
.h2--sm { font-size: clamp(32px, 3.6vw, 52px); }
.h3 { font-size: clamp(21px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -.02em; }
.muted { color: rgba(29, 29, 31, .38); }
.lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--grey); line-height: 1.45; max-width: 36ch; }
.text { color: var(--grey); font-size: 16px; line-height: 1.5; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--grey); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }

/* ---------- Buttons */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 590; font-size: 16px; white-space: nowrap; overflow: hidden;
  transition: transform .3s var(--ease), background-color .2s, border-color .2s;
}
.btn::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { --bg: var(--blue-600); }
.btn:active { transform: scale(.98); }
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.arr { transform: translateX(3px); }
.btn--ink { --bg: var(--ink); } .btn--ink:hover { --bg: #000; }
.btn--white { --bg: #fff; --fg: var(--ink); } .btn--white:hover { --bg: #f0f0f2; }
.btn--glass { --bg: rgba(255, 255, 255, .14); --fg: #fff; --bd: rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.btn--glass:hover { --bg: rgba(255, 255, 255, .24); }
.btn--wa { --bg: var(--wa); --fg: #07361b; } .btn--wa:hover { --bg: #1fc45c; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 500; }
.link::after { content: "›"; font-size: 1.2em; line-height: 1; transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(3px); }

/* ---------- Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo img { width: 38px; height: 38px; }
.logo__word { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.logo__word b { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.logo__word small { margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--grey); letter-spacing: 0; }

/* ---------- Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; pointer-events: none; }
.site-header .wrap { padding-top: 20px; }
.nav {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px; padding: 0 16px 0 26px; border-radius: 22px; color: #fff;
  transition: background-color .4s var(--ease), color .3s, box-shadow .4s var(--ease), transform .45s var(--ease), height .4s var(--ease);
}
.nav .logo { color: #fff; } .nav .logo__word small { color: rgba(255, 255, 255, .65); }
.nav__links { display: flex; gap: 2px; font-size: 15px; white-space: nowrap; }
.nav__links a { padding: 8px 12px; border-radius: 999px; color: rgba(255, 255, 255, .85); transition: color .2s, background-color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .12); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__tel { font-weight: 500; font-size: 15px; white-space: nowrap; }
.is-scrolled .nav { background: rgba(255, 255, 255, .8); color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 10px 30px -20px rgba(0, 0, 0, .3); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); height: 62px; }
.is-scrolled .nav .logo { color: var(--ink); } .is-scrolled .nav .logo__word small { color: var(--grey); }
.is-scrolled .nav__links a { color: rgba(29, 29, 31, .8); }
.is-scrolled .nav__links a:hover, .is-scrolled .nav__links a[aria-current="page"] { color: var(--ink); background: var(--bg); }
.is-hidden .nav { transform: translateY(-120%); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .is-scrolled .nav { background: #fff; } }
.nav .nav__burger { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); background: #fff; color: var(--ink);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s .35s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 62px; padding-left: 6px; }
.menu nav { margin-top: 24px; display: flex; flex-direction: column; }
.menu nav a { padding: 14px 6px; font-size: 30px; font-weight: 600; letter-spacing: -.03em; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(2) { transition-delay: .03s; } .menu.is-open nav a:nth-child(3) { transition-delay: .06s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .09s; } .menu.is-open nav a:nth-child(5) { transition-delay: .12s; }
.menu.is-open nav a:nth-child(6) { transition-delay: .15s; } .menu.is-open nav a:nth-child(7) { transition-delay: .18s; }
.menu__foot { margin-top: auto; display: grid; gap: 10px; }
.menu__foot p { color: var(--grey); font-size: 15px; margin-bottom: 6px; }
.burger { width: 46px; height: 46px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .14); color: inherit; display: grid; place-items: center; }
.is-scrolled .burger, .menu .burger { background: var(--bg); }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.menu .burger span { box-shadow: none; transform: rotate(45deg); }
.menu .burger span::after { content: ""; display: block; width: 18px; height: 1.5px; background: currentColor; transform: rotate(-90deg); }

.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 16px 40px -16px rgba(0, 0, 0, .35);
  transform: translateY(150%); transition: transform .5s var(--ease);
}
.dock.is-visible { transform: none; }
.dock .btn { min-height: 48px; flex: 1; }
.dock .btn--sq { flex: none; width: 48px; padding: 0; }
.dock .btn--sq svg { width: 21px; height: 21px; }
.dock .btn--white { --bg: var(--bg); }

/* ---------- Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(820px, 100svh); margin-top: 20px; border-radius: var(--r-card);
  background: #0d1526; color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 40px) 48px 56px;
}
.hero__media { position: absolute; inset: -48px 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 16, 32, .72) 0%, rgba(10, 16, 32, .3) 50%, rgba(10, 16, 32, .15) 100%), linear-gradient(0deg, rgba(10, 16, 32, .7) 0%, rgba(10, 16, 32, 0) 55%), linear-gradient(180deg, rgba(10, 16, 32, .45) 0%, rgba(10, 16, 32, 0) 22%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: end; }
.hero h1 .muted { color: rgba(255, 255, 255, .5); }
.hero__side p { color: rgba(255, 255, 255, .82); font-size: 18px; line-height: 1.45; margin-bottom: 26px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero--page { min-height: 560px; }
.hero--page .h1 { font-size: clamp(40px, 5.6vw, 80px); }
.hero--plain { min-height: 380px; background: var(--navy); }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 20px; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "›"; margin-right: 8px; }

.split .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.split .ln > span { display: block; transform: translateY(105%); animation: line-up 1.1s var(--ease) forwards; }
.split .ln:nth-child(2) > span { animation-delay: .08s; } .split .ln:nth-child(3) > span { animation-delay: .16s; }
.fade-in { opacity: 0; animation: fade-up 1s var(--ease) .3s forwards; }

/* ---------- Kennzahlen (wie kocakmedia.de: große Zahl, kleine Zeile darunter) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; padding: 36px 40px; border-radius: var(--r-card); background: var(--surface); }
.stat { padding: 0 24px; border-left: 1px solid var(--line-2); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat__n { font-size: clamp(32px, 3vw, 44px); font-weight: 600; letter-spacing: -.04em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat__t { margin-top: 10px; font-size: 15px; color: var(--grey); line-height: 1.35; }

/* ---------- Leistungen */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 340px; padding: 32px; border-radius: var(--r-card); background: var(--surface);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .35); }
.tile__body { display: grid; gap: 8px; }
.tile__price { display: flex; align-items: baseline; gap: 8px; }
.tile__price b { font-size: 32px; font-weight: 600; letter-spacing: -.035em; }
.tile__price span { font-size: 14px; color: var(--grey); }
.tile--short { min-height: 200px; }
.tile--blue { background: var(--blue); color: #fff; }
.tile--blue .text, .tile--blue .tile__price span { color: rgba(255, 255, 255, .8); }

/* ---------- Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--surface); padding: 36px; }
.card--photo { grid-column: span 2; min-height: 480px; display: flex; align-items: flex-end; color: #fff; background: var(--navy); }
.card--photo img { position: absolute; left: 0; top: -7.5%; width: 100%; height: 115%; object-fit: cover; }
.card--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 16, 32, .75) 0%, rgba(10, 16, 32, 0) 55%); }
.card--photo .h2 { position: relative; z-index: 1; font-size: clamp(34px, 3.8vw, 56px); }
.card--dark { background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.card--dark .text { color: rgba(255, 255, 255, .7); }
.card--blue { background: var(--blue); color: #fff; }
.card--blue .text { color: rgba(255, 255, 255, .82); }
.card--split { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 300px; }
.card--wide { grid-column: span 2; }
.card .h3 + .text { margin-top: 10px; }
.big { font-size: clamp(72px, 7.4vw, 112px); font-weight: 600; letter-spacing: -.055em; line-height: .95; font-variant-numeric: tabular-nums; }
.clock-live { font-size: 15px; color: rgba(255, 255, 255, .7); }
.clock-live b { color: #fff; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 5px 11px; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 600; color: var(--grey); }

/* ---------- Ablauf (ohne Nummern: Linien wie kocakmedia.de, Schritte hellen beim Scrollen auf) */
.steps-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 80px; align-items: center; }
.steps { margin-top: 48px; }
.step { padding: 24px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step h3 { font-size: clamp(22px, 1.9vw, 26px); font-weight: 600; letter-spacing: -.025em; color: rgba(29, 29, 31, .3); transition: color .6s var(--ease); }
.step p { margin-top: 6px; color: rgba(110, 110, 115, .55); transition: color .6s var(--ease); max-width: 46ch; }
.step.is-active h3 { color: var(--ink); }
.step.is-active p { color: var(--grey); }
.photo-card { position: relative; overflow: hidden; border-radius: var(--r-card); aspect-ratio: 600 / 640; background: var(--navy); }
.photo-card > img { width: 100%; height: 100%; object-fit: cover; }
.toast {
  position: absolute; left: 24px; bottom: 24px; right: 24px; max-width: 380px;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .8s var(--ease);
}
.toast.is-in { opacity: 1; transform: none; }
.toast img { width: 38px; height: 38px; flex: none; }
.toast b { display: block; font-size: 15px; font-weight: 600; }
.toast span { font-size: 14px; color: var(--grey); }
.toast time { margin-left: auto; align-self: flex-start; font-size: 12px; color: var(--grey-2); }

/* ---------- Umland (schlichte Liste) */
.panel { background: var(--surface); border-radius: var(--r-card); padding: 48px; }
.panel .sec-head { margin-bottom: 32px; }
.routes { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.route { display: flex; align-items: baseline; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.route b { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.route small { font-size: 13px; color: var(--grey-2); }
.route span { margin-left: auto; font-weight: 600; white-space: nowrap; }

/* ---------- FAQ (wie kocakmedia.de: Linien, + / –) */
.faq-wrap { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 80px; align-items: start; }
.faq-intro { display: grid; gap: 20px; justify-items: start; position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; cursor: pointer; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] summary::after { content: "–"; }
.faq .ans { overflow: hidden; }
.faq .ans p { padding-bottom: 26px; max-width: 620px; font-size: 16px; color: var(--grey); }

/* ---------- Dokumente / Formular */
.docs { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 56px; padding: 56px 24px 24px 56px; border-radius: var(--r-card); background: var(--navy); color: #fff; }
.docs__info { display: grid; gap: 24px; align-content: start; padding-bottom: 32px; }
.docs__info > p { color: rgba(255, 255, 255, .7); max-width: 44ch; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; }
.checklist li img { width: 20px; height: 20px; flex: none; }
.contact-rows { display: grid; margin-top: 8px; }
.contact-rows div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.contact-rows dt { color: rgba(255, 255, 255, .55); }
.contact-rows dd { margin: 0; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.contact-rows a:hover { color: #9db8ff; }

.form { background: #fff; color: var(--ink); border-radius: 22px; padding: 32px; display: grid; gap: 16px; align-content: start; }
.form__title { font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 500; color: var(--grey); }
.input { width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); font-size: 16px; outline: none; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.input::placeholder { color: var(--grey-2); }
.input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(47, 107, 255, .12); }
textarea.input { min-height: 96px; resize: vertical; }
select.input { appearance: none; padding-right: 36px; text-overflow: ellipsis; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231d1d1f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field.is-invalid .input { border-color: #d6334a; background: #fff6f7; }
.form__docs-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 6px; font-size: 15px; font-weight: 600; }
.form__docs-head small { font-size: 13px; font-weight: 400; color: var(--grey); }
.upload { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 10px 12px 16px; border-radius: 14px; border: 1px dashed var(--line); transition: background-color .2s, border-color .2s; }
.upload:hover, .upload.is-drag { border-color: var(--blue); background: #f4f7ff; }
.upload > svg { width: 20px; height: 20px; flex: none; color: var(--grey-2); }
.upload__txt { flex: 1; min-width: 0; display: grid; gap: 1px; }
.upload__txt b { font-size: 15px; font-weight: 500; }
.upload__txt small { font-size: 13px; color: var(--grey); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.upload__btn { padding: 8px 14px; border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 500; white-space: nowrap; pointer-events: none; }
.upload.is-done { border-style: solid; border-color: rgba(31, 143, 78, .4); background: var(--ok-bg); }
.upload.is-done > svg, .upload.is-done .upload__txt small { color: var(--ok); }
.upload.is-done .upload__btn { background: #fff; }
.upload.is-invalid { border-color: #d6334a; background: #fff6f7; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--grey); cursor: pointer; padding-top: 4px; }
.check input { appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 6px; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.check.is-invalid input { border-color: #d6334a; }
.form__note { font-size: 13px; color: var(--grey); }
.form__msg { display: none; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.form__msg.is-error { display: block; background: #fff1f3; color: #a3142c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__done { display: none; text-align: center; padding: 40px 12px; gap: 12px; justify-items: center; }
.form__done img { width: 56px; height: 56px; animation: pop .7s var(--ease) both; }
.form.is-sent > :not(.form__done) { display: none; }
.form.is-sent .form__done { display: grid; }

/* ---------- Unterseiten */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-2--wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.prose { display: grid; gap: 16px; color: var(--grey); font-size: 18px; line-height: 1.55; max-width: 62ch; }
.prose > .h2 { color: var(--ink); margin-bottom: 8px; }
.prose h2:not(.h2), .prose h3 { color: var(--ink); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-top: 16px; }
.prose h2:not(.h2) { font-size: 26px; }
.prose h3 { font-size: 20px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--blue); }
.prose ul { display: grid; gap: 6px; }
.prose ul li { padding-left: 18px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.ptable { width: 100%; border-collapse: collapse; }
.ptable caption { text-align: left; font-size: 22px; font-weight: 600; letter-spacing: -.02em; padding-bottom: 12px; }
.ptable th, .ptable td { text-align: left; padding: 18px 0; border-top: 1px solid var(--line-2); vertical-align: baseline; }
.ptable th { font-weight: 500; padding-right: 20px; }
.ptable th small { display: block; font-weight: 400; font-size: 14px; color: var(--grey); margin-top: 2px; }
.ptable td { text-align: right; font-weight: 600; white-space: nowrap; }
.card--dark .ptable th, .card--dark .ptable td { border-color: rgba(255, 255, 255, .14); }
.card--dark .ptable th small { color: rgba(255, 255, 255, .6); }

.plate { display: inline-flex; align-items: stretch; gap: 16px; padding-right: 20px; border: 3px solid var(--ink); border-radius: 8px; background: #fff; }
.plate__eu { width: 36px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 8px 0 6px; background: #039; color: #fff; font-weight: 700; font-size: 14px; }
.plate__eu svg { width: 18px; height: 18px; }
.plate__txt { font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; letter-spacing: .03em; line-height: 1.35; white-space: nowrap; }

.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding: 56px; border-radius: var(--r-card); background: var(--navy); color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .7); margin-top: 14px; max-width: 44ch; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 10px; }

.todo { display: none; width: fit-content; padding: 4px 10px; border-radius: 999px; background: var(--todo-bg); color: var(--todo); font-size: 12px; font-weight: 600; line-height: 1.4; }
.show-todo .todo { display: inline-block; justify-self: start; }

/* ---------- Footer */
.footer { margin: 16px 0 20px; padding: 32px 40px 24px; border-radius: var(--r-card); background: var(--surface); }
.footer__top { display: flex; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; font-size: 15px; }
.footer__top nav, .footer__contact { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer__contact { color: var(--grey); }
.footer a:hover { color: var(--blue); }
.footer__word { margin: 28px 0 20px; font-size: min(10.2vw, 156px); font-weight: 600; letter-spacing: -.055em; line-height: 1.1; white-space: nowrap; overflow: hidden; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--grey); }
.footer__bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__credit a { color: var(--ink); font-weight: 500; transition: color .2s; }
.footer__credit a:hover { color: var(--blue); }

/* ---------- Scroll-Reveal */
[data-reveal] { opacity: 0; translate: 0 32px; transition: opacity 1.2s var(--ease), translate 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal].is-in { opacity: 1; translate: 0 0; }
.no-js [data-reveal] { opacity: 1; translate: none; }

@keyframes settle { to { transform: scale(1); } }
@keyframes line-up { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Responsive */
@media (max-width: 1240px) {
  .nav__links { display: none; }
  .nav .nav__burger { display: grid; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__side { max-width: 520px; }
  .docs { grid-template-columns: 1fr; padding: 48px 24px 24px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .faq-intro { position: static; }
  .steps-wrap, .split-2--wide { gap: 48px; }
}
@media (max-width: 900px) {
  :root { --pad: 4px; --gutter: 12px; }
  body { font-size: 16px; }
  .section { padding-top: 88px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
  .hero { padding: 120px 24px 32px; min-height: 0; margin-top: 12px; border-radius: 24px; }
  .hero--home { min-height: max(640px, 88svh); }
  .hero--plain { min-height: 300px; }
  .hero__media img { object-position: 70% 50%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 0; padding: 28px 24px; border-radius: 24px; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .bento, .split-2, .split-2--wide, .steps-wrap { grid-template-columns: 1fr; }
  .card--photo, .card--wide { grid-column: auto; }
  .card--photo { min-height: 380px; }
  .card { padding: 28px; border-radius: 24px; }
  .tile { border-radius: 24px; }
  .routes { grid-template-columns: 1fr; }
  .panel { padding: 32px 20px 12px; border-radius: 24px; }
  .cta-band { grid-template-columns: 1fr; padding: 36px 24px; border-radius: 24px; }
  .footer { padding: 24px 20px; margin-bottom: 92px; border-radius: 24px; }
  .dock { display: flex; }
  .site-header .wrap { padding-top: 12px; }
  .nav { height: 62px; padding: 0 8px 0 16px; border-radius: 20px; }
  .nav__tel, .nav__cta { display: none; }
  .logo img { width: 34px; height: 34px; }
  .logo__word b { font-size: 15px; }
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .row { grid-template-columns: 1fr; }
  .form { padding: 24px 18px; }
  .docs { padding: 36px 16px 16px; border-radius: 24px; }
  .contact-rows div { flex-direction: column; gap: 2px; }
  .contact-rows dd { text-align: left; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .toast { left: 12px; right: 12px; bottom: 12px; }
  .stat__n { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; translate: none; }
  @view-transition { navigation: none; }
}
@media print { .site-header, .dock, .menu, .hero__media { display: none !important; } .hero { color: var(--ink); background: none; min-height: 0; padding: 0; } .hero::before { display: none; } }
