/* EstateView · Abschnitte */

/* ================= HERO ================= */
.hero {
  position: relative; isolation: isolate; overflow-x: clip;
  min-height: max(680px, 100svh);
  display: grid; align-items: end; justify-items: center;
  padding: 120px var(--gutter) clamp(44px, 7vh, 88px);
}
.hero-terrain {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -2; width: 100%; height: 64%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 78%, transparent 100%);
}
.hero-glow { position: absolute; z-index: -3; border-radius: 50%; pointer-events: none; width: 1100px; height: 1100px; }
.hero-glow--l { left: -620px; top: -380px; background: radial-gradient(closest-side, rgb(var(--glow-rgb) / .16), transparent); }
.hero-glow--r { right: -640px; bottom: -560px; background: radial-gradient(closest-side, rgb(var(--glow-rgb) / .18), transparent); }
.hero-stage { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero-art--room {
  position: absolute; left: 2.5%; top: 14%; width: min(31vw, 480px);
  filter: drop-shadow(0 0 1px rgb(var(--glow-rgb) / .7)) drop-shadow(0 0 26px rgb(var(--glow-rgb) / .38));
}
.hero-art--plan { position: absolute; right: 4%; top: 12%; width: min(25vw, 390px); perspective: 1100px; }
.plan-sheet {
  border-radius: 8px; overflow: hidden; transform-origin: 50% 50%;
  transform: rotateX(14deg) rotateY(-28deg) rotateZ(-6deg);
  box-shadow: 0 0 0 1px rgb(var(--glow-rgb) / .55), 0 0 44px rgb(var(--glow-rgb) / .45), 0 40px 70px -24px rgba(0, 0, 0, .7);
}
/* Vorschau mit Fremdmaterial (3D-Modell + schraeger Grundriss als freigestellte Bilder), Glow in Eisblau */
.hero-art--ref img { width: 100%; }
.hero-art--room.hero-art--ref { filter: drop-shadow(0 0 1.5px rgb(var(--glow-rgb) / .75)) drop-shadow(0 0 30px rgb(var(--glow-rgb) / .45)); }
/* Rechts: echter EstateView-Scan (Draufsicht) auf einer schraeg liegenden dunklen Karte, wie ein Plan */
.hero-art--scan { top: 11%; width: min(27vw, 420px); }
.plan-sheet--scan {
  position: relative; padding: 9% 7% 12%; border-radius: 14px;
  background: radial-gradient(120% 120% at 30% 20%, #142131 0%, #0c121a 70%); border: 1px solid rgb(var(--glow-rgb) / .45);
}
.plan-sheet--scan img { width: 100%; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); }
.scan-label { position: absolute; left: 6%; bottom: 4.5%; font: 500 11px/1 var(--font-body); letter-spacing: .04em; color: rgb(var(--glow-rgb) / .8); }
/* Zentriert per margin statt translateX(-50%): keine Subpixel-Verschiebung, das Bild bleibt scharf */
.hero-drone { position: absolute; left: 0; right: 0; top: 13%; width: min(40vw, 590px); margin-inline: auto; }
.hero-drone img { position: relative; width: 100%; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .5)); }
.hero-drone-light {
  position: absolute; left: 50%; bottom: -34%; width: 76%; height: 54%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(var(--glow-rgb) / .36), transparent); filter: blur(8px);
}
.hero-content { position: relative; max-width: 1000px; text-align: center; }
.hero-content::before {
  content: ""; position: absolute; inset: -14% -16% -22%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, var(--veil) 0%, var(--veil) 45%, transparent 100%);
}
.h-hero {
  margin: 18px 0 20px; color: var(--heading);
  font: 400 clamp(30px, 5.4vw, 78px)/1.04 var(--font-display); text-transform: uppercase; letter-spacing: .02em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .35);
}
.hero-sub { max-width: 660px; margin: 0 auto; color: var(--text-2); font-size: clamp(15px, 1.2vw, 18px); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* Intro beim Laden: alles steigt dezent auf, die Drohne "hebt ab". Danach steht alles still.
   Drohne, Raum und Grundriss bewegt main.js (rise) in ganzen Pixeln: CSS-Animationen schieben Bilder
   ueber Zwischenpixel bzw. skalieren sie und zeichnen sie dabei weich, bis sie stillstehen. */
.js .hero [data-intro] { opacity: 0; }
.js .hero.is-ready [data-intro="drone"], .js .hero.is-ready [data-intro="room"], .js .hero.is-ready [data-intro="plan"] { opacity: 1; }
.js .hero.is-ready [data-intro="text"] { animation: text-rise 1.1s var(--ease) both; }
.js .hero.is-ready .hero-content > :nth-child(1) { animation-delay: .7s; }
.js .hero.is-ready .hero-content > :nth-child(2) { animation-delay: .8s; }
.js .hero.is-ready .hero-content > :nth-child(3) { animation-delay: .95s; }
.js .hero.is-ready .hero-content > :nth-child(4) { animation-delay: 1.08s; }
@keyframes text-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ================= LEISTUNGEN =================
   Karten nach dem Prinzip der 21st.dev Profile Card: dunkle Karte mit weichem Verlauf, dahinter eine
   eisblaue Leiste, die unten herausschaut und den Link traegt. Beim Hover hebt sich die Karte,
   die Leiste leuchtet auf. Kein Icon, kein Glow, der der Maus folgt. */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin-top: 60px; }
