/*
 * Daniel Veiga — globale Styles (eine große Datei).
 *
 * Oben: CSS-Variablen (:root) für Farben, Abstände, Schrift. Darunter nach
 * ungefährer Seitenstruktur: Layout, Header, Hero, Sektionen, Modals, Admin.
 * Kein Build-Schritt: Klassennamen entsprechen dem HTML.
 */
:root {
  --bg-deep: #05040a;
  --bg-mid: #0c0a12;
  --bg-card: rgba(20, 18, 32, 0.78);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f0eef8;
  --muted: #9a94b0;
  --accent: #ff2d6b;
  --accent-soft: rgba(255, 45, 107, 0.18);
  --accent-glow: rgba(255, 45, 107, 0.45);
  --cyan: #00e5c8;
  --cyan-soft: rgba(0, 229, 200, 0.14);
  --cyan-dim: rgba(0, 229, 200, 0.55);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 22px;
  --header-h: 72px;
  /* Notch / Home Indicator (iOS etc.) */
  --header-safe-top: env(safe-area-inset-top, 0px);
  --page-pad-x: clamp(1rem, 4vw, 1.5rem);
  --section-pad-y: clamp(3rem, 8vw, 5rem);
  --header-offset: calc(var(--header-h) + var(--header-safe-top));
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.35);
  --line-glow: linear-gradient(90deg, transparent, rgba(0, 229, 200, 0.45), rgba(255, 45, 107, 0.35), transparent);
  /* Feintuning öffentliche Seiten */
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --text-body-soft: #bab4cc;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Verhindert seitlichen Versatz, wenn die Scrollbar mit color-scheme ein-/ausblendet */
  scrollbar-gutter: stable;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.08rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 110% 85% at 50% -28%, rgba(255, 45, 107, 0.18), transparent 52%),
    radial-gradient(ellipse 90% 55% at 100% 15%, rgba(0, 229, 200, 0.1), transparent 48%),
    radial-gradient(ellipse 70% 45% at 0% 55%, rgba(140, 90, 220, 0.09), transparent 42%),
    radial-gradient(ellipse 50% 35% at 80% 90%, rgba(255, 45, 107, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 42%, #07060f 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/*
 * Öffentliche Seiten: gleicher Farbverlauf wie body, aber weicher + Leseschicht.
 * — Keine feinen Streifen (weniger „Rauschen“ hinter Text).
 * — Oben eine matte Abdunkelung für Kontrast zu hellem Text.
 */
body.site-public {
  background-image:
    linear-gradient(
      180deg,
      rgba(5, 4, 10, 0.42) 0%,
      rgba(5, 4, 10, 0.18) 38%,
      rgba(5, 4, 10, 0.12) 62%,
      rgba(5, 4, 10, 0.38) 100%
    ),
    radial-gradient(ellipse 110% 85% at 50% -28%, rgba(255, 45, 107, 0.11), transparent 54%),
    radial-gradient(ellipse 90% 55% at 100% 15%, rgba(0, 229, 200, 0.06), transparent 50%),
    radial-gradient(ellipse 70% 45% at 0% 55%, rgba(140, 90, 220, 0.05), transparent 44%),
    radial-gradient(ellipse 50% 35% at 80% 90%, rgba(255, 45, 107, 0.04), transparent 52%),
    radial-gradient(ellipse 125% 48% at 50% 108%, rgba(255, 45, 107, 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 42%, #07060f 100%);
}

::selection {
  background: rgba(0, 229, 200, 0.28);
  color: var(--text);
}

body:not(.page-admin) {
  line-height: 1.62;
}

body:not(.page-admin) .noise {
  opacity: 0.042;
}

body.site-public .noise {
  opacity: 0.028;
}

body.modal-open {
  overflow: hidden;
}

body.disco-entry-open {
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Kurzer Disco-Einstieg (nur Animation, kein Ton) — einmal pro Sitzung via startseite.js */
.disco-entry {
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
  overflow: hidden;
  animation: discoEntryFadeOut 2.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.disco-entry[hidden] {
  display: none !important;
}

@keyframes discoEntryFadeOut {
  0%,
  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.disco-entry__bg {
  position: absolute;
  inset: -10%;
  background: linear-gradient(to bottom right, #ff0080, #7c3aed, #00d4aa, #facc15, #ff0080);
  background-size: 400% 400%;
  animation: discoBgMove 0.55s ease-in-out infinite alternate;
  mix-blend-mode: screen;
  opacity: 0.55;
}

@keyframes discoBgMove {
  0% {
    background-position: 0% 50%;
    filter: hue-rotate(0deg) saturate(1.2);
  }

  100% {
    background-position: 100% 50%;
    filter: hue-rotate(40deg) saturate(1.4);
  }
}

.disco-entry__spin {
  position: absolute;
  left: 50%;
  bottom: -25%;
  width: 220vmax;
  height: 220vmax;
  margin-left: -110vmax;
  transform-origin: 50% 100%;
  animation: discoSpin 1.1s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.42;
  background: conic-gradient(
    from 0deg at 50% 100%,
    transparent 0deg,
    rgba(255, 0, 200, 0.55) 28deg,
    transparent 58deg,
    rgba(0, 255, 220, 0.5) 88deg,
    transparent 118deg,
    rgba(255, 220, 0, 0.45) 148deg,
    transparent 178deg,
    rgba(180, 0, 255, 0.5) 208deg,
    transparent 238deg,
    rgba(255, 120, 0, 0.4) 268deg,
    transparent 298deg,
    rgba(0, 200, 255, 0.4) 328deg,
    transparent 360deg
  );
}

@keyframes discoSpin {
  to {
    transform: rotate(360deg);
  }
}

.disco-entry__glitter {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 15% 25%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(2px 2px at 55% 18%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(2px 2px at 82% 42%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2px 2px at 38% 68%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(2px 2px at 72% 78%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(2px 2px at 22% 88%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(3px 3px at 50% 50%, rgba(255, 255, 255, 0.35), transparent);
  animation: discoSparkle 0.35s steps(2) infinite;
  mix-blend-mode: overlay;
  pointer-events: none;
}

@keyframes discoSparkle {
  0% {
    opacity: 0.85;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.disco-entry__pulse {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 45, 107, 0.25), transparent 55%);
  animation: discoPulse 0.4s ease-in-out infinite alternate;
  mix-blend-mode: screen;
  pointer-events: none;
}

@keyframes discoPulse {
  0% {
    opacity: 0.4;
    transform: scale(1);
  }

  100% {
    opacity: 0.85;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .disco-entry,
  .disco-entry__bg,
  .disco-entry__spin,
  .disco-entry__glitter,
  .disco-entry__pulse {
    animation: none !important;
  }
}

/*
 * Filmkorn: weiche Turbulenz + Kachelung (nicht 1× über die ganze Fläche strecken —
 * das wirkt sonst „pixelig“). Leichtes Weichzeichnen glättet Raster-Artefakte.
 */
.noise {
  pointer-events: none;
  position: fixed;
  inset: -2px;
  opacity: 0.035;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 280px 280px;
  background-repeat: repeat;
  filter: blur(0.45px);
  -webkit-filter: blur(0.45px);
  transform: translateZ(0);
  backface-visibility: hidden;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #5ff5e8;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: var(--header-safe-top) max(1rem, env(safe-area-inset-right, 0px)) 0 max(1rem, env(safe-area-inset-left, 0px));
  min-height: var(--header-offset);
  height: var(--header-offset);
  background: linear-gradient(to bottom, rgba(6, 5, 11, 0.97), rgba(7, 6, 12, 0.82) 55%, rgba(7, 6, 12, 0.35) 85%, transparent);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Nur Startseite / Impressum / Datenschutz — ruhigeres Glas */
body:not(.page-admin) .site-header {
  background: linear-gradient(
    to bottom,
    rgba(8, 7, 14, 0.94),
    rgba(10, 9, 16, 0.82) 52%,
    rgba(10, 9, 16, 0.42) 84%,
    transparent
  );
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line-glow);
  opacity: 0.55;
  pointer-events: none;
}

/* Desktop-Zeilen-Navigation erst ab „kleinem Laptop“ — iPad Hochformat (~768–834px) nutzt Hamburger */
@media (min-width: 1025px) {
  .site-header .nav {
    margin-left: auto;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

/* Sprache + Theme als eine Zeile: gleicher Abstand wie DE–EN–FR, eine gemeinsame Höhe */
.site-header__cluster {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.site-header .site-header__cluster {
  margin-left: clamp(0.85rem, 3vw, 1.75rem);
}

/* Gleiche Außenmaße; Browser-Button-Styles neutralisieren (kein doppelter Rand) */
.site-header .lang-switch__btn,
.site-header .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 2.35rem;
  height: 2.05rem;
  min-height: 2.05rem;
  padding: 0 0.5rem;
  appearance: none;
  -webkit-appearance: none;
  border-width: 1px;
  border-style: solid;
}

.lang-switch__btn {
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}

.lang-switch__btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-switch__btn--active {
  color: var(--cyan);
  border-color: var(--cyan-dim);
  background: var(--cyan-soft);
}

.site-header--sub .nav {
  margin-left: auto;
}

@media (max-width: 1024px) {
  .nav-toggle {
    margin-left: auto;
  }

  .site-header {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.12em;
  color: var(--text);
}

.logo:hover {
  color: var(--accent);
}

.logo--mark {
  display: flex;
  align-items: center;
  line-height: 0;
  /* Gleiches Padding/Border wie im Light-Theme, damit Header-Buttons beim Umschalten nicht springen */
  padding: 0.15rem 0.45rem;
  border-radius: 10px;
  border: 1px solid transparent;
}

.logo--mark:hover {
  color: inherit;
  opacity: 0.92;
}

.logo__mark {
  display: block;
  height: 2.35rem;
  width: auto;
  max-width: min(52vw, 220px);
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  text-shadow: 0 0 20px rgba(0, 229, 200, 0.22);
}

.nav__booking {
  margin-left: 0.25rem;
}

.btn--nav {
  padding: 0.5rem 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--bg-deep) !important;
  background: linear-gradient(135deg, var(--cyan), #00b89a) !important;
  border: none !important;
  box-shadow: 0 4px 24px rgba(0, 229, 200, 0.35);
}

.btn--nav:hover {
  color: var(--bg-deep) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 229, 200, 0.45);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-offset);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    gap: 1.25rem;
    background: rgba(10, 8, 18, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .site-header.is-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__booking {
    margin-left: 0;
    width: 100%;
    max-width: 280px;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-offset) + 2rem) var(--page-pad-x) max(2rem, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  width: 120%;
  max-width: 1000px;
  aspect-ratio: 1;
  top: 5%;
  left: 40%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 58%),
    radial-gradient(circle at 30% 40%, var(--cyan-soft) 0%, transparent 48%),
    radial-gradient(circle at 70% 70%, rgba(180, 100, 255, 0.08) 0%, transparent 40%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 768px) {
  .hero__glow {
    filter: blur(28px);
    width: 100%;
  }

  .hero__frame-glow {
    filter: blur(20px);
  }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 3rem 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero__copy {
  text-align: left;
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 420px;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 3px;
  background: linear-gradient(
    135deg,
    rgba(255, 45, 107, 0.72),
    rgba(0, 229, 200, 0.42),
    rgba(180, 100, 255, 0.45),
    rgba(255, 45, 107, 0.72)
  );
  background-size: 320% 320%;
  animation: heroFrameBorderFlow 14s ease-in-out infinite;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

@keyframes heroFrameBorderFlow {
  0%,
  100% {
    background-position: 0% 40%;
  }

  50% {
    background-position: 100% 60%;
  }
}

.hero__frame-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 65%);
  filter: blur(32px);
  opacity: 0.65;
  z-index: -1;
  pointer-events: none;
  animation: heroFrameGlowBreathe 6s ease-in-out infinite;
}

@keyframes heroFrameGlowBreathe {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 0.82;
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__frame {
    animation: none;
    background-size: 100% 100%;
  }

  .hero__frame-glow {
    animation: none;
    opacity: 0.65;
    transform: none;
  }

  html[data-theme="light"] .hero__frame {
    animation: none;
    background-size: 100% 100%;
  }
}

html.site-animations-off .hero__frame {
  animation: none;
  background-size: 100% 100%;
}

html.site-animations-off .hero__frame-glow {
  animation: none;
  opacity: 0.65;
  transform: none;
}

.hero__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 3px);
  object-fit: cover;
  aspect-ratio: 4 / 5;
  background: var(--bg-mid);
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: clamp(1.75rem, 4vw, 2.5rem);
  }

  .hero__copy {
    text-align: center;
  }

  .hero__visual {
    justify-self: center;
    max-width: min(360px, 88vw);
  }

  .hero__cta {
    justify-content: center;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .hero__grid {
    gap: clamp(2rem, 4vw, 3rem);
    max-width: min(1100px, 94vw);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #c9c4d8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(0, 229, 200, 0.08);
}

.hero__title {
  margin: 0;
  line-height: 0;
}

.hero__title-mark {
  display: block;
  width: min(100%, 38rem);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 60px rgba(0, 229, 200, 0.12));
}

@media (max-width: 960px) {
  .hero__title-mark {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero__accent {
  display: inline-block;
  background: linear-gradient(120deg, var(--accent), #ff8a5c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__tagline {
  margin: 1.5rem 0 0;
  max-width: min(34ch, 100%);
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.12rem);
  line-height: 1.65;
  color: var(--text-body-soft);
  text-wrap: balance;
  letter-spacing: 0.01em;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: flex-start;
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body:not(.page-admin) .btn {
  transition:
    transform 0.22s var(--ease-out),
    box-shadow 0.22s var(--ease-out),
    background 0.22s var(--ease-out),
    border-color 0.2s ease;
}

/* .btn setzt display — ohne dies gewinnt es gegen das HTML-[hidden]-Attribut (Abbrechen-Buttons) */
[hidden] {
  display: none !important;
}

.btn--primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), #c41e5c);
  color: #fff;
  box-shadow: 0 8px 32px rgba(255, 45, 107, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.14) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(255, 45, 107, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  color: #fff;
}

.btn--primary:hover::after {
  transform: translateX(100%);
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary::after {
    display: none;
  }
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn--booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(135deg, rgba(0, 229, 200, 0.2), rgba(255, 45, 107, 0.15)) !important;
  border: 1px solid rgba(0, 229, 200, 0.45) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 8px 32px rgba(0, 229, 200, 0.18);
}

.btn--booking:hover {
  color: #fff !important;
  border-color: rgba(0, 229, 200, 0.75) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 12px 40px rgba(0, 229, 200, 0.28);
  transform: translateY(-2px);
}

.btn__booking-icon {
  display: inline-flex;
  opacity: 0.95;
}

.btn__booking-icon svg {
  display: block;
}

.btn--booking-send {
  gap: 0.5rem;
}

.btn--compact {
  padding: 0.65rem 1.35rem;
  font-size: 0.82rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 3.5rem;
  max-width: 540px;
  width: 100%;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 960px) {
  .hero__stats {
    margin-left: auto;
    margin-right: auto;
  }
}

.stat {
  text-align: center;
  padding: 0.85rem 0.5rem 0.95rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 229, 200, 0.06) inset;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .stat:hover {
    border-color: rgba(0, 229, 200, 0.22);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 229, 200, 0.12) inset;
  }
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  letter-spacing: 0.05em;
  color: var(--cyan);
  text-shadow: 0 0 36px rgba(0, 229, 200, 0.35);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stat__num {
    background: linear-gradient(120deg, #9ff8ee, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
}

html[data-theme="light"] .stat__num {
  color: #007a6e;
  text-shadow: 0 1px 2px rgba(252, 248, 240, 0.95);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html[data-theme="light"] .stat__num {
    background: linear-gradient(135deg, #00a896 0%, #006b5f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
}

.stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  line-height: 1.35;
}

@media (max-width: 520px) {
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Buchung Modal — breiteres Layout, kein „Mini-Fenster“-Scroll im Dialog */
.modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(1.25rem, env(safe-area-inset-top)) 1rem max(2rem, env(safe-area-inset-bottom));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.modal::-webkit-scrollbar {
  width: 10px;
}

.modal::-webkit-scrollbar-track {
  background: transparent;
}

.modal::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.modal[hidden],
.modal.modal--closed {
  display: none;
}

.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 2, 8, 0.78);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.modal.modal--visible .modal__backdrop {
  opacity: 1;
}

.modal__dialog {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  max-width: min(860px, calc(100vw - 2rem));
  margin-top: min(4vh, 2.5rem);
  margin-bottom: 2rem;
  overflow: visible;
  padding: 1.65rem clamp(1.35rem, 3.2vw, 2.1rem) 1.75rem;
  background: linear-gradient(168deg, rgba(34, 30, 52, 0.99), rgba(12, 10, 22, 0.995));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px rgba(0, 229, 200, 0.09) inset,
    0 0 100px rgba(255, 45, 107, 0.07);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.3s var(--ease-out), transform 0.32s var(--ease-out);
}

.modal.modal--visible .modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .modal__backdrop,
  .modal__dialog {
    transition: none;
  }

  .modal.modal--visible .modal__dialog {
    transform: none;
  }
}

.modal__head {
  margin-bottom: 0.65rem;
}

.modal__badge {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-dim);
  background: var(--cyan-soft);
  border: 1px solid rgba(0, 229, 200, 0.25);
  border-radius: 999px;
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.modal__close:hover {
  background: rgba(255, 45, 107, 0.22);
  color: var(--text);
}

.modal__close:active {
  transform: scale(0.96);
}

.modal__title {
  margin: 0 3rem 0.4rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1.05;
}

.modal__lead {
  margin: 0 0 1.35rem;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 62ch;
}

@media (min-width: 700px) {
  .modal__lead {
    margin-bottom: 1.5rem;
  }
}

.modal__req {
  color: var(--accent);
  font-weight: 700;
}

.modal__opt {
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: rgba(154, 148, 176, 0.85);
}

.modal__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.modal__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.modal__label--full {
  grid-column: 1 / -1;
}

.modal__label input,
.modal__label textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid var(--border);
  border-radius: 10px;
  resize: vertical;
  min-height: 0;
}

.modal__label textarea {
  min-height: 88px;
}

.modal__label input:focus,
.modal__label textarea:focus {
  outline: none;
  border-color: rgba(0, 229, 200, 0.45);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}

.modal__label input:-webkit-autofill,
.modal__label input:-webkit-autofill:hover,
.modal__label input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(12, 10, 20, 0.95) inset !important;
  box-shadow: 0 0 0 1000px rgba(12, 10, 20, 0.95) inset !important;
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--text);
  border-color: var(--border);
}

.modal__label--full .modal__select-wrap {
  width: 100%;
}

.modal__fine {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(154, 148, 176, 0.95);
  overflow-wrap: break-word;
  word-break: break-word;
}

.modal__fine a {
  color: var(--cyan-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal__fine a:hover {
  color: #5ff5e8;
}

.modal__hint {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #ffb3c9;
  background: rgba(255, 45, 107, 0.1);
  border: 1px solid rgba(255, 45, 107, 0.25);
  border-radius: 10px;
}

.modal__hint code {
  font-size: 0.8em;
  color: var(--cyan-dim);
}

.modal__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.modal__recaptcha {
  grid-column: 1 / -1;
  margin: 0.35rem 0 0.5rem;
}

.modal__error {
  grid-column: 1 / -1;
  margin: 0 0 0.5rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #ffb3c9;
  background: rgba(255, 45, 107, 0.12);
  border: 1px solid rgba(255, 45, 107, 0.3);
  border-radius: 10px;
}

.modal__error[hidden] {
  display: none !important;
}

.modal__success {
  padding: 0.5rem 0 0.25rem;
  text-align: center;
}

.modal__success[hidden] {
  display: none !important;
}

.modal__success-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  letter-spacing: 0.06em;
  color: var(--cyan-dim);
}

.modal__success-lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.modal__success .btn {
  min-width: 140px;
}

.booking-form.is-busy {
  pointer-events: none;
  opacity: 0.72;
}

.booking-form .modal__label input,
.booking-form .modal__label textarea,
.booking-form .modal__select {
  border-radius: 12px;
}

.modal__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.modal__fallback {
  padding-top: 0.25rem;
}

.modal__fallback[hidden] {
  display: none !important;
}

.modal__fallback-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  letter-spacing: 0.06em;
  color: var(--cyan-dim);
}

.modal__fallback-lead {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.modal__fallback-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1rem;
}

.modal__fallback-row .btn--primary {
  flex: 1 1 auto;
  min-width: min(100%, 220px);
  justify-content: center;
}

.modal__copy-feedback {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--cyan);
}

.modal__fallback-label {
  margin-bottom: 1rem;
}

.modal__fallback-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  border-radius: 10px;
  resize: vertical;
  min-height: 140px;
}

.modal__fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .modal__form {
    grid-template-columns: 1fr;
  }

  .modal__dialog {
    margin-top: 0.5rem;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}

.modal__row--datetime {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: stretch;
}

.modal__row--datetime .modal__label {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  min-height: 0;
}

.modal__row--datetime .modal__label-text {
  display: block;
  line-height: 1.35;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.modal__row--datetime .modal__label-text .modal__opt {
  font-weight: 600;
  margin-left: 0.15em;
}

.modal__row--datetime .modal__label {
  position: relative;
}

.modal__row--datetime input#book-date {
  flex: 0 0 0;
  width: 0;
  max-width: 0;
  height: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.modal__row--datetime .modal__label > input.booking-flatpickr-alt,
.modal__row--datetime .modal__label > input.booking-time-input {
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .modal__row--datetime {
    grid-template-columns: 1fr;
  }

  .modal__row--datetime .modal__label {
    justify-content: flex-start;
  }
}

.modal__select-wrap {
  position: relative;
  display: block;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 45, 107, 0.45), rgba(0, 229, 200, 0.35));
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.modal__select-wrap::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--cyan);
  pointer-events: none;
  opacity: 0.85;
}

.modal__select {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--text);
  background: linear-gradient(180deg, rgba(14, 12, 22, 0.98), rgba(8, 6, 14, 0.99));
  border: none;
  border-radius: 10px;
  cursor: pointer;
  appearance: none;
  transition: box-shadow 0.2s ease, color 0.2s ease;
}

.modal__select:hover {
  box-shadow: inset 0 0 0 1px rgba(0, 229, 200, 0.25);
}

.modal__select:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(0, 229, 200, 0.45);
}

.modal__select option {
  font-weight: 500;
  background: #121018;
  color: var(--text);
}

input.booking-flatpickr-alt {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%2300e5c8' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

input.booking-time-input {
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%2300e5c8' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

/* Sections */
.section {
  padding: var(--section-pad-y) var(--page-pad-x);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section__inner {
  max-width: min(1080px, 100%);
  margin: 0 auto;
  width: 100%;
}

.section__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  letter-spacing: 0.08em;
  color: var(--text);
}

.section__lead {
  margin: 0 0 2.35rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  line-height: 1.62;
  max-width: 54ch;
  letter-spacing: 0.01em;
}

/* Optionaler Admin-Text: Zeilenumbrüche aus dem Textfeld beibehalten */
.venues__lead {
  white-space: pre-line;
}

/* Einheitliche Sektions-Titel — Cyan→Magenta Strich */
main .section:not(.hero) .section__title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.45rem;
}

main .section:not(.hero) .section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 5.5rem);
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--accent));
  opacity: 0.8;
}

/* Bio */
.bio__book {
  margin-top: 1.75rem;
  margin-bottom: 0;
}

.bio__grid {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 300px);
  gap: 3rem;
  align-items: start;
}

@media (max-width: 880px) {
  .bio__grid {
    grid-template-columns: 1fr;
  }
}

.bio__text p {
  margin: 0 0 1.25rem;
  color: var(--text-body-soft);
  line-height: 1.75;
}

.bio__text p:last-child {
  margin-bottom: 0;
}

.bio__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  padding: 1.35rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

@media (max-width: 768px) {
  .card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.card--highlight {
  border-color: rgba(255, 45, 107, 0.42);
  background: linear-gradient(150deg, var(--accent-soft), rgba(18, 16, 28, 0.88), rgba(0, 229, 200, 0.06));
  box-shadow: var(--shadow-card), 0 0 48px rgba(255, 45, 107, 0.1);
}

.card__title {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.card__desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.card:not(.card--highlight) .card__title {
  color: var(--cyan);
}

/* Gigs */
.gig-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gig-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1.1rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Nicht auf den nächsten Termin anwenden — sonst bricht die Rahmen-Animation */
.gig-item:hover:not(.gig-item--next) {
  border-color: rgba(0, 229, 200, 0.28);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 229, 200, 0.1) inset;
}

/* Nächster Gig (frühester Termin ab heute) — gleiche Disco-Schichten wie #disco-entry (Keyframes geteilt) */
.gig-item--next {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(0, 229, 200, 0.55);
  background: rgba(12, 10, 22, 0.55);
  animation: gigNextPulse 1.6s ease-in-out infinite;
  outline: 2px solid rgba(0, 229, 200, 0.65);
  outline-offset: 2px;
  box-shadow:
    0 0 0 1px rgba(0, 229, 200, 0.35),
    0 0 32px rgba(0, 229, 200, 0.25),
    0 0 48px rgba(255, 45, 107, 0.12);
}

/* Dunkler Verlauf über der Disco, unter dem Text — Lesbarkeit */
.gig-item--next::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(4, 3, 10, 0.92) 0%,
    rgba(6, 5, 14, 0.78) 38%,
    rgba(8, 7, 18, 0.52) 72%,
    rgba(10, 8, 20, 0.38) 100%
  );
}

.gig-item__disco {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/*
 * Gig-Disco: eigene BG-Keyframes ohne filter (hue-rotate in discoBgMove bricht auf manchen Desktop-GPUs).
 * Spin-Größe begrenzen: 180vmin wurde auf Vollbild-PCs zu ~hunderttausend px → Compositor zeigt nichts.
 */
.gig-item__disco-bg {
  position: absolute;
  inset: -10%;
  background: linear-gradient(to bottom right, #ff0080, #7c3aed, #00d4aa, #facc15, #ff0080);
  background-size: 400% 400%;
  animation: gigDiscoBgMove 0.55s ease-in-out infinite alternate;
  opacity: 0.48;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@keyframes gigDiscoBgMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.gig-item__disco-spin {
  position: absolute;
  left: 50%;
  bottom: -25%;
  width: min(960px, 90vw);
  height: min(960px, 90vw);
  margin-left: calc(min(960px, 90vw) / -2);
  transform-origin: 50% 100%;
  animation: discoSpin 1.1s linear infinite;
  opacity: 0.35;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: conic-gradient(
    from 0deg at 50% 100%,
    transparent 0deg,
    rgba(255, 0, 200, 0.55) 28deg,
    transparent 58deg,
    rgba(0, 255, 220, 0.5) 88deg,
    transparent 118deg,
    rgba(255, 220, 0, 0.45) 148deg,
    transparent 178deg,
    rgba(180, 0, 255, 0.5) 208deg,
    transparent 238deg,
    rgba(255, 120, 0, 0.4) 268deg,
    transparent 298deg,
    rgba(0, 200, 255, 0.4) 328deg,
    transparent 360deg
  );
}

.gig-item__disco-glitter {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 15% 25%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(2px 2px at 55% 18%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(2px 2px at 82% 42%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(2px 2px at 38% 68%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(2px 2px at 72% 78%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(2px 2px at 22% 88%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(3px 3px at 50% 50%, rgba(255, 255, 255, 0.35), transparent);
  animation: discoSparkle 0.35s steps(2) infinite;
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.gig-item__disco-pulse {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 45, 107, 0.35), transparent 55%);
  animation: discoPulse 0.4s ease-in-out infinite alternate;
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.gig-item--next > span:not(.gig-item__disco) {
  position: relative;
  z-index: 2;
}

.gig-item--next:hover {
  outline-color: rgba(255, 45, 107, 0.9);
}

.gig-item--next .gig-item__date,
.gig-item--next .gig-item__city {
  color: #faf8ff;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 1),
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 2px 8px rgba(0, 0, 0, 0.85),
    0 0 20px rgba(0, 0, 0, 0.55);
}

.gig-item--next .gig-item__venue {
  color: rgba(228, 224, 242, 0.95);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 1),
    0 1px 2px rgba(0, 0, 0, 0.92),
    0 2px 6px rgba(0, 0, 0, 0.75);
}

.gig-item--next .gig-item__link {
  color: #b7fff1;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 1),
    0 1px 2px rgba(0, 0, 0, 0.92),
    0 2px 6px rgba(0, 0, 0, 0.75);
}

.gig-item--next .gig-item__cc {
  position: relative;
  z-index: 2;
  color: #e8fff9;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 229, 200, 0.45);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(0, 0, 0, 0.25) inset;
}

@keyframes gigNextPulse {
  0%,
  100% {
    border-color: rgba(0, 229, 200, 0.55);
    box-shadow:
      0 0 0 1px rgba(0, 229, 200, 0.35),
      0 0 28px rgba(0, 229, 200, 0.2),
      0 8px 36px rgba(255, 45, 107, 0.1);
  }
  50% {
    border-color: rgba(255, 45, 107, 0.45);
    box-shadow:
      0 0 0 1px rgba(255, 45, 107, 0.45),
      0 0 48px rgba(0, 229, 200, 0.35),
      0 12px 52px rgba(255, 45, 107, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gig-item--next .gig-item__disco {
    display: none;
  }

  .gig-item--next::after {
    display: none;
  }

  .gig-item--next {
    animation: none;
    filter: none;
    outline-color: rgba(0, 229, 200, 0.45);
    background: linear-gradient(
      135deg,
      rgba(0, 229, 200, 0.12) 0%,
      rgba(255, 45, 107, 0.06) 100%
    );
    box-shadow: 0 0 0 1px rgba(0, 229, 200, 0.22), 0 8px 24px rgba(0, 229, 200, 0.08);
  }

  .gig-item--next .gig-item__date,
  .gig-item--next .gig-item__city {
    color: var(--text);
    text-shadow: none;
  }

  .gig-item--next .gig-item__venue {
    color: var(--muted);
    text-shadow: none;
  }

  .gig-item--next .gig-item__cc {
    color: var(--cyan);
    background: var(--cyan-soft);
    border: none;
    box-shadow: none;
  }
}

/* Admin-Schalter: Animationen auf der Website aus (wie reduzierte Bewegung für Disco + nächster Gig) */
html.site-animations-off .disco-entry {
  display: none !important;
}

html.site-animations-off .gig-item--next .gig-item__disco {
  display: none;
}

html.site-animations-off .gig-item--next::after {
  display: none;
}

html.site-animations-off .gig-item--next {
  animation: none;
  filter: none;
  outline-color: rgba(0, 229, 200, 0.45);
  background: linear-gradient(
    135deg,
    rgba(0, 229, 200, 0.12) 0%,
    rgba(255, 45, 107, 0.06) 100%
  );
  box-shadow: 0 0 0 1px rgba(0, 229, 200, 0.22), 0 8px 24px rgba(0, 229, 200, 0.08);
}

html.site-animations-off .gig-item--next .gig-item__date,
html.site-animations-off .gig-item--next .gig-item__city {
  color: var(--text);
  text-shadow: none;
}

html.site-animations-off .gig-item--next .gig-item__venue {
  color: var(--muted);
  text-shadow: none;
}

html.site-animations-off .gig-item--next .gig-item__cc {
  color: var(--cyan);
  background: var(--cyan-soft);
  border: none;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .gig-item:hover {
    transform: translateX(4px);
  }
}

.gig-item__date {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--text);
  white-space: nowrap;
}

.gig-item__city {
  font-weight: 600;
  color: var(--text);
}

.gig-item__venue {
  color: var(--muted);
  font-size: 0.95rem;
}

.gig-item__link {
  display: inline-flex;
  align-items: center;
  margin-left: 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gig-item__link:hover {
  color: #5ff5e8;
}

.gig-item__cc {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
  padding: 0.35rem 0.65rem;
  background: var(--cyan-soft);
  border-radius: 6px;
  justify-self: end;
}

@media (max-width: 640px) {
  .gig-item {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .gig-item__date {
    grid-column: 1 / -1;
  }

  .gig-item__cc {
    justify-self: start;
  }
}

.gig-item--empty {
  color: var(--muted);
  font-style: italic;
  grid-column: 1 / -1;
}

.venue-list__empty {
  list-style: none;
  color: var(--muted);
  font-style: italic;
}

.social-grid__empty {
  margin: 0;
  padding: 1rem;
  color: var(--muted);
  font-style: italic;
  grid-column: 1 / -1;
}

/* Referenzen (Zitate) */
.section.referenzen {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 15% 0%, rgba(0, 229, 200, 0.09), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 100%, rgba(255, 45, 107, 0.07), transparent 50%);
}

.section.referenzen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%
  );
  opacity: 0.5;
}

.referenzen__inner {
  position: relative;
  z-index: 1;
}

.referenzen__head {
  margin-bottom: 0.25rem;
}

.referenzen__lead {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.quote-ref-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 3vw, 1.35rem);
  align-items: stretch;
}

.quote-ref {
  margin: 0;
  display: flex;
  min-height: 100%;
}

.quote-ref--link {
  cursor: pointer;
}

.quote-ref__card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.35rem 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.35s ease;
}

.quote-ref__card::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 8vw, 3.5rem);
  line-height: 1;
  color: var(--cyan);
  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}

.quote-ref__card::after {
  content: "";
  position: absolute;
  top: 0.65rem;
  bottom: 0.65rem;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--cyan-dim), var(--accent-soft));
  opacity: 0.95;
}

@media (hover: hover) and (pointer: fine) {
  .quote-ref:hover .quote-ref__card {
    border-color: rgba(0, 229, 200, 0.22);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 229, 200, 0.08);
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-ref__card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .quote-ref:hover .quote-ref__card {
    transform: none;
  }
}

@media (max-width: 768px) {
  .quote-ref__card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1.2rem 1.15rem 1.1rem 1.35rem;
  }
}

.quote-ref__body {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0.15rem 0 0 0.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.quote-ref__text {
  margin: 0;
  font-size: clamp(0.98rem, 0.95rem + 0.2vw, 1.06rem);
  line-height: 1.62;
  font-style: italic;
  color: var(--text-body-soft);
  letter-spacing: 0.01em;
}

.quote-ref__footer {
  margin-top: auto;
  padding-top: 1rem;
}

.quote-ref__source {
  display: block;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Ganze Karte = Link, nur wenn Quelle eine URL ist (startseite.js) */
a.quote-ref__card--link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.quote-ref--link .quote-ref__source {
  color: rgba(0, 229, 200, 0.75);
}

.quote-ref__card--link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.quote-ref__source::before {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.65;
}

.quote-ref-list__empty {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-style: italic;
  line-height: 1.55;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

/* Musik — gleiche Raster- und Kartenmaße wie Admin / „Vergangene Events“-Vorschau */
.music-blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}

.music-blog-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0.55rem 0.65rem 0.7rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .music-blog-item:hover {
    transform: translateY(-1px);
  }
}

a.music-blog-item__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-clamp: 3;
  flex: 0 0 auto;
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  word-break: break-word;
  transition: border-color 0.2s ease, color 0.2s ease;
  min-height: calc(0.9rem * 1.3 * 3);
  max-height: calc(0.9rem * 1.3 * 3);
}

@media (hover: hover) and (pointer: fine) {
  a.music-blog-item__title:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}

span.music-blog-item__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-clamp: 3;
  flex: 0 0 auto;
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
  min-height: calc(0.9rem * 1.3 * 3);
  max-height: calc(0.9rem * 1.3 * 3);
}

