/*
 * Voltage Kollektiv – Motion & Feinschliff (Theme 2.0)
 * Wird nach site.css geladen. Alle Start-Zustände für Animationen hängen an html.motion:
 * Ohne JavaScript oder bei "Bewegung reduzieren" bleibt alles sofort sichtbar.
 */

/* ------------------------------------------------------------------ Tokens */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --hot: #ff4d5c;
  --glow: rgba(206, 89, 98, .45);
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'JetBrains Mono', 'Roboto Mono', Consolas, 'Liberation Mono', monospace;
  --header-h: 88px;
}
@media (max-width: 760px) { :root { --header-h: 74px; } }

html { scrollbar-color: #4a2a2e #0b0b0b; }
body { overflow-x: clip; }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------ Lesbarkeit */
.eyebrow, .mono { font-size: 12px; letter-spacing: .14em; }
.tag { font-size: 10.5px; padding: 6px 11px; border-radius: 99px; }
.hero-bottom { font-size: 11px; text-transform: uppercase; }
.visual-label, .footer-motto { font-size: 10.5px; }
.collective-values { font-size: 11px; letter-spacing: .1em; }
.gallery-overlay small { font-size: 10.5px; }
.gallery-note { font-size: 13px; }
.rental-detail { font-size: 10.5px; letter-spacing: .08em; }
.rental-bottom > span { font-size: 11px; }
.footer-legal { font-size: 12.5px; }
.footer-bottom { font-size: 10.5px; letter-spacing: .08em; }
.wordmark small { font-size: 9px; }
.dialog-body > .eyebrow { font-size: 11px; }
.inquiry-note { font-size: 14px; }
.inquiry-dialog label { font-size: 12.5px; }
input, select, textarea { font-size: 15px; }
.event-slide-meta, .event-meta { font-size: 11.5px; }
.event-carousel-count { font-size: 12px; }
.event-rotation { font-size: 11px; }
.service-topics, .service-item > .service-detail { font-size: 11.5px; }
.service-number, .process-list > li::before { font-size: 12px; }
.speaker-specs dt { font-size: 11.5px; }
.speaker-specs dd { font-size: 13px; }
.speaker-detail .eyebrow, .event-archive-info .eyebrow, .editorial-section .eyebrow, .editorial-cta .eyebrow { font-size: 11px; }
.sound-data-notes, .sound-availability, .availability-note { font-size: 12.5px; }
.equipment-group h3 { font-size: 12px; }
.equipment-list dd { font-size: 13px; }
.equipment-quantity { font-size: 13px; min-width: 46px; }
.event-archive-lineup { font-size: 11.5px; }
.event-detail-meta strong { font-size: 10.5px; }
.about-brand .mono { font-size: 11px; }
.lightbox-position { font-size: 12px; }
.lightbox-bar p { font-size: 14px; }
@media (max-width: 1050px) { .rental-detail { font-size: 10.5px; } }
@media (max-width: 760px) {
  .eyebrow, .mono { font-size: 11px; }
  .section-top > .mono { font-size: 10.5px; max-width: 150px; }
  .hero-bottom { font-size: 10.5px; }
  .footer-legal { font-size: 12.5px; gap: 10px; }
  .footer-bottom { font-size: 10px; }
  .gallery-note { font-size: 12.5px; }
  .rental-detail, .event-slide-meta { font-size: 10.5px; }
  .inquiry-dialog label { font-size: 12px; }
  .lightbox-bar p { font-size: 12.5px; }
  .lightbox-position { font-size: 11px; }
  .service-topics { font-size: 11px; }
}

/* --------------------------------------------------- Globale Bedienelemente */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--red-dark), var(--hot));
  box-shadow: 0 0 14px var(--glow);
  transform: scaleX(0); transform-origin: left; pointer-events: none;
}
.admin-bar .scroll-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .scroll-progress { top: 46px; } }

/* Filmkorn: eine feste, sehr dezente Ebene über der Seite. */
body::after {
  content: ''; position: fixed; inset: -50%; width: 200%; height: 200%; z-index: 55;
  pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
html.motion body::after { animation: grain 1.1s steps(5) infinite; }
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); } 20% { transform: translate3d(-3%, 2%, 0); }
  40% { transform: translate3d(2%, -4%, 0); } 60% { transform: translate3d(-4%, -1%, 0); }
  80% { transform: translate3d(3%, 3%, 0); } 100% { transform: translate3d(0, 0, 0); }
}

