/* ==========================================================================
   1. GLOBAL RESETS & VARIABLES
   ========================================================================== */
:root {
    --bg-black: #000000;
    --bg-dark: #080808;
    --bg-slate: #121616;
    --accent-green: #00ff00;
    --text-white: #ffffff;
    --text-muted: #888888;
    --text-dark: #333333;
    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: var(--bg-black);
    color: var(--text-white);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
}

/* ==========================================================================
   2. PRELOADER & SAFETY NET
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #040707;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.preloader-content .preloader-logo {
    font-family: var(--font-main);
    color: var(--text-white);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-align: center;
}

.preloader-content .preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.preloader-content .bar-fill {
    width: 50%;
    height: 100%;
    background: var(--accent-green);
    position: absolute;
    animation: preloaderPulse 1.5s infinite ease-in-out;
}

@keyframes preloaderPulse {
    0% { left: -50%; width: 30%; }
    50% { width: 60%; }
    100% { left: 100%; width: 30%; }
}

/* ==========================================================================
   3. NAVIGATION (HEADER)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
}

.logo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-black {
    opacity: 0; /* Standardmäßig im Dark Mode unsichtbar */
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    padding: 4px 8px;
    transition: color 0.3s ease;
}

.lang-btn:hover, .lang-btn.active {
    color: var(--text-white);
}

/* ==========================================================================
   4. FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

/* ==========================================================================
   5. SECTIONS & LAYOUTS
   ========================================================================== */
.flow-section {
    padding: 100px 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60vh;
}

.section-hero {
    min-height: 100vh;
    background: radial-gradient(circle at center, #0a1111 0%, var(--bg-black) 70%);
    position: relative;
    text-align: center;
}

.section-slate { background-color: var(--bg-slate); }
.section-black { background-color: var(--bg-black); }

/* Hero Text & Fluid Typography */
.section-hero h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

.section-label {
    color: var(--accent-green);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 2rem;
    display: block;
}

/* Grid für Philosophie-Karten */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 0, 0.2);
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.glass-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* ==========================================================================
   6. TICKER (ECOSYSTEM)
   ========================================================================== */
.ticker-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: tickerLoop 30s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.product-card {
    width: 380px;
    margin-right: 30px;
    background: #0a0e0e;
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 16px;
    flex-shrink: 0;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.product-card h3 .prefix {
    color: var(--accent-green);
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@keyframes tickerLoop {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-33.3333%, 0, 0); } /* Exakt um ein Drittel verschieben bei 3x Klonen */
}

/* ==========================================================================
   7. INTERACTIVE REVEAL EFFECTS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-img {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-img.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* ==========================================================================
   8. HERO BACKGROUND PARTICLES
   ========================================================================== */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: var(--accent-green);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(4px);
}

.p-1 { width: 120px; height: 120px; top: 20%; left: 15%; animation: float-slow 12s infinite alternate ease-in-out; }
.p-2 { width: 180px; height: 180px; bottom: 15%; right: 10%; animation: float-slow 18s infinite alternate-reverse ease-in-out; }
.p-3 { width: 80px; height: 80px; top: 60%; left: 75%; animation: float-slow 15s infinite alternate ease-in-out; }

@keyframes float-slow {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-40px) scale(1.1); }
}

/* ==========================================================================
   9. PRICE BUTTONS EXTRA STYLING (ANGBOTE LIST INTEGRATION)
   ========================================================================== */
.p-btn {
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.p-btn:hover {
    transform: scale(1.02);
    background: #444 !important;
}

#p4Btn:hover {
    background: #00dd00 !important;
    color: #000 !important;
}

#angebote ul {
    list-style-type: none; /* Entfernt Standard-Punkte */
}

#angebote li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

#angebote li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* ==========================================================================
   10. LEGAL PAGES STYLES (Impressum & Datenschutz)
   ========================================================================== */
.legal-body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.7;
}

.legal-content {
    max-width: 800px;
    margin: 120px auto 60px auto; /* Platzhalter für den fixierten Header */
    padding: 0 2rem;
    font-family: var(--font-main);
}

.legal-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.legal-content h2 {
    font-size: 1.4rem;
    color: var(--accent-green);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.legal-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--accent-green);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.legal-content a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* Struktur-Boxen für Kontaktdaten im Impressum */
.legal-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}