/* Seitenspezifische Styles: home-produkte.html */
:root {
  --sec-eyebrow-size: 2.1875rem;
  --sec-eyebrow-gap: 0.4rem;
  --sec-h2-size: min(clamp(2.4rem, 6vw, 4rem), calc((100vw - 2.5rem) / 9));
  --sec-h2-lh: 1;
  --sec-h2-gap: 1.6rem;
  --sec-p-size: 1.05rem;
  --sec-p-lh: 1.45;
  --color-home-ink: color-mix(in srgb, #C0B8E8 50%, #2d2470);
  --color-primary: var(--color-black);
  --color-text-inv: var(--color-white);
  --cursor-accent: var(--color-home);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --film-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='3' intercept='-1'/%3E%3CfeFuncG type='linear' slope='3' intercept='-1'/%3E%3CfeFuncB type='linear' slope='3' intercept='-1'/%3E%3CfeFuncA type='discrete' tableValues='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  --section-space: clamp(4rem, 10.5vw, 9.375rem);
}

a { color: inherit; text-decoration: none; }

/* Marken im Menue nur als Wort (work, store, lounge): CI-Schrift aus der Wortmarke freigestellt,
   immer in CI-Farbe. */
  [data-brand="work"] { --underline: var(--color-home); }

/* object-fit sichert die Proportion: zwischen 861px und rund 1100px ist die
     Menuezeile breiter als der Platz, die Flex-Elemente werden dort gestaucht --
     ohne das wuerde das Wort schmalgezogen statt proportional kleiner. */
  /* Wort-Reveal nach Square: geklippt wird das Wort, bewegt wird das <i> darin. */
  .sq-split .word { display: inline-block; clip-path: inset(-0.5em); }

.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* BREADCRUMB: sitzt pro Produkt im eigenen .p-hero-inner und wechselt damit automatisch mit
   [hidden]. */
  .breadcrumb {
    display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    margin: 0 0 1.1rem; color: var(--color-white);
  }

.breadcrumb a { opacity: 0.55; transition: opacity 0.2s ease; color: inherit; }

.breadcrumb a:hover { opacity: 0.9; }

.breadcrumb .sep { opacity: 0.4; font-size: 0.85em; }

.breadcrumb span[aria-current] { opacity: 0.85; }

/* ---------- HERO ---------- */
  .p-hero {
    position: relative; overflow: hidden;
    min-height: 100svh;
    margin-top: calc(-1 * (var(--nav-h) + var(--util-h)));
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
    color: var(--color-white); background: var(--color-black);
    text-shadow: 0 2px 16px rgba(0,0,0,0.35);
  }

/* Kuerzerer Hero fuer Produkt-Unterseiten: min-height gleicht den margin-top (nav-h + util-h)
   aus, damit der untere Rand an der gleichen Stelle bleibt. */
  .d-hero { min-height: calc(min(38rem, 80vh) + var(--nav-h) + var(--util-h)); }

/* Unterseiten-Header: Ueberschrift groesser (Unterzeile und Chips entfallen, Hoehe bleibt ueber .d-hero min-height) */
  .d-hero .p-hero-main { font-size: clamp(2.4rem, 8vw, 6.8rem); }

/* Mobil: laengstes Wort ("WORKSHOPROOMS") muss in die Breite passen */
  @media (max-width: 600px) { .d-hero .p-hero-main { font-size: min(2.4rem, calc((100vw - 2.6rem) / 9.9)); } }

.p-hero-bg img { width: 100%; height: 108%; object-fit: cover; object-position: 50% 42%; }

.p-hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.38) 30%, rgba(0,0,0,0.38) 65%, rgba(0,0,0,0.72) 100%);
    mix-blend-mode: normal;
  }

.p-hero-inner { position: relative; z-index: 2; max-width: 80rem; margin: 0 auto; width: 100%; }

.p-hero h1 { margin: 0; text-wrap: balance; }

.p-hero-kicker {
    display: flex; align-items: baseline; gap: 0.03em; margin-bottom: 0;
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  }