/* Cursor-Begleiter (nur Maus, wird per JS erzeugt). Der normale Mauszeiger bleibt erhalten. */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 58; pointer-events: none;
  width: 0; height: 0; opacity: 0; transition: opacity .3s;
}
.cursor.is-visible { opacity: 1; }
body.modal-open .cursor { opacity: 0; }
.cursor-ring {
  position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  display: grid; place-items: center; border: 1px solid rgba(241, 239, 233, .5); border-radius: 50%;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background .3s, border-color .3s, transform .2s;
}
.cursor-ring span { opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-link .cursor-ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--red); background: rgba(206, 89, 98, .1); }
.cursor.is-label .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; border-color: var(--red); background: rgba(169, 54, 64, .92); }
.cursor.is-label .cursor-ring span { opacity: 1; }
.cursor.is-down .cursor-ring { transform: scale(.82); }

/* Seitenwechsel: weiche Überblendung zwischen den Seiten (moderne Browser). */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: .26s ease both vt-out; }
  ::view-transition-new(root) { animation: .55s cubic-bezier(.16, 1, .3, 1) both vt-in; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(20px); } }

/* ------------------------------------------------------------------ Header */
.site-header {
  background: rgba(11, 11, 11, .7); backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: #ffffff12;
  transition: transform .55s var(--ease-out), background .3s, border-color .3s;
  view-transition-name: site-header;
}
.site-header.is-scrolled { background: rgba(11, 11, 11, .9); border-bottom-color: #ffffff1c; }
.site-header.is-hidden { transform: translateY(-101%); }
.wordmark-logo { transition: transform .5s var(--ease-out), filter .4s; }
.wordmark:hover .wordmark-logo { transform: scale(1.06) rotate(-2deg); filter: drop-shadow(0 0 14px var(--glow)); }
.nav-contact { transition: border-color .3s, color .3s, background .3s, transform .5s var(--ease-out); }
.nav-contact .icon { transition: transform .35s var(--ease-out); }
.nav-contact:hover .icon { transform: translate(3px, -3px); }
.menu-toggle span { transition: transform .4s var(--ease-out); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 1101px) {
  .main-nav > a { position: relative; }
  .main-nav > a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--red);
    transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
  }
  .main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
}

/* Mobiles Menü als Vollbild mit gestaffelt einlaufenden Links. */
@media (max-width: 1100px) {
  .main-nav {
    display: flex; visibility: hidden; opacity: 0; pointer-events: none;
    top: 100%; height: calc(100dvh - var(--header-h) - var(--wp-admin--admin-bar--height, 0px)); max-height: none;
    background: #0b0b0bfc; border-bottom: 0; padding: 22px 32px 34px; overflow-y: auto;
    transition: opacity .3s ease, visibility 0s linear .3s;
  }
  .main-nav.open { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .3s ease, visibility 0s; }
  .main-nav > a {
    font-family: var(--display); font-size: clamp(32px, 6.2vw, 50px); line-height: 1.05; letter-spacing: -.02em;
    color: var(--ink); padding: 13px 0; border-bottom: 1px solid #1e1e1e;
    opacity: 0; transform: translate3d(0, 24px, 0);
    transition: opacity .3s ease, transform .3s ease, color .2s;
  }
  .main-nav.open > a { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .7s var(--ease-out), color .2s; transition-delay: calc(var(--n, 0) * 55ms + 80ms); }
  .main-nav > a:nth-child(1) { --n: 0; } .main-nav > a:nth-child(2) { --n: 1; } .main-nav > a:nth-child(3) { --n: 2; }
  .main-nav > a:nth-child(4) { --n: 3; } .main-nav > a:nth-child(5) { --n: 4; } .main-nav > a:nth-child(6) { --n: 5; }
  .main-nav > a[aria-current="page"] { color: var(--red); }
  .main-nav .nav-contact { margin: 26px 0 0; padding: 18px; font-size: 14px; opacity: 0; transition: opacity .5s ease .45s, border-color .3s, color .3s; }
  .main-nav.open .nav-contact { opacity: 1; }
}
@media (max-width: 760px) { .main-nav { padding: 16px 20px 28px; } }

/* -------------------------------------------------------- Buttons & Links */
.button { position: relative; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease-out), box-shadow .4s, background .3s; }
.button:hover { transform: translateY(-2px); }
.button-red::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, #d9646d, #b63c47);
  transform: translateX(-101%); transition: transform .55s var(--ease-out);
}
.button-red:hover { background: var(--red-dark); box-shadow: 0 14px 44px -14px rgba(206, 89, 98, .75); }
.button-red:hover::before { transform: none; }
.button .icon { transition: transform .4s var(--ease-out); }
.button:hover .icon { transform: translate(3px, -3px); }
.text-link { transition: color .25s; }
.text-link > span { display: inline-block; transition: transform .4s var(--ease-out); }
.text-link:hover > span, a:hover > .text-link > span { transform: translate(4px, -4px); }
[data-magnetic] { will-change: transform; }

