@charset "utf-8";
/* CSS Document */

/* =========================================
   ÖFFNUNGSZEITEN - MOBILE GRID
   ========================================= */

.opening-hours-mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    font-size: 15px;
}

.opening-hours-mobile .oh-row {
    display: grid;
    grid-template-columns: 35px 1fr 1fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
    align-items: center;
}

.opening-hours-mobile .oh-row:last-child {
    border-bottom: none;
}

.opening-hours-mobile .oh-day {
    font-weight: 700;
    color: #223a66;
}

.opening-hours-mobile .oh-time {
    text-align: left;
    color: #555;
}

/* Alternating row background */
.opening-hours-mobile .oh-row:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.03);
    margin: 0 -10px;
    padding: 10px;
}

 

  /* <!-- Alert Banner Styles --> */

        .alert-banner {
            background: linear-gradient(135deg, #f4c542 0%, #e6b800 100%);
            color: #333;
            padding: 12px 20px;
            text-align: center;
            position: relative;
            z-index: 9999;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .alert-banner a {
            color: #333;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        .alert-banner a:hover {
            color: #000;
            text-decoration: underline;
        }
        .alert-banner .alert-icon {
            font-size: 20px;
        }
        .alert-banner .alert-close {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0,0,0,0.1);
            border: none;
            color: #333;
            font-size: 18px;
            cursor: pointer;
            padding: 5px 10px;
            border-radius: 4px;
            line-height: 1;
            transition: all 0.3s ease;
        }
        .alert-banner .alert-close:hover {
            background: rgba(0,0,0,0.2);
        }
        .alert-banner.hidden {
            display: none;
        }
        @media (max-width: 768px) {
            .alert-banner {
                padding: 10px 50px 10px 15px;
                font-size: 14px;
            }
            .alert-banner .alert-close {
                right: 10px;
            }
        }

/* =========================================
   KONTAKT-BOXEN - GLEICHE HÖHE
   ========================================= */

.contact-boxes-row {
    display: flex;
    flex-wrap: wrap;
}

.contact-boxes-row > [class*="col-"] {
    display: flex;
}

.contact-boxes-row .contact-block {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0, 42, 106, 0.1);
    margin-bottom: 30px;
}

.contact-boxes-row .contact-block i {
    font-size: 40px;
    color: #0095b1;
    margin-bottom: 15px;
}

.contact-boxes-row .contact-block h5 {
    margin-bottom: 15px;
    color: #223a66;
}

.contact-boxes-row .contact-block span {
    color: #6f8ba4;
    line-height: 1.8;
}

.contact-boxes-row .contact-block a {
    color: #0095b1;
}

.contact-boxes-row .contact-block a:hover {
    color: #223a66;
}
/* =========================================
   URLAUBS-POPUP / HOLIDAY MODAL
   ========================================= */

/* Body scroll lock */
body.no-scroll {
    overflow: hidden;
}

/* Overlay - blockiert die Seite */
.holiday-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.holiday-overlay.hidden {
    display: none;
}

/* Popup Container */
.holiday-popup {
    background: #fff;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.4s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Header mit Logo */
.holiday-header {
    background: linear-gradient(135deg, #223a66 0%, #0095b1 100%);
    padding: 20px;
    text-align: center;
    border-radius: 15px 15px 0 0;
}

.holiday-logo {
    max-width: 200px;
    height: auto;
}

/* Content Bereich */
.holiday-content {
    padding: 30px;
    text-align: center;
}

.holiday-icon {
    font-size: 50px;
    margin-bottom: 10px;
}

.holiday-content h2 {
    color: #223a66;
    margin-bottom: 15px;
    font-size: 28px;
}

.holiday-wish {
    color: #0095b1;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Datum-Bereich */
.holiday-dates {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.holiday-dates p {
    margin: 5px 0;
    color: #666;
}

.holiday-date-range {
    font-size: 24px !important;
    font-weight: 700;
    color: #e74c3c !important;
    margin: 10px 0 !important;
}

/* Warnung */
.holiday-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    color: #856404;
    font-weight: 500;
}

.holiday-warning i {
    margin-right: 8px;
    color: #ffc107;
}

/* Vertretungspraxen */
.holiday-substitutes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.substitute-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #0095b1;
}

.substitute-date {
    font-size: 12px;
    color: #0095b1;
    font-weight: 600;
    margin-bottom: 10px;
    background: rgba(0, 149, 177, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.substitute-name {
    font-size: 16px;
    font-weight: 700;
    color: #223a66;
    margin-bottom: 5px;
}

.substitute-address {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.substitute-phone a {
    color: #0095b1;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

.substitute-phone a:hover {
    color: #223a66;
}

.substitute-phone i {
    margin-right: 5px;
}

/* Footer mit Button */
.holiday-footer {
    background: #f8f9fa;
    padding: 20px 30px;
    text-align: center;
    border-radius: 0 0 15px 15px;
    border-top: 1px solid #dee2e6;
}

.holiday-footer .btn {
    padding: 12px 40px;
    font-size: 16px;
}

/* Mobile Anpassungen */
@media (max-width: 576px) {
    .holiday-popup {
        margin: 10px;
        max-height: 95vh;
    }
    
    .holiday-content {
        padding: 20px;
    }
    
    .holiday-content h2 {
        font-size: 22px;
    }
    
    .holiday-date-range {
        font-size: 20px !important;
    }
    
    .holiday-substitutes {
        grid-template-columns: 1fr;
    }
    
    .substitute-box {
        padding: 15px;
    }
    
    .holiday-logo {
        max-width: 150px;
    }
}
/* =========================================
   SERVICE-BOXEN - GLEICHE HÖHE
   ========================================= */

.service-boxes-row {
    display: flex;
    flex-wrap: wrap;
}

.service-boxes-row > [class*="col-"] {
    display: flex;
    margin-bottom: 30px;
}

.service-boxes-row .service-item {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0, 42, 106, 0.1);
    margin-bottom: 0 !important;
}

.service-boxes-row .service-item .content {
    flex-grow: 1;
}

.service-boxes-row .service-item .content p {
    margin-bottom: 0;
}