/* =========================================================================
   Immobilienvideo München — Website
   Immobilienvideo & Drohnenaufnahmen München
   Design: hell, viel Weiß, premium-monochrom mit warmem Akzent,
           großzügig abgerundet, ruhige Ease-in/out-Animationen.
   Handgeschrieben, kein Framework, keine externen Requests.
   ========================================================================= */

/* ---------- 1. Design-Tokens ---------- */
:root {
  --bg:        #FAFAF7;
  --bg-deep:   #F0EFE9;
  --bg-ink:    #0E1014;
  --surface:   #FFFFFF;
  --surface-2: #FBFBF9;

  --ink:    #14161C;
  --ink-2:  #4A4F5A;
  --ink-3:  #838A96;
  --on-ink:   #F6F5F1;
  --on-ink-2: #A6ABB5;

  --line:      rgba(20, 22, 28, 0.10);
  --line-soft: rgba(20, 22, 28, 0.06);
  --line-on-ink: rgba(255, 255, 255, 0.12);

  --accent:      #A9824B;
  --accent-soft: rgba(169, 130, 75, 0.12);
  --accent-ink:  #8A6836;

  --shadow-s:  0 1px 2px rgba(20, 22, 28, .05), 0 3px 10px rgba(20, 22, 28, .05);
  --shadow-m:  0 2px 8px rgba(20, 22, 28, .05), 0 18px 44px rgba(20, 22, 28, .09);
  --shadow-l:  0 6px 18px rgba(20, 22, 28, .07), 0 40px 90px rgba(20, 22, 28, .14);
  --shadow-xl: 0 10px 30px rgba(20, 22, 28, .10), 0 70px 150px rgba(20, 22, 28, .22);

  --r-xs:   10px;
  --r-sm:   16px;
  --r-md:   22px;
  --r-lg:   30px;
  --r-xl:   40px;
  --r-2xl:  54px;
  --r-full: 999px;

  --maxw:  1200px;
  --maxw-narrow: 760px;
  --pad:   clamp(20px, 5vw, 48px);
  --nav-h: 70px;
  --gap:   clamp(16px, 2.2vw, 26px);

  --ease:      cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  color-scheme: light;
}

/* ---------- 2. Reset & Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--bg); }

/* ---------- 3. Typografie ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 660;
  line-height: 1.05;
  letter-spacing: -0.032em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.6vw, 4.9rem); font-weight: 720; }
h2 { font-size: clamp(1.95rem, 4.3vw, 3.15rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.5rem); letter-spacing: -0.022em; }
p { margin: 0; }

.eyebrow { /* nur noch für evtl. Altbestand – nicht mehr genutzt */
  display: inline-block; font-size: .8rem; font-weight: 620;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}

.lead {
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  line-height: 1.55; color: var(--ink-2); letter-spacing: -0.014em;
}

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: var(--maxw-narrow); }

.section { position: relative; padding-block: clamp(68px, 10vw, 140px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--deep { background: var(--bg-deep); }
.section--ink { background: var(--bg-ink); color: var(--on-ink); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--on-ink); }
.section--ink .lead { color: var(--on-ink-2); }

.section__head { max-width: 720px; margin-bottom: clamp(38px, 5.5vw, 66px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head .lead { margin-top: 20px; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 27px; border-radius: var(--r-full);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease),
              background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow-m); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-l); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: var(--bg); color: var(--ink); box-shadow: var(--shadow-m); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-l); }