.p-hero-kicker .script { font-family: var(--font-script); font-weight: normal; text-transform: none; color: var(--color-home-ink); font-size: 1.4em; line-height: 1; }

.p-hero-main {
    display: block; font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: clamp(2.4rem, 6.8vw, 5.4rem); line-height: 0.98; letter-spacing: -0.015em;
  }

.p-hero-sub { margin: var(--sec-h2-gap) 0 0; font-size: clamp(1.05rem, 1.9vw, 1.35rem); font-weight: 500; max-width: 34rem; }

.p-hero-intro { margin: 1rem 0 0; font-size: 1.02rem; line-height: 1.45; max-width: 36rem; opacity: 0.8; }

.p-hero-offers { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.75rem; }

.offer-chip {
    display: inline-flex; align-items: center; gap: 0.45em;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
    padding: 0.3rem 0.8rem 0.5rem; border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }

.offer-chip::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; flex-shrink: 0; transform: translateY(1.5px); background: var(--color-white); }

.p-hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.55rem; }

.btn-primary {
    background: var(--color-white); color: var(--color-black);
    padding: 0.9rem 1.7rem; border-radius: var(--radius-pill);
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.9rem;
    display: inline-flex; align-items: center; gap: 0.6rem; transition: transform 0.25s ease;
    border: none; cursor: pointer;
  }

.btn-primary:hover { transform: translateY(-2px); }

.btn-primary .arrow { transition: transform 0.25s ease; }

.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost { font-size: 0.9rem; font-weight: 600; opacity: 0.8; display: inline-flex; align-items: center; gap: 0.5rem; transition: opacity 0.2s ease; }

.btn-ghost:hover { opacity: 1; }

/* QUICKFACTS: ab 861px selbst sticky unter der Nav, die Sidebar stapelt sich darunter
   (applyStickyStack); die untere Border wirkt beim Kleben als Trennlinie. */
  .quickfacts {
    max-width: 80rem; margin: 0 auto; padding: clamp(0.85rem,1.6vw,1.25rem) clamp(1.25rem, 5vw, 4rem) 0;
    position: sticky; top: var(--nav-h); z-index: 5; background: var(--color-white);
  }

@media (max-width: 860px) { .quickfacts { position: static; } }

.quickfacts-row { display: flex; flex-wrap: wrap; gap: clamp(1.5rem,4vw,3rem); border-bottom: 1px solid var(--border-subtle); padding-bottom: clamp(0.8rem,1.4vw,1.1rem); }

.quickfacts-row .stat { border-left: 3px solid var(--color-home); padding: 0.1rem 0 0.1rem 0.9rem; }

.quickfacts-row .stat b { display: block; font-family: var(--font-primary); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1; }

.quickfacts-row .stat span { font-size: 0.85rem; opacity: 0.6; }

/* ---------- DETAIL-SPLIT ---------- */
  .detail-split { max-width: 80rem; margin: 0 auto; padding: clamp(3rem,6vw,5rem) clamp(1.25rem,5vw,4rem); display: grid; grid-template-columns: minmax(0,0.75fr) minmax(0,1.15fr); gap: clamp(2rem,4vw,3.5rem); align-items: start; }

@media (max-width: 860px) { .detail-split { grid-template-columns: 1fr; padding-top: clamp(2rem,4vw,3rem); } }

/* Sidebar sticky unter der Quick-Facts-Zeile; der exakte top-Wert kommt aus applyStickyStack,
   dieser Wert ist nur der Fallback. */
  .detail-sidebar {
    position: sticky; top: calc(var(--nav-h) + 1.5rem);
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(0,0,0,0.07); border-radius: 0;
    padding: clamp(1.5rem,2.5vw,2rem); box-shadow: 0 1.5rem 3rem -2rem rgba(0,0,0,0.16);
  }

@media (max-width: 860px) { .detail-sidebar { position: static; margin-bottom: 0.5rem; } }

.detail-sidebar-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.45; margin: 0 0 0.9rem; }

