/* ==========================================================================
   BOME Studio Bremen — Seiten-Stylesheet
   Baut auf styles.css auf. Alle Klassen sind mit .st- präfixiert und leben
   unter body.studio-page — die geteilten Komponenten bleiben unberührt.

   Farbe: Die Seite nimmt das Rot der Scheibenwand als eigenen Akzent auf.
   Das ist die Signaturfarbe genau dieses Raums (und des BOME-Logos); Gold
   bleibt die Marke, hier führt der Raum.
   ========================================================================== */

body.studio-page {
  --st-red:        #c8102e;
  --st-red-soft:   #e04257;
  --st-red-deep:   #8f0b20;
  --st-bg:         #0b0a09;
  --st-bg-2:       #131110;
  --st-fg:         #f5f4f1;
  --st-fg-soft:    rgba(245, 244, 241, 0.62);
  --st-line:       rgba(245, 244, 241, 0.14);
  --st-line-soft:  rgba(245, 244, 241, 0.07);
  --st-ease:       cubic-bezier(0.22, 0.61, 0.36, 1);

  background: var(--st-bg);
  color: var(--st-fg);
}
body.studio-page:not(.theme-dark) {
  --st-bg: #f3f4f1; --st-bg-2: #e9e8e3;
  --st-fg: #16150f; --st-fg-soft: #5d5c55;
  --st-line: rgba(22,21,15,0.16); --st-line-soft: rgba(22,21,15,0.08);
}

/* Header über dem Hero transparent halten, Schrift weiß */
.studio-page .site-header:not(.is-condensed) { background: transparent; box-shadow: none; }
.studio-page .site-header:not(.is-condensed) .nav-links > li > a,
.studio-page .site-header:not(.is-condensed) .nav-actions .btn,
.studio-page .site-header:not(.is-condensed) .theme-toggle { color: #fff; }

/* ---------- Bausteine --------------------------------------------------- */
.st-wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 4.5rem); }
.st-wrap--narrow { max-width: 1080px; }
.st-wrap--text   { max-width: 780px; }

.st-section { padding-block: clamp(5rem, 12vw, 11rem); position: relative; }
.st-section--tight { padding-block: clamp(3rem, 7vw, 6rem); }
.st-section--alt { background: var(--st-bg-2); }

/* Editorial-Eyebrow mit Linie */
.st-eyebrow {
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--st-red-soft);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.st-eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--st-line); max-width: 220px; }

