/* =============================================================================
   Bildcraft Media – Haupt-Stylesheet (mobile first)
   Struktur:
   1. Tokens & Basis      2. Typo-Helfer & UI-Elemente     3. HUD (Header)
   4. Intro               5. Timeline (Startseite)         6. Clips (Sektionen)
   7. Ruler/Playhead/Scrubber  8. Slate (Mega-Menü)        9. Filmklappe
   10. Sound & Korn       11. Unterseiten & Inhalte        12. Formular
   13. Archive/Projekte   14. Blöcke (Frontend)            15. Utilities & Motion
   ========================================================================== */

/* 1. Tokens & Basis ------------------------------------------------------- */
:root {
  --bc-accent: #EE8000;
  --bc-accent-rgb: 238, 128, 0;
  --bc-accent-hover: #F4A040;
  --bc-bg: #0A0A0C;
  --bc-text: #EDEDEA;
  --bc-rec: #FF3B30;
  --bc-grain: .055;
  --bc-hero-video-opacity: .55;

  --bc-bg-2: #0C0C0F;
  --bc-bg-3: #0E0E11;
  --bc-bg-4: #101014;
  --bc-bg-5: #141416;
  --bc-bg-menu: #0B0B0D;
  --bc-bg-2: color-mix(in srgb, var(--bc-bg), #fff 1.2%);
  --bc-bg-3: color-mix(in srgb, var(--bc-bg), #fff 2%);
  --bc-bg-4: color-mix(in srgb, var(--bc-bg), #fff 3%);
  --bc-bg-5: color-mix(in srgb, var(--bc-bg), #fff 4.5%);
  --bc-bg-menu: color-mix(in srgb, var(--bc-bg), #fff .6%);

  --bc-line: rgba(255, 255, 255, .16);
  --bc-line-soft: rgba(255, 255, 255, .12);
  --bc-line-strong: rgba(255, 255, 255, .22);
  --bc-dim: rgba(237, 237, 234, .62);
  --bc-dim-2: rgba(255, 255, 255, .45);
  --bc-dim-3: rgba(255, 255, 255, .35);

  --bc-font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bc-font-display: 'Big Shoulders Display', 'Impact', 'Arial Narrow', sans-serif;
  --bc-font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --bc-font-btn: 'Space Grotesk', 'Archivo', system-ui, sans-serif;

  --bc-hud-h: 64px;
  --bc-ruler-h: 26px;
  --bc-scrubber-h: 56px;
  --bc-gutter: 6vw;
  --bc-measure: 760px; /* Textbreite (Absätze, Überschriften, Seitenkopf) */
  --bc-wide: 1200px;   /* Breite für Seiten-Container, Beitragsbild und alignwide */
  --bc-stripes: repeating-linear-gradient(-45deg, var(--bc-text) 0 26px, var(--bc-bg-5) 26px 52px);
  --bc-stripes-lg: repeating-linear-gradient(-45deg, var(--bc-text) 0 34px, var(--bc-bg-5) 34px 68px);
  --bc-stripes-xl: repeating-linear-gradient(-45deg, var(--bc-text) 0 44px, var(--bc-bg-5) 44px 88px);
  --bc-ease: cubic-bezier(.7, 0, .2, 1);
}
@media (min-width: 900px) {
  :root { --bc-hud-h: 78px; --bc-scrubber-h: 70px; --bc-gutter: 5vw; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bc-bg);
  color: var(--bc-text);
  font-family: var(--bc-font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}
a { color: var(--bc-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bc-accent-hover); }
img, video, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--bc-accent); outline-offset: 3px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.bc-skip {
  position: absolute; left: -9999px; top: 12px; z-index: 200; padding: 10px 16px;
  background: var(--bc-accent); color: var(--bc-bg); font-family: var(--bc-font-mono); font-size: 12px; letter-spacing: .14em;
}
.bc-skip:focus { left: 12px; }

/* 2. Typo-Helfer & UI-Elemente -------------------------------------------- */
.bc-mono { font-family: var(--bc-font-mono); letter-spacing: .14em; font-size: 12px; }
.bc-label {
  font-family: var(--bc-font-mono); font-size: 11px; letter-spacing: .3em; color: var(--bc-accent);
  margin: 0; text-transform: uppercase; line-height: 1.5;
}
.bc-display {
  font-family: var(--bc-font-display); font-weight: 800; text-transform: uppercase;
  line-height: .9; letter-spacing: .005em; margin: 0;
}
.bc-accent { color: var(--bc-accent); }
.bc-dim { color: var(--bc-dim-2); }
.bc-watermark {
  position: absolute; font-family: var(--bc-font-display); font-weight: 800; font-size: 22vh; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .09); text-transform: uppercase;
  pointer-events: none; white-space: nowrap; user-select: none; display: none;
}
.bc-watermark--br { bottom: 2vh; right: 2vw; }
.bc-watermark--tl { top: 12vh; left: 2vw; font-size: 24vh; }

.bc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer;
  font-family: var(--bc-font-btn); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  padding: 16px 32px; border: 1px solid transparent; border-radius: 0; text-decoration: none; text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}
.bc-btn--primary { background: var(--bc-accent); color: var(--bc-bg); border-color: var(--bc-accent); }
.bc-btn--primary:hover { background: var(--bc-accent-hover); border-color: var(--bc-accent-hover); color: var(--bc-bg); }
.bc-btn--ghost { background: none; border-color: rgba(255, 255, 255, .25); color: var(--bc-text); font-family: var(--bc-font-mono); font-weight: 500; font-size: 12px; letter-spacing: .2em; }
.bc-btn--ghost:hover { border-color: var(--bc-accent); color: var(--bc-accent); }
.bc-link-mono {
  font-family: var(--bc-font-mono); font-size: 12px; letter-spacing: .2em; color: var(--bc-text);
  border-bottom: 1px solid var(--bc-accent); padding-bottom: 4px; white-space: nowrap;
}
.bc-link-mono:hover { color: var(--bc-accent); }
.bc-rec {
  width: 8px; height: 8px; border-radius: 50%; background: var(--bc-rec); display: inline-block; flex: 0 0 auto;
  animation: bc-blink 1.4s infinite;
}
.bc-rec--lg { width: 9px; height: 9px; animation-duration: 1.2s; }
.bc-tri {
  display: inline-block; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  border-left: 14px solid currentColor;
}
.bc-play {
  width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--bc-accent); background: rgba(10, 10, 12, .6);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; transition: transform .2s;
}
.bc-play__tri {
  display: inline-block; width: 0; height: 0; border-top: 13px solid transparent; border-bottom: 13px solid transparent;
  border-left: 22px solid var(--bc-accent); margin-left: 5px;
}
@media (min-width: 900px) {
  .bc-mono { font-size: 12px; }
  .bc-label { font-size: 12px; }
  .bc-watermark { display: block; }
  .bc-btn { font-size: 15px; padding: 18px 40px; }
  .bc-play { width: 92px; height: 92px; }
  .bc-play__tri { border-top-width: 16px; border-bottom-width: 16px; border-left-width: 26px; margin-left: 6px; }
}

/* 3. HUD (Header) --------------------------------------------------------- */
.bc-stage { position: relative; min-height: 100vh; min-height: 100dvh; }
.bc-hud {
  position: fixed; top: 0; left: 0; right: 0; height: var(--bc-hud-h); z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px;
  background: rgba(10, 10, 12, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bc-line-soft);
}
.bc-logo { display: flex; align-items: center; color: inherit; }
.bc-logo__img { display: block; width: auto; height: 30px; }
.bc-hud__tc { display: none; align-items: center; gap: 14px; font-size: 15px; letter-spacing: .12em; color: var(--bc-accent); font-variant-numeric: tabular-nums; }
.bc-hud__menu {
  cursor: pointer; background: none; border: 1px solid rgba(255, 255, 255, .25); color: var(--bc-text);
  font-family: var(--bc-font-mono); font-size: 12px; letter-spacing: .2em; padding: 10px 14px;
  display: flex; align-items: center; gap: 12px; transition: border-color .2s, color .2s;
}
.bc-hud__menu:hover, .bc-hud__menu[aria-expanded="true"] { border-color: var(--bc-accent); color: var(--bc-accent); }
.bc-burger { display: flex; flex-direction: column; gap: 3px; }
.bc-burger i { width: 18px; height: 2px; background: currentColor; display: block; transition: transform .3s, opacity .3s; }
.bc-hud__menu[aria-expanded="true"] .bc-burger i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.bc-hud__menu[aria-expanded="true"] .bc-burger i:nth-child(2) { opacity: 0; }
.bc-hud__menu[aria-expanded="true"] .bc-burger i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
@media (min-width: 600px) { .bc-hud__tc { display: flex; } }
@media (min-width: 900px) {
  .bc-hud { padding: 0 32px; }
  .bc-hud__menu { padding: 12px 22px; }
}
@media (min-width: 900px) { .bc-intro-active .bc-hud { opacity: 0; pointer-events: none; } }
.bc-hud { transition: opacity .5s; }
/* Eingeloggt: Admin-Bar (z-index 99999) liegt oben – fixierte Theme-Elemente rücken darunter. Ohne Admin-Bar
   ändert sich nichts. Unter 600 px scrollt die Admin-Bar normalerweise weg; dort bleibt sie fixiert. */
body.admin-bar { --bc-ab: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 782px) { body.admin-bar { --bc-ab: var(--wp-admin--admin-bar--height, 46px); } }
@media (max-width: 600px) { body.admin-bar #wpadminbar { position: fixed; } }
body.admin-bar .bc-hud, body.admin-bar .bc-slate, body.admin-bar .bc-clap, body.admin-bar .bc-intro,
body.admin-bar.bc-front:not(.bc-mobile-vertical):not(.no-js) .bc-stage { top: var(--bc-ab); }
@media (min-width: 900px) { body.admin-bar.bc-front.bc-mobile-vertical.js .bc-stage { top: var(--bc-ab); } }

/* 4. Intro ---------------------------------------------------------------- */
.bc-intro {
  position: fixed; inset: 0; z-index: 40; background: #000;
  transition: opacity .6s ease, visibility .6s;
}
html.bc-intro-seen .bc-intro[data-mode="session"], html.bc-intro-seen-days .bc-intro[data-mode="days"] { display: none; }
.bc-intro.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
/* Intro nur am Desktop – auf kleinen Viewports nie anzeigen (auch nicht vor dem JS). */
@media (max-width: 899px) { .bc-intro { display: none !important; } }
.bc-intro__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bc-intro__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, .72) 100%); pointer-events: none; }
.bc-intro__top {
  position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 16px; font-size: 11px; letter-spacing: .14em; color: rgba(255, 255, 255, .85); gap: 12px;
}
.bc-intro__rec { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.bc-intro__brand { font-weight: 600; letter-spacing: .3em; font-size: 13px; text-align: center; }
.bc-intro__clock { min-width: 90px; text-align: right; font-variant-numeric: tabular-nums; }
/* „Intro überspringen“: ab dem ersten Frame sichtbar, rechts oben unter der Kopfzeile. */
.bc-intro__skip {
  position: absolute; z-index: 2; top: 64px; right: 16px; cursor: pointer; background: rgba(10, 10, 12, .55); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .45); color: #fff; font-size: 12px; letter-spacing: .22em; padding: 10px 16px; transition: border-color .2s, color .2s;
}
.bc-intro__skip:hover, .bc-intro__skip:focus-visible { border-color: var(--bc-accent); color: var(--bc-accent); outline: none; }
.bc-intro__center {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 0 16px 14vh; gap: 22px; text-align: center;
}
.bc-intro__hint { font-size: 11px; letter-spacing: .32em; color: rgba(255, 255, 255, .6); margin: 0; }
.bc-intro__start {
  cursor: pointer; border: 1px solid var(--bc-accent); background: rgba(10, 10, 12, .55); backdrop-filter: blur(8px);
  color: #fff; font-family: var(--bc-font-btn); font-weight: 700; font-size: 18px; letter-spacing: .24em;
  padding: 16px 44px 16px 38px; display: flex; align-items: center; gap: 16px; transition: background .2s, color .2s;
}
.bc-intro__start:hover { background: var(--bc-accent); color: var(--bc-bg); }
.bc-intro__note { position: absolute; left: 16px; bottom: 24px; font-size: 10px; color: rgba(255, 255, 255, .45); letter-spacing: .15em; }
.bc-intro__corner { position: absolute; width: 34px; height: 34px; border: 0 solid rgba(255, 255, 255, .5); display: none; }
.bc-intro__corner--br { right: 36px; bottom: 32px; border-right-width: 2px; border-bottom-width: 2px; }
.bc-intro__corner--tr { right: 36px; top: 76px; border-right-width: 2px; border-top-width: 2px; }
@media (min-width: 900px) {
  .bc-intro__top { padding: 28px 36px; font-size: 12px; }
  .bc-intro__brand { font-size: 14px; }
  .bc-intro__center { padding-bottom: 9vh; }
  .bc-intro__hint { font-size: 12px; }
  .bc-intro__start { font-size: 22px; padding: 20px 64px 20px 56px; }
  .bc-intro__note { left: 36px; bottom: 32px; font-size: 11px; }
  .bc-intro__skip { top: 84px; right: 36px; font-size: 13px; }
  .bc-intro__corner { display: block; }
}

