/* =====================================================================
   Spanndecke-Perfekt – Design-System
   Orientiert an den Apple Human Interface Guidelines:
   Klarheit, Zurückhaltung, Tiefe. Systemschrift, viel Weißraum,
   große Typografie, klare Hierarchie, 44px-Touchflächen, Dark Mode.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Farbwelt „Graphit & Kupfer“: Graphit und Silber aus dem Logo, Kupfer und Bernstein wie warmes LED-Licht */
  --bg: #ffffff;
  --bg-alt: #f6f5f3;
  --bg-elev: #ffffff;
  --text: #2e2e2e;
  --text-2: #67625c;
  --text-3: #736d66;
  --line: #dcd8d3;
  --line-soft: rgba(46, 38, 30, .09);
  --accent: #a4501c;
  --accent-hover: #8f4416;
  --accent-rgb: 164, 80, 28;
  --link: #9a4a18;
  --hot: #9a4a18;
  --gold: #e8a317;
  --pill-new: #8a5a0b;
  --success: #2f7d3b;
  --danger: #c4231b;

  --dark: #000000;
  --dark-2: #171614;
  --dark-3: #22201d;
  --on-dark: #f4f1ec;
  --on-dark-2: #b0a9a0;
  --link-dark: #f2b544;
  --logo-1: #57534f;
  --logo-2: #2e2e2e;
  --logo-3: #45413d;
  --logo-owner: #67625c;

  --nav-bg: rgba(251, 250, 248, .82);
  --nav-text: rgba(46, 46, 46, .85);
  --curtain: rgba(236, 233, 229, .45);

  /* Verlauf für Hervorhebungen: Bernstein -> Kupfer (auf Hell etwas kräftiger, damit gut lesbar) */
  --grad-light: linear-gradient(90deg, #bf7a12 0%, #b0601c 45%, #9a4a18 100%);
  --grad-glow: linear-gradient(90deg, #f2b544 0%, #e08a2e 50%, #c8652a 100%);
  --grad-warm: linear-gradient(120deg, #f2b544, #b5541e);

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, .06);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, .12);

  --w: 980px;
  --w-wide: 1260px;
  --gutter: max(22px, 4vw);
  --nav-h: 56px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.28, .11, .32, 1);

  color-scheme: light dark;
}

/* Dunkel: automatisch nach Systemeinstellung – oder fest über den Schalter (html[data-theme]) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --bg-alt: #171614;
    --bg-elev: #22201d;
    --text: #f4f1ec;
    --text-2: #b0a9a0;
    --text-3: #8f877e;
    --line: #3f3b37;
    --line-soft: rgba(255, 245, 230, .1);
    --link: #f2b544;
    --hot: #f2b544;
    --pill-new: #f2b544;
    --accent-hover: #b35a22;
    --grad-light: linear-gradient(90deg, #f2b544 0%, #e08a2e 50%, #c8652a 100%);
    --nav-bg: rgba(23, 22, 20, .82);
    --nav-text: rgba(255, 255, 255, .8);
    --curtain: rgba(0, 0, 0, .4);
    --shadow: 0 4px 24px rgba(0, 0, 0, .4);
    --logo-1: #ffffff;
    --logo-2: #b8b8bd;
    --logo-3: #f2f2f7;
    --logo-owner: #a1a1a6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #171614;
  --bg-elev: #22201d;
  --text: #f4f1ec;
  --text-2: #b0a9a0;
  --text-3: #8f877e;
  --line: #3f3b37;
  --line-soft: rgba(255, 245, 230, .1);
  --link: #f2b544;
  --hot: #f2b544;
  --pill-new: #f2b544;
  --accent-hover: #b35a22;
  --grad-light: linear-gradient(90deg, #f2b544 0%, #e08a2e 50%, #c8652a 100%);
  --nav-bg: rgba(23, 22, 20, .82);
  --nav-text: rgba(255, 255, 255, .8);
  --curtain: rgba(0, 0, 0, .4);
  --shadow: 0 4px 24px rgba(0, 0, 0, .4);
  --logo-1: #ffffff;
  --logo-2: #b8b8bd;
  --logo-3: #f2f2f7;
  --logo-owner: #a1a1a6;
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -.022em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
/* Lange Wörter (z. B. „Motivlichtspanndeckenfelder“) brechen notfalls um, statt die Seite zu verbreitern:
   Chrome unter Windows und viele Android-Geräte trennen nicht automatisch, und deren Schriften (Segoe UI, Roboto) sind breiter */
h1, h2, h3, h4, .display, .h1, .h2, .h3, .h4 { overflow-wrap: anywhere; }
p, li, dt, dd, td, th, figcaption, blockquote, label, legend, summary, .stat__label { overflow-wrap: break-word; }
@media (max-width: 734px) {
  /* Projekt- und Artikeltitel aus der Datenbank: am Handy mit Bindestrich trennen, wo der Browser es kann (nur lange Wörter) */
  .ref-title, .ref-card__title { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 6 6; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 6; } /* Safari kennt nur die -webkit-Grenzen */
  /* Tabellen in Ratgeber-Artikeln passen in die Bildschirmbreite: gleich breite Spalten, lange Wörter werden getrennt */
  .article-body table { table-layout: fixed; }
  .article-body th, .article-body td { overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; }
}
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(var(--accent-rgb), .22); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 980px; }
.skip-link:focus { top: 8px; text-decoration: none; }
.hp { position: absolute; left: -9999px; }

/* ---------- Typografie ---------- */
.display, .h1, .h2, .h3, .h4 { font-weight: 600; color: inherit; }
.display { font-size: clamp(44px, 7.6vw, 96px); line-height: 1.04; letter-spacing: -.015em; }
.h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.0625; letter-spacing: -.009em; }
.h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.07; letter-spacing: -.005em; }
.h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.125; letter-spacing: .004em; }
.h4 { font-size: 21px; line-height: 1.19; letter-spacing: .011em; }
.lead { font-size: clamp(19px, 2vw, 24px); line-height: 1.33; letter-spacing: .009em; font-weight: 400; }
.lead-sm { font-size: 19px; line-height: 1.42; letter-spacing: .012em; }
.eyebrow { display: block; font-size: clamp(17px, 1.8vw, 21px); font-weight: 600; line-height: 1.2; margin-bottom: .45em; color: var(--text-2); }
.eyebrow--hot { color: var(--hot); }
.section--dark .eyebrow--hot, .page-hero--dark .eyebrow--hot, .hero--image .eyebrow--hot, .tile--dark .eyebrow--hot { color: var(--link-dark); }
.muted { color: var(--text-2); }
.small { font-size: 14px; line-height: 1.43; letter-spacing: -.016em; }
.tiny { font-size: 12px; line-height: 1.33; letter-spacing: -.01em; }
.gradient-text {
  background: var(--grad-light);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-bottom: .12em; margin-bottom: -.12em; /* Platz für Unterlängen wie im „g“ */
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.section--dark .gradient-text, .page-hero--dark .gradient-text, .hero--image .gradient-text, .tile--dark .gradient-text, .scene .gradient-text, .cta-band .gradient-text { background-image: var(--grad-glow); background-size: 200% 100%; }
.text-center { text-align: center; }
.balance { text-wrap: balance; }
.prose p + p { margin-top: 1em; }
.prose h2, .prose h3 { margin: 1.6em 0 .5em; font-weight: 600; }
.prose h2 { font-size: 28px; line-height: 1.14; }
.prose h3 { font-size: 21px; line-height: 1.2; }
.prose ul { padding-left: 1.2em; margin: .8em 0; }
.prose li + li { margin-top: .35em; }
.prose { color: var(--text); }
.prose .muted { color: var(--text-2); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--w)); margin-inline: auto; }
.container--wide { width: min(100% - 2 * var(--gutter), var(--w-wide)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 692px); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .muted, .section--dark .eyebrow { color: var(--on-dark-2); }
.section--dark a:not(.btn) { color: var(--link-dark); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 18px; color: var(--text-2); }
.section--dark .section-head .lead { color: var(--on-dark-2); }
.section-head--left { text-align: left; margin-left: 0; }
.stack > * + * { margin-top: var(--stack, 1rem); }
.grid { display: grid; gap: 24px; }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1068px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 834px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 22px;
  font-size: 17px; font-weight: 400; line-height: 1.18; letter-spacing: -.022em;
  border-radius: 980px; border: 1px solid transparent;
  background: var(--accent); color: #fff;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn--secondary { background: transparent; color: var(--link); border-color: var(--link); }
.btn--secondary:hover { background: var(--accent); color: #fff; }
.section--dark .btn--secondary, .on-dark .btn--secondary { color: var(--link-dark); border-color: var(--link-dark); }
.section--dark .btn--secondary:hover, .on-dark .btn--secondary:hover { background: var(--link-dark); color: #000; }
.btn--light { background: #fff; color: #2e2e2e; }
.btn--light:hover { background: #e8e8ed; }
.btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .24); }
.btn--sm { min-height: 28px; padding: 4px 12px; font-size: 12px; line-height: 1.33; letter-spacing: -.01em; }
.btn--md { min-height: 36px; padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.text-center .btn-row, .btn-row--center { justify-content: center; }

.link-more { display: inline-flex; align-items: center; gap: 2px; font-size: inherit; color: var(--link); }
.link-more::after { content: "›"; font-size: 1.15em; line-height: 1; margin-left: 3px; transform: translateY(-1px); }
.section--dark .link-more { color: var(--link-dark); }
.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Globale Navigation ---------- */
.gnav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background-color .3s var(--ease);
}
body.has-localnav .gnav { position: relative; }
.gnav.is-open { background: var(--bg); }
.gnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 32px; height: 32px; border-radius: 8px; }
.brand__word { display: block; height: 24px; width: auto; overflow: visible; }
.brand__owner { fill: var(--logo-owner); }
.brand__name { font-size: 15px; }
.gnav__list { display: flex; align-items: center; gap: 0; height: 100%; margin: 0; padding: 0; list-style: none; }
.gnav__item { height: 100%; }
.gnav__link {
  display: flex; align-items: center; height: 100%; padding: 0 12px;
  font-size: 15px; letter-spacing: -.01em; color: var(--nav-text); white-space: nowrap;
  background: none; border: 0; cursor: pointer;
  transition: color .2s var(--ease);
}
/* 6 Menüpunkte: auf schmaleren Desktop-Breiten Schrift und Abstände stufenweise etwas kleiner, damit nichts umbricht */
@media (min-width: 901px) and (max-width: 1239px) {
  .gnav__link { padding: 0 9px; font-size: 14px; }
  .gnav .brand__mark { width: 30px; height: 30px; }
  .gnav .brand__word { height: 22px; }
}
@media (min-width: 901px) and (max-width: 1099px) {
  .gnav__inner { gap: 8px; }
  .gnav__link { padding: 0 7px; font-size: 13px; }
  .gnav__actions { gap: 4px; }
  .gnav .gnav__icon { width: 36px; height: 36px; }
  .gnav .brand__mark { width: 28px; height: 28px; }
  .gnav .brand__word { height: 19px; }
}
@media (min-width: 901px) and (max-width: 989px) {
  .gnav__inner { gap: 4px; }
  .gnav__link { padding: 0 4px; }
  .gnav .brand { gap: 8px; }
  .gnav .brand__mark { width: 24px; height: 24px; border-radius: 6px; }
  .gnav .brand__word { height: 17px; }
}
.gnav__link:hover, .gnav__item.is-active > .gnav__link, .gnav__item.is-current > .gnav__link { color: var(--text); text-decoration: none; }
.gnav__item.is-current > .gnav__link { font-weight: 600; }
.gnav__actions { display: flex; align-items: center; gap: 8px; }
.gnav__phone { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--nav-text); padding: 0 8px; white-space: nowrap; }
.gnav__phone .icon { width: 18px; height: 18px; }
.gnav__phone:hover { color: var(--text); text-decoration: none; }
.gnav__toggle { display: none; width: 44px; height: 44px; margin-right: -12px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; color: var(--text); }
.gnav__toggle .icon { width: 24px; height: 24px; }

/* Flyout wie bei apple.com */
.flyout {
  position: absolute; left: 0; right: 0; top: var(--nav-h);
  background: var(--bg);
  visibility: hidden; opacity: 0; max-height: 0; overflow: hidden;
  transition: max-height .32s var(--ease), opacity .24s var(--ease), visibility 0s .32s;
  box-shadow: 0 30px 30px -20px rgba(0, 0, 0, .08);
}
.gnav__item.is-active .flyout { visibility: visible; opacity: 1; max-height: 520px; transition: max-height .4s var(--ease), opacity .3s var(--ease), visibility 0s; }
.flyout__inner { display: flex; gap: 72px; width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; padding: 40px 0 72px 100px; }
.flyout__title { font-size: 13px; color: var(--text-2); margin-bottom: 14px; font-weight: 400; }
.flyout__links { list-style: none; margin: 0; padding: 0; }
.flyout__links a { display: block; padding: 5px 0; font-size: 14px; font-weight: 600; color: var(--text); }
.flyout__group--big .flyout__links a { font-size: 24px; line-height: 1.17; padding: 5px 0; letter-spacing: .009em; }
.flyout__links a:hover { color: var(--link); text-decoration: none; }
.curtain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: var(--curtain);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s;
}
.curtain.is-visible { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }

