/* --- style.css --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
    --primary-gold: #c6a66b;
    --gold-gradient: linear-gradient(135deg, #c6a66b 0%, #a88a53 100%);
    --dark-bg: #121212;
    --light-bg: #fafafa;
    --beige-box: #fdfaf4;
    --text-dark: #1a1a1a;
    --text-muted: #555;
    --border-gold: rgba(198, 166, 107, 0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.7;
}

/* --- Navigation --- */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* --- Header Logo Zoom --- */
.logo img { 
    height: 55px; /* Hält den Balken schmal */
    transform: scale(2.3); /* Zoomt das Logo um 50% heran */
    transform-origin: left center; /* Sorgt dafür, dass es nach rechts zoomt und nicht links aus dem Bild rutscht */
    transition: transform 0.3s ease;
}

/* Leichter Hover-Effekt, wenn man mit der Maus drüber geht */
.logo:hover img { 
    transform: scale(1.55); 
}

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

nav ul li a {
    text-decoration: none;  
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: 0.3s;
    position: relative;
}

nav ul li a:hover { color: var(--primary-gold); }

/* --- PREMIUM HERO SECTION --- */
.hero-wrapper {
    background: linear-gradient(rgba(18, 18, 18, 0.4), rgba(18, 18, 18, 0.4)), url('images/Hero.png') center/cover;
    background-color: #222;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Schiebt die Box nach links */
    padding: 140px 5% 60px;
}

.hero-box {
    background: rgba(253, 250, 244, 0.1); /* HIER GEÄNDERT: Viel durchsichtiger (0.4 statt 0.85) */
    backdrop-filter: blur(20px); /* HIER GEÄNDERT: Blur leicht verstärkt für den echten Milchglas-Look */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 70px 60px;
    border-radius: 12px;
    max-width: 750px; 
    text-align: left; 
    margin-left: 5%; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    border-bottom: 6px solid var(--primary-gold);
    animation: popIn 1s ease-out forwards;
}

