:root {
  /* Ein gemeinsamer Seitenrand für alles: Kopf, Hero, alle Rubriken, Fußleiste (Inhalt höchstens 1320 px breit, mittig) */
  --pad: clamp(1.2rem, 5vw, 4rem);
  --edge: max(var(--pad), calc((100% - 1320px) / 2 + var(--pad)));
  --gold-rgb: 241, 210, 82; --bg-rgb: 7, 8, 10; --fg-rgb: 255, 255, 255; --cyan-rgb: 93, 224, 230;
  --text-2: #cfcdc4; --on-accent: #101010; --stage: #000; --field: rgba(0, 0, 0, .35);
  --bg: #07080a;
  --bg-2: #0d0f12;
  --card: rgba(255, 255, 255, .04);
  --line: rgba(255, 255, 255, .1);
  --ink: #f3f1ea;
  --muted: #9a9a94;
  --gold: #f1d252;
  --gold-2: #ffb94a;
  --cyan: #5de0e6;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "SF Pro Display", "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.05; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2.7rem, 8.2vw, 6.6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.grad { background: linear-gradient(100deg, var(--gold), var(--gold-2) 55%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.cursor-glow { position: fixed; z-index: 0; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; left: 0; top: 0;
  background: radial-gradient(circle, rgba(var(--gold-rgb), .10), transparent 65%); transform: translate(-50%, -50%); transition: opacity .3s; opacity: 0; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--edge); transition: background .3s, padding .3s, backdrop-filter .3s; }
.site-header.scrolled { background: rgba(var(--bg-rgb), .94); border-bottom: 1px solid var(--line); padding-block: .6rem; }
.logo { font-size: clamp(1.55rem, 6.2vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; text-decoration: none; line-height: 1; transition: font-size .25s ease; }
.site-header.scrolled .logo { font-size: clamp(1.5rem, 5.5vw, 2.4rem); }
.logo b { color: var(--ink); } .logo i { color: var(--gold); font-style: normal; }
nav { display: flex; align-items: center; gap: 1.6rem; }
nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
nav a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s; }
.nav-toggle span:first-child { top: 16px; } .nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  background: linear-gradient(100deg, var(--gold), var(--gold-2)); color: var(--on-accent) !important; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(var(--gold-rgb), .5); transition: box-shadow .3s, transform .2s; will-change: transform; }
.btn:hover { box-shadow: 0 10px 40px -8px rgba(var(--gold-rgb), .55); }
.btn.ghost { background: transparent; color: var(--ink) !important; border-color: var(--line); }
.btn.ghost:hover { border-color: var(--gold); box-shadow: none; }
.btn-sm { padding: .5rem 1.15rem; font-size: .9rem; color: var(--on-accent) !important; }
nav a.btn { color: var(--on-accent); }

/* Hero */
/* Der Hero ist eine lange Strecke; die Bühne bleibt oben stehen, während man hindurchscrollt. Scrollen zoomt ins Haus. */
.hero { position: relative; height: 250svh; }
.hero-stage { position: sticky; top: 0; height: 100svh; min-height: 520px; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
#cloud { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-vignette { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse at 30% 50%, rgba(var(--bg-rgb), .85) 0%, rgba(var(--bg-rgb), .35) 55%, transparent 80%),
  linear-gradient(to bottom, rgba(var(--bg-rgb), .5), transparent 25%, transparent 70%, var(--bg)); }
