/* friends4friends – friends4friends.events
   Look nach der Dugem-Vorlage: dunkle Clubseite, Pink-Rot als Akzent, große fette Titel mit Punkt. */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* Seitenaufbau: schwarze Bänder, schräge Kanten, Titel links mit Pink-Kicker */
:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --bg-2: #141414;
  --bg-3: #1d1d1d;
  --text: #aaaaaa;
  --white: #ffffff;
  --accent: #ff2c55;       /* Akzent der Vorlage */
  --accent-dark: #db2e50;
  --line: #2a2a2a;
  --muted: #333333;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: .8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 4vw, 1.6rem);
  --step-3: clamp(2.2rem, 7vw, 3.6rem);
  --step-4: clamp(3rem, 14vw, 7rem);

  --gutter: 20px;
  --wrap: 1140px;
  --header-h: 76px;
  --cut: clamp(36px, 7vw, 110px);   /* Höhe der schrägen Kanten */
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--white); }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--accent); color: var(--white); padding: 10px 16px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.center { text-align: center; margin-top: 40px; }

/* ---------- Titel ---------- */
.kicker {
  margin: 0 0 18px;
  font-size: var(--step--1); font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
}
.h-title {
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
  margin-bottom: 20px;
}
.dot { color: var(--accent); }
.lead { font-size: var(--step-1); text-transform: uppercase; letter-spacing: .12em; font-size: .9375rem; }
.lead--wide { text-transform: none; letter-spacing: 0; font-size: var(--step-0); max-width: 62ch; margin-inline: auto; }
.the-title--center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 30px;
  border: 2px solid var(--accent); border-radius: 50px;
  background: transparent; color: var(--white);
  font-size: .8125rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}
