/* Leo Fly – Drohnenfotografie Stuttgart
   Farben: Anthrazit/Schwarz, Weiß, ein gedämpftes Kupfer-Orange als Akzent */

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

:root {
  --night: #07090d;
  --night-2: #0b0e14;
  --anth: #14181e;
  --anth-2: #1c2129;
  --anth-3: #262c36;
  --line: rgba(238, 235, 229, 0.1);
  --line-2: rgba(238, 235, 229, 0.18);
  --text: #eeebe5;
  --muted: #a1a7b1;
  --orange: #cf8a4f;
  --orange-2: #dc9c66;
  --amber: #e3b07a;
  --green: #a9cdb0;
  --glass: rgba(20, 24, 30, 0.55);
  --radius: 18px;
  --radius-s: 10px;
  --pad: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-size: clamp(16px, 0.35vw + 15px, 18px);
  line-height: 1.6;
    font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: #111; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: #111; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left)); }

svg use, .nav svg, .chip-btn svg { pointer-events: none; }
svg:not([fill]) { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Platzhalter, die vor dem Livegang ersetzt werden */
.ph { border-bottom: 1px dashed rgba(207, 138, 79, 0.7); color: var(--amber); }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: 0.005em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--orange); color: #120a04; }
.btn--primary:hover { background: var(--orange-2); }
.btn--ghost { border-color: var(--line-2); background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.07); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 0.92rem; }
.btn--block { width: 100%; }
.link { color: var(--orange-2); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(220, 156, 102, 0.35); padding-bottom: 2px; transition: border-color .2s; }
.link:hover { border-color: var(--orange-2); }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: calc(var(--nav-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(7, 9, 13, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 30px; height: 30px; color: var(--orange); stroke-width: 2.2; }
.logo__word { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; }
.nav__links { display: none; }
.nav__toggle { position: relative; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); cursor: pointer; }
.nav__burger, .nav__burger::before, .nav__burger::after { position: absolute; left: 12px; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; content: ""; }
.nav__burger { top: 21px; }
.nav__burger::before { left: 0; top: -6px; }
.nav__burger::after { left: 0; top: 6px; }
.nav.is-open .nav__burger { background: transparent; }
.nav.is-open .nav__burger::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1079px) {
  .nav.is-open { background: rgba(7, 9, 13, 0.96); height: 100dvh; }
  .nav.is-open .nav__inner { flex-wrap: wrap; align-content: flex-start; }
  .nav.is-open .logo { height: var(--nav-h); }
  .nav.is-open .nav__links { display: flex; flex-direction: column; width: 100%; gap: 4px; padding: 24px 0; order: 3; }
  .nav.is-open .nav__links a:not(.btn) { font-size: 1.7rem; font-weight: 700; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__cta { margin-top: 20px; --h: 54px; font-size: 1.05rem; }
}
@media (min-width: 1080px) {
  .nav__toggle { display: none; }
  .nav__links { display: flex; align-items: center; gap: 26px; font-size: 0.94rem; }
  .nav__links a:not(.btn) { text-decoration: none; color: rgba(238, 235, 229, 0.82); position: relative; padding: 6px 0; transition: color .2s; }
  .nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav__links a:not(.btn):hover { color: #fff; }
  .nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
  .nav__cta { margin-left: 6px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #0d0f12; }
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__poster img, .hero__canvas, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { background: transparent; pointer-events: none; }
.hero__canvas { opacity: 0; transition: opacity .8s ease; }
.hero__canvas.is-live { opacity: 1; }
html.intro-pending .hero__canvas { opacity: 0; transition-duration: .2s; }

.hero__shade { position: absolute; inset: 0; pointer-events: none; transition: opacity 1.1s ease;
  background:
    linear-gradient(to top, rgba(8, 9, 11, 0.94) 0%, rgba(8, 9, 11, 0.72) 26%, rgba(8, 9, 11, 0.12) 52%, rgba(8, 9, 11, 0) 62%),
    linear-gradient(to bottom, rgba(8, 9, 11, 0.5), rgba(8, 9, 11, 0) 16%); }
.hero__content { position: relative; width: 100%; padding-top: calc(var(--nav-h) + 24px); padding-bottom: clamp(36px, 7vh, 96px); }
.hero__title { max-width: 11.5em; font-size: clamp(2.45rem, 10.6vw, 5.6rem); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
.hero__title .w { padding-bottom: 0.06em; }
.hero__title, .hero__sub, .hero__trust { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.hero__title .l { display: block; white-space: nowrap; }
.hero__sub { max-width: 34em; margin-top: clamp(14px, 2vh, 22px); font-size: clamp(1rem, 0.5vw + 0.9rem, 1.25rem); line-height: 1.45; color: rgba(238, 235, 229, 0.82); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3.4vh, 34px); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: clamp(20px, 3vh, 30px); font-size: 0.86rem; color: rgba(238, 235, 229, 0.7); }
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hero__trust svg { width: 15px; height: 15px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 599px) {
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 0; padding: 0 14px; font-size: 0.95rem; --h: 50px; white-space: nowrap; }
  .hero__trust { gap: 6px 14px; font-size: 0.8rem; }
}
@media (max-width: 374px) { .hero__trust li:nth-child(1) { flex-basis: 100%; } }
@media (min-width: 900px) {
  .hero__shade { background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.86) 0%, rgba(8, 9, 11, 0.62) 30%, rgba(8, 9, 11, 0.22) 50%, rgba(8, 9, 11, 0) 64%),
    linear-gradient(to top, rgba(8, 9, 11, 0.88) 0%, rgba(8, 9, 11, 0) 42%),
    linear-gradient(to bottom, rgba(8, 9, 11, 0.5), rgba(8, 9, 11, 0) 16%); }
}

/* Intro-Zustand: Inhalte erst nach der Animation zeigen (Fallback nach 8 s, falls JS fehlt) */
html.intro-pending [data-hero-item], html.intro-pending [data-hero-title] { opacity: 0; animation: reveal-fallback .6s 8s forwards; }
html.intro-pending .photo-card { visibility: hidden; }
html.intro-pending .hero__shade { opacity: 0.28; }
@keyframes reveal-fallback { to { opacity: 1; } }

/* HUD (Kameraansicht der Drohne während des Intros) */
.hud { --hud-x: clamp(18px, 4vw, 48px); --hud-top: calc(var(--nav-h) + 14px); --hud-bottom: clamp(78px, 11vh, 104px);
  position: absolute; inset: 0; pointer-events: none; opacity: 0; font: 500 11px/1.2 ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace; color: rgba(255, 255, 255, 0.88); letter-spacing: 0.06em; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45); }
.hud__frame { position: absolute; top: var(--hud-top); left: var(--hud-x); right: var(--hud-x); bottom: var(--hud-bottom); }
.hud__frame i, .hud__focus i { position: absolute; width: 18px; height: 18px; border-color: rgba(255, 255, 255, 0.75); border-style: solid; border-width: 0; }
.hud__frame i:nth-child(1), .hud__focus i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.hud__frame i:nth-child(2), .hud__focus i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.hud__frame i:nth-child(3), .hud__focus i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.hud__frame i:nth-child(4), .hud__focus i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.hud__row { position: absolute; left: calc(var(--hud-x) + 14px); right: calc(var(--hud-x) + 14px); display: flex; align-items: center; justify-content: space-between; gap: 14px; white-space: nowrap; }
.hud__row--top { top: calc(var(--hud-top) + 14px); }
.hud__row--bottom { bottom: calc(var(--hud-bottom) + 14px); }
.hud__rec { display: inline-flex; align-items: center; gap: 6px; }
.hud__rec b { width: 6px; height: 6px; border-radius: 50%; background: #e5484d; animation: rec 1s steps(1) infinite; }
@keyframes rec { 50% { opacity: 0; } }
.hud__bat { display: inline-flex; align-items: center; gap: 6px; }
.hud__bat svg { width: 20px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1; }
.hud__bat .lvl { fill: currentColor; stroke: none; }
.hud__exp { display: inline-flex; gap: 14px; }
.hud__cross { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; opacity: 0.55;
  background: linear-gradient(#fff, #fff) center / 1px 100% no-repeat, linear-gradient(#fff, #fff) center / 100% 1px no-repeat; }
.hud__focus { position: absolute; left: 0; top: 0; width: 100px; height: 100px; opacity: 0; will-change: transform, width, height; }
.hud__focus i { width: 14px; height: 14px; border-color: #fff; }
.hud__focus.is-locked i { border-color: var(--amber); }
.hud__af { position: absolute; left: 0; top: -18px; font-size: 10px; }
.hud__focus.is-locked .hud__af { color: var(--amber); }
@media (max-width: 599px) {
  .hud { font-size: 10px; --hud-bottom: 84px; }
  .hud__mid, .hud__x { display: none; }
  .hud__exp { gap: 10px; }
}
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }

/* Foto der Drohne – schmaler weißer Rand, ruht danach in der Ecke */
.photo-card { --pw: 116px; position: absolute; z-index: 3; right: clamp(16px, 4vw, 40px); top: calc(var(--nav-h) + 10px); width: var(--pw); aspect-ratio: 3 / 2;
  padding: 3px; background: #f6f5f2; border-radius: 2px; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.3); transform-origin: 0 0; text-decoration: none; }
.photo-card.is-placed { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.photo-card img, .photo-card__shot { width: 100%; height: 100%; object-fit: cover; border-radius: 1px; }
.photo-card__shot { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); display: none; }
.photo-card.has-shot .photo-card__shot { display: block; }
.photo-card.is-placed:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 24px 50px -14px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.3); }
@media (min-width: 900px) { .photo-card { --pw: clamp(180px, 14vw, 240px); padding: 4px; right: clamp(28px, 4.5vw, 72px); top: calc(var(--nav-h) + 4vh); } .photo-card__shot { inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); } }

/* Kleiner Knopf oben links: Intro erneut abspielen */
.replay-btn { position: absolute; z-index: 4; top: calc(var(--nav-h) + 10px); left: var(--pad); width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(10, 12, 16, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: rgba(238, 235, 229, 0.85); cursor: pointer;
  transition: opacity .3s, border-color .2s, color .2s, background-color .2s; }
.replay-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.replay-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: rgba(10, 12, 16, 0.65); }
html.intro-pending .replay-btn, html.intro-running .replay-btn { opacity: 0; visibility: hidden; }
@media (min-width: 900px) { .replay-btn { left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); } }

/* 2D-Variante: freigestellte Drohne */
.drone2d { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.4)); will-change: transform; }
.hero__poster img { transform-origin: 62% 45%; }