/* Mobile-CTA nur im aufgeklappten Menü */
.gnav__mobile-cta { display: none !important; }
/* Telefonnummer als Text erst auf breiten Bildschirmen, sonst nur das Symbol */
@media (max-width: 1319px) {
  .gnav__phone span { display: none; }
}
@media (max-width: 900px) {
  .gnav__list { display: none; }
  .gnav__phone { display: none; }
  .gnav__toggle { display: inline-flex; }
  .gnav.is-mobile-open { position: fixed; inset: 0 0 auto 0; height: 100vh; height: 100dvh; background: var(--bg); overflow-y: auto; backdrop-filter: none; -webkit-backdrop-filter: none; transition: none; }
  .gnav.is-mobile-open .gnav__inner { height: var(--nav-h); }
  .gnav.is-mobile-open .gnav__list {
    display: block; position: absolute; top: var(--nav-h); left: 0; right: 0; height: auto;
    padding: 8px var(--gutter) 120px;
  }
  .gnav.is-mobile-open .gnav__item { height: auto; border-bottom: 1px solid var(--line-soft); }
  .gnav.is-mobile-open .gnav__link { height: auto; padding: 14px 0; font-size: 28px; font-weight: 600; color: var(--text); width: 100%; justify-content: space-between; letter-spacing: .007em; }
  .gnav.is-mobile-open .flyout { position: static; box-shadow: none; transition: none; }
  .gnav.is-mobile-open .gnav__item.is-active .flyout { max-height: none; }
  .gnav.is-mobile-open .flyout__inner { display: block; width: auto; padding: 0 0 18px; }
  .gnav.is-mobile-open .flyout__group + .flyout__group { margin-top: 18px; }
  .gnav.is-mobile-open .flyout__group--big .flyout__links a { font-size: 19px; }
  .gnav.is-mobile-open .flyout__links a { font-size: 15px; }
  .gnav__mobile-cta { display: block !important; padding: 22px 0; border: 0 !important; }
}

/* ---------- Lokale Navigation (Produktseiten) ---------- */
.localnav {
  position: sticky; top: 0; z-index: 99;
  height: 56px; border-bottom: 1px solid var(--line-soft);
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.localnav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; gap: 16px; }
.localnav__title { font-size: 21px; font-weight: 600; letter-spacing: .011em; color: var(--text); white-space: nowrap; }
.localnav__title:hover { text-decoration: none; }
.localnav__menu { display: flex; align-items: center; gap: 22px; }
.localnav__links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.localnav__links a { font-size: 14px; color: var(--nav-text); }
.localnav__links a[aria-current="page"] { color: var(--text-3); }
@media (max-width: 734px) {
  .localnav__links { display: none; }
  .localnav__title { font-size: 19px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; text-align: center; padding-top: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__text { position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), 900px); margin-inline: auto; }
.hero__text .lead { margin-top: 16px; color: var(--text-2); }
.hero__text .btn-row { margin-top: 28px; justify-content: center; }
.hero__media { margin: clamp(40px, 6vw, 64px) auto 0; width: min(100% - 2 * var(--gutter), var(--w-wide)); }
.hero__media img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 16 / 9; object-fit: cover; }

