/*
Theme Name:   Astra Child
Theme URI:    https://my-dentist.de
Description:  Individuelles Child Theme für Astra
Author:       Dr. Andreas Winkler von Mohrenfels
Template:     astra
Version:      1.0.0
*/

/* ==========================================================================
   Custom Top-Header Styling
   ========================================================================== */

/* Äußerer Balken über die volle Bildschirmbreite + Sticky-Verhalten */
.custom-top-header {
    background-color: #f8f9fa;
    color: #333333;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    padding: 8px 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Innerer Container */
.custom-top-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

/* Verhindert ungewollten Zeilenumbruch im Text */
.top-header-col {
    white-space: nowrap;
}

/* Links im Top-Header (Telefon & Adresse) */
.top-header-phone a,
.top-header-address a {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.top-header-phone a:hover,
.top-header-address a:hover {
    text-decoration: underline;
}

/* Responsive Anpassung für den Top-Header */
@media (max-width: 921px) {
    .custom-top-header-container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 0 15px;
    }
}


/* ==========================================================================
   Sticky Navigation (Hauptmenü)
   ========================================================================== */

.site-header {
    position: sticky;
    top: 35px; /* Höhe der oberen Leiste */
    z-index: 999;
    background-color: #ffffff; /* Verhindert Durchscheinen beim Scrollen */
}


/* ==========================================================================
   Öffnungszeiten Section
   ========================================================================== */

.opening-hours-section {
    max-width: 1200px;
    margin: 50px auto 90px auto; /* Unten 90px Abstand zu Google Maps */
    padding: 0 20px;
    box-sizing: border-box;
}

.opening-hours-container {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.opening-hours-container h2 {
    text-align: center;
    margin-bottom: 25px;
}

.opening-hours-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
}

.opening-hours-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}


/* ==========================================================================
   Anfahrts- & Google-Maps-Bereich
   ========================================================================== */

.anfahrt-section {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Mehr Abstand (50px) zwischen der Google-Karte und den 3 Info-Spalten */
.anfahrt-info-container {
    max-width: 1200px;
    margin: 70px auto 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    box-sizing: border-box;
}

.info-col {
    flex: 1;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0056b3;
    text-align: center;
}

.info-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

/* Responsive Ansicht für Mobilgeräte */
@media (max-width: 768px) {
    .anfahrt-info-container {
        flex-direction: column;
        gap: 15px;
    }
}