/* 5. Timeline (Startseite) ------------------------------------------------ */
.bc-front { overflow: hidden; height: 100vh; height: 100dvh; }
.bc-front .bc-stage { position: fixed; inset: 0; overflow: hidden; background: var(--bc-bg); min-height: 0; }
.bc-main--timeline { position: absolute; inset: 0; }
.bc-timeline {
  position: absolute; inset: 0; padding: var(--bc-hud-h) 0 var(--bc-scrubber-h);
  display: flex; align-items: stretch; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; outline: none;
}
.bc-timeline::-webkit-scrollbar { display: none; }
.bc-clip {
  position: relative; flex: 0 0 100vw; width: 100vw; scroll-snap-align: start;
  overflow-x: hidden; overflow-y: auto; scrollbar-width: none;
  border-right: 1px solid rgba(255, 255, 255, .18);
  display: flex; flex-direction: column; gap: 3vh; padding: 6vh var(--bc-gutter) 8vh;
}
.bc-clip::-webkit-scrollbar { display: none; }
.bc-clip:last-child { border-right: 0; }
.bc-clip--full { padding: 0; }
.bc-clip__inner { width: 100%; }

@media (min-width: 900px) {
  .bc-timeline { padding-top: calc(var(--bc-hud-h) + var(--bc-ruler-h)); scroll-snap-type: none; }
  /* Desktop: Clips scrollen nie vertikal – das Mausrad bewegt immer nur die Timeline. Zu viel Inhalt
     wird per JS (fitClips) in Spalten nach rechts verlängert bzw. leicht verkleinert. */
  .bc-clip { overflow: hidden; gap: 4vh; }
  .bc-clip--hero { flex-basis: 100vw; width: 100vw; }
  .bc-clip--leistungen { flex-basis: 104vw; width: 104vw; }
  .bc-clip--selects { flex-basis: 126vw; width: 126vw; }
  .bc-clip--prozess { flex-basis: 104vw; width: 104vw; }
  .bc-clip--crew { flex-basis: 86vw; width: 86vw; }
  .bc-clip--final { flex-basis: 96vw; width: 96vw; }
  .bc-clip--block { flex-basis: 100vw; width: 100vw; justify-content: center; justify-content: safe center; }
}

/* Clips an die Höhe anpassen (Desktop, per JS fitClips): Text-Spalten werden breiter, sonst leicht
   verkleinert (min. 85 %), notfalls scrollt der Clip vertikal. Nur reine Fließtext-Clips (ohne Spalten,
   Medien und Bildcraft-Blöcke) fließen in ausgeglichene Spalten nach rechts. */
.bc-clip--flow { justify-content: flex-start; }
.bc-clip--flow > .bc-clip__inner { flex: 0 0 auto; column-fill: balance; }
.bc-clip--flow .bc-clip__inner :is(h1, h2, h3, h4, h5, h6) { break-after: avoid; break-inside: avoid; }
.bc-clip--flow .bc-clip__inner :is(blockquote, li, .wp-block-buttons, .wp-block-button) { break-inside: avoid; }
.bc-clip--flow .bc-clip__inner > :first-child > :first-child, .bc-clip--flow .bc-clip__inner > :first-child { margin-top: 0; }
@media (min-width: 900px) {
  .bc-clip.bc-clip--scroll { overflow-y: auto; justify-content: flex-start; }

  /* Block-Clips: Spaltenlayouts bleiben Spalten, Inhalte linksbündig auf voller Clip-Breite. */
  .bc-front .bc-clip .bc-clip__inner .alignwide { max-width: none; }
  .bc-front .bc-clip .bc-clip__inner .wp-block-columns { display: flex; align-items: center; }
  .bc-front .bc-clip .bc-content > * { margin-left: 0; margin-right: 0; }
  .bc-front .bc-clip .bc-content > .bc-label + :is(h2, h3),
  .bc-front .bc-clip .bc-content > :is(h2, h3):first-child { margin-top: .35em; }

  /* Medien in Spalten begrenzen */
  .bc-front .bc-clip .wp-block-column .wp-block-image img { max-height: 50vh; width: 100%; object-fit: cover; }
  .bc-front .bc-clip--angebot .wp-block-column .wp-block-image img { max-height: 40vh; }

  /* Kundenstimmen: Hochkant-Videos nebeneinander */
  .bc-front .bc-clip .wp-block-video { display: flex; flex-direction: column; align-items: flex-start; }
  .bc-front .bc-clip .wp-block-video video { height: 52vh; width: auto; max-width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }

  /* Siegel-Reihe (Angebot) einheitlich klein */
  .bc-front .bc-clip .bc-siegel { display: flex; gap: 28px; align-items: center; margin-top: 24px; }
  .bc-front .bc-clip .bc-siegel img { height: 84px; width: auto; }

  /* Leistungen: Überschrift links, Liste rechts */
  .bc-front .bc-clip--leistungen .bc-content { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 5vw; align-items: center; }

  /* Portfolio: 3 Karten nebeneinander, einheitliche Bilder, kleinere Titel */
  .bc-front .bc-clip--portfolio .bc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .bc-front .bc-clip--portfolio .bc-card__title { font-size: clamp(20px, 1.6vw, 28px); line-height: 1.05; }

  /* FAQ: alle Fragen gleich (Inhalt hat teils H3, teils fette Absätze) */
  .bc-front .bc-clip--faq .wp-block-column h3 { font-family: inherit; font-size: 1rem; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.5; margin: 1.2em 0 .6em; }
}

/* Scroll-Hinweis (Smartphone): klebt unten im vertikal scrollbaren Clip, ohne Platz zu belegen. */
.bc-scrollhint { position: sticky; bottom: 0; flex: 0 0 0; height: 0; margin-top: -3vh; pointer-events: none; z-index: 3; transition: opacity .3s; }
.bc-scrollhint::before {
  content: ''; position: absolute; left: calc(-1 * var(--bc-gutter)); right: calc(-1 * var(--bc-gutter)); bottom: 0; height: 72px;
  background: linear-gradient(0deg, rgba(10, 10, 12, .9), rgba(10, 10, 12, 0));
}
.bc-scrollhint__label { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: 11px; letter-spacing: .28em; line-height: 1; color: rgba(237, 237, 234, .75); }
.bc-scrollhint__label .bc-accent { display: inline-block; margin-left: .2em; animation: bc-hint 1.6s ease-in-out infinite; }
.bc-clip--full .bc-scrollhint::before, .bc-clip--bildcraft-hero .bc-scrollhint::before { left: 0; right: 0; }
.bc-scrollhint.is-hidden { opacity: 0; }
@keyframes bc-hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
html.bc-reduced .bc-scrollhint__label .bc-accent { animation: none; }
@media (min-width: 900px) { .bc-scrollhint { display: none; } }

/* Vertikaler Modus (Smartphone-Option) und No-JS-Fallback: Clips gestapelt, normales Scrollen. */
.bc-front.no-js, .bc-front.bc-mobile-vertical { overflow: auto; height: auto; }
.bc-front.no-js .bc-stage, .bc-front.bc-mobile-vertical .bc-stage { position: relative; inset: auto; overflow: visible; }
.no-js .bc-main--timeline, .bc-mobile-vertical .bc-main--timeline { position: relative; inset: auto; }
.no-js .bc-timeline, .bc-mobile-vertical .bc-timeline { position: relative; inset: auto; display: block; overflow: visible; padding: var(--bc-hud-h) 0 var(--bc-scrubber-h); }
.no-js .bc-clip, .bc-mobile-vertical .bc-clip { width: 100%; flex: none; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); overflow: visible; min-height: 0; }
.no-js .bc-clip--hero, .bc-mobile-vertical .bc-clip--hero { min-height: 70vh; }
.no-js .bc-ruler, .no-js .bc-playhead, .bc-mobile-vertical .bc-ruler, .bc-mobile-vertical .bc-playhead { display: none !important; }
.no-js .bc-intro { display: none; }
@media (min-width: 900px) {
  /* Ab Desktop-Breite gilt immer die horizontale Timeline (außer ohne JS). */
  .bc-front.bc-mobile-vertical.js { overflow: hidden; height: 100dvh; }
  .bc-front.bc-mobile-vertical.js .bc-stage { position: fixed; inset: 0; overflow: hidden; }
  .bc-mobile-vertical.js .bc-main--timeline { position: absolute; inset: 0; }
  .bc-mobile-vertical.js .bc-timeline { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; padding-top: calc(var(--bc-hud-h) + var(--bc-ruler-h)); }
  .bc-mobile-vertical.js .bc-clip { border-right: 1px solid rgba(255, 255, 255, .18); border-bottom: 0; overflow: hidden; }
  .bc-mobile-vertical.js .bc-clip--hero { min-height: 0; }
  .bc-mobile-vertical.js .bc-ruler, .bc-mobile-vertical.js .bc-playhead { display: block !important; }
}

/* 6. Clips (Sektionen) ---------------------------------------------------- */
/* Hero */
.bc-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: var(--bc-hero-video-opacity); }
@media (min-width: 900px) { .bc-intro-active .bc-hero__video { opacity: 0; } }
.bc-hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 10, 12, .95) 0%, rgba(10, 10, 12, .2) 45%, rgba(10, 10, 12, .35) 100%); pointer-events: none; }
.bc-hero__content {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: 8vh var(--bc-gutter) 7vh; min-height: 0;
}
.bc-hero__title { font-size: clamp(44px, 13vw, 72px); line-height: .88; }
.bc-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.bc-hero__text { margin: 0; max-width: 44ch; font-size: 15px; line-height: 1.65; color: rgba(237, 237, 234, .72); font-weight: 300; }
.bc-hero__scroll { font-size: 12px; color: rgba(255, 255, 255, .55); letter-spacing: .2em; display: flex; align-items: center; gap: 14px; }
.bc-hero__scroll:hover { color: var(--bc-text); }
.bc-hero__line { display: inline-block; width: 44px; height: 1px; background: var(--bc-accent); }
.bc-hero__note { display: none; position: absolute; top: 3vh; right: 4vw; font-size: 11px; color: rgba(255, 255, 255, .4); letter-spacing: .15em; text-align: right; line-height: 1.6; }
@media (min-width: 900px) {
  .bc-hero__content { padding: 2vh 4vw 5vh; }
  .bc-hero__title { font-size: min(10.5vw, 13.5vh); }
  .bc-hero__text { font-size: 16px; }
  .bc-hero__line { width: 64px; }
  .bc-hero__note { display: block; }
}
/* Startseite (Hero-Clip) auf Laptops: kleinere H1, breiterer Einleitungstext, damit Label und H1 nicht oben aus
   dem Clip laufen (Inhalt ist unten verankert). Getestet 1024 × 680 bis 2560 × 1300. */
@media (min-width: 900px) {
  .bc-front .bc-hero__title { font-size: min(9.5vw, 12vh); }
  .bc-front .bc-hero__text { max-width: 64ch; font-size: 15px; line-height: 1.55; }
  .bc-front .bc-hero__content { gap: 10px; }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .bc-front .bc-hero__title { font-size: min(7.6vw, 10vh); }
}
/* Letzte Stufe von fitClips (bc-clip--scroll): Hero-Inhalt nicht mehr unten verankert aus dem Clip laufen
   lassen (nach oben kann man nicht scrollen), sondern von oben beginnen und im Clip nach unten scrollen. */
@media (min-width: 900px) {
  .bc-front .bc-clip--scroll.bc-clip--bildcraft-hero { padding: 0; }
  .bc-front .bc-clip--scroll.bc-clip--bildcraft-hero > .bc-clip__inner { min-height: 100%; display: flex; flex-direction: column; }
  .bc-front .bc-clip--scroll.bc-clip--bildcraft-hero .bc-block--hero.is-screen { position: relative; inset: auto; flex: 1 0 auto; height: auto; min-height: 100%; overflow: visible; justify-content: safe flex-end; }
  .bc-front .bc-clip--scroll.bc-clip--hero .bc-hero__content { position: relative; inset: auto; min-height: 100%; justify-content: safe flex-end; }
}
.bc-mobile-vertical .bc-hero__content, .no-js .bc-hero__content { position: relative; inset: auto; min-height: 70vh; }