.detail-sidebar-nav { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: 0.3rem; }

.detail-sidebar-nav a, .detail-sidebar-nav span.active-item { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.7rem 0.9rem; border-radius: 0; font-weight: 600; font-size: 0.92rem; color: var(--color-black); }

.detail-sidebar-nav a { opacity: 0.5; transition: opacity 0.2s ease, background 0.2s ease; cursor: pointer; }

.detail-sidebar-nav a:hover { opacity: 0.85; background: rgba(0,0,0,0.045); }

.detail-sidebar-nav span.active-item { background: var(--color-home); color: var(--color-black); }

.detail-sidebar-nav .badge-new { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.15rem 0.5rem; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--color-home) 14%, white); color: var(--color-home-ink); flex-shrink: 0; }

.detail-sidebar-nav a:hover .badge-new { background: color-mix(in srgb, var(--color-home) 22%, white); }

.detail-sidebar-nav .active-item .badge-new { background: rgba(255,255,255,0.25); color: var(--color-white); }

.detail-sidebar-divider { height: 1px; background: rgba(0,0,0,0.08); margin: 0 0 1.5rem; }

.detail-standorte { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }

.detail-standorte li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.87rem; line-height: 1.4; }

.detail-standorte .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 0.54em; flex-shrink: 0; background: #2ea043; }

.detail-standorte li.planned .dot { background: transparent; border: 1.5px solid rgba(0,0,0,0.35); }

.detail-standorte .status { display: block; font-size: 0.76rem; opacity: 0.55; margin-top: 0.05rem; }

.detail-lageplan-link { font-size: 0.88rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; color: var(--color-home-ink); }

.detail-lageplan-link:hover { opacity: 0.7; }

.detail-lageplan-link svg { width: 1rem; height: 1rem; }

.detail-note-muted { font-size: 0.85rem; line-height: 1.4; opacity: 0.55; font-style: italic; margin: 0 0 1.5rem; }

.detail-sidebar-actions { display: flex; flex-direction: column; gap: 0.7rem; }

.detail-sidebar-actions .btn-primary { justify-content: center; width: 100%; }

.detail-sidebar-back { text-align: center; font-size: 0.86rem; font-weight: 600; opacity: 0.55; padding: 0.4rem; cursor: pointer; }

.detail-sidebar-back:hover { opacity: 1; }

/* ---------- RECHTE INHALTS-SPALTE ---------- */
  .detail-content { display: flex; flex-direction: column; gap: clamp(5rem,9vw,8rem); }

.detail-block .sec-eyebrow { margin-bottom: 0; }

.detail-block .fakten-grid { margin-top: 1.75rem; }

.detail-block h2 { font-family: var(--font-primary); font-weight: 700; text-transform: uppercase; font-size: clamp(1.9rem, 4vw, 2.8125rem); margin: 0 0 1.1rem; line-height: 1.08; }

.detail-block p.lead { font-size: 1.05rem; line-height: 1.5; opacity: 0.78; max-width: 42rem; margin: 0; }

.sec-eyebrow { position: relative; display: inline-block; color: var(--color-black); }

.fakten-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: 1.25rem; }

.fakten-card { border: 1px solid var(--border-subtle); border-radius: 0; padding: 1.6rem; transition: box-shadow 0.3s ease; }

.fakten-card-icon { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: color-mix(in srgb, var(--color-home) 10%, white); color: var(--color-home-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }

.fakten-card-icon svg { width: 1.3rem; height: 1.3rem; }

.fakten-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }

.fakten-list .check { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: color-mix(in srgb, var(--color-home) 12%, white); color: var(--color-home-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.1rem; }

/* Rueckfrage-Kachel: Kunde soll sich nicht scheuen, nachzufragen. Dezent
     in der Produktfarbe abgesetzt, damit sie als Einladung statt als Fakt liest. */
  .fakten-card--frage { border-color: color-mix(in srgb, var(--color-home) 45%, white); background: color-mix(in srgb, var(--color-home) 4%, white); }

.fakten-card-note { margin: 0 0 1rem; font-size: 0.89rem; line-height: 1.45; opacity: 0.8; }

.fakten-card-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.2rem; font-weight: 700; font-size: 0.89rem; color: var(--color-black); }

