/* =========================================================
   W20 KULTISTEN — Stylesheet v4
   Lovecraft-Brettspiel-Theme: Dunkel, mystisch, klar
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ── CSS-Variablen ── */
:root {
  /* Farben: Dunkles Tinte-Schwarz, Pergament-Gold, Blutrot */
  --bg:          #0d0d10;
  --surface:     #16161c;
  --surface2:    #1e1e27;
  --surface3:    #252530;
  --border:      #2e2e3e;
  --border-h:    #44445a;

  /* Akzente */
  --gold:        #c9a84c;     /* Altes Gold */
  --gold-h:      #e0be6a;     /* Helles Gold Hover */
  --gold-dim:    #8a6f2e;     /* Gedimmtes Gold */
  --crimson:     #8b1a1a;     /* Kultisten-Rot */
  --crimson-h:   #a82020;
  --teal:        #2a6b6b;     /* Mystisches Teal */
  --teal-h:      #3a8a8a;
  --success:     #2d6a4f;
  --success-t:   #52b788;
  --danger:      #c0392b;
  --danger-t:    #e74c3c;
  --warn:        #8b6914;
  --warn-t:      #f0a500;

  /* Text */
  --text:        #ddd8cc;     /* Pergament-Weiß */
  --text-h:      #f5f0e8;
  --muted:       #7a7a96;
  --muted-h:     #9a9ab2;

  /* Layout */
  --nav-h:       64px;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(0,0,0,0.6);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.8);

  /* Rune-Dekor */
  --rune-color:  rgba(201,168,76,0.04);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-top: var(--nav-h);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(139,26,26,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(42,107,107,0.05) 0%, transparent 60%);
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-h); }

img { max-width: 100%; }

/* ── Typografie ── */
h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  color: var(--text-h);
  line-height: 1.2;
  letter-spacing: 0.5px;
}
h1 { font-size: 1.9rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.05rem; }
h4 { font-size: 0.9rem; }

/* Alle h-Elemente: kein border-bottom global */
h1, h2, h3, h4 { border-bottom: none; padding-bottom: 0; text-shadow: none; }

p { line-height: 1.65; }

/* ── Seiten-Wrapper ── */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 20px 80px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.container-wide { max-width: 1040px; }

/* ── Auth-Wrapper (Login etc.) ── */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(139,26,26,0.12) 0%, transparent 70%);
}

.auth-box {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* Rune-Dekoration oben im Auth-Box */
.auth-box::before {
  content: '✦ ᚱ ᚢ ᚾ ᛖ ✦';
  position: absolute;
  top: 12px;
  left: 0; right: 0;
  text-align: center;
  font-size: 0.65rem;
  color: rgba(201,168,76,0.2);
  letter-spacing: 4px;
}

.auth-box .auth-logo {
  text-align: center;
  margin-bottom: 28px;
}

.auth-box .auth-logo .logo-symbol {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 12px rgba(201,168,76,0.4));
}

.auth-box .auth-logo h1 {
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 1px;
}

.auth-box .auth-logo p {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 4px;
}

.auth-container {
  max-width: 420px;
  margin: 40px auto;
  background: var(--surface);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

/* ── Navigation ── */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(10,10,14,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 1000;
}

/* Gold-Linie unten an der Nav */
.main-nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.logo a:hover { color: var(--gold-h); }
.logo .logo-icon { font-size: 1.4rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 8px;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.nav-links a:hover {
  background: var(--surface2);
  color: var(--text);
}

.nav-links a.nav-active {
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.2);
}

.admin-link {
  color: var(--gold) !important;
  background: rgba(201,168,76,0.07) !important;
  border: 1px solid rgba(201,168,76,0.15) !important;
}
.admin-link:hover { background: rgba(201,168,76,0.15) !important; }

/* ── Nav Badge ── */
.badge {
  background: var(--crimson);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  line-height: 1;
  margin-left: 2px;
  animation: pop 3s infinite;
}
@keyframes pop {
  0%,90%,100% { transform: scale(1); }
  95%          { transform: scale(1.2); }
}

/* ── Dropdown ── */
.user-dropdown { position: relative; }

.dropdown-trigger {
  cursor: pointer;
  padding: 8px 13px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}
.dropdown-trigger:hover { border-color: var(--gold-dim); background: var(--surface3); }

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--surface2);
  min-width: 200px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  overflow: hidden;
}
.dropdown-content.show { display: block; }

