/* ============================================
   THÜRINGER PARTYS - Main Stylesheet
   Design: Dark immersive club aesthetic
   Typography: Clash Display + Satoshi
   ============================================ */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=satoshi@400,500,700&display=swap');

/* --- Custom Properties --- */
:root {
  --c-void: #06060f;
  --c-deep: #0c0c1d;
  --c-surface: #12122a;
  --c-surface-up: #1a1a3e;
  --c-border: rgba(255,255,255,0.06);
  --c-border-light: rgba(255,255,255,0.1);
  --c-text: #e8e6f0;
  --c-text-dim: #a8a5c0;
  --c-text-muted: #7a7693;

  /* Bundle D1: Textfarben für weiße Cards (auf dunklem Theme).
     WCAG-AA-konformer Kontrast gegen #fff. */
  --c-text-on-light: #1a1a2a;        /* primärer Text, 16.2:1 */
  --c-text-on-light-muted: #444;     /* sekundärer Text, 10.4:1 */
  --c-text-on-light-hint: #555;      /* Hint-Text, 7.4:1 */
  --c-accent: #00ffd0;
  --c-accent-dim: rgba(0,255,208,0.15);
  --c-magenta: #ff2d7b;
  --c-magenta-dim: rgba(255,45,123,0.15);
  --c-violet: #8b5cf6;
  --c-gold: #fbbf24;
  --c-gold-dim: rgba(251,191,36,0.12);
  --c-success: #34d399;

  --font-display: 'Clash Display', sans-serif;
  --font-body: 'Satoshi', sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-void);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, select { font-family: inherit; font-size: inherit; }
select option {
  background: var(--c-surface);
  color: var(--c-text);
}
fieldset {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
fieldset > legend {
  padding: 0;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* --- Ambient background noise --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  /* z-index 1200 — muss UEBER Leaflet-Karten-Controls liegen (Leaflet
     setzt .leaflet-top/.leaflet-control standardmaessig auf 1000). Sonst
     ragen die Zoom-Buttons beim Scrollen unter den Header. */
  z-index: 1200;
  padding: 0 var(--gutter);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
/* Sicherheitsgurt: alles innerhalb einer Karte bleibt unter dem Header. */
.leaflet-container .leaflet-top,
.leaflet-container .leaflet-bottom {
  z-index: 400;
}
.site-header.scrolled {
  background: rgba(6,6,15,0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 1px 0 var(--c-border);
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
  flex-shrink: 0;
  line-height: 0;
}
.logo picture,
.logo img {
  display: block;
}
.logo img {
  height: 52px;
  width: auto;
  max-width: 100%;
}
@media (max-width: 600px) {
  .logo img { height: 40px; }
}
/* Icon-Variante (z. B. Admin-Sidebar) */
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-violet));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transform: rotate(-3deg);
}

/* Desktop Nav */
.nav-main {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-main a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-dim);
  transition: color 0.25s;
  position: relative;
  white-space: nowrap;
}
.nav-main a:hover,
.nav-main a.active {
  color: #fff;
}
.nav-main a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--c-accent);
  border-radius: 1px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}
.btn-ghost {
  color: var(--c-text-dim);
  border: 1px solid transparent;
}
.btn-ghost:hover { color: #fff; }
.btn-primary {
  background: var(--c-accent);
  color: var(--c-void);
  border: 1px solid var(--c-accent);
}
.btn-primary:hover {
  background: #33ffe0;
  box-shadow: 0 0 24px rgba(0,255,208,0.3);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1px solid var(--c-border-light);
  color: var(--c-text);
}
.btn-outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-accent-dim);
}
.btn-magenta {
  background: var(--c-magenta);
  color: #fff;
  border: 1px solid var(--c-magenta);
}
.btn-magenta:hover {
  box-shadow: 0 0 24px rgba(255,45,123,0.35);
  transform: translateY(-1px);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius);
}
.btn-icon {
  font-size: 18px;
  line-height: 1;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(6,6,15,0.98);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--c-text-dim);
  padding: 12px 24px;
  transition: color 0.2s, transform 0.3s var(--ease-spring);
  transform: translateY(20px);
  opacity: 0;
}
.mobile-menu.open a {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu a:hover { color: var(--c-accent); }
.mobile-menu .mobile-menu-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out) 0.4s;
}
.mobile-menu.open .mobile-menu-actions {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(139,92,246,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0,255,208,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(255,45,123,0.08) 0%, transparent 50%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,6,15,0.3) 0%, rgba(6,6,15,0.6) 60%, var(--c-void) 100%);
}
/* Animated orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 20s ease-in-out infinite;
  z-index: 0;
}
.hero-orb--1 {
  width: 500px; height: 500px;
  background: rgba(139,92,246,0.12);
  top: -10%; left: -5%;
  animation-duration: 25s;
}
.hero-orb--2 {
  width: 400px; height: 400px;
  background: rgba(0,255,208,0.08);
  bottom: -5%; right: -10%;
  animation-delay: -8s;
  animation-duration: 22s;
}
.hero-orb--3 {
  width: 300px; height: 300px;
  background: rgba(255,45,123,0.07);
  top: 30%; right: 20%;
  animation-delay: -14s;
  animation-duration: 28s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(40px, 30px) scale(1.02); }
}

.hero .container {
  display: flex;
  justify-content: center;
  width: 100%;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px var(--gutter) 80px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--c-border-light);
  background: rgba(255,255,255,0.03);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-dim);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--c-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,255,208,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(0,255,208,0); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--c-text-dim);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* Search Bar */
.search-bar {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.3s, box-shadow 0.3s;
  max-width: 720px;
  margin: 0 auto;
}
.search-bar:focus-within {
  border-color: rgba(0,255,208,0.3);
  box-shadow: 0 0 0 4px rgba(0,255,208,0.06);
}
.search-field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.search-field:hover { background: rgba(255,255,255,0.03); }
.search-field .icon { font-size: 18px; color: var(--c-text-muted); flex-shrink: 0; }
.search-field select,
.search-field input {
  background: none;
  border: none;
  outline: none;
  color: var(--c-text);
  font-size: 14px;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.search-field select option {
  background: var(--c-surface);
  color: var(--c-text);
}
.search-divider {
  width: 1px;
  height: 28px;
  background: var(--c-border-light);
  flex-shrink: 0;
}
.search-bar .btn-primary {
  padding: 12px 24px;
  border-radius: var(--radius);
  flex-shrink: 0;
  font-size: 15px;
}
.search-bar .btn-primary .icon { font-size: 18px; }

/* Quick filters */
.hero-quick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero-quick span {
  font-size: 13px;
  color: var(--c-text-muted);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--c-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-dim);
  transition: all 0.25s;
  cursor: pointer;
  background: transparent;
}
.pill:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-accent-dim);
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bobbing 2.5s ease-in-out infinite;
}
.scroll-hint span {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-text-muted);
}
.scroll-hint .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--c-text-muted);
  border-bottom: 2px solid var(--c-text-muted);
  transform: rotate(45deg);
}
@keyframes bobbing {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   SECTIONS - Common
   ============================================ */
.section {
  padding: clamp(60px, 10vw, 100px) 0;
  position: relative;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease-out);
  flex-shrink: 0;
}
.section-link:hover { gap: 10px; }
.section-link .arrow { transition: transform 0.25s var(--ease-out); }
.section-link:hover .arrow { transform: translateX(2px); }

/* ============================================
   FEATURED EVENTS SLIDER
   ============================================ */
.featured-track-wrapper {
  position: relative;
  overflow: hidden;
}
.featured-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s var(--ease-out);
  padding: 4px 0;
}
.featured-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 300px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
  cursor: pointer;
}
.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border-color: var(--c-border-light);
}
.featured-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.featured-card-img .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.featured-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--c-surface), transparent);
}
.badge-featured {
  position: absolute;
  top: 12px; right: 12px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
  background: linear-gradient(135deg, var(--c-gold), #f59e0b);
  color: var(--c-void);
  box-shadow: 0 2px 12px rgba(251,191,36,0.3);
}
.featured-card-body {
  padding: 20px 20px 24px;
}
.featured-card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.25;
}
.featured-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--c-text-dim);
}
.featured-meta .row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.featured-meta .icon { font-size: 15px; flex-shrink: 0; }
.featured-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}
.price { font-weight: 700; color: var(--c-accent); font-size: 15px; }

.attending {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--c-magenta);
  font-weight: 500;
}

/* Slider nav */
.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.slider-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.25s;
  color: var(--c-text-dim);
}
.slider-btn:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-accent-dim);
}
.slider-dots {
  display: flex;
  gap: 6px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-text-muted);
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.slider-dot.active {
  background: var(--c-accent);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   EVENTS GRID
   ============================================ */
/* City filter pills */
.filter-row {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.filter-pill {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--c-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-dim);
  white-space: nowrap;
  transition: all 0.25s;
  cursor: pointer;
  background: transparent;
}
.filter-pill:hover { border-color: var(--c-text-muted); color: var(--c-text); }
.filter-pill.active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-void);
}

/* Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.event-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
  cursor: pointer;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  border-color: var(--c-border-light);
}
.event-card-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.event-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-card-img .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

/* Spec 2026-05-19 — Event-Card ohne Bild: statt eines leeren Lila-Blocks
   ein attraktiver Datums-Hero (gross Tag + Monat + Wochentag + Uhrzeit).
   Fuellt den Bildbereich sinnvoll, statt Whitespace zu erzeugen.
   In 2+Spalten-Grids bleibt die Card gleich hoch wie bebilderte Karten.
   Auf 1-Spalten-Mobile (<480px) schrumpft der Hero auf einen kompakten
   horizontalen Streifen, damit Scroll-Distanz spart. */
.event-card-date-hero {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #1a0533 0%, #2d1b69 60%, #3b1e8a 100%);
  color: #fff;
  padding: 16px;
  gap: 2px;
  line-height: 1;
}
.event-card-date-hero .dhe-weekday {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.event-card-date-hero .dhe-day {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 4px 0;
  line-height: 0.95;
}
.event-card-date-hero .dhe-month {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.event-card-date-hero .dhe-time {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin-top: 6px;
}
/* Bei no-image: bestehende ::after-Gradient unterdruecken — der Hero
   bringt eigenes Farb-Setup und der Overlay-Verlauf wuerde das Datum
   am Card-Rand teilweise verdecken. */
.event-card--no-image .event-card-img::after {
  display: none;
}
/* Mobile 1-Spalte: kompakter horizontaler Streifen */
@media (max-width: 480px) {
  .event-card--no-image .event-card-img {
    aspect-ratio: auto;
    min-height: 84px;
    max-height: 96px;
  }
  .event-card-date-hero {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 16px;
    text-align: left;
  }
  .event-card-date-hero .dhe-weekday {
    order: 2;
    font-size: 11px;
    letter-spacing: 0.14em;
  }
  .event-card-date-hero .dhe-day {
    order: 1;
    font-size: 38px;
    margin: 0;
    line-height: 1;
  }
  .event-card-date-hero .dhe-month {
    order: 3;
    font-size: 13px;
    letter-spacing: 0.16em;
  }
  .event-card-date-hero .dhe-time {
    order: 4;
    margin-top: 0;
    margin-left: auto;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
  }
}
.event-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--c-surface), transparent);
}
.badge-premium {
  position: absolute;
  top: 10px; right: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 1;
  background: linear-gradient(135deg, var(--c-gold), #f59e0b);
  color: var(--c-void);
}
.event-card-body {
  padding: 16px;
}
.event-card-body h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--c-text-dim);
}
.event-meta .row {
  display: flex;
  align-items: center;
  gap: 5px;
}
.event-meta .icon { font-size: 14px; }
.event-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--c-border);
  font-size: 13px;
}
.event-price { font-weight: 700; color: var(--c-accent); }
.event-price.free { color: var(--c-success); }
.event-attending {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--c-text-muted);
  font-size: 12px;
}

/* ============================================
   LOCATIONS GRID
   ============================================ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.location-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  /* Wichtig: visible, damit .location-logo (bottom:-24px) NICHT abgeschnitten
     wird. Das Image hat seinen eigenen overflow:hidden + border-radius am
     oberen Rand, damit die Top-Corners trotzdem sauber rounded bleiben. */
  overflow: visible;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
  cursor: pointer;
}
.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  border-color: var(--c-border-light);
}
.location-card-img {
  position: relative;
  aspect-ratio: 2/1;
  /* overflow:visible, damit das .location-logo (bottom:-24px) NICHT geclippt
     wird. Der Image-Inhalt clippt sich ueber eigene Regeln (object-fit +
     overflow auf <img>/.placeholder selbst, siehe unten). */
  overflow: visible;
  border-radius: var(--radius) var(--radius) 0 0;
}
.location-card-img > img,
.location-card-img > .placeholder {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.location-card-img .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.location-logo {
  position: absolute;
  bottom: -24px;
  left: 16px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 3px solid var(--c-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  z-index: 1;
}
.location-card-body {
  padding: 32px 16px 16px;
}
.location-card-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.location-card-body h3 .badge-premium {
  position: static;
  font-size: 9px;
  padding: 3px 8px;
}
.location-info {
  font-size: 13px;
  color: var(--c-text-dim);
  margin-bottom: 12px;
}
.location-events-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Dashboard: gefolgte Locations — Listen-Layout (vs. Listings-Card-Grid) */
.location-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.location-grid .location-card {
  cursor: default;
  display: flex;
  flex-direction: column;
}
.location-grid .location-card:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.location-card-link {
  display: block;
  padding: 18px 20px 6px;
  color: inherit;
  text-decoration: none;
}
.location-card-link h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.3;
}
.location-card-link p {
  margin: 0;
  font-size: 13px;
  color: var(--c-text-dim);
}
.location-card-link:hover h3 {
  color: var(--c-accent);
}
.location-card-actions {
  padding: 8px 20px 18px;
  display: flex;
  gap: 8px;
  margin-top: auto;
}

/* Dashboard: Benachrichtigungen */
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.notification-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.notification-item.is-unread {
  border-left: 3px solid var(--c-accent);
  padding-left: 18px;
}
.notification-item.is-read {
  opacity: 0.75;
}
.notification-item:hover {
  border-color: var(--c-border-light);
}
.notification-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.notification-meta strong {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.notification-time {
  font-size: 12px;
  color: var(--c-text-muted);
  white-space: nowrap;
}
.notification-item p {
  margin: 0;
  font-size: 13px;
  color: var(--c-text-dim);
  line-height: 1.5;
}
.notification-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-inner {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,45,123,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,255,208,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-text {
  flex: 1;
  position: relative;
  z-index: 1;
}
.cta-text .label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-magenta);
  margin-bottom: 16px;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-text p {
  color: var(--c-text-dim);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
.cta-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.cta-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--c-text);
}
.cta-feature .check {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--c-accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  color: var(--c-accent);
}
.cta-visual {
  flex: 0 0 300px;
  position: relative;
  z-index: 1;
}
.cta-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cta-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.cta-stat .number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 4px;
}
.cta-stat .desc {
  font-size: 12px;
  color: var(--c-text-dim);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--c-border);
  padding: 60px 0 0;
  background: var(--c-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--c-text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--c-text-dim);
  padding: 5px 0;
  transition: color 0.2s, padding-left 0.25s;
}
.footer-col a:hover {
  color: var(--c-accent);
  padding-left: 4px;
}

/* Newsletter */
.footer-newsletter {
  margin-top: 20px;
}
.footer-newsletter p {
  font-size: 13px;
  color: var(--c-text-dim);
  margin-bottom: 10px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  outline: none;
  font-size: 13px;
  transition: border-color 0.25s;
}
.newsletter-form input:focus {
  border-color: var(--c-accent);
}
.newsletter-form input::placeholder { color: var(--c-text-muted); }
.newsletter-form button {
  padding: 10px 16px;
  background: var(--c-accent);
  color: var(--c-void);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.25s;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: #33ffe0;
  box-shadow: 0 0 16px rgba(0,255,208,0.3);
}
.newsletter-unsubscribe {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--c-text-muted);
  text-decoration: underline;
}
.newsletter-unsubscribe:hover {
  color: var(--c-text-dim);
}

/* ============================================
   FLASH MODAL
   ============================================ */