.fakten-card-link span { color: var(--color-home-ink); transition: transform 0.25s ease; }

.fakten-card-link:hover span { transform: translateX(3px); }

/* ---------- NEUER AUFBAU DER PRODUKTSEITEN (Klasse .d-v2) ----------
     Leiste und Sidebar klein und ruhig, Block 1 als Bild + Text, darunter "Alles was dazu gehoert" als Reihe
     rahmenloser Karten. Viel Weissraum zwischen den Bloecken. */
  @media (min-width: 861px) {
    /* Inhaltsbereich: 90 % der Fensterbreite (max. 112rem); Sidebar waechst von 13.5rem (1440px) auf 16.5rem (1920px) */
    .d-v2 .quickfacts, .d-v2 .detail-split { max-width: min(90vw, 112rem); padding-left: 0; padding-right: 0; }
    .d-v2 .detail-split { grid-template-columns: clamp(13.5rem, calc(13.5rem + (100vw - 90rem) * 0.0833), 16.5rem) minmax(0, 1fr); padding-top: clamp(4rem, 7vw, 6rem); }
  }

.d-v2 .quickfacts { padding-top: clamp(0.6rem, 1.1vw, 0.85rem); }

.d-v2 .quickfacts-row { gap: clamp(1.25rem, 3vw, 2.25rem); padding-bottom: clamp(0.6rem, 1vw, 0.8rem); }

.d-v2 .quickfacts-row .stat { border-left-width: 2px; padding-left: 0.7rem; }

.d-v2 .quickfacts-row .stat b { font-size: clamp(0.95rem, 1.5vw, 1.15rem); }

.d-v2 .quickfacts-row .stat span { font-size: 0.72rem; }

/* Aktiver Punkt: kein farbiger Balken mehr, sondern COWO-Pink und fetter */
  .d-v2 .detail-sidebar-nav span.active-item { background: none; color: var(--color-home-ink); font-weight: 800; }

.d-v2 .detail-sidebar-nav .active-item .badge-new { background: color-mix(in srgb, var(--color-home) 14%, white); color: var(--color-home-ink); }

/* Sticky-Menue links: kleiner (Schrift, Abstaende, Button) */
  .d-v2 .detail-sidebar { padding: clamp(1.1rem, 1.8vw, 1.5rem); }

.d-v2 .detail-sidebar-label { font-size: 0.64rem; margin-bottom: 0.7rem; }

.d-v2 .detail-sidebar-nav { gap: 0.15rem; margin-bottom: 1.1rem; }

.d-v2 .detail-sidebar-nav a, .d-v2 .detail-sidebar-nav span.active-item { padding: 0.5rem 0.65rem; font-size: 0.82rem; }

.d-v2 .detail-sidebar-divider { margin-bottom: 1.1rem; }

.d-v2 .detail-standorte { margin-bottom: 1.1rem; gap: 0.6rem; }

.d-v2 .detail-standorte li { font-size: 0.8rem; }

.d-v2 .detail-lageplan-link { font-size: 0.8rem; margin-bottom: 1.1rem; }

.d-v2 .detail-sidebar-actions .btn-primary { white-space: nowrap; padding: 0.7rem 0.9rem; font-size: 0.78rem; }

.d-v2 .detail-sidebar-back { font-size: 0.8rem; }

.d-v2 .detail-content { gap: clamp(7rem, 12vw, 11rem); }

.dz { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }

.dz-photo { position: relative; order: -1; margin: 0; overflow: hidden; border-radius: 1.25rem; aspect-ratio: 16 / 9; background: #e9e9e9; }

.dz-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.dz-text { align-self: end; max-width: 41rem; }

/* Block 1: kleineres Bild, unten buendig mit dem Text. Unter 1280px stehen Bild und Text untereinander. */
  @media (min-width: 1280px) {
    .dz--bild-links { grid-template-columns: minmax(0, clamp(16rem, 28vw, 32rem)) minmax(0, 1fr); gap: clamp(2rem, 4vw, 5rem); align-items: end; }
    /* Ueberschrift im Beschreibungsblock waechst mit dem Fenster, damit sie in der schmalen Textspalte nicht auf drei Zeilen bricht */
    .dz--bild-links .dz-text h2 { font-size: clamp(1.5rem, 2.5vw, 2.8125rem); }
    .dz--bild-links .dz-photo { order: 0; }
    .dz-text { max-width: 44rem; }
  }

/* Karten: vier (bzw. drei) nebeneinander, ohne Rahmen */
  .dz-wide .dz-text { max-width: none; }

/* Karten brechen frueh um und nie als "3 + 1": breit = alle in einer Reihe, mittel = 2 Spalten, schmal = 1 Spalte.
     Massgeblich ist die Breite des Kartenbereichs selbst (Container Query), nicht die des Fensters. */
  .dz-wide { container-type: inline-size; }

.dz-wide .fakten-grid { margin-top: 2.5rem; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.75rem); }

@container (min-width: 30rem) { .dz-wide .fakten-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@container (min-width: 30rem) { .dz-wide .fakten-grid:not(:has(> :nth-child(4))) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@container (max-width: 41.99rem) { .dz-wide .fakten-grid:not(:has(> :nth-child(4))) { grid-template-columns: 1fr; } }

@container (min-width: 64rem) { .dz-wide .fakten-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .dz-wide .fakten-grid:not(:has(> :nth-child(4))) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.dz-wide .fakten-card, .dz-wide .fakten-card--frage { border: 0; padding: 1.3rem; }

.dz-scroll { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: clamp(2rem, 5vw, 3rem); }

.dz-stage {
    position: relative; margin: 0; display: flex; align-items: center; justify-content: center;
    padding: 12% 6%; overflow: hidden; isolation: isolate;
    background: url(../../assets/images/bild-96031c.jpg) center / cover no-repeat, #efefef;
  }

.dz-stage::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: var(--film-grain); opacity: 0.18; mix-blend-mode: overlay; }

.dz-stage img { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 1rem; box-shadow: 0 1.5rem 3.5rem rgba(0,0,0,0.18); }

@media (min-width: 900px) {
    .dz-scroll { grid-template-columns: minmax(0, 1.33fr) minmax(0, 0.67fr); column-gap: clamp(2rem, 4vw, 5rem); row-gap: 0; }
    /* Beschreibung ueber die rechte Haelfte der grauen Flaeche hinaus nach links versetzt (Stage = 45 % abzueglich Spaltenabstand) */
    .dz-scroll { --dz-gap: clamp(2rem, 4vw, 5rem); column-gap: var(--dz-gap); }
    .dz-scroll-text { grid-column: 1 / -1; grid-row: 1; margin-left: calc((100% - var(--dz-gap)) * 0.45 * 0.64); max-width: calc((100% - var(--dz-gap)) * 0.45 * 1.3); }
    /* Claim der Loesung steht links neben der Beschreibung */
    /* zentriert (horizontal und vertikal) in der freien Flaeche links neben der Beschreibung (= Textversatz) */
    .dz-scroll .dz-claim { grid-column: 1 / -1; grid-row: 1; align-self: center; justify-self: start; width: clamp(6rem, 9vw, 9rem); margin-left: calc((((100% - var(--dz-gap)) * 0.45 * 0.64) - clamp(6rem, 9vw, 9rem)) / 2); }
    .dz-stage { grid-column: 1; grid-row: 2; min-height: clamp(30rem, 82svh, 52rem); margin-top: clamp(4rem, 8vw, 7rem); padding: 0 7%; }
    /* Ueberschrift der Karten sitzt unterhalb der Flaeche, buendig mit der Beschreibung; neben der Flaeche bleibt es leer */
    .dz-scroll-head { grid-column: 1 / -1; grid-row: 3; justify-self: center; width: fit-content; max-width: 100%; margin-top: clamp(4rem, 8vw, 7rem); text-align: left; }
    .dz-scroll-cards { grid-column: 1 / -1; grid-row: 4; margin-top: 0; }
  }

.dz-claim { margin: 0; width: 6rem; }

.dz-claim img { display: block; width: 100%; height: auto; }

/* IMPRESSIONEN: Filmstrip wie auf den Standortseiten (dunkle Sektion, Pin auf der ganzen
   Sektion, 3:2-Fotos in fester Breite). */
  .impressionen { overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); background: var(--color-black); color: var(--color-white); }

.impressionen-head { max-width: 80rem; margin: 0 auto clamp(2rem, 4vw, 3rem); padding: 0 clamp(1.25rem, 5vw, 4rem); }

.impressionen-head h2 { font-family: var(--font-primary); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.4rem); margin: 0; line-height: 1.1; }

