/* =========================================================
   Ermin Zahirovic – gemeinsame Styles
   ========================================================= */

:root {
  color-scheme: light;

  /* Palette – seriös: Navy, DB-Blau, Hellblau, kühles Hellgrau */
  --sky: #f3f6fa;
  --sky-2: #e8eef5;
  --ink: #0c1830;
  --ink-2: #3e4a64;
  --ink-soft: #5a6680;
  --blue: #0018a8;
  --blue-2: #1f3fd1;
  --blue-tint: #dde5ff;
  --blue-soft: #a8b8f0;
  --cornflower: #b7cdee;
  --night: #081120;
  --night-2: #0f1c33;
  --line: rgb(12 24 48 / 0.1);

  --ok: #0b8a65;
  --warn: #a85f00;
  --focus: #2f5bd8;

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --glass-bg: linear-gradient(180deg, rgb(255 255 255 / 0.62), rgb(255 255 255 / 0.34));
  --glass-blur: blur(16px) saturate(180%);
  --glass-rim: linear-gradient(140deg, rgb(255 255 255 / 1), rgb(255 255 255 / 0.35) 30%, rgb(255 255 255 / 0.1) 62%, rgb(255 255 255 / 0.85));
  --glass-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.9),
    inset 0 -1px 0 rgb(255 255 255 / 0.25),
    0 1px 2px rgb(12 24 48 / 0.06),
    0 8px 24px rgb(40 56 100 / 0.08),
    0 24px 60px rgb(40 56 100 / 0.08);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.36, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 10px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.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; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip:focus { top: 16px; }

/* ---------- Typo ---------- */
.display {
  font-weight: 600;
  font-size: clamp(2.9rem, 6.6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.h2 {
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.h3 {
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
}
 font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.center .lede { margin-inline: auto; }
.eyebrow { font-size: 0.8125rem; font-weight: 550; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }



/* ---------- Glas ---------- */
.glass {
  position: relative;
  isolation: isolate;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: var(--glass-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.glass-thick {
  --glass-blur: blur(28px) saturate(190%);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.74), rgb(255 255 255 / 0.48));
  box-shadow: var(--glass-shadow), 0 40px 100px rgb(40 56 100 / 0.14);
}
.glass .glass {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.9), rgb(255 255 255 / 0.72));
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgb(12 24 48 / 0.06), 0 6px 16px rgb(40 56 100 / 0.07);
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 24px; border-radius: 999px; border: 0;
  font: 550 1rem/1 var(--f-sans); letter-spacing: -0.005em; white-space: nowrap; text-decoration: none;
  cursor: pointer;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(0.965); transition-duration: 0.12s; }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn-ink {
  color: #fff;
  background: linear-gradient(180deg, #24335e 0%, #0c1830 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28), inset 0 -1px 0 rgb(0 0 0 / 0.3), 0 1px 2px rgb(12 24 48 / 0.3), 0 8px 22px rgb(12 24 48 / 0.22);
}
@media (hover: hover) {
  .btn-ink:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.34), inset 0 -1px 0 rgb(0 0 0 / 0.3), 0 2px 4px rgb(12 24 48 / 0.3), 0 14px 30px rgb(12 24 48 / 0.28); }
}
.btn-glass { color: var(--ink); background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-shadow); }
.btn-light { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 0.15), 0 8px 20px rgb(0 0 0 / 0.15); }
.btn-line { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* ---------- Navigation ---------- */
.nav-wrap {
  position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none;
  display: flex; justify-content: center; padding-inline: var(--gutter);
}
.nav {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; gap: 8px;
  width: min(100%, 1000px); padding: 7px 7px 7px 14px; border-radius: 999px;
}
.nav::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(120% 140% at 15% 0%, rgb(255 255 255 / 0.55), transparent 55%),
    linear-gradient(180deg, rgb(255 255 255 / 0.38), rgb(255 255 255 / 0.14));
  -webkit-backdrop-filter: blur(24px) saturate(200%) brightness(1.06);
  backdrop-filter: blur(24px) saturate(200%) brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.95),
    inset 0 -1px 0 rgb(255 255 255 / 0.3),
    inset 0 0 0 1px rgb(255 255 255 / 0.18),
    0 1px 2px rgb(12 24 48 / 0.06),
    0 10px 30px rgb(40 56 100 / 0.12),
    0 30px 70px rgb(40 56 100 / 0.1);
}
/* Lichtkante */
.nav::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--glass-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: block; width: 34px; height: 34px; }
.brand-name { font-weight: 650; font-size: 1.08rem; letter-spacing: -0.035em; white-space: nowrap; }
.nav-links { display: flex; gap: 2px; margin-left: clamp(8px, 2vw, 24px); flex: 1; }
.nav-links a:not(.btn) {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink-2);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
@media (hover: hover) { .nav-links a:not(.btn):hover { background: rgb(255 255 255 / 0.7); color: var(--ink); } }
.nav-cta-mobile { display: none; }