/* Leistungen (Index-Zeilen) */
.bc-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bc-line); display: flex; flex-direction: column; }
.bc-index__row { border-bottom: 1px solid var(--bc-line); }
.bc-index__link {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 14px 0; color: var(--bc-text);
  align-items: baseline; transition: color .2s;
}
a.bc-index__link:hover { color: var(--bc-accent); }
.bc-index__num { font-size: 13px; color: var(--bc-accent); width: 44px; flex: 0 0 auto; }
.bc-index__name { font-family: var(--bc-font-display); font-weight: 700; font-size: clamp(28px, 8vw, 44px); line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.bc-index__dots { display: none; flex: 1; border-bottom: 1px dotted rgba(255, 255, 255, .2); transform: translateY(-8px); }
.bc-index__desc { grid-column: 2; font-size: 14px; font-weight: 300; color: var(--bc-dim); line-height: 1.5; }
@media (min-width: 900px) {
  .bc-clip--leistungen { justify-content: center; justify-content: safe center; gap: 2.5vh; padding: 4vh 5vw 2vh; overflow-y: auto; }
  .bc-index__link { display: flex; align-items: baseline; gap: 3vw; padding: min(2.1vh, 15px) 0; }
  .bc-index__num { width: 64px; }
  .bc-index__name { font-size: clamp(34px, min(4.6vw, 6.5vh), 72px); flex: 0 0 auto; }
  .bc-index__dots { display: block; }
  .bc-index__desc { max-width: 36ch; text-align: right; }
}

/* Selects (Projekt-Karten) */
.bc-selects__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bc-selects__grid { display: flex; flex-direction: column; gap: 28px; width: 100%; }
.bc-card { min-width: 0; }
.bc-card__link { display: flex; flex-direction: column; gap: 12px; color: var(--bc-text); }
.bc-card__media { position: relative; background: var(--bc-bg-4); overflow: hidden; aspect-ratio: 16 / 9; }
/* Kartenbilder immer vollflächig – auch innerhalb von .bc-content (dort gilt sonst height: auto). */
.bc-card .bc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--bc-ease); }
.bc-card__link:hover .bc-card__media img { transform: scale(1.03); }
.bc-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--bc-dim-3); font-size: 11px; }
.bc-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--bc-line); padding-top: 10px; }
.bc-card__names { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bc-card__title { font-family: var(--bc-font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: .02em; margin: 0; line-height: 1; transition: color .2s; }
.bc-card__link:hover .bc-card__title { color: var(--bc-accent); }
.bc-card__tag { font-size: 11px; color: var(--bc-dim-2); letter-spacing: .12em; }
.bc-card__tc { font-size: 12px; white-space: nowrap; }
/* Unterseiten (Archiv, Projekte-Block): Karten ohne Versatz, einheitlich 16:9, ruhige Titel.
   .bc-page-Selektoren sind spezifischer als .bc-content h3 bzw. die Versatz-/Höhenregeln der Startseite. */
.bc-page .bc-grid > .bc-card { margin-top: 0; }
/* Projekte-Block im Layout „versetzt“ auf Unterseiten: Inhaltsbreite statt fester 91vw (sonst horizontaler Überlauf). */
.bc-page .bc-selects__grid { width: 100%; }
.bc-page .bc-card .bc-card__media { aspect-ratio: 16 / 9; height: auto; }
.bc-page .bc-content .bc-card__title { font-size: clamp(19px, 1.5vw, 24px); line-height: 1.08; }
@media (min-width: 900px) {
  .bc-clip--selects { justify-content: center; justify-content: safe center; padding: 14vh 5vw 2vh; }
  .bc-clip--selects > .bc-selects__head { position: absolute; top: 6vh; left: 5vw; right: 5vw; gap: 3vw; }
  .bc-selects__grid { flex-direction: row; align-items: flex-start; gap: 2.5vw; width: 91vw; flex: 0 0 auto; }
  .bc-card--staggered { flex: var(--card-flex, 1); margin-top: var(--card-mt, 0); }
  .bc-card--staggered .bc-card__media { aspect-ratio: auto; height: var(--card-h, 40vh); }
  .bc-card__title { font-size: 26px; }
}

/* Prozess (Marker) */
.bc-prozess__title { font-size: clamp(40px, 11vw, 64px); line-height: .92; max-width: 16ch; }
.bc-markers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-left: 2px solid var(--bc-line-strong); position: relative; }
.bc-marker { position: relative; padding: 0 0 28px 24px; display: flex; flex-direction: column; gap: 8px; }
.bc-marker__tri { position: absolute; top: 2px; left: -9px; width: 16px; height: 16px; background: var(--bc-accent); clip-path: polygon(100% 50%, 0 0, 0 100%); }
.bc-marker__tc { font-size: 12px; color: var(--bc-accent); letter-spacing: .16em; }
.bc-marker__name { font-family: var(--bc-font-display); font-weight: 700; font-size: 30px; text-transform: uppercase; letter-spacing: .02em; margin: 0; line-height: 1; }
.bc-marker__desc { font-size: 14px; line-height: 1.55; color: var(--bc-dim); margin: 0; }
.bc-page .bc-content .bc-marker__name { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.05; }
@media (min-width: 900px) {
  .bc-clip--prozess { justify-content: center; justify-content: safe center; gap: 7vh; padding: 0 5vw 0 14vw; }
  .bc-clip--prozess > .bc-label { position: absolute; top: 6vh; left: 14vw; }
  .bc-prozess__title { font-size: clamp(48px, 6.5vw, 110px); }
  /* auto-fit statt fester Spaltenzahl: nie breiter als die Inhaltsspalte (kein horizontaler Scrollbalken). */
  .bc-markers { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-left: 0; border-top: 2px solid var(--bc-line-strong); }
  .bc-marker { padding: 30px 28px 0 0; gap: 10px; min-width: 0; }
  .bc-marker__tri { top: -9px; left: 0; clip-path: polygon(50% 100%, 0 0, 100% 0); }
  .bc-marker__name { font-size: clamp(20px, 1.7vw, 32px); }
  /* Unterseiten: 3 Spalten (bei bis zu 4 Markern so viele Spalten wie Marker, --bc-marker-cols aus render.php),
     jede Zeile mit eigener Linie. */
  .bc-page .bc-markers { grid-template-columns: repeat(var(--bc-marker-cols, 3), minmax(0, 1fr)); border-top: 0; column-gap: 36px; row-gap: 44px; }
  .bc-page .bc-marker { border-top: 2px solid var(--bc-line-strong); padding: 28px 0 0; }
}

/* Crew */
.bc-crew__title { font-size: clamp(40px, 12vw, 64px); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(237, 237, 234, .8); }
.bc-crew__body { display: flex; flex-direction: column; gap: 24px; }
.bc-crew__photo { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bc-crew__img { position: relative; background: var(--bc-bg-4); aspect-ratio: 16 / 9; overflow: hidden; }
.bc-crew__img img { width: 100%; height: 100%; object-fit: cover; }
.bc-crew__photo figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--bc-dim-2); letter-spacing: .14em; border-top: 1px solid var(--bc-line); padding-top: 10px; }
.bc-crew__person { display: flex; flex-direction: column; gap: 14px; }
.bc-crew__name { font-size: clamp(34px, 9vw, 64px); line-height: .92; }
.bc-crew__role { font-size: 12px; letter-spacing: .18em; color: rgba(255, 255, 255, .5); margin: 0; }
.bc-crew__bio { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(237, 237, 234, .68); }
@media (min-width: 900px) {
  .bc-clip--crew { flex-direction: row; align-items: center; gap: 4vw; padding: 0 5vw; }
  .bc-clip--crew > .bc-label { position: absolute; top: 6vh; left: 5vw; }
  .bc-crew__title { font-size: clamp(60px, 9vh, 120px); writing-mode: vertical-rl; transform: rotate(180deg); flex: 0 0 auto; }
  .bc-crew__body { flex: 1; flex-direction: row; gap: 3.5vw; align-items: center; margin-top: 5vh; }
  .bc-crew__photo { flex: 1.7; }
  .bc-crew__img { aspect-ratio: auto; height: 54vh; }
  .bc-crew__person { flex: 1; gap: 16px; }
  .bc-crew__name { font-size: clamp(38px, 4vw, 64px); }
}

/* Final (CTA) */
.bc-final__title { font-size: clamp(56px, 18vw, 110px); line-height: .85; }
.bc-final__row { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.bc-final__mail { font-size: 14px; letter-spacing: .08em; color: var(--bc-accent); }
.bc-final__note { font-size: 12px; color: var(--bc-dim-2); letter-spacing: .14em; }
.bc-final__legal { display: flex; gap: 16px 18px; flex-wrap: wrap; align-items: center; font-size: 10px; letter-spacing: .14em; margin-top: auto; padding-top: 4vh; }
.bc-legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
.bc-legal a { color: rgba(255, 255, 255, .55); }
.bc-legal a:hover { color: var(--bc-accent); }
@media (min-width: 900px) {
  .bc-clip--final { justify-content: center; justify-content: safe center; gap: 4vh; padding: 0 5vw; }
  .bc-clip--final > .bc-label { position: absolute; top: 6vh; left: 5vw; }
  .bc-final__title { font-size: clamp(90px, 15vw, 260px); }
  .bc-final__row { flex-direction: row; align-items: center; gap: 4vw; flex-wrap: wrap; }
  .bc-final__legal { position: absolute; bottom: 3vh; left: 5vw; right: 5vw; margin-top: 0; padding-top: 0; }
}

/* 7. Ruler / Playhead / Scrubber ------------------------------------------ */
.bc-ruler {
  display: none; position: absolute; top: var(--bc-hud-h); left: 0; right: 0; height: var(--bc-ruler-h); z-index: 4;
  border-bottom: 1px solid var(--bc-line-soft); pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 1px, transparent 1px 120px);
  background-size: auto 8px, auto 14px; background-repeat: repeat-x;
  background-position: var(--bc-scroll-x, 0px) bottom, var(--bc-scroll-x, 0px) bottom;
}
.bc-playhead { display: none; position: absolute; top: var(--bc-hud-h); bottom: var(--bc-scrubber-h); left: 50%; width: 1px; background: var(--bc-accent); pointer-events: none; z-index: 5; }
.bc-playhead span { position: absolute; top: -1px; left: -7px; width: 14px; height: 16px; background: var(--bc-accent); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
@media (min-width: 900px) { .bc-ruler, .bc-playhead { display: block; } }
@media (min-width: 900px) { .bc-intro-active .bc-ruler, .bc-intro-active .bc-playhead { opacity: 0; } }

.bc-scrubber {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--bc-scrubber-h); z-index: 6;
  background: var(--bc-bg-2); border-top: 1px solid var(--bc-line-soft);
  display: flex; align-items: stretch; gap: 10px; padding: 10px 12px;
  transition: opacity .5s;
}
@supports (padding: env(safe-area-inset-bottom)) {
  .bc-scrubber { height: calc(var(--bc-scrubber-h) + env(safe-area-inset-bottom)); padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) { .bc-intro-active .bc-scrubber { opacity: 0; pointer-events: none; } }
.bc-scrubber__tracks { display: none; flex-direction: column; justify-content: center; gap: 4px; font-size: 10px; color: rgba(255, 255, 255, .4); letter-spacing: .1em; width: 34px; }
.bc-scrubber__blocks { flex: 1; position: relative; display: flex; gap: 4px; min-width: 0; }
.bc-scrubber__block {
  flex: 1 1 0; min-width: 0; cursor: pointer; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .05);
  display: flex; align-items: center; justify-content: center; font-size: 9px; letter-spacing: .05em; color: rgba(255, 255, 255, .55);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 6px; transition: border-color .2s, background .2s, color .2s, flex .3s;
}
.bc-scrubber__block:hover { border-color: var(--bc-accent); color: var(--bc-text); }
.bc-scrubber__num { flex: 0 0 auto; }
.bc-scrubber__name { display: none; margin-left: 6px; overflow: hidden; text-overflow: ellipsis; }
.bc-scrubber__block.is-active .bc-scrubber__name { display: inline; }
.bc-scrubber__block.is-active { border-color: var(--bc-accent); background: rgba(var(--bc-accent-rgb), .22); color: var(--bc-accent); flex-grow: 1.8; }
.bc-scrubber__progress { position: absolute; top: -6px; bottom: -6px; left: var(--bc-progress, 0%); width: 1px; background: var(--bc-accent); pointer-events: none; display: none; }
@media (min-width: 900px) {
  .bc-scrubber { padding: 12px 16px; gap: 12px; }
  .bc-scrubber__tracks { display: flex; }
  .bc-scrubber__block { font-size: 10px; letter-spacing: .1em; padding: 0 10px; }
  .bc-scrubber__block.is-active { flex-grow: 1; }
  .bc-scrubber__name { display: inline; }
  .bc-scrubber__progress { display: block; }
}
.bc-sub .bc-scrubber { display: none; }

