/* =============================================================
   HÖLLER & RADA Development – Stylesheet
   Gestaltung nach Apple-Prinzipien: Systemschrift mit
   größenabhängiger Laufweite, viel Weißraum, transluzente
   Navigation, große ruhige Flächen, Bewegung nur als Feedback.
   Keine Inline-Styles (Content-Security-Policy in .htaccess).
   ============================================================= */

/* ---------- 1. Farben, Maße, Bewegung ---------- */
:root {
  --ink: #1d1d1b;
  --ink-2: #62615b;
  --ink-3: #8b8a83;
  --brand: #33322f;
  --brand-deep: #232220;
  --paper: #f5f5f2;
  --paper-2: #ebeae5;
  --white: #fff;
  --sage-50: #f2f6ee;
  --sage-100: #e6eedd;
  --sage-200: #d2e0c3;
  --sage-400: #a9bc95;
  --sage-700: #56654a;
  --link: #47652f;
  --line: rgba(29, 29, 27, .13);
  --line-soft: rgba(29, 29, 27, .08);
  --on-dark: #f5f5f2;
  --on-dark-2: rgba(245, 245, 242, .7);
  --on-dark-line: rgba(255, 255, 255, .14);
  --danger-bg: #fcefed;
  --danger: #9f2a1f;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-xl: 32px;
  --radius-l: 24px;
  --radius-m: 18px;
  --radius-s: 12px;
  --gutter: clamp(20px, 4.5vw, 44px);
  --wide: 1200px;
  --nav-h: 56px;

  /* Kritisch gedämpft (Apple: damping 1.0) – setzt weich auf, ohne Überschwingen */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 20px rgba(0, 0, 0, .05);
  --shadow-2: 0 2px 8px rgba(0, 0, 0, .06), 0 22px 56px rgba(0, 0, 0, .12);

  --glass: rgba(255, 255, 255, .74);
  --glass-solid: rgba(255, 255, 255, .97);
  --glass-dark: rgba(29, 29, 27, .56);
}

/* ---------- 2. Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;          /* 17 px – Apples Fließtextgröße */
  line-height: 1.53;
  letter-spacing: -.01em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
sub { font-size: .7em; line-height: 0; }

p, li, dd { text-wrap: pretty; hyphens: auto; }
@media (min-width: 900px) { p, li, dd { hyphens: manual; } }
h1, h2, h3, h4 { text-wrap: balance; }

:focus-visible { outline: 3px solid var(--sage-400); outline-offset: 3px; }

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .875rem; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- 3. Typografie (Laufweite je Größe) ---------- */
.display {
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.25rem);
  line-height: 1.03;
  letter-spacing: -.032em;
  font-weight: 600;
}
.h1 {
  font-size: clamp(2.4rem, 1.5rem + 4vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 600;
}
.h2 {
  font-size: clamp(2rem, 1.3rem + 2.9vw, 3.5rem);
  line-height: 1.07;
  letter-spacing: -.027em;
  font-weight: 600;
}
.h3 {
  font-size: clamp(1.5rem, 1.22rem + 1.1vw, 2.125rem);
  line-height: 1.12;
  letter-spacing: -.022em;
  font-weight: 600;
}
.h4 {
  font-size: 1.3125rem;
  line-height: 1.24;
  letter-spacing: -.017em;
  font-weight: 600;
}
.lead {
  font-size: clamp(1.1875rem, 1.06rem + .55vw, 1.5rem);
  line-height: 1.42;
  letter-spacing: -.016em;
  color: var(--ink-2);
}
.body-l { font-size: 1.1875rem; line-height: 1.5; letter-spacing: -.014em; }
.small { font-size: .875rem; line-height: 1.43; letter-spacing: -.004em; }
.tiny { font-size: .75rem; line-height: 1.5; letter-spacing: 0; }
.muted { color: var(--ink-2); }
.soft { color: var(--ink-3); }
.strong { font-weight: 600; }
.nowrap { white-space: nowrap; }

.eyebrow {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--sage-700);
}
.section--dark .eyebrow { color: var(--sage-400); }

.section--dark .lead,
.section--dark .muted { color: var(--on-dark-2); }

