@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(/fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Grundgerüst (im Entwurf vom Artifact-Rahmen geliefert) */
*, *::before, *::after { box-sizing: border-box; }
:root { color-scheme: light; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Layout: Der Hero öffnet als Kamerabild der Drohne mit Telemetrie und Umschalter RGB/Wärmebild.
   Leistungen stehen als Register-Zeilen mit Linien statt als Kartenraster.
   Gelb nur für Aktionen, angelehnt an die Beschilderung auf dem Rollfeld. Bewusst nur hell (Kundenwunsch). */
:root {
  color-scheme: light;
  --paper: #f1f4f6;
  --surface: #ffffff;
  --ink: #0f1c26;
  --ink-soft: #485866;
  --line: #d2dae0;
  --line-strong: #b4c1ca;
  --signal: #ffc21a;
  --signal-hover: #ffb000;
  --ice: #8fd0f3;
  --ice-soft: #e3f3fc;
  --blue: #16629a;
  --go: #13724a;
  --go-soft: #e4f2ea;
  --wait: #b0412d;
  --mark: #fff0b8;
  --mark-line: #b98a00;
  --hud: #ffffff;
  --night: #0b151d;
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--surface); }
.wrap { max-width: 1240px; margin-inline: auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 1.15rem + 2.7vw, 3.15rem); line-height: 1.04; font-stretch: 114%; }
h3 { font-size: 1.32rem; line-height: 1.2; font-stretch: 106%; font-weight: 760; }
p { margin: 0; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.ph { color: var(--ink); background: var(--mark); box-shadow: inset 0 -2px 0 var(--mark-line); padding: 0 .25em; border-radius: 2px; }
.note { font-size: .86rem; color: var(--ink-soft); }

/* Entwurfshinweis und Kopf */
.draft { background: var(--mark); border-bottom: 1px solid #e9d17c; font-size: .86rem; padding-block: 7px; }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 70px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo svg { height: 40px; width: auto; aspect-ratio: 2760 / 1830; flex: none; color: var(--ink); }
.logo b { display: block; font-size: 1.22rem; font-weight: 850; font-stretch: 125%; line-height: 1; letter-spacing: .02em; }
.logo small { display: block; font-size: .76rem; color: var(--ink-soft); font-weight: 500; margin-top: 4px; line-height: 1; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
nav a { display: block; padding: 10px 12px; text-decoration: none; font-weight: 520; font-size: .97rem; border-radius: 6px; }
nav a:hover { background: var(--paper); }
nav .nav-cta { display: none; }
.tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tel svg { width: 18px; height: 18px; flex: none; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .x { display: none; }
.menu-btn[aria-expanded="true"] .x { display: block; }
.menu-btn[aria-expanded="true"] .burger { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 6px; border: 2px solid transparent;
  font: 700 1rem/1.1 var(--font); font-stretch: 108%; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s; }
.btn.go { background: var(--signal); color: var(--ink); }
.btn.go:hover { background: var(--signal-hover); }
.btn.line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn.sm { min-height: 46px; padding: 0 18px; font-size: .95rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link { display: inline-flex; align-items: center; min-height: 52px; font-weight: 650; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* Hero */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.hero h1 { display: grid; gap: 14px; }
.kw { font-size: clamp(1.05rem, .9rem + .5vw, 1.35rem); font-weight: 650; color: var(--blue); letter-spacing: 0; line-height: 1.2; }
.claim { font-size: clamp(2.9rem, 1rem + 7.4vw, 7rem); line-height: .9; font-stretch: 125%; font-weight: 860; letter-spacing: -0.035em; }
.hero-sub { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-top: clamp(22px, 3vw, 36px); }
.lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); max-width: 56ch; color: var(--ink-soft); }
.lead b { color: var(--ink); font-weight: 650; }
.hero-actions { display: grid; gap: 18px; justify-items: start; }
.cta-row { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.proof { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .96rem; font-weight: 520; }
.proof li { display: flex; align-items: center; gap: 10px; }
.proof li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

/* Kamerabild */
.cam { margin: clamp(30px, 4vw, 52px) 0 0; }
.cam-view { position: relative; aspect-ratio: 2 / 1; max-width: 100%; border-radius: 10px; overflow: hidden; background: #25323b; isolation: isolate; color: var(--hud); }
.cam-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.cam-view img.thermal { opacity: 0; }
.cam-view[data-mode="thermal"] img.thermal { opacity: 1; }
.cam-view::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(6,14,20,.55), rgba(6,14,20,0) 24%, rgba(6,14,20,0) 62%, rgba(6,14,20,.66)); }
.hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0,0,0,.55); }
.hud .c { position: absolute; width: 30px; height: 30px; border: 2px solid rgba(255,255,255,.92); }
.hud .tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.hud .tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.hud .bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.hud .br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
.hud .cross { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); }
.rec { position: absolute; top: 26px; left: 62px; display: flex; gap: 8px; align-items: center; font-size: .86rem; font-weight: 650; font-stretch: 110%; }
.rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ff4d3a; box-shadow: 0 0 0 3px rgba(255,77,58,.3); }
.tele { position: absolute; left: 62px; right: 62px; bottom: 24px; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 34px; }
.tele div { display: grid; }
.tele dt { font-size: .74rem; opacity: .85; font-weight: 520; }
.tele dd { margin: 0; font-size: 1.06rem; font-weight: 700; font-stretch: 112%; white-space: nowrap; }
.modes { position: absolute; z-index: 3; top: 16px; right: 60px; display: flex; padding: 3px; gap: 2px; border-radius: 8px;
  background: rgba(8,18,26,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.35); }
