/* Seitenspezifische Styles: standort-bauknecht-cube.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);
  --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); }

/* 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 (jetzt Teil des Headers/Hero, keine eigene
     Fläche mehr -- sitzt als erste Zeile in .st-hero-inner, daher auf
     Weiß/Foto statt auf hellem Seitenhintergrund abgestimmt) ---------- */
  .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; }

/* ---------- STANDORT-HERO (Foto-Hero) ---------- */
  .st-hero {
    position: relative; overflow: hidden;
    /* Hero: min-height 100svh + negativer margin-top zieht die Box hinter die transparente Nav,
       der untere Rand bleibt. */
    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.3);
  }

.st-hero-bg img { width: 100%; height: 108%; object-fit: cover; }

.st-hero-ph { width: 100%; height: 108%; display: flex; align-items: center; justify-content: center;
    background:
      radial-gradient(45% 45% at 25% 30%, color-mix(in srgb, var(--color-work) 32%, transparent) 0%, transparent 70%),
      radial-gradient(50% 50% at 78% 68%, color-mix(in srgb, var(--color-lounge) 30%, transparent) 0%, transparent 70%),
      linear-gradient(160deg, #060606 0%, #141414 55%, #060606 100%);
  }

.st-hero-ph-icon { font-size: clamp(4rem, 10vw, 7rem); color: rgba(255,255,255,0.1); }

.st-hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0) 100%),
      linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.48) 30%, rgba(0,0,0,0.48) 65%, rgba(0,0,0,0.8) 100%);
  }

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

.st-hero-inner { position: relative; z-index: 2; max-width: 80rem; margin: 0 auto; width: 100%; flex: 1; display: flex; flex-direction: column; }

/* Wie auf den Produktseiten (.p-hero): Text oben, ab den Chips alles nach unten geschoben. */
  .st-hero-inner::before { content: ""; flex: 0 0 auto; height: 4svh; }

.st-hero { padding-bottom: clamp(3rem, 7svh, 5.5rem); }

/* Reiner Text ohne Pille; Font-Eigenschaften auf .tag, weil [class*="-eyebrow"] sonst "now@COWO"
   in den Script-Font zwingt (CI: COWO nie in Ernest). */
  .st-hero-eyebrow { display: inline-flex; align-items: center; gap: 2.2rem; margin: 0 0 var(--sec-eyebrow-gap); }

.st-hero-eyebrow::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--color-work); box-shadow: 0.7rem 0 0 var(--color-store), 1.4rem 0 0 var(--color-lounge); }

.st-hero-eyebrow .tag { display: flex; align-items: baseline; gap: 0.03em; color: var(--color-white); font-family: var(--font-primary); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; }

.st-hero-eyebrow .tag .script { font-family: var(--font-script); font-weight: normal; text-transform: none; font-size: 1.5em; line-height: 1; }

.st-hero-badges { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; margin: 0 0 var(--sec-eyebrow-gap); }

.st-hero-badges .st-hero-eyebrow { margin: 0; }

.st-hero-photo-note {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.06); border: 1px dashed rgba(255,255,255,0.35);
    color: var(--color-white); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
    padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
  }

.st-hero h1 {
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: clamp(2.8rem, 8vw, 6.5rem); line-height: 0.95; letter-spacing: -0.02em;
    margin: 0; text-wrap: balance;
  }

.st-hero-sub { margin: var(--sec-h2-gap) 0 0; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; max-width: 58rem; }

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

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

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

/* CI-Konvention wie beim Nav-Logo: nur "work@" in Ernest-Script + Markenfarbe,
     "COWO" bleibt in Madera/weiss -- vorher war der komplette Chip-Text
     eingefaerbt, das entspricht nicht der CI. */
  .offer-chip .script { font-family: var(--font-script); font-weight: normal; text-transform: none; font-size: 1.3em; line-height: 1; }

.offer-chip--work .script { color: var(--color-work); }

.offer-chip--store .script { color: var(--color-store); }

