/* ============================================================
   HOFMANN MOTORRAD — Heritage-Garage bei Nacht
   Tokens aus design.md · bespoke CSS, kein Build/CDN
   ============================================================ */

/* --- Fonts --- */
@font-face {
  font-family: "Bevan";
  src: url("../fonts/bevan-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bevan";
  src: url("../fonts/bevan-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spline Sans Mono";
  src: url("../fonts/spline-sans-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Spline Sans Mono";
  src: url("../fonts/spline-sans-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Flächen */
  --sunken: #0f0b07;
  --bg: #15100b;
  --surface: #1e1813;
  --raised: #29211a;
  /* Ink */
  --ink: #f2e9da;
  --ink-muted: #c4b7a3;
  --ink-faint: #8c8474;
  /* Akzent */
  --accent: #dc4425;
  --accent-hover: #ef5a38;
  --accent-active: #b8351c;
  --accent-text: #f26b4a;
  --accent-ink: #100b06;
  /* Linien / States */
  --line: rgba(242, 233, 218, 0.1);
  --line-strong: rgba(242, 233, 218, 0.18);
  --line-accent: rgba(220, 68, 37, 0.55);
  --ok: #83b15a;
  --warn: #e4a13a;
  /* Fonts */
  --font-display: "Bevan", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:
    "Spline Sans Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  /* Easing */
  --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-stamp: cubic-bezier(0.2, 1.4, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  /* Spacing */
  --pad: clamp(1.25rem, 5vw, 3rem);
  --maxw: 1200px;
  --r: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.075rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3 {
  color: var(--ink);
  margin: 0;
  font-weight: 400;
  line-height: 1.05;
}
.display {
  font-family: var(--font-display);
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 1.6rem + 7vw, 7rem);
  letter-spacing: -0.01em;
  line-height: 0.95;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem);
  line-height: 1;
}
h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}
p {
  margin: 0 0 1rem;
  max-width: 66ch;
}
.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  line-height: 1.55;
  max-width: 60ch;
  color: var(--ink-muted);
}
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::after {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--accent);
}
.mono {
  font-family: var(--font-mono);
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
section {
  position: relative;
  padding-block: clamp(4rem, 10vw, 7.5rem);
}

/* --- Textur-Layer: Grain + Vignette (fixed, global) --- */
.tex {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
}
.tex--grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.55  0 0 0 0 0.48  0 0 0 0 0.38  0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: soft-light;
}
.tex--vig {
  background: radial-gradient(
    120% 90% at 50% 40%,
    transparent 55%,
    rgba(8, 5, 3, 0.55) 100%
  );
  mix-blend-mode: multiply;
}

/* --- Startnummern-Plakette (Section-Marker + Signature) --- */
.plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  height: 2.5rem;
  padding: 0 0.7rem;
  background: var(--ink);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
.plate::before,
.plate::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(16, 11, 6, 0.45);
  top: 5px;
}
.plate::before {
  left: 6px;
}
.plate::after {
  right: 6px;
}
.plate--accent {
  background: var(--accent);
  color: var(--accent-ink); /* dunkle Ziffer auf Vermillon — WCAG-AA */
}
.sec-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.sec-head .eyebrow {
  margin-left: 0.2rem;
}

