/* ============================================== */
/* 1. Globaler Reset (WICHTIG für Full-Width Header) */
/* ============================================== */
body, html {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    overflow-x: hidden; /* Verhindert horizontale Scrollbalken */
}

/* ============================================== */
/* 2. Header-Container */
/* ============================================== */
header.hero-image-container { 
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    margin-top: 0;           
    padding: 0;
}

/* ============================================== */
/* ZUSCHNITTKORREKTUR: Kontakt-Seite (Desktop) */
/* ============================================== */

#kontakt-page-header img {
    /* Wir verschieben das Bild um 65% seiner Höhe nach oben, um die Tischebene zu sehen. 
       WERT KANN NOCH FEINJUSTIERT WERDEN. */
    object-position: 50% 65% !important; 
}

/* ============================================== */
/* ZUSCHNITTKORREKTUR: Kontakt-Seite (Mobile) */
/* ============================================== */
@media (max-width: 767px) {
    #kontakt-page-header img {
        /* Erzwingt den zentralen Ausschnitt (Tischebene) auch auf Mobilgeräten */
        object-position: 50% 70% !important; 
    }
}
/* ============================================== */
/* 3. Bild-Regeln (Maske und Position) */
/* ============================================== */
header.hero-image-container img { 
    width: 100%;
    height: 100%; 
    object-fit: cover !important; 
    object-position: 50% 50% !important; 
    
    /* Verlauf Maske (Desktop) 
    mask-image: linear-gradient(to right, 
        rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%
    );
    -webkit-mask-image: linear-gradient(to right, 
        rgba(0,0,0,0) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%
    ); */
}


/* ============================================== */
/* 4. LOGO/SLOGAN ANPASSUNGEN (Mobile und Desktop) */
/* ============================================== */

/* Globale/Desktop-Regel (Gilt für Desktop/Tablet ab 768px) */
/* Hier wird der Slogan unter den Logo-Schriftzug (rechts vom Icon) verschoben */
.logo-slogan {
    /* Setzt den standardmäßigen Versatz für Desktop (Icon-Breite) */
    transform: translateX(40px); 
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9em; 
}

/* MOBILE ANPASSUNG: Slogan-Größe für Handys (bis 767px) */
@media (max-width: 767px) {
    
    #logo-slogan-section img {
        /* Logo-Breite auf Mobilgeräten garantieren */
        width: 90% !important; 
        max-width: 90% !important;
    }
    
    .logo-slogan {
        /* ✅ KORREKTUR: Entfernt den Versatz für Handys, sodass der Text mittig unter dem Icon/Logo-Block zentriert wird */
        transform: translateX(0) !important;
        max-width: 90% !important;
        font-size: 0.8em; /* Schriftgröße leicht reduziert */
    }
}


/* Spezifische Regel für alle Links mit der Klasse .btn-primary */
a.btn.btn-primary.btn-lg {
    background-color: #024977 !important; 
    border-color: #024977 !important;     
}

/* Spezifische Regel für den Hover-Zustand */
a.btn.btn-primary.btn-lg:hover,
a.btn.btn-primary.btn-lg:focus {
    background-color: #083c39 !important; 
    border-color: #083c39 !important;
}

/* ============================================== */
/* 5. Navigation (Hintergrund & Media Query) */
/* ============================================== */

#main-nav-blue {
    /* Standard-Hintergrund für Mobilgeräte */
    background-color: #09223f !important;
    border-radius: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}
/*
@media (min-width: 992px) {
    #main-nav-blue {
        Verlauf: Nur für Desktop 
        background: linear-gradient(to right, 
            #ffffff 0%, #09223f 15%, #09223f 85%, #ffffff 100%
        ) !important; 
    }
} */

/* ------------------------------------------------------------------- */
/* Navigations-Links Styling (Schrift, Schatten, Hover) */
/* ------------------------------------------------------------------- */

#main-nav-blue .navbar-nav .nav-item .nav-link {
    font-family: 'Oswald', sans-serif; 
    text-transform: uppercase; 
    font-weight: 500;
    color: #fff !important; 
    text-decoration: none; 
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); 
    position: relative; 
    padding: 10px 15px; 
    background-color: transparent !important; 
    border-radius: 0;
    transition: all 0.3s ease; 
}

#main-nav-blue .navbar-nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    width: 0; 
    height: 3px; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    background-color: #024977; 
    transition: width 0.3s ease-out; 
}

#main-nav-blue .navbar-nav .nav-item .nav-link:hover::after {
    width: 100%;
}

#main-nav-blue .navbar-nav .nav-item.active .nav-link::after {
    width: 100%; 
    background-color: #2eccfa;
}

/* Fix für Textfarbe */
.text-muted {
    color: #024977 !important;
}

/* ============================================== */
/* 7. Footer Styling */
/* ============================================== */

#footer-contact-area {
    background-color: #6c757d;
    color: #fff;
	text-decoration: none;
}

.rounded {
border-radius: 3.0rem !important;
}
.footer-button {
    background-color: #024977 !important; 
    border-color: #024977 !important;
    color: #fff !important;
    text-transform: uppercase;
}

.footer-button:hover {
    background-color: #083c39 !important; 
    border-color: #083c39 !important;
}

