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

:root {
  --bg-primary: #0a1a0f;
  --bg-secondary: #0f2618;
  --bg-tertiary: #132d1c;
  --bg-card: rgba(20, 50, 30, 0.6);
  --bg-glass: rgba(30, 70, 45, 0.25);
  --border-glass: rgba(80, 160, 100, 0.2);
  --text-primary: #e8f5e9;
  --text-secondary: #a5d6a7;
  --text-muted: #6b9e70;
  --accent-green: #4caf50;
  --accent-lime: #8bc34a;
  --accent-emerald: #2e7d32;
  --accent-gold: #ffd54f;
  --accent-orange: #ff9800;
  --gradient-main: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
  --gradient-card: linear-gradient(145deg, rgba(30,70,40,0.5), rgba(20,50,30,0.3));
  --gradient-accent: linear-gradient(135deg, #4caf50, #8bc34a);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(76,175,80,0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(46,125,50,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(139,195,74,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(76,175,80,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 26, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0 2rem;
}

.header-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 42px; height: 42px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-glow);
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav { display: flex; gap: 4px; }

.nav-btn {
  padding: 8px 16px;
  background: transparent;
  border: none; border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem; font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.nav-btn:hover, .nav-btn.active {
  background: var(--bg-glass);
  color: var(--accent-lime);
}

.nav-btn.active {
  border-bottom: 2px solid var(--accent-green);
}

/* ===== STATUS BAR ===== */
.status-bar {
  background: rgba(46, 125, 50, 0.15);
  border-bottom: 1px solid var(--border-glass);
  padding: 8px 2rem;
}

.status-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem;
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  animation: pulse 2s infinite;
}

.status-dot.active { background: var(--accent-green); }
.status-dot.inactive { background: var(--accent-orange); animation: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(76,175,80,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(76,175,80,0); }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 4rem 2rem 3rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(46,125,50,0.2) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(-10%, -10%); }
  100% { transform: translate(10%, 10%); }
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #e8f5e9, #a5d6a7, #81c784);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  position: relative;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ===== STATS ROW ===== */
.stats-row {
  display: flex; gap: 1.5rem;
  justify-content: center;
  padding: 1.5rem 2rem 0;
  flex-wrap: wrap;
  position: relative;
}

.stat-card {
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.2rem 2rem;
  text-align: center;
  min-width: 160px;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem; font-weight: 800;
  color: var(--accent-lime);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* ===== SECTIONS ===== */
.section {
  display: none;
  animation: fadeIn 0.4s ease;
}

.section.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 10px;
}

.section-title .icon { font-size: 1.4rem; }

/* ===== SEARCH & FILTER ===== */
.search-bar {
  display: flex; gap: 12px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-input {
  flex: 1; min-width: 250px;
  padding: 12px 16px 12px 42px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  position: relative;
}

.search-wrapper {
  flex: 1; min-width: 250px;
  position: relative;
}

.search-wrapper::before {
  content: '🔍';
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  z-index: 1;
}

.search-wrapper .search-input {
  width: 100%;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
}

.filter-select {
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  min-width: 180px;
}

.filter-select:focus {
  outline: none;
  border-color: var(--accent-green);
}

.filter-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

/* ===== CLUB CARD ===== */
.club-card {
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.club-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition);
}

.club-card:hover {
  transform: translateY(-3px);
  border-color: rgba(76,175,80,0.4);
  box-shadow: var(--shadow-glow);
}

.club-card:hover::before { opacity: 1; }

.club-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 0.8rem;
}