.svc { position: relative; isolation: isolate; display: grid; }
.svc-ledge {
  position: absolute; z-index: -1; left: 0; right: 0; top: 55%; bottom: 0; border-radius: 28px;
  background: var(--ledge-bg); box-shadow: var(--ledge-glow);
  transition: box-shadow .6s var(--ease), filter .6s var(--ease);
}
.svc-card {
  position: relative; z-index: 1; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; min-height: 340px; padding: 30px 32px 32px; border-radius: 28px;
  background: var(--svc-bg); border: 1px solid var(--svc-border); box-shadow: var(--svc-shadow);
  transition: transform .6s var(--ease);
}
.svc-tag { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 14px/1.3 var(--font-body); color: var(--text-3); }
.svc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgb(var(--glow-rgb) / .9); }
.svc-title { position: relative; z-index: 2; max-width: 50%; margin: auto 0 0; padding-top: 40px; font: 600 clamp(25px, 2.25vw, 32px)/1.1 var(--font-head); letter-spacing: -.005em; color: var(--heading); hyphens: manual; }
.svc-text { position: relative; z-index: 2; max-width: 46%; margin: 14px 0 0; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.svc-art {
  position: absolute; z-index: 0; right: -2%; top: 50%; width: 50%; pointer-events: none;
  transform: translateY(-50%); transition: transform .8s var(--ease);
  filter: drop-shadow(0 0 1px rgb(var(--glow-rgb) / .55)) drop-shadow(0 0 24px rgb(var(--glow-rgb) / .3)) drop-shadow(0 18px 22px rgba(0, 0, 0, .45));
}
.svc-art img { width: 100%; }
/* breite Modelle (Penthouse, Autohaus) duerfen rechts ueber die Karte hinauslaufen */
.svc-art--wide { width: 62%; right: -12%; }
/* Bild laeuft am linken Rand weich aus, damit es nie hart an den Text stoesst */
.svc-art img { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%); mask-image: linear-gradient(90deg, transparent 0%, #000 24%); }
.svc-tag { position: relative; z-index: 2; }
/* Live-Fassung: eigene Iso-Grafiken statt Fotos, gleiche weiche Kante links */
.svc-art--iso { width: 46%; right: 0; }
.svc-art--iso .iso-art { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%); mask-image: linear-gradient(90deg, transparent 0%, #000 20%); }
.svc-more {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px;
  color: var(--ledge-text); font: 600 15px/1 var(--font-body); text-decoration: none;
}
.svc-more .i { width: 18px; height: 18px; stroke-width: 2; transition: transform .5s var(--ease); }
/* ganze Karte klickbar */
.svc-more::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 28px; }
.svc-more:focus-visible { outline: none; }
.svc-more:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 4px; }
.svc:hover .svc-card, .svc:focus-within .svc-card { transform: translateY(-6px); }
.svc:hover .svc-ledge, .svc:focus-within .svc-ledge { box-shadow: var(--ledge-glow-hover); filter: brightness(1.06) saturate(1.1); }
.svc:hover .svc-art, .svc:focus-within .svc-art { transform: translateY(-50%) scale(1.04); }
.svc:hover .svc-more .i, .svc:focus-within .svc-more .i { transform: translateX(4px); }

/* ================= FÜR-WEN-BAND ================= */
.band { position: relative; overflow: hidden; padding: 66px 0 74px; background: var(--band-bg); color: #fff; }
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 50% 120%, rgba(255, 255, 255, .28), transparent 60%);
}
.band-title { position: relative; text-align: center; color: #fff; margin-bottom: 34px; text-shadow: 0 2px 24px rgba(0, 30, 70, .35); }
.marquee {
  position: relative; display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; flex: none; gap: 58px; margin: 0; padding: 0 58px 0 0; list-style: none; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  font: 600 clamp(18px, 2vw, 25px)/1 var(--font-head); text-transform: uppercase; letter-spacing: .05em;
}
.marquee-track .i { width: 28px; height: 28px; stroke-width: 1.5; opacity: .9; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ================= DEMO ================= */
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: center; margin-top: 56px; }
.demo-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px;
  background: var(--demo-bg); border: 1px solid var(--line-strong);
  box-shadow: 0 0 80px -12px rgb(var(--glow-rgb) / .35);
  --iso-floor: #17202c; --iso-slab-t: #1a2330;
}
.demo-poster { position: absolute; inset: 0; opacity: .85; }
.demo-poster img { width: 100%; height: 100%; object-fit: cover; }
.demo-poster .iso-art { width: 78%; margin: auto; }
/* Hinweis bei Doppelklick-Vorschau (file://): Rundgang braucht den lokalen Webserver */
.demo-hint { position: absolute; z-index: 4; left: 50%; bottom: 22px; width: min(560px, calc(100% - 40px)); transform: translateX(-50%); margin: 0; padding: 12px 18px; border-radius: 14px; text-align: center; font-size: 14px; color: #fff; background: rgba(8, 12, 18, .82); border: 1px solid rgba(255, 196, 0, .5); }
.demo-play {
  all: unset; box-sizing: border-box; cursor: pointer; position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center;
  background: radial-gradient(ellipse 60% 70% at 50% 52%, rgba(5, 8, 12, .62) 0%, rgba(5, 8, 12, .35) 55%, rgba(5, 8, 12, .7) 100%);
}
.demo-play-btn {
  display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%;
  background: var(--btn-bg); color: var(--btn-text);
  box-shadow: 0 0 0 10px rgb(var(--glow-rgb) / .14), 0 0 60px rgb(var(--glow-rgb) / .6);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.demo-play-btn .i { width: 30px; height: 30px; margin-left: 4px; }
.demo-play:hover .demo-play-btn, .demo-play:focus-visible .demo-play-btn { transform: scale(1.07); box-shadow: 0 0 0 14px rgb(var(--glow-rgb) / .16), 0 0 80px rgb(var(--glow-rgb) / .75); }
.demo-play:focus-visible { outline: 2px solid var(--accent); outline-offset: -6px; border-radius: 22px; }
.demo-play-text { font: 600 19px/1.2 var(--font-head); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.demo-play-note { max-width: 360px; font-size: 13.5px; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
/* Live-Fassung ohne oeffentliches Demo-Objekt: Rahmen fuehrt zum Testscan */
.demo-frame--soon { display: block; color: inherit; text-decoration: none; }
.demo-frame--soon .demo-poster { display: grid; place-items: center; }
.demo-frame--soon:hover .demo-play-btn, .demo-frame--soon:focus-visible .demo-play-btn { transform: scale(1.06); }
.demo-frame--soon:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
/* Geschuetzter Demo-Rundgang: Passwort im Rahmen (main.js data-gate, Pruefung auf dem Server) */
.demo-frame--gate .demo-poster { display: grid; place-items: center; }
.demo-gate {
  position: absolute; inset: 0; z-index: 2; margin: 0;
  display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center;
  background: radial-gradient(ellipse 60% 70% at 50% 52%, rgba(5, 8, 12, .62) 0%, rgba(5, 8, 12, .35) 55%, rgba(5, 8, 12, .7) 100%);
}
.demo-gate-icon .i { margin-left: 0; }
.demo-gate-row { display: flex; gap: 10px; width: min(380px, 100%); margin-top: 6px; }
.demo-gate-row input {
  flex: 1; min-width: 0; height: 42px; padding: 0 16px; border-radius: 12px;
  border: 1px solid rgba(150, 210, 255, .45); background: rgba(8, 12, 18, .78); color: #fff;
  font: 500 16px/1.2 var(--font-body);
}
.demo-gate-row input::placeholder { color: rgba(255, 255, 255, .55); }
.demo-gate-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(var(--glow-rgb) / .22); }
.demo-gate-row .btn { flex: none; }
.demo-gate-status { min-height: 1.3em; font-size: 14px; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.demo-gate-status.is-error { color: #ffb4a8; }
.demo-gate-alt { font-size: 13px; color: rgba(255, 255, 255, .78); text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
.demo-gate-alt:hover { color: #fff; }
.demo-frame--gate.is-angemeldet .demo-gate-row input { display: none; }
/* Ersatz-Vollbild (iPhone, main.js vollbildBruecke): der Rahmen fuellt den Bildschirm. Der Inhalts-Container hat
   z-index 1 (eigene Ebene), Kopfzeile und Chat-Knopf liegen darueber: im Vollbild weg damit */
/* Hoehe 100svh: der kleinste sichtbare Bereich (Safari-Leisten eingeblendet), damit die Modusleiste des Viewers nie
   unter der schwebenden Adressleiste liegt; darunter bleibt hoechstens ein dunkler Rand */
.demo-frame.is-vollbild {
  position: fixed; top: 0; right: 0; bottom: auto; left: 0; z-index: 2147483000;
  width: 100vw; height: 100vh; height: 100svh; max-width: none;
  aspect-ratio: auto; margin: 0; border: 0; border-radius: 0; box-shadow: none; transform: none; transition: none;
}
html.ev-vollbild-offen, html.ev-vollbild-offen body { overflow: hidden; overscroll-behavior: none; background: #0a0a0d; }
html.ev-vollbild-offen .container { z-index: auto; }
html.ev-vollbild-offen .site-header, html.ev-vollbild-offen .float-chat, html.ev-vollbild-offen .to-top { display: none; }
.demo-card-voll { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--accent); }
.demo-card-voll[hidden] { display: none; }
.demo-card-voll .i { width: 16px; height: 16px; }
.demo-card { display: grid; gap: 16px; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-strong); }
.demo-card p { margin: 0; color: var(--text-2); font-size: 15px; }
.demo-card-logo { height: 30px; width: auto; }
.keys-legend { display: flex; align-items: center; gap: 12px; padding: 12px 0 2px; }
.keys-cluster { display: grid; grid-template-columns: repeat(3, 30px); grid-template-rows: 30px 30px; gap: 4px; }
.keys-cluster .key { font-size: 12px; border-radius: 7px; box-shadow: 0 2px 0 rgb(var(--glow-rgb) / .22); }
.keys-legend .mouse { width: 26px; height: 40px; border-radius: 14px; }
.keys-legend .mouse-wheel { top: 7px; width: 3px; height: 8px; }
.keys-text { font-size: 13px; color: var(--text-2); }
.demo-card .demo-card-note { font-size: 13px; color: var(--text-3); }

/* ================= MEHRWERTE: ein Panel mit Haarlinien (V1/V2) =================
   Keine Einzelboxen, keine Icon-Kacheln: Typografie und grosse Zahlen tragen, einzige Grafik ist die
   Tastatur. Linien per Schatten an der rechten/unteren Zellkante, damit der Glow durchscheint. */
.vgrid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 60px;
  border: 1px solid var(--vgrid-line); border-radius: 26px; overflow: hidden; background: var(--vgrid-cell);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vg {
  display: flex; flex-direction: column; gap: 12px; min-height: 250px; padding: 34px 34px 32px;
  box-shadow: 1px 0 0 var(--vgrid-line), 0 1px 0 var(--vgrid-line);
  --num-h: calc(clamp(40px, 3.6vw, 58px) + 28px);
}
/* Zellen ohne Zahl: Titel auf derselben Hoehe wie in den Zahlen-Zellen */
.vg--plain::before { content: ""; flex: none; height: var(--num-h); }
.vg p { margin: 0; max-width: 46ch; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.vg-title { margin: 0; font: 600 clamp(20px, 1.6vw, 23px)/1.25 var(--font-head); color: var(--heading); }
.vg--lead { grid-column: span 2; flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; }
.vg-body { display: grid; gap: 14px; max-width: 520px; }
.vg--lead .vg-title { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.vg .vg-num {
  display: flex; align-items: baseline; gap: 12px; height: var(--num-h); margin: 0; padding-bottom: 28px;
  font: 400 clamp(40px, 3.6vw, 58px)/1 var(--font-display); color: var(--heading); white-space: nowrap;
}
.vg-num span { font: 600 15px/1 var(--font-body); color: var(--accent); }
.vg-keys { flex: none; display: grid; grid-template-columns: repeat(3, 56px) 70px; grid-template-rows: 56px 56px; gap: 8px; align-items: center; }
.vg-keys .key { width: 100%; height: 100%; }
.vg-keys .mouse { grid-column: 4; grid-row: 1 / 3; justify-self: end; }

/* ================= MEHRWERTE (Bento, nur noch V3) ================= */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease);
}
.tile p { margin: 0; color: var(--text-2); font-size: 15px; }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--glow-rgb) / .15), transparent 60%);
}
.tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--glow-rgb) / .95), transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.tile:hover { transform: translateY(-2px); }
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile--a { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 28px; }
.tile--a .tile-text { display: grid; gap: 16px; }
.tile--f { grid-column: span 3; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.tile--f .tile-text { display: grid; gap: 6px; }
.tile--b, .tile--c { justify-content: flex-end; }
.tile-keys { display: grid; grid-template-columns: repeat(3, 58px) 72px; grid-template-rows: 58px 58px; gap: 8px; justify-content: center; align-items: center; }
.tile-keys .key { width: 100%; height: 100%; }
.tile-keys .mouse { grid-column: 4; grid-row: 1 / 3; justify-self: end; }
@keyframes key-press {
  0%, 30%, 100% { transform: none; }
  8%, 20% { transform: translateY(3px); box-shadow: 0 1px 0 rgb(var(--glow-rgb) / .3), 0 0 22px rgb(var(--glow-rgb) / .5); color: var(--accent); }
}
.stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 6px; }
.stat-num {
  font: 400 clamp(36px, 3.4vw, 54px)/1 var(--font-display); white-space: nowrap;
  background: linear-gradient(180deg, var(--heading) 20%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-unit { font: 600 14px/1 var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.tile-meter { display: flex; align-items: flex-end; gap: 5px; height: 46px; }
.tile-meter span { width: 7px; border-radius: 3px; background: linear-gradient(180deg, var(--accent), rgb(var(--glow-rgb) / .2)); opacity: .85; }
.tile-meter span:nth-child(1) { height: 30%; } .tile-meter span:nth-child(2) { height: 55%; } .tile-meter span:nth-child(3) { height: 40%; }
.tile-meter span:nth-child(4) { height: 80%; } .tile-meter span:nth-child(5) { height: 62%; } .tile-meter span:nth-child(6) { height: 100%; }
.tile-meter span:nth-child(7) { height: 70%; } .tile-meter span:nth-child(8) { height: 45%; }

/* ================= ABLAUF (5 Schritte + Drohnenflug) ================= */
.process-track { position: relative; margin-top: 70px; }
.process-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: var(--line-strong); opacity: .55; }
.process-line-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(var(--accent), var(--accent-strong)); box-shadow: 0 0 14px rgb(var(--glow-rgb) / .9); }
.process-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.route-base { fill: none; stroke: rgb(var(--glow-rgb) / .42); stroke-width: 1.6; stroke-dasharray: 6 9; stroke-linecap: round; }
/* Mit Flugbahn (JS) ersetzt die gestrichelte Bahn die gerade Linie; ohne JS/bei reduzierter Bewegung bleibt die Linie */
.process.has-route .process-line { opacity: 0; }
.route-live { fill: none; stroke: rgb(var(--glow-rgb) / .8); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgb(var(--glow-rgb) / .9)); }
.process-drone { position: absolute; left: 0; top: 0; z-index: 0; width: 124px; pointer-events: none; will-change: transform; opacity: 0; transition: opacity .6s; }
.process-drone.is-on { opacity: 1; }
.process-drone img { width: 100%; filter: drop-shadow(0 22px 18px rgba(0, 0, 0, .45)); }
.process-list { position: relative; list-style: none; margin: 0; padding: 0; }
.step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 168px minmax(0, 1fr); align-items: center; }
.step + .step { margin-top: -64px; }
.step--right .step-card { grid-column: 3; grid-row: 1; }
.step--left .step-card { grid-column: 1; grid-row: 1; }
.step-node {
  grid-column: 2; grid-row: 1; justify-self: center; z-index: 2;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-strong);
  font: 600 12.5px/1 var(--font-body); color: var(--accent);
  transition: background .5s, color .5s, box-shadow .5s, border-color .5s;
}
.step.is-reached .step-node { background: var(--accent); color: var(--btn-text); border-color: transparent; box-shadow: 0 0 0 7px rgb(var(--glow-rgb) / .14), 0 0 26px rgb(var(--glow-rgb) / .7); }
.step-card {
  position: relative; z-index: 1; padding: 30px 30px 28px; border-radius: 20px;
  background: var(--surface-glass); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25);
  transition: border-color .6s, box-shadow .6s;
}
.step.is-reached .step-card { border-color: rgb(var(--glow-rgb) / .7); box-shadow: 0 24px 70px -38px rgb(var(--glow-rgb) / .9); }
.step-tag {
  position: absolute; top: 14px; right: 14px; padding: 6px 9px; border-radius: 7px;
  font: 600 11px/1 var(--font-body); text-transform: uppercase; letter-spacing: .05em;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2);
}
.step-kicker { margin: 0 0 6px; font: 500 12px/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); }
.step-title { margin: 0 0 16px; font: 500 clamp(21px, 2vw, 28px)/1.15 var(--font-head); text-transform: uppercase; letter-spacing: .02em; color: var(--heading); padding-right: 90px; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step-list li { position: relative; padding-left: 24px; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.step-list li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid var(--accent); transform: rotate(45deg); }

/* ================= KUNDENSTIMMEN =================
   Nach 21st.dev "testimonials" (ravikatiyar162): drei hohe Bildkarten, Verlauf von unten, Zitat darauf.
   Bilder zeigen das Objekt des Kunden (Innenansicht) statt Portraets. Text immer hell auf dunklem Verlauf. */
.vstory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.vstory {
  position: relative; isolation: isolate; overflow: hidden; margin: 0; min-height: 480px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: 22px; background: #0c1118; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .7);
}
.vstory img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.vstory::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(5, 8, 12, .94) 0%, rgba(5, 8, 12, .72) 34%, rgba(5, 8, 12, .1) 66%, rgba(5, 8, 12, 0) 100%);
}
.vstory:hover img { transform: scale(1.04); }
.vstory-body { padding: 28px 28px 26px; color: #fff; }
.vstory-mark { width: 30px; height: 30px; margin-bottom: 14px; color: #a6d8ff; stroke-width: 1.6; }
.vstory blockquote { margin: 0; }
.vstory blockquote p { margin: 0; font: 500 16.5px/1.55 var(--font-body); color: #fff; }
.vstory figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 18px; }
.vstory figcaption strong { font: 600 16px/1.3 var(--font-head); color: #fff; }
.vstory figcaption span { font-size: 14px; color: rgba(255, 255, 255, .62); }
.ph-tag {
  position: absolute; top: 16px; right: 16px; padding: 5px 8px; border-radius: 6px;
  font: 600 10.5px/1 var(--font-body); text-transform: uppercase; letter-spacing: .08em;
  background: rgba(255, 196, 0, .12); color: #ffd25e; border: 1px solid rgba(255, 196, 0, .35);
}
[data-theme="light"] .ph-tag { background: #fff5d1; color: #7d5900; border-color: #dcae3c; }

/* ================= FAQ: eine durchgehende Box, immer nur eine Antwort offen ================= */
.faq-box {
  max-width: 920px; margin: 56px auto 0; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 24px; background: var(--surface);
}
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q { margin: 0; }
.faq-q button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: flex; align-items: center; gap: 20px; padding: 22px 26px 22px 30px;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background .3s;
}
.faq-q button:hover { background: var(--accent-soft); }
.faq-q button:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; border-radius: 0; }
.faq-text { flex: 1; font: 500 18px/1.35 var(--font-head); color: var(--text); }
.faq-icon {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--text-2); transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s;
}
.faq-icon .i { width: 17px; height: 17px; stroke-width: 2; }
.faq-item { transition: background .4s; }
.faq-item.is-open { background: var(--surface-2); }
.faq-item.is-open .faq-text { color: var(--heading); }
.faq-item.is-open .faq-icon { transform: rotate(135deg); background: var(--btn-bg); color: var(--btn-text); border-color: transparent; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; visibility: hidden; transition: visibility 0s linear .5s; }
.faq-item.is-open .faq-a-inner { visibility: visible; transition-delay: 0s; }
.faq-a p { margin: 0; max-width: 70ch; padding: 0 82px 26px 30px; color: var(--text-2); }
.faq-more { margin: 32px 0 0; text-align: center; color: var(--text-2); }
.faq-more a { color: var(--accent); text-underline-offset: 3px; }

/* ================= ÜBER UNS ================= */
.about-visual {
  position: relative; z-index: 2; margin: 0; padding: 48px 26px 26px; border-radius: 24px;
  background: radial-gradient(circle at 50% 38%, rgb(var(--glow-rgb) / .34), transparent 62%), var(--surface);
  border: 1px solid var(--line-strong); box-shadow: 0 0 70px rgb(var(--glow-rgb) / .22);
}
.about-visual img { width: 100%; transform: rotate(-5deg); filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .45)); }
.about-visual figcaption { display: grid; gap: 4px; margin-top: 30px; }
.about-visual figcaption strong { font: 600 18px/1.3 var(--font-head); color: var(--heading); }
.about-visual figcaption span { color: var(--accent); font-size: 14px; letter-spacing: .02em; }

