/* ==========================================================================
   Team Vector - SchülerInnenvertretung TGM
   Modern, Clean, Authentic Design System
   ========================================================================== */

:root {
  /* Color Palette */
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #60a5fa;
  --color-primary-subtle: #eff6ff;

  --color-accent-cyan: #06b6d4;
  --color-accent-coral: #ff6b6b;
  --color-accent-peach: #fb923c;
  --color-accent-emerald: #10b981;
  --color-accent-indigo: #6366f1;

  --color-bg-base: #f0f7ff;
  --color-bg-alt: #e8f2fe;
  --color-bg-white: #ffffff;
  --color-surface-glass: rgba(255, 255, 255, 0.88);

  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-text-white: #ffffff;

  --color-border-subtle: rgba(226, 232, 240, 0.8);
  --color-border-glass: rgba(255, 255, 255, 0.7);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(37, 99, 235, 0.1);
  --shadow-lg: 0 16px 36px -6px rgba(37, 99, 235, 0.14);
  --shadow-hover: 0 20px 40px -8px rgba(37, 99, 235, 0.2);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1160px;
  --header-height: 74px;
}

/* Base Styles & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  line-height: 1.25;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-sm {
  max-width: 820px;
}

.text-center {
  text-align: center;
}

.text-white {
  color: #ffffff !important;
}

.text-white-dim {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  padding: 12px 24px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary-dark);
  border: 1px solid rgba(191, 219, 254, 0.8);
  padding: 12px 24px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  padding: 8px 16px;
}

.btn-outline:hover {
  background: var(--color-primary-subtle);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-xs {
  padding: 6px 14px;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

.btn-dot {
  width: 8px;
  height: 8px;
  background-color: #38bdf8;
  border-radius: 50%;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Badges & Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.pill-primary {
  background-color: #2563eb;
  color: #ffffff;
}

.pill-peach {
  background-color: #ff7854;
  color: #ffffff;
}

.pill-blue {
  background-color: #3b82f6;
  color: #ffffff;
}

.pill-coral {
  background-color: #f43f5e;
  color: #ffffff;
}

.pill-cyan {
  background-color: #06b6d4;
  color: #ffffff;
}

.pill-emerald {
  background-color: #10b981;
  color: #ffffff;
}

.pill-rose {
  background-color: #ec4899;
  color: #ffffff;
}

.pill-indigo {
  background-color: #6366f1;
  color: #ffffff;
}

.pill-gold {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border: 1px solid #fcd34d;
  font-weight: 700;
}

.pill-slate {
  background-color: #475569;
  color: #ffffff;
}

.pill-amber {
  background-color: #d97706;
  color: #ffffff;
}

.section-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-tag-light {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(240, 247, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  padding: 2px;
  border: 1px solid rgba(191, 219, 254, 0.8);
  overflow: hidden;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.footer-logo-img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.3px;
  color: #1e3a8a;
  display: block;
  line-height: 1.1;
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
}

.menu-toggle .bar {
  height: 2.5px;
  width: 100%;
  background-color: #1e3a8a;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  background: linear-gradient(180deg, #f0f7ff 0%, #dbeafe 60%, #bfdbfe 100%);
  overflow: hidden;
}

.ambient-waves {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.ambient-wave {
  position: absolute;
  width: 100%;
  height: auto;
  min-height: 250px;
}

.wave-1 {
  bottom: -40px;
}

.wave-2 {
  bottom: -80px;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge-wrap {
  margin-bottom: 20px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.pill-sparkle {
  font-size: 1rem;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: #0f172a;
  max-width: 860px;
  margin-bottom: 20px;
}

.highlight-text {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #334155;
  max-width: 680px;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

/* Hero Visual Card */
.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 840px;
  background: var(--color-surface-glass);
  border: 2px solid #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.18);
  backdrop-filter: blur(14px);
}

.hero-card-glow {
  position: absolute;
  top: -20px;
  left: 20%;
  right: 20%;
  height: 80px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: 520px;
  background: #bfdbfe;
}

.hero-team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}

.hero-visual-card:hover .hero-team-image {
  transform: scale(1.02);
}



.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 16px;
  padding: 12px 16px 4px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background-color: rgba(203, 213, 225, 0.7);
}

/* Wave Transitions */
.wave-transition-top, .wave-transition-bottom {
  line-height: 0;
  overflow: hidden;
}

.wave-transition-top svg {
  width: 100%;
  height: 60px;
}

.wave-transition-bottom svg {
  width: 100%;
  height: 60px;
}

/* ==========================================================================
   Kandidaten Section (Soft Blue & Wave Theme matching last year)
   ========================================================================== */
.section-kandidaten {
  background: linear-gradient(180deg, #8ec5fc 0%, #a1c4fd 50%, #c2e9fb 100%);
  padding: 60px 0 90px;
  position: relative;
}

.section-header {
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
}

.candidates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.candidate-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.candidate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
  border-color: #ffffff;
}

