/* ==========================================================================
   Wilhelm Kling jun. GmbH — Brilli-Willi
   Dark premium redesign · Apple-inspired
   ========================================================================== */

:root {
  --bg: #060607;
  --bg-elev: #0d0d0f;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --text-dim: #a1a1a6;
  --text-faint: #6e6e73;
  --gold: #cfae6e;
  --gold-bright: #e8cf9a;
  --gold-dim: rgba(207, 174, 110, 0.14);
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* hidden-Attribut muss jede display-Regel schlagen (Grid/Flex-Klassen!) */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: #0a0a0b; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }

.display {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.headline { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.subhead { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--text-dim); font-weight: 400; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.text-gradient {
  background: linear-gradient(135deg, #f7f2e7 0%, var(--gold-bright) 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Layout ---------- */

.container { width: min(1200px, 92vw); margin-inline: auto; }
.container-wide { width: min(1400px, 94vw); margin-inline: auto; }

section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex;
  align-items: center;
  transition: border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Blur-Hintergrund als eigenes Layer — backdrop-filter direkt auf .nav würde
   das fixed positionierte Mobile-Menü an die 64px-Leiste koppeln. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 6, 7, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav.scrolled::before { opacity: 1; }
.nav-inner {
  width: min(1200px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo img { height: 26px; width: auto; }
.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  padding: 0.45rem 0.85rem;
  font-size: 0.92rem;
  color: var(--text-dim);
  border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.1rem !important;
  background: var(--text);
  color: #0a0a0b !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--gold-bright) !important; }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0;
  position: relative;
  z-index: 1001;
}
.nav-burger span {
  position: absolute;
  left: 11px;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s, top 0.35s var(--ease);
}
.nav-burger span:nth-child(1) { top: 18px; }
.nav-burger span:nth-child(2) { top: 25px; }
.nav-burger.open span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(6, 6, 7, 0.9);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
  }
  .nav-links.open { opacity: 1; pointer-events: all; }
  .nav-links a { font-size: 1.5rem; font-weight: 600; color: var(--text); }
  .nav-cta { margin-left: 0; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  min-height: 48px;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--text); color: #0a0a0b; }
.btn-primary:hover { background: var(--gold-bright); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
}
.link-arrow:hover { color: var(--gold-bright); }
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(4rem, 9vh, 7rem);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 70% 20%, transparent 40%, rgba(6,6,7,0.55) 100%),
    linear-gradient(to top, var(--bg) 0%, rgba(6,6,7,0.35) 28%, rgba(6,6,7,0.15) 55%, rgba(6,6,7,0.5) 100%);
}
.hero-content { position: relative; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  margin-bottom: 1.75rem;
}
.hero-kicker .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.hero h1 { max-width: 14ch; }
.hero .subhead { max-width: 46ch; margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.hero-scroll {
  position: absolute;
  right: 4vw;
  bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-faint);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-faint), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 860px) { .hero-scroll { display: none; } }

/* ---------- Stats strip ---------- */

.stats {
  padding: 0;
  border-block: 1px solid var(--border);
  background: var(--bg-elev);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: 0; }
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--text-dim); font-size: 0.95rem; margin-top: 0.35rem; }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* ---------- Geschichte / Über uns ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.about-media:hover img { transform: scale(1.04); }
.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,6,7,0.45), transparent 45%);
}
.about-badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-s);
  background: rgba(10,10,11,0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
}
.about-badge strong { display: block; font-size: 1.6rem; color: var(--gold-bright); letter-spacing: -0.02em; }
.about-badge span { font-size: 0.85rem; color: var(--text-dim); }

.about-text p { color: var(--text-dim); margin-top: 1.1rem; }
.about-text p strong { color: var(--text); font-weight: 600; }

/* Timeline — scrollgetrieben: ein goldener Lichtpunkt wandert die Linie entlang
   und „fasst" jede Station. Zustände: (Zukunft) gedimmt · .lit gezündet · .aktiv aktuell */
