/* ==========================================================================
   Gewerbeboxen Aarau – Stylesheet
   Designsprache nach DESIGN.md (billow.so): Serif-Display leicht, runde
   Grotesk, Navy/Slate-Typografie, ein einziger Blau-Akzent, Wolken als
   Atmosphäre, geschichtete Schatten, 0.5px-Hairlines, ruhige Bewegung.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("/assets/fonts/caveat-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Farbe */
  --ink: #001C2E;
  --ink-2: #00253D;
  --slate: #446278;
  --slate-2: #4D718C;
  --slate-3: #4C6476;
  --accent-a: #0080FF;
  --accent-b: #1400FF;
  --sky: #DBF3FF;
  --info: #E6F2FC;
  --hair: #E6EDF2;
  --surface: #FFFFFF;
  --surface-cool: #FCFDFF;
  --surface-alt: #FAFAFA;
  --subtle: #F5F5F5;
  --line: rgba(68, 98, 120, .19);
  --line-inset: rgba(77, 113, 140, .24);
  --glass: rgba(255, 255, 255, .78);

  /* Typo */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;

  --fs-display: clamp(46px, 6.4vw, 92px);
  --fs-h2: clamp(36px, 4.45vw, 64px);
  --fs-h3: clamp(26px, 2.5vw, 36px);
  --fs-lead: clamp(16px, 1.25vw, 18px);
  --fs-body: 15px;

  /* Raum */
  --gutter: 24px;
  --max: 1200px;
  --pad-xl: clamp(104px, 11vw, 160px);
  --pad-l: clamp(80px, 8.4vw, 120px);
  --pad-m: clamp(56px, 5.6vw, 80px);
  --pad-s: clamp(32px, 3.4vw, 48px);
  --gap-head: clamp(48px, 7vw, 100px);

  /* Radien */
  --r-pill: 999px;
  --r-frame: 20px;
  --r-card: 12px;
  --r-m: 10px;
  --r-s: 8px;

  /* Schatten (geschichtet, Navy-getönt) */
  --shadow-card:
    0 .6px .6px -1.25px rgba(0, 7, 26, .12),
    0 2.29px 2.29px -2.5px rgba(0, 7, 26, .11),
    0 10px 10px -3.75px rgba(0, 7, 26, .04);
  --shadow-cta:
    0 .72px 2.75px -1.17px rgba(0, 64, 255, .22),
    0 2.75px 10.44px -2.33px rgba(0, 64, 255, .19),
    0 12px 45.6px -3.5px rgba(0, 64, 255, .10);
  --shadow-float:
    0 .64px 3.18px -.875px rgba(1, 27, 46, .03),
    0 1.93px 9.66px -1.75px rgba(1, 27, 46, .03),
    0 5.11px 25.5px -2.625px rgba(1, 27, 46, .02),
    0 16px 80px -3.5px rgba(1, 27, 46, .01);
  --shadow-deep:
    0 1.68px 2.35px -.25px rgba(0, 0, 0, .02),
    0 3.98px 5.57px -.5px rgba(0, 0, 0, .02),
    0 7.26px 10.17px -.75px rgba(0, 0, 0, .02),
    0 12.07px 16.9px -1px rgba(0, 0, 0, .02),
    0 19.5px 27.29px -1.25px rgba(0, 0, 0, .02),
    0 31.91px 44.68px -1.5px rgba(0, 0, 0, .02),
    0 54.95px 76.93px -1.75px rgba(0, 0, 0, .03),
    0 100px 140px -2px rgba(0, 0, 0, .03);
  --shadow-small:
    0 .48px .34px -1.75px rgba(1, 27, 46, .16),
    0 4px 2.8px -3.5px rgba(1, 27, 46, .07);

  /* Bewegung */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: .15s;
  --dur-reveal: .3s;
  --dur-link: .6s;
}

@supports (color: color(display-p3 1 1 1)) {
  :root {
    --accent-a: color(display-p3 .16 .49 .98);
    --accent-b: color(display-p3 .07 0 1);
  }
}

/* --- Basis --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
address { font-style: normal; }

::selection { background: var(--sky); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent-a);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: top var(--dur-fast) ease;
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Typografie ---------------------------------------------------------- */
.display, .h2, .h3, .serif {
  text-wrap: balance;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  color: var(--ink);
}