.flash-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.flash-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.flash-modal.is-closing {
  opacity: 0;
  pointer-events: none;
}
.flash-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 14, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.flash-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 36px 32px 28px;
  background: linear-gradient(180deg, #101223 0%, #0b0c18 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md, 12px);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02);
  transform: translateY(10px) scale(0.96);
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.flash-modal.is-open .flash-modal-card {
  transform: translateY(0) scale(1);
}
.flash-modal.is-closing .flash-modal-card {
  transform: translateY(6px) scale(0.98);
}
.flash-modal-success {
  border-color: rgba(0, 255, 208, 0.45);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 255, 208, 0.12);
}
.flash-modal-info {
  border-color: rgba(255, 255, 255, 0.14);
}
.flash-modal-error {
  border-color: rgba(255, 45, 123, 0.45);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 45, 123, 0.12);
}
.flash-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--c-text-muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}
.flash-modal-close:hover {
  color: var(--c-text);
  background: rgba(255, 255, 255, 0.05);
}
.flash-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}
.flash-modal-success .flash-modal-icon {
  background: rgba(0, 255, 208, 0.12);
  color: var(--c-accent);
  box-shadow: 0 0 24px rgba(0, 255, 208, 0.25), inset 0 0 0 1px rgba(0, 255, 208, 0.4);
}
.flash-modal-info .flash-modal-icon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-text-dim);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-style: italic;
  font-family: Georgia, serif;
}
.flash-modal-error .flash-modal-icon {
  background: rgba(255, 45, 123, 0.12);
  color: var(--c-magenta);
  box-shadow: 0 0 24px rgba(255, 45, 123, 0.25), inset 0 0 0 1px rgba(255, 45, 123, 0.4);
}
.flash-modal-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--c-text);
  letter-spacing: 0.01em;
}
.flash-modal-message {
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-text-dim);
  margin: 0 0 24px;
}
.flash-modal-ok {
  min-width: 140px;
}
@media (max-width: 480px) {
  /* Mobile: Bottom-Sheet statt zentrierter Modal — natuerlicher fuer
     Touch-Bedienung, vermeidet "ploppt von ueberall" und gibt mehr Platz
     fuer leserliche Texte + grossflaechige Tap-Targets. */
  .flash-modal {
    align-items: flex-end;
    padding: 0;
  }
  .flash-modal-card {
    max-width: none;
    width: 100%;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    padding: 28px 22px max(22px, env(safe-area-inset-bottom));
    /* Slide-up statt Fade-scale */
    transform: translateY(20px);
  }
  .flash-modal.is-open .flash-modal-card {
    transform: translateY(0);
  }
  .flash-modal.is-closing .flash-modal-card {
    transform: translateY(20px);
  }
  /* Visueller "Drag-Handle"-Hinweis oben — Sheet-typisch */
  .flash-modal-card::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.18);
  }
  .flash-modal-title {
    font-size: 20px;
  }
  .flash-modal-message {
    font-size: 15px;
  }
  /* Icon einen Tick kompakter, damit das Sheet nicht ueberfuellt wirkt. */
  .flash-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
  }
  /* Apple HIG / WCAG: 44pt minimum Tap-Target. */
  .flash-modal-close {
    width: 44px;
    height: 44px;
    top: 4px;
    right: 6px;
    font-size: 28px;
  }
  /* Full-width OK-Button — einhaendig erreichbar, klar als Primaer-Action. */
  .flash-modal-ok {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    font-size: 15px;
  }
}

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--c-text-muted);
}
.footer-bottom a {
  color: var(--c-text-dim);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--c-accent); }
.footer-legal {
  display: flex;
  gap: 20px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .featured-card { flex: 0 0 calc(50% - 10px); min-width: 280px; }
  .events-grid { grid-template-columns: repeat(3, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-visual { flex: 0 0 240px; }
}

/* Early mobile-header switch: when logged-in Desktop-Header gets crowded
   (user-greeting + Dashboard + Admin + Ausloggen + Suche + Nav + Logo).
   Bei < 1100px auf Burger umschalten, damit nichts umbricht. */
@media (max-width: 1100px) {
  .nav-main, .header-actions { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  .header-inner { height: 64px; }

  .hero h1 { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 32px; }

  .search-bar {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 12px;
    gap: 0;
  }
  .search-field {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-sm);
  }
  .search-divider {
    width: 100%;
    height: 1px;
    margin: 4px 0;
  }
  .search-bar .btn-primary {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    border-radius: var(--radius-sm);
  }

  .featured-card { flex: 0 0 85vw; min-width: 260px; }
  .events-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .locations-grid { grid-template-columns: 1fr; }

  .cta-inner {
    flex-direction: column;
    padding: clamp(32px, 5vw, 48px);
    text-align: center;
  }
  .cta-text p { margin-left: auto; margin-right: auto; }
  .cta-features { align-items: center; }
  .cta-visual { flex: none; width: 100%; max-width: 320px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .events-grid { grid-template-columns: 1fr; }
  .hero-quick { gap: 6px; }
  .cta-stats { gap: 10px; }
  .cta-stat { padding: 14px; }
  .cta-stat .number { font-size: 24px; }
}

/* ============================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================ */
.legal-page {
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: 60vh;
}
.legal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 32px;
}
.legal-breadcrumbs a {
  color: var(--c-text-dim);
  transition: color 0.2s;
}
.legal-breadcrumbs a:hover { color: var(--c-accent); }
.legal-breadcrumbs .sep { color: var(--c-text-muted); }
.legal-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}
.legal-content {
  max-width: 780px;
}
.legal-section {
  margin-bottom: 40px;
}
.legal-section h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-border);
}
.legal-section h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--c-text);
  margin-top: 20px;
  margin-bottom: 10px;
}
.legal-section p {
  color: var(--c-text-dim);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-section ul {
  margin: 12px 0;
  padding-left: 20px;
}
.legal-section li {
  color: var(--c-text-dim);
  line-height: 1.8;
  position: relative;
  padding-left: 8px;
  list-style: none;
}
.legal-section li::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-accent);
}
.legal-section strong {
  color: var(--c-text);
}
.legal-section a:not(.btn) {
  color: var(--c-accent);
  transition: opacity 0.2s;
}
.legal-section a:not(.btn):hover { opacity: 0.8; }

/* ============================================
   EVENTS PAGE - Page Hero
   ============================================ */
.page-hero {
  padding: 120px 0 40px;
  background: var(--c-deep);
  border-bottom: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%, rgba(139,92,246,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(0,255,208,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
  position: relative;
}
.page-hero-title .highlight {
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--c-text-dim);
  position: relative;
}

/* ============================================
   EVENTS PAGE - Layout
   ============================================ */
.events-page-section {
  padding-top: 40px;
}
.events-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* ============================================
   EVENTS PAGE - Filter Sidebar
   ============================================ */
.filter-sidebar {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--c-surface-up) transparent;
}
.filter-sidebar::-webkit-scrollbar { width: 4px; }
.filter-sidebar::-webkit-scrollbar-track { background: transparent; }
.filter-sidebar::-webkit-scrollbar-thumb {
  background: var(--c-surface-up);
  border-radius: 2px;
}
.filter-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.filter-sidebar-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.filter-close-btn {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--c-text-dim);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.filter-close-btn:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.filter-group {
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
}
.filter-group:last-of-type {
  border-bottom: none;
  margin-bottom: 12px;
  padding-bottom: 0;
}
.filter-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.filter-group input[type="text"],
.filter-group input[type="date"],
.filter-group select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.25s;
}
.filter-group input[type="text"]:focus,
.filter-group input[type="date"]:focus,
.filter-group select:focus {
  border-color: var(--c-accent);
}
.filter-group input::placeholder {
  color: var(--c-text-muted);
}
.filter-group select option {
  background: var(--c-surface);
  color: var(--c-text);
}
.filter-form .btn-block + .btn-block {
  margin-top: 8px;
}
.filter-group-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

/* Checkboxes */
.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--c-text-dim);
  cursor: pointer;
  transition: color 0.2s;
}
.filter-checkbox:hover { color: var(--c-text); }
.filter-checkbox input[type="checkbox"] {
  display: none;
}
.filter-checkbox .checkmark {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--c-border-light);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  position: relative;
}
.filter-checkbox input:checked + .checkmark {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.filter-checkbox input:checked + .checkmark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid var(--c-void);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

/* Filter checkbox list (Ausstattung) — Container fuer .filter-checkbox Items */
.filter-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
/* Override fuer Label-Reset innerhalb .filter-group, damit die Feature-Labels
   nicht das uppercase Group-Label-Styling erben. */
.filter-group label.filter-checkbox {
  display: flex;
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 0;
  color: var(--c-text-dim);
}
.filter-checkbox-label {
  flex: 1;
  line-height: 1.3;
}

/* Filter Chips (Genres) — Toggle-Buttons mit aria-pressed Zustand */
.filter-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  color: var(--c-text-dim);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
  user-select: none;
}
.filter-chip:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--c-border-light);
  color: var(--c-text);
}
.filter-chip:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}
.filter-chip:active {
  transform: scale(0.97);
}
.filter-chip[aria-pressed="true"],
.filter-chip.active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-void);
}
.filter-chip[aria-pressed="true"]:hover,
.filter-chip.active:hover {
  background: var(--c-accent);
  filter: brightness(1.08);
  color: var(--c-void);
}

/* Radios */
.filter-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 13px;
  color: var(--c-text-dim);
  cursor: pointer;
  transition: color 0.2s;
}
.filter-radio:hover { color: var(--c-text); }
.filter-radio input[type="radio"] {
  display: none;
}
.filter-radio .radiomark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--c-border-light);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.filter-radio input:checked + .radiomark {
  border-color: var(--c-accent);
}
.filter-radio input:checked + .radiomark::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* Date filter buttons */
.filter-date-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.filter-date-btn {
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--c-border);
  font-size: 12px;
  font-weight: 500;
  color: var(--c-text-dim);
  transition: all 0.25s;
  cursor: pointer;
  background: transparent;
}
.filter-date-btn:hover {
  border-color: var(--c-text-muted);
  color: var(--c-text);
}
.filter-date-btn.active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-void);
}

/* Datepicker */
.filter-datepicker {
  width: 100%;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text-dim);
  font-size: 13px;
  outline: none;
  transition: border-color 0.25s;
  color-scheme: dark;
}
.filter-datepicker:focus {
  border-color: var(--c-accent);
}