.music-blog-item__note {
  flex: 0 0 auto;
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

/* Player-Fläche: feste Höhe pro Karte, iframe füllt den Kasten (SoundCloud-Layout variiert) */
.music-blog-item__embed {
  flex: 0 0 auto;
  margin-top: 0;
  width: 100%;
  height: 166px;
  min-height: 166px;
  max-height: 166px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

@media (min-width: 480px) {
  .music-blog-item__embed {
    height: 180px;
    min-height: 180px;
    max-height: 180px;
  }
}

@media (min-width: 900px) {
  .music-blog-item__embed {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }
}

.music-blog-item__embed .music-blog-item__iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  vertical-align: middle;
}

/* Vergangene Events — Karten + Bild-Karussell */
.venue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.2rem;
}

.venue-card {
  padding: 1rem 1.15rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition:
    border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .venue-card:hover {
    border-color: rgba(255, 45, 107, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
  }
}

.venue-card__title {
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

/* Admin: eigener Text pro Vergangen-Event — unter dem Titel, über der Galerie */
.venue-card__desc {
  margin: -0.25rem 0 0.85rem;
  color: var(--muted);
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
  line-height: 1.55;
  max-width: 56ch;
  white-space: pre-line;
}

/* Optionales Video (YouTube/Vimeo) unter der Galerie */
.venue-card__video {
  margin-top: 0.75rem;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.venue-card__video .venue-card__iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  vertical-align: middle;
}

.venue-carousel {
  margin: 0 -0.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.venue-carousel__stage {
  position: relative;
}

.venue-carousel__viewport {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.venue-carousel__track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .venue-carousel__track {
    transition: none;
  }
}

.venue-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
}

.venue-carousel__zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
  appearance: none;
  -webkit-appearance: none;
}

.venue-carousel__zoom:focus-visible {
  outline: 2px solid rgba(0, 229, 200, 0.65);
  outline-offset: 2px;
}

.venue-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.venue-carousel__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  padding: 0.1rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 45, 107, 0.35) transparent;
}