.display {
  font-size: var(--fs-display);
  font-weight: 340;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 340;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.h3 {
  font-size: var(--fs-h3);
  font-weight: 360;
  line-height: 1.1;
  letter-spacing: -.04em;
}
.tone { color: var(--slate); }
.display .tone, .h2 .tone { display: block; }

.lead {
  text-wrap: pretty;
  font-size: var(--fs-lead);
  font-weight: 450;
  line-height: 1.5;
  letter-spacing: -.025em;
  color: var(--slate);
}
.small { font-size: 13px; line-height: 1.5; letter-spacing: -.015em; }
.caption { font-size: 12px; line-height: 1.5; letter-spacing: -.01em; color: var(--slate-2); font-weight: 450; }
.muted { color: var(--slate-2); }

/* Text-Link mit langsamer Unterstreichung */
.link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(0, 28, 46, .22);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    color var(--dur-link) var(--ease),
    text-decoration-color var(--dur-link) var(--ease),
    text-underline-offset var(--dur-link) var(--ease);
}
.link:hover {
  text-decoration-color: currentColor;
  text-underline-offset: 6px;
}
button.link { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 500; }

/* --- Pill-Label (Badge) -------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 .5px var(--line);
  color: var(--slate-2);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.pill--glass {
  background: linear-gradient(121deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.55) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 .5px var(--line-inset), var(--shadow-small);
  color: var(--slate);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-a), var(--accent-b));
}
.pill--sky { background: var(--sky); box-shadow: none; color: var(--ink-2); }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  --pad: 12px 20px 12px 26px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pad);
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    background-color var(--dur-fast) ease,
    color var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease,
    transform var(--dur-fast) ease;
}
.btn:active { transform: scale(.985); }
.btn svg { width: 14px; height: 14px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(2px); }

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent-a) 0%, var(--accent-b) 100%);
  box-shadow: var(--shadow-cta), inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(0,0,0,.08);
}
/* Glanzreflex beim Hover: weisser, weichgezeichneter Lichtstreifen */
.btn--primary::after {
  content: "";
  position: absolute;
  top: -18px;
  bottom: -18px;
  left: -40px;
  width: 26px;
  z-index: -1;
  background: #fff;
  filter: blur(10px);
  opacity: 0;
  transform: rotate(20deg);
  pointer-events: none;
}
.btn--primary:hover::after { animation: shine .9s var(--ease) forwards; }
@keyframes shine {
  0%   { left: -40px; opacity: 0; }
  20%  { opacity: .55; }
  100% { left: calc(100% + 20px); opacity: 0; }
}

.btn--ghost {
  color: var(--ink);
  background: var(--surface);
  box-shadow: inset 0 0 0 .5px var(--line-inset), var(--shadow-card);
}
.btn--ghost:hover { background: var(--surface-alt); }

.btn--small { --pad: 9px 16px 9px 20px; font-size: 13px; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 .5px var(--line-inset), var(--shadow-card);
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, opacity var(--dur-fast) ease;
}
.icon-btn:hover { background: var(--surface-alt); }
.icon-btn:disabled { opacity: .4; cursor: default; }
.icon-btn svg { width: 16px; height: 16px; }

/* --- Karten & Rahmen ----------------------------------------------------- */
.card {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: 0 0 0 .5px var(--line), var(--shadow-card);
}

.frame {
  position: relative;
  padding: 8px;
  border-radius: var(--r-frame);
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 .5px var(--line-inset), var(--shadow-float), var(--shadow-deep);
}
.frame > img,
.frame__media {
  border-radius: 14px;
  overflow: hidden;
}

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 .5px var(--line-inset), var(--shadow-card);
}

/* --- Wolken (Atmosphäre) ------------------------------------------------- */
.clouds {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: transform;
}

