/* ===================== NOCTUS: Stylesheet ===================== */

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #060607;
  --bg-2: #0d0d10;
  --bg-3: #15151a;
  --ink: #f0eee8;
  --ink-2: #b9b8b3;
  --muted: #7c7c82;
  --line: rgba(240, 238, 232, 0.12);
  --line-strong: rgba(240, 238, 232, 0.28);
  --moon: #d8dbe2;

  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

/* Filmkorn über allem, sehr dezent */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--ink); }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--ink); color: var(--bg); padding: 8px 12px; }

/* ---------- Kleinteile ---------- */
.eyebrow,
.meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--line-strong); }
/* Nummerierte Abschnitte (About) */
.eyebrow--num { font-size: clamp(14px, 1.5vw, 16px); color: var(--ink-2); gap: 14px; margin-bottom: 24px; }
.eyebrow--num::before { width: 40px; background: var(--ink-2); }
.eyebrow--num b { font-weight: 700; color: var(--ink); font-size: 1.35em; letter-spacing: 0.06em; }

/* Fadenkreuz-Linie aus dem Logo als Trenner */
.crosshair {
  display: flex; align-items: center; gap: 10px;
  color: var(--line-strong);
  margin: 0 auto;
  max-width: var(--wrap);
  padding: 0 var(--gutter);
}
.crosshair::before,
.crosshair::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.crosshair span { width: 4px; height: 4px; border-radius: 50%; background: currentColor; box-shadow: 10px 0 0 currentColor, -10px 0 0 currentColor; margin: 0 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn[aria-disabled="true"] { background: transparent; color: var(--muted); border-color: var(--line); cursor: default; pointer-events: none; }
.btn svg { width: 16px; height: 16px; }

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 3px 8px;
  color: var(--ink-2);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(6, 6, 7, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: 112px; flex-shrink: 0; }
.brand img { width: 100%; height: auto; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 28px); }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  padding: 6px 0;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; color: var(--ink); cursor: pointer;
  position: relative;
}
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .3s, top .3s; }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.is-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.is-open .nav-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--bg);
    padding: 32px var(--gutter);
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
    overflow-y: auto;
  }
  .is-open .nav { opacity: 1; visibility: visible; }
  /* backdrop-filter würde das fixierte Menü im Header einsperren */
  .site-header.is-open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { display: block; padding: 18px 0; font-family: var(--font); font-size: 28px; letter-spacing: 0; text-transform: none; }
  .nav a::after { display: none; }
  body.nav-locked { overflow: hidden; }
}

/* ---------- Sterne-Hintergrund ---------- */
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* Startseite: Sternenhimmel bleibt beim Scrollen stehen und zieht mit Tiefenwirkung weiter */
.stars--fixed { position: fixed; z-index: -1; height: 100lvh; }
/* Startseite: Hintergrundvideo (schwarz-weiß) hinter dem Logo, über den Sternen; JS setzt --hero-bg beim Scrollen */
.hero-bg { position: fixed; inset: 0; z-index: -1; height: 100lvh; overflow: hidden; pointer-events: none; opacity: var(--hero-bg, 1); }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.55); }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(6, 6, 7, .2) 0%, rgba(6, 6, 7, .75) 75%), linear-gradient(to bottom, transparent 60%, var(--bg)); }
.page-home .section--alt { background: rgba(13, 13, 16, 0.55); }