.hero-stage { user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: grab; }
.hero-stage a, .hero-stage button { cursor: pointer; }
.hero-inner { transition: opacity .5s; }
.hero.zoomed .hero-inner { opacity: .22; }
.cloud-ctrl { position: absolute; right: calc(var(--edge) + 216px); bottom: 2.4rem; z-index: 2; display: flex; align-items: center; gap: .5rem; }
.cloud-ctrl button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(var(--bg-rgb), .82); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: border-color .2s, transform .2s; }
.cloud-ctrl button:hover { border-color: var(--gold); transform: scale(1.08); }
.cloud-tip { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .75rem; color: var(--muted); margin-right: .5rem; transition: opacity .6s; }
.cloud-tip.used { opacity: 0; }
.hero-inner { padding: 7rem var(--edge) 5rem; max-width: none; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin-bottom: 1.6rem; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(var(--fg-rgb), .03); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--text-2); max-width: 38em; margin: 1.6rem 0 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hud { position: absolute; right: var(--edge); bottom: 2.4rem; width: 200px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .8rem; color: var(--gold); padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(var(--bg-rgb), .82); }
.hud-row { display: flex; gap: .5rem; align-items: baseline; } .hud-row b { font-size: 1.8rem; color: var(--ink); } .hud-row.small b { font-size: .9rem; }
.hud-bar { height: 3px; background: var(--line); margin: .5rem 0 .7rem; border-radius: 3px; overflow: hidden; } .hud-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--cyan)); }
.scroll-hint { position: absolute; left: 50%; bottom: 1.2rem; width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 14px; transform: translateX(-50%); }
.cloud-ctrl .scroll-hint { position: relative; left: auto; bottom: auto; transform: none; flex: none; margin: 0 .35rem 0 -.1rem; }      /* sitzt jetzt in der Leiste, zwischen Papier/Blaupause und den vier Ansichten */
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 1.1rem 0; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: scroll 38s linear infinite; }
.marquee span { font-size: 1.4rem; font-weight: 600; color: transparent; -webkit-text-stroke: 1px rgba(var(--fg-rgb), .35); white-space: nowrap; }
.marquee span::after { content: "◆"; color: var(--gold); -webkit-text-stroke: 0; margin-left: 3rem; font-size: .8rem; vertical-align: middle; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.stat { background: var(--bg); padding: 2.4rem clamp(1rem, 3vw, 2.4rem); }
.stat b { display: block; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -.04em; background: linear-gradient(120deg, var(--ink), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat small { color: var(--muted); font-size: .95rem; }

/* Blocks */
.block { position: relative; padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 5vw, 4rem); max-width: 1320px; margin: 0 auto; }
.block.alt { max-width: none; padding-inline: var(--edge); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.block.alt > * { max-width: none; margin-inline: auto; }
.head { max-width: 800px; margin-bottom: 3rem; }
.kicker { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.sub { color: var(--muted); font-size: 1.15rem; max-width: 40em; }

/* Viewer */
.viewer-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.vt { text-align: left; padding: 1rem 1.2rem; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font: inherit; transition: border-color .2s, background .2s; }
.vt b { display: block; } .vt small { color: var(--muted); }
.vt.active, .vt:hover { border-color: var(--gold); background: rgba(var(--gold-rgb), .06); }
.viewer-stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--stage); box-shadow: 0 40px 100px -30px rgba(var(--gold-rgb), .18); }
.viewer-stage iframe, .poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.viewer-stage iframe[hidden] { display: none; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.04) 38%, rgba(0,0,0,.72)); }
.poster-ui { z-index: 1; } .poster-title, .poster-note { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.55); } .poster-note { opacity: .88; }
.dollhouse { animation: float 6s ease-in-out infinite; transform-origin: 400px 230px; }
@keyframes float { 50% { transform: translateY(-10px) scale(1.03); } }
.poster-ui { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: .6rem; padding: 1rem; }
.chip { position: absolute; top: 1rem; left: 1rem; font-size: .75rem; letter-spacing: .12em; padding: .35rem .8rem; border-radius: 999px; background: rgba(0, 0, 0, .6); border: 1px solid var(--line); }
.chip.live i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff4b4b; margin-right: .4rem; animation: blink 1.4s infinite; }
.play { width: 92px; height: 92px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--on-accent); background: linear-gradient(120deg, var(--gold), var(--gold-2)); box-shadow: 0 0 0 0 rgba(var(--gold-rgb), .6); animation: ring 2.4s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 28px rgba(var(--gold-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0); } }
.poster-title { font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 700; margin: .8rem 0 0; }
.poster-note { font-size: .78rem; color: var(--muted); max-width: 34em; margin: 0; }
.corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--gold); pointer-events: none; }
.corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; } .corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; } .corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.hint { color: var(--muted); font-size: .9rem; margin-top: .9rem; max-width: 62em; } .hint b { color: var(--ink); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile { position: relative; overflow: hidden; padding: 2rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); transform-style: preserve-3d; }
.tile:hover { border-color: rgba(var(--gold-rgb), .5); }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--gold-rgb), .10), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover::before { opacity: 1; }
.tile.big { grid-column: span 2; } .tile.wide { grid-column: 1 / -1; }   /* ohne Zeichnung braucht die große Kachel keine zwei Reihen mehr */
.tile.band { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(1.2rem, 3vw, 3rem); align-items: center; padding: clamp(1.4rem, 3vw, 2.4rem); }
.band-text p + p { margin-top: 1rem; }
.band-note { display: flex; flex-direction: column; gap: .3rem; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .76rem; letter-spacing: .04em; }
#wmCap { color: var(--gold); text-transform: uppercase; min-height: 1.2em; } .band-hint { color: var(--muted); }
.band-art { min-width: 0; --wm-ink: var(--ink); --wm-gold: var(--gold); --wm-cyan: var(--cyan); }
.band-art canvas { display: block; width: 100%; aspect-ratio: 16 / 10; cursor: grab; } .band-art canvas:active { cursor: grabbing; } .band-art canvas:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 760px) { .tile.band { grid-template-columns: minmax(0, 1fr); } .band-art canvas { aspect-ratio: 4 / 3; } }
.tile p { color: var(--muted); margin: 0; }
.tile h3, .device h3 { hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 1200px) {
  .bento { grid-template-columns: repeat(2, 1fr); } .tile.big { grid-column: span 2; grid-row: auto; } .tile.wide { grid-column: span 2; }
}
.num { font-family: ui-monospace, Menlo, monospace; color: var(--gold); font-size: .85rem; display: block; margin-bottom: 1.4rem; }

