/* SKzone CINE – Entwurf. Stellschrauben stehen oben in :root. */
:root {
  --bg: #06080b;
  --ink: #eef2f5;
  --muted: #a3afbb;
  --line: rgba(255, 255, 255, .14);
  --panel: rgba(10, 14, 19, .55);
  --accent: #5ad7ff;
  --rec: #ff4d3d;

  --bg-opacity: .5;          /* Deckkraft der Hintergrundvideos (halbtransparent) */
  --bg-fade: 1.4s;           /* Dauer der Überblendung zwischen zwei Abschnitten */

  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sans: "Helvetica Neue", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; isolation: isolate; background: var(--bg); color: var(--ink);
  font: 400 clamp(16px, 1.05vw, 18px)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #001018; }

/* Nichts darf seitlich über den Bildschirm ragen: Handys verbreitern sonst die ganze Seite, und die feste
   Navigation rutscht aus dem Bild. "overflow-x: hidden" am body reicht dafür nicht. clip macht main nicht
   zum Scrollbereich, position: sticky funktioniert darin weiter. */
main { overflow-x: clip; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.accent { color: var(--accent); }
.eyebrow {
  font: 500 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}

/* ---------- Hintergrund-Bühne ---------- */
.stage { position: fixed; inset: 0; z-index: -2; background: var(--bg); overflow: hidden; }
.stage video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity var(--bg-fade) ease, transform 9s ease-out;
}
.stage video.on { opacity: var(--bg-opacity); transform: scale(1); }
.stage::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 8, 11, .72) 0%, rgba(6, 8, 11, .1) 28%, rgba(6, 8, 11, .1) 62%, rgba(6, 8, 11, .82) 100%),
    radial-gradient(120% 90% at 30% 40%, transparent 30%, rgba(6, 8, 11, .7) 100%);
}
.stage__media {
  position: absolute; inset: 0; opacity: var(--bg-opacity);
  --hero-still: url("../media/hero.jpg");
  background: var(--scene-still, none) center / cover no-repeat, var(--hero-still) center / cover no-repeat;
}
.stage__media video.on { opacity: 1; }
@media (max-width: 760px) {
  .stage__media { --hero-still: url("../media/s/hero.jpg"); }
}
.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s ease, backdrop-filter .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(6, 8, 11, .6); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.nav__logo { font: 700 17px/1 var(--sans); letter-spacing: .2em; }
.nav__logo b { font-weight: 300; color: var(--accent); margin-left: .35em; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); font-size: 14px; letter-spacing: .04em; }
.nav__links a { position: relative; padding: 6px 0; color: var(--muted); transition: color .25s; }
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease);
}
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }
.nav__links .nav__cta { color: var(--ink); border: 1px solid var(--line); padding: 9px 18px; border-radius: 99px; transition: background .25s, color .25s, border-color .25s; }
.nav__links .nav__cta:hover { background: var(--accent); border-color: var(--accent); color: #001018; }
.ambient-toggle { background: transparent; border: 0; padding: 10px 0; color: var(--muted); font: inherit; white-space: nowrap; cursor: pointer; }
.ambient-toggle:hover, .ambient-toggle[data-playing="true"] { color: var(--accent); }
@media (min-width: 761px) and (max-width: 1100px) {
  .nav__links { gap: 10px; font-size: 13px; }
}
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.rail { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 14px; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font: 500 10px/1 var(--mono); letter-spacing: .1em; color: var(--muted); }
.rail a::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.rail i { font-style: normal; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; }
.rail a:hover i, .rail a.active i { opacity: 1; transform: none; }
.rail a.active { color: var(--accent); } .rail a.active::after { width: 34px; }

/* ---------- Abschnitte ---------- */
.scene { position: relative; padding-block: clamp(96px, 17vh, 200px); }
.head { max-width: 900px; margin-bottom: clamp(40px, 7vh, 88px); }
.head .eyebrow { margin-bottom: 22px; }
h1, h2 { font-weight: 600; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
h2 { font-size: clamp(38px, 6.2vw, 92px); }
h3 { font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.head__lead { margin-top: 26px; max-width: 56ch; color: var(--muted); font-size: clamp(16px, 1.3vw, 20px); }

/* Einblenden beim Scrollen (nur mit JS; ohne JS ist alles sichtbar) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
[data-lines] span { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
[data-lines] i { display: block; font-style: normal; }
.js [data-lines] i { transform: translateY(108%); transition: transform 1.1s var(--ease); }
.js [data-lines] span:nth-child(2) i { transition-delay: .09s; }
.js [data-lines] span:nth-child(3) i { transition-delay: .18s; }
.js [data-lines].in i { transform: none; }

/* ---------- Buttons, Tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255, 255, 255, .03);
  font-size: 15px; font-weight: 500; letter-spacing: .02em; cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--solid { background: var(--ink); border-color: var(--ink); color: #06080b; }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 7px 11px; white-space: nowrap; }

/* ---------- 00 Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding-block: 120px 96px; }
.hero__eyebrow { margin-bottom: 26px; animation: fade 1s .2s both; }
.hero__title { font-size: clamp(46px, 9.4vw, 148px); }
.hero__lead { margin-top: clamp(22px, 3vh, 36px); max-width: 52ch; font-size: clamp(17px, 1.5vw, 22px); color: #cfd8e0; animation: fade 1s .9s both; }
.hero__cta { margin-top: clamp(28px, 4vh, 44px); display: flex; flex-wrap: wrap; gap: 14px; animation: fade 1s 1.1s both; }
@keyframes fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 500 10px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero__scroll span { width: 1px; height: 46px; background: linear-gradient(var(--ink), transparent); transform-origin: 50% 0; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.hud { position: absolute; inset: 92px 28px 28px; pointer-events: none; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(238, 242, 245, .75); animation: fade 1.2s 1.2s both; }
.hud__c { position: absolute; width: 22px; height: 22px; border: 1px solid rgba(238, 242, 245, .5); }
.hud__c--tl { left: 0; top: 0; border-right: 0; border-bottom: 0; } .hud__c--tr { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.hud__c--bl { left: 0; bottom: 0; border-right: 0; border-top: 0; } .hud__c--br { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.hud__rec { position: absolute; left: 36px; top: 6px; display: flex; align-items: center; gap: 8px; }
.hud__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.hud__loc { position: absolute; left: 36px; bottom: 6px; }

/* ---------- Laufband ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 20px; background: rgba(6, 8, 11, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.marquee__track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.marquee span { font: 600 clamp(22px, 3.2vw, 44px)/1 var(--sans); letter-spacing: -.02em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(238, 242, 245, .55); padding-inline: clamp(18px, 2.6vw, 40px); white-space: nowrap; }
.marquee span::after { content: "✦"; -webkit-text-stroke: 0; color: var(--accent); font-size: .45em; margin-left: clamp(36px, 5.2vw, 80px); vertical-align: middle; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 01 Leistungen ---------- */
.svc { border-top: 1px solid var(--line); }
.svc__row {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(16px, 3vw, 48px); row-gap: 14px;
  align-items: start; padding: clamp(24px, 3.6vh, 40px) 0; border-bottom: 1px solid var(--line);
}
.svc__row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -.5); background: linear-gradient(90deg, rgba(90, 215, 255, .09), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.svc__row:hover::before { opacity: 1; }
.svc__no { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--accent); padding-top: .9em; }
.svc__row h3 { font-size: clamp(24px, 3vw, 44px); letter-spacing: -.025em; transition: transform .5s var(--ease); }
.svc__row:hover h3 { transform: translateX(10px); }
.svc__row p { color: var(--muted); grid-column: 3; }
.svc__row .tags { grid-column: 3; }

/* ---------- 02 Projekte ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter button { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 10px 15px; border-radius: 99px; border: 1px solid var(--line); background: rgba(6, 8, 11, .35); color: var(--muted); cursor: pointer; transition: all .25s; }
.filter button:hover { color: var(--ink); border-color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #06080b; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); grid-auto-flow: dense; }
.tile {
  position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; text-align: left;
  aspect-ratio: 16 / 10; background: #0d1218; isolation: isolate;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.reel-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: inherit;
  gap: inherit;
}
.reel-strip[hidden] { display: none; }

/* Das Cover nutzt die volle Kartenhöhe. Die zweite Spalte trägt die Projektinfos. */
.tile--reel {
  display: grid;
  --cover-width: 35.15625%; /* 9:16 innerhalb der 16:10-Karte */
  grid-template-columns: var(--cover-width) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  color: var(--ink);
}
.tile--reel::after { display: none; }
.reel-frame {
  position: relative;
  grid-column: 1;
  grid-row: 1 / -1;
  height: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #080a0d;
}
.tile--reel .reel-frame img { object-fit: contain; z-index: 0; transform: none; filter: none; }
.reel-play { position: absolute; right: 8px; bottom: 8px; background: #090c10b8; color: white; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; font-size: 11px; }
.tile--reel .tile__title { position: static; grid-column: 2; padding: 12px; overflow-wrap: anywhere; }
.tile--reel .tile__primary {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: var(--cover-width) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  color: inherit;
}
.tile--reel:has(.tile__website) .tile__title { padding-bottom: 40px; }
.tile--reel .tile__website { top: auto; left: calc(var(--cover-width) + 12px); bottom: 8px; }

.tile__primary { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.tile__primary:focus-visible { outline-offset: -4px; }
.tile__website { position: absolute; top: 32px; left: 18px; padding: 7px 0; font-size: 13px; color: var(--ink); text-decoration: underline; }
.tile__title small { display: block; margin-top: 5px; font: 400 13px/1.35 var(--sans); }
.tile.featured { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.tile.hide { display: none; }
.tile.pop { animation: pop .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease), filter .5s; filter: saturate(.9) brightness(.82); z-index: -2; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.09); filter: saturate(1.05) brightness(1); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 8, 11, .82) 0%, rgba(6, 8, 11, .08) 40%, rgba(6, 8, 11, .12) 52%, rgba(6, 8, 11, .92) 100%); }
.tile.noimg { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 14px, transparent 14px 28px), #0d1218; }
.tile.noimg img { display: none; }
.tile.noimg::before { content: "Bild folgt"; position: absolute; inset: 0; display: grid; place-items: center; font: 500 10px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tile__meta { position: absolute; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; gap: 10px; font: 500 10px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(238, 242, 245, .85); }
.tile__meta b { font-weight: 500; color: var(--accent); }
.tile__title { position: absolute; left: 18px; right: 64px; bottom: 16px; font: 600 clamp(17px, 1.5vw, 22px)/1.15 var(--sans); letter-spacing: -.015em; color: var(--ink); }
.tile.featured .tile__title { font-size: clamp(26px, 3.2vw, 46px); letter-spacing: -.03em; bottom: 24px; left: 24px; }
.tile.featured .tile__meta { left: 24px; right: 24px; top: 22px; }
.tile__play { position: absolute; right: 16px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(238, 242, 245, .55); display: grid; place-items: center; font-size: 12px; color: var(--ink); transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.tile:hover .tile__play { background: var(--accent); border-color: var(--accent); color: #001018; transform: scale(1.12); }

/* Lightbox */
.box { width: min(1180px, 100% - 32px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: #0a0e13; color: var(--ink); overflow: auto; }
.box::backdrop { background: rgba(3, 5, 7, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.box:not([open]) { display: none; }
/* Nachbildung für Browser ohne <dialog> (Klasse setzt js/main.js) */
.box--plain[open] { position: fixed; z-index: 100; top: 16px; left: 16px; right: 16px; width: auto; max-width: 1180px; margin: 0 auto; animation: none; box-shadow: 0 0 0 200vmax rgba(3, 5, 7, .9); }
.box[open] { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); animation: boxin .45s var(--ease); }
@keyframes boxin { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.box__media { aspect-ratio: 16 / 9; background: #000; align-self: start; }
.box__media iframe, .box__media img { width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
.box--reel .box__media { width: 100%; max-width: 460px; height: 70vh; max-height: 740px; aspect-ratio: auto; justify-self: center; }
.box__external { color: var(--accent); text-decoration: underline; justify-self: start; }
.box__media .empty { height: 100%; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 14px, transparent 14px 28px); }
.box__text { padding: clamp(22px, 2.6vw, 38px); display: grid; gap: 14px; align-content: start; }
.box__text h3 { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.02em; padding-right: 30px; }
.box__meta { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.box__text > p:not(.eyebrow):not(.box__meta) { color: #c5ced7; font-size: 15px; }
.box__close { position: absolute; right: 12px; top: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(6, 8, 11, .7); font-size: 22px; line-height: 1; cursor: pointer; }
.box__close:hover { background: var(--ink); color: #06080b; }

/* ---------- 03 Flotte ---------- */
.hangar { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 36px); align-items: start; }
.hangar__list { display: grid; border-top: 1px solid var(--line); }
.hangar__list button {
  display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; align-items: baseline; text-align: left; width: 100%;
  padding: 13px 12px 13px 0; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative;
  color: var(--muted); transition: color .25s, padding-left .4s var(--ease);
}
.hangar__list button::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .4s var(--ease); }
.hangar__list .no { font: 500 11px/1 var(--mono); letter-spacing: .1em; }
.hangar__list .nm { font-size: 16px; font-weight: 500; line-height: 1.25; color: inherit; }
.hangar__list .ct { grid-column: 2; font: 500 10px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.hangar__list button:hover { color: var(--ink); }
.hangar__list button[aria-selected="true"] { color: var(--ink); padding-left: 16px; }
.hangar__list button[aria-selected="true"]::before { transform: scaleY(1); }
.hangar__list button[aria-selected="true"] .no { color: var(--accent); }

.hangar__panel { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); overflow: hidden; }
.hangar__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); font: 500 11px/1 var(--mono); letter-spacing: .16em; color: var(--muted); }
.hangar__nav { display: flex; gap: 8px; }
.hangar__nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 15px; transition: background .25s, color .25s, border-color .25s; }
.hangar__nav button:hover { background: var(--ink); border-color: var(--ink); color: #06080b; }
.hangar__swap { display: grid; }
.hangar__body { transition: opacity .26s ease, transform .26s ease; }
.hangar__swap.out .hangar__body { opacity: 0; transform: translateX(14px); }

/* Bildfläche: die Drohne schwebt und fliegt beim Wechsel ab und wieder ein */
.hangar__img { position: relative; height: clamp(280px, 44vh, 460px); display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); align-items: center; padding: 24px 24px 34px; background: radial-gradient(60% 80% at 50% 55%, rgba(90, 215, 255, .16), transparent 72%); border-bottom: 1px solid var(--line); perspective: 900px; overflow: hidden; }
.hangar__img.collage { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); column-gap: 6px; }
.hangar__flight, .hangar__bob, .hangar__sway { display: block; width: 100%; height: 100%; min-height: 0; }
.hangar__swap.out .hangar__flight { transition: transform .26s ease-in, opacity .26s ease-in; transform: translateX(calc(var(--dir, 1) * 70%)) rotate(calc(var(--dir, 1) * 14deg)) scale(.8); opacity: 0; }
.hangar__flight.enter { animation: flyin .8s var(--ease) backwards; }
@keyframes flyin { from { transform: translateX(calc(var(--dir, 1) * -70%)) rotate(calc(var(--dir, 1) * -14deg)) scale(.8); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
.hangar__bob { animation: bob 4.4s ease-in-out infinite alternate; }
.hangar__sway { animation: sway 7.1s ease-in-out infinite alternate; }
@keyframes bob { from { transform: translateY(-9px); } to { transform: translateY(9px); } }
@keyframes sway { from { transform: perspective(900px) rotate(-2deg) rotateY(-9deg) translateX(-8px); } to { transform: perspective(900px) rotate(2deg) rotateY(9deg) translateX(8px); } }
.hangar__flight img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .5)); scale: var(--size, 1); }
.hangar__shadow { position: absolute; left: 50%; bottom: 12px; width: calc(44% * var(--size, 1)); height: 20px; margin-left: calc(-22% * var(--size, 1)); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); animation: shadow 4.4s ease-in-out infinite alternate; pointer-events: none; }
.hangar__img.collage .hangar__shadow { left: 32%; }
@keyframes shadow { from { transform: scale(.82); opacity: .55; } to { transform: scale(1.08); opacity: 1; } }
.hangar__more { display: none; }
.hangar__swap.out .hangar__more { opacity: 0; transition: opacity .26s ease-in; }
.hangar__img.collage .hangar__more { animation: fade .6s .25s both; display: grid; gap: 14px; align-content: center; justify-items: center; height: 100%; min-height: 0; }
.hangar__side { display: grid; gap: 10px; justify-items: center; min-height: 0; animation: bob 5.3s ease-in-out infinite alternate-reverse; animation-delay: calc(var(--n, 0) * -1.3s); }
.hangar__side img { max-height: clamp(110px, 22vh, 210px); width: 100%; object-fit: contain; transform: rotate(-6deg); filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); }
.hangar__side small { font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hangar__body { padding: clamp(22px, 2.6vw, 36px); display: grid; gap: 14px; align-content: start; }
.hangar__body h3 { font-size: clamp(24px, 2.5vw, 36px); letter-spacing: -.025em; }
.spec { margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(18px, 2.4vw, 36px); border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec dt { font: 500 10px/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec dd { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; hyphens: auto; }

/* ---------- Hinweis auf das Spiel im Hero ---------- */
.hero__play { position: absolute; right: 64px; bottom: 30px; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); padding: 8px 0; animation: fade 1.2s 1.4s both; }
.hero__play:hover { color: var(--ink); }

/* ---------- Extra: FPV Run (ohne Rahmen, liegt direkt auf dem Hintergrundvideo) ---------- */
.scene--play { padding-block: 0; }
.fpv { position: relative; height: clamp(480px, 82vh, 860px); height: min(clamp(480px, 82vh, 860px), calc(100svh - 72px)); overflow: hidden; outline: none; }   /* passt immer unter die Navigation */
.fpv.live { touch-action: none; cursor: crosshair; }
.fpv canvas { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.fpv__ui { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; padding: 24px var(--gutter); transition: opacity .5s ease; }
.fpv[data-mode="play"] .fpv__ui { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .5s ease, visibility 0s .5s; }   /* verzögert nur das Ausblenden */
.fpv__ui h2 { font-size: clamp(36px, 5.6vw, 80px); }
.fpv__ui p:not(.eyebrow) { max-width: 46ch; color: #cfd8e0; }
.fpv__ui p:empty { display: none; }
.fpv__ui .fpv__keys { font: 500 11px/1.8 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fpv__osd { position: absolute; inset: 22px var(--gutter) auto; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 12px; pointer-events: none; opacity: 0; transition: opacity .4s; font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .85); }
.fpv[data-mode="play"] .fpv__osd, .fpv[data-mode="pause"] .fpv__osd { opacity: 1; }
.fpv__l, .fpv__r { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; } .fpv__r { justify-content: flex-end; }
.fpv__c { display: grid; justify-items: center; gap: 8px; }
.fpv__c b { font-size: clamp(22px, 3.4vw, 34px); font-weight: 600; letter-spacing: .08em; }
.fpv__c small { min-height: 12px; color: var(--accent); }
.fpv__rec { display: inline-flex; align-items: center; gap: 7px; }
.fpv__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: blink 1.2s steps(2) infinite; }
.fpv__shield { display: inline-flex; gap: 5px; }
.fpv__shield i { width: 18px; height: 8px; border: 1px solid var(--accent); background: var(--accent); transform: skewX(-18deg); transition: background .3s, border-color .3s; }
.fpv__shield i.off { background: transparent; border-color: var(--line); }
.fpv__ctl { position: absolute; left: var(--gutter); bottom: 34px; z-index: 3; display: flex; gap: 8px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.fpv[data-mode="play"] .fpv__ctl { opacity: 1; visibility: visible; }
.fpv__ctl button { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 9px 13px; border-radius: 99px; border: 1px solid var(--line); background: rgba(6, 8, 11, .45); cursor: pointer; }
.fpv__ctl button:hover { border-color: var(--ink); }
#fpv-msg { position: absolute; left: 50%; top: 26%; z-index: 2; transform: translateX(-50%); pointer-events: none; opacity: 0; white-space: nowrap; font: 600 clamp(22px, 4.4vw, 44px)/1 var(--sans); letter-spacing: .02em; color: var(--accent); text-shadow: 0 2px 18px rgba(0, 0, 0, .85); }
#fpv-msg.show { animation: fpvmsg 1.5s ease-out both; }
@keyframes fpvmsg { 0% { opacity: 0; transform: translate(-50%, 14px) scale(.92); } 15% { opacity: 1; transform: translate(-50%, 0) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -10px); } }
.fpv__touch { display: none; position: absolute; inset: 0; z-index: 1; }
#fpv-stick { position: absolute; left: 0; top: 70px; bottom: 0; width: 58%; }
#fpv-knob { position: absolute; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(6, 8, 11, .25); opacity: 0; transition: opacity .2s; }
#fpv-knob.on { opacity: 1; }
#fpv-knob i { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(90, 215, 255, .55); }
#fpv-fire { position: absolute; right: var(--gutter); bottom: 44px; width: 100px; height: 100px; border-radius: 50%; border: 2px solid var(--rec); background: rgba(255, 77, 61, .16); font: 600 12px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
#fpv-fire.on { background: rgba(255, 77, 61, .5); }
.only-touch { display: none; }
@media (max-height: 520px) {   /* Handy quer: wenig Höhe */
  .fpv__ui { gap: 10px; }
  .fpv__ui h2 { font-size: 30px; }
  .fpv__ui #fpv-text { display: none; }
  .fpv__osd { top: 12px; }
  #fpv-fire { width: 78px; height: 78px; bottom: 18px; }
}
@media (pointer: coarse) {
  .fpv[data-mode="play"] .fpv__touch { display: block; }
  .fpv__ctl { bottom: auto; top: 64px; }
  .only-keys { display: none; } .only-touch { display: inline; }
}

/* ---------- 04 Daten & 3D ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.card { position: relative; padding: clamp(20px, 2.2vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: grid; gap: 12px; align-content: start; overflow: hidden; transition: border-color .3s, transform .5s var(--ease), opacity .9s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(90, 215, 255, .16), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { border-color: rgba(90, 215, 255, .5); }
.card:hover::before { opacity: 1; }
.card__no { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--accent); }
.card h3 { font-size: clamp(18px, 1.6vw, 23px); }
.card p { color: var(--muted); font-size: 15px; }
.card .tags { margin-top: 4px; }

.tours { margin-top: clamp(56px, 9vh, 110px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.tours__head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; }
.tours__head h3 { font-size: clamp(26px, 3.2vw, 46px); letter-spacing: -.03em; }
.tours__head p { color: var(--muted); max-width: 48ch; }
.tour { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tour__frame { aspect-ratio: 16 / 10; position: relative; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 12px, transparent 12px 24px); }
.tour__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour__load { position: absolute; inset: 0; width: 100%; background: none; border: 0; cursor: pointer; display: grid; place-content: center; justify-items: center; gap: 8px; }
.tour__load img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour__load span, .tour__load small { position: relative; color: var(--ink); background: rgba(6, 8, 11, .88); }
.tour__load small { padding: 6px 10px; border-radius: 4px; }
.tour__load:focus-visible { outline-offset: -4px; }
.tour__load span { padding: 13px 22px; border-radius: 99px; border: 1px solid var(--ink); font-weight: 500; font-size: 15px; transition: background .3s, color .3s; }
.tour__load:hover span { background: var(--ink); color: #06080b; }
.tour__load small { font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.tour figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 15px; }
.tour figcaption b { font-weight: 500; }
.tour figcaption a { color: var(--accent); white-space: nowrap; }

/* ---------- BTS-Wand: Fotos schweben vor halbtransparentem Graffiti, im Stil der Seite ---------- */
.scene--bts { padding-bottom: clamp(70px, 12vh, 150px); }
.scene--bts.is-zoomed { z-index: 5; }                     /* ein geöffnetes Foto liegt über den Nachbarabschnitten */
.wall { position: relative; perspective: 1400px; perspective-origin: 50% 50%; }   /* 1400px steht auch in js/wall.js */
.wall__plane { position: relative; width: min(1500px, 100% - 2 * var(--gutter)); margin-inline: auto; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s ease-out; }

/* Graffiti: sechs Stücke aus media/graffiti/, jedes in eigener Tiefe und mit eigenem Schwebe-Takt */
.wall__graf { position: absolute; inset: -9% -5%; transform-style: preserve-3d; pointer-events: none; }
.graf { position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: var(--ar, 1.4); background: var(--img, none) center / contain no-repeat; opacity: .5; transition: opacity .5s ease; transform: translateZ(var(--gz, -60px)) rotate(var(--gr, 0deg)); animation: grafloat var(--gt, 13s) ease-in-out var(--gd, 0s) infinite alternate; will-change: transform; }
@keyframes grafloat {
  from { transform: translate3d(-10px, -14px, var(--gz, -60px)) rotate(calc(var(--gr, 0deg) - 1.6deg)); }
  to   { transform: translate3d(12px, 16px, var(--gz, -60px)) rotate(calc(var(--gr, 0deg) + 1.6deg)); }
}
/* Die Bilder laden erst, wenn die Wand in die Nähe kommt (Klasse graf-on setzt js/wall.js) */
.wall.graf-on .graf--1 { --img: url("../media/graffiti/g1.webp"); }
.wall.graf-on .graf--2 { --img: url("../media/graffiti/g2.webp"); }
.wall.graf-on .graf--3 { --img: url("../media/graffiti/g3.webp"); }
.wall.graf-on .graf--4 { --img: url("../media/graffiti/g4.webp"); }
.wall.graf-on .graf--5 { --img: url("../media/graffiti/g5.webp"); }
.wall.graf-on .graf--6 { --img: url("../media/graffiti/g6.webp"); }
/* Stück, Seitenverhältnis (aus scripts/make-graffiti.py), Lage, Größe, Tiefe, Drehung, Schwebe-Takt */
.graf--1 { --ar: 1.678; --x: -3%;  --y: -2%;  --w: 36%; --gz: -130px; --gr: -5deg; --gt: 15s; }             /* Wildstyle */
.graf--2 { --ar: 1.564; --x: 2%;   --y: 68%;  --w: 27%; --gz: -40px;  --gr: -4deg; --gt: 11s; --gd: -4s; }  /* SKZONE */
.graf--3 { --ar: 0.514; --x: 85%;  --y: 1%;   --w: 14%; --gz: -70px;  --gr: 4deg;  --gt: 12s; --gd: -7s; }  /* Gasmaske (Hochformat) */
.graf--4 { --ar: 1.535; --x: 72%;  --y: 64%;  --w: 26%; --gz: -150px; --gr: 4deg;  --gt: 17s; --gd: -2s; }  /* FPV */
.graf--5 { --ar: 1.286; --x: 40%;  --y: 76%;  --w: 18%; --gz: -90px;  --gr: -3deg; --gt: 14s; --gd: -9s; }  /* CINE */
.graf--6 { --ar: 1.397; --x: 43%;  --y: -12%; --w: 20%; --gz: -180px; --gr: 3deg;  --gt: 19s; --gd: -5s; }  /* Pfeile */
.wall.has-open .graf { opacity: .22; }      /* am Stück selbst: Deckkraft am 3D-Behälter würde die Tiefe aufheben */

/* Fotos und Clips: lockere Sammlung, jedes schwebt für sich */
.wall__pics { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; align-content: center; gap: clamp(26px, 4.4vw, 70px) clamp(20px, 3.4vw, 56px); min-height: calc(min(1500px, 100vw - 2 * var(--gutter)) * .5); padding: clamp(40px, 7%, 110px) clamp(10px, 5%, 90px); transform-style: preserve-3d; }
.pic { position: relative; top: var(--dy, 0px); flex: none; width: calc(var(--w) * var(--k, 1)); padding: 0; border: 0; background: none; cursor: zoom-in; transform-style: preserve-3d; transform: translate3d(var(--tx, 0px), var(--ty, 0px), var(--front, calc(var(--z, 20px) * var(--zk, 1)))) rotate(var(--straight, var(--r, 0deg))) scale(var(--s, 1)); transition: transform .7s var(--ease), filter .5s ease; }
.pic--wide.pic--a { --w: 25%; } .pic--wide.pic--b { --w: 19%; } .pic--wide.pic--c { --w: 22%; }
.pic--tall.pic--a { --w: 13.5%; } .pic--tall.pic--b { --w: 11%; } .pic--tall.pic--c { --w: 12.5%; }
@media (min-width: 761px) { .wall__pics--few { --k: 1.35; } }   /* bis sechs Bilder: jedes etwas größer (Klasse setzt js/wall.js) */
.pic__float { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #0d1218; box-shadow: 0 0 0 1px rgba(238, 242, 245, .26), 0 26px 40px -14px rgba(0, 0, 0, .8); animation: picfloat var(--t, 6s) ease-in-out var(--d, 0s) infinite alternate; transition: box-shadow .35s ease; }
@keyframes picfloat { from { transform: translateY(-7px) rotate(-.5deg); } to { transform: translateY(8px) rotate(.5deg); } }
.pic__float img, .pic__float video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pic__float video { pointer-events: none; }
/* Clip: kleines Abspielzeichen, solange nur das Standbild zu sehen ist */
.pic--video .pic__float::after { content: ""; position: absolute; right: 9px; top: 9px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(238, 242, 245, .45); background: rgba(6, 8, 11, .62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 1.2v7.6L9 5z' fill='%23eef2f5'/%3E%3C/svg%3E") 54% 50% / 10px no-repeat; transition: opacity .3s ease; pointer-events: none; }
.pic--video.is-playing .pic__float::after { opacity: 0; }
.pic::after { content: attr(data-no); position: absolute; left: 10px; bottom: -22px; font: 500 10px/1 var(--mono); letter-spacing: .16em; color: var(--muted); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.pic:hover .pic__float, .pic:focus-visible .pic__float, .pic.is-open .pic__float { box-shadow: 0 0 0 1px var(--accent), 0 0 38px rgba(90, 215, 255, .28), 0 30px 46px -14px rgba(0, 0, 0, .85); }
.pic:hover::after, .pic:focus-visible::after, .pic.is-open::after { opacity: 1; }
.pic:focus-visible { outline: none; }
/* --z und --r setzt js/wall.js je Foto direkt am Element; geöffnet gelten stattdessen diese beiden Werte */
.pic.is-open { --front: 120px; --straight: 0deg; cursor: zoom-out; }   /* 120px steht als FRONT auch in js/wall.js */
.pic.is-open .pic__float { animation-play-state: paused; }
.wall.has-open .pic:not(.is-open) { filter: brightness(.45) saturate(.8); }
@media (max-width: 760px) {
  .wall__pics { padding: 40px 0; gap: 34px 22px; }
  /* weniger Höhenversatz und weniger Tiefe als am großen Bildschirm: Die Wand ist am Handy sehr hoch,
     an ihren Enden schöbe die Perspektive die Reihen sonst ineinander */
  .pic { top: calc(var(--dy, 0px) * .4); --zk: .35; }
  .pic--wide.pic--a, .pic--wide.pic--c { --w: 86%; } .pic--wide.pic--b { --w: 70%; }
  .pic--tall.pic--a, .pic--tall.pic--b, .pic--tall.pic--c { --w: 42%; }
  /* mehr als zwölf Bilder (Klasse setzt js/wall.js): drei hohe nebeneinander, sonst wird die Wand am Handy endlos */
  .wall__pics--many { gap: 26px 14px; }
  .wall__pics--many .pic--tall.pic--a, .wall__pics--many .pic--tall.pic--b, .wall__pics--many .pic--tall.pic--c { --w: 27%; }
  .wall__pics--many .pic--wide.pic--a, .wall__pics--many .pic--wide.pic--b, .wall__pics--many .pic--wide.pic--c { --w: 58%; }
  .wall__pics--many .pic--video .pic__float::after { right: 6px; top: 6px; width: 20px; height: 20px; background-size: 8px; }
  /* am Handy genügen die kleinen Fassungen (420 px) aus media/graffiti/s/ */
  .wall.graf-on .graf--1 { --img: url("../media/graffiti/s/g1.webp"); } .wall.graf-on .graf--2 { --img: url("../media/graffiti/s/g2.webp"); }
  .wall.graf-on .graf--3 { --img: url("../media/graffiti/s/g3.webp"); } .wall.graf-on .graf--4 { --img: url("../media/graffiti/s/g4.webp"); }
  .wall.graf-on .graf--5 { --img: url("../media/graffiti/s/g5.webp"); } .wall.graf-on .graf--6 { --img: url("../media/graffiti/s/g6.webp"); }
  /* kein Stück darf rechts über den Bildschirm ragen, auch nicht im Schweben (ältere iPhones kennen overflow: clip nicht) */
  /* und keines über den Einleitungstext: die Fläche beginnt am Handy erst an der Wand selbst */
  .wall__graf { inset: 0; }
  .graf--1 { --w: 70%; --y: 0%; } .graf--2 { --w: 62%; --y: 80%; } .graf--3 { --w: 30%; --x: 60%; } .graf--4 { --w: 66%; --x: 28%; --y: 44%; } .graf--5 { --w: 50%; --y: 92%; } .graf--6 { --w: 54%; --x: 30%; --y: 24%; }
}

/* ---------- 05 Kontakt ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: clamp(56px, 9vh, 110px); border-top: 1px solid var(--line); }
.steps li { padding: 22px 20px 0 0; position: relative; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 160ms); }
.steps li.in::before { transform: scaleX(1); }
.steps span { font: 500 11px/1 var(--mono); letter-spacing: .14em; color: var(--accent); }
.steps h3 { font-size: clamp(19px, 1.8vw, 26px); }
.steps p { color: var(--muted); font-size: 15px; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact__mail { display: inline-block; font-size: clamp(28px, 4.2vw, 62px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease), color .3s; padding-bottom: 6px; }
.contact__mail:hover { background-size: 100% 2px; color: var(--accent); }
.contact__info dl { margin-top: 30px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__info dl div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__info dt { font: 500 10px/1.8 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__info dd a:hover { color: var(--accent); }
.contact__social { margin-top: 22px; display: flex; gap: 22px; font-size: 15px; }
.contact__social a { color: var(--muted); transition: color .25s; } .contact__social a:hover { color: var(--accent); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: clamp(20px, 2.6vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: var(--panel); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.form label { display: grid; gap: 8px; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.form label small { text-transform: none; letter-spacing: .04em; opacity: .7; display: inline; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(6, 8, 11, .5); font: 400 16px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); transition: border-color .25s, background .25s; }
.form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form select option { background: #0a0e13; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); background-color: rgba(6, 8, 11, .75); }
.form__wide { grid-column: 1 / -1; }
.form__note { font-size: 13px; color: var(--muted); }

.foot { margin-top: clamp(64px, 10vh, 120px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.foot a:hover { color: var(--accent); }
#kontakt { padding-bottom: 40px; }

/* ---------- Unterseite (Impressum) ---------- */
.legal { padding-block: 150px 80px; }
.legal h1 { font-size: clamp(40px, 6vw, 84px); margin-bottom: 40px; }
.legal h2 { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.02em; line-height: 1.2; margin: 44px 0 12px; }
.legal h3 { font-size: 18px; margin: 26px 0 8px; }
.legal p { max-width: 72ch; color: #c5ced7; margin-bottom: 10px; }
.legal a { color: var(--accent); }
.legal__sheet { padding: clamp(22px, 4vw, 56px); border: 1px solid var(--line); border-radius: 20px; background: rgba(10, 14, 19, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }

/* ---------- Schmalere Bildschirme ---------- */
@media (max-width: 1100px) { .rail { display: none; } }
@media (max-width: 960px) {
  .svc__row { grid-template-columns: 44px minmax(0, 1fr); }
  .svc__row p, .svc__row .tags { grid-column: 2; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hangar { grid-template-columns: minmax(0, 1fr); }
  .hangar__list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; border-top: 0; gap: 8px; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .hangar__list::-webkit-scrollbar { display: none; }
  .hangar__list button { grid-template-columns: auto; padding: 11px 15px; border: 1px solid var(--line); border-radius: 99px; scroll-snap-align: start; }
  .hangar__list button::before, .hangar__list .ct, .hangar__list .no { display: none; }
  .hangar__list button[aria-selected="true"] { padding-left: 15px; background: var(--ink); border-color: var(--ink); color: #06080b; }
  .hangar__list .nm { font-size: 14px; white-space: nowrap; }
  .hangar__panel { position: static; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .box[open] { grid-template-columns: minmax(0, 1fr); padding-top: 58px; }   /* eigene Zeile für den Schließen-Knopf, sonst liegt er auf den Bedienelementen des Films */
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 0 var(--gutter);
    background: rgba(6, 8, 11, .94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    font-size: 34px; font-weight: 600; letter-spacing: -.02em;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav__links.open { opacity: 1; visibility: visible; }
  /* Der Weichzeichner an der Leiste würde das Vollbild-Menü in die 72px-Leiste einsperren */
  .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6, 8, 11, .88); }
  .nav__links { overflow-y: auto; justify-content: safe center; padding-block: 92px 28px; }
  .nav__links a { color: var(--ink); }
  .nav__links .nav__cta { font-size: 18px; margin-top: 10px; padding: 14px 26px; }
  .hud { inset: 84px 14px 14px; } .hud__loc { display: none; }
  .hero__play { right: 32px; bottom: 22px; }
  .spec { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .tours { grid-template-columns: minmax(0, 1fr); }
  .spec div { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .grid, .cards, .form { grid-template-columns: minmax(0, 1fr); }
  .tile.featured { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
  .contact__info dl div { grid-template-columns: 110px 1fr; }
}

/* Niedrige Bildschirme (kleine iPhones, Handy quer): Der Scroll-Hinweis stieße sonst an die Knöpfe im Kopfbereich */
@media (max-height: 700px) { .hero__scroll { display: none; } }

/* ---------- Sparmodus ---------- */
/* Die Klasse "lite" setzt das Skript im Kopf von index.html: schwache Leitung, schwaches Gerät, alter Browser
   oder eine Seite, die ruckelt. Es bleiben Standbilder statt Videos (js/main.js, js/wall.js), hier fallen
   die teuren Effekte weg: Weichzeichner hinter Flächen und alles, was dauernd schwebt. */
.lite { --panel: rgba(10, 14, 19, .86); }
.lite .grain { inset: 0; animation: none; }
.lite .stage video { transform: none; transition: opacity .6s ease; }
.lite .nav.scrolled, .lite .nav__links, .lite .btn, .lite .marquee, .lite .hangar__panel, .lite .card, .lite .tour, .lite .form, .lite .legal__sheet { backdrop-filter: none; -webkit-backdrop-filter: none; }
.lite .box::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(3, 5, 7, .92); }
.lite .nav.scrolled { background: rgba(6, 8, 11, .9); }
.lite .marquee { background: rgba(6, 8, 11, .72); }
.lite .btn { background: rgba(10, 14, 19, .6); } .lite .btn--solid { background: var(--ink); }
.lite .graf { animation: none; will-change: auto; }
.lite .pic__float, .lite .hangar__bob, .lite .hangar__sway, .lite .hangar__shadow, .lite .hangar__side, .lite .hangar__flight.enter { animation: none; }
.lite .wall.has-open .pic:not(.is-open) { filter: none; opacity: .4; }
.lite .wall.graf-on .graf--1 { --img: url("../media/graffiti/s/g1.webp"); } .lite .wall.graf-on .graf--2 { --img: url("../media/graffiti/s/g2.webp"); }
.lite .wall.graf-on .graf--3 { --img: url("../media/graffiti/s/g3.webp"); } .lite .wall.graf-on .graf--4 { --img: url("../media/graffiti/s/g4.webp"); }
.lite .wall.graf-on .graf--5 { --img: url("../media/graffiti/s/g5.webp"); } .lite .wall.graf-on .graf--6 { --img: url("../media/graffiti/s/g6.webp"); }

/* ---------- Ältere Browser ohne aspect-ratio (Safari vor 15): Flächen behalten ihre Höhe ---------- */
@supports not (aspect-ratio: 1 / 1) {
  .tile { min-height: 230px; } .tile.featured { min-height: 300px; }
  .box__media { height: 56.25vw; max-height: 60vh; }
  .tour__frame { height: 0; padding-bottom: 62.5%; }
  .pic__float img, .pic__float video { height: auto; }
  .graf { height: 0; padding-bottom: calc(var(--w) / var(--ar, 1.4)); }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js [data-lines] i { opacity: 1; transform: none; }
  .stage video { transform: none; }
  .wall__plane, .pic { transition: none; }
  #fpv-msg.show { animation: fpvmsg 1.5s step-end both !important; }   /* Hinweise im Spiel erscheinen ohne Bewegung */
}


/* Drei freistehende Fotos über dem vorhandenen Hero-Hintergrund. */
.winter-card { width: min(100%, 500px); margin: 36px 0 0; text-align: center; }
.winter-layers { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1.48; }
.winter-photo {
  position: absolute; top: 9%; left: 4%; width: 32%; aspect-ratio: 9 / 16;
  border: 0; padding: 0; background: transparent; cursor: zoom-in;
  transform: rotate(var(--angle, -7deg)); transform-origin: center;
  transition: transform .32s ease;
}
.winter-photo:nth-child(2) { top: 0; left: 32%; width: 36%; --angle: -1deg; z-index: 1; }
.winter-photo:nth-child(3) { left: 64%; top: 7%; --angle: 7deg; }
.winter-photo > :is(img, video) {
  display: block; width: 100%; height: 100%; object-fit: cover;
  border-radius: 6px; box-shadow: 0 10px 24px #0005;
  animation: winter-float 6s ease-in-out infinite alternate;
}
.winter-photo:nth-child(2) > video { animation-delay: -2s; }
.winter-photo:nth-child(3) > img { animation-delay: -4s; }
@keyframes winter-float { to { transform: translateY(-7px); } }
.winter-photo:is(:focus-visible, [aria-pressed="true"]) { transform: rotate(0) scale(1.3); z-index: 3; }
@media (hover: hover) {
  .winter-photo:hover { transform: rotate(0) scale(1.3); z-index: 4; }
}
.winter-card figcaption button {
  min-height: 44px; padding: 0 14px; background: transparent; border: 0; color: #fff1cb;
  font: inherit; font-size: 14px; text-shadow: 0 1px 5px #000; cursor: pointer;
}
@media (min-width: 1000px) {
  .hero__inner { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); align-items: center; gap: clamp(20px,3vw,48px); }
  .hero__title { font-size: clamp(64px,6.8vw,112px); }
  .winter-card { margin: 0; justify-self: end; }
}
@media (prefers-reduced-motion: reduce) {
  .winter-photo { transition: none; }
  .winter-photo > :is(img, video) { animation: none; }
}