/* 8. Slate (Mega-Menü) ---------------------------------------------------- */
.bc-slate {
  position: fixed; inset: 0; z-index: 30; background: var(--bc-bg-menu); display: flex; flex-direction: column;
  transform: translateY(-102%); visibility: hidden; transition: transform .45s var(--bc-ease), visibility .45s;
}
.bc-slate.is-open { transform: none; visibility: visible; }
.bc-menu-open { overflow: hidden; }
.bc-slate__stripe { height: 44px; background: var(--bc-stripes-lg); flex: 0 0 auto; }
.bc-slate__grid { flex: 1; display: grid; grid-template-columns: 1fr; min-height: 0; overflow-y: auto; }
.bc-slate__nav { display: flex; flex-direction: column; justify-content: center; padding: 20px var(--bc-gutter); gap: 6px; }
.bc-slate__list { list-style: none; margin: 0; padding: 0; }
.bc-slate__item { border-bottom: 0; }
.bc-slate__link { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; color: var(--bc-text); flex-wrap: wrap; transition: color .2s; }
.bc-slate__link:hover, .bc-slate__item.is-current > .bc-slate__link { color: var(--bc-accent); }
.bc-slate__num { flex: 0 0 44px; font-size: 11px; color: var(--bc-accent); letter-spacing: .14em; opacity: .6; }
.bc-slate__title { font-family: var(--bc-font-display); font-size: clamp(30px, 9vw, 40px); font-weight: 800; letter-spacing: .01em; line-height: .95; text-transform: uppercase; }
.bc-slate__meta { font-size: 11px; color: var(--bc-dim-3); letter-spacing: .14em; flex-basis: 100%; }
/* Mobil: Unterpunkte einspaltig, eingerückt wie der Titel (44px Nummer + 14px Gap). */
.bc-slate__sub { list-style: none; margin: 0; padding: 0 0 12px 58px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.bc-slate__subitem { min-width: 0; }
.bc-slate__subitem a {
  display: block; padding: 5px 0; color: var(--bc-dim); font-family: var(--bc-font-body); font-size: 15px; line-height: 1.45;
  text-transform: none; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bc-slate__subitem a::before { content: ''; display: inline-block; width: 10px; height: 1px; background: var(--bc-accent); vertical-align: middle; margin-right: 10px; }
.bc-slate__subitem a:hover, .bc-slate__subitem.is-current a { color: var(--bc-accent); }
.bc-slate__subitem a:focus-visible, .bc-slate__link:focus-visible { outline: 2px solid var(--bc-accent); outline-offset: 2px; }
.bc-slate__side { border-top: 1px solid var(--bc-line-soft); padding: 24px var(--bc-gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.bc-slate__info { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .15); margin: 0; }
.bc-slate__info > div { background: var(--bc-bg-menu); padding: 16px; }
.bc-slate__info dt { font-size: 10px; letter-spacing: .2em; color: rgba(255, 255, 255, .4); }
.bc-slate__info dd { font-size: 16px; margin: 6px 0 0; letter-spacing: .06em; }
.bc-slate__contact { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.bc-slate__contact .bc-legal { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; }
.bc-slate__copy { color: var(--bc-dim-3); font-size: 11px; letter-spacing: .14em; }
@media (min-width: 900px) {
  .bc-slate__stripe { height: 64px; }
  .bc-slate__grid { grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: minmax(0, 1fr); overflow: hidden; }
  /* Falls ein Menü doch höher als der Viewport wird: Nav scrollt (Scrollbar versteckt), oben nichts abgeschnitten. */
  .bc-slate__nav { min-height: 0; overflow-y: auto; justify-content: center; justify-content: safe center; padding: 4vh 5vw 4vh 6vw; scrollbar-width: none; }
  .bc-slate__nav::-webkit-scrollbar { display: none; }
  .bc-slate__link { gap: 20px; flex-wrap: nowrap; padding: 6px 0; align-items: baseline; }
  .bc-slate__num { flex: 0 0 44px; font-size: 11px; opacity: .6; }
  .bc-slate__title { font-size: clamp(34px, min(3.6vw, 6.2vh), 60px); }
  .bc-slate__meta { font-size: 12px; margin-left: auto; flex-basis: auto; white-space: nowrap; }
  .bc-slate__item + .bc-slate__item { border-top: 1px solid rgba(255, 255, 255, .07); }
  /* Punkte mit Untermenü: Titel links, Unterpunkte rechts daneben (2 Spalten, spaltenweise sortiert). */
  .bc-slate__item.has-sub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 3vw; align-items: start; padding: 6px 0; }
  .bc-slate__item.has-sub > .bc-slate__link { padding: 0; }
  .bc-slate__item.has-sub > .bc-slate__sub { display: block; columns: 2; column-gap: 28px; padding: 10px 0 0 24px; border-left: 1px solid var(--bc-line-soft); }
  .bc-slate__item.has-sub > .bc-slate__sub > li { break-inside: avoid; }
  .bc-slate__subitem a { padding: 3px 0; }
  .bc-slate__side { border-top: 0; border-left: 1px solid var(--bc-line-soft); padding: 5vh 4vw; min-height: 0; overflow-y: auto; scrollbar-width: none; justify-content: center; gap: 28px; }
}

/* 9. Filmklappe ----------------------------------------------------------- */
.bc-clap {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; visibility: hidden; transform: translateY(-103%);
  transition: transform .2s cubic-bezier(.65, 0, .3, 1), visibility .2s;
}
.bc-clap.is-enter, .bc-clap.is-clap, html.bc-clap-in .bc-clap { visibility: visible; transform: translateY(0); }
.bc-clap.is-exit { visibility: visible; transform: translateY(-103%); }
.bc-clap__jaw {
  position: absolute; top: 0; left: 0; right: 0; height: 16vh; background: var(--bc-stripes-xl); border-bottom: 6px solid var(--bc-bg);
  transform-origin: 28px 100%; transition: transform .13s cubic-bezier(.5, 0, 1, 1); box-shadow: 0 8px 40px rgba(0, 0, 0, .6);
}
.bc-clap.is-enter .bc-clap__jaw { transform: rotate(-26deg); }
.bc-clap__board { position: absolute; top: 16vh; left: 0; right: 0; bottom: -2vh; background: var(--bc-bg-menu); display: flex; flex-direction: column; }
.bc-clap__stripe { height: 9vh; background: var(--bc-stripes-xl); border-bottom: 2px solid rgba(255, 255, 255, .2); }
.bc-clap__center { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4vh; padding: 0 6vw; }
.bc-clap__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: rgba(255, 255, 255, .25); border: 2px solid rgba(255, 255, 255, .25); width: min(900px, 88vw); }
.bc-clap__cell { background: var(--bc-bg-menu); padding: 3vh 4vw; }
.bc-clap__cell--scene { grid-column: 1 / -1; }
.bc-clap__cell span { font-size: 11px; letter-spacing: .24em; color: rgba(255, 255, 255, .45); display: block; }
.bc-clap__cell strong { display: block; font-family: var(--bc-font-display); font-size: clamp(30px, 7vw, 68px); font-weight: 800; margin-top: 8px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.bc-clap__footer { font-size: 12px; letter-spacing: .4em; color: rgba(255, 255, 255, .5); margin: 0; text-align: center; }
@media (min-width: 900px) {
  .bc-clap__grid { grid-template-columns: 2fr 1fr 1fr; width: min(900px, 80vw); }
  .bc-clap__cell { padding: 3vh 2vw; }
  .bc-clap__cell--scene { grid-column: auto; }
  .bc-clap__cell strong { font-size: clamp(38px, 4.4vw, 68px); }
  .bc-clap__footer { font-size: 13px; }
}

/* 10. Sound & Korn -------------------------------------------------------- */
.bc-sound {
  position: fixed; right: 14px; bottom: calc(var(--bc-scrubber-h) + 14px); z-index: 55; display: flex; align-items: center;
  background: rgba(12, 12, 15, .85); backdrop-filter: blur(8px); border: 1px solid rgba(var(--bc-accent-rgb), .6); border-radius: 999px;
}
.bc-sound__vol { width: 0; overflow: hidden; transition: width .3s ease; display: flex; align-items: center; }
@media (max-width:899px){
/* Startseite mobil vertikal: Szenen-Leiste unten ausblenden, Ton-Button nur im Hero */
.bc-mobile-vertical .bc-scrubber{display:none}
.bc-mobile-vertical #bc-sound{position:absolute;top:calc(100svh - 150px);bottom:auto}
}
.bc-sound:hover .bc-sound__vol, .bc-sound.is-open .bc-sound__vol, .bc-sound:focus-within .bc-sound__vol { width: 110px; }
.bc-sound__vol input { width: 86px; margin: 0 4px 0 18px; accent-color: var(--bc-accent); cursor: pointer; }
.bc-sound__btn { cursor: pointer; width: 48px; height: 48px; border-radius: 50%; border: 0; background: none; color: var(--bc-accent); display: flex; align-items: center; justify-content: center; padding: 0; }
.bc-sound__btn:hover { color: var(--bc-accent-hover); }
.bc-sound__wave { opacity: 0; transition: opacity .2s; }
.bc-sound__mute { opacity: 1; transition: opacity .2s; }
.bc-sound.is-on .bc-sound__wave { opacity: 1; }
.bc-sound.is-on .bc-sound__mute { opacity: 0; }
@media (min-width: 900px) {
  .bc-sound { right: 26px; bottom: calc(var(--bc-scrubber-h) + 22px); }
  .bc-sound__btn { width: 54px; height: 54px; }
}
.bc-grain {
  position: fixed; inset: -60%; z-index: 60; pointer-events: none; opacity: var(--bc-grain);
  animation: bc-grain .4s steps(4) infinite;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC45IiBudW1PY3RhdmVzPSIyIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjMwMCIgaGVpZ2h0PSIzMDAiIGZpbHRlcj0idXJsKCNuKSIvPjwvc3ZnPg==");
}

/* 11. Unterseiten & Inhalte ----------------------------------------------- */
/* Ein zentrierter Wide-Container (var(--bc-wide)) für Kopf, Beitragsbild und Inhalt; Text und Seitenkopf
   stehen darin auf der Textbreite (var(--bc-measure)) mit gemeinsamer linker Kante. */
.bc-main--sub { padding-top: var(--bc-hud-h); overflow-x: clip; } /* clip: alignfull (100vw inkl. Scrollbar) ohne horizontalen Scrollbalken; kein Scroll-Container, sticky bleibt möglich */
.bc-page { padding: 40px var(--bc-gutter) 56px; max-width: calc(var(--bc-wide) + 2 * var(--bc-gutter)); margin: 0 auto; }
/* Kopf beginnt an der linken Textkante und reicht bis zur rechten Wide-Kante (Platz für lange H1 + Meta-Zeile). */
.bc-page__head { display: flex; flex-direction: column; gap: 16px; margin: 0 0 36px; padding-left: max(0px, calc((100% - var(--bc-measure)) / 2)); }
.bc-archive__head, .bc-project .bc-page__head { padding-left: 0; }
.bc-page__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.bc-page__title { font-size: clamp(28px, 8.6vw, 40px); line-height: .95; overflow-wrap: break-word; hyphens: manual; text-wrap: balance; }
/* Überschriften auf Unterseiten: keine Wort-Trennung, ausgeglichene Zeilen. */
.bc-page :is(h1, h2, h3, h4, .bc-display) { overflow-wrap: normal; word-break: normal; hyphens: manual; text-wrap: balance; }
/* Akzent-Punkt nur als Deko – nicht im H1-Text. */
.bc-page__title::after { content: "."; color: var(--bc-accent); }
.bc-page__scene { font-size: 12px; color: var(--bc-dim-2); letter-spacing: .2em; padding-bottom: 8px; margin: 0; }
.bc-page__intro { max-width: var(--bc-measure); color: var(--bc-dim); }
.bc-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 8px; font-size: 11px; letter-spacing: .14em; color: var(--bc-dim-2); }
/* Einzeilig: der letzte (lange) Eintrag wird mit Ellipsis gekürzt. */
.bc-breadcrumbs li { flex: none; white-space: nowrap; }
.bc-breadcrumbs li:last-child { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bc-breadcrumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.bc-breadcrumbs a { color: var(--bc-dim-2); }
.bc-breadcrumbs a:hover { color: var(--bc-accent); }
.bc-breadcrumbs [aria-current] { color: var(--bc-text); }
.bc-page__thumb { margin: 0 auto 32px; max-width: var(--bc-wide); aspect-ratio: 16 / 9; overflow: hidden; background: var(--bc-bg-4); }
.bc-page__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .bc-page { padding: 56px var(--bc-gutter) 80px; }
  .bc-page__head { margin-bottom: 48px; }
  .bc-page__title { font-size: clamp(38px, 4.4vw, 64px); }
  .bc-page__scene { padding-bottom: 10px; }
  .bc-page__thumb { margin-bottom: 48px; }
  /* Ein Raster für alle Inhalte der Unterseiten (Seitenkopf, Text, Bilder, Spalten, Blöcke): 920 px, mittig.
     Auch die Core-Layout-Variablen, damit „constrained“-Gruppen nicht auf 760 px zurückspringen.
     Die Startseite (.bc-front) nutzt .bc-page nicht und bleibt unverändert. */
  .bc-page {
    --bc-measure: 920px; --bc-wide: 920px;
    --wp--style--global--content-size: 920px; --wp--style--global--wide-size: 920px;
  }
  .bc-page .bc-content > p:not(.bc-label),
  .bc-page .bc-content > ul > li,
  .bc-page .bc-content > ol > li,
  .bc-page .wp-block-accordion-panel p { font-size: 18px; }
  .bc-page .bc-content .bc-block--kontakt { max-width: none; }
}

/* Seiten-Hero (Vollbild-Video statt Seitenkopf, Seiten-Option „Seiten-Hero“). Steht außerhalb von .bc-page,
   beginnt hinter dem HUD (main hat oben var(--bc-hud-h) Abstand) und ist genau so hoch wie der Viewport
   (eingeloggt minus Admin-Bar). Der Inhalt sitzt unten auf der linken Kante der 920-px-Inhaltsspalte. */
.bc-page__head--hero {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 0;
  margin: calc(-1 * var(--bc-hud-h)) 0 0; padding: 0; overflow: hidden; background: #000;
  height: calc(100vh - var(--bc-ab, 0px)); height: calc(100svh - var(--bc-ab, 0px)); min-height: 520px;
}
.bc-page-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bc-page-hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  /* Volle Deckkraft im unteren Drittel (Textbereich), nach oben auf 20 % auslaufend. */
  background: linear-gradient(0deg, rgba(10, 10, 12, var(--bc-hero-shade, .45)) 0%, rgba(10, 10, 12, var(--bc-hero-shade, .45)) 33%, rgba(10, 10, 12, calc(var(--bc-hero-shade, .45) * .2)) 100%);
}
.bc-page-hero__content {
  position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; min-height: 0;
  padding: calc(var(--bc-hud-h) + 20px) var(--bc-gutter) 72px; text-shadow: 0 1px 14px rgba(0, 0, 0, .45);
}
/* Zusätzliche, leichte Abdunklung direkt hinter dem Textblock: Kontrast WCAG AA auch bei sehr hellem Video. */
.bc-page-hero__content::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; top: -60px; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 10, 12, .4) 0, rgba(10, 10, 12, .4) calc(100% - 140px), rgba(10, 10, 12, 0) 100%);
}
.bc-page__head--hero .bc-page__title {
  font-size: clamp(40px, min(6vw, 9vh), 96px); line-height: .92; color: #fff;
  overflow-wrap: normal; word-break: normal; hyphens: manual; text-wrap: balance;
}
.bc-page__head--hero .bc-breadcrumbs ol, .bc-page__head--hero .bc-breadcrumbs a { color: rgba(255, 255, 255, .86); }
.bc-page__head--hero .bc-breadcrumbs [aria-current] { color: #fff; }
.bc-page-hero__subline { margin: 0; max-width: 60ch; font-size: 17px; line-height: 1.5; color: rgba(237, 237, 234, .9); }
.bc-page-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; text-shadow: none; }
.bc-page-hero__scroll {
  position: absolute; z-index: 1; right: var(--bc-gutter); bottom: 24px; font-size: 11px; letter-spacing: .28em;
  color: rgba(255, 255, 255, .86); text-shadow: 0 1px 10px rgba(0, 0, 0, .5); text-decoration: none;
}
.bc-page-hero__scroll:hover, .bc-page-hero__scroll:focus-visible { color: #fff; }
.bc-page-hero__scroll .bc-accent { display: inline-block; animation: bc-hint 1.6s ease-in-out infinite; }
html.bc-reduced .bc-page-hero__scroll .bc-accent { animation: none; }
/* Nach dem Hero: Abstand wie nach dem normalen Seitenkopf. */
.bc-page.bc-page--hero { padding-top: 36px; }
#bc-content { scroll-margin-top: calc(var(--bc-hud-h) + var(--bc-ab, 0px) + 24px); }
/* (steht nach den Hero-/Seiten-Hero-Regeln, damit z-index 2 gegen .bc-page-hero__content { z-index: 1 } gewinnt) */
/* iOS/In-App-Browser: Inhalt immer über dem Video */
.bc-block--hero,.bc-page__head--hero{isolation:isolate}
.bc-hero__video,.bc-page-hero__video{z-index:0}
.bc-hero__shade,.bc-page-hero__shade{z-index:1}
.bc-hero__content,.bc-page-hero__content{z-index:2;-webkit-transform:translateZ(0);transform:translateZ(0)}
@media (min-width: 900px) {
  .bc-page-hero__content { padding: calc(var(--bc-hud-h) + 24px) max(var(--bc-gutter), calc((100% - 920px) / 2)) 80px; gap: 18px; }
  .bc-page-hero__subline { font-size: 19px; }
  .bc-page-hero__scroll { bottom: 32px; }
  .bc-page.bc-page--hero { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { .bc-page-hero__scroll .bc-accent { animation: none; } }
@media print { .bc-page-hero__video, .bc-page-hero__shade, .bc-page-hero__scroll { display: none; } .bc-page__head--hero { height: auto; min-height: 0; margin: 0; background: none; } }

/* Inhalt (Gutenberg) */
.bc-content { font-size: 17px; line-height: 1.7; color: rgba(237, 237, 234, .85); }
.bc-content > * { max-width: var(--bc-measure); margin-inline: auto; }
.bc-content > .alignwide { max-width: var(--bc-wide); }
.bc-content > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); margin-right: 0; }
.bc-content > .aligncenter { margin-left: auto; margin-right: auto; }
.bc-content > .alignleft { float: left; margin: .3em 1.5em 1em max(0px, calc((100% - var(--bc-measure)) / 2)); max-width: min(50%, calc(var(--bc-measure) / 2)); }
.bc-content > .alignright { float: right; margin: .3em max(0px, calc((100% - var(--bc-measure)) / 2)) 1em 1.5em; max-width: min(50%, calc(var(--bc-measure) / 2)); }
.bc-content::after { content: ''; display: table; clear: both; }
.bc-content--full > * { max-width: none; }
.bc-content h1, .bc-content h2, .bc-content h3, .bc-content h4, .bc-content h5, .bc-content h6 {
  font-family: var(--bc-font-display); text-transform: uppercase; font-weight: 800; line-height: .95; letter-spacing: .01em;
  margin-block: 1.6em .5em; color: var(--bc-text);
}
.bc-content h1 { font-size: clamp(40px, 7vw, 96px); }
.bc-content h2 { font-size: clamp(34px, 4.5vw, 64px); }
.bc-content h3 { font-size: clamp(26px, 3vw, 40px); }
.bc-content h4 { font-size: 22px; }
.bc-content h5, .bc-content h6 { font-family: var(--bc-font-mono); font-size: 12px; letter-spacing: .3em; color: var(--bc-accent); font-weight: 500; }
/* Typo-Hierarchie Unterseiten – eine Skala für H2–H6, unabhängig von der Verschachtelung (Spalten, Gruppen, Cover,
   Media & Text). clamp() läuft von 390 px (Mobil) bis 1100 px (Desktop). Ausgenommen: Theme-Blöcke (.bc-block),
   Seitenkopf/Seiten-Hero und das FAQ-Akkordeon. H5/H6 sind normale Display-Überschriften (kein Mono, keine Akzentfarbe –
   Mono bleibt Labels, Brotkrumen und Bildunterschriften vorbehalten). */
.bc-page .bc-content :is(h2, h3, h4, h5, h6):not(.bc-block *, .bc-page__head *, .wp-block-accordion-heading, .bc-card__title, .bc-marker__name) { color: var(--bc-text); margin-block: 1.6em .5em; }
/* H2 bleibt Display/Versalien; H3–H6 in Archivo mit normaler Schreibweise, damit die Ebenen klar unterscheidbar sind. */
.bc-page .bc-content h2:not(.bc-block *, .bc-page__head *, .wp-block-accordion-heading, .bc-card__title, .bc-marker__name) { font-family: var(--bc-font-display); text-transform: uppercase; letter-spacing: .01em; font-size: clamp(28px, 2.25vw + 19.2px, 44px); line-height: 1.02; font-weight: 800; }
.bc-page .bc-content :is(h3, h4, h5, h6):not(.bc-block *, .bc-page__head *, .wp-block-accordion-heading, .bc-card__title, .bc-marker__name) { font-family: var(--bc-font-body); text-transform: none; letter-spacing: -.005em; font-weight: 600; line-height: 1.25; }
.bc-page .bc-content h3:not(.bc-block *, .bc-page__head *, .wp-block-accordion-heading, .bc-card__title, .bc-marker__name) { font-size: clamp(21px, .7vw + 18.3px, 26px); }
.bc-page .bc-content h4:not(.bc-block *, .bc-page__head *, .wp-block-accordion-heading, .bc-card__title, .bc-marker__name) { font-size: clamp(18px, .28vw + 16.9px, 20px); }
.bc-page .bc-content :is(h5, h6):not(.bc-block *, .bc-page__head *, .wp-block-accordion-heading, .bc-card__title, .bc-marker__name) { font-size: 17px; }
/* Erste Überschrift in Spalte, Gruppe, Cover oder Media & Text ohne Abstand nach oben. */
.bc-page .bc-content :is(.wp-block-column, .wp-block-group, .wp-block-cover__inner-container, .wp-block-media-text__content) > :is(h2, h3, h4, h5, h6):first-child { margin-top: 0; }
/* Fettungen sichtbar machen: body ist 300, „bolder“ ergäbe nur 400 (Archivo variabel 300–600). */
.bc-page .bc-content :is(strong, b) { font-weight: 600; }
/* Labels (SEQ/Mono) bleiben klein und sitzen direkt über der Überschrift. */
.bc-page .bc-content > :is(p.bc-label, .bc-block--label) { font-size: 12px; line-height: 1.5; }
.bc-page .bc-content :is(.bc-label, .bc-block--label):has(+ :is(h2, h3)) { margin-bottom: 0; }
.bc-page .bc-content :is(.bc-label, .bc-block--label) + :is(h2, h3) { margin-top: .35em; }
/* Lange URLs in Fließtext und Listen umbrechen (z. B. Datenschutz): Links überall, sonst nur Wörter,
   die nicht in die Zeile passen (break-word ändert normalen Text nicht). */
.bc-page .bc-content :is(p, li) { overflow-wrap: break-word; }
.bc-page .bc-content :is(p, li) a { overflow-wrap: anywhere; }
.bc-content > :first-child { margin-top: 0; }
.bc-content p { margin-block: 0 1.25em; }
.bc-content a:not([class]) { border-bottom: 1px solid var(--bc-accent); }
.bc-content ul, .bc-content ol { padding-left: 1.3em; margin-block: 0 1.25em; }
.bc-content li { margin-bottom: .4em; }
.bc-content li::marker { color: var(--bc-accent); }
.bc-content blockquote { border-left: 2px solid var(--bc-accent); padding-left: 20px; margin-block: 1.6em; font-size: 1.15em; color: var(--bc-text); }
.bc-content blockquote cite { display: block; font-family: var(--bc-font-mono); font-size: 11px; letter-spacing: .2em; color: var(--bc-dim-2); margin-top: 8px; font-style: normal; }
.bc-content hr { border: 0; border-top: 1px solid var(--bc-line); margin-block: 2em; }
.bc-content pre, .bc-content code { font-family: var(--bc-font-mono); }
.bc-content pre { background: var(--bc-bg-4); padding: 16px; overflow: auto; font-size: 13px; }
.bc-content code { font-size: .9em; background: var(--bc-bg-4); padding: 2px 5px; }
.bc-content table { width: 100%; border-collapse: collapse; margin-block: 0 1.5em; font-size: 15px; }
.bc-content th, .bc-content td { border-bottom: 1px solid var(--bc-line); padding: 10px 12px; text-align: left; }
.bc-content th { font-family: var(--bc-font-mono); font-size: 11px; letter-spacing: .2em; color: var(--bc-dim-2); }
.bc-content figure { margin-block: 0 1.5em; }
.bc-content > figure { margin-inline: auto; }
.bc-content figcaption { font-family: var(--bc-font-mono); font-size: 11px; color: var(--bc-dim-2); letter-spacing: .14em; margin-top: 8px; text-align: left; }
.bc-content img { width: 100%; height: auto; }
.bc-content .wp-block-image img { width: auto; max-width: 100%; }
.bc-content .wp-block-buttons { gap: 12px; }
.bc-content .wp-block-button__link {
  border-radius: 0; background: var(--bc-accent); color: var(--bc-bg); font-family: var(--bc-font-btn); font-weight: 700;
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase; padding: 16px 32px; border: 1px solid var(--bc-accent);
}
.bc-content .wp-block-button__link:hover { background: var(--bc-accent-hover); border-color: var(--bc-accent-hover); }
.bc-content .is-style-outline .wp-block-button__link { background: none; color: var(--bc-text); border-color: rgba(255, 255, 255, .25); }
.bc-content .is-style-outline .wp-block-button__link:hover { border-color: var(--bc-accent); color: var(--bc-accent); }
.bc-content .wp-block-separator { border-color: var(--bc-line); }
.bc-content .wp-block-columns { gap: 32px; }
/* Zitate in Spalten: ruhiger; vier Zitate nebeneinander → 2 × 2. */
.bc-page .wp-block-column > .wp-block-quote { padding-left: 18px; margin-left: 0; }
.bc-page .wp-block-column > .wp-block-quote p { font-size: 16px; line-height: 1.6; }
@media (min-width: 900px) {
  /* !important: Core setzt .wp-block-columns { flex-wrap: nowrap !important } und flex-basis teils inline. */
  .bc-page .wp-block-columns:has(> .wp-block-column:nth-child(4) > .wp-block-quote) { flex-wrap: wrap !important; row-gap: 28px; }
  .bc-page .wp-block-columns:has(> .wp-block-column:nth-child(4) > .wp-block-quote) > .wp-block-column { flex: 0 0 calc(50% - 1.25em) !important; }
}
/* Siegel-Reihe (wiederverwendbarer Block): auf der Textbreite, einheitliche Höhe. */
.bc-page .bc-content .bc-siegel { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; max-width: var(--bc-measure); margin-left: auto; margin-right: auto; padding: 0; }
.bc-page .bc-content .bc-siegel > * { margin: 0; flex: 0 0 auto; max-width: 100%; }
.bc-page .bc-content .bc-siegel figure { margin: 0; }
.bc-page .bc-content .bc-siegel img { height: 84px; width: auto; max-width: 100%; object-fit: contain; }
.bc-content .wp-block-cover, .bc-content .wp-block-embed { margin-bottom: 1.5em; }
.bc-content .wp-block-quote.is-style-large { font-family: var(--bc-font-display); text-transform: uppercase; font-size: clamp(28px, 4vw, 48px); line-height: 1; border: 0; padding: 0; }
.bc-content .has-bc-orange-color { color: var(--bc-accent); }

/* Unterseiten: Abstände zwischen Top-Level-Blöcken (Buttons, Embeds, breite Spalten am Seitenende). */
.bc-page .bc-content > .wp-block-buttons { margin-top: 28px; margin-bottom: 48px; }
.bc-page .bc-content > .bc-embed { margin-bottom: 48px; }
.bc-page .bc-content > .wp-block-columns.alignwide { margin-top: 72px; margin-bottom: 72px; }
.bc-page .bc-content > h4 + .wp-block-columns { margin-top: 20px; }

/* Unterseiten: Bildgrößen. Einzelbilder in natürlicher Größe (max. 100 % Breite, 720 px Höhe), zentriert;
   die Figur ist so breit wie das Bild, die Bildunterschrift steht linksbündig darunter. */
.bc-page .bc-content > figure.wp-block-image:not(.alignwide):not(.alignfull) { width: fit-content; max-width: min(100%, var(--bc-measure)); margin-left: auto; margin-right: auto; text-align: center; }
.bc-page .bc-content > figure.wp-block-image:not(.alignwide):not(.alignfull) img { width: auto; max-width: 100%; max-height: min(78vh, 720px); display: inline-block; vertical-align: top; }
.bc-page .bc-content > figure.wp-block-image:not(.alignwide):not(.alignfull) figcaption { width: 0; min-width: 100%; text-align: left; }
/* Querformat (Klasse per render_block aus den Attachment-Metadaten): füllt am Desktop die Inhaltsbreite. */
@media (min-width: 900px) {
  .bc-page .bc-content > figure.wp-block-image.is-landscape:not(.alignwide):not(.alignfull):not(.is-resized) { width: 100%; max-width: var(--bc-measure); }
  .bc-page .bc-content > figure.wp-block-image.is-landscape:not(.alignwide):not(.alignfull):not(.is-resized) img { display: block; width: 100%; height: auto; max-height: min(78vh, 720px); object-fit: cover; }
}
/* Breite Bilder: volle Breite, begrenzte Höhe (Zuschnitt) */
.bc-page .bc-content > figure.wp-block-image.alignwide img,
.bc-page .bc-content > figure.wp-block-image.alignfull img { width: 100%; max-height: min(78vh, 720px); object-fit: cover; }
/* Bilder in Spalten und Galerien */
.bc-page .bc-content .wp-block-column > figure.wp-block-image img { max-height: min(70vh, 640px); object-fit: cover; }
.bc-page .bc-content .wp-block-gallery img { max-height: 70vh; object-fit: cover; }
/* Block-Stil „Ungeschnitten (Masonry)“ für core/gallery: CSS-Spalten, jedes Bild in natürlicher Proportion.
   !important: Core setzt Breite, Höhe und object-fit der Galerie-Bilder mit höherer Spezifität (#individual-image-Hack)
   bzw. per Inline-Style; is-cropped wird so ebenfalls aufgehoben. */
.bc-page .wp-block-gallery.is-style-bc-masonry { display: block; columns: 1; column-gap: 12px; }
.bc-page .wp-block-gallery.is-style-bc-masonry > :is(figure.wp-block-image, .wp-block-image) { display: block; width: 100% !important; max-width: none !important; margin: 0 0 12px !important; break-inside: avoid; }
/* Kein aspect-ratio-Override: Der Browser leitet das Seitenverhältnis aus den width/height-Attributen ab. Zusätzlich
   contain-intrinsic-size überschreiben: Core gibt Lazy-Bildern sizes="auto" (Browser: contain: size !important) und
   contain-intrinsic-size: 3000px 1500px – ungeladene Bilder wären sonst 1.500 px hoch (Chrome nutzt dann die Höhe
   direkt, auch mit korrektem aspect-ratio). „auto 300px 150px“ merkt sich nach dem Laden die echte Größe. */
.bc-page .wp-block-gallery.is-style-bc-masonry img { display: block; width: 100% !important; height: auto !important; max-height: none !important; object-fit: contain !important; contain-intrinsic-size: auto 300px 150px !important; }
.bc-page .wp-block-gallery.is-style-bc-masonry figcaption { position: static; background: none; padding: 6px 0 0; }
@media (min-width: 600px) { .bc-page .wp-block-gallery.is-style-bc-masonry { columns: 2; } }
@media (min-width: 900px) { .bc-page .wp-block-gallery.is-style-bc-masonry { columns: 3; } }
/* In voller Breite (alignfull): Mosaik mit 3 px Fugen, 4 Spalten am Desktop, dazu ein Hover. */
.bc-page .wp-block-gallery.is-style-bc-masonry.alignfull { column-gap: 3px; }
.bc-page .wp-block-gallery.is-style-bc-masonry.alignfull > :is(figure.wp-block-image, .wp-block-image) { margin: 0 0 3px !important; overflow: hidden; }
@media (min-width: 900px) { .bc-page .wp-block-gallery.is-style-bc-masonry.alignfull { columns: 4; } }
.bc-page .wp-block-gallery.is-style-bc-masonry img { transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.bc-page .wp-block-gallery.is-style-bc-masonry figure:hover img { transform: scale(1.04); filter: brightness(1.06); }
html.bc-reduced .bc-page .wp-block-gallery.is-style-bc-masonry img { transition: none; }
@media (prefers-reduced-motion: reduce) { .bc-page .wp-block-gallery.is-style-bc-masonry img { transition: none; } }
/* Bildausschnitt für zugeschnittene Bilder (Zusatzklasse an figure.wp-block-image). */
.bc-page .bc-content figure.wp-block-image.bc-focus-top img { object-position: 50% 0%; }
.bc-page .bc-content figure.wp-block-image.bc-focus-upper img { object-position: 50% 25%; }
.bc-page .bc-content figure.wp-block-image.bc-focus-lower img { object-position: 50% 75%; }
.bc-page .bc-content figure.wp-block-image.bc-focus-bottom img { object-position: 50% 100%; }
.bc-page .bc-content figure.wp-block-image.bc-focus-left img { object-position: 0% 50%; }
.bc-page .bc-content figure.wp-block-image.bc-focus-right img { object-position: 100% 50%; }
/* Lightbox-Bilder sind bedienbar. */
.bc-page [data-bc-lb] { cursor: zoom-in; }
.bc-page [data-bc-lb]:focus-visible { outline: 2px solid var(--bc-accent); outline-offset: 3px; }
/* (Team/Teaser stehen nach den allgemeinen Spalten-Bildregeln, die gleich spezifisch sind.) */
/* Block-Stil „Team (Porträts)“ für core/columns (is-style-bc-team; Zusatzklasse bc-team weiter unterstützt). */
/* !important: Core setzt .wp-block-columns { align-items: normal !important }. */
.bc-page :is(.bc-team, .is-style-bc-team) { align-items: stretch !important; }
/* Beschriftung in oranger Box unter dem Foto (wie auf der alten Seite). */
.bc-page :is(.bc-team, .is-style-bc-team) .wp-block-column { background: var(--bc-accent); padding-bottom: 16px; }
.bc-page :is(.bc-team, .is-style-bc-team) .wp-block-column > figure.wp-block-image { margin: 0 0 14px; width: 100%; max-width: 100%; background: #fff; }
/* width !important: gegen die Inline-Breite skalierter Bilder (is-resized). */
.bc-page :is(.bc-team, .is-style-bc-team) .wp-block-column > figure.wp-block-image img { width: 100% !important; aspect-ratio: 4 / 5; height: auto; max-height: none; object-fit: cover; object-position: 50% 12%; background: #fff; }
.bc-page :is(.bc-team, .is-style-bc-team) .wp-block-column > p { margin: 0 0 6px; padding: 0 18px; color: #fff; }
.bc-page :is(.bc-team, .is-style-bc-team) .wp-block-column > p:first-of-type { font-size: 17px; font-weight: 600; }
.bc-page :is(.bc-team, .is-style-bc-team) .wp-block-column > p:not(:first-of-type) { font-size: 14px; line-height: 1.45; }
/* Block-Stil „Teaser (Bild + Titel)“ für core/columns (is-style-bc-teaser; Zusatzklasse bc-teaser weiter unterstützt). */
.bc-page :is(.bc-teaser, .is-style-bc-teaser) .wp-block-column > figure.wp-block-image { margin: 0; width: 100%; max-width: 100%; }
.bc-page :is(.bc-teaser, .is-style-bc-teaser) .wp-block-column > figure.wp-block-image img { aspect-ratio: 3 / 2; width: 100% !important; height: auto; max-height: none; object-fit: cover; }
/* font-size !important: gegen die Schriftgrößen-Presets des Editors (.has-*-font-size mit !important). */
.bc-page :is(.bc-teaser, .is-style-bc-teaser) .wp-block-column > :is(h3, p) { text-align: left; font-size: 20px !important; margin: 14px 0 0; }

/* FAQ-Akkordeon (core/accordion): ruhige Liste mit Linien, „+“ dreht sich beim Öffnen zu „×“. */
.bc-content > .wp-block-accordion { margin-top: 16px; margin-bottom: 72px; border-top: 1px solid var(--bc-line); }
.wp-block-accordion-item { border-bottom: 1px solid var(--bc-line); }
.wp-block-accordion-heading, .bc-content .wp-block-accordion-heading { margin: 0; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.3; }
.wp-block-accordion-heading__toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0;
  background: none; border: 0; color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; text-align: left; cursor: pointer;
}
.wp-block-accordion-heading__toggle:hover,
.wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle,
.wp-block-accordion-heading__toggle[aria-expanded="true"] { color: var(--bc-accent); }
.wp-block-accordion-heading__toggle:focus-visible { outline: 2px solid var(--bc-accent); outline-offset: 4px; color: var(--bc-accent); }
.wp-block-accordion-heading__toggle-icon { flex: 0 0 auto; color: var(--bc-accent); font-family: var(--bc-font-mono); font-size: 22px; line-height: 1; transition: transform .25s var(--bc-ease); }
.wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon,
.wp-block-accordion-heading__toggle[aria-expanded="true"] .wp-block-accordion-heading__toggle-icon { transform: rotate(45deg); }
.wp-block-accordion-panel { padding: 0 0 22px; color: var(--bc-dim); }
.wp-block-accordion-panel > :last-child { margin-bottom: 0; }
html.bc-reduced .wp-block-accordion-heading__toggle-icon { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .wp-block-accordion-heading__toggle-icon { transition: none; }
  .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon,
  .wp-block-accordion-heading__toggle[aria-expanded="true"] .wp-block-accordion-heading__toggle-icon { transform: none; }
}
.bc-content .has-bc-orange-background-color { background: var(--bc-accent); color: var(--bc-bg); }
.bc-content .has-bc-schwarz-background-color { background: var(--bc-bg); }
.bc-content .has-bc-anthrazit-background-color { background: var(--bc-bg-5); }
.bc-content .has-bc-weiss-color { color: var(--bc-text); }
.bc-content .has-bc-grau-color { color: var(--bc-dim); }
.bc-page-links { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.bc-page-links a { border: 1px solid var(--bc-line); padding: 6px 10px; }

/* Blog / Beitragskarten */
.bc-posts { display: grid; grid-template-columns: 1fr; gap: 32px; }
.bc-post-card__link { display: flex; flex-direction: column; gap: 14px; color: var(--bc-text); }
.bc-post-card__media { aspect-ratio: 3 / 2; background: var(--bc-bg-4); overflow: hidden; }
.bc-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bc-post-card__date { font-size: 11px; color: var(--bc-dim-2); }
.bc-post-card__title { font-family: var(--bc-font-display); font-size: 30px; text-transform: uppercase; margin: 0; line-height: 1; font-weight: 700; transition: color .2s; }
.bc-post-card__link:hover .bc-post-card__title { color: var(--bc-accent); }
.bc-post-card__excerpt { color: var(--bc-dim); font-size: 15px; margin: 0; }
.bc-post__footer { max-width: var(--bc-measure); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--bc-line); display: flex; flex-direction: column; gap: 16px; font-size: 12px; }
.bc-post__nav, .bc-project__nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }
.bc-project__nav { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--bc-line); }
.bc-leistung .bc-project__nav { max-width: var(--bc-measure); margin-inline: auto; }
.bc-post__nav a, .bc-project__nav a { color: var(--bc-dim); }
.bc-post__nav a:hover, .bc-project__nav a:hover { color: var(--bc-accent); }
.bc-pagination { margin-top: 48px; }
.bc-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.bc-pagination .page-numbers { border: 1px solid rgba(255, 255, 255, .15); padding: 10px 14px; color: var(--bc-dim); font-size: 12px; }
.bc-pagination .page-numbers.current, .bc-pagination .page-numbers:hover { border-color: var(--bc-accent); color: var(--bc-accent); }
.bc-pagination .screen-reader-text { display: none; }
.bc-empty { color: var(--bc-dim); }
@media (min-width: 700px) { .bc-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bc-posts { grid-template-columns: repeat(3, 1fr); } }

/* 404 & Suche */
.bc-404 { display: flex; flex-direction: column; gap: 24px; }
.bc-404__title { font-size: clamp(120px, 28vw, 320px); line-height: .85; }
.bc-404__text { max-width: 46ch; font-size: 17px; color: var(--bc-dim); margin: 0; }
.bc-404__row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.bc-search { display: flex; gap: 8px; max-width: 520px; }
.bc-search__input { flex: 1; min-width: 0; background: var(--bc-bg); border: 1px solid rgba(255, 255, 255, .18); color: var(--bc-text); padding: 12px; font-family: var(--bc-font-body); font-size: 16px; border-radius: 0; }
.bc-search__input:focus { outline: none; border-color: var(--bc-accent); }

/* Footer (Unterseiten) */
.bc-footer { border-top: 1px solid var(--bc-line-soft); padding: 40px var(--bc-gutter) 48px; margin-top: 24px; }
.bc-footer__inner { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: var(--bc-wide); margin: 0 auto; }
.bc-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.bc-footer__brand p { margin: 0; font-size: 11px; }
.bc-footer__contact, .bc-footer__legal { display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
/* Rechtliches als Liste untereinander, Zeilenabstand wie die Kontaktspalte. */
.bc-footer__legal .bc-legal { flex-direction: column; gap: 10px; }
/* Fußzeile über die volle Breite: links Copyright, rechts „Nach oben“. */
.bc-footer__bottom { display: flex; flex-direction: column; gap: 8px; max-width: var(--bc-wide); margin: 32px auto 0; padding-top: 16px; border-top: 1px solid var(--bc-line-soft); font-size: 11px; letter-spacing: .14em; }
.bc-footer__top { color: var(--bc-dim-2); }
.bc-footer__top:hover { color: var(--bc-accent); }
/* Social-Icons (Footer, Slate) */
.bc-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bc-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-left: -8px; color: rgba(255, 255, 255, .55); transition: color .2s; }
.bc-social li + li a { margin-left: 0; }
.bc-social a:hover { color: var(--bc-accent); }
.bc-social a:focus-visible { outline: 2px solid var(--bc-accent); outline-offset: 2px; color: var(--bc-accent); }
.bc-social svg { display: block; }
@media (min-width: 900px) {
  .bc-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; }
  .bc-footer__legal { align-items: flex-end; text-align: right; }
  .bc-footer__legal .bc-legal { align-items: flex-end; }
  .bc-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Kommentare */
.bc-comments { margin: 56px auto 0; padding-top: 32px; border-top: 1px solid var(--bc-line); max-width: var(--bc-measure); }
.bc-comments__title { font-size: 12px; color: var(--bc-accent); letter-spacing: .3em; margin: 0 0 24px; }
.bc-comments__list { list-style: none; margin: 0; padding: 0; }
.bc-comments__list .comment { padding: 16px 0; border-bottom: 1px solid var(--bc-line); }
.bc-comments__list .children { list-style: none; padding-left: 24px; }
.bc-comments .comment-form label { display: block; font-family: var(--bc-font-mono); font-size: 10px; letter-spacing: .16em; color: var(--bc-dim-2); margin-bottom: 6px; }
.bc-comments .comment-form input:not([type="checkbox"]):not([type="submit"]), .bc-comments .comment-form textarea {
  width: 100%; background: var(--bc-bg); border: 1px solid rgba(255, 255, 255, .18); color: var(--bc-text); padding: 12px; font: inherit; border-radius: 0;
}
.bc-comments .comment-form p { margin: 0 0 16px; }

/* Kontaktseite */
.bc-kontakt__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; margin-top: 24px; }
.bc-kontakt__intro { display: flex; flex-direction: column; gap: 24px; }
.bc-kontakt__title { font-size: clamp(44px, 4.6vw, 72px); line-height: .95; }
.bc-kontakt__text { margin: 0; max-width: 46ch; font-size: 17px; line-height: 1.65; color: rgba(237, 237, 234, .7); }
/* Porträt auf der Kontaktseite linksbündig wie Text und Kontaktzeilen. */
/* (Selektor bewusst spezifischer als die allgemeinen Bildregeln der Unterseiten.) */
.bc-main .bc-page.bc-kontakt .bc-content > figure.wp-block-image:not(.alignwide):not(.alignfull):not(.is-resized) { width: fit-content; max-width: min(100%, 280px); margin-left: 0; margin-right: auto; text-align: left; }
.bc-main .bc-page.bc-kontakt .bc-content > figure.wp-block-image:not(.alignwide):not(.alignfull):not(.is-resized) img { display: block; width: auto; max-width: 100%; height: auto; max-height: none; }
/* Alle Bilder im Kontakt-Inhalt linksbündig wie der Text (auch breite und skalierte). */
.bc-page.bc-kontakt .bc-content.bc-kontakt__content > figure.wp-block-image { margin-left: 0; margin-right: auto; text-align: left; }
.bc-kontakt__lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 14px; letter-spacing: .08em; }
@media (min-width: 900px) {
  .bc-kontakt__grid { grid-template-columns: 1.1fr 1fr; gap: 60px; }
  .bc-kontakt__intro { gap: 28px; }
}