/* Hero mit Vollbild-Foto */
.hero--image { min-height: min(92vh, 880px); display: flex; flex-direction: column; justify-content: flex-start; color: #fff; background: #000; padding-bottom: 64px; }
.hero--image .hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero--image .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--image .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.05) 65%, rgba(0,0,0,.6) 100%); }
.hero--image .hero__text { padding-top: clamp(24px, 6vh, 64px); }
.hero--image .lead { color: rgba(255, 255, 255, .86); }
.hero--image .eyebrow { color: rgba(255, 255, 255, .86); }
.hero__badges { position: relative; z-index: 2; margin-top: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 var(--gutter); }
.badge-glass {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 980px; font-size: 14px; color: #fff;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.badge-glass .icon { width: 18px; height: 18px; }

/* Seitenkopf für Unterseiten */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); text-align: center; }
.page-hero .lead { margin: 18px auto 0; max-width: 760px; color: var(--text-2); }
.page-hero .btn-row { margin-top: 28px; justify-content: center; }
.page-hero--dark { background: #000; color: var(--on-dark); }
.page-hero--dark .lead, .page-hero--dark .eyebrow { color: var(--on-dark-2); }

/* Großes Bild */
.media-xl { width: min(100% - 2 * var(--gutter), var(--w-wide)); margin-inline: auto; }
.media-xl img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 16 / 8; object-fit: cover; }
.rounded { border-radius: var(--r-lg); overflow: hidden; }
.rounded img { width: 100%; height: 100%; object-fit: cover; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-1-1 { aspect-ratio: 1; }
.ratio-16-10 { aspect-ratio: 16 / 10; }

/* ---------- Promo-Kacheln (apple.com Startseite) ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: center;
  min-height: 580px; padding: 52px 24px 0; overflow: hidden;
  text-align: center; background: var(--bg-alt); color: var(--text);
}
.tile--dark { background: #000; color: var(--on-dark); }
.tile--dark .muted { color: var(--on-dark-2); }
.tile--wide { grid-column: 1 / -1; min-height: 640px; }
.tile .h2 { font-size: clamp(32px, 3.6vw, 48px); }
.tile .lead-sm { margin-top: 6px; }
.tile .btn-row { margin-top: 18px; justify-content: center; }
.tile__media { position: absolute; inset: auto 0 0 0; height: 58%; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__media::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 40%; z-index: 1; background: linear-gradient(var(--tile-bg, var(--bg-alt)), transparent); }
.tile--dark .tile__media::before { --tile-bg: #000; }
.tile--photo { color: #fff; background: #000; }
.tile--photo .tile__media { inset: 0; height: 100%; }
.tile--photo .tile__media::before { height: 60%; background: linear-gradient(rgba(0,0,0,.6), transparent); }
.tile--photo .muted { color: rgba(255,255,255,.85); }
.tile--photo > *:not(.tile__media) { position: relative; z-index: 2; }
.tile > *:not(.tile__media) { position: relative; z-index: 2; }
@media (max-width: 734px) {
  .tiles { grid-template-columns: 1fr; padding: 0; gap: 12px; }
  .tile, .tile--wide { min-height: 520px; padding-top: 44px; }
}

/* ---------- Feature-Raster ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.feature .icon-wrap {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 14px; background: var(--bg-alt); color: var(--accent);
}
.section--alt .feature .icon-wrap { background: var(--bg-elev); }
.section--dark .feature .icon-wrap { background: var(--dark-3); color: var(--link-dark); }
.feature .icon-wrap .icon { width: 28px; height: 28px; }
.feature h3 { font-size: 21px; line-height: 1.19; font-weight: 600; margin-bottom: 8px; letter-spacing: .011em; }
.feature p { color: var(--text-2); }
.section--dark .feature p { color: var(--on-dark-2); }
@media (max-width: 1068px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) { .features { grid-template-columns: 1fr; gap: 36px; } }

/* Karten-Raster („Bento“) */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento__card {
  grid-column: span 2; position: relative; overflow: hidden;
  padding: 32px; border-radius: var(--r-xl); background: var(--bg-elev);
  min-height: 260px; display: flex; flex-direction: column;
}
.section:not(.section--alt):not(.section--dark) .bento__card { background: var(--bg-alt); }
.section--dark .bento__card { background: var(--dark-2); }
.bento__card--wide { grid-column: span 4; }
.bento__card--half { grid-column: span 3; }
.bento__card--full { grid-column: 1 / -1; }
.bento__card .icon-wrap { color: var(--accent); margin-bottom: auto; }
.bento__card .icon-wrap .icon { width: 36px; height: 36px; }
.bento__card h3 { font-size: 24px; line-height: 1.16; font-weight: 600; margin-top: 24px; }
.bento__card p { margin-top: 8px; color: var(--text-2); }
.section--dark .bento__card p { color: var(--on-dark-2); }
.bento__big { font-size: clamp(56px, 7vw, 96px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.bento__card--photo { padding: 0; color: #fff; min-height: 380px; justify-content: flex-end; }
.bento__card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento__card--photo .bento__caption { position: relative; padding: 28px 32px; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.bento__card--photo p { color: rgba(255,255,255,.85); }
@media (max-width: 1068px) { .bento__card, .bento__card--wide, .bento__card--half { grid-column: span 3; } }
@media (max-width: 734px) { .bento { grid-template-columns: 1fr; } .bento__card, .bento__card--wide, .bento__card--half { grid-column: 1 / -1; } }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; text-align: center; }
.stat__num { font-size: clamp(44px, 5.4vw, 76px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; white-space: nowrap; }
.stat__unit { font-size: .6em; letter-spacing: -.01em; }
.stat__label { margin-top: 10px; color: var(--text-2); font-size: 17px; }
.section--dark .stat__label { color: var(--on-dark-2); }
@media (max-width: 734px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; } }

/* ---------- Horizontale Galerie (Scroller) ---------- */
.scroller { position: relative; }
.scroller__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 82vw); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 8px max(var(--gutter), calc((100vw - var(--w-wide)) / 2)) 32px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--w-wide)) / 2));
  scrollbar-width: none;
}
.scroller__track::-webkit-scrollbar { display: none; }
.scroller__track > * { scroll-snap-align: start; }
.scroller--sm .scroller__track { grid-auto-columns: min(300px, 74vw); }
.scroller__nav { display: flex; justify-content: flex-end; gap: 14px; width: min(100% - 2 * var(--gutter), var(--w-wide)); margin: 0 auto; }
.scroller__btn {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(210, 210, 215, .64); color: rgba(0, 0, 0, .56); transition: background-color .2s, opacity .2s;
}
.scroller__btn:hover { background: rgba(223, 223, 227, .7); color: rgba(0,0,0,.64); }
.scroller__btn:disabled { opacity: .36; cursor: default; }
.scroller__btn .icon { width: 18px; height: 18px; }
.scroller__btn--prev .icon { transform: rotate(180deg); }
.section--dark .scroller__btn { background: rgba(66, 66, 69, .72); color: rgba(255,255,255,.8); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .scroller__btn { background: rgba(66, 66, 69, .72); color: rgba(255,255,255,.8); } }
:root[data-theme="dark"] .scroller__btn { background: rgba(66, 66, 69, .72); color: rgba(255,255,255,.8); }

/* ---------- Referenz-Karte ---------- */
.ref-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); background: var(--bg-elev); color: var(--text);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.section--alt .ref-card { box-shadow: none; }
.section:not(.section--alt) .ref-card { background: var(--bg-alt); box-shadow: none; }
.ref-card:hover { transform: scale(1.015); box-shadow: var(--shadow-lg); text-decoration: none; }
.ref-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line-soft); }
.ref-card__media img { width: 100%; height: 100%; object-fit: cover; }
/* Hinweis auf einen anderen Bereich (z. B. Bad & Wellness auf der Produktseite, Badprojekte bei den Referenzen) */
.bereich-teaser { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-alt); color: var(--text); }
.bereich-teaser:hover { text-decoration: none; }
.bereich-teaser__media { height: 100%; min-height: 200px; overflow: hidden; }
.bereich-teaser__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bereich-teaser:hover .bereich-teaser__media img { transform: scale(1.04); }
.bereich-teaser__body { padding: clamp(20px, 4vw, 40px); display: grid; gap: 8px; justify-items: start; }
.section--alt .bereich-teaser { background: var(--bg-elev); }
@media (max-width: 640px) { .bereich-teaser { grid-template-columns: 1fr; } .bereich-teaser__media { min-height: 0; aspect-ratio: 16 / 9; } }
.ref-card__body { padding: 18px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ref-card__meta { font-size: 12px; font-weight: 600; color: var(--text-2); letter-spacing: -.01em; }
.ref-card__title { font-size: 19px; font-weight: 600; line-height: 1.21; letter-spacing: .012em; }
.ref-card__text { font-size: 14px; color: var(--text-2); line-height: 1.43; }
.ref-card__count { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 980px; font-size: 12px; color: #fff; background: rgba(20, 18, 16, .74); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ref-card__count .icon { width: 14px; height: 14px; }
.ref-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1068px) { .ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ref-grid { grid-template-columns: 1fr; } }

/* ---------- Filter (Segmented Control & Chips) ---------- */
.filters { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 48px; }
.ref-part { display: contents; }
.ref-live { scroll-margin-top: calc(var(--nav-h) + 12px); }
[data-ref-part="results"], .ref-panel { scroll-margin-top: calc(var(--nav-h) + 80px); transition: opacity .2s; }
.ref-live[aria-busy="true"] [data-ref-part="results"] { opacity: .55; }
.segmented { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg-alt); gap: 2px; }
.section--alt .segmented { background: rgba(118, 118, 128, .12); }
.segmented a { padding: 6px 18px; border-radius: 8px; font-size: 14px; color: var(--text); white-space: nowrap; }
.segmented a:hover { text-decoration: none; background: rgba(0,0,0,.04); }
.segmented a[aria-current="true"] { background: var(--bg-elev); box-shadow: 0 1px 4px rgba(0,0,0,.12); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; max-width: 100%; padding: 2px 2px 8px; scrollbar-width: none; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 7px 16px;
  border-radius: 980px; border: 1px solid var(--line); font-size: 14px; color: var(--text); white-space: nowrap; background: transparent;
}
.chip:hover { border-color: var(--text-2); text-decoration: none; }
.chip[aria-current="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip small { color: var(--text-3); font-size: 12px; }
.chip[aria-current="true"] small { color: inherit; opacity: .7; }
.search { position: relative; width: min(100%, 420px); }
.search input { width: 100%; height: 40px; padding: 0 16px 0 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-elev); color: var(--text); font: inherit; font-size: 15px; }
.search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-3); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .2); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 56px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 980px; font-size: 15px; color: var(--text); }
.pagination a:hover { background: var(--bg-alt); text-decoration: none; }
.pagination [aria-current="page"] { background: var(--text); color: var(--bg); font-weight: 600; }