/* --- Reveal (kaum wahrnehmbar) ------------------------------------------ */
.js .reveal {
  opacity: .001;
  transform: scale(.996);
  transition:
    opacity var(--dur-reveal) var(--ease) .2s,
    transform var(--dur-reveal) var(--ease) .2s;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease;
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--hair);
}
.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.brand__mark { width: 30px; height: 20px; flex: none; }
.brand__mark rect { fill: var(--ink); }
.brand__mark .alt { fill: var(--slate-2); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  color: var(--slate);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.nav__links a:hover { color: var(--ink); background: rgba(0, 28, 46, .04); }

.nav__right { display: flex; align-items: center; gap: 8px; }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--glass);
  box-shadow: inset 0 0 0 .5px var(--line-inset);
  cursor: pointer;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before {
  position: absolute;
  left: 13px;
  width: 14px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span { top: 16px; }
.nav__toggle span::before { content: ""; left: 0; top: 6px; }
.nav.is-open .nav__toggle span { top: 19px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span::before { top: 0; transform: rotate(-90deg); }

.nav__drawer { display: none; }

@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-block; }
  .nav__cta { display: none; }
  .nav__drawer {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .nav.is-open .nav__drawer { max-height: 480px; }
  .nav__drawer ul { padding: 8px 0 24px; }
  .nav__drawer li + li { border-top: 1px solid var(--hair); }
  .nav__drawer a:not(.btn) {
    display: block;
    padding: 14px 0;
    font-family: var(--font-display);
    font-variation-settings: "SOFT" 100, "WONK" 0;
    font-size: 24px;
    font-weight: 360;
    letter-spacing: -.03em;
    color: var(--ink);
    text-decoration: none;
  }
  .nav__drawer .btn { margin-top: 16px; width: 100%; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(64px + var(--pad-xl) - 40px) 0 var(--pad-s);
  background: linear-gradient(180deg, var(--surface-alt) 24%, var(--surface) 100%);
  overflow: clip;
}
.hero .clouds {
  inset: -150px 0 auto 0;
  height: calc(min(1100px, 120vw) + 150px);
  background-image: url("/assets/img/clouds-hero.webp");
  background-position: center top;
  opacity: .62;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 88%);
}
.hero__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 980px;
  margin-inline: auto;
}
.hero__head .lead { max-width: 600px; color: var(--slate); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.hero__visual {
  position: relative;
  max-width: 1100px;
  margin: clamp(56px, 6vw, 80px) auto 0;
}
.hero__visual .frame__media { aspect-ratio: 16 / 9; }
.hero__visual .frame__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

.listing {
  position: absolute;
  left: -28px;
  bottom: 44px;
  width: 268px;
  padding: 18px 18px 16px;
  border-radius: 14px;
}
.listing__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
}
.listing__area {
  margin-top: 10px;
  font-size: 44px;
  line-height: 1;
}
.listing__area small {
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--slate);
  margin-left: 4px;
}
.listing__rows {
  margin-top: 14px;
  border-top: .5px solid var(--line);
}
.listing__rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: .5px solid var(--line);
  font-size: 12px;
}
.listing__rows dt { color: var(--slate-2); font-weight: 500; }
.listing__rows dd { color: var(--ink); font-weight: 600; }
.listing__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  color: var(--slate-2);
}
.listing__price strong { font-size: 16px; color: var(--ink); font-weight: 600; letter-spacing: -.02em; }

.chip {
  position: absolute;
  top: 28px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.chip svg { width: 14px; height: 14px; color: var(--slate); }

.note-hand {
  position: absolute;
  right: 8px;
  top: -82px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-family: var(--font-hand);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: var(--slate);
  transform: rotate(-3deg);
  pointer-events: none;
}
.note-hand svg { width: 52px; height: 56px; margin-top: 18px; color: var(--slate-2); }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: clamp(56px, 6vw, 72px) auto 0;
}
.fact {
  padding: 4px 24px;
  border-left: .5px solid var(--line);
}
.fact:first-child { border-left: 0; }
.fact__num {
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 340;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.fact__num small {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--slate);
  margin-left: 3px;
}
.fact__label { margin-top: 8px; font-size: 13px; color: var(--slate-2); }