/* --- Emaille-Schild-Karte --- */
.enamel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  box-shadow:
    inset 0 0 0 3px var(--bg),
    inset 0 0 0 4px var(--line);
}
.enamel::before,
.enamel::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4a3f31, #160f09);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.enamel::before {
  top: 9px;
  left: 9px;
}
.enamel::after {
  top: 9px;
  right: 9px;
}
.enamel .screw-b {
  position: absolute;
  bottom: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4a3f31, #160f09);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.enamel .screw-b.l {
  left: 9px;
}
.enamel .screw-b.r {
  right: 9px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition:
    transform 0.12s var(--ease-snap),
    background 0.14s var(--ease-out),
    filter 0.14s var(--ease-out),
    border-color 0.14s;
}
.btn:active {
  transform: translateY(1px) scale(0.98);
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink); /* dunkler Emaille-Text, WCAG-AA auf Vermillon */
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--accent-active);
}
.btn--primary svg {
  stroke: var(--accent-ink);
}
.btn--primary:hover {
  filter: brightness(1.06);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1px var(--line-strong),
    inset 0 0 0 3px transparent;
}
.btn--ghost:hover {
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

/* --- Status-Pill --- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.status .dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--ink-faint);
  box-shadow: 0 0 0 3px rgba(140, 132, 116, 0.15);
}
.status.is-open .dot {
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(131, 177, 90, 0.18);
}

/* ============================================================ NAV */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: transform 0.3s var(--ease-out);
}
.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad);
  transition:
    background 0.25s,
    box-shadow 0.25s,
    padding 0.25s;
}
.nav.is-solid .nav__in {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.6rem;
}
.nav.is-hidden {
  transform: translateY(-100%);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nav__brand img {
  width: 44px;
  height: 44px;
  transition:
    width 0.25s,
    height 0.25s;
}
.nav.is-solid .nav__brand img {
  width: 36px;
  height: 36px;
}
.nav__brand b {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav__links a {
  font-size: 0.9rem;
  color: var(--ink-muted);
  transition: color 0.15s;
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__links a.nav__cta {
  display: inline-flex;
  color: var(--accent-ink); /* schlägt .nav__links a — WCAG-AA auf Vermillon */
}
.nav__links a.nav__cta:hover {
  color: var(--accent-ink);
}
@media (max-width: 900px) {
  .nav__links a:not(.nav__cta) {
    display: none;
  }
}

/* ============================================================ HERO */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  width: 100%;
  align-items: center;
}
.hero__copy {
  grid-column: 1 / 8;
  grid-row: 1;
  position: relative;
  z-index: 3;
  pointer-events: none;
}
.hero__copy a,
.hero__copy button,
.hero__copy .status {
  pointer-events: auto;
}
.hero__panelwrap {
  grid-column: 6 / 13;
  grid-row: 1;
  position: relative;
  z-index: 1;
}
.hero h1 {
  margin: 0.4rem 0 1.2rem;
}
.hero h1 .ln {
  display: block;
  overflow: hidden;
}
.hero h1 .ln > span {
  display: block;
}
.hero__lead {
  margin-bottom: 1.8rem;
}
.hero__cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

/* Video-Panel im Nummernschild-Rahmen */
.panel {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: 12px;
  overflow: hidden;
  transform: rotate(-1.5deg);
  background: var(--sunken);
  box-shadow:
    0 0 0 3px var(--ink),
    0 0 0 6px var(--bg),
    0 0 0 7px var(--line-accent),
    0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.panel__media {
  position: absolute;
  inset: 0;
}
.panel__media img,
.panel__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.panel__media img,
.panel__media video {
  filter: grayscale(0.35) contrast(1.05) brightness(0.92) sepia(0.18);
}
.panel__media video {
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.panel__media video.is-ready {
  opacity: 1;
}
.panel__halftone {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(220, 68, 37, 0.35) 0.5px,
    transparent 0.6px
  );
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
}
/* Zündungs-Deck: liegt ÜBER dem Poster und wischt weg. Standardmäßig weg-
         geclippt, damit der Poster (LCP) ab Byte-Ankunft sichtbar ist. Nur JS+Motion
         setzt es kurz auf „deckend" und animiert die Enthüllung. */
.panel__deck {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--sunken);
  border-right: 3px solid var(--accent);
  clip-path: inset(
    0 0 0 0
  ); /* deckt ab erstem Paint; Poster wird darunter gemalt (LCP-fähig) */
  pointer-events: none;
}
/* Ohne JS oder bei reduzierter Bewegung: Deck weg, Poster steht sofort */
.no-js .panel__deck {
  clip-path: inset(0 0 0 100%);
}
.panel__num {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: var(--ink);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.15rem;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px var(--accent);
}
.hero__badge {
  position: absolute;
  top: -34px;
  left: -26px;
  width: clamp(88px, 10vw, 150px);
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55));
}
.hero__status {
  margin-top: 0.4rem;
}
/* Wiederverwendung der Panel-/Badge-Klassen (+ des unangetasteten heroVideo-JS)
   außerhalb des Vollbild-Heros — für die Signature-Sektion (bau-brief §4.1/§5) */
.hero.hero--inline {
  min-height: auto;
  display: block;
  padding: 0;
  overflow: visible;
  /* Anker für das über die Panel-Ecke ragende .panel__logo */
  position: relative;
}
@media (max-width: 820px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero__copy {
    grid-column: 1;
    grid-row: auto;
    z-index: 3;
    pointer-events: auto;
  }
  .hero__panelwrap {
    grid-column: 1;
    grid-row: auto;
    max-width: 520px;
  }
  .hero__badge {
    width: 84px;
    top: -26px;
    left: auto;
    right: 8px;
  }
}