/* Displaytypografie — größer und enger als der Rest der Seite */
.st-display {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 6.5rem);
  line-height: 0.98; letter-spacing: -0.035em;
  margin: 0; text-wrap: balance;
}
.st-display--md { font-size: clamp(2rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.028em; }
.st-display em { font-style: italic; color: var(--st-red-soft); }

.st-lead {
  font-size: clamp(1.05rem, 0.55vw + 0.95rem, 1.3rem);
  line-height: 1.62; color: var(--st-fg-soft); max-width: 56ch; margin: 0;
}
.st-body { color: var(--st-fg-soft); line-height: 1.72; max-width: 62ch; }

/* ---------- 1. Hero ----------------------------------------------------- */
.st-hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; background: #0b0a09;
}
.st-hero__media { position: absolute; inset: 0; z-index: 0; }
.st-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.st-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,10,9,0.62) 0%, rgba(11,10,9,0.18) 32%, rgba(11,10,9,0.86) 100%),
    linear-gradient(90deg, rgba(11,10,9,0.55), transparent 62%);
}
.st-hero__inner {
  position: relative; z-index: 1; width: 100%;
  /* Oben mindestens die Headerhoehe freihalten: auf niedrigen Displays ist der
     Inhalt hoeher als der Viewport und wuerde sonst unter die Leiste laufen. */
  padding-block: max(clamp(3rem, 8vh, 7rem), calc(var(--header-h) + 1.5rem)) clamp(3.5rem, 9vh, 7rem);
  color: #fff;
}
.st-hero h1 { color: #fff; }
.st-hero__sub {
  margin: clamp(1.5rem, 3vw, 2.2rem) 0 0; max-width: 46ch;
  font-size: clamp(1.02rem, 0.5vw + 0.9rem, 1.22rem);
  line-height: 1.6; color: rgba(255,255,255,0.82);
}
.st-hero__actions { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; gap: 0.85rem; }
.st-hero__facts {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.22);
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 4rem);
  list-style: none;
}
.st-hero__facts li {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.78);
}
.st-hero__facts b { display: block; font-family: var(--font-display); font-weight: 500;
  font-size: 1.5rem; letter-spacing: -0.01em; text-transform: none; color: #fff; margin-bottom: 0.15rem; }

/* Buttons in Studio-Rot */
.btn--studio { border-color: var(--st-red); background: var(--st-red); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn--studio:hover { background: var(--st-red-deep); border-color: var(--st-red-deep); color: #fff; }
}
.studio-page .btn--ghost { border-color: rgba(255,255,255,0.5); color: #fff; background: transparent; }
@media (hover: hover) and (pointer: fine) {
  .studio-page .btn--ghost:hover { background: #fff; color: #16150f; border-color: #fff; }
}

/* ---------- 2. USP: Wörter erscheinen beim Scrollen -------------------- */
.st-usp { text-align: left; }
.st-usp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 900px) { .st-usp__grid { grid-template-columns: 1fr; } }

.st-words { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem 0.7rem; }
.st-words li {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.9rem); line-height: 1.12; letter-spacing: -0.02em;
  color: var(--st-fg); opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--st-ease), transform 0.5s var(--st-ease);
}
.st-words li::after { content: "."; color: var(--st-red); }
.st-words.is-visible li { opacity: 1; transform: none; }
.st-words.is-visible li:nth-child(1) { transition-delay: 0.00s }
.st-words.is-visible li:nth-child(2) { transition-delay: 0.07s }
.st-words.is-visible li:nth-child(3) { transition-delay: 0.14s }
.st-words.is-visible li:nth-child(4) { transition-delay: 0.21s }
.st-words.is-visible li:nth-child(5) { transition-delay: 0.28s }
.st-words.is-visible li:nth-child(6) { transition-delay: 0.35s }
.st-words.is-visible li:nth-child(7) { transition-delay: 0.42s }
.st-words.is-visible li:nth-child(8) { transition-delay: 0.49s }

/* ---------- 3. Ausstattung: Bild + Aussagen --------------------------- */
.st-feature {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.st-feature + .st-feature { margin-top: clamp(4rem, 9vw, 8rem); }
.st-feature--flip .st-feature__media { order: 2; }
@media (max-width: 900px) {
  .st-feature { grid-template-columns: 1fr; }
  .st-feature--flip .st-feature__media { order: 0; }
}
.st-feature__media { overflow: hidden; background: var(--st-bg-2); }
.st-feature__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.st-feature__media--tall img { aspect-ratio: 3/4; }
.st-feature h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1rem; }

/* Ausstattungsliste — kein Icon-Zoo, nur Typografie */
.st-specs { list-style: none; margin: 2rem 0 0; padding: 0; column-count: 2; column-gap: 2.5rem; }
@media (max-width: 620px) { .st-specs { column-count: 1; } }
.st-specs li {
  break-inside: avoid; padding: 0.55rem 0 0.55rem 1.4rem; position: relative;
  border-bottom: 1px solid var(--st-line-soft);
  font-size: 0.94rem; color: var(--st-fg-soft); line-height: 1.5;
}
.st-specs li::before {
  content: ""; position: absolute; left: 0; top: 1.05em;
  width: 6px; height: 6px; background: var(--st-red); border-radius: 50%;
}

/* ---------- 4. Indoor / Outdoor --------------------------------------- */
.st-io { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
@media (max-width: 900px) { .st-io { grid-template-columns: 1fr; } }
.st-io__card { position: relative; overflow: hidden; min-height: clamp(360px, 46vw, 560px); display: flex; align-items: flex-end; }
.st-io__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-io__card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,10,9,0.1) 30%, rgba(11,10,9,0.88) 100%);
}
.st-io__body { position: relative; z-index: 1; padding: clamp(1.4rem, 2.5vw, 2.2rem); color: #fff; }
.st-io__label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--st-red-soft); }
.st-io__zahl { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin: 0.5rem 0 0.4rem; letter-spacing: -0.03em; }
.st-io__body p { font-size: 0.92rem; line-height: 1.55; color: rgba(255,255,255,0.78); margin: 0; }