@media (max-width: 1199px) {
  .listing { left: 24px; bottom: 24px; }
  .note-hand { display: none; }
}
@media (max-width: 809px) {
  .hero__visual .frame__media { aspect-ratio: 4 / 3; }
  .listing {
    position: static;
    width: auto;
    margin-top: 8px;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: inset 0 0 0 .5px var(--line);
  }
  .chip { top: 16px; right: 16px; font-size: 12px; padding: 6px 12px; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .fact { padding: 0 16px; }
  .fact:nth-child(3) { border-left: 0; }
}

/* ==========================================================================
   Sektionen allgemein
   ========================================================================== */
.section { position: relative; }
.section--boxen    { padding: var(--pad-xl) 0 var(--pad-l); }
.section--geschoss { padding: var(--pad-m) 0 var(--pad-m); }
.section--ausbau   { padding: var(--pad-l) 0 var(--pad-l); background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 26%); }
.section--bilder   { padding: var(--pad-s) 0 var(--pad-m); background: var(--surface-alt); overflow: clip; }
.section--lage     { padding: var(--pad-l) 0 var(--pad-l); background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 30%); overflow: clip; }
.section--faq      { padding: var(--pad-m) 0 var(--pad-m); }
.section--kontakt  { padding: var(--pad-l) 0 var(--pad-xl); overflow: clip; }

.head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto var(--gap-head);
}
.head .lead { max-width: 600px; }
.head--left { align-items: flex-start; text-align: left; margin-inline: 0; }

/* ==========================================================================
   Boxen
   ========================================================================== */
.panel {
  border-radius: 16px;
  overflow: hidden;
}
.panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 10px 12px 10px 20px;
  border-bottom: .5px solid var(--line);
  background: var(--surface-cool);
}
.panel__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.panel__title span { color: var(--slate-2); font-weight: 500; }

.seg {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: var(--r-pill);
  background: var(--subtle);
  box-shadow: inset 0 0 0 .5px var(--line);
}
.seg button {
  border: 0;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-2);
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"],
.seg button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-small), inset 0 0 0 .5px var(--line);
}