.venue-carousel__thumbs::-webkit-scrollbar {
  height: 5px;
}

.venue-carousel__thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 45, 107, 0.35);
  border-radius: 3px;
}

.venue-carousel__thumb {
  flex: 0 0 auto;
  width: 3.25rem;
  height: 2.05rem;
  padding: 0;
  margin: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0.72;
  transition: opacity 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.venue-carousel__thumb:hover {
  opacity: 1;
}

.venue-carousel__thumb.is-active {
  opacity: 1;
  border-color: rgba(0, 229, 200, 0.75);
  box-shadow: 0 0 0 1px rgba(0, 229, 200, 0.25);
}

.venue-carousel__thumb:focus-visible {
  outline: 2px solid rgba(0, 229, 200, 0.65);
  outline-offset: 2px;
}

.venue-carousel__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Lightbox — große Ansicht / optional Vollbild */
.venue-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.5rem, env(safe-area-inset-top)) max(0.5rem, env(safe-area-inset-right))
    max(0.5rem, env(safe-area-inset-bottom)) max(0.5rem, env(safe-area-inset-left));
  box-sizing: border-box;
}

.venue-lightbox[hidden] {
  display: none;
}

.venue-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 1, 8, 0.92);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.venue-lightbox.venue-lightbox--visible .venue-lightbox__backdrop {
  opacity: 1;
}

.venue-lightbox__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: min(1400px, 100vw);
  height: min(96vh, 100%);
  max-height: 100%;
  min-height: 0;
  padding: 0.5rem 0.75rem 0.75rem;
  box-sizing: border-box;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.venue-lightbox.venue-lightbox--visible .venue-lightbox__panel {
  opacity: 1;
  transform: scale(1);
}

.venue-lightbox__panel:fullscreen {
  max-width: none;
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right))
    max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  background: #020108;
}

@media (prefers-reduced-motion: reduce) {
  .venue-lightbox__backdrop,
  .venue-lightbox__panel {
    transition: none;
  }

  .venue-lightbox.venue-lightbox--visible .venue-lightbox__panel {
    transform: none;
  }
}

.venue-lightbox__toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-bottom: 0.35rem;
  padding-inline: 0.15rem;
}

.venue-lightbox__caption {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}

.venue-lightbox__toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.venue-lightbox__icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.venue-lightbox__icon-btn:hover {
  background: rgba(0, 229, 200, 0.15);
  border-color: rgba(0, 229, 200, 0.35);
}

.venue-lightbox__fs-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.venue-lightbox__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.venue-lightbox__figure {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 2.85rem;
  min-height: 0;
  min-width: 0;
}

.venue-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
  cursor: zoom-in;
  /* verhindert, dass Browser das Bild in Flex-Layouts „stauchen“ */
  object-position: center center;
}

.venue-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.venue-lightbox__nav--prev {
  left: 0.15rem;
}

.venue-lightbox__nav--next {
  right: 0.15rem;
}

@media (max-width: 520px) {
  .venue-lightbox__figure {
    padding: 0 2.35rem;
  }

  .venue-lightbox__nav--prev {
    left: 0;
  }

  .venue-lightbox__nav--next {
    right: 0;
  }
}

.venue-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.venue-carousel__btn:hover {
  background: rgba(0, 229, 200, 0.2);
  border-color: rgba(0, 229, 200, 0.45);
}

.venue-carousel__btn--prev {
  left: 0.35rem;
}

.venue-carousel__btn--next {
  right: 0.35rem;
}

.venue__loc {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.88em;
}

/* Social — Desktop: horizontale Reihe + Scroll; schmale Geräte: Grid (kein Schrumpfen / kein Text-Bleed) */
.social-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.2rem 0 0.75rem;
  margin-inline: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--page-pad-x);
  scrollbar-color: rgba(255, 45, 107, 0.35) transparent;
  touch-action: pan-x;
}

.social-grid::-webkit-scrollbar {
  height: 6px;
}

.social-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 45, 107, 0.35);
  border-radius: 3px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: min(220px, calc(100vw - 2.5rem));
  min-width: min(220px, calc(100vw - 2.5rem));
  max-width: 220px;
  padding: 1.1rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  min-height: 0;
  isolation: isolate;
  scroll-snap-align: start;
  position: relative;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.25);
}

.social-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 45, 107, 0.5), rgba(0, 229, 200, 0.45), transparent);
  opacity: 0.65;
  pointer-events: none;
}

