/* =========================================
   1. MODERN LIGHT THEME (Update)
   ========================================= */
:root {
    /* HINTERGRUND STRATEGIE */
    --bg-white: #ffffff;
    --bg-blue-light: #F0F4F8;
    
    --primary-blue: #1A3C5E;
    --accent-gold: #C5A065; 
    --text-main: #1A3C5E;
    --text-muted: #5d6d7e;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 1);
    --glass-blur: blur(12px);
    --card-shadow: 0 10px 40px rgba(26, 60, 94, 0.08);

    /* SCHRIFTEN (LOKAL / SYSTEM) */
    /* Wir nutzen jetzt klassische Serif-Schriften, die jeder PC hat */
    --font-heading: "Times New Roman", Times, Baskerville, Georgia, serif; 
    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth;}

body {
    font-family: var(--font-body);
    background: var(--bg-white); /* Standard ist jetzt sauber Weiß */
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ... (Hier deine bestehenden Klassen wie .glass-card, .headline-blue lassen) ... */


/* =========================================
   SEKTIONEN DESIGN (Das Zebra-Muster)
   ========================================= */

/* 1. USPs (Bleibt Weiß) */
.usp-section { 
    background-color: var(--bg-white);
    padding: 60px 0 80px 0; 
}

/* 2. KATEGORIEN (Bekommt das Eisblau + Bilder) */
.categories-section { 
    padding: 100px 0; 
    background-color: var(--bg-blue-light); /* Hier kommt das Blau zurück! */
    position: relative;
    /* Ein schräger Schnitt oben für Dynamik */
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    margin-top: -20px; /* Zieht es leicht hoch */
}

/* 3. FOUNDER (Bleibt Weiß für Kontrast) */
.founder-section { 
    padding: 120px 0 0 0; 
    background-color: var(--bg-white);
    position: relative; 
}

/* 4. KONTAKT (Wieder Eisblau) */
.contact-section { 
    padding: 100px 0;
    background-color: var(--bg-blue-light);
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 100%);
}


/* =========================================
   KARTEN MIT BILDERN (Update)
   ========================================= */

.tilt-card {
    height: 380px; /* Karte muss höher sein für Bild + Text */
    padding: 0; /* Kein Padding, damit das Bild an den Rand geht */
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; /* Inhalt oben starten */
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer; 
    overflow: hidden; /* Damit das Bild nicht überrundet */
    background: white;
}

/* Bild Container (Oben) */
.card-image-wrapper {
    width: 100%;
    height: 60%; /* Bild nimmt 60% der Karte ein */
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bild füllt den Bereich perfekt aus */
    transition: transform 0.6s ease;
}

/* Text Container (Unten) */
.card-content {
    padding: 25px;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    position: relative;
    z-index: 2;
}

.tilt-card h3 { 
    font-family: var(--font-heading); font-size: 1.8rem; 
    color: var(--primary-blue); margin-bottom: 5px; 
}
.tilt-card p { color: var(--accent-gold); font-weight: 600; }

/* HOVER EFFEKTE */
.tilt-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(26, 60, 94, 0.15);
    border-color: var(--accent-gold);
}

/* Bild zoomt leicht rein beim Hover */
.tilt-card:hover .card-img {
    transform: scale(1.1);
}

/* Shine Effekt (nur über dem Bild sichtbar machen) */
.card-shine {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom right, transparent, rgba(255,255,255,0.6), transparent);
    transform: translateX(-100%); transition: transform 0.5s;
    z-index: 5; pointer-events: none;
}
.tilt-card:hover .card-shine { transform: translateX(100%); }

/* =========================================
   2. HEADER (Lense / Glass Effekt zurück)
   ========================================= */