/* ---------- 4. Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.container--text { width: min(100% - 2 * var(--gutter), 980px); }
.container--narrow { width: min(100% - 2 * var(--gutter), 760px); }

.section { padding-block: clamp(80px, 9.5vw, 148px); }
.section--tight { padding-block: clamp(56px, 6vw, 96px); }
.section--paper { background: var(--paper); }
.section--sage { background: var(--sage-100); }
.section--dark { background: var(--brand-deep); color: var(--on-dark); }
.section--line { border-top: 1px solid var(--line-soft); }

.section-head { max-width: 780px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head > * + * { margin-top: 14px; }
.section-head > .lead { margin-top: 22px; }

.split { display: grid; gap: 28px; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--wide-right { grid-template-columns: 5fr 7fr; }
  .split--end { align-items: end; }
}

.grid { display: grid; gap: clamp(14px, 1.8vw, 24px); }
@media (min-width: 640px) {
  .grid--2, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.mt-s { margin-top: 16px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.mt-xl { margin-top: clamp(56px, 7vw, 96px); }
.center { text-align: center; }
.prose > * + * { margin-top: 1.1em; }

/* ---------- 5. Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px;
  font-size: 1.0625rem; font-weight: 500; line-height: 1.2; letter-spacing: -.012em;
  text-align: center; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .16s var(--ease);
  -webkit-user-select: none; user-select: none;
}
/* Feedback beim Drücken – sofort, nicht erst beim Loslassen */
.btn:active { transform: scale(.97); transition-duration: .06s; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; }
.btn--secondary { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--secondary:hover { box-shadow: inset 0 0 0 1px rgba(29, 29, 27, .45); }
.btn--light { background: var(--sage-100); color: var(--brand); }
.btn--light:hover { background: #fff; }
.btn--outline-dark { color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.btn--outline-dark:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.btn--sm { min-height: 34px; padding: 6px 15px; font-size: .875rem; gap: 6px; }
.btn--sm svg { width: 14px; height: 14px; }
.btn--block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.btn-row--center { justify-content: center; }

.link {
  display: inline-flex; align-items: center; gap: 3px;
  color: var(--link);
  font-weight: 400;
}
.link:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.link svg { width: .72em; height: .72em; flex-shrink: 0; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(2px); }
.link--l { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.section--dark .link { color: var(--sage-200); }

.text-link { color: var(--link); text-decoration: underline; text-decoration-color: rgba(71, 101, 47, .35); text-underline-offset: .2em; }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- 6. Pillen & Chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-size: .8125rem; font-weight: 500; letter-spacing: -.003em; line-height: 1.3;
  background: var(--paper); color: var(--ink-2);
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-700); flex-shrink: 0; }
.pill--sage { background: var(--sage-100); color: var(--brand); }
.pill--dark { background: rgba(255, 255, 255, .1); color: var(--on-dark); }
.pill--dark .pill__dot { background: var(--sage-400); }
.pill--glass {
  background: var(--glass-dark); color: #fff;
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
}
.pill--glass .pill__dot { background: var(--sage-200); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 13px; border-radius: 999px; background: var(--paper); font-size: .875rem; }

/* ---------- 7. Globale Navigation (transluzent) ---------- */
.gnav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.gnav.is-scrolled { border-bottom-color: var(--line-soft); }
.gnav.is-open { background: var(--glass-solid); border-bottom-color: transparent; }
.gnav--static { position: relative; border-bottom-color: var(--line-soft); }

/* Über dunklen Abschnitten wechselt die Navigation auf dunkles Glas */
.gnav.is-dark { background: rgba(29, 29, 27, .72); border-bottom-color: rgba(255, 255, 255, .08); }
.gnav.is-dark .brand__name, .gnav.is-dark .menu-btn { color: var(--on-dark); }
.gnav.is-dark .brand__sub { color: var(--on-dark-2); }
.gnav.is-dark .gnav__links a { color: rgba(245, 245, 242, .78); }
.gnav.is-dark .gnav__links a:hover { color: #fff; }
.gnav.is-dark .btn--primary { background: var(--sage-100); color: var(--brand); }
.gnav.is-dark .btn--primary:hover { background: #fff; }
.gnav .brand__name, .gnav .brand__sub, .gnav__links a, .gnav .btn { transition: color .3s var(--ease), background-color .3s var(--ease); }

.gnav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; border-radius: 10px; }
.brand__mark {
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 9px; background: var(--sage-100);
}
.brand__mark svg { height: 20px; width: auto; color: var(--brand); }
.brand__text { line-height: 1; white-space: nowrap; }
.brand__name { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; color: var(--brand); }
.brand__sub { display: block; margin-top: 4px; font-size: .5625rem; font-weight: 500; letter-spacing: .38em; color: var(--ink-2); }

.gnav__links { display: none; }
.gnav__links a { font-size: .875rem; color: rgba(29, 29, 27, .78); transition: color .2s var(--ease); }
.gnav__links a:hover, .gnav__links a[aria-current="page"] { color: var(--ink); }
.gnav__actions { display: flex; align-items: center; gap: 6px; }
.gnav__cta { display: none; }

.menu-btn {
  position: relative; width: 44px; height: 44px; margin-right: -10px;
  border-radius: 50%; color: var(--ink);
}
.menu-btn__bar {
  position: absolute; left: 13px; width: 18px; height: 1.5px; border-radius: 1px;
  background: currentColor;
  transition: transform .4s var(--ease);
}
.menu-btn__bar:first-child { top: 18px; }
.menu-btn__bar:last-child { top: 24.5px; }
.menu-btn[aria-expanded="true"] .menu-btn__bar:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bar:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (min-width: 640px) { .gnav__cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .gnav__links { display: flex; gap: 30px; }
  .menu-btn { display: none; }
}

/* Mobiles Menü – Blatt, das aus der Navigation wächst */
.mmenu {
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-h); z-index: 49;
  padding: 12px var(--gutter) 40px;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--glass-solid);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.mmenu.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
.mmenu__list a {
  display: block; padding: 9px 0;
  font-size: 1.75rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.2;
  opacity: 0; transform: translateY(-10px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.mmenu.is-open .mmenu__list a { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__list li:nth-child(2) a { transition-delay: .03s; }
.mmenu.is-open .mmenu__list li:nth-child(3) a { transition-delay: .06s; }
.mmenu.is-open .mmenu__list li:nth-child(4) a { transition-delay: .09s; }
.mmenu.is-open .mmenu__list li:nth-child(5) a { transition-delay: .12s; }
.mmenu.is-open .mmenu__list li:nth-child(6) a { transition-delay: .15s; }
.mmenu__foot { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.mmenu__foot .btn { width: 100%; }
.mmenu__contact { margin-top: 20px; display: grid; gap: 6px; font-size: .9375rem; color: var(--ink-2); }
.mmenu__contact a { color: var(--link); }
@media (min-width: 1024px) { .mmenu { display: none; } }

html.is-locked, html.is-locked body { overflow: hidden; }

/* Hinweisleiste oben (wie Apples „Ribbon“) */
.ribbon { background: var(--sage-100); padding: 13px var(--gutter); text-align: center; font-size: .875rem; line-height: 1.4; color: var(--brand); }
.ribbon a { color: var(--sage-700); font-weight: 600; white-space: nowrap; }
.ribbon a:hover { text-decoration: underline; }

/* ---------- 8. Hero ---------- */
.hero {
  padding-top: clamp(44px, 7vw, 100px); padding-bottom: clamp(64px, 8vw, 120px); text-align: center;
  background: linear-gradient(180deg, var(--sage-50) 0%, var(--sage-50) 35%, var(--white) 85%);
}
.hero .pill { background: var(--white); }
.hero__title { margin-top: 22px; }
.hero__title .soft, .hero__title .accent { display: block; }
.accent { color: var(--sage-700); }
.hero__lead { max-width: 720px; margin: 26px auto 0; }
.hero .btn-row { margin-top: 34px; }

.hero__media {
  position: relative; margin-top: clamp(44px, 6vw, 80px);
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--paper);
  aspect-ratio: 4 / 5;
}
@media (min-width: 560px) { .hero__media { aspect-ratio: 4 / 3; } }

/* Drei Räume nebeneinander; auf dem Handy nur das erste Bild */
.hero__media--trio { display: grid; gap: clamp(10px, 1.4vw, 18px); background: none; aspect-ratio: auto; overflow: visible; border-radius: 0; }
.hero__media--trio img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-xl); background: var(--paper); }
.hero__media--trio img:not(:first-of-type) { display: none; }
@media (min-width: 640px) {
  .hero__media--trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__media--trio img:not(:first-of-type) { display: block; }
  .hero__media--trio .media-chip { left: 16px; bottom: 16px; max-width: calc(33.333% - 44px); }
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
@media (min-width: 768px) { .hero__media { aspect-ratio: 16 / 8; } }

.media-chip {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  display: flex; align-items: center; gap: 12px;
  max-width: 400px; padding: 12px 16px; text-align: left;
  border-radius: var(--radius-m);
  background: var(--glass-dark); color: #fff;
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.media-chip__icon { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--sage-100); color: var(--brand); }
.media-chip__icon svg { width: 17px; height: 17px; }
.media-chip strong { display: block; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; }
.media-chip__text span { font-size: .875rem; color: rgba(255, 255, 255, .78); }
@media (min-width: 640px) { .media-chip { left: 24px; bottom: 24px; right: auto; } }

.trust { margin-top: 30px; display: grid; justify-content: center; gap: 10px 30px; font-size: .9375rem; color: var(--ink-2); text-align: left; }
@media (min-width: 640px) { .trust { display: flex; flex-wrap: wrap; } }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--sage-700); flex-shrink: 0; }

/* ---------- 9. Projekt-Bühne (dunkel) ---------- */
.stage { text-align: center; }
.stage__sub { margin-top: 10px; color: var(--on-dark); }
.stage .lead { max-width: 700px; margin: 22px auto 0; }
.stage .btn-row { margin-top: 30px; }
.stage__media {
  display: block; position: relative; margin-top: clamp(44px, 6vw, 72px);
  border-radius: var(--radius-xl); overflow: hidden; background: #000;
  aspect-ratio: 4 / 3;
}
.stage__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .stage__media { aspect-ratio: 16 / 9; } }
.stage__badges { position: absolute; left: 16px; top: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 640px) { .stage__badges { left: 24px; top: 24px; } }

/* Kennzahlen – große Ziffern wie auf Apples Produktseiten */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; margin-top: clamp(44px, 6vw, 72px); text-align: center; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stat__value { display: block; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.stat__value small { font-size: .5em; letter-spacing: -.02em; font-weight: 600; }
.stat__label { display: block; margin-top: 8px; font-size: .9375rem; color: var(--ink-2); line-height: 1.35; }
.section--dark .stat__label { color: var(--on-dark-2); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat + .stat { border-left: 1px solid var(--line-soft); }
  .section--dark .stat + .stat { border-left-color: var(--on-dark-line); }
}

/* ---------- 10. Kacheln ---------- */
.tile {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius-l);
  background: var(--paper);
}
.section--paper .tile, .section--sage .tile { background: var(--white); }
.tile__icon {
  width: 46px; height: 46px; display: grid; place-items: center; flex-shrink: 0;
  border-radius: 50%; background: var(--sage-100); color: var(--brand);
}
.tile__icon svg { width: 21px; height: 21px; }
.tile__icon--dark { background: var(--brand); color: var(--sage-100); }
.tile__label { margin-top: 26px; font-size: .875rem; font-weight: 600; color: var(--sage-700); }
.tile__title { margin-top: 22px; }
.tile__label + .tile__title { margin-top: 6px; }
.tile p { margin-top: 10px; color: var(--ink-2); }

.checks { margin-top: 16px; display: grid; gap: 10px; font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.checks li { display: flex; gap: 10px; }
.checks svg { width: 15px; height: 15px; margin-top: 3px; flex-shrink: 0; color: var(--sage-700); }

.feature { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius-m); background: var(--paper); }
.section--paper .feature { background: var(--white); }
.feature .tile__icon { width: 40px; height: 40px; }
.feature .tile__icon svg { width: 19px; height: 19px; }
.feature__title { font-weight: 600; letter-spacing: -.012em; line-height: 1.35; }
.feature__text { margin-top: 3px; font-size: .9375rem; color: var(--ink-2); }

/* Band mit Handlungsaufforderung */
.band {
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
  margin-top: 20px; padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--radius-l);
  background: var(--brand-deep); color: var(--on-dark);
}
.band p { margin-top: 8px; color: var(--on-dark-2); max-width: 640px; }
@media (min-width: 900px) { .band { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- 11. Team / Ansprechpartner ---------- */
.people { display: grid; gap: clamp(14px, 1.8vw, 24px); }
@media (min-width: 768px) { .people { grid-template-columns: 1fr 1fr; } }
.person {
  display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start;
  padding: 20px; border-radius: var(--radius-l); background: var(--paper);
}
.section--paper .person { background: var(--white); }
.person__photo { width: 96px; height: 96px; border-radius: var(--radius-m); object-fit: cover; background: var(--sage-100); }
.person__role { margin-top: 2px; font-size: .9375rem; font-weight: 500; color: var(--sage-700); }
.person__focus { margin-top: 6px; font-size: .9375rem; color: var(--ink-2); line-height: 1.4; }
.person__contact { margin-top: 12px; display: grid; gap: 2px; }
.person__contact a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 36px;
  font-size: .9375rem; color: var(--ink); width: fit-content; max-width: 100%;
  border-radius: 8px;
}
.person__contact a span { overflow-wrap: anywhere; }
.person__contact a:hover span { text-decoration: underline; text-decoration-color: var(--sage-400); text-underline-offset: .2em; }
.person__contact svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--sage-700); }
@media (min-width: 640px) {
  .person { grid-template-columns: 132px 1fr; gap: 24px; padding: 24px; }
  .person__photo { width: 132px; height: 132px; }
}