/* ---------- Referenz-Detail ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery__item { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line-soft); cursor: zoom-in; border: 0; padding: 0; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--lead { grid-column: span 4; aspect-ratio: 16 / 9; }
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Zu kleines Foto als großes erstes Bild: höchstens 1,2-fach vergrößert, ungeschnitten, dahinter verschwommen (ab Tablet-Breite) */
.gallery__bg { display: none; }
@media (min-width: 735px) {
  .gallery__item--fit { background: #1d1d1f; }
  .gallery__item--fit .gallery__bg { display: block; position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; filter: blur(28px) brightness(.55) saturate(1.1); }
  .gallery__item--fit .gallery__fg { position: absolute; inset: 0; margin: auto; width: min(100%, var(--fw)); height: min(100%, var(--fh)); object-fit: contain; }
  .gallery__item--fit:hover .gallery__bg { transform: none; }
}
.gallery--3 .gallery__item--lead { grid-column: span 3; }
@media (max-width: 734px) {
  .gallery, .gallery--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__item--lead, .gallery--3 .gallery__item--lead { grid-column: span 2; }
}
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; border-radius: var(--r-md); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.facts > div { background: var(--bg); padding: 18px 20px; }
.facts dt { font-size: 12px; color: var(--text-2); }
.facts dd { font-size: 17px; font-weight: 600; margin-top: 2px; }
.breadcrumbs { font-size: 12px; color: var(--text-2); margin-bottom: 18px; }
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs span[aria-hidden] { margin: 0 6px; opacity: .6; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: none; background: rgba(0, 0, 0, .94); color: #fff; overscroll-behavior: contain; touch-action: pan-x pinch-zoom; } /* Wischen blättert, die Seite dahinter bleibt stehen */
.lightbox.is-open { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 14px; color: rgba(255,255,255,.7); }
.lightbox__stage { display: grid; place-items: center; padding: 0 64px; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.lightbox__btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.12); color: #fff; }
.lightbox__btn:hover { background: rgba(255,255,255,.22); }
.lightbox__btn .icon { width: 20px; height: 20px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; } .lightbox__nav--prev .icon { transform: rotate(180deg); }
.lightbox__nav--next { right: 12px; }
.lightbox__caption { padding: 14px 18px 22px; text-align: center; font-size: 14px; color: rgba(255,255,255,.7); }
@media (max-width: 734px) { .lightbox__stage { padding: 0 8px; } .lightbox__nav { top: auto; bottom: 14px; transform: none; } }

/* ---------- Vergleich (Compare) ---------- */
.compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center; }
.compare__col { padding: 0 8px; }
.compare__swatch { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 24px; background: var(--bg-alt); }
.compare__swatch img { width: 100%; height: 100%; object-fit: cover; }
.compare__col h3 { font-size: 24px; font-weight: 600; line-height: 1.17; }
.compare__col > p { margin-top: 8px; color: var(--text-2); }
.compare__list { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.compare__list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare__list li strong { display: block; font-size: 12px; color: var(--text-2); font-weight: 400; margin-bottom: 2px; }
@media (max-width: 834px) { .compare { grid-template-columns: 1fr; gap: 56px; } }

/* ---------- Technische Daten ---------- */
.specs { border-top: 1px solid var(--line); }
.specs__row { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.specs__row dt { font-size: 21px; font-weight: 600; line-height: 1.19; }
.specs__row dd { color: var(--text); }
.specs__row dd ul { margin: 0; padding-left: 1.1em; }
.specs__row dd li + li { margin-top: 4px; }
@media (max-width: 734px) { .specs__row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Ablauf (Schritte) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding: 32px 28px; border-radius: var(--r-xl); background: var(--bg-elev); }
.section:not(.section--alt):not(.section--dark) .step { background: var(--bg-alt); }
.section--dark .step { background: var(--dark-2); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--text); color: var(--bg); font-weight: 600; font-size: 17px; margin-bottom: 22px; }
.section--dark .step::before { background: var(--on-dark); color: #000; }
.step h3 { font-size: 21px; font-weight: 600; line-height: 1.19; margin-bottom: 8px; }
.step p { color: var(--text-2); }
.section--dark .step p { color: var(--on-dark-2); }
@media (max-width: 1068px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 834px) { .steps, .steps--4 { grid-template-columns: 1fr; } }

/* ---------- Kundenstimmen ---------- */
.quote-card { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--r-xl); background: var(--bg-elev); height: 100%; }
.section:not(.section--alt):not(.section--dark) .quote-card { background: var(--bg-alt); }
.section--dark .quote-card { background: var(--dark-2); }
.quote-card blockquote { margin: 0; font-size: 19px; line-height: 1.42; letter-spacing: .012em; }
.quote-card footer { margin-top: auto; font-size: 14px; color: var(--text-2); }
.section--dark .quote-card footer { color: var(--on-dark-2); }
.quote-card footer strong { display: block; color: var(--text); font-weight: 600; }
.section--dark .quote-card footer strong { color: var(--on-dark); }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rating-summary { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 21px; font-weight: 600; line-height: 1.24; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--text-2); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .faq__answer { padding: 0 48px 28px 0; color: var(--text-2); font-size: 17px; }
.faq .faq__answer p + p { margin-top: .8em; }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; background: #000; color: var(--on-dark); }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(60% 60% at 50% 100%, rgba(224,138,46,.34), transparent 70%), radial-gradient(40% 50% at 20% 100%, rgba(181,84,30,.3), transparent 70%), radial-gradient(40% 50% at 80% 100%, rgba(242,181,68,.24), transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band .lead { color: var(--on-dark-2); margin-top: 16px; }
.cta-band .btn-row { justify-content: center; margin-top: 32px; }
.cta-band__contact { margin-top: 28px; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: 15px; color: var(--on-dark-2); }
.cta-band__contact a { color: var(--on-dark); display: inline-flex; gap: 8px; align-items: center; }
.cta-band__contact .icon { width: 18px; height: 18px; }

/* ---------- Partner / Logos ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 56px; }
.logos img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logos a:hover img { filter: none; opacity: 1; }
.logos span { font-size: 15px; color: var(--text-2); font-weight: 600; }

/* ---------- Vorher / Nachher ---------- */
.ba { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 3; background: #000; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: pan-y pinch-zoom; cursor: ew-resize; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.3); }
.ba__handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #2e2e2e; font-size: 18px; font-weight: 600; letter-spacing: 2px; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
/* Regler nur für Tastatur/Screenreader – Finger und Maus bedienen das Bild (siehe app.js), damit Wischen auf dem Bild die Seite scrollt */
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.ba:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.ba__label { position: absolute; bottom: 14px; padding: 4px 12px; border-radius: 980px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.ba__label--before { left: 14px; } .ba__label--after { right: 14px; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 56px; padding: 26px 16px 8px;
  font: inherit; font-size: 17px; color: var(--text);
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; padding-top: 30px; }
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 17px; color: var(--text-3); pointer-events: none; transition: transform .16s var(--ease), font-size .16s var(--ease), top .16s var(--ease); transform-origin: left top; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .2); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: 12px; }
.field--error input, .field--error textarea, .field--error select { border-color: var(--danger); }
.field__hint { font-size: 12px; color: var(--text-2); margin-top: 6px; padding-left: 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.form-note { font-size: 12px; color: var(--text-2); }
/* Sterne-Auswahl (Kundenmeinung schreiben) – echte Radio-Knöpfe, per Tastatur mit den Pfeiltasten wählbar */
.rating-input { border: 0; margin: 0; padding: 0; min-width: 0; }
.rating-input legend { padding: 0; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--text); }
.rating-input__stars { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.rating-input__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rating-input__stars label { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; cursor: pointer; color: var(--text-3); transition: color .12s, transform .12s; }
.rating-input__stars label .icon { width: 36px; height: 36px; fill: currentColor; stroke: none; }
.rating-input__stars input:checked + label, .rating-input__stars label:has(~ input:checked) { color: var(--gold); }
.rating-input__stars:has(label:hover) label { color: var(--gold); }
.rating-input__stars label:hover ~ label { color: var(--text-3); }
.rating-input__stars label:hover { transform: scale(1.08); }
.rating-input__stars input:focus-visible + label { box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .35); }
.rating-input--error .rating-input__stars label { color: rgba(215, 0, 21, .35); }
.rating-input__text { margin-left: 10px; font-size: 15px; color: var(--text-2); }
.rating-input__stars:has(input[value="1"]:checked) .rating-input__text::after { content: "1 Stern – Enttäuschend"; }
.rating-input__stars:has(input[value="2"]:checked) .rating-input__text::after { content: "2 Sterne – Geht so"; }
.rating-input__stars:has(input[value="3"]:checked) .rating-input__text::after { content: "3 Sterne – Gut"; }
.rating-input__stars:has(input[value="4"]:checked) .rating-input__text::after { content: "4 Sterne – Sehr gut"; }
.rating-input__stars:has(input[value="5"]:checked) .rating-input__text::after { content: "5 Sterne – Ausgezeichnet"; }
@media (prefers-reduced-motion: reduce) { .rating-input__stars label { transition: none; } .rating-input__stars label:hover { transform: none; } }
.alert { padding: 18px 20px; border-radius: var(--r-sm); font-size: 15px; }
.alert--success { background: rgba(29, 138, 58, .1); color: var(--success); }
.alert--error { background: rgba(215, 0, 21, .08); color: var(--danger); }
.alert strong { display: block; font-size: 17px; margin-bottom: 2px; }

/* Auswahl-Karten (Konfigurator im Stil des Apple Store) */
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 18px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg-elev);
  transition: border-color .2s, box-shadow .2s;
}
.choice__box img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.choice__title { font-size: 17px; font-weight: 600; line-height: 1.24; }
.choice__text { font-size: 14px; color: var(--text-2); line-height: 1.4; }
.choice:hover .choice__box { border-color: var(--text-3); }
.choice input:checked + .choice__box { border: 2px solid var(--accent); padding: 17px; }
.choice input:focus-visible + .choice__box { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .25); }

.configurator { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.config-step { padding: 40px 0; border-top: 1px solid var(--line); }
.config-step:first-child { border-top: 0; padding-top: 0; }
.config-step__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.config-step__num { font-size: 14px; color: var(--text-2); font-weight: 600; }
/* Schrittnummern zählen nur sichtbare Schritte (Decke oder Bad & Wellness) */
.configurator { counter-reset: schritt; }
.configurator fieldset.config-step:not([hidden]) { counter-increment: schritt; }
.config-step__num::before { content: counter(schritt); }
.configurator [data-modus][hidden] { display: none !important; }
.no-js .configurator fieldset[data-modus][hidden] { display: block !important; } /* ohne JavaScript alle Fragen zeigen */
.no-js .configurator fieldset.config-step[hidden] { counter-increment: schritt; }
.config-step h2 { font-size: 28px; line-height: 1.14; font-weight: 600; }
.config-step h2 + p { color: var(--text-2); margin-top: -12px; margin-bottom: 22px; }
.summary { position: sticky; top: 72px; padding: 28px; border-radius: var(--r-lg); background: var(--bg-alt); }
.summary h2, .summary h3 { font-size: 21px; font-weight: 600; margin-bottom: 16px; }
.summary dl { display: grid; gap: 10px; font-size: 14px; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line-soft); padding-bottom: 10px; }
.summary dt { color: var(--text-2); }
.summary dd { text-align: right; font-weight: 600; }
.summary__perks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 14px; }
.summary__perks li { display: flex; gap: 10px; align-items: flex-start; }
.summary__perks .icon { width: 18px; height: 18px; color: var(--success); margin-top: 1px; }
@media (max-width: 1068px) { .configurator { grid-template-columns: 1fr; } .summary { position: static; } }