/* Über uns (Startseite, V1-V3): Drohnenkarte links, rechts Leitsatz + Zeilen mit Haarlinien, nichts ueberlappt.
   Die alten about-*-Klassen oben nutzt weiter der Abschnitt "Die Drohne" auf den Unterseiten. */
.story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 80px); align-items: center; margin-top: 56px; }
.story-lead { margin: 0 0 30px; max-width: 32ch; font: 500 clamp(21px, 1.9vw, 27px)/1.35 var(--font-head); color: var(--heading); }
.story-list { margin: 0; border-top: 1px solid var(--line-strong); }
.story-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.story-row dt { padding-top: 2px; font: 600 15px/1.5 var(--font-head); color: var(--accent); }
.story-row dd { margin: 0; }
.story-row h3 { margin: 0 0 6px; font: 600 19px/1.3 var(--font-head); color: var(--heading); }
.story-row p { margin: 0; max-width: 60ch; color: var(--text-2); font-size: 15px; }

/* ================= KONTAKT ================= */
.contact-grid { display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 1.6fr); gap: 24px; align-items: start; margin-top: 56px; }
.contact-card { position: sticky; top: 104px; overflow: hidden; border-radius: 24px; background: var(--surface); border: 1px solid var(--line-strong); }
.contact-visual {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3.3; padding: 26px;
  background: radial-gradient(circle at 50% 62%, rgb(var(--glow-rgb) / .42), transparent 62%), linear-gradient(180deg, var(--surface-2), var(--surface));
}
.contact-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(transparent, rgb(var(--glow-rgb) / .3)); }
.contact-visual img { position: relative; z-index: 1; width: 100%; transform: rotate(-4deg); filter: drop-shadow(0 22px 20px rgba(0, 0, 0, .45)); }
.contact-body { padding: 24px 26px 26px; }
.contact-name { margin: 0 0 14px; font: 600 18px/1.3 var(--font-head); color: var(--heading); }
.contact-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 15px; }
.contact-list a { text-decoration: none; }
.contact-list .i { color: var(--accent); }
.contact-note { margin: 0 0 10px; font-size: 13px; color: var(--text-3); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; font: 500 13.5px/1 var(--font-body);
  transition: background .25s, border-color .25s;
}
.chip:hover { background: var(--accent-soft); border-color: var(--accent); }
.chip .i { width: 16px; height: 16px; color: var(--accent); }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field {
  display: grid; gap: 10px; margin: 0; padding: 20px 22px; min-width: 0;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s;
}
.field:focus-within { border-color: var(--line-strong); box-shadow: 0 0 0 4px rgb(var(--glow-rgb) / .08); }
.field--group legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; }
.field-label { font: 600 15.5px/1.3 var(--font-head); color: var(--text); }
.optional { font-weight: 400; color: var(--text-3); }
.field input, .field textarea {
  all: unset; box-sizing: border-box; width: 100%; padding: 8px 0 9px; cursor: text; caret-color: var(--accent);
  border-bottom: 1px solid var(--line-strong); color: var(--text); font: 400 15px/1.5 var(--font-body);
  transition: border-color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 96px; resize: vertical; white-space: pre-wrap; }