/* ---------- 12. Leistungen (dunkel) ---------- */
.services { display: grid; gap: 44px; }
@media (min-width: 900px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.service { padding-top: 28px; border-top: 1px solid var(--on-dark-line); }
.service__top { display: flex; align-items: flex-end; justify-content: space-between; }
.service__num {
  font-size: clamp(3rem, 2.2rem + 2.6vw, 4.5rem); font-weight: 600; line-height: 1; letter-spacing: -.045em;
  color: var(--sage-200);
  background: linear-gradient(180deg, var(--sage-100) 0%, var(--sage-400) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.service__top svg { width: 26px; height: 26px; color: var(--sage-200); opacity: .8; }
.service h3 { margin-top: 26px; }
.service p { margin-top: 12px; color: var(--on-dark-2); }

/* ---------- 13. Schritte ---------- */
.steps { display: grid; gap: 26px; }
.steps li { display: flex; gap: 16px; }
.steps__num {
  width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: var(--sage-100);
  font-size: .875rem; font-weight: 600;
}
.steps h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.35; margin-top: 5px; }
.steps p { margin-top: 3px; color: var(--ink-2); font-size: .9375rem; }
@media (min-width: 900px) { .steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }

.direct { margin-top: 36px; padding: 24px; border-radius: var(--radius-l); background: var(--paper); }
.direct__title { font-size: .9375rem; color: var(--ink-2); }
.direct__list { margin-top: 10px; display: grid; gap: 2px; }
.direct__list a { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; width: fit-content; }
.direct__list a span { color: var(--link); }
.direct__list a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.direct__list svg { width: 18px; height: 18px; color: var(--sage-700); flex-shrink: 0; }
.direct__list small { color: var(--ink-2); font-size: .875rem; }

/* ---------- 14. Formulare ---------- */
.form-card { padding: clamp(22px, 3.6vw, 44px); border-radius: var(--radius-l); background: var(--paper); }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .form-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .span-all { grid-column: 1 / -1; }
}
.field label, .legend { display: block; margin-bottom: 8px; font-size: .875rem; font-weight: 500; }
.req { color: var(--sage-700); }
.input {
  display: block; width: 100%; min-height: 52px; padding: 13px 16px;
  border-radius: var(--radius-s); border: 1px solid rgba(29, 29, 27, .17);
  background: var(--white); color: var(--ink);
  font-size: 1.0625rem; line-height: 1.4;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder { color: #9b9a94; opacity: 1; }
.input:hover { border-color: rgba(29, 29, 27, .3); }
.input:focus { outline: none; border-color: var(--sage-700); box-shadow: 0 0 0 4px rgba(169, 188, 149, .45); }
textarea.input { min-height: 128px; resize: vertical; }

/* Segmentierte Auswahl (Radio) */
.choice { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(29, 29, 27, .07); }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: block; padding: 8px 18px; border-radius: 999px;
  font-size: .9375rem; color: var(--ink-2);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.choice label:hover span { color: var(--ink); }
.choice input:checked + span { background: var(--white); color: var(--ink); font-weight: 500; box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .05); }
.choice input:focus-visible + span { outline: 3px solid var(--sage-400); outline-offset: 2px; }

.subfields { margin-top: 26px; padding: 20px; border-radius: var(--radius-m); background: rgba(29, 29, 27, .04); }
.subfields__title { font-size: .875rem; font-weight: 600; color: var(--sage-700); margin-bottom: 16px; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--ink); cursor: pointer; }
.check a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sage-400); text-underline-offset: .2em; }

