/* Root Variables */
:root {
  --primary-green: #6FB03A;
  --dark-green: #5A8F2E;
  --light-green: #8BC34A;
  --accent-green: #4CAF50;

  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray-light: #E8E8E8;
  --gray-medium: #999999;
  --gray-dark: #333333;
  --shadow-color: rgba(0, 0, 0, 0.1);

  --bg-color: var(--white);
  --text-color: var(--gray-dark);
  --card-bg: var(--off-white);
  --border-color: var(--gray-light);
}

/* Dark Mode */
body.dark-mode {
  --bg-color: #1a1a1a;
  --text-color: #ffffff;
  --card-bg: #2a2a2a;
  --border-color: #444444;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --off-white: #2a2a2a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto Condensed', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-color);
  transition: all 0.3s ease;
  overflow-x: hidden;
}

/* Background Pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
      linear-gradient(45deg, transparent 48%, var(--primary-green) 49%, var(--primary-green) 51%, transparent 52%),
      linear-gradient(-45deg, transparent 48%, var(--light-green) 49%, var(--light-green) 51%, transparent 52%);
  background-size: 30px 30px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 92px 20px 20px; /* space for topbar */
  position: relative;
  z-index: 1;
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.topbar .brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 1px;
  font-size: 22px;
  color: white;
  text-transform: uppercase;
}

.brand-badge {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  padding: 6px;
  border-radius: 999px;
}

.lang-btn {
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: white;
  font-family: 'Bebas Neue', cursive;
  font-size: 15px;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.lang-btn.active {
  background: var(--primary-green);
  color: white;
  transform: translateY(-1px);
}

.lang-btn:hover:not(.active) {
  background: rgba(255,255,255,0.08);
}

/* Theme Toggle */
.theme-toggle, .menu-toggle {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: var(--primary-green);
  color: white;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 18px var(--shadow-color);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover, .menu-toggle:hover {
  transform: translateY(-2px) rotate(4deg);
  background: var(--dark-green);
}

/* Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1400;
  display: none;
}

.nav-overlay.open { display: block; }

.nav-panel {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  max-width: 520px;
  margin-left: auto;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: 0 20px 60px var(--shadow-color);
  padding: 18px;
}

.nav-close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: var(--bg-color);
  color: var(--text-color);
  cursor: pointer;
  float: right;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  margin-top: 8px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-size: 18px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--bg-color);
  transition: all 0.2s ease;
}

.nav-link:hover {
  border-color: var(--primary-green);
  transform: translateX(4px);
}

.nav-social {
  display: flex;
  gap: 10px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--border-color);
}

.nav-social a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-green);
  color: white;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.nav-social a:hover { transform: translateY(-3px) rotate(6deg); background: var(--dark-green); }

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 0 20px;
  position: relative;
}

.profile-wrapper { margin-bottom: 32px; position: relative; display: inline-block; }

.profile-image-container { position: relative; display: inline-block; }

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--primary-green);
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  display: block;
}


@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }

.profile-image:hover { transform: scale(1.05); box-shadow: 0 15px 50px var(--shadow-color); }

/* Speech Bubble */
.speech-bubble {
  position: absolute;
  top: 20px;
  left: 220px;
  background: var(--primary-green);
  color: white;
  padding: 15px 20px;
  border-radius: 20px;
  min-width: 250px;
  max-width: 360px;
  box-shadow: 0 8px 25px rgba(111, 176, 58, 0.3);
  animation: slideIn 0.5s ease-out, pulse 2s ease-in-out infinite;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }

.bubble-tail {
  position: absolute;
  top: 35px;
  left: -15px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 20px solid var(--primary-green);
}

/* Hero Content */
.hero-content h1 {
  font-family: 'Bebas Neue', cursive;
  font-size: 3.2rem;
  color: var(--primary-green);
  margin-bottom: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-content h2 {
  font-size: 1.6rem;
  color: var(--text-color);
  margin-bottom: 8px;
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.tagline {
  font-size: 1.1rem;
  color: var(--gray-medium);
  font-style: italic;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: all 0.25s ease;
}

.btn.primary { background: var(--primary-green); color: white; }
.btn.primary:hover { background: var(--dark-green); transform: translateY(-2px); }

.btn.ghost { background: transparent; border: 2px solid var(--primary-green); color: var(--primary-green); }
.btn.ghost:hover { background: rgba(111,176,58,0.12); transform: translateY(-2px); }

/* Sections */
section {
  background: var(--card-bg);
  padding: 40px;
  margin: 26px 0;
  border-radius: 16px;
  box-shadow: 0 5px 20px var(--shadow-color);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.8s ease-out;
}

section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 5px; height: 100%;
  background: linear-gradient(180deg, var(--primary-green), var(--light-green));
}

section h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem;
  color: var(--primary-green);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Timeline */
.timeline {
  display: grid;
  gap: 18px;
  position: relative;
  padding-left: 10px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-green), transparent);
  opacity: 0.7;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
}

.timeline-dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 30px rgba(111,176,58,0.25);
  transform: translateX(-2px);
}