/* 12. Formular ------------------------------------------------------------ */
.bc-form { border: 1px solid rgba(255, 255, 255, .15); background: var(--bc-bg-3); position: relative; }
.bc-form__stripe { height: 44px; background: var(--bc-stripes); }
.bc-form__body { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.bc-form form { display: flex; flex-direction: column; gap: 18px; }
.bc-form__grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.bc-form__field { display: flex; flex-direction: column; gap: 6px; }
.bc-form__label { font-size: 10px; letter-spacing: .16em; color: rgba(255, 255, 255, .5); }
.bc-form input[type="text"], .bc-form input[type="email"], .bc-form input[type="tel"], .bc-form textarea, .bc-form select {
  width: 100%; background: var(--bc-bg); border: 1px solid rgba(255, 255, 255, .18); color: var(--bc-text); padding: 12px;
  font-family: var(--bc-font-body); font-size: 16px; outline: none; border-radius: 0; transition: border-color .2s;
}
.bc-form input:focus, .bc-form textarea:focus { border-color: var(--bc-accent); }
.bc-form textarea { resize: vertical; min-height: 120px; }
.bc-form .has-error input, .bc-form .has-error textarea { border-color: var(--bc-rec); }
.bc-form__error { font-size: 12px; color: var(--bc-rec); font-family: var(--bc-font-body); }
.bc-form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--bc-dim); line-height: 1.5; flex-wrap: wrap; }
.bc-form__check input { accent-color: var(--bc-accent); margin: 4px 0 0; flex: 0 0 auto; width: 16px; height: 16px; }
.bc-form__check > span { flex: 1; min-width: 200px; }
.bc-form__check .bc-form__error { flex-basis: 100%; }
.bc-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; margin: 0; }
.bc-form__msg { padding: 14px 16px; font-size: 14px; border: 1px solid var(--bc-line); }
.bc-form__msg--ok { border-color: var(--bc-accent); }
.bc-form__msg--err { border-color: var(--bc-rec); }
.bc-form__submit { width: 100%; padding: 16px; letter-spacing: .12em; }
@media (min-width: 600px) { .bc-form__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .bc-form__body { padding: 28px; } }