/* Reset button */
.filter-reset-btn {
  width: 100%;
  margin-top: 8px;
  padding: 10px 16px;
  font-size: 13px;
}

/* Mobile filter toggle */
.mobile-filter-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  transition: all 0.25s;
  margin-bottom: 20px;
}
.mobile-filter-toggle:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.mobile-filter-toggle .icon {
  font-size: 16px;
}

/* ============================================
   EVENTS PAGE - Toolbar
   ============================================ */
.events-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.events-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.events-result-count {
  font-size: 14px;
  color: var(--c-text-dim);
}
.events-result-count strong {
  color: #fff;
  font-weight: 600;
}
.events-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.events-sort-select {
  padding: 8px 14px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-size: 13px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.25s;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238a87a0' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.events-sort-select:focus {
  border-color: var(--c-accent);
}
.events-sort-select option {
  background: var(--c-surface);
  color: var(--c-text);
}

/* View Toggle */
.events-view-toggle {
  display: flex;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.view-btn {
  width: 38px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  transition: all 0.2s;
  cursor: pointer;
  background: transparent;
  border: none;
}
.view-btn + .view-btn {
  border-left: 1px solid var(--c-border);
}
.view-btn:hover {
  color: var(--c-text);
  background: rgba(255,255,255,0.03);
}
.view-btn.active {
  color: var(--c-accent);
  background: var(--c-accent-dim);
}

/* ============================================
   EVENTS PAGE - Grid Override (3 cols)
   ============================================ */
.events-page-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ============================================
   EVENTS PAGE - List View
   ============================================ */
.events-page-grid.list-view {
  grid-template-columns: 1fr;
  gap: 12px;
}
.events-page-grid.list-view .event-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
}
.events-page-grid.list-view .event-card-img {
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.events-page-grid.list-view .event-card-body {
  padding: 12px 16px;
}
.events-page-grid.list-view .event-card-body h3 {
  font-size: 15px;
  margin-bottom: 4px;
  -webkit-line-clamp: 1;
}
.events-page-grid.list-view .event-card-footer {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 12px 16px;
  border-top: none;
  border-left: 1px solid var(--c-border);
  min-width: 100px;
}

/* ============================================
   EVENTS PAGE - Pagination
   ============================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-dim);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s;
}
.pagination-btn:hover:not(.disabled) {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-accent-dim);
}
.pagination-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.pagination-pages {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pagination-page {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-dim);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s;
}
.pagination-page:hover {
  border-color: var(--c-border-light);
  color: var(--c-text);
  background: rgba(255,255,255,0.03);
}
.pagination-page.active {
  background: var(--c-accent);
  color: var(--c-void);
  font-weight: 700;
  border-color: var(--c-accent);
}
.pagination-ellipsis {
  width: 32px;
  text-align: center;
  color: var(--c-text-muted);
  font-size: 14px;
}

/* ============================================
   EVENTS PAGE - Responsive
   ============================================ */
@media (max-width: 1024px) {
  .events-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .events-layout {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .events-layout {
    grid-template-columns: 1fr;
  }
  .mobile-filter-toggle {
    display: flex;
  }
  .filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    border-radius: 0;
    max-height: 100vh;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
    padding: 24px;
    padding-top: 20px;
    overflow-y: auto;
  }
  .filter-sidebar.open {
    transform: translateY(0);
  }
  .filter-close-btn {
    display: flex;
  }
  .events-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .events-page-grid.list-view .event-card {
    grid-template-columns: 80px 1fr auto;
  }
  .events-page-grid.list-view .event-card-footer {
    min-width: 80px;
    padding: 8px 12px;
  }
  .page-hero {
    padding: 88px 0 32px;
  }
}

@media (max-width: 480px) {
  .events-page-grid {
    grid-template-columns: 1fr;
  }
  .events-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .events-toolbar-right {
    justify-content: space-between;
  }
  .events-page-grid.list-view .event-card {
    grid-template-columns: 1fr;
  }
  .events-page-grid.list-view .event-card-img {
    aspect-ratio: 16/9;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }
  .events-page-grid.list-view .event-card-footer {
    flex-direction: row;
    justify-content: space-between;
    border-left: none;
    border-top: 1px solid var(--c-border);
    min-width: auto;
  }
  .pagination {
    gap: 4px;
  }
  .pagination-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
  .pagination-page {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-section {
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.auth-card h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.auth-sub {
  font-size: 14px;
  color: var(--c-text-dim);
  margin-bottom: 28px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
}
.form-group input {
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s;
}
.form-group input:focus {
  border-color: var(--c-accent);
}
.form-group input::placeholder {
  color: var(--c-text-muted);
}
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--c-text-dim);
}
.auth-footer a {
  color: var(--c-accent);
}

/* Links innerhalb von Auth-Cards (Form-Hints, Labels, Inline-Hinweise)
   muessen sichtbar sein — sonst gehen Verweise wie „Profil & Einstellungen"
   oder „Datenschutzerklaerung" im darkmode unter. */
.auth-card .form-hint a,
.auth-card label a,
.auth-card .alert a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-card .form-hint a:hover,
.auth-card label a:hover,
.auth-card .alert a:hover {
  color: var(--c-text);
}

/* Organizer Registration - wider layout */
.auth-organizer-form {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.auth-organizer-main {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.auth-organizer-main h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.auth-section-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group select {
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
}
.form-group select:focus {
  border-color: var(--c-accent);
}
.form-group select option {
  background: var(--c-surface);
  color: var(--c-text);
}
.auth-features {
  position: sticky;
  top: 100px;
}
.auth-features-inner {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.auth-features-inner h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.auth-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-features li {
  font-size: 14px;
  color: var(--c-text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-features li .check {
  color: var(--c-accent);
  font-weight: 700;
}
.auth-features-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}
.auth-features-note p {
  font-size: 13px;
  color: var(--c-text-muted);
}

@media (max-width: 768px) {
  .auth-organizer-form {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .auth-organizer-main { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .auth-features { position: static; }
}

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
}
.alert-error {
  background: rgba(255,45,123,0.1);
  border: 1px solid rgba(255,45,123,0.3);
  color: var(--c-magenta);
}
.alert-error ul {
  margin: 0;
  padding-left: 16px;
}
.alert-error li {
  margin-bottom: 4px;
}
.alert-success {
  background: rgba(0,255,208,0.08);
  border: 1px solid rgba(0,255,208,0.3);
  color: var(--c-accent);
}
.alert-info {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  color: var(--c-text-dim);
}

/* ============================================
   ERROR PAGES
   ============================================ */
.error-page {
  padding: 120px 0 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.error-content {
  max-width: 480px;
  margin: 0 auto;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 700;
  background: linear-gradient(135deg, var(--c-accent), var(--c-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.error-content h1 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.error-content p {
  color: var(--c-text-dim);
  margin-bottom: 24px;
}

/* ============================================
   VERANSTALTER PAGE
   ============================================ */
.veranstalter-hero-content {
  max-width: 700px;
  position: relative;
}
.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin-bottom: 16px;
  background: var(--c-accent-dim);
  padding: 6px 14px;
  border-radius: 100px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.feature-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--c-accent);
  line-height: 1;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--c-text-dim);
  line-height: 1.6;
}
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 4px;
}
.stat-item .stat-label {
  font-size: 14px;
  color: var(--c-text-dim);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.pricing-featured {
  border-color: var(--c-accent);
  transform: scale(1.03);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: var(--c-void);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 100px;
}
.pricing-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}
.pricing-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--c-accent);
}
.pricing-price span {
  font-size: 16px;
  color: var(--c-text-muted);
  font-weight: 400;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--c-text-dim);
  padding-left: 4px;
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-featured { transform: none; }
  .auth-card { padding: 24px; }
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-header {
  padding: 100px 0 32px;
  background: var(--c-deep);
  border-bottom: 1px solid var(--c-border);
}
.dashboard-header h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.dashboard-header p {
  color: var(--c-text-dim);
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.dash-stat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.dash-stat-number {
  font-family: var(--font-body);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-text);
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.dash-stat-label {
  font-size: 13px;
  color: var(--c-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.dashboard-section {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.dash-section-header {
  margin-bottom: 20px;
}
.dash-section-header h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}
.dash-table {
  overflow-x: auto;
}
.dash-table table {
  width: 100%;
  border-collapse: collapse;
}
.dash-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-border);
}
.dash-table td {
  font-size: 14px;
  color: var(--c-text-dim);
  padding: 12px;
  border-bottom: 1px solid var(--c-border);
}
.dash-table strong {
  color: #fff;
}
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--c-text-muted);
}
.user-greeting {
  font-size: 14px;
  color: var(--c-text-dim);
}

/* Notification-Bell + Dropdown */
.notification-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.notification-bell-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px; height: 40px;
  color: var(--c-text);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s;
}
.notification-bell-toggle:hover { background: rgba(255,255,255,0.06); }
.notification-bell-badge {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--c-accent, #ff6f3c);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  box-shadow: 0 0 0 2px var(--c-bg, #06060f);
}
.notification-bell-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 320px;
  max-width: 360px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--c-deep, #0d0d22);
  border: 1px solid var(--c-border, rgba(255,255,255,0.08));
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
  z-index: 1100;
  padding: 0;
}
.notification-bell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border, rgba(255,255,255,0.08));
}
.notification-bell-header strong { font-size: 14px; }
.notification-bell-header a { font-size: 12px; color: var(--c-accent); text-decoration: none; }
.notification-bell-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.notification-bell-list li {
  padding: 0;
}
.notification-bell-list li a {
  display: block;
  padding: 10px 16px;
  color: var(--c-text-dim);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  transition: background 0.15s;
}
.notification-bell-list li a:hover { background: rgba(255,255,255,0.04); color: var(--c-text); }
.notification-bell-list li.is-unread a { color: var(--c-text); }
.notification-bell-list li.is-unread a strong { color: var(--c-accent); }
.notification-bell-empty {
  padding: 20px 16px;
  text-align: center;
  color: var(--c-text-muted);
  font-size: 13px;
}
@media (max-width: 480px) {
  .notification-bell-dropdown {
    position: fixed;
    top: 80px;
    right: 8px;
    left: 8px;
    min-width: 0;
    max-width: none;
  }
}

