/*
Theme Name: Matenhun Child 2.0 
Description: Ocean-inspired child theme for Matenhun with enhanced customizer support
Template: twentytwentyfour
Version: 2.2
Author: Anja Hagedorn
Text Domain: matenhun-child
URI: https://matenhun.com
License: Private - All Rights Reserved
Copyright: © 2025 Matenhun/Reef Guardian e.V.
*/

/* BODY PADDING ENTFERNEN - HÖCHSTE PRIORITÄT */
body {
    padding: 0 !important;
    margin: 0 !important;
}

.wp-site-blocks {
    padding: 0 !important;
    margin: 0 !important;
}

/* ===== MATENHUN CUSTOM STYLES ===== */

:root {
    --container: 1200px;
    --space: clamp(12px, 2vw, 20px);
    --shadow: 0 10px 30px rgba(0,0,0,.08);
    --ocean-blue: #0ea5e9;
    --ocean-teal: #14b8a6;
    --ocean-dark: #0f172a;
    /* NEU: Customizer Variablen aus functions.php */
    /* Diese werden dynamisch über PHP gesetzt */
    --primary-color: #2c5aa0;
    --secondary-color: #f39c12;
    --background-color: #ffffff;
    --slider-height: 500px;
    --products-per-slide: 3;
    /* NEU: Hero Design Variablen */
    --logo-size: 120px;
    --glass-alpha: 0.15;
    --logo-gap: 20px;
    --title-subtitle-spacing: 16px;
    --hero-bg-color: #0ea5e9;
    --hero-button-color: #0ea5e9;
    /* NEU: Font Variablen */
    --header-font: 'Inter', system-ui, sans-serif;
    --hero-font: 'Inter', system-ui, sans-serif;
    --body-font: 'Inter', system-ui, sans-serif;
    --footer-font: 'Inter', system-ui, sans-serif; 
    /* Design Konsistenz Variablen */
    --border-radius: 18px;
    --border-radius-small: 12px;
    --border-radius-large: 25px;
    --border-radius-round: 50px;
}

/* ===== GLOBAL RESETS ===== */
* {
    box-sizing: border-box;
}

/* ANGEPASST für neue functions.php - Body Font Variable */
body {
    font-family: var(--body-font);
    line-height: 1.5;
    color: #0b0b0b;
    overflow-x: hidden;
    background-color: var(--background-color); /* NEU */
}

/* ANGEPASST - Primär/Sekundär Farben */
a {
    color: var(--primary-color);
}

    a:hover {
        color: var(--secondary-color);
    }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space);
}

/* ===== HEADER STYLES ===== */
/* ANGEPASST für neue functions.php - Header Font Variable */
.site-header {
   position: fixed;
   inset: 0 0 auto 0;
   z-index: 9999;
   background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.12) 70%, rgba(0,0,0,0));
   backdrop-filter: blur(6px);
   border-bottom: 1px solid rgba(255,255,255,.14);
   color: #fff;
   transition: background .3s ease, color .3s ease;
   font-family: var(--header-font); /* NEU */
}

.site-header a {
   color: #fff;
   text-decoration: none;
   transition: color .3s ease;
}

.site-header a:hover {
   color: #c6f3ff;
}

.site-header .inner {
   padding: 10px var(--space);
}

.site-header.scrolled {
   background: rgba(255,255,255,.95);
   backdrop-filter: blur(6px);
   color: #000;
}

.site-header.scrolled a,
.site-header.scrolled .nav a,
.site-header.scrolled .topbar a,
.site-header.scrolled .mainbar a {
   color: #000 !important;
}

.site-header.scrolled a:hover {
   color: #666 !important;
}

.topbar, .mainbar {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 14px;
}

.topbar {
   padding-bottom: 6px;
}

.mainbar {
   padding-top: 6px;
   border-top: 1px solid rgba(255,255,255,.14);
}

/* NEU: Custom Logo Support im Header */
.site-header .brand {
    display: flex;
    align-items: center;
}

    .site-header .brand .custom-logo {
        height: 40px;
        width: auto;
        filter: brightness(0) invert(1);
        opacity: 0.95;
    }

    .site-header .brand .title {
        font-weight: 700;
        font-size: 1.2rem;
        letter-spacing: -0.02em;
    }