.dropdown-content a {
  color: var(--text);
  padding: 13px 18px;
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background: var(--surface3); color: var(--gold); }

/* ── Burger ── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
}
.menu-toggle:hover { background: var(--surface2); }
.bar {
  width: 22px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── Karten / Section-Boxes ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--border-h); }

/* Trennlinie mit Gold-Akzent oben */
.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

.section-card-header {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-card-header h3 {
  font-size: 0.95rem;
  color: var(--gold);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-card-body { padding: 22px; }

/* ── Goldene Trennlinie ── */
.divider-gold {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin: 28px 0;
  opacity: 0.5;
}

/* ── Formulare ── */
form { display: flex; flex-direction: column; gap: 16px; }

label {
  display: block;
  color: var(--muted-h);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold-dim);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.55;
}

select option { background: var(--surface2); }

/* ── Buttons ── */
.btn, button[type="submit"], button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}

/* Primär: Gold */
.btn, .btn-primary, button[type="submit"] {
  background: var(--gold);
  color: #0d0d10;
}
.btn:hover, .btn-primary:hover, button[type="submit"]:hover {
  background: var(--gold-h);
  color: #0d0d10;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}
.btn:active, button[type="submit"]:active { transform: translateY(0); }

/* Sekundär: Ghost mit Gold-Border */
.btn-outline {
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  color: var(--gold-h);
}

/* Geist */
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted-h);
}
.btn-ghost:hover {
  border-color: var(--border-h);
  color: var(--text);
  background: var(--surface2);
}

/* Gefahr */
.btn-danger {
  background: var(--danger);
  color: #fff;
  border: none;
}
.btn-danger:hover { background: var(--danger-t); color: #fff; }

/* Klein */
.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
  border-radius: 6px;
}

/* Icon-Button */
.btn-icon {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
}
.btn-icon:hover { border-color: var(--gold-dim); color: var(--gold); }

/* Löschen-Button klein */
.btn-delete-xs {
  background: transparent;
  border: 1px solid var(--danger);
  color: var(--danger);
  padding: 5px 10px;
  font-size: 0.78rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
.btn-delete-xs:hover { background: rgba(192,57,43,0.1); }

/* ── Feedback-Boxen ── */
.msg-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 18px;
}
.msg-success {
  background: rgba(45,106,79,0.15);
  border: 1px solid rgba(82,183,136,0.3);
  color: #52b788;
}
.msg-error {
  background: rgba(139,26,26,0.15);
  border: 1px solid rgba(231,76,60,0.3);
  color: #e74c3c;
}
.msg-warn {
  background: rgba(139,105,20,0.15);
  border: 1px solid rgba(240,165,0,0.3);
  color: #f0a500;
}

/* Legacy-Kompatibilität */
.error-msg   { @extend .msg-box; @extend .msg-error; background:rgba(139,26,26,0.15); border:1px solid rgba(231,76,60,0.3); color:#e74c3c; padding:14px 18px; border-radius:var(--radius); font-size:.9rem; margin-bottom:16px; }
.success-msg { background:rgba(45,106,79,0.15); border:1px solid rgba(82,183,136,0.3); color:#52b788; padding:14px 18px; border-radius:var(--radius); font-size:.9rem; margin-bottom:16px; }
.error-msg   { background:rgba(139,26,26,0.15); border:1px solid rgba(231,76,60,0.3); color:#e74c3c; padding:14px 18px; border-radius:var(--radius); font-size:.9rem; margin-bottom:16px; }

/* ── Zeilen-Listen ── */
.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.list-row:last-child { border-bottom: none; }

/* ── Statistik-Boxen ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-box::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0.4;
}

.stat-box .stat-num {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.stat-box .stat-lbl {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ── Zähler-Kacheln (Veranstaltungsdetails) ── */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.counter-tile {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 10px;
  text-align: center;
}

.counter-tile .c-num {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}
.counter-tile .c-lbl {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

/* ── Event-Karten ── */
.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 16px;
  transition: border-color 0.2s, transform 0.15s;
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
}

.event-card.event-past::before { background: var(--muted); }
.event-card.event-past { opacity: 0.65; }

.event-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.event-card.event-past:hover { transform: none; }

/* ── Session-Karten (Essen) ── */
.session-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.session-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.session-card:hover { border-color: var(--gold-dim); transform: translateY(-3px); color: var(--text); }
.session-card.expired { opacity: 0.6; filter: grayscale(0.3); }

/* ── Bestellliste ── */
.order-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-dim);
  padding: 16px 18px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ── Tabellen (Admin) ── */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
th {
  background: var(--surface2);
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  font-family: 'Cinzel', serif;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.015); }

/* ── Badges ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.pill-green  { background: rgba(45,106,79,0.2);  border: 1px solid rgba(82,183,136,0.3); color: #52b788; }
.pill-gold   { background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.3); color: var(--gold); }
.pill-muted  { background: var(--surface2); border: 1px solid var(--border); color: var(--muted); }
.pill-red    { background: rgba(139,26,26,0.2);   border: 1px solid rgba(199,57,43,0.3); color: var(--danger-t); }

/* ── Formular-Container ── */
.order-form-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}

