/* Seitenspezifische Styles: index.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-primary: var(--color-black);
  --color-text-inv: var(--color-white);
  --cursor-accent: var(--color-black);
  --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");
  --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");
  --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-work); }

/* HERO: zentrierte Wortmarke, Claim gross, wechselnde Produktfarbe (Vorbild roeffen.de),
   Stockfoto + Overlay, kein Ticker. */
  /* Hero-Ebene: absolute Schicht ueber dem Stage-Track in voller Stage-Groesse (100svh ab y=0
     hinter der Nav); die Stage ist der Hero. */
  .hero-layer {
    position: absolute; inset: 0; z-index: 5;
    color: var(--color-white);
    /* Die Ebene liegt ueber dem gesamten Stage-Bereich, also auch ueber den
       Angebote-Slides. Ohne pointer-events:none waeren deren Links nach dem
       Panelwechsel nicht mehr klickbar. */
    pointer-events: none;
  }

.hero-layer a, .hero-layer button { pointer-events: auto; }

/* Videoflaeche: alles, was mitschrumpft, sitzt hier drin; Verkleinern per scale() + clip-path
   inset(... round ...). Startwert im CSS, damit GSAP zwei inset()-Strings gleicher Struktur
   interpoliert. */
  .hero-media {
    position: absolute; inset: 0; z-index: 0;
    background: var(--color-black);
    clip-path: inset(0px 0px 0px 0px round 0px);
    will-change: transform, clip-path;
  }

/* Textebene des Heros -- blendet beim Schrumpfen komplett aus (Square macht
     dasselbe mit Headline, CTA und Logo-Marquee). Bezugsbox fuer das absolut
     positionierte .hero-mark, deshalb identisch inset:0 wie die alte .hero. */
  .hero-content {
    position: absolute; inset: 0; z-index: 3;
    display: flex; flex-direction: column; align-items: center;
    justify-content: flex-end; text-align: center;
    padding: 6rem clamp(1.25rem, 5vw, 4rem);
  }

/* Hintergrund: Standbild (z0), Video (z1, per gsap.set unter den Bildrand, nicht per
   CSS-transform), Verdunkelung/Grain (z2), Inhalt (z3). */
  .hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: url(../../assets/images/bild.jpg) center 40%/cover;
  }

.hero-video {
    position: absolute; inset: 0; z-index: 1;
    width: 100%; height: 100%; object-fit: cover;
    will-change: transform;
  }

/* Eigenes Element statt ::before, damit GSAP die Abdunklung beim Verkleinern ausblenden kann. */
  .hero-vignette {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: radial-gradient(65% 65% at 50% 40%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0) 100%);
  }

.hero-grain {
    content: ""; position: absolute; inset: 0; z-index: 2; background-image: var(--grain);
    opacity: 0.07; mix-blend-mode: overlay; pointer-events: none;
  }

/* now@COWO: einzige Wortmarke im Hero; Startgroesse 96px wird per JS (initHeroAnimations) auf
   80px zurueckgezoomt, font-size hier ist die End-Groesse. */
  /* Marke absolut auf der Hero-Mitte fixiert, damit sie nicht mitwandert, wenn .hero-rest
     hereinwaechst. */
  /* CI-Claim (better. / together. / NOW.) als Originalgrafik statt nachgebauter Wortmarke. */
  .hero-mark {
    /* top = nav-h + util-h + 47 % der urspruenglich sichtbaren Hero-Hoehe (50 % sah wegen des
       Skript-Anhangs von "now@" zu tief aus). */
    position: absolute; left: 50%;
    top: calc(var(--nav-h) + var(--util-h));
    bottom: 20rem;
    transform: translateX(-50%);
    z-index: 3;
    display: flex; align-items: center; justify-content: center;
    /* Der svh-Anteil deckelt die Breite mit, sobald das Fenster flach wird --
       sonst fuellt der Claim das Band fast ganz aus und klebt an der Nav. */
    width: clamp(11rem, min(21vw, 33svh), 21rem);
  }

.hero-claim {
    display: block; width: 100%; height: auto;
    max-width: 100%; max-height: 100%; object-fit: contain;
  }

/* Mobile Zielgroessen hier und in initHeroAnimations() synchron halten (88/104px reichten mobil
   nicht, der Text wurde abgeschnitten). */
  @media (max-width: 640px) { .hero-mark { width: min(62vw, 15rem); bottom: 17rem; } }

/* Wrapper um alles ausser der Marke: startet mit height 0 (per JS), damit die Marke beim Laden
   allein zentriert steht. */
  .hero-rest { display: flex; flex-direction: column; align-items: center; }

.hero-sub {
    position: relative; z-index: 3;
    margin: 0 0 2.5rem; max-width: 30rem;
    /* Madera ist ein Variable Font (Achse 100-900) -- 200 statt 300 ist die
       naechste verfuegbare Stufe duenner. */
    font-family: var(--font-primary); font-weight: 200;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem); line-height: 1.4; opacity: 0.78;
  }

.hero-actions { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 1.75rem; flex-wrap: wrap; }

.hero-cta {
    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.92rem;
    display: inline-flex; align-items: center; gap: 0.6rem;
    transition: transform 0.25s ease;
  }

.hero-cta:hover { transform: translateY(-2px); }

.hero-cta .arrow { transition: transform 0.25s ease; }

.hero-cta:hover .arrow { transform: translateX(3px); }

.hero-more {
    font-size: 0.9rem; font-weight: 500; opacity: 0.65; display: inline-flex; align-items: center; gap: 0.5rem;
    transition: opacity 0.2s ease;
  }

.hero-more:hover { opacity: 1; }

.scroll-cue {
    position: relative; z-index: 3; margin-top: 3rem;
    display: flex; flex-direction: row; align-items: center; gap: 0.75rem;
  }

.scroll-cue-label {
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.5;
  }

.scroll-cue-track {
    position: relative; width: 1px; height: 1.9rem; overflow: hidden;
    background: rgba(255,255,255,0.16);
  }

/* Scroll-Balken: faehrt unabhaengig hoch/runter (scrollCueDraw) und wechselt dabei per
   background-color durch die drei Markenfarben. */
  .scroll-cue-track::before {
    content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
    background-color: var(--color-work);
    animation: scrollCueDraw 2s cubic-bezier(.7,0,.3,1) infinite, scrollCueColor 6s ease-in-out infinite;
  }

@keyframes scrollCueDraw {
    0%   { top: -40%; }
    55%  { top: 100%; }
    100% { top: 100%; }
  }

@keyframes scrollCueColor {
    0%, 30%  { background-color: var(--color-work); }
    33%, 63% { background-color: var(--color-store); }
    66%, 96% { background-color: var(--color-lounge); }
    100%     { background-color: var(--color-work); }
  }

@media (prefers-reduced-motion: reduce) { .scroll-cue-track::before { animation: none; background-color: var(--color-white); } }