.schema {
  position: relative;
  overflow-x: auto;
  scrollbar-width: none;
}
.schema::-webkit-scrollbar { display: none; }
.schema svg {
  min-width: 720px;
  width: 100%;
  height: auto;
  padding: 20px 24px 8px;
  font-family: var(--font-text);
}
.schema .cap { font-size: 11px; fill: var(--slate-2); font-weight: 500; letter-spacing: -.01em; }
.schema .wall { fill: none; stroke: var(--ink); }
.schema .eglin .fill { fill: url(#hatch); }
.schema .eglin .lbl { font-size: 14px; font-weight: 600; fill: var(--slate); }
.schema .eglin .sub { font-size: 11px; fill: var(--slate-2); }
.schema .unit { cursor: pointer; outline: none; }
.schema .unit .fill { fill: #fff; transition: fill .3s var(--ease); }
.schema .unit:hover .fill { fill: #F1F9FF; }
.schema .unit.is-selected .fill { fill: var(--sky); }
.schema .unit:focus-visible .fill { fill: #F1F9FF; stroke: var(--accent-a); stroke-width: 2; }
.schema .unit .lbl { font-size: 15px; font-weight: 600; fill: var(--ink); letter-spacing: -.02em; }
.schema .unit .sub { font-size: 12px; font-weight: 500; fill: var(--slate); }
.schema .unit .area {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: 30px; font-weight: 360; fill: var(--ink); letter-spacing: -.04em;
}
.schema .gate { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.schema .stair line, .schema .stair rect { stroke: var(--slate-2); stroke-width: 1; fill: none; }
.schema .street { stroke: var(--line); stroke-dasharray: 6 6; }
.panel .is-og-only { display: none; }
.panel[data-floor="og"] .is-og-only { display: inline; }
.panel[data-floor="og"] .is-eg-only, .panel[data-floor="og"] .is-eg-legend { display: none; }

.panel__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 12px 20px 16px;
  font-size: 12px;
  color: var(--slate-2);
}
.panel__legend i {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top: 4px solid var(--ink);
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 8px;
}
.panel__legend i.l-sel {
  width: 12px; height: 12px; border: 0; border-radius: 3px;
  background: var(--sky); box-shadow: inset 0 0 0 1px var(--ink);
}
.panel__legend .hint { margin-left: auto; }

.boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.box {
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.box.is-selected {
  box-shadow: 0 0 0 1.5px var(--ink-2), var(--shadow-float), var(--shadow-card);
}
.box__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.box__name { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.box__area {
  margin-top: 28px;
  font-size: 64px;
  line-height: .95;
  font-weight: 330;
  letter-spacing: -.05em;
}
.box__area small {
  font-family: var(--font-text);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--slate);
  margin-left: 4px;
}
.box__sub { margin-top: 8px; font-size: 13px; color: var(--slate-2); }
.box__spec { margin-top: 24px; border-top: .5px solid var(--line); }
.box__spec div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: .5px solid var(--line);
  font-size: 13px;
}
.box__spec dt { color: var(--slate-2); }
.box__spec dd { color: var(--ink); text-align: right; }
.box__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 20px;
}
.box__price strong { font-size: 20px; font-weight: 600; letter-spacing: -.025em; color: var(--ink); }
.box__price span { font-size: 12px; color: var(--slate-2); text-align: right; }
.box .btn { margin-top: auto; }

.boxes__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 24px;
}
.boxes__foot .caption { max-width: 640px; }
.boxes__plans { display: flex; gap: 20px; font-size: 13px; }

@media (max-width: 1023px) {
  .boxes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .panel__legend .hint { margin-left: 0; width: 100%; }
}
@media (max-width: 809px) {
  .schema svg { min-width: 560px; padding: 16px 12px 4px; }
  .schema .cap { font-size: 16px; }
  .schema .eglin .lbl { font-size: 20px; }
  .schema .eglin .sub { font-size: 15px; }
  .schema .unit .lbl { font-size: 22px; }
  .schema .unit .area { font-size: 40px; }
  .schema .unit .sub { font-size: 17px; }
  .schema {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 100%);
  }
  .panel__title .t { display: none; }
}

/* ==========================================================================
   Geschosse
   ========================================================================== */
.floors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.floor { padding: 8px; display: flex; flex-direction: column; }
.floor__media {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: var(--subtle);
}
.floor__media img { width: 100%; height: 100%; object-fit: cover; }
.floor__body { padding: 24px 20px 20px; display: flex; flex-direction: column; gap: 16px; }
.floor__list { border-top: .5px solid var(--line); margin-top: 4px; }
.floor__list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: .5px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}
.floor__list li span { color: var(--slate-2); min-width: 116px; font-size: 13px; }
.floors__note { margin-top: 16px; text-align: center; }

@media (max-width: 809px) {
  .floors { grid-template-columns: 1fr; }
  .floor__body { padding: 20px 12px 12px; }
  .floor__list li span { min-width: 96px; }
}

/* ==========================================================================
   Ausbau
   ========================================================================== */
.materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.material { padding: 8px; }
.material__media { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--subtle); }
.material__media img { width: 100%; height: 100%; object-fit: cover; }
.material__body { padding: 20px 14px 16px; }
.material__body .caption { font-weight: 500; }
.material__body .h3 { margin-top: 6px; font-size: 28px; }
.material__body p:last-child { margin-top: 10px; font-size: 14px; color: var(--slate); line-height: 1.55; }

.spec {
  margin-top: 16px;
  padding: 28px 32px 20px;
}
.spec__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.spec__head h3 { font-size: 15px; font-weight: 600; }
.spec__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
}
.spec__grid div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
  border-bottom: .5px solid var(--line);
  font-size: 14px;
}
.spec__grid dt { color: var(--slate-2); font-size: 13px; flex: none; }
.spec__grid dd { text-align: right; color: var(--ink); }

@media (max-width: 1023px) {
  .materials { grid-template-columns: 1fr 1fr; }
  .materials .material:last-child { grid-column: 1 / -1; }
  .spec__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .materials { grid-template-columns: 1fr; }
  .material__media { aspect-ratio: 16 / 9; }
  .spec { padding: 20px 20px 12px; }
  .spec__head h3 { white-space: nowrap; }
  .spec__grid div { gap: 16px; padding: 11px 0; font-size: 13px; }
  .spec__grid dt { flex: 0 0 104px; font-size: 12px; }
}

/* ==========================================================================
   Bilder (horizontaler Streifen)
   ========================================================================== */
.strip {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2)) 24px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.strip::-webkit-scrollbar { display: none; }
.strip__item {
  position: relative;
  flex: none;
  height: clamp(280px, 32vw, 460px);
  padding: 0;
  border: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--subtle);
  scroll-snap-align: start;
  cursor: zoom-in;
  box-shadow: 0 0 0 .5px var(--line), var(--shadow-card);
}
.strip__item img {
  height: 100%;
  width: auto;
  max-width: none;
  transition: transform .8s var(--ease);
}
.strip__item:hover img { transform: scale(1.02); }
.strip__item figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.strip__item:hover figcaption,
.strip__item:focus-visible figcaption { opacity: 1; transform: none; }
.strip__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}
.strip__ctrl { display: flex; gap: 8px; }