.form-group { margin-bottom: 16px; }
.form-row { display: flex; gap: 14px; }
.form-row .form-group { flex: 1; }

/* ── Page-Header ── */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.page-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Leerer Zustand ── */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; opacity: 0.5; }
.empty-state p { color: var(--muted); font-size: 1rem; margin-bottom: 20px; }

/* ── Footer ── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  margin-top: 60px;
  text-align: center;
}

.site-footer::before {
  content: '✦ ✦ ✦';
  display: block;
  color: var(--gold-dim);
  font-size: 0.75rem;
  letter-spacing: 8px;
  margin-bottom: 14px;
  opacity: 0.6;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer a {
  color: var(--muted-h);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer a:hover { color: var(--gold); }

.site-footer .footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Legacy */
.minimal-footer {
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--border);
  margin-top: 50px;
}

/* ── Dashboard-Karten ── */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.menu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.menu-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dim), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.menu-card:hover { border-color: var(--gold-dim); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.menu-card:hover::after { opacity: 1; }

.menu-card .card-icon { font-size: 2.4rem; filter: drop-shadow(0 0 8px rgba(201,168,76,0.3)); }
.menu-card h3 { color: var(--text-h); font-size: 1.1rem; font-family: 'Cinzel', serif; }
.menu-card p  { color: var(--muted); font-size: 0.88rem; line-height: 1.55; flex: 1; }

.btn-portal {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: var(--gold);
  color: #0d0d10;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.15s;
}
.btn-portal:hover { background: var(--gold-h); color: #0d0d10; }

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139,26,26,0.2);
  border: 1px solid rgba(139,26,26,0.4);
  color: #e74c3c;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  animation: livepulse 3s infinite;
}
@keyframes livepulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(139,26,26,0.3); }
  50%      { box-shadow: 0 0 0 8px rgba(139,26,26,0); }
}

/* ── Filter-Leiste ── */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 24px;
}

/* ── Admin-Tabs ── */
.admin-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.tab-btn {
  padding: 10px 18px;
  border-radius: 8px 8px 0 0;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  text-decoration: none;
  display: inline-block;
  border-bottom: none;
  margin-bottom: -1px;
  transition: color 0.15s, background 0.15s;
  font-family: 'Inter', sans-serif;
}
.tab-btn:hover { color: var(--text); background: var(--surface2); }
.tab-btn.active { color: var(--gold); background: var(--surface); border-color: var(--border); border-bottom-color: var(--surface); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,14,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    gap: 0;
    z-index: 999;
    box-shadow: 0 12px 32px rgba(0,0,0,0.7);
  }
  .nav-links.active { display: flex; }

  .nav-links a, .user-dropdown {
    width: 100%;
    padding: 14px 24px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
  }
  .nav-links a:last-child { border-bottom: none; }

  .dropdown-content {
    position: static;
    border: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
    background: var(--surface2);
    min-width: 100%;
  }
  .dropdown-trigger {
    border: none; border-radius: 0;
    background: transparent; width: 100%;
    justify-content: flex-start;
    padding: 0;
  }
}

@media (max-width: 600px) {
  .container { padding: 20px 14px 60px; }
  .auth-box { padding: 28px 20px; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .session-grid { grid-template-columns: 1fr; }
  .order-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .form-row { flex-direction: column; gap: 0; }
  .page-header { flex-direction: column; align-items: flex-start; }
}

/* ── Hilfeklassen ── */
hr { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
.text-muted  { color: var(--muted); }
.text-gold   { color: var(--gold); }
.text-small  { font-size: 0.85rem; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.hide-sm { }
@media(max-width:600px){ .hide-sm { display:none !important; } }