/* Intro-Steuerung (nur während des Intros sichtbar) */
.intro-controls { position: absolute; z-index: 7; right: var(--pad); bottom: clamp(20px, 3.4vh, 34px); display: flex; gap: 8px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.intro-controls.is-visible { opacity: 1; visibility: visible; transition: opacity .35s; }
@media (max-width: 599px) { .intro-controls { left: var(--pad); right: var(--pad); justify-content: space-between; } }
.chip-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 12, 16, 0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 0.84rem; cursor: pointer; transition: background-color .2s, border-color .2s; }
.chip-btn:hover { border-color: rgba(255, 255, 255, 0.4); }
.chip-btn svg { width: 18px; height: 18px; }

/* ---------- Laufband ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--night-2); }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 18px 0; animation: ticker 38s linear infinite; }
.ticker span { font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.45rem); white-space: nowrap; color: rgba(238, 235, 229, 0.85); }
.ticker svg { width: 20px; height: 20px; color: var(--orange); stroke-width: 2.4; flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sektionen ---------- */
.section { position: relative; padding: clamp(84px, 12vw, 168px) 0; }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 780px; }
.h2 { font-size: clamp(2.15rem, 5.2vw, 4.4rem); font-weight: 760; letter-spacing: -0.018em; line-height: 1; text-wrap: balance; }
.lead { font-size: clamp(1.04rem, 0.6vw + 0.95rem, 1.22rem); color: var(--muted); max-width: 62ch; }
.note { font-size: 0.88rem; color: var(--muted); }
.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* Sucher-Ecken – Bildrahmen wie im Kameradisplay */
.vf { position: relative; }
.vf::after { content: ""; position: absolute; inset: 14px; pointer-events: none; opacity: 0.85; transition: inset .45s var(--ease), opacity .3s;
  --c: rgba(255, 255, 255, 0.85); --l: 20px; --w: 1.5px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l) no-repeat; }