.modes button { font: 650 .92rem/1 var(--font); font-stretch: 108%; color: #fff; background: transparent; border: 0; border-radius: 6px; padding: 0 16px; min-height: 44px; cursor: pointer; }
.modes button:hover { background: rgba(255,255,255,.14); }
.modes button[aria-pressed="true"] { background: var(--signal); color: var(--ink); }
.cam figcaption { margin-top: 12px; font-size: .9rem; color: var(--ink-soft); }

/* Abschnitte */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 14px; max-width: 780px; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head p { color: var(--ink-soft); font-size: 1.1rem; max-width: 62ch; }

/* Freigaben */
.permit-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.gantt { --who: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 32px); }
.g-scale { display: grid; grid-template-columns: repeat(9, 1fr); margin-left: var(--who); padding-bottom: 8px; font-size: .78rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.g-row { display: grid; grid-template-columns: var(--who) minmax(0, 1fr); align-items: center; padding-block: 18px; }
.g-row + .g-row { border-top: 1px solid var(--line); }
.g-who b { display: block; font-weight: 720; font-stretch: 106%; }
.g-who small { display: block; color: var(--ink-soft); font-size: .86rem; line-height: 1.35; }
.g-track { position: relative; height: 48px; border-radius: 4px; background: repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px 11.111%); }
.g-bar { position: absolute; top: 7px; bottom: 7px; left: 0; border-radius: 4px; display: flex; align-items: center; padding-inline: 14px; color: #fff; font-weight: 650; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-bar.wait { width: 100%; background: var(--wait); }
.g-bar.go { width: 11.111%; min-width: 118px; background: var(--go); }
.g-flag { position: absolute; top: 50%; left: calc(max(11.111%, 118px) + 12px); transform: translateY(-50%); font-weight: 720; font-size: .92rem; color: var(--go); white-space: nowrap; }
.gantt .note { margin-top: 16px; }

.plate { background: var(--surface); border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; }
.plate h3 { background: var(--ink); color: #fff; font-size: 1.02rem; padding: 13px 18px; display: flex; justify-content: space-between; gap: 12px; font-stretch: 114%; }
.plate h3 span { color: var(--ice); font-weight: 600; font-stretch: 100%; }
.plate dl { margin: 0; padding: 4px 18px 10px; }
.plate dl div { display: grid; grid-template-columns: 8.6em minmax(0, 1fr); gap: 12px; padding-block: 10px; border-bottom: 1px dashed var(--line-strong); }
.plate dl div:last-child { border-bottom: 0; }
.plate dt { color: var(--ink-soft); font-size: .88rem; padding-top: 1px; }
.plate dd { margin: 0; font-weight: 620; font-size: .95rem; overflow-wrap: anywhere; }

.terms-wrap { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line-strong); }
.terms-wrap h3 { font-size: 1.05rem; margin-bottom: 18px; }
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 36px; margin: 0; }
.terms dt { font-weight: 760; font-stretch: 106%; font-size: 1.08rem; margin-bottom: 6px; }
.terms dd { margin: 0; color: var(--ink-soft); }