.main-header {
    height: 90px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    
    /* Der Lense-Effekt (Milchglas) */
    background: rgba(255, 255, 255, 0.7); /* Transparenter */
    backdrop-filter: blur(15px); /* Starker Weichzeichner dahinter */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-img { height: 55px; width: auto; display: block; }

.main-nav ul { list-style: none; display: flex; gap: 30px; }
.main-nav a { 
    text-decoration: none; 
    color: var(--primary-blue); 
    font-weight: 600; 
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.main-nav a:hover { color: var(--accent-gold); }


/* =========================================
   GLOBAL BUTTONS (Reparatur)
   ========================================= */

/* Basis-Klasse für ALLE Haupt-Buttons (Hero & Header & Kontakt) */
.primary-btn, .hero-btn, .cta-button {
    display: inline-block;
    background-color: var(--primary-blue); /* Dein Dunkelblau */
    color: white !important; /* Erzwingt Weiß */
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(26, 60, 94, 0.3);
    transition: all 0.3s ease;
}

/* Hover Effekt für alle Buttons */
.primary-btn:hover, .hero-btn:hover, .cta-button:hover {
    background-color: var(--accent-gold); /* Wird Gold */
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197, 160, 101, 0.5);
    color: white !important;
}

/* Speziell für den Hero-Button, falls er größer sein soll */
.hero-btn {
    margin-top: 30px;
    padding: 16px 45px; /* Etwas größer */
    font-size: 1rem;
}

/* Speziell für den Header Button, falls nötig */
.header-btn {
    padding: 10px 25px; /* Etwas kompakter */
    font-size: 0.8rem;
}

/* Volle Breite (z.B. im Kontaktformular) */
.full-width {
    width: 100%;
    text-align: center;
}
/* =========================================
   3. HERO SECTION (Mit Animation)
   ========================================= */
.hero-section {
    position: relative; height: 85vh; display: flex; align-items: center; justify-content: center;
    text-align: center; margin-top: -80px; padding-top: 80px;
}
.hero-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url('images/Hero_Startseite.jpg') no-repeat center center/cover;
    z-index: -2;
    opacity: 0; /* Start versteckt, damit wir ein sanftes Einblenden haben */
    animation: heroFadeIn 900ms ease forwards; /* Sanftes Einblenden beim Laden */
}
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    /* Overlay abgeschwächt, damit das Hintergrundbild sichtbar bleibt */
    background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(245, 247, 250, 0.25));
    z-index: -1;
}
/* --- HERO FÜR UNTERSEITEN (Mehr Raum) --- */
.hero-subpage {
    /* Vorher war es inline style="height: 50vh;" -> Das war zu eng */
    height: 65vh !important; 
    
    /* WICHTIG: Mindesthöhe, damit Text nie gequetscht wird */
    min-height: 550px; 
    
    /* Flex-Ausrichtung bleibt gleich */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optional: Überschrift auf Unterseiten minimal kleiner als auf Startseite, 
   damit die Proportionen stimmen */
.hero-subpage .modern-headline {
    font-size: 3.8rem; /* Startseite hat 4.5rem */
}

/* Hero Hintergrund Fade-in Animation */
@keyframes heroFadeIn {
    to { opacity: 1; }
}
/* --- Der 3D Slogan mit "Pop & Glow" Effekt --- */
.modern-headline {
    font-family: var(--font-heading);
    font-size: 4.5rem; 
    margin-bottom: 15px;
    
    /* 1. Der Gold-Verlauf (Background Clip) */
    /* Wir machen den Verlauf breiter (200%), damit wir ihn bewegen können */
    background: linear-gradient(
        to right,
        #a67c00,   /* Dunkles Gold */
        #e6c200,   /* Helles Gold */
        #ffd700,   /* Sehr helles Highlight */
        #e6c200,
        #a67c00
    );
    background-size: 200% auto;
    background-position: 0% center; /* Startposition */
    
    /* Text ausschneiden */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* 2. Der 3D Schatten (Basis) */
    /* Wenig Abstand = Text liegt nah am Hintergrund */
    text-shadow: 
        1px 1px 0px #8a6e00,
        0px 2px 5px rgba(0,0,0,0.1);

    /* 3. Die Animationseinstellungen */
    /* Wir animieren Größe, Schatten und Hintergrundposition gleichzeitig */
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default; /* Zeigt den normalen Mauszeiger */
}

/* --- DER HOVER ZUSTAND --- */
.modern-headline:hover {
    /* Text wird größer (Expand) */
    transform: scale(1.1); 
    
    /* Hintergrund bewegt sich (Schimmer-Effekt NUR im Text) */
    background-position: 100% center; 
    
    /* Schatten wird tiefer + Glühen (Glow) */
    text-shadow: 
        1px 1px 0px #8a6e00,
        2px 2px 0px #6e5800, /* Mehr 3D Tiefe */
        3px 3px 0px #524200,
        0px 10px 20px rgba(0,0,0,0.2), /* Schlagschatten weit unten */
        0px 0px 30px rgba(255, 215, 0, 0.6); /* Goldene Aura drumherum */
}

/* 4. Die Hover-Aktion */
.shiny-wrapper:hover::after {
    /* Bewegt den Reflex nach rechts durch */
    transform: skewX(-25deg) translateX(300%);
}

/* Die Animation für das Schimmern */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}
.hero-content p { font-size: 1.4rem; margin-bottom: 40px; color: var(--text-main); font-weight: 500;}

