/* ==========================================================
   THEME.CSS – MICHEL BÖSIGER (SVP) – MODERN & SEXY ✨
   
   ✅ Mobile-First (iPhone/Android perfekt)
   ✅ Dark Mode ready
   ✅ Glassmorphism & moderne Effekte
   ✅ Alle Features: Drawer, Modal, Timeline, Polaroids, Values
   ✅ Animationen & Glow
   ✅ Safe-Area Support (Notch/Home-Bar)
   
   Version: 2.0 – Production Ready
   ========================================================== */

/* =============== 01) CSS VARIABLES ================= */
:root {
  /* SVP Grün */
  --accent: #66a832;
  --accent-dark: #4b7a24;
  --accent-light: #7bc94a;
  
  /* Light Mode */
  --bg: #f4f6f4;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --text: #141615;
  --muted: rgba(0, 0, 0, 0.64);
  
  /* Borders & Shadows */
  --border: rgba(0, 0, 0, 0.12);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 28px 95px rgba(0, 0, 0, 0.22);
  --glow: 0 0 45px rgba(102, 168, 50, 0.14);
  
  /* Border Radius */
  --radius: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  
  /* Layout */
  --header-height: 86px;
  --max-width: 1120px;
  
  /* Safe Area (iPhone Notch/Home Bar) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  
  /* Animations */
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.14s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
html.dark {
  --bg: #070908;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.70);
  
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.60);
  --shadow-strong: 0 34px 130px rgba(0, 0, 0, 0.72);
  --glow: 0 0 55px rgba(102, 168, 50, 0.22);
}

/* =============== 02) RESET & BASE ================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px + var(--safe-top));
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  
  /* Padding für fixed header */
  padding-top: calc(var(--header-height) + var(--safe-top)) !important;
  
  /* Better touch */
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent body scroll when menu/modal open */
body.menu-open,
body.modal-open {
  overflow: hidden;
}

/* =============== 03) LAYOUT CONTAINERS ================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: calc(22px + var(--safe-left));
  padding-right: calc(22px + var(--safe-right));
}

main {
  padding-top: 20px;
  min-height: 60vh;
}

section {
  margin: 38px auto;
  max-width: var(--max-width);
}

/* =============== 04) SECTION CARDS ================= */
.section,
main > section {
  position: relative;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid rgba(102, 168, 50, 0.26);
  
  /* Modern Shadow + Glow */
  box-shadow: 
    var(--shadow),
    0 0 0 2px rgba(102, 168, 50, 0.11) inset,
    var(--glow);
  
  padding: 44px 36px;
  overflow: hidden;
  
  /* Subtle animation on scroll-in */
  animation: fadeInUp 0.6s ease-out backwards;
}

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

/* Green Accent Border (Left) */
.section::before,
main > section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--accent-light), var(--accent-dark));
  border-radius: var(--radius) 0 0 var(--radius);
  box-shadow: 0 0 35px rgba(102, 168, 50, 0.35);
  z-index: 1;
}

/* Inner Glow Overlay */
.section::after,
main > section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(102, 168, 50, 0.05), transparent 60%);
  z-index: 0;
}

/* Content should be above overlays */
.section > * {
  position: relative;
  z-index: 2;
}

/* Section Titles */
section h2 {
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  font-weight: 950;
  color: var(--accent);
  text-shadow: 0 10px 30px rgba(102, 168, 50, 0.20);
  margin-bottom: 28px !important;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

section p {
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.7;
}

/* Spacing between sections */
main > section {
  margin: 48px auto !important;
}

/* =============== 05) HEADER (FIXED GLASSMORPHISM) ================= */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 100000 !important;
  
  /* iPhone Safe Area */
  padding-top: var(--safe-top);
  height: calc(var(--header-height) + var(--safe-top)) !important;
  
  display: flex;
  align-items: center;
  
  /* Glassmorphism */
  background: rgba(8, 10, 9, 0.88) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  
  transition: var(--transition);
}