.card-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.candidate-photo-wrapper {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.photo-glow {
  position: absolute;
  inset: -6px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, transparent 70%);
  border-radius: var(--radius-md);
  filter: blur(10px);
  z-index: 1;
}

.photo-glow-cyan {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
}

.photo-glow-sky {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, transparent 70%);
}

.photo-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  border: 3.5px solid #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.candidate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

#img-tobias,
#img-nora,
#img-felix {
  object-position: center center;
}

.candidate-card:hover .candidate-img {
  transform: scale(1.04);
}

.candidate-points-floating {
  position: absolute;
  bottom: -10px;
  right: calc(50% - 110px);
  z-index: 4;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  border: 2px solid #ffffff;
}

.points-num {
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
}

.points-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.candidate-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.candidate-status {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  margin-top: -6px;
  margin-bottom: 12px;
}

.candidate-status.candidate-status-dim {
  color: #64748b;
  font-weight: 500;
}

.candidate-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin-bottom: 10px;
}

.meta-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.category-block {
  margin-bottom: 14px;
}

.category-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.candidate-statement {
  font-size: 0.92rem;
  font-style: italic;
  color: #334155;
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-primary);
  margin-top: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.candidate-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 8px;
  border-radius: var(--radius-sm);
  margin-top: auto;
  transition: all 0.2s ease;
}

.candidate-toggle-btn:hover {
  background: var(--color-primary-subtle);
}

.candidate-toggle-btn svg {
  transition: transform 0.25s ease;
}

.candidate-toggle-btn.active svg {
  transform: rotate(180deg);
}

.candidate-expanded-details {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
  animation: fadeIn 0.3s ease;
}

.candidate-expanded-details.open {
  display: block;
}

.candidate-expanded-details h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullet-list li {
  font-size: 0.84rem;
  color: #475569;
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}

.bullet-list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--color-primary);
  font-weight: bold;
}

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

/* ==========================================================================
   Wahlpunkte-Guide & Interactive Simulator
   ========================================================================== */
.section-wahl-guide {
  padding: 80px 0;
  background-color: #f0f7ff;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #ffffff;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-card.highlighted-step {
  border-left: 4px solid var(--color-primary);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.step-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

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

.distribution-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  margin-top: 10px;
}

/* Simulator Card */
.simulator-card {
  background: #ffffff;
  border: 2px solid rgba(191, 219, 254, 0.7);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.simulator-header {
  margin-bottom: 22px;
  text-align: center;
}

.simulator-pill {
  display: inline-block;
  background: #dbeafe;
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.simulator-header h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.simulator-header p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.sim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
}

.sim-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
  background: #e2e8f0;
  flex-shrink: 0;
}

.sim-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sim-avatar-tobias img {
  object-position: center 25%;
}

.sim-avatar-nora img {
  object-position: center 25%;
}

.sim-avatar-felix img {
  object-position: center 18%;
}

.sim-person strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
}

.sim-person small {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.sim-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sim-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.sim-score {
  font-size: 1.25rem;
  font-weight: 800;
  width: 28px;
  text-align: center;
  color: var(--color-primary-dark);
  transition: all 0.2s ease;
}

.sim-score.score-duplicate {
  color: #dc2626;
  background: #fee2e2;
  border-radius: 4px;
}

.sim-total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #eff6ff;
  border-radius: var(--radius-md);
  margin-top: 18px;
  margin-bottom: 18px;
}

.sim-total-info {
  font-size: 0.95rem;
  color: #1e3a8a;
}

.sim-total-info strong {
  font-size: 1.3rem;
  font-weight: 800;
  margin-left: 4px;
}

.muted-limit {
  color: #64748b;
  font-size: 0.85rem;
}

.sim-feedback-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  transition: all 0.3s ease;
}

.sim-feedback-box.warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.sim-feedback-box.error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.feedback-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.feedback-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.feedback-text span {
  font-size: 0.82rem;
  line-height: 1.35;
  display: block;
}

.step-note {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 8px;
  font-weight: 500;
}

/* ==========================================================================
   Projekte & Events Section
   ========================================================================== */
.section-projekte {
  padding: 80px 0;
  background-color: #ffffff;
}

.filter-tabs {
  display: inline-flex;
  background: #eff6ff;
  padding: 5px;
  border-radius: var(--radius-full);
  gap: 4px;
  margin-top: 24px;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  color: var(--color-primary-dark);
}

.filter-tab.active {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.project-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #bfdbfe;
  background: #ffffff;
}

/* Highlighted Project Card */
.project-card.highlight-card {
  border: 2px solid var(--color-primary);
  background: #fbfdff;
}