/* Load Animationen (Starten sofort) */
.load-anim { opacity: 0; transform: translateY(30px); animation: fadeUp 1s ease forwards; }
.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s;}
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s;}
.delay-3 { animation-delay: 0.6s; transition-delay: 0.6s;}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   4. ÖFFNUNGSZEITEN (Das Widget)
   ========================================= */
.opening-hours-bar {
    position: relative;
    z-index: 50; /* Hoch genug, damit es über allem liegt */
    margin-top: -80px; /* Zieht die Box in das Hero-Bild rein */
    padding-bottom: 60px;
}

.opening-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 50px;
    
    /* Design der Box */
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); /* Satter Schatten für 3D Effekt */
    max-width: 900px;
    margin: 0 auto; /* Zentriert die Box */
    gap: 40px;
    border: 1px solid rgba(0,0,0,0.05);
}

.widget-icon svg {
    width: 45px;
    height: 45px;
    stroke: var(--accent-gold);
}

.centered-text { text-align: left; }

.centered-text h3 { 
    color: var(--primary-blue); 
    margin-bottom: 8px; 
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: auto auto; /* Zwei Spalten: Tag | Zeit */
    gap: 5px 30px; /* Abstand zwischen Spalten */
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.day-label { 
    font-weight: 700; 
    color: var(--primary-blue); 
}
/* =========================================
   5. KATEGORIEN & USPs (Bereinigt)
   ========================================= */

/* --- A. USP SEKTION (Icons) --- */
.usp-section { 
    padding: 40px 0 80px 0; 
    background-color: var(--bg-white); /* Sicherstellen, dass es weiß ist */
}

.usp-grid { 
    display: flex; 
    justify-content: space-around; 
    text-align: center; 
    flex-wrap: wrap; 
    gap: 30px;
}

/* Der Kreis (Orb) */
.usp-orb {
    width: 70px; 
    height: 70px; 
    margin: 0 auto 20px;
    background: white;
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    color: var(--accent-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* WICHTIG für den Glanz-Effekt: */
    position: relative; 
    overflow: hidden; 
}

/* Das Icon im Kreis */
.usp-orb svg { 
    width: 35px; 
    height: 35px; 
    position: relative;
    z-index: 2; /* Liegt über dem Glanz */
}

/* Der Lichtreflex (Shiny Layer) */
.usp-orb::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom right, transparent, rgba(255,255,255,0.9), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
    z-index: 1;
}

/* USP Hover Effekte */
.usp-orb:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px rgba(197, 160, 101, 0.6);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.usp-orb:hover::after {
    transform: translateX(100%);
}


/* --- B. KATEGORIEN SEKTION (Karten) --- */

.categories-section { 
    padding: 100px 0; 
    background-color: var(--bg-blue-light); /* Eisblau */
    position: relative;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%); /* Schräge Kante oben */
    margin-top: -20px;
}

.section-intro { text-align: center; margin-bottom: 50px; }
.section-intro h2 { font-size: 2.5rem; }

.category-grid-3d { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
}

/* Das Design der Karte */
.tilt-card {
    min-height: 500px; /* Flexibel für viel Text */
    height: 100%;
    
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    position: relative;
    cursor: pointer; 
    
    background: white;
    border-radius: 20px; /* Runde Ecken */
    overflow: hidden;    /* Bild abschneiden */
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* 1. Das Bild (Oben) */
.card-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* 2. Der Inhalt (Unten) */
.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
    position: relative;
    z-index: 2;
}

/* Die Haupt-Überschrift (z.B. "Schlafen") */
.tilt-card h3 { 
    font-family: var(--font-heading); 
    font-size: 1.8rem; 
    color: var(--primary-blue); 
    margin-bottom: 5px; 
}