/* 13. Archive / Projekte -------------------------------------------------- */
.bc-featured { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; align-items: end; }
.bc-featured__media { position: relative; background: var(--bc-bg-4); border: 1px solid rgba(255, 255, 255, .15); overflow: hidden; }
.bc-featured__media img { width: 100%; height: auto; }
.bc-featured__body { display: flex; flex-direction: column; gap: 12px; padding-bottom: 6px; }
.bc-featured__title { font-size: clamp(30px, 6vw, 52px); line-height: .95; }
.bc-featured__title a { color: var(--bc-text); }
.bc-featured__title a:hover { color: var(--bc-accent); }
.bc-featured__text { font-size: 15px; color: rgba(237, 237, 234, .65); line-height: 1.6; margin: 0; }
.bc-embed { position: relative; aspect-ratio: 16 / 9; background: var(--bc-bg-4); overflow: hidden; cursor: pointer; }
.bc-embed__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bc-embed__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .15) 40%, rgba(0, 0, 0, .55) 100%); pointer-events: none; }
.bc-embed__play { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; padding: 0; }
.bc-embed__play:hover .bc-play { transform: scale(1.06); }
.bc-embed__hint { position: absolute; left: 16px; bottom: 14px; font-size: 11px; letter-spacing: .18em; color: rgba(255, 255, 255, .75); pointer-events: none; }
.bc-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bc-embed__native { width: 100%; height: 100%; display: block; }
.bc-embed--static { cursor: default; }
.bc-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.bc-card--grid { margin-top: 0; }
.bc-project__video { margin-bottom: 32px; }
.bc-project__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.bc-project__facts dl { margin: 0; display: grid; gap: 1px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .15); }
.bc-project__facts dl > div { background: var(--bc-bg-menu); padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.bc-project__facts dt { font-size: 10px; letter-spacing: .2em; color: rgba(255, 255, 255, .4); }
.bc-project__facts dd { margin: 0; font-size: 13px; text-align: right; }
.bc-project__facts .bc-btn { margin-top: 24px; width: 100%; }
.bc-index--page .bc-index__name { font-size: clamp(28px, 7vw, 64px); }
@media (min-width: 700px) { .bc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .bc-featured { grid-template-columns: 1.6fr 1fr; gap: 2.5vw; margin-bottom: 64px; }
  .bc-featured__title { font-size: clamp(30px, 3vw, 52px); }
  .bc-project__video { margin-bottom: 48px; }
  .bc-project__grid { grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: start; }
  .bc-index--page .bc-index__name { font-size: clamp(28px, 4vw, 64px); }
}
@media (min-width: 1100px) {
  .bc-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5vw 2vw; }
  .bc-card--grid { margin-top: var(--card-gmt, 0); }
  .bc-card--grid .bc-card__media { aspect-ratio: auto; height: 300px; }
}