/* Who */
.who { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 2rem; align-items: start; }
.who-tabs { display: grid; gap: .5rem; }
.wt { text-align: left; padding: .9rem 1.2rem; border-radius: 14px; background: transparent; color: var(--muted); border: 1px solid var(--line); font: inherit; font-weight: 600; cursor: pointer; transition: all .2s; }
.wt.active, .wt:hover { color: var(--ink); border-color: var(--gold); background: rgba(var(--gold-rgb), .06); }
.who-body { padding: clamp(1.4rem, 3vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); min-height: 300px; }
.who-body h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.who-body p { color: var(--text-2); font-size: 1.1rem; }
.who-body ul { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.who-body li { padding-left: 1.8rem; position: relative; }
.who-body li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.wt-real { border-color: var(--gold); color: var(--ink); }
.who-src { margin: 1.6rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.who-src a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.who-body.swap { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } }

/* Tech */
.tech { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.device { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--gold); transition: border-color .3s; }
.device:hover { border-color: rgba(var(--gold-rgb), .5); }
.device svg { width: 100%; max-width: 220px; margin: 0 auto 1.6rem; }
.device .body { fill: rgba(var(--gold-rgb), .06); } .device .fill { fill: currentColor; }
.device .rings { opacity: .18; } .device .rings circle, .device .rings ellipse { transform-origin: 110px 100px; animation: pulse 4s ease-in-out infinite; } .device .rings *:nth-child(2) { animation-delay: 1s; }
@keyframes pulse { 50% { transform: scale(1.06); opacity: .5; } }
.device h3 { color: var(--ink); } .device p { color: var(--muted); }
.device ul { padding-left: 1.1rem; color: var(--text-2); margin: 1rem 0 0; } .device li { margin: .3rem 0; } .device li::marker { color: var(--gold); }

/* Vogelperspektive */
.vogel { max-width: none; padding-inline: var(--edge); background: radial-gradient(900px circle at 80% 40%, rgba(var(--cyan-rgb), .08), transparent 60%); }
.vogel-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-inline: auto; }
.vogel .head { margin-bottom: 0; }
.ticks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.ticks li { position: relative; padding: 0 0 0 2rem; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 3px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); transform: rotate(45deg); }
.ticks b { color: var(--ink); }
.vogel-art { margin: 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.vogel-art svg { width: 100%; height: auto; }
.v-beam { transform-origin: 230px 70px; animation: sweepBeam 5s ease-in-out infinite; }
@keyframes sweepBeam { 0%, 100% { transform: scaleX(.55); opacity: .5; } 50% { transform: scaleX(1.1); opacity: 1; } }
.v-dot { animation: blink 1.6s infinite; }
.v-drone { animation: hoverDrone 4s ease-in-out infinite; }
@keyframes hoverDrone { 50% { transform: translateY(-8px); } }
@media (max-width: 960px) { .vogel-grid { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { list-style: none; margin: 0 auto; padding: 0 0 0 0; position: relative; max-width: 800px; }
.timeline::before { content: ""; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 24px; top: 0; width: 2px; height: var(--prog, 0%); background: linear-gradient(var(--gold), var(--cyan)); box-shadow: 0 0 14px var(--gold); transition: height .2s linear; }
.timeline li { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 1.6rem; padding-bottom: 2.6rem; }
.timeline .n { z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); color: var(--gold); font-weight: 800; }
.timeline h3 { margin-bottom: .2em; } .timeline p { color: var(--muted); margin: 0; }

/* Config */
.config { display: block; }
.cfg-col { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.cfg-col h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 1.6rem 0 .8rem; } .cfg-col h3:first-child { margin-top: 0; }
.cfg-col output { color: var(--gold); }
.pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill { padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; cursor: pointer; transition: all .2s; }
.pill:hover { border-color: var(--gold); } .pill.active { background: var(--gold); color: var(--on-accent); border-color: var(--gold); font-weight: 700; }
.cfg-size { display: flex; align-items: center; gap: 1rem; } .cfg-size input[type=range] { flex: 1; min-width: 0; }
.size-num { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .95rem; }
.size-num input { width: 5.8rem; min-width: 0; font: inherit; font-size: 1rem; text-align: right; color: var(--ink); padding: .6rem .8rem; border-radius: 12px; border: 1px solid var(--line); background: var(--field); } .size-num input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .15); }
input[type=range] { width: 100%; accent-color: var(--gold); height: 28px; }
.sum { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; background: linear-gradient(160deg, rgba(var(--gold-rgb), .09), transparent 60%), var(--card); }
.summary { font-size: 1.25rem; line-height: 1.5; margin: 0; }
.summary mark { background: none; color: var(--gold); font-weight: 700; }
.sum small { color: var(--muted); }
.anfrage-main { display: grid; min-width: 0; }
/* Menü und Formular sind ein Kasten */
.anfrage-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.anfrage-box .cfg-col { padding: clamp(1.4rem, 3vw, 2.4rem); border: 0; border-radius: 0; background: none; }
.anfrage-box .form { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.cfg-price { margin: 1rem 0 0; padding: .8rem 1rem; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(var(--gold-rgb), .08); color: var(--text-2); font-size: .95rem; } .cfg-price b { color: var(--gold); font-size: 1.1rem; }
.cfg-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; } .cfg-note b { color: var(--text-2); }
.cfg-note { margin: 1.6rem 0 0; color: var(--muted); font-size: .9rem; }
html[data-look] .anfrage-box { background: var(--panel); border-color: rgba(var(--fg-rgb), .35); box-shadow: 0 1px 0 var(--panel-hi) inset, 0 14px 30px -22px rgba(var(--fg-rgb), .45); }
html[data-look] .anfrage-box .cfg-col, html[data-look] .anfrage-box .form { background: none; box-shadow: none; border-color: rgba(var(--fg-rgb), .35); }
.cfg-other { margin-top: 1rem; } .cfg-other label { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; margin-bottom: .35rem; }
.cfg-other input { width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink); padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--field); } .cfg-other input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .15); }
.cfg-go { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 1.8rem; } .cfg-go small { color: var(--muted); flex: 1 1 14em; }
@media (min-width: 961px) { .card-info { position: sticky; top: 6.5rem; } }
.form-sum { margin: 0; padding: .8rem 1rem; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(var(--gold-rgb), .08); color: var(--text-2); font-size: .95rem; line-height: 1.45; } .form-sum b { color: var(--ink); }