.timeline {
  margin-top: 2.25rem;
  display: grid;
  gap: 0;
  position: relative;
  border-left: 1px solid var(--border-strong);
}
/* Goldene Fortschritts-Linie (Höhe setzt JS über --tl-progress) */
.timeline::before {
  content: "";
  position: absolute;
  left: -1.5px;
  top: 0;
  width: 2px;
  height: var(--tl-progress, 0px);
  background: linear-gradient(to bottom, rgba(207,174,110,0.15), var(--gold) 55%, var(--gold-bright));
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(207,174,110,0.35);
}
/* Wandernder Lichtpunkt an der Spitze */
.timeline::after {
  content: "";
  position: absolute;
  left: -5px;
  top: var(--tl-progress, 0px);
  width: 9px; height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow:
    0 0 6px 2px rgba(232,207,154,0.9),
    0 0 22px 8px rgba(207,174,110,0.45);
  opacity: var(--tl-funke, 0);
}
.timeline-item {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.75rem;
  opacity: 0.32;
  transform: translateX(10px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.timeline-item.lit { opacity: 1; transform: none; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 1.35rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.timeline-item.lit::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-dim);
}
/* Glanz-Ring beim Zünden — wie ein aufblitzender Stein */
.timeline-item.lit::after {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 1.35rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold-bright);
  animation: steinZuenden 0.9s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes steinZuenden {
  0%   { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(4.5); opacity: 0; }
}
.timeline-item .year {
  font-weight: 700;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  display: inline-block;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease), text-shadow 0.4s var(--ease);
}
.timeline-item.lit .year { color: var(--gold); }
.timeline-item.aktiv .year {
  color: var(--gold-bright);
  transform: scale(1.12);
  transform-origin: left center;
  text-shadow: 0 0 18px rgba(207,174,110,0.55);
}
.timeline-item.aktiv::before {
  background: var(--gold-bright);
  box-shadow: 0 0 0 5px rgba(207,174,110,0.22), 0 0 14px rgba(232,207,154,0.6);
}
.timeline-item p { color: var(--text-dim); font-size: 0.98rem; margin-top: 0.1rem; }
.timeline-item.aktiv p { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .timeline-item { opacity: 1; transform: none; transition: none; }
  .timeline-item::before { background: var(--gold); border-color: var(--gold); }
  .timeline-item.lit::after { animation: none; opacity: 0; }
  .timeline::before, .timeline::after { display: none; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  /* Portrait in voller Höhe zeigen (4:5-Original) – beschnitten wird nur seitlich */
  .about-media { aspect-ratio: 4 / 5; }
  .about-media img { object-position: center top; }
  /* Nach unten sanft in den Seitenhintergrund auslaufen, Richtung Text */
  .about-media { border-radius: var(--radius-l) var(--radius-l) 0 0; }
  .about-media::after {
    background: linear-gradient(to top,
      var(--bg) 0%,
      rgba(6,6,7,0.85) 8%,
      rgba(6,6,7,0.45) 18%,
      transparent 34%);
  }
  .about-badge { bottom: 2.25rem; padding: 0.75rem 1.1rem; }
  .about-badge strong { font-size: 1.3rem; }
}

/* ---------- Leistungen ---------- */

.leistungen { background: var(--bg-elev); border-block: 1px solid var(--border); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  padding: 2.25rem 1.9rem;
  border-radius: var(--radius-m);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease), background 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at var(--mx, 50%) var(--my, 0%), rgba(207,174,110,0.09), transparent 65%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(207,174,110,0.35); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gold-dim);
  color: var(--gold-bright);
  margin-bottom: 1.4rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.feature-card p { color: var(--text-dim); font-size: 0.98rem; position: relative; }