/* Language Flags */
.site-header .lang {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .site-header .lang ul {
        display: flex;
        gap: 8px;
        margin: 0;
        padding: 0;
    }

    .site-header .lang li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .site-header .lang img {
        height: 18px;
        width: auto;
        vertical-align: middle;
        filter: drop-shadow(0 1px 1px rgba(0,0,0,.35));
    }

/* Navigation Menu */
.nav .menu {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
}

    .nav .menu li {
        list-style: none;
    }

    .nav .menu a {
        opacity: .96;
        font-weight: 700;
    }

        .nav .menu a:hover {
            opacity: 1;
            transform: translateY(-1px);
        }

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0,0,0,.95);
        backdrop-filter: blur(10px);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all .3s ease;
    }

        .nav.open {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .nav .menu {
            flex-direction: column;
            padding: 20px;
            gap: 16px;
        }
}

/* ===== HERO SECTION ===== */
/* ANGEPASST für neue functions.php - alle Hero Customizer Variablen */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--hero-bg-color); /* NEU: Customizer Farbe */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    font-family: var(--hero-font); /* NEU */
}

    /* HINTERGRUNDBILD */
    .hero.has-custom-bg {
        background-image: var(--hero-bg-url);
    }

    /* OVERLAY - ANGEPASST: wird jetzt in functions.php gesetzt */
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1;
        /* Opacity wird über inline CSS von functions.php gesetzt */
    }

    .hero .content {
        position: relative;
        z-index: 2;
        text-align: center;
        max-width: 900px;
        margin: 0 auto;
        padding: 2rem;
    }

/* TITLE BOX - ANGEPASST für Customizer Transparenz */
.hero-title-box {
    display: inline-block;
    background-color: rgba(255, 255, 255, var(--glass-alpha, 0.10))!important; /* NEU: Variable Transparenz */
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--title-subtitle-spacing); /* NEU: Variable Spacing */
    transition: transform 0.3s ease, background 0.3s ease;
}

    .hero-title-box:hover {
        transform: translateY(-5px);
    }

/* ANGEPASST für Customizer Logo Gap */
.hero-title-content {
    display: flex;
    align-items: center;
    gap: var(--logo-gap); /* NEU: Variable Gap */
    flex-wrap: nowrap !important;
    white-space: nowrap;
    justify-content: center;
    transition: gap 0.3s ease;
}

/* WILLKOMMEN TEXT */
.hero-welcome-text {
    font-family: var(--hero-font); /* NEU */
    font-size: clamp(1.8rem, 3vw, 2rem);
    font-weight: 400;
    color: #2d3748;
    line-height: 1.2;
    white-space: nowrap;
}

/* LOGO - ANGEPASST für Customizer Logo Size */
.hero-logo-section {
    flex-shrink: 0;
}

.hero-logo {
    height: var(--logo-size); /* NEU: Variable Logo Size */
    max-height: var(--logo-size);
    width: auto;
    max-width: 300px;
    display: inline-block;
    margin-top: 10px; /* Manuell nach unten verschieben */
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: height 0.3s ease, max-height 0.3s ease !important;
    border: 3px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px) !important;
}

