/* ==========================================================
   Webdesign Havelberg – by Nico Heller
   Farben aus dem Logo: Schwarz + Havelberg-Grün (#A9FF89)
   ========================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --green: #a9ff89;
  --green-2: #6fe35a;
  --green-3: #2f9e3f;
  --green-glow: rgba(169, 255, 137, .35);
  --black: #070907;
  --bg: #0a0d0a;
  --bg-2: #0f140f;
  --surface: #131a13;
  --surface-2: #182118;
  --line: rgba(169, 255, 137, .14);
  --line-2: rgba(255, 255, 255, .08);
  --text: #eef5ea;
  --muted: #a3b09e;
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:root { interpolate-size: allow-keywords; scrollbar-color: #2c4228 var(--black); }
::selection { background: var(--green); color: var(--black); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #2c4228; border: 3px solid var(--black); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-3); }
input, textarea { caret-color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  font-weight: 700;
}
p { margin: 0 0 1.1em; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(60px, 8vw, 100px) 0; }
.text-green { color: var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 1000;
  background: var(--green); color: var(--black); padding: .6rem 1rem; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Eyebrow / Headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
}
.h-xl { font-size: clamp(2.6rem, 7.2vw, 6rem); font-weight: 800; letter-spacing: -.035em; }
.h-lg { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.h-md { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(-90deg, var(--green), transparent);
}
.section-head--center .lead { margin-inline: auto; }

.gradient-text { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  --bx: 50%; --by: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .65rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--green); color: var(--black); box-shadow: 0 10px 40px -10px var(--green-glow); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(160px circle at var(--bx) var(--by), rgba(255,255,255,.75), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover { box-shadow: 0 16px 50px -8px rgba(169,255,137,.55); }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--small { padding: .7rem 1.2rem; font-size: .9rem; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: grid; place-items: center;
  transition: opacity .45s var(--ease), visibility .45s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { width: min(420px, 78vw); text-align: center; }
.preloader__sky {
  aspect-ratio: 2000 / 410;
  background: linear-gradient(90deg, var(--green) 0 var(--p, 0%), rgba(169,255,137,.12) var(--p, 0%));
  -webkit-mask: url("../img/skyline.png") center / contain no-repeat;
          mask: url("../img/skyline.png") center / contain no-repeat;
  transition: --p .2s;
}
.preloader__count {
  margin-top: 1rem;
  font-family: var(--font-head); font-size: .8rem; letter-spacing: .3em; color: var(--muted);
}

/* ---------- Maus-Cursor (nur Desktop mit Maus) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 10050; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-visible { opacity: 1; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: translate, scale; }
.cursor__dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(169,255,137,.8);
  transition: opacity .25s, scale .25s var(--ease);
}
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(169,255,137,.45);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease),
              background-color .35s, border-color .35s, box-shadow .35s, scale .2s var(--ease), opacity .25s;
}
.cursor__label {
  font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--black); white-space: nowrap;
  opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease);
}
/* über Links & Buttons */
.cursor.is-link .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--green); background: rgba(169,255,137,.08); }
.cursor.is-link .cursor__dot { scale: 0; }
/* über Referenzen: gefüllter Kreis mit Beschriftung */
.cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; border-color: var(--green); background: var(--green); box-shadow: 0 10px 40px -8px rgba(169,255,137,.55); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-label .cursor__dot { scale: 0; }
/* über Eingabefeldern: normaler Text-Cursor */
.cursor.is-text .cursor__ring, .cursor.is-text .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { scale: .82; }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor label, html.has-cursor select, html.has-cursor input[type="checkbox"] { cursor: none; }
html.has-cursor input:not([type="checkbox"]), html.has-cursor textarea { cursor: text; }

/* ---------- Eigene Projekte ---------- */
.own-head { margin: clamp(60px, 8vw, 100px) 0 clamp(28px, 4vw, 44px); }
.ref__img { position: relative; }
.ref__tag {
  position: absolute; left: 16px; top: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem; border-radius: 999px;
  background: rgba(8, 11, 8, .78); backdrop-filter: blur(8px);
  border: 1px solid var(--line); color: var(--green);
  font-size: .78rem; font-weight: 600; font-family: var(--font-head);
}
.ref__tag svg { width: 15px; height: 15px; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
  transform-origin: 0 50%; transform: scaleX(0); will-change: transform;
  background: linear-gradient(90deg, var(--green-3), var(--green));
  box-shadow: 0 0 12px var(--green-glow);
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 1.1rem 0;
  transition: padding .4s var(--ease), background .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: .6rem 0;
  background: rgba(8, 11, 8, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line-2);
}
.header.is-hidden { transform: translateY(-110%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: clamp(150px, 16vw, 200px); height: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: scale(1.03); }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a:not(.btn) {
  position: relative; padding: .55rem .85rem; border-radius: 999px;
  font-size: .93rem; font-weight: 500; color: var(--muted);
  transition: color .25s, background .25s;
}
.nav a:not(.btn):hover, .nav a:not(.btn).is-active { color: var(--text); background: rgba(169,255,137,.07); }
.nav a:not(.btn).is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--green);
}
.nav .btn { margin-left: .6rem; }
.burger {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform .4s var(--ease), opacity .3s;
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1040px) {
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: .4rem;
    background: rgba(7, 9, 7, .97);
    backdrop-filter: blur(20px);
    clip-path: circle(0 at calc(100% - 44px) 44px);
    transition: clip-path .7s var(--ease);
    visibility: hidden;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
  .nav a:not(.btn) { font-family: var(--font-head); font-size: 1.6rem; color: var(--text); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease), color .25s; }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: .05s; }
  .nav.is-open a:nth-child(3) { transition-delay: .1s; }
  .nav.is-open a:nth-child(4) { transition-delay: .15s; }
  .nav.is-open a:nth-child(5) { transition-delay: .2s; }
  .nav.is-open a:nth-child(6) { transition-delay: .25s; }
  .nav.is-open a:nth-child(7) { transition-delay: .3s; }
  .nav .btn { margin: 1.2rem 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 180px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__grid {
  position: absolute; inset: -2px -66px -66px -2px;
  background-image:
    linear-gradient(rgba(169,255,137,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169,255,137,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  animation: grid-move 22s linear infinite; will-change: transform;
}
@keyframes grid-move { from { transform: translate3d(-64px, -64px, 0); } to { transform: translate3d(0, 0, 0); } }
.blob {
  position: absolute; border-radius: 50%; opacity: .55; will-change: transform;
  animation: float 16s ease-in-out infinite alternate;
}
.blob--1 { width: 520px; height: 520px; left: -140px; top: -80px; background: radial-gradient(circle, rgba(169,255,137,.55), transparent 65%); }
.blob--2 { width: 460px; height: 460px; right: -120px; top: 18%; background: radial-gradient(circle, rgba(47,158,63,.6), transparent 65%); animation-duration: 20s; animation-delay: -6s; }
.blob--3 { width: 380px; height: 380px; left: 38%; bottom: -120px; background: radial-gradient(circle, rgba(111,227,90,.35), transparent 65%); animation-duration: 18s; animation-delay: -3s; }
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.12); }
  100% { transform: translate(-40px, 70px) scale(.94); }
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__content { position: relative; z-index: 2; max-width: 980px; }
.pulse { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green-glow); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(169,255,137,0); } 100% { box-shadow: 0 0 0 0 rgba(169,255,137,0); } }