/* ---------- Projekte ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
.filter-btn.active {
  background: var(--text);
  color: #0a0a0b;
  border-color: var(--text);
  font-weight: 600;
}

.projekte-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1000px) { .projekte-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .projekte-grid { grid-template-columns: 1fr; } }

.projekt-card {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
  padding: 0;
  display: block;
  width: 100%;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), border-color 0.35s var(--ease);
}
.projekt-card.in { opacity: 1; transform: none; }
.projekt-card:hover { border-color: rgba(207,174,110,0.4); }
.projekt-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), filter 0.6s var(--ease);
}
.projekt-card:hover img { transform: scale(1.05); }
.projekt-card .shade {
  position: absolute;
  inset: 0;
  z-index: 1; /* über dem Bild, unter dem Text (.meta hat z-index 2) */
  /* Sanfter, kräftiger Verlauf hinter Tag & Titel — hält Text auch auf weißen Bildern lesbar */
  background: linear-gradient(to top,
    rgba(4,4,5,0.94) 0%,
    rgba(4,4,5,0.82) 18%,
    rgba(4,4,5,0.55) 36%,
    rgba(4,4,5,0.28) 52%,
    rgba(4,4,5,0.1) 66%,
    transparent 80%);
  transition: opacity 0.4s var(--ease);
}
.projekt-card .meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  z-index: 2;
}
.projekt-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(207,174,110,0.35);
  background: rgba(10,10,11,0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  margin-bottom: 0.7rem;
}
.projekt-card h3 {
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.projekt-card .cta-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.projekt-card:hover .cta-row,
.projekt-card:focus-visible .cta-row { opacity: 1; transform: none; }
.projekt-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.projekte-footer { display: flex; justify-content: center; margin-top: 2.75rem; }

.grid-status {
  color: var(--text-faint);
  text-align: center;
  padding: 3rem 0;
  font-size: 0.95rem;
}
.spinner {
  width: 28px; height: 28px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 0 auto 1rem;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Projekt-Sheet (Modal) ---------- */

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.sheet-backdrop.open { opacity: 1; pointer-events: all; }

.sheet {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1001;
  margin: 0 auto;
  width: min(980px, 100%);
  max-height: 92svh;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-bottom: 0;
  border-radius: var(--radius-l) var(--radius-l) 0 0;
  transform: translateY(103%);
  transition: transform 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -30px 90px rgba(0,0,0,0.6);
}
.sheet.open { transform: translateY(0); }
.sheet-handle {
  flex: none;
  padding: 0.85rem 0 0.5rem;
  display: grid;
  place-items: center;
  cursor: grab;
  touch-action: none;
}
.sheet-handle::before {
  content: "";
  width: 42px; height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,0.22);
}
.sheet-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 5;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 1rem;
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.sheet-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

.sheet-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.sheet-hero {
  position: relative;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: #0a0a0b;
}
.sheet-hero img { width: 100%; height: 100%; object-fit: cover; }
.sheet-hero.hell img { object-fit: contain; padding: 1.5rem; }
.sheet-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-elev), transparent 35%);
}
.sheet-content { padding: 0 clamp(1.4rem, 4vw, 3rem) 2.5rem; margin-top: -2.5rem; position: relative; z-index: 2; }
.sheet-content .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(207,174,110,0.35);
  background: rgba(10,10,11,0.6);
  margin-bottom: 1rem;
}
.sheet-content h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.sheet-content .claim { color: var(--gold); font-size: 1.15rem; font-weight: 500; margin-top: 0.5rem; }
.sheet-content .desc { margin-top: 1.5rem; max-width: 62ch; }
.sheet-content .desc p { color: var(--text-dim); margin-bottom: 1rem; }
.sheet-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.sheet-gallery figure {
  border-radius: var(--radius-s);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0a0b;
}
.sheet-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.sheet-gallery figure:hover img { transform: scale(1.04); }
.sheet-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.sheet-next {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-dim);
  background: none;
  border: 0;
  font-size: 1rem;
  transition: color 0.25s var(--ease);
}
.sheet-next:hover { color: var(--gold-bright); }
.sheet-next strong { color: var(--text); }
.sheet-next:hover strong { color: var(--gold-bright); }

body.sheet-open { overflow: hidden; }

/* ---------- Zitat / Manifest ---------- */

.manifest {
  background:
    linear-gradient(rgba(6,6,7,0.55), rgba(6,6,7,0.78)),
    url("../assets/img/makro-fassen.jpg") center / cover no-repeat;
  border-block: 1px solid var(--border);
}
.manifest blockquote {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
}
.manifest blockquote em { color: var(--gold-bright); font-style: normal; }
.manifest .attribution { text-align: center; color: var(--text-faint); margin-top: 1.75rem; font-size: 0.95rem; }

