
/* ==========================================================================
   LOKALE GOOGLE FONTS (DSGVO KONFORM)
   ========================================================================== */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/playfair-display-v40-latin-700.woff2') format('woff2'),
         url('fonts/playfair-display-v40-latin-700.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/poppins-v24-latin-300.woff2') format('woff2'),
         url('fonts/poppins-v24-latin-300.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/poppins-v24-latin-regular.woff2') format('woff2'),
         url('fonts/poppins-v24-latin-regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/poppins-v24-latin-600.woff2') format('woff2'),
         url('fonts/poppins-v24-latin-600.woff') format('woff');
    font-display: swap;
}


/* --- CSS DESIGN SYSTEM (VARIABLES) --- */
:root {
    /* Farbpalette */
    --color-primary: #111111;
    --color-secondary: #222222;
    --color-text: #444444;       
    --color-text-muted: #777777;
    --color-bg-main: #fcfcfc;
    --color-bg-alt: #f9f9f9;
    --color-white: #ffffff;
    --color-border: #eeeeee;
    --color-accent: #ffb703;     
    
    /* Erfolgsmeldungen */
    --color-success-bg: #e8f5e9;
    --color-success-text: #2e7d32;
    --color-success-border: #c8e6c9;

    /* Typografie & Layout */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --header-height: 100px;
    --max-width: 1200px;
    --border-radius: 6px;
    
    /* Animationen */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESETS & BASICS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg-main);
    padding-top: var(--header-height);
}

a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
select:focus-visible, 
textarea:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* --- UTILITIES --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 25px;
}

.secret-input {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* --- HEADER & NAVIGATION --- */
header {
    background: var(--color-white);
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: var(--header-height);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.logo span { 
    color: var(--color-text-muted); 
}

nav ul { 
    display: flex; 
    list-style: none; 
}

nav ul li { 
    margin-left: 30px; 
}

nav ul li a { 
    text-decoration: none; 
    color: var(--color-secondary); 
    font-weight: 600; 
    transition: var(--transition-fast); 
}

nav ul li a:hover { 
    color: var(--color-text-muted); 
}

nav ul li a.login-nav-btn {
    background-color: transparent;           
    color: var(--color-secondary);           
    padding: 8px 18px;                       
    border-radius: 20px;                     
    font-weight: 600;
    transition: all var(--transition-fast);  
}

nav ul li a.login-nav-btn:hover {
    background-color: var(--color-primary);  
    color: var(--color-white);               
}

@media (max-width: 768px) {
    nav ul li a.login-nav-btn {
        padding: 0;                          
    }
    nav ul li a.login-nav-btn:hover {
        background-color: transparent;       
        color: var(--color-primary);
    }
}

/* --- HERO SECTION & SLIDESHOW --- */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height));
    overflow: hidden;
    background: #111; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-white);
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4; 
    padding: 0 20px;
}