@media (max-width: 640px) { .scroll-cue { display: none; } }

/* MISSION -> PRODUKTE: ein zusammenhaengender Scroll-Uebergang auf reinem Schwarz (ohne
   Partikel-Canvas), Texte in der Stage weiss. */
  /* Hintergrund beider Panels: "Hero background.png" als eine Flaeche ueber die gepinnte Buehne;
     der Schwarzverlauf haelt die hellen Stellen dunkel genug fuer weisse Schrift. */
  /* Doppelt so breit wie die Buehne und halb so weit mitgeschoben wie die Panels: der
     Hintergrund wandert langsamer als der Vordergrund. */
  .stage-bg {
    position: absolute; top: 0; bottom: 0; left: 0; width: 200%; z-index: 0;
    overflow: hidden; background: var(--color-black);
  }

/* Bild + Verlauf liegen auf ::before, weil GSAP .stage-bg per transform schiebt; Drift/Atmen der
   Skalierung (ab 1.06) eine Ebene tiefer. */
  .stage-bg::before {
    content: ""; position: absolute; inset: 0; will-change: transform;
    background:
      linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
      url(../../assets/images/bild-3381a6.jpg) center / cover no-repeat;
    animation: stageBgDrift 26s ease-in-out infinite alternate;
  }

.stage-bg::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: var(--film-grain);
    opacity: 0.35; mix-blend-mode: overlay;
    animation: stageGrainDrift 18s ease-in-out infinite alternate;
  }

@keyframes stageBgDrift {
    from { transform: translate3d(-1.2%, -1%, 0) scale(1.06); }
    to   { transform: translate3d(1.2%, 1%, 0) scale(1.1); }
  }

@keyframes stageGrainDrift {
    from { background-position: 0 0; }
    to   { background-position: 90px 60px; }
  }

@media (prefers-reduced-motion: reduce) {
    .stage-bg::before, .stage-bg::after { animation: none; }
    .stage-bg::before { transform: scale(1.06); }
  }

.stage-track { position: relative; z-index: 2; }

.mission-produkte-stage .sec-eyebrow, .mission-headline, .mission-body, .produkte-headline { color: var(--color-white); }

.mission-text::after { background: rgba(255,255,255,0.22); }

.mission-pin {
    position: relative; z-index: 1;
    height: 100%; max-width: 80rem; margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 4rem);
    display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
  }

.mission-text { position: relative; }

.mission-text::after {
    content: ""; position: absolute; top: 4%; bottom: 4%; right: clamp(-1.5rem, -3vw, -2.5rem);
    width: 1px; background: var(--border-subtle);
  }

span.mission-eyebrow { margin: 0 0 1.5rem; }

.mission-headline {
    position: relative;
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.02; margin: 0 0 1.5rem; text-wrap: balance;
  }

.mission-headline .word, .mission-body .word { opacity: 0.16; transition: opacity 0.1s linear; }

.mission-body { position: relative; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.45; max-width: 34rem; }

/* Ring aus den drei Loesungen um die Marke (Vorbild taldigital.de): SVG textPath, jedes Wort in
   CI-Farbe, Rotation scroll-gekoppelt in der Master-Timeline; initRingLetterSpacing() rechnet
   den letter-spacing, damit sich der Ring schliesst. */
  .mission-visual { aspect-ratio: 1; position: relative; width: 100%; max-width: 24rem; margin: 0 auto; }

.mission-ring { position: absolute; inset: 0; width: 100%; height: 100%; }

.mission-ring-text {
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: 16px; letter-spacing: 0.15em;
  }

/* Zentrale Marke gestapelt wie im offiziellen now@COWO-Kachel-Favicon
     (Skript-"now@" ueber fettem "COWO"), statt wie zuvor nebeneinander in
     einer Zeile. */
  .mission-center {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.1em;
    text-align: center; color: var(--color-white); pointer-events: none;
  }

.mission-center .script { font-family: var(--font-script); font-weight: normal; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1; }

.mission-center .madera { font-family: var(--font-primary); font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1; }

/* Die Stage ist zugleich der Hero: volle 100svh, per negativem margin-top bis y=0 hochgezogen,
   damit das Video bildschirmfuellend startet und der Pin ab 0 greift. */
  .mission-produkte-stage {
    position: relative; overflow: hidden;
    height: 100svh;
    margin-top: calc(-1 * (var(--nav-h) + var(--util-h)));
    background: var(--color-black);
  }

.stage-track { display: flex; width: 200%; height: 100%; }

/* Panels sind dadurch volle Viewport-Hoehe; das padding-top haelt ihren
     Inhalt trotzdem frei von der Nav (frueher uebernahm das die kleinere
     Stage-Hoehe zusammen mit dem Pin-Offset). */
  .stage-panel { width: 50%; flex-shrink: 0; height: 100%; padding-top: calc(var(--nav-h) + var(--util-h)); }

/* Ab 900px landet das Hero-Video auf dieser Flaeche; der Ring ist dort nur unsichtbarer
   Platzhalter (visibility:hidden, damit die Geometrie messbar bleibt). Mobil bleibt der Ring das
   Bildmotiv. */
  @media (min-width: 900px) { .mission-visual { visibility: hidden; } }

/* PRODUKTE (horizontale Timeline wie .geschichte-* auf Ueber-uns): Fortsetzung der
   Master-Timeline aus initMissionProdukteTransition, kein zweiter Pin. */
  .produkte-panel-inner { position: relative; height: 100%; overflow: hidden; }

/* Die Videokachel faehrt beim Panelwechsel auf dieses Panel; Aufbau wie Warum COWO (Text links,
   Bildflaeche rechts). */
  .produkte-pin {
    position: absolute; inset: 0; z-index: 3; pointer-events: none;
    max-width: 80rem; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 4rem);
    display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
  }

.produkte-intro {
    display: flex; flex-direction: column; align-items: flex-start;
    text-align: left; gap: 1.25rem;
  }

/* Zielflaeche der Videokachel: etwas groesser als .mission-visual (28 statt
     24rem), damit die Kachel beim Mitfahren spuerbar waechst. */
  /* Seit 04.10.2026 32 statt 28rem, Spaltenverhaeltnis dafuer 1.2fr 1fr statt
     1fr 1.3fr: die Videokachel wird auf diesem Panel spuerbar groesser, der
     Text ist durch das <br> in der Ueberschrift ohnehin schmal. */
  .produkte-visual { aspect-ratio: 1; position: relative; width: 100%; max-width: 32rem; margin: 0 auto; visibility: hidden; }

.produkte-intro .produkte-headline {
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: clamp(2.4rem, 5.4vw, 3.9rem); line-height: 1.02; margin: 0; max-width: 18ch; text-wrap: balance;
  }

/* Eyebrow ebenfalls einen Tick groesser (Basis .sec-eyebrow: 2.5rem). */
  .produkte-intro span.produkte-eyebrow { font-size: clamp(2.6rem, 3.4vw, 3rem); }