/* ---------- 5. Anlässe: horizontaler Streifen ------------------------- */
.st-uses {
  display: flex; gap: clamp(1rem, 2vw, 1.6rem);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: clamp(1.25rem, 5vw, 4.5rem); padding-bottom: 1.5rem;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 32px), transparent 100%);
          mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 32px), transparent 100%);
}
.st-uses::-webkit-scrollbar { display: none; }
.st-use {
  flex: 0 0 min(78vw, 340px); scroll-snap-align: start;
  border: 1px solid var(--st-line); padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; gap: 0.6rem; min-height: 220px;
  transition: border-color 0.3s var(--st-ease), background 0.3s var(--st-ease);
}
@media (hover: hover) and (pointer: fine) {
  .st-use:hover { border-color: var(--st-red); background: rgba(200,16,46,0.06); }
}
.st-use__nr { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; color: var(--st-red-soft); }
.st-use h3 { font-family: var(--font-body); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin: 0; }
.st-use p { font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.25; letter-spacing: -0.015em; color: var(--st-fg); margin: auto 0 0; }

/* ---------- 6. Nutzungsmodelle ---------------------------------------- */
.st-models { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); align-items: stretch; }
@media (max-width: 940px) { .st-models { grid-template-columns: 1fr; } }
.st-model {
  border: 1px solid var(--st-line); padding: clamp(1.6rem, 2.6vw, 2.4rem);
  display: flex; flex-direction: column; position: relative; background: var(--st-bg);
}
.st-model--top { border-color: var(--st-red); }
.st-model--top::before {
  content: "Am häufigsten gebucht"; position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -50%); background: var(--st-red); color: #fff;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.35rem 0.9rem; white-space: nowrap;
}
.st-model__nr { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--st-line); letter-spacing: -0.03em; }
.st-model h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin: 0.6rem 0 0.3rem; letter-spacing: -0.02em; }
.st-model__claim { font-family: var(--font-display); font-style: italic; color: var(--st-red-soft); margin-bottom: 1rem; }
.st-model > p { color: var(--st-fg-soft); font-size: 0.95rem; line-height: 1.6; }
.st-model ul { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.st-model li { position: relative; padding-left: 1.5rem; font-size: 0.9rem; color: var(--st-fg-soft); line-height: 1.45; }
.st-model li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.3em; width: 0.4rem; height: 0.75rem;
  border-right: 1.6px solid var(--st-red); border-bottom: 1.6px solid var(--st-red); transform: rotate(45deg);
}

/* ---------- 7. Preise -------------------------------------------------- */
.st-prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--st-line); border: 1px solid var(--st-line); }
@media (max-width: 940px) { .st-prices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .st-prices { grid-template-columns: 1fr; } }
.st-price { background: var(--st-bg); padding: clamp(1.5rem, 2.6vw, 2.2rem); display: flex; flex-direction: column; gap: 0.4rem; position: relative; }
.st-price--top { background: linear-gradient(160deg, rgba(200,16,46,0.14), transparent 70%); }
.st-price__tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--st-fg-soft); }
.st-price__wert { font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1; letter-spacing: -0.03em; color: var(--st-fg); }
.st-price__wert small { font-family: var(--font-body); font-size: 0.8rem; color: var(--st-fg-soft); letter-spacing: 0; display: block; margin-top: 0.35rem; font-weight: 400; }
.st-price__einheit { font-size: 0.85rem; color: var(--st-fg-soft); }
.st-price__hinweis { font-size: 0.85rem; color: var(--st-fg-soft); line-height: 1.5; margin-top: auto; padding-top: 1rem; }