.btn--on-ink-ghost { background: rgba(255,255,255,.05); color: var(--on-ink); border: 1.5px solid var(--line-on-ink); backdrop-filter: blur(6px); }
.btn--on-ink-ghost:hover { border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.btn--lg { padding: 18px 34px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }

/* ---------- 6. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease),
              backdrop-filter .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav.is-stuck {
  background: rgba(250, 250, 247, 0.72);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 0 rgba(20,22,28,.02), 0 10px 30px rgba(20,22,28,.05);
}
.nav:not(.nav--solid):not(.is-stuck) .brand { color: var(--ink); }
.nav:not(.nav--solid):not(.is-stuck) .nav__link { color: var(--ink-2); }
.nav:not(.nav--solid):not(.is-stuck) .brand__mark { border-color: var(--line); }
.nav--solid {
  background: rgba(250, 250, 247, 0.82);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line-soft);
}
.nav--solid .nav__link { color: var(--ink-2); }
.nav--solid .nav__link:hover { color: var(--ink); }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 680;
  letter-spacing: -0.02em; font-size: clamp(0.95rem, 2.6vw, 1.08rem); white-space: nowrap;
  color: var(--ink); transition: color .5s var(--ease); }
.brand__mark { width: 37px; height: 37px; flex: none; display: block; }
.brand__mark svg { width: 100%; height: 100%; display: block; }

.nav__links { display: flex; align-items: center; gap: clamp(6px, 1.6vw, 26px); }
.nav__link { font-size: .95rem; font-weight: 520; color: var(--ink-2); padding: 8px 2px; position: relative;
  transition: color .3s var(--ease); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1.5px;
  background: currentColor; transition: right .35s var(--ease); }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { right: 0; }
.nav__cta { margin-left: 6px; }
.nav__links .btn { padding: 11px 20px; font-size: .94rem; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; color: inherit; }
.nav__burger svg { width: 24px; height: 24px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(250, 250, 247, 0.9);
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  display: flex; flex-direction: column; padding: calc(var(--nav-h) + 24px) var(--pad) 40px; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { font-size: 1.5rem; font-weight: 640; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 22px; }
.mobile-menu__close { position: absolute; top: 14px; right: var(--pad); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.mobile-menu__close svg { width: 26px; height: 26px; }
body.menu-open { overflow: hidden; }

/* ---------- 7. Hero (hell, animierte Architektur-Linien) ---------- */
.hero {
  position: relative; min-height: clamp(630px, 81svh, 740px); min-height: clamp(630px, 81vh, 740px);
  display: flex; align-items: flex-end; padding-bottom: clamp(56px, 9vh, 112px);
  overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 85% at 86% 0%, #ffffff 0%, rgba(255,255,255,0) 56%),
    linear-gradient(170deg, #F7F5F0 0%, #EFEDE6 62%, #EBE9E1 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero__art-wrap { position: absolute; inset: 0; z-index: -1; }
.hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.hero__scene .hero-city { animation: heroFloat 10s var(--ease-soft) infinite alternate; }
.hero__scene .hl {
  fill: none; stroke: #14161C; stroke-opacity: .26; stroke-width: 1.8;
  stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: heroDraw 1.8s var(--ease) forwards; animation-delay: var(--d, 0s);
}
.hero__scene .win { opacity: .5; animation: winPulse 3.6s var(--ease-soft) infinite; }
.hero__scene .win--2 { animation-delay: 1.1s; }
.hero__scene .win--3 { animation-delay: 2.2s; }
.hero__scene .hero-orbit { animation: dashFlow 22s linear infinite; }
@keyframes heroDraw { to { stroke-dashoffset: 0; } }
@keyframes heroFloat { from { transform: translateY(0); } to { transform: translateY(-9px); } }
@keyframes winPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes dashFlow { to { stroke-dashoffset: -130; } }
/* Dauerhafte, dezente Licht-Spur, die entlang der Gebäudekanten wandert */
.hero__scene .hl-trace {
  fill: none; stroke: #A9824B; stroke-opacity: .7; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 0.22 0.78; stroke-dashoffset: 0;
  animation: heroTrace 6s linear infinite; animation-delay: var(--td, 0s);
}
@keyframes heroTrace { to { stroke-dashoffset: -1; } }

.hero__inner { width: 100%; position: relative; }
.hero h1 { color: var(--ink); max-width: 16ch; }
.hero__sub { margin-top: 24px; max-width: 54ch;
  font-size: clamp(1.08rem, 1.7vw, 1.4rem); line-height: 1.5; color: var(--ink-2); letter-spacing: -0.014em; }
.hero .btn-row { margin-top: 36px; }
.hero__badges { list-style: none; margin: 42px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px;
  border: 1px solid var(--line); border-radius: var(--r-full);
  font-size: .86rem; font-weight: 560; color: var(--ink); background: #fff; box-shadow: var(--shadow-s); }
.hero__badges li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.hero__cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1; }
.hero__cue span { display: block; width: 1.5px; height: 44px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(20,22,28,.04), rgba(20,22,28,.32)); position: relative; overflow: hidden; }
.hero__cue span::after { content: ""; position: absolute; top: -14px; left: 0; width: 100%; height: 14px;
  background: var(--accent); animation: cueSlide 2.1s var(--ease) infinite; }
@keyframes cueSlide { 0% { transform: translateY(0); } 60%,100% { transform: translateY(58px); } }

.ph-tag { display: none; }

/* ---------- 8. Vertrauensband ---------- */
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.trust__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__row li { display: flex; align-items: center; gap: 13px; padding: 30px clamp(14px, 2vw, 26px); position: relative; }
.trust__row li + li::before { content: ""; position: absolute; left: 0; top: 26%; height: 48%; width: 1px; background: var(--line); }
.trust__row svg { flex: none; width: 26px; height: 26px; color: var(--ink); opacity: .9; }
.trust__row span { display: flex; flex-direction: column; font-size: .82rem; color: var(--ink-3); line-height: 1.35; }
.trust__row b { font-weight: 620; font-size: .98rem; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 1px; }

/* ---------- 9. Arbeiten / Galerie ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.tile {
  position: relative; grid-column: span 1; aspect-ratio: 4 / 3;
  border-radius: var(--r-lg); overflow: hidden; background: var(--bg-ink);
  box-shadow: var(--shadow-m); isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
/* durchgehende Licht-„Scanline", die über jede Kachel wandert */
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.12) 50%, transparent 58%);
  transform: translateX(-130%); animation: tileScan 5.5s var(--ease) infinite;
}
.gallery .tile:nth-child(2)::before { animation-delay: 1.3s; }
.gallery .tile:nth-child(3)::before { animation-delay: 2.6s; }
.gallery .tile:nth-child(4)::before { animation-delay: 3.9s; }
@keyframes tileScan { 0% { transform: translateX(-130%); } 55%, 100% { transform: translateX(130%); } }
.t-orbit { animation: tileDash 3.2s linear infinite; }
@keyframes tileDash { to { stroke-dashoffset: -22; } }
.t-pulse { animation: tilePulse 3s var(--ease-soft) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes tilePulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.t-bar { transform-box: fill-box; transform-origin: left center; animation: clipBar 3.6s var(--ease-soft) infinite; }
@keyframes clipBar { 0% { transform: scaleX(0); } 85%, 100% { transform: scaleX(1); } }
.tile--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.tile__art { position: absolute; inset: 0; z-index: -2; clip-path: inset(0 100% 0 0); }
.tile.is-in .tile__art { animation: tileDraw 1.15s var(--ease) forwards; }
@keyframes tileDraw { to { clip-path: inset(0 0 0 0); } }
.tile__art svg { width: 100%; height: 100%; animation: tileKB 18s var(--ease-soft) infinite alternate; }
@keyframes tileKB { to { transform: scale(1.05); } }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(8,9,13,.78) 0%, rgba(8,9,13,.06) 52%, rgba(8,9,13,.16) 100%); }
.tile__foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; color: #fff;
  display: grid; grid-template-columns: 1fr; align-items: end; column-gap: 12px; }