/* ============================================================ LEISTUNGEN / BENTO */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 1rem;
  grid-template-areas:
    "umbau umbau instand instand"
    "umbau umbau wartung typ"
    "holbring reifen wartung community";
}
.tile {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 150px;
  color: var(--ink);
  isolation: isolate;
}
.tile h3 {
  margin-bottom: 0.35rem;
}
.tile p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  max-width: 34ch;
}
.tile__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.tile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.05) brightness(0.62) sepia(0.2);
}
.tile__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(21, 16, 11, 0.15) 0%,
    rgba(21, 16, 11, 0.55) 55%,
    rgba(21, 16, 11, 0.92) 100%
  );
}
.tile__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(
    rgba(220, 68, 37, 0.4) 0.5px,
    transparent 0.6px
  );
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  opacity: 0.4;
}
.tile .plate {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  min-width: 2.6rem;
  height: 2rem;
  font-size: 1rem;
}
.tile--umbau {
  grid-area: umbau;
}
.tile--instand {
  grid-area: instand;
}
.tile--wartung {
  grid-area: wartung;
}
.tile--typ {
  grid-area: typ;
}
.tile--holbring {
  grid-area: holbring;
}
.tile--reifen {
  grid-area: reifen;
}
.tile--community {
  grid-area: community;
}
.tile--typ {
  background: var(--accent);
  color: var(--accent-ink);
  justify-content: center;
  text-align: center;
  align-items: center;
}
.tile--typ h3 {
  color: var(--accent-ink);
}
.tile--typ p {
  color: rgba(16, 11, 6, 0.85); /* dunkel auf Vermillon — WCAG-AA */
}
.tile--reifen {
  background: var(--raised);
}
.tile--community {
  background: var(--surface);
}
.tile--community a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.9rem;
}
@media (max-width: 820px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(160px, auto);
    grid-template-areas: "umbau umbau" "instand instand" "wartung typ" "holbring reifen" "community community";
  }
}
@media (max-width: 520px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-areas: "umbau" "instand" "wartung" "typ" "holbring" "reifen" "community";
  }
}

/* ============================================================ ÜBER / SPLIT */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about__datasheet {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.5rem;
}
.about__datasheet li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
  padding: 0.55rem 0.7rem;
  background: var(--sunken);
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.about__datasheet li b {
  color: var(--ink);
  font-weight: 500;
}
.portrait-plate {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 0 0 3px var(--ink),
    0 0 0 6px var(--bg),
    0 0 0 7px var(--line-accent),
    0 30px 60px -34px rgba(0, 0, 0, 0.8);
}
.portrait-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.04) brightness(0.95) sepia(0.14);
}
.portrait-plate .panel__num {
  font-size: 1.3rem;
}
.about__kicker {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem+1.4vw, 2rem);
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 1rem;
}
@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--rev .portrait-plate {
    max-width: 420px;
    margin-inline: auto;
  }
}

/* ============================================================ WERKSTATT */
.shop__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.shop__photo {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16/10;
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 0 3px var(--bg);
}
.shop__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05) brightness(0.8) sepia(0.16);
}
.shop__photo.tall {
  aspect-ratio: 4/5;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}
.trust span {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.6rem 1.4rem;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 0 3px var(--bg);
}
.trust span::before,
.trust span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 35% 35%, #4a3f31, #160f09);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.trust span::before {
  left: 6px;
}
.trust span::after {
  right: 6px;
}
@media (max-width: 700px) {
  .shop__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ COMMUNITY */
.community {
  padding-block: 0;
}
.band {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-block: clamp(4rem, 9vw, 6.5rem);
  min-height: clamp(340px, 55vh, 520px);
  display: flex;
  align-items: flex-end;
  box-shadow:
    0 0 0 3px var(--ink),
    0 0 0 6px var(--bg),
    0 0 0 7px var(--line-accent);
}
.band__photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.band__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.06) brightness(0.55) sepia(0.2);
}
.band__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    90% 120% at 30% 20%,
    transparent 30%,
    rgba(12, 8, 4, 0.75) 100%
  );
}
.band__in {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 640px;
}
.band h2 {
  margin-bottom: 0.6rem;
}
.band .cap {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.band .plate {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
}

/* ============================================================ KONTAKT */
.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.field {
  margin-bottom: 1.35rem;
}
.field label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.55rem;
}
.field label::before {
  content: "";
  width: 0.9rem;
  height: 2px;
  background: var(--accent);
  flex: none;
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(15, 11, 7, 0.72);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.5;
  padding: 0.9rem 1.05rem;
  transition:
    border-color 0.16s var(--ease-out),
    box-shadow 0.16s var(--ease-out),
    background 0.16s var(--ease-out);
}
.field input.mono {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
  font-style: italic;
}
.field input:hover,
.field textarea:hover {
  border-color: var(--line-accent);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(15, 11, 7, 0.95);
  box-shadow:
    0 0 0 3px rgba(220, 68, 37, 0.22),
    0 8px 24px -14px rgba(0, 0, 0, 0.8);
}
.field.err input,
.field.err textarea {
  border-color: var(--accent);
}
.field .msg {
  display: none;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-text);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}