.field ::placeholder { color: var(--text-3); opacity: 1; }
.check-grid { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-2); -webkit-user-select: none; user-select: none; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; display: grid; place-items: center; margin: 0;
  width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: var(--surface-2);
  cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s;
}
.check input::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--btn-text); border-bottom: 2px solid var(--btn-text); transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.check input:checked { background: var(--btn-bg); border-color: transparent; box-shadow: 0 0 14px rgb(var(--glow-rgb) / .5); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check:hover span { color: var(--text); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form-hint { max-width: 470px; margin: 0; font-size: 13px; color: var(--text-3); }
.form-hint a { color: var(--accent); }
.form-status { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--accent); }
.form-status.is-error { color: #ff8a8a; }

/* ================= Eigene Grafiken: Iso-Raum + Grundriss ================= */
.iso-art { width: 100%; height: auto; overflow: visible; }
.iso-e { stroke: var(--iso-edge); stroke-width: .8; stroke-linejoin: round; }
.iso-plank { stroke: var(--iso-plank); stroke-width: 1; }
.iso-slab-t { fill: var(--iso-slab-t); } .iso-slab-l { fill: var(--iso-slab-l); } .iso-slab-r { fill: var(--iso-slab-r); }
.iso-floor { fill: var(--iso-floor); }
.iso-wall-l { fill: var(--iso-wall-l); } .iso-wall-r { fill: var(--iso-wall-r); }
.iso-iwall-l { fill: var(--iso-iwall-l); } .iso-iwall-r { fill: var(--iso-iwall-r); }
.iso-wallcap-t { fill: var(--iso-wallcap); filter: drop-shadow(0 0 3px rgb(var(--glow-rgb) / .9)); }
.iso-furn-l { fill: var(--iso-furn-l); } .iso-furn-r { fill: var(--iso-furn-r); }
.iso-counter-t { fill: var(--iso-counter); } .iso-wood-t { fill: var(--iso-wood); } .iso-seat-t { fill: var(--iso-seat); }
.iso-sofa-t { fill: var(--iso-sofa); } .iso-bed-t { fill: var(--iso-bed); } .iso-pillow-t { fill: var(--iso-pillow); }
.iso-blanket-t { fill: var(--iso-blanket); } .iso-tub-t { fill: var(--iso-tub); } .iso-pot-t { fill: var(--iso-pot); }
.iso-plant-t { fill: var(--iso-plant); } .iso-plant-l { fill: var(--iso-plant-l); } .iso-plant-r { fill: var(--iso-plant-r); }
.iso-window { fill: var(--iso-window); } .iso-ray { fill: var(--iso-ray); } .iso-rug { fill: var(--iso-rug); }
.iso-lamp { fill: var(--iso-lamp); filter: drop-shadow(0 0 6px var(--iso-lamp)); }

.fp-art { width: 100%; height: auto; display: block; }
.fp-paper { fill: #ffffff; }
.fp-room { fill: #f6f9fd; } .fp-room--b { fill: #eef6fe; } .fp-room--c { fill: #f3f6fa; }
.fp-furn { fill: none; stroke: #9db0c6; stroke-width: 1.1; }
.fp-wall { stroke: #1d2540; stroke-width: 9; stroke-linecap: square; }
.fp-iwall { stroke: #1d2540; stroke-width: 4.5; stroke-linecap: square; }
.fp-win-gap { fill: #ffffff; }
.fp-win { stroke: #3b8fdc; stroke-width: 1.2; }
.fp-door { stroke: #1d2540; stroke-width: 1.4; }
.fp-swing { fill: none; stroke: #8fa6bf; stroke-width: 1; stroke-dasharray: 3 3; }
.fp-label { font: 600 12.5px var(--font-body); fill: #1d2540; }
.fp-area { font: 400 10.5px var(--font-body); fill: #5f7088; }
.fp-dim { stroke: #8fa6bf; stroke-width: 1; }
.fp-dimtext { font: 500 10px var(--font-body); fill: #5f7088; }
.fp-title { font: 500 11px var(--font-body); fill: #5f7088; }
.fp-brand { font: 600 12px var(--font-head); fill: #2b86d9; letter-spacing: .04em; }

/* ================= Responsiv ================= */
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: 1fr; gap: 36px; max-width: 760px; margin-inline: auto; }
}
@media (max-width: 1100px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-card { grid-template-columns: auto 1fr; align-items: center; }
  .demo-card > p, .demo-card .keys-legend, .demo-card .demo-card-note { grid-column: 1 / -1; }
    .story { grid-template-columns: 1fr; }
  .story-visual { width: 100%; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .vstory-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .vstory { min-height: 420px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .vgrid { grid-template-columns: 1fr 1fr; }
  .vg--lead { grid-column: 1 / -1; }
  .tile--a { grid-column: 1 / -1; }
  .tile--f { grid-column: 1 / -1; }
  .contact-card { position: relative; top: 0; }
  .hero-art--room { width: 36vw; top: 18%; left: -2%; }
  .hero-art--plan { width: 30vw; right: -1%; top: 15%; }
  .hero-drone { width: 62vw; top: 13%; }
  /* Ablauf einspaltig: Linie links */
  .process-line { left: 22px; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 0 14px; }
  .step + .step { margin-top: 22px; }
  .step--right .step-card, .step--left .step-card { grid-column: 2; }
  .step-node { grid-column: 1; }
  .process-drone { width: 84px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 96px; min-height: 100svh; }
  .hero-art--room { width: 54vw; left: -12%; top: 30%; opacity: .5; }
  .hero-art--plan { width: 40vw; right: -8%; top: 28%; opacity: .55; }
  .hero-drone { width: 92vw; top: 12%; }
  .hero-cta .btn { width: 100%; }
  .demo-play-note { display: none; }
  /* Echter Rundgang im Hochformat: 16:9 waren am Handy ~350 x 200 px, Kopf- und Modusleiste des Viewers deckten
     fast alles zu (Test 17.11., 390 x 844). Hochkant hat der Rundgang Platz, das Poster schneidet object-fit zu. */
  .demo-frame[data-embed], .demo-frame[data-gate] { aspect-ratio: 4 / 5; }
  .demo-gate-row { flex-direction: column; }
  .demo-gate-row .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .vgrid { grid-template-columns: 1fr; }
  .vg { min-height: 0; padding: 28px 24px; --num-h: auto; }
  .vg--plain::before { display: none; }
  .vg .vg-num { padding-bottom: 14px; }
  .vg--lead { flex-direction: column; align-items: flex-start; gap: 26px; }
  .vg-keys { grid-template-columns: repeat(3, 46px) 58px; grid-template-rows: 46px 46px; }
  .tile--a { grid-template-columns: 1fr; }
  .tile--f { grid-template-columns: auto 1fr; }
  .tile--f .tile-meter { display: none; }
  .tile-keys { justify-content: start; grid-template-columns: repeat(3, 48px) 60px; grid-template-rows: 48px 48px; }
  .svc-card { min-height: 0; padding: 24px 22px 26px; }
  .svc-art img, .svc-art--iso .iso-art { -webkit-mask-image: none; mask-image: none; }
  .svc-art, .svc-art--wide { position: relative; order: 1; right: auto; top: auto; width: 92%; margin: 20px auto 0; transform: none; }
  .svc:hover .svc-art, .svc:focus-within .svc-art { transform: scale(1.03); }
  .svc-title { order: 2; max-width: none; padding-top: 18px; }
  .svc-text { order: 3; max-width: none; }
  .icon-tile { width: 54px; height: 54px; }
  .faq-text { font-size: 16.5px; }
  .faq-q button { padding: 18px 18px 18px 20px; gap: 14px; }
  .faq-a p { padding: 0 20px 22px; }
    .story-row { grid-template-columns: 1fr; gap: 6px; }
  .form-row, .check-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .step-card { padding: 24px 20px 22px; }
  .step-title { padding-right: 0; margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero [data-intro] { opacity: 1; animation: none !important; }
  .marquee-track { animation: none; }
}