/* Light Mode Header */
html:not(.dark) .site-header {
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: calc(22px + var(--safe-left));
  padding-right: calc(22px + var(--safe-right));
  
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

/* =============== 06) LOGO ================= */
.logo a {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-weight: 950;
}

.logo-first {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  font-size: 26px;
  letter-spacing: 0.22em;
  color: #ffffff;
  
  /* 3D Gradient Button */
  background: linear-gradient(180deg, #7bc94a 0%, #6fb03a 55%, #5e9b2f 100%);
  padding: 11px 28px;
  border-radius: 999px;
  line-height: 1;
  
  display: inline-flex;
  align-items: center;
  
  /* Realistic 3D Shadow */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -2px 0 rgba(0, 0, 0, 0.28),
    0 8px 20px rgba(0, 0, 0, 0.38);
  
  transition: var(--transition-fast);
}

.logo-first:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -2px 0 rgba(0, 0, 0, 0.28),
    0 10px 28px rgba(0, 0, 0, 0.42);
}

.logo-first:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.38),
    0 4px 12px rgba(0, 0, 0, 0.32);
}

.logo-last {
  color: var(--text);
  font-size: clamp(1.6rem, 3vw, 1.9rem) !important;
  font-weight: 950;
  letter-spacing: -0.01em;
}

/* =============== 07) NAVIGATION (Desktop) ================= */
.desktop-nav {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  position: relative !important;
}

/* Animated highlight bar */
.nav-highlight {
  position: absolute !important;
  bottom: -8px !important;
  left: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, var(--accent-light), var(--accent-dark)) !important;
  border-radius: 3px !important;
  opacity: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  pointer-events: none !important;
  box-shadow: 0 0 18px rgba(102, 168, 50, 0.45) !important;
  z-index: 0 !important;
}

.desktop-nav a {
  position: relative !important;
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  color: var(--text);
  text-decoration: none;
  opacity: 0.86 !important;
  
  padding: 11px 16px !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  
  transition: var(--transition-fast) !important;
  z-index: 1;
}

.desktop-nav a:hover {
  opacity: 1 !important;
  background: rgba(102, 168, 50, 0.14) !important;
  border-color: rgba(102, 168, 50, 0.28) !important;
  transform: translateY(-1px);
}

.desktop-nav a.active {
  opacity: 1 !important;
  background: rgba(102, 168, 50, 0.16) !important;
  border-color: rgba(102, 168, 50, 0.38) !important;
  box-shadow: 0 16px 55px rgba(102, 168, 50, 0.14) !important;
  color: var(--text) !important;
}

/* Remove default underlines */
.desktop-nav a::after,
.main-nav a::after {
  content: none !important;
}

/* =============== 08) HEADER CONTROLS (Theme Toggle + Burger) ================= */
.header-controls {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

/* Language Pills (Desktop) */
.lang-desktop {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
}

.lang-desktop a {
  height: 40px !important;
  min-width: 40px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  
  background: rgba(102, 168, 50, 0.12) !important;
  border: 1px solid rgba(102, 168, 50, 0.24) !important;
  color: var(--text) !important;
  
  font-weight: 850 !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
  
  opacity: 0.88 !important;
  
  transition: var(--transition-fast) !important;
  touch-action: manipulation;
}

.lang-desktop a:hover {
  opacity: 1 !important;
  background: rgba(102, 168, 50, 0.18) !important;
  border-color: rgba(102, 168, 50, 0.36) !important;
  transform: translateY(-1px) !important;
}

.lang-desktop a.active {
  opacity: 1 !important;
  background: rgba(102, 168, 50, 0.22) !important;
  border-color: rgba(102, 168, 50, 0.42) !important;
  box-shadow: 0 8px 24px rgba(102, 168, 50, 0.18) !important;
  color: var(--text) !important;
  font-weight: 950 !important;
}

/* Hide lang-desktop on mobile */
@media (max-width: 980px) {
  .lang-desktop {
    display: none !important;
  }
}

/* Pill Buttons (Theme Toggle, Burger) */
.pill-btn,
.nav-toggle {
  height: 46px !important;
  min-width: 46px !important;
  padding: 0 17px !important;
  border-radius: 999px !important;
  
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  
  background: rgba(102, 168, 50, 0.18) !important;
  border: 1px solid rgba(102, 168, 50, 0.36) !important;
  color: #fff !important;
  font-weight: 950 !important;
  font-size: 1.05rem !important;
  cursor: pointer;
  
  box-shadow: 0 8px 24px rgba(102, 168, 50, 0.16);
  
  transition: var(--transition-fast) !important;
  touch-action: manipulation;
}

.pill-btn:hover,
.nav-toggle:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.08) !important;
  box-shadow: 0 12px 32px rgba(102, 168, 50, 0.22);
}

