/* --- 1. VARIABLES --- */
:root {
    /* LIGHT MODE: Gedimmter, kontrastreicher, härter */
    --bg-color: #dde1e7; /* Deutlich dunkleres Grau (angenehmer für die Augen) */
    --text-color: #1a202c; /* Fast Schwarz für maximalen Lesekontrast */
    --primary-color: #0050a5; /* Etwas dunkleres Blau */
    
    /* DIE "HÄRTE" & KONTRAST */
    --glass-bg: rgba(255, 255, 255, 0.95); /* Karten sind fast komplett weiß/undurchsichtig */
    --glass-border: rgba(0, 0, 0, 0.3); /* Starke, dunkle Umrandung (30% Schwarz) */
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.2); /* Kräftiger Schlagschatten */
    
    /* Blob Farben (Angepasst an dunkleren Hintergrund) */
    --blob-1: #c4d9f5;
    --blob-2: #dcd6f7;
    --blob-3: #cbeefc;
    --grid-color: rgba(0, 0, 0, 0.08); /* Raster stärker sichtbar */
}

body.dark-mode {
    /* DARK MODE (Unverändert gut) */
    --bg-color: #121212; 
    --text-color: #f1f5f9;
    --primary-color: #bb86fc;
    
    --glass-bg: rgba(30, 30, 30, 0.85); 
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.6);

    --blob-1: #4c1d95;
    --blob-2: #1e3a8a;
    --blob-3: #312e81;
    --grid-color: rgba(255, 255, 255, 0.04);
}

/* --- 2. GLOBAL RESET & SCROLL ENGINE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

html, body {
    height: 100%;
    overflow: hidden; 
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.scroll-container {
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    position: relative;
    z-index: 10; 
}

/* --- 3. BACKGROUND EFFECTS --- */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    pointer-events: none;
}

.bg-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px); /* Mehr Blur für weicheren Hintergrund */
    opacity: 0.7; /* Etwas sichtbarer */
    animation: float 25s infinite ease-in-out alternate;
}
.blob-1 { width: 500px; height: 500px; background: var(--blob-1); top: -10%; left: -10%; }
.blob-2 { width: 400px; height: 400px; background: var(--blob-2); bottom: -10%; right: -10%; animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; background: var(--blob-3); top: 40%; left: 40%; animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -40px) scale(1.1); }
}

/* --- 4. NAVIGATION --- */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid var(--glass-border); /* 2px Rahmen für Navigation */
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo-small {
    font-weight: 900;
    color: var(--primary-color);
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700; /* Dickerer Text */
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px; /* Dickerer Unterstrich */
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.theme-btn { background: none; border: none; color: var(--text-color); cursor: pointer; font-size: 1.2rem; }

/* --- 5. SECTIONS --- */
.full-screen-section {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 20px 20px;
}

.content-wrapper {
    max-width: 1200px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- 6. COMPONENTS --- */
.main-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-color) 30%, var(--primary-color) 100%); /* Mehr Schwarz im Verlauf */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Subtiler Textschatten */
}
.slogan { font-size: 1.5rem; margin-bottom: 2rem; opacity: 0.9; text-align: center; font-weight: 500; }
.divider { width: 80px; height: 6px; background: var(--primary-color); margin-bottom: 2rem; border-radius: 5px; }
.purpose-text { text-align: center; max-width: 700px; font-size: 1.2rem; font-weight: 500; }