.club-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.club-number {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(76,175,80,0.15);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.club-district {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.8rem;
  color: var(--accent-lime);
  margin-bottom: 0.8rem;
}

.club-actions {
  display: flex; gap: 8px;
  flex-wrap: wrap;
}

.club-btn {
  padding: 6px 12px;
  background: rgba(76,175,80,0.15);
  border: 1px solid rgba(76,175,80,0.3);
  border-radius: var(--radius-sm);
  color: var(--accent-lime);
  font-size: 0.78rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
}

.club-btn:hover {
  background: rgba(76,175,80,0.3);
  transform: translateY(-1px);
}

.club-btn.fav-btn.active {
  background: rgba(255,213,79,0.2);
  border-color: rgba(255,213,79,0.4);
  color: var(--accent-gold);
}

/* ===== BEZIRK GROUP ===== */
.bezirk-group {
  margin-bottom: 2rem;
}

.bezirk-header {
  display: flex; align-items: center; gap: 12px;
  padding: 1rem 1.2rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.bezirk-header:hover {
  background: rgba(30,70,45,0.4);
}

.bezirk-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem; font-weight: 600;
  flex: 1;
}

.bezirk-count {
  background: var(--gradient-accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem; font-weight: 600;
}

.bezirk-toggle {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.bezirk-header.open .bezirk-toggle {
  transform: rotate(180deg);
}

.bezirk-content {
  display: none;
  padding-left: 0.5rem;
}

.bezirk-content.open { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }

.rhein-label {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--accent-lime);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-glass);
  display: flex; align-items: center; gap: 8px;
}

/* ===== INFO SECTION ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}

.info-card:hover {
  border-color: rgba(76,175,80,0.3);
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 8px;
}

.info-card ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}

.info-card li {
  padding-left: 20px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.info-card li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== CHECKLIST ===== */
.checklist {
  display: flex; flex-direction: column; gap: 8px;
}

.checklist-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px;
  background: rgba(20,50,30,0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.checklist-item:hover {
  background: rgba(30,70,45,0.5);
}

.checklist-item input[type="checkbox"] {
  accent-color: var(--accent-green);
  width: 18px; height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.checklist-item.checked {
  opacity: 0.6;
  text-decoration: line-through;
}

/* ===== DICTIONARY ===== */
.dict-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.dict-table th {
  background: rgba(46,125,50,0.3);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-lime);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dict-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.9rem;
}

.dict-table tr:hover td {
  background: rgba(30,70,45,0.3);
}

/* ===== FREIE GÄRTEN STATUS ===== */
.freie-status {
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.freie-status.has-gardens {
  border-color: rgba(76,175,80,0.5);
  box-shadow: 0 0 30px rgba(76,175,80,0.2);
}

.freie-status.no-gardens {
  border-color: rgba(255,152,0,0.3);
}

.freie-status h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.freie-status .status-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.freie-status a {
  color: var(--accent-lime);
  text-decoration: underline;
}

/* ===== MONITOR GUIDE ===== */
.guide-step {
  display: flex; gap: 16px;
  padding: 1rem;
  background: rgba(20,50,30,0.4);
  border-radius: var(--radius-md);
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--accent-green);
}

.guide-step-num {
  background: var(--gradient-accent);
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.guide-step-content h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.guide-step-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== ALERT BOX ===== */
.alert-box {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: flex; align-items: flex-start; gap: 10px;
}

.alert-box.info {
  background: rgba(33,150,243,0.1);
  border: 1px solid rgba(33,150,243,0.3);
  color: #90caf9;
}

.alert-box.warning {
  background: rgba(255,152,0,0.1);
  border: 1px solid rgba(255,152,0,0.3);
  color: #ffcc80;
}

.alert-box.success {
  background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.3);
  color: #a5d6a7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; height: auto; padding: 0.8rem 0; gap: 8px; }
  .nav { flex-wrap: wrap; justify-content: center; }
  .nav-btn { padding: 6px 10px; font-size: 0.8rem; }
  .stats-row { gap: 0.8rem; }
  .stat-card { min-width: 120px; padding: 0.8rem 1.2rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .bezirk-content.open { grid-template-columns: 1fr; }
  .search-bar { flex-direction: column; }
  .hero h1 { font-size: 1.8rem; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-emerald); }

/* ===== LOADING ===== */
.loading-spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2px solid var(--border-glass);
  border-top-color: var(--accent-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== TOAST ===== */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease;
  font-size: 0.9rem;
  display: flex; align-items: center; gap: 8px;
  max-width: 350px;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== CTA BUTTON ===== */
.cta-btn {
  padding: 14px 32px;
  background: var(--gradient-accent);
  border: none; border-radius: var(--radius-xl);
  color: #fff; font-family: 'Outfit', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  cursor: pointer; position: relative;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(76,175,80,0.4);
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(76,175,80,0.5); }

/* ===== AUTH AREA ===== */
.auth-area { display: flex; align-items: center; gap: 8px; }
.auth-btn {
  padding: 8px 16px;
  background: rgba(76,175,80,0.2); border: 1px solid rgba(76,175,80,0.4);
  border-radius: var(--radius-sm); color: var(--accent-lime);
  font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: var(--transition);
}
.auth-btn:hover { background: rgba(76,175,80,0.35); }
.auth-btn.user-btn { display: flex; align-items: center; gap: 6px; }
.auth-btn.user-btn .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gradient-accent); display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.2s ease;
}
.modal-card {
  background: var(--bg-secondary); border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl); padding: 2rem; max-width: 440px; width: 90%;
  position: relative; box-shadow: var(--shadow-lg);
  max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; color: var(--text-muted);
  font-size: 1.4rem; cursor: pointer; transition: var(--transition);
}
.modal-close:hover { color: var(--text-primary); }

/* ===== GOOGLE BTN ===== */
.google-btn {
  width: 100%; padding: 12px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid #ddd; color: #333;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 500;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.google-btn:hover { background: #f5f5f5; box-shadow: var(--shadow-sm); }

/* ===== DIVIDER ===== */
.divider {
  display: flex; align-items: center; gap: 16px;
  margin: 1.2rem 0; color: var(--text-muted); font-size: 0.8rem;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border-glass);
}

/* ===== AUTH FORM ===== */
.auth-input {
  width: 100%; padding: 12px 16px; margin-bottom: 10px;
  background: var(--bg-card); border: 1px solid var(--border-glass);
  border-radius: var(--radius-md); color: var(--text-primary);
  font-family: 'Inter', sans-serif; font-size: 0.95rem;
  transition: var(--transition);
}
.auth-input:focus { outline: none; border-color: var(--accent-green); box-shadow: 0 0 0 3px rgba(76,175,80,0.15); }
.auth-form-btns { display: flex; gap: 8px; margin-top: 4px; }
.auth-submit-btn {
  flex: 1; padding: 12px; border-radius: var(--radius-md);
  background: var(--gradient-accent); border: none; color: #fff;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.auth-submit-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.auth-submit-btn.secondary {
  background: transparent; border: 1px solid var(--accent-green); color: var(--accent-lime);
}
.auth-error { color: #ef5350; font-size: 0.85rem; margin-top: 0.8rem; text-align: center; }

/* ===== TOGGLE ROW ===== */
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: rgba(20,50,30,0.4);
  border-radius: var(--radius-sm); margin-bottom: 6px;
  cursor: pointer; font-size: 0.9rem;
}
.toggle-row input[type="checkbox"] { accent-color: var(--accent-green); width: 18px; height: 18px; }

/* ===== BEZIRK PREFS ===== */
.bezirk-prefs { display: flex; flex-wrap: wrap; gap: 6px; }
.bezirk-chip {
  padding: 6px 12px; background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.3); border-radius: 20px;
  font-size: 0.8rem; cursor: pointer; transition: var(--transition);
  color: var(--text-secondary);
}
.bezirk-chip.active { background: rgba(76,175,80,0.3); color: var(--accent-lime); border-color: var(--accent-green); }