.footer-bottom-bar {
    background-color: #495057;
    color: #fff;
    font-size: 0.9rem;
}

.footer-bottom-bar a {
    color: #fff;
    margin: 0 5px;
}

/* Zusätzlicher Bootstrap-Button-Fix */
.btn-primary {
    color: #fff;
    background-color: #024977;
    border-color: #024977;
}
/* ============================================== */
/* 8. Cookie Banner Styling */
/* ============================================== */

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Stellt sicher, dass das Banner über allem liegt */
    background-color: #343a40; /* Dunkler Hintergrund */
    color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

#cookie-banner.cookie-hidden {
    transform: translateY(100%); /* Versteckt das Banner außerhalb des Bildschirms */
}

.cookie-text {
    font-size: 0.9rem;
    padding-right: 20px;
}

.cookie-link {
    color: #adb5bd !important; /* Heller Link */
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .cookie-buttons {
        margin-top: 10px;
        flex-shrink: 0;
    }
    #cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
}
.footer-button {
text-decoration: none !important;
}
/* ============================================== */
/* 10. Individuelle Kontakt-Buttons (Farbe: #024977) */
/* ============================================== */

/* Grundstil für alle neuen Kontakt-Buttons */
.contact-button-primary,
.contact-button-tel,
.contact-button-email,
.contact-button-whatsapp {
    font-weight: 500;
    text-align: center;
    border: none;
    color: #fff !important; /* Text immer weiß */
    transition: background-color 0.2s ease;
}

/* 1. ADRESSE / GOOGLE MAPS BUTTON (Dunkelblau) */
.contact-button-primary {
    background-color: #024977; /* Hauptfarbe */
    font-size: 1.1rem;
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: normal; /* Erlaubt Zeilenumbruch für die Adresse */
}

.contact-button-primary:hover {
    background-color: #003657; /* Dunklerer Ton beim Hover */
}

/* 2. TELEFON BUTTON (Blau-Akzent) */
.contact-button-tel {
    background-color: #0d6efd; /* Helles Bootstrap-Blau (guter Kontrast) */
}

.contact-button-tel:hover {
    background-color: #0548a3;
}

/* 3. E-MAIL BUTTON (Sekundärfarbe - Grau/Silber) */
.contact-button-email {
    background-color: #6c757d; 
}

.contact-button-email:hover {
    background-color: #5a6268;
}

/* 4. WHATSAPP BUTTON (WhatsApp Grün) */
.contact-button-whatsapp {
    background-color: #25D366; /* Offizielles WhatsApp Grün */
}

.contact-button-whatsapp:hover {
    background-color: #128C7E;
}

/* Style für Icons innerhalb der Buttons */
.contact-button-primary i,
.contact-button-tel i,
.contact-button-email i,
.contact-button-whatsapp i {
    margin-right: 8px;
    width: 20px; /* Feste Breite für Icons */
	
}	


@media (max-width: 767px) {
    
    /* Wir fügen die höchste Priorität für den Container hinzu */
    body header.hero-image-container { 
        height: 100px !important; 
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }
    
    body header.hero-image-container img {
        /* Erzwingt den zentralen Ausschnitt */
        object-position: 30% 70% !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }
}

/* ============================================== */
/* ZUSCHNITTKORREKTUR: Preise-Seite (Sparschwein) */
/* ============================================== */

#preise-banner img {
    /* Hier überschreiben wir die Standardposition (50% 50%).
    Der Wert 70% verschiebt den oberen Rand weiter nach OBEN, 
    wodurch mehr vom UNTEREN Bildbereich (Sparschwein) sichtbar wird.
    Passen Sie den Wert (z.B. 60% oder 75%) an, bis das Sparschwein perfekt sitzt.
    */
    object-position: 50% 70% !important; 
}

/* KORREKTUR für Mobile, damit das Sparschwein auch dort sichtbar ist */
@media (max-width: 767px) {
    #preise-banner img {
        /* Ggf. auf Mobilgeräten einen höheren Wert wählen, da das Verhältnis flacher ist */
        object-position: 50% 75% !important; 
    }
}
/* ============================================== */
/* ZUSCHNITTKORREKTUR: UEBER MICH (Porträt) */
/* ============================================== */

#ueber-mich-page-header img {
    /* Setzt das Bild nach unten, um das Gesicht und die Gitarre zu zeigen. 
       25% bedeutet, dass der obere 25%-Punkt des Bildes an den oberen Rand des Containers gezogen wird. */
    object-position: 50% 30% !important; 
}

/* KORREKTUR für Mobile */
@media (max-width: 767px) {
    #ueber-mich-page-header img {
        /* Auch auf Mobilgeräten muss das Bild nach unten verschoben werden */
        object-position: 50% 35% !important; 
    }
}
/* ============================================== */
/* DSGVO Blocking CSS */
/* ============================================== */

/* Versteckt das iFrame, solange es blockiert ist */
#google-maps-iframe {
    display: none; 
}

/* Stellt sicher, dass der Platzhalter sichtbar ist */
#map-placeholder {
    display: block; 
    /* Stellt sicher, dass der Platzhalter die gleiche Größe wie das iFrame hat */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa; /* Hintergrundfarbe des Platzhalters */
    display: flex; /* Zentriert den Inhalt */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}