.pill-btn:active,
.nav-toggle:active {
  transform: translateY(0) !important;
  box-shadow: 0 4px 16px rgba(102, 168, 50, 0.14);
}

/* Hamburger Icon (3 Lines) */
.burger {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: var(--transition);
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.burger::before { top: -7px; }
.burger::after { top: 7px; }

/* Hamburger Active (X) */
.nav-toggle.active .burger {
  background: transparent;
}

.nav-toggle.active .burger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .burger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* =============== 09) MOBILE DRAWER ================= */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 380px);
  z-index: 999999;
  
  /* Glassmorphism */
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: -12px 0 80px rgba(0, 0, 0, 0.65);
  
  display: flex;
  flex-direction: column;
  gap: 24px;
  
  padding: calc(26px + var(--safe-top)) 24px calc(26px + var(--safe-bottom));
  
  /* Hidden by default */
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.32s ease,
              visibility 0.32s;
}

/* Light Mode Drawer */
html:not(.dark) .mobile-drawer {
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}

/* Active State */
.mobile-drawer.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* Drawer Top (Close Button + Lang) */
.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

html:not(.dark) .drawer-top {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.drawer-close {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  touch-action: manipulation;
}

html:not(.dark) .drawer-close {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.14);
  color: var(--text);
}

.drawer-close:hover {
  background: rgba(255, 50, 50, 0.16);
  border-color: rgba(255, 50, 50, 0.32);
  transform: rotate(90deg);
}

/* Drawer Links */
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
  
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

html:not(.dark) .drawer-links a {
  color: var(--text);
}

.drawer-links a:hover,
.drawer-links a.active {
  background: rgba(102, 168, 50, 0.14);
  border-color: rgba(102, 168, 50, 0.28);
  color: #fff;
}

html:not(.dark) .drawer-links a:hover,
html:not(.dark) .drawer-links a.active {
  color: var(--text);
}

/* Drawer Lang Switcher */
.drawer-lang {
  display: flex;
  gap: 8px;
}

.drawer-lang a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 850;
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

html:not(.dark) .drawer-lang a {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.14);
  color: var(--text);
}

.drawer-lang a.active,
.drawer-lang a:hover {
  background: rgba(102, 168, 50, 0.18);
  border-color: rgba(102, 168, 50, 0.36);
  color: #fff;
}

html:not(.dark) .drawer-lang a.active,
html:not(.dark) .drawer-lang a:hover {
  color: var(--text);
}

/* Drawer Social */
.drawer-social {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 12px;
  justify-content: center;
}

html:not(.dark) .drawer-social {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.drawer-social .social-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(102, 168, 50, 0.16);
  border: 1px solid rgba(102, 168, 50, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.drawer-social .social-icon:hover {
  background: rgba(102, 168, 50, 0.26);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 168, 50, 0.22);
}

.drawer-social .social-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  opacity: 0.96;
}

html:not(.dark) .drawer-social .social-icon svg {
  fill: var(--text);
}

/* =============== 10) BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  
  background: var(--accent);
  color: #fff;
  font-weight: 950;
  font-size: 1rem;
  text-decoration: none;
  
  box-shadow: 
    0 18px 55px rgba(102, 168, 50, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  
  cursor: pointer;
  transition: var(--transition-fast);
  touch-action: manipulation;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 22px 70px rgba(102, 168, 50, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 
    0 12px 40px rgba(102, 168, 50, 0.20),
    inset 0 2px 4px rgba(0, 0, 0, 0.18);
}

/* Secondary Button */
.btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

html:not(.dark) .btn.secondary {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.14);
}

.btn.secondary:hover {
  background: rgba(102, 168, 50, 0.12);
  border-color: rgba(102, 168, 50, 0.28);
  transform: translateY(-2px);
}

/* =============== 11) ABOUT SECTION ================= */
.about-hero {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
}

.about-hero-image {
  position: relative;
}

.about-hero-image img {
  width: 100%;
  max-width: 300px;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid var(--accent);
  box-shadow: 
    var(--shadow-strong),
    0 0 0 8px rgba(102, 168, 50, 0.14);
  
  transition: var(--transition);
}

.about-hero-image img:hover {
  transform: scale(1.02);
  box-shadow: 
    0 34px 140px rgba(0, 0, 0, 0.28),
    0 0 0 8px rgba(102, 168, 50, 0.22);
}