@keyframes popIn {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-box h1 {
    font-size: 3.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-box h1 span {
    color: var(--primary-gold);
}

.hero-box .subtitle {
    font-size: 1.25rem;
    color: #ffff;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: 0; /* WICHTIG: Entfernt das auto-margin, damit es links bleibt */
}

.btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start; /* Buttons nach links */
}

.btn {
    background: var(--gold-gradient);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(198, 166, 107, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(198, 166, 107, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-gold);
    box-shadow: none;
}

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

/* --- Layout --- */
main {
    padding-bottom: 80px;
}

section {
    padding: 80px 5%;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 span { color: var(--primary-gold); }

.category-title {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- KERNBEREICHE - NEUES KREATIVES DESIGN --- */
.kernbereiche-section {
    position: relative;
    padding: 100px 5%;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.kernbereiche-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0; /* Keine Lücke, wir überlappen */
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.dynamic-panel {
    position: relative;
    padding: 70px 60px;
    border-radius: 12px;
    text-align: left;
    transition: all 0.5s ease;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-gold);
}

.dynamic-panel:hover {
    transform: scale(1.03);
    z-index: 10;
}

.dynamic-panel i.main-icon {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
    display: block;
}

.dynamic-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    letter-spacing: 1px;
}

/* Der Grid-Inhalt statt dichte Texte */
.panel-grid-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.grid-item {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.grid-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.grid-item i {
    font-size: 1.3rem;
    color: var(--primary-gold);
    width: 25px;
    text-align: center;
}

.grid-item-text b {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.grid-item-text span {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.dynamic-panel a.details-link {
    color: var(--primary-gold);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.dynamic-panel a.details-link:hover {
    color: var(--primary-hover);
}

.dynamic-panel a.details-link i {
    margin-left: 5px;
    font-size: 0.9rem;
}

/* Linkes Paneel - Leicht nach innen geneigt */
.left-panel {
    border-radius: 12px 0 0 12px;
    transform: perspective(1000px) rotateY(2deg);
    transform-origin: right center;
    box-shadow: 5px 10px 40px rgba(0,0,0,0.05);
}

/* Rechtes Paneel - Überlappt leicht, nach innen geneigt */
.right-panel {
    border-radius: 0 12px 12px 0;
    transform: perspective(1000px) rotateY(-2deg) translateX(-10px);
    transform-origin: left center;
    z-index: 5; /* Leicht überlappend */
    box-shadow: -5px 10px 40px rgba(0,0,0,0.05);
    background-color: #fff; /* Wichtig für die Überlappung */
}

/* CTA Box */
.cta-box {
    background: var(--dark-bg);
    padding: 70px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    margin: 100px auto 0;
    max-width: 1200px;
}/* Zentriert NUR die Buttons in der schwarzen CTA-Box */
.cta-box .btn-group {
    justify-content: center;
}/* --- Boxen-Style NUR für Über uns & Leistungen --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 70px;
}

.service-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-gold);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(198, 166, 107, 0.15);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 25px;
    display: block;
    text-align: center;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}/* --- Abstand nach oben NUR für Unterseiten --- */
body:not(.home) main {
    padding-top: 80px;
}/* --- Fix für Abstände und Listen auf Unterseiten --- */

/* Sorgt für Abstand zwischen den Boxen-Sektionen */
section {
    padding: 80px 5%; 
}

/* Rückt die Aufzählungspunkte in den Boxen ordentlich ein */
.service-card ul {
    list-style: none; /* Entfernt die Standard-Punkte */
    padding: 0;
    margin: 20px 0;
    text-align: left; /* Text in der Liste linksbündig */
}

.service-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

/* Fügt ein schönes goldenes Häkchen vor jeden Punkt ein */
.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}     /* --- KONTAKT SEITE STYLING --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 40px auto 0;
    text-align: left;
}

.contact-info, .contact-form-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border-top: 4px solid var(--primary-gold);
}

.contact-info h3, .contact-form-card h3 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 1.05rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item i {
    font-size: 1.3rem;
    color: var(--primary-gold);
    width: 45px;
    height: 45px;
    background: rgba(198, 166, 107, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-item b {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item span, .info-item span a {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.info-item span a:hover {
    color: var(--primary-gold);
}

/* Formular Styling */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    font-size: 1rem;
    background-color: var(--light-bg);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    background-color: #fff;
    box-shadow: 0 0 10px rgba(198, 166, 107, 0.1);
}

/* Responsive Ansicht */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}      

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 60px 5% 30px;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-links a { color: #888; text-decoration: none; margin: 0 15px; font-size: 0.85rem; }
.footer-links a:hover { color: var(--primary-gold); }

/* Responsive */
@media (max-width: 900px) {
    .kernbereiche-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .left-panel, .right-panel {
        transform: none;
        border-radius: 12px;
        translateX: 0;
        z-index: 1;
    }
    .dynamic-panel { padding: 50px 30px; }
}
@media (max-width: 768px) {
    .hero-box { padding: 40px 20px; }
    .hero-box h1 { font-size: 2.5rem; }
    header { flex-direction: column; padding: 15px; gap: 15px; }
}/* --- BURGER BUTTON (Auf PC unsichtbar) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 10px;
    transition: all 0.3s linear;
    transform-origin: 1px;
}

/* X-Animation */
.menu-toggle.open .bar:nth-child(1) { transform: rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; transform: translateX(20px); }
.menu-toggle.open .bar:nth-child(3) { transform: rotate(-45deg); }

/* --- EVNA BAU MOBILE ANSICHT (Handy) --- */
@media (max-width: 768px) {
    /* Header wieder ordentlich nebeneinander setzen */
    header { 
        flex-direction: row !important; 
        justify-content: space-between;
        padding: 15px 5%;
    }

    /* Burger Button einblenden */
    .menu-toggle {
        display: flex;
    }

    /* Das Menü vorbereiten (gleitet von oben) */
    nav {
        width: 100%;
        position: absolute;
        top: 100%; /* Direkt unter dem weißen Header ansetzen */
        left: 0;
    }

    nav ul.nav-links {
        display: flex;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        gap: 0;
        
        /* Drop-Down Animation (versteckt auf Höhe 0) */
        max-height: 0;
        overflow: hidden;
        padding: 0;
        margin: 0;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    }

    /* Wenn Menü geöffnet wird */
    nav ul.nav-links.active {
        max-height: 400px; 
        padding: 20px 0;
        border-top: 1px solid #eee;
    }

    nav ul.nav-links li {
        margin: 15px 0;
        text-align: center;
        /* Leicht nach oben verschoben, für den weichen Einflug */
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* Links fliegen ein */
    nav ul.nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Gestaffelter Effekt für die Links */
    nav ul.nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    nav ul.nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    nav ul.nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    nav ul.nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
}/* Fix für das lange Wort "Gebäudereinigung" auf kleinen Handys */
h1, h2, h3 {
    hyphens: auto;
    -webkit-hyphens: auto; /* Für iPhones */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Speziell für sehr schmale Bildschirme (unter 400px) */
@media (max-width: 400px) {
    h1 {
        font-size: 1.8rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }

    .dynamic-panel h3, 
    .service-card h3 {
        font-size: 1.3rem !important;
    }
}/* --- FOOTER SOCIAL MEDIA --- */
.footer-socials {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.social-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
}

.social-icon {
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1); 
    text-decoration: none; /* <-- Das entfernt den Unterstrich! */
}

.social-icon:hover {
    color: #ffffff;
    background-color: var(--primary-color); /* Beim Drüberfahren wird der Kreis in deiner Firmenfarbe eingefärbt */
    transform: translateY(-3px); /* Hebt sich leicht an */
}