/* ------------------------------------------------------ Einblend-System */
html.motion [data-reveal] {
  opacity: 0; transform: translate3d(0, 36px, 0);
  transition: opacity .9s var(--ease-out), transform 1.05s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 95ms);
}
html.motion [data-reveal="fade"] { transform: none; }
html.motion [data-reveal="scale"] { transform: translate3d(0, 26px, 0) scale(.965); }
/* "clip": Der Inhalt wird aufgezogen. Die Maske liegt auf den Kindern – ein selbst
   vollständig beschnittenes Element würde vom IntersectionObserver nie als sichtbar gemeldet. */
html.motion [data-reveal="clip"] { opacity: 1; transform: none; transition: none; }
html.motion [data-reveal="clip"] > * {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.15s var(--ease-out), transform 1.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 130ms);
}
html.motion [data-reveal].is-in { opacity: 1; transform: none; }
html.motion [data-reveal="clip"].is-in > * { clip-path: inset(0); }
html.motion [data-reveal="clip"] > img { transform: scale(1.22); }
html.motion [data-reveal="clip"].is-in > img { transform: none; }

/* Überschriften: Zeile für Zeile aus einer Maske hochfahren. */
.split-line { display: block; overflow: hidden; padding: .12em 0 .08em; margin: -.12em 0 -.08em; }
.split-inner { display: block; }
html.motion [data-split] { visibility: hidden; }
html.motion [data-split].is-split { visibility: visible; }
html.motion .is-split .split-inner { transform: translate3d(0, 112%, 0); transition: transform 1.15s var(--ease-out); transition-delay: calc(var(--l, 0) * 120ms); }
html.motion .is-split.is-in .split-inner { transform: none; }

[data-tilt] { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease-out); }

/* Lichtkegel, der der Maus über Karten folgt. */
[data-spotlight] { position: relative; isolation: isolate; }
[data-spotlight]::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(206, 89, 98, .16), transparent 62%);
}
[data-spotlight]:hover::before { opacity: 1; }