@media (max-width: 900px) {
  .about-hero-image {
    display: flex;
    justify-content: center;
  }
  
  .about-hero-image img {
    width: min(75vw, 260px);
    height: min(75vw, 320px);
  }
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(102, 168, 50, 0.14);
  border: 1px solid rgba(102, 168, 50, 0.32);
  color: var(--accent);
  font-weight: 950;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 12px 35px rgba(102, 168, 50, 0.14);
}

.about-hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 950;
  line-height: 1.12;
  margin-bottom: 18px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.about-lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
}

.about-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--muted);
  border-left: 4px solid var(--accent);
  padding-left: 18px;
  margin: 24px 0;
  opacity: 0.92;
}

.about-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 950;
  font-size: 1.2rem;
}

.about-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .about-actions {
    justify-content: center;
  }
}

/* =============== 12) FOCUS & VALUES CARDS ================= */
.focus-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* ✅ Auf Tablet: max 2 Spalten */
@media (max-width: 980px) and (min-width: 701px) {
  .focus-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ✅ Auf Mobile: nur 1 Spalte (wird weiter unten definiert) */

.focus-item,
.value-item {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--panel-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.focus-item::before,
.value-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-light), var(--accent-dark));
  opacity: 0;
  transition: var(--transition-fast);
}

.focus-item:hover,
.value-item:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 24px 80px rgba(0, 0, 0, 0.16),
    var(--glow);
  border-color: rgba(102, 168, 50, 0.32);
}

.focus-item:hover::before,
.value-item:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.14));
}

.focus-item h3,
.value-item h3,
.value-title {
  font-size: 1.28rem;
  font-weight: 950;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.focus-item p,
.value-item p,
.value-text {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.focus-detail,
.value-detail {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-style: italic;
  line-height: 1.7;
}

.focus-hint {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 850;
  color: var(--accent);
  opacity: 0.88;
}

/* =============== 13) POLAROIDS ================= */
.path-polaroids {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.polaroid {
  position: relative;
  background: #fff;
  padding: 14px;
  border-radius: 8px;
  box-shadow: 
    0 18px 60px rgba(0, 0, 0, 0.20),
    0 0 0 1px rgba(0, 0, 0, 0.08);
  
  max-width: 240px;
  transition: var(--transition);
  transform: rotate(-2deg);
}

.polaroid:nth-child(2) {
  transform: rotate(2deg);
}

.polaroid:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 
    0 24px 85px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(0, 0, 0, 0.08);
}

.polaroid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.polaroid p {
  margin-top: 12px;
  font-size: 0.95rem;
  color: #333;
  text-align: center;
  font-family: 'Arial, 'Comic Sans MS', cursive;
}

html.dark .polaroid {
  background: #eee;
}

/* =============== 14) TIMELINE ================= */
.path-timeline {
  list-style: none;
  position: relative;
  padding-left: 60px;
}

.path-timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-light), var(--accent-dark));
  border-radius: 3px;
  box-shadow: 0 0 18px rgba(102, 168, 50, 0.35);
}

.path-timeline li {
  position: relative;
  padding: 20px 18px;
  margin-bottom: 22px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.path-timeline li:hover {
  transform: translateX(6px);
  box-shadow: 
    0 24px 70px rgba(0, 0, 0, 0.16),
    var(--glow);
  border-color: rgba(102, 168, 50, 0.32);
}

.path-timeline li::before {
  content: "";  /* ✅ Kein Icon mehr, nur leerer Kreis */
  position: absolute;
  left: -48px;
  top: 50%;
  transform: translateY(-50%);
  
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--accent);
  border: 4px solid var(--bg);
  
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  
  box-shadow: 
    0 8px 24px rgba(102, 168, 50, 0.35),
    0 0 0 2px rgba(102, 168, 50, 0.18);
  
  z-index: 2;
}

.path-timeline li strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 950;
  color: var(--text);
  margin-bottom: 6px;
}

.path-timeline li p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* =============== 15) SUPPORT SECTION ================= */
.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.support-item {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--panel-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.support-item:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 24px 80px rgba(0, 0, 0, 0.18),
    var(--glow);
  border-color: rgba(102, 168, 50, 0.34);
}

.support-item .card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.support-item h3 {
  font-size: 1.22rem;
  font-weight: 950;
  color: var(--text);
  margin-bottom: 10px;
}

