/* =========================================================
   GeBa-Duchow GmbH – Variante „Bauplan“
   Technische Zeichnung: Raster, Maßlinien, Schriftfeld, Blaupause
   ========================================================= */

@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --paper: #F2F4F5;
  --paper-2: #E7EBEE;
  --white: #fff;
  --ink: #0E1A24;
  --ink-2: #3A4651;
  --muted: #6A7782;
  --line: #C9D3DB;
  --blue: #0F80BE;
  --bp: #0B3D62;
  --bp-2: #0A3354;
  --bp-line: #CFE6F5;
  --green: #7DC923;
  --green-d: #5FA716;

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--ink); overflow-x: clip;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(15,128,190,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,128,190,.09) 1px, transparent 1px),
    linear-gradient(rgba(15,128,190,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,128,190,.045) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo ---------- */
h1, h2, h3 { font-family: var(--sans); font-stretch: 72%; font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: -.01em; }
h2 { font-size: clamp(42px, 6.2vw, 96px); }
h3 { font-size: 24px; line-height: 1.05; }
.u { color: var(--blue); }
.sec--bp .u, .sec--ink .u { color: var(--green); }
.lead { max-width: 600px; margin-top: 22px; font-size: 18px; color: var(--ink-2); }
.sec--bp .lead { color: #BFD6E6; }
.sec { padding: clamp(80px, 13vh, 150px) 0; position: relative; }
.sec--tight { padding: 40px 0 clamp(80px, 12vh, 140px); }
.sec__head { margin-bottom: clamp(40px, 7vh, 72px); max-width: 960px; }
.sec__no { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.sec__no::before { content: ""; width: 10px; height: 10px; border: 2px solid currentColor; }
.sec--bp .sec__no, .sec--ink .sec__no { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: 0; font-family: var(--mono); font-weight: 600; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  position: relative; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn::after { content: ""; position: absolute; inset: 0; border: 2px solid currentColor; transform: translate(5px, 5px); opacity: 0; transition: opacity .2s, transform .25s var(--ease); pointer-events: none; }
.btn:hover::after { opacity: .5; transform: translate(4px, 4px); }
.btn:hover { transform: translate(-2px, -2px); }
.btn:hover .ic { transform: translateX(3px); }
.btn .ic { transition: transform .25s var(--ease); }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 13px; }
.btn--lg { min-height: 58px; padding: 14px 26px; font-size: 15px; }
.btn--green { background: var(--green); color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Fortschritt ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--green); transform-origin: 0 50%; transform: scaleX(0); }

/* =========================================================
   HEADER
   ========================================================= */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 120; height: 68px; display: flex; align-items: center; gap: 20px; padding: 0 var(--gutter);
  background: rgba(242,244,245,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.hdr__logo { flex: none; display: block; background: #fff; border: 1px solid var(--line); padding: 4px 10px; }
.hdr__logo img { height: 40px; width: auto; }
.hdr__sheet { display: none; align-items: baseline; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-left: 1px solid var(--line); padding-left: 18px; white-space: nowrap; }
.hdr__sheet b { color: var(--ink); font-weight: 700; }
.hdr__sheet i { font-style: normal; color: var(--blue); margin-left: 6px; }
.hdr__nav { display: none; gap: 2px; margin-left: auto; }
.hdr__nav a { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; padding: 8px 10px; border: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.hdr__nav a:hover { border-color: var(--line); background: #fff; }
.hdr__nav a.is-active { border-color: var(--ink); }
.hdr__tel { display: none; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hdr__cta { display: none; }
.burger { margin-left: auto; width: 46px; height: 46px; border: 1.5px solid var(--ink); background: #fff; display: grid; place-content: center; gap: 5px; position: relative; z-index: 130; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 760px) { .hdr__cta { display: inline-flex; margin-left: auto; } .burger { margin-left: 0; } .hdr__sheet { display: inline-flex; } }
@media (min-width: 1180px) { .hdr__nav { display: flex; } .hdr__cta { margin-left: 0; } .burger { display: none; } }
@media (min-width: 1440px) { .hdr__tel { display: inline; } }
@media (min-width: 760px) and (max-width: 1179px) { .hdr__sheet { margin-right: auto; } .hdr__cta { margin-left: 0; } }

/* Mobile-Menü: Blaupause wischt von oben herein */
.mnav {
  position: fixed; inset: 0; z-index: 110; color: #fff; background-color: var(--bp);
  background-image: linear-gradient(rgba(207,230,245,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(207,230,245,.1) 1px, transparent 1px);
  background-size: 32px 32px; clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), visibility 0s .6s;
}
.menu-open { overflow: hidden; }
.menu-open .mnav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.mnav__in { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 40px; }
.mnav__in > a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(207,230,245,.25); text-decoration: none; font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 9vw, 54px); line-height: 1; opacity: 0; transform: translateX(-20px); transition: opacity .35s, transform .45s var(--ease); }
.mnav__in > a .mono { font-size: 13px; color: var(--green); font-weight: 500; }
.mnav__foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; opacity: 0; transition: opacity .4s; }
.menu-open .mnav__in > a, .menu-open .mnav__foot { opacity: 1; transform: none; transition-delay: calc(.2s + var(--i) * .05s); }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 116px 0 40px; position: relative; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__grid > * { min-width: 0; }
@media (min-width: 1080px) { .hero__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; min-height: calc(100svh - 230px); } }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; padding: 7px 12px; border: 1px solid var(--ink); background: #fff; }
.tag__dot { width: 8px; height: 8px; background: var(--green); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero__h { font-size: clamp(54px, 7.4vw, 124px); line-height: .86; margin: 26px 0 0; letter-spacing: -.015em; }
.hero__h .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__h .ln > span { display: inline-block; white-space: nowrap; transform: translateY(105%); animation: up .9s var(--ease) forwards; }
.hero__h .ln:nth-child(2) > span { animation-delay: .12s; }
.hero__h .ln:nth-child(3) > span { animation-delay: .24s; }
.hero__h .ln--sub { font-size: .52em; color: var(--blue); margin-top: .12em; }
@keyframes up { to { transform: none; } }
.hero__h mark { background: none; color: inherit; position: relative; }
.hero__h mark::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .2em; background: var(--green); z-index: -1; transform: scaleX(0); transform-origin: left; animation: mark .7s var(--ease) .9s forwards; }
@keyframes mark { to { transform: scaleX(1); } }
.hero__lead { margin-top: 26px; max-width: 540px; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Maßlinie */
.dim { display: flex; align-items: center; gap: 10px; margin-top: 26px; max-width: 560px; }
.dim__end { font-size: 15px; font-weight: 700; width: 28px; height: 28px; display: grid; place-items: center; border: 1.5px solid var(--ink); background: #fff; flex: none; }
.dim__line { position: relative; flex: 1; height: 28px; display: grid; place-items: center; }
.dim__line i { position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .3s; }
.dim__line i::before, .dim__line i::after { content: ""; position: absolute; top: -5px; width: 10px; height: 10px; border-top: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); }
.dim__line i::before { left: 0; transform: rotate(-45deg); }
.dim__line i::after { right: 0; transform: rotate(135deg); }
.dim__line b { position: relative; font-weight: 500; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; background: var(--paper); padding: 0 8px; opacity: 0; transition: opacity .6s 1.2s; white-space: nowrap; }
.dim.in .dim__line i { transform: scaleX(1); }
.dim.in .dim__line b { opacity: 1; }

/* Bildrahmen mit Schnittmarken */
.hero__fig { margin: 0; }
.frame { position: relative; padding: 14px; }
.frame__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1.5px solid var(--ink); background: var(--paper-2); }
.frame__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: settle 2.2s var(--ease) .2s forwards; }
@keyframes settle { to { transform: scale(1); } }
.crop { position: absolute; width: 22px; height: 22px; border-color: var(--ink); border-style: solid; border-width: 0; }
.crop--tl { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.crop--tr { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.crop--bl { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.crop--br { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.hero__fig figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 14px 0; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.coords { color: var(--blue); font-variant-numeric: tabular-nums; }

/* Callouts mit Führungslinie */
.callout { position: absolute; left: calc(14px + var(--x) * .955); top: calc(14px + var(--y) * .955); width: 0; height: 0; text-decoration: none; z-index: 2; }
.callout i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); box-shadow: 0 0 0 4px rgba(255,255,255,.7); }
.callout i::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1.5px; height: var(--h); margin-left: -.75px; background: #fff; transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); }
.callout span { position: absolute; left: -2px; bottom: calc(var(--h) + 8px); white-space: nowrap; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 5px 8px; background: var(--ink); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease), background-color .2s; }
.callout--r span { left: auto; right: -2px; }
.callout:hover span { background: var(--green); color: var(--ink); }
.hero__fig.in .callout i::after { transform: none; }
.hero__fig.in .callout span { opacity: 1; transform: none; }
.hero__fig.in .callout:nth-of-type(2) i::after, .hero__fig.in .callout:nth-of-type(2) span { transition-delay: .9s; }
.hero__fig.in .callout:nth-of-type(3) i::after, .hero__fig.in .callout:nth-of-type(3) span { transition-delay: 1.2s; }
.hero__fig.in .callout:nth-of-type(4) i::after, .hero__fig.in .callout:nth-of-type(4) span { transition-delay: 1.5s; }
.callout i { animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(255,255,255,.7); } 50% { box-shadow: 0 0 0 9px rgba(125,201,35,.35); } }
@media (max-width: 559px) { .callout span { font-size: 10px; } .callout { --h: 60px !important; } }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; border-top: 1.5px solid var(--ink); }
.stats > div { padding: 18px 16px 6px 0; border-right: 1px solid var(--line); padding-left: 16px; }
.stats > div:nth-child(2n+1) { padding-left: 0; }
.stats > div:last-child { border-right: 0; }
@media (max-width: 759px) { .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats > div:nth-child(2n+1) { padding-left: 16px; } .stats > div:first-child { padding-left: 0; } }
.stats dt { font-stretch: 72%; font-weight: 800; font-size: clamp(48px, 5.4vw, 78px); line-height: 1; font-variant-numeric: tabular-nums; }
.stats dt small { font-size: .4em; margin-left: 4px; }
.stats dd { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }

/* =========================================================
   TICKER
   ========================================================= */
.ticker { border-block: 1.5px solid var(--ink); background: var(--ink); color: #fff; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__set { display: flex; flex: none; }
.ticker span { display: flex; align-items: center; gap: 16px; padding: 14px 18px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; border-right: 1px solid rgba(255,255,255,.18); }
.ticker span::before { content: "+"; color: var(--green); font-weight: 700; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }

/* =========================================================
   LEISTUNGSVERZEICHNIS
   ========================================================= */
.lv { position: relative; border-top: 2px solid var(--ink); }
.lv__head { display: none; grid-template-columns: 90px 1fr 220px 60px; padding: 10px 0; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid var(--ink); }
@media (min-width: 900px) { .lv__head { display: grid; } }
.lv__row { border-bottom: 1px solid var(--ink); position: relative; }
.lv__btn { width: 100%; display: grid; grid-template-columns: 56px 1fr 44px; gap: 12px; align-items: center; text-align: left; padding: 22px 0; background: none; border: 0; position: relative; isolation: isolate; }
@media (min-width: 900px) { .lv__btn { grid-template-columns: 90px 1fr 220px 60px; padding: 28px 0; } }
.lv__btn::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: #fff; z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease); }
.lv__btn:hover::before, .lv__row.open .lv__btn::before { transform: none; }
.lv__pos { font-size: 14px; font-weight: 700; color: var(--blue); }
.lv__title { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 50px); line-height: .95; transition: transform .35s var(--ease); }
.lv__btn:hover .lv__title { transform: translateX(10px); }
.lv__scope { display: none; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
@media (min-width: 900px) { .lv__scope { display: block; } }
.lv__plus { width: 40px; height: 40px; border: 1.5px solid var(--ink); position: relative; justify-self: end; transition: background-color .25s, transform .4s var(--ease); }
.lv__plus::before, .lv__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: var(--ink); transition: transform .35s var(--ease); }
.lv__plus::after { transform: rotate(90deg); }
.lv__row.open .lv__plus { background: var(--green); }
.lv__row.open .lv__plus::after { transform: rotate(0); }
.lv__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.lv__row.open .lv__body { grid-template-rows: 1fr; }
.lv__inner { overflow: hidden; display: grid; gap: 24px; }
.lv__row.open .lv__inner { padding: 4px 0 30px; }
@media (min-width: 900px) { .lv__inner { grid-template-columns: 340px 1fr; gap: 40px; padding-left: 90px; } }
.lv__img { aspect-ratio: 4 / 3; border: 1.5px solid var(--ink); overflow: hidden; }
.lv__img img { width: 100%; height: 100%; object-fit: cover; }
.lv__inner p { max-width: 620px; color: var(--ink-2); }
.sub { margin-top: 18px; border-top: 1px dashed var(--ink); max-width: 620px; }
.sub li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.sub b { color: var(--blue); font-weight: 600; min-width: 42px; }
.add { margin-top: 18px; background: none; border: 0; padding: 6px 0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--blue); border-bottom: 2px solid currentColor; }
.add:hover { color: var(--ink); }
.lv__peek { position: absolute; width: 260px; aspect-ratio: 4 / 3; pointer-events: none; z-index: 5; border: 1.5px solid var(--ink); overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .25s, transform .3s var(--ease); left: 0; top: 0; }
.lv__peek img { width: 100%; height: 100%; object-fit: cover; }
.lv__peek.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media not all and (hover: hover) { .lv__peek { display: none; } }

/* =========================================================
   BLAUPAUSE-SEKTIONEN
   ========================================================= */
.sec--bp {
  color: #fff; background-color: var(--bp);
  background-image:
    linear-gradient(rgba(207,230,245,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(207,230,245,.12) 1px, transparent 1px),
    linear-gradient(rgba(207,230,245,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(207,230,245,.05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
.explorer { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1080px) { .explorer { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 44px; } }
.explorer > * { min-width: 0; }
.bp { position: relative; border: 1.5px solid var(--bp-line); padding: 18px; }
.bp__titleblock { position: absolute; right: -1.5px; bottom: -1.5px; display: flex; border: 1.5px solid var(--bp-line); background: var(--bp-2); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; z-index: 2; }
.bp__titleblock span { padding: 5px 9px; border-left: 1px solid rgba(207,230,245,.4); }
.bp__titleblock span:first-child { border-left: 0; }
.bp__dim { display: flex; align-items: center; gap: 10px; margin: 12px 0 18px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--bp-line); }
.bp__dim i { flex: 1; height: 1px; background: var(--bp-line); position: relative; }
.bp__dim i:first-child::before, .bp__dim i:last-child::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: var(--bp-line); }
.bp__dim i:first-child::before { left: 0; }
.bp__dim i:last-child::after { right: 0; }
@media (max-width: 559px) { .bp__dim span { display: none; } }

/* Haus als Strichzeichnung */
.house { position: relative; }
.house__svg { display: block; width: 100%; height: auto; overflow: visible; }
.house__svg * { fill: none !important; stroke: var(--bp-line) !important; }
.house__svg > rect:first-of-type { stroke: none !important; }
.house__svg .fl { stroke-width: 1.6 !important; }
.house__svg .fl * { stroke-width: 1.6 !important; }
.house__svg .ln { stroke-width: 2.4 !important; }
.house__svg .ln--roof { stroke: #fff !important; stroke-width: 7 !important; }
.house__svg #shutter * { stroke-width: 1.2 !important; }
.house__svg .sun circle, .house__svg .sun__rays { stroke: var(--green) !important; }
.house__svg .bush * { stroke: var(--green) !important; }
.house .ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s cubic-bezier(.7, 0, .2, 1); }
.house .fl { opacity: 0; transition: opacity 1s ease .8s; }
.house.in .ln { stroke-dashoffset: 0; }
.house.in .fl { opacity: 1; }
.sun__rays { transform-origin: 690px 90px; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cloud--1 { animation: drift 16s ease-in-out infinite alternate; }
.cloud--2 { animation: drift 12s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translateX(-14px); } to { transform: translateX(22px); } }

.hs {
  position: absolute; left: var(--x); top: var(--y); width: 28px; height: 28px; margin: -14px 0 0 -14px; padding: 0;
  border: 1.5px solid #fff; background: var(--blue); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 12px; display: grid; place-items: center;
  opacity: 0; transform: scale(.3); transition: transform .4s var(--ease), background-color .2s, color .2s, opacity .3s;
}
.house.in .hs { opacity: 1; transform: none; transition-delay: calc(1.5s + var(--n, 0) * 80ms); }
.house.in .hs.ready { transition-delay: 0s; }
.hs::before { content: ""; position: absolute; inset: -6px; border: 1px dashed rgba(255,255,255,.7); animation: spin 8s linear infinite; pointer-events: none; }
.hs:hover { background: #fff; color: var(--bp); }
.hs.is-visited:not(.is-active) { background: var(--bp-2); }
.hs.is-active { background: var(--green); color: var(--ink); border-color: var(--ink); transform: scale(1.15); }
.hs.is-active::before { border-color: var(--green); border-style: solid; }
@media (min-width: 760px) { .hs { width: 36px; height: 36px; margin: -18px 0 0 -18px; font-size: 14px; } }

.xpanel { border: 1.5px solid var(--bp-line); padding: 24px; background: rgba(10,51,84,.6); }
@media (min-width: 1080px) { .xpanel { position: sticky; top: 92px; } }
.xpanel__lbl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin-bottom: 10px; }
.xpanel h3 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 14px; }
.xpanel p { color: #D3E4F0; }
.xpanel__detail.swap { animation: swapIn .5s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.xpanel__img { aspect-ratio: 16 / 9; border: 1.5px solid var(--bp-line); overflow: hidden; margin-bottom: 18px; }
.xpanel__img img { width: 100%; height: 100%; object-fit: cover; }
.xpanel .sub { border-top-color: var(--bp-line); margin-bottom: 22px; }
.xpanel .sub li { border-bottom-color: rgba(207,230,245,.25); }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 22px; border-top: 1px solid var(--bp-line); }
.legend button { display: flex; gap: 8px; align-items: baseline; text-align: left; background: none; border: 0; border-bottom: 1px solid rgba(207,230,245,.25); padding: 9px 4px; font-size: 12px; color: #D3E4F0; transition: background-color .2s, color .2s; }
.legend button:nth-child(odd) { border-right: 1px solid rgba(207,230,245,.25); }
.legend button b { color: var(--green); }
.legend button:hover { background: rgba(207,230,245,.08); color: #fff; }
.legend button.is-active { background: var(--green); color: var(--ink); }
.legend button.is-active b { color: var(--ink); }

/* =========================================================
   ZIELGRUPPEN – Registerkarten
   ========================================================= */
.tabs__bar { display: flex; gap: 0; border-bottom: 1.5px solid var(--ink); overflow-x: auto; scrollbar-width: none; }
.tabs__bar::-webkit-scrollbar { display: none; }
.tabs__bar button { flex: none; display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: transparent; border: 1.5px solid transparent; border-bottom: 0; margin-bottom: -1.5px; font-stretch: 80%; font-weight: 700; text-transform: uppercase; font-size: clamp(15px, 1.6vw, 20px); color: var(--muted); transition: color .2s, background-color .2s; }
.tabs__bar button .mono { width: 24px; height: 24px; display: grid; place-items: center; border: 1.5px solid currentColor; font-size: 12px; }
.tabs__bar button[aria-selected=true] { color: var(--ink); background: #fff; border-color: var(--ink); }
.tabs__bar button[aria-selected=true] .mono { background: var(--green); border-color: var(--ink); }
.tabs__panel { display: grid; gap: 32px; padding: 32px; background: #fff; border: 1.5px solid var(--ink); border-top: 0; }
.tabs__panel:not([hidden]) { animation: swapIn .45s var(--ease); }
@media (min-width: 960px) { .tabs__panel { grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; } }
@media (max-width: 559px) { .tabs__panel { padding: 18px; } }
.tp__img { aspect-ratio: 4 / 3; border: 1.5px solid var(--ink); overflow: hidden; }
.tp__img img { width: 100%; height: 100%; object-fit: cover; }
.tp__txt h3 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 16px; }
.tp__txt > p { color: var(--ink-2); margin-bottom: 20px; }
.checks { display: grid; gap: 0; margin-bottom: 26px; border-top: 1px dashed var(--line); }
.checks li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px dashed var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border: 1.5px solid var(--ink); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1A24' stroke-width='3.2'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* =========================================================
   WARUM WIR – Prüfprotokoll
   ========================================================= */
.sec--ink { background: var(--ink); color: #fff; }
.why { display: grid; gap: 36px; }
@media (min-width: 1080px) { .why { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }
.why__claim { position: relative; border: 1.5px solid rgba(255,255,255,.35); padding: 30px; }
.why__claim > .mono { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--green); }
.why__big { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(46px, 5.6vw, 84px); line-height: .9; margin-top: 16px; }
.why__big span { color: var(--green); }
.why__stamp { position: absolute; right: -18px; top: -52px; width: 132px; height: 132px; border: 3px solid var(--green); border-radius: 50%; display: grid; place-content: center; text-align: center; color: var(--green); transform: rotate(-14deg) scale(1.6); opacity: 0; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .6s, opacity .2s .6s; background: rgba(14,26,36,.85); }
.why__stamp::before { content: ""; position: absolute; inset: 6px; border: 1px dashed var(--green); border-radius: 50%; }
.why__stamp .mono { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.why__stamp b { font-stretch: 72%; font-size: 40px; line-height: 1; font-weight: 800; }
.why__claim.in .why__stamp { transform: rotate(-14deg); opacity: 1; }
@media (max-width: 559px) { .why__stamp { width: 96px; height: 96px; right: 10px; top: -46px; } .why__stamp b { font-size: 30px; } }
.proto { border-top: 1.5px solid rgba(255,255,255,.4); }
.proto li { display: grid; grid-template-columns: 52px 1fr 40px; gap: 16px; align-items: start; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.proto__no { font-size: 13px; color: var(--green); padding-top: 4px; }
.proto h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 8px; }
.proto p { color: #B9C5CF; font-size: 16px; }
.proto__ok { width: 34px; height: 34px; border: 1.5px solid var(--green); display: grid; place-items: center; color: var(--green); }
.proto__ok .ic { stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .6s var(--ease) .5s; }
.proto li.in .proto__ok .ic { stroke-dashoffset: 0; }

/* =========================================================
   ABLAUF – Maßkette
   ========================================================= */
.chain { --p: 0; position: relative; display: grid; gap: 0; }
.chain__rule { position: absolute; left: 13px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.chain__rule span { position: absolute; inset: 0; background: var(--ink); transform-origin: top; transform: scaleY(var(--p)); }
.step { position: relative; padding: 0 0 34px 54px; }
.step__tick { position: absolute; left: 4px; top: 6px; width: 20px; height: 20px; background: var(--paper); border: 2px solid var(--line); transform: rotate(45deg); transition: background-color .4s, border-color .4s; }
.step.is-lit .step__tick { background: var(--green); border-color: var(--ink); }
.step__n { display: block; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.step h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 8px; }
.step h3 em { font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--blue); border: 1px solid currentColor; padding: 1px 6px; vertical-align: middle; }
.step p { color: var(--ink-2); font-size: 15.5px; max-width: 440px; }
.step:not(.is-lit) h3, .step:not(.is-lit) p { opacity: .45; }
.step h3, .step p { transition: opacity .4s; }
@media (min-width: 1080px) {
  .chain { grid-template-columns: repeat(5, 1fr); }
  .chain__rule { left: 0; right: 0; top: 15px; bottom: auto; width: auto; height: 2px; }
  .chain__rule span { transform-origin: left; transform: scaleX(var(--p)); }
  .step { padding: 54px 26px 0 0; border-left: 1px dashed var(--line); padding-left: 18px; }
  .step:first-of-type { border-left: 0; padding-left: 0; }
  .step__tick { left: -11px; top: 5px; }
  .step:first-of-type .step__tick { left: 0; }
}

/* =========================================================
   FÖRDERUNG + MARKEN
   ========================================================= */
.fm { display: grid; gap: 28px; }
@media (min-width: 1080px) { .fm { grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: stretch; } }
.fm > * { min-width: 0; }
.bafa { position: relative; background: #fff; border: 1.5px solid var(--ink); padding: 36px 30px; box-shadow: 8px 8px 0 var(--green); }
.bafa h2 { font-size: clamp(36px, 4vw, 62px); margin-bottom: 18px; max-width: 520px; padding-right: 120px; }
.bafa p:not(.sec__no) { color: var(--ink-2); margin-bottom: 26px; max-width: 560px; }
.bafa__stamp { position: absolute; right: 24px; top: 24px; width: 110px; height: 110px; border: 3px solid var(--blue); border-radius: 50%; color: var(--blue); display: grid; place-content: center; text-align: center; transform: rotate(12deg); }
.bafa__stamp span { font-stretch: 72%; font-weight: 800; font-size: 30px; line-height: 1; }
.bafa__stamp small { font-size: 8.5px; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 559px) { .bafa__stamp { width: 78px; height: 78px; right: 12px; top: 12px; } .bafa__stamp span { font-size: 21px; } .bafa__stamp small { font-size: 6.5px; } .bafa h2 { padding-right: 80px; } }
.brands { background: #fff; border: 1.5px solid var(--ink); padding: 30px; }
.brands__lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 18px; }
.brands__tbl { width: 100%; border-collapse: collapse; }
.brands__tbl th { text-align: left; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 10px 8px 0; border-bottom: 1.5px solid var(--ink); }
.brands__tbl td { padding: 14px 10px 14px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.brands__tbl td:first-child { font-size: 13px; color: var(--blue); width: 48px; }
.brands__tbl td:nth-child(2) { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 32px); line-height: 1; }
.brands__tbl td:last-child { color: var(--ink-2); font-size: 14.5px; text-align: right; padding-right: 0; }
.brands__tbl tbody tr { transition: background-color .2s; }
.brands__tbl tbody tr:hover { background: var(--paper); }

/* =========================================================
   EINSATZGEBIET – Lageplan
   ========================================================= */
.area { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
@media (min-width: 1080px) { .area { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.area > * { min-width: 0; }
.plz { margin-top: 34px; max-width: 520px; border: 1.5px solid var(--ink); background: #fff; padding: 18px; }
.plz label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 10px; }
.plz__row { display: flex; gap: 10px; }
.plz__row input { flex: 1; min-width: 0; border: 1.5px solid var(--ink); padding: 10px 12px; font-family: var(--mono); font-size: 22px; letter-spacing: .1em; background: var(--paper); border-radius: 0; }
.plz__row input:focus { outline: none; border-color: var(--blue); background: #fff; }
.plz__row input.is-invalid { border-color: #C0392B; }
.plz__res { font-size: 15px; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), margin .3s; }
.plz__res.show { max-height: 220px; margin-top: 14px; }
.plz__res b { font-weight: 700; }
.plz__res.ok b { color: var(--green-d); }
.plz__res a { font-weight: 600; color: var(--blue); }
.map { border: 1.5px solid var(--ink); background: #fff; padding: 12px; }
.map svg { width: 100%; height: auto; display: block; }
.map__ring { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.7, 0, .2, 1); }
.map__radius { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease) 1.2s; }
.map.in .map__ring, .map.in .map__radius { stroke-dashoffset: 0; }
.map__r { font: 600 15px var(--mono); fill: var(--blue); }
.map__scan { transform-origin: 300px 300px; animation: spin 7s linear infinite; }
.town path { stroke: var(--ink); stroke-width: 2; }
.town text { font: 500 15px var(--mono); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; letter-spacing: .02em; }
.town { opacity: 0; transition: opacity .4s; transition-delay: calc(.6s + var(--i) * 110ms); }
.map.in .town { opacity: 1; }
.hq__label { font: 700 18px var(--mono); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 6px; letter-spacing: .04em; }
.hq__pulse { fill: var(--green); transform-origin: 300px 300px; animation: hq 2.4s ease-out infinite; }
@keyframes hq { from { transform: scale(1); opacity: .5; } to { transform: scale(5); opacity: 0; } }
.map__north text { font: 700 14px var(--mono); fill: var(--ink); }
@media (max-width: 759px) { .town text { font-size: 20px; } .hq__label { font-size: 22px; } .map__r { font-size: 19px; } }

/* =========================================================
   KARRIERE
   ========================================================= */
.jobs { display: grid; gap: 28px; border: 1.5px solid var(--ink); background: #fff; padding: 30px; }
@media (min-width: 1080px) { .jobs { grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; padding: 44px; } }
.jobs h2 { font-size: clamp(40px, 4.6vw, 72px); margin-bottom: 14px; }
.jobs__head p:not(.sec__no) { color: var(--ink-2); }
.jobs__list { border-top: 1.5px solid var(--ink); }
.jobs__list a { display: grid; grid-template-columns: 40px 1fr 44px; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--ink); text-decoration: none; position: relative; isolation: isolate; transition: padding .3s var(--ease); }
.jobs__list a::before { content: ""; position: absolute; inset: 0; background: var(--green); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.jobs__list a:hover { padding-left: 12px; }
.jobs__list a:hover::before { transform: none; }
.jobs__list .mono { font-size: 13px; color: var(--blue); }
.jobs__list a:hover .mono { color: var(--ink); }
.jobs__list b { font-stretch: 80%; font-weight: 800; text-transform: uppercase; font-size: clamp(18px, 2vw, 26px); line-height: 1.05; }
.jobs__list .ic { justify-self: end; width: 22px; height: 22px; margin-right: 10px; }

/* =========================================================
   ANFRAGE – Auftragsformular
   ========================================================= */
.contact { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1080px) { .contact { grid-template-columns: .8fr 1.2fr; gap: 52px; } .contact__info { position: sticky; top: 100px; } }
.contact > * { min-width: 0; }
.cinfo { margin-top: 30px; border-top: 1.5px solid var(--bp-line); }
.cinfo div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(207,230,245,.3); }
.cinfo dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--green); padding-top: 3px; }
.cinfo dd { font-weight: 600; overflow-wrap: anywhere; }
.cinfo a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.cinfo a:hover { border-color: var(--green); color: var(--green); }
@media (max-width: 479px) { .cinfo div { grid-template-columns: 1fr; gap: 2px; } }

.wiz { position: relative; background: #fff; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 var(--green); }
.wiz__top { display: grid; grid-template-columns: 1fr auto auto; border-bottom: 1.5px solid var(--ink); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.wiz__top span { padding: 10px 14px; border-left: 1px solid var(--ink); }
.wiz__top span:first-child { border-left: 0; color: var(--blue); font-weight: 700; }
.wiz__top span:last-child { background: var(--green); font-weight: 700; }
.wiz__bar { height: 4px; background: var(--paper-2); }
.wiz__bar span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(.3333); transition: transform .5s var(--ease); }
#leadForm, .done { padding: 28px 20px 24px; }
@media (min-width: 760px) { #leadForm, .done { padding: 36px 36px 30px; } }
.wstep { border: 0; min-width: 0; display: none; }
.wstep.is-active { display: block; animation: stepIn .45s var(--ease); }
.wstep.is-back { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.wstep__h { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 3.4vw, 48px); line-height: .95; padding: 0; }
.wstep__sub { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 8px 0 22px; }
.shake { animation: shake .45s; }
@keyframes shake { 15%, 55% { transform: translateX(-7px); } 35%, 75% { transform: translateX(7px); } 90% { transform: translateX(-2px); } }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.opt { position: relative; cursor: pointer; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; pointer-events: none; }
.opt > span { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; height: 100%; padding: 14px 12px 16px; font-size: 14px; font-weight: 600; line-height: 1.25; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; transition: background-color .2s, color .2s; }
.opt .ic { width: 24px; height: 24px; color: var(--blue); }
.opt > span::after { content: ""; position: absolute; right: 10px; top: 10px; width: 16px; height: 16px; border: 1.5px solid var(--ink); background: #fff; }
.opt:hover > span { background: var(--paper); }
.opt input:checked + span { background: var(--bp); color: #fff; }
.opt input:checked + span .ic { color: var(--green); }
.opt input:checked + span::after { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1A24' stroke-width='3.5'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--green); outline-offset: -4px; }
.opt.pop > span { animation: flash .5s; }
@keyframes flash { 30% { background: var(--green); } }

.fgroup { margin-bottom: 22px; }
.flabel, .field label { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: 8px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.seg--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 560px) { .seg--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.seg label { position: relative; cursor: pointer; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; text-align: center; height: 100%; min-height: 48px; padding: 8px; font-size: 14px; font-weight: 600; line-height: 1.2; transition: background-color .2s, color .2s; }
.seg label:hover span { background: var(--paper); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--green); outline-offset: -4px; }
.frow { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .frow { grid-template-columns: 1fr 1fr; } .frow--plz { grid-template-columns: 180px 1fr; } }
.field { margin-bottom: 18px; min-width: 0; }
.wiz input:not([type=checkbox]):not([type=radio]), .wiz textarea { width: 100%; min-height: 50px; padding: 12px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--paper); font-size: 16px; transition: background-color .2s, border-color .2s; }
.wiz textarea { resize: vertical; min-height: 92px; }
.wiz input:not([type=checkbox]):not([type=radio]):focus, .wiz textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 4px 4px 0 var(--blue); }
.wiz input.is-invalid { border-color: #C0392B !important; box-shadow: 4px 4px 0 rgba(192,57,43,.35) !important; }
.err { color: #B3261E; font-size: 13.5px; font-weight: 600; }
.err:empty { display: none; }
.err:not(:empty) { margin-top: 6px; }
.err--submit:not(:empty) { margin-top: 14px; padding: 12px 14px; border: 1.5px solid #B3261E; background: #FCEDEB; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 15px; line-height: 1.5; margin-top: 8px; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 24px; height: 24px; border: 1.5px solid var(--ink); display: grid; place-items: center; background: #fff; }
.check__box .ic { width: 16px; height: 16px; stroke-width: 3; opacity: 0; }
.check input:checked + .check__box { background: var(--green); }
.check input:checked + .check__box .ic { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: #C0392B; box-shadow: 3px 3px 0 rgba(192,57,43,.35); }
.check a { color: var(--blue); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.summary { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 24px; padding: 12px; border: 1px dashed var(--ink); background: var(--paper); }
.summary .chip { font-family: var(--mono); font-size: 12px; padding: 4px 8px; border: 1px solid var(--ink); background: #fff; animation: swapIn .35s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
.summary .chip--blue { background: var(--bp); color: #fff; border-color: var(--bp); }
.summary .chip--green { background: var(--green); }
.summary .edit { font-family: var(--mono); font-size: 12px; text-transform: uppercase; background: none; border: 0; border-bottom: 1.5px solid var(--blue); color: var(--blue); padding: 2px 0; margin-left: 4px; }
.wiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1.5px solid var(--ink); }
.wiz__nav #wizNext { margin-left: auto; }
.spinner { width: 16px; height: 16px; border: 2.5px solid rgba(14,26,36,.25); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }

.done { text-align: center; outline: none; }
.done:not([hidden]) { animation: swapIn .5s var(--ease); }
.done__stamp { width: 170px; height: 170px; margin: 6px auto 22px; border: 4px solid var(--green-d); border-radius: 50%; color: var(--green-d); display: grid; place-content: center; text-align: center; position: relative; transform: rotate(-12deg) scale(2.2); opacity: 0; animation: stamp .45s cubic-bezier(.3, 1.4, .5, 1) .15s forwards; }
.done__stamp::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--green-d); border-radius: 50%; }
.done__stamp .mono { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.done__stamp b { font-family: var(--mono); font-size: 17px; margin: 6px 0; }
@keyframes stamp { to { transform: rotate(-12deg) scale(1); opacity: 1; } }
.done h3 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 12px; }
.done p { max-width: 460px; margin: 0 auto; color: var(--ink-2); }
.done__small { margin-top: 16px !important; font-size: 14px; text-transform: uppercase; }
.done__small a { color: var(--blue); font-weight: 700; white-space: nowrap; }

/* =========================================================
   FOOTER – Schriftfeld
   ========================================================= */
.ftr { padding: 56px 0 40px; }
.tb { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); background: #fff; }
.tb > * { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 14px 16px; font-size: 14.5px; line-height: 1.45; min-width: 0; overflow-wrap: anywhere; }
.tb__logo { grid-column: 1 / -1; display: flex; align-items: center; }
.tb__logo img { height: 64px; width: auto; }
.tb__cell .mono { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 4px; }
.tb__cell a { text-decoration: none; }
.tb__cell a:hover { color: var(--blue); text-decoration: underline; }
.tb__cell--nav { grid-column: 1 / -1; }
.tb__claim { font-stretch: 72%; font-weight: 800; font-size: 22px; letter-spacing: .1em; color: var(--blue); }
@media (min-width: 900px) {
  .tb { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
  .tb__logo { grid-column: 1; grid-row: 1 / span 3; justify-content: center; }
  .tb__cell--nav { grid-column: 2 / span 3; }
}
@media (max-width: 759px) { .ftr { padding-bottom: 110px; } }

/* =========================================================
   MOBILE-LEISTE & TOAST
   ========================================================= */
.mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 100; display: grid; grid-template-columns: 1fr 1.3fr; border: 2px solid var(--ink); background: #fff; box-shadow: 6px 6px 0 var(--green); transform: translateY(160%); transition: transform .45s var(--ease); pointer-events: none; }
.mbar.show { transform: none; pointer-events: auto; }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; font-family: var(--mono); font-weight: 700; font-size: 14px; text-transform: uppercase; text-decoration: none; }
.mbar__req { background: var(--green); border-left: 2px solid var(--ink); }
@media (min-width: 760px) { .mbar { display: none; } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 150; width: max-content; max-width: calc(100vw - 32px); visibility: hidden; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; background: var(--ink); color: #fff; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--green); font-size: 14.5px; transform: translate(-50%, calc(100% + 40px)); transition: transform .45s var(--ease), visibility 0s .45s; pointer-events: none; }
.toast.show { transform: translate(-50%, 0); visibility: visible; pointer-events: auto; transition: transform .45s var(--ease), visibility 0s; }
.toast .ic { color: var(--green); }
.toast a { flex: none; background: var(--green); color: var(--ink); padding: 6px 10px; font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; text-decoration: none; }
@media (max-width: 759px) { .toast { bottom: calc(90px + env(safe-area-inset-bottom)); } }

/* =========================================================
   Rechtliche Seiten
   ========================================================= */
.legal-hdr { background: #fff; border-bottom: 1.5px solid var(--ink); padding: 14px 0; }
.legal-hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-hdr img { height: 46px; width: auto; }
.legal-hdr a.back { font-family: var(--mono); font-size: 13px; text-transform: uppercase; text-decoration: none; color: var(--blue); }
.legal { max-width: 860px; padding-top: 56px; padding-bottom: 100px; }
.legal h1 { font-size: clamp(48px, 7vw, 92px); margin-bottom: 16px; }
.legal h2 { font-size: 28px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 10px; }
.legal ul { list-style: square; padding-left: 22px; }
.legal a { color: var(--blue); }
.legal .note { font-family: var(--mono); font-size: 13px; border: 1.5px solid var(--ink); background: #fff; padding: 12px 16px; }
mark.todo { background: #FFE86B; color: var(--ink); padding: 1px 6px; font-weight: 600; }

/* =========================================================
   Reduzierte Bewegung
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .hero__h .ln > span { transform: none; }
  .hero__h mark::after, .dim__line i { transform: none; }
  .dim__line b, .callout span, .town, .house .fl, .hs { opacity: 1; transform: none; }
  .callout i::after { transform: none; }
  .frame__img img { transform: none; }
  .house .ln, .map__ring, .map__radius, .proto__ok .ic { stroke-dashoffset: 0; }
  .why__stamp, .done__stamp { opacity: 1; transform: rotate(-12deg); }
}