/* About */
.about { text-align: center; }
blockquote { margin: 1rem auto 2.4rem; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; max-width: 22em; }
.people { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; margin-bottom: 2rem; }
.person { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.5rem .9rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); text-align: left; }
.mono { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(130deg, var(--gold), var(--gold-2)); color: var(--on-accent); font-weight: 800; }
.person small { display: block; color: var(--muted); }
.avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); background: #efeadc; }
.avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transform: scale(1.3); }
.person b { font-size: 1.1rem; }
.about .sub { margin-inline: auto; }
.card-person { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; } .card-person .avatar { width: 92px; height: 92px; } .card-person b { display: block; font-size: 1.25rem; } .card-person small { color: var(--muted); }
.card-info blockquote { margin: 0 0 1rem; max-width: none; font-size: 1.2rem; line-height: 1.4; font-weight: 600; letter-spacing: 0; }
.card-info p { margin: 0 0 .9rem; }

/* FAQ */
.faq { max-width: none; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 1.3rem 2.5rem 1.3rem 0; font-size: 1.15rem; font-weight: 600; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.8rem; color: var(--gold); transition: transform .3s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); padding: 0 2.5rem 1.3rem 0; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.form { display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form, .form label { min-width: 0; }
.form input:not([type=checkbox]), .form textarea { width: 100%; min-width: 0; }
.form label { display: grid; gap: .35rem; font-size: .85rem; color: var(--muted); font-weight: 600; }
.form input:not([type=checkbox]), .form textarea { font: inherit; font-size: 1rem; color: var(--ink); padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--field); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), .15); }
.form input[type=file] { padding: .7rem; }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; line-height: 1.4; }
.form .check input { margin-top: .25rem; accent-color: var(--gold); }
.form .check a { color: var(--gold); }
.form .btn { justify-self: start; }
.msg { margin: 0; color: var(--gold); font-weight: 600; min-height: 1.5em; }
.card-info { padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(var(--gold-rgb), .08), transparent 60%), var(--card); }
.card-info a { text-decoration: none; color: var(--gold); } .card-info a:hover { text-decoration: underline; }
.card-info hr { border: 0; border-top: 1px solid var(--line); margin: 1.4rem 0; } .mini { color: var(--muted); font-size: .9rem; margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 3rem var(--edge); text-align: center; color: var(--muted); }
.site-footer p { margin: .6rem 0 0; font-size: .95rem; } .site-footer a:not(.logo) { text-decoration: none; } .site-footer a:not(.logo):hover { color: var(--gold); }