/* ---------- Kontakt ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-card { padding: 28px; border-radius: var(--r-lg); background: var(--bg-alt); display: flex; flex-direction: column; gap: 6px; color: var(--text); }
.contact-card:hover { text-decoration: none; }
.contact-card .icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 10px; }
.contact-card strong { font-size: 19px; }
.contact-card span { color: var(--text-2); font-size: 15px; }
a.contact-card:hover strong { color: var(--link); }
@media (max-width: 834px) { .contact-cards { grid-template-columns: 1fr; } }
.address-card { padding: 32px; border-radius: var(--r-xl); background: var(--bg-alt); }
.address-card h3 { font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.address-card address { font-style: normal; font-size: 17px; line-height: 1.5; }

/* ---------- Footer ---------- */
.gfooter { background: var(--bg-alt); color: var(--text-2); font-size: 12px; line-height: 1.33; letter-spacing: -.01em; padding: 40px 0 28px; }
.gfooter a { color: var(--text-2); }
.gfooter a:hover { color: var(--text); }
.gfooter__inner { width: min(100% - 2 * var(--gutter), 980px); margin-inline: auto; }
.gfooter__note { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.gfooter__note p + p { margin-top: 8px; }
.gfooter__cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; padding: 24px 0; }
@media (max-width: 1068px) { .gfooter__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gfooter__cols h3 { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.gfooter__cols ul { list-style: none; margin: 0; padding: 0; }
.gfooter__cols li + li { margin-top: 9px; }
.gfooter__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.gfooter__legal { display: flex; flex-wrap: wrap; gap: 0; }
.gfooter__legal a { padding: 0 10px; border-left: 1px solid var(--line); }
.gfooter__legal a:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 834px) { .gfooter__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Mobile Aktionsleiste ---------- */
.mbar { display: none; }
@media (max-width: 734px) {
  .mbar {
    position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 95;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px;
    border-radius: 22px; background: var(--nav-bg); box-shadow: 0 8px 32px rgba(0,0,0,.18);
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .mbar.is-visible { transform: none; }
  .mbar .btn { min-height: 44px; font-size: 15px; }
  body { padding-bottom: 0; }
  .gfooter { padding-bottom: 100px; }
}

/* ---------- Animation beim Scrollen ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .1s; } .js .reveal-delay-2 { transition-delay: .2s; } .js .reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Diverses ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 980px; font-size: 12px; font-weight: 600; background: var(--bg-alt); color: var(--text-2); }
.pill--accent { background: rgba(var(--accent-rgb), .1); color: var(--link); }
.pill--new { background: rgba(232, 163, 23, .16); color: var(--pill-new); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.section--dark .check-list .icon { color: var(--link-dark); }
.map-card { border-radius: var(--r-xl); overflow: hidden; background: var(--bg-alt); }
.empty { text-align: center; padding: 64px 24px; border-radius: var(--r-xl); background: var(--bg-alt); }
.empty .icon { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--text-3); }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 64px; }
.mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }

/* Konfigurator: Fieldsets ohne Browser-Rahmen */
fieldset.config-step { border: 0; margin: 0; min-width: 0; padding-inline: 0; }
legend.config-step__head { display: flex; width: 100%; padding: 0; }
.config-step__head .h3 { font-size: 28px; }

/* Mobile Feinschliff Hero */
@media (max-width: 734px) {
  .hero--image { min-height: 0; padding-bottom: 36px; }
  .hero__badges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 380px; margin: 36px auto 0; }
  .badge-glass { justify-content: center; font-size: 12px; padding: 8px 10px; }
  .badge-glass .icon { width: 15px; height: 15px; }
  .hero__text .btn-row { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
}

/* Ergänzungen für Service- und Infoseiten */
.pt-0 { padding-top: 0 !important; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.masonry { columns: 3 320px; column-gap: 24px; }
.masonry > * { break-inside: avoid; height: auto; margin-bottom: 24px; }
.section--alt .contact-card { background: var(--bg-elev); }
.pill .icon { width: 14px; height: 14px; }
.ba--labels-top .ba__label { bottom: auto; top: 14px; }
.ba--3-2 { aspect-ratio: 3 / 2; }
.prose .callout { margin: 2em 0; padding: 28px 32px; border-radius: var(--r-lg); background: var(--bg-alt); }
.prose .callout h2 { margin-top: .4em; }

/* Ergänzungen für Produktseiten */
.link-more--light, .tile--photo .link-more { color: #fff; }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compare--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
@media (max-width: 834px) { .compare--2 { grid-template-columns: 1fr; } }
@media (max-width: 734px) { .stats--3 { grid-template-columns: 1fr; } }
figcaption, .caption { font-size: 14px; color: var(--text-2); margin-top: 12px; }
.section--dark figcaption { color: var(--on-dark-2); }

/* =====================================================================
   Scroll-Szenen („Scroll-Videos“ wie auf apple.com)
   Eine Szene ist ein hoher Abschnitt mit einer klebenden Bühne.
   app.js setzt --p (0…1) auf die Szene und --t auf Elemente mit data-range.
   ===================================================================== */
.scene { position: relative; height: var(--scene-len, 300vh); background: #000; color: var(--on-dark); }
.scene__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: clamp(16px, 3vh, 32px); padding: 64px var(--gutter) 40px; }
.scene__head { text-align: center; max-width: 820px; position: relative; z-index: 3; }
.scene__head .lead { color: var(--on-dark-2); margin-top: 10px; }
.scene__frame { position: relative; width: min(100%, 1100px, calc((100vh - 260px) * 1.5)); width: min(100%, 1100px, calc((100svh - 260px) * 1.5)); aspect-ratio: 3 / 2; border-radius: var(--r-xl); overflow: hidden; background: #111; box-shadow: 0 40px 120px rgba(0,0,0,.5); transform: scale(calc(1.06 - .06 * var(--p, 0))); transform-origin: center; will-change: transform; }
.scene__frame--43 { aspect-ratio: 4 / 3; width: min(100%, 1000px, calc((100vh - 260px) * 1.333)); width: min(100%, 1000px, calc((100svh - 260px) * 1.333)); }
.scene__frame img, .scene__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Mehrere Einstellungen („Shots“) nacheinander */
.shot { position: absolute; inset: 0; opacity: var(--o, 0); }
.shot:first-child { --o: 1; }
.shot__after { clip-path: inset(0 0 calc((1 - var(--w, 0)) * 100%) 0); }
.shot__line { position: absolute; left: 0; right: 0; top: calc(var(--w, 0) * 100%); height: 3px; margin-top: -1px; background: #fff; box-shadow: 0 0 18px 6px rgba(255,214,150,.75), 0 0 60px 18px rgba(232,163,23,.35); opacity: calc(min(var(--w, 0) * 12, (1 - var(--w, 0)) * 12, 1)); pointer-events: none; }
.shot__label { position: absolute; top: 16px; padding: 5px 14px; border-radius: 980px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(0,0,0,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: opacity .3s; }
.shot__label--before { left: 16px; opacity: calc((1 - var(--w, 0) * 2) * (1 - var(--n, 0))); }
.shot__label--after { left: 16px; opacity: calc((var(--w, 0) * 2 - 1) * (1 - var(--n, 0))); }
.scene__captions { display: grid; width: min(100%, 760px); text-align: center; }
.scene__caption { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.scene__caption.is-active { opacity: 1; transform: none; }
.scene__caption strong { display: block; font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; color: #fff; }
.scene__caption span { color: var(--on-dark-2); font-size: 15px; }
.scene__dots { display: flex; gap: 8px; justify-content: center; }
.scene__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); transition: background-color .3s, transform .3s; }
.scene__dots i.is-active { background: #fff; transform: scale(1.25); }
.scene__hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--on-dark-2); opacity: calc(1 - var(--p, 0) * 8); display: flex; align-items: center; gap: 6px; }
.scene__hint .icon { width: 16px; height: 16px; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Farbfolge (Bildsequenz, die beim Scrollen überblendet) */
.seq img { opacity: 0; }
.seq img:first-child { opacity: 1; }
.seq-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.seq-legend > * { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 980px; font-size: 13px; color: var(--on-dark-2); border: 1px solid rgba(255,255,255,.14); transition: color .3s, border-color .3s, background-color .3s; }
.seq-legend > *::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.seq-legend > .is-active { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.seq-legend--buttons button { font: inherit; font-size: 14px; min-height: 32px; background: transparent; cursor: pointer; }
.seq-legend--buttons button:hover { color: #fff; border-color: rgba(255,255,255,.36); }
.seq-legend--buttons button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 980px; }
.seq-legend--buttons [data-off]::before { box-shadow: none; background: transparent; border: 1.5px solid var(--c); }

/* Licht-Szene: echtes Foto, die LED-Farbe kommt additiv darüber (wie echtes Licht) – app.js setzt --led und --led-i */
.light-mix__led, .light-mix__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--led, #ffb86b); opacity: var(--led-i, 1);
  mix-blend-mode: screen; mix-blend-mode: plus-lighter;
  -webkit-mask-image: var(--m); mask-image: var(--m);
  -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
/* hochauflösende Bildschirme: große Maske (falls vorhanden), Hochformat: eigene Maske */
@media (min-resolution: 1.5dppx) and (min-width: 1000px), (min-width: 2200px) { .light-mix__led, .light-mix__glow { -webkit-mask-image: var(--m2, var(--m)); mask-image: var(--m2, var(--m)); } }
@media (orientation: portrait) { .light-mix__led, .light-mix__glow { -webkit-mask-image: var(--mp); mask-image: var(--mp); } }
/* Masken erst laden, wenn die Szene näher kommt (app.js setzt .is-near) – sonst kosten sie beim Seitenaufruf Zeit */
.js .light-mix:not(.is-near) .light-mix__led, .js .light-mix:not(.is-near) .light-mix__glow { display: none; }
.light-mix__before, .light-mix__after { position: absolute; inset: 0; }
.light-mix__after { isolation: isolate; }
.light-mix__before img, .light-mix__after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Vorher → Nachher: die neue Decke schiebt sich mit weicher Kante von links über die alte (--w = 0…1) */
.light-mix--wipe .light-mix__after {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--w, 1) * 125% - 25%), transparent calc(var(--w, 1) * 125%));
  mask-image: linear-gradient(90deg, #000 calc(var(--w, 1) * 125% - 25%), transparent calc(var(--w, 1) * 125%));
}
.scene__says { display: grid; max-width: 700px; text-align: center; }
.scene__says p { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); font-size: clamp(15px, 1.5vw, 19px); line-height: 1.35; color: rgba(255,255,255,.92); text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.scene__says p.is-active { opacity: 1; transform: none; }
.scene__says strong { color: #fff; font-weight: 600; }
.light-mix__glow { opacity: calc(var(--led-i, 1) * .45); }
/* Zusatzbilder desselben Raums: helle Strahler, darüber die leuchtende Decke – beide unter dem LED-Licht; app.js setzt --s und --d */
.light-mix__layer { position: absolute; inset: 0; pointer-events: none; }
.light-mix__spots { opacity: var(--s, 0); }
.light-mix__decke { opacity: var(--d, 0); }
.js .light-mix:not(.is-near) .light-mix__layer { display: none; } /* erst laden, wenn die Szene näher kommt */
.scene.is-static .light-mix__layer, .no-js .light-mix__layer { transition: opacity .6s var(--ease); }
.scene.is-static .light-mix__led, .scene.is-static .light-mix__glow, .no-js .light-mix__led { transition: background-color .6s var(--ease), opacity .6s var(--ease); }
.light-mix__note { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 28px 16px 12px; font-size: 12px; line-height: 1.33; color: rgba(255,255,255,.82); text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.light-mix__note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* Ohne JavaScript oder mit reduzierter Bewegung: Szenen werden zu normalen Abschnitten */
.no-js .scene, .scene.is-static { height: auto; }
.no-js .scene__sticky, .scene.is-static .scene__sticky { position: relative; height: auto; min-height: 0; padding-block: 72px; }
.no-js .shot__after, .scene.is-static .shot__after { clip-path: none; }
.no-js .shot, .scene.is-static .shot { opacity: 0; } .no-js .shot:first-child, .scene.is-static .shot:first-child { opacity: 1; }
.scene.is-static .scene__frame { transform: none; }
.scene.is-static .scene__hint, .no-js .scene__hint { display: none; }

/* Mobil: Bühne kompakter */
@media (max-width: 734px) {
  .scene__sticky { padding-top: 56px; gap: 14px; }
  .scene__frame, .scene__frame--43 { border-radius: var(--r-md); width: 100%; }
  .scene__caption span { font-size: 14px; }
}

/* Licht-Szene in voller Breite: das Bild füllt die ganze Bühne, Überschrift und Farbwahl liegen darauf */
.scene--full .scene__sticky { padding: 0; gap: 0; justify-content: space-between; }
.light-mix--full { position: absolute; inset: 0; overflow: hidden; transform: scale(calc(1.08 - .08 * var(--p, 0))); transform-origin: 50% 40%; will-change: transform; }
.light-mix--full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.light-mix--full .light-mix__glow { opacity: var(--led-i, 1); } /* hier trägt die zweite Ebene den ganzen weichen Lichtschein */
.scene--full .scene__sticky::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse var(--scrim-e, 64% 34% at 50% 20%),
            rgba(0,0,0,calc(var(--scrim-a, .25) * var(--d, 0))),
            transparent 100%
        ),
        linear-gradient(
            rgba(0,0,0,calc(.74 - .44 * var(--d, 0))),
            rgba(0,0,0,calc(.30 - .20 * var(--d, 0))) 24%,
            transparent 40%,
            transparent 62%,
            rgba(0,0,0,calc(.50 - .25 * var(--d, 0))) 84%,
            rgba(0,0,0,calc(.78 - .28 * var(--d, 0)))
        );
}

@media (orientation: portrait) {
    .scene--full .scene__sticky::after {
        --scrim-e: 96% 30% at 50% 26%;
        --scrim-a: .30;
    }
}.scene--full .scene__head { position: relative; z-index: 2; padding: calc(var(--nav-h) + clamp(16px, 5vh, 52px)) var(--gutter) 0; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.scene--full .scene__head .lead-sm { color: rgba(255,255,255,.88); margin-top: 8px; }
.scene--full .scene__foot { position: relative; z-index: 2; display: grid; gap: 12px; justify-items: center; padding: 0 var(--gutter) clamp(46px, 8vh, 76px); }
.scene--full .seq-legend > * { background: rgba(0,0,0,.38); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: rgba(255,255,255,.24); color: rgba(255,255,255,.88); }
.scene--full .seq-legend > .is-active { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.75); color: #fff; }
.scene--full .scene__hint { z-index: 2; color: rgba(255,255,255,.8); }
.scene__note { margin: 0; max-width: 640px; font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.8); text-align: center; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.scene__note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.scene--full.is-static .scene__sticky, .no-js .scene--full .scene__sticky { height: 100vh; height: 100svh; min-height: 560px; padding: 0; }
.scene--full.is-static .light-mix--full, .no-js .light-mix--full { transform: none; }
@media (max-width: 734px) {
  .scene--full .scene__foot { padding-bottom: calc(max(10px, env(safe-area-inset-bottom)) + 86px); gap: 10px; }
  .scene--full .seq-legend { gap: 6px; }
  .scene--full .seq-legend--buttons button { padding: 5px 10px; font-size: 13px; gap: 6px; min-height: 30px; }
  .scene__says p { font-size: 14px; }
  .scene--full .scene__hint { display: none; }
}

/* =====================================================================
   Mehr Bewegung auf allen Seiten
   ===================================================================== */
/* Startseiten-Hero: Text erscheint gestaffelt, Bild zoomt langsam, Parallax beim Scrollen */
.js .hero--image .hero__text > * { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; }
.js .hero--image .hero__text > :nth-child(2) { animation-delay: .12s; }
.js .hero--image .hero__text > :nth-child(3) { animation-delay: .26s; }
.js .hero--image .hero__text > :nth-child(4) { animation-delay: .4s; }
.js .hero--image .hero__badges { opacity: 0; animation: rise 1s .6s var(--ease) forwards; }
.hero--image .hero__bg img { animation: kenburns 2.6s var(--ease) both; }
.hero--image .hero__bg { transform: translateY(calc(var(--hp, 0) * 18%)) scale(calc(1 + var(--hp, 0) * .08)); will-change: transform; }
.hero--image .hero__text { transform: translateY(calc(var(--hp, 0) * -60px)); opacity: calc(1 - var(--hp, 0) * 1.6); }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.12); filter: brightness(.6); } to { transform: scale(1); filter: none; } }

/* Verlaufsschrift schimmert langsam */
.gradient-text { background-size: 200% 100%; animation: shimmer 8s ease-in-out infinite alternate; }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Bilder in Kacheln zoomen beim Hereinscrollen leicht heraus */
[data-zoom] img { transform: scale(calc(1.14 - .14 * var(--t, 1))); transition: transform .1s linear; will-change: transform; }

/* Apple-Effekt: Wörter leuchten beim Scrollen nacheinander auf */
.highlight-text { font-size: clamp(28px, 4vw, 48px); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.js .highlight-text .w { color: var(--text-3); opacity: .35; transition: opacity .25s, color .25s; }
.js .highlight-text .w.is-lit { opacity: 1; color: var(--text); }
.section--dark .highlight-text .w.is-lit { color: #fff; }

/* Karten im Karussell bewusst OHNE Einfliegen beim Wischen (animation-timeline): Chrome/Android und neues Safari schoben die
   angeschnittene nächste Karte damit aus dem Bild – statt „da geht’s weiter“ sah man nur einen leeren Rand */

@media (prefers-reduced-motion: reduce) {
  .hero--image .hero__bg, .hero--image .hero__text { transform: none !important; opacity: 1 !important; }
  .gradient-text { animation: none; }
  [data-zoom] img { transform: none; }
  .js .highlight-text .w { opacity: 1; color: inherit; }
  .js .scroller__track > * { animation: none; }
}

/* =====================================================================
   Kopfbild (Bild der bisherigen Startseite) auf allen Unterseiten
   ===================================================================== */
.page-banner { position: relative; height: clamp(170px, 30vw, 460px); overflow: hidden; background: #2a1012; isolation: isolate; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: translateY(calc(var(--bp, 0) * 22%)) scale(calc(1.02 + var(--bp, 0) * .06)); will-change: transform; }
.js .page-banner img { animation: bannerIn 1.8s var(--ease) both; }
/* Glanzlicht, das einmal über die Hochglanzdecke wandert */
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.38) 48%, rgba(255,255,255,.08) 54%, transparent 62%); transform: translateX(-110%); mix-blend-mode: soft-light; }
.js .page-banner::before { animation: glare 2.2s .5s var(--ease) both; }
/* Weicher Übergang in die Seite */
.page-banner::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; z-index: 2; background: linear-gradient(transparent, var(--bg)); }
.page-banner:has(+ .page-hero--dark)::after, .page-banner:has(+ .section--dark)::after { background: linear-gradient(transparent, #000); }
.page-banner:has(+ .section--alt)::after { background: linear-gradient(transparent, var(--bg-alt)); }
.page-banner + .page-hero, .page-banner + .section { padding-top: clamp(28px, 4vw, 56px); }
@keyframes bannerIn { from { transform: scale(1.12); filter: saturate(.6) brightness(.75); } to { transform: scale(1.02); filter: none; } }
@keyframes glare { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
@media (prefers-reduced-motion: reduce) {
  .page-banner img { transform: none !important; animation: none !important; }
  .page-banner::before { display: none; }
}
.page-banner:has(+ .scene)::after { background: linear-gradient(transparent, #000); }
.page-banner + .hero { padding-top: clamp(28px, 4vw, 56px); }


/* Sehr schmale Bildschirme: Logo nie zusammendrücken, Schriftzug ausblenden */
.brand { min-width: 0; }
.brand__mark, .brand__word { flex: none; }
@media (max-width: 359px) {
  .gnav__actions .btn--sm { padding-inline: 10px; }
}
@media (max-width: 359px) {
  .mbar { left: 6px; right: 6px; gap: 6px; padding: 6px; }
  .mbar .btn { font-size: 13px; padding-inline: 8px; gap: 5px; }
  .mbar .btn .icon { width: 15px; height: 15px; }
}

/* =====================================================================
   Ratgeber
   ===================================================================== */
.article-meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; color: var(--text-2); }
.article-meta .icon { width: 16px; height: 16px; }
.article .page-hero { text-align: left; }
.article .page-hero .lead { margin-left: 0; }
.article-body { padding-bottom: clamp(56px, 8vw, 96px); font-size: 19px; line-height: 1.58; letter-spacing: .012em; }
.article-body > p:first-child { font-size: 21px; line-height: 1.52; }
.article-body h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; margin-top: 1.9em; }
.article-body h3 { font-size: 21px; margin-top: 1.6em; }
.article-body img, .article-body figure { border-radius: var(--r-lg); margin: 1.6em 0; }
.article-body figcaption { text-align: center; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; }
.article-body th, .article-body td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body th { font-size: 13px; color: var(--text-2); font-weight: 600; }
.article-body td:first-child { font-weight: 600; }
.prose .callout--cta { background: var(--text); color: var(--bg); }
.prose .callout--cta p + p { margin-top: .5em; }
.prose .callout--cta .h4 { color: var(--bg); }
.prose .callout--cta p:not(.h4) { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.prose .callout--tip { background: rgba(var(--accent-rgb), .08); }
.prose .callout--tip strong:first-child { display: block; margin-bottom: 4px; color: var(--accent); }
.price-box { margin: 1.6em 0; padding: 28px 32px; border-radius: var(--r-lg); background: var(--bg-alt); }
.price-box__from { font-size: clamp(40px, 6vw, 56px); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.price-box__from small { font-size: 19px; font-weight: 600; color: var(--text-2); }
@media (max-width: 600px) { .article-body table { font-size: 14px; } .article-body th, .article-body td { padding: 10px 6px; } }

/* Angebot-Knopf in der Navigation */
.gnav__actions .btn--sm { min-height: 34px; padding: 6px 16px; font-size: 14px; }
@media (min-width: 901px) and (max-width: 1099px) { .gnav__actions .btn--sm { padding-inline: 12px; font-size: 13px; } }

/* Schalter für die Darstellung */
.gnav__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--nav-text); cursor: pointer; transition: background-color .2s, color .2s; }
.gnav__icon:hover { color: var(--text); background: var(--line-soft); }
.gnav__icon .icon { width: 20px; height: 20px; }
.theme-icon--moon { display: none; }
:root[data-theme="dark"] .theme-icon--sun { display: none; }
:root[data-theme="dark"] .theme-icon--moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-icon--sun { display: none; }
  :root:not([data-theme]) .theme-icon--moon { display: block; }
}
.theme-switch { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; max-width: 100%; } /* sehr schmale Handys / große Schrift: Knöpfe rutschen unter „Darstellung“ */
.theme-switch .segmented { background: var(--bg-elev); }
.theme-switch button { border: 0; background: none; padding: 4px 12px; border-radius: 7px; font: inherit; font-size: 12px; color: var(--text-2); cursor: pointer; }
.theme-switch button[aria-pressed="true"] { background: var(--bg-alt); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
:root[data-theme="dark"] .theme-switch button[aria-pressed="true"] { background: var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-switch button[aria-pressed="true"] { background: var(--line); } }

/* Produkte im Menü (mit Bild) */
.flyout__group--products { flex: 2.2; }
.flyout__products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.flyout-product { display: flex; align-items: center; gap: 14px; padding: 8px; margin: -8px; border-radius: 12px; color: var(--text); transition: background-color .2s; }
.flyout-product:hover { background: var(--bg-alt); text-decoration: none; }
.flyout-product img { width: 72px; height: 54px; object-fit: cover; border-radius: 9px; flex: none; }
.flyout-product strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.flyout-product small { display: block; font-size: 12px; color: var(--text-2); margin-top: 1px; }
.flyout__inner { padding-left: 40px; gap: 56px; }
@media (max-width: 900px) {
  .gnav.is-mobile-open .flyout__products { grid-template-columns: 1fr; gap: 4px; }
  .gnav.is-mobile-open .flyout-product { margin: 0; padding: 6px 0; }
  .gnav.is-mobile-open .flyout-product img { width: 56px; height: 42px; }
}

/* =====================================================================
   Live-Suche
   ===================================================================== */
.search-panel { position: fixed; inset: 0 0 auto 0; z-index: 120; max-height: 100vh; max-height: 100dvh; overflow-y: auto; background: var(--bg); box-shadow: 0 40px 80px -40px rgba(0,0,0,.35); opacity: 0; transform: translateY(-14px); transition: opacity .22s var(--ease), transform .3s var(--ease); }
.search-panel.is-open { opacity: 1; transform: none; }
.search-panel__inner { width: min(100% - 2 * var(--gutter), 692px); margin-inline: auto; padding: 8px 0 44px; }
.search-panel__form { display: flex; align-items: center; gap: 12px; min-height: 68px; border-bottom: 1px solid var(--line); }
.search-panel__form > .icon { width: 24px; height: 24px; color: var(--text-2); }
.search-panel__form input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: clamp(20px, 3vw, 26px); font-weight: 600; letter-spacing: -.01em; color: var(--text); outline: none; -webkit-appearance: none; }
.search-panel__form input::placeholder { color: var(--text-3); font-weight: 400; }
.search-panel__form input::-webkit-search-cancel-button { display: none; }
.search-group-title { font-size: 12px; font-weight: 400; color: var(--text-2); margin: 24px 0 6px; }
.search-quick, .search-list { list-style: none; margin: 0; padding: 0; }
.search-quick a { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; font-weight: 600; color: var(--text); }
.search-quick a .icon { width: 15px; height: 15px; color: var(--text-3); }
.search-quick a:hover { color: var(--link); text-decoration: none; }
.search-list a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; margin: 0 -12px; border-radius: 12px; color: var(--text); }
.search-list a:hover, .search-list a:focus { background: var(--bg-alt); text-decoration: none; outline: none; }
.search-list strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.search-list small { display: block; font-size: 13px; color: var(--text-2); line-height: 1.4; margin-top: 2px; }
.search-list--refs img { width: 72px; height: 54px; object-fit: cover; border-radius: 9px; flex: none; }
.search-list mark, .search-quick mark { background: none; color: var(--accent); }
.search-all { display: inline-flex; margin-top: 18px; font-size: 15px; }
.search-empty { margin-top: 24px; color: var(--text-2); }
.search-loading { margin-top: 24px; color: var(--text-3); font-size: 14px; }
.curtain.is-search { pointer-events: auto; z-index: 115; }
.page-hero .search { margin-inline: auto; }
.section .search-list { margin-bottom: 8px; }

/* Mobile Kopfleiste: Logo, Suche, Menü – Angebot steht unten in der Leiste und im Menü */
@media (max-width: 600px) {
  .gnav__actions .btn--sm, .gnav__actions [data-theme-toggle] { display: none; }
  .gnav__actions { gap: 2px; }
}

/* Logo im Footer und auf sehr schmalen Handys */
.gfooter__brand { margin-bottom: 26px; gap: 12px; }
.gfooter__brand .brand__mark { width: 36px; height: 36px; border-radius: 9px; }
.gfooter__brand .brand__word { height: 27px; }
/* Handy: Logo in der Leiste etwas kleiner, damit es neben Suche und Menü passt */
@media (max-width: 600px) {
  .gnav .brand__mark { width: 28px; height: 28px; border-radius: 7px; }
  .gnav .brand__word { height: 21px; }
}
@media (max-width: 400px) {
  .gnav .brand { gap: 8px; }
  .gnav .brand__word { height: 19px; }
}
@media (max-width: 374px) {
  .gnav .brand__mark { display: none; }
  .gfooter__brand .brand__mark { width: 30px; height: 30px; }
  .gfooter__brand .brand__word { height: 21px; }
}
/* Lange Button-Texte auf schmalen Handys umbrechen statt über den Rand zu ragen */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
}

/* Seiten mit Produkt-Leiste: der Angebot-Knopf steht dort – nicht doppelt untereinander */
body.has-localnav .gnav__actions .btn--sm { display: none; }

/* Aktionen (wie die alte Angebotsseite: Pakete mit Leistungen und Preis) */
.offer-group + .offer-group { margin-top: clamp(56px, 8vw, 96px); }
.offer-group__head { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; align-items: stretch; }
.offer-card { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--bg-elev); box-shadow: var(--shadow); overflow: hidden; }
.offer-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line-soft); }
.offer-card__media img { width: 100%; height: 100%; object-fit: cover; }
.offer-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 22px 24px 26px; }
.offer-card__title { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.offer-card__text { color: var(--text-2); font-size: 15px; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; line-height: 1.4; }
.offer-list > li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.offer-list > li > .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--success); }
.offer-list ul { margin: 6px 0 0; padding-left: 16px; color: var(--text-2); font-size: 14px; font-style: italic; }
.offer-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.offer-price { display: grid; gap: 0; line-height: 1.15; }
.offer-price span { font-size: 12px; color: var(--text-2); }
.offer-price strong { font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.offer-note { margin-top: 32px; font-size: 12px; color: var(--text-2); max-width: 820px; }

/* Zoom-Effekt: vergrößertes Bild nie über den Rand ragen lassen (sonst Streifen über dem Foto) */
[data-zoom], .tile__media { overflow: hidden; }
/* Links auf dunklen Kacheln und Fotos: helles Bernstein statt Kupfer (Kontrast) */
.tile--dark a:not(.btn), .tile--photo a:not(.btn), .hero--image a:not(.btn), .page-hero--dark a:not(.btn) { color: var(--link-dark); }

/* Barrierefreiheit: Kontraste und Klickflächen (WCAG 2.2 AA) */
.scene .eyebrow, .scene__head .eyebrow { color: var(--on-dark-2); }
.gnav__phone { min-height: 32px; }
.cta-band__contact a { min-height: 32px; }
dd > a { display: inline-block; padding-block: 3px; }

/* =====================================================================
   Aktions-Hinweis: erscheint nur, wenn eine Aktion läuft – und nur auf der Seite, auf der man ankommt
   (app.js prüft die Herkunft; kein Cookie, kein Speicher). Am Computer als Fenster, am Handy als Karte unten.
   ===================================================================== */
.promo { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.promo[hidden] { display: none; }
.promo.is-open { opacity: 1; }
.promo__card { position: relative; display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); width: min(780px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: var(--r-xl); background: var(--bg-elev); color: var(--text); box-shadow: 0 30px 90px rgba(0,0,0,.35); transform: translateY(16px) scale(.98); transition: transform .4s var(--ease); }
.promo.is-open .promo__card { transform: none; }
.promo__card:not(:has(.promo__media)) { grid-template-columns: 1fr; width: min(520px, 100%); }
.promo__media { min-height: 100%; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; }
.promo__body { display: grid; gap: 10px; align-content: start; padding: 34px 32px 28px; }
.promo__body .btn-row { margin-top: 6px; }
.promo__close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; cursor: pointer; }
.promo__close .icon { width: 18px; height: 18px; }
.promo__list { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.promo__list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg-alt); color: var(--text); font-size: 14px; line-height: 1.3; text-decoration: none; transition: background-color .2s; }
.promo__list a:hover { background: rgba(var(--accent-rgb), .12); }
.promo__list span { flex: 1; }
.promo__list strong { font-size: 15px; white-space: nowrap; }
.promo__list .icon { flex: none; width: 14px; height: 14px; color: var(--text-3); }
@media (max-width: 734px) {
  .promo { inset: auto 10px calc(max(10px, env(safe-area-inset-bottom)) + 74px) 10px; display: block; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .promo[hidden] { display: none; }
  .promo__card { grid-template-columns: 1fr; width: 100%; max-height: 62vh; border-radius: 22px; box-shadow: 0 12px 48px rgba(0,0,0,.3); }
  .promo__media { display: none; }
  .promo__body { gap: 8px; padding: 20px 18px 16px; }
  .promo__close { top: 10px; right: 10px; width: 32px; height: 32px; background: var(--bg-alt); color: var(--text); }
}
@media (prefers-reduced-motion: reduce) { .promo, .promo__card { transition: none; } }

/* Konfigurator: Aktionspakete */
.choices--aktion { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.config-step__lead { margin: -6px 0 16px; }
.config-step__lead .pill { margin-right: 6px; }
.choice__price { margin-top: 4px; font-size: 20px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--text); }
.choice__price small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--text-2); }
.choice--ohne .choice__box { justify-content: center; border-style: dashed; background: transparent; }