@media (max-width: 899px) {
    /* Mobil laeuft der Panelwechsel gar nicht -- die doppelte Breite wuerde
       hier nur die Seite waagerecht aufziehen. */
    .stage-bg { width: 100%; }
    .mission-produkte-stage { overflow: visible; }
    .stage-track { display: block; width: 100%; height: auto; }
    .stage-panel { width: 100%; height: auto; }
    .mission-pin { height: auto; padding: 4rem clamp(1.25rem, 5vw, 4rem); grid-template-columns: 1fr; }
    /* Mobil entfaellt der Ring (work · store · lounge) komplett. */
    .mission-visual { display: none; }
    /* Mobil: Hero als normaler 100svh-Block vor den Panels; Verkleinerung und Pin erst ab 900px. */
    .mission-produkte-stage { height: auto; display: flex; flex-direction: column; }
    .hero-layer { position: relative; inset: auto; height: 100svh; }
    .stage-panel { padding-top: 0; }
    .produkte-panel-inner { height: auto; padding: 3rem clamp(1.25rem, 5vw, 4rem) 4rem; overflow: visible; }
    .produkte-pin { position: static; display: block; padding: 0; }
    .produkte-intro { padding: 0 0 2.5rem; }
    .produkte-visual { display: none; }
    /* Ring-Rotation ist an die gepinnte Desktop-Timeline gekoppelt (siehe
       initMissionProdukteTransition) -- auf Mobile ohne Pin/Scrub gaebe es
       nur einen unbewegten Ring ohne erkennbaren Zweck, deshalb hier ganz weg. */
    .mission-text::after { display: none; }
  }

/* PRODUKT-KARUSSELL nach squareup.com (HomePageV3HardwareCarousel): Karten 60svh, sichtbar 3 / 2
   / 1.04, aktive Karte 40 %, 0.6s; genau eine Karte aktiv. Abweichungen: Kartenbreite bei drei
   Karten, Verlauf auf inaktiven Karten. */
  .pk {
    /* Masse nach squareup.com bei 1920x1000 (in 16px-rem umgerechnet): Container 1560px,
       Aussenabstand 180px, Kartenbreite 520px, aktive Karte 768px, Abstand 20px, Hoehe 60svh.
       Track und Kopfzeile beginnen bewusst nicht an derselben Kante. */
    --pk-container: min(97.5rem, 100vw - var(--pk-gutter));
    --pk-gutter: clamp(2.5rem, 7.5vw, 7.5rem);
    --pk-inset: max(calc((100vw - 97.5rem) / 2), calc(var(--pk-gutter) / 2));
    --pk-edge: 1.25rem;
    --pk-gap: 1.25rem;
    --pk-expanded: 40%;
    --pk-dur: 0.6s;
    --pk-ease: cubic-bezier(0, 0, .2, 1);
    --pk-slides: calc(1 + 0.04);
    --pk-accent: #f1f0ec;
    position: relative;
    padding: clamp(4rem, 9vw, 7rem) 0 clamp(7rem, 15vw, 13rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "text controls" "track track";
    align-items: end;
    column-gap: 2rem;
  }

@media (min-width: 64rem) { .pk { --pk-slides: 2; } }

@media (min-width: 80rem) { .pk { --pk-slides: 3; } }

/* Kopfzeile und erste Karte muessen exakt an derselben Kante beginnen. Die
     Karten laufen aber bis an den rechten Bildschirmrand -- deshalb der
     Innenabstand am Track statt eines gemeinsamen Containers. */
  .pk-head {
    grid-area: text;
    min-width: 0;
    padding-left: var(--pk-inset);
    padding-right: 2rem;
  }

.pk-headline {
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.04;
    margin: 0 0 1rem; max-width: 20ch; text-wrap: balance;
  }

.pk-body { margin: 0 0 1.5rem; max-width: 42ch; font-size: 1.02rem; line-height: 1.5; opacity: 0.7; }

.pk-link {
    display: inline-block; font-weight: 700; font-size: 0.92rem;
    text-transform: uppercase; letter-spacing: 0.02em;
    border-bottom: 2px solid currentColor; padding-bottom: 0.15rem;
    transition: opacity 0.2s ease;
  }

.pk-link:hover { opacity: 0.6; }

.pk-controls {
    grid-area: controls; display: flex; gap: 0.75rem;
    padding-right: var(--pk-inset);
  }

.pk-btn {
    width: 3rem; height: 3rem; border-radius: 999px; cursor: pointer;
    border: 1px solid rgba(0,0,0,0.18); background: transparent; color: var(--color-black);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  }

.pk-btn:hover:not(:disabled) { background: var(--color-black); color: var(--color-white); border-color: var(--color-black); }

.pk-btn:disabled { opacity: 0.3; cursor: default; }

/* min-width:0 ist Pflicht: Grid-Items haben min-width:auto, sonst zieht der breite Track die
   Spalte ueber die Viewport-Breite. */
  .pk-wrapper { grid-area: track; width: 100%; min-width: 0; margin-top: clamp(2rem, 5vw, 3.5rem); }

/* Randlos: der Track beginnt 20px vom Bildschirmrand, nicht an der Textkante der Kopfzeile (bei
   Square per ::before-Platzhalter). */
  .pk-track {
    display: flex; overflow-x: auto; overflow-y: clip;
    scrollbar-width: none; -ms-overflow-style: none;
    overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding-left: var(--pk-edge);
  }

.pk-track::-webkit-scrollbar { display: none; }

/* Platzhalter links/rechts statt padding: ein Innenabstand verkleinert die Box, gegen die
   flex-basis:40% der aktiven Karte rechnet. */
  .pk-track::before, .pk-track::after { content: ""; flex: 0 0 var(--pk-edge); scroll-snap-align: none; }

@media (min-width: 64rem) { .pk-track { scroll-snap-type: none; } }

/* Kartenbreite = Container / sichtbare Karten. Der Abstand wird bewusst NICHT
     abgezogen (Square tut das auch nicht) -- die Karten laufen dadurch etwas
     ueber den Container hinaus, was den Ueberhang am rechten Rand erzeugt. */
  .pk-slide {
    scroll-snap-align: start; margin-right: var(--pk-gap);
    flex: 0 0 calc(var(--pk-container) / var(--pk-slides));
    transition: flex var(--pk-dur) var(--pk-ease);
  }

.pk-slide:last-child { margin-right: 0; }

@media (min-width: 64rem) { .pk-slide.active { flex: 0 0 var(--pk-expanded); } }

/* Mit fuenf Karten (park@, home@) gilt Squares Ausgangslage: die aktive Karte waechst, die
   uebrigen werden nach rechts geschoben, der Track scrollt. */
  .pk-card {
    position: relative; width: 100%; cursor: pointer; overflow: hidden;
    height: min(33rem, 62svh);
    display: flex; align-items: center; justify-content: center;
    background: var(--pk-accent);
  }

@media (min-width: 64rem) { .pk-card { height: 60svh; max-height: 42rem; } }

/* "Coming soon" mittig, nur auf dem Roehrenfernseh-Rauschen der aktiven Karte (home@, park@); haengt im Medien-Layer und blendet mit ihm ein */
  .pk-card-soon {
    position: absolute; top: 50%; left: 50%; z-index: 1; transform: translate(-50%, -50%);
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
    color: rgba(255,255,255,0.72); text-shadow: 0 1px 10px rgba(0,0,0,0.45);
    pointer-events: none; white-space: nowrap;
  }

.pk-card-image {
    position: relative; width: 100%; height: 100%; overflow: hidden;
    background: var(--pk-accent); user-select: none;
    transition: opacity var(--pk-dur) var(--pk-ease);
  }

.pk-card-image img { width: 100%; height: 100%; object-fit: cover; }

.pk-card-media {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
    transition: opacity var(--pk-dur) var(--pk-ease);
  }

.pk-card-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* COMING SOON: park@ und home@ ohne Film, die aktive Karte zeigt Roehrenfernseher-Rauschen
   (Canvas aus initProduktKarussell(), Zeilenraster und Balken per CSS). */
  .pk-noise { width: 100%; height: 100%; display: block; image-rendering: pixelated; background: var(--color-black); }

.pk-card-media--noise::before,
  .pk-card-media--noise::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; }