.nav-toggle { display: none; width: 42px; height: 42px; margin-left: auto; background: none; border: 0; cursor: pointer; position: relative; border-radius: 999px; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 20px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s var(--ease-out), background 0.2s;
}
.nav-toggle-bar { top: 20px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(130px, 18vh, 180px) 0 clamp(40px, 6vw, 72px); }
.hero-copy { text-align: center; display: grid; justify-items: center; gap: 24px; }
.pill-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgb(255 255 255 / 0.7);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.875rem; font-weight: 500; color: var(--ink-2);
}
.pill-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; margin-left: -8px; box-shadow: 0 0 0 2px #fff; }
.pill-eyebrow:has(.pill-avatar) { padding-left: 12px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgb(0 24 168 / 0.15); }
.hero .lede { margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }

/* Schnellrechner */
.cockpit-stage { position: relative; margin-top: clamp(48px, 7vw, 80px); padding-block: 24px; }
.cockpit {
  max-width: 880px; margin-inline: auto;
  border-radius: var(--r-xl);
  padding: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 60px rgb(12 24 48 / 0.08);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 14px;
}
.cockpit-inputs { padding: 22px 22px 18px; display: grid; gap: 20px; align-content: start; }
.cockpit-kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.slider-field { display: grid; gap: 10px; }
.slider-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.95rem; color: var(--ink-2); font-weight: 500; }
.slider-label output { font: 600 1.05rem var(--f-mono); color: var(--ink); font-variant-numeric: tabular-nums; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px; margin: 6px 0;
  background: linear-gradient(to right, var(--blue) var(--fill, 50%), rgb(12 24 48 / 0.1) var(--fill, 50%));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 0;
  box-shadow: 0 0 0 1px rgb(12 24 48 / 0.12), 0 2px 6px rgb(12 24 48 / 0.25);
}
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgb(12 24 48 / 0.12), 0 2px 6px rgb(12 24 48 / 0.25); }

.cockpit-pair { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.mini-field { display: grid; gap: 6px; font-size: 0.78rem; color: var(--ink-soft); font-weight: 500; }
.mini-field input {
  width: 96px; height: 44px; padding: 0 12px;
  font: 500 1rem var(--f-mono);
  border: 0; border-radius: var(--r-sm);
  background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.mini-field input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--blue); }
.mini-check { display: flex; align-items: center; gap: 8px; height: 44px; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; }
.mini-check input { accent-color: var(--blue); width: 18px; height: 18px; }