/* Dashboard Sidebar (vertikal, konsistent zum Admin-Bereich) */
.dashboard-menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--c-deep);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 8px 14px;
  margin: 84px 16px 12px 16px; /* unter dem Site-Header (72px + 12px) */
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.dashboard-menu-toggle:hover { background: var(--c-deep-2, #1a1a2e); }
.dashboard-sidebar-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 90;
}
.dashboard-sidebar {
  position: fixed;
  top: 72px; left: 0;
  width: 240px;
  height: calc(100vh - 72px);
  background: var(--c-deep);
  border-right: 1px solid var(--c-border);
  padding: 16px 0;
  overflow-y: auto;
  z-index: 100;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
}
.dashboard-sidebar::-webkit-scrollbar { width: 4px; }
.dashboard-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }
.dashboard-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 10px;
}
.dashboard-sidebar-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-text);
}
.dashboard-sidebar-close {
  display: none;
  background: transparent;
  border: 0;
  color: var(--c-text-dim);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.dashboard-nav-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 8px;
}
.dashboard-nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dashboard-nav-group-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
  padding: 4px 12px 6px 12px;
}
.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-dim);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.dashboard-nav-item:hover {
  background: rgba(255,255,255,0.05);
  color: var(--c-text);
}
.dashboard-nav-item.active {
  background: rgba(255, 111, 60, 0.12);
  color: var(--c-accent);
}
.dashboard-nav-icon {
  width: 20px;
  text-align: center;
  font-size: 15px;
}
/* Body-Shift für Desktop wenn Sidebar permanent sichtbar */
body.has-dashboard-sidebar > main,
body.has-dashboard-sidebar > .dashboard-content,
body.has-dashboard-sidebar > section,
body.has-dashboard-sidebar > .container {
  /* greift wenn Page-Templates direkt section/main als Top-Level haben */
}
/* Auf Dashboard-Pages: kompakteres Section-Padding statt 100px Marketing-Hero */
body.has-dashboard-sidebar .section {
  padding-top: 32px;
  padding-bottom: 48px;
}
@media (min-width: 1024px) {
  body.has-dashboard-sidebar { padding-left: 240px; }
  /* Header-Inner shiftet auch nach rechts, damit Logo + Aktionen im Content-Bereich
     liegen statt visuell ueber der Sidebar zu kleben. */
  body.has-dashboard-sidebar .site-header > .header-inner,
  body.has-dashboard-sidebar .site-header .header-inner {
    padding-left: 240px;
  }
  /* Auf Dashboard-Pages ist die Top-Nav (Home/Events/Locations/Magazin/Veranstalter)
     redundant zur Sidebar-Nav. Verstecken, damit Search + Bell + User-Avatar
     genug Platz haben. */
  body.has-dashboard-sidebar .site-header .nav-main {
    display: none;
  }
  /* Sidebar fuellt die linke Spalte vom oberen Rand bis unten — sonst
     entsteht oben links ein leerer 240x72-Bereich (Body-Bg statt Sidebar-Bg). */
  body.has-dashboard-sidebar .dashboard-sidebar {
    top: 0;
    height: 100vh;
    padding-top: 88px;
    z-index: 1001;
  }
}
@media (max-width: 1023px) {
  .dashboard-menu-toggle { display: inline-flex; }
  .dashboard-sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 4px 0 18px rgba(0,0,0,0.35);
  }
  .dashboard-sidebar.open { transform: translateX(0); }
  .dashboard-sidebar:not(.open) ~ .dashboard-sidebar-backdrop,
  .dashboard-sidebar-backdrop[hidden] { display: none; }
  .dashboard-sidebar-close { display: inline-block; }
}
@media (min-width: 1024px) {
  .dashboard-sidebar-backdrop { display: none !important; }
  .dashboard-sidebar-close { display: none; }
}

/* Dashboard Quick Actions */
.dash-quick-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

/* Dashboard Empty State */
.dash-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--c-text-muted);
}

/* Dashboard Event Cards */
.dash-event-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dash-event-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--c-surface-up);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.dash-event-card:hover {
  border-color: var(--c-accent);
  background: rgba(0,255,208,0.03);
}
.dash-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
  padding: 8px;
  background: var(--c-accent-dim);
  border-radius: var(--radius-sm);
}
.dash-event-day {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
}
.dash-event-month {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--c-accent);
  letter-spacing: 0.05em;
}
.dash-event-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-event-info strong {
  font-size: 15px;
  color: #fff;
}
.dash-event-info span {
  font-size: 13px;
  color: var(--c-text-dim);
}
.dash-event-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-violet);
  margin-top: 2px;
}
.dash-event-card-full {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-event-card-full .dash-event-card {
  flex: 1;
}
.dash-event-action {
  flex-shrink: 0;
}

/* Dashboard Profile Form */
.dash-profile-form {
  max-width: 900px;
}

@media (max-width: 768px) {
  .dash-quick-actions {
    flex-direction: column;
  }
  .dash-event-card-full {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Grid/List toggle (events page) */
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-surface);
}
.view-tab {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-muted);
  text-decoration: none;
  background: transparent;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.view-tab + .view-tab {
  border-left: 1px solid var(--c-border);
}
.view-tab:hover {
  color: var(--c-text);
  background: rgba(255,255,255,0.03);
}
.view-tab.active,
.view-tab[aria-selected="true"] {
  color: var(--c-accent);
  background: var(--c-accent-dim);
}
.events-map {
  width: 100%;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

/* Events List View */
.events-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.events-list-item { margin: 0; }
.events-list-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding: 14px 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.events-list-link:hover {
  background: var(--c-surface-up);
  border-color: var(--c-accent);
}
.events-list-link strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
}
.events-list-meta {
  font-size: 13px;
  color: var(--c-text-dim);
}

/* Events Calendar View */
.calendar-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 16px;
}
.calendar-current {
  font-weight: 600;
  font-size: 16px;
  color: var(--c-text);
}
.calendar-grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.calendar-grid th {
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-text-dim);
  text-align: center;
  border-bottom: 1px solid var(--c-border);
  background: rgba(255,255,255,0.02);
}
.calendar-cell {
  width: calc(100% / 7);
  vertical-align: top;
  height: 96px;
  padding: 6px;
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.calendar-cell:nth-child(7n) { border-right: none; }
.calendar-grid tbody tr:last-child .calendar-cell { border-bottom: none; }
.calendar-cell-blank {
  background: rgba(0,0,0,0.15);
}
.calendar-cell-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
}
.calendar-day-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-text-dim);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.calendar-day-link:hover {
  background: var(--c-accent-dim);
  color: var(--c-accent);
}
.calendar-day-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.calendar-day-events li { margin: 0; }
.calendar-event-pill {
  display: block;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0,255,208,0.08);
  border-left: 2px solid var(--c-accent);
  font-size: 11px;
  line-height: 1.3;
  color: var(--c-text);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.2s;
}
.calendar-event-pill:hover {
  background: var(--c-accent-dim);
}
.calendar-event-pill.is-featured {
  background: var(--c-accent-dim);
  border-left-color: var(--c-accent);
  font-weight: 600;
}
.calendar-more {
  display: inline-block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--c-text-dim);
  text-decoration: none;
}
.calendar-more:hover {
  color: var(--c-accent);
}