/* UNTERTITEL - ANGEPASST für Variable Spacing */
.hero-subtitle {
    font-family: var(--hero-font); /* NEU */
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin-top: var(--title-subtitle-spacing); /* NEU */
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* CTA BUTTON - ANGEPASST für Customizer Button Color */
.cta,
.hero-cta-button { /* NEU: Zusätzliche Klasse */
    display: inline-block;
    background: var(--hero-button-color); /* NEU: Variable Button Color */
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--hero-font); /* NEU */
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
    text-transform: none;
    border: 2px solid var(--hero-button-color); /* NEU */
}

    .cta:hover,
    .hero-cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5);
        background: var(--secondary-color); /* NEU: Hover zu Secondary Color */
        border-color: var(--secondary-color);
        color: #fff;
        text-decoration: none;
    }

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-title-box {
        padding: 25px 40px;
    }

    .hero-title-content {
        gap: calc(var(--logo-gap) * 0.75); /* ANGEPASST */
    }

    .hero-logo {
        height: calc(var(--logo-size) * 0.8); /* ANGEPASST */
        max-height: calc(var(--logo-size) * 0.8);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding: 2rem 0;
    }

        .hero .content {
            padding: 1.5rem;
        }

    .hero-title-box {
        padding: 20px 30px;
        margin-bottom: 1.5rem;
    }

    .hero-title-content {
        flex-direction: column;
        gap: calc(var(--logo-gap) * 0.5); /* ANGEPASST */
        text-align: center;
    }

    .hero-welcome-text {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .hero-logo {
        height: calc(var(--logo-size) * 0.7); /* ANGEPASST */
        max-height: calc(var(--logo-size) * 0.7);
    }

    .hero-subtitle {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .cta,
    .hero-cta-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title-box {
        padding: 15px 20px;
    }

    .hero-welcome-text {
        font-size: 1.4rem;
    }

    .hero-logo {
        height: calc(var(--logo-size) * 0.5); /* ANGEPASST */
        max-height: calc(var(--logo-size) * 0.5);
    }

    .hero-title-content {
        gap: calc(var(--logo-gap) * 0.5); /* ANGEPASST */
    }
}

/* ===== RESPONSIVE - AB TABLET/MOBILE ===== */
@media (max-width: 768px) {
    /* Produkte Grid */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    /* About Section */
    .about-content {
        padding: 2rem 1rem;
    }
    .about-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Team Section - Weiße Box anpassen */
    .team-section {
        padding: 2rem 0;
    }
    
    .team-section > .wp-block-group,
    .team-section > div {
        padding: 40px 20px; /* Reduziert von 60px 40px */
        margin: 0 1rem; /* Seitenabstand */
    }
    
    .team-content {
        flex-direction: column;
        padding: 0; /* Kein doppeltes Padding */
        margin: 1.5rem 0 0 0;
        gap: 1.5rem;
    }
    
    .team-image-container {
        flex: 1 1 100%;
    }
    
    .team-text {
        font-size: 1rem;
    }
    
    .team-member-name {
        font-size: 18px;
    }
}

/* Sehr kleine Screens */
@media (max-width: 480px) {
    .team-section > .wp-block-group,
    .team-section > div {
        padding: 30px 15px;
        margin: 0 0.5rem;
    }
    
    .about-content {
        padding: 1.5rem 0.75rem;
    }
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
}

    .section.alt {
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    }

    .section h2 {
        text-align: center;
        font-size: clamp(2rem, 4vw, 3rem);
        font-family: 'Inter', system-ui, sans-serif;
        margin: 0 0 1rem 0;
        color: var(--ocean-dark);
        font-weight: 700;
    }

    .section p {
        text-align: center;
        font-size: 1.2rem;
        color: #64748b;
        margin: 0 0 3rem 0;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
/* ===== ABOUT SECTION ===== */

/* About Text: Blocksatz mit Silbentrennung - NUR im About-Bereich */

section#about {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
}

section#about .about-content-wrapper .about-text p {
    text-align: justify !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
    word-break: break-word !important;
    margin-bottom: 1.2rem !important;
}

/* Welcome Überschrift - NUR im About-Bereich */
section#about .about-content-wrapper .about-text p:first-child {
    text-align: center !important;
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #0ea5e9 !important;
    margin-bottom: 2rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 3px solid #14b8a6 !important;
    line-height: 1.4 !important;
}

/* About Content Wrapper - breiter, mit Schatten */
section#about .about-content-wrapper {
    max-width: 1200px !important;                          /* ← NEU */
    margin: 0 auto !important;                             /* ← NEU */
    background: #ffffff !important;                        /* ← NEU */
    border-radius: 18px !important;                        /* ← NEU */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important; /* ← NEU */
    padding: 3rem 2.5rem !important;                       /* ← Geändert (war 2.5rem 1.5rem) */
}

/* About Text Container - etwas breiter */
section#about .about-text {
    max-width: 900px !important;  /* Statt aktuell ~600px */
    margin: 0 auto !important;
    width: 100% !important;
}

/* Instagram Button im About-Bereich */
section#about .about-social {
    text-align: center;
    margin-top: 2rem;
}

section#about .about-social .social-media-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn.instagram {
    background: linear-gradient(135deg, #E4405F, #F77737, #FCAF45);
    background: -moz-linear-gradient(135deg, #E4405F, #F77737, #FCAF45);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.social-btn.instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.4);
    color: white;
    text-decoration: none;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    section#about .about-content-wrapper .about-text p:first-child {
        font-size: 1.3rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    section#about .about-content-wrapper {
        padding: 1.5rem 1rem !important;
    }
}

@media (max-width: 480px) {
    section#about .about-content-wrapper .about-text p:first-child {
        font-size: 1.1rem !important;
        padding-bottom: 0.8rem !important;
    }
    
    section#about .about-content-wrapper {
        padding: 1rem 0.8rem !important;
    }
    
    section#about .about-content-wrapper .about-text p {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
    }
}