.vf:hover::after, .vf:focus-visible::after { inset: 24px; --c: var(--orange); }

/* Leistungen – Bento */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { position: relative; border-radius: var(--radius); background: var(--anth); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.card__media { margin: 0; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 12px; align-content: start; }
.card__icon { width: 34px; height: 34px; color: var(--orange); }
.card h3 { font-size: clamp(1.45rem, 2.2vw, 1.95rem); font-weight: 720; }
.card p { color: var(--muted); }
.bento__a .card__media { aspect-ratio: 4 / 3; }
.bento__b .card__media { aspect-ratio: 16 / 9; }
.bento__c, .bento__d { background: linear-gradient(160deg, var(--anth-2), var(--anth)); }
.bento__e { background: linear-gradient(160deg, var(--anth-2), var(--anth)); }
.bento__e .card__media { aspect-ratio: 16 / 9; }
.bento__c::before { content: ""; position: absolute; inset: 0; background: url("../img/blueprint.webp") right -40px top -30px / 320px auto no-repeat; mix-blend-mode: screen; opacity: 0.22; pointer-events: none; }
.ticks { display: grid; gap: 8px; margin-top: 4px; }
.ticks li { position: relative; padding-left: 26px; color: rgba(238, 235, 229, 0.88); font-size: 0.96rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__a { grid-row: span 2; }
  .bento__a .card__media { aspect-ratio: auto; flex: 1; min-height: 320px; }
  .bento__e { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .bento { grid-template-columns: 1.05fr 1fr 1fr; grid-template-rows: auto auto; }
  .bento__a { grid-row: 1 / span 2; }
  .bento__b { grid-column: 2 / span 2; flex-direction: row; }
  .bento__b .card__media { flex: 1.25; aspect-ratio: auto; min-height: 300px; }
  .bento__b .card__body { flex: 1; align-content: center; }
  .bento__e { flex-direction: row; }
  .bento__e .card__media { flex: 1.25; aspect-ratio: auto; min-height: 280px; }
  .bento__e .card__body { flex: 1; align-content: center; }
}

/* Dach-Check */
.section--roof { background: linear-gradient(180deg, var(--night), var(--night-2) 30%, var(--night-2) 70%, var(--night)); }
.roof { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
.roof__text { display: grid; gap: 22px; }
.checklist { display: grid; gap: 2px; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.checklist svg { width: 22px; height: 22px; color: var(--orange); stroke-width: 2.2; flex: none; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 999px; background: var(--anth); border: 1px solid var(--line); }
.tabs button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; cursor: pointer; font-size: 0.92rem; font-weight: 600; color: var(--muted); transition: background-color .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--night); }
.inspect { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--anth); }
.inspect img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.inspect__scan { position: absolute; left: 0; right: 0; top: 0; height: 22%; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, rgba(207, 138, 79, 0), rgba(207, 138, 79, 0.18) 85%, rgba(255, 140, 64, 0.85) 99%, rgba(207, 138, 79, 0)); }
.markers { position: absolute; inset: 0; }
.marker { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.marker::before, .marker::after { content: ""; position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--orange); background: rgba(207, 138, 79, 0.18); }
.marker::after { animation: ping 2s var(--ease) infinite; background: none; }
.marker--warn::before, .marker--warn::after { border-color: var(--amber); background-color: rgba(255, 179, 92, 0.15); }
.marker span { position: absolute; left: 22px; top: -14px; white-space: nowrap; padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; background: rgba(7, 9, 13, 0.82); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.marker--left span { left: auto; right: 22px; }
.marker--below span { left: 0; top: 20px; transform: translateX(-50%); }
@keyframes ping { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }
.marker b { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; display: none; place-items: center; border-radius: 50%; background: var(--orange); color: #130a04; font-size: 11px; font-weight: 800; z-index: 1; }
.marker--warn b { background: var(--amber); }
.inspect__legend { display: none; margin: 12px 0 0; padding: 0; list-style: none; counter-reset: lg; font-size: 0.92rem; color: rgba(238, 235, 229, 0.88); }
.inspect__legend li { counter-increment: lg; display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); }
.inspect__legend li::before { content: counter(lg); flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #130a04; font-size: 11px; font-weight: 800; }
@media (max-width: 699px) {
  .marker span { display: none; }
  .marker b { display: grid; }
  .inspect__legend:not([hidden]) { display: block; }
}
@media (min-width: 980px) { .roof { grid-template-columns: 0.85fr 1.15fr; } }

/* Pakete */
.section--blueprint { overflow: hidden; }
.section--blueprint::before { content: ""; position: absolute; right: -8%; top: 4%; width: min(820px, 90vw); aspect-ratio: 900 / 1272; background: url("../img/blueprint.webp") center / contain no-repeat; mix-blend-mode: screen; opacity: 0.16; pointer-events: none; }
.plans { display: grid; gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.plan__icon { width: 30px; height: 30px; color: var(--orange); }
.plan h3 { font-size: 1.55rem; font-weight: 720; }
.plan__for { color: var(--muted); font-size: 0.95rem; margin-top: -6px; }
.plan__price { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 780; letter-spacing: -0.02em; padding: 10px 0 14px; border-bottom: 1px solid var(--line); }
.plan .ticks { flex: 1; }
.plan .btn { margin-top: 10px; }
.plan--featured { background: linear-gradient(170deg, rgba(207, 138, 79, 0.16), rgba(20, 24, 30, 0.6) 46%); border-color: rgba(207, 138, 79, 0.45); }
.plans__extra { display: grid; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .plans { grid-template-columns: repeat(4, 1fr); } }

/* Ablauf */
.flow { position: relative; }
.flow__path { position: absolute; pointer-events: none; overflow: visible; }
.flow__track { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 2 8; vector-effect: non-scaling-stroke; }
.flow__line { fill: none; stroke: var(--orange); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.flow__path--h { display: none; }
.flow__path--v { left: 2px; top: 0; width: 44px; height: 100%; }
.flow__drone { position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #130a04; box-shadow: 0 0 0 6px rgba(207, 138, 79, 0.2), 0 10px 30px rgba(207, 138, 79, 0.35); z-index: 2; }
.flow__drone svg { width: 28px; height: 28px; stroke-width: 2; }
.steps { display: grid; gap: 34px; padding-left: 72px; counter-reset: step; }
.step { position: relative; display: grid; gap: 10px; padding: 26px; border-radius: var(--radius); background: var(--anth); border: 1px solid var(--line); transition: border-color .4s, background-color .4s; }
.step.is-active { border-color: rgba(207, 138, 79, 0.55); background: linear-gradient(160deg, rgba(207, 138, 79, 0.1), var(--anth) 60%); }
.step__num { font-weight: 800; font-size: 0.95rem; color: var(--orange); }
.step__icon { width: 30px; height: 30px; color: var(--text); }
.step h3 { font-size: 1.45rem; font-weight: 720; }
.step p { color: var(--muted); font-size: 0.98rem; }
@media (min-width: 980px) {
  .flow { padding-top: 150px; }
  .flow__path--h { display: block; left: 0; top: 0; width: 100%; height: 160px; }
  .flow__path--v { display: none; }
  .steps { grid-template-columns: repeat(4, 1fr); padding-left: 0; gap: 16px; }
}

/* Galerie + Vorher/Nachher */
.compare { position: relative; margin: 0 0 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); user-select: none; -webkit-user-select: none; touch-action: pan-y; background: var(--anth); }
.compare img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 40%; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__before img { height: 100%; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); }
.compare__handle i { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.compare__handle i::before, .compare__handle i::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid #111; border-width: 0 0 2px 2px; }
.compare__handle i::before { left: 12px; transform: rotate(45deg); }
.compare__handle i::after { right: 12px; transform: rotate(-135deg); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; touch-action: pan-y; }
.compare__range:focus-visible + figcaption { outline: 2px solid var(--orange); }
.compare__label { position: absolute; top: 16px; padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; background: rgba(7, 9, 13, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.compare__label--l { left: 16px; }
.compare__label--r { right: 16px; }
.compare figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); pointer-events: none; }
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.gallery__item { margin: 0; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--anth); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__hinweis { margin: 12px 0 0; font-size: 0.8rem; color: var(--muted, #8b8f98); }
.g1 { grid-row: span 2; }
.g2 { grid-column: span 2; aspect-ratio: 16 / 9; }
.g3, .g4, .g5 { aspect-ratio: 1; }
.g2 { order: -1; }
.g5 { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (min-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .g1 { grid-row: span 2; }
  .g2 { grid-column: span 2; order: -1; aspect-ratio: auto; }
  .g3, .g4, .g5 { aspect-ratio: auto; }
  .g5 { grid-column: span 2; }
}
@media (min-width: 1080px) {
  .gallery { grid-template-columns: 1fr 1fr 1fr 1fr; grid-auto-rows: 270px; }
  .g1 { grid-column: 1; grid-row: 1 / span 2; }
  .g2 { grid-column: 2 / span 2; grid-row: 1; order: 0; }
  .g4 { grid-column: 4; grid-row: 1 / span 2; }
  .g3 { grid-column: 2; grid-row: 2; }
  .g5 { grid-column: 3; grid-row: 2; }
}
@media (min-width: 1080px) { .compare img { aspect-ratio: 21 / 9; } }

/* Einsatzgebiet */
.area { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
.area__text { display: grid; gap: 22px; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--anth); font-size: 0.9rem; }
.radar { position: relative; width: 100%; max-width: 600px; margin: 0 auto; }
.radar figcaption { margin-top: 10px; text-align: center; font-size: 0.85rem; color: var(--muted); }
.radar svg { width: 100%; height: auto; overflow: visible; }
.radar__rings { fill: none; stroke: var(--line-2); stroke-width: 1; }
.radar__rings path { stroke-dasharray: 3 6; }
.radar__km { fill: rgba(238, 235, 229, 0.45); font-size: 12px; stroke: none; }
.radar__sweep { transform-origin: 300px 300px; animation: sweep 6s linear infinite; }
.radar__sweep path { fill: url(#radarFill); stroke: none; }
.radar__sweep path { fill: rgba(207, 138, 79, 0.12); }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__towns circle { fill: var(--text); stroke: none; }
.radar__towns .is-center { fill: var(--orange); }
.radar__towns .halo { fill: none; stroke: var(--orange); stroke-width: 1.5; }
.radar__towns text { fill: var(--text); font-size: 15px; font-weight: 600; stroke: none; paint-order: stroke; }
.radar__towns text.is-center { font-size: 19px; font-weight: 800; fill: var(--text); }
@media (min-width: 980px) { .area { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq__list { max-width: 980px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font-size: clamp(1.08rem, 1.4vw, 1.3rem); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 26px; height: 26px; flex: none; color: var(--orange); transition: transform .35s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__a { padding: 0 0 26px; color: var(--muted); max-width: 70ch; }

/* Kontakt */
.section--contact { background: radial-gradient(1000px 520px at 80% 10%, rgba(207, 138, 79, 0.1), transparent 60%), var(--night-2); border-top: 1px solid var(--line); }
.contact { display: grid; gap: clamp(36px, 5vw, 72px); }
.contact__text { display: grid; gap: 22px; align-content: start; }
.contact__list { display: grid; gap: 14px; margin-top: 6px; }
.contact__list li { display: flex; align-items: center; gap: 12px; }
.contact__list svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.contact__list a { text-decoration: none; }
.form { padding: clamp(22px, 3vw, 38px); border-radius: calc(var(--radius) + 4px); background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.form__grid { display: grid; gap: 16px; margin-bottom: 22px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.88rem; font-weight: 600; color: rgba(238, 235, 229, 0.86); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-s); border: 1px solid var(--line-2); background: rgba(7, 9, 13, 0.55); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(207, 138, 79, 0.25); }
.field [aria-invalid="true"] { border-color: #ff5a5a; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--orange); }
.field--check label { font-weight: 400; color: var(--muted); }
.hidden-field { position: absolute; left: -9999px; }
.form__status { margin-top: 14px; font-size: 0.95rem; min-height: 1.4em; }
.form__status.is-ok { color: var(--green); }
.form__status.is-error { color: #ff8a8a; }
@media (min-width: 700px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
@media (min-width: 980px) { .contact { grid-template-columns: 0.8fr 1.2fr; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--night); }
.footer__inner { display: grid; gap: 28px; }
.footer__brand { display: grid; gap: 12px; }
.footer__brand p, .footer__copy { color: var(--muted); font-size: 0.92rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__nav a { text-decoration: none; color: rgba(238, 235, 229, 0.82); font-size: 0.95rem; }
.footer__nav a:hover { color: var(--orange-2); }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1.2fr 2fr auto; align-items: center; } }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(94vw, 1500px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 6, 9, 0.9); backdrop-filter: blur(6px); }
.lightbox img { max-width: min(94vw, 1500px); max-height: 88vh; border-radius: 10px; }
.lightbox__close { position: absolute; top: -18px; right: -8px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--anth); cursor: pointer; display: grid; place-items: center; }
.lightbox__close svg { width: 22px; height: 22px; transform: rotate(45deg); }

/* Unterseiten (Impressum, Datenschutz) */
.page { padding: calc(var(--nav-h) + 64px) 0 96px; }
.page .container { max-width: 860px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 780; margin-bottom: 24px; }
.page h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.page p, .page li { color: rgba(238, 235, 229, 0.85); margin-bottom: 12px; }
.page ul { list-style: disc; padding-left: 1.3em; }
.page .callout { padding: 16px 20px; border-radius: 12px; border: 1px dashed rgba(207, 138, 79, 0.6); background: rgba(207, 138, 79, 0.07); color: var(--text); margin-bottom: 28px; }

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker__track { animation: none; }
}

/* Standbild-Modus (nur zum Erzeugen des Poster-Bildes) */
html.still .nav, html.still .hero__content, html.still .hero__shade, html.still .intro-controls, html.still .photo-card, html.still .replay-btn, html.still .hero__video, html.still .hud { display: none !important; }

/* Während des Intros nicht scrollen */
html.intro-pending, html.intro-running, html.intro-pending body, html.intro-running body { overflow: hidden; overscroll-behavior: none; }
html.intro-pending body, html.intro-running body { touch-action: none; }

/* Leistungsseiten */
.page--article .lead { font-size: 1.15rem; color: var(--text); margin-bottom: 28px; }
.page--article ol { list-style: decimal; padding-left: 1.3em; }
.page--article a:not(.btn) { color: var(--orange-2); }
.crumbs { display: flex; gap: 8px; font-size: 0.88rem; color: rgba(238, 235, 229, 0.6); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--orange-2); }
.page__fig { margin: 28px 0; border-radius: 16px; overflow: hidden; background: #111; }
.page__fig img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.page__cta { margin-top: 48px; padding: 28px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(207, 138, 79, 0.08); }
.page__cta h2 { margin-top: 0; }
.page__related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.page__related a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--text) !important; }
.hero__noscript { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Suchbegriff über der Hauptüberschrift */
.hero__eyebrow { display: block; font-size: clamp(0.74rem, 2.6vw, 0.92rem); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 0.9em; line-height: 1.3; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 0 18px rgba(0, 0, 0, 0.7); font-weight: 700; }
.faq__more { margin-top: 22px; color: rgba(238, 235, 229, 0.75); font-size: 0.95rem; }
.faq__more a, .faq__a a { color: var(--orange-2); }

/* SEO-Überarbeitung: Kurzantwort, Tabellen, Bildunterschrift, Pilot-Kasten, Kontaktzeile */
.kurz { margin: 24px 0; padding: 18px 22px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border-left: 3px solid var(--orange-2); }
.meta-zeile { margin: -6px 0 14px; font-size: 0.86rem; color: var(--muted); }
.page--article h3 { font-size: 1.08rem; margin: 22px 0 6px; }
.page__fig figcaption { padding: 7px 14px; font-size: 0.76rem; color: var(--muted); background: #0d1015; }
.tabelle { margin: 20px 0 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-2); border-radius: 12px; }
.tabelle table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 520px; }
.tabelle th, .tabelle td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.tabelle th { font-weight: 600; background: rgba(255, 255, 255, 0.04); }
.tabelle tr:last-child td { border-bottom: 0; }
.pilot { margin: 36px 0 8px; padding: 18px 22px; border: 1px solid var(--line-2); border-radius: 14px; display: grid; gap: 4px; }
.pilot p { margin: 0; }
.pilot__titel { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange-2); }
.footer__nap { color: var(--muted); font-size: 0.9rem; grid-column: 1 / -1; }
.footer__nap a { color: inherit; }
@media (max-width: 600px) {
  .tabelle table { min-width: 0; font-size: 0.84rem; }
  .tabelle th, .tabelle td { padding: 8px 9px; hyphens: auto; -webkit-hyphens: auto; }
}
/* Widerrufsformular */
.widerruf { display: grid; gap: 16px; margin: 28px 0; max-width: 560px; }
.widerruf label { display: grid; gap: 6px; font-weight: 500; }
.widerruf input, .widerruf textarea { font: inherit; color: var(--text); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; }
.widerruf button { justify-self: start; }
.unsichtbar { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.container--schmal { max-width: 760px; }
.vertrag { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 18px 0; padding: 18px 22px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.vertrag dt { color: var(--muted); }
.vertrag dd { margin: 0; }
.field--wahl { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.field--wahl legend { font-weight: 600; margin-bottom: 8px; width: 100%; }
.field--wahl label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.field--wahl input { width: 20px; height: 20px; min-height: 0; accent-color: var(--orange); }
.klein { font-size: 0.88rem; }
details.note { margin: 12px 0 20px; }
details.note summary { cursor: pointer; }
@media (max-width: 520px) { .vertrag { grid-template-columns: 1fr; gap: 2px; } .vertrag dd { margin-bottom: 8px; } }
.field--termine { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.field--termine legend { font-weight: 600; margin-bottom: 4px; }
.field__hilfe { font-size: 0.88rem; opacity: 0.8; margin: 0 0 4px; }
.termin { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; align-items: end; }
.termin label { grid-column: 1 / -1; margin-bottom: -2px; }
.termin input, .termin select { width: 100%; min-width: 0; }
.termin__flexibel { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.termin__flexibel input { width: 20px; height: 20px; min-height: 0; accent-color: var(--orange); }
@media (max-width: 420px) { .termin { grid-template-columns: 1fr; } }
.termin__hinweis { grid-column: 1 / -1; margin: 0; font-size: 0.88rem; color: #f19a9a; }
.termin__moeglich { font-weight: 600; opacity: 1; }

/* Angebot: „Termin passt nicht?“ */
.field--wahl.field--liste { flex-direction: column; flex-wrap: nowrap; gap: 10px; }
.field--wahl.field--liste label { align-items: flex-start; line-height: 1.4; }
.field--wahl.field--liste input { flex: none; margin-top: 1px; }
details.terminwunsch { margin-top: 28px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; color: inherit; font-size: 1rem; }
details.terminwunsch summary { font-size: 1rem; }
details.terminwunsch[open] summary { margin-bottom: 14px; }

/* Anfrage gesendet: großer Erfolgshinweis */
.form__erfolg { text-align: center; padding: clamp(32px, 6vw, 56px) clamp(20px, 4vw, 40px); border-radius: 22px; border: 1px solid rgba(95, 193, 132, 0.45);
  background: radial-gradient(120% 90% at 50% 0%, rgba(95, 193, 132, 0.16), rgba(95, 193, 132, 0.04)); outline: none; animation: erfolg-rein 0.5s cubic-bezier(.2, .8, .2, 1) both; }
.form__erfolg-haken { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #5fc184; color: #07130b; margin-bottom: 18px;
  box-shadow: 0 0 0 10px rgba(95, 193, 132, 0.15); animation: erfolg-pop 0.6s 0.15s cubic-bezier(.3, 1.6, .5, 1) both; }
.form__erfolg-titel { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.2; margin: 0 0 10px; }
.form__erfolg-text { font-size: clamp(1.05rem, 2vw, 1.2rem); opacity: 0.85; margin: 0 0 24px; }
@keyframes erfolg-rein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes erfolg-pop { from { transform: scale(0.3); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .form__erfolg, .form__erfolg-haken { animation: none; } }
.plan__ab { font-size: 0.5em; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-right: 0.1em; }