.tile__foot b { grid-column: 1; font-weight: 640; font-size: 1.06rem; letter-spacing: -0.02em; }
.tile__foot > span { grid-column: 1; font-size: .85rem; color: rgba(255,255,255,.68); margin-top: 2px; }
.tile__play { display: none; grid-column: 2; grid-row: 1 / 3; align-self: center;
  width: 46px; height: 46px; border-radius: 50%; place-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26); backdrop-filter: blur(6px);
  transition: transform .4s var(--ease), background-color .3s var(--ease); }
.tile__play svg { width: 17px; height: 17px; color: #fff; margin-left: 2px; }
.tile:hover .tile__play { transform: scale(1.08); background: rgba(255,255,255,.24); }
.gallery__note { text-align: center; color: var(--ink-3); font-size: .9rem; margin-top: 22px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: var(--pad);
  background: rgba(8, 9, 13, 0.88); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__stage { width: min(1000px, 100%); aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
  background: #000; box-shadow: var(--shadow-xl); transform: scale(.96); transition: transform .5s var(--ease);
  display: grid; place-items: center; color: rgba(255,255,255,.6); text-align: center; }
.lightbox.is-open .lightbox__stage { transform: scale(1); }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.lightbox__close svg { width: 22px; height: 22px; }

/* ---------- 10. Leistungen ---------- */
.svc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.svc { position: relative; padding: 34px 32px 36px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-s); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
  transform-style: preserve-3d; }
.svc::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at var(--mx, 50%) var(--my, 0%), rgba(169,130,75,.10), rgba(169,130,75,0) 60%);
  opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.svc:hover { box-shadow: var(--shadow-l); border-color: var(--line); }