.hero h1 { margin-bottom: .35em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.js .hero h1 .line > span { transform: translateY(110%) rotate(2deg); filter: blur(10px); transition: transform .9s var(--ease), filter .9s var(--ease); }
.is-loaded .hero h1 .line > span { transform: none; filter: none; }
.is-loaded .hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero h1 .line:nth-child(3) > span { transition-delay: .24s; }

/* Wort-Wechsler: Wörter rollen aus einer Maske, ohne dass der Text darunter springt */
.rotator {
  display: grid; margin: 0 0 .2em; overflow: hidden; padding-bottom: .08em;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em; color: var(--green);
}
.rotator__word { grid-area: 1 / 1; white-space: nowrap; }
.js .rotator__word { transform: translateY(105%); opacity: 0; filter: blur(6px); transition: transform .8s var(--ease), opacity .5s, filter .8s var(--ease); }
.js .rotator__word.is-active { transform: none; opacity: 1; filter: none; }
.js .rotator__word.is-leaving { transform: translateY(-105%); opacity: 0; filter: blur(6px); transition-duration: .55s; }
html:not(.js) .rotator__word:not(.is-active) { display: none; }
.rotator__word.is-active::after { content: ""; display: inline-block; width: .55em; height: 3px; margin-left: .3em; border-radius: 2px; background: currentColor; vertical-align: .2em; transform-origin: left; animation: tick 2.8s var(--ease) both; }
@keyframes tick { 0% { transform: scaleX(0); } 25%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

.hero__text { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--muted); max-width: 58ch; margin-bottom: 2.4rem; }
.hero__text > p:last-child { margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 3.4rem; color: var(--muted); font-size: .92rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: .55rem; }
.hero__meta svg { width: 20px; height: 20px; color: var(--green); }

.js .fade-up { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.is-loaded .fade-up { opacity: 1; transform: none; }
.is-loaded .fade-up.d1 { transition-delay: .2s; }
.is-loaded .fade-up.d2 { transition-delay: .3s; }
.is-loaded .fade-up.d3 { transition-delay: .4s; }
.is-loaded .fade-up.d4 { transition-delay: .5s; }

.hero__skyline {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none;
  height: clamp(90px, 16vw, 230px);
  background: linear-gradient(180deg, rgba(169,255,137,.22), rgba(169,255,137,.04));
  -webkit-mask: url("../img/skyline.png") center bottom / auto 100% repeat-x;
          mask: url("../img/skyline.png") center bottom / auto 100% repeat-x;
}
/* Signatur-Moment: die Havelberger Silhouette aus dem Logo zeichnet sich von links nach rechts,
   danach gleitet in Abständen ein Lichtstreifen über Dom und Dächer */
.js .hero__skyline { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease) .2s; }
.is-loaded .hero__skyline { clip-path: inset(0 -1px 0 0); }
.hero__skyline::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 28%;
  background: linear-gradient(100deg, transparent, rgba(169,255,137,.75) 50%, transparent);
  transform: translateX(-100%); animation: sweep 9s var(--ease) 2.6s infinite;
}
@keyframes sweep { 0% { transform: translateX(-100%); } 38%, 100% { transform: translateX(360%); } }
/* Scroll-Tiefe im Hero: Text gleitet nach oben, Silhouette bleibt zurück */
.hero__skyline { translate: 0 calc(var(--hp, 0) * 70px); will-change: translate; }
.hero .hero__content { translate: 0 calc(var(--hp, 0) * -110px); opacity: calc(1 - var(--hp, 0) * 1.25); will-change: translate, opacity; }
.hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(transparent, var(--bg)); z-index: 1; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 34px; z-index: 3; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(238,245,234,.35); border-radius: 20px;
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 4px; background: var(--green); animation: scroll 1.8s var(--ease) infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 1.4rem 0;
  border-block: 1px solid var(--line-2);
  background: var(--bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 1.4rem; padding-right: 1.4rem;
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; color: var(--text);
}
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(169,255,137,.6); }
.marquee__item::after { content: "✦"; color: var(--green); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal on scroll ---------- */
/* Versteckt wird nur mit laufendem JavaScript (html.js) – ohne JS bleibt jeder Inhalt sichtbar */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .75s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 860px) { .js [data-reveal="left"]:not(.is-visible), .js [data-reveal="right"]:not(.is-visible) { transform: translateY(40px); } }