/* Die Goldene Unter-Überschrift (z.B. "Fundament Ihrer Erholung") */
.tilt-card h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Der Beschreibungstext */
.card-text { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    line-height: 1.6;
}

.card-text strong {
    color: var(--accent-gold);
    font-weight: 600;
}

/* --- KARTEN INTERAKTION --- */

/* Hover: Karte hebt ab */
.tilt-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(26, 60, 94, 0.15);
    border-color: var(--accent-gold);
}

/* Hover: Bild zoomt */
.tilt-card:hover .card-img {
    transform: scale(1.1);
}

/* Shine Effekt über dem Bild */
.card-shine {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom right, transparent, rgba(255,255,255,0.6), transparent);
    transform: translateX(-100%); 
    transition: transform 0.5s;
    z-index: 5; 
    pointer-events: none;
}

.tilt-card:hover .card-shine { 
    transform: translateX(100%); 
}
/* =========================================
   6. SEKTIONEN: FOUNDER & IMKER (Final Fix)
   ========================================= */

/* --- SECTION 1: GRÜNDER (Weiß) --- */
.founder-section { 
    /* WICHTIG: Kein negativer Margin mehr! Das löst das Platzproblem. */
    margin-top: 0; 
    padding: 80px 0; 
    background-color: var(--bg-white); /* Reinweiß */
    position: relative; 
    z-index: 5;
}

/* --- SECTION 2: IMKER (Eisblau) --- */
/* Wir nennen die Sektion jetzt explizit .imker-section */
.imker-section {
    padding: 100px 0;
    background-color: var(--bg-blue-light); /* Eisblau zur Abhebung */
    /* Schräge Kante oben für modernen Look */
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    margin-top: -50px; /* Zieht den blauen Bereich leicht unter den weißen für den Schnitt */
    padding-top: 120px; /* Ausgleich für den Schnitt */
}

/* Das Grid-Layout für beide Bereiche */
.founder-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
}

/* --- DIE GLOBALE SHINY CARD (Der Text-Kasten) --- */
.shiny-card {
    padding: 50px; 
    position: relative; 
    overflow: hidden; 
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px; 
    border: 1px solid rgba(255, 255, 255, 0.6); 
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.shiny-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 60, 94, 0.15);
    border-color: var(--accent-gold);
}

/* Der Lichtreflex */
.shiny-card::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.2) 70%, transparent 100%);
    transform: skewX(-25deg) translateX(-150%); z-index: 1; pointer-events: none;
}
.shiny-card:hover::after { transform: skewX(-25deg) translateX(150%); transition: transform 0.8s ease-in-out; }
.shiny-card > * { position: relative; z-index: 5; }

/* Typografie */
.shiny-card h2 { font-size: 2.2rem; margin-bottom: 20px; line-height: 1.2; }
.sub-headline { font-weight: 700; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 10px; }


/* --- BILDER STYLES (Vereinheitlicht!) --- */
/* Diese Klasse gilt jetzt für BEIDE Bilder (Uli & Ulips) */
.cutout-img {
    width: 100%; 
    max-width: 450px; /* Begrenzte Breite */
    height: auto; 
    display: block;
    margin: 0 auto; /* Zentriert */
    
    /* Der wichtige Schatten-Effekt (statt Rahmen) */
    filter: drop-shadow(0 15px 30px rgba(26, 60, 94, 0.3));
    
    /* Keine Masken, keine Rahmen */
    border: none;
    border-radius: 0;
    transition: transform 0.4s ease;
}

/* Leichter Schwebe-Effekt beim Hover über das Bild */
.cutout-img:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Responsive */
@media (max-width: 900px) {
    .founder-grid { grid-template-columns: 1fr; gap: 40px; }
    .imker-section { clip-path: none; margin-top: 0; padding-top: 60px; }
}
/* --- VARIANTE: EISBLAUE KACHEL --- */
/* Diese Klasse überschreibt den weißen Hintergrund der normalen Shiny Card */
.shiny-card.ice-blue {
    background-color: var(--bg-blue-light); /* Unser Eisblau */
    border-color: white; /* Weißer Rand sieht auf Blau edel aus */
}
.shiny-card.ice-blue:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 60, 94, 0.15);
    border-color: var(--accent-gold);
}
/* =========================================
   7. SCROLL ANIMATION KLASSEN (NEU)
   ========================================= */