.st-addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--st-line); border: 1px solid var(--st-line); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.st-addon { background: var(--st-bg); padding: 1.2rem 1.4rem; }
.st-addon dt { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--st-fg-soft); margin-bottom: 0.4rem; }
.st-addon dd { margin: 0; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; }
.st-addon dd span { font-family: var(--font-body); font-size: 0.8rem; color: var(--st-fg-soft); display: block; margin-top: 0.2rem; }

.st-onrequest { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 760px) { .st-onrequest { grid-template-columns: 1fr; } }
.st-onrequest > div { border-left: 2px solid var(--st-red); padding-left: 1.3rem; }
.st-onrequest h4 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.5rem; }
.st-onrequest p { font-size: 0.92rem; color: var(--st-fg-soft); line-height: 1.6; margin: 0; }
.st-mwst { margin-top: 1.5rem; font-size: 0.85rem; color: var(--st-fg-soft); }

/* ---------- 8. Konfigurator ------------------------------------------- */
.st-config { border: 1px solid var(--st-line); background: var(--st-bg); }
.st-config__steps { display: grid; }
.st-step { border-bottom: 1px solid var(--st-line); padding: clamp(1.5rem, 3vw, 2.4rem); }
.st-step:last-child { border-bottom: 0; }
.st-step__head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.3rem; }
.st-step__nr { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; color: var(--st-red-soft); flex: none; }
.st-step h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -0.02em; margin: 0; }
.st-step__hint { margin-left: auto; font-size: 0.78rem; color: var(--st-fg-soft); }