.svc:hover::after { opacity: 1; }
.svc__num { font-size: .8rem; font-weight: 640; color: var(--accent-ink); letter-spacing: .1em; }
.svc__icon { width: 46px; height: 46px; margin: 16px 0 22px; display: grid; place-items: center;
  border-radius: 13px; color: var(--ink); }
.svc__icon svg { width: 40px; height: 40px; stroke-width: 1.4; }
.svc h3 { margin-bottom: 11px; }
.svc p { color: var(--ink-2); font-size: .98rem; }
.svc__list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.svc__list li { position: relative; padding-left: 26px; font-size: .92rem; color: var(--ink-2); }
.svc__list li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 11px; height: 6px;
  border-left: 1.8px solid var(--accent-ink); border-bottom: 1.8px solid var(--accent-ink);
  transform: rotate(-45deg); }
.svc__tag { position: absolute; top: 28px; right: 28px; font-size: .72rem; font-weight: 620;
  padding: 5px 11px; border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent-ink); }

/* ---------- 11. Value / Warum ---------- */
.value__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px;
  border-top: 1px solid var(--line-on-ink); }
.value { padding: 40px clamp(18px, 3vw, 40px) 34px; position: relative; }
.value + .value::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 30px; width: 1px; background: var(--line-on-ink); }
.value__num, .value__kicker { min-height: clamp(3rem, 6.2vw, 4.7rem); display: flex; align-items: flex-end; }
.value__num { font-size: clamp(3rem, 6.2vw, 4.7rem); font-weight: 720; letter-spacing: -0.045em; line-height: 1; color: #fff; }
.value__num .unit { font-size: .5em; font-weight: 620; margin-left: 2px; }
.value__kicker { font-size: clamp(1.55rem, 2.9vw, 2.1rem); font-weight: 660; letter-spacing: -0.02em; line-height: 1.1; color: #CBA063; }
.value__src { margin-top: 30px; font-size: .82rem; color: rgba(255,255,255,.45); max-width: 72ch; }
.value p { margin-top: 16px; color: var(--on-ink); opacity: .9; font-size: 1.08rem; line-height: 1.55; max-width: 34ch; }
.value__src { margin-top: 30px; font-size: .82rem; color: rgba(255,255,255,.45); max-width: 70ch; }

/* ---------- 12. Ablauf (Flow) ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.flow__step { position: relative; padding-top: 30px; }
.flow__step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; background: var(--line);
  transform: scaleX(0); transform-origin: left; transition: transform 1.05s var(--ease); transition-delay: calc(var(--reveal-d, 0ms) + 120ms); }
.flow__step.is-in::before { transform: scaleX(1); }
.flow__step::after { content: ""; position: absolute; top: -3.5px; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); transform: scale(0); transition: transform .4s var(--ease-soft);
  transition-delay: var(--reveal-d, 0ms); }
.flow__step.is-in::after { transform: scale(1); }
.flow__n { display: block; font-size: 2.6rem; font-weight: 300; letter-spacing: -0.03em; color: var(--ink);
  opacity: .28; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.flow__step h3 { font-size: 1.18rem; margin-bottom: 9px; }
.flow__step p { color: var(--ink-2); font-size: .95rem; }

/* ---------- 13. 3D-Haus (Canvas) ---------- */
.house { overflow: hidden; }
.house__layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 84px); align-items: center; }
.house__stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-2xl);
  background: radial-gradient(85% 85% at 50% 32%, rgba(255,255,255,.05), rgba(255,255,255,0) 70%),
              linear-gradient(165deg, #1a2029 0%, #0c0e13 100%);
  border: 1px solid var(--line-on-ink); box-shadow: var(--shadow-l); overflow: hidden; cursor: grab; }