/* Ausgangszustand: Unsichtbar und verschoben */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out; /* Schön langsam */
}

/* Endzustand: Sichtbar */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Slide in von rechts (für Ulrich) */
.slide-in-right {
    opacity: 0;
    transform: translateX(100px); /* Startet weiter rechts */
    transition: all 1.2s ease-out;
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================
   8. KONTAKT & FOOTER
   ========================================= */
.contact-section { padding: 80px 0; }
.contact-container { padding: 50px; text-align: center; max-width: 700px; margin: 0 auto; background: white;}
.contact-form-light { margin-top: 30px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px;}
.glass-input {
    background: #f9f9f9; border: 1px solid #eee; padding: 15px; border-radius: 8px; font-size: 1rem; color: var(--text-main);
}
.glass-input:focus { outline: none; border-color: var(--accent-gold); background: white;}
.full-width { width: 100%; }
.light-footer {
    background: #fff; padding: 30px 0; text-align: center; color: var(--text-muted); border-top: 1px solid #eee;
}

@media (max-width: 900px) {
    .opening-widget { flex-direction: column; text-align: center; padding: 20px;}
    .hours-grid { grid-template-columns: 1fr; text-align: center;}
    .founder-grid { grid-template-columns: 1fr; }
    .founder-img { mask-image: none; margin-top: 20px;}
}
/* =========================================
   FOOTER (Dark Blue & Clean)
   ========================================= */
.main-footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 80px 0 30px 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Logo im Footer (Repariert: Mit weißem Kasten) */
.footer-logo {
    height: 55px; /* Etwas größer, damit es im Kasten gut wirkt */
    width: auto;
    margin-bottom: 20px;
    
    /* WICHTIG: Filter entfernen, damit man die Originalfarben sieht */
    filter: none; 
    opacity: 1;
}

.footer-col h4 {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px; /* Kleiner Ruck nach rechts */
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}
/* =========================================
   STYLES FÜR UNTERSEITEN (Final)
   ========================================= */

/* --- VIDEO WRAPPER (Update: Kleiner & Zentriert) --- */
.video-container {
    position: relative;
    
    /* Hier stellen wir die Größe ein: */
    width: 100%; 
    max-width: 700px; /* Begrenzt die Breite auf 700px -> Video wirkt kleiner/edler */
    margin: 0 auto 40px auto; /* "0 auto" zentriert die Box horizontal */
    
    /* Das Verhältnis 16:9 beibehalten (Höhe passt sich Breite an) */
    aspect-ratio: 16 / 9; 
    
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #000;
}

/* Das Video selbst füllt den Container aus */
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- REINIGUNGS-TABELLE (Neu: Grid System) --- */
.cleaning-table-grid {
    display: grid;
    /* Definition: Erste Spalte automatisch, dann 4 gleich große Spalten */
    grid-template-columns: auto repeat(4, 1fr);
    gap: 15px;
    margin: 40px 0;
    align-items: stretch;
}

/* Kopfzeilen & Labels (Blau) */
.table-label {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-weight: 700;
    padding: 15px;
    display: flex; align-items: center; justify-content: center; text-align: center;
    background: rgba(255,255,255,0.5); /* Leicht hinterlegt */
    border-radius: 12px;
    font-size: 0.9rem;
}
/* Speziell für die erste Spalte links (Bettdecken/Kissen) */
.table-row-header {
    justify-content: flex-start;
    font-size: 1.1rem;
    background: transparent; /* Kein Hintergrund hier */
}

/* Die Daten-Zellen (Glass Look) */
.table-cell {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    display: flex; align-items: center; justify-content: center;
    font-weight: 500;
    color: var(--text-main);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.table-cell:hover {
    transform: translateY(-3px);
    border-color: var(--accent-gold);
    color: var(--primary-blue);
}

/* Responsive Tabelle für Handys */
@media (max-width: 768px) {
    .cleaning-table-grid {
        grid-template-columns: 1fr 1fr; /* Nur noch 2 Spalten */
        gap: 10px;
    }
    .table-corner { display: none; } /* Leere Ecke ausblenden */
    
    /* Zeilenüberschriften werden zu Zwischenüberschriften */
    .table-row-header {
        grid-column: 1 / -1; /* Über volle Breite */
        background: var(--primary-blue); color: white;
        margin-top: 20px; border-radius: 8px; padding: 10px;
    }
}

/* --- BETTENGUIDE (Steps) --- */
.guide-step { margin-bottom: 80px; }
.step-number {
    display: inline-block; background: var(--accent-gold); color: white;
    padding: 5px 15px; border-radius: 50px; font-weight: 700; text-transform: uppercase;
    font-size: 0.8rem; margin-bottom: 10px; letter-spacing: 1px;
}
.grid-small { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.selection-card {
    background: white; border: 1px solid rgba(0,0,0,0.05); border-radius: 12px;
    padding: 20px; text-align: center; cursor: pointer; transition: all 0.3s;
}
.selection-card:hover {
    border-color: var(--primary-blue); box-shadow: 0 5px 15px rgba(26, 60, 94, 0.1); transform: translateY(-3px);
}
.selection-card h4 { color: var(--primary-blue); margin-bottom: 5px; font-family: var(--font-heading);}
.selection-card p { font-size: 0.9rem; color: var(--text-muted); }
.guide-step .glass-card {
    min-height: 240px; /* Cards im Guide werden generell höher */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/* =========================================
   BILDER STYLES (Finaler Größen-Fix)
   ========================================= */

/* 1. Die Haupt-Regel für ALLE Personen-Bilder */
/* Egal ob Startseite (.founder-img) oder Unterseite (.cutout-img) */
.founder-img, 
.cutout-img,
.ulips-img {
    width: 100%; 
    
    /* HIER IST DER FIX: Maximale Breite wird erzwungen */
    max-width: 500px !important; 
    
    height: auto; 
    display: block;
    margin: 0 auto; /* Zentriert das Bild im Container */
}

/* 2. Style für das Bild MIT Hintergrund (Normalerweise Startseite) */
.founder-img {
    /* Verlauf nach unten (Maske), damit es weich ausläuft */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    
    /* Animation beim Laden */
    animation: slideIn 1.5s ease-out;
}

/* 3. Style für FREIGESTELLTE Bilder (Cutouts & Ulips) */
/* Falls du das Cutout-Bild auf der Startseite nutzt, nimm im HTML die Klasse "cutout-img" */
.cutout-img, 
.ulips-img {
    /* Wichtig: Hier keine Maske, sondern Schatten */
    mask-image: none !important;
    -webkit-mask-image: none !important;
    
    filter: drop-shadow(0 15px 30px rgba(26, 60, 94, 0.3));
    border: none;
    border-radius: 0;
    transition: transform 0.4s ease;
}

/* Leichter Schwebe-Effekt beim Hover (nur für Cutouts) */
.cutout-img:hover, 
.ulips-img:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Sicherstellen, dass Gold auch Gold ist */
.gold-text {
    color: var(--accent-gold) !important;
    font-weight: 700;
    letter-spacing: 2px;
}
/* =========================================
   SERVICE SEITE STYLES (Final)
   ========================================= */

/* 1. OBERER BEREICH (Video & Tabelle) - Eisblau & Schräg */
.service-blue-section {
    background-color: var(--bg-blue-light); /* Eisblau */
    
    /* Der schräge Schnitt oben und unten */
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 100%);
    
    margin-top: -50px; /* Zieht den Bereich in den Hero rein */
    padding-top: 120px; /* Platz für den Schnitt oben */
    padding-bottom: 100px;
    position: relative;
    z-index: 5;
}

/* 2. UNTERER BEREICH (Weitere Services) - Weiß & Schräg */
.service-white-section {
    background-color: var(--bg-white); /* Reinweiß */
    
    /* Schräger Schnitt oben, damit es wie eine Welle wirkt */
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    
    margin-top: -50px; /* Zieht es unter den blauen Bereich */
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    z-index: 4;
}

/* 3. SPLIT LAYOUT (Video Links | Tabelle Rechts) */
.cleaning-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 60px;
    align-items: center; 
}

/* 4. TABELLE IN SHINY CARD */
/* Wir nutzen die existierende .shiny-card Klasse, passen aber die Tabelle an */
.cleaning-table-grid {
    display: grid;
    grid-template-columns: auto repeat(4, 1fr);
    gap: 10px;
    margin: 30px 0;
    font-size: 0.9rem;
}

.table-label {
    font-weight: 700; color: var(--primary-blue); padding: 10px;
    text-align: center; border-radius: 8px;
    background: rgba(26, 60, 94, 0.05); /* Ganz zartes Blau */
}
.table-row-header { text-align: left; background: transparent; font-size: 1rem; }

.table-cell {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 8px; padding: 10px; text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 1000px) {
    .cleaning-split-grid { grid-template-columns: 1fr; gap: 40px; }
    .service-blue-section, .service-white-section { clip-path: none; margin-top: 0; padding-top: 60px; }
}
/* =========================================
   MOBILE OPTIMIERUNG (FINAL - ZERO SPACE)
   ========================================= */
@media only screen and (max-width: 900px) {

    /* --- 1. GLOBAL --- */
    :root { font-size: 14px; }
    .container { width: 94% !important; max-width: 100% !important; padding: 0 !important; }
    section { padding: 30px 0 !important; margin: 0 !important; clip-path: none !important; }
    
    /* Schriften */
    h1.modern-headline { 
        font-size: 1.8rem !important; 
        line-height: 1.1; margin-bottom: 8px; color: #ffffff !important; 
        text-shadow: 0 2px 10px rgba(0,0,0,1);
    }
    .hero-content p { 
        color: #1A3C5E !important; 
        text-shadow: 0 1px 5px rgb(252, 252, 252); 
        font-size: 1rem !important;
    }
    h2 { font-size: 1.6rem !important; }
    h3 { font-size: 1.1rem !important; }


    /* --- 2. HEADER --- */
    .main-header { 
        height: auto !important; padding: 5px 0 !important; 
        position: sticky !important; top: 0; z-index: 9999;
        background: rgba(255, 255, 255, 0.7) !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        backdrop-filter: blur(6px); /* Starker Weichzeichner dahinter */
        -webkit-backdrop-filter: blur(6px);
    }
    .header-content { flex-direction: column !important; gap: 4px !important; align-items: center !important; }
    .logo-link { display: flex; justify-content: center; width: 100%; }
    .logo-img { height: 40px !important; width: auto !important; object-fit: contain; }
    .main-nav ul { padding: 0 !important; justify-content: center !important; display: flex !important; flex-wrap: wrap !important; gap: 5px !important; margin: 5px 0 0 0 !important; }
    .main-nav a { font-size: 0.8rem !important; padding: 5px 8px !important; background: #f4f4f4; border-radius: 4px; }
    .header-btn { margin-top: 4px !important; padding: 5px 15px !important; font-size: 0.8rem !important; width: auto !important; display: inline-block !important; } 


    /* --- 3. HERO & BUTTON --- */
    .hero-section, .hero-subpage {
        min-height: 250px !important; height: auto !important;
        padding: 60px 0 70px 0 !important;
        background-position: center 20% !important; 
    }
    .hero-overlay { opacity: 0.15 !important; background: white !important; }
    .hero-content { padding: 0 10px; width: 100%; text-align: center; }

    .hero-content .primary-btn {
        padding: 12px 14px !important;
        font-size: 0.85rem !important;
        line-height: 1 !important;
        width: auto !important; display: inline-block !important;
        margin-top: 11px !important;
        border: none !important;
        background-color: var(--primary-blue) !important; 
        color: white !important;
    }


    /* --- 4. ÖFFNUNGSZEITEN BOX (ZERO SPACE FIX) --- */
    .opening-hours-bar { 
        margin-top: -60px !important; 
        padding: 0 !important; 
        position: relative; z-index: 20; 
    }
    
    /* Haupt-Container */
    .shiny-card.opening-widget {
        padding: 12px !important; 
        width: 90% !important; max-width: 340px !important; margin: 0 auto !important; 
        display: flex !important; flex-direction: column !important; align-items: center !important;
        min-height: 0 !important;
        /* WICHTIG: Gap auf 0 setzen, damit Flex-Items kleben */
        gap: 0 !important; 
    }
    
    /* 1. Das Icon-Div: Abstand nach unten löschen */
    .widget-icon { 
        margin: 0 0 5px 0 !important; /* Nur 5px Luft nach unten */
        padding: 0 !important;
        line-height: 0 !important; /* Verhindert extra Zeilenhöhe */
        height: auto !important;
    }
    .widget-icon svg { width: 25px !important; height: 25px !important; display: block !important; }

    /* 2. Das Text-Wrapper-Div: ALLE Abstände löschen */
    /* Das war wahrscheinlich der Übeltäter! */
    .widget-text, .centered-text {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }

    /* 3. Die Überschrift: Eng anbinden */
    .opening-widget h3 { 
        margin: 0 0 8px 0 !important; /* Nur kleiner Abstand zum Text darunter */
        padding: 0 !important;
        font-size: 1.1rem !important; 
        line-height: 1.2 !important;
    }

    /* 4. Das Zeit-Grid */
    .hours-grid {
        display: flex !important; flex-direction: column !important; gap: 2px !important;
        align-items: center !important; width: 100%; margin: 0 !important;
    }

    .day-label {
        display: block !important;
        font-weight: 700 !important; color: var(--primary-blue) !important;
        font-size: 0.9rem !important; margin: 5px 0 0 0 !important; 
    }
    .day-label:first-child { margin-top: 0 !important; } /* Erster Tag klebt direkt an Überschrift */

    .time-label {
        display: block !important;
        font-size: 0.85rem !important; color: #555 !important; margin: 0 !important;
    }


    /* --- 5. SONSTIGE ELEMENTE --- */
    .usp-grid { display: grid !important; grid-template-columns: 1fr 1fr 1fr !important; gap: 2px !important; padding: 0; }
    .usp-orb { width: 35px !important; height: 35px !important; margin: 0 auto 5px auto !important; }
    .usp-orb svg { width: 18px !important; height: 18px !important; }
    .usp-grid h3 { font-size: 0.8rem !important; margin: 0; overflow: visible !important; 
    white-space: normal !important; }
    .usp-grid p { display: none !important; } 

    .founder-grid, .cleaning-split-grid, .category-grid-3d, .footer-grid { 
    grid-template-columns: 1fr !important; 
    gap: 25px !important; }
    .founder-image-wrapper { order: -1 !important; margin-bottom: 10px !important; }
    .founder-img, .cutout-img, .ulips-img { max-width: 80% !important; margin: 0 auto !important; }
    
    .grid-small {
    grid-template-columns: 1fr 1fr !important; 
    gap: 15px !important;
    }
    /* Service Tabelle */
    .compact-table-container { padding: 10px !important; }
    .cleaning-table-grid { display: flex !important; flex-direction: column !important; gap: 0 !important; }
    .table-corner, .cleaning-table-grid .table-label:nth-child(-n+5) { display: none !important; }
    .table-row-header { background: var(--primary-blue) !important; color: white !important; text-align: center !important; margin-top: 10px; border-radius: 4px 4px 0 0; padding: 5px; font-size: 0.9rem; }
    .table-row-header:first-of-type { margin-top: 0 !important; }
    .table-cell { display: flex !important; justify-content: space-between !important; padding: 5px 10px !important; font-size: 0.8rem !important; background: white !important; border-bottom: 1px solid #eee !important; text-align: right !important; }
    
    .cleaning-table-grid .table-cell:nth-child(7)::before { content: "Normal:"; font-weight: 700; color: #777; }
    .cleaning-table-grid .table-cell:nth-child(8)::before { content: "Vielschwitzer:"; font-weight: 700; color: #777; }
    .cleaning-table-grid .table-cell:nth-child(9)::before { content: "Allergiker:"; font-weight: 700; color: #777; }
    .cleaning-table-grid .table-cell:nth-child(10)::before { content: "Flecken:"; font-weight: 700; color: var(--accent-gold); }
    .cleaning-table-grid .table-cell:nth-child(12)::before { content: "Normal:"; font-weight: 700; color: #777; }
    .cleaning-table-grid .table-cell:nth-child(13)::before { content: "Vielschwitzer:"; font-weight: 700; color: #777; }
    .cleaning-table-grid .table-cell:nth-child(14)::before { content: "Allergiker:"; font-weight: 700; color: #777; }
    .cleaning-table-grid .table-cell:nth-child(15)::before { content: "Flecken:"; font-weight: 700; color: var(--accent-gold); }
}