.form-foot { margin-top: 28px; display: flex; flex-direction: column-reverse; gap: 16px; }
.form-foot .btn { width: 100%; }
@media (min-width: 640px) {
  .form-foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .form-foot .btn { width: auto; }
}

.form-status { margin-top: 20px; padding: 14px 18px; border-radius: var(--radius-s); font-size: .9375rem; line-height: 1.45; }
.form-status--ok { background: var(--sage-100); color: var(--ink); }
.form-status--error { background: var(--danger-bg); color: var(--danger); }

/* ---------- 15. Fußzeile ---------- */
.footer { background: var(--paper); color: var(--ink-2); font-size: .8125rem; line-height: 1.55; padding-block: 52px 36px; }
.footer__top { display: flex; flex-direction: column; gap: 32px; }
.footer__about { max-width: 360px; }
.footer__about p { margin-top: 16px; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 10px 48px; }
.footer a { transition: color .2s var(--ease); }
.footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.footer__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (min-width: 768px) {
  .footer__top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer__nav { grid-template-columns: repeat(3, auto); }
}

/* ---------- 16. Projektseite: lokale Navigation ---------- */
.lnav {
  position: sticky; top: 0; z-index: 45; height: 52px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.lnav__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lnav__title { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.022em; white-space: nowrap; }
.lnav__right { display: flex; align-items: center; gap: 4px; }
.lnav__toggle {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2);
}
.lnav__toggle svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.lnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.lnav__menu {
  position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
  padding: 4px var(--gutter) 16px;
  background: var(--glass-solid);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.lnav.is-open .lnav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s; }