.st-choices { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.st-choice {
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.04em; padding: 0.7rem 1.15rem; min-height: 44px;
  border: 1px solid var(--st-line); background: transparent; color: var(--st-fg);
  cursor: pointer; display: inline-flex; align-items: center;
  transition: border-color 0.2s var(--st-ease), background 0.2s var(--st-ease), color 0.2s var(--st-ease);
}
@media (hover: hover) and (pointer: fine) { .st-choice:hover { border-color: var(--st-red-soft); } }
.st-choice:active { transform: scale(0.97); transition: transform 100ms ease-out; }
.st-choice[aria-pressed="true"] { background: var(--st-red); border-color: var(--st-red); color: #fff; }

/* Zusammenfassung */
.st-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.5rem;
  padding: clamp(1.2rem, 2.5vw, 1.8rem) clamp(1.5rem, 3vw, 2.4rem);
  background: var(--st-bg-2); border-top: 1px solid var(--st-line);
}
.st-summary__text { font-size: 0.95rem; color: var(--st-fg-soft); flex: 1 1 260px; line-height: 1.5; }
.st-summary__text b { color: var(--st-fg); font-weight: 600; }

/* ---------- 9. Kalender ------------------------------------------------ */
.st-cal {
  border: 1px solid var(--st-line); background: var(--st-bg);
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  max-width: 560px;   /* ohne Deckel wird ein Monat auf Desktop absurd gross */
}
.st-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.st-cal__monat { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -0.02em; }
.st-cal__nav { display: flex; gap: 0.4rem; }
.st-cal__btn {
  width: 44px; height: 44px; border: 1px solid var(--st-line); background: transparent;
  color: var(--st-fg); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.2s var(--st-ease), background 0.2s var(--st-ease);
}
@media (hover: hover) and (pointer: fine) { .st-cal__btn:hover:not(:disabled) { border-color: var(--st-red); } }
.st-cal__btn:active:not(:disabled) { transform: scale(0.94); transition: transform 100ms ease-out; }
.st-cal__btn:disabled { opacity: 0.3; cursor: not-allowed; }
.st-cal__btn svg { width: 14px; height: 14px; }

.st-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.st-cal__wd { text-align: center; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--st-fg-soft); padding-bottom: 0.5rem; }
.st-cal__tag {
  /* Kein aspect-ratio: bei sieben Spalten wuerden daraus 150px hohe Kacheln.
     44px ist das Mindestmass fuer Touch, mehr braucht eine Datumszelle nicht. */
  min-height: 44px; height: 44px; border: 1px solid var(--st-line-soft); background: transparent;
  color: var(--st-fg); font-family: var(--font-body); font-size: 0.9rem; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  transition: border-color 0.2s var(--st-ease), background 0.2s var(--st-ease);
  position: relative;
}
.st-cal__tag--leer { border: 0; cursor: default; height: 44px; }
@media (hover: hover) and (pointer: fine) {
  .st-cal__tag:not(:disabled):not(.st-cal__tag--leer):hover { border-color: var(--st-red); background: rgba(200,16,46,0.08); }
}
.st-cal__tag:not(:disabled):active { transform: scale(0.94); transition: transform 100ms ease-out; }
.st-cal__tag:disabled { color: var(--st-fg-soft); opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.st-cal__tag[aria-pressed="true"] { background: var(--st-red); border-color: var(--st-red); color: #fff; }
.st-cal__punkt { width: 4px; height: 4px; border-radius: 50%; background: var(--st-red-soft); }
.st-cal__tag--belegt { opacity: 0.35; }

.st-cal__legende { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.2rem; font-size: 0.8rem; color: var(--st-fg-soft); }
.st-cal__legende span { display: inline-flex; align-items: center; gap: 0.45rem; }
.st-cal__swatch { width: 12px; height: 12px; border: 1px solid var(--st-line); flex: none; }
.st-cal__swatch--frei { border-color: var(--st-fg-soft); }
.st-cal__swatch--angefragt { border-color: var(--st-red-soft); background: rgba(200,16,46,0.25); }
.st-cal__swatch--belegt { background: var(--st-line); opacity: 0.5; }

/* ---------- 10. Anfrageformular --------------------------------------- */
.studio-page .field label { color: var(--st-fg-soft); }
.studio-page .field input,
.studio-page .field select,
.studio-page .field textarea {
  background: var(--st-bg-2); color: var(--st-fg); border-color: var(--st-line); border-radius: 0;
}
.studio-page .field input::placeholder,
.studio-page .field textarea::placeholder { color: rgba(245,244,241,0.35); }
.studio-page .field input:focus,
.studio-page .field select:focus,
.studio-page .field textarea:focus {
  border-color: var(--st-red); box-shadow: 0 0 0 3px rgba(200,16,46,0.18);
}

/* ---------- 11. Galerie ------------------------------------------------ */
.st-gallery { column-count: 3; column-gap: clamp(0.7rem, 1.4vw, 1.2rem); }
@media (max-width: 900px) { .st-gallery { column-count: 2; } }
@media (max-width: 560px) { .st-gallery { column-count: 1; } }
.st-gallery figure { break-inside: avoid; margin: 0 0 clamp(0.7rem, 1.4vw, 1.2rem); overflow: hidden; position: relative; background: var(--st-bg-2); }
.st-gallery img { width: 100%; height: auto; display: block; transition: transform 1s var(--st-ease); }
@media (hover: hover) and (pointer: fine) { .st-gallery figure:hover img { transform: scale(1.04); } }
.st-gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1.2rem 0.9rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #fff;
  background: linear-gradient(transparent, rgba(11,10,9,0.85));
}

/* ---------- 12. Tag → Abend → Nacht ----------------------------------- */
/* --n läuft beim Scrollen von 0 (Tag) über 0.5 (Abend) auf 1 (Nacht). */
.st-daynight { position: relative; height: 300vh; height: 300dvh; }
.st-daynight__sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; display: flex; align-items: center; }
.st-daynight__layer { position: absolute; inset: 0; }
.st-daynight__layer img { width: 100%; height: 100%; object-fit: cover; }
/* Die drei Deckkräfte rechnet das Skript aus und setzt sie als --n1/--n2/--n3.
   Bewusst nicht per CSS-abs(): das ist noch nicht überall verfügbar. */