.btn:hover { background: var(--accent); }
.btn--fill { background: var(--accent); font-weight: 700; }
.btn--fill:hover { background: transparent; }
.btn--small { min-height: 34px; padding: 0 16px; font-size: .6875rem; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn-past {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 120px; min-height: 34px; padding: 0 14px;
  background: var(--muted); color: var(--white);
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
}
.arrow {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--line); background: transparent; color: var(--white);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.arrow:hover { border-color: var(--accent); background: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .4s, box-shadow .4s;
}
.site-header.is-solid { background: rgba(11,11,11,.96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.brand { perspective: 400px; }
.brand img { width: 52px; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
/* Gold-Logo dreht sich wie eine Münze um die eigene Achse */
@media (prefers-reduced-motion: no-preference) {
  .brand img { animation: coin 3s linear infinite; transform-style: preserve-3d; }
  .brand:hover img { animation-duration: .8s; }
  /* Endlos und gleichmäßig wie vorher (60° pro Sekunde): 0° → 90°, unsichtbarer Sprung auf 270°,
     weiter bis 360° – nie die gespiegelte Rückseite, kein Stillstand */
  @keyframes coin {
    0%     { transform: rotateY(0deg); }
    50%    { transform: rotateY(90deg); }
    50.01% { transform: rotateY(270deg); }
    100%   { transform: rotateY(360deg); }
  }

}
.brand span { color: var(--white); font-weight: 700; font-size: .9375rem; letter-spacing: .12em; text-transform: uppercase; }
.header-cta { display: none; }

.menu-btn {
  position: relative; z-index: 2;
  width: 48px; height: 48px; margin-right: -10px;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer;
}
.menu-btn-icon { display: grid; gap: 6px; width: 26px; }
.menu-btn-icon i { display: block; height: 2px; background: var(--white); transition: transform .3s var(--ease), opacity .2s; }
.menu-btn-icon i:nth-child(2) { width: 70%; margin-left: auto; background: var(--accent); }
.menu-btn[aria-expanded="true"] .menu-btn-icon i:first-child { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-icon i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn-icon i:last-child { transform: translateY(-8px) rotate(-45deg); }

.nav {
  position: fixed; inset: 0; z-index: 1;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 20px) max(28px, env(safe-area-inset-right, 0px)) 40px max(28px, env(safe-area-inset-left, 0px));
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
body.menu-open .nav { opacity: 1; visibility: visible; }
.nav ul { display: grid; gap: 2px; }
.nav ul a {
  display: block; padding: 6px 0;
  color: var(--white); text-decoration: none;
  font-size: clamp(2rem, 10vw, 2.8rem); font-weight: 700; line-height: 1.2;
}
.nav ul a:hover, .nav ul a.is-active { color: var(--accent); }
.nav-social { display: flex; gap: 24px; margin-top: 36px; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; }
.nav-social a { text-decoration: none; }
.nav-social a:hover { color: var(--accent); }

@media (min-width: 960px) {
  .brand { margin-right: 0; }
  .brand img { width: 60px; }
  .menu-btn { display: none; }
  .header-cta { display: inline-flex; min-height: 42px; padding: 0 24px; }
  .nav {
    position: static; padding: 0; margin: 0 auto; background: none;
    flex-direction: row; opacity: 1; visibility: visible;
  }
  .nav ul { display: flex; gap: 34px; }
  .nav ul a { font-size: .875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 8px 0; position: relative; }
  .nav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--accent); transition: right .3s var(--ease); }
  .nav ul a:hover::after, .nav ul a.is-active::after { right: 0; }
  .nav ul a:hover, .nav ul a.is-active { color: var(--white); }
  .nav-social { display: none; }
}

/* ---------- Hero ----------
   Video läuft abgedunkelt; die Abdunklung hat ein Loch in Form des Logos (Maske),
   dort ist das Video in normalen Farben zu sehen. */
.hero {
  --logo-w: min(80vw, 56svh, 640px);
  position: relative; overflow: hidden;
  height: clamp(560px, 100svh, 1000px);
  background: var(--bg);
}
.hero-video { position: absolute; inset: 0; }
.hero-video video {
  width: 100%; height: 100%; object-fit: cover;
  /* Lichtblitze im Video abmildern: weniger Kontrast, etwas gedimmt */
  filter: contrast(.78) brightness(.88) saturate(1.1);
}
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0, 0, 0, .86);   /* Abdunklung außerhalb des Logos */
  -webkit-mask: url("../img/logo-mask.png") center 40% / var(--logo-w) auto no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: url("../img/logo-mask.png") center 40% / var(--logo-w) auto no-repeat exclude, linear-gradient(#000 0 0);
}
.hero-title {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 9%;
  padding: 0 var(--gutter);
  text-align: center;
}
.hero-title h1 { color: var(--white); font-size: clamp(1rem, 3.4vw, 1.4rem); font-weight: 400; line-height: 1.5; margin-bottom: 20px; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.hero-title h1 span { display: block; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 700px) {
  .hero { --logo-w: 86vw; }
  .hero-shade { -webkit-mask-position: center 36%, 0 0; mask-position: center 36%, 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-title { animation: rise 1s .3s var(--ease) both; }
  .hero-shade { animation: shade 1.6s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  @keyframes shade { from { background-color: rgba(0,0,0,.96); } }
}

/* ---------- Nächstes Treffen ---------- */
.featured { padding: clamp(64px, 10vw, 110px) 0 clamp(56px, 8vw, 90px); background: var(--bg); }
.featured-grid { display: grid; gap: 40px; }
.featured-img { display: block; position: relative; max-width: 432px; overflow: hidden; }
.featured-img img { width: 100%; aspect-ratio: 432 / 649; object-fit: cover; transition: transform .6s var(--ease); background: var(--bg-3); }
.featured-img:hover img { transform: scale(1.04); }
.featured-img::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.35); pointer-events: none; }
.featured-title { font-size: var(--step-4); font-weight: 700; line-height: 1.05; margin-bottom: 14px; overflow-wrap: anywhere; }
.kicker--date { margin-bottom: 26px; }
.featured-text { max-width: 56ch; }
.featured-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 46px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd-num { display: block; color: var(--white); font-size: clamp(2.2rem, 10vw, 5.4rem); font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-label { display: block; margin-top: 12px; color: var(--accent); font-size: .875rem; font-weight: 700; font-style: italic; }
.countdown-live { color: var(--accent); font-size: var(--step-2); font-weight: 700; }
@media (min-width: 900px) {
  .featured-grid { grid-template-columns: 5fr 7fr; align-items: center; gap: 64px; }
}

/* ---------- Events-Tabelle ---------- */
.events {
  position: relative; isolation: isolate;
  padding: calc(var(--cut) + 70px) 0 calc(var(--cut) + 70px);
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.events-bg {
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/platzhalter/events-bg.png") center / cover fixed;
}
.events-bg::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .9; }
.events .the-title { margin-bottom: 50px; }

.event-table { display: grid; gap: 16px; }
/* Handy: Datum | Bild + Name + Ort | Buttons nebeneinander */
.event-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  grid-template-areas:
    "date   date"
    "thumb  name"
    "thumb  place"
    "thumb  ."
    "ticket ticket";
  grid-template-rows: auto min-content min-content 1fr auto;
  gap: 4px 16px; align-items: start;
  padding: 18px 16px; background: rgba(20,20,20,.85); border: 1px solid var(--line);
}
.event-table .event-row--head { display: none; }   /* Kopfzeile nur am Desktop */
.ev-date { grid-area: date; margin-bottom: 8px; }
.ev-thumb { grid-area: thumb; }
.ev-name { grid-area: name; }
.ev-place { grid-area: place; }
.ev-ticket { grid-area: ticket; }
.ev-thumb img { width: 70px; height: 100px; object-fit: cover; background: var(--bg-3); }
.ev-date { color: var(--accent); font-weight: 500; font-style: italic; font-size: .9375rem; }
.ev-name { color: var(--white); font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.ev-name button, .ev-place button { all: unset; cursor: pointer; }
.ev-name button:hover, .ev-place button:hover { color: var(--accent); }
.ev-name button:focus-visible, .ev-place button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ev-place { font-size: .9375rem; line-height: 1.45; margin-top: 2px; }
.ev-ticket { display: flex; flex-wrap: nowrap; gap: 10px; margin-top: 14px; }
.ev-ticket .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; }
.ev-ticket .btn-past { flex: 0 0 auto; }
.event-row.is-past .ev-thumb img { filter: grayscale(.8); opacity: .7; }
.event-empty { text-align: center; }

@media (min-width: 900px) {
  .event-table { gap: 0; }
  .event-row, .event-table .event-row--head {
    display: grid; grid-template-columns: 130px 90px minmax(0, 1.3fr) minmax(0, 1fr) 270px;
    grid-template-areas: none; grid-template-rows: auto; align-items: center;
    gap: 20px; padding: 18px 0; background: none; border: 0; border-bottom: 1px solid var(--line);
  }
  .event-table .event-row--head { color: var(--white); font-weight: 500; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; padding: 0 0 14px; border-bottom: 2px solid var(--accent); }
  .event-row .ev-thumb { grid-row: auto; }
  .ev-date, .ev-thumb, .ev-name, .ev-place, .ev-ticket { grid-area: auto; }
  .ev-date { margin: 0; }
  .ev-ticket { margin: 0; justify-content: flex-end; }
  .ev-ticket .btn { flex: 0 0 auto; padding: 0 16px; }
}

/* ---------- Über uns ---------- */
.about { padding: clamp(70px, 10vw, 120px) 0; background: var(--bg); }
.about-grid { display: grid; gap: 30px; }
.about-since { display: flex; align-items: baseline; gap: 14px; margin-top: 10px; font-size: .9375rem; }
.about-since span { color: var(--accent); font-size: clamp(2.6rem, 9vw, 4rem); font-weight: 700; line-height: 1; }
.lead-text { color: var(--white); font-size: var(--step-1); font-weight: 300; line-height: 1.6; }
.about-text p:last-child { margin: 0; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 5fr 6fr; gap: 80px; } }

/* ---------- News-Slider (Platzhalter) ---------- */
.news { padding: 20px 0 clamp(60px, 9vw, 110px); background: var(--bg); }
.news-head { display: grid; gap: 24px; margin-bottom: 50px; }
.news-head .lead { text-transform: none; letter-spacing: 0; font-size: var(--step-0); max-width: 52ch; }
.news-nav { display: flex; align-items: center; gap: 10px; }
.news-nav .btn { margin-right: auto; }
.news-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 560px); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scroll-padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.news-track::-webkit-scrollbar { display: none; }
.news-card { scroll-snap-align: start; position: relative; }
.news-thumb { display: block; overflow: hidden; background: var(--bg-3); }
.news-thumb img { width: 100%; aspect-ratio: 650 / 400; object-fit: cover; opacity: .7; transition: transform .6s var(--ease), opacity .3s; }
.news-card:hover .news-thumb img { transform: scale(1.04); opacity: .9; }
.news-body { padding: 22px 0 0; }
.news-body h3 { font-size: var(--step-2); line-height: 1.3; margin: 18px 0 10px; }
.news-body h3 a { text-decoration: none; }
.news-body h3 a:hover { color: var(--accent); }
.news-date { position: relative; padding-left: 45px; color: var(--accent); font-style: italic; font-weight: 500; margin: 0; }
.news-date::before { content: ""; position: absolute; left: 0; top: 50%; width: 35px; height: 2px; background: var(--accent); }
@media (min-width: 900px) {
  .news-head { grid-template-columns: 1fr auto; align-items: end; }
  .news-nav .btn { margin-right: 20px; }
}

.news-track.is-solo { display: block; padding-left: 0; padding-right: 0; overflow: visible; }
.news-track.is-solo .news-card { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) {
  .news-track.is-solo .news-card { display: grid; grid-template-columns: 7fr 5fr; gap: 50px; align-items: center; }
  .news-track.is-solo .news-body { padding: 0; }
  .news-track.is-solo h3 { font-size: var(--step-3); line-height: 1.1; }
}
.news-text { margin: 0 0 16px; }

/* ---------- Archiv ---------- */
.archive { padding: clamp(60px, 9vw, 110px) 0; background: var(--bg-2); }
.archive .the-title { margin-bottom: 40px; }
/* Eine Karte pro Fest; die Fotos blenden automatisch ineinander */
/* Eine Zeile, seitlich scrollbar (Pfeile oder Wischen), neuestes Fest links */
.album-grid {
  display: grid; grid-auto-flow: column; gap: 14px;
  grid-auto-columns: 84%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.album-grid::-webkit-scrollbar { display: none; }
.album-grid > li { scroll-snap-align: start; }
@media (min-width: 640px) { .album-grid { grid-auto-columns: calc((100% - 18px) / 2); gap: 18px; } }
@media (min-width: 1000px) { .album-grid { grid-auto-columns: calc((100% - 36px) / 3); } }
.album-nav { display: flex; justify-content: flex-end; gap: 10px; margin: 30px 0 16px; }
.arrow:disabled { opacity: .3; cursor: default; background: transparent; border-color: var(--line); }
/* Seitenverhältnis am Listenelement statt am Button: Safari am iPhone rechnet aspect-ratio
   auf <button> teils mit Höhe 0, dann bleiben die Fotos unsichtbar, bis man einmal tippt. */
.album-grid > li { position: relative; aspect-ratio: 4 / 3; }
@supports not (aspect-ratio: 4 / 3) { .album-grid > li { height: 0; padding-top: 75%; } }
.album-card {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0;
  background: var(--bg-3); color: var(--white); text-align: left; cursor: pointer; overflow: hidden;
  -webkit-appearance: none; appearance: none;
}
.album-slides { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.album-card:hover .album-slides, .album-card:focus-visible .album-slides { transform: scale(1.06); }
.album-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.album-slides img.is-active { opacity: .9; }
.album-card:hover .album-slides img.is-active { opacity: 1; }
.album-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%); pointer-events: none; }
.album-info { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: grid; gap: 2px; }
.album-info .album-year { color: var(--accent); font-size: clamp(2.2rem, 7vw, 3rem); font-weight: 700; line-height: .95; }
.album-info .album-title { font-size: var(--step-2); font-weight: 700; line-height: 1.2; }
.album-info .album-sub { font-size: .875rem; color: #d0d0d0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.album-more {
  position: absolute; z-index: 1; top: 16px; right: 16px;
  padding: 6px 14px; border: 2px solid var(--accent); border-radius: 50px; background: rgba(0,0,0,.45);
  font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .25s;
}
.album-card:hover .album-more { background: var(--accent); }
.album-dots { position: absolute; z-index: 1; top: 20px; left: 20px; display: flex; gap: 5px; }
.album-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); transition: background-color .3s, transform .3s; }
.album-dots i.is-active { background: var(--accent); transform: scale(1.3); }
.coming-soon { margin: 24px auto 0; text-align: center; color: var(--white); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: .875rem; }

