/* nevilu – Stylesheet
   Farben, Schrift und Abstände stehen als Variablen ganz oben. Alles andere baut darauf auf.
   Radien: Karten 20px, Bilder 20px, Eingabefelder 12px, Knöpfe und Chips voll rund. */

@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Variable-Italic.woff2') format('woff2');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --blau: #0A6CFF;
  --blau-tief: #0057E0;
  --blau-hell: #EAF2FF;
  --blau-auf-nacht: #6AA6FF;
  --nacht: #081226;
  --nacht-2: #0E1D3D;
  --nacht-linie: rgba(255, 255, 255, 0.12);
  --tinte: #0B1326;
  --grau: #56627A;
  --grau-hell: #8A94A8;
  --linie: #E3E8F0;
  --flaeche: #F5F7FA;
  --weiss: #FFFFFF;

  --schrift: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-karte: 20px;
  --r-feld: 12px;
  --r-rund: 999px;

  --breite: 1200px;
  --rand: clamp(20px, 5vw, 48px);
  --abschnitt: clamp(88px, 11vw, 150px);

  --e-weich: cubic-bezier(0.16, 1, 0.3, 1);
  --schatten: 0 1px 2px rgba(11, 19, 38, 0.04), 0 12px 32px -12px rgba(11, 19, 38, 0.14);
  --schatten-gross: 0 2px 4px rgba(11, 19, 38, 0.04), 0 30px 70px -24px rgba(11, 19, 38, 0.28);

  --nav-h: 68px;
  --z-nav: 50;
  --z-menue: 60;
}