/* ---------- Der Meister ---------- */

.meister-card {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: flex-start;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.meister-card::before {
  content: "„";
  position: absolute;
  top: -1.5rem;
  right: 1.5rem;
  font-size: 11rem;
  font-weight: 700;
  color: rgba(207,174,110,0.1);
  line-height: 1;
  pointer-events: none;
}
.meister-card img {
  flex: none;
  width: 132px; height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(207,174,110,0.45);
  padding: 4px;
  background: var(--bg);
}
.meister-card blockquote p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1rem;
  max-width: 62ch;
}
.meister-card footer { margin-top: 1.4rem; }
.meister-card footer strong { display: block; font-size: 1.05rem; }
.meister-card footer span { color: var(--gold); font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 680px) {
  .meister-card { flex-direction: column; align-items: center; text-align: center; }
  .meister-card blockquote p { max-width: none; }
}

/* ---------- News & Termine ---------- */

.sub-block-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 1.25rem;
}
#blogWrap .sub-block-title { margin-top: 3rem; }
#termineWrap[hidden] + #blogWrap .sub-block-title { margin-top: 0; }

.termine-list { display: grid; gap: 0.85rem; }
.termin-row {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1.35rem 1.6rem;
  border-radius: var(--radius-m);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease);
}
.termin-row:hover { transform: translateX(5px); border-color: rgba(207,174,110,0.35); }
.termin-datum {
  flex: none;
  text-align: center;
  min-width: 74px;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-s);
  background: var(--gold-dim);
  border: 1px solid rgba(207,174,110,0.3);
}
.termin-datum .tag-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.termin-datum .monat {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.termin-main { flex: 1; min-width: 0; }
.termin-main h4 { font-size: 1.15rem; letter-spacing: -0.01em; }
.termin-main .zeitraum { color: var(--gold); font-size: 0.9rem; font-weight: 500; }
.termin-main .ort { color: var(--text-dim); font-size: 0.95rem; margin-top: 0.15rem; }
.termin-main .beschreibung { color: var(--text-faint); font-size: 0.92rem; margin-top: 0.35rem; }
.termin-row .link-arrow { flex: none; }
@media (max-width: 640px) {
  .termin-row { flex-wrap: wrap; }
}

.termine-leer { color: var(--text-faint); font-size: 0.98rem; padding: 0.5rem 0; }

.termine-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.termine-toggle:hover { color: var(--gold-bright); border-color: rgba(207,174,110,0.4); }
.termine-toggle .chev { display: inline-block; transition: transform 0.3s var(--ease); }
.termine-toggle .chev.up { transform: rotate(180deg); }

.termine-vergangen { margin-top: 1rem; }
.termin-row.vergangen {
  opacity: 0.65;
  background: transparent;
  border-style: dashed;
}
.termin-row.vergangen:hover { opacity: 0.9; transform: none; }
.termin-row.vergangen .termin-datum {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-strong);
}
.termin-row.vergangen .termin-datum .tag-num,
.termin-row.vergangen .termin-datum .monat { color: var(--text-faint); }
.termin-row.vergangen .zeitraum { color: var(--text-faint); }
.vergangen-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease);
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(207,174,110,0.4); }
.blog-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.blog-card .blog-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}
.blog-card .blog-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.blog-card:hover .blog-media img { transform: scale(1.05); }
.blog-card .blog-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.blog-card .blog-meta { font-size: 0.8rem; color: var(--text-faint); display: flex; gap: 0.6rem; align-items: center; }
.blog-card .blog-meta .kat { color: var(--gold); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; }
.blog-card h4 { font-size: 1.2rem; color: var(--text); letter-spacing: -0.01em; }
.blog-card p { color: var(--text-dim); font-size: 0.95rem; flex: 1; }
.blog-card .cta-row { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--gold); font-size: 0.9rem; font-weight: 600; }

/* ---------- Testimonials ---------- */