@media (hover: none) {
  .strip__item figcaption { opacity: 1; transform: none; }
}
@media (max-width: 809px) {
  .strip__item { height: 260px; max-width: 84vw; }
  .strip__item img { width: 100%; height: 100%; object-fit: cover; }
}

/* ==========================================================================
   Lage
   ========================================================================== */
.section--lage .clouds {
  right: -12%;
  top: -40px;
  width: 62%;
  height: 120%;
  background-image: url("/assets/img/clouds-band.webp");
  background-position: center;
  opacity: .5;
  -webkit-mask-image: radial-gradient(60% 55% at 60% 50%, #000 30%, transparent 72%);
  mask-image: radial-gradient(60% 55% at 60% 50%, #000 30%, transparent 72%);
}
.lage {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.lage .head { margin-bottom: 32px; }
.lage .h2 .tone { display: inline; }
.places li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: .5px solid var(--line);
  font-size: 15px;
  color: var(--ink);
}
.places li:first-child { border-top: .5px solid var(--line); }
.places .ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: var(--r-s);
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 .5px var(--line);
  color: var(--slate);
}
.places .ico svg { width: 17px; height: 17px; }

.map .frame__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(219,243,255,.85) 0%, rgba(219,243,255,0) 70%),
    linear-gradient(var(--hair) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--hair) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--surface-cool);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}
.map__pin {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-card), 0 0 0 8px rgba(255,255,255,.6);
  color: var(--ink);
}
.map__pin svg { width: 20px; height: 20px; }
.map__ph .serif { font-size: 26px; font-weight: 360; letter-spacing: -.035em; line-height: 1.15; }
.map__ph .caption { max-width: 320px; }
.map__links { display: flex; gap: 20px; margin-top: 16px; padding-left: 8px; font-size: 13px; }

@media (max-width: 899px) {
  .lage { grid-template-columns: 1fr; }
  .section--lage .clouds { width: 100%; right: 0; opacity: .35; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.025em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 .5px var(--line);
  transition: transform .4s var(--ease), background-color var(--dur-fast) ease;
}
.faq summary .plus::before,
.faq summary .plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 1.5px;
  margin: -.75px 0 0 -5px;
  background: var(--ink);
  border-radius: 2px;
}
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--sky); }
.faq summary:hover .plus { background: var(--sky); }
.faq .answer {
  max-width: 640px;
  padding: 0 52px 24px 0;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.section--kontakt .clouds {
  inset: auto 0 -150px 0;
  height: calc(85% + 150px);
  background-image: url("/assets/img/clouds-band.webp");
  background-position: center bottom;
  opacity: .62;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 39%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 39%);
}
.section--kontakt::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%);
}
.contact {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}
.person {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  border-radius: 16px;
}
.person__id { display: flex; align-items: center; gap: 14px; }
.avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  box-shadow: inset 0 0 0 .5px var(--line);
}
.person__name { font-size: 26px; font-weight: 360; letter-spacing: -.035em; line-height: 1.1; }
.person__role { font-size: 13px; color: var(--slate-2); margin-top: 2px; }
.person__lines { border-top: .5px solid var(--line); }
.person__lines li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: .5px solid var(--line);
  font-size: 14px;
}
.person__lines svg { width: 16px; height: 16px; margin-top: 2px; color: var(--slate); flex: none; }
.person__lines a { text-decoration: none; }
.person__lines a:hover { text-decoration: underline; text-underline-offset: 4px; }
.steps { margin-top: auto; padding: 18px; border-radius: var(--r-card); background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 .5px var(--line); }
.steps__title { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--slate); line-height: 1.45; }
.steps li span {
  display: grid; place-items: center; flex: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sky); color: var(--ink); font-size: 11px; font-weight: 600;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 28px;
  border-radius: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--r-m);
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 .5px var(--line-inset);
  font: 500 15px/1.4 var(--font-text);
  letter-spacing: -.02em;
  color: var(--ink);
  transition: box-shadow var(--dur-fast) ease, background-color var(--dur-fast) ease;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23446278' stroke-width='1.5'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8BA0B0; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(0, 28, 46, .55), 0 0 0 4px rgba(0, 128, 255, .12);
}
.field.is-invalid input { box-shadow: inset 0 0 0 1px #FF4040, 0 0 0 4px rgba(255, 64, 64, .10); }
.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 6px;
}
.form__foot .caption { flex: 1 1 240px; }
.form__status { grid-column: 1 / -1; font-size: 13px; color: var(--slate); min-height: 1px; }
.form__status:empty { display: none; }
.form__status.is-error {
  padding: 12px 14px;
  border-radius: var(--r-m);
  background: #FFF4F4;
  box-shadow: inset 0 0 0 .5px rgba(255, 64, 64, .35);
  color: #A82424;
}
.form__status .btn { margin-top: 10px; }
.btn[disabled] { opacity: .72; cursor: progress; }
.btn[disabled]::after { display: none; }