.filmstrip-track { display: flex; gap: 1.25rem; padding: 0 clamp(1.25rem, 5vw, 4rem); will-change: transform; }

.film-frame { position: relative; flex: 0 0 auto; width: clamp(20rem, 42vw, 34rem); aspect-ratio: 3 / 2; border-radius: 0; overflow: hidden; margin: 0; background: color-mix(in srgb, var(--color-white) 8%, var(--color-black)); }

.film-frame img { width: 100%; height: 100%; object-fit: cover; }

.film-frame.ph-frame { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; border: 1px dashed rgba(255,255,255,0.22); background: color-mix(in srgb, var(--color-white) 6%, var(--color-black)); color: rgba(255,255,255,0.5); text-align: center; padding: 1.5rem; }

.film-frame.ph-frame .ph-icon-circle { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; }

.film-frame.ph-frame .ph-icon-circle svg { width: 1.2rem; height: 1.2rem; }

.film-frame.ph-frame span.label { font-size: 0.82rem; font-weight: 600; max-width: 18ch; }

.filmstrip-hint { max-width: 80rem; margin: 1.5rem auto 0; padding: 0 clamp(1.25rem, 5vw, 4rem); font-size: 0.78rem; opacity: 0.4; }

@media (max-width: 899px) {
    .filmstrip-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .filmstrip-track { transform: none !important; }
    .film-frame { scroll-snap-align: start; width: 82vw; }
    .filmstrip-hint { display: none; }
  }

/* ---------- CTA ---------- */
  .p-cta { background: var(--color-black); color: var(--color-white); padding: clamp(4rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 4rem); }

.p-cta-inner { max-width: 80rem; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

@media (max-width: 860px) { .p-cta-inner { grid-template-columns: 1fr; } }

.p-cta .sec-eyebrow { color: var(--color-home-ink); }

.p-cta h2 { font-family: var(--font-primary); font-weight: 700; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; margin: 1.25rem 0 1.25rem; text-wrap: balance; }

.p-cta p { margin: 0 0 2rem; font-size: 1.05rem; line-height: 1.45; opacity: 0.72; max-width: 32rem; }

.p-cta-side { display: flex; flex-direction: column; gap: 1rem; }

.p-cta-direct { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 0.5rem; }

.p-cta-direct .ic { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }

/* Reveal-Grundzustand (JS setzt sichtbar) */
  .reveal-up { opacity: 0; transform: translateY(28px); }

/* Squares "split-text-clip-rise", identisch zu den anderen Seiten. */
  .sq-split .word { display: inline-block; clip-path: inset(-0.5em); }

/* Galeriebilder: leichter Zoom beim Hover -- dasselbe Mass und dieselbe
     Kurve wie auf den Angebotskacheln, damit es eine Handschrift bleibt. */
  /* Zoom-Klasse nur auf Rahmen mit echtem Foto (Platzhalter bleiben unveraendert). */
  .film-frame--zoom { cursor: zoom-in; }

.film-frame img, .impressionen-frame img { transition: transform 0.6s cubic-bezier(0, 0, .2, 1); }

.film-frame--zoom:hover img, .film-frame--zoom:focus-visible img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) { .film-frame img, .impressionen-frame img { transition: none; } }