.field.err .msg {
  display: flex;
}
.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 1rem 0 1.4rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.consent input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
}
.consent a {
  color: var(--accent-text);
  text-decoration: underline;
}
.form__ok {
  display: none;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  margin-top: 1rem;
  background: var(--sunken);
  border: 1px dashed var(--line-accent);
  border-radius: var(--r);
}
.form__ok.show {
  display: flex;
}
.form__ok .plate {
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.9rem;
  min-width: auto;
  height: 2rem;
}
.info-panel {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: inset 0 0 0 3px var(--bg);
}
.hours {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.35rem;
}
.hours li {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
}
.hours li.closed {
  color: var(--ink-faint);
}
.hours li b {
  color: var(--ink);
  font-weight: 500;
}
.info-panel .call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin: 0.6rem 0;
}
.map {
  margin-top: 1rem;
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  height: 220px;
  border: 1px solid var(--line-strong);
}
.map__load {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--sunken);
  text-align: center;
  padding: 1rem;
}
.map__load small {
  color: var(--ink-faint);
  font-size: 0.75rem;
  max-width: 32ch;
}
#leafmap {
  width: 100%;
  height: 100%;
}
@media (max-width: 820px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ FOOTER */
.footer {
  background: var(--sunken);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}
.footer__brand img {
  width: 76px;
  height: 76px;
  margin-bottom: 0.8rem;
}
.footer h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 0.8rem;
}
.footer a {
  color: var(--ink-muted);
}
.footer a:hover {
  color: var(--ink);
}
.footer address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--ink-muted);
}
.cog-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 1.5rem;
  color: var(--line-strong);
}
.cog-divider::before,
.cog-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.cog-divider svg {
  width: 34px;
  height: 34px;
  opacity: 0.5;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--ink-faint);
  font-family: var(--font-mono);
}
.footer__bottom a {
  color: var(--ink-faint);
}
@media (max-width: 700px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ============================================================ MOBILE STICKY CTA */
.mobicta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-strong);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobicta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mobicta .call {
  background: var(--surface);
  color: var(--ink);
}
.mobicta .term {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
@media (max-width: 900px) {
  .mobicta {
    display: grid;
  }
  /* Platz für die fixe Sticky-Leiste reservieren, sonst verdeckt sie das Seitenende */
  body {
    padding-bottom: calc(52px + env(safe-area-inset-bottom));
  }
}

/* ============================================================ REVEAL (Stempel) */
.reveal {
  opacity: 0.001;
  transform: translateY(-6px) scale(1.06) rotate(0.4deg);
  will-change: transform, opacity;
}
.reveal.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.14s var(--ease-snap),
    transform 0.16s var(--ease-stamp);
}
.reveal[data-d="1"].in {
  transition-delay: 0.05s;
}
.reveal[data-d="2"].in {
  transition-delay: 0.1s;
}
.reveal[data-d="3"].in {
  transition-delay: 0.15s;
}
.reveal[data-d="4"].in {
  transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .panel {
    transform: none;
  }
  .panel__deck {
    display: none;
  }
  .panel__media video {
    transition: none;
  }
  * {
    scroll-behavior: auto !important;
  }
}
/* Bevor JS lädt: Hero-Copy nicht verstecken (No-JS-Fallback) */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ============================================================ MULTIPAGE-ERWEITERUNG */

/* Sanfte Cross-Document-Übergänge (JS-frei, progressive enhancement) */
@view-transition {
  navigation: auto;
}
::view-transition-group(root) {
  animation-duration: 0.35s;
  animation-timing-function: var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* --- Nav-Dropdown „Leistungen" --- */
.nav__item {
  position: relative;
}
.nav__item > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav__item > a .caret {
  width: 0.7em;
  height: 0.7em;
  transition: transform 0.2s var(--ease-out);
}
.nav__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 230px;
  background: var(--raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  box-shadow:
    0 20px 40px -20px rgba(0, 0, 0, 0.8),
    inset 0 0 0 3px var(--bg);
  padding: 0.5rem;
  display: grid;
  gap: 0.1rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.16s,
    transform 0.16s;
  z-index: 20;
}
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.nav__item:hover > a .caret,
.nav__item:focus-within > a .caret {
  transform: rotate(180deg);
}
.nav__menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 3px;
  font-size: 0.88rem;
  color: var(--ink-muted);
}
.nav__menu a:hover {
  background: var(--surface);
  color: var(--ink);
}
.nav__menu a[aria-current="page"] {
  color: var(--accent-text);
}
@media (max-width: 900px) {
  .nav__menu {
    display: none;
  }
}

/* --- Sub-Hero (Leistungs-/Detailseiten) --- */
.subhero {
  padding-top: 8rem;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}