/* 14. Blöcke (Frontend, außerhalb der Timeline) -------------------------- */
.bc-block { position: relative; }
.bc-content .bc-block h1, .bc-content .bc-block h2, .bc-content .bc-block h3, .bc-content .bc-block h4,
.bc-content .bc-block p, .bc-content .bc-block ul, .bc-content .bc-block ol, .bc-content .bc-block figure { margin: 0; }
.bc-content .bc-block ul, .bc-content .bc-block ol { padding-left: 0; }
.bc-content .bc-block li { margin: 0; }
.bc-content .bc-block .bc-marker__desc, .bc-content .bc-block .bc-crew__bio, .bc-content .bc-block .bc-hero__text { margin: 0; }
.bc-content .bc-block img { width: 100%; }
.bc-content > .bc-block, .bc-content > .wp-block-bildcraft-hero, .bc-content > .wp-block-bildcraft-cta, .bc-content > .wp-block-bildcraft-leistungen,
.bc-content > .wp-block-bildcraft-projekte, .bc-content > .wp-block-bildcraft-prozess, .bc-content > .wp-block-bildcraft-crew,
.bc-content > .wp-block-bildcraft-kontakt-formular, .bc-content > .wp-block-bildcraft-slate { max-width: var(--bc-wide); }
/* Label & Headline stehen wie Text auf der Textbreite; volle Breite bleibt volle Breite. */
.bc-content > .bc-block--label:not(.alignwide):not(.alignfull), .bc-content > .bc-block--headline:not(.alignwide):not(.alignfull) { max-width: var(--bc-measure); }
.bc-content > .bc-block.alignfull { max-width: none; }
.bc-block--hero { position: relative; min-height: 70vh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 8vh var(--bc-gutter) 7vh; margin-block: 0 2em; }
.bc-block--hero.is-screen { min-height: calc(100vh - var(--bc-hud-h)); min-height: calc(100dvh - var(--bc-hud-h)); }
.bc-block--hero .bc-hero__content { position: relative; inset: auto; padding: 0; }
.bc-block--hero .bc-hero__video, .bc-block--hero .bc-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bc-block--hero .bc-hero__image { opacity: var(--block-opacity, .55); }
.bc-block--hero .bc-hero__video { opacity: var(--block-opacity, .55); }
.bc-block--hero .bc-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.bc-block--leistungen, .bc-block--prozess, .bc-block--crew, .bc-block--projekte, .bc-block--cta, .bc-block--slate { display: flex; flex-direction: column; gap: 24px; margin-block: 3em; }
.bc-block--prozess .bc-prozess__title { max-width: 16ch; }
.bc-block--crew .bc-crew__title { color: transparent; -webkit-text-stroke: 1.5px rgba(237, 237, 234, .8); font-size: clamp(40px, 8vw, 96px); }
.bc-block--crew .bc-crew__body { display: flex; flex-direction: column; gap: 24px; }
.bc-block--cta .bc-final__title { font-size: clamp(56px, 14vw, 200px); }
.bc-block--cta .bc-final__row { flex-direction: column; align-items: flex-start; gap: 20px; }
.bc-block--projekte .bc-grid { margin-top: 8px; }
.bc-block--projekte .bc-selects__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.bc-block--kontakt { margin-block: 2em; max-width: 720px; }
.bc-content > .bc-block--kontakt, .bc-content > .wp-block-bildcraft-kontakt-formular { max-width: var(--bc-measure); }
.bc-block--slate .bc-slate__info { grid-template-columns: repeat(2, 1fr); }
.bc-block--label { margin-block: 0 1em; }
.bc-block--headline { margin-block: 0 .5em; }
.bc-block--headline.is-size-xl { font-size: clamp(60px, 12vw, 200px); }
.bc-block--headline.is-size-l { font-size: clamp(44px, 8vw, 120px); }
.bc-block--headline.is-size-m { font-size: clamp(34px, 5vw, 72px); }
.bc-block--headline.is-size-s { font-size: clamp(26px, 3vw, 44px); }
.bc-block--headline.is-outline { color: transparent; -webkit-text-stroke: 1.5px rgba(237, 237, 234, .8); }
.bc-block--headline.is-outline .bc-accent { -webkit-text-stroke-color: var(--bc-accent); }
@media (min-width: 900px) {
  .bc-block--crew .bc-crew__body { flex-direction: row; gap: 3.5vw; align-items: center; }
  .bc-block--crew .bc-crew__photo { flex: 1.7; }
  .bc-block--crew .bc-crew__person { flex: 1; }
  .bc-block--cta .bc-final__row { flex-direction: row; align-items: center; gap: 4vw; }
  .bc-block--projekte .bc-selects__grid { grid-template-columns: repeat(3, 1fr); gap: 2.5vw 2vw; }
  .bc-block--slate .bc-slate__info { grid-template-columns: repeat(4, 1fr); }
  .bc-block--hero { padding: 8vh 4vw 6vh; }
}
/* Blöcke innerhalb der Timeline (Startseite aus Blöcken): volle Höhe, Inhalte zentriert. */
.bc-clip--block .bc-block { margin: 0; }
.bc-clip--block .bc-block--hero { position: absolute; inset: 0; min-height: 0; margin: 0; }
.bc-clip--block .bc-block--kontakt { max-width: 720px; }