.pk-card-media--noise::before {
    top: 0; bottom: 0;
    background: repeating-linear-gradient(to bottom, rgba(0,0,0,0.28) 0, rgba(0,0,0,0.28) 1px, transparent 1px, transparent 3px);
  }

.pk-card-media--noise::after {
    top: -30%; height: 30%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.14), transparent);
    animation: pk-noise-roll 3.2s linear infinite;
  }

@keyframes pk-noise-roll { to { transform: translateY(430%); } }

.pk-card--park.active .pk-card-overlay,
  .pk-card--home.active .pk-card-overlay { background: linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.25) 70%); }

.pk-card-overlay {
    position: absolute; inset: 0; z-index: 1; padding: clamp(1.1rem, 2vw, 1.6rem);
    display: flex; flex-direction: column; justify-content: flex-end;
    color: var(--color-white);
    /* Schwacher Verlauf auf inaktiven Karten, damit der weisse Titel auf Raumfotos lesbar bleibt
       (Abweichung von Square). */
    background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0) 45%);
    transition: background var(--pk-dur) var(--pk-ease);
  }

.pk-card-top { display: flex; flex-direction: column; position: relative; }

.pk-card-title {
    align-self: flex-start;
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1;
  }

.pk-card--work   .pk-card-title .script { color: var(--color-work); }

.pk-card--store  .pk-card-title .script { color: var(--color-store); }

.pk-card--lounge .pk-card-title .script { color: var(--color-lounge); }

.pk-card--park   .pk-card-title .script { color: var(--color-park); }

.pk-card--home   .pk-card-title .script { color: var(--color-home); }

.pk-card-desc {
    max-height: 0; overflow: hidden; padding: 0; position: relative;
    display: flex; justify-content: space-between; flex-wrap: nowrap; gap: 1.25rem;
    pointer-events: none;
    transition: max-height var(--pk-dur) var(--pk-ease), height var(--pk-dur) var(--pk-ease), padding var(--pk-dur) var(--pk-ease);
  }

@media (max-width: 63.9375rem) { .pk-card-desc { flex-direction: column; gap: 0.5rem; } }

.pk-card-desc p, .pk-card-price {
    margin: 0; opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(1rem);
    transition: all var(--pk-dur) var(--pk-ease) -0.4s;
    font-size: 0.95rem; line-height: 1.4; user-select: none;
  }

.pk-card-price { font-weight: 700; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }

@media (max-width: 63.9375rem) { .pk-card-price { align-items: flex-start; text-align: left; } }

.pk-card.active .pk-card-overlay { background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0) 60%); }

/* Eintritts-Animation beim Reinscrollen, ebenfalls von Square uebernommen
     (dort .reveal-animation--media-scale): die Karte oeffnet sich aus einem
     25%-Fenster, waehrend ihr Inhalt von 1.2 auf 1 zurueckskaliert. */
  .pk-reveal { opacity: 0; visibility: hidden; clip-path: inset(25%); }

.pk-reveal > * { transform: scale(1.2); }

@media (max-width: 63.9375rem) {
    .pk { grid-template-columns: 1fr; grid-template-areas: "text" "track" "controls"; }
    .pk-controls { margin-top: 1.75rem; padding-left: var(--pk-pad); }
  }

@media (prefers-reduced-motion: reduce) {
    .pk-card-media--noise::after { animation: none; display: none; }
    .pk-slide, .pk-card-image, .pk-card-media, .pk-card-desc, .pk-card-desc p, .pk-card-price, .pk-card-overlay { transition: none; }
  }

/* ---------- STANDORTE ---------- */
  /* STANDORTE: Aufbau nach Squares "Built for every industry" (HomePageV3AudienceMoment):
     schwarze Section, Kachelreihe randlos, offen 50 %, Hoehe 60svh; ohne Trennlinie, mit rundem
     Pfeil. */
  .standorte {
    --st-gutter: clamp(2.5rem, 7.5vw, 7.5rem);
    --st-inset: max(calc((100vw - 97.5rem) / 2), calc(var(--st-gutter) / 2));
    --st-edge: 1.25rem;
    --st-gap: 1.25rem;
    --st-collapsed: 5rem;
    --st-dur: 0.4s;
    --st-ease: cubic-bezier(0, 0, .2, 1);
    --st-accel: cubic-bezier(.4, 0, 1, 1);
    --st-dim: 0.5;
    --st-blur: 22px;
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--color-black);
    color: var(--color-white);
  }

/* Ab 900px fuellt die Section exakt den Platz unter der Nav und zentriert Kopf + Kacheln:
     der Schwarzraum ueber dem Titel ist so gross wie der unter den Kacheln. Die Kachelhoehe
     (--st-h) und --st-avail setzt fitStandorte() per JS. */
  @media (min-width: 900px) {
    .standorte { min-height: var(--st-avail, auto); display: flex; flex-direction: column; justify-content: center; }
  }

.standorte-head {
    display: flex; flex-direction: column; gap: 1.25rem;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    padding: 0 var(--st-inset);
  }

.standorte-headline {
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.02; margin: 0; max-width: 20ch; text-wrap: balance;
  }

/* .standorte-grid bleibt als Klassenname bestehen, weil initKundenOverlap
     seinen Pin daran aufhaengt ('bottom bottom'). Inhaltlich ist es jetzt
     Squares __wrapper: Flex-Reihe, randlos, 20px Abstand. */
  .standorte-grid {
    display: flex; flex-direction: column; gap: var(--st-gap);
    padding: 0 var(--st-edge);
  }