.subhero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.subhero h1 {
  font-size: clamp(2.4rem, 1.4rem+4vw, 4.6rem);
  line-height: 0.98;
  margin: 0.6rem 0 1.1rem;
}
.subhero__lead {
  margin-bottom: 1.6rem;
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.2rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--ink-faint);
}
.breadcrumb a:hover {
  color: var(--accent-text);
}
.plate-frame {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: 12px;
  overflow: hidden;
  transform: rotate(-1.4deg);
  box-shadow:
    0 0 0 3px var(--ink),
    0 0 0 6px var(--bg),
    0 0 0 7px var(--line-accent),
    0 30px 60px -34px rgba(0, 0, 0, 0.8);
}
.plate-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05) brightness(0.9) sepia(0.16);
}
.plate-frame .panel__num {
  z-index: 2;
}
.plate-frame .panel__halftone {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(220, 68, 37, 0.35) 0.5px,
    transparent 0.6px
  );
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  opacity: 0.45;
  pointer-events: none;
}
@media (max-width: 820px) {
  .subhero__grid {
    grid-template-columns: 1fr;
  }
  .subhero__media {
    max-width: 520px;
  }
}

/* --- Service-Content --- */
.prose {
  max-width: 66ch;
}
.prose p {
  margin: 0 0 1.1rem;
  color: var(--ink-muted);
}
.prose h2 {
  font-size: clamp(1.6rem, 1.2rem+1.6vw, 2.4rem);
  margin: 0 0 1rem;
}
/* Hairline-Liste statt Card-Grid (Anti-Skelett §0b Nr.1 — Alternative zu auto-fit) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.feature {
  padding: 1.3rem 1.4rem 1.3rem 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.feature:nth-child(3n) {
  border-right: none;
}
.feature h3 {
  font-size: 1.02rem;
  margin: 0 0 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feature h3 .tick {
  color: var(--accent-text);
  flex: none;
}
.feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
@media (max-width: 820px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature:nth-child(3n) {
    border-right: 1px solid var(--line);
  }
  .feature:nth-child(2n) {
    border-right: none;
  }
}
@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature {
    border-right: none !important;
    padding-right: 0;
  }
}
.steps {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: s;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.steps li .step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2rem;
  background: var(--ink);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  border-radius: 6px;
  font-size: 1rem;
  position: relative;
}
.steps li .step-n::before,
.steps li .step-n::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(16, 11, 6, 0.4);
}
.steps li .step-n::before {
  left: 5px;
}
.steps li .step-n::after {
  right: 5px;
}
.steps li b {
  color: var(--ink);
  font-weight: 700;
  display: block;
  margin-bottom: 0.15rem;
}
.steps li p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.cta-band {
  background: var(--accent);
  border-radius: var(--r);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  box-shadow: inset 0 0 0 3px rgba(16, 11, 6, 0.15);
}
.cta-band h2 {
  color: var(--accent-ink);
  margin: 0;
  font-size: clamp(1.5rem, 1.1rem+1.6vw, 2.2rem);
}
.cta-band p {
  color: rgba(16, 11, 6, 0.8);
  margin: 0.3rem 0 0;
  max-width: 44ch;
}
.cta-band .btn--ghost {
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 2px rgba(16, 11, 6, 0.5);
}
.cta-band .btn--ghost:hover {
  background: rgba(16, 11, 6, 0.1);
}
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.related a {
  flex: 1 1 220px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 1.2rem;
  box-shadow: inset 0 0 0 3px var(--bg);
  transition:
    transform 0.16s var(--ease-out),
    border-color 0.16s;
  display: block;
}
.related a:hover {
  transform: translateY(-3px);
  border-color: var(--line-accent);
}
.related a h3 {
  font-size: 1rem;
  margin: 0 0 0.3rem;
}
.related a span {
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.related a .go {
  color: var(--accent-text);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.6rem;
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
}

/* --- Bento-Kacheln als Links (Stretched-Link) --- */
.tile__link {
  position: absolute;
  inset: 0;
  z-index: 3;
  text-indent: -9999px;
  overflow: hidden;
}
.tile__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
}
.tile {
  cursor: pointer;
}
.tile .more {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-text);
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
  font-family: var(--font-body);
}
.tile--typ .more {
  color: var(--accent-ink);
}
.tile:hover .more {
  text-decoration: underline;
}

/* ============================================================
         FEEDBACK-KORREKTUREN (09.07.): Startnummer weg + Bilder größer/ruhiger
         ============================================================ */
/* 1) „211"-Startnummer von ALLEN Bildern entfernen */
.panel__num {
  display: none !important;
}