.timeline-dot i { font-size: 18px; }

.timeline-content {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 14px;
}

.timeline-year {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 1px;
  font-size: 18px;
  color: var(--primary-green);
  margin-bottom: 6px;
}

.timeline-text { font-size: 1.05rem; }

/* Big cards (Values) */
.big-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.big-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px 18px;
  transition: all 0.25s ease;
}

.big-card i {
  font-size: 44px;
  color: var(--primary-green);
  margin-bottom: 10px;
  display: inline-block;
}

.big-card h4 {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 1px;
  font-size: 22px;
  margin-bottom: 6px;
}

.big-card p { color: var(--gray-medium); font-size: 1.02rem; }

.big-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-green);
  box-shadow: 0 14px 40px rgba(111,176,58,0.18);
}

/* Focus grid + modal */
.focus-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.focus-card {
  width: 100%;
  text-align: left;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.focus-card i {
  font-size: 40px;
  color: var(--primary-green);
  margin-bottom: 10px;
  display: block;
}

.focus-card span {
  font-size: 1.15rem;
  font-weight: 700;
  display: block;
}

.focus-card small { color: var(--gray-medium); display: block; margin-top: 4px; }

.focus-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-green);
  box-shadow: 0 14px 40px rgba(111,176,58,0.18);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.open { display: flex; }

.modal-card {
  width: 100%;
  max-width: 640px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: 0 20px 80px var(--shadow-color);
  padding: 18px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--bg-color);
  color: var(--text-color);
}

.modal-card h4 {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  color: var(--primary-green);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.modal-card p { font-size: 1.05rem; color: var(--text-color); }

/* Voices */
.quote-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.quote-mark {
  font-size: 64px;
  line-height: 1;
  color: rgba(111,176,58,0.25);
  font-family: 'Bebas Neue', cursive;
  position: absolute;
  top: 10px;
  right: 14px;
}

.quote-card p { font-size: 1.1rem; padding-right: 42px; }

.quote-meta {
  margin-top: 10px;
  color: var(--gray-medium);
  font-size: 0.95rem;
}

/* Contact */
.contact-info {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-color);
  text-decoration: none;
  padding: 14px 18px;
  background: var(--bg-color);
  border-radius: 14px;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.contact-item:hover {
  border-color: var(--primary-green);
  transform: translateX(6px);
  box-shadow: 0 10px 30px rgba(111,176,58,0.16);
}

.contact-item i { color: var(--primary-green); font-size: 1.4rem; }

/* Footer (SVP logo left) */
.site-footer {
  margin-top: 40px;
  padding: 26px 0 10px;
  border-top: 2px solid var(--border-color);
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.svp-logo {
  height: px;
  width: auto;
  opacity: 0.95;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}

.social-links a {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-green);
  color: white;
  border-radius: 50%;
  font-size: 1.35rem;
  transition: all 0.25s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.social-links a:hover { transform: translateY(-4px) rotate(8deg); background: var(--dark-green); }

.copyright { color: var(--gray-medium); font-size: 0.95rem; text-align: right; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile */
@media (max-width: 900px) {
  .quote-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding-top: 98px; }

  .brand-name { font-size: 18px; }
  .brand-badge { font-size: 11px; }

  .language-switcher { display: none; } /* auf Mobile: im Overlay bleibt’s sichtbar, wenn du willst */

  .profile-image { width: 150px; height: 150px; }

  .speech-bubble {
      position: static;
      margin: 16px auto 0;
      max-width: 92%;
  }

  .bubble-tail {
      top: -15px;
      left: 50%;
      transform: translateX(-50%) rotate(90deg);
  }

  section { padding: 24px; }

  .big-cards, .focus-grid { grid-template-columns: 1fr; }

  .hero-content h1 { font-size: 2.4rem; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .speech-bubble { left: auto; right: -280px; }
  .bubble-tail {
      left: auto; right: -15px;
      border-right: none;
      border-left: 20px solid var(--primary-green);
  }
}
/* Quote Block (modern, rectangular) */
.quote-block {
  position: relative;
  max-width: 520px;
  margin: 24px auto 0;
  padding: 22px 26px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-left: 6px solid var(--primary-green);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
}

.quote-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.18);
}

/* Big quote mark */
.quote-icon {
  position: absolute;
  top: -18px;
  left: 18px;
  font-family: 'Bebas Neue', cursive;
  font-size: 72px;
  line-height: 1;
  color: var(--primary-green);
  opacity: 0.25;
  pointer-events: none;
}

/* Quote text */
.quote-text {
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-color);
  margin: 0;
  transition: opacity 0.3s ease;
}