.events-count {
  font-size: 14px;
  color: var(--c-text-dim);
}
.events-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
/* Event detail page layout */
.event-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding: 100px 0 40px;
}
.event-hero-bg {
  position: absolute;
  inset: 0;
}
.event-hero-bg img,
.event-hero-bg .placeholder-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,6,15,0.3), rgba(6,6,15,0.95));
}
.event-hero-content {
  position: relative;
  z-index: 1;
}
.event-hero-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.event-genre-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--c-accent-dim);
  color: var(--c-accent);
}
.event-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.event-hero-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--c-text-dim);
}
.event-hero-info a {
  color: var(--c-accent);
}
.event-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.event-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: 32px;
}
.event-share {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--c-text-dim);
  font-size: 14px;
}
.share-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s;
}
.share-btn:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.event-sidebar-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.event-sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.event-sidebar-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 14px;
}
.event-sidebar-row .label {
  color: var(--c-text-muted);
}
.event-sidebar-row .value {
  color: #fff;
  font-weight: 600;
}
.event-attend {
  text-align: center;
  margin-bottom: 16px;
}
.btn-attend {
  font-size: 16px;
}
.btn-attend[data-attending="true"] {
  background: rgba(255,45,123,0.15);
  border-color: var(--c-magenta);
  color: var(--c-magenta);
}
.attend-count {
  font-size: 13px;
  color: var(--c-text-dim);
  margin-top: 8px;
}
.btn-accent {
  background: var(--c-magenta);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  display: block;
  text-align: center;
  transition: opacity 0.25s;
}
.btn-accent:hover { opacity: 0.85; }
.similar-events {
  margin-top: 48px;
}

/* Location detail */
.location-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.location-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: 32px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.location-sidebar-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.location-sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.sidebar-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 14px;
  color: var(--c-text-dim);
}
.sidebar-row .label {
  color: var(--c-text-muted);
}
.sidebar-row a {
  color: var(--c-accent);
}
.address-toggle {
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.address-toggle:hover {
  text-decoration: none;
}
.location-map {
  position: relative;
  margin-top: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.location-map iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  display: block;
}
.map-fullscreen-btn {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #222;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: background 0.15s;
}
.map-fullscreen-btn:hover {
  background: #fff;
}
.location-map:fullscreen {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  border: 0;
  margin: 0;
}
.location-map:fullscreen iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.map-fallback {
  margin: 0;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-text-muted);
  border-top: 1px solid var(--c-border);
}
.map-fallback a {
  color: var(--c-accent);
}

/* Placeholder backgrounds */
.placeholder-bg {
  width: 100%;
  height: 100%;
}

/* Page hero sm */
.page-hero-sm {
  padding: 100px 0 32px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  position: relative;
}
.page-hero p {
  color: var(--c-text-dim);
  position: relative;
}

/* Event detail + location responsive */
@media (max-width: 768px) {
  .event-detail-layout,
  .location-detail-layout {
    grid-template-columns: 1fr;
  }
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* btn helpers */
.btn-block { display: block; width: 100%; text-align: center; }
.btn-sm { padding: 8px 14px; font-size: 12px; }

/* iCal-Button */
.btn-ical { margin-top: 12px; }

/* Header-Suche */
.header-search {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px 6px 4px 14px;
  margin-left: 12px;
  transition: border-color .2s ease, background .2s ease;
}
.header-search:focus-within {
  border-color: rgba(0, 255, 208, 0.5);
  background: rgba(255, 255, 255, 0.08);
}
.header-search input[type="search"] {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: 13px;
  padding: 6px 4px;
  width: 160px;
  outline: none;
}
.header-search input[type="search"]::placeholder { color: rgba(255, 255, 255, 0.5); }
.header-search button {
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 14px;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 999px;
  line-height: 1;
}
.header-search button:hover { background: rgba(255, 255, 255, 0.08); }
@media (max-width: 960px) {
  .header-search { display: none; }
}

/* Header-Search-Combobox + Dropdown */
.header-search { position: relative; }
.header-search-combo { display: flex; align-items: center; flex: 1; }
.header-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: rgba(15, 20, 32, 0.98);
  border: 1px solid rgba(0, 255, 208, 0.18);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  max-height: 60vh;
  overflow-y: auto;
  z-index: 200;
}
.header-search-dropdown[hidden] { display: none; }
.header-search-group {
  padding: 8px 14px 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0, 255, 208, 0.7);
}
.header-search-item {
  display: flex;
  flex-direction: column;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
}
.header-search-item:hover,
.header-search-item.is-active {
  background: rgba(0, 255, 208, 0.14);
}
.header-search-item .header-search-label mark {
  background: rgba(0, 255, 208, 0.35);
  color: inherit;
  padding: 0 1px;
  border-radius: 2px;
}
.header-search-item .header-search-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}
.header-search-empty {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-style: italic;
}
@media (max-width: 600px) {
  .header-search-dropdown {
    position: fixed;
    top: 64px;
    left: 8px;
    right: 8px;
    max-height: calc(100vh - 80px);
    border-radius: 12px;
  }
}

/* Such-Seite */
.search-page {
  padding: 140px 0 120px;
  position: relative;
}
.search-page::before {
  content: '';
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90%);
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(0,255,208,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.search-page .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.search-hero {
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--c-border);
}
.search-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: var(--c-accent-dim);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.search-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.search-hero-query {
  background: linear-gradient(90deg, var(--c-accent), var(--c-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.search-hero-sub {
  color: var(--c-text-dim);
  font-size: 16px;
  margin: 0;
}
.search-hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--c-text-dim);
  font-size: 14px;
}
.search-stat strong {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  margin-right: 4px;
}
.search-stat-sep {
  color: var(--c-text-muted);
  opacity: 0.6;
}

.search-group { margin-top: 48px; }
.search-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.search-group-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.search-group-icon {
  font-size: 20px;
  opacity: 0.9;
}
.search-group-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-dim);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: 3px 10px;
  border-radius: 999px;
}

.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 720px) {
  .search-results { grid-template-columns: 1fr; }
}
.search-result {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.search-result::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--c-accent);
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.search-result--location::before { background: var(--c-magenta); }
.search-result:hover {
  border-color: var(--c-border-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -12px rgba(0,0,0,0.5);
}
.search-result:hover::before { opacity: 1; }
.search-result-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.search-result-head {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.search-result-head .tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.search-result-head .tag-event {
  background: var(--c-accent-dim);
  color: var(--c-accent);
}
.search-result-head .tag-location {
  background: var(--c-magenta-dim);
  color: var(--c-magenta);
}
.search-result-head .tag-muted {
  background: rgba(255, 255, 255, 0.05);
  color: var(--c-text-dim);
}
.search-result h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}
.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--c-text-dim);
  font-size: 13px;
}
.search-result-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.search-result-meta-item span[aria-hidden] {
  opacity: 0.7;
  font-size: 12px;
}
.search-result-excerpt {
  margin: 0;
  color: var(--c-text);
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.8;
}
.search-result-cta {
  margin-top: auto;
  padding-top: 6px;
  color: var(--c-accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: gap .25s var(--ease-out);
}
.search-result--location .search-result-cta { color: var(--c-magenta); }
.search-result:hover .search-result-cta span { margin-left: 4px; }

.search-empty {
  margin-top: 48px;
  padding: 56px 24px;
  background: var(--c-surface);
  border: 1px dashed var(--c-border-light);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--c-text-dim);
}
.search-empty-icon {
  font-size: 42px;
  margin-bottom: 14px;
  opacity: 0.7;
}
.search-empty h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
}
.search-empty p {
  max-width: 480px;
  margin: 0 auto 24px;
  font-size: 15px;
  line-height: 1.6;
}
.search-empty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .search-page { padding: 110px 0 80px; }
  .search-hero { margin-bottom: 36px; }
  .search-group { margin-top: 36px; }
}

/* Event-Melde-Form */
.event-report {
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
}
.event-report summary {
  cursor: pointer;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  user-select: none;
}
.event-report summary:hover { color: rgba(255,255,255,0.9); }
.event-report-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.event-report-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.event-report-form select,
.event-report-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
}
.event-report-flash {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 13px;
}
.event-report-flash--success {
  background: rgba(0, 255, 208, 0.1);
  color: #00ffd0;
  border: 1px solid rgba(0, 255, 208, 0.3);
}
.event-report-flash--error {
  background: rgba(255, 60, 60, 0.1);
  color: #ff6b6b;
  border: 1px solid rgba(255, 60, 60, 0.3);
}