/* Überschriften steigen wie im Hero aus einer Maske auf */
.js [data-reveal] .h-lg, .js [data-reveal] .h-md, .js [data-reveal] > h2 {
  clip-path: inset(-.2em -.2em 100% -.2em); transform: translateY(.45em);
  transition: clip-path .85s var(--ease) .08s, transform .85s var(--ease) .08s;
}
.js [data-reveal].is-visible .h-lg, .js [data-reveal].is-visible .h-md, .js [data-reveal].is-visible > h2 { clip-path: inset(-.2em -.2em -.3em -.2em); transform: none; }
/* Eyebrow-Linie zeichnet sich */
.js [data-reveal] .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .25s; }
.js [data-reveal].is-visible .eyebrow::before { transform: none; }

/* Referenz-Screenshots: Vorhang-Effekt beim Einblenden */
.js .ref[data-reveal] .ref__img img, .js .pilot[data-reveal] .pilot__media img {
  clip-path: inset(100% 0 0 0); scale: 1.18;
  transition: clip-path 1s var(--ease) .1s, scale 1.2s var(--ease) .1s, transform 1.2s var(--ease), filter .6s;
}
.js .ref[data-reveal].is-visible .ref__img img, .js .pilot[data-reveal].is-visible .pilot__media img { clip-path: inset(0); scale: 1; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; }
.about__img {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
}
.about__img img { width: 100%; height: 115%; object-fit: cover; object-position: center 75%; will-change: transform; }
.about__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,9,7,.75)); }
.about__frame {
  position: absolute; inset: -18px 18px 18px -18px; z-index: -1;
  border: 1.5px solid var(--green); border-radius: var(--radius); opacity: .45;
}
.about__card {
  position: absolute; right: -24px; bottom: 36px;
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.3rem; border-radius: var(--radius-sm);
  background: rgba(15, 20, 15, .96);
  border: 1px solid var(--line);
  animation: bob 5s ease-in-out infinite;
}
.about__card strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--green); line-height: 1; }
.about__card span { font-size: .85rem; color: var(--muted); line-height: 1.3; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.about__sign { font-family: var(--font-head); font-size: 1.1rem; color: var(--text); margin-top: 1.4rem; display: flex; align-items: center; gap: 1rem; }
.about__sign small { display: block; color: var(--muted); font-family: var(--font-body); font-size: .88rem; }

.more { margin-top: .6rem; }
.more summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 600; color: var(--green);
}
.more summary::-webkit-details-marker { display: none; }
.more summary .plus { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--green); display: grid; place-items: center; transition: transform .4s var(--ease); }
.more[open] summary .plus { transform: rotate(45deg); }
.more__body { color: var(--muted); padding-top: 1rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg); padding: clamp(24px, 3.5vw, 44px); text-align: center; }
.stat__num small { font-size: .45em; font-weight: 700; margin-left: .15em; letter-spacing: 0; }
.stat__num { font-variant-numeric: tabular-nums; white-space: nowrap; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1; color: var(--green); letter-spacing: -.03em; }
.stat__label { color: var(--muted); font-size: .92rem; margin-top: .6rem; }
.footnote { color: var(--muted); font-size: .8rem; margin-top: .8rem; }
.price-note strong, .check-list strong { color: var(--text); }

/* ---------- Services (spotlight cards) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-2);
  transition: translate .5s var(--ease), border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(169,255,137,.13), transparent 45%);
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--mx) var(--my), var(--green), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { translate: 0 -6px; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card__icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 1.5rem;
  background: linear-gradient(145deg, rgba(169,255,137,.18), rgba(169,255,137,.04));
  border: 1px solid var(--line);
  color: var(--green);
  transition: transform .6s var(--ease), background .4s, color .4s;
}
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); background: var(--green); color: var(--black); }
/* Icons zeichnen sich beim Überfahren neu */
.card:hover .card__icon svg, .bento__item:hover h3 svg { animation: draw 1.1s var(--ease); }
@keyframes draw { from { stroke-dasharray: 0 100; } to { stroke-dasharray: 100 0; } }
.card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.card__num { position: absolute; right: 26px; top: 22px; font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; line-height: 1; color: rgba(169,255,137,.06); }
.price-note {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-top: 28px; padding: 1.3rem 1.5rem; border-radius: var(--radius-sm);
  border: 1px dashed var(--line); color: var(--muted); font-size: .95rem;
}
.price-note svg { flex-shrink: 0; width: 24px; height: 24px; color: var(--green); margin-top: 2px; }
.price-note p { margin: 0; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(40px, 6vw, 80px);
  background: linear-gradient(120deg, #1a2d17, #0e150d 55%, #152a12);
  border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
}
.cta::before {
  content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; right: -200px; top: -250px;
  background: radial-gradient(circle, rgba(169,255,137,.28), transparent 60%);
  animation: float 14s ease-in-out infinite alternate;
}
.cta::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: -2px; height: 110px;
  background: rgba(169,255,137,.08);
  -webkit-mask: url("../img/skyline.png") left bottom / auto 100% repeat-x;
          mask: url("../img/skyline.png") left bottom / auto 100% repeat-x;
}
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.cta p { color: var(--muted); max-width: 60ch; margin: 0; }

/* ---------- Service list (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento__item {
  position: relative; padding: 1.5rem; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--line-2);
  transition: border-color .35s, background .35s, translate .45s var(--ease);
}
.bento__item:hover { border-color: var(--line); background: var(--surface); translate: 0 -4px; }
.bento__item h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .45rem; }
.bento__item h3 svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
.bento__item p { color: var(--muted); font-size: .92rem; margin: 0; line-height: 1.6; }
.bento__item--wide { grid-column: span 2; background: linear-gradient(135deg, rgba(169,255,137,.1), var(--bg-2) 60%); border-color: var(--line); }
.bento__item--wide p { font-size: 1rem; }

/* ---------- Process timeline ---------- */
.process { position: relative; display: grid; gap: 28px; }
.process__line { position: absolute; left: 31px; top: 10px; bottom: 10px; width: 2px; background: var(--line-2); border-radius: 2px; }
.process__line span { position: absolute; inset: 0; background: linear-gradient(var(--green), var(--green-3)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 14px var(--green-glow); }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.step__dot {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  background: var(--bg); border: 2px solid var(--line); color: var(--muted);
  transition: all .6s var(--ease);
}
.step.is-active .step__dot { background: var(--green); color: var(--black); border-color: var(--green); box-shadow: 0 0 0 8px rgba(169,255,137,.1), 0 0 40px var(--green-glow); }
.step__body {
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-2);
  display: grid; grid-template-columns: auto 1fr; gap: .2rem 2rem;
}
.step__kicker { grid-column: 1 / -1; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green); font-weight: 600; font-family: var(--font-head); }
.step__body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: .3rem 0 .7rem; grid-column: 1 / -1; }
.step__body p { color: var(--muted); margin: 0; grid-column: 1 / -1; }