/* Quote author */
.quote-author {
  display: block;
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--gray-medium);
  font-style: italic;
  transition: opacity 0.3s ease;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .quote-block {
    margin-top: 18px;
    padding: 18px 20px 18px;
  }

  .quote-text {
    font-size: 1.05rem;
  }
}
/* HERO – zentrierter Aufbau */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;   /* horizontal */
  text-align: center;
}

/* Profilbild Wrapper */
.profile-wrapper {
  display: flex;
  justify-content: center; /* horizontal */
  width: 100%;
  margin-bottom: 20px;
}

/* Profilbild selbst */
.profile-image {
  display: block;
  margin: 0 auto;          /* doppelte Sicherheit */
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
}

/* Mobile */
@media (max-width: 768px) {
  .profile-image {
    width: 200px;
    height: 200px;
  }
}
/* --- FIX: Language buttons inside nav overlay must be readable --- */
.nav-overlay .nav-language-switcher .lang-btn {
  color: var(--text-color) !important;
  background: rgba(0,0,0,0.04) !important;
  border: 1px solid var(--border-color) !important;
  opacity: 1 !important;
}

body.dark-mode .nav-overlay .nav-language-switcher .lang-btn {
  background: rgba(255,255,255,0.06) !important;
}

.nav-overlay .nav-language-switcher .lang-btn:hover {
  background: rgba(111,176,58,0.12) !important;
  transform: translateY(-1px);
}

.nav-overlay .nav-language-switcher .lang-btn.active {
  background: var(--primary-green) !important;
  border-color: var(--primary-green) !important;
  color: #fff !important;
}
/* Brand container */
.brand {
  display: flex;
  align-items: center;   /* gleiche Linie */
  gap: 8px;
}

/* MICHEL = Partei / Logo */
.brand-logo {
  background: var(--primary-green);
  color: white;
  font-family: 'Bebas Neue', cursive;
  font-size: 20px;
  letter-spacing: 0.14em;
  padding: 6px 10px;
  border-radius: 4px;
  line-height: 1;
}

/* Bösiger = normaler Name */
.brand-name {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}

/* Mobile */
@media (max-width: 768px) {
  .brand-logo {
    font-size: 16px;
    padding: 5px 8px;
  }

  .brand-name {
    font-size: 15px;
  }
}
/* FIX: Focus buttons text readability */
/* Text NUR im Dark Mode weiss */
body.dark-mode .focus-card span,
body.dark-mode .focus-card small,
body.dark-mode .focus-card h4,
body.dark-mode .focus-card p {
  color: #ffffff !important;
}

/* Light Mode: Text dunkel lesbar */
body:not(.dark-mode) .focus-card span,
body:not(.dark-mode) .focus-card small,
body:not(.dark-mode) .focus-card h4,
body:not(.dark-mode) .focus-card p {
  color: #222 !important;
}

/* Icons: Light grün, Dark weiss */
body:not(.dark-mode) .focus-card i { color: var(--primary-green) !important; }
body.dark-mode .focus-card i { color: #fff !important; }


/* Support section */
.support-intro {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--gray-medium);
}

.support-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.support-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.25s ease;
}

.support-card i {
  font-size: 36px;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.support-card h4 {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.support-card p {
  color: var(--gray-medium);
}

.support-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-green);
}