.scroll-indicator { 
    margin-top: 3rem; 
    opacity: 0.8;
    /* Damit Text und Maus exakt mittig untereinander stehen: */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mouse {
    width: 30px; 
    height: 50px; 
    border: 2px solid var(--text-color); 
    border-radius: 15px; 
    position: relative;
    /* Zur Sicherheit auch hier margin auto, falls Flexbox ignoriert wird */
    margin: 0 auto; 
}

.wheel {
    width: 4px; 
    height: 8px; 
    background: var(--text-color); 
    position: absolute; 
    top: 6px; 
    left: 50%; 
    transform: translateX(-50%); 
    border-radius: 2px; 
    animation: scrollMouse 1.5s infinite;
}
@keyframes scrollMouse { 0% {top: 6px; opacity: 1;} 100% {top: 25px; opacity: 0;} }

/* --- GLASS CARDS (Härtere Kanten & Mehr Kontrast) --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); /* Harte Kante */
    box-shadow: var(--shadow);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Profile */
.profile-card { display: flex; gap: 3rem; align-items: center; max-width: 900px; text-align: left; }
.image-placeholder-circle { 
    width: 150px; height: 150px; border-radius: 50%; 
    background: var(--bg-color); 
    border: 4px solid var(--primary-color); /* Dickerer Rahmen */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Schatten für Bild */
    display: flex; justify-content: center; align-items: center; 
    color: var(--primary-color); flex-shrink: 0; 
}
.text-content h3 { font-size: 2rem; font-weight: 800; }
.role { color: var(--primary-color); font-weight: bold; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }

/* --- Profilbild Anpassung --- */

/* Wir stellen sicher, dass das Container-Element maskiert wird */
.image-placeholder-circle {
    overflow: hidden; /* Wichtig: Schneidet alles ab, was über den Kreis ragt */
    padding: 0;       /* Kein Innenabstand, damit das Bild den Rand berührt */
    position: relative;
}

/* Das eigentliche Bild */
.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Schneidet das Bild zu, statt es zu verzerren */
    object-position: center; /* Zentriert das Gesicht */
    display: block;
}

/* Wide Card */
.wide-card { max-width: 800px; }
.concept-list { list-style: none; margin-top: 1.5rem; text-align: left; }
.concept-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 15px; font-size: 1.1rem; font-weight: 500; }
.concept-list i { color: var(--primary-color); font-size: 1.3rem; }

/* Grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; width: 100%; max-width: 1200px; margin-top: 2rem; }
.hover-lift { text-align: center; height: 100%; display: flex; flex-direction: column; }
.hover-lift:hover { 
    transform: translateY(-8px); 
    border-color: var(--primary-color); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); /* Starker Hover Schatten */
}
.icon-large { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2)); }