.house__stage.dragging { cursor: grabbing; }
.house__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.house__grid { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(72% 72% at 50% 46%, #000 40%, transparent 76%);
  -webkit-mask-image: radial-gradient(72% 72% at 50% 46%, #000 40%, transparent 76%); }
.house__pts { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; counter-reset: hp; }
.house__pts li { display: flex; gap: 14px; align-items: flex-start; }
.house__pts .n { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-on-ink); font-weight: 660; font-size: .86rem; color: #fff; }
.house__pts b { font-weight: 620; letter-spacing: -0.01em; color: var(--on-ink); }
.house__pts p { color: var(--on-ink-2); font-size: .94rem; margin-top: 3px; }
.house__check { margin-top: 28px; display: flex; gap: 13px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.05);
  border: 1px solid var(--line-on-ink); }
.house__check svg { flex: none; width: 24px; height: 24px; color: var(--accent); margin-top: 1px; }
.house__check p { font-size: .92rem; color: var(--on-ink-2); line-height: 1.5; }
.house__check b { display: block; margin-bottom: 5px; color: var(--on-ink); font-weight: 620; }

/* ---------- 14. Über mich ---------- */
.about__layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.about__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5;
  background: linear-gradient(158deg, #e9e6dd 0%, #d3cdbf 100%); box-shadow: var(--shadow-l); margin: 0; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: none; }
.about__photo--empty::after { content: "";
  background: no-repeat center / 44% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(20,22,28,0.14)'%3E%3Cpath d='M5 19h14V5z'/%3E%3C/svg%3E"); }
.about__badge { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 12px; border-radius: var(--r-full); background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-m); font-size: .86rem; font-weight: 600; z-index: 1; }
.about__badge svg { width: 20px; height: 20px; color: var(--accent-ink); }
.about__text h2 { margin-bottom: 30px; }
.area__text h2 { margin-bottom: 20px; }
.about__text p + p { margin-top: 15px; }
.about__text p { color: var(--ink-2); }
.about__facts { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 24px; }
.about__facts li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.about__facts svg { flex: none; width: 21px; height: 21px; color: var(--accent-ink); margin-top: 1px; }
.about__facts b { font-weight: 620; color: var(--ink); }

/* ---------- 15. Preise ---------- */
.price__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.price { position: relative; padding: 30px 28px 32px; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-s);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.price--feature { background: var(--bg-ink); color: var(--on-ink); border-color: transparent; box-shadow: var(--shadow-l); }
.price--feature h3, .price--feature .price__val { color: #fff; }
.price--feature .price__desc { color: var(--on-ink-2); }
.price__flag { position: absolute; top: -11px; left: 28px; font-size: .72rem; font-weight: 660; padding: 5px 12px;
  border-radius: var(--r-full); background: var(--accent); color: #fff; }
.price h3 { font-size: 1.16rem; margin-bottom: 6px; }
.price__desc { font-size: .9rem; color: var(--ink-3); min-height: 2.7em; }
.price__val { margin-top: 20px; font-size: 2.1rem; font-weight: 720; letter-spacing: -0.03em; color: var(--ink); }
.price__val .from { font-size: .46em; font-weight: 540; color: var(--ink-3); margin-right: 5px; letter-spacing: 0; }
.price__foot { margin-top: 28px; color: var(--ink-2); font-size: .92rem; text-align: center; }
.price__advantage { margin: 20px auto 0; max-width: 720px; display: flex; gap: 13px; align-items: flex-start;
  padding: 18px 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-s); font-size: .92rem; color: var(--ink-2); }
.price__advantage svg { flex: none; width: 22px; height: 22px; color: var(--accent-ink); margin-top: 1px; }
.price__advantage b { color: var(--ink); font-weight: 620; }

/* ---------- 16. Versprechen ---------- */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.promise__item { display: flex; gap: 15px; align-items: flex-start; }
.promise__item svg { flex: none; width: 30px; height: 30px; color: var(--accent-ink); }
.promise__item b { display: block; font-weight: 620; letter-spacing: -0.01em; margin-bottom: 4px; }
.promise__item p { color: var(--ink-2); font-size: .93rem; }

/* ---------- 17. Einsatzgebiet ---------- */
.area__layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.area__map { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-m); }
.area__map svg { width: 100%; height: 100%; }
.area__chips { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.area__chips li { padding: 9px 16px; border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 540; box-shadow: var(--shadow-s); }
.area__chips li.is-core { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 640; }

/* ---------- 18. FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left;
  padding: 25px 4px; font-size: clamp(1.04rem, 1.6vw, 1.2rem); font-weight: 620; letter-spacing: -0.02em; color: var(--ink); }
.faq__icon { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--line); position: relative; transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px;
  transition: transform .4s var(--ease), background-color .4s var(--ease); }
.faq__icon::before { width: 12px; height: 1.8px; }
.faq__icon::after { width: 1.8px; height: 12px; }
.faq__item.is-open .faq__icon { background: var(--ink); border-color: var(--ink); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg) scaleX(0); }
.faq__a { overflow: hidden; height: 0; transition: height .45s var(--ease); }
.faq__a-inner { padding: 0 4px 26px; color: var(--ink-2); max-width: 68ch; }
.faq__a-inner a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 19. Kontakt / Anfrage ---------- */
.contact__layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 72px); }
.contact__side h2 { margin-bottom: 18px; }
.contact__direct { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.contact__direct a, .contact__direct li > span { display: flex; align-items: center; gap: 14px; color: var(--on-ink); font-size: 1.02rem; }
.contact__direct .ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-on-ink); }
.contact__direct .ic svg { width: 20px; height: 20px; }
.contact__direct small { display: block; color: var(--on-ink-2); font-size: .8rem; font-weight: 500; }
.contact__direct b { font-weight: 600; }
.form { background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-l); color: var(--ink); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field label .req { color: var(--accent-ink); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink); font: inherit; font-size: .98rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease); }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237C8391' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 4px rgba(20,22,28,.06); }
.field--check { display: flex; align-items: flex-start; gap: 11px; font-size: .85rem; color: var(--ink-2); }
.field--check input { width: 19px; height: 19px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.field--check a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.form .btn { margin-top: 6px; }
.form__status { margin-top: 14px; font-size: .9rem; font-weight: 560; }
.form__note { margin-top: 16px; font-size: .82rem; color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 20. Footer ---------- */
.footer { background: var(--bg-ink); color: var(--on-ink-2); padding-block: clamp(48px, 7vw, 82px) 34px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px 30px; padding-bottom: 40px; border-bottom: 1px solid var(--line-on-ink); }
.footer .brand { color: var(--on-ink); }
.footer .brand__mark { border-color: var(--line-on-ink); color: var(--on-ink); }
.footer__blurb { margin-top: 16px; max-width: 34ch; font-size: .94rem; color: var(--on-ink-2); }
.footer__socials { margin-top: 22px; display: flex; gap: 10px; }
.footer__socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-on-ink); color: var(--on-ink);
  transition: background-color .3s var(--ease), transform .3s var(--ease); }