/* ===== TEAM SECTION - BILD LINKS, TEXT RECHTS ===== */
.team-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --team-img-w: clamp(600px, 46vw, 720px);
}
/* Team Section - Titel mit in die Box ziehen */
.team-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --team-img-w: clamp(600px, 46vw, 720px);
}

/* Wrapper um Titel + Content */
.team-section > .wp-block-group,
.team-section > div {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 60px 40px;
}

.team-content {
    display: flex !important;
    align-items: flex-start;
    gap: 2rem;
    padding: 0; /* ENTFERNT: Kein doppeltes Padding */
    margin: 2rem 0 0 0; /* Abstand vom Titel */
}
.team-content {
    display: flex !important;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space);
}
.team-image-container {
    flex: 0 0 600px;
}
.team-image-hero {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px; /* <- Semikolon hinzugefügt */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Team-Namen Styles */
.team-names {
    margin-top: 15px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.team-member-name {
    border-radius: 8px;
    font-size: 20px;
    font-weight: 500;
    color: #333;
    display: inline-block;
}

.team-text {
    flex: 1;
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: left;
    max-width: 68ch;
}
.section.team-section p { text-align: left; }

/* Mobile */
@media (max-width: 768px) {
    .team-content {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
    
    .team-image-container {
        flex-basis: auto;
    }
    
    .team-text {
        text-align: center;
        max-width: none;
    }
    
    /* Team-Namen Mobile */
    .team-names {
        margin-top: 10px;
        gap: 8px;
    }
    
    .team-member-name {
        font-size: 13px;
        padding: 6px 12px;
    }
}

/* ===== KONTAKT SECTION ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 2rem;
}

.maps-container {
    position: relative;
    border-radius: var(--border-radius); /* 20px entfernen */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 450px;
}

.google-maps-embed {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius); /* 20px entfernen */
}

.maps-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, #0ea5e9 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.maps-content .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    }

    .contact-card h3 {
        font-size: 1.3rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .contact-card .icon {
        font-size: 1.5rem;
        color: var(--secondary-color);
    }

.contact-address {
    color: #64748b;
    line-height: 1.6;
}

.hours-list {
    color: #64748b;
    line-height: 1.6;
}

.whatsapp-section {
    text-align: center;
    margin-top: 1rem;
}

/* ==== Instagram Button ==== */
.about-social {
    text-align: center;
    margin-top: 2rem;
}

.about-social .social-media-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn.instagram {
    background: linear-gradient(135deg, #E4405F, #F77737, #FCAF45);
    background: -moz-linear-gradient(135deg, #E4405F, #F77737, #FCAF45);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.social-btn.instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(228, 64, 95, 0.4);
    color: white;
    text-decoration: none;
}

/* ===== FOOTER STYLES ===== */
/* ANGEPASST für neue functions.php - Footer Font Variable */
.site-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    color: #64748b !important;
    text-align: center;
    padding: 2rem var(--space) 2rem;
    font-family: var(--footer-font);
}

    .site-footer a {
        color: var(--primary-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .site-footer a:hover {
            color: var(--secondary-color);
        }

/* Footer Partner Styles - NEU: Unterstützung für Footer Logos aus Customizer */
.footer-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    margin-bottom: 2rem;
    padding: 1rem var(--space) 1rem; /*Abstand der Logos nach oben */
    border-top: 1px solid rgba(255,255,255,.09);
}

    .footer-partners img,
    .footer-partners .partner-logo {
        height: 45px;
        width: auto;
        filter: grayscale(0) brightness(1.1) contrast(1.1); /* Ganz ohne Graustufen */
        opacity: 1;
        transition: filter 0.25s, opacity 0.2s, transform 0.25s;
        margin: 0 0.6rem;
    }

        .footer-partners img:hover,
        .footer-partners .partner-logo:hover {
            filter: none;
            opacity: 1;
            transform: translateY(-2px);
        }

.footer-contact {
    margin-bottom: 1.2rem;
    color: #374151; 
    font-size: 1.02rem;
    line-height: 1.6;
    opacity: 0.96;
}

.footer-socials {
    margin-bottom: 1.8rem;
    display: flex;
    justify-content: center;
    gap: 1.1rem;
}

    .footer-socials a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.08);
        border-radius: 50%;
        color: var(--primary-color);
        font-size: 1.4rem;
        transition: all 0.3s ease;
    }

        .footer-socials a:hover {
            background: var(--primary-color);
            color: #fff;
            transform: scale(1.1);
        }

.footer-copyright {
    color: #4b5563;
    font-size: 0.98rem;
    opacity: 0.82;
    margin-top: 1.4rem;
    letter-spacing: 0.01em;
}

/* Footer Links konsistent */
.footer-nav a,
.compliance-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-nav a:hover,
    .compliance-links a:hover {
        color: var(--primary-color);
    }

/* ===== MOBILE: FOOTER ===== */
@media (max-width: 768px) {
    .site-footer {
        padding: 2rem var(--space) 1.3rem;
        font-size: 0.97rem;
    }

    .footer-partners {
        gap: 1.1rem;
        margin-bottom: 2.1rem;
        padding-top: 0.7rem;
    }

        .footer-partners img,
        .footer-partners .partner-logo {
            height: 28px;
            margin: 0 0.3rem;
        }

    .footer-contact {
        margin-bottom: 0.9rem;
    }

    .footer-socials {
        margin-bottom: 1rem;
        gap: 0.6rem;
    }

        .footer-socials a {
            width: 28px;
            height: 28px;
            font-size: 1.06rem;
        }

    .footer-copyright {
        font-size: 0.87rem;
        margin-top: 0.8rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1.3rem var(--space) 0.7rem;
    }

    .footer-partners {
        gap: 0.6rem;
        margin-bottom: 1.1rem;
        padding-top: 0.5rem;
    }

        .footer-partners img,
        .footer-partners .partner-logo {
            height: 18px;
        }

    .footer-socials a {
        width: 22px;
        height: 22px;
        font-size: 0.89rem;
    }

    .footer-copyright {
        font-size: 0.78rem;
        margin-top: 0.4rem;
    }
}

/* Ganz unten in der style.css, nach dem Footer CSS */

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 15px 25px; /* Mobile/Standard */
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
     /* Mobile-Fixes: */
    -webkit-transform: translateZ(0); /* iOS Fix */
    transform: translateZ(0);
    backface-visibility: hidden; /* iOS Fix */
}

/* Desktop: Breiter Button */
@media (min-width: 769px) {
    .whatsapp-floating-button {
        padding: 18px 35px; /* Größer auf Desktop */
        font-size: 1.1rem;
        gap: 10px;
    }
}

/* Mobile: Kompakter Button */
@media (max-width: 768px) {
    .whatsapp-floating-button {
        padding: 12px 20px; /* Kompakter auf Mobile */
        font-size: 0.9rem;
        bottom: 15px;
        right: 15px;
    }
}

.whatsapp-floating-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
    color: white;
    text-decoration: none;
}