/* ---------- Hero Startseite ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 96px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, rgba(18, 18, 24, 0.5) 0%, transparent 70%);
}
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero__mark { position: relative; width: min(78vw, 620px); aspect-ratio: 1; }
.hero__logo,
.hero__video {
  width: 100%;
  height: 100%;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%);
          mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%);
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.hero__logo { animation: rise 2.2s cubic-bezier(.2,.7,.2,1) both; }
.hero__logo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Intro-Video (Startseite) ---------- */
.hero__video { position: absolute; inset: 0; z-index: 2; display: none; transform-origin: 50% 50%; will-change: transform; }
.hero__video video { width: 100%; height: 100%; object-fit: cover; }
.intro-skip {
  position: fixed; right: var(--gutter); bottom: 24px; z-index: 60; display: none;
  background: rgba(0, 0, 0, .55); border: 1px solid var(--line-strong); padding: 10px 16px; min-height: 44px; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.intro-skip:hover { background: var(--ink); color: var(--bg); }

.intro .hero__video { display: block; }
.intro .intro-skip { display: block; }
.intro .hero__logo { animation: none; opacity: 0; filter: blur(6px); }
.intro .hero__motto, .intro .hero__sub, .intro .hero__cta, .intro .hero__scroll { animation: none; opacity: 0; translate: 0 12px; }
.intro .site-header { opacity: 0; pointer-events: none; }
/* Während des Intros rein schwarz, damit die Videokanten unsichtbar bleiben */
html.intro body { background: #000; }
.intro .stars--fixed { opacity: 0; }
html.intro-done body { background: var(--bg); transition: background 1.5s ease; }
html.intro-done .stars--fixed { opacity: 1; transition: opacity 2s ease .5s; }
/* Video startet bildschirmfüllend (ohne Vignette) und schrumpft auf die Logo-Größe */
.intro .hero__video.is-cover { -webkit-mask-size: 320% 320%; mask-size: 320% 320%; }
.intro .hero__video.is-shrinking { transition: transform 2s cubic-bezier(.65,0,.35,1), -webkit-mask-size 2s cubic-bezier(.65,0,.35,1), mask-size 2s cubic-bezier(.65,0,.35,1); }

html.intro-done .hero__logo { opacity: 1; filter: none; transition: opacity 1s ease, filter 1s ease; }
html.intro-done .hero__video { opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s 1s; }
html.intro-done .intro-skip { display: none; }
html.intro-done .site-header { opacity: 1; pointer-events: auto; transition: opacity 1.2s ease .3s; }
html.intro-done .hero__motto, html.intro-done .hero__sub, html.intro-done .hero__cta, html.intro-done .hero__scroll { opacity: 1; translate: 0 0; transition: opacity 1.4s ease .4s, translate 1.4s ease .4s; }
html.intro-done .hero__sub { transition-delay: .6s; }
html.intro-done .hero__cta { transition-delay: .8s; }
html.intro-done .hero__scroll { transition-delay: 1.1s; }
.hero__motto {
  margin-top: -2vw;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
  animation: fade 1.6s .8s both;
}
.hero__sub { margin-top: 14px; animation: fade 1.6s 1.1s both; }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; animation: fade 1.6s 1.3s both; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 56px; background: linear-gradient(var(--line-strong), transparent);
  z-index: 1;
}
.hero__scroll::after {
  content: ""; position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink); animation: drip 2.4s ease-in-out infinite;
}

@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.97); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes drip { 0% { top: 0; opacity: 0; } 30% { opacity: 1; } 100% { top: 52px; opacity: 0; } }

/* ---------- Unterseiten-Kopf ---------- */
.page-head {
  position: relative;
  padding: calc(var(--header-h) + clamp(64px, 12vw, 140px)) 0 clamp(48px, 7vw, 80px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(44px, 9vw, 112px); font-weight: 400; letter-spacing: -0.035em; }
.page-head p { max-width: 640px; margin-top: 24px; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); }
.page-head__moon {
  position: absolute; right: -8vw; top: 50%; transform: translateY(-46%);
  width: clamp(260px, 42vw, 560px); aspect-ratio: 1; border-radius: 50%;
  box-shadow: inset clamp(-28px, -3vw, -14px) 0 0 0 rgba(216, 219, 226, .14);
  opacity: .9; pointer-events: none;
}
.page-head__moon::before {
  content: ""; position: absolute; inset: -8%; border-radius: 50%; border: 1px solid var(--line);
}