.footer__socials a:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.footer__socials svg { width: 19px; height: 19px; }
.footer__col h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-2); margin-bottom: 16px; font-weight: 620; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__col a, .footer__col span { font-size: .95rem; color: var(--on-ink); opacity: .82; transition: opacity .3s var(--ease); }
.footer__col a:hover { opacity: 1; }
.footer__bottom { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; font-size: .85rem; color: var(--on-ink-2); }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- 21. Cookie-Banner ---------- */
.cookie { position: fixed; left: var(--pad); right: var(--pad); bottom: 18px; z-index: 980; max-width: 460px; margin-left: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-xl); padding: 22px 24px;
  transform: translateY(180%); transition: transform .6s var(--ease); }
.cookie.is-in { transform: none; }
.cookie h4 { font-size: 1.02rem; margin-bottom: 8px; }
.cookie p { font-size: .88rem; color: var(--ink-2); }
.cookie p a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie__row { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__row .btn { padding: 12px 20px; font-size: .92rem; }

/* ---------- 22. Reveal & Utilities ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 1.05s var(--ease), transform 1.05s var(--ease);
  transition-delay: var(--reveal-d, 0ms); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.text-center { text-align: center; }

/* ---------- 23. Legal-Seiten ---------- */
.legal-hero { padding: calc(var(--nav-h) + 60px) 0 40px; background: var(--bg-deep); border-bottom: 1px solid var(--line-soft); }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal-hero p { margin-top: 12px; color: var(--ink-3); }
.legal { max-width: 800px; margin-inline: auto; padding-block: clamp(40px, 6vw, 72px); }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 40px 0 14px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal h3 { font-size: 1.12rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 1rem; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { margin: 12px 0; padding-left: 22px; display: grid; gap: 7px; }
.legal a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); }
.legal__meta { margin-top: 40px; padding: 18px 20px; border-radius: var(--r-md); background: var(--bg-deep); font-size: .9rem; color: var(--ink-3); }
.legal__box { padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); }
.legal__box p { font-size: 1.08rem; line-height: 1.6; color: var(--ink); }