/* Bild-Lightbox -- gleicher Grund und gleicher Schliessknopf wie die
     Video-Lightbox. Der Aufbau steht bewusst im Skript und nicht im Markup:
     so gibt es ihn genau einmal, egal wie viele Bilder die Galerie hat. */
  .bild-lightbox {
    position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.92); padding: clamp(1rem, 4vw, 3rem);
  }

.bild-lightbox[hidden] { display: none; }

/* Kopfzeile als eigene Reihe statt mit negativem Aussenabstand ueber dem
     Bild: mit dem Abstand nach oben rutschte der Schliessknopf bei hohen
     Bildern in die Nav-Zone und sah eingeklemmt aus. */
  .bild-lightbox-inner { position: relative; width: 100%; max-width: 78rem; display: flex; flex-direction: column; gap: 0.75rem; }

.bild-lightbox-kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.bild-lightbox-bild { width: 100%; height: auto; max-height: 76vh; object-fit: contain; display: block; margin: 0 auto; }

.bild-lightbox-cap { margin: 0; color: rgba(255, 255, 255, 0.68); font-size: 0.88rem; text-align: center; }

.bild-lightbox-close {
    flex: 0 0 auto; width: 2.5rem; height: 2.5rem; border-radius: 50%;
    background: rgba(255, 255, 255, 0.12); color: #fff; border: none; font-size: 1.3rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease;
  }

.bild-lightbox-close:hover { background: rgba(255, 255, 255, 0.24); }

.bild-lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%;
    background: rgba(255, 255, 255, 0.12); color: #fff; border: none; font-size: 1.4rem; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease;
  }

.bild-lightbox-nav:hover { background: rgba(255, 255, 255, 0.26); }

.bild-lightbox-nav--prev { left: -4rem; }

.bild-lightbox-nav--next { right: -4rem; }

@media (max-width: 1100px) {
    .bild-lightbox-nav--prev { left: 0.5rem; }
    .bild-lightbox-nav--next { right: 0.5rem; }
  }

.bild-lightbox-zaehler { color: rgba(255,255,255,0.6); font-size: 0.85rem; font-variant-numeric: tabular-nums; }

/* CURSOR-RING: klassischer Cursor bleibt, der Ring laeuft leicht nach, in Produktfarbe
   (--cursor-accent); leichte Milchglas-Fuellung fuer Kontrast. */
  .cursor-ring { display: none; }

.cursor-ring {
    width: 38px; height: 38px; border: 1.5px solid var(--cursor-accent, var(--color-black));
    background: transparent;
    transition: width 0.35s cubic-bezier(.2,.8,.2,1), height 0.35s cubic-bezier(.2,.8,.2,1),
                min-width 0.35s cubic-bezier(.2,.8,.2,1), padding 0.35s cubic-bezier(.2,.8,.2,1),
                background 0.35s ease, border-color 0.35s ease;
  }

/* ---------- FOOTER ---------- */
  .site-footer { background: var(--color-black); color: var(--color-white); padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem) 1.5rem; }

.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; max-width: 80rem; margin: 0 auto; padding-bottom: 3rem; }

.footer-claim { margin-top: 1rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); display: flex; flex-direction: column; align-items: flex-start; gap: 0.1em; line-height: 1.15; }

.footer-col .footer-item { font-size: 0.95rem; opacity: 0.9; }

.footer-col a.brand-link { display: inline-flex; align-items: baseline; gap: 0.03em; }

.footer-col a.brand-link .script { font-family: var(--font-script); font-weight: normal; font-size: 1.3em; line-height: 1; color: var(--underline); }

.footer-col .city { display: block; font-size: 0.8rem; opacity: 0.5; margin-top: 0.1rem; }

.footer-bottom { max-width: 80rem; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.8rem; opacity: 0.55; }