.support-item p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.support-primary {
  border-color: rgba(102, 168, 50, 0.42) !important;
  box-shadow: 
    var(--shadow),
    0 0 0 2px rgba(102, 168, 50, 0.14) inset;
}

.support-arrow {
  margin-top: 14px;
  font-weight: 950;
  color: var(--accent);
  font-size: 0.95rem;
}

.support-intro {
  max-width: 72ch;
  margin: 12px auto 34px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

/* =============== 16) MODAL ================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  
  padding: calc(18px + var(--safe-top)) calc(18px + var(--safe-right))
           calc(18px + var(--safe-bottom)) calc(18px + var(--safe-left));
  
  transition: opacity 0.22s ease, visibility 0.22s;
}

.modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  width: min(560px, 92vw);
  max-height: min(80vh, 80dvh);
  
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  
  box-shadow: var(--shadow-strong);
  
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  
  animation: modalSlideUp 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
  
  font-size: 1.7rem;
  font-weight: 300;
  cursor: pointer;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  transition: var(--transition-fast);
  touch-action: manipulation;
}

.modal-close:hover {
  background: rgba(255, 50, 50, 0.14);
  border-color: rgba(255, 50, 50, 0.32);
  transform: rotate(90deg);
}

/* Form Styles */
.support-form label {
  display: block;
  font-weight: 850;
  margin: 16px 0 8px;
  color: var(--text);
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 16px; /* Prevent iOS zoom */
  font-family: inherit;
  transition: var(--transition-fast);
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(102, 168, 50, 0.14);
}

html.dark .support-form input,
html.dark .support-form select,
html.dark .support-form textarea {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.support-form textarea {
  resize: vertical;
  min-height: 120px;
}

.support-form button {
  margin-top: 18px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 999px;
  border: none;
  
  background: var(--accent);
  color: #fff;
  font-weight: 950;
  font-size: 1.05rem;
  cursor: pointer;
  
  box-shadow: 0 18px 55px rgba(102, 168, 50, 0.26);
  transition: var(--transition-fast);
  touch-action: manipulation;
}

.support-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 70px rgba(102, 168, 50, 0.32);
}

.support-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Honeypot fields (hidden) */
.support-form input[name="website"],
.support-form input[name="captcha"],
.support-form input[name="hp"],
.support-form .honeypot,
.support-form .hp {
  display: none !important;
}

/* Form Response Messages */
.form-response {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 750;
  text-align: center;
}

.form-response.success {
  background: rgba(102, 168, 50, 0.14);
  border: 1px solid rgba(102, 168, 50, 0.32);
  color: var(--accent);
}

.form-response.error {
  background: rgba(255, 50, 50, 0.12);
  border: 1px solid rgba(255, 50, 50, 0.28);
  color: #ff3232;
}

/* =============== 17) BACK TO TOP BUTTON ================= */
#backToTop {
  position: fixed;
  right: calc(20px + var(--safe-right));
  bottom: calc(20px + var(--safe-bottom));
  z-index: 999998;
  
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(102, 168, 50, 0.55);
  background: rgba(102, 168, 50, 0.20);
  color: #fff;
  
  font-size: 1.5rem;
  font-weight: 950;
  cursor: pointer;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  
  box-shadow: 0 12px 35px rgba(102, 168, 50, 0.22);
  
  transition: var(--transition);
  touch-action: manipulation;
}

#backToTop.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#backToTop:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 50px rgba(102, 168, 50, 0.32);
  background: rgba(102, 168, 50, 0.28);
}

#backToTop:active {
  transform: translateY(0) scale(0.98);
}

/* =============== 18) FOOTER ================= */
.site-footer {
  margin-top: 80px;
  padding: 60px 0 calc(38px + var(--safe-bottom));
  
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(20px);
  
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.28);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: calc(22px + var(--safe-left));
  padding-right: calc(22px + var(--safe-right));
  
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
}

.footer-label {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 950;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.footer-meta p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 8px;
  line-height: 1.7;
}

.footer-small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
  margin-top: 12px;
}

.footer-svp {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .footer-svp {
    justify-content: center;
  }
}

.footer-svp img {
  height: 58px;
  width: auto;
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.40);
  transition: var(--transition-fast);
}

.footer-svp img:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 65px rgba(0, 0, 0, 0.48);
}

.footer-social .social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

@media (max-width: 900px) {
  .footer-social .social-links {
    justify-content: center;
  }
}