@media (min-width: 900px) {
    .standorte-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
    /* Die 100svh-Buehne bleibt erhalten: der Pin greift an der Unterkante
       dieses Blocks, und nur wenn er die volle Viewport-Hoehe abdeckt, ist die
       Kopfzeile in dem Moment garantiert schon weggescrollt. */
    .standorte-grid { flex-direction: row; min-height: 10svh; align-items: center; }
  }

.st-item {
    position: relative; overflow: hidden; width: 100%;
    display: flex; flex-direction: column;
    flex: 0 0 var(--st-collapsed);
    transition: flex var(--st-dur) var(--st-ease);
  }

@media (min-width: 900px) {
    .st-item { flex: 1 1 0%; height: var(--st-h, 60svh); max-height: 42rem; }
    .st-item.active { flex: 0 0 50%; }
  }

.st-card {
    position: relative; width: 100%; height: 100%; flex: 1 1 0%;
    display: flex; flex-direction: column; justify-content: flex-end;
    background: var(--color-black); cursor: pointer;
  }

.st-name {
    position: absolute; z-index: 5; top: 50%; left: var(--st-name-pad); transform: translateY(-50%);
    max-width: calc(100% - 2 * var(--st-name-pad));
    overflow-wrap: normal; word-break: keep-all; hyphens: manual;
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: var(--st-name-size, clamp(1.35rem, 2vw, 2.25rem)); line-height: 1.05;
    color: var(--color-white); text-shadow: 0 2px 14px rgba(0,0,0,0.45);
    opacity: 1; transition: opacity 0.3s var(--st-ease);
  }

.st-content {
    /* Der Text steht direkt auf dem Foto -- der Schatten haelt ihn auch dann
       lesbar, wenn ausgerechnet unter einer Zeile eine helle Stelle liegt. */
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
    position: relative; z-index: 8; width: 100%;
    max-height: 0; overflow: hidden; padding: 0 1.25rem;
    display: flex; flex-direction: column; gap: 0.15rem;
    color: var(--color-white); cursor: default;
    transition: max-height var(--st-dur) var(--st-ease) var(--st-delay, 0s),
                height var(--st-dur) var(--st-ease) var(--st-delay, 0s),
                padding var(--st-dur) var(--st-ease) var(--st-delay, 0s);
  }

/* Ohne interpolate-size laesst sich height:auto nicht animieren -- dann
     uebernimmt eine max-height-Naeherung, mit greift Squares Loesung. */
  @supports (interpolate-size: allow-keywords) {
    .st-content { interpolate-size: allow-keywords; height: 0; max-height: none; }
    .st-item.active .st-content { height: auto; }
  }

.st-content > * {
    opacity: 0; visibility: hidden;
    transition: opacity var(--st-dur) var(--st-accel) var(--st-content-delay, 0s),
                visibility var(--st-dur) var(--st-accel) var(--st-content-delay, 0s),
                transform var(--st-dur) var(--st-accel) var(--st-content-delay, 0s);
  }

.st-plz {
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: clamp(1.4rem, 2.2vw, 2.2rem); line-height: 1.05;
    transform: translateY(0.25em);
    transition: transform var(--st-dur) var(--st-accel) var(--st-content-delay, 0s);
  }

/* Feiner Trennstrich ueber dem Kachelinhalt (wie bei Square), volle Kachelbreite per negativen
   Abstaenden. */
  /* Feiner Strich wie bei Square: NICHT bis an die Kachelkante durchgezogen,
     sondern mit demselben Abstand links und rechts wie der Text darunter
     (das Innenmass von .st-content). */
  .st-rule { display: block; height: 1px; background: rgba(255,255,255,0.55); margin: 0 0 0.9rem; }

/* Ort/Haus/Strasse links, Loesungen und Pfeil rechts -- in einer Zeile auf
     gleicher Hoehe. */
  .st-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }

.st-info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }

.st-foot { display: flex; flex-direction: column; align-items: flex-end; gap: 1.3rem; flex-shrink: 0; }

.st-building { font-size: 1.02rem; opacity: 0.85; }

.standort-offers { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; }

.standort-offers .offer-chip:hover { background: none; transform: none; }

/* Squares Textlink an dieser Stelle ist bei uns der bestehende runde Pfeil. */
  .standort-cta {
    position: static; flex-shrink: 0;
    width: 2.75rem; height: 2.75rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.18); color: var(--color-white);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  }

.st-card:hover .standort-cta { transform: scale(1.1) rotate(45deg); background: var(--color-white); color: var(--color-black); }

.st-card--nolink { cursor: default; }

.standort-pending-tag {
    position: absolute; z-index: 11; top: 1.25rem; right: 1.25rem;
    background: rgba(255,255,255,0.14); color: var(--color-white);
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
    padding: 0.35rem 0.75rem; border-radius: var(--radius-pill);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }

/* IN BEWEGUNG: Raster und Masse nach Squares Point-of-Sale-Section (180 | 12 x 130 | 180 px);
   senkrechte Luft 12 % statt 25,5 %, weil unser Video 16:9 ist. */
  .video-teaser {
    --vt-gutter: clamp(2.5rem, 7.5vw, 7.5rem);
    --vt-container: min(97.5rem, 100vw - var(--vt-gutter));
    --vt-inset: max(calc((100vw - 97.5rem) / 2), calc(var(--vt-gutter) / 2));
    --vt-radius: 1rem;
    --vt-ctrl: 3.125rem;
    --vt-ctrl-inset: 1.5rem;
    position: relative;
    /* Squares Section hat oben und unten nur 20px Luft -- das Medienfeld ist
       dort hoeher als der Bildschirm und deckt ihn, sobald die Section mittig
       steht, komplett ab. Genau das war hier vorher nicht der Fall. */
    padding: clamp(2rem, 4vw, 3rem) 0;
  }

@media (min-width: 64rem) { .video-teaser { padding: 1.25rem 0; } }

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

@media (min-width: 64rem) {
    .vt-wrap {
      grid-template-columns: calc(var(--vt-inset) + var(--vt-container) * 5 / 12) minmax(0, 1fr);
      align-items: center; gap: 0;
    }
  }

.vt-text { min-width: 0; padding: 0 var(--vt-inset); }

@media (min-width: 64rem) {
    .vt-text { padding-right: calc(var(--vt-container) / 12); }
  }

.vt-text .video-teaser-eyebrow { display: inline-block; color: var(--color-black); margin: 0 0 1.25rem; }

.vt-headline {
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.04;
    margin: 0 0 1rem; text-wrap: balance;
  }

.vt-body { margin: 0; font-size: 1.02rem; opacity: 0.7; line-height: 1.5; max-width: 34ch; }