.st-dn-1 { opacity: var(--n1, 1); }
.st-dn-2 { opacity: var(--n2, 0); }
.st-dn-3 { opacity: var(--n3, 0); }
.st-daynight__sticky::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,10,9,0.30), rgba(11,10,9,0.72));
}
.st-daynight__inner { position: relative; z-index: 2; width: 100%; color: #fff; }
.st-dn-steps { list-style: none; margin: clamp(1.5rem,3vw,2.5rem) 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.st-dn-steps li {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 4.5vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em;
  color: rgba(255,255,255,0.26); transition: color 0.4s var(--st-ease);
}
.st-dn-steps li.is-on { color: #fff; }
.st-dn-steps li.is-on::before { content: "— "; color: var(--st-red-soft); }
.st-dn-caption { margin-top: 1.5rem; max-width: 40ch; color: rgba(255,255,255,0.8); line-height: 1.6; }

/* statischer Rückfall */
.st-daynight.is-static { height: auto; }
.st-daynight.is-static .st-daynight__sticky { position: relative; height: auto; min-height: 70svh; }
.st-daynight.is-static .st-dn-1 { opacity: 1 !important }
.st-daynight.is-static .st-dn-2,
.st-daynight.is-static .st-dn-3 { opacity: 0 !important }
.st-daynight.is-static .st-dn-steps li { color: #fff; }

/* ---------- 13. Corporate --------------------------------------------- */
.st-corp { position: relative; overflow: hidden; }
.st-corp__bg { position: absolute; inset: 0; }
.st-corp__bg img { width: 100%; height: 100%; object-fit: cover; }
.st-corp__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,10,9,0.94) 0%, rgba(11,10,9,0.72) 55%, rgba(11,10,9,0.5) 100%); }
.st-corp__inner { position: relative; z-index: 1; color: #fff; }
.st-corp__tags { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.st-corp__tags li {
  border: 1px solid rgba(255,255,255,0.32); padding: 0.5rem 1rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}

/* ---------- 14. Anfahrt ------------------------------------------------ */
.st-loc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .st-loc { grid-template-columns: 1fr; } }
.st-adresse { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.35; letter-spacing: -0.02em; font-style: normal; }
.st-adresse span { display: block; }

/* ---------- 15. Abschluss --------------------------------------------- */
.st-final { position: relative; min-height: 88svh; display: flex; align-items: center; overflow: hidden; text-align: center; }
.st-final__bg { position: absolute; inset: 0; }
.st-final__bg img { width: 100%; height: 100%; object-fit: cover; }
.st-final__bg::after { content: ""; position: absolute; inset: 0; background: rgba(11,10,9,0.7); }
.st-final__inner { position: relative; z-index: 1; width: 100%; color: #fff; }
.st-final .st-display { margin-inline: auto; max-width: 16ch; }
.st-final__actions { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

/* ---------- Zitat / Statement ----------------------------------------- */
.st-statement { text-align: center; max-width: 22ch; margin-inline: auto; }

/* ---------- Bewegungsvorlieben ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .st-words li { opacity: 1; transform: none; }
  .st-daynight { height: auto; }
  .st-daynight__sticky { position: relative; height: auto; min-height: 70svh; }
  .st-dn-1 { opacity: 1 !important } .st-dn-2, .st-dn-3 { opacity: 0 !important }
  .st-dn-steps li { color: #fff; }
  .st-uses { scroll-snap-type: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .st-hero__media::after { background: rgba(11,10,9,0.72); }
  .st-corp__bg::after { background: rgba(11,10,9,0.88); }
}

@media (prefers-contrast: more) {
  body.studio-page { --st-fg-soft: rgba(245,244,241,0.88); --st-line: rgba(245,244,241,0.4); }
  .st-use, .st-model, .st-price, .st-config, .st-cal { border-width: 2px; }
  .st-hero__media::after { background: rgba(11,10,9,0.8); }
}