/* ---------- References ---------- */
.refs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.ref {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2);
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.ref:hover { border-color: var(--line); box-shadow: 0 30px 70px -30px rgba(169,255,137,.25); }
.ref__browser { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: var(--bg-2); }
.ref__browser i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.ref__browser i:first-child { background: var(--green); }
.ref__browser span { margin-left: 10px; font-size: .78rem; color: var(--muted); padding: .2rem .8rem; border-radius: 999px; background: rgba(255,255,255,.04); flex: 1; max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref__img { aspect-ratio: 16 / 9.4; overflow: hidden; }
.ref__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.ref:hover .ref__img img { transform: scale(1.06); filter: saturate(1.05); }
.ref__info { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; }
.ref__info h3 { font-size: 1.12rem; margin: 0 0 .15rem; }
.ref__info small { color: var(--muted); font-size: .86rem; }
.ref__arrow {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--green); transition: all .45s var(--ease);
}
.ref__arrow svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.ref:hover .ref__arrow { background: var(--green); color: var(--black); }
.ref:hover .ref__arrow svg { transform: rotate(-45deg); }

.own { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 26px; }
.own__item {
  display: flex; gap: 1.2rem; align-items: center; padding: 1.5rem 1.6rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(135deg, rgba(169,255,137,.08), transparent 60%);
  transition: translate .45s var(--ease), border-color .3s;
}
.own__item:hover { translate: 0 -4px; border-color: var(--green); }
.own__item .card__icon { margin: 0; flex-shrink: 0; }
.own__item h3 { font-size: 1.1rem; margin: 0 0 .2rem; }
.own__item p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* letzte Referenz bei ungerader Anzahl über die volle Breite */
.refs > .ref:last-child:nth-child(odd) { grid-column: 1 / -1; }
.refs > .ref:last-child:nth-child(odd) .ref__img { aspect-ratio: 21 / 8; }

/* ---------- Pilotprojekt (Startseite) ---------- */
.pilot {
  position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch;
  margin-bottom: 26px; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  background: linear-gradient(135deg, rgba(169,255,137,.12), var(--surface) 45%);
  border: 1px solid var(--line);
  transition: border-color .4s, box-shadow .5s var(--ease), translate .5s var(--ease);
}
.pilot:hover { border-color: var(--green); box-shadow: 0 40px 90px -40px rgba(169,255,137,.35); translate: 0 -4px; }
.pilot__media { position: relative; height: 100%; overflow: hidden; }
.pilot__media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1.2s var(--ease); }
.pilot:hover .pilot__media img { transform: scale(1.04); }
.pilot__body { padding: clamp(26px, 4vw, 52px); align-self: center; }
.pilot__body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .6rem; }
.pilot__body p { color: var(--muted); }
.pilot__tags { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.pilot__tags li { font-size: .8rem; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--line); color: var(--text); background: rgba(169,255,137,.05); }