.offer-chip--lounge .script { color: var(--color-lounge); }

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

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

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

.st-hero-address { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.16); display: flex; gap: 2rem; flex-wrap: wrap; font-size: 0.9rem; opacity: 0.85; }

/* ---------- PLATZHALTER (Foto/Adresse/Karte fehlen noch) ---------- */
  .ph-icon { font-size: 1.8rem; opacity: 0.7; }

.ph-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em; max-width: 18ch; }

.ph-note { font-size: 0.82em; opacity: 0.55; font-weight: 600; }

.ph-block {
    position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
    background: radial-gradient(130% 130% at 25% 0%, color-mix(in srgb, var(--color-black) 82%, white) 0%, var(--color-black) 65%);
    border: 1px dashed rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.55); text-align: center; padding: 1.5rem;
  }

.map-ph { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; position: relative; z-index: 1; color: rgba(255,255,255,0.55); text-align: center; padding: 1.5rem 0; }

/* ---------- KONTEXT (Wer ist CoWo) ---------- */
  .kontext { max-width: 80rem; margin: 0 auto; padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem); }

.kontext-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }

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

.sec-eyebrow { position: relative; display: inline-block; align-self: flex-start; color: var(--color-black); margin: 0 0 1.25rem; }

.kontext h2 {
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.05; margin: 0 0 1.25rem; text-wrap: balance; max-width: 18ch;
  }

.kontext p { margin: 0; font-size: 1.05rem; line-height: 1.45; opacity: 0.75; max-width: 40rem; }

.kontext-stats { display: flex; flex-direction: column; gap: 1rem; }

.stat { border-left: 3px solid var(--accent, var(--color-black)); padding: 0.25rem 0 0.25rem 1.1rem; }

.stat:nth-child(1) { --accent: var(--color-work); }

.stat:nth-child(2) { --accent: var(--color-store); }

.stat:nth-child(3) { --accent: var(--color-lounge); }

.stat b { display: block; font-family: var(--font-primary); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; }

.stat span { font-size: 0.9rem; opacity: 0.6; }

/* ---------- ANGEBOTE AM STANDORT (alternierende Reihen) ---------- */
  .angebote { background: color-mix(in srgb, var(--color-black) 3.5%, var(--color-white)); padding: clamp(3.5rem, 7vw, 6rem) 0; }

.angebote-head { max-width: 80rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); padding: 0 clamp(1.25rem, 5vw, 4rem); }

.angebot-row {
    max-width: 80rem; margin: 0 auto; padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 5vw, 4rem);
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  }

@media (max-width: 860px) {
    .angebot-row { grid-template-columns: 1fr; gap: 1.75rem; }
    .angebot-row:nth-child(even) .angebot-media { order: 0; }
  }

.angebot-media { position: relative; border-radius: 0.75rem; overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-black); }

/* Eyebrow auf dem Foto: weisses COWO plus Scrim, damit es auf hellen Motiven lesbar bleibt. */
  .angebot-eyebrow { position: absolute; z-index: 2; top: 1rem; left: 1.25rem; margin: 0; color: var(--color-white); text-shadow: 0 2px 12px rgba(0,0,0,0.45); }

.angebot-eyebrow .script { font-family: var(--font-script); }

/* Textspalte vertikal mittig zur Bildkante -- nach dem Wegfall des
     Eyebrows aus dieser Spalte sass der Block sonst optisch zu hoch. */
  .angebot-text { display: flex; flex-direction: column; justify-content: center; height: 100%; }

.angebot-text h3 {
    font-family: var(--font-primary); font-weight: 700; text-transform: uppercase;
    font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.05; margin: 0 0 0.85rem; text-wrap: balance;
  }

.angebot-text p { margin: 0 0 1.5rem; font-size: 1.02rem; line-height: 1.45; opacity: 0.78; max-width: 32rem; }

.angebot-links { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.9rem; }

.link-arrow .c { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--color-black); color: var(--color-white); transition: transform 0.3s ease; }