/* Honeypot gegen Spam-Bots */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Bestätigung nach dem Versand */
.form__done { display: none; }
.form.is-sent > *:not(.form__done) { display: none; }
.form.is-sent .form__done {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  min-height: 360px;
  padding: 8px 4px;
  outline: none;
}
.form__check {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--ink);
  box-shadow: inset 0 0 0 .5px var(--line);
}
.form__check svg { width: 24px; height: 24px; }
.form__done-title { font-size: clamp(28px, 2.6vw, 36px); font-weight: 340; letter-spacing: -.04em; line-height: 1.1; }
.form__done .lead { max-width: 460px; }

@media (max-width: 899px) {
  .contact { grid-template-columns: 1fr; max-width: 600px; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; padding: 20px; }
  .person { padding: 22px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  z-index: 2;
  padding: 56px 0 32px;
  background: var(--surface);
  border-top: 1px solid var(--hair);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer__brand p { margin-top: 14px; max-width: 300px; font-size: 13px; color: var(--slate-2); }
.footer h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer address,
.footer li { font-size: 13px; line-height: 1.9; color: var(--slate); }
.footer a { text-decoration: none; transition: color var(--dur-fast) ease; }
.footer a:hover { color: var(--ink); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: .5px solid var(--line);
  font-size: 12px;
  color: var(--slate-2);
}
.footer__bottom ul { display: flex; gap: 20px; }
.footer__bottom li { line-height: 1.5; font-size: 12px; }

@media (max-width: 809px) {
  .footer { padding-bottom: 104px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Mobile Anfrage-Leiste */
.mbar { display: none; }
@media (max-width: 809px) {
  .mbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .84);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 .5px var(--line-inset), var(--shadow-float), var(--shadow-card);
    transform: translateY(calc(100% + 24px));
    transition: transform .45s var(--ease);
  }
  .mbar.is-visible { transform: none; }
  .mbar .btn--primary { flex: 1; }
  .mbar .icon-btn { width: 44px; height: 44px; flex: none; box-shadow: inset 0 0 0 .5px var(--line-inset); }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 24px;
  background: rgba(0, 28, 46, .62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: var(--shadow-deep);
  transform: scale(.996);
  transition: transform .3s var(--ease);
}
.lightbox.is-open .lightbox__stage img { transform: none; }
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1100px;
  width: 100%;
  margin: 16px auto 0;
  color: #fff;
  font-size: 13px;
}
.lightbox__nav { display: flex; gap: 8px; }
.lightbox .icon-btn { background: rgba(255,255,255,.9); }
.lightbox__close { position: absolute; top: 20px; right: 20px; }

/* ==========================================================================
   Rechtsseiten
   ========================================================================== */
.legal { padding: calc(64px + 80px) 0 96px; }
.legal .container { max-width: calc(760px + var(--gutter) * 2); }
.legal .display { font-size: clamp(40px, 5vw, 64px); margin: 16px 0 40px; }
.legal h2 { font-size: 17px; font-weight: 600; margin: 36px 0 10px; letter-spacing: -.025em; }
.legal p { color: var(--slate); line-height: 1.65; margin-bottom: 12px; }
.legal a { color: var(--ink); }

/* ==========================================================================
   Reduzierte Bewegung
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .clouds { transform: none !important; }
}