/* 2) keine Schräglage mehr — wirkt größer, solider, weniger verspielt */
.panel,
.portrait-plate,
.plate-frame {
  transform: none !important;
}

/* 3) leichtere Rahmen: dünne Bone-Kante statt dickem Renn-Plakat-Ring
            → das eigentliche Foto bekommt mehr Fläche */
.panel {
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 30px 60px -30px rgba(0, 0, 0, 0.8) !important;
  border-radius: 10px;
}
.portrait-plate,
.plate-frame {
  box-shadow:
    0 0 0 1px var(--line-strong),
    0 24px 50px -30px rgba(0, 0, 0, 0.8) !important;
  border-radius: 10px;
}

/* 4) Service-Detailseiten: Sub-Hero-Bild deutlich prominenter */
.subhero__grid {
  grid-template-columns: 0.95fr 1.2fr;
}
.plate-frame {
  aspect-ratio: 4 / 3;
}
/* Grid-Items dürfen unter ihren Text-min-content schrumpfen (sonst sprengt
   der große Display-Moment (§0b Nr.4) die Bildspalte — bekannte Falle) */
.subhero__grid > *,
.split > *,
.hero__grid > *,
.sig-a__stage > * {
  min-width: 0;
}

/* 5) Bento-„Garagenwand": Kacheln/Fotos größer */
.bento {
  grid-auto-rows: minmax(220px, auto) !important;
}

/* 6) Über-Porträt größer zeigen */
.portrait-plate {
  aspect-ratio: 4 / 5;
}
@media (min-width: 821px) {
  .about__portrait-col {
    align-self: stretch;
  }
}

/* 7) Buchstaben-/Nummern-Stempel auf Bento-Fotos entfernen (Feedback) */
.tile .plate {
  display: none !important;
}

/* ============================================================
         SCHWEBENDE KONTAKT-LEISTE rechts (Anruf + WhatsApp) — folgt beim Scrollen
         ============================================================ */