.site-footer .social-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  background: rgba(102, 168, 50, 0.16);
  border: 1px solid rgba(102, 168, 50, 0.28);
  
  transition: var(--transition-fast);
}

.site-footer .social-icon:hover {
  background: rgba(102, 168, 50, 0.26);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(102, 168, 50, 0.24);
}

.site-footer .social-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  opacity: 0.96;
}

/* =============== 19) MOBILE RESPONSIVE ================= */

/* Hide burger on DESKTOP (show only on mobile) */
@media (min-width: 981px) and (orientation: landscape) {
  .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 980px) {
  /* Hide desktop nav */
  .desktop-nav {
    display: none !important;
  }
  
  /* Show burger on mobile */
  .nav-toggle {
    display: inline-flex !important;
  }
  
  /* ✅ MOBILE FIXES - GREIFEN BIS 980px */
  
  /* Smaller sections */
  main > section {
    margin: 32px auto !important;
    padding: 34px 26px !important;
  }
  
  section h2 {
    font-size: 1.85rem;
  }
}

/* ✅ KRITISCH: Mobile Portrait Mode (auch große Phones) */
@media (max-width: 980px) and (orientation: portrait),
       (max-width: 700px) {
  
  /* ✅ VIEL größere Basis-Schriftgröße */
  :root {
    --header-height: 72px;
  }
  
  body {
    font-size: 19px !important;
    line-height: 1.8 !important;
  }
  
  /* ✅ ALLE Texte massiv größer */
  p, li, span, a, div {
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
  }
  
  /* Tighter padding aber mehr Luft */
  .container {
    padding-left: calc(18px + var(--safe-left));
    padding-right: calc(18px + var(--safe-right));
  }
  
  section {
    margin: 24px auto !important;
  }
  
  .section,
  main > section {
    padding: 32px 24px !important;
    margin: 24px 0 !important;
    border-radius: 20px;
  }
  
  /* ✅ H1 viel größer */
  h1, .about-hero h1 {
    font-size: 2.4rem !important;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
  }
  
  /* ✅ H2 viel größer */
  section h2 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em;
    margin-bottom: 26px !important;
  }
  
  /* ✅ H3 viel größer */
  section h3,
  .focus-item h3,
  .value-item h3,
  .support-item h3 {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 14px !important;
  }
  
  /* ✅ Paragraphen größer */
  section p,
  .about-lead,
  .focus-item p,
  .value-item p,
  .support-item p {
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
  }
  
  /* ✅ KRITISCH: Alle Grids = 1 Spalte */
  .focus-grid,
  .values-grid,
  .support-options {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* ✅ Cards viel mehr Padding */
  .focus-item,
  .value-item,
  .support-item {
    padding: 28px 24px !important;
    min-height: auto !important;
  }
  
  /* ✅ Icons VIEL größer */
  .card-icon {
    font-size: 3.8rem !important;
    margin-bottom: 18px !important;
  }
  
  /* ✅ About Badge größer */
  .about-badge {
    padding: 12px 22px !important;
    font-size: 0.95rem !important;
    margin-bottom: 18px !important;
  }
  
  /* About Hero zentriert */
  .about-hero {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center !important;
  }
  
  .about-hero-image {
    display: flex;
    justify-content: center;
  }
  
  .about-hero-image img {
    width: min(80vw, 280px) !important;
    height: min(80vw, 320px) !important;
  }
  
  .about-lead {
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
    margin-bottom: 20px !important;
  }
  
  .about-quote {
    font-size: 1.12rem !important;
    padding-left: 20px !important;
    margin: 24px 0 !important;
  }
  
  .about-list {
    text-align: left !important;
    max-width: 100% !important;
    margin: 20px auto !important;
  }
  
  .about-list li {
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
    margin-bottom: 12px !important;
    padding-left: 32px !important;
  }
  
  .about-list li::before {
    font-size: 1.3rem !important;
  }
  
  .about-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px !important;
  }
  
  .about-actions .btn {
    width: 100% !important;
    padding: 18px 28px !important;
    font-size: 1.15rem !important;
  }
  
  /* ✅ Polaroids kleiner auf Mobile */
  .path-polaroids {
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
    margin-bottom: 32px !important;
  }
  
  .polaroid {
    max-width: min(85vw, 320px) !important;
    margin: 0 !important;
    transform: rotate(0deg) !important;
  }
  
  .polaroid:nth-child(2) {
    transform: rotate(0deg) !important;
  }
  
  .polaroid img {
    height: auto !important;
    max-height: 280px !important;
  }
  
  .polaroid p {
    font-size: 1.08rem !important;
    line-height: 1.5 !important;
  }
  
  /* ✅ Timeline viel besser lesbar */
  .path-timeline {
    padding-left: 52px !important;
  }
  
  .path-timeline::before {
    left: 20px !important;
    width: 4px !important;
  }
  
  .path-timeline li {
    padding: 24px 20px !important;
    border-radius: 16px;
    margin-bottom: 20px !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }
  
  html:not(.dark) .path-timeline li {
    background: rgba(255, 255, 255, 0.95) !important;
  }
  
  .path-timeline li::before {
    left: -42px !important;
    width: 42px !important;
    height: 42px !important;
  }
  
  .path-timeline li strong {
    font-size: 1.35rem !important;
    margin-bottom: 12px !important;
    display: block !important;
  }
  
  .path-timeline li p {
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
  }
  
  /* Support intro größer */
  .support-intro {
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
    margin-bottom: 32px !important;
  }
  
  /* Support arrow größer */
  .support-arrow {
    font-size: 1.05rem !important;
    margin-top: 16px !important;
  }
  
  /* Focus hint größer */
  .focus-hint {
    font-size: 1rem !important;
    margin-top: 16px !important;
  }
  
  /* Drawer links größer */
  .drawer-links a {
    font-size: 1.3rem !important;
    padding: 20px 22px !important;
  }
  
  /* Buttons viel größer */
  .btn {
    padding: 18px 32px !important;
    font-size: 1.15rem !important;
    min-height: 56px !important;
  }
  
  .btn.secondary {
    font-size: 1.15rem !important;
  }
  
  /* Header Controls größer */
  .pill-btn,
  .nav-toggle {
    height: 50px !important;
    min-width: 50px !important;
    font-size: 1.15rem !important;
  }
  
  /* Language Pills größer */
  .drawer-lang a {
    padding: 10px 18px !important;
    font-size: 1rem !important;
    min-height: 44px !important;
  }
  
  /* Logo kleiner auf Mobile */
  .logo-first {
    font-size: 22px !important;
    padding: 9px 22px !important;
  }
  
  .logo-last {
    font-size: 1.65rem !important;
  }
  
  /* Footer größer */
  .footer-label {
    font-size: 1.15rem !important;
  }
  
  .footer-meta p,
  .footer-small {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
  }
  
  /* Back to Top größer */
  #backToTop {
    width: 58px !important;
    height: 58px !important;
    font-size: 1.6rem !important;
    right: calc(20px + var(--safe-right)) !important;
    bottom: calc(24px + var(--safe-bottom)) !important;
  }
  
  /* Modal auf Mobile */
  .modal-content {
    width: 94vw !important;
    padding: 28px 24px !important;
  }
  
  .modal-content h2 {
    font-size: 1.8rem !important;
    margin-bottom: 20px !important;
  }
  
  .support-form label {
    font-size: 1.1rem !important;
    margin: 18px 0 10px !important;
  }
  
  .support-form input,
  .support-form select,
  .support-form textarea {
    padding: 16px 18px !important;
    font-size: 17px !important;
    min-height: 52px !important;
  }
  
  .support-form textarea {
    min-height: 140px !important;
  }
  
  .support-form button {
    padding: 18px 24px !important;
    font-size: 1.15rem !important;
    min-height: 56px !important;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .logo-first {
    font-size: 22px;
    padding: 9px 20px;
  }
  
  .logo-last {
    font-size: 1.55rem !important;
  }
  
  .pill-btn,
  .nav-toggle {
    min-width: 42px !important;
    height: 42px !important;
  }
}

/* =============== 20) UTILITIES ================= */
.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 10px !important; }
.mb-2 { margin-bottom: 20px !important; }
.mb-3 { margin-bottom: 30px !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 10px !important; }
.mt-2 { margin-top: 20px !important; }
.mt-3 { margin-top: 30px !important; }

/* Accessibility: Focus visible */
*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Smooth hover transitions */
a, button, .btn, .card, .polaroid, .timeline li {
  transition: var(--transition);
}

/* =============== END ================= */
.support-item{
  text-decoration: none !important;
}
.support-item,
.support-item:hover{
  text-decoration: none !important;
}