/* ---------- Ladebildschirm (nur Startseite, einmal pro Besuch) ---------- */
.lader { display: none; }
.js .lader {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff; padding: 24px;
}
.js.ohne-lader .lader { display: none; }
.lader-aktiv { overflow: hidden; }
.lader__figur { position: relative; width: 168px; height: 168px; }
.lader__bild { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 90%; }
.lader__bild--freude { opacity: 0; }
.lader__schatten {
  position: absolute; left: 50%; bottom: 2px; width: 104px; height: 16px; margin-left: -52px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(8, 18, 38, 0.2), rgba(8, 18, 38, 0));
}
.lader .logo { height: 30px; width: auto; margin-top: 30px; color: var(--tinte); }
.lader__balken { width: min(240px, 62vw); margin-top: 28px; }
.lader__zahl { display: block; text-align: right; margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--grau); font-feature-settings: 'tnum' 1; }
.lader__linie { display: block; height: 2px; border-radius: 2px; background: var(--linie); overflow: hidden; }
.lader__linie i { display: block; width: 100%; height: 100%; background: var(--blau); transform-origin: left; transform: scaleX(0); }
.lader__zeile { margin-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grau); text-align: center; }
.lader.ist-fertig .lader__bild--neutral { opacity: 0; }
.lader.ist-fertig .lader__bild--freude { opacity: 1; }
.lader.ist-weg { opacity: 0; transform: scale(1.02); pointer-events: none; transition: opacity .55s cubic-bezier(0.16, 1, 0.3, 1), transform .7s cubic-bezier(0.16, 1, 0.3, 1); }
@media (prefers-reduced-motion: no-preference) {
  .lader__bild { animation: lader-huepfen .6s cubic-bezier(0.33, 0.9, 0.6, 1) infinite alternate; }
  .lader__schatten { animation: lader-schatten .6s cubic-bezier(0.33, 0.9, 0.6, 1) infinite alternate; }
  .lader__zeile { opacity: 0; animation: lader-ein .6s cubic-bezier(0.16, 1, 0.3, 1) .45s forwards; }
  .lader.ist-fertig .lader__bild { animation: lader-freude .6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .lader.ist-fertig .lader__schatten { animation: none; }
  .lader-aktiv .hero [data-auftritt] { animation-play-state: paused; }
  @keyframes lader-huepfen {
    0% { transform: translateY(0) scale(1.07, 0.93); }
    16% { transform: translateY(-3px) scale(1, 1); }
    100% { transform: translateY(-34px) scale(0.98, 1.03); }
  }
  @keyframes lader-schatten { from { transform: scale(1); opacity: 1; } to { transform: scale(0.62); opacity: 0.45; } }
  @keyframes lader-ein { to { opacity: 1; } }
  @keyframes lader-freude {
    0% { transform: translateY(0) scale(1.1, 0.9); }
    45% { transform: translateY(-44px) scale(0.96, 1.06); }
    100% { transform: translateY(0) scale(1); }
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss02' 1;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
::selection { background: var(--blau); color: #fff; }
:focus-visible { outline: 2px solid var(--blau); outline-offset: 3px; border-radius: 6px; }

.i { width: 1.15em; height: 1.15em; flex: none; }

.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;
}
.sprung {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-rund);
  background: var(--tinte); color: #fff; text-decoration: none; font-weight: 600; transition: top .2s;
}
.sprung:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.wrap--schmal { width: min(100% - 2 * var(--rand), 820px); margin-inline: auto; }

.abschnitt { padding-block: var(--abschnitt); }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnitt--nacht { background: var(--nacht); color: #fff; }

/* ---------- Schrift ---------- */
.h1, .h2, .h3 { font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.h1 { font-size: clamp(44px, 5.6vw, 80px); line-height: 0.98; letter-spacing: -0.045em; }
.h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; }
.h3 { font-size: clamp(21px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -0.02em; }
.h1 em, .h2 em { font-style: normal; color: var(--blau); }
.abschnitt--nacht .h2 em { color: var(--blau-auf-nacht); }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--grau); max-width: 60ch; text-wrap: pretty; }
.abschnitt--nacht .lead { color: rgba(255, 255, 255, 0.72); }
.klein { font-size: 14.5px; line-height: 1.55; color: var(--grau); }
.abschnitt--nacht .klein { color: rgba(255, 255, 255, 0.62); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blau);
}
.abschnitt--nacht .kicker { color: var(--blau-auf-nacht); }
.kopf { max-width: 760px; margin-bottom: clamp(44px, 5.5vw, 72px); }
.kopf .lead { margin-top: 22px; }
.kopf--mitte { margin-inline: auto; text-align: center; }
.kopf--mitte .lead { margin-inline: auto; }

/* ---------- Knöpfe & Links ---------- */
.btn {
  --btn-bg: var(--blau); --btn-fg: #fff; --btn-rand: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-rund); border: 1.5px solid var(--btn-rand);
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; white-space: nowrap;
  font-size: 16px; font-weight: 650; letter-spacing: -0.005em; cursor: pointer;
  transition: background-color .25s var(--e-weich), transform .25s var(--e-weich), box-shadow .25s var(--e-weich), border-color .25s;
}
.btn .i { transition: transform .35s var(--e-weich); }
.btn:hover { --btn-bg: var(--blau-tief); box-shadow: 0 10px 26px -10px rgba(10, 108, 255, 0.6); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--sekundaer { --btn-bg: transparent; --btn-fg: var(--tinte); --btn-rand: #C9D2E0; }
.btn--sekundaer:hover { --btn-bg: var(--tinte); --btn-fg: #fff; --btn-rand: var(--tinte); box-shadow: none; }
.btn--hell { --btn-bg: #fff; --btn-fg: var(--tinte); }
.btn--hell:hover { --btn-bg: var(--blau-hell); box-shadow: none; }
.btn--klein { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--breit { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--blau); font-weight: 650; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px;
  transition: background-size .35s var(--e-weich);
}
.link:hover { background-size: 100% 1.5px; }
.link .i { transition: transform .35s var(--e-weich); }
.link:hover .i { transform: translateX(3px); }

/* ---------- Tippflächen auf Touchgeräten (mindestens 44 px) ---------- */
@media (pointer: coarse) {
  .link { position: relative; }
  .link::after { content: ''; position: absolute; inset: -12px -8px; }
  .nav__logo { min-height: 44px; }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav); height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.ist-gescrollt { border-bottom-color: var(--linie); }
.nav__innen { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav__logo { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.nav__logo svg { height: 25px; width: auto; }
.nav__links { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav__links a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: var(--r-rund);
  color: var(--grau); text-decoration: none; font-size: 15.5px; font-weight: 550; transition: color .2s, background-color .2s;
}
.nav__links a:hover, .nav__links a[aria-current='true'] { color: var(--tinte); background: var(--flaeche); }
.nav__knopf { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--r-rund); background: var(--flaeche); align-items: center; justify-content: center; cursor: pointer; }
.nav__knopf .i { width: 22px; height: 22px; }

.menue {
  position: fixed; inset: 0; z-index: var(--z-menue); background: var(--weiss); padding: 18px var(--rand) 32px;
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--e-weich), transform .4s var(--e-weich), visibility 0s .4s;
}
.menue.ist-offen { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--e-weich), transform .4s var(--e-weich); }
.menue__kopf { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.menue__kopf svg.logo { height: 24px; width: auto; }
.menue__links { list-style: none; padding: 0; margin: 40px 0 auto; }
.menue__links a { display: block; padding: 12px 0; font-size: 34px; font-weight: 700; letter-spacing: -0.03em; text-decoration: none; border-bottom: 1px solid var(--linie); }
.menue__fuss { display: grid; gap: 12px; margin-top: 32px; }

@media (max-width: 960px) {
  .nav__links, .nav .btn { display: none; }
  .nav__knopf { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(20px, 3vw, 40px) clamp(48px, 6vw, 72px); }
.hero__raster {
  display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  min-height: min(calc(100dvh - var(--nav-h) - 150px), 620px);
}
.hero .h1 { margin-bottom: 26px; }
.hero .lead { max-width: 30em; }
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.buehne {
  position: relative; aspect-ratio: 1 / 1.08; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 58% 38%, #2456c4 0%, #143278 28%, #0b1b3f 62%, #081226 100%);
  box-shadow: var(--schatten-gross);
}
.buehne.is-fallback { background: var(--nacht) url('../img/maskottchen.webp') center / cover no-repeat; }
.buehne canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s var(--e-weich); }
.buehne.is-bereit canvas { opacity: 1; }
.buehne.is-fallback canvas { display: none; }
.nav { background: rgba(255, 255, 255, 0.9); }

@media (max-width: 900px) {
  .hero__raster { grid-template-columns: 1fr; min-height: 0; }
  .buehne { aspect-ratio: 1 / 0.92; max-height: 520px; width: 100%; }
}

/* ---------- Eckdaten ---------- */
.eckdaten { padding-bottom: clamp(40px, 5vw, 64px); }
.eckdaten__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--linie); }
.eckdaten__punkt { padding: 26px 24px 0 0; }
.eckdaten__punkt + .eckdaten__punkt { padding-left: 24px; border-left: 1px solid var(--linie); }
.eckdaten__wert { display: block; font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.eckdaten__text { display: block; margin-top: 6px; font-size: 15px; color: var(--grau); }
@media (max-width: 900px) {
  .eckdaten__liste { grid-template-columns: 1fr 1fr; }
  .eckdaten__punkt:nth-child(3) { padding-left: 0; border-left: 0; }
  .eckdaten__punkt:nth-child(n+3) { border-top: 1px solid var(--linie); margin-top: 22px; }
}
@media (max-width: 520px) {
  .eckdaten__punkt { padding-right: 14px; }
  .eckdaten__punkt + .eckdaten__punkt { padding-left: 16px; }
  .eckdaten__punkt:nth-child(3) { padding-left: 0; }
  .eckdaten__wert { font-size: 21px; white-space: nowrap; }
  .eckdaten__text { font-size: 14px; }
}

/* ---------- Leistungen (kompakt) ---------- */
.abschnitt--kompakt { padding-block: clamp(72px, 8vw, 110px); }
.punkte { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--linie); }
.punkt { padding: 28px 28px 4px 0; }
.punkt + .punkt { padding-left: 28px; border-left: 1px solid var(--linie); }
.punkt__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blau-hell); color: var(--blau); margin-bottom: 18px; }
.punkt__icon .i { width: 22px; height: 22px; }
.punkt h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.punkt p { color: var(--grau); font-size: 15.5px; }
.punkt .link { font-size: 15.5px; }
@media (max-width: 900px) {
  .punkte { grid-template-columns: 1fr 1fr; }
  .punkt:nth-child(3) { padding-left: 0; border-left: 0; }
  .punkt:nth-child(n+3) { border-top: 1px solid var(--linie); margin-top: 24px; }
}
@media (max-width: 520px) {
  .punkte { grid-template-columns: 1fr; }
  .punkt, .punkt + .punkt { padding: 24px 0 0; border-left: 0; }
  .punkt + .punkt { border-top: 1px solid var(--linie); margin-top: 24px; }
}

/* ---------- Entwurf / Fertig ---------- */
.vergleich { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.vergleich__text .h2 { font-size: clamp(32px, 3.6vw, 48px); }
.vergleich__text .lead { margin-top: 18px; }
.vergleich__text .vergleich__reiter { margin: 30px 0 0; }
.vergleich__link { margin-top: 22px; }
.vergleich__hinweis { margin-top: 18px; max-width: 42ch; }
@media (max-width: 900px) {
  .vergleich { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
.vergleich__reiter {
  position: relative; display: inline-flex; gap: 0; padding: 5px; margin-bottom: 20px; border-radius: var(--r-rund);
  background: #E6ECF5; box-shadow: inset 0 1px 2px rgba(11, 19, 38, 0.06);
}
.vergleich__schieber {
  position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: var(--r-rund); background: #fff;
  box-shadow: 0 1px 2px rgba(11, 19, 38, 0.08), 0 6px 16px -6px rgba(11, 19, 38, 0.25);
  transition: transform .45s var(--e-weich), width .45s var(--e-weich);
}
.vergleich__reiter button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px;
  border: 0; border-radius: var(--r-rund); background: transparent; color: var(--grau);
  font-size: 15px; font-weight: 700; letter-spacing: 0.04em; line-height: 1; cursor: pointer; transition: color .25s;
}
.vergleich__reiter button small { font-size: 13.5px; font-weight: 500; letter-spacing: 0; color: var(--grau-hell); transition: color .25s; }
.vergleich__reiter button:hover { color: var(--tinte); }
.vergleich__reiter button[aria-selected='true'] { color: var(--tinte); }
.vergleich__reiter button[aria-selected='true'] small { color: var(--blau); }
.vergleich__reiter button:focus-visible { outline: 2px solid var(--blau); outline-offset: 2px; }
@media (max-width: 520px) {
  .vergleich__reiter { display: flex; width: 100%; }
  .vergleich__reiter button { flex: 1; justify-content: center; gap: 6px; padding: 0 10px; font-size: 14px; letter-spacing: 0.02em; }
  .vergleich__reiter button small { font-size: 12.5px; }
}
@media (max-width: 380px) { .vergleich__reiter button small { display: none; } }
.vergleich__buehne {
  --pos: 50%;
  position: relative; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: var(--nacht);
  box-shadow: var(--schatten-gross); user-select: none; touch-action: pan-y; cursor: ew-resize; isolation: isolate;
}
.vergleich__bild { -webkit-user-drag: none; user-drag: none; pointer-events: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: opacity .45s var(--e-weich); }
.vergleich__bild.ist-wechsel { opacity: 0; }
.vergleich__vorher { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 1; }
.vergleich__griff {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 3; pointer-events: none;
}
.vergleich__griff::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 19, 38, 0.12), 0 0 24px rgba(10, 108, 255, 0.55); }
.vergleich__griff > span {
  position: absolute; top: 50%; left: 0; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--blau); box-shadow: 0 10px 30px -8px rgba(8, 18, 38, 0.55);
  transition: transform .3s var(--e-weich);
}
.vergleich__griff .i { width: 26px; height: 26px; }
.vergleich__buehne:hover .vergleich__griff > span, .vergleich__buehne.ist-aktiv .vergleich__griff > span { transform: scale(1.08); }
.vergleich__marke {
  position: absolute; bottom: 18px; z-index: 2; height: 30px; padding: 0 12px; border-radius: var(--r-rund); display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; pointer-events: none; transition: opacity .3s;
}
.vergleich__marke--vorher { left: 18px; background: #fff; color: #1f5fe0; box-shadow: 0 0 0 1px #cfdcf6; }
.vergleich__marke--nachher { right: 18px; background: var(--blau); color: #fff; }
.vergleich__regler { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.vergleich__regler { pointer-events: none; }
.vergleich__buehne:has(.vergleich__regler:focus-visible) { outline: 3px solid var(--blau); outline-offset: 4px; }
@media (max-width: 700px) {
  .vergleich__buehne { aspect-ratio: 4 / 3.4; border-radius: 18px; }
  .vergleich__griff > span { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .vergleich__marke { bottom: 12px; height: 26px; font-size: 12px; }
  .vergleich__marke--vorher { left: 12px; }
  .vergleich__marke--nachher { right: 12px; }
}

/* Pfeil-Kreis, genutzt auf den Projektseiten */
.projekt__pfeil {
  flex: none; width: 48px; height: 48px; border-radius: var(--r-rund); display: grid; place-items: center;
  border: 1.5px solid #C9D2E0; transition: background-color .3s var(--e-weich), border-color .3s, color .3s, transform .4s var(--e-weich);
}

/* ---------- SEO ---------- */
.seo__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.seo__punkte { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.seo__punkte li { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.seo__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--blau); box-shadow: var(--schatten); }
.seo__icon .i { width: 20px; height: 20px; }
.seo__ab { margin-top: 22px; }
.vorschau { border-radius: 24px; background: #fff; border: 1px solid var(--linie); box-shadow: var(--schatten-gross); overflow: hidden; }
.vorschau__felder { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; padding: 22px; background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.vorschau__reiter { display: flex; gap: 6px; padding: 16px 22px 0; }
.vorschau__reiter button {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-rund);
  border: 1.5px solid var(--linie); background: #fff; color: var(--grau); font-weight: 650; font-size: 14.5px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.vorschau__reiter button .i { width: 17px; height: 17px; }
.vorschau__reiter button[aria-selected='true'] { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.vorschau__treffer { padding: 22px 26px 28px; }
.vorschau__treffer[hidden] { display: none; }
.vorschau__ki { padding: 22px 26px 28px; display: grid; gap: 14px; }
.vorschau__ki[hidden] { display: none; }
.ki__frage {
  justify-self: end; max-width: 85%; padding: 12px 16px; border-radius: 18px 18px 4px 18px;
  background: var(--flaeche); font-size: 15px; color: var(--tinte);
}
.ki__antwort { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.ki__zeichen { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #0A6CFF, #6AA6FF); color: #fff; }
.ki__zeichen .i { width: 18px; height: 18px; }
.ki__antwort p { font-size: 15.5px; line-height: 1.6; color: #2A3448; }
.ki__antwort b { color: var(--tinte); }
.ki__quelle { margin-top: 12px; }
.vorschau__quelle { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.vorschau__fav { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blau-hell); color: var(--blau); font-weight: 700; font-size: 14px; text-transform: uppercase; }
.vorschau__name { font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.vorschau__url { font-size: 13px; color: var(--grau); line-height: 1.3; }
.vorschau__titel { font-size: 21px; line-height: 1.3; font-weight: 550; color: #1a3fd6; letter-spacing: -0.01em; margin-bottom: 6px; overflow-wrap: anywhere; }
.vorschau__beschreibung { font-size: 15px; color: #3c4453; line-height: 1.55; }
.vorschau__infos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--r-rund); background: var(--flaeche); font-size: 13.5px; font-weight: 550; color: var(--tinte); }
.chip .i { width: 16px; height: 16px; color: var(--blau); }
.vorschau__notiz { padding: 16px 26px; border-top: 1px solid var(--linie); font-size: 13.5px; color: var(--grau); background: #FBFCFE; }
@media (max-width: 960px) { .seo__raster { grid-template-columns: 1fr; } }
@media (max-width: 1240px) {
  .vorschau__felder { grid-template-columns: 1fr 1fr; }
  .vorschau__felder .feld:first-child { grid-column: 1 / -1; }
}

/* ---------- Formularfelder (gemeinsam) ---------- */
.feld { display: grid; gap: 6px; }
.feld label, .feld .feld__label { font-size: 13.5px; font-weight: 650; color: var(--tinte); }
.feld input, .feld textarea, .feld select {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--r-feld); border: 1.5px solid #CCD5E3; background: #fff;
  font-size: 16px; color: var(--tinte); transition: border-color .2s, box-shadow .2s;
}
.feld textarea { min-height: 96px; resize: vertical; }
.feld input::placeholder, .feld textarea::placeholder { color: #7A8497; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px rgba(10, 108, 255, 0.16); }
.feld__fehler { font-size: 13.5px; color: #C62828; font-weight: 550; min-height: 0; }
.feld.hat-fehler input { border-color: #C62828; }

/* ---------- Preise ---------- */
.preise__raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.paket {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 24px; background: #fff;
  border: 1px solid var(--linie);
}
.paket--empfohlen { border: 2px solid var(--blau); box-shadow: 0 30px 70px -30px rgba(10, 108, 255, 0.45); }
.paket__marke {
  position: absolute; top: -14px; left: 28px; height: 28px; padding: 0 12px; border-radius: var(--r-rund);
  background: var(--blau); color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center;
}
.paket__name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.paket__fuer { margin-top: 6px; color: var(--grau); font-size: 15.5px; min-height: 3.1em; }
.paket__preis { display: flex; align-items: baseline; gap: 8px; margin-top: 26px; }
.paket__preis small { font-size: 16px; font-weight: 600; color: var(--grau); }
.paket__preis b { font-size: clamp(44px, 4.2vw, 56px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-feature-settings: 'tnum' 1; }
.paket__einmal { margin-top: 8px; font-size: 15px; color: var(--grau); }
.paket__einmal b { color: var(--tinte); font-weight: 650; }
.paket__liste { list-style: none; padding: 24px 0 0; margin: 24px 0 28px; border-top: 1px solid var(--linie); display: grid; gap: 12px; }
.paket__liste li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.paket__liste .i { width: 18px; height: 18px; margin-top: 2px; color: var(--blau); }
.paket__liste li.paket__plus { font-weight: 650; }
.paket__dauer { display: flex; align-items: center; gap: 8px; margin-top: auto; margin-bottom: 18px; font-size: 14.5px; color: var(--grau); }
.paket__dauer .i { color: var(--blau); }
.preise__hinweis { margin: 26px auto 0; text-align: center; max-width: 70ch; }
.preise__punkte { display: none; }
@media (max-width: 1000px) {
  .preise__raster {
    display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--rand)); padding: 20px var(--rand) 26px; scroll-padding-inline: var(--rand);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .preise__raster::-webkit-scrollbar { display: none; }
  .paket { flex: 0 0 min(84%, 380px); scroll-snap-align: center; }
  .paket__fuer { min-height: 0; }
  .preise__punkte { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
  .preise__punkte button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #C9D2E0; cursor: pointer; transition: width .3s var(--e-weich), background-color .3s; }
  .preise__punkte button.ist-aktiv { width: 24px; border-radius: 4px; background: var(--blau); }
}

/* ---------- Ablauf ---------- */
.ablauf__kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.ablauf__kopf .kopf { margin-bottom: clamp(44px, 5vw, 64px); }
.ablauf__figur { position: relative; flex: none; width: 160px; height: 160px; margin-top: -24px; }
.ablauf__figur canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ablauf__figur.is-fallback { border-radius: 50%; background: var(--nacht) url('../img/maskottchen.webp') center / cover no-repeat; }

.ablauf__liste { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
/* Die Linie: gestrichelt, fließt langsam von links nach rechts */
.ablauf__liste::before {
  content: ''; position: absolute; left: 9px; width: var(--linie, 75%); top: 11px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blau) 0 10px, transparent 10px 20px);
  opacity: .55; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--e-weich) .1s;
}
.ist-sichtbar .ablauf__liste::before { transform: scaleX(1); }
.schritt { position: relative; padding-top: 48px; }
.schritt::before {
  content: ''; position: absolute; top: 3px; left: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blau); border: 2px solid var(--blau); box-shadow: 0 0 0 6px var(--flaeche);
}
/* Pulsring um jeden Punkt, nacheinander */
.schritt::after {
  content: ''; position: absolute; top: 3px; left: 0; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--blau); opacity: 0; pointer-events: none;
}
.schritt__zeit { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--r-rund); background: var(--blau-hell); color: var(--blau-tief); font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.schritt h3 { margin-bottom: 10px; }
.schritt p { color: var(--grau); font-size: 16px; }

@media (prefers-reduced-motion: no-preference) {
  .ist-sichtbar .ablauf__liste::before { animation: nevilu-fliessen 1.1s linear infinite; }
  .ist-sichtbar .schritt::after { animation: nevilu-puls 4.8s var(--e-weich) infinite; animation-delay: calc(var(--i, 0) * 1.2s); }
  .ist-sichtbar .schritt::before { animation: nevilu-punkt 4.8s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1.2s); }
  .schritt:nth-child(2) { --i: 1; }
  .schritt:nth-child(3) { --i: 2; }
  .schritt:nth-child(4) { --i: 3; }
  @keyframes nevilu-fliessen { from { background-position: 0 0; } to { background-position: 20px 0; } }
  @keyframes nevilu-puls {
    0% { opacity: .8; transform: scale(1); }
    22% { opacity: 0; transform: scale(2.6); }
    100% { opacity: 0; transform: scale(2.6); }
  }
  @keyframes nevilu-punkt {
    0%, 30%, 100% { transform: scale(1); box-shadow: 0 0 0 6px var(--flaeche); }
    8% { transform: scale(1.25); box-shadow: 0 0 0 6px var(--flaeche), 0 0 18px 4px rgba(10, 108, 255, .45); }
  }
}
@media (max-width: 900px) {
  .ablauf__figur { width: 110px; height: 110px; margin-top: -12px; }
  .ablauf__liste { grid-template-columns: 1fr; gap: 0; }
  .ablauf__liste::before {
    left: 10px; top: 12px; width: 2px; height: var(--linie, 75%);
    background: repeating-linear-gradient(180deg, var(--blau) 0 10px, transparent 10px 20px);
    transform-origin: top; transform: scaleY(0);
  }
  .ist-sichtbar .ablauf__liste::before { transform: scaleY(1); animation-name: nevilu-fliessen-y; }
  @keyframes nevilu-fliessen-y { from { background-position: 0 0; } to { background-position: 0 20px; } }
  .schritt { padding: 0 0 40px 48px; }
  .schritt::before, .schritt::after { top: 2px; }
}
@media (max-width: 560px) {
  .ablauf__kopf { align-items: flex-start; }
  .ablauf__kopf .kopf { margin-bottom: 36px; }
  .ablauf__figur { width: 92px; height: 92px; margin: -8px -8px 0 0; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid #DCE2EC; }
.faq details { border-bottom: 1px solid #DCE2EC; }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0;
  cursor: pointer; font-size: clamp(18px, 1.5vw, 20px); font-weight: 650; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 22px; height: 22px; color: var(--blau); transition: transform .35s var(--e-weich); }
.faq details[open]:not(.schliesst) summary .i { transform: rotate(45deg); }
.faq__antwort { padding: 0 48px 26px 0; color: var(--grau); max-width: 68ch; overflow: hidden; }
.faq summary:hover { color: var(--blau); }
.faq details { transition: background-color .3s; }
.faq__antwort p + p { margin-top: 10px; }

/* ---------- Anfrage ---------- */
.anfrage { padding-bottom: clamp(72px, 8vw, 110px); }
.anfrage__raster { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.anfrage__raster > * { min-width: 0; }
.formular { min-width: 0; max-width: 100%; }
.anfrage__text .lead { margin-top: 24px; }
.direkt { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 4px; }
.direkt a { display: flex; align-items: center; gap: 14px; padding: 12px 0; color: #fff; text-decoration: none; font-weight: 600; font-size: 18px; border-bottom: 1px solid var(--nacht-linie); }
.direkt a .i { width: 22px; height: 22px; color: var(--blau-auf-nacht); }
.direkt a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.direkt small { display: block; margin-top: 14px; color: rgba(255, 255, 255, 0.6); font-size: 14.5px; }

.formular { background: #fff; color: var(--tinte); border-radius: 28px; padding: clamp(24px, 3.2vw, 40px); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.6); }
.formular__kopf { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.formular__figur { position: relative; flex: none; width: 104px; height: 104px; margin: -14px 0 -14px -12px; }
.formular__figur canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.formular__figur.is-fallback { border-radius: 50%; background: var(--nacht) url('../img/maskottchen.webp') center / cover no-repeat; }
.formular__fortschritt { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.formular__stand { font-size: 13.5px; font-weight: 700; color: var(--grau); white-space: nowrap; }
.formular__balken { display: flex; gap: 6px; }
.formular__balken span { width: 28px; height: 4px; border-radius: 4px; background: var(--linie); transition: background-color .3s; }
.formular__balken span.ist-erledigt { background: var(--blau); }
.formular fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.formular legend { font-size: clamp(22px, 2vw, 26px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 20px; padding: 0; }
.schritt-feld[hidden] { display: none; }
.wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wahl--drei { grid-template-columns: repeat(3, 1fr); }
.wahl label {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid #D5DCE8; cursor: pointer; font-weight: 600; font-size: 15.5px; line-height: 1.3;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.wahl label:hover { border-color: #9DB9E8; }
.wahl input { position: absolute; opacity: 0; pointer-events: none; }
.wahl label:has(input:checked) { border-color: var(--blau); background: var(--blau-hell); box-shadow: inset 0 0 0 1px var(--blau); }
.wahl label:has(input:focus-visible) { outline: 2px solid var(--blau); outline-offset: 2px; }
.wahl label small { display: block; font-weight: 500; color: var(--grau); font-size: 13px; }
.formular__felder { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.termin__tage { display: flex; gap: 8px; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; padding: 2px 2px 8px; margin-top: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.termin__tage label, .termin__zeiten label {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer;
  border: 1.5px solid #D5DCE8; border-radius: 14px; font-weight: 650; transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s;
}
.termin__tage label { flex: none; width: 74px; height: 70px; scroll-snap-align: start; font-size: 15px; line-height: 1.2; }
.termin__tage label small { font-size: 12.5px; font-weight: 600; color: var(--grau); text-transform: uppercase; letter-spacing: 0.04em; }
.termin__zeiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 8px; }
.termin__zeiten label { height: 44px; font-size: 15px; font-feature-settings: 'tnum' 1; }
.termin__tage input, .termin__zeiten input { position: absolute; opacity: 0; pointer-events: none; }
.termin__tage label:hover, .termin__zeiten label:hover { border-color: #9DB9E8; }
.termin__tage label:has(input:checked), .termin__zeiten label:has(input:checked) { border-color: var(--blau); background: var(--blau); color: #fff; box-shadow: 0 8px 20px -10px rgba(10, 108, 255, 0.8); }
.termin__tage label:has(input:checked) small { color: rgba(255, 255, 255, 0.8); }
.termin__tage label:has(input:focus-visible), .termin__zeiten label:has(input:focus-visible) { outline: 2px solid var(--blau); outline-offset: 2px; }
.termin__zeiten label:has(input:disabled) { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.termin__zeiten:empty::before { content: 'Bitte zuerst einen Tag wählen.'; grid-column: 1 / -1; color: var(--grau); font-size: 14.5px; padding: 10px 0; }
.termin__hinweis { margin-top: 16px; font-size: 13.5px; color: var(--grau); }
.formular__felder .feld--voll { grid-column: 1 / -1; }
.formular__fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.formular__zurueck { border: 0; background: none; color: var(--grau); font-weight: 650; cursor: pointer; padding: 10px 4px; }
.formular__zurueck:hover { color: var(--tinte); }
.formular__zurueck[hidden] { visibility: hidden; display: block; }
.formular__senden { display: grid; gap: 10px; margin-top: 24px; }
.formular__datenschutz { margin-top: 16px; font-size: 13px; color: var(--grau); line-height: 1.5; }
.formular__fehler { margin-top: 12px; color: #C62828; font-weight: 600; font-size: 14.5px; }
.formular__fertig { text-align: left; }
.formular__fertig h3 { font-size: 26px; letter-spacing: -0.025em; margin-bottom: 10px; }
.formular__fertig p { color: var(--grau); }
.formular__zusammenfassung { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--flaeche); font-size: 14.5px; white-space: pre-line; color: var(--tinte); }
@media (max-width: 960px) { .anfrage__raster { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .wahl, .wahl--drei, .formular__felder { grid-template-columns: 1fr; }
  .formular__figur { width: 72px; height: 72px; }
  .formular__balken span { width: 18px; }
}

/* ---------- Fuß ---------- */
.fuss { background: var(--nacht); color: #fff; padding: 0 0 36px; }
.fuss__raster { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-top: 72px; }
.fuss__marke svg { height: 30px; width: auto; }
.fuss__marke p { margin-top: 18px; color: rgba(255, 255, 255, 0.62); font-size: 15px; max-width: 32ch; }
.fuss h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 16px; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fuss a { color: rgba(255, 255, 255, 0.86); text-decoration: none; font-size: 15.5px; }
.fuss a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--nacht-linie); font-size: 14px; color: rgba(255, 255, 255, 0.5); }
@media (max-width: 860px) { .fuss__raster { grid-template-columns: 1fr 1fr; } .fuss__marke { grid-column: 1 / -1; } }

/* ---------- Unterseiten: Projekt ---------- */
.pfad { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 30px; font-size: 14.5px; color: var(--grau); }
.pfad li + li::before { content: '/'; margin-right: 8px; color: #B8C1D1; }
.pfad a { text-decoration: none; color: var(--grau); }
.pfad a:hover { color: var(--blau); }
.fall__kopf { padding-block: clamp(36px, 5vw, 64px) clamp(36px, 4vw, 56px); }
.fall__kopf .lead { margin-top: 24px; }
.fall__marke { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: var(--r-rund); background: var(--blau-hell); color: var(--blau-tief); font-size: 13.5px; font-weight: 700; margin-bottom: 22px; }
.fall__daten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 1px solid var(--linie); }
.fall__daten div { padding: 20px 20px 0 0; }
.fall__daten div + div { padding-left: 20px; border-left: 1px solid var(--linie); }
.fall__daten dt { font-size: 13.5px; color: var(--grau); font-weight: 600; margin-bottom: 4px; }
.fall__daten dd { font-weight: 650; letter-spacing: -0.01em; }
.fall__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.fall__titelbild { border-radius: 24px; overflow: hidden; box-shadow: var(--schatten-gross); }
.fall__abschnitt { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.fall__abschnitt + .fall__abschnitt { margin-top: clamp(64px, 8vw, 110px); }
.fall__abschnitt p + p { margin-top: 14px; }
.fall__abschnitt .fliess { color: var(--grau); font-size: 18px; line-height: 1.65; }
.farben { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.farbe { width: 132px; }
.farbe span { display: block; height: 84px; border-radius: 14px; border: 1px solid rgba(11, 19, 38, 0.08); margin-bottom: 8px; }
.farbe b { display: block; font-size: 14px; }
.farbe small { font-size: 13px; color: var(--grau); font-feature-settings: 'tnum' 1; }
.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.galerie figure { border-radius: 18px; overflow: hidden; background: var(--flaeche); box-shadow: var(--schatten); }
.galerie figure:nth-child(even) { margin-top: clamp(0px, 3vw, 40px); margin-bottom: calc(-1 * clamp(0px, 3vw, 40px)); }
.galerie img { width: 100%; height: auto; }
.handys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); max-width: 980px; margin-inline: auto; }
.handy { border-radius: 34px; padding: 10px; background: var(--nacht); box-shadow: var(--schatten-gross); }
.handy img { border-radius: 26px; width: 100%; }
.handy + figcaption, .handys figcaption { margin-top: 14px; text-align: center; font-size: 14.5px; color: var(--grau); }
.merkmale { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.merkmale li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.merkmale .i { width: 20px; height: 20px; color: var(--blau); margin-top: 3px; }
.merkmale b { font-weight: 650; }
.merkmale span { color: var(--grau); }
.weiter { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 36px clamp(24px, 4vw, 48px); border-radius: 28px; background: var(--nacht); color: #fff; text-decoration: none; }
.weiter small { display: block; color: rgba(255, 255, 255, 0.6); font-size: 14.5px; margin-bottom: 6px; }
.weiter b { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.04em; }
.weiter .projekt__pfeil { border-color: rgba(255, 255, 255, 0.3); }
.weiter:hover .projekt__pfeil { background: var(--blau); border-color: var(--blau); transform: rotate(-45deg); }
@media (max-width: 860px) {
  .fall__daten { grid-template-columns: 1fr 1fr; }
  .fall__daten div:nth-child(3) { padding-left: 0; border-left: 0; }
  .fall__abschnitt { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: 1fr; }
  .galerie figure:nth-child(even) { margin: 0; }
  .merkmale { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .handys { grid-template-columns: 1fr 1fr; }
  .handys figure:nth-child(3) { display: none; }
}

/* ---------- Rechtstexte ---------- */
.recht { padding-block: clamp(40px, 6vw, 80px) var(--abschnitt); }
.recht h1 { margin-bottom: 36px; }
.recht h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 44px 0 12px; }
.recht h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
.recht p, .recht li { color: #33405A; }
.recht p + p { margin-top: 12px; }
.recht ul { padding-left: 20px; margin: 10px 0; display: grid; gap: 6px; }
.recht a { color: var(--blau); }
.recht address { font-style: normal; }
.recht .kasten { padding: 20px 22px; border-radius: 16px; background: var(--flaeche); margin-top: 16px; }

/* ---------- 404 ---------- */
.fehlerseite { min-height: calc(100dvh - var(--nav-h)); display: grid; place-items: center; text-align: center; padding: 64px var(--rand); }
.fehlerseite .h1 { margin-bottom: 18px; }
.fehlerseite .lead { margin-inline: auto; }
.fehlerseite .hero__knoepfe { justify-content: center; }

/* ---------- Einblenden beim Scrollen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-zeigen] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--e-weich), transform 1s var(--e-weich); transition-delay: var(--verz, 0s); }
  .js [data-zeigen].ist-sichtbar { opacity: 1; transform: none; }
  .js .hero [data-auftritt] { opacity: 0; transform: translateY(18px); animation: auftritt 1s var(--e-weich) forwards; animation-delay: var(--verz, 0s); }
  @keyframes auftritt { to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .ablauf__liste::after { transform: none; }
}