.floatdock {
  position: fixed;
  right: clamp(0.9rem, 1.8vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  z-index: 56;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.floatdock a {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.7);
  transition:
    transform 0.15s var(--ease-snap),
    filter 0.15s;
}
.floatdock a:hover {
  transform: scale(1.08);
  filter: brightness(1.05);
}
.floatdock a:active {
  transform: scale(0.96);
}
.floatdock a svg {
  width: 27px;
  height: 27px;
}
.floatdock .wa {
  background: #25d366;
  color: #fff;
}
.floatdock .call {
  background: var(--accent);
  color: var(--accent-ink);
}
.floatdock a .lbl {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--raised);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.floatdock a:hover .lbl {
  opacity: 1;
}
/* Auf Mobil steckt die Kontaktleiste unten (mobicta) — Dock ausblenden */
@media (max-width: 900px) {
  .floatdock {
    display: none;
  }
}

/* Mobil-Leiste: jetzt Anrufen · WhatsApp · Termin (3 Felder) */
.mobicta {
  grid-template-columns: 1fr 1fr 1fr;
}
.mobicta .wa {
  background: #25d366;
  color: #fff;
}

/* ============================================================
         KINO-HERO (neuer Kopf): Full-Bleed Sonnenuntergang-Ride-Video
         ============================================================ */
.cinehero {
  position: relative;
  min-height: min(88svh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: 5rem;
}
.cinehero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.cinehero__media img,
.cinehero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cinehero__media video {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.cinehero__media video.is-ready {
  opacity: 1;
}
/* Sicherheitsnetz: Video startet nicht (Autoplay-Block) → Poster lebt selbst */
.cinehero__media img.is-motion {
  animation: cine-pan 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes cine-pan {
  from {
    transform: scale(1) translateX(0);
  }
  to {
    transform: scale(1.09) translateX(-2.5%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cinehero__media img.is-motion {
    animation: none;
  }
}
.cinehero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(21, 16, 11, 0.92) 0%,
      rgba(21, 16, 11, 0.6) 42%,
      rgba(21, 16, 11, 0.15) 100%
    ),
    linear-gradient(0deg, rgba(21, 16, 11, 0.85) 0%, rgba(21, 16, 11, 0) 45%);
}
.cinehero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.cinehero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.4rem + 7.5vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 0.4rem 0 1.1rem;
  color: var(--ink);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.cinehero__lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  line-height: 1.5;
  max-width: 46ch;
  color: var(--ink);
  margin-bottom: 1.7rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
.cinehero__cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.cinehero__scroll {
  position: absolute;
  bottom: 1.3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.cinehero__scroll svg {
  width: 18px;
  height: 18px;
  animation: cbob 1.8s ease-in-out infinite;
}
@keyframes cbob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
@media (prefers-reduced-motion: reduce) {
  /* Hero-Ambient-Video bleibt sichtbar (stumm, vom Kunden gewünscht) */
  .cinehero__scroll svg {
    animation: none;
  }
}

/* ============================================================
         SZENE-/EVENT-GALERIE (community.html)
         ============================================================ */
/* Galerie als horizontale Kennzeichen-Reihe (Anti-Skelett §0b Nr.1 — statt auto-fill-Grid;
   liefert zugleich die Horizontal-Sequenz-Choreografie aus §0b Nr.3 / bau-brief §4.2+§4.7) */
.hscroll {
  position: relative;
  overflow: hidden;
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
}
.hscroll__track {
  display: flex;
  gap: 1rem;
  will-change: transform;
}
.hscroll__item {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 0 3px var(--bg);
  background: var(--surface);
  width: min(70vw, 380px);
  aspect-ratio: 4 / 3;
}
.hscroll__item.tall {
  aspect-ratio: 3 / 4;
}
.hscroll__item.wide {
  width: min(88vw, 560px);
  aspect-ratio: 16 / 9;
}
.hscroll__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05) brightness(0.82) sepia(0.16);
  transition:
    transform 0.5s var(--ease-out),
    filter 0.4s;
}
.hscroll__item:hover img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.05) brightness(0.95);
}
.hscroll__hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hscroll__hint svg {
  width: 14px;
  height: 14px;
  animation: hhint 1.6s ease-in-out infinite;
}
@keyframes hhint {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}
/* Touch/kein JS/reduced-motion: nativer horizontaler Scroll statt GSAP-Scrub */
@media (max-width: 820px), (prefers-reduced-motion: reduce) {
  .hscroll__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
  .hscroll__item {
    scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hscroll__hint svg {
    animation: none;
  }
}
.gallery .ph {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 1rem;
  text-transform: uppercase;
}
.event-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  box-shadow: inset 0 0 0 3px var(--bg);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 720px) {
  .event-card {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}
.event-card .date {
  text-align: center;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--r);
  padding: 1rem 1.4rem;
  align-self: start;
}
.event-card .date b {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  display: block;
}
.event-card ul {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: grid;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* --- Social-Icons in der Nav --- */
.nav__social {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
}
.nav__social a {
  color: var(--ink-muted);
  display: inline-flex;
  transition: color 0.15s;
}
.nav__social a:hover {
  color: var(--ink);
}
.nav__social svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 900px) {
  .nav__social {
    display: none;
  }
}

/* ============================================================
   UMBAU 14.07. — Rhythmus-Karte statt Uniform-Padding (bau-brief §4.4)
   ============================================================ */
.sec--compact {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.sec--standard {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.sec--wide {
  padding-block: clamp(6rem, 12vw, 10rem);
}

/* --- Kopf-Formel-Alternativen (Anti-Skelett §0b Nr.2 — max. 2× Eyebrow→H2→Lead/Seite) --- */
/* Große Zahl/Wortmarke als Auftakt, ohne Eyebrow-Zeile daneben (Werkstatt-Sektion) */
.sec-mark {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.sec-mark__num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  line-height: 0.85;
  color: var(--accent);
  opacity: 0.9;
}
.sec-mark h2 {
  margin: 0;
}
/* Kleine, nicht als Eyebrow-Formel zählende Fußzeile/Marginalie */
.tag-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.tag-caption::before {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: var(--line-accent);
}

/* ============================================================
   Sub-Head-Video (Unterseiten, DESIGN-DNA §0 Nr.4 / bau-brief §4.6)
   Gleiches Poster→Video-Prinzip wie das Kino-Hero-Panel, eigenständige
   Klasse (subhead-media), damit das TABU-cineVideo/heroVideo-JS unberührt bleibt.
   ============================================================ */
.subhead-media {
  position: relative;
}
.subhead-media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  filter: grayscale(0.35) contrast(1.05) brightness(0.9) sepia(0.16);
}
.subhead-media__video.is-ready {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .subhead-media__video {
    display: none;
  }
}

/* ============================================================
   ⭐ SIGNATURE-SEKTION — Duell-Gerüst (bau-brief §5)
   Variante A „Werkstattwand-Plakette" (Pinning) · Variante B „Kennzeichen-Rolle" (Horizontal)
   Aktiv ist die Variante mit Klasse .sig-active auf <section class="sig">.
   ============================================================ */
.sig {
  position: relative;
  overflow: clip;
}
.sig__kicker {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  margin-bottom: clamp(2rem, 6vw, 4rem);
  max-width: 20ch;
}

/* --- Variante A: Werkstattwand-Plakette (Pinning-Bühne) --- */
.sig-a__stage {
  position: relative;
  min-height: 74vh;
  display: grid;
  /* Links Text, rechts das Video-Panel. Der Text hält das Video in Zaum,
     damit es nicht die halbe Sektion frisst. */
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.sig-a__text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  /* Freiraum rechts, in den das Siegel über die Panel-Ecke ragen darf,
     ohne den Text zu überdecken. */
  padding-right: clamp(1rem, 7vw, 6.5rem);
}
.sig-a__lead {
  color: var(--ink);
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem);
  text-wrap: balance;
}
.sig-a__left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6rem;
}
.sig-a__badgewrap {
  position: relative;
}
.sig-a__badge {
  width: clamp(120px, 16vw, 220px);
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.6));
  transform-origin: 50% 50%;
}
.sig-a__facts {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.sig-a__fact {
  align-self: flex-start;
  height: auto;
  min-width: auto;
  padding: 0.6rem 1.1rem;
  font-size: 1.05rem;
  border-radius: 6px;
  opacity: 0;
  transform: scale(0.9) translateX(-8px);
}
.sig-a__panel {
  position: relative;
  aspect-ratio: 5/4;
}
/* Marken-Siegel über der oberen linken Ecke des Video-Panels.
   Liegt als Geschwister von .panel im .hero--inline, weil .panel per
   overflow:hidden jeden Überstand abschneiden würde.
   translate(-55%,-55%) = gut die Hälfte ragt über die Ecke hinaus.
   rotate gleicht die -1.5deg-Neigung des Panels an. */
.panel__logo {
  /* WICHTIG: Versatz über margin, NICHT über transform. Das Reveal in app.js
     animiert dieses Element per GSAP (y) und überschreibt dabei jedes
     transform — ein translate() hier wird beim Einblenden auf 0 gesetzt und
     das Siegel rutscht zurück auf die Videokante. margin ist davon unberührt.
     Siegel ist quadratisch, daher gilt --logo-w auch für die Höhe. */
  --logo-w: clamp(150px, 20vw, 250px);
  --logo-raus-x: 0.55; /* Anteil, der links über die Ecke ragt */
  --logo-raus-y: 0.6; /* Anteil, der oben über die Kante ragt */
  position: absolute;
  top: 0;
  left: 0;
  width: var(--logo-w);
  height: auto;
  object-fit: contain;
  margin-left: calc(var(--logo-w) * calc(-1 * var(--logo-raus-x)));
  margin-top: calc(var(--logo-w) * calc(-1 * var(--logo-raus-y)));
  transform: rotate(-1.5deg);
  z-index: 6;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.65));
  pointer-events: none;
}
@media (max-width: 900px) {
  .sig-a__stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  /* Schmaler Viewport: der volle Überstand würde links aus dem Bild fallen,
     daher kleiner und überwiegend nach oben versetzt. */
  .panel__logo {
    --logo-w: clamp(110px, 26vw, 150px);
    --logo-raus-x: 0.16;
    --logo-raus-y: 0.5;
  }
}

