:root {
  /* --- FARBPALETTE 2026: Deep Dark & Neon --- */
  --bg-dark: #09090b;       /* Tiefes Schwarzgrau (Hintergrund) */
  --bg-panel: #121214;      /* Etwas heller für Sektionen */
  --bg-card: #1c1c1f;       /* Karten Hintergrund */
  
  /* NEON AKZENTE */
  --primary: #06b6d4;       /* Cyan/Teal (Technologie/KI) */
  --primary-glow: rgba(6, 182, 212, 0.4);
  --accent: #f59e0b;        /* Bernstein/Orange (Erzgebirge Wärme) */
  
  --text-main: #f4f4f5;     /* Fast Weiß */
  --text-muted: #a1a1aa;    /* Gedämpftes Grau */
  
  --border: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.03);
  --radius: 16px;
  
  /* SYSTEM FONT STACK */
  --font-stack: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- LIGHT MODE VARIABLEN & OVERRIDES --- */
body.light-mode {
  --bg-dark: #ffffff;
  --bg-panel: #f4f4f5;
  --bg-card: #ffffff;
  
  --text-main: #18181b;
  --text-muted: #52525b;
  
  --border: #e4e4e7;
  --glass: rgba(0, 0, 0, 0.03);
  --primary-glow: rgba(6, 182, 212, 0.1);
}

/* Anpassungen für bessere Lesbarkeit im Light Mode */
body.light-mode h1, 
body.light-mode h2, 
body.light-mode h3, 
body.light-mode .p-header,
body.light-mode .brand__logo {
  color: #18181b;
}

body.light-mode .site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: #e4e4e7;
}