/* Actions */
.support-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Support form */
#supportForm {
  display: grid;
  gap: 12px;
}

#supportForm input,
#supportForm textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  color: var(--text-color);
}

#supportForm textarea {
  min-height: 100px;
  resize: vertical;
}
.svp-link {
  display: inline-block;
}

.svp-logo {
  height: 70px;
  width: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.svp-link:hover .svp-logo {
  opacity: 0.85;
  transform: translateY(-1px);
}
.support-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-color);
}

.support-form input,
.support-form textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  color: var(--text-color);
}
/* ================================ */
/* FORCE Schwerpunkte Icons GRÜN */
/* ================================ */

body.dark-mode .focus-card i,
body:not(.dark-mode) .focus-card i {
  color: var(--primary-green) !important;
  filter: none !important;
  opacity: 1 !important;
}


/* ================================ */
/* BRAND – FINAL ONE-LINE FIX      */
/* ================================ */

.brand {
  display: flex;
  flex-direction: column;      /* Badge bleibt darunter */
  align-items: flex-start;
  line-height: 1.1;
}

/* ================================ */
/* MICHEL ALS BUTTON / BADGE       */
/* ================================ */

.brand-line {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

/* ================================ */
/* MICHEL – MODERN SOFT 3D BUTTON  */
/* ================================ */

.brand-first {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #ffffff;
  backdrop-filter: blur(6px);
  text-align: center;
  /* OPTISCHE ZENTRIERUNG */
  padding-left: calc(22px + 0.16em);
  padding-right: 22px;


  /* Modern green gradient */
  background: linear-gradient(
    180deg,
    #7bc94a 0%,
    #6fb03a 60%,
    #5e9b2f 100%
  );

  padding: 10px 26px;
  border-radius: 999px;
  line-height: 1;

  display: inline-flex;
  align-items: center;

  /* Soft 3D depth */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -2px 0 rgba(0,0,0,0.25),
    0 8px 18px rgba(0,0,0,0.35);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

/* Hover – lift */
.brand-first:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -2px 0 rgba(0,0,0,0.25),
    0 14px 28px rgba(0,0,0,0.45);
}

/* Active – press */
.brand-first:active {
  transform: translateY(0);
  box-shadow:
    inset 0 2px 6px rgba(0,0,0,0.35),
    0 6px 14px rgba(0,0,0,0.3);
}

/* Dark mode tuning */
body.dark-mode .brand-first {
  filter: saturate(1.05);
}

/* Mobile */
@media (max-width: 768px) {
  .brand-first {
    font-size: 20px;
    padding: 7px 18px;
  }
}

/* Bösiger bleibt ruhig */
.brand-last {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #ffffff;
}

/* Mobile */
@media (max-width: 768px) {
  .brand-first {
    font-size: 20px;
    padding: 6px 16px;
    text-align: center;
  /* OPTISCHE ZENTRIERUNG */
  padding-left: calc(22px + 0.16em);
  padding-right: 22px;
}
  }

  .brand-last {
    font-size: 40px;
  }


/* Bösiger – weiß, normal */
.brand-last {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 50px;
  font-weight: 400;
  color: #ffffff;
}

/* Badge */
.brand-badge {
  margin-top: 4px;
  font-size: 14px;
  opacity: 0.7;
}

/* Mobile */
@media (max-width: 768px) {
  .brand-first {
    font-size: 22px;
  }
  .brand-last {
    font-size: 32px;
  }
}
.brand-first {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  text-align: center;
  /* OPTISCHE ZENTRIERUNG */
  padding-left: calc(22px + 0.16em);
  padding-right: 10px;
}

.brand-first:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
body.dark-mode .brand-first {
  background: #66a832;
}
/* ================================
   BACK TO TOP BUTTON
   ================================ */

#backToTop {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 999;

  width: 50px;
  height: 50px;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* sichtbar */
#backToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Light Mode etwas heller */
body:not(.dark-mode) #backToTop {
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  border: 1px solid rgba(0,0,0,0.1);
}


/* ================================
   HAMBURGER MENU – GLASS (DARK)
   ================================ */

body.dark-mode .nav-panel {
  background: rgba(15, 18, 25, 0.55);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);

  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.dark-mode .nav-links .nav-link {
  color: #ffffff;
}

body.dark-mode .nav-links .nav-link:hover {
  background: rgba(255, 255, 255, 0.14);
}