.lnav__menu a { display: block; padding: 12px 0; font-size: 1.0625rem; border-top: 1px solid var(--line-soft); color: var(--ink); }
.lnav__menu li:first-child a { border-top: 0; }
.lnav__menu a[aria-current="true"] { color: var(--sage-700); font-weight: 500; }
@media (min-width: 900px) {
  .lnav__toggle { display: none; }
  .lnav__right { gap: 26px; }
  .lnav__menu {
    position: static; display: flex; gap: 24px; padding: 0;
    background: none; border: 0; opacity: 1; visibility: visible; transform: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .lnav__menu a { padding: 0; border: 0; font-size: .8125rem; color: var(--ink-2); transition: color .2s var(--ease); }
  .lnav__menu a:hover, .lnav__menu a[aria-current="true"] { color: var(--ink); font-weight: 400; }
}

/* ---------- 17. Projektseite: Bühne & Galerie ---------- */
.phero { padding-top: clamp(44px, 6vw, 88px); text-align: center; }
.phero__title { margin-top: 20px; }
.phero__title .h3 { display: block; margin-top: 10px; }
.phero .lead { margin-top: 14px; }
.phero .btn-row { margin-top: 32px; }

.gallery { margin-top: clamp(48px, 6vw, 80px); }
.gallery__track {
  --edge: max(var(--gutter), calc((100vw - var(--wide)) / 2));
  display: flex; gap: clamp(12px, 1.5vw, 20px);
  overflow-x: auto; overflow-y: hidden;
  padding-inline: var(--edge); padding-bottom: 6px;
  scroll-padding-inline: var(--edge);
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track { position: relative; }
.gallery__track.is-dragging, .gallery__track.is-gliding { scroll-snap-type: none; }
.gallery__track.is-dragging { cursor: grabbing; }
.gallery__track.is-dragging * { pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .gallery__track { cursor: grab; } }
.gallery__item { flex: 0 0 auto; scroll-snap-align: start; }
.gallery { text-align: left; }
.gallery__btn {
  display: block; height: clamp(320px, 50vw, 620px); aspect-ratio: 3 / 4;
  max-width: calc(100vw - 2 * var(--gutter) - 28px);
  border-radius: var(--radius-l); overflow: hidden; background: var(--paper);
}
.gallery__btn.is-landscape { aspect-ratio: 4 / 3; }
.gallery__btn img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-user-drag: none; user-select: none;
  transition: transform .7s var(--ease);
}
@media (hover: hover) { .gallery__btn:hover img { transform: scale(1.025); } }
.gallery__cap { width: 0; min-width: 100%; margin-top: 12px; font-size: .875rem; color: var(--ink-2); }
.gallery__soon {
  display: grid; place-items: center; text-align: center;
  height: clamp(320px, 50vw, 620px); aspect-ratio: 3 / 4; padding: 24px;
  max-width: calc(100vw - 2 * var(--gutter) - 28px);
  border-radius: var(--radius-l);
}
.gallery__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.paddles { display: flex; gap: 12px; flex-shrink: 0; }
.paddle {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(29, 29, 27, .07); color: var(--ink);
  transition: background-color .2s var(--ease), opacity .2s var(--ease), transform .16s var(--ease);
}
.paddle:hover { background: rgba(29, 29, 27, .12); }
.paddle:active { transform: scale(.92); }
.paddle:disabled { opacity: .35; cursor: default; }
.paddle svg { width: 18px; height: 18px; }

/* Rasterhintergrund für Platzhalter (Planstil) */
.blueprint {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(86, 101, 74, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 101, 74, .09) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
}
.placeholder__icon { width: 56px; height: 56px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--sage-700); box-shadow: var(--shadow-1); }
.placeholder__icon svg { width: 24px; height: 24px; }
.placeholder__title { margin-top: 16px; font-weight: 600; letter-spacing: -.012em; }
.placeholder__text { margin-top: 4px; font-size: .875rem; color: var(--ink-2); max-width: 30ch; margin-inline: auto; }