@media (max-width: 640px) {
  .social-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow-x: visible;
    overflow-y: visible;
    touch-action: auto;
    gap: 0.85rem;
    padding-bottom: 0.35rem;
  }

  .social-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    scroll-snap-align: none;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    overflow-y: visible;
    touch-action: auto;
    gap: 0.85rem;
  }

  .social-card {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

@media (min-width: 901px) {
  .social-grid {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    touch-action: auto;
    gap: 1rem;
  }

  .social-card {
    width: min(200px, 100%);
    min-width: 160px;
    max-width: 220px;
    flex: 0 1 auto;
  }
}

.social-card:hover {
  border-color: rgba(255, 45, 107, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.social-card__icon {
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.social-card__icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

/* Markenfarben (Icons via currentColor) — Simple Icons, angepasst fürs Dark-Theme */
.social-card--brand-instagram .social-card__icon {
  color: #e4405f;
}

.social-card--brand-spotify .social-card__icon {
  color: #1db954;
}

.social-card--brand-tiktok .social-card__icon {
  color: #ff0050;
}

.social-card--brand-soundcloud .social-card__icon {
  color: #ff5500;
}

.social-card--brand-twitch .social-card__icon {
  color: #9146ff;
}

.social-card:hover .social-card__icon {
  filter: brightness(1.12);
}

.social-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  max-width: 100%;
  line-height: 1.25;
}

.social-card__handle {
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  font-weight: 600;
  color: var(--cyan);
  max-width: 100%;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.social-card:hover .social-card__handle {
  color: #5ff5e8;
}

.social-card__media {
  width: 100%;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.social-card__media img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.social-card--has-image .social-card__icon {
  display: none;
}

/* Footer */
.footer {
  position: relative;
  padding: 3.5rem var(--page-pad-x) max(3rem, env(safe-area-inset-bottom, 0px));
  text-align: center;
  border-top: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 45%),
    radial-gradient(ellipse 80% 120% at 50% 0%, rgba(0, 229, 200, 0.06), transparent 55%);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--line-glow);
  opacity: 0.5;
  pointer-events: none;
}

.footer__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
}

.footer__copy {
  margin: 0.5rem 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer__top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.35rem auto 0;
  padding: 0.65rem 1.35rem;
  max-width: calc(100% - 2rem);
  box-sizing: border-box;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  background: linear-gradient(145deg, rgba(0, 229, 200, 0.1), rgba(255, 45, 107, 0.06));
  border: 1px solid rgba(0, 229, 200, 0.35);
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 8px 28px rgba(0, 0, 0, 0.25);
  transition: color 0.2s ease, text-shadow 0.2s ease, border-color 0.2s ease;
}

.footer__top:hover {
  color: #b8fff5;
  text-shadow: 0 0 18px rgba(0, 229, 200, 0.35);
  border-color: rgba(0, 229, 200, 0.5);
}

.footer__top:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 999px;
}

.footer__admin {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
}

.footer__admin-link {
  color: var(--muted);
  opacity: 0.65;
}

.footer__admin-link:hover {
  color: var(--muted);
  opacity: 1;
}

.footer__legal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin: 0 auto 1rem;
  padding: 0.65rem 1.35rem;
  max-width: calc(100% - 2rem);
  box-sizing: border-box;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(145deg, rgba(0, 229, 200, 0.1), rgba(255, 45, 107, 0.06));
  border: 1px solid rgba(0, 229, 200, 0.35);
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 8px 28px rgba(0, 0, 0, 0.25);
}

.footer__legal span[aria-hidden="true"] {
  opacity: 0.4;
  font-weight: 400;
  user-select: none;
}