.testimonials { background: var(--bg-elev); border-block: 1px solid var(--border); }
.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 960px) { .testi-track { grid-template-columns: 1fr; } }
.testi-card {
  padding: 2.1rem 1.9rem;
  border-radius: var(--radius-m);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.testi-stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.95rem; }
.testi-card p { color: var(--text-dim); font-size: 0.98rem; flex: 1; }
.testi-card footer strong { display: block; font-size: 0.98rem; }
.testi-card footer span { color: var(--text-faint); font-size: 0.88rem; }

/* ---------- Partner ---------- */

/* Endlos-Laufband der Partner-Logos, links/rechts sanft auslaufend */
.partner-row {
  margin-top: 2.5rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.partner-track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 5.5rem);
  width: max-content;
  padding-right: clamp(3rem, 6vw, 5.5rem); /* Lücke vor der Wiederholung */
  animation: partnerLauf 36s linear infinite;
}
.partner-row:hover .partner-track { animation-play-state: paused; }
@keyframes partnerLauf {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partner-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}
.partner-row img {
  /* Grundhöhe für Wortmarken – per Klasse fein abgestimmt */
  height: 30px;
  width: auto;
  flex: none;
  object-fit: contain;
  /* Standard: weiße Logos auf Transparenz (Cede, Ernstes Design, Kerodia, Swiss Diamond) */
  filter: grayscale(1) brightness(1.1);
  opacity: 0.7;
  transition: opacity 0.35s var(--ease);
}
.partner-row img.logo-square { height: 60px; }   /* runde/quadratische Bildmarken */
.partner-row img.logo-flach { height: 22px; }    /* sehr breite, flache Wortmarken */
.partner-row img.logo-hoch { height: 48px; }     /* kompakte, hohe Logos */
.partner-row img:hover { opacity: 1; }

/* ---------- Videos ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.video-card {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: var(--surface);
  display: block;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease);
}
.video-card:hover { transform: translateY(-5px); border-color: rgba(207,174,110,0.4); }
.video-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: filter 0.4s var(--ease), transform 0.8s var(--ease-out);
}
.video-card:hover img { filter: brightness(0.9); transform: scale(1.04); }
.video-card .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}
.video-card .play span {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(10,10,11,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.video-card:hover .play span { transform: scale(1.12); background: var(--gold); color: #0a0a0b; }
.video-card .video-title {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.1rem 1.3rem;
  background: linear-gradient(to top, rgba(4,4,5,0.85), transparent);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 820px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-bright); }
.faq-item summary .chev {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  font-size: 0.8rem;
}
.faq-item[open] summary .chev { transform: rotate(45deg); background: var(--gold); color: #0a0a0b; border-color: var(--gold); }
.faq-item .faq-body { padding: 0 0 1.5rem; color: var(--text-dim); max-width: 62ch; }

/* ---------- Kontakt ---------- */

.kontakt-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .kontakt-grid { grid-template-columns: 1fr; } }

.kontakt-info-list { display: grid; gap: 1rem; margin-top: 2.25rem; }
.kontakt-info {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-s);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
a.kontakt-info:hover { border-color: rgba(207,174,110,0.4); transform: translateX(4px); }
.kontakt-info .ico {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gold-dim);
  color: var(--gold-bright);
}
.kontakt-info strong { display: block; font-size: 0.85rem; color: var(--text-faint); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.kontakt-info span { font-size: 1.05rem; color: var(--text); }

.form-card {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
  font-weight: 500;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-s);
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(207,174,110,0.05);
}
.field textarea { resize: vertical; min-height: 130px; }
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.form-note { font-size: 0.82rem; color: var(--text-faint); margin-top: 1rem; }
.form-note a { color: var(--gold); }
.form-submit { margin-top: 1.5rem; width: 100%; justify-content: center; }
.form-feedback { margin-top: 1rem; font-size: 0.95rem; color: var(--gold-bright); min-height: 1.4em; }

/* ---------- CTA-Band ---------- */