.project-card.highlight-card .project-thumb {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.project-thumb {
  position: relative;
  height: 130px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-icon-art {
  font-size: 3rem;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
  transition: transform 0.3s ease;
}

.project-card:hover .project-icon-art {
  transform: scale(1.1);
}

.project-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.project-badge.digital {
  background: #dbeafe;
  color: #1d4ed8;
}

.project-badge.events {
  background: #fce7f3;
  color: #be185d;
}

.project-badge.campus,
.project-badge.schule {
  background: #d1fae5;
  color: #065f46;
}

.project-badge.highlight {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.project-candidate-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.project-candidate-badge.tobias {
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.project-candidate-badge.nora {
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

.project-candidate-badge.felix {
  color: #059669;
  border: 1px solid #a7f3d0;
}

.project-candidate-badge.alle {
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.project-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  background: #e2e8f0;
  color: #475569;
  padding: 3px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   Anliegen & Kummerkasten Section
   ========================================================================== */
.section-anliegen {
  padding: 80px 0;
  background: linear-gradient(180deg, #f0f7ff 0%, #e0f2fe 100%);
}

.anliegen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.anliegen-info p {
  font-size: 1.05rem;
  color: #334155;
  margin-bottom: 28px;
}

.contact-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(191, 219, 254, 0.8);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  font-size: 1.4rem;
}

.contact-item strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
}

.contact-item p, .contact-item a {
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.contact-item a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.email-highlight {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.email-highlight:hover {
  color: var(--color-primary-dark);
}

.email-template-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
  display: flex;
  flex-direction: column;
}

.template-header {
  margin-bottom: 16px;
}

.template-badge {
  display: inline-block;
  background: #eff6ff;
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  border: 1px solid #bfdbfe;
}

.template-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.template-subtext {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.template-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.9rem;
}

.template-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.template-row .field-label {
  font-weight: 700;
  color: #64748b;
  width: 55px;
  flex-shrink: 0;
  font-size: 0.84rem;
}

.template-row .field-val {
  font-weight: 600;
  color: #0f172a;
  word-break: break-all;
}

.template-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 10px 0 12px;
}

.template-body-text {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #334155;
  background: #ffffff;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

.template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.template-actions .btn {
  flex: 1;
  min-width: 170px;
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  padding: 11px 18px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.btn-secondary-outline.copied {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

.copy-feedback-msg {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-sm);
  color: #065f46;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.copy-feedback-msg.show {
  display: block;
  animation: fadeIn 0.25s ease;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.section-faq {
  padding: 80px 0;
  background-color: #ffffff;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: #bfdbfe;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  text-align: left;
  background: #f8fafc;
  transition: background 0.2s ease;
}

.faq-question svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-question {
  background: #eff6ff;
  color: var(--color-primary-dark);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 18px 22px;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  background: #ffffff;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   Impressum & Rechtliches Section
   ========================================================================== */
.section-impressum {
  padding: 80px 0;
  background-color: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}

.impressum-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.impressum-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
}

.impressum-box {
  display: flex;
  flex-direction: column;
}

.impressum-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.impressum-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.impressum-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.impressum-person strong {
  display: block;
  font-size: 1.15rem;
  color: #0f172a;
}

.impressum-role {
  display: block;
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
}

.impressum-details-list {
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.impressum-detail-row {
  display: flex;
  font-size: 0.92rem;
  line-height: 1.5;
  gap: 10px;
}

.impressum-detail-row .detail-label {
  font-weight: 700;
  color: #64748b;
  width: 85px;
  flex-shrink: 0;
  font-size: 0.86rem;
}

.impressum-detail-row .detail-val {
  color: #1e293b;
  word-break: break-word;
}

.impressum-detail-row .detail-val a {
  color: var(--color-primary);
  font-weight: 600;
}

.impressum-detail-row .detail-val a:hover {
  text-decoration: underline;
}

.impressum-purpose {
  background: #eff6ff;
  border-left: 3px solid var(--color-primary);
  padding: 14px 16px;
  border-radius: 4px;
}

.impressum-purpose strong {
  display: block;
  font-size: 0.88rem;
  color: #1e3a8a;
  margin-bottom: 4px;
}

.impressum-purpose p {
  font-size: 0.86rem;
  color: #3b82f6;
  color: #334155;
  line-height: 1.5;
  margin: 0;
}

.legal-disclaimer-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-entry {
  background: #ffffff;
}

.legal-entry h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 5px;
}

.legal-entry p {
  font-size: 0.87rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 50px 0 30px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
}

.footer-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #60a5fa;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.footer-motto {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #60a5fa;
}

.footer-bottom {
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   Mobile & Responsive Styles
   ========================================================================== */
@media (max-width: 1024px) {
  .candidates-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 868px) {
  .desktop-only {
    display: none;
  }

  .nav-list {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: #ffffff;
    flex-direction: column;
    padding: 30px 24px;
    gap: 18px;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
  }

  .nav-list.open {
    right: 0;
  }

  .drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }

  .drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }

  #btn-quick-guide {
    display: none;
  }

  .candidates-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .guide-grid, .anliegen-grid, .impressum-grid {
    grid-template-columns: 1fr;
  }

  .impressum-card {
    padding: 24px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-stats-row {
    flex-direction: column;
    gap: 12px;
  }

  .stat-divider {
    display: none;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .filter-tabs {
    flex-wrap: wrap;
    border-radius: var(--radius-md);
  }
}