/* Admin-Filter-Tabs */
.admin-filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.admin-filter-tab {
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all .2s;
}
.admin-filter-tab:hover { color: #fff; border-color: rgba(255,255,255,0.2); }
.admin-filter-tab.active {
  background: rgba(0, 255, 208, 0.1);
  color: #00ffd0;
  border-color: rgba(0, 255, 208, 0.4);
}

/* Analytics */
.analytics-range { display: flex; gap: 8px; }
.analytics-stats .admin-stat { position: relative; }
.analytics-stats .admin-stat-sub {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.analytics-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px;
}
.analytics-section h2 {
  margin: 0 0 16px;
  font-size: 18px;
}
.analytics-bars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.analytics-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 4px;
  gap: 12px;
}
.analytics-bar-count {
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.analytics-bar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}
.analytics-bar-fill {
  background: linear-gradient(90deg, #00ffd0, #ff2d7b);
  height: 100%;
  border-radius: 999px;
  transition: width .3s ease;
}
.analytics-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.analytics-pills li {
  background: rgba(0, 255, 208, 0.1);
  border: 1px solid rgba(0, 255, 208, 0.3);
  padding: 10px 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}
.analytics-pill-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.analytics-pill-count {
  font-size: 22px;
  font-weight: 700;
  color: #00ffd0;
  margin-top: 4px;
}
@media (max-width: 900px) {
  .analytics-grid { grid-template-columns: 1fr; }
}

/* Dashboard-Lock (Premium-Feature) */
.dash-lock {
  text-align: center;
  padding: 60px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 18px;
  max-width: 560px;
  margin: 24px auto;
}
.dash-lock-icon {
  font-size: 56px;
  margin-bottom: 12px;
  opacity: 0.6;
}
.dash-lock h2 {
  font-family: 'Clash Display', sans-serif;
  font-size: 26px;
  margin: 0 0 10px;
}
.dash-lock p {
  color: rgba(255,255,255,0.7);
  margin: 0 0 20px;
  line-height: 1.5;
}

/* Karten-Ansicht */
.map-page { min-height: 100vh; padding-top: 80px; }
.map-page-head { padding: 24px 0; }
.map-page-head .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.map-page-head h1 {
  font-family: 'Clash Display', sans-serif;
  font-size: clamp(26px, 3.5vw, 40px);
  margin: 0;
}
.map-view-switch {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 4px;
}
.map-view-switch a,
.map-view-switch span {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
}
.map-view-switch .active {
  background: rgba(0, 255, 208, 0.15);
  color: #00ffd0;
}
.events-map {
  height: calc(100vh - 220px);
  min-height: 480px;
  width: 100%;
}
.leaflet-popup-content strong { display: block; margin-bottom: 4px; }
.leaflet-popup-content a { color: #0066cc; }

/* Blog / Magazin */
.blog-page { padding: 100px 0 120px; }
.blog-hero { text-align: center; margin-bottom: 48px; }
.blog-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00ffd0;
  margin-bottom: 12px;
}
.blog-hero h1 {
  font-family: 'Clash Display', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  margin: 0 0 12px;
}
.blog-hero-sub { color: rgba(255,255,255,0.7); font-size: 17px; }
.blog-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.blog-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: all .2s ease;
}
.blog-card:hover {
  border-color: rgba(0, 255, 208, 0.3);
  transform: translateY(-2px);
}
.blog-card a { display: block; text-decoration: none; color: inherit; }
.blog-card-image { aspect-ratio: 16 / 9; overflow: hidden; background: rgba(255,255,255,0.05); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 18px; }
.blog-card h2, .blog-card h3 {
  font-family: 'Clash Display', sans-serif;
  font-size: 20px;
  margin: 0 0 8px;
}
.blog-card-excerpt {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.blog-card-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  display: flex;
  gap: 4px;
}
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.blog-article { padding: 100px 0 80px; }
.blog-back {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px;
  display: inline-block;
  margin-bottom: 24px;
}
.blog-back:hover { color: #00ffd0; }
.blog-article-head h1 {
  font-family: 'Clash Display', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  margin: 0 0 16px;
  line-height: 1.1;
}
.blog-article-meta {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  margin-bottom: 16px;
}
.blog-article-lede {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.blog-article-hero-image {
  margin: 0 0 32px;
  border-radius: 14px;
  overflow: hidden;
}
.blog-article-hero-image img { width: 100%; height: auto; display: block; }
.blog-article-body {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}
.blog-article-body a {
  color: var(--c-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: opacity 0.18s ease;
}
.blog-article-body a:hover { opacity: 0.8; }
.blog-article-body h2 {
  font-family: 'Clash Display', sans-serif;
  font-size: 28px;
  margin: 32px 0 14px;
  color: #fff;
}
.blog-article-body h3 {
  font-family: 'Clash Display', sans-serif;
  font-size: 20px;
  margin: 22px 0 10px;
  color: rgba(255,255,255,0.92);
}
.blog-article-body p { margin: 0 0 14px; }
.blog-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
  display: block;
}
.blog-article-body ul,
.blog-article-body ol {
  margin: 12px 0 14px 20px;
  padding-left: 8px;
}
.blog-article-body li { margin: 4px 0; }
.blog-article-body strong { color: #fff; font-weight: 600; }
.blog-related {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.blog-related h2 {
  font-family: 'Clash Display', sans-serif;
  font-size: 24px;
  margin: 0 0 24px;
}

/* ============================================
   Iter 17 — Veranstalter-Page-Erweiterung
   Testimonials, ROI-Kalkulator, Vergleichstabelle
   ============================================ */

/* --- Testimonials --------------------------------- */
.testimonials-section {
  background: linear-gradient(180deg, transparent 0%, rgba(45, 27, 105, 0.08) 100%);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 111, 60, 0.4);
}
.testimonial-photo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6f3c, #2d1b69);
  color: #fff;
  font-family: 'Clash Display', sans-serif;
  font-size: 32px;
  font-weight: 700;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  position: relative;
}
.testimonial-card blockquote::before {
  content: "\201C";
  font-size: 48px;
  font-family: 'Clash Display', sans-serif;
  color: rgba(255, 111, 60, 0.4);
  position: absolute;
  top: -16px;
  left: -8px;
  line-height: 1;
}
.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}
.testimonial-card footer strong {
  color: #fff;
  font-size: 15px;
}
.testimonial-role {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}
.testimonial-location {
  color: rgba(255, 111, 60, 0.9);
  font-size: 13px;
  text-decoration: none;
}
a.testimonial-location:hover {
  text-decoration: underline;
}

/* --- ROI-Kalkulator ------------------------------- */
.roi-section {
  background: transparent;
}
.roi-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
}
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .roi-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .roi-card {
    padding: 24px;
  }
}
.roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.roi-inputs label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--c-text);
  font-weight: 500;
}
.roi-inputs .roi-hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--c-text-muted);
  line-height: 1.4;
}
.roi-inputs input[type="number"],
.roi-inputs input[type="range"] {
  background: var(--c-deep);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
}
.roi-inputs input[type="number"]:focus,
.roi-inputs input[type="range"]:focus {
  outline: none;
  border-color: var(--c-accent);
}
.roi-inputs input[type="range"] {
  padding: 0;
  height: 6px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-surface-up) 100%);
}
.roi-inputs input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-accent);
  cursor: pointer;
  border: 2px solid var(--c-void);
  box-shadow: 0 2px 8px rgba(0, 255, 208, 0.4);
}
.roi-inputs input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-accent);
  cursor: pointer;
  border: 2px solid var(--c-void);
  box-shadow: 0 2px 8px rgba(0, 255, 208, 0.4);
}
.roi-inputs output {
  font-size: 13px;
  color: var(--c-accent);
  font-weight: 700;
  display: inline-block;
  margin-top: 4px;
}
.roi-outputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.roi-stat {
  background: var(--c-deep);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.roi-stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1.05;
}
.roi-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
}
.roi-stat-explainer {
  font-size: 12px;
  color: var(--c-text-muted);
  line-height: 1.4;
}
.roi-disclaimer {
  margin-top: 24px;
  font-size: 12px;
  color: var(--c-text-muted);
  text-align: center;
  line-height: 1.5;
}

/* --- Vergleichstabelle (Pakete im Detail-Vergleich) ---------- */
.comparison-section {
  background: transparent;
}
.comparison-wrapper {
  overflow-x: auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  margin-top: 32px;
  position: relative;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  font-size: 14px;
  min-width: 760px;
}

/* Header-Zeile (Plan-Spalten) — Card-Look wie Pricing-Cards */
.comparison-table thead th {
  background: transparent;
  color: #fff;
  padding: 44px 20px 20px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  border-bottom: none;
  position: relative;
}
.comparison-table thead th:first-child {
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  vertical-align: bottom;
  padding-bottom: 24px;
}

/* Featured-Spalte: Cyan Top-Border + dezenter Verlauf — visuelle Premium-Card */
.comparison-table thead th.featured,
.comparison-table .comparison-price-row td.featured,
.comparison-table .comparison-cta-row td.featured,
.comparison-table tbody td.featured {
  background: linear-gradient(180deg, rgba(0, 255, 208, 0.07), rgba(0, 255, 208, 0.01) 80%);
}
.comparison-table thead th.featured {
  border-top: 2px solid var(--c-accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Beliebt-Badge: schwebt zentriert über Featured-Spalte */
.comparison-table thead th .comparison-badge {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: var(--c-void);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 255, 208, 0.35);
}

/* tfoot: Preis-Zeile + CTA-Zeile am Ende der Tabelle */
.comparison-table tfoot td,
.comparison-table tfoot th {
  background: transparent;
  border-bottom: none;
  text-align: center;
}
.comparison-table tfoot td.featured {
  background: linear-gradient(180deg, rgba(0, 255, 208, 0.04), rgba(0, 255, 208, 0.10));
}

/* Preis-Zeile (im tfoot, ueber der CTA-Zeile): grosse Display-Font, Premium in Cyan */
.comparison-table tfoot .comparison-price-row td,
.comparison-table tfoot .comparison-price-row th {
  padding: 28px 20px 8px;
  border-top: 1px solid var(--c-border);
}
.comparison-table tfoot .comparison-price-row td.featured {
  border-top: 2px solid var(--c-accent);
}
.comparison-table tfoot .comparison-price-row td strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  display: inline-block;
}
.comparison-table tfoot .comparison-price-row td strong span {
  font-size: 13px;
  font-weight: 400;
  color: var(--c-text-muted);
}
.comparison-table tfoot .comparison-price-row td.featured strong {
  color: var(--c-accent);
}