/* Legal pages */
.legal { max-width: none; margin: 0; padding: 8rem var(--edge) 5rem; } .legal > * { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 1.4rem; }
.legal h2 { font-size: 1.4rem; margin: 2.2rem 0 .6rem; } .legal p, .legal li { color: var(--text-2); } .legal a { color: var(--gold); }
.legal .note { padding: 1rem 1.2rem; border: 1px solid var(--gold); border-radius: 14px; background: rgba(var(--gold-rgb), .06); color: var(--ink); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); } .tile.big { grid-column: span 2; grid-row: auto; } .tile.wide { grid-column: span 2; }
  .who, .config, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .who-tabs { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}
/* Menü-Knopf statt Navigationsleiste bis 1100 px (sonst wird die Kopfleiste mit großem Logo und Schalter zu voll) */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  nav { position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh; flex-direction: column; justify-content: center; gap: 1.6rem; background: rgba(var(--bg-rgb), .97); transform: translateY(-100%); visibility: hidden; opacity: 0; transition: transform .5s var(--ease), opacity .4s, visibility 0s .5s; }
  nav.open { transform: none; visibility: visible; opacity: 1; transition: transform .5s var(--ease), opacity .4s; } nav a { font-size: 1.6rem; color: var(--ink); }
  .site-header { z-index: 60; } .nav-toggle { z-index: 70; }
  .site-header .look { order: 2; margin-left: auto; margin-right: .5rem; } .site-header .look button { padding: .3rem .65rem; } .nav-toggle { order: 3; }
}
@media (max-width: 760px) {
  .hud { display: none; } .scroll-hint { display: none; }
  .cloud-ctrl { right: 1rem; bottom: auto; top: 4.6rem; } .cloud-tip { display: none; }
  .hero-inner { padding-top: 12.5rem; padding-bottom: 2.5rem; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-lead { font-size: 1rem; margin: 1rem 0 1.4rem; }
  .eyebrow { margin-bottom: 1rem; }
  .bento { grid-template-columns: 1fr; } .tile.big, .tile.wide { grid-column: auto; }
  .form .two { grid-template-columns: minmax(0, 1fr); }
  .play { width: 70px; height: 70px; } .poster-note { display: none; }
}
@media (hover: none) { .cursor-glow { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ===== Darstellung wechseln: Schalter (in beiden Looks) ===== */
.look { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(var(--fg-rgb), .04); }
.look button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .04em; padding: .35rem .8rem; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.look button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.titleblock { display: none; }

/* ===== Look "Papier": eine große Bauzeichnung ===== */
html[data-look="papier"] {
  --bg: #f3f0e6; --bg-2: #ebe7da; --card: rgba(255, 255, 255, .55); --line: rgba(24, 28, 38, .22);
  --ink: #14171c; --muted: #565a64; --gold: #d92b22; --gold-2: #ff5a36; --cyan: #a8231c;
  --gold-rgb: 217, 43, 34; --bg-rgb: 243, 240, 230; --fg-rgb: 20, 23, 28; --cyan-rgb: 168, 35, 28;
  --text-2: #353943; --on-accent: #ffffff; --stage: #0c0e12; --field: rgba(255, 255, 255, .75);
  --radius: 6px; --panel: rgba(255, 255, 255, .6); --panel-strong: rgba(255, 255, 255, .72); --panel-hi: rgba(255, 255, 255, .8); --g1: .05; --g2: .09;
  color-scheme: light; background: var(--bg);
}
html[data-look="blaupause"] {
  --bg: #0b2f5b; --bg-2: #0a2850; --card: rgba(255, 255, 255, .05); --line: rgba(255, 255, 255, .3);
  --ink: #f2f7ff; --muted: #a9c1e2; --gold: #ffd23f; --gold-2: #ffb800; --cyan: #7fe0ff;
  --gold-rgb: 255, 210, 63; --bg-rgb: 11, 47, 91; --fg-rgb: 255, 255, 255; --cyan-rgb: 127, 224, 255;
  --text-2: #d3e2f7; --on-accent: #0b2f5b; --stage: #06182f; --field: rgba(255, 255, 255, .07);
  --radius: 6px; --panel: rgba(255, 255, 255, .06); --panel-strong: rgba(255, 255, 255, .1); --panel-hi: rgba(255, 255, 255, .08); --g1: .07; --g2: .15;
  color-scheme: dark; background: var(--bg);
}
html[data-look] body { background: transparent; }
/* Das Blatt: feines Raster und Hauptraster, bleibt beim Scrollen stehen */
html[data-look] body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--fg-rgb), var(--g1)) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--fg-rgb), var(--g1)) 1px, transparent 1px),
    linear-gradient(rgba(var(--fg-rgb), var(--g2)) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--fg-rgb), var(--g2)) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px; }