/* ===== RESPONSIVE AUTH ===== */
@media (max-width: 768px) {
  .auth-area { order: -1; }
  .modal-card { padding: 1.5rem; }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 500px;
  background: rgba(15, 38, 24, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(76,175,80,0.15);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-lime);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-banner-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-banner-btn {
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.cookie-banner-btn.primary {
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(76,175,80,0.3);
}

.cookie-banner-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(76,175,80,0.4);
}

.cookie-banner-btn.secondary {
  background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.3);
  color: var(--accent-lime);
}

.cookie-banner-btn.secondary:hover {
  background: rgba(76,175,80,0.2);
}

.cookie-banner-btn.text-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  text-decoration: underline;
  padding: 8px 4px;
}

.cookie-banner-btn.text-btn:hover {
  color: var(--text-secondary);
}

/* Preferences Toggle Section */
.cookie-prefs {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 0.8rem;
  margin-top: 0.4rem;
}

.cookie-pref-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.cookie-pref-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  max-width: 80%;
}

.cookie-pref-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.cookie-pref-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(20,50,30,0.6);
  transition: .3s;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-secondary);
  transition: .3s;
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--accent-green);
  border-color: var(--accent-green);
}

input:checked + .cookie-slider:before {
  transform: translateX(20px);
  background-color: #fff;
}

input:disabled + .cookie-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

/* ===== LANGUAGE SELECTOR ===== */
.lang-select {
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.lang-select:focus {
  border-color: var(--accent-green);
}

.lang-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* ===== PREMIUM & PRICING ===== */
.premium-nav-btn {
  background: var(--gradient-accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 0 15px rgba(139,195,74,0.4);
  animation: pulseGold 2s infinite alternate;
}
@keyframes pulseGold {
  from { box-shadow: 0 0 10px rgba(139,195,74,0.4); }
  to { box-shadow: 0 0 20px rgba(139,195,74,0.7); }
}

.pricing-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.pricing-plan-card {
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--radius-md) !important;
  padding: 1.2rem !important;
  text-align: center;
  cursor: pointer;
  transition: var(--transition) !important;
  background: var(--bg-card) !important;
  position: relative;
}

.pricing-plan-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(139,195,74,0.5) !important;
}

.pricing-plan-card.active {
  border: 2px solid var(--accent-lime) !important;
  background: rgba(139,195,74,0.1) !important;
  box-shadow: 0 0 20px rgba(139,195,74,0.2) !important;
}

.save-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.pricing-feature .check {
  color: var(--accent-lime);
  font-weight: bold;
}

/* User tier badges */
#user-tier-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
#user-tier-badge.premium {
  background: linear-gradient(135deg, #ffd54f, #ff9800);
  color: #332200;
  box-shadow: 0 0 10px rgba(255,213,79,0.4);
}
#user-tier-badge.free {
  background: rgba(255,255,255,0.1);
  color: var(--text-muted);
}