/* -------------------------------------------------------------------- Hero */
.hero { min-height: 720px; max-height: 1040px; }
.hero-media { position: absolute; inset: -9% 0; z-index: -4; }
.hero-photo { z-index: auto; opacity: .5; }
html.motion .hero-photo { animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.hero-shade { background: linear-gradient(90deg, #0b0b0bf2 0%, #0b0b0bcc 38%, #0b0b0b3d 78%), linear-gradient(0deg, #0b0b0b 0%, transparent 42%), radial-gradient(60% 70% at 74% 48%, rgba(206, 89, 98, .16), transparent 70%); }
.hero-grid {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(#ffffff0b 1px, transparent 1px), linear-gradient(90deg, #ffffff0b 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 55% 68% at 72% 48%, #000 8%, transparent 74%);
  mask-image: radial-gradient(ellipse 55% 68% at 72% 48%, #000 8%, transparent 74%);
}
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

.hero h1.hero-title { font-size: clamp(62px, 9vw, 138px); line-height: .88; }
.hero h1.hero-title span { color: inherit; }
.hero h1.hero-title .hero-line-accent { color: var(--red); }
.hero-line { display: block; overflow: hidden; padding: .07em .04em .03em 0; margin: -.07em 0 -.03em; }
.hero-line > span { display: inline-block; }
html.motion .hero-line > span { animation: line-up 1.2s var(--ease-out) .1s backwards; }
html.motion .hero-line-accent > span { animation-delay: .24s; }
@keyframes line-up { from { transform: translate3d(0, 112%, 0); } }
html.motion .hero-description { animation: rise 1s var(--ease-out) .5s backwards; }
html.motion .hero-actions { animation: rise 1s var(--ease-out) .65s backwards; }
html.motion .hero-bottom { animation: rise 1s var(--ease-out) .9s backwards; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } }

/* Glitch: kurzer Bildstörungs-Effekt auf dem Schriftzug, alle paar Sekunden. */
.glitch { position: relative; display: inline-block; }
html.motion .glitch::before, html.motion .glitch::after { content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none; }
html.motion .glitch::before { color: var(--hot); animation: glitch-a 6.5s steps(1) 2.6s infinite; }
html.motion .glitch::after { color: #fff; animation: glitch-b 6.5s steps(1) 2.6s infinite; }
@keyframes glitch-a {
  0%, 89%, 100% { opacity: 0; transform: none; }
  90% { opacity: .95; transform: translate(-7px, 2px); clip-path: inset(10% 0 62% 0); }
  92% { opacity: .95; transform: translate(6px, -1px); clip-path: inset(58% 0 12% 0); }
  94% { opacity: .95; transform: translate(-4px, 0); clip-path: inset(34% 0 40% 0); }
  96% { opacity: .95; transform: translate(8px, 1px); clip-path: inset(72% 0 6% 0); }
  97% { opacity: 0; }
}
@keyframes glitch-b {
  0%, 89%, 100% { opacity: 0; transform: none; }
  90% { opacity: .8; transform: translate(5px, -2px); clip-path: inset(44% 0 30% 0); }
  92% { opacity: .8; transform: translate(-6px, 1px); clip-path: inset(8% 0 76% 0); }
  94% { opacity: .8; transform: translate(4px, 2px); clip-path: inset(66% 0 14% 0); }
  96% { opacity: 0; }
}

.hero-emblem { filter: none; }
html.motion .hero-emblem { animation: emblem-in 1.5s var(--ease-out) .25s backwards; }
@keyframes emblem-in { from { opacity: 0; transform: perspective(1000px) translate3d(0, 44px, 0) scale(.86); } }
.hero-emblem img { position: relative; transition: filter .25s; }
html.motion .hero-emblem img { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -14px, 0); } }
.hero-emblem-glow { position: absolute; inset: 14% 10% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(206, 89, 98, .5), transparent 72%); filter: blur(26px); opacity: .55; pointer-events: none; }
html.motion .hero-emblem-glow { animation: pulse-glow 2.6s ease-in-out infinite; }
@keyframes pulse-glow { 0%, 100% { opacity: .35; transform: scale(.94); } 50% { opacity: .75; transform: scale(1.05); } }
.hero-emblem.is-struck img { filter: brightness(1.75) saturate(1.25); transition-duration: .04s; }
.hero-emblem.is-struck .hero-emblem-glow { opacity: 1; animation: none; transform: scale(1.15); }

.hero-bottom { align-items: flex-end; }
.scroll-cue { display: inline-flex; align-items: center; gap: 18px; }
.scroll-cue-line { position: relative; display: block; width: 1px; height: 46px; background: #ffffff26; overflow: hidden; }
.scroll-cue-line::after { content: ''; position: absolute; inset: 0; background: var(--hot); transform: translateY(-100%); }
html.motion .scroll-cue-line::after { animation: cue 2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(100%); } }
.scroll-cue:hover { color: var(--ink); }

@media (max-width: 760px) {
  .hero { min-height: 820px; }
  .hero h1.hero-title { font-size: clamp(56px, 16vw, 104px); }
  .hero-grid { -webkit-mask-image: radial-gradient(ellipse 90% 45% at 50% 72%, #000 8%, transparent 76%); mask-image: radial-gradient(ellipse 90% 45% at 50% 72%, #000 8%, transparent 76%); }
  .hero-bottom > span { display: none; }
  .scroll-cue-line { height: 30px; }
}
@media (max-width: 380px) { .hero h1.hero-title { font-size: 15.5vw; } }

/* ----------------------------------------------------------------- Laufband */
.marquee { overflow: hidden; padding: 22px 0 20px; background: #100d0d; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; }
html.motion .marquee-track { animation: marquee 36s linear infinite; }
@keyframes marquee { to { transform: translate3d(-25%, 0, 0); } }
.marquee-group { display: flex; align-items: center; gap: clamp(24px, 3.4vw, 50px); padding-right: clamp(24px, 3.4vw, 50px); font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.8vw, 68px); line-height: 1; letter-spacing: -.015em; white-space: nowrap; color: var(--ink); }
.marquee-group .is-outline { color: transparent; -webkit-text-stroke: 1px var(--red); }
.marquee-group svg { width: .36em; height: .62em; color: var(--red); flex-shrink: 0; }

/* ------------------------------------------------------------------ Events */
.section { padding: 122px 0; }
@media (max-width: 1050px) { .section { padding: 88px 0; } }
@media (max-width: 760px) { .section { padding: 68px 0; } }
.section-top .eyebrow, .collective-copy > .eyebrow, .contact-section .eyebrow { min-height: 1.5em; }

.event-slide { transition: border-color .4s; overflow: hidden; }
.event-slide:hover { border-color: #5a2f33; }
.event-slide-poster > img { transition: transform 1.2s var(--ease-out); }
.event-slide-link:hover .event-slide-poster > img { transform: scale(1.035); }
.event-carousel-navigation button, .event-rotation { transition: border-color .25s, color .25s, background .25s, transform .4s var(--ease-out); }
.event-carousel-navigation button:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.event-carousel-navigation button:active { transform: scale(.92); }

html.motion .event-carousel[data-carousel-ready] .event-slide { transform: none; transition: opacity .45s ease, visibility 0s linear .45s, border-color .4s; }
html.motion .event-carousel[data-carousel-ready] .event-slide.is-active { transition: opacity .45s ease, visibility 0s, border-color .4s; }
html.motion .event-carousel[data-carousel-ready] .event-slide-poster > * { clip-path: inset(0 100% 0 0); transform: scale(1.1); transition: clip-path 0s .45s, transform 0s .45s; }
html.motion .event-carousel[data-carousel-ready] .is-active .event-slide-poster > * { clip-path: inset(0); transform: none; transition: clip-path 1s var(--ease-out) .05s, transform 1.5s var(--ease-out) .05s; }
html.motion .event-carousel[data-carousel-ready] .event-slide-copy > * { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 0s .45s, transform 0s .45s; }
html.motion .event-carousel[data-carousel-ready] .is-active .event-slide-copy > * { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
html.motion .event-carousel[data-carousel-ready] .is-active .event-slide-copy > :nth-child(1) { transition-delay: .12s; }
html.motion .event-carousel[data-carousel-ready] .is-active .event-slide-copy > :nth-child(2) { transition-delay: .19s; }
html.motion .event-carousel[data-carousel-ready] .is-active .event-slide-copy > :nth-child(3) { transition-delay: .26s; }
html.motion .event-carousel[data-carousel-ready] .is-active .event-slide-copy > :nth-child(4) { transition-delay: .33s; }
html.motion .event-carousel[data-carousel-ready] .is-active .event-slide-copy > :nth-child(5) { transition-delay: .4s; }
/* Fortschrittslinie bis zum nächsten automatischen Wechsel. */
.event-slide { position: relative; }
html.motion .event-carousel[data-playing="true"] .event-slide.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--hot);
  transform-origin: left; animation: carousel-progress 7s linear both;
}
@keyframes carousel-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.event-art { overflow: hidden; }
html.motion .event-art > svg { animation: float 6s ease-in-out infinite; }

/* --------------------------------------------------------------- Kollektiv */
.collective-visual > img { filter: drop-shadow(0 0 34px rgba(206, 89, 98, .28)); }
.orbit::before { content: ''; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 16px 2px var(--glow); }
html.motion .orbit-one { animation: orbit 34s linear infinite; }
html.motion .orbit-two { animation: orbit 52s linear infinite reverse; }
@keyframes orbit { from { transform: rotate(-30deg); } to { transform: rotate(330deg); } }
html.motion .visual-cross { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------------- Galerie */
.gallery-item { cursor: zoom-in; }
.gallery-item > img { transition: transform 1.3s var(--ease-out), filter .6s; }
.gallery-item:hover > img, .gallery-item:focus-visible > img { transform: scale(1.07); filter: saturate(1.05); }
.gallery-overlay > span { transition: transform .55s var(--ease-out); }
.gallery-item:hover .gallery-overlay > span { transform: translate3d(0, -6px, 0); }
.gallery-overlay .icon { transition: transform .5s var(--ease-out), background .3s, border-color .3s; }
.gallery-item:hover .gallery-overlay .icon { transform: rotate(45deg); background: var(--red-dark); border-color: var(--red-dark); }

/* -------------------------------------------------------------- Vermietung */
.stat-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 54px; border-top: 1px solid var(--line); }
.stat-band > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; padding: 26px 20px 0 0; }
.stat-band > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-band dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(50px, 6.4vw, 96px); line-height: .86; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-band dd small { font-family: var(--mono); font-weight: 400; font-size: 13px; letter-spacing: .08em; color: var(--red); margin-left: 8px; }
.stat-band dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .stat-band { margin-bottom: 38px; }
  .stat-band > div { padding: 20px 8px 18px 0; }
  .stat-band > div + div { padding-left: 14px; }
  .stat-band dd { font-size: clamp(44px, 13vw, 60px); }
  .stat-band dd small { display: block; margin: 8px 0 0; font-size: 12px; }
  .stat-band dt { font-size: 10px; letter-spacing: .06em; }
}

.rental-card { padding: 30px 30px 0; margin: 0; transition: background .4s; }
.rental-card + .rental-card { padding-left: 30px; }
.rental-card h3 { transition: color .3s; }
.rental-card:hover h3 { color: var(--red); }
.rental-card:hover { --pump: running; }
.rental-link { transition: color .25s; }
.rental-link:hover { color: var(--red); }
.rental-link .icon { transition: transform .4s var(--ease-out); }
.equipment-icon { transition: transform .6s var(--ease-out), filter .4s; }
.rental-card:hover .equipment-icon { transform: scale(1.08) rotate(-4deg); filter: drop-shadow(0 0 12px var(--glow)); }
.cone, .cone-small { transform-box: fill-box; transform-origin: center; }
html.motion .cone { animation: pump .42s ease-in-out infinite alternate; animation-play-state: var(--pump, paused); }
html.motion .cone-small { animation: pump .42s ease-in-out .1s infinite alternate; animation-play-state: var(--pump, paused); }
@keyframes pump { to { transform: scale(1.16); } }
@media (max-width: 1050px) { .rental-card, .rental-card + .rental-card { padding: 26px 20px 0; } }
@media (max-width: 760px) { .rental-card, .rental-card + .rental-card { padding: 26px 0 0; } }
.home-service h3 { transition: color .3s; }

/* ----------------------------------------------------------------- Kontakt */
.contact-section { position: relative; overflow: hidden; isolation: isolate; }
.contact-glow { position: absolute; z-index: -1; right: -12%; top: 4%; width: min(64vw, 900px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(206, 89, 98, .2), transparent 72%); pointer-events: none; }
html.motion .contact-glow { animation: drift 13s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-14%, 10%, 0) scale(1.15); } }
.contact-heading h2 { font-size: clamp(54px, 9.4vw, 150px); line-height: .88; }
.contact-round { position: relative; width: 190px; height: 190px; border-color: #6a2e33; transition: background .45s var(--ease-out), border-color .3s, transform .6s var(--ease-out); }
.contact-round .icon { transition: transform .5s var(--ease-out), color .3s; }
.contact-round:hover .icon { transform: rotate(45deg) scale(1.1); }
.contact-ring { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); overflow: visible; pointer-events: none; }
.contact-ring text { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; fill: #c9c4c2; transition: fill .3s; }
.contact-round:hover .contact-ring text { fill: #17090a; }
html.motion .contact-ring { animation: spin 20s linear infinite; }
@media (max-width: 760px) {
  .contact-heading h2 { font-size: clamp(50px, 15vw, 84px); }
  .contact-round { width: 72px; height: 72px; }
  .contact-ring { display: none; }
}
@media (max-width: 380px) { .contact-heading h2 { font-size: 46px; } .contact-round { width: 56px; height: 56px; } }

/* ------------------------------------------------------------------ Footer */
.site-footer { position: relative; overflow: hidden; }
.footer-wordmark { margin: -6px 0 30px; text-align: center; line-height: .78; user-select: none; }
.footer-wordmark span {
  display: block; font-family: var(--display); font-weight: 700; letter-spacing: -.03em;
  font-size: min(calc((100vw - 112px) / 3.72), 356px);
  color: transparent; -webkit-text-stroke: 1px #47292c;
  background: linear-gradient(180deg, rgba(206, 89, 98, .2), transparent 78%); -webkit-background-clip: text; background-clip: text;
  transition: -webkit-text-stroke-color .6s;
}
.footer-wordmark:hover span { -webkit-text-stroke-color: var(--red); }
@media (max-width: 1050px) { .footer-wordmark span { font-size: calc((100vw - 64px) / 3.72); } }
@media (max-width: 760px) { .footer-wordmark { margin-bottom: 22px; } .footer-wordmark span { font-size: calc((100vw - 40px) / 3.72); } }
.footer-nav a, .footer-legal a, .footer-legal button, .footer-bottom a { transition: color .25s; }
.footer-bottom a:hover { color: var(--red); }

/* ----------------------------------------------------------------- Dialoge */
dialog {
  opacity: 0; transform: translate3d(0, 26px, 0) scale(.975);
  transition: opacity .35s ease, transform .5s var(--ease-out), overlay .5s allow-discrete, display .5s allow-discrete;
}
dialog[open] { opacity: 1; transform: none; }
@starting-style { dialog[open] { opacity: 0; transform: translate3d(0, 26px, 0) scale(.975); } }
dialog::backdrop { opacity: 0; transition: opacity .35s ease, overlay .35s allow-discrete, display .35s allow-discrete; }
dialog[open]::backdrop { opacity: 1; }
@starting-style { dialog[open]::backdrop { opacity: 0; } }
.dialog-close { transition: color .25s, border-color .25s, transform .5s var(--ease-out); }
.dialog-close:hover { transform: rotate(90deg); border-color: var(--red); }
input, select, textarea { transition: border-color .25s, box-shadow .25s, background .25s; }
input:focus, select:focus, textarea:focus { border-color: var(--red); background: #1d1b1b; box-shadow: 0 0 0 3px rgba(206, 89, 98, .16); outline: 0; }
.privacy-check input:focus { box-shadow: none; }
.lightbox-bar button { transition: border-color .25s, background .25s, color .25s; }
.lightbox-bar button:hover { background: var(--red-dark); border-color: var(--red-dark); }
html.motion .lightbox-image.is-swapping { animation: lightbox-swap .5s var(--ease-out); }
@keyframes lightbox-swap { from { opacity: 0; transform: scale(1.03); } }

/* ------------------------------------------------------------- Unterseiten */
.page-hero { position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ''; position: absolute; z-index: -2; right: -12%; top: -70%; width: 72%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(206, 89, 98, .17), transparent 72%); pointer-events: none;
}
html.motion .page-hero::before { animation: drift 16s ease-in-out infinite alternate; }
.page-back, .sound-back, .event-back { transition: color .25s, transform .4s var(--ease-out); }
.page-back:hover, .sound-back:hover, .event-back:hover { transform: translateX(-5px); }

/* Soundsystem */
.sound-hero h1 { font-size: clamp(44px, 6.4vw, 96px); line-height: .94; letter-spacing: -.025em; }
.sound-hero { padding-bottom: 64px; }
.eq-bars {
  position: absolute; inset: auto 0 0 0; height: 130px; z-index: -1; display: flex; align-items: flex-end; gap: 3px; padding: 0 2%;
  opacity: .3; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}
.eq-bars span { flex: 1; height: 100%; background: linear-gradient(var(--red), transparent); transform-origin: bottom; transform: scaleY(var(--p, .3)); }
html.motion .eq-bars span { animation: eq var(--d, 1s) ease-in-out var(--o, 0s) infinite alternate; }
@keyframes eq { from { transform: scaleY(.06); } to { transform: scaleY(var(--p, 1)); } }

.equipment-list > div { transition: padding .4s var(--ease-out), border-color .3s; }
.equipment-list > div:hover { padding-left: 10px; border-bottom-color: #5a2f33; }

.sound-range-section { padding: 10px 0 56px; }
.sound-range-intro { max-width: 620px; margin-top: 14px; font-size: 14px; line-height: 1.75; color: #bab7b4; }
.range-chart { display: grid; gap: 12px; margin-top: 32px; }
.range-row { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 20px; }
.range-name { font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1; }
.range-lane { position: relative; height: 46px; background: #ffffff07; border-inline: 1px solid var(--line); }
.range-bar { position: absolute; top: 7px; bottom: 7px; left: var(--start); width: calc(var(--end) - var(--start)); background: linear-gradient(90deg, var(--red-dark), var(--red)); transform-origin: left; box-shadow: 0 0 26px -6px var(--glow); }
.range-value { position: absolute; top: 50%; left: calc(var(--end) + 14px); transform: translateY(-50%); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: #d6d1ca; white-space: nowrap; }
.range-value-inside { left: auto; right: 14px; color: #fff; }
.range-axis .range-name { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.range-axis .range-lane { height: 20px; background: none; border: 0; }
.range-axis .range-lane span { position: absolute; left: var(--at); top: 2px; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.range-axis .range-lane span:first-child { transform: none; } .range-axis .range-lane span:last-child { transform: translateX(-100%); }
html.motion .range-chart .range-bar { transform: scaleX(0); transition: transform 1.3s var(--ease-out); }
html.motion .range-chart .range-value { opacity: 0; transition: opacity .6s ease; }
html.motion .range-chart.is-in .range-bar { transform: none; }
html.motion .range-chart.is-in .range-value { opacity: 1; }
html.motion .range-chart .range-row:nth-child(1) .range-bar { transition-delay: .25s; } html.motion .range-chart .range-row:nth-child(1) .range-value { transition-delay: .95s; }
html.motion .range-chart .range-row:nth-child(2) .range-bar { transition-delay: .45s; } html.motion .range-chart .range-row:nth-child(2) .range-value { transition-delay: 1.15s; }
html.motion .range-chart .range-row:nth-child(3) .range-bar { transition-delay: .65s; } html.motion .range-chart .range-row:nth-child(3) .range-value { transition-delay: 1.35s; }
@media (max-width: 760px) {
  .sound-range-section { padding-bottom: 38px; }
  .range-row { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .range-name { font-size: 20px; }
  .range-lane { height: 38px; }
  .range-value { font-size: 11px; left: calc(var(--end) + 9px); }
  .range-value-inside { left: auto; right: 9px; }
  .range-axis .range-name { display: none; }
  .range-axis .range-lane span:nth-child(even) { display: none; }
  .range-axis .range-lane span:last-child { display: block; }
}

.speaker-detail { padding: 22px 22px 8px; border-top-width: 2px; background: #ffffff03; transition: border-color .4s, transform .6s var(--ease-out); }
.speaker-detail:hover { border-top-color: var(--red); transform: translate3d(0, -4px, 0); }
.speaker-specs > div { transition: padding .35s var(--ease-out); }
.speaker-specs > div:hover { padding-left: 6px; }
.sound-request-inner, .editorial-cta-inner { transition: border-color .4s; }
.sound-request-inner:hover, .editorial-cta-inner:hover { border-color: #5a2f33; }

/* PA-Beratung */
.service-item { padding: 22px 22px 22px; background: #ffffff03; transition: border-color .4s, transform .6s var(--ease-out); }
.service-item:hover { border-top-color: var(--red); transform: translate3d(0, -4px, 0); }
.process-intro > p:not(.eyebrow) { max-width: 390px; margin-top: 23px; font-size: 14px; line-height: 1.8; color: #bab7b4; }
.phase-figure { margin: 34px 0 0; max-width: 460px; padding: 16px 16px 14px; border: 1px solid var(--line); background: #0b0c0d; }
.phase-canvas { display: block; width: 100%; height: auto; aspect-ratio: 520 / 230; }
.phase-figure figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.phase-readout { display: block; margin-bottom: 5px; color: var(--red); font-size: 11px; }
.process-list { position: relative; }
.process-list::before, .process-list::after { content: ''; position: absolute; left: 30px; top: 4px; bottom: 4px; width: 1px; background: var(--line); }
.process-list::after { background: var(--hot); transform: scaleY(var(--progress, 0)); transform-origin: top; box-shadow: 0 0 10px var(--glow); }
.process-list > li::before { background: #101112; padding: 3px 0; z-index: 1; }
@media (max-width: 760px) { .process-list::before, .process-list::after { left: 25px; } .phase-figure { max-width: none; } }

/* Über uns */
.about-brand { transition: border-color .4s; }
.about-brand:hover { border-color: #5a2f33; }
.about-brand img { filter: drop-shadow(0 0 30px rgba(206, 89, 98, .25)); }
html.motion .about-brand img { animation: float 7s ease-in-out infinite; }
.editorial-page h2.about-claim { font-size: clamp(40px, 5.6vw, 76px); line-height: .98; letter-spacing: -.025em; }
.about-work-grid article { padding: 25px 22px 22px; background: #ffffff03; transition: border-color .4s, transform .6s var(--ease-out); }
.about-work-grid article:hover { border-top-color: var(--red); transform: translate3d(0, -4px, 0); }

/* Eventarchiv & Eventdetail */
.event-archive-card { transition: transform .6s var(--ease-out), border-color .4s, box-shadow .5s; }
.event-archive-card:hover { transform: translate3d(0, -6px, 0); border-color: #5a2f33; box-shadow: 0 26px 60px -30px rgba(206, 89, 98, .5); }
.event-archive-arrow { transition: background .3s, border-color .3s, transform .5s var(--ease-out); }
.event-archive-card:hover .event-archive-arrow { background: var(--red-dark); border-color: var(--red-dark); transform: rotate(45deg); }
.event-archive-info h2 a { transition: color .25s; }
@media (min-width: 761px) { .event-detail-poster { position: sticky; top: calc(var(--header-h) + 28px); } }
.event-detail-poster { box-shadow: 0 30px 80px -40px rgba(206, 89, 98, .45); }
.event-detail-meta span.event-lineup { padding-left: 0; border-left: 0; }

/* Rechtstexte */
.legal-page-content h2 { padding-top: 26px; border-top: 1px solid var(--line); }
.legal-page-content h2:first-child { padding-top: 0; border-top: 0; margin-top: 0; }
.legal-page-content ul { padding-left: 20px; margin: 14px 0; }
.legal-page-content li + li { margin-top: 8px; }
.legal-page-content a { color: #e6a3a8; transition: color .2s; }
.legal-page-content a:hover { color: var(--hot); }
.legal-page-content .legal-placeholder-note { margin-bottom: 28px; }
.legal-page-content mark { background: rgba(206, 89, 98, .22); color: #ffd9dc; padding: 1px 5px; }

/* 404 */
.error-hero { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: calc(100svh - var(--header-h)); padding: 70px 0 90px; }
.error-hero::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(90vw, 900px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(206, 89, 98, .2), transparent 72%); }
.error-hero .eyebrow { color: var(--red); margin-bottom: 18px; }
.error-code { font-size: clamp(150px, 31vw, 440px); line-height: .8; letter-spacing: -.04em; color: var(--red); }
.error-text { max-width: 480px; margin-top: 30px; font-size: 17px; color: #beb9b6; }

/* ---------------------------------------------------- Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .cursor { display: none; }
  dialog, dialog::backdrop { transition: none; }
  [data-tilt] { transform: none; }
}