/* ---------- 18. Vorher / Nachher ---------- */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl); background: var(--paper);
  touch-action: pan-y; -webkit-user-select: none; user-select: none; cursor: ew-resize;
}
@media (min-width: 768px) { .ba { aspect-ratio: 16 / 9; } }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .25); pointer-events: none; }
.ba__knob {
  position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px;
  display: grid; place-items: center; border-radius: 50%; pointer-events: none;
  background: var(--glass-dark); color: #fff;
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, .5);
  transition: transform .2s var(--ease);
}
.ba.is-active .ba__knob { transform: scale(1.1); }
.ba__knob svg { width: 22px; height: 22px; }
.ba__tag { position: absolute; top: 16px; }
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; }
.ba__range:focus-visible ~ .ba__knob { outline: 3px solid var(--sage-200); outline-offset: 3px; }

/* ---------- 19. Grundriss ---------- */
.seg {
  --i: 0;
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 3px; border-radius: 999px; background: rgba(29, 29, 27, .07);
}
.seg__thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  border-radius: 999px; background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .05);
  transform: translateX(calc(var(--i) * 100%));
  transition: transform .45s var(--ease);
}
.seg__btn {
  position: relative; z-index: 1; padding: 8px 22px; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; color: var(--ink-2);
  transition: color .25s var(--ease);
}
.seg__btn[aria-selected="true"] { color: var(--ink); }

.plan-wrap { display: grid; gap: clamp(14px, 1.8vw, 24px); margin-top: 32px; }
@media (min-width: 1024px) { .plan-wrap { grid-template-columns: 2fr 1fr; } }
.plan { position: relative; overflow: hidden; border-radius: var(--radius-xl); aspect-ratio: 4 / 3; }
.plan__img { display: block; width: 100%; height: 100%; background: var(--white); }
.plan__img img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.plan__empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; }

.rooms { padding: clamp(24px, 2.6vw, 32px); border-radius: var(--radius-xl); background: var(--paper); display: flex; flex-direction: column; }
.rooms dl { margin-top: 14px; }
.rooms dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: .9375rem; }
.rooms dt { color: var(--ink-2); }
.rooms dd { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.rooms__total { font-weight: 600; }
.rooms .btn { margin-top: auto; }
.rooms__actions { margin-top: 24px; display: grid; gap: 10px; }

/* ---------- 20. Ausstattung (Bauteilkatalog) ---------- */
.spec { margin-top: 40px; border-top: 1px solid var(--line); }
.spec__row { display: grid; gap: 8px 40px; padding-block: 26px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .spec__row { grid-template-columns: 240px 1fr; padding-block: 30px; } }
.spec__title { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.017em; line-height: 1.25; }
.spec__list { display: grid; gap: 6px; }
.spec__list li { line-height: 1.45; }
.spec__list .muted { font-size: .9375rem; }
.tbd {
  display: inline-block; padding: 3px 11px; border-radius: 999px;
  background: var(--paper); color: var(--ink-2); font-size: .8125rem; line-height: 1.4;
}

.download {
  display: flex; flex-direction: column; gap: 18px;
  margin-top: 32px; padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--radius-l); background: var(--paper);
}
.download__info { display: flex; gap: 16px; align-items: center; }
.download__icon { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--white); color: var(--sage-700); }
.download__icon svg { width: 22px; height: 22px; }
.download__title { font-weight: 600; letter-spacing: -.012em; }
.download__meta { font-size: .875rem; color: var(--ink-2); }
@media (min-width: 640px) { .download { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- 21. Eckdaten & Energie ---------- */
.facts { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-xl); background: var(--white); }
.facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.facts dl div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-2); }
.facts dd { font-weight: 500; text-align: right; }