.hero h1 { 
    font-family: var(--font-heading); 
    font-size: 3.5rem; 
    margin-bottom: 15px; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p { 
    font-size: 1.2rem; 
    margin-bottom: 30px; 
    font-weight: 300;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--color-white);
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn:hover { 
    background: var(--color-primary); 
    color: var(--color-white); 
    transform: translateY(-2px);
}

/* --- ABOUT SECTION --- */
.about { 
    padding: 100px 0; 
    background: var(--color-white); 
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image { 
    flex: 1; 
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.about-text { 
    flex: 1; 
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-primary);
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    text-align: justify;
}

/* --- SERVICES SECTION --- */
.services {
    padding: 100px 20px; 
    background-color: var(--color-bg-alt); 
    text-align: center;
}

.services h2 {
    font-family: var(--font-heading); 
    font-size: 2.8rem; 
    margin-bottom: 50px; 
    color: var(--color-primary);
}

.services-grid {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 30px; 
    max-width: var(--max-width); 
    margin: 0 auto 50px auto;
}

.service-card {
    background: var(--color-white); 
    padding: 40px 30px; 
    border-radius: var(--border-radius); 
    box-shadow: 0 5px 20px rgba(0,0,0,0.02); 
    flex: 1; 
    min-width: 280px; 
    max-width: 360px; 
    text-align: left;
    border: 1px solid var(--color-border);
}

.service-card h3 {
    font-family: var(--font-heading); 
    font-size: 1.4rem; 
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* --- KONTAKT & FORMULARE --- */
.contact { 
    padding: 100px 20px; 
    text-align: center; 
    background: var(--color-white); 
}

.contact h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 40px;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

form input, form select, form textarea {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

form input:focus, form select:focus, form textarea:focus {
    outline: none;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.08) !important;
}

.btn-submit {
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.btn-submit.btn-success {
    background-color: var(--color-success-bg) !important;
    color: var(--color-success-text) !important;
    border-color: var(--color-success-border) !important;
}

.btn-submit.btn-error {
    background-color: #ffebee !important;
    color: #c62828 !important;
    border-color: #ffcdd2 !important;
}

/* --- PORTFOLIO (PORTFOLIO.HTML) --- */
.portfolio-header, .prices-header, .testimonials-header {
    text-align: center;
    padding: 80px 20px 40px 20px;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.portfolio-header h1, .prices-header h1, .testimonials-header h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.portfolio-header p, .prices-header p, .testimonials-header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 100px 20px;
    column-count: 3;
    column-gap: 25px;
}

.gallery-item {
    display: inline-block; /* Verhindert Lücken im Layout */
    width: 100%;
    margin: 0 0 25px 0;    /* Exakte Abstände */
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: #e0e0e0;
    
    /* Verhindert das Zerschneiden über Spalten hinweg */
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;

    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    cursor: pointer;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform, box-shadow;
    transition: transform var(--transition-smooth), box-shadow var(--transition-fast);
}

.gallery-item img {
    width: 100%;
    height: auto;      /* Lässt das Bild in seiner natürlichen Höhe */
    display: block;
    
    transform: scale(1) translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
    transform: scale(1.015);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.gallery-item:hover img {
    transform: scale(1.04) translate3d(0, 0, 0);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-text);
    padding: 8px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.gallery-item.hide {
    display: none;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(10, 10, 10, 0.98);
    justify-content: center;
    align-items: center;
    user-select: none;
    backdrop-filter: blur(8px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: lightboxFade 0.4s var(--transition-smooth);
}

@keyframes lightboxFade {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.close-btn {
    position: absolute;
    top: 25px; right: 35px;
    color: var(--color-white);
    font-size: 35px;
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.close-btn:hover { 
    transform: rotate(90deg);
    background: rgba(255,255,255,0.15);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 24px;
    width: 60px; height: 60px;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.nav-arrow:hover { 
    color: var(--color-white); 
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}
.prev-btn { left: 35px; }
.next-btn { right: 35px; }

/* --- PREISLISTE (PREISLISTE.HTML) --- */
.prices-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 50px 20px 80px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.price-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 45px 35px;
    text-align: center;
    position: relative;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.price-card.featured {
    border: 2px solid var(--color-primary);
}

.badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 5px 18px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 20px;
}

.package-name {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.package-price {
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.package-price span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.package-info {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 30px;
    font-style: italic;
}

.features-list {
    list-style: none;
    margin: 0 0 35px 0;
    text-align: left;
    border-top: 1px solid var(--color-bg-alt);
    padding-top: 25px;
}

.features-list li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.btn-select {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 12px 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    border-radius: 4px;
}

.price-card:hover .btn-select, .price-card.featured .btn-select {
    background: var(--color-primary);
    color: var(--color-white);
}

.price-card.featured:hover .btn-select {
    background: #333;
    border-color: #333;
}

.custom-info {
    text-align: center;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    max-width: 600px;
    margin: 0 auto 40px auto;
    padding: 40px 30px;
    border-radius: var(--border-radius);
}

.custom-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.legal-notice {
    max-width: 700px;
    margin: 0 auto 100px auto;
    padding: 0 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- KUNDENBEWERTUNGEN (BEWERTUNGEN.HTML) & NEUE KONTAKTBOX --- */
.testimonials-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 50px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    transition: transform var(--transition-fast);
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.stars {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.98rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
}

.testimonial-type {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.review-form-section {
    max-width: 700px;
    margin: 40px auto 100px auto;
    background: var(--color-white);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.review-form-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 12px;
}

.review-form-section .form-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.alert {
    padding: 16px;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 0.95rem;
}

.alert-success {
    background-color: var(--color-success-bg);
    color: var(--color-success-text);
    border: 1px solid var(--color-success-border);
    max-width: 1160px;
    margin: 30px auto -10px auto;
}

/* --- RECHTLICHES (RECHTLICHES.HTML) --- */
.legal-container {
    max-width: 850px;
    margin: 40px auto 100px auto;
    padding: 50px 40px 100px 40px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}

.legal-container h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 15px;
}

.legal-container h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-top: 45px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
}

.legal-container h3 { margin-top: 30px; margin-bottom: 12px; font-weight: 600; }
.legal-container p { margin-bottom: 18px; text-align: justify; font-size: 0.95rem; }
.legal-container ul { padding-left: 20px; margin-bottom: 20px; }
.legal-container li { font-size: 0.95rem; margin-bottom: 6px; }

.address-box {
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.ust-hint {
    font-style: italic;
    background: #fdfaf2;
    border-left: 3px solid #d4af37;
    padding: 14px;
    margin: 20px 0;
    font-size: 0.95rem;
}

/* --- FOOTER SEKTION --- */
footer {
    padding: 60px 40px;
    text-align: center;
    background: var(--color-primary);
    color: var(--color-white);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background-color: #222;
    color: var(--color-white);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.social-icon svg { width: 20px; height: 20px; fill: currentColor; }
.social-icon:hover { transform: translateY(-3px); }
.social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px; height: 21px;
    background: transparent; border: none; cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%; height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition-fast) ease-in-out;
}

@media (max-width: 992px) {
    .gallery-container { column-count: 2; }
}

@media (max-width: 768px) {
    body { padding-top: var(--header-height); }
    header { padding: 20px 25px; }
    
    .menu-toggle { display: flex; }
    
    .nav-menu {
        position: fixed; top: 0; right: -100%;
        width: 280px; height: 100vh;
        background-color: var(--color-white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
        flex-direction: column; align-items: center; justify-content: center;
        transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 1000;
    }

    .nav-menu li { margin: 20px 0; margin-left: 0; }
    .nav-menu a { font-size: 1.2rem; }
    .nav-menu.active { right: 0; }

    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .hero h1 { font-size: 2.3rem; }
    .about-container { flex-direction: column; text-align: center; gap: 40px; }
    .about-image { max-width: 450px; width: 100%; }
    .about-text h2, .services h2, .portfolio-header h1, .prices-header h1, .testimonials-header h1 { font-size: 2.2rem; }
    
    .prices-container { padding-bottom: 40px; }
    .custom-info { margin: 0 20px 40px 20px; }
    .review-form-section { margin: 20px 20px 60px 20px; padding: 35px 20px; }
    .legal-container { padding: 30px 20px; border: none; box-shadow: none; }
}

@media (max-width: 576px) {
    .gallery-container { column-count: 1; column-gap: 0; padding-bottom: 60px; }
}


/* ==========================================================================
   RECHTSSICHERER COOKIE-BANNER & MODAL (WILDLIGHTPIXEL)
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
    z-index: 99999;
    padding: 25px 20px;
    transform: translateY(0);
    transition: transform var(--transition-smooth);
    border-top: 1px solid var(--color-border);
}

.cookie-banner.hidden {
    transform: translateY(110%);
    pointer-events: none;
}

.cookie-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.cookie-text p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: 8px;
}

.cookie-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.cookie-links a:hover {
    color: var(--color-primary);
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 260px;
}

.btn-cookie-primary {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cookie-primary:hover {
    background-color: #333333;
    border-color: #333333;
}

.btn-cookie-secondary {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cookie-secondary:hover {
    background-color: var(--color-bg-alt);
}

.cookie-settings-link {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 2px 0;
    text-align: center;
}

.cookie-settings-link:hover {
    color: var(--color-primary);
}

/* MODAL FÜR EINSTELLUNGEN */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.cookie-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cookie-modal-content {
    background: var(--color-white);
    padding: 35px;
    border-radius: var(--border-radius);
    max-width: 520px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.cookie-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.cookie-modal-close:hover {
    color: var(--color-primary);
}

.cookie-modal h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.cookie-modal > p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 20px;
}

.cookie-option {
    border-top: 1px solid var(--color-border);
    padding: 18px 0;
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-option-header strong {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-primary);
}

.cookie-option-header p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
    line-height: 1.4;
}

/* Switch Slider */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #dddddd;
    transition: .3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input:checked + .slider {
    background-color: var(--color-primary);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

input:disabled + .slider {
    background-color: #bbbbbb;
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .cookie-actions {
        width: 100%;
    }
}