body.light-mode .legal-header {
  background: #ffffff;
  color: #000;
}
body.light-mode .brand-small { color: #000; }
body.light-mode .close-btn { color: #000; border-color: #ccc; }


/* --- GRUNDLAGEN & RESET --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-stack);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.no-scroll { overflow: hidden; }

a { text-decoration: none; color: inherit; transition: 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* --- TYPOGRAFIE --- */
h1, h2, h3 { 
  font-weight: 800; color: #fff; margin-bottom: 1rem; line-height: 1.2; 
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.5rem; color: var(--text-muted); max-width: 70ch; }

.eyebrow { 
  color: var(--accent); font-weight: 700; text-transform: uppercase; 
  font-size: 0.85rem; letter-spacing: 2px; display: block; margin-bottom: 0.5rem; 
}
.gradient-text {
  background: linear-gradient(120deg, var(--primary), #fff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
/* Im Lightmode den Gradienten etwas dunkler machen, damit man es lesen kann */
body.light-mode .gradient-text {
  background: linear-gradient(120deg, #0891b2, #000);
  -webkit-background-clip: text;
}

.center { text-align: center; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.8rem; border-radius: 50px; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.3s ease;
  font-family: inherit; font-size: 1rem;
}
.btn-primary { 
  background: var(--primary); color: #000; 
  box-shadow: 0 0 15px var(--primary-glow); 
}
.btn-primary:hover { 
  transform: translateY(-2px); box-shadow: 0 0 30px var(--primary-glow); 
}

.btn-secondary { background: rgba(255,255,255,0.1); color: #fff; }
body.light-mode .btn-secondary { background: #e4e4e7; color: #000; }
.btn-secondary:hover { background: rgba(255,255,255,0.2); }

.btn-outline { background: transparent; border: 1px solid var(--border); color: #fff; }
body.light-mode .btn-outline { color: #000; border-color: #ccc; }
.btn-outline:hover { 
  border-color: var(--primary); color: var(--primary); 
  background: rgba(6, 182, 212, 0.05); 
}

.text-link, .btn-footer-link {
  background: none; border: none; color: var(--text-muted); 
  text-decoration: underline; cursor: pointer; padding: 0; font-size: inherit;
}
.btn-footer-link { margin-left: 1.5rem; text-decoration: none; }
.btn-footer-link:hover, .text-link:hover { color: var(--primary); }
.full-width { width: 100%; }

/* --- HEADER & NAVIGATION --- */
.site-header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(9, 9, 11, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); padding: 1rem 0;
  transition: background 0.3s ease;
}
.site-header__inner { display: flex; justify-content: space-between; align-items: center; }

/* Header Actions Wrapper (Theme Button + Burger) */
.header-actions { display: flex; align-items: center; }

.brand__logo { font-size: 1.5rem; font-weight: 900; color: #fff; }
.brand__logo .highlight { color: var(--primary); }
.brand__tagline { 
  margin-left: 1rem; padding-left: 1rem; border-left: 1px solid var(--border); 
  font-size: 0.9rem; color: var(--text-muted); 
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none; border: 1px solid var(--border); color: var(--text-main);
    padding: 5px 10px; border-radius: 8px; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    line-height: 1; margin-right: 15px; transition: 0.3s;
}
.theme-toggle-btn:hover { border-color: var(--primary); color: var(--primary); }
.theme-label { font-size: 0.55rem; text-transform: uppercase; font-weight: 700; margin-top: 2px; letter-spacing: 0.5px; }


.main-nav__list { display: flex; gap: 2rem; }
.main-nav__list a, .main-nav__list button { 
  font-weight: 500; font-size: 0.95rem; color: inherit; background: none; 
  border: none; cursor: pointer; text-decoration: none;
}
.main-nav__list a:hover, .main-nav__list button:hover { color: var(--primary); }
.nav-cta { color: var(--accent) !important; font-weight: 700; }

/* Mobile Menu Toggle */
.main-nav__toggle { 
  display: none; background: none; border: none; cursor: pointer; 
  flex-direction: column; gap: 5px; 
}
.bar { width: 25px; height: 2px; background: var(--text-main); transition: 0.3s; }

/* --- HERO SECTION --- */
.hero { min-height: 90vh; display: flex; align-items: center; padding-top: 80px; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.hero-bg-glow {
  position: absolute; top: -20%; right: -10%; width: 50vw; height: 50vw;
  background: var(--primary); opacity: 0.1; filter: blur(100px); 
  z-index: -1; pointer-events: none;
}
.hero__cta { display: flex; gap: 1rem; margin-top: 2rem; margin-bottom: 3rem; }
.trust-badges { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--text-muted); }

/* --- SECTIONS & CARDS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 5rem 0; position: relative; }
.section--dark { 
  background: var(--bg-panel); 
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); 
}
.section--gradient { 
  background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.08), transparent 50%); 
}

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--bg-card); padding: 2rem; border-radius: var(--radius);
  border: 1px solid var(--border); transition: 0.3s; height: 100%; 
  display: flex; flex-direction: column;
}
.hover-glow:hover { 
  border-color: var(--primary); transform: translateY(-5px); 
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1); 
}
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.check-list li { 
  margin-bottom: 0.5rem; padding-left: 1.5rem; position: relative; font-size: 0.95rem; 
}
.check-list li::before { 
  content: "›"; color: var(--primary); position: absolute; left: 0; font-weight: bold; 
}

/* Glass Effect Card */
.glass-card {
  background: var(--glass); border: 1px solid var(--border);
  backdrop-filter: blur(20px); padding: 2.5rem; border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}
.float-animation { animation: float 6s ease-in-out infinite; }
@keyframes float { 
  0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } 
}

/* --- BENTO GRID --- */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.bento-box {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); 
  padding: 2rem; display: flex; flex-direction: column; justify-content: center; transition: 0.3s;
}
.bento-box:hover { border-color: var(--accent); }
/* Im Lightmode keinen dunklen Gradienten für Bento Large */
.bento-large { grid-row: span 2; background: linear-gradient(to bottom right, var(--bg-card), rgba(0,0,0,0.02)); }
.bento-wide { grid-column: span 2; }
.tags { display: flex; gap: 0.5rem; margin-top: 1rem; }
.tag { font-size: 0.75rem; background: rgba(125,125,125,0.1); padding: 2px 8px; border-radius: 4px; }

/* --- PRICING --- */
.pricing-cards { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; }
.price-card {
  flex: 1; min-width: 280px; max-width: 350px;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 2.5rem; border-radius: var(--radius); text-align: center; position: relative;
  transition: 0.3s;
}
.price-card:hover { transform: translateY(-5px); }

/* FARBIGE RAHMEN FÜR PREISE */
.price-card.p-private { border-top: 4px solid #27ae60; }
.price-card.p-private .p-price { color: #27ae60; }

.price-card.p-team { border-top: 4px solid var(--accent); }
.price-card.p-team .p-price { color: var(--accent); }

.price-card.p-inst { border-top: 4px solid var(--primary); }
.price-card.p-inst .p-price { color: var(--primary); }


.p-header { font-size: 1.1rem; color: #fff; margin-bottom: 0.5rem; }
.p-price { font-size: 2rem; font-weight: 800; margin-bottom: 0.2rem; }
.p-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.price-list { text-align: left; margin-bottom: 2rem; font-size: 0.9rem; }
.price-list li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); }

/* --- KONTAKT NEON BOX --- */
.contact-box-neon {
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: 0 0 100px -30px rgba(6, 182, 212, 0.15);
  border-radius: var(--radius); padding: 3rem 1rem; text-align: center; 
  max-width: 800px; margin: 0 auto;
}
.contact-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin: 2rem 0; }
.c-link { display: block; font-weight: 700; font-size: 1.1rem; margin-top: 0.5rem; }

.btn-whatsapp {
  background: #25D366; color: #fff; padding: 1rem 2rem; border-radius: 50px;
  font-weight: 700; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s;
}
.btn-whatsapp:hover { background: #1ebc57; box-shadow: 0 0 20px rgba(37, 211, 102, 0.3); }

/* --- FOOTER --- */
.site-footer { 
  margin-top: 4rem; padding: 3rem 0; border-top: 1px solid var(--border); 
  font-size: 0.9rem; color: var(--text-muted); 
}
.footer-flex { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* --- SCROLL TO TOP BUTTON --- */
#scrollTopBtn {
    display: none; position: fixed; bottom: 30px; right: 30px; z-index: 10001;
    border: none; outline: none; background-color: var(--primary); color: #000;
    cursor: pointer; padding: 15px; border-radius: 50%; font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: transform 0.3s ease, background-color 0.3s;
}
#scrollTopBtn:hover { background-color: var(--accent); transform: translateY(-5px); }


/* --- OVERLAYS --- */
.cookie-overlay {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
  background: rgba(9, 9, 11, 0.95); border-top: 1px solid var(--primary);
  padding: 1.5rem; backdrop-filter: blur(10px); display: none;
}
body.light-mode .cookie-overlay { background: rgba(255,255,255,0.95); }

.cookie-banner__inner { 
  max-width: 900px; margin: 0 auto; display: flex; flex-wrap: wrap; 
  gap: 1.5rem; align-items: center; justify-content: space-between; 
}
.cookie-banner__buttons { display: flex; gap: 1rem; }

/* LEGAL SLIDE-UP */
.legal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-dark); z-index: 9999;
  display: flex; flex-direction: column;
  transform: translateY(100%); 
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.legal-overlay.active { transform: translateY(0); }

.legal-header {
  padding: 1rem 0; border-bottom: 1px solid var(--border); 
  background: rgba(9, 9, 11, 0.95); flex-shrink: 0;
}
.flex-header { display: flex; justify-content: space-between; align-items: center; }
.brand-small { font-weight: 800; color: #fff; }

.close-btn { 
  background: none; border: 1px solid var(--border); color: #fff; padding: 0.5rem 1rem; 
  border-radius: 50px; cursor: pointer; transition: 0.3s; font-size: 0.9rem;
}
.close-btn:hover { border-color: var(--accent); color: var(--accent); }

.legal-content-scroll { flex: 1; overflow-y: auto; padding: 2rem 0; }
.legal-body { max-width: 800px; margin: 0 auto; }
.legal-section { margin-bottom: 4rem; scroll-margin-top: 20px; }
.legal-section h1 { 
  color: var(--primary); font-size: 2.5rem; border-bottom: 2px solid var(--border); 
  padding-bottom: 1rem; margin-bottom: 2rem; 
}
.legal-section h2 { 
  margin-top: 2rem; font-size: 1.5rem; 
  border-left: 4px solid var(--accent); padding-left: 1rem; 
}
.legal-box { 
  background: var(--bg-card); padding: 1.5rem; border: 1px solid var(--border); 
  border-radius: 8px; margin: 1rem 0; 
}
.legal-divider { border: 0; border-top: 1px solid var(--border); margin: 3rem 0; }

/* --- RESPONSIVE ANPASSUNGEN --- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__cta { justify-content: center; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-wide { grid-column: auto; }
  
  .main-nav__list { 
    display: none; position: absolute; top: 100%; left: 0; right: 0; 
    background: var(--bg-panel); flex-direction: column; padding: 2rem; 
    border-bottom: 1px solid var(--primary); text-align: center;
  }
  .main-nav__list.active { display: flex; }
  .main-nav__toggle { display: flex; }
  
  .brand__tagline { display: none; }
  .cookie-banner__inner { flex-direction: column; text-align: center; }
  
  .site-header__inner { justify-content: space-between; }
  .header-actions { margin-left: auto; margin-right: 15px; }
  
  .legal-section h1 { font-size: 2rem; }
}