/* Reels-Streifen (Instagram-Reels) ueber und unter dem Text: je Reihe alle 10 Reels, seitlich
   schiebbar. Hover = stumme Vorschau, Klick = Lightbox mit Ton. Kachelhoehe richtet sich nach
   der Fensterhoehe. */
  .vt-text {
    --reel-h: clamp(8rem, 25svh, 30rem);
    --vt-overlap: max(0px, calc((100vw - var(--vt-inset) - var(--vt-container) * 5 / 12) * 0.05 - 0.75rem));
    padding: 0; display: flex; flex-direction: column; gap: clamp(1.75rem, 4.5svh, 3.5rem); position: relative; z-index: 1;
  }

.vt-copy { padding: 0 var(--vt-inset); }

/* Das Video-Feld liegt ueber dem Reels-Streifen: ueberstehende Kacheln verschwinden dahinter. */
  .video-teaser .vt-media { z-index: 2; }

@media (min-width: 64rem) {
    .vt-text { padding-right: 0; padding-top: clamp(9rem, 24svh, 18rem); padding-bottom: clamp(9rem, 24svh, 18rem); }
    .vt-copy { padding-right: calc(var(--vt-container) / 12); }
    .video-teaser .vt-copy .vt-headline { font-size: clamp(1.7rem, 3.2vw, 2.55rem); }
    .video-teaser .vt-copy .vt-body { font-size: 0.95rem; }
    .video-teaser { padding: 0; }
    .video-teaser .vt-media { min-height: calc(100svh - var(--nav-h)); align-self: stretch; }
  }

.vt-reels {
    display: flex; gap: 1.1rem; margin-left: 0; width: calc(100% + var(--vt-overlap)); padding-left: 3rem;
    padding-bottom: calc(var(--reel-h) * 0.1); overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; user-select: none; -webkit-user-select: none;
  }

@media (max-width: 63.9375rem) {
    .vt-copy { order: -1; }
    .vt-reels { margin-left: 0; width: 100%; padding-left: var(--vt-inset); padding-right: var(--vt-inset); scroll-snap-type: x proximity; }
    .vt-reel { scroll-snap-align: start; }
  }

/* Lightbox fuer die Reels */
  .reel-lb { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.9); }

.reel-lb.is-open { display: flex; }

.reel-lb-stage { position: relative; height: min(90svh, 56rem); aspect-ratio: 9 / 16; max-width: 92vw; background: #000; border-radius: 0.5rem; overflow: hidden; box-shadow: 0 2rem 5rem rgba(0,0,0,0.6); }

.reel-lb-stage video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }

.reel-lb-btn {
    position: absolute; z-index: 2; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.16); color: #fff; font-size: 1.25rem; line-height: 1; display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 0.2s ease;
  }

.reel-lb-btn:hover, .reel-lb-btn:focus-visible { background: rgba(255,255,255,0.32); }

.reel-lb-close { top: 1.25rem; right: 1.25rem; }

.reel-lb-prev { left: max(1rem, calc(50% - min(90svh, 56rem) * 0.5625 / 2 - 4.2rem)); top: 50%; transform: translateY(-50%); }

.reel-lb-next { right: max(1rem, calc(50% - min(90svh, 56rem) * 0.5625 / 2 - 4.2rem)); top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) { .reel-lb-prev { left: 0.5rem; } .reel-lb-next { right: 0.5rem; } }

.vt-media {
    position: relative; min-width: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 12% 5%;
    /* Pflicht: der Videorahmen startet im Reveal auf scale(1.2) und ragte sonst 44px ueber den
       Rand (seitliches Scrollen); contain:content wie bei Square. */
    overflow: hidden;
    /* 124svh = Squares Verhaeltnis (Feld 1240px bei 1000px Bildschirmhoehe).
       Dadurch reicht der Hintergrund ueber die volle Hoehe, sobald die Section
       mittig steht. Das Video bleibt darin senkrecht zentriert. */
    background: url(../../assets/images/bild-96031c.jpg) center / cover no-repeat, #efefef;
    isolation: isolate;
  }

.vt-frame {
    position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 9;
    border-radius: var(--vt-radius); overflow: hidden;
    background: var(--color-black);
    box-shadow: 0 1.75rem 3.5rem -1.5rem rgba(0, 0, 0, 0.35);
  }

.vt-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Klick-Catcher statt Listener auf <video>: manche Umgebungen schalten nativ um (sonst Play,
   sofort Pause). */
  .vt-catcher { position: absolute; inset: 0; z-index: 1; cursor: pointer; }

/* Im Ruhezustand ist NUR dieser Knopf zu sehen. */
  .vt-play {
    position: absolute; left: var(--vt-ctrl-inset); bottom: var(--vt-ctrl-inset); z-index: 3;
    width: var(--vt-ctrl); height: var(--vt-ctrl); border-radius: 100%; border: none; padding: 0;
    background: rgba(149, 149, 149, 0.5);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: transform 0.15s cubic-bezier(0, 0, .2, 1), background 0.2s ease;
  }

.vt-play:hover { background: rgba(149, 149, 149, 0.72); }

/* Der Rest der Steuerung: erscheint erst beim Abspielen oder beim Hover. */
  .vt-bar {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    display: flex; align-items: center; gap: 0.85rem;
    padding: 3rem 1.15rem 1.15rem;
    padding-left: calc(var(--vt-ctrl) + var(--vt-ctrl-inset) + 0.9rem);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    opacity: 0; visibility: hidden;
    transition: opacity 0.28s ease, visibility 0s linear 0.28s;
  }

.vt-progress {
    position: relative; flex: 1 1 auto; height: 0.9rem; cursor: pointer;
    display: flex; align-items: center; touch-action: none;
  }

.vt-progress-fill {
    position: relative; height: 3px; width: 0%; background: var(--color-white);
    border-radius: 999px; transform-origin: left center;
  }

.vt-time {
    flex: 0 0 auto; color: var(--color-white); font-size: 0.78rem;
    font-variant-numeric: tabular-nums; opacity: 0.85;
  }

.vt-icon {
    flex: 0 0 auto; width: 2rem; height: 2rem; padding: 0; border: none; background: transparent;
    color: var(--color-white); cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: opacity 0.2s ease;
  }

.vt-icon:hover { opacity: 0.65; }

@media (min-width: 64rem) { .vt-media { min-height: 124svh; padding: 5%; } }

@media (max-width: 63.9375rem) {
    .vt-media { padding: 9% 5%; }
    .video-teaser { --vt-ctrl: 2.75rem; --vt-ctrl-inset: 1rem; }
    .vt-bar { padding: 2.4rem 0.9rem 0.9rem; padding-left: calc(var(--vt-ctrl) + var(--vt-ctrl-inset) + 0.7rem); }
    .vt-time { display: none; }
  }

.video-lightbox {
    position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.92); padding: clamp(1rem, 4vw, 3rem);
  }

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