/* Leistungen */
.svc-list { border-bottom: 1px solid var(--line-strong); }
.svc { display: grid; grid-template-columns: minmax(0, 13.5rem) minmax(0, 1fr) minmax(0, 16rem); gap: 18px 44px; padding-block: 36px; border-top: 1px solid var(--line-strong); }
.svc-who { font-size: .93rem; font-weight: 620; color: var(--ink-soft); padding-top: 5px; line-height: 1.45; }
.svc-main { display: grid; gap: 12px; align-content: start; max-width: 64ch; }
.svc-main p { color: var(--ink-soft); }
.incl { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.incl li { font-size: .88rem; font-weight: 620; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 4px; padding: 5px 10px; line-height: 1.3; }
.season { color: var(--ink) !important; background: var(--go-soft); border-radius: 6px; padding: 10px 14px; font-size: .94rem; }
.svc-out { display: grid; gap: 14px; align-content: start; justify-items: start; }
.get { font-size: .96rem; font-weight: 520; }
.get b { display: block; color: var(--go); font-size: .84rem; font-weight: 720; margin-bottom: 2px; }
.price { font-weight: 720; font-stretch: 108%; font-variant-numeric: tabular-nums; }

/* Team */
.team-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.team-photo { margin: 0; }
.team-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 10px; }
.team-photo figcaption, .leit figcaption { margin-top: 10px; font-size: .88rem; color: var(--ink-soft); }
.team-text { display: grid; gap: 18px; align-content: start; }
.team-text > p { color: var(--ink-soft); font-size: 1.08rem; max-width: 60ch; }
.team-text > p b { color: var(--ink); }
.leit { margin: 10px 0 0; max-width: 420px; }
.leit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }

/* Einsatzgebiet und Fragen */
.rf-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.region { display: grid; gap: 16px; }
.region > p { color: var(--ink-soft); }
.map { margin: 8px 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 6px; }
.map svg { display: block; width: 100%; height: auto; }
.map figcaption { padding: 4px 10px 8px; font-size: .84rem; color: var(--ink-soft); }
.m-ring { fill: none; stroke: #a9b8c3; stroke-width: 1.2; stroke-dasharray: 3 5; }
.m-ring-l { fill: #5f707d; font: 600 11px var(--font); }
.m-town { fill: #0f1c26; }
.m-town-l { fill: #0f1c26; font: 520 12.5px var(--font); }
.m-home { fill: #ffc21a; stroke: #0f1c26; stroke-width: 2.2; }
.m-home-l { fill: #0f1c26; font: 800 15px var(--font); }
.m-peak { fill: #5f7180; }
.m-area { fill: #5f7180; font: 650 11.5px var(--font); letter-spacing: .14em; }
.m-north { fill: #0f1c26; font: 800 12px var(--font); }

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 52px 20px 0; position: relative; font-weight: 720; font-size: 1.1rem; font-stretch: 104%; line-height: 1.35; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 64ch; }

/* Kundenstimmen */
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-weight: 600; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 20px; height: 20px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
.quote { margin: 0; border-top: 2px solid var(--ink); padding-top: 20px; display: grid; gap: 18px; align-content: space-between; }
.quote blockquote { margin: 0; font-size: 1.14rem; line-height: 1.45; font-weight: 520; }
.quote figcaption { font-size: .9rem; color: var(--ink-soft); }
.quote figcaption b { display: block; color: var(--ink); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.wizard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 24px; }
.progress { display: grid; gap: 8px; }
.progress p { font-size: .9rem; font-weight: 620; color: var(--ink-soft); }
.bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bars span { height: 5px; border-radius: 3px; background: var(--line); transition: background-color .2s; }
.bars span.on { background: var(--ink); }
fieldset.step { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.step legend { font-size: 1.36rem; font-weight: 800; font-stretch: 110%; padding: 0; margin-bottom: 6px; line-height: 1.2; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tile span { display: flex; align-items: center; min-height: 60px; padding: 12px 16px; border: 1.5px solid var(--line-strong); border-radius: 8px; background: var(--paper); font-weight: 620; line-height: 1.25; transition: background-color .15s, color .15s, border-color .15s; }
.tile:hover span { border-color: var(--ink); }
.tile input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 620; font-size: .95rem; }
.field input, .field select, .field textarea { font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 8px; padding: 12px 14px; min-height: 50px; width: 100%; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(22,98,154,.28); outline-offset: 0; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: var(--wait); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.err { color: var(--wait); font-size: .88rem; font-weight: 620; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--ink); }
.step-nav { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-top: 4px; }
.back { background: none; border: 0; padding: 0 4px; min-height: 44px; font: 620 1rem var(--font); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.form-hint { font-size: .88rem; color: var(--ink-soft); }
.form-ok { display: grid; gap: 10px; }
.form-ok h3 { font-size: 1.5rem; }
.form-ok p { color: var(--ink-soft); }

.direct { display: grid; gap: 22px; align-content: start; }
.person { display: flex; gap: 14px; align-items: center; }
.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--ice-soft); border: 2px solid var(--ice); flex: none; }
.person small { display: block; color: var(--ink-soft); }
.lines { margin: 0; display: grid; gap: 10px; }
.lines div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 10px; }
.lines dt { color: var(--ink-soft); font-size: .92rem; }
.lines dd { margin: 0; font-weight: 650; user-select: all; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.direct-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.next { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 14px; }
.next li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; counter-increment: n; color: var(--ink-soft); }
.next li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 720; font-size: .86rem; color: var(--ink); }
.direct h3 { font-size: 1.12rem; }

/* Fuß */
footer { background: var(--night); color: #cfd9e0; padding-block: 52px calc(44px + env(safe-area-inset-bottom, 0px)); font-size: .93rem; }
footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px 40px; }
footer b { color: #fff; }
footer address { font-style: normal; }
footer a { color: #fff; }
footer .logo-badge { display: block; width: 132px; height: auto; aspect-ratio: 3020 / 2882; color: #fff; margin-bottom: 14px; }
footer .slogan { font-size: 1.25rem; font-weight: 700; font-stretch: 112%; color: #fff; margin: 0 0 8px; }
/* Impressum und Datenschutz */
.legal { padding-block: clamp(40px, 6vw, 80px); background: var(--surface); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); line-height: 1.05; font-stretch: 114%; margin: 18px 0 28px; }
.legal h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin: 40px 0 12px; }
.legal h3 { font-size: 1.12rem; margin: 28px 0 8px; }
.legal h4 { font-size: 1rem; margin: 20px 0 6px; }
.legal p, .legal li { color: var(--ink-soft); max-width: 70ch; overflow-wrap: anywhere; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal a { color: var(--blue); }
.legal .back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; color: var(--ink); }
.legal .back::before { content: "←"; margin-right: 8px; }
.legal .back:last-child { margin-top: 32px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
footer ul a { display: inline-block; padding-block: 8px; }

.dock { display: none; }

/* Tablet */
@media (max-width: 1100px) {
  .menu-btn { display: grid; }
  .top .tel { display: none; }
  nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(15,28,38,.4);
    padding: 8px max(24px, env(safe-area-inset-right, 0px)) 18px max(24px, env(safe-area-inset-left, 0px)); }
  nav:not(.open) { display: none; }
  nav ul { flex-direction: column; gap: 0; }
  nav a { font-size: 1.12rem; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  nav .nav-cta { display: flex; width: 100%; margin-top: 16px; }
}
@media (max-width: 900px) {
  .hero-sub, .permit-grid, .team-grid, .rf-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .svc { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 28px; }
  .svc-who { padding-top: 0; }
  .svc-out { grid-template-columns: minmax(0, 1fr); margin-top: 6px; }
  .terms, .quotes { grid-template-columns: minmax(0, 1fr); }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > :first-child { grid-column: 1 / -1; }
}
/* Handy */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .top .wrap { min-height: 62px; gap: 12px; }
  .top .wrap > .btn { display: none; }
  .logo svg { height: 34px; }
  nav { padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
  .cta-row .btn { flex: 1 1 100%; }
  .cta-row .link { min-height: 44px; }
  .cam-view { aspect-ratio: 4 / 5; }
  .hud .c { width: 22px; height: 22px; }
  .hud .tl, .hud .tr { top: 12px; } .hud .bl, .hud .br { bottom: 12px; }
  .hud .tl, .hud .bl { left: 12px; } .hud .tr, .hud .br { right: 12px; }
  .rec { top: 66px; left: 18px; }
  .modes { top: 14px; left: 44px; right: 44px; justify-content: stretch; }
  .modes button { flex: 1; }
  .tele { left: 18px; right: 18px; bottom: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .tele dd { font-size: .98rem; white-space: normal; }
  .gantt { --who: 1fr; }
  .g-scale { display: none; }
  .g-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .g-bar .long { display: none; }
  .plate dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tiles, .two { grid-template-columns: minmax(0, 1fr); }
  .m-town-l { font-size: 15px; } .m-home-l { font-size: 18px; } .m-area { font-size: 12.5px; } .m-ring-l { font-size: 12px; }
  .tile span { min-height: 54px; }
  .step-nav .btn { flex: 1 1 auto; }
  .lines div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  footer .wrap { grid-template-columns: minmax(0, 1fr); }
  footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
  .dock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transition: transform .25s ease; }
  .dock .btn { min-height: 50px; padding: 0 12px; }
  .dock.hide { transform: translateY(110%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
