: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 (DSGVO-Sicher, kein Google-Nachladen) */
  --font-stack: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- 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; /* Verhindert horizontales Scrollen */
}

/* Hilfsklasse: Sperrt das Scrollen der Hauptseite, wenn Overlay offen ist */
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); } /* Skaliert flüssig */
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;
}
.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; }
.btn-secondary:hover { background: rgba(255,255,255,0.2); }

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

/* Text Links (für Footer etc.) */
.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;
}
.site-header__inner { display: flex; justify-content: space-between; 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); 
}

.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: #fff; transition: 0.3s; }

/* --- HERO SECTION --- */
.hero { min-height: 90vh; display: flex; align-items: center; padding-top: 80px; }
.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); }

/* --- CARDS & GRID --- */
.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.5); 
}
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* Listen in Karten */
.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 (Hero/Quote) */
.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.5);
}
.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); }
.bento-large { grid-row: span 2; background: linear-gradient(to bottom right, var(--bg-card), #18181b); }
.bento-wide { grid-column: span 2; }
.tags { display: flex; gap: 0.5rem; margin-top: 1rem; }
.tag { font-size: 0.75rem; background: rgba(255,255,255,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;
}
.price-card.popular { 
  border-color: var(--primary); background: linear-gradient(to bottom, #161618, #0e0e10); 
}
.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #000; padding: 4px 12px; border-radius: 12px;
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
}
.p-header { font-size: 1.1rem; color: #fff; margin-bottom: 0.5rem; }
.p-price { font-size: 2rem; font-weight: 800; color: var(--primary); 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: #0d0d0d; 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; }

/* --- COOKIE OVERLAY (Unten fixiert) --- */
.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; /* JS steuert Sichtbarkeit */
}
.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; }
.cookie-footer-links { margin-top: 10px; width: 100%; text-align: right; font-size: 0.8rem; }
.cookie-footer-links button { margin-left: 10px; }

/* --- LEGAL OVERLAY (DAS SLIDE-UP FENSTER) --- */
.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%); /* Startet versteckt unten */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.legal-overlay.active { transform: translateY(0); } /* Fährt hoch */

.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 { 
  color: #fff; 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; }
  
  .legal-section h1 { font-size: 2rem; }
}