.video-lightbox-inner { position: relative; width: 100%; max-width: 68rem; }

.video-lightbox-close {
    position: absolute; top: -3.25rem; right: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%;
    background: rgba(255, 255, 255, 0.12); color: var(--color-white); border: none; font-size: 1.3rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease;
  }

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

/* ---------- KUNDEN (Kundenlogos + Stimmen) ---------- */
  .standorte { position: relative; z-index: 1; }

.kunden {
    position: relative; z-index: 3;
    padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem);
    background: color-mix(in srgb, var(--color-black) 3.5%, var(--color-white));
    margin-top: 0;
    border-radius: 0;
  }

@media (max-width: 640px) {
    .kunden { margin-top: -1.5rem; border-radius: 1.25rem 1.25rem 0 0; }
  }

.kunden-inner { max-width: 80rem; margin: 0 auto; }

.kunden-head { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.kunden-headline {
    font-family: var(--font-primary); font-weight: 700; text-transform: none; /* bewusst nicht in Versalien */
    font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.02; margin: 0; max-width: 22ch; text-wrap: balance;
  }

.kunden-note { margin: 0; font-size: 0.8rem; opacity: 0.45; max-width: 32rem; }

.logo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }

.logo-tile {
    position: relative; aspect-ratio: 5 / 2; border: 1px solid var(--border-subtle); border-radius: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
    font-size: 0.8rem; color: rgba(0,0,0,0.3); background: var(--color-white);
    transition: color 0.25s ease, border-color 0.25s ease;
  }

.logo-tile:hover { color: rgba(0,0,0,0.55); border-color: rgba(0,0,0,0.2); }

/* Absolut im Kachelfeld: so bestimmt die Originalgroesse des Bildes nie die Spaltenbreite (Safari/iPhone) */
.logo-tile img { position: absolute; top: 22%; left: 15%; width: 70%; height: 56%; object-fit: scale-down; filter: grayscale(1); opacity: 0.8; transition: filter 0.25s ease, opacity 0.25s ease; }

.logo-tile img.logo-sym { top: 19%; height: 62%; }

@media (max-width: 900px) { .logo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.logo-tile:hover img { filter: none; opacity: 1; }

/* Stimmen-Karussell: drei Karten sichtbar, Scroll treibt die horizontale Bewegung; der Block
   bleibt per position:sticky stehen. Unter 900px nativer Wisch-Scroll mit Snap. */
  .testimonial-scroll { position: relative; }

.testimonial-sticky { position: sticky; top: max(5.5rem, calc(50svh - 12rem)); }

.testimonial-viewport { overflow: hidden; }

.testimonial-track { display: flex; gap: 1.5rem; will-change: transform; }

.testimonial-track .testimonial-card { flex: 0 0 calc((100% - 3rem) / 3); }

.testimonial-hint { margin: 1.25rem 0 0; font-size: 0.78rem; opacity: 0.45; }

@media (max-width: 899px) {
    .testimonial-sticky { position: static; }
    .testimonial-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .testimonial-track { transform: none !important; }
    .testimonial-track .testimonial-card { flex: 0 0 min(85%, 24rem); scroll-snap-align: start; }
    .testimonial-hint { display: none; }
  }

.testimonial-card {
    position: relative; border-radius: 0; padding: 2rem 2rem 2rem 2.25rem;
    background: var(--color-white); border: 1px solid var(--border-subtle);
    display: flex; flex-direction: column; gap: 1.5rem; overflow: hidden;
  }

.testimonial-card::before {
    content: ""; position: absolute; left: 0; top: 1.75rem; bottom: 1.75rem; width: 3px; border-radius: 0;
    background: var(--accent);
  }

.testimonial-card--work { --accent: var(--color-work); }

.testimonial-card--store { --accent: var(--color-store); }

.testimonial-card--lounge { --accent: var(--color-lounge); }


.testimonial-placeholder-tag {
    align-self: flex-start; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    opacity: 0.35;
  }

.testimonial-quote { margin: 0; font-size: 1.03rem; line-height: 1.45; }

.testimonial-author { display: flex; align-items: center; gap: 1rem; margin-top: auto; }

.testimonial-author-text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }

.testimonial-avatar {
    flex: 0 0 4.4rem; width: 4.4rem; height: 4.4rem; border-radius: 50%;
    background: #262626 center / cover no-repeat;
  }

.testimonial-card--work .testimonial-avatar { background-image: url("../../assets/images/avatar-work.webp"); }

.testimonial-card--store .testimonial-avatar { background-image: url("../../assets/images/avatar-store.webp"); }

.testimonial-card--lounge .testimonial-avatar { background-image: url("../../assets/images/avatar-lounge.webp"); }


.testimonial-author strong { font-family: var(--font-primary); font-weight: 700; font-size: 1.02rem; }

.testimonial-author-text span { font-size: 0.9rem; opacity: 0.6; }

/* ---------- KONTAKT (Formular) ---------- */
  .kontakt-teaser {
    position: relative;
    background: var(--color-black); color: var(--color-white);
    padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem);
  }

/* Gleiches Grain-Muster wie im Hero (.hero-grain), damit der CTA-Bereich
     dieselbe atmosphaerische Textur traegt statt reinem Flat-Black. */
  .kontakt-teaser::before {
    content: ""; position: absolute; inset: 0; z-index: 0; background-image: var(--grain);
    opacity: 0.07; mix-blend-mode: overlay; pointer-events: none;
  }

.kontakt-inner {
    position: relative; z-index: 1;
    max-width: 80rem; margin: 0 auto;
    display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center;
  }

span.kontakt-eyebrow { margin: 0 0 2.25rem; }

.kontakt-headline {
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.02; margin: 0 0 1.9rem; text-wrap: balance;
  }

.kontakt-sub { margin: 0 0 2.9rem; font-size: 1.02rem; line-height: 1.45; opacity: 0.7; max-width: 26rem; }

.kontakt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.4rem; }

.kontakt-direct { display: flex; flex-direction: row; flex-wrap: wrap; gap: 0.9rem 1.2rem; }

.kontakt-direct-item { white-space: nowrap; font-size: 0.88rem; gap: 0.5rem; }

.kontakt-direct-icon { width: 1.9rem; height: 1.9rem; }

@media (min-width: 1100px) { .kontakt-actions, .kontakt-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; } }

.kontakt-direct-item { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; font-weight: 600; opacity: 0.85; transition: opacity 0.2s ease; }

.kontakt-direct-item:hover { opacity: 1; }

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

.kontakt-form { display: flex; flex-direction: column; gap: 1.15rem; }

.form-row { display: flex; flex-direction: column; gap: 0.5rem; }

.form-row--split { flex-direction: row; gap: 1.15rem; }

.form-row--split > label { flex: 1; }

.kontakt-form label { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; opacity: 0.85; }

.kontakt-form .required { color: color-mix(in srgb, var(--color-work) 80%, white); font-weight: 700; }