/* ---------- Fallstudie ---------- */
.page-hero .lead { margin-top: .4rem; }
.case-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.case-facts > div { background: var(--surface); padding: 1.5rem; display: grid; gap: .25rem; align-content: start; }
.case-facts small { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-family: var(--font-head); font-weight: 600; }
.case-facts strong { font-family: var(--font-head); font-size: 1.08rem; }
.case-facts span { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.case-goals li span { color: var(--muted); }
.case-goals strong { color: var(--text); }

.compare {
  --pos: 50%;
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); user-select: none; touch-action: pan-y;
}
.compare img { width: 100%; height: auto; display: block; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__before img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--green); box-shadow: 0 0 18px var(--green-glow); pointer-events: none;
}
.compare__handle span {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: var(--green); color: var(--black); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.45);
}
.compare__handle svg { width: 16px; height: 16px; }
.compare__handle svg:first-child { transform: rotate(180deg); margin-right: -2px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
html.has-cursor .compare__range { cursor: none; }
.compare__label {
  position: absolute; top: 16px; padding: .35rem .8rem; border-radius: 999px; pointer-events: none;
  background: rgba(8,11,8,.8); backdrop-filter: blur(8px); border: 1px solid var(--line);
  font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.compare__label--l { left: 16px; color: var(--text); }
.compare__label--r { right: 16px; color: var(--green); }
.compare:has(.compare__range:focus-visible) .compare__handle span { outline: 3px solid #fff; outline-offset: 3px; }

.shots { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; align-items: start; }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption { padding: 1rem 1.3rem 1.2rem; color: var(--muted); font-size: .92rem; }
.shot figcaption strong { color: var(--text); font-family: var(--font-head); }
.shot--wide { grid-column: span 3; }
.shot--half { grid-column: span 2; }
.shot--phone { background: transparent; border: 0; overflow: visible; }
.phone { border-radius: 34px; padding: 10px; background: #050605; border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), inset 0 0 0 2px rgba(255,255,255,.04); }
.phone img { border-radius: 26px; }
.shot--phone figcaption { padding: 1rem .3rem 0; }

@media (max-width: 1040px) {
  .case-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .pilot { grid-template-columns: 1fr; }
  .pilot__media { height: auto; }
  .shots { grid-template-columns: 1fr; }
  .shot--wide, .shot--half { grid-column: auto; }
  .shot--phone { max-width: 320px; margin-inline: auto; }
  .refs > .ref:last-child:nth-child(odd) .ref__img { aspect-ratio: 16 / 9.4; }
}
@media (max-width: 600px) {
  .case-facts { grid-template-columns: 1fr; }
  .compare__label { top: 10px; font-size: .68rem; }
  .compare__handle span { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
}

/* ---------- Reviews ---------- */
.reviews {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem;
  padding: clamp(26px, 4vw, 44px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-2);
}
.reviews__stars { display: flex; gap: 4px; color: var(--green); margin-bottom: .5rem; }
.reviews__stars svg { width: 24px; height: 24px; }
.reviews h3 { margin: 0 0 .3rem; font-size: 1.4rem; }
.reviews p { margin: 0; color: var(--muted); }
.reviews__badges { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.reviews__badges img { height: 60px; width: auto; border-radius: 10px; background: #fff; padding: 4px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-aside { position: sticky; top: 120px; }
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-2);
  transition: border-color .3s, background .3s;
}
.faq details[open] { border-color: var(--line); background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 1.4rem; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; position: relative;
  border: 1px solid var(--line); transition: transform .45s var(--ease), background .3s;
}
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--green); border-radius: 2px;
}
.faq summary .plus::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
.faq details[open] .plus { background: var(--green); transform: rotate(180deg); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: var(--black); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq__body { padding: 0 1.4rem 1.3rem; color: var(--muted); overflow: hidden; }
/* weiches Auf- und Zuklappen (moderne Browser), sonst sofort */
details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
details[open]::details-content { block-size: auto; }
.faq details[open] .faq__body, .more[open] .more__body { animation: rise .6s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(-8px); } }
.faq__body p:last-child, .faq__body ul:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 14px; }
.contact__list a, .contact__list div {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line-2); transition: border-color .3s, transform .4s var(--ease);
}
.contact__list a:hover { border-color: var(--green); transform: translateX(6px); }
.contact__list .card__icon { width: 46px; height: 46px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.contact__list .card__icon svg { width: 22px; height: 22px; }
.contact__list small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.contact__list strong { font-weight: 600; font-size: 1rem; word-break: break-word; }
.form {
  padding: clamp(24px, 4vw, 44px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.form h3 { grid-column: 1 / -1; font-size: 1.5rem; margin: 0; }
.field { position: relative; display: grid; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; padding: 1.35rem 1rem .6rem; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text);
  font: inherit; font-size: 1rem; transition: border-color .3s, box-shadow .3s;
  appearance: none;
}
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 150px; resize: vertical; }
.field label {
  position: absolute; left: 1rem; top: 1rem; color: var(--muted); font-size: 1rem; pointer-events: none;
  transform-origin: left top; transition: transform .25s var(--ease), color .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(169,255,137,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-.62rem) scale(.74); color: var(--green); }
.check { grid-column: 1 / -1; display: flex; gap: .8rem; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.check a { color: var(--green); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.form__status { font-size: .95rem; }
.form__status.ok { color: var(--green); }
.form__status.err { color: #ff9b8a; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 110px 0 36px; background: var(--black); border-top: 1px solid var(--line-2); overflow: hidden; }
.footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 90px;
  background: var(--bg);
  -webkit-mask: url("../img/skyline.png") center top / auto 100% repeat-x;
          mask: url("../img/skyline.png") center top / auto 100% repeat-x;
  transform: scaleY(-1);
  opacity: 0;
}
.footer__big {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.04em; line-height: .9;
  font-size: clamp(3rem, 12vw, 10rem); margin-bottom: 70px;
  color: transparent; -webkit-text-stroke: 1px rgba(169,255,137,.25);
  position: relative;
}
/* Füllt sich beim Scrollen mit Grün – der Schlusspunkt der Seite */
.footer__big::after {
  content: attr(data-text); position: absolute; inset: 0; color: var(--green); -webkit-text-stroke: 0;
  clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease);
}
.footer__big.is-filled::after, html:not(.js) .footer__big::after { clip-path: inset(0 -2px 0 0); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4, .footer__h { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green); margin-bottom: 1.2rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer li a, .footer address { color: var(--muted); font-style: normal; font-size: .95rem; transition: color .25s; }
.footer li a:hover { color: var(--green); }
.footer__brand img { width: 210px; margin-bottom: 1.2rem; }
.footer__brand p { color: var(--muted); font-size: .95rem; max-width: 34ch; }
.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--muted); transition: all .35s var(--ease);
}
.socials a:hover { background: var(--green); color: var(--black); border-color: var(--green); transform: translateY(-4px); }
.socials svg { width: 19px; height: 19px; }
.footer__bottom {
  margin-top: 70px; padding-top: 28px; border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .88rem;
}
.footer__bottom a:hover { color: var(--green); }
.footer__skyline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none;
  background: rgba(169,255,137,.035);
  -webkit-mask: url("../img/skyline.png") center bottom / auto 100% repeat-x;
          mask: url("../img/skyline.png") center bottom / auto 100% repeat-x;
}

/* ---------- Floating buttons ---------- */
.to-top, .fab-call {
  position: fixed; right: 22px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); cursor: pointer;
  transition: opacity .4s, transform .5s var(--ease), background .3s;
}
.to-top { bottom: 22px; background: rgba(15, 20, 15, .95); opacity: 0; transform: translateY(20px); pointer-events: none; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--green); color: var(--black); }
.to-top svg { width: 22px; height: 22px; }
.to-top circle { fill: none; stroke: var(--green); stroke-width: 2; stroke-dasharray: 150.8; stroke-dashoffset: calc(150.8 - 150.8 * var(--progress, 0)); transform: rotate(-90deg); transform-origin: center; }
.to-top .ring { position: absolute; inset: -1px; width: 54px; height: 54px; }
.fab-call { bottom: 86px; background: var(--green); color: var(--black); box-shadow: 0 10px 30px -8px var(--green-glow); }
.fab-call svg { width: 22px; height: 22px; }
.fab-call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Subpages ---------- */
.page-hero { position: relative; padding: 170px 0 clamp(110px, 14vw, 170px); overflow: hidden; border-bottom: 1px solid var(--line-2); }
.page-hero .hero__skyline { height: clamp(60px, 10vw, 130px); opacity: .8; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb svg { width: 14px; height: 14px; }
.legal { max-width: 860px; }
.legal h1 { display: none; }
.legal h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 2.6em; padding-top: 1.2em; border-top: 1px solid var(--line-2); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.2rem; margin-top: 2em; color: var(--green); }
.legal h4 { font-size: 1.02rem; margin-top: 1.6em; }
.legal p, .legal li { color: #c8d3c3; }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal ul { padding-left: 1.2rem; }
.legal .toc { padding: 1.4rem 1.6rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-2); margin-bottom: 3rem; }
.legal .toc strong { display: block; margin-bottom: .6rem; font-family: var(--font-head); }
.legal .toc ol { margin: 0; padding-left: 0; list-style: none; columns: 2; column-gap: 2rem; }
.legal .toc a { text-decoration: none; color: var(--muted); }
.legal .toc a:hover { color: var(--green); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 2rem 0; }
.info {
  padding: 1.4rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-2); text-align: center;
}
.info strong { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--green); line-height: 1.1; }
.info span { color: var(--muted); font-size: .88rem; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--muted); }
.check-list svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.media-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 10; background: var(--surface); display: grid; place-items: center; text-align: center; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg); }
.map-frame.is-loaded .map-consent { visibility: hidden; }
.map-consent { padding: 2rem; color: var(--muted); max-width: 44ch; }
.map-consent p { font-size: .92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
}
@media (max-width: 860px) {
  .about, .contact, .split { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin-inline: auto; width: 100%; }
  .about__card { right: -8px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .refs, .own { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr 1fr; }
  .legal .toc ol { columns: 1; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { width: calc(100% - 32px); }
  .cards, .bento { grid-template-columns: 1fr; }
  .bento__item--wide { grid-column: auto; }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 150px; }
  .hero__meta { gap: 1rem 1.6rem; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; }
  .step__dot { width: 44px; height: 44px; font-size: 1rem; }
  .process__line { left: 21px; }
  .info-grid { grid-template-columns: 1fr; }
  .about__frame { inset: -10px 10px 10px -10px; }
  .card__num { font-size: 2.6rem; }
}

/* ---------- Reduced motion ---------- */
/* Weniger Bewegung: keine Wege, Schleifen oder Parallaxe – Farb- und Deckkraft-Wechsel bleiben als Rückmeldung */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .fade-up, .js .hero h1 .line > span { transform: none !important; translate: none !important; filter: none !important; transition: opacity .4s ease !important; }
  .js [data-reveal] .h-lg, .js [data-reveal] .h-md, .js [data-reveal] > h2, .js .ref[data-reveal] .ref__img img, .js .pilot[data-reveal] .pilot__media img, .js .hero__skyline { clip-path: none !important; scale: 1 !important; transform: none !important; }
  .hero__skyline::after, .rotator__word::after { display: none; }
  .hero .hero__content, .hero__skyline, .hero__bg, .card:hover, .bento__item:hover, .pilot:hover, .own__item:hover, .region-card:hover { translate: none !important; }
  .hero .hero__content { opacity: 1 !important; }
  .marquee__track { animation: none; }
  .marquee__item { transform: none !important; }
  .js .rotator__word { transition: opacity .3s !important; transform: none !important; filter: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* Weiche Übergänge zwischen den Unterseiten (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .18s ease-in both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ==========================================================
   Cookie-Einwilligung
   ========================================================== */
.btn--light { background: var(--text); color: var(--black); }
.btn--light:hover { background: #fff; }
.consent { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px; }
.consent[hidden] { display: none; }
.consent-backdrop { position: absolute; inset: 0; background: rgba(3, 5, 3, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.consent-box {
  position: relative; width: min(660px, 100%); max-height: min(90vh, 880px); overflow: auto; overscroll-behavior: contain;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(22px, 4vw, 38px); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(169,255,137,.05);
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.consent.is-open .consent-backdrop { opacity: 1; }
.consent.is-open .consent-box { opacity: 1; transform: none; }
body.consent-open { overflow: hidden; }
.consent-view--settings, .consent[data-view="settings"] .consent-view--start { display: none; }
.consent[data-view="settings"] .consent-view--settings { display: block; }
.consent-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.consent-head img { width: 150px; height: auto; }
.consent-head .eyebrow { margin: 0 auto 0 0; }
.consent.is-first .consent-x { display: none; }
.consent-x, .consent-back {
  flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg);
  color: var(--text); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s;
}
.consent-x:hover, .consent-back:hover { border-color: var(--green); color: var(--green); }
.consent h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-bottom: .5em; outline: none; }
.consent p { color: var(--text); font-size: .97rem; }
.consent-small { font-size: .85rem !important; color: var(--muted) !important; }
.consent a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.consent-actions .btn { width: 100%; justify-content: center; padding-inline: 14px; text-align: center; white-space: normal; }
.consent-actions .btn:hover { transform: none !important; }
.consent-cats { display: grid; gap: 10px; margin-top: 12px; }
.consent-cat { background: var(--bg); border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 18px; }
.consent-cat.is-unused { opacity: .78; }
.consent-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.consent-cat h3 { font-size: 1.02rem; margin: 0; }
.consent-cat p { font-size: .88rem; color: var(--muted); margin: 8px 0 0; }
.consent-always { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--black); background: var(--green); padding: 5px 10px; border-radius: 999px; white-space: nowrap; font-family: var(--font-head); }
.consent-always--off { color: var(--muted); background: rgba(255,255,255,.08); }
.consent-switch { position: relative; display: inline-flex; cursor: pointer; flex: none; }
.consent-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.consent-switch-track { width: 52px; height: 30px; border-radius: 999px; background: #3b4639; border: 1px solid rgba(255,255,255,.25); position: relative; transition: background .3s; }
.consent-switch-track span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.consent-switch input:checked + .consent-switch-track { background: var(--green-3); border-color: var(--green); }
.consent-switch input:checked + .consent-switch-track span { transform: translateX(22px); }
.consent-switch input:focus-visible + .consent-switch-track { outline: 3px solid var(--green); outline-offset: 3px; }
.consent-details { margin-top: 10px; font-size: .84rem; }
.consent-details summary { cursor: pointer; font-weight: 600; color: var(--green); }
.consent-details table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.consent-details th, .consent-details td { text-align: left; vertical-align: top; padding: 8px 6px; border-top: 1px solid var(--line-2); line-height: 1.55; color: var(--muted); }
.consent-details th { width: 32%; font-weight: 700; color: var(--text); word-break: break-word; }
.consent-details td b { color: var(--text); font-weight: 600; }
.consent-links { margin-top: 14px; text-align: center; }

/* Schwebende Schaltflächen (links unten) */
.a11y-toggle, .consent-fab {
  position: fixed; left: 22px; z-index: 90; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(15, 20, 15, .96); color: var(--green); border: 1px solid var(--line);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.7); transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.a11y-toggle { bottom: 22px; width: 52px; height: 52px; }
.a11y-toggle svg { width: 27px; height: 27px; }
.consent-fab { bottom: 86px; left: 26px; width: 44px; height: 44px; display: none; }
.consent-fab svg { width: 22px; height: 22px; }
html.has-consent .consent-fab { display: grid; }
.a11y-toggle:hover, .consent-fab:hover { transform: scale(1.08); border-color: var(--green); }
.a11y-toggle.is-active { background: var(--green); color: var(--black); }

/* Barrierefreiheits-Menü */
.a11y-panel {
  position: fixed; left: 22px; bottom: 88px; z-index: 150; width: min(390px, calc(100vw - 32px)); max-height: calc(100vh - 120px); overflow: auto;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 22px; padding: 20px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.85); animation: a11yIn .3s var(--ease);
}
@keyframes a11yIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; }
.a11y-head h2 { font-size: 1.35rem; margin: 0; outline: none; }
.a11y-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.a11y-close:hover { border-color: var(--green); color: var(--green); }
.a11y-intro { font-size: .88rem; color: var(--muted); margin: 6px 0 14px; }
.a11y-size { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; margin-bottom: 10px; }
.a11y-size span { font-weight: 600; font-size: .92rem; margin-right: auto; }
.a11y-size button { min-width: 50px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; cursor: pointer; }
.a11y-size button:nth-of-type(2) { font-size: 1.05rem; }
.a11y-size button:nth-of-type(3) { font-size: 1.2rem; }
.a11y-size button[aria-pressed="true"] { background: var(--green); color: var(--black); border-color: var(--green); }
.a11y-opts { display: grid; gap: 8px; }
.a11y-opt {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; text-align: left; width: 100%;
  border: 1px solid var(--line-2); background: var(--bg); color: var(--text); border-radius: 14px; padding: 11px 12px; cursor: pointer;
  transition: border-color .25s, background .25s;
}
.a11y-opt:hover { border-color: var(--line); }
.a11y-opt b { display: block; font-size: .93rem; }
.a11y-opt small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; }
.a11y-opt-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(169,255,137,.1); color: var(--green); display: grid; place-items: center; }
.a11y-opt-icon svg { width: 20px; height: 20px; }
.a11y-check { width: 22px; height: 22px; border-radius: 6px; border: 2px solid rgba(255,255,255,.3); }
.a11y-opt[aria-pressed="true"] { border-color: var(--green); background: rgba(169,255,137,.08); }
.a11y-opt[aria-pressed="true"] .a11y-check { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23070907' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--green); }
.a11y-foot { margin-top: 14px; display: grid; gap: 8px; }
.a11y-foot .btn { justify-content: center; }
.a11y-note { font-size: .8rem; color: var(--muted); margin: 0; }
.a11y-note a { color: var(--green); text-decoration: underline; }

@media (max-width: 640px) {
  .consent { place-items: end center; padding: 0; }
  .consent-box { border-radius: 22px 22px 0 0; max-height: 92vh; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); }
  .consent-actions { grid-template-columns: 1fr; }
  .consent-head img { width: 120px; }
  .a11y-toggle { left: 14px; bottom: 16px; width: 48px; height: 48px; }
  .consent-fab { left: 16px; bottom: 74px; }
  .a11y-panel { left: 12px; right: 12px; width: auto; bottom: 76px; max-height: calc(100vh - 100px); }
  .map-frame { aspect-ratio: auto; min-height: 440px; }
}
@media print { .consent, .consent-fab, .a11y-toggle, .a11y-panel, .cursor { display: none !important; } }

/* ==========================================================
   Barrierefreiheit: Anzeige-Modi
   ========================================================== */
html[data-a11y-size="l"] { font-size: 112.5%; }
html[data-a11y-size="xl"] { font-size: 125%; }

html.a11y-contrast {
  --bg: #000; --bg-2: #000; --surface: #000; --surface-2: #0b0b0b;
  --text: #fff; --muted: #f2f2f2; --green: #c8ffb0; --green-2: #c8ffb0; --green-3: #7dff52;
  --line: rgba(255,255,255,.85); --line-2: rgba(255,255,255,.6);
}
html.a11y-contrast body { background: #000; }
html.a11y-contrast .card, html.a11y-contrast .bento__item, html.a11y-contrast .ref, html.a11y-contrast .faq details,
html.a11y-contrast .step__body, html.a11y-contrast .btn--ghost, html.a11y-contrast .form, html.a11y-contrast .field input,
html.a11y-contrast .field textarea, html.a11y-contrast .field select, html.a11y-contrast .pilot, html.a11y-contrast .shot,
html.a11y-contrast .contact__list a, html.a11y-contrast .contact__list div, html.a11y-contrast .consent-cat { border: 2px solid #fff; }
html.a11y-contrast .gradient-text { background: none; color: var(--green); -webkit-text-fill-color: var(--green); }
html.a11y-contrast .blob, html.a11y-contrast .hero__grid, html.a11y-contrast #particles, html.a11y-contrast .card::before { display: none; }
html.a11y-contrast .marquee__item:nth-child(even) { color: var(--green); -webkit-text-stroke: 0; }
html.a11y-contrast .footer__big { color: var(--green); -webkit-text-stroke: 0; }
html.a11y-contrast .header.is-scrolled { background: #000; border-bottom: 2px solid #fff; }

html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
html.a11y-motion [data-reveal], html.a11y-motion .fade-up { opacity: 1 !important; transform: none !important; }
html.a11y-motion .hero h1 .line > span { transform: none !important; }
html.a11y-motion .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
html.a11y-motion .marquee__item:nth-child(n+9) { display: none; }
html.a11y-motion #particles, html.a11y-motion .preloader { display: none !important; }
html.a11y-motion [data-parallax] { transform: none !important; }
html.a11y-motion .ref, html.a11y-motion .btn { transform: none !important; }
html.a11y-motion [data-reveal] *, html.a11y-motion .hero__skyline, html.a11y-motion .hero h1 .line > span { clip-path: none !important; scale: 1 !important; filter: none !important; }
html.a11y-motion .hero .hero__content, html.a11y-motion .hero__skyline, html.a11y-motion .hero__bg { translate: none !important; opacity: 1 !important; }
html.a11y-motion .hero__skyline::after, html.a11y-motion .rotator__word::after { display: none; }
html.a11y-motion .marquee__item { transform: none !important; }
html.a11y-motion .footer__big::after { clip-path: none; }
html.a11y-motion ::view-transition-old(root), html.a11y-motion ::view-transition-new(root) { animation: none !important; }

html:not(.has-cursor) .cursor { display: none !important; }

html.a11y-links main a:not(.btn):not(.ref):not(.pilot):not(.own__item), html.a11y-links footer a, html.a11y-links .consent a, html.a11y-links .a11y-note a {
  text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; background-color: rgba(255, 214, 0, .25); color: #ffe066 !important;
}
html.a11y-links .ref, html.a11y-links .pilot, html.a11y-links .btn { outline: 2px dashed #ffe066; outline-offset: 3px; }

html.a11y-readable body, html.a11y-readable button, html.a11y-readable input, html.a11y-readable textarea, html.a11y-readable select {
  font-family: Verdana, Tahoma, "Segoe UI", Arial, sans-serif !important; letter-spacing: .02em; word-spacing: .08em;
}
html.a11y-readable body { line-height: 1.95; }
html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable h4, html.a11y-readable .stat__num, html.a11y-readable .footer__big {
  font-family: Verdana, Tahoma, Arial, sans-serif !important; letter-spacing: 0 !important; line-height: 1.3;
}
html.a11y-readable p { max-width: 75ch; }

html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 8-6.5 2L9.5 19z' fill='black' stroke='white' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 6 4, auto !important;
}
html.a11y-cursor a, html.a11y-cursor button, html.a11y-cursor summary, html.a11y-cursor label, html.a11y-cursor input[type="checkbox"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 8-6.5 2L9.5 19z' fill='%23a9ff89' stroke='black' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") 6 4, pointer !important;
}

html.a11y-focus *:focus, html.a11y-focus *:focus-visible { outline: 4px solid #ffbf00 !important; outline-offset: 3px !important; box-shadow: 0 0 0 8px rgba(0, 0, 0, .9) !important; }

/* ==========================================================
   SEO / Regionen
   ========================================================== */
.hero__kicker {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem;
  font-family: var(--font-head); font-size: clamp(.82rem, 1.2vw, .95rem); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--green);
}
.footer__grid { grid-template-columns: 1.3fr repeat(4, 1fr); }
@media (max-width: 1040px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } }

a.bento__item { display: block; color: inherit; }
.region-intro p { color: var(--muted); }
.region-facts {
  position: sticky; top: 110px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(169,255,137,.1), var(--surface) 55%); border: 1px solid var(--line);
}
.region-facts h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.region-facts .check-list li span { color: var(--muted); }
.region-facts .check-list strong { color: var(--text); }

.region-area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); }
.region-chips { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.region-chips li { padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(169,255,137,.05); font-size: .9rem; }
.region-chips--links li { padding: 0; }
.region-chips--links a { display: block; padding: .55rem 1.05rem; border-radius: 999px; transition: background .25s, color .25s; }
.region-chips--links a:hover { background: var(--green); color: var(--black); }
.region-links { list-style: none; padding: 0; margin: 1rem 0 0; columns: 2; column-gap: 1.5rem; }
.region-links li { margin-bottom: .45rem; break-inside: avoid; }
.region-links a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.region-links a:hover { color: var(--green); }

.region-home { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(169,255,137,.09), var(--surface) 50%); position: relative; overflow: hidden; isolation: isolate; }
.region-home::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: -2px; height: 90px; background: rgba(169,255,137,.06); -webkit-mask: url("../img/skyline.png") left bottom / auto 100% repeat-x; mask: url("../img/skyline.png") left bottom / auto 100% repeat-x; }
.region-home .lead { margin-bottom: 1.6rem; }

.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.region-card {
  display: flex; flex-direction: column; gap: .5rem; padding: 1.6rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-2); transition: border-color .3s, translate .45s var(--ease), background .3s;
}
.region-card:hover { border-color: var(--green); translate: 0 -4px; background: var(--surface-2); }
.region-card__kreis { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); font-family: var(--font-head); font-weight: 600; }
.region-card h3 { font-size: 1.25rem; margin: 0; }
.region-card p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.region-card__more { display: inline-flex; align-items: center; gap: .45rem; color: var(--green); font-weight: 600; font-size: .9rem; margin-top: .4rem; }
.region-card__more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.region-card:hover .region-card__more svg { transform: translateX(4px); }

@media (max-width: 1040px) { .region-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .region-area, .region-home { grid-template-columns: 1fr; }
  .region-facts { position: static; }
}
@media (max-width: 600px) {
  .region-grid { grid-template-columns: 1fr; }
  .region-links { columns: 1; }
}