/* Portfolio */
.project-tile { padding: 0; overflow: hidden; height: 350px; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.tile-img-placeholder { flex: 1; background: linear-gradient(135deg, #cbd5e1, #94a3b8); display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 10px; color: #475569; transition: transform 0.5s; font-weight: bold;}
body.dark-mode .tile-img-placeholder { background: linear-gradient(135deg, #333, #1a1a1a); color: #888; }
.project-tile:hover .tile-img-placeholder { transform: scale(1.05); }
.tile-info { padding: 1.5rem; background: var(--glass-bg); border-top: 1px solid var(--glass-border); z-index: 2; }
.link-arrow { color: var(--primary-color); font-weight: 900; margin-top: auto; display: block; }

/* Footer */
.footer-section .content-wrapper { justify-content: space-between; height: 90%; }
.contact-card { text-align: center; max-width: 600px; margin: auto; }
.cta-button { 
    display: inline-block; background: var(--primary-color); color: white; 
    padding: 1rem 2.5rem; border-radius: 50px; margin-top: 2rem; 
    text-decoration: none; font-weight: bold; 
    box-shadow: 0 5px 15px rgba(0, 80, 165, 0.4); /* Farbiger Schatten für Button */
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 80, 165, 0.6); }

footer { text-align: center; font-size: 0.9rem; opacity: 0.8; font-weight: 500; }
.footer-links a { color: inherit; text-decoration: none; margin: 0 5px; }

/* Animation */
.fade-in { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE OPTIMIERUNG (Ersetze alles ab hier unten in style.css) --- */

.burger { display: none; }

/* 1. TABLET & "HALBES FENSTER" AM DESKTOP (bis 1024px) */
@media screen and (max-width: 1200px) {
    
    .main-title { font-size: 3.5rem; } /* Titel passt sich an */
    
    .full-screen-section {
        padding: 60px 20px; /* Weniger Padding damit Inhalte mittig bleiben */
    }

    /* Das Grid passt sich an: Wenn Platz eng wird, geh auf 2 Spalten oder 1 */
    .grid-3 {
        gap: 1.5rem;
    }
    
    /* Profilkarte wird kompakter */
    .profile-card {
        gap: 2rem;
    }
}

/* --- FINALER MOBILE MIX: STABILES LAYOUT + BUBBLE MENÜ --- */

.burger { display: none; }

@media screen and (max-width: 1024px) {
    
    /* 1. LAYOUT & SCROLLING (Dein funktionierender Code) */
    .scroll-container {
        scroll-snap-type: y mandatory;
    }

    .full-screen-section {
        height: 100vh;
        padding: 90px 20px 20px 20px; /* Platz für die Leiste oben */
        align-items: flex-start;
    }

    .content-wrapper {
        justify-content: center;
        height: 100%;
        overflow-y: auto; /* Scrollen erlaubt */
        padding-bottom: 80px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .content-wrapper::-webkit-scrollbar { display: none; }

    /* 2. NAVIGATION LEISTE (Dein funktionierender Code) */
    .floating-nav {
        top: 0;
        border-radius: 0 0 20px 20px;
        width: 100%;
        max-width: 100%;
        border: none;
        border-bottom: 1px solid var(--glass-border);
        background: rgba(255, 255, 255, 0.95); /* Fast deckend weiß */
        padding: 15px 20px;
        transform: none;
        left: 0;
        z-index: 5000; /* Ganz oben */
    }

    /* Darkmode Anpassung */
    body.dark-mode .floating-nav {
        background: rgba(20, 20, 20, 0.95);
    }

    .logo-small { font-size: 1.2rem; }
    /* Button wieder sichtbar machen und positionieren */
    .floating-nav .theme-btn { 
        display: block; 
        margin: 0 auto; /* Hilft bei der Zentrierung */
        border: none;   /* Optional: Entfernt den Rahmen auf Handy für cleaneren Look */
        font-size: 1.3rem;
}

    /* 3. BURGER MENU ICON */
    .burger {
        display: block;
        cursor: pointer;
        z-index: 5001;
    }
    .burger div {
        width: 30px;
        height: 3px;
        background-color: var(--text-color);
        margin: 6px;
        border-radius: 3px;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    /* Animation zum X */
    .toggle .line1 { transform: rotate(45deg) translate(5px, 8px); background-color: var(--primary-color); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(-45deg) translate(5px, -8px); background-color: var(--primary-color); }

    /* 4. DAS "BUBBLE" MENÜ (Neu eingefügt!) */
    .nav-links {
        position: fixed;
        /* Positioniert unter der Leiste, rechtsbündig */
        top: 75px; 
        right: 15px;
        
        width: 250px; /* Feste Breite der Blase */
        height: auto;
        
        /* Das Bubble Design */
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(0,0,0,0.1);
        border-radius: 20px; /* Schön rund */
        box-shadow: 0 10px 40px rgba(0,0,0,0.2); /* Schwebender Schatten */
        
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 30px 20px;
        
        z-index: 4999;
        
        /* Die "Plopp" Animation */
        transform-origin: top right; /* Wächst von oben rechts aus */
        transform: scale(0); /* Startet unsichtbar klein */
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    }

    /* Darkmode Bubble */
    body.dark-mode .nav-links {
        background: rgba(30, 30, 30, 0.95);
        border: 1px solid rgba(255,255,255,0.1);
    }

    /* Wenn Menü offen ist: Aufploppen */
    .nav-links.nav-active {
        transform: scale(1);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links li { opacity: 1; transform: none; } /* Reset der alten Animation */
    
    .nav-links li a {
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--text-color);
        display: block;
        padding: 5px 0;
    }
    
    /* Theme Toggle Button in der Bubble */
    .nav-links .theme-btn {
        display: flex !important;
        width: 50px; height: 50px;
        border: 2px solid var(--text-color);
        border-radius: 50%;
        align-items: center; justify-content: center;
        margin-top: 10px;
        font-size: 1.2rem;
    }

    /* 5. OPTIMIERUNG DER INHALTE (Dein funktionierender Code) */
    .main-title { font-size: 2.5rem; margin-top: 1rem; }
    .divider { margin: 1.5rem auto; }

    .glass-card {
        padding: 1.2rem; border-radius: 20px; width: 100%; margin-bottom: 1rem;
    }

    .profile-card { flex-direction: column; gap: 1rem; text-align: center; }
    .image-placeholder-circle { width: 120px; height: 120px; margin: 0 auto; }
    .text-content h3 { font-size: 1.5rem; }
    .profile-card p { font-size: 0.9rem; }
    
    .grid-3 { display: flex; flex-direction: column; gap: 0.8rem; }

   /* --- Neuer Code ab hier einfügen --- */

/* 1. Portfolio-Kacheln (bleiben kompakt in einer Reihe) */
.project-tile {
    display: flex;
    flex-direction: row; 
    align-items: center; 
    text-align: left;
    padding: 1rem; 
    min-height: 80px; 
}

/* 2. "Warum wir"-Karten (Icon oben, Text sichtbar und darunter) */
.hover-lift {
    display: flex;
    flex-direction: column; /* Wichtig: Untereinander stapeln */
    align-items: center;    /* Mittig ausrichten */
    text-align: center;
    padding: 1.5rem;        /* Etwas mehr Platz */
}

.hover-lift i.icon-large { 
    font-size: 2rem;        /* Icon wieder etwas größer */
    margin: 0 0 10px 0;     /* Abstand nach unten */
}

.hover-lift h3 { 
    font-size: 1.2rem; 
    margin-bottom: 0.5rem; 
}

/* Hier ist die Magie: Text wieder sichtbar machen */
.hover-lift p { 
    display: block; 
    font-size: 0.95rem; 
    opacity: 0.9;
}

    .project-tile { height: auto; }
    .tile-img-placeholder {
        width: 70px; height: 70px; flex: 0 0 70px;
        border-radius: 12px; margin-right: 15px;
    }
    .tile-img-placeholder i { font-size: 1.2rem; }
    .tile-img-placeholder span { display: none; }
    
    .tile-info { padding: 0; background: none; border: none; text-align: left; }
    .tile-info h3 { font-size: 1rem; margin-bottom: 0; }
    .tile-info p { display: none; }
    .link-arrow { font-size: 0.8rem; margin-top: 2px; }

    .scroll-indicator { display: none; }
    .wide-card { padding: 1.5rem; }
    .cta-button { width: 100%; text-align: center; }
}
/* =========================================
   7. PREIS-SEITE: ELEGANT & CLEAN (Fixes für Bild-Probleme)
   ========================================= */

/* --- A. DESKTOP BASIS --- */
.pricing-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    width: 100%;
    max-width: 1150px;
    padding: 20px 10px;
    overflow: visible; 
}

/* Die Karte */
.pricing-card {
    flex: 1; 
    min-width: 300px;
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 24px; /* Schöne runde Ecken für die Karte */
    box-shadow: var(--shadow);
    
    /* WICHTIG: Overflow hidden hilft, aber der Link braucht eigenen Radius */
    overflow: hidden; 
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
}

/* Hover Effekt der ganzen Karte */
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

/* --- INHALT --- */
.card-top {
    padding: 2.5rem 1.5rem 1rem 1.5rem;
    text-align: center;
}
.pricing-card h3 { 
    font-size: 1.6rem;
    margin-bottom: 5px; 
    font-weight: 800;
    letter-spacing: -0.5px;
}
.sub-desc { 
    opacity: 0.6; 
    font-size: 0.9rem; 
    font-weight: 500;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1rem 2rem;
}

/* Die einzelnen Leistungen */
.feature-row {
    text-align: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 1rem;
    color: var(--text-color);
    cursor: default;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.feature-row:last-child { border-bottom: none; }
body.dark-mode .feature-row { border-color: rgba(255,255,255,0.06); }

/* Hover auf Leistung: Nur dicker/farbig, KEIN Unterstrich-Wechsel */
.feature-row:hover {
    transform: scale(1.05);
    color: var(--primary-color);
    font-weight: 700;
    border-bottom-color: rgba(0,0,0,0.06); 
}
body.dark-mode .feature-row:hover {
    border-bottom-color: rgba(255,255,255,0.06);
}


/* --- LÖSUNG FÜR DAS "BLOCK"-PROBLEM IM BILD --- */
.card-bottom-link {
    display: block;
    background: rgba(var(--primary-color), 0.03);
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    border-top: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    margin-top: auto;
    
    /* HIER IST DER FIX: Der Link bekommt unten die gleichen runden Ecken wie die Karte */
    border-radius: 0 0 24px 24px; 
    
    -webkit-tap-highlight-color: transparent; 
    outline: none;
}

.one-time-price { 
    font-size: 2.8rem; 
    font-weight: 900; 
    line-height: 1; 
    margin-bottom: 5px;
    letter-spacing: -1px;
}
.price-label { 
    display: block; 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    opacity: 0.6; 
    margin-bottom: 15px; 
    font-weight: bold;
}

/* Die kleine "Service Gebühr" Box */
.monthly-fee { 
    font-size: 0.95rem; 
    font-weight: 600; 
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    /* Standard Hintergrund */
    background: rgba(0,0,0,0.05); 
    color: var(--text-color);
    line-height: 1.4;
    transition: all 0.3s ease;
}
body.dark-mode .monthly-fee { 
    background: rgba(255,255,255,0.1); 
}
.fee-detail {
    font-weight: normal; 
    font-size: 0.85em; 
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* --- LÖSUNG FÜR DAS "UNSICHTBARE SCHRIFT"-PROBLEM IM BILD --- */

/* 1. Wenn man über den großen Link fährt, wird der Hintergrund farbig */
.card-bottom-link:hover {
    background: var(--primary-color);
    color: white !important; /* Haupttext wird weiß */
}

/* 2. WICHTIG: Die innere Service-Box muss sich anpassen! */
.card-bottom-link:hover .monthly-fee {
    /* Hintergrund wird heller/weißer für Kontrast */
    background: rgba(255,255,255,0.25); 
    /* Schrift wird ZWINGEND weiß */
    color: white !important;
}

/* 3. Auch der kleine Detail-Text darin muss weiß werden */
.card-bottom-link:hover .fee-detail {
    opacity: 1;
    color: white !important;
}
.card-bottom-link:hover .price-label {
    opacity: 0.8;
    color: white !important;
}

/* Klick State (Sanft) */
.card-bottom-link:active {
    transform: scale(0.98);
}

/* Badges */
.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05); 
    z-index: 5;
}
.popular:hover {
    transform: scale(1.05) translateY(-10px);
}
.badge {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    background: var(--primary-color); color: white; padding: 6px 20px;
    border-radius: 0 0 12px 12px; font-weight: bold; font-size: 0.75rem; 
    text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.swipe-hint { display: none; } 
.mobile-hidden-text { display: block; }

/* =========================================
   B. MOBILE OPTIMIERUNG
   ========================================= */

@media screen and (max-width: 1100px) {

    .mobile-hidden-text { display: none; } 

    .swipe-hint {
        display: block;
        text-align: center; color: var(--primary-color); margin-bottom: 10px;
        animation: pulseHint 2s infinite; font-weight: bold; font-size: 0.85rem;
    }
    @keyframes pulseHint {
        0%, 100% { opacity: 0.5; transform: translateY(0); }
        50% { opacity: 1; transform: translateY(3px); }
    }

    .pricing-container {
        display: flex; 
        flex-direction: row; 
        justify-content: flex-start; 
        
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        
        width: 100vw; 
        margin-left: -20px; 
        padding: 10px 5% 80px 5%;
        gap: 15px;
        
        -ms-overflow-style: none; scrollbar-width: none;
    }
    .pricing-container::-webkit-scrollbar { display: none; }

    .pricing-card {
        flex: 0 0 85vw; 
        width: 85vw;
        max-width: 380px; 
        
        scroll-snap-align: center;
        scroll-snap-stop: always;
        
        transform: none !important; 
        margin: 0;
        height: auto;
    }

    .popular { transform: none; border-width: 1px; }
    .popular:hover { transform: none; }

    .card-top { padding: 1.5rem 1rem 0.5rem 1rem; }
    .card-content { padding: 0.5rem 1rem; }
    .feature-row { padding: 10px 0; font-size: 0.95rem; }
    
    .card-bottom-link { padding: 1.5rem 1rem; }
    .one-time-price { font-size: 2.2rem; }
    
    .full-screen-section#price-section {
        padding-left: 0; padding-right: 0;
        height: auto; 
        min-height: 100vh;
        display: flex; flex-direction: column; justify-content: flex-start;
    }
}
/* --- 8. SPEZIAL-STYLES FÜR RECHTSSEITEN (Impressum/Datenschutz) --- */

/* Wenn der Body die Klasse "legal-page" hat, ändern wir das Scroll-Verhalten */
body.legal-page .scroll-container {
    scroll-snap-type: none; /* Kein Einrasten beim Scrollen */
    overflow-y: auto;
}

body.legal-page .full-screen-section {
    height: auto; /* Höhe passt sich dem Text an */
    min-height: 100vh;
    padding-top: 120px; /* Platz für die Navbar */
    padding-bottom: 50px;
    display: block; /* Kein Flex-Zentrieren, damit Text oben anfängt */
}

/* Die Karte für den Text */
.legal-card {
    max-width: 900px;
    margin: 0 auto; /* Mittig */
    text-align: left;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.legal-card h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.legal-card h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--grid-color);
    padding-bottom: 0.5rem;
}

.legal-card p, .legal-card ul {
    margin-bottom: 1rem;
    font-size: 1rem;
    opacity: 0.9;
}

.legal-card ul {
    padding-left: 20px;
}

/* Mobile Anpassung für Rechtstexte */
@media screen and (max-width: 768px) {
    .legal-card {
        padding: 1.5rem;
    }
    .legal-card h1 {
        font-size: 2rem;
    }
}
/* Damit der Inhalt auf großen Bildschirmen mittig bleibt */
body.legal-page .content-wrapper {
    margin: 0 auto;
    width: 100%;
}
/* --- COOKIE BANNER STYLE --- */
.cookie-container {
    position: fixed;
    bottom: -100%; /* Startet versteckt */
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 20px;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
}

.cookie-container.show {
    bottom: 0;
}

.cookie-card {
    max-width: 500px;
    width: 100%;
    padding: 2rem !important;
    text-align: left;
    border: 2px solid var(--primary-color) !important; /* Markanter Rahmen */
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.cookie-card h3 {
    margin: 0;
    font-size: 1.3rem;
}

.cookie-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.cookie-options {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cookie-option input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 1rem;
}

.cookie-btn {
    padding: 12px;
    border-radius: 12px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    font-size: 0.85rem;
}

.cookie-btn.primary {
    background: var(--primary-color);
    color: white;
}

.cookie-btn.secondary {
    background: var(--grid-color);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.cookie-footer {
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.7;
}

.cookie-footer a {
    color: var(--text-color);
    text-decoration: underline;
}

/* Mobile Anpassung */
@media screen and (max-width: 600px) {
    .cookie-buttons {
        grid-template-columns: 1fr;
    }
    .cookie-card {
        padding: 1.5rem !important;
    }
}
/* --- FIX FÜR PREIS-SEKTION SCROLLING --- */

/* 1. Die Sektion darf größer als der Bildschirm sein */
#price-section {
    height: auto !important; /* Wichtig: Überschreibt 100vh Zwang */
    min-height: 100vh;       /* Mindestens bildschirmfüllend */
    padding-top: 120px;      /* Platz für Navbar oben */
    padding-bottom: 60px;    /* Platz unten zum Atmen */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Fängt oben an, nicht zentriert */
    align-items: center;
}

/* 2. Der Wrapper darf nicht fixiert sein */
#price-section .content-wrapper {
    height: auto !important;
    justify-content: flex-start;
    overflow: visible; /* Kein Abschneiden von Schatten/Inhalten */
}

/* 3. Karten kompakter machen (Desktop Optimierung) */
/* Damit sie auf Laptops besser passen, ohne dass man viel scrollen muss */
@media screen and (min-width: 1100px) {
    .pricing-card {
        /* Reduziertes Padding im Container */
        padding: 0; 
    }

    .card-top {
        padding: 1.5rem 1.5rem 0.5rem 1.5rem; /* Kompakterer Kopf */
    }
    
    .pricing-card h3 {
        font-size: 1.4rem; /* Etwas kleinere Überschrift */
    }

    .card-content {
        padding: 0.5rem 1.5rem; /* Kompakterer Mittelteil */
    }

    .feature-row {
        padding: 6px 0; /* Weniger Abstand zwischen den Listenpunkten */
        font-size: 0.95rem;
    }

    .card-bottom-link {
        padding: 1.2rem 1.5rem; /* Kleinerer Footer */
    }
    
    .one-time-price {
        font-size: 2.2rem; /* Preis etwas kleiner */
    }
    
    .price-label {
        margin-bottom: 5px;
    }
}