/* Hero Mobile Fix - ERWEITERT */
@media (max-width: 768px) {
    .hero { 
        background-attachment: scroll !important; 
        min-height: 60vh !important;
        min-height: 60svh !important; 
        padding: 6rem 0 1rem !important;
    }
    
    /* NEU HINZUFÜGEN: */
    .hero .content {
        padding: 2rem 1.5rem 1.5rem !important;
        margin-top: 1rem !important;
    }
    
    .contact-container { grid-template-columns: 1fr !important; }
    .site-header .lang { display: none !important; }
}

/* Sehr kleine Bildschirme */
@media (max-width: 480px) {
    .hero {
        min-height: 45vh !important;
        min-height: 45svh !important;
    }
    
    /* NEU HINZUFÜGEN: */
    .hero .content {
        margin-top: 0.5rem !important;
    }
}

/* ===== MOBILE FIXES - AN STYLE.CSS ANHÄNGEN ===== */

/* Hero Mobile Fix - MIT HEADER-ABSTAND */
@media (max-width: 768px) {
    .hero { 
        background-attachment: scroll !important; 
        min-height: 60vh !important;
        min-height: 60svh !important;
        padding: 6rem 0 1rem !important;
    }
    
    .hero .content {
        padding: 2rem 1.5rem 1.5rem !important;
        margin-top: 1rem !important;
    }
    
    .contact-container { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .contact-info { order: 1; }
    .maps-container { order: 2; height: 300px !important; }
    
    .site-header .lang { display: none !important; }
}

/* Sehr kleine Bildschirme */
@media (max-width: 480px) {
    .hero {
        min-height: 45vh !important;
        min-height: 45svh !important;
        padding: 5rem 0 1rem !important;
    }
    
    .hero .content {
        margin-top: 0.5rem !important;
    }
    
    .maps-container { height: 250px !important; }
}