.facts .energy__item { align-items: center; }
.energy__abbr { display: block; margin-top: 2px; font-size: .8125rem; color: var(--ink-3); }
.energy__item dd { display: flex; align-items: center; gap: 12px; }
.energy__value { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.energy__value small { font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.energy__class {
  display: inline-block; padding: 4px 10px; border-radius: 8px;
  background: var(--paper); color: var(--ink);
  font-size: .8125rem; font-weight: 600; white-space: nowrap;
}
.energy__facts { margin-top: 20px; }
.energy__note { margin-top: 22px; font-size: .8125rem; color: var(--ink-2); }

/* ---------- 22. Zeitplan ---------- */
.timeline { display: grid; margin-top: 44px; }
.tl { position: relative; padding: 0 0 34px 52px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; width: 2px; border-radius: 1px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl--done::before { background: var(--ink); }
.tl__dot { position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.tl--done .tl__dot { background: var(--ink); color: var(--sage-100); box-shadow: none; }
.tl--done .tl__dot svg { width: 15px; height: 15px; }
.tl--now .tl__dot { background: var(--sage-100); box-shadow: inset 0 0 0 2px var(--ink); }
.tl--now .tl__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.tl__title { font-weight: 600; letter-spacing: -.012em; padding-top: 3px; }
.tl__meta { font-size: .9375rem; color: var(--ink-2); }
.tl--now .tl__meta { color: var(--sage-700); font-weight: 500; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tl { padding: 52px 24px 0 0; }
  .tl::before { left: 40px; right: 8px; top: 15px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- 23. Mobile Anfrage-Leiste (schwebendes Glas) ---------- */
.mcta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: flex; gap: 8px; padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--shadow-2), inset 0 0 0 .5px rgba(0, 0, 0, .06);
  transform: translateY(calc(100% + 24px));
  transition: transform .5s var(--ease);
}
.mcta.is-visible { transform: none; }
.mcta .btn { flex: 1; min-height: 46px; }
.mcta__call { flex: 0 0 auto !important; width: 46px; padding: 0 !important; }
@media (min-width: 900px) { .mcta { display: none; } }

/* ---------- 24. Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(18, 18, 16, .94); }
.lightbox[open] { animation: lb-in .4s var(--ease); }
.lightbox.is-closing { animation: lb-out .22s ease-in forwards; }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes lb-out { to { opacity: 0; transform: scale(.98); } }
.lightbox__track {
  display: flex; height: 100%; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none;
}
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide {
  flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 72px 16px 60px;
}
.lightbox__slide img { max-width: min(100%, 1200px); max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 14px; -webkit-user-drag: none; }
.lightbox__slide--plan img { background: #fff; padding: 2%; }
.lightbox__cap { margin-top: 16px; max-width: 60ch; text-align: center; font-size: .875rem; color: rgba(255, 255, 255, .75); }
.lightbox__count { position: fixed; top: 22px; left: 22px; font-size: .875rem; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; }
.lb-btn {
  position: fixed; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: background-color .2s var(--ease), transform .16s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn:active { transform: scale(.92); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-btn--close { top: 14px; right: 14px; }
.lb-btn--prev { left: 18px; top: 50%; margin-top: -22px; }
.lb-btn--next { right: 18px; top: 50%; margin-top: -22px; }
@media (pointer: coarse) { .lb-btn--prev, .lb-btn--next { display: none; } }

/* ---------- 25. Projektübersicht ---------- */
.pcard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-l); background: var(--white); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
@media (hover: hover) { .pcard:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); } }
.pcard__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
@media (hover: hover) { .pcard:hover .pcard__media img { transform: scale(1.03); } }
.pcard__media .pill { position: absolute; left: 16px; top: 16px; }
.pcard__body { flex: 1; display: flex; flex-direction: column; padding: 26px; }
.pcard__loc { font-size: .875rem; font-weight: 600; color: var(--sage-700); }
.pcard__title { margin-top: 6px; font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.pcard__title a:hover { text-decoration: underline; text-decoration-color: var(--sage-400); text-underline-offset: .18em; }
.pcard .chips { margin-top: 16px; }
.pcard dl { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); display: grid; gap: 6px; font-size: .9375rem; }
.pcard dl div { display: flex; justify-content: space-between; gap: 16px; }
.pcard dt { color: var(--ink-2); }
.pcard dd { font-weight: 500; text-align: right; }
.pcard__actions { margin-top: auto; padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pcard__actions .btn { min-height: 44px; padding-inline: 14px; font-size: .9375rem; }
.pcard--soon { align-items: center; justify-content: center; padding: 40px 28px; text-align: center; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.pcard--soon:hover { box-shadow: inset 0 0 0 1.5px var(--line); transform: none; }
.pcard--soon p { max-width: 32ch; margin: 10px auto 0; color: var(--ink-2); }


/* ---------- 26. Rechtliche Seiten & 404 ---------- */
.legal-head { padding-top: clamp(48px, 7vw, 96px); }
.legal-card { margin-top: 40px; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-l); background: var(--paper); }
.legal-card dl { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: grid; gap: 4px 32px; font-size: .9375rem; }
.legal-card dt { font-weight: 600; margin-top: 10px; }
.legal-card dd { color: var(--ink-2); }
@media (min-width: 640px) { .legal-card dl { grid-template-columns: 13rem 1fr; } .legal-card dt { margin-top: 0; } }
.legal h2 { margin-top: 48px; font-size: 1.375rem; font-weight: 600; letter-spacing: -.018em; line-height: 1.25; }
.legal h3 { margin-top: 28px; font-size: 1.0625rem; font-weight: 600; }
.legal p, .legal ul { margin-top: 14px; color: var(--ink-2); line-height: 1.65; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal li + li { margin-top: 4px; }
.legal a { color: var(--link); text-decoration: underline; text-decoration-color: rgba(71, 101, 47, .35); text-underline-offset: .2em; }
.legal a:hover { text-decoration-color: currentColor; }

.errorpage { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 40px var(--gutter); text-align: center; background: var(--paper); }
.errorpage .lead { max-width: 30rem; margin: 18px auto 0; }
.errorpage .btn-row { margin-top: 32px; }

/* ---------- 29. Ergänzungen ---------- */
.crumbs { display: inline-flex; gap: 8px; font-size: .875rem; color: var(--ink-2); }
.crumbs a { color: var(--link); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: .2em; }
.phero .pill { display: flex; width: fit-content; margin-inline: auto; }

.people--stack { grid-template-columns: 1fr !important; }
.person--compact { grid-template-columns: 72px 1fr !important; gap: 16px !important; padding: 16px !important; align-items: center; }
.person--compact .person__photo { width: 72px; height: 72px; border-radius: 14px; }
.person--compact .person__focus { margin-top: 0; }
.person--compact .person__contact { margin-top: 4px; }

.section--paper .form-card { background: var(--white); }
.section--paper .blueprint { background-color: var(--white); }
.section--paper .rooms, .section--paper .download { background: var(--white); }
.section--paper .placeholder__icon { background: var(--paper); box-shadow: none; }

@media (max-width: 639px) { .hide-sm { display: none; } }
.section--paper .form-card .subfields { background: var(--paper); }

/* Kacheln auf dunklem Grund */
.section--dark .tile { background: rgba(255, 255, 255, .06); }
.section--dark .tile__icon { background: rgba(255, 255, 255, .1); color: var(--sage-100); }
.section--dark .checks { color: var(--on-dark-2); }
.section--dark .checks svg { color: var(--sage-400); }

/* Markierungen im Bauteilkatalog */
.tag {
  display: inline-block; margin-right: 6px; padding: 2px 9px; border-radius: 999px; vertical-align: 1px;
  background: var(--paper); color: var(--ink-2);
  font-size: .75rem; font-weight: 600; letter-spacing: .01em; line-height: 1.5;
}
.tag--new { background: var(--sage-100); color: var(--sage-700); }
.spec__list .tbd { margin-left: 6px; }
.spec__list .tbd:first-child { margin-left: 0; }

/* Social-Media-Links */
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(29, 29, 27, .06); color: var(--ink-2);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .16s var(--ease);
}
.social a:hover { background: rgba(29, 29, 27, .12); color: var(--ink); text-decoration: none; }
.social a:active { transform: scale(.92); }
.social svg { width: 18px; height: 18px; }
.mmenu .social { margin-top: 24px; }

/* Terminbuchung (Link zu Calendly – bewusst nicht eingebettet, damit die Website cookiefrei bleibt) */
.booking {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 36px; padding: 24px; border-radius: var(--radius-l);
  background: var(--sage-100);
}
.booking + .direct { margin-top: 14px; }
.booking__icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--sage-700); }
.booking__icon svg { width: 20px; height: 20px; }
.booking__title { font-weight: 600; letter-spacing: -.012em; }
.booking__text { margin-top: 4px; font-size: .9375rem; color: var(--ink-2); }
.booking__btn { margin-top: 14px; }
.booking__note { margin-top: 10px; font-size: .75rem; color: var(--ink-2); }
.section--paper .booking { background: var(--sage-100); }
.mmenu__foot .btn + .btn { margin-top: 10px; }

/* ---------- 27. Bewegung beim Scrollen ---------- */
/* Nur Elemente unterhalb des sichtbaren Bereichs werden per JS ausgeblendet –
   ohne JavaScript bleibt alles sichtbar. */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .grow-in { animation: grow-in linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
    @keyframes grow-in { from { transform: scale(.92); } to { transform: none; } }
  }
}

/* ---------- 28. Barrierefreiheit & Systemeinstellungen ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  /* Statt Bewegung: kurze Überblendung */
  .reveal { transform: none; transition: opacity .3s ease !important; }
  .mmenu, .mmenu__list a, .lnav__menu { transition: opacity .2s ease !important; transform: none !important; }
  .lightbox[open] { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .gnav, .lnav, .mmenu, .lnav__menu, .mcta { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .media-chip, .pill--glass, .ba__knob { background: rgba(29, 29, 27, .92); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #3f3e3a; --line: rgba(29, 29, 27, .4); --line-soft: rgba(29, 29, 27, .28); --glass: #fff; }
  .input { border-color: rgba(29, 29, 27, .6); }
}

@media print {
  .gnav, .lnav, .mmenu, .mcta, .ribbon, .paddles, .lightbox { display: none !important; }
  .section { padding-block: 32px; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