/* ---------- Sektionen ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 88px) 0; }
.section--alt { background: var(--bg-2); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 400; letter-spacing: -0.025em; }
.section-head p { max-width: 460px; color: var(--ink-2); margin: 0; }

.lead { font-size: clamp(22px, 2.8vw, 34px); line-height: 1.35; font-weight: 400; letter-spacing: -0.01em; max-width: 920px; }
.lead em { font-style: normal; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 400; }
.split .prose { color: var(--ink-2); font-size: 18px; }
.split .prose strong { color: var(--ink); font-weight: 500; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* Werte / Leitbild */
.values { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: v; }
.values li {
  display: grid; grid-template-columns: 80px 1fr 1.3fr; gap: 24px; align-items: baseline;
  padding: clamp(24px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.values li:hover { background: linear-gradient(90deg, rgba(240,238,232,.03), transparent); }
.values .num { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.values h3 { font-size: clamp(24px, 3vw, 36px); font-weight: 400; }
.values p { color: var(--ink-2); margin: 0; }
@media (max-width: 800px) { .values li { grid-template-columns: 48px 1fr; } .values p { grid-column: 2; } }

/* Feature-Zeilen */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--bg); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.section--alt .feature { background: var(--bg-2); }
.feature svg { width: 32px; height: 32px; margin-bottom: 12px; }
.feature h3 { font-size: 22px; font-weight: 500; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* Banner / CTA-Band */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.band h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 400; }

/* ---------- Karten (Team, Residents, Merch) ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.card { display: flex; flex-direction: column; gap: 16px; }
.card__media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .6s; }
.card:hover .card__media img { transform: scale(1.04); filter: grayscale(.6); }
.card__media--square { aspect-ratio: 1; }
.monogram {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(circle at 70% 30%, rgba(216,219,226,.08), transparent 55%),
    var(--bg-3);
}
.monogram svg { width: 42%; height: auto; color: var(--line-strong); }
.card h3 { font-size: 22px; font-weight: 500; }
.card .meta { margin-top: -8px; }
.card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.card__links { display: flex; gap: 16px; margin-top: auto; padding-top: 4px; }
.card__links a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

/* Gruppenbild (Startseite) */
.team-photo {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.team-photo .monogram { gap: 16px; align-content: center; }
.team-photo .monogram svg { width: clamp(56px, 9vw, 96px); }
.team-photo .meta { display: block; }
.team-text { max-width: 820px; margin-top: clamp(32px, 5vw, 56px); }
.team-text .lead { margin-bottom: 24px; }
.team-text p:not(.lead) { color: var(--ink-2); font-size: 18px; max-width: 680px; }
.team-text .btn { margin-top: 12px; }
@media (max-width: 600px) { .team-photo { aspect-ratio: 4 / 3; } }

.price { font-family: var(--mono); font-size: 15px; color: var(--ink); }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }

/* ---------- Events ---------- */
.event-list { border-top: 1px solid var(--line); }
.event {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.event__date { font-family: var(--mono); line-height: 1.1; }
.event__date .d { display: block; font-size: clamp(36px, 4.4vw, 52px); font-family: var(--font); font-weight: 400; letter-spacing: -0.03em; }
.event__date .my { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.event__body h3 { font-size: clamp(22px, 2.8vw, 34px); font-weight: 400; }
.event__body .meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.event__body p { color: var(--ink-2); margin-top: 12px; font-size: 15px; max-width: 640px; }
.event__lineup { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.event__flyer { width: 100%; max-width: 220px; margin-top: 16px; border: 1px solid var(--line); }
.event--past .event__date .d,
.event--past .event__body h3 { color: var(--ink-2); }
@media (max-width: 720px) {
  .event { grid-template-columns: 1fr; gap: 12px; }
  .event__date { display: flex; align-items: baseline; gap: 12px; }
  .event__action .btn { width: 100%; }
}

.empty {
  border: 1px dashed var(--line-strong);
  padding: clamp(32px, 5vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.empty h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 400; }
.empty p { color: var(--muted); margin: 8px 0 0; }

/* Ticket-Hinweise */
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.notes div { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.notes h4 { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.notes p { font-size: 15px; color: var(--muted); }

/* ---------- Records / SoundCloud ---------- */
.embed-consent {
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, transparent 0 6px, rgba(240,238,232,.04) 6px 7px),
    var(--bg-2);
  min-height: 420px;
  display: grid; place-items: center; text-align: center;
  padding: 40px 24px;
}
.embed-consent > div { max-width: 460px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.embed-consent p { color: var(--muted); font-size: 14px; }
.embed-consent iframe { width: 100%; height: 450px; border: 0; }
.embed-consent.is-loaded { display: block; padding: 0; min-height: 0; background: none; }

.wave { display: flex; align-items: center; gap: 3px; height: 48px; }
.wave i { width: 3px; background: var(--ink); opacity: .6; animation: wave 1.4s ease-in-out infinite; }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

/* ---------- Media ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  background: none; color: var(--ink-2); border: 1px solid var(--line); padding: 10px 16px; cursor: pointer; min-height: 44px;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery__item { break-inside: avoid; margin-bottom: 16px; position: relative; cursor: zoom-in; border: 0; padding: 0; background: var(--bg-3); width: 100%; display: block; }
.gallery__item img { width: 100%; height: auto; filter: grayscale(.4); transition: filter .4s; }
.gallery__item:hover img { filter: none; }
.gallery__item .play {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink);
}
.gallery__item .play svg { width: 56px; height: 56px; }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

.lightbox {
  position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.94);
  display: none; align-items: center; justify-content: center; padding: 64px 16px;
}
.lightbox.is-open { display: flex; }
.lightbox img, .lightbox video { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--ink); cursor: pointer;
  width: 48px; height: 48px; font-size: 28px; line-height: 1; font-family: var(--mono);
}
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Social-Kacheln */
.socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.social {
  background: var(--bg); padding: clamp(28px, 4vw, 44px); text-decoration: none;
  display: flex; flex-direction: column; gap: 40px; transition: background .3s;
}
.social:hover { background: var(--bg-3); }
.social svg { width: 32px; height: 32px; }
.social .meta { display: block; margin-bottom: 6px; }
.social strong { font-size: clamp(20px, 2.4vw, 28px); font-weight: 400; word-break: break-word; }
.social .arrow { font-family: var(--mono); color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact-big { font-size: clamp(28px, 6vw, 72px); font-weight: 400; letter-spacing: -0.03em; text-decoration: none; word-break: break-word; display: inline-block; }
.contact-big:hover { color: var(--moon); }

/* ---------- Rechtliches ---------- */
.legal { max-width: 760px; color: var(--ink-2); }
.legal h2 { color: var(--ink); font-size: 24px; margin: 48px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal .todo { background: rgba(240,238,232,.08); color: var(--ink); padding: 0 4px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 32px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-top img { width: 160px; margin-bottom: 20px; }
.footer-top p { color: var(--muted); font-size: 15px; max-width: 340px; }
.footer-top h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 16px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-top a { text-decoration: none; color: var(--ink-2); }
.footer-top a:hover { color: var(--ink); }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom, .footer-bottom a { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }
.footer-bottom nav { display: flex; gap: 20px; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }

/* ---------- Scroll-Einblendung ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Kontaktformular */
.kform { display: grid; gap: 22px; }
.kform__intro { color: var(--ink-2); margin-top: 16px; max-width: 360px; }
.kform__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.kform__feld { display: grid; gap: 8px; }
.kform__feld > label:not(.kform__check) { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.kform input[type="text"], .kform input[type="email"], .kform select, .kform textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 0;
  padding: 14px 16px; transition: border-color .2s;
}
.kform select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(-45deg, transparent 50%, var(--ink-2) 50%); background-position: right 22px center, right 17px center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.kform textarea { resize: vertical; min-height: 150px; }
.kform input:focus, .kform select:focus, .kform textarea:focus { outline: none; border-color: var(--ink); }
.kform [aria-invalid="true"] { border-color: #e0727a; }
.kform__fehler { color: #e0727a; font-size: 14px; margin: 0; }
.kform__check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.kform__check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--ink); }
.kform__check a { color: var(--ink); }
.kform__honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kform__senden { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.kform__senden .btn:disabled { opacity: .5; cursor: default; }
.kform__status { margin: 0; color: var(--ink-2); font-size: 15px; }
.kform__status.is-success { color: var(--moon); }
.kform__status.is-error { color: #e0727a; }
.kform__auswege { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; }
.kform__auswege a { color: var(--ink); }
.kform__auswege[hidden] { display: none; }
@media (max-width: 600px) { .kform__reihe { grid-template-columns: 1fr; } }