/* Startseite mobil (horizontale Timeline) */
@media (max-width: 899px) {
  /* Hero: Inhalt wächst mit, statt oben unter dem HUD abgeschnitten zu werden; der Clip scrollt vertikal. */
  .bc-front .bc-clip--bildcraft-hero { padding: 0; }
  .bc-front .bc-clip--bildcraft-hero > .bc-clip__inner { min-height: 100%; display: flex; flex-direction: column; }
  .bc-front .bc-clip--bildcraft-hero .bc-block--hero.is-screen { position: relative; inset: auto; flex: 1 0 auto; height: auto; min-height: 100%; overflow: visible; justify-content: flex-end; justify-content: safe flex-end; }
  .bc-front .bc-clip--bildcraft-hero .bc-hero__title { font-size: clamp(32px, 9.5vw, 44px); line-height: .92; }
  .bc-front .bc-clip--bildcraft-hero .bc-hero__text { font-size: 14px; line-height: 1.55; }
  /* Kundenstimmen: Hochkant-Videos im 2 × 2-Raster statt untereinander */
  .bc-front .bc-clip--stimmen .wp-block-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .bc-front .bc-clip--stimmen .wp-block-column { min-width: 0; margin: 0; }
  .bc-front .bc-clip--stimmen .wp-block-video { margin: 0; }
  .bc-front .bc-clip--stimmen .wp-block-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
}

/* 15. Utilities & Motion -------------------------------------------------- */
@keyframes bc-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .15; } }
@keyframes bc-grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-2%, 1%); } 50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, -1%); } 100% { transform: translate(2%, 2%); }
}
html.bc-reduced .bc-grain, html.bc-reduced .bc-rec { animation: none; }
html.bc-reduced .bc-clap { display: none; }
@media (prefers-reduced-motion: reduce) {
  .bc-grain, .bc-rec { animation: none; }
  .bc-slate, .bc-intro, .bc-card__media img { transition: none; }
}
@media print {
  .bc-hud, .bc-scrubber, .bc-grain, .bc-sound, .bc-slate, .bc-clap, .bc-intro, .bc-ruler, .bc-playhead { display: none !important; }
  .bc-front, .bc-front .bc-stage { position: static; overflow: visible; height: auto; }
  .bc-timeline { position: static; display: block; }
  .bc-clip { width: 100%; border: 0; overflow: visible; }
  body { background: #fff; color: #000; }
}

/* 16. Lightbox (Galerien, Einzelbilder) ----------------------------------- */
.bc-lb { position: fixed; inset: 0; z-index: 70; background: rgba(6, 6, 7, .97); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.bc-lb[hidden] { display: none; }
.bc-lb.is-open { opacity: 1; }
body.admin-bar .bc-lb { top: var(--bc-ab, 0px); }
body.bc-lb-open { overflow: hidden; }
.bc-lb__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 94vw; max-height: 92vh; }
.bc-lb__img { display: block; max-width: 94vw; max-height: calc(92vh - 36px); width: auto; height: auto; object-fit: contain; background: none; box-shadow: 0 24px 80px rgba(0, 0, 0, .65); }
.bc-lb.is-open .bc-lb__img { animation: bcLbIn .28s ease-out; }
@keyframes bcLbIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.bc-lb__caption { font-size: 11px; letter-spacing: .14em; color: var(--bc-dim); text-align: center; max-width: 80ch; margin: 0; }
.bc-lb__caption:empty { display: none; }
.bc-lb__count { position: absolute; left: 16px; bottom: 14px; font-size: 11px; letter-spacing: .2em; color: var(--bc-dim-2); }
/* Schlanke Pfeile ohne Rahmen; Tastaturfokus sichtbar (outline). */
.bc-lb__btn {
  position: absolute; cursor: pointer; background: none; border: 0; color: rgba(255, 255, 255, .8);
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; font-size: 44px; font-weight: 200; line-height: 1; transition: color .2s;
}
.bc-lb__btn:hover, .bc-lb__btn:focus-visible { color: var(--bc-accent); }
.bc-lb__btn:focus-visible { outline: 2px solid var(--bc-accent); outline-offset: 2px; }
.bc-lb__close { top: 16px; right: 16px; font-size: 38px; }
.bc-lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.bc-lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.bc-lb[data-single] .bc-lb__prev, .bc-lb[data-single] .bc-lb__next, .bc-lb[data-single] .bc-lb__count { display: none; }
@media (min-width: 900px) { .bc-lb__close { top: 24px; right: 24px; } .bc-lb__prev { left: 24px; } .bc-lb__next { right: 24px; } .bc-lb__count { left: 24px; bottom: 20px; } }
html.bc-reduced .bc-lb { transition: none; }
html.bc-reduced .bc-lb.is-open .bc-lb__img { animation: none; }
@media (prefers-reduced-motion: reduce) { .bc-lb { transition: none; } .bc-lb.is-open .bc-lb__img { animation: none; } }

/* 17. Block „Bewertungen (ProvenExpert)“ ---------------------------------- */
.bc-block--provenexpert { display: flex; justify-content: center; margin-block: 3em; }
.bc-block--provenexpert .bc-pe__box { width: 100%; max-width: var(--bc-wide); min-height: 320px; }
.bc-block--provenexpert .bc-pe__fallback { font-size: 12px; letter-spacing: .14em; }
@media (min-width: 900px) { .bc-block--provenexpert .bc-pe__box { min-height: 240px; } }

/* 18. Block „Seitenabschluss (Kontakt)“ ----------------------------------- */
.bc-block--abschluss { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-block: 3em; grid-template-areas: "head" "contact" "form" "photo" "seal" "text"; }
.bc-abschluss__head { grid-area: head; margin: 0; }
.bc-abschluss__contact { grid-area: contact; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; letter-spacing: .08em; }
.bc-abschluss__contact a { color: var(--bc-text); }
.bc-abschluss__contact a:hover { color: var(--bc-accent); }
.bc-abschluss__form { grid-area: form; min-width: 0; }
/* Foto wie im alten Abschluss: max. 180 px (mobil) / 200 px (Desktop), linksbündig, kein Zuschnitt, kein Hintergrund. */
.bc-abschluss__photo { grid-area: photo; margin: 0; max-width: 180px; }
.bc-content .bc-block--abschluss .bc-abschluss__photo img, .bc-abschluss__photo img { display: block; width: 100%; height: auto; max-height: none; object-fit: unset; background: none; }
/* Siegel in natürlicher Proportion (spezifischer als .bc-content .bc-block img { width: 100% }). */
.bc-content .bc-block--abschluss .bc-abschluss__seal img, .bc-abschluss__seal img { display: block; height: 84px; width: auto; max-width: 100%; }
.bc-abschluss__seal { grid-area: seal; margin: 0; }
.bc-abschluss__text { grid-area: text; color: var(--bc-dim); }
/* Absätze mit Abstand – spezifischer als .bc-content .bc-block p { margin: 0 }. */
.bc-content .bc-block--abschluss .bc-abschluss__text p, .bc-abschluss__text p { margin: 0 0 1em; }
.bc-content .bc-block--abschluss .bc-abschluss__text p:last-child, .bc-abschluss__text p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .bc-block--abschluss { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 5vw; row-gap: 28px; align-items: start; grid-template-areas: "head form" "contact form" "photo form" "seal form" "text form"; grid-template-rows: auto auto auto auto 1fr; }
  .bc-abschluss__photo { max-width: 200px; }
}

/* Fix 11/2026: Schließen-Button (X) im geöffneten Menü – sitzt an derselben Stelle wie der Menü-Button,
   funktioniert auf allen Seiten (auch Startseite, wo der HUD während des Intros ausgeblendet ist). */
.bc-slate__close {
  position: absolute; top: calc(var(--bc-hud-h) / 2); right: 16px; transform: translateY(-50%); z-index: 2;
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  background: var(--bc-bg-menu); border: 1px solid var(--bc-accent); color: var(--bc-accent);
  font-family: var(--bc-font-mono); font-size: 12px; letter-spacing: .2em; line-height: 1; padding: 12px 14px;
  transition: background-color .2s, color .2s;
}
.bc-slate__close:hover, .bc-slate__close:focus-visible { background: var(--bc-accent); color: var(--bc-bg-menu); }
.bc-slate__close-x { position: relative; display: block; width: 18px; height: 18px; flex: 0 0 18px; }
.bc-slate__close-x::before, .bc-slate__close-x::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: currentColor; }
.bc-slate__close-x::before { transform: rotate(45deg); }
.bc-slate__close-x::after { transform: rotate(-45deg); }
@media (min-width: 900px) { .bc-slate__close { right: 32px; padding: 14px 22px; } }