@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Eyebrow-System der Produktseiten: Script-Font, ohne Pille und Strich; auf Produkt-Unterseiten
   bewusst kleiner als die 2.5rem der Uebersichtsseiten. */
  [class*="-eyebrow"] { font-family: var(--font-script); font-weight: normal; text-transform: none; letter-spacing: normal; font-size: 1.4rem; }

.sec-eyebrow { font-size: 2rem; }

/* Echte CI-Wortmarken statt gesetztem Schriftzug; Hoehe in em, damit sie wie Text mitwachsen. */
  img.wm { display: inline-block; width: auto; height: 1.5em; object-fit: contain; vertical-align: -0.36em; }

.wm-claim { display: block; width: auto; height: clamp(4.5rem, 6.2vw, 5rem); margin-top: 0; }

/* ---------- SECTION-KOEPFE (einheitlich, Referenz work-CTA) ----------
     Tokens in :root. Hero und Detail-Split-Sections sind bewusst ausgenommen. */
  .sec-eyebrow:not(.detail-split .sec-eyebrow) { font-size: var(--sec-eyebrow-size); margin-top: 0; margin-bottom: var(--sec-eyebrow-gap); }

.p-cta h2 { font-size: var(--sec-h2-size); line-height: var(--sec-h2-lh); margin-top: 0; margin-bottom: var(--sec-h2-gap); }

.impressionen-head h2 { font-size: var(--sec-h2-size); line-height: var(--sec-h2-lh); margin-top: 0; margin-bottom: 0; }

.impressionen-head p,
  .p-cta p { font-size: var(--sec-p-size); line-height: var(--sec-p-lh); }

/* CTA: Button, Telefon und Mail in einer Zeile */
  .cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.4rem; }

.cta-actions .ic { width: 1.9rem; height: 1.9rem; }

@media (min-width: 1100px) { .cta-actions, .cta-actions .p-cta-direct, .cta-actions .st-cta-direct { flex-wrap: nowrap; } }

/* Team-Collage: vier gleich grosse, ueberlappende Portraets. Slot 0 ist vorn; die Slots
     rotieren (initKontaktReveal), so steht nacheinander jede Person vorn. */
  .cta-team { position: relative; width: 100%; max-width: 33rem; justify-self: end; aspect-ratio: 1.15 / 1; }

.cta-team-card {
    position: absolute; width: 33%; margin: 0; overflow: hidden; border-radius: 0.5rem; background: #2a2a2a; aspect-ratio: 3 / 4;
    transition: left 0.9s cubic-bezier(.4,0,.2,1), top 0.9s cubic-bezier(.4,0,.2,1), z-index 0s 0.45s;
  }

.cta-team-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cta-team-card::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0)); pointer-events: none; }

.cta-team-card figcaption { position: absolute; left: 0.65rem; bottom: 1.15rem; z-index: 1; display: flex; flex-direction: column; gap: 0.1rem; line-height: 1.15; text-shadow: none; }

.cta-team-card[data-slot="0"] { left: 29%; top: 21%;   z-index: 3; }

.cta-team-card[data-slot="1"] { left: 0;   top: 0;     z-index: 1; }

.cta-team-card[data-slot="2"] { left: 58%; top: 6%;    z-index: 2; }

.cta-team-card[data-slot="3"] { left: 4%;  top: 49.5%; z-index: 2; }

.cta-team-card[data-slot="2"] figcaption { left: auto; right: 0.65rem; align-items: flex-end; text-align: right; }

@media (max-width: 860px) { .cta-team { justify-self: center; max-width: 26rem; } }

.detail-split, .p-cta, .impressionen, .d-v2 .detail-split { padding-top: var(--section-space); padding-bottom: var(--section-space); }

/* Mobil: Fakten in zwei gleich breiten Spalten, die Striche stehen sauber untereinander */
@media (max-width: 860px) {
  .quickfacts-row, .d-v2 .quickfacts-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
  /* Eigene Zeilenhoehe: umgebrochene Unterzeilen erbten sonst den grossen Abstand der Kachel */
  .quickfacts-row .stat span { display: block; line-height: 1.35; margin-top: 0.35rem; }
}