/* Signature-Duell (bau-brief §5): Variante B „Kennzeichen-Rolle" wurde
   gebaut, screenshot-verglichen und verworfen — Begründung im Umbau-Report.
   Variante A oben ist die aktive Sektion. */

/* ============================================================
   Display-Moment ≥ 8rem (Anti-Skelett §0b Nr.4 — mind. 1×/Seite)
   ============================================================ */
.about__kicker {
  font-size: clamp(2.8rem, 1.6rem + 6vw, 8.5rem) !important;
  line-height: 0.94 !important;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 11ch;
}
.subhero h1 {
  /* Bewusst NICHT auf 8rem+ gezogen: der Sub-Hero ist eine 2-Spalten-Komposition
     (Text + großes Video-Panel, §4.6) — der Display-Moment ≥8rem lebt auf jeder
     Seite bereits in der Rhythmus-Karte/.about__kicker; hier zählt die Balance
     zwischen Headline und Bild mehr als reine Größe. */
  font-size: clamp(2.6rem, 1.5rem + 5vw, 5.6rem) !important;
  line-height: 0.96 !important;
  text-wrap: balance;
}

/* ============================================================
   ScrollTrigger.batch-Reveal (bau-brief §4.2) — eigene, per-Sektion
   getimte Choreografie für Bento-Kacheln + Werkstatt-Fotos, ENTKOPPELT
   von der pauschalen .reveal-IO-Klasse (app.js bleibt unangetastet).
   ============================================================ */
.batch-reveal {
  opacity: 0;
  transform: translateY(16px) scale(1.015);
  will-change: transform, opacity;
}
.batch-reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .batch-reveal,
  .batch-reveal.in {
    opacity: 1 !important;
    transform: none !important;
  }
}
.no-js .batch-reveal {
  opacity: 1;
  transform: none;
}