/* Maßstab am linken Rand */
html[data-look] body::after { content: ""; position: fixed; left: 0; top: 0; bottom: 0; width: 14px; z-index: 40; pointer-events: none; border-right: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(var(--fg-rgb), .5) 1px, transparent 1px) left top / 6px 10px repeat-y,
              linear-gradient(to bottom, rgba(var(--fg-rgb), .7) 1px, transparent 1px) left top / 14px 50px repeat-y; }
html[data-look] .grad { background: none; color: var(--gold); -webkit-text-fill-color: currentColor; }
html[data-look] .cursor-glow { background: radial-gradient(circle, rgba(var(--gold-rgb), .07), transparent 65%); }
html[data-look] .site-header.scrolled { background: rgba(var(--bg-rgb), .94); }
html[data-look] .logo i { color: var(--gold); }
/* Knöpfe wie Stempel: eckig mit hartem Schatten */
html[data-look] .btn { background: var(--gold); border-radius: 3px; border: 1px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
html[data-look] .btn:hover { box-shadow: 5px 5px 0 var(--ink); transform: translate(-1px, -1px); }
html[data-look] .btn.ghost { background: transparent; color: var(--ink) !important; }
html[data-look] .btn.ghost:hover { border-color: var(--ink); background: rgba(var(--fg-rgb), .04); }
html[data-look] .btn-sm { box-shadow: 2px 2px 0 var(--ink); }
html[data-look] .eyebrow { background: var(--panel-strong); }
html[data-look] .hero-vignette { background:
  radial-gradient(ellipse at 20% 50%, rgba(var(--bg-rgb), .7) 0%, rgba(var(--bg-rgb), .3) 32%, transparent 58%),
  linear-gradient(to bottom, rgba(var(--bg-rgb), .55), transparent 16%); }
html[data-look] .hud, html[data-look] .cloud-ctrl button { background: rgba(var(--bg-rgb), .92); }
html[data-look] .hud-row b { color: var(--ink); }
html[data-look] .marquee { background: rgba(var(--fg-rgb), .04); }
html[data-look] .stat { background: transparent; }
html[data-look] .stats { background: transparent; }
html[data-look] .stat { border-right: 1px solid var(--line); }
html[data-look] .block.alt { background: rgba(var(--fg-rgb), .035); border-block: 1px solid var(--line); }
html[data-look] .tile, html[data-look] .cfg-col, html[data-look] .who-body, html[data-look] .form, html[data-look] .device, html[data-look] .vogel-art, html[data-look] .card-info, html[data-look] .person, html[data-look] .steps li {
  background: var(--panel); border-color: rgba(var(--fg-rgb), .35); box-shadow: 0 1px 0 var(--panel-hi) inset, 0 14px 30px -22px rgba(var(--fg-rgb), .45); }
html[data-look] .person { border-radius: 999px; }
html[data-look] .sum, html[data-look] .card-info { background: linear-gradient(160deg, rgba(var(--gold-rgb), .07), transparent 60%), var(--panel); }
html[data-look] .vt { background: var(--panel); }
html[data-look] .viewer-stage { box-shadow: 0 30px 60px -28px rgba(var(--fg-rgb), .55); border-color: var(--ink); }
html[data-look] .pill { border-color: rgba(var(--fg-rgb), .4); }
html[data-look] .pill.active { background: var(--gold); border-color: var(--ink); color: var(--on-accent); }
html[data-look] .device .body { fill: rgba(var(--gold-rgb), .06); }
html[data-look] .timeline .n { background: var(--bg); }
html[data-look] .legal .note { background: rgba(var(--gold-rgb), .07); }
/* Maßlinie vor jeder Abschnittsmarke */
html[data-look] .kicker { display: inline-flex; align-items: center; gap: .7rem; }
html[data-look] .kicker::before { content: ""; width: 54px; height: 9px; border-left: 1px solid currentColor; border-right: 1px solid currentColor; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; }
/* Poster im Rundgang-Viewer und Zeichnungen: Rot statt Gold */
html[data-look] .poster svg [stroke="#f1d252"], html[data-look] .vogel-art svg [stroke="#f1d252"] { stroke: var(--gold); }
html[data-look] .poster svg pattern path { stroke: var(--gold); }
html[data-look] .vogel-art svg { color: var(--ink); }
html[data-look] .vogel-art svg [stroke="#f3f1ea"] { stroke: var(--ink); }
html[data-look] .vogel-art svg [stroke="#5de0e6"] { stroke: var(--cyan); }
html[data-look] .vogel-art svg [fill="#0d0f12"] { fill: var(--bg); }
html[data-look] .vogel-art svg [fill="#9a9a94"] { fill: var(--muted); }
html[data-look] .vogel-art svg stop { stop-color: var(--gold); }
html[data-look] .vogel-art svg path[fill="rgba(241,210,82,.06)"] { fill: rgba(var(--gold-rgb), .06); }
html[data-look] .vogel { background: radial-gradient(900px circle at 80% 40%, rgba(var(--gold-rgb), .05), transparent 60%); }
html[data-look] .v-drone { opacity: .8; }
/* Zeichnungsschild im Fuß */
html[data-look] .site-footer { border-top: 2px solid var(--ink); text-align: left; }
html[data-look] .titleblock { display: grid; grid-template-columns: 2fr 1fr 1.6fr 1fr 1fr; margin: 0 0 2rem; border: 2px solid var(--ink); background: var(--panel); }
html[data-look] .titleblock div { padding: .7rem .9rem; border-right: 1px solid var(--ink); font-size: .85rem; color: var(--ink); line-height: 1.3; }
html[data-look] .titleblock div:last-child { border-right: 0; }
html[data-look] .titleblock small { display: block; font-family: ui-monospace, Menlo, monospace; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
html[data-look] .site-footer .logo, html[data-look] .site-footer > p { display: block; text-align: center; }
@media (max-width: 760px) {
  html[data-look] body::after { display: none; }
  html[data-look] .titleblock { grid-template-columns: 1fr 1fr; }
  html[data-look] .titleblock div:nth-child(2n) { border-right: 0; }
  html[data-look] .titleblock div { border-bottom: 1px solid var(--ink); }
  html[data-look] nav { background: rgba(var(--bg-rgb), .98); }
}

/* Schalter Scan | Zeichnung im Hero */
.cloud-ctrl .look { margin-right: .4rem; background: rgba(var(--bg-rgb), .82); }
.cloud-ctrl .look button { white-space: nowrap; width: auto; height: auto; border-radius: 999px; font-size: .78rem; padding: .32rem .75rem; }
.cloud-ctrl .look button:hover { transform: none; }
/* Papier | Blaupause sitzt oben im Kopf nur, wenn man den Anfang der Seite verlassen hat; am Anfang liegt er in der Leiste unten */
#header .look { display: none; }
html.off-hero #header .look { display: inline-flex; }
@media (max-width: 1240px) { .cloud-tip { display: none; } }
html[data-look] .cloud-ctrl .look button[aria-pressed="true"], .cloud-ctrl .look button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* Hinweis zur Ansicht (Scan / Zeichnung) */
.cloud-ctrl { flex-wrap: nowrap; }
.view-note { position: absolute; right: 0; bottom: 52px; width: 300px; margin: 0; text-align: right; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .72rem; line-height: 1.4; color: var(--muted); pointer-events: none; }
.view-note.swap { animation: swap .6s var(--ease); }
@media (max-width: 760px) { .view-note { display: none; } }

/* Real Estate: dichte Farbpunkte über der Zeichnung, mit Überblendung */
#cloud { transition: opacity 1.8s ease; }
#realcanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.8s ease; pointer-events: none; }
.hero.real #realcanvas { opacity: 1; }
.hero.real #cloud { opacity: 0; }
#auf { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; --wm-ink: var(--ink); --wm-gold: var(--gold); --wm-muted: var(--muted); }
.hero.auf #auf { opacity: 1; }
.hero.auf #realcanvas { opacity: .46; }                                  /* das 3D-Modell scheint durch, solange die Zeichnung entsteht */
.hero.auf.aufdone #realcanvas { opacity: .3; transition: opacity 2.4s ease; }      /* und bleibt danach mit etwa 30 % stehen: das Aufmaß ordnet das bunte Modell neu */
.hero.auf #cloud { opacity: 0; }
/* Bedienleiste: eine Zeile rechtsbündig, direkt links neben Plus/Minus */
.cloud-ctrl { justify-content: flex-end; }
.cloud-tip { margin: 0 .4rem 0 0; }
@media (max-width: 960px) { .hud { display: none; } .cloud-ctrl { right: var(--edge); } .cloud-tip { display: none; } }
@media (max-width: 760px) {
  .cloud-ctrl { left: var(--edge); right: var(--edge); top: calc(2rem + clamp(1.55rem, 6.2vw, 3.4rem) + .5rem); display: grid; grid-template-columns: auto auto 1fr auto auto; align-items: center; gap: .45rem; }
  .cloud-ctrl .look { margin: 0; order: 0; }
  .cloud-ctrl .look:not(.view-switch) { grid-column: 1; grid-row: 1; }
  .cloud-ctrl .view-switch { grid-column: 2; grid-row: 1; justify-self: start; }
  .cloud-ctrl #zoomOut { grid-column: 4; grid-row: 1; margin: 0; }
  .cloud-ctrl #zoomIn { grid-column: 5; grid-row: 1; }
  .cloud-ctrl .look button { font-size: .72rem; padding: .3rem .55rem; } .cloud-ctrl > button { width: 34px; height: 34px; }
}
/* schmales Handy: passt nicht in eine Zeile, der Dreier-Schalter rutscht darunter */
@media (max-width: 560px) {
  .cloud-ctrl { grid-template-columns: auto 1fr auto auto; }
  .cloud-ctrl .view-switch { grid-column: 1 / -1; grid-row: 2; }
  .cloud-ctrl #zoomOut { grid-column: 3; }
  .cloud-ctrl #zoomIn { grid-column: 4; }
}