/* =====================================================================
   Referenzen: Projektfilter – Leiste (bleibt oben), Bildkacheln, Farbtupfer, Raum-Chips.
   Am Handy liegen die Filter in einer Karte, die von unten kommt (app.js).
   ===================================================================== */
.ref-bar { position: sticky; top: var(--nav-h); z-index: 60; margin-bottom: 22px; padding: 10px 0; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.ref-bar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.ref-bar__search { flex: 1 1 260px; max-width: 400px; margin: 0; }
.ref-bar__count { margin: 0 0 0 auto; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.ref-bar__filter { display: none; gap: 6px; }
.ref-bar__filter .icon { width: 16px; height: 16px; }
.ref-tokens { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ref-token { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 9px 0 13px; border-radius: 980px; background: rgba(var(--accent-rgb), .12); color: var(--text); font-size: 13px; white-space: nowrap; text-decoration: none; transition: background-color .2s; }
.ref-token:hover { background: rgba(var(--accent-rgb), .22); }
.ref-token .icon { width: 14px; height: 14px; }
.ref-tokens__reset { margin-left: 4px; font-size: 13px; white-space: nowrap; }
.ref-panel { display: grid; margin-bottom: 40px; }
.ref-panel__head, .ref-panel__foot { display: none; }
.ref-panel__body { display: grid; gap: 26px; }
.ref-sektor { justify-self: start; }
/* Bereich: am PC in der Leiste neben der Suche, am Handy in der Filter-Karte */
.ref-sektor--bar { flex: none; }
.ref-sektor--sheet, .ref-token--sektor { display: none; }
@media (max-width: 734px) {
  .ref-sektor--bar { display: none; }
  .ref-sektor--sheet { display: inline-flex; }
  .ref-token--sektor { display: list-item; }
}
.ref-filter__title { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--text-2); }
.ref-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 138px; gap: 12px; overflow-x: auto; padding: 5px 5px 10px; margin: -5px -5px 0; scroll-snap-type: x proximity; scroll-padding-inline: 5px; scrollbar-width: thin; }
/* scroll-padding: beim Einrasten bleibt der Rand stehen – sonst schneidet die Leiste den Rahmen der gewählten Kachel ab */
.ref-tile { display: grid; align-content: start; gap: 7px; scroll-snap-align: start; color: var(--text); font-size: 13px; line-height: 1.25; text-decoration: none; }
.ref-tile__img { display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--bg-alt); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.ref-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.ref-tile__img--alle { color: var(--text-2); }
.ref-tile__img--alle .icon { width: 30px; height: 30px; }
.ref-tile:hover .ref-tile__img img { transform: scale(1.06); }
.ref-tile[aria-current="true"] { font-weight: 600; }
.ref-tile[aria-current="true"] .ref-tile__img { outline-color: var(--accent); }
.ref-tile small, .ref-rooms small { font-weight: 400; color: var(--text-2); }
.ref-tile.is-empty { opacity: .38; }
.ref-filter-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px; }
.ref-swatches { display: flex; flex-wrap: wrap; gap: 12px 10px; }
.ref-swatch { display: grid; justify-items: center; gap: 6px; min-width: 48px; font-size: 12px; color: var(--text-2); text-decoration: none; }
.ref-swatch__dot { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); transition: transform .2s var(--ease), box-shadow .2s; }
a.ref-swatch:hover .ref-swatch__dot { transform: scale(1.08); }
.ref-swatch[aria-current="true"] { font-weight: 600; color: var(--text); }
.ref-swatch[aria-current="true"] .ref-swatch__dot { box-shadow: inset 0 0 0 1px rgba(0,0,0,.2), 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.ref-swatch.is-empty { opacity: .32; }
.ref-rooms .chip { display: inline-flex; align-items: center; gap: 6px; }
.ref-rooms .chip .icon { width: 17px; height: 17px; }
.ref-pageinfo { margin-top: 10px; text-align: center; font-size: 13px; color: var(--text-2); }
[data-theme="dark"] .ref-swatch__dot { box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ref-swatch__dot { box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); } }
@media (max-width: 734px) {
  .ref-bar__count { display: none; }
  .ref-bar__search { flex: 1 1 0; max-width: none; }
  .ref-tokens { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ref-filter-cols { grid-template-columns: 1fr; gap: 24px; }
  .ref-tiles { grid-auto-columns: 116px; }
  .js .ref-bar__filter { display: inline-flex; }
  .js .ref-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; margin: 0; max-height: 86vh; max-height: 86dvh; grid-template-rows: auto minmax(0, 1fr) auto; border-radius: 22px 22px 0 0; background: var(--bg-elev); box-shadow: 0 -20px 60px rgba(0,0,0,.25); transform: translateY(105%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
  .js .ref-panel.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .js .ref-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 4px 20px; }
  .js .ref-panel__body { overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 18px; }
  .js .ref-panel__foot { display: block; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { .js .ref-panel, .js .ref-panel.is-open { transition: none; } }
.ref-panel__body > *, .ref-filter, .ref-filter-cols > * { min-width: 0; }
.ref-rooms { flex-wrap: wrap; justify-content: flex-start; overflow: visible; }
.ref-swatch, .ref-swatch:hover, .ref-tile, .ref-tile:hover { text-decoration: none; }
a.ref-swatch:hover { color: var(--text); }

/* Vorher – Nachher: alle Vergleiche im gleichen 3:2-Format, gleich hohe Karten */
.ba-grid { gap: 48px 24px; }
.ba-grid .ba { aspect-ratio: 3 / 2; }

/* Hinweis vor dem Wechsel zu Google / Apple */
.extern { position: fixed; inset: 0; z-index: 135; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s var(--ease); }
.extern[hidden] { display: none; }
.extern.is-open { opacity: 1; }
.extern__card { display: grid; gap: 10px; width: min(460px, 100%); padding: 28px 26px 22px; border-radius: var(--r-lg); background: var(--bg-elev); color: var(--text); box-shadow: 0 30px 90px rgba(0,0,0,.35); transform: translateY(10px); transition: transform .3s var(--ease); }
.extern.is-open .extern__card { transform: none; }
.extern__card .btn-row { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .extern, .extern__card { transition: none; } }

/* Formatierter Text aus dem Admin (Aktionen, Stellen): Absätze, Listen, Links */
.rich > * + * { margin-top: .6em; }
.rich ul, .rich ol { padding-left: 1.25em; }
.rich li + li { margin-top: .25em; }
.rich a { text-decoration: underline; text-underline-offset: 2px; }
.check-list li ul { margin: 6px 0 0; padding-left: 1.1em; list-style: disc; color: var(--text-2); font-size: .95em; }

/* Konfigurator: Bereich, Zusatzfragen je Deckenart, Strahler nur bei Strahlern, Hinweis zum Aktionspaket */
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 734px) { .choices--3 { grid-template-columns: 1fr; } }
.chips--start { justify-content: flex-start; }
.choice__box--chip { flex-direction: row; padding: 10px 18px; }
.choice input:checked + .choice__box--chip { padding: 9px 17px; }
.config-sub { margin-top: 18px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--bg-alt); }
.config-sub__frage { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.config-hinweis { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(var(--accent-rgb), .1); font-size: 14px; line-height: 1.45; color: var(--text); }
.config-step--error .choice__box { border-color: var(--danger, #c0392b); }
.configurator [data-nur-art][hidden], .configurator [data-nur-licht][hidden] { display: none !important; }
/* ohne JavaScript: alle Fragen zeigen */
.no-js .configurator fieldset [data-modus][hidden], .no-js .configurator [data-nur-art][hidden], .no-js .configurator [data-nur-licht][hidden] { display: block !important; }