/* 404 */
.err { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--pad); }
.err__code { font-size: clamp(5rem, 20vw, 11rem); font-weight: 740; letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
.err p { margin: 12px 0 28px; color: var(--ink-2); font-size: 1.1rem; }

/* =========================================================================
   24. Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .trust__row { grid-template-columns: 1fr 1fr; }
  .trust__row li:nth-child(2)::before { display: none; }
  .trust__row li:nth-child(3), .trust__row li:nth-child(4) { border-top: 1px solid var(--line); }
  .svc__grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .value__grid { grid-template-columns: 1fr; border-top: 0; }
  .value { border-top: 1px solid var(--line-on-ink); }
  .value + .value::before { display: none; }
  .value__num, .value__kicker { min-height: 0; }
  .price__grid { grid-template-columns: 1fr 1fr; }
  .promise { grid-template-columns: 1fr; gap: 22px; }
  .house__layout { grid-template-columns: 1fr; }
  .house__stage { max-width: 520px; margin-inline: auto; width: 100%; }
  .about__layout { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
  .area__layout { grid-template-columns: 1fr; }
  .contact__layout { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__burger { display: grid; }
  .hero { min-height: auto; align-items: flex-start; padding-top: calc(var(--nav-h) + 26px); padding-bottom: 60px; }
  .hero__cue { display: none; }
  .hero .btn-row { width: 100%; }
  .hero .btn-row .btn { flex: 1 1 auto; }
  .trust__row { grid-template-columns: 1fr; }
  .trust__row li + li::before { display: none; }
  .trust__row li + li { border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr; }
  .tile, .tile--wide { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .flow { grid-template-columns: 1fr; row-gap: 30px; }
  .price__grid { grid-template-columns: 1fr; }
  .about__facts { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .cookie { left: 12px; right: 12px; bottom: 12px; }
}

@media (min-width: 1400px) { :root { --maxw: 1240px; } }

/* ---------- 25. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__cue span::after { animation: none; }
  .area__ping { display: none; }
}

/* ---------- Kicker: sanftes Einblenden (kein Cursor) ---------- */
.value__kicker { opacity: 0; transform: translateY(12px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: .18s; }
.value.is-in .value__kicker { opacity: 1; transform: none; }

/* ---------- Einsatzgebiet: aktiver-Standort-Ping um München ---------- */
.area__ping { transform-box: fill-box; transform-origin: center;
  animation: areaPing 3.4s var(--ease-soft) infinite; }
.area__ping--2 { animation-delay: 1.7s; }
@keyframes areaPing {
  0%   { transform: scale(.5);  opacity: 0; }
  18%  { opacity: .5; }
  70%  { opacity: 0; }
  100% { transform: scale(2.7); opacity: 0; }
}