.footer__legal-link {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer__legal-link:hover {
  color: #b8fff5;
  text-shadow: 0 0 18px rgba(0, 229, 200, 0.35);
}

.footer__legal-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Legal pages */
.legal-page {
  padding-top: var(--header-offset);
}

.legal-section {
  min-height: calc(100dvh - var(--header-offset));
  min-height: calc(100vh - var(--header-offset));
}

.legal-wrap {
  max-width: 900px;
}

.legal-card {
  padding: 1.65rem 1.85rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.legal-block + .legal-block {
  margin-top: 1.5rem;
}

.legal-title {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

.legal-text {
  margin: 0.4rem 0;
  color: var(--text-body-soft);
  line-height: 1.7;
}

.legal-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: #c9c4d8;
}

/* Admin */
body.page-admin {
  color-scheme: dark;
  background-image:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255, 45, 107, 0.1), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 80%, rgba(0, 229, 200, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, #0a0814 50%, var(--bg-deep) 100%);
}

.admin-page {
  padding-top: var(--header-offset);
}

.admin-section {
  min-height: calc(100dvh - var(--header-offset) - 120px);
  min-height: calc(100vh - var(--header-offset) - 120px);
}

.admin-wrap {
  max-width: 640px;
}

.admin-wrap--wide {
  max-width: min(1200px, calc(100vw - 2rem));
}

.admin-lead {
  margin-bottom: 1.5rem;
}

.admin-layout {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.admin-sidebar {
  flex: 0 0 200px;
  position: sticky;
  top: calc(var(--header-offset) + 1rem);
  padding: 1rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.admin-nav__label {
  margin: 0 0 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-nav__link {
  display: block;
  padding: 0.5rem 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.admin-nav__link:hover {
  color: var(--text);
  background: rgba(0, 229, 200, 0.08);
  border-color: rgba(0, 229, 200, 0.2);
}

.admin-nav__link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 229, 200, 0.45);
}

.admin-nav__link--active {
  color: var(--text);
  background: rgba(0, 229, 200, 0.12);
  border-color: rgba(0, 229, 200, 0.32);
}

.admin-main {
  flex: 1;
  min-width: 0;
}

.admin-anchor {
  scroll-margin-top: calc(var(--header-offset) + 1rem);
}

@media (max-width: 900px) {
  .admin-layout {
    flex-direction: column;
    gap: 1rem;
  }

  .admin-sidebar {
    position: static;
    flex: none;
    width: 100%;
  }

  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .admin-nav__link {
    flex: 1 1 auto;
    min-width: calc(50% - 0.25rem);
    text-align: center;
    padding: 0.45rem 0.5rem;
    font-size: 0.8rem;
  }
}

.admin-subtitle {
  margin: 1.25rem 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.admin-card--bar {
  margin-bottom: 1rem;
}

.admin-card {
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

@media (max-width: 768px) {
  .admin-card,
  .admin-sidebar {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

.admin-card__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.admin-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-card__head .admin-card__title {
  margin: 0;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-form__row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 1rem;
}

.admin-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.admin-form__actions .btn--small {
  margin-top: 0;
}

.admin-form__row--gig-date {
  grid-template-columns: minmax(0, 1fr) 100px;
  align-items: end;
}

@media (max-width: 640px) {
  .admin-form__row {
    grid-template-columns: 1fr;
  }

  .admin-form__row--gig-date {
    grid-template-columns: 1fr;
  }
}

.admin-field-hint {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.admin-label__title {
  display: block;
  margin-bottom: 0.4rem;
}

input.admin-flatpickr-alt {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%2300e5c8' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

/* Flatpickr — dunkles Theme (Kalender-Popup) */
.flatpickr-calendar.flatpickr-calendar--dj {
  background: #121018;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  z-index: 25000;
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-months {
  padding: 0.5rem 0 0;
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-monthDropdown-months,
.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-current-month input.cur-year {
  background: transparent;
  color: var(--text);
  font-weight: 600;
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-weekdays {
  padding: 0.35rem 0;
}

.flatpickr-calendar.flatpickr-calendar--dj span.flatpickr-weekday {
  color: var(--muted);
  font-weight: 600;
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-day {
  border-radius: 8px;
  color: var(--text);
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-day:hover {
  background: rgba(0, 229, 200, 0.15);
  border-color: transparent;
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-day.selected,
.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-day.startRange,
.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-day.endRange {
  background: linear-gradient(135deg, var(--accent), #c41e5c);
  border-color: transparent;
  color: #fff;
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-day.today {
  border-color: var(--cyan);
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-months .flatpickr-prev-month svg,
.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-months .flatpickr-next-month svg {
  fill: #b4aec8;
  opacity: 0.95;
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-prev-month:hover svg,
.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-next-month:hover svg {
  fill: var(--cyan);
  opacity: 1;
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-months .flatpickr-prev-month.flatpickr-disabled svg,
.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-months .flatpickr-next-month.flatpickr-disabled svg {
  fill: #5c566e;
  opacity: 0.45;
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-day.flatpickr-disabled {
  color: rgba(255, 255, 255, 0.2);
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-day.flatpickr-day--dj-vacation {
  position: relative;
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-day.flatpickr-day--dj-vacation .flatpickr-day__dj-vacation-mark {
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
  font-size: 0.62rem;
  line-height: 1;
  pointer-events: none;
  opacity: 0.95;
}

.admin-vacation-inline {
  position: relative;
  max-width: 360px;
  margin: 0.5rem 0 0.25rem;
}

/* Inline-Urlaubskalender darf nicht wie ein Popup über andere Admin-Karten schweben */
#admin-freizeit .flatpickr-calendar.inline {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  margin: 0.25rem 0 0;
}

.admin-vacation-actions {
  margin: 0.85rem 0 0;
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-time {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-time input,
.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-am-pm {
  color: var(--text);
  font-weight: 600;
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-time input:focus {
  background: rgba(0, 229, 200, 0.12);
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-time .numInputWrapper span {
  border-color: rgba(255, 255, 255, 0.12);
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-time .numInputWrapper span:hover {
  background: rgba(255, 45, 107, 0.2);
}

.flatpickr-calendar.flatpickr-calendar--dj .flatpickr-innerContainer + .flatpickr-time {
  border-radius: 0 0 10px 10px;
}

.admin-label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.admin-label input,
.admin-label textarea {
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.admin-label textarea {
  min-height: 5rem;
  line-height: 1.5;
  resize: vertical;
}

.admin-label input::placeholder,
.admin-label textarea::placeholder {
  color: rgba(240, 238, 248, 0.42);
}

.admin-label input:focus,
.admin-label textarea:focus {
  outline: none;
  border-color: rgba(0, 229, 200, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 229, 200, 0.12);
}

.admin-msg {
  margin: 0;
  font-size: 0.9rem;
  color: var(--cyan);
}

.admin-msg--error {
  color: #ff6b8a;
}

.admin-msg--warn {
  color: #ffc266;
}

/* --- Admin: Speicher & Übersicht (hochwertiges Layout) --- */
.admin-card--storage {
  position: relative;
  overflow: hidden;
}

.admin-card--storage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 10% -20%, rgba(0, 229, 200, 0.08), transparent 45%),
    radial-gradient(100% 60% at 100% 0%, rgba(140, 120, 255, 0.07), transparent 42%);
  pointer-events: none;
  z-index: 0;
}

.admin-card--storage > * {
  position: relative;
  z-index: 1;
}

.admin-card--storage .admin-card__head {
  align-items: flex-start;
  gap: 1rem;
}

.admin-storage-lead {
  margin: 0 0 1rem;
  padding: 0.65rem 0 0.65rem 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.88);
  border-left: 3px solid rgba(0, 229, 200, 0.65);
  background: linear-gradient(90deg, rgba(0, 229, 200, 0.06), transparent 55%);
  border-radius: 0 10px 10px 0;
}

.admin-storage-help {
  margin: 0 0 1.25rem;
  padding: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.admin-storage-help:hover {
  border-color: rgba(0, 229, 200, 0.22);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-storage-help__summary {
  position: relative;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  color: rgba(0, 245, 212, 0.95);
  text-shadow: 0 0 20px rgba(0, 229, 200, 0.25);
}

.admin-storage-help__summary::-webkit-details-marker {
  display: none;
}

.admin-storage-help__summary::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  margin-top: -0.35rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid rgba(0, 229, 200, 0.85);
  border-bottom: 2px solid rgba(0, 229, 200, 0.85);
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}

.admin-storage-help[open] .admin-storage-help__summary::before {
  transform: rotate(45deg);
  margin-top: -0.2rem;
}

.admin-storage-help__inner {
  margin: 0;
  padding: 0 1rem 1rem 1rem;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.2);
}

.admin-storage-help__inner p {
  margin: 0.5rem 0 0;
}

.admin-storage-help__inner p:first-child {
  margin-top: 0.65rem;
}

.admin-storage-wrap {
  margin-top: 0.25rem;
}

.admin-storage-summary {
  margin: 0 0 1.35rem;
  padding: 1rem 1.15rem 1.15rem;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.admin-storage-summary__title {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.72);
}

.admin-storage-summary__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .admin-storage-summary__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.admin-storage-summary__item {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.admin-storage-summary__item--bucket {
  border-left: 3px solid rgba(0, 229, 200, 0.55);
}

.admin-storage-summary__item--db {
  border-left: 3px solid rgba(167, 139, 250, 0.65);
}

.admin-storage-summary__label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.82);
}

.admin-storage-summary__value {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.96);
  word-break: break-word;
}

.admin-storage-summary__item--bucket .admin-storage-summary__value {
  color: rgba(180, 255, 240, 0.98);
}

.admin-storage-summary__item--db .admin-storage-summary__value {
  color: rgba(216, 201, 255, 0.98);
}

.admin-storage-summary__hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.62);
}

.admin-storage-panel__purpose {
  margin: -0.2rem 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.65);
}

.admin-storage-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 960px) {
  .admin-storage-columns {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: stretch;
  }
}

.admin-storage-panel--card {
  position: relative;
  padding: 1.15rem 1.2rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.admin-storage-panel--card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  pointer-events: none;
}

.admin-storage-panel--bucket::before {
  background: linear-gradient(90deg, rgba(0, 229, 200, 0.95), rgba(0, 180, 200, 0.5), rgba(0, 229, 200, 0.3));
  box-shadow: 0 0 24px rgba(0, 229, 200, 0.35);
}

.admin-storage-panel--postgres::before {
  background: linear-gradient(90deg, rgba(160, 140, 255, 0.95), rgba(100, 140, 255, 0.55), rgba(140, 120, 255, 0.35));
  box-shadow: 0 0 24px rgba(140, 120, 255, 0.3);
}

.admin-storage-panel__head {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-storage-panel__title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.admin-storage-panel--bucket .admin-storage-panel__title {
  color: rgba(220, 255, 250, 0.98);
}

.admin-storage-panel--postgres .admin-storage-panel__title {
  color: rgba(235, 232, 255, 0.98);
}

.admin-storage-panel__meta {
  margin: 0.35rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-storage-subtitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 229, 200, 0.85);
}

.admin-storage-panel--postgres .admin-storage-subtitle {
  color: rgba(180, 175, 255, 0.9);
}

.admin-storage-subtitle::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  flex-shrink: 0;
}

.admin-storage-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

@media (max-width: 540px) {
  .admin-storage-kpis {
    grid-template-columns: 1fr;
  }
}

.admin-storage-kpi {
  min-width: 0;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 4.1rem;
  display: flex;
  align-items: flex-start;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.admin-storage-panel--bucket .admin-storage-kpi:hover {
  border-color: rgba(0, 229, 200, 0.25);
  transform: translateY(-1px);
}

.admin-storage-panel--postgres .admin-storage-kpi:hover {
  border-color: rgba(160, 140, 255, 0.3);
  transform: translateY(-1px);
}

.admin-storage-kpi__line {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.93);
  word-break: break-word;
  hyphens: auto;
}

.admin-storage-meter {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.admin-storage-meter__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
  min-height: 1.5rem;
}

.admin-storage-meter__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
}

.admin-storage-meter__pct {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: rgba(0, 255, 220, 0.95);
  text-shadow: 0 0 14px rgba(0, 229, 200, 0.35);
}

.admin-storage-meter__pct--db {
  color: rgba(200, 195, 255, 0.98);
  text-shadow: 0 0 14px rgba(160, 140, 255, 0.35);
}

/* Einheitlicher „Noch frei“-Kasten (nur Akzentfarbe pro Spalte) */
.admin-storage-free-line {
  margin: 0.55rem 0 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-storage-panel--bucket .admin-storage-free-line {
  color: rgba(180, 255, 245, 0.98);
  border-color: rgba(0, 229, 200, 0.38);
}

.admin-storage-panel--postgres .admin-storage-free-line {
  color: rgba(220, 215, 255, 0.98);
  border-color: rgba(160, 140, 255, 0.4);
}

.admin-storage-upload-note {
  margin: 0.55rem 0 0;
  padding: 0.45rem 0 0.45rem 0.75rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45);
  border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.admin-storage-folders-wrap {
  margin: 0 0 1.1rem;
}

.admin-storage-db-counts-block {
  margin-bottom: 1.25rem;
}

.admin-storage-db-size-line {
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.65rem;
  font-size: 1.08rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #f1f5f9;
  background: linear-gradient(90deg, rgba(140, 120, 255, 0.12), transparent);
  border-radius: 8px;
  border: 1px solid rgba(160, 140, 255, 0.15);
}

.admin-storage-footnote {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
}

.admin-storage-footnote--strong {
  margin-top: 0.35rem;
  padding: 0.4rem 0.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}

.admin-storage-table-scroll {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: auto;
  max-height: 13rem;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.admin-storage-table-scroll::-webkit-scrollbar,
.admin-storage-table-scroll--tall::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

.admin-storage-table-scroll::-webkit-scrollbar-track,
.admin-storage-table-scroll--tall::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}

.admin-storage-table-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0, 229, 200, 0.35), rgba(0, 229, 200, 0.15));
  border-radius: 6px;
}

.admin-storage-panel--postgres .admin-storage-table-scroll::-webkit-scrollbar-thumb,
.admin-storage-panel--postgres .admin-storage-table-scroll--tall::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(160, 140, 255, 0.45), rgba(100, 140, 255, 0.2));
}

.admin-storage-table-scroll--tall {
  max-height: 19rem;
}

.admin-storage-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.87rem;
}

.admin-storage-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  text-align: left;
  padding: 0.6rem 0.75rem;
  background: linear-gradient(180deg, rgba(26, 36, 48, 0.99), rgba(18, 24, 32, 0.99));
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-storage-table tbody td {
  padding: 0.48rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(248, 250, 252, 0.92);
  vertical-align: middle;
  transition: background 0.12s ease;
}

.admin-storage-panel--bucket .admin-storage-table tbody tr:nth-child(even) td {
  background: rgba(0, 229, 200, 0.03);
}

.admin-storage-panel--bucket .admin-storage-table tbody tr:hover td {
  background: rgba(0, 229, 200, 0.09);
}

.admin-storage-panel--postgres .admin-storage-table tbody tr:nth-child(even) td {
  background: rgba(140, 120, 255, 0.05);
}

.admin-storage-panel--postgres .admin-storage-table tbody tr:hover td {
  background: rgba(140, 120, 255, 0.12);
}

.admin-storage-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-storage-table__num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 600;
  color: rgba(0, 255, 220, 0.88);
}

.admin-storage-panel--postgres .admin-storage-table__num {
  color: rgba(200, 195, 255, 0.95);
}

.admin-storage-tbl-friendly {
  font-weight: 600;
  color: #f8fafc;
}

.admin-storage-tbl-rel {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
  font-family: ui-monospace, "Cascadia Code", monospace;
}

.admin-storage-db-size-block {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-storage-db-tables-block {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-storage-bar-wrap--db {
  max-width: none;
}

.admin-storage-bar--db {
  background: linear-gradient(90deg, rgba(160, 140, 255, 0.95), rgba(100, 160, 255, 0.88), rgba(140, 180, 255, 0.75));
  box-shadow: 0 0 16px rgba(140, 120, 255, 0.45);
}

.admin-storage-bar--db.is-warning {
  background: linear-gradient(90deg, rgba(255, 180, 80, 0.95), rgba(255, 100, 70, 0.9));
  box-shadow: 0 0 14px rgba(255, 140, 80, 0.4);
}

.admin-storage-body {
  margin-top: 0;
}

.admin-storage-bar-wrap {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(255, 255, 255, 0.06));
  overflow: hidden;
  max-width: none;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.admin-storage-bar {
  height: 100%;
  width: 0%;
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(0, 245, 210, 0.95), rgba(0, 190, 200, 0.85), rgba(0, 229, 200, 0.7));
  box-shadow: 0 0 18px rgba(0, 229, 200, 0.45);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-storage-bar.is-warning {
  background: linear-gradient(90deg, rgba(255, 180, 80, 0.98), rgba(255, 100, 70, 0.92));
  box-shadow: 0 0 14px rgba(255, 140, 80, 0.45);
}

/* Vergangene Events — Formular: Bilder, Upload, Vorschaubild, Galerie-Reihenfolge */
.admin-ref-media {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-top: 0.35rem;
}

.admin-ref-media__block {
  min-width: 0;
}

.admin-ref-media__heading {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.admin-field-hint--media {
  margin: 0.45rem 0 0;
}

.admin-field-hint--media-sub {
  margin: 0 0 0.65rem;
  padding-left: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(240, 238, 248, 0.72);
}

.admin-field-hint--tight {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.admin-ref-upload {
  position: relative;
}

.admin-ref-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-ref-upload__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 5.75rem;
  padding: 1.15rem 1rem;
  border: 1px dashed rgba(0, 229, 200, 0.38);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(0, 229, 200, 0.06), rgba(0, 0, 0, 0.2));
  cursor: pointer;
  text-align: center;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.admin-ref-upload__card:hover,
.admin-ref-upload:focus-within .admin-ref-upload__card {
  border-color: rgba(0, 229, 200, 0.58);
  background: linear-gradient(165deg, rgba(0, 229, 200, 0.1), rgba(0, 0, 0, 0.22));
  box-shadow: 0 0 0 1px rgba(0, 229, 200, 0.12);
}

.admin-ref-upload__icon {
  display: flex;
  color: rgba(0, 229, 200, 0.85);
}

.admin-ref-upload__cta {
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
  line-height: 1.35;
  max-width: 22rem;
}

.admin-ref-pending-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.admin-ref-pending-badges__chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  background: rgba(0, 229, 200, 0.1);
  border: 1px solid rgba(0, 229, 200, 0.28);
  border-radius: 999px;
  word-break: break-word;
}

.admin-ref-cover-card {
  padding: 1rem 1.1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.admin-ref-cover-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.15rem;
}

.admin-ref-cover-card__title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.admin-ref-cover-card__badge {
  flex-shrink: 0;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(240, 238, 248, 0.85);
  background: rgba(0, 229, 200, 0.12);
  border: 1px solid rgba(0, 229, 200, 0.28);
  border-radius: 999px;
}

.admin-ref-cover-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.85rem 1rem;
  margin-top: 0.65rem;
}

.admin-ref-cover-card__pick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.admin-ref-thumb-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem;
}

.admin-ref-thumb-preview img {
  display: block;
  max-width: min(280px, 100%);
  height: auto;
  max-height: 140px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
}

.admin-ref-fallback-card {
  padding: 1rem 1.1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 180, 100, 0.22);
  background: linear-gradient(165deg, rgba(255, 180, 100, 0.06), rgba(0, 0, 0, 0.18));
}

.admin-label--stack {
  gap: 0.5rem;
}

.admin-ref-select {
  width: 100%;
  max-width: 100%;
  margin-top: 0.15rem;
  padding: 0.55rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  accent-color: var(--cyan);
}

.admin-ref-select:hover {
  border-color: rgba(0, 229, 200, 0.35);
}

.admin-ref-select:focus {
  outline: none;
  border-color: rgba(0, 229, 200, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 229, 200, 0.12);
}

.admin-muted {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.admin-site-setting {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-toggle-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.admin-site-setting .admin-toggle-label ~ .admin-toggle-label {
  margin-top: 1.35rem;
}

.admin-toggle-input {
  margin-top: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  accent-color: var(--cyan);
  cursor: pointer;
}

.admin-field-hint--compact {
  margin: 0.5rem 0 0;
  padding-left: 1.8rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

.admin-field-hint.admin-field-hint--compact.admin-gig-preview-hint,
.admin-field-hint.admin-field-hint--compact.admin-ref-preview-hint,
.admin-field-hint.admin-field-hint--compact.admin-music-preview-hint {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.btn--small {
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
}

.admin-gig-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Next Gigs / Referenzen im Admin: gleiche Abstände & Raster wie auf der Startseite */
.admin-gig-list.admin-gig-preview-list {
  gap: clamp(1.75rem, 5vw, 2.5rem);
}

/* Grid: Karte immer oben, Toolbar immer unten (unabhängig von DOM-Reihenfolge / Flex) */
.admin-gig-preview-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "gigcard"
    "toolbar";
  gap: 0.95rem;
  align-content: start;
  min-width: 0;
  padding-bottom: 0.35rem;
}

.admin-gig-preview-item > .gig-item {
  grid-area: gigcard;
  min-width: 0;
}

.admin-gig-preview-item > .admin-gig-preview__toolbar {
  grid-area: toolbar;
  align-self: start;
  justify-self: stretch;
}

.admin-gig-preview__toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  width: 100%;
}

.admin-gig-preview__toolbar .admin-gig-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-gig-list.admin-quote-preview-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 3vw, 1.35rem);
  align-items: stretch;
}

/* Musik im Admin — gleiche Ausrichtung wie Startseite „Aktuellste Songs“ */
.admin-gig-list.admin-music-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}

.admin-music-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas:
    "musiccard"
    "toolbar";
  gap: 0.75rem;
  align-content: stretch;
  height: 100%;
  min-height: 0;
  min-width: 0;
  padding-bottom: 0.35rem;
}

.admin-music-item > .admin-music-preview {
  grid-area: musiccard;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.admin-music-item > .admin-music-preview__toolbar {
  grid-area: toolbar;
  align-self: start;
  justify-self: stretch;
  max-width: none;
  width: 100%;
  margin-inline: 0;
}

.admin-music-preview {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0.55rem 0.65rem 0.7rem;
  font-size: 0.84rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .admin-music-item > .admin-music-preview:hover {
    transform: translateY(-1px);
  }
}

.admin-music-item .admin-music-preview__title,
.admin-music-item .admin-music-preview__title--plain {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-clamp: 3;
  flex: 0 0 auto;
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 600;
  word-break: break-word;
  min-height: calc(0.9rem * 1.3 * 3);
  max-height: calc(0.9rem * 1.3 * 3);
}

a.admin-music-preview__title {
  color: var(--accent);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  a.admin-music-preview__title:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}

.admin-music-preview__title--plain {
  color: var(--text);
}

/* Medienbereich: gleiche feste Höhen wie auf der Startseite (Musik-Sektion) */
.admin-music-preview__stage {
  flex: 0 0 auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  position: relative;
  margin: 0;
  width: 100%;
  height: 166px;
  min-height: 166px;
  max-height: 166px;
}

@media (min-width: 480px) {
  .admin-music-preview__stage {
    height: 180px;
    min-height: 180px;
    max-height: 180px;
  }
}

@media (min-width: 900px) {
  .admin-music-preview__stage {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }
}

.admin-music-preview__stage--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

.admin-music-preview__stage-placeholder {
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

.admin-music-preview__stage > .admin-music-preview__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
}

.admin-music-preview__embed .admin-music-preview__iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  vertical-align: middle;
}

.admin-music-preview__note {
  flex: 0 0 auto;
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.admin-music-preview__sort {
  flex: 0 0 auto;
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.95;
}

.admin-music-preview__toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  width: 100%;
}

.admin-music-preview__toolbar .admin-gig-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Gleiche Zeilenhöhe: Karte füllt die Zelle, Buttons sitzen unten bündig */
.admin-quote-item {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.85rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
  align-content: stretch;
}

.admin-quote-item > .admin-quote-preview.quote-ref {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  width: 100%;
}

.admin-quote-item > .admin-quote-preview .quote-ref__card {
  flex: 1 1 auto;
  min-height: 0;
}

.admin-quote-item > .admin-quote-preview__toolbar {
  align-self: stretch;
  flex-shrink: 0;
}

.admin-quote-preview__toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;
}

.admin-quote-preview__toolbar .admin-gig-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-quote-preview {
  width: 100%;
  min-height: 0;
}

/* Vergangene Events im Admin: Raster — mehrere Karten nebeneinander, pro Zelle Karte oben / Aktionen unten */
.admin-gig-list.admin-ref-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: start;
}

.admin-ref-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "refcard"
    "toolbar";
  gap: 0.75rem;
  align-content: start;
  min-width: 0;
  padding-bottom: 0.35rem;
}

.admin-ref-item > .venue-card {
  grid-area: refcard;
  min-width: 0;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0.55rem 0.65rem 0.7rem;
  font-size: 0.84rem;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

@media (hover: hover) and (pointer: fine) {
  .admin-ref-item > .venue-card:hover {
    transform: translateY(-1px);
  }
}

.admin-ref-item .venue-card__title {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  line-height: 1.3;
}

.admin-ref-item .venue-carousel {
  margin: 0;
  gap: 0.35rem;
}

.admin-ref-item .venue-carousel__slide {
  aspect-ratio: unset;
  height: clamp(132px, 28vw, 200px);
  max-height: 200px;
}

.admin-ref-item .venue-carousel__viewport {
  max-height: 200px;
}

.admin-ref-item .venue-carousel__thumb {
  width: 2.5rem;
  height: 1.55rem;
  border-radius: 5px;
}

.admin-ref-item .venue-carousel__btn {
  width: 1.85rem;
  height: 1.85rem;
  font-size: 1.1rem;
}

.admin-ref-item .venue-carousel__btn--prev {
  left: 0.25rem;
}

.admin-ref-item .venue-carousel__btn--next {
  right: 0.25rem;
}

.admin-ref-item > .admin-ref-preview__toolbar {
  grid-area: toolbar;
  align-self: start;
  justify-self: stretch;
  max-width: none;
  width: 100%;
  margin-inline: 0;
}

.admin-ref-preview__toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  width: 100%;
}

.admin-ref-preview__toolbar .admin-gig-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-gig-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.admin-gig-row__meta {
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  color: var(--text);
  word-break: break-word;
}

.admin-gig-row__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}

/* Admin — Gigs / vergangene Events-Listen: auf dem Handy untereinander, volle Breite für Tippflächen */
@media (max-width: 768px) {
  .admin-gig-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .admin-gig-row__meta {
    font-size: 0.88rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .admin-gig-row__actions,
  .admin-gig-preview__toolbar .admin-gig-row__actions,
  .admin-quote-preview__toolbar .admin-gig-row__actions,
  .admin-music-preview__toolbar .admin-gig-row__actions,
  .admin-ref-preview__toolbar .admin-gig-row__actions {
    justify-content: stretch;
    width: 100%;
    flex-wrap: nowrap;
  }

  .admin-gig-row__actions .btn,
  .admin-gig-preview__toolbar .admin-gig-row__actions .btn,
  .admin-quote-preview__toolbar .admin-gig-row__actions .btn,
  .admin-music-preview__toolbar .admin-gig-row__actions .btn,
  .admin-ref-preview__toolbar .admin-gig-row__actions .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    justify-content: center;
  }
}

/* Admin — Monatskalender (Gig-Übersicht) */
.admin-card--calendar {
  overflow: hidden;
}

.admin-card--calendar .admin-field-hint {
  margin-bottom: 0.85rem;
}

.admin-cal {
  margin-top: 0.5rem;
  padding: 1rem 1rem 1.15rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.admin-cal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.admin-cal__month {
  margin: 0;
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.admin-cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.admin-cal__weekdays span {
  text-align: center;
  padding: 0.2rem 0;
}

.admin-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.admin-cal__cell {
  min-height: 4.5rem;
  padding: 0.35rem 0.3rem 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.2rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  transition: border-color 0.15s ease;
}

.admin-cal__cell--muted {
  opacity: 0.38;
}

.admin-cal__cell--today {
  border-color: rgba(0, 229, 200, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 229, 200, 0.12) inset;
}

.admin-cal__daynum {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
}

.admin-cal__cell:not(.admin-cal__cell--muted) .admin-cal__daynum {
  color: var(--text);
}

.admin-cal__events {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-height: 0;
  max-height: 3.6rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 45, 107, 0.35) transparent;
}

.admin-cal__event {
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cyan-dim);
  padding: 0.15rem 0.25rem;
  background: rgba(255, 45, 107, 0.12);
  border-radius: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-cal__event:hover {
  background: rgba(255, 45, 107, 0.22);
  border-color: rgba(255, 45, 107, 0.25);
}

.admin-cal__event:focus {
  outline: none;
}

.admin-cal__event:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 229, 200, 0.45);
}

.admin-cal__event--private {
  color: #c9c4d8;
  background: rgba(120, 110, 180, 0.2);
  border: 1px solid rgba(180, 170, 220, 0.2);
}

.admin-cal__event--private:hover {
  background: rgba(120, 110, 180, 0.32);
  border-color: rgba(180, 170, 220, 0.35);
}

.admin-cal-detail {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 229, 200, 0.2);
  border-radius: 10px;
}

.admin-cal-detail__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.admin-cal-detail__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: var(--text);
  line-height: 1.25;
}

.admin-cal-detail__body {
  font-size: 0.92rem;
  color: #d8d4e8;
  line-height: 1.55;
}

.admin-cal-detail__dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  align-items: baseline;
}

.admin-cal-detail__dl dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.admin-cal-detail__dl dd {
  margin: 0;
  word-break: break-word;
}

.admin-cal-detail__label {
  margin: 0.75rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.admin-cal-detail__notes {
  margin: 0;
  padding: 0.65rem 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.9rem;
  color: var(--text);
}

.admin-cal-detail__actions {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-private-block {
  margin-top: 1.75rem;
  padding: 1.25rem 1.1rem 1.1rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
}

.admin-card--calendar .admin-private-block .admin-subtitle:first-child {
  margin-top: 0;
}

.admin-subtitle--inline {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.admin-gig-row__meta--private {
  color: #c9c4d8;
}

/* —— Performance & Geräte: Touch, Safe-Area —— */
@media (max-width: 768px) {
  .legal-card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

@media (hover: none), (pointer: coarse) {
  .site-header .lang-switch__btn,
  .site-header .theme-toggle {
    min-width: 2.75rem;
    min-height: 2.75rem;
    height: 2.75rem;
    padding: 0.45rem 0.55rem;
  }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .btn {
    min-height: 44px;
  }
}

main section[id] {
  scroll-margin-top: calc(var(--header-offset) + 0.5rem);
}

@media (min-width: 1400px) {
  .section__inner {
    max-width: min(1080px, 92vw);
  }

  .hero__grid {
    max-width: min(1100px, 88vw);
  }
}

@media (max-width: 640px) {
  .admin-cal {
    padding: 0.75rem 0.5rem 1rem;
  }

  .admin-cal__weekdays {
    gap: 0.22rem;
    font-size: 0.58rem;
  }

  .admin-cal__grid {
    gap: 0.22rem;
  }

  .admin-cal__cell {
    min-height: 3.35rem;
    padding: 0.28rem 0.18rem 0.35rem;
  }

  .admin-cal__daynum {
    font-size: 0.68rem;
  }

  .admin-cal__event {
    font-size: 0.55rem;
    padding: 0.2rem 0.2rem;
    min-height: 1.35rem;
    overflow: hidden;
    text-overflow: unset;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
  }

  .admin-cal__events {
    max-height: 4rem;
  }
}

/* ---------------------------------------------------------------------------
   Öffentliche Seiten: Fokus (Tastatur) + kleine Lesbarkeit — nicht .page-admin
   --------------------------------------------------------------------------- */
body:not(.page-admin) .btn:focus-visible,
body:not(.page-admin) .nav a:focus-visible,
body:not(.page-admin) .logo:focus-visible,
body:not(.page-admin) .lang-switch__btn:focus-visible,
body:not(.page-admin) .theme-toggle:focus-visible,
body:not(.page-admin) .nav-toggle:focus-visible,
body:not(.page-admin) .footer__legal-link:focus-visible,
body:not(.page-admin) .footer__top:focus-visible {
  outline: 2px solid rgba(0, 229, 200, 0.55);
  outline-offset: 3px;
}

body:not(.page-admin) .social-card:focus-visible {
  outline: 2px solid rgba(0, 229, 200, 0.5);
  outline-offset: 3px;
  border-radius: var(--radius);
}

body:not(.page-admin) .music-blog-item {
  border-color: rgba(255, 255, 255, 0.12);
}

body:not(.page-admin) .gig-item {
  border-color: rgba(255, 255, 255, 0.1);
}

/* ---------------------------------------------------------------------------
   Hellmodus (data-theme="light" auf <html>) — Dark bleibt Standard
   --------------------------------------------------------------------------- */
html[data-theme="light"] {
  color-scheme: light;
  --bg-deep: #f4efe6;
  --bg-mid: #e9e1d5;
  --bg-card: rgba(252, 248, 240, 0.92);
  --border: rgba(52, 44, 34, 0.11);
  --text: #201a14;
  --muted: #5f5648;
  --accent: #d9185c;
  --accent-soft: rgba(217, 24, 92, 0.2);
  --accent-glow: rgba(217, 24, 92, 0.34);
  --cyan: #009e8c;
  --cyan-soft: rgba(0, 158, 140, 0.22);
  --cyan-dim: rgba(0, 120, 108, 0.85);
  --shadow-soft: 0 28px 96px rgba(217, 24, 92, 0.09), 0 24px 80px rgba(42, 34, 26, 0.08);
  --shadow-card: 0 14px 44px rgba(42, 34, 26, 0.07), 0 0 32px rgba(0, 158, 140, 0.06);
  --line-glow: linear-gradient(
    90deg,
    transparent,
    rgba(0, 158, 140, 0.42),
    rgba(255, 200, 95, 0.28),
    rgba(217, 24, 92, 0.4),
    rgba(150, 95, 220, 0.32),
    transparent
  );
  --text-body-soft: #524a40;
}

html[data-theme="light"] body {
  background-image:
    radial-gradient(ellipse 100% 72% at 50% -18%, rgba(255, 210, 120, 0.1), transparent 50%),
    radial-gradient(ellipse 110% 85% at 50% -28%, rgba(255, 45, 107, 0.1), transparent 52%),
    radial-gradient(ellipse 90% 55% at 100% 15%, rgba(0, 158, 140, 0.09), transparent 48%),
    radial-gradient(ellipse 70% 45% at 0% 55%, rgba(145, 95, 220, 0.08), transparent 42%),
    radial-gradient(ellipse 50% 35% at 80% 90%, rgba(255, 45, 107, 0.07), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 45%, #d9cfc2 100%);
}

html[data-theme="light"] body.site-public {
  background-image:
    linear-gradient(
      118deg,
      transparent 0%,
      rgba(255, 210, 130, 0.14) 16%,
      transparent 30%,
      rgba(160, 100, 235, 0.11) 52%,
      transparent 68%,
      rgba(0, 175, 155, 0.1) 86%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      rgba(252, 248, 240, 0.5) 0%,
      rgba(252, 248, 240, 0.14) 38%,
      rgba(243, 237, 226, 0.38) 65%,
      rgba(218, 208, 194, 0.7) 100%
    ),
    radial-gradient(ellipse 95% 72% at 10% 92%, rgba(255, 200, 95, 0.1), transparent 54%),
    radial-gradient(ellipse 110% 85% at 50% -28%, rgba(255, 45, 107, 0.09), transparent 54%),
    radial-gradient(ellipse 90% 55% at 100% 15%, rgba(0, 158, 140, 0.08), transparent 50%),
    radial-gradient(ellipse 70% 45% at 0% 55%, rgba(150, 95, 230, 0.07), transparent 44%),
    radial-gradient(ellipse 50% 35% at 80% 90%, rgba(255, 45, 107, 0.06), transparent 52%),
    radial-gradient(ellipse 125% 48% at 50% 108%, rgba(255, 45, 107, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 42%, #d2c8bc 100%);
}

html[data-theme="light"] ::selection {
  background: rgba(200, 60, 120, 0.26);
  color: var(--text);
}

html[data-theme="light"] .noise {
  opacity: 0.028;
  filter: blur(0.35px);
  -webkit-filter: blur(0.35px);
}

html[data-theme="light"] body.site-public .noise {
  opacity: 0.036;
}

/* Nicht auf .btn anwenden — sonst wird z. B. „Nächste Gigs“ (btn--primary) beim Hover türkis statt weiß */
html[data-theme="light"] a:hover:not(.btn) {
  color: #007a6e;
}

html[data-theme="light"] .site-header {
  background: linear-gradient(
    to bottom,
    rgba(252, 248, 240, 0.94),
    rgba(255, 236, 248, 0.22) 28%,
    rgba(243, 237, 226, 0.86) 58%,
    rgba(243, 237, 226, 0.45) 85%,
    transparent
  );
  box-shadow: 0 1px 0 rgba(0, 158, 140, 0.08), 0 8px 32px rgba(217, 24, 92, 0.05);
}

html[data-theme="light"] body:not(.page-admin) .site-header {
  background: linear-gradient(
    to bottom,
    rgba(252, 248, 240, 0.96),
    rgba(230, 252, 248, 0.18) 32%,
    rgba(247, 242, 232, 0.9) 55%,
    rgba(247, 242, 232, 0.5) 84%,
    transparent
  );
  border-bottom: 1px solid rgba(217, 24, 92, 0.1);
  box-shadow: 0 1px 0 rgba(0, 158, 140, 0.1), 0 12px 40px rgba(150, 95, 220, 0.06);
}

/* Neues helles Logo auf Light-Header besser absetzen */
html[data-theme="light"] .logo--mark {
  background: rgba(252, 248, 240, 0.78);
  border-color: rgba(217, 24, 92, 0.18);
  box-shadow:
    0 6px 16px rgba(40, 30, 80, 0.08),
    0 0 24px rgba(0, 158, 140, 0.1),
    0 0 36px rgba(217, 24, 92, 0.08);
}

html[data-theme="light"] .logo__mark {
  filter: drop-shadow(0 1px 0 rgba(252, 248, 240, 0.7)) drop-shadow(0 0 1px rgba(28, 22, 45, 0.5));
}

html[data-theme="light"] .lang-switch__btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border);
  color: var(--muted);
}

html[data-theme="light"] .lang-switch__btn:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .lang-switch__btn[aria-pressed="true"] {
  color: var(--text);
  border-color: rgba(217, 24, 92, 0.35);
  background: linear-gradient(135deg, rgba(0, 158, 140, 0.12), rgba(217, 24, 92, 0.1));
  box-shadow: 0 0 20px rgba(0, 158, 140, 0.12);
}

html[data-theme="light"] .theme-toggle {
  color: var(--muted);
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border);
}

html[data-theme="light"] .theme-toggle:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .theme-toggle[aria-pressed="true"] {
  color: var(--text);
  border-color: rgba(150, 95, 220, 0.38);
  background: linear-gradient(145deg, rgba(217, 24, 92, 0.1), rgba(150, 95, 220, 0.12));
  box-shadow: 0 0 18px rgba(217, 24, 92, 0.12);
}

html[data-theme="light"] .nav a {
  color: var(--muted);
}

html[data-theme="light"] .nav a:hover {
  color: var(--text);
  text-shadow: none;
}

html[data-theme="light"] .nav-toggle span {
  background: var(--text);
}

html[data-theme="light"] .hero__eyebrow {
  color: #5a2d4a;
  background: linear-gradient(135deg, rgba(255, 230, 245, 0.65), rgba(230, 252, 248, 0.55));
  border-color: rgba(217, 24, 92, 0.22);
  box-shadow: 0 0 22px rgba(0, 158, 140, 0.12), 0 0 28px rgba(217, 24, 92, 0.08);
}

html[data-theme="light"] .hero__tagline {
  color: var(--text-body-soft);
}

/* Hero-Logo im Light-Mode klarer vom hellen Hintergrund trennen */
html[data-theme="light"] .hero__title-mark {
  filter:
    drop-shadow(0 0 1px rgba(22, 16, 38, 0.65))
    drop-shadow(0 1px 0 rgba(22, 16, 38, 0.35))
    drop-shadow(0 -1px 0 rgba(22, 16, 38, 0.2))
    drop-shadow(1px 0 0 rgba(22, 16, 38, 0.2))
    drop-shadow(-1px 0 0 rgba(22, 16, 38, 0.2))
    drop-shadow(0 7px 16px rgba(40, 30, 80, 0.16));
}

html[data-theme="light"] .hero__glow {
  opacity: 0.68;
  filter: blur(46px);
  background: radial-gradient(circle, rgba(217, 24, 92, 0.26) 0%, transparent 56%),
    radial-gradient(circle at 28% 38%, rgba(0, 158, 140, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 72% 68%, rgba(165, 95, 235, 0.18) 0%, transparent 44%),
    radial-gradient(circle at 55% 22%, rgba(255, 200, 100, 0.12) 0%, transparent 38%);
}

@media (max-width: 768px) {
  html[data-theme="light"] .hero__glow {
    filter: blur(32px);
  }
}

html[data-theme="light"] .hero__frame-glow {
  opacity: 0.48;
  background: radial-gradient(
    circle at 50% 42%,
    rgba(217, 24, 92, 0.22),
    rgba(255, 200, 110, 0.1) 35%,
    rgba(0, 158, 140, 0.14) 52%,
    transparent 70%
  );
}

/* Hellmodus: Bild unangetastet — Innenfläche + Rahmen an die Cream-Seite anbinden */
html[data-theme="light"] .hero__frame {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(255, 60, 130, 0.55),
    rgba(0, 175, 155, 0.38),
    rgba(175, 95, 255, 0.48),
    rgba(255, 200, 95, 0.35),
    rgba(255, 60, 130, 0.55)
  );
  background-size: 320% 320%;
  animation: heroFrameBorderFlow 11s ease-in-out infinite;
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px rgba(52, 44, 34, 0.07) inset,
    0 10px 28px rgba(42, 34, 26, 0.09),
    0 0 48px rgba(217, 24, 92, 0.18),
    0 0 72px rgba(0, 158, 140, 0.12),
    0 0 56px rgba(150, 95, 220, 0.1);
}

html[data-theme="light"] .hero__frame::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: calc(var(--radius-lg) - 3px);
  background: linear-gradient(
    168deg,
    var(--bg-deep) 0%,
    var(--bg-mid) 48%,
    #e8dcc8 78%,
    rgba(255, 230, 245, 0.35) 100%
  );
  z-index: 0;
  pointer-events: none;
}

html[data-theme="light"] .hero__photo {
  position: relative;
  z-index: 1;
}

html[data-theme="light"] .stat {
  border-color: rgba(217, 24, 92, 0.16);
  background: linear-gradient(160deg, rgba(252, 248, 240, 0.88), rgba(255, 238, 250, 0.35));
  box-shadow:
    0 6px 22px rgba(40, 30, 80, 0.07),
    0 0 0 1px rgba(0, 158, 140, 0.08) inset,
    0 0 28px rgba(217, 24, 92, 0.06);
}

@media (hover: hover) and (pointer: fine) {
  html[data-theme="light"] .stat:hover {
    border-color: rgba(0, 158, 140, 0.38);
    box-shadow:
      0 10px 32px rgba(40, 30, 80, 0.09),
      0 0 0 1px rgba(0, 158, 140, 0.12) inset,
      0 0 36px rgba(0, 158, 140, 0.14),
      0 0 44px rgba(217, 24, 92, 0.1);
  }
}

html[data-theme="light"] .section__lead {
  color: var(--text-body-soft);
}

/* Vergangene Events: Lead-Zeile etwas kräftiger als andere Sektionen */
html[data-theme="light"] .section.venues .section__lead,
html[data-theme="light"] .venues__lead {
  color: #2f2a3d;
}

html[data-theme="light"] .venue-card {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: 0 8px 28px rgba(40, 30, 80, 0.07), 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
}

html[data-theme="light"] .venue-card__desc {
  color: #3a3548;
}

html[data-theme="light"] .venue__loc {
  color: #5c5678;
}

html[data-theme="light"] .venue-list__empty {
  color: #3a3548;
}

html[data-theme="light"] .venue-carousel__viewport {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(252, 248, 240, 0.65);
}

html[data-theme="light"] .venue-carousel__btn {
  background: rgba(252, 248, 240, 0.95);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .venue-carousel__btn:hover {
  background: rgba(0, 158, 140, 0.12);
  border-color: rgba(0, 158, 140, 0.35);
}

html[data-theme="light"] .venue-card__video {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .gig-item {
  background: rgba(252, 248, 240, 0.75);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] body:not(.page-admin) .gig-item {
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .music-blog-item {
  background: rgba(252, 248, 240, 0.75);
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] body:not(.page-admin) .music-blog-item {
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .quote-ref__card {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}

html[data-theme="light"] .quote-ref__text {
  color: var(--text);
}

html[data-theme="light"] .quote-ref__source {
  color: var(--muted);
}

html[data-theme="light"] .quote-ref--link .quote-ref__source {
  color: #0a6b5f;
}

html[data-theme="light"] .quote-ref--link:hover .quote-ref__source {
  color: #084a42;
}

html[data-theme="light"] .quote-ref__card::before {
  opacity: 0.4;
}

html[data-theme="light"] .quote-ref-list__empty {
  color: var(--muted);
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .section.referenzen {
  background:
    radial-gradient(ellipse 90% 60% at 15% 0%, rgba(0, 158, 140, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 100%, rgba(217, 24, 92, 0.06), transparent 50%);
}

html[data-theme="light"] .section.referenzen::before {
  opacity: 0.35;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.04) 50%, transparent 100%);
}

@media (hover: hover) and (pointer: fine) {
  html[data-theme="light"] .quote-ref:hover .quote-ref__card {
    border-color: rgba(0, 158, 140, 0.35);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(0, 158, 140, 0.12);
  }
}

/* Social: kein grauer „Tablett“-Hintergrund — nur einzelne Karten, dezente Ränder */
html[data-theme="light"] .section.social .social-grid {
  background: transparent;
  box-shadow: none;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

html[data-theme="light"] .social-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .social-card {
  background: #faf6ec;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .social-card:hover {
  border-color: rgba(217, 24, 92, 0.32);
  box-shadow:
    0 8px 28px rgba(40, 30, 80, 0.09),
    0 0 32px rgba(0, 158, 140, 0.14),
    0 0 40px rgba(217, 24, 92, 0.1);
  color: var(--text);
}

html[data-theme="light"] .social-card:hover .social-card__handle {
  color: #007a6e;
}

html[data-theme="light"] .footer {
  border-top-color: var(--border);
  color: var(--muted);
}

html[data-theme="light"] .footer__legal {
  background: linear-gradient(
    145deg,
    rgba(0, 158, 140, 0.14),
    rgba(255, 210, 120, 0.1),
    rgba(217, 24, 92, 0.12),
    rgba(150, 95, 220, 0.1)
  );
  border-color: rgba(217, 24, 92, 0.22);
  box-shadow:
    0 0 0 1px rgba(252, 248, 240, 0.8) inset,
    0 8px 28px rgba(40, 30, 80, 0.08),
    0 0 40px rgba(0, 158, 140, 0.1);
}

html[data-theme="light"] .footer__legal-link:hover {
  color: #007a6e;
  text-shadow: none;
}

html[data-theme="light"] .modal__backdrop {
  background: rgba(20, 15, 35, 0.45);
}

html[data-theme="light"] .modal__dialog {
  background: linear-gradient(168deg, #faf6ec 0%, #e8dfd2 100%);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(0, 158, 140, 0.12) inset;
}

html[data-theme="light"] .modal__close {
  background: rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .modal__close:hover {
  background: rgba(217, 24, 92, 0.12);
}

html[data-theme="light"] .modal__opt {
  color: rgba(80, 75, 95, 0.9);
}

html[data-theme="light"] .modal__label input,
html[data-theme="light"] .modal__label textarea {
  background: rgba(252, 248, 240, 0.95);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--text);
}

html[data-theme="light"] .modal__label input::placeholder,
html[data-theme="light"] .modal__label textarea::placeholder {
  color: rgba(26, 20, 40, 0.42);
}

/* Select „Art des Events“: im Hellmodus nicht dunkles Dark-Theme */
html[data-theme="light"] .modal__select-wrap {
  background: linear-gradient(135deg, rgba(0, 158, 140, 0.2), rgba(217, 24, 92, 0.1));
  box-shadow: 0 2px 12px rgba(40, 30, 80, 0.07);
}

html[data-theme="light"] .modal__select {
  background: #faf6ec;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .modal__select:hover {
  box-shadow: inset 0 0 0 1px rgba(0, 158, 140, 0.22);
}

html[data-theme="light"] .modal__select:focus {
  box-shadow: inset 0 0 0 2px rgba(0, 158, 140, 0.35);
}

html[data-theme="light"] .modal__select option {
  background: #faf6ec;
  color: var(--text);
}

html[data-theme="light"] .venue-lightbox {
  background: rgba(15, 12, 25, 0.88);
}

html[data-theme="light"] body:not(.page-admin) .btn:focus-visible,
html[data-theme="light"] body:not(.page-admin) .nav a:focus-visible,
html[data-theme="light"] body:not(.page-admin) .lang-switch__btn:focus-visible,
html[data-theme="light"] body:not(.page-admin) .theme-toggle:focus-visible,
html[data-theme="light"] body:not(.page-admin) .nav-toggle:focus-visible {
  outline-color: rgba(0, 158, 140, 0.65);
}

html[data-theme="light"] body.page-admin .lang-switch__btn:focus-visible,
html[data-theme="light"] body.page-admin .theme-toggle:focus-visible,
html[data-theme="light"] body.page-admin .nav a:focus-visible {
  outline-color: rgba(0, 158, 140, 0.65);
}

html[data-theme="light"] body.page-admin {
  color-scheme: light;
  background-image:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255, 45, 107, 0.06), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 80%, rgba(0, 158, 140, 0.05), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, #e0d8cc 50%, var(--bg-deep) 100%);
}

html[data-theme="light"] .legal-card {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 48px rgba(40, 30, 80, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
}

html[data-theme="light"] .legal-list {
  color: var(--muted);
}

html[data-theme="light"] .admin-nav__link:hover {
  color: var(--text);
  background: rgba(0, 158, 140, 0.08);
  border-color: rgba(0, 158, 140, 0.22);
}

html[data-theme="light"] .admin-nav__link:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 158, 140, 0.45);
}

html[data-theme="light"] .admin-nav__link--active {
  background: rgba(0, 158, 140, 0.12);
  border-color: rgba(0, 158, 140, 0.28);
}

/* Hellmodus: Admin — Lesbarkeit (Texte, Formulare, Storage-UI) */
html[data-theme="light"] body.page-admin .admin-label input::placeholder,
html[data-theme="light"] body.page-admin .admin-label textarea::placeholder {
  color: rgba(26, 20, 40, 0.45);
}

html[data-theme="light"] body.page-admin .admin-site-setting {
  border-top-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] body.page-admin .admin-storage-lead {
  color: var(--text);
  border-left-color: rgba(0, 158, 140, 0.55);
  background: linear-gradient(90deg, rgba(0, 158, 140, 0.1), transparent 55%);
}

html[data-theme="light"] body.page-admin .admin-storage-help {
  background: linear-gradient(145deg, rgba(252, 248, 240, 0.98), rgba(236, 228, 216, 0.99));
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 24px rgba(40, 30, 80, 0.08);
  color: var(--text);
}

html[data-theme="light"] body.page-admin .admin-storage-help:hover {
  border-color: rgba(0, 158, 140, 0.28);
  box-shadow: 0 6px 28px rgba(40, 30, 80, 0.1);
}

html[data-theme="light"] body.page-admin .admin-storage-help__summary {
  color: #0a6b5f;
  text-shadow: none;
}

html[data-theme="light"] body.page-admin .admin-storage-help__inner {
  border-top-color: rgba(0, 0, 0, 0.08);
  background: rgba(252, 248, 240, 0.75);
  color: var(--text);
}

html[data-theme="light"] body.page-admin .admin-storage-summary {
  background: linear-gradient(165deg, rgba(252, 248, 240, 0.98) 0%, rgba(232, 224, 212, 0.96) 100%);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px rgba(40, 30, 80, 0.08);
}

html[data-theme="light"] body.page-admin .admin-storage-summary__title,
html[data-theme="light"] body.page-admin .admin-storage-summary__label {
  color: var(--muted);
}

html[data-theme="light"] body.page-admin .admin-storage-summary__value {
  color: var(--text);
}

html[data-theme="light"] body.page-admin .admin-storage-summary__item--bucket .admin-storage-summary__value {
  color: #0a6b5f;
}

html[data-theme="light"] body.page-admin .admin-storage-summary__item--db .admin-storage-summary__value {
  color: #4a3d8a;
}

html[data-theme="light"] body.page-admin .admin-storage-summary__hint {
  color: var(--muted);
}

html[data-theme="light"] body.page-admin .admin-storage-summary__item {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(252, 248, 240, 0.92);
}

html[data-theme="light"] body.page-admin .admin-storage-panel__purpose {
  color: var(--muted);
}

html[data-theme="light"] body.page-admin .admin-storage-panel--card {
  background: linear-gradient(165deg, rgba(252, 248, 240, 0.98) 0%, rgba(240, 232, 220, 0.95) 100%);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 40px rgba(40, 30, 80, 0.08), inset 0 1px 0 rgba(252, 248, 240, 0.9);
}

html[data-theme="light"] body.page-admin .admin-storage-panel__head {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] body.page-admin .admin-storage-panel__title,
html[data-theme="light"] body.page-admin .admin-storage-panel--bucket .admin-storage-panel__title,
html[data-theme="light"] body.page-admin .admin-storage-panel--postgres .admin-storage-panel__title {
  color: var(--text);
  text-shadow: none;
}

html[data-theme="light"] body.page-admin .admin-storage-panel__meta {
  color: var(--muted);
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] body.page-admin .admin-storage-subtitle {
  color: #0a6b5f;
}

html[data-theme="light"] body.page-admin .admin-storage-panel--postgres .admin-storage-subtitle {
  color: #5b4d9a;
}

html[data-theme="light"] body.page-admin .admin-storage-kpi {
  background: linear-gradient(160deg, rgba(252, 248, 240, 0.95), rgba(234, 226, 214, 0.9));
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] body.page-admin .admin-storage-kpi__line {
  color: var(--text);
}

html[data-theme="light"] body.page-admin .admin-storage-meter {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] body.page-admin .admin-storage-meter__label {
  color: var(--muted);
}

html[data-theme="light"] body.page-admin .admin-storage-meter__pct {
  color: #0a6b5f;
  text-shadow: none;
}

html[data-theme="light"] body.page-admin .admin-storage-meter__pct--db {
  color: #5b4d9a;
  text-shadow: none;
}

html[data-theme="light"] body.page-admin .admin-storage-free-line {
  background: rgba(252, 248, 240, 0.95);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] body.page-admin .admin-storage-panel--bucket .admin-storage-free-line {
  color: #0a6b5f;
  border-color: rgba(0, 158, 140, 0.35);
}

html[data-theme="light"] body.page-admin .admin-storage-panel--postgres .admin-storage-free-line {
  color: #4a3d8a;
  border-color: rgba(100, 80, 180, 0.35);
}

html[data-theme="light"] body.page-admin .admin-storage-upload-note {
  color: var(--muted);
  border-left-color: rgba(0, 0, 0, 0.15);
}

html[data-theme="light"] body.page-admin .admin-storage-db-size-line {
  color: var(--text);
  background: linear-gradient(90deg, rgba(100, 80, 200, 0.08), transparent);
  border-color: rgba(100, 80, 200, 0.2);
}

html[data-theme="light"] body.page-admin .admin-storage-footnote--strong {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] body.page-admin .admin-storage-table-scroll,
html[data-theme="light"] body.page-admin .admin-storage-table-scroll--tall {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(252, 248, 240, 0.95);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] body.page-admin .admin-storage-table-scroll::-webkit-scrollbar-track,
html[data-theme="light"] body.page-admin .admin-storage-table-scroll--tall::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] body.page-admin .admin-storage-table thead th {
  background: linear-gradient(180deg, #ebe4d8, #dfd6ca);
  color: var(--text);
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] body.page-admin .admin-storage-table tbody td {
  color: var(--text);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] body.page-admin .admin-storage-table__num {
  color: #0a6b5f;
}

html[data-theme="light"] body.page-admin .admin-storage-panel--postgres .admin-storage-table__num {
  color: #5b4d9a;
}

html[data-theme="light"] body.page-admin .admin-storage-tbl-friendly {
  color: var(--text);
}

html[data-theme="light"] body.page-admin .admin-storage-tbl-rel {
  color: var(--muted);
}

html[data-theme="light"] body.page-admin .admin-storage-db-size-block,
html[data-theme="light"] body.page-admin .admin-storage-db-tables-block {
  border-top-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] body.page-admin .admin-ref-upload__card {
  background: linear-gradient(165deg, rgba(0, 158, 140, 0.08), rgba(252, 248, 240, 0.95));
  border-color: rgba(0, 158, 140, 0.35);
}

html[data-theme="light"] body.page-admin .admin-ref-upload__card:hover,
html[data-theme="light"] body.page-admin .admin-ref-upload:focus-within .admin-ref-upload__card {
  background: linear-gradient(165deg, rgba(0, 158, 140, 0.12), rgba(252, 248, 240, 0.98));
  border-color: rgba(0, 158, 140, 0.5);
}

html[data-theme="light"] body.page-admin .admin-ref-upload__icon {
  color: #0a6b5f;
}

html[data-theme="light"] body.page-admin .admin-ref-cover-card {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(252, 248, 240, 0.95);
  box-shadow: 0 4px 20px rgba(40, 30, 80, 0.06);
}

html[data-theme="light"] body.page-admin .admin-ref-cover-card__badge {
  color: var(--text);
  background: rgba(0, 158, 140, 0.12);
  border-color: rgba(0, 158, 140, 0.3);
}

html[data-theme="light"] body.page-admin .admin-ref-thumb-preview img {
  background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] body.page-admin .admin-ref-fallback-card {
  background: linear-gradient(165deg, rgba(255, 200, 120, 0.12), rgba(252, 248, 240, 0.95));
  border-color: rgba(200, 120, 40, 0.35);
}

html[data-theme="light"] body.page-admin .admin-music-preview {
  background: rgba(252, 248, 240, 0.96);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 18px rgba(40, 30, 80, 0.07);
}

html[data-theme="light"] body.page-admin .admin-music-preview__stage {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] body.page-admin .admin-music-preview__stage--empty {
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(0, 0, 0, 0.03);
}

html[data-theme="light"] body.page-admin .admin-music-preview__stage > .admin-music-preview__embed {
  background: rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj {
  background: #f6f2ea;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 48px rgba(40, 30, 80, 0.15);
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-day:hover {
  background: rgba(0, 158, 140, 0.12);
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-day.flatpickr-disabled {
  color: rgba(0, 0, 0, 0.22);
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-day.flatpickr-day--dj-vacation .flatpickr-day__dj-vacation-mark {
  opacity: 1;
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-time {
  border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-time .flatpickr-am-pm:hover,
html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-time input:focus {
  background: rgba(0, 158, 140, 0.1);
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-time .numInputWrapper span {
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-time .numInputWrapper span:hover {
  background: rgba(217, 24, 92, 0.12);
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-months .flatpickr-prev-month svg,
html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-months .flatpickr-next-month svg {
  fill: #a8a0b2;
  opacity: 0.95;
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-prev-month:hover svg,
html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-next-month:hover svg {
  fill: #0a7a6e;
  opacity: 1;
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-months .flatpickr-prev-month.flatpickr-disabled svg,
html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-months .flatpickr-next-month.flatpickr-disabled svg {
  fill: #c9c4d0;
  opacity: 0.55;
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-monthDropdown-months {
  background: #faf6ec;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  color: var(--text);
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-current-month .numInputWrapper span.arrowUp::after,
html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-current-month .numInputWrapper span.arrowDown::after {
  border-bottom-color: #3d3a48;
  border-top-color: #3d3a48;
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj span.flatpickr-weekday {
  color: #5c5678;
}

html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-day.prevMonthDay,
html[data-theme="light"] .flatpickr-calendar.flatpickr-calendar--dj .flatpickr-day.nextMonthDay {
  color: rgba(0, 0, 0, 0.28);
}

/* Admin: Monatskalender (Übersicht) — Hellmodus */
html[data-theme="light"] body.page-admin .admin-cal {
  background: rgba(252, 248, 240, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] body.page-admin .admin-cal__cell {
  background: rgba(252, 248, 240, 0.98);
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] body.page-admin .admin-cal__cell--muted {
  opacity: 0.55;
}

html[data-theme="light"] body.page-admin .admin-cal__cell--today {
  border-color: rgba(0, 158, 140, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 158, 140, 0.15) inset;
}

html[data-theme="light"] body.page-admin .admin-cal__events {
  scrollbar-color: rgba(217, 24, 92, 0.35) rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] body.page-admin .admin-cal__event {
  color: #0a4d6c;
  background: rgba(217, 24, 92, 0.1);
}

html[data-theme="light"] body.page-admin .admin-cal__event:hover {
  background: rgba(217, 24, 92, 0.16);
  border-color: rgba(217, 24, 92, 0.22);
}

html[data-theme="light"] body.page-admin .admin-cal__event--private {
  color: #3d3570;
  background: rgba(120, 100, 200, 0.14);
  border-color: rgba(120, 100, 200, 0.25);
}

html[data-theme="light"] body.page-admin .admin-cal__event--private:hover {
  background: rgba(120, 100, 200, 0.22);
}

html[data-theme="light"] body.page-admin .admin-cal-detail {
  background: rgba(252, 248, 240, 0.98);
  border-color: rgba(0, 158, 140, 0.28);
}

html[data-theme="light"] body.page-admin .admin-cal-detail__body {
  color: var(--text);
}

html[data-theme="light"] body.page-admin .admin-cal-detail__notes {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] body.page-admin .admin-cal-detail__actions {
  border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] body.page-admin .admin-private-block {
  background: rgba(252, 248, 240, 0.94);
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] body.page-admin .admin-gig-row__meta--private {
  color: #5c4d8a;
}

html[data-theme="light"] body.page-admin .admin-field-hint--media-sub {
  color: #3d3850;
}

/* Hellmodus: weitere harte Farben / Komponenten */
@media (max-width: 1024px) {
  html[data-theme="light"] .site-header .nav {
    background: rgba(250, 245, 235, 0.98);
    border-bottom-color: var(--border);
    box-shadow: 0 12px 40px rgba(40, 30, 80, 0.08);
  }
}

html[data-theme="light"] .section {
  border-top: 1px solid rgba(200, 130, 175, 0.28);
  box-shadow: 0 1px 0 rgba(0, 158, 140, 0.07);
}

html[data-theme="light"] .card:hover {
  border-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .card--highlight {
  border-color: rgba(217, 24, 92, 0.35);
  background: linear-gradient(
    150deg,
    var(--accent-soft),
    rgba(252, 248, 240, 0.94),
    rgba(0, 158, 140, 0.08)
  );
  box-shadow: var(--shadow-card), 0 0 36px rgba(217, 24, 92, 0.08);
}

html[data-theme="light"] .hero__stats {
  border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .btn--booking {
  color: #0a3d36 !important;
  background: linear-gradient(135deg, rgba(0, 158, 140, 0.22), rgba(217, 24, 92, 0.1)) !important;
  border-color: rgba(0, 120, 108, 0.4) !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05) inset, 0 8px 28px rgba(0, 158, 140, 0.18);
}

html[data-theme="light"] .btn--booking:hover {
  color: #062e29 !important;
  border-color: rgba(0, 120, 108, 0.65) !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06) inset, 0 12px 36px rgba(0, 158, 140, 0.22);
}

/* Ghost / Outline: auf hellem Grund stärker absetzen (z. B. „Follow“, Modal „Abbrechen“, Admin) */
html[data-theme="light"] .btn--ghost {
  background: rgba(252, 248, 240, 0.82);
  border-color: rgba(28, 22, 45, 0.2);
  box-shadow: 0 1px 3px rgba(40, 30, 80, 0.07);
}

html[data-theme="light"] .btn--ghost:hover {
  background: #faf6ec;
  border-color: rgba(0, 158, 140, 0.42);
  color: #006b5f;
}

/* Header „Buchung“: Textfarbe nutzte var(--bg-deep) — im Hellmodus fast weiß auf Türkis */
html[data-theme="light"] .btn--nav,
html[data-theme="light"] .btn--nav:hover {
  color: #fff !important;
  box-shadow: 0 4px 22px rgba(0, 120, 108, 0.32);
}

html[data-theme="light"] .btn--nav:hover {
  box-shadow: 0 8px 30px rgba(0, 120, 108, 0.4);
}

html[data-theme="light"] .btn--primary {
  box-shadow: 0 6px 28px rgba(217, 24, 92, 0.26), 0 0 0 1px rgba(0, 0, 0, 0.05) inset;
}

html[data-theme="light"] .btn--primary:hover {
  box-shadow: 0 10px 36px rgba(217, 24, 92, 0.34), 0 0 0 1px rgba(0, 0, 0, 0.06) inset;
}

html[data-theme="light"] .gig-item:hover:not(.gig-item--next) {
  border-color: rgba(0, 158, 140, 0.32);
  box-shadow: 0 8px 28px rgba(40, 30, 80, 0.08), 0 0 0 1px rgba(0, 158, 140, 0.1) inset;
}

html[data-theme="light"] .gig-item--next {
  background: rgba(252, 248, 240, 0.93);
  border-color: rgba(0, 158, 140, 0.48);
  outline-color: rgba(0, 158, 140, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 158, 140, 0.22),
    0 0 28px rgba(0, 158, 140, 0.12),
    0 0 40px rgba(217, 24, 92, 0.06);
}

html[data-theme="light"] .gig-item--next::after {
  background: linear-gradient(
    105deg,
    rgba(252, 248, 240, 0.96) 0%,
    rgba(246, 240, 228, 0.88) 42%,
    rgba(236, 228, 216, 0.65) 72%,
    rgba(226, 216, 202, 0.42) 100%
  );
}

html[data-theme="light"] .gig-item--next .gig-item__date,
html[data-theme="light"] .gig-item--next .gig-item__city {
  color: var(--text);
  text-shadow: none;
}

html[data-theme="light"] .gig-item--next .gig-item__venue {
  color: var(--muted);
  text-shadow: none;
}

html[data-theme="light"] .gig-item--next .gig-item__cc {
  color: var(--text);
  background: rgba(252, 248, 240, 0.92);
  border-color: rgba(0, 158, 140, 0.38);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .modal {
  scrollbar-color: rgba(0, 0, 0, 0.22) transparent;
}

html[data-theme="light"] .modal::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .modal__label input:-webkit-autofill,
html[data-theme="light"] .modal__label input:-webkit-autofill:hover,
html[data-theme="light"] .modal__label input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #f2ebe0 inset !important;
  box-shadow: 0 0 0 1000px #f2ebe0 inset !important;
}

html[data-theme="light"] .modal__fine {
  color: rgba(70, 65, 88, 0.95);
}

html[data-theme="light"] .modal__fine a:hover {
  color: #007a6e;
}

html[data-theme="light"] .modal__hint {
  color: #8a2348;
  background: rgba(217, 24, 92, 0.08);
  border-color: rgba(217, 24, 92, 0.22);
}

html[data-theme="light"] .modal__error {
  color: #8a2348;
  background: rgba(217, 24, 92, 0.08);
  border-color: rgba(217, 24, 92, 0.22);
}

html[data-theme="light"] .modal__success-title {
  color: #0a7a6e;
}

html[data-theme="light"] .modal__actions {
  border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] input.booking-flatpickr-alt {
  background: #f0ebe2 !important;
  color: var(--text) !important;
}

html[data-theme="light"] .venue-lightbox__panel:fullscreen {
  background: var(--bg-deep);
}

html[data-theme="light"] .venue-lightbox__icon-btn {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(252, 248, 240, 0.92);
  color: var(--text);
}

html[data-theme="light"] .venue-lightbox__icon-btn:hover {
  background: rgba(0, 158, 140, 0.12);
  border-color: rgba(0, 158, 140, 0.35);
}

html[data-theme="light"] body.page-admin .admin-label input,
html[data-theme="light"] body.page-admin .admin-label textarea,
html[data-theme="light"] body.page-admin .admin-ref-select {
  background: #faf6ec;
  border-color: rgba(0, 0, 0, 0.14);
  color: var(--text);
}

html[data-theme="light"] body.page-admin input.admin-flatpickr-alt {
  background-color: #f0ebe2;
  color: var(--text);
}

/* Ein Toggle neben der Sprache — gleiche Box wie .lang-switch__btn */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
  /* SVG-Strich liegt am ViewBox-Rand — sonst wirkt es wie ein zweiter, dicker Rand */
  overflow: hidden;
}

.theme-toggle:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.theme-toggle__icon {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.72rem;
  height: 0.72rem;
  flex-shrink: 0;
  pointer-events: none;
}

html[data-theme="dark"] .theme-toggle__icon--sun,
html:not([data-theme]) .theme-toggle__icon--sun {
  display: block;
}

html[data-theme="light"] .theme-toggle__icon--moon {
  display: block;
}