.cta-band {
  border-block: 1px solid var(--border);
  background:
    linear-gradient(rgba(6,6,7,0.5), rgba(6,6,7,0.72)),
    url("../assets/img/diamant-stillleben.jpg") center / cover no-repeat;
  text-align: center;
}
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.5rem); max-width: 20ch; margin-inline: auto; }
.cta-band .subhead { max-width: 52ch; margin: 1.25rem auto 0; }
.cta-band .btn { margin-top: 2.25rem; }

/* ---------- Footer ---------- */

footer.site-footer {
  padding: 4rem 0 2.5rem;
  background: #040405;
  border-top: 1px solid var(--border);
}

/* Instagram-Block im Footer */
.insta-block {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.insta-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.insta-title { font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -0.02em; }
.insta-title a { color: var(--gold-bright); transition: color 0.25s var(--ease); }
.insta-title a:hover { color: var(--gold); }
.insta-sub { color: var(--text-dim); font-size: 0.98rem; margin-top: 0.4rem; max-width: 52ch; }
.insta-follow { flex: none; }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
@media (max-width: 800px) { .insta-grid { grid-template-columns: repeat(2, 1fr); } }
.insta-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-s);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.insta-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.4s var(--ease);
  filter: brightness(0.92);
}
.insta-tile:hover img { transform: scale(1.06); filter: brightness(1); }
.insta-tile .insta-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6,6,7,0.45);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  color: #fff;
}
.insta-tile:hover .insta-overlay { opacity: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 30px; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--text-faint); font-size: 0.92rem; max-width: 36ch; }
.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--text-dim); font-size: 0.95rem; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-col li { color: var(--text-dim); font-size: 0.95rem; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--gold-bright); }

/* ---------- Legal pages ---------- */

.legal-main { padding: calc(var(--nav-h) + 4rem) 0 5rem; min-height: 70vh; }
.legal-main h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 2rem; }
.legal-main h2 { font-size: 1.3rem; margin: 2.25rem 0 0.75rem; }
.legal-main p, .legal-main li { color: var(--text-dim); max-width: 75ch; margin-bottom: 0.9rem; }
.legal-main ul { padding-left: 1.25rem; }
.legal-main a { color: var(--gold); }

/* ---------- Consent-Banner ---------- */

.consent {
  position: fixed;
  z-index: 1100;
  inset: auto 0 0 0;
  display: flex;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}
.consent-card {
  pointer-events: all;
  width: min(560px, 100%);
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-m);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 24px 70px rgba(0,0,0,0.65);
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease);
}
.consent.offen .consent-card { transform: none; opacity: 1; }
.consent-kopf { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.consent-kopf h2 { font-size: 1.1rem; letter-spacing: -0.01em; }
.consent-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--gold-dim);
  color: var(--gold-bright);
  flex: none;
}
.consent-text { color: var(--text-dim); font-size: 0.92rem; line-height: 1.55; }
.consent-text a { color: var(--gold); }
.consent-optionen { display: grid; gap: 0.6rem; margin-top: 1rem; }
.consent-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
}
.consent-option small { color: var(--text-faint); line-height: 1.45; display: inline-block; margin-top: 0.15rem; }
.consent-option input {
  flex: none;
  margin-top: 0.2rem;
  width: 20px; height: 20px;
  accent-color: var(--gold);
  cursor: pointer;
}
.consent-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.consent-buttons .btn { padding: 0.6rem 1.3rem; min-height: 42px; font-size: 0.92rem; }
.consent-link {
  background: none;
  border: 0;
  color: var(--text-faint);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.4rem 0.2rem;
}
.consent-link:hover { color: var(--gold-bright); }

/* Blockierte Video-Vorschau (ohne Medien-Einwilligung) */
.video-card.media-blocked img { display: none; }
.video-card.media-blocked::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(320px 180px at 50% 40%, rgba(207,174,110,0.08), transparent 70%),
    var(--surface);
}
.video-card.media-blocked .play { display: none; }
.video-card.media-blocked::after {
  content: "Vorschaubild von YouTube – klicken, um externe Medien zu erlauben.";
  position: absolute;
  inset: 0 0 3.4rem 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- Utility ---------- */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