/* CTA-Zeile (direkt unter Preis-Zeile, kein Border dazwischen) */
.comparison-table tfoot .comparison-cta-row td,
.comparison-table tfoot .comparison-cta-row th {
  padding: 12px 20px 28px;
}
.comparison-table tfoot .comparison-cta-row td.featured {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.comparison-table tfoot .comparison-cta-row .btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
}

/* Body-Tabelle: dezent, mehr Atem */
.comparison-table tbody td,
.comparison-table tbody th {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 14px;
}
.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--c-text);
}
.comparison-table tbody td.featured {
  font-weight: 600;
  color: #fff;
}
.comparison-table tbody tr:last-child td,
.comparison-table tbody tr:last-child th {
  border-bottom: none;
}

/* Group-Header: kleine Caps in Cyan */
.comparison-table .comparison-group {
  background: transparent;
  color: var(--c-accent);
  text-align: left;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 32px 20px 12px;
  border-bottom: 1px solid var(--c-border);
}
.comparison-table tbody tr:first-child > th.comparison-group {
  padding-top: 24px;
}

/* Yes / No */
.comparison-yes {
  color: var(--c-accent);
  font-size: 18px;
  font-weight: 700;
}
.comparison-no {
  color: rgba(255, 255, 255, 0.18);
  font-size: 18px;
}

/* Tooltip-Komponente */
.comparison-feature-cell { position: relative; }
.feature-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--c-text-dim);
  font-size: 11px;
  font-weight: 700;
  font-family: serif;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  padding: 0;
  vertical-align: middle;
}
.feature-info:hover,
.feature-info:focus-visible {
  border-color: var(--c-accent);
  color: var(--c-accent);
  outline: none;
}
.feature-tooltip {
  position: absolute;
  z-index: 50;
  top: calc(100% + 6px);
  left: 0;
  max-width: 280px;
  padding: 12px 14px;
  background: var(--c-deep);
  border: 1px solid var(--c-border-light);
  border-radius: 10px;
  color: var(--c-text);
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  white-space: normal;
  font-weight: 400;
}
.feature-tooltip[hidden] { display: none; }

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

@media (max-width: 700px) {
  .comparison-table {
    font-size: 13px;
  }
  .comparison-table thead th,
  .comparison-table tbody td,
  .comparison-table tbody th {
    padding: 8px 10px;
  }
  .comparison-table tbody td:first-child,
  .comparison-table tbody th:first-child,
  .comparison-table thead th:first-child {
    position: sticky;
    left: 0;
    background: #1a0533;
    z-index: 2;
  }
  .feature-tooltip {
    left: 0;
    right: 0;
    max-width: none;
  }
}

/* ─── Event-Erstellungs-Wizard ─── */
.wizard-progress {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 24px 0;
  flex-wrap: wrap;
}
.wizard-progress-step {
  flex: 1 1 120px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  position: relative;
}
.wizard-progress-step.wizard-progress-active {
  background: rgba(255, 195, 0, 0.12);
  border-color: rgba(255, 195, 0, 0.5);
  color: #fff;
  font-weight: 600;
}
.wizard-progress-step.wizard-progress-done {
  background: rgba(80, 200, 120, 0.10);
  border-color: rgba(80, 200, 120, 0.35);
  color: rgba(255, 255, 255, 0.85);
}
.wizard-progress-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}
.wizard-progress-done .wizard-progress-num {
  background: rgba(80, 200, 120, 0.35);
}
.wizard-progress-active .wizard-progress-num {
  background: rgba(255, 195, 0, 0.45);
  color: #1a1a1a;
}
.wizard-card {
  margin-top: 24px;
}
.wizard-actions {
  margin-top: 24px;
}
.wizard-dialog {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: #1a1a1a;
  color: #f0f0f0;
  padding: 24px;
  max-width: 480px;
}
.wizard-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

/* === Banner-Page (dashboard/addons/banner) ============================= */
.dashboard-section {
  margin-bottom: 40px;
}
.dashboard-section h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}
.dashboard-section-hint {
  margin: 0 0 16px;
  opacity: 0.75;
  font-size: 0.9rem;
}

.addon-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.addon-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.addon-option:hover {
  border-color: rgba(255,255,255,0.25);
}
.addon-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.addon-option--checked {
  border-color: #ff4d8b;
  background: rgba(255,77,139,0.08);
}
.addon-option__title {
  font-weight: 600;
  font-size: 1rem;
}
.addon-option__desc {
  font-size: 0.85rem;
  opacity: 0.7;
}
.addon-option__price {
  font-weight: 600;
  margin-top: 4px;
}

.banner-total {
  font-weight: 700;
  font-size: 1.1rem;
}

.banner-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.banner-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  align-items: flex-start;
  flex-wrap: wrap;
}
.banner-card--draft {
  flex-direction: column;
}
.banner-card__preview {
  flex: 0 0 240px;
  max-width: 240px;
}
.banner-card__preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.banner-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 200px;
}
.banner-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.banner-card__notes {
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(255,193,7,0.1);
  border-left: 3px solid rgba(255,193,7,0.6);
  border-radius: 4px;
  font-size: 0.85rem;
}

.banner-upload-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,0.12);
}

.banner-status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.banner-status--success {
  background: rgba(46,204,113,0.16);
  color: #46d585;
}
.banner-status--warning {
  background: rgba(255,193,7,0.16);
  color: #ffce4e;
}
.banner-status--muted {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
}

/* Impersonate-Modus: Banner liegt im Body-Flow vor dem Header. Damit der
   fixed Site-Header (top:0; z-index:1000) den Banner nicht ueberlagert,
   wird er um die Banner-Hoehe nach unten verschoben. Sidebar (Dashboard +
   Admin) ebenso. --impersonate-banner-h kann pro Breakpoint angepasst
   werden, falls der Banner umbricht. */
body.is-impersonating {
  --impersonate-banner-h: 45px;
}
body.is-impersonating .site-header {
  top: var(--impersonate-banner-h);
}
@media (min-width: 1024px) {
  body.is-impersonating.has-dashboard-sidebar .dashboard-sidebar {
    top: var(--impersonate-banner-h);
    height: calc(100vh - var(--impersonate-banner-h));
  }
}
@media (max-width: 600px) {
  body.is-impersonating {
    --impersonate-banner-h: 78px;
  }
}

/* ============================================================
   Inline-SVG-Icons (App\View\Icons)
   ============================================================ */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
  stroke-width: 2;
}
.icon-lg { width: 1.5em; height: 1.5em; vertical-align: -0.25em; }
.icon-xl { width: 2em; height: 2em; vertical-align: -0.4em; }
.icon-2xl { width: 3em; height: 3em; vertical-align: middle; }
.btn .icon,
button .icon { margin-right: 0.4em; }
.btn .icon:last-child,
button .icon:last-child { margin-right: 0; margin-left: 0.4em; }
.btn .icon:only-child,
button .icon:only-child { margin: 0; }

/* ============================================================
   Dashboard-Analytics — Kontrast-sichere Cards auf weiß
   Inline-Styles im Template setzen background:#fff, aber Body-color
   ist hell (Dark-Theme). Diese Regeln stellen sicher, dass Werte/Labels
   in den weißen Cards lesbar bleiben.
   ============================================================ */
.stat-card {
  background: #fff;
  border: 1px solid #e1e1e8;
  border-radius: 8px;
  padding: 14px;
  color: #1a1a2a;
}
.stat-card__label {
  font-size: 12px;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.stat-card__value {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.stat-card__hint {
  font-size: 12px;
  color: #555;
  margin-top: 4px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  color: #1a1a2a;
}
.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e1e1e8;
  text-align: left;
  color: #1a1a2a;
}
.data-table th {
  background: #f7f8fb;
  font-weight: 600;
  color: #222;
}
.muted {
  color: #444;
}

/* ============================================================
   Bundle D5: Skip-to-Content Link
   ============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--c-accent);
  color: #06060f;
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ============================================================
   Bundle D7: Touch-Targets auf Mobile/Touch-Devices >= 44px
   ============================================================ */
@media (pointer: coarse) {
  .btn-sm,
  .btn-ghost.btn-sm,
  .btn-link.btn-sm {
    min-height: 44px;
    min-width: 44px;
    padding: 10px 14px;
  }
}