.cockpit-result { border-radius: calc(var(--r-xl) - 10px); padding: 24px; background: var(--sky); display: flex; flex-direction: column; }
.cockpit-big {
  font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 600; line-height: 1;
  letter-spacing: -0.05em; margin: 10px 0 18px; color: var(--ink);
}
.cockpit-lines { margin: 0; }
.cockpit-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.cockpit-lines dt { color: var(--ink-soft); }
.cockpit-lines dd { margin: 0; font-weight: 500; white-space: nowrap; }
.cockpit-lines .is-sum dt, .cockpit-lines .is-sum dd { color: var(--ink); font-weight: 600; }
.cockpit-note { margin-top: auto; padding-top: 12px; font-size: 0.8rem; color: var(--ink-soft); min-height: 1.2em; }
.cockpit-note.is-warn { color: var(--warn); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head { max-width: 46rem; }
.section-white { background: #fff; }
.section-night .eyebrow, .final-card .eyebrow { color: rgb(255 255 255 / 0.6); }

/* Pakete */
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pack {
  border-radius: var(--r-lg); padding: 10px;
  display: flex; flex-direction: column;
  min-height: 480px;
}
.pack-top { padding: 22px 18px 18px; display: grid; gap: 10px; flex: 1; align-content: start; }
.pack-top p:not(.pack-kicker) { font-size: 0.98rem; opacity: 0.85; }
.pack-kicker { font: 500 0.78rem var(--f-mono); letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.75; }
.pack-bottom { border-radius: calc(var(--r-lg) - 8px); padding: 18px; display: grid; gap: 14px; background: rgb(255 255 255 / 0.1); }
.pack-label { font-size: 0.8rem; font-weight: 500; opacity: 0.75; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 5px 10px; border-radius: 8px; font-size: 0.82rem; font-weight: 500; background: rgb(255 255 255 / 0.14); }

.pack-ink { background: linear-gradient(170deg, #1b2a4f, var(--ink)); color: #fff; }
.pack-blue { background: linear-gradient(170deg, var(--blue-2), var(--blue)); color: #fff; }
.pack-blue .chips li { background: rgb(221 229 255 / 0.16); color: var(--blue-tint); }
.pack-tint { background: var(--blue-tint); color: var(--blue); }
.pack-tint .pack-bottom { background: rgb(255 255 255 / 0.55); }
.pack-tint .chips li { background: #fff; }
.pack-plain { background: var(--sky); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.pack-plain .pack-bottom { background: #fff; }
.pack-plain .chips li { background: var(--sky-2); color: var(--ink-2); }

/* Vergleich */
.section-night { background: var(--night); color: #fff; }

.table-scroll { overflow-x: auto; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.98rem; }
.compare th, .compare td { padding: 16px 22px; text-align: left; border-bottom: 1px solid rgb(255 255 255 / 0.08); }
.compare thead th { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(255 255 255 / 0.55); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th { font-weight: 500; color: rgb(255 255 255 / 0.88); }
.compare td { white-space: nowrap; color: rgb(255 255 255 / 0.75); }
.compare td::before { display: inline-block; width: 1.4em; }
.compare td.yes::before { content: "✓"; color: var(--blue-soft); }
.compare td.part::before { content: "~"; color: rgb(255 255 255 / 0.5); }
.compare td.no { color: rgb(255 255 255 / 0.4); }
.compare td.no::before { content: "–"; }
.compare .is-me { background: rgb(221 229 255 / 0.08); color: #fff; font-weight: 600; }
.compare thead .is-me { color: var(--blue-tint); }

/* Rechner */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; margin-bottom: 20px; background: var(--sky-2); }
.tabs button {
  position: relative; z-index: 2;
  font: 550 0.95rem var(--f-sans); letter-spacing: -0.01em;
  padding: 11px 18px; border-radius: 999px; border: 0;
  background: transparent; color: var(--ink-2); cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: 0 6px 16px rgb(12 24 48 / 0.2); }

.calc { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 10px; padding: 10px; border-radius: var(--r-xl); background: var(--sky); box-shadow: inset 0 0 0 1px var(--line); }
.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(18px, 3vw, 30px); align-content: start; }
.field { position: relative; display: grid; gap: 8px; }
.field > span { font-size: 0.875rem; color: var(--ink-2); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 44px 0 16px;
  font: 500 1.02rem var(--f-mono);
  border: 0; border-radius: 14px;
  background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgb(12 24 48 / 0.04);
  -moz-appearance: textfield;
  transition: box-shadow 0.2s var(--ease-out);
}
.field select { padding-right: 16px; font-family: var(--f-sans); }
.field textarea { height: auto; padding: 14px 16px; font-family: var(--f-sans); resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgb(0 24 168 / 0.12); }
.field > i { position: absolute; right: 16px; bottom: 16px; font: 500 0.95rem var(--f-mono); font-style: normal; color: var(--ink-soft); pointer-events: none; }
.field input::-webkit-outer-spin-button, .field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.calc-result {
  border-radius: calc(var(--r-xl) - 8px);
  padding: clamp(24px, 3.5vw, 36px);
  background: var(--blue);
  color: #fff;
  display: flex; flex-direction: column;
}
.result-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-tint); }
.result-big { font-size: clamp(2.4rem, 4.8vw, 3.4rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.05em; margin: 12px 0 24px; }
.result-lines { margin: 0; }
.result-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 0.95rem; }
.result-lines dt { color: rgb(255 255 255 / 0.72); }
.result-lines dd { margin: 0; font-weight: 500; white-space: nowrap; }
.result-note { margin-top: auto; padding-top: 20px; font-size: 0.82rem; color: rgb(255 255 255 / 0.6); }
.bar { height: 8px; border-radius: 999px; background: rgb(255 255 255 / 0.15); margin-top: 22px; overflow: hidden; }
.bar-paid { display: block; height: 100%; width: 0; background: var(--blue-tint); border-radius: inherit; transition: width 0.6s var(--ease-out); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / 0.3); margin: 0 6px 0 12px; }
.dot-paid { background: var(--blue-tint); margin-left: 0; }

.more-calcs { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; color: var(--ink-soft); }
.more-calcs p { margin-right: 6px; }
.chip-link {
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
  background: rgb(255 255 255 / 0.75); box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.2s var(--ease-out);
}
.chip-link:hover { background: #fff; }

/* Ablauf */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: step; border-radius: var(--r-lg); padding: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: start; }
.steps li::after {
  content: counter(step, decimal-leading-zero);
  order: -1;
  font: 500 0.85rem var(--f-mono);
  color: var(--blue);
  background: var(--blue-tint);
  justify-self: start;
  padding: 4px 10px; border-radius: 8px;
  margin-bottom: 18px;
}
.steps h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.03em; }
.steps p { color: var(--ink-2); font-size: 0.98rem; }

/* Förderung */
.grant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grant {
  border-radius: var(--r-md); padding: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid; gap: 10px; align-content: start;
}
.grant h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.grant h3 { color: var(--ink); }
.grant p:not(.grant-code) { color: var(--ink-2); font-size: 0.95rem; }
.grant-code { justify-self: start; font: 500 0.8rem var(--f-mono); padding: 4px 10px; border-radius: 8px; background: var(--blue-tint); color: var(--blue); }
.grant-links { margin-top: 28px; display: flex; gap: 24px; }
.grant-links a { color: var(--blue); font-weight: 600; text-decoration: none; }
.grant-links a:hover { text-decoration: underline; }

/* Über mich */
.about { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-photo {
  display: block; width: 100%; height: 100%; max-height: 640px;
  aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%;
  border-radius: calc(var(--r-xl) - 8px);
  box-shadow: 0 20px 50px rgb(12 24 48 / 0.18);
}
.about-text { display: grid; gap: 14px; padding-block: 24px; }
.about-role { font: 500 0.85rem var(--f-mono); color: var(--ink-soft); }
.values { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.values li { display: grid; gap: 4px; padding: 16px; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.values strong { font-weight: 600; letter-spacing: -0.02em; }
.values span { font-size: 0.9rem; color: var(--ink-2); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-layout .section-head { position: sticky; top: 110px; justify-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background 0.3s var(--ease-out); }

.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(45deg); transition: transform 0.4s var(--ease-spring);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 22px; color: var(--ink-2); }

/* Kontakt */
.final-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 56px);
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 56px);
  background: var(--night);
  color: #fff;
}
.final-card .h2 { margin-top: 14px; }
.final-card .lede { color: rgb(255 255 255 / 0.72); margin-top: 14px; }
.final-card address {
  font-style: normal; margin: 28px 0 20px; padding: 18px 20px;
  border-radius: var(--r-md); background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
  line-height: 1.7; color: rgb(255 255 255 / 0.85);
}
.final-card address strong { display: block; color: #fff; font-weight: 600; }
.address-avatar { float: left; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin: 4px 16px 4px 0; box-shadow: 0 0 0 2px rgb(255 255 255 / 0.2); }
.final-card address::after { content: ""; display: block; clear: both; }
.contact-lines { list-style: none; padding: 0; margin: 0; }
.contact-lines li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.contact-lines li > span:first-child { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-soft); line-height: 1.9; }
.contact-lines a { text-decoration: none; font-weight: 500; word-break: break-word; }
.contact-lines a:hover { color: var(--blue-tint); }

.contact-form { background: var(--sky); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.contact-form .field input, .contact-form .field select { font-family: var(--f-sans); padding-right: 16px; }
.form-status { font-size: 0.9rem; color: var(--ink-soft); min-height: 1.2em; }
.form-status.is-error { color: var(--warn); }

/* Kontaktwege */
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.channel {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border-radius: var(--r-md); text-decoration: none; color: #fff;
  background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
  transition: background 0.2s var(--ease-out);
}
.channel:hover { background: rgb(255 255 255 / 0.12); }
.channel-wide { grid-column: 1 / -1; }
.channel svg { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--blue); color: #fff; }
.channel span { display: grid; gap: 2px; min-width: 0; }
.channel strong { font-weight: 600; }
.channel small { font-size: 0.82rem; color: rgb(255 255 255 / 0.65); overflow-wrap: anywhere; }

.save-contact {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 40px); align-items: center;
  padding-top: clamp(24px, 4vw, 40px); border-top: 1px solid rgb(255 255 255 / 0.12);
}
.save-qr { padding: 12px; border-radius: var(--r-md); background: #fff; line-height: 0; }
.save-qr canvas { width: 168px; height: 168px; }
.save-text { display: grid; gap: 12px; justify-items: start; }
.save-text p { color: rgb(255 255 255 / 0.72); max-width: 34em; }
.save-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.35); background: transparent; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }

/* Schwebender WhatsApp-Knopf */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 550;
  box-shadow: 0 10px 30px rgb(12 24 48 / 0.3);
}
.wa-float svg { width: 22px; height: 22px; }
.wa-float:hover { background: var(--blue); }

/* Standort */
.location { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.location-info { display: grid; gap: 18px; align-content: center; justify-items: start; }
.location-info address { font-style: normal; line-height: 1.7; color: var(--ink-2); }
.location-info address strong { display: block; color: var(--ink); font-weight: 600; }
.location-note { color: var(--ink-2); max-width: 30em; }
.location-map { min-height: 380px; border-radius: var(--r-xl); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--sky-2); }
.location-map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(0.4); }

/* Footer */
.site-footer { padding: 32px 0 40px; font-size: 0.875rem; color: var(--ink-soft); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pack { min-height: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0;
    padding: 10px; border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgb(255 255 255 / 0.72), rgb(255 255 255 / 0.55));
    -webkit-backdrop-filter: blur(28px) saturate(200%); backdrop-filter: blur(28px) saturate(200%);
    box-shadow: var(--glass-shadow), 0 30px 60px rgb(40 56 100 / 0.15);
  }
  .nav-links.is-open a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .nav-links.is-open .nav-cta-mobile { display: inline-flex; margin-top: 8px; }
  .cockpit, .calc { grid-template-columns: 1fr; }
  .faq-layout, .final-card, .location, .pack-grid { grid-template-columns: 1fr; }
  .faq-layout .section-head { position: static; }
  .grant-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 4 / 3; max-height: 420px; }
  .about-text { padding-block: 0; }
}

@media (max-width: 600px) {
  .pack-grid, .grant-grid, .steps, .values { grid-template-columns: 1fr; }
  .calc-form { grid-template-columns: 1fr; }
  .tabs { border-radius: var(--r-md); }
  .tabs button { flex: 1 1 100%; }
  .contact-lines li { grid-template-columns: 1fr; gap: 2px; }
  .channels, .save-contact { grid-template-columns: 1fr; }
  .save-qr { justify-self: start; }
  .wa-float span { display: none; }
  .wa-float { padding: 0; width: 52px; justify-content: center; }
  .cockpit { padding: 8px; border-radius: var(--r-lg); }
  .cockpit-inputs { padding: 16px 12px; }
  .hero-actions .btn { width: 100%; }
}

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

/* Aktueller Bereich in der Navigation (Unterseiten) */
.nav-links a[aria-current="page"] { background: rgb(255 255 255 / 0.7); color: var(--ink); }