.kontakt-form .soon {
    font-weight: 400; opacity: 0.4; text-transform: none; letter-spacing: 0; font-size: 0.75rem;
  }

.form-label { font-size: 0.85rem; font-weight: 600; opacity: 0.85; }

.kontakt-form input[type="text"], .kontakt-form input[type="email"], .kontakt-form input[type="tel"],
  .kontakt-form input[type="date"], .kontakt-form select, .kontakt-form textarea {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); border-radius: 0;
    padding: 0.85rem 1rem; color: var(--color-white); font-family: inherit; font-size: 0.95rem; font-weight: 400;
    transition: border-color 0.2s ease, background 0.2s ease; width: 100%;
  }

.kontakt-form select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' fill-opacity='0.6' d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; background-size: 0.7rem; padding-right: 2.5rem;
  }

.kontakt-form select option { background: var(--color-black); color: var(--color-white); }

.kontakt-form input::placeholder, .kontakt-form textarea::placeholder { color: rgba(255,255,255,0.35); }

.kontakt-form input:focus, .kontakt-form select:focus, .kontakt-form textarea:focus {
    outline: none; border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.1);
  }

.kontakt-form input:disabled, .kontakt-form select:disabled { opacity: 0.35; cursor: not-allowed; }

.kontakt-form textarea { resize: vertical; min-height: 6rem; }

.kontakt-required-note { margin: -0.5rem 0 0; font-size: 0.75rem; opacity: 0.45; }

.form-checkbox { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.82rem; opacity: 0.65; line-height: 1.4; cursor: pointer; }

.form-checkbox input { margin-top: 0.2rem; flex-shrink: 0; }

.form-checkbox a { text-decoration: underline; opacity: 0.9; color: inherit; }

.kontakt-submit { align-self: flex-start; margin-top: 0.5rem; border: none; cursor: pointer; font-family: inherit; }

.kontakt-form-note { margin: -0.5rem 0 0; font-size: 0.72rem; opacity: 0.4; }

@media (max-width: 860px) {
    .kontakt-inner { grid-template-columns: 1fr; }
    .form-row--split { flex-direction: column; }
  }

/* 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-brand .logo { color: var(--color-white); font-size: 1.75rem; }

.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-claim .script { font-family: var(--font-script); font-weight: normal; }

.footer-claim .now { font-family: var(--font-primary); font-weight: 700; text-transform: uppercase; }

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

/* Alle Eyebrows sitewide in Ernest-Script; per Attributauswahl auf "-eyebrow", damit neue
   Eyebrow-Klassen automatisch mitziehen. Gross-/Kleinschreibung kommt aus dem HTML. */
  /* Eyebrow-System wie auf den Produktseiten: Script-Font statt Bold-Madera,
     kein Pill-Hintergrund. Grundstufe 1.4rem, Abschnitts-Eyebrows 3rem mit
     festem Strich darunter (immer gleich lang, leicht nach links versetzt). */
  [class*="-eyebrow"] { font-family: var(--font-script); font-weight: normal; text-transform: none; letter-spacing: normal; font-size: 1.4rem; }

/* .sec-eyebrow auf der Startseite an den sitewide Standard angeglichen (keine Pille, 3rem
   Script, kein Strich). */
  .sec-eyebrow { position: relative; display: inline-block; align-self: flex-start; font-size: 2.5rem; margin: 0 0 1.25rem; }

.kontakt-teaser .sec-eyebrow { color: var(--color-white); }

/* produkte-/standorte-/kunden-eyebrow sitzen in Flex-Head-Wrappern, die
     schon per gap Abstand zur Headline schaffen -- eigener Margin waere doppelt. */
  span.produkte-eyebrow, span.standorte-eyebrow, span.kunden-eyebrow { margin: 0; }

/* video-teaser-eyebrow ist wie auf allen anderen Seiten keine sec-eyebrow
     (kleinere Zwischenzeile, kein Abschnitts-Eyebrow), braucht aber denselben
     1.9rem-Override wie dort -- fehlte auf der Startseite bisher komplett. */

  /* ---------- INTRO-LOADER (einmalig beim ersten Seitenaufruf) ---------- */
  .intro-loader {
    position: fixed; inset: 0; z-index: 10000; background: var(--color-black);
    display: flex; align-items: center; justify-content: center;
  }

.intro-loader-text {
    position: absolute; opacity: 0; color: var(--color-white); text-align: center;
    padding: 0 1.5rem; max-width: 90vw;
  }

.intro-loader-question {
    font-family: var(--font-primary); font-weight: 700;
    font-size: clamp(1.25rem, 3.6vw, 2rem); letter-spacing: 0.01em;
  }

.intro-loader-now {
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: clamp(3.5rem, 11vw, 7rem); letter-spacing: 0.01em;
  }

.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 Angebote (Slider) sind bewusst ausgenommen. */
  .video-teaser .sec-eyebrow, .standorte .sec-eyebrow, .kunden .sec-eyebrow, .kontakt-teaser .sec-eyebrow,
  span.mission-eyebrow, .produkte-intro span.produkte-eyebrow { font-size: var(--sec-eyebrow-size); margin-top: 0; margin-bottom: var(--sec-eyebrow-gap); }

.standorte-head, .kunden-head, .produkte-intro { gap: 0; }

.vt-headline,
  .kunden-headline,
  .mission-headline,
  .kontakt-headline { font-size: var(--sec-h2-size); line-height: var(--sec-h2-lh); margin-top: 0; margin-bottom: var(--sec-h2-gap); }

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

/* Kopf der Standort-Section: etwas weiter oben, dafuer mehr Schwarz zwischen Eyebrow und Ueberschrift */
  .standorte { padding-top: clamp(2.5rem, 5vw, 4rem); }

.standorte .standorte-eyebrow { margin-bottom: 1rem; }

/* Ausnahme: "YOUR NEXT MOVE." bewusst etwas groesser (68px statt 64px) */
  .produkte-intro .produkte-headline { font-size: clamp(2.4rem, 6vw, 4.25rem); line-height: var(--sec-h2-lh); margin-top: 0; margin-bottom: 0; }

.vt-body,
  .mission-body,
  .kontakt-sub { font-size: var(--sec-p-size); line-height: var(--sec-p-lh); }

.standorte, .kunden, .kontakt-teaser { padding-top: var(--section-space); padding-bottom: var(--section-space); }

/* end-section-rhythmus */
  /* Niedrige Fenster: Abstand der Standort-Section schrumpft stufenlos, nie unter 100px (voll ab 940px, 100px unter 700px Fensterhoehe). */
  @media (min-width: 900px) {
    .standorte { padding-top: clamp(100px, calc(100px + (100svh - 700px) * 0.2083), var(--section-space)); padding-bottom: clamp(100px, calc(100px + (100svh - 700px) * 0.2083), var(--section-space)); }
  }