/* Vorschauen eines Fests */
.album-view {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: var(--bg); color: var(--text);
}
.album-view::backdrop { background: #000; }
.album-view-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: calc(24px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(40px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
}
.album-view-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.album-view-head .kicker { margin-bottom: 8px; }
.album-view-head .h-title { margin-bottom: 6px; }
.album-view-sub { margin: 0; }
.close-btn {
  flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--accent); color: var(--white); font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 640px) { .thumbs { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
@media (min-width: 1000px) { .thumbs { grid-template-columns: repeat(6, 1fr); } }
.thumbs button { display: block; width: 100%; padding: 0; border: 0; background: var(--bg-3); cursor: zoom-in; overflow: hidden; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; opacity: .85; transition: transform .6s var(--ease), opacity .3s; }
.thumbs button:hover img, .thumbs button:focus-visible img { transform: scale(1.08); opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .album-view[open] .thumbs li { animation: rise .5s var(--ease) both; }
  .album-view[open] .thumbs li:nth-child(n+2) { animation-delay: .04s; }
  .album-view[open] .thumbs li:nth-child(n+4) { animation-delay: .08s; }
  .album-view[open] .thumbs li:nth-child(n+7) { animation-delay: .12s; }
}
.album-view-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin: 24px 0 0; font-size: .875rem; }
.album-view-foot a { color: var(--white); text-decoration-color: var(--accent); text-underline-offset: .3em; }

/* ---------- Testimonials (Platzhalter) ---------- */
.testimonials {
  position: relative; isolation: isolate;
  padding: calc(var(--cut) + 70px) 0 calc(var(--cut) + 60px);
  clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 calc(100% - var(--cut)));
}
.testimonials-bg { position: absolute; inset: 0; z-index: -1; background: url("../img/platzhalter/testimonial-cover.png") center / cover; opacity: .8; }
.testimonials-bg::after { content: ""; position: absolute; inset: 0; background: #000; opacity: .75; }
.testimonials-inner { display: grid; gap: 30px; }
.testi-nav { display: flex; gap: 10px; margin-top: 10px; }
.testi { display: none; margin: 0; }
.testi.is-active { display: block; }
@media (prefers-reduced-motion: no-preference) { .testi.is-active { animation: rise .6s var(--ease) both; } }
.testi blockquote { margin: 0 0 26px; color: var(--white); font-size: clamp(1.25rem, 3.6vw, 1.75rem); font-weight: 300; font-style: italic; line-height: 1.5; }
.testi figcaption { display: flex; align-items: center; gap: 16px; }
.testi figcaption img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.testi strong { display: block; color: var(--white); font-weight: 700; }
.testi figcaption span { font-size: .875rem; font-style: italic; color: var(--accent); }
@media (min-width: 900px) { .testimonials-inner { grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; } }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 14px; }
.form input:not([type=checkbox]), .form select, .form textarea {
  width: 100%; min-height: 54px; padding: 14px 18px;
  background: transparent; border: 1px solid var(--line); border-radius: 0;
  color: var(--white); font-size: 1rem;
  transition: border-color .2s;
}
.form textarea { resize: vertical; min-height: 150px; }
.form select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ff2c55' stroke-width='2'/%3E%3C/svg%3E") right 18px center no-repeat; }
.form select option { background: var(--bg); }
.form input::placeholder, .form textarea::placeholder { color: #8a8a8a; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .btn { justify-self: start; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .8125rem; line-height: 1.5; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); }
.check a { color: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; min-height: 1.5em; font-size: .9375rem; }
.form-msg.is-ok { color: #7ee2b8; }
.form-msg.is-error { color: #ff9aae; }
.form-msg a { color: var(--white); }

/* ---------- Newsletter ---------- */
.newsletter { padding: clamp(60px, 9vw, 100px) 0; background: var(--bg); }
.newsletter-inner { display: grid; gap: 30px; }
@media (min-width: 900px) { .newsletter-inner { grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; } }

/* ---------- Kontakt / Book a table ---------- */
.book {
  position: relative;
  padding: calc(var(--cut) + 60px) 0 clamp(70px, 10vw, 110px);
  background: var(--bg-2);
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
}
.book-grid { display: grid; gap: 40px; }
.book-list { margin: 10px 0 24px; display: grid; gap: 6px; }
.book-list li { position: relative; padding-left: 45px; color: var(--white); }
.book-list li::before { content: ""; position: absolute; left: 0; top: .82em; width: 35px; height: 2px; background: var(--accent); }
.mail { color: var(--white); font-weight: 500; font-size: var(--step-1); text-decoration-color: var(--accent); text-underline-offset: .3em; word-break: break-word; }
@media (min-width: 900px) { .book-grid { grid-template-columns: 5fr 6fr; gap: 80px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); padding: 60px 0 calc(110px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 26px; justify-items: center; text-align: center; }
.footer-logo img { width: 168px; }
.footer-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-social a { text-decoration: none; color: var(--white); }
.footer-social a:hover { color: var(--accent); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; font-size: .875rem; }
.footer-legal a { text-underline-offset: .25em; }
@media (min-width: 900px) { .site-footer { padding-bottom: 60px; } }

/* ---------- Ticket-Leiste am Handy ---------- */
.mobilebar {
  position: fixed; z-index: 90;
  left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px; border-radius: 50px;
  background: rgba(20,20,20,.96); border: 1px solid var(--line);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.8);
  transform: translateY(160%); transition: transform .35s var(--ease);
}
.mobilebar.is-visible { transform: none; }
body.menu-open .mobilebar { transform: translateY(160%); }
.mobilebar-text { min-width: 0; color: var(--white); font-size: .8125rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 960px) { .mobilebar { display: none; } }

/* ---------- Event-Details (Dialog) ---------- */
.detail {
  width: min(920px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
}
.detail::backdrop { background: rgba(0,0,0,.85); }
.detail-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--accent); color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.detail-inner { display: grid; }
.detail-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-3); }
.detail-body { padding: 26px 22px 30px; }
.detail-body h2 { font-size: var(--step-3); font-weight: 700; line-height: 1.1; margin-bottom: 16px; }
.detail-facts { display: grid; gap: 4px; margin: 0 0 20px; }
.detail-facts li { position: relative; padding-left: 45px; color: var(--white); }
.detail-facts li::before { content: ""; position: absolute; left: 0; top: .82em; width: 35px; height: 2px; background: var(--accent); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.detail-tags li { border: 1px solid var(--accent); border-radius: 50px; padding: 3px 14px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.detail-badge { display: inline-block; margin-bottom: 12px; background: var(--accent); color: var(--white); padding: 3px 12px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
@media (min-width: 760px) {
  .detail-inner { grid-template-columns: 5fr 6fr; }
  .detail-img img { height: 100%; aspect-ratio: auto; min-height: 420px; }
  .detail-body { padding: 44px 40px; }
}

/* ---------- Hinweis-Popup (Tickets) ---------- */
.notice {
  position: fixed; width: min(520px, calc(100% - 32px)); margin: auto;
  padding: 44px 32px 34px; border: 0; border-top: 4px solid var(--accent);
  background: var(--bg-2); color: var(--text); text-align: left;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.9);
}
.notice::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(3px); }
.notice .kicker { margin-bottom: 12px; }
.notice .h-title { font-size: clamp(1.8rem, 6vw, 2.6rem); margin-bottom: 14px; }
.notice-text { color: var(--white); font-size: var(--step-1); line-height: 1.55; margin-bottom: 28px; }
.notice-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.notice-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; font-size: 1.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .notice[open] { animation: noticeIn .4s var(--ease) both; }
  .notice[open]::backdrop { animation: fadeIn .3s ease both; }
  @keyframes noticeIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
  @keyframes fadeIn { from { opacity: 0; } }
}

/* ---------- Vollbild-Karussell ---------- */
.lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: #000; color: var(--white); overflow: hidden; }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr; align-items: center; }
.lightbox::backdrop { background: #000; }
.lb-bar {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px));
}
.lb-back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 2px solid var(--accent); border-radius: 50px; background: transparent; color: var(--white);
  font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.lb-back span { font-size: 1.4rem; line-height: 1; margin-top: -2px; }
.lb-back:hover { background: var(--accent); }
.lb-count { font-size: .875rem; font-variant-numeric: tabular-nums; color: #cfcfcf; }
.lb-stage { margin: 0; min-width: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; gap: 10px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) { .lb-stage img.is-in { animation: lbIn .35s var(--ease) both; } @keyframes lbIn { from { opacity: 0; transform: scale(.98); } } }
.lb-stage figcaption { font-size: .875rem; text-align: center; padding: 0 16px; }
.lb-nav { width: 52px; height: 52px; margin: 0 12px; border: 2px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(0,0,0,.4); color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-nav:hover { border-color: var(--accent); background: var(--accent); }
@media (max-width: 700px) {
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); margin: 0; width: 44px; height: 44px; }
  .lb-prev { left: max(8px, env(safe-area-inset-left, 0px)); }
  .lb-next { right: max(8px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Rechtstexte ---------- */
.legal { padding: calc(var(--header-h) + 50px) 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: var(--step-3); font-weight: 700; margin-bottom: 28px; }
.legal h2 { font-size: var(--step-1); font-weight: 700; margin: 34px 0 10px; }
.legal a { color: var(--white); }
.legal .todo { background: rgba(255,44,85,.25); color: var(--white); padding: 0 4px; }
.legal-back { margin-top: 34px; }
.site-header--legal { background: rgba(11,11,11,.96); box-shadow: 0 1px 0 var(--line); }
.site-header--legal .header-inner { justify-content: space-between; }
.site-header--legal .back { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--white); }
.site-header--legal .back:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .events-bg { background-attachment: scroll; }
}
/* iOS kann background-attachment: fixed nicht sauber */
@media (hover: none) { .events-bg { background-attachment: scroll; } }