.link-arrow:hover .c { transform: scale(1.1) rotate(45deg); }

.link-text { font-weight: 600; font-size: 0.9rem; opacity: 0.6; transition: opacity 0.2s ease; }

.link-text:hover { opacity: 1; }

/* Loesungskacheln wie auf der Startseite: Foto mit Wortmarke, bei Hover Video, Beschreibung und
   Preis fahren aus. */
  .angebot-media--card { --pk-accent: #f1f0ec; --pk-dur: 0.6s; --pk-ease: cubic-bezier(0, 0, .2, 1); border-radius: 0.75rem; background: var(--pk-accent); }

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

.pk-card-link { position: absolute; inset: 0; z-index: 5; }

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

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

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

/* ---------- LAGE & ANFAHRT ---------- */
  .lage { max-width: 80rem; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem); }

.lage-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

.lage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }

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

.lage-facts { display: flex; flex-direction: column; gap: 0.35rem; }

.fact { display: flex; align-items: flex-start; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--border-subtle); }

.fact-icon { width: 2.6rem; height: 2.6rem; border-radius: 50%; flex-shrink: 0; background: var(--color-black); color: var(--color-white); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }

.map-card {
    position: relative; border-radius: 0; overflow: hidden; min-height: 22rem;
    background: radial-gradient(120% 120% at 30% 10%, color-mix(in srgb, var(--color-black) 84%, white) 0%, var(--color-black) 70%);
    color: var(--color-white); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.75rem;
  }

.map-pin { position: absolute; z-index: 1; top: 42%; left: 46%; width: 1.1rem; height: 1.1rem; border-radius: 50% 50% 50% 0; background: var(--color-work); transform: translate(-50%, -100%) rotate(-45deg); box-shadow: 0 0 0 0.5rem color-mix(in srgb, var(--color-work) 30%, transparent); }

.map-pin::after { content: ""; position: absolute; inset: 0.3rem; border-radius: 50%; background: var(--color-white); }

.map-note { position: absolute; z-index: 1; top: 1.25rem; left: 1.25rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.45; }

.map-info { position: relative; z-index: 1; }

.map-btn { margin-top: 1.25rem; align-self: flex-start; background: var(--color-white); color: var(--color-black); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.02em; padding: 0.7rem 1.3rem; border-radius: var(--radius-pill); display: inline-flex; align-items: center; gap: 0.5rem; transition: transform 0.25s ease; }

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

/* ---------- IMPRESSIONEN (horizontale Galerie) ---------- */
  .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 .sec-eyebrow { color: var(--color-white); }

.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-viewport { position: relative; }

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

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

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

.st-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) { .st-cta-inner { grid-template-columns: 1fr; } }

.st-cta .sec-eyebrow { color: var(--color-white); }

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

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

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

/* Squares "split-text-clip-rise", identisch zur Startseite: geklippt wird
     das Wort, bewegt wird das <i> darin. */
  .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 { transition: transform 0.6s cubic-bezier(0, 0, .2, 1); }

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

@media (prefers-reduced-motion: reduce) { .film-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);
  }

/* 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-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 .now { font-family: var(--font-primary); font-weight: 700; text-transform: uppercase; }

.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 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 { font-size: 2.5rem; }

/* 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 sind bewusst ausgenommen. */
  .sec-eyebrow { font-size: var(--sec-eyebrow-size); margin-top: 0; margin-bottom: var(--sec-eyebrow-gap); }

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

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

.kontext p,
  .lage-head p,
  .impressionen-head p,
  .st-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; } }

.kontext, .angebote, .lage, .st-cta, .impressionen { padding-top: var(--section-space); padding-bottom: var(--section-space); }

/* end-section-rhythmus */
  
  /* Korrektur 16.11.2026: Farbpunkte zeigen nur die Loesungen, die an diesem Standort laufen */
  .st-hero-eyebrow { gap: 1.5rem; }

.st-hero-eyebrow::before { background: var(--color-work); box-shadow: 0.7rem 0 0 var(--color-lounge); }
