.interactive-region {
    fill: #ebc07c;
    stroke: #000000;
    stroke-width: 0px;
    cursor: pointer;
    transition: fill 0.3s ease, transform 0.2s ease-in-out;
}

.interactive-region:hover {
    fill: #fbbb21;
}

.interactive-region2 {
    fill: #fff;
    stroke: #000000;
    stroke-width: 0px;
    cursor: pointer;
    transition: fill 0.3s ease, transform 0.2s ease-in-out;
}

.interactive-region2:hover {
    fill: #000;
}

.svg-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    font-family: Arial, sans-serif;
    border-radius: 5px;
    white-space: nowrap;
    pointer-events: none; /* Verhindert, dass der Tooltip den Hover beeinflusst */
    z-index: 1000;
}


.tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    display: none;
    pointer-events: none;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease-in-out;
}


.svg-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    font-family: Arial, sans-serif;
    border-radius: 5px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1000;
}


html {
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

/* Globale horizontale Scrollcontainer */
[style*="overflow-x: auto"],
[style*="overflow-x:auto"],
[style*="overflow-x: scroll"],
[style*="overflow-x:scroll"] {
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* Direktkinder von horizontalen Scrollcontainern */
[style*="overflow-x: auto"] > *,
[style*="overflow-x:auto"] > *,
[style*="overflow-x: scroll"] > *,
[style*="overflow-x:scroll"] > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}

 html {
     scroll-behavior: smooth;
 }

/* Verhindert horizontales Scrollen auf allen Seiten */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Sicherstellen, dass alle Container sich flexibel anpassen */
.w-container {
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Navigation auf Mobile und Desktop fixieren */
.navbar {
    width: 100% !important;
    max-width: 100vw !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    position: fixed !important;
    top: 0;
    left: 0;
    background-color: white;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Korrektur für den Body-Inhalt, damit er nicht unter die Navbar rutscht */
body {
    padding-top: 60px !important;
}

/* *** MEDIA QUERIES: Optimierte Schriftgrößen für Mobile *** */
@media screen and (max-width: 768px) {
    /* Standard-Texte auf mobilen Geräten */
    .text-block, .big-text, h1, h2, h3, p {
        font-size: 1rem !important; /* Fixierte Schriftgröße von 1rem */
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        white-space: normal !important;
    }

    /* Ausnahme für bestimmte Headline-Klasse */
    .headline-large {
        font-size: 3rem !important; /* Angepasste größere Headline auf Mobile */
        font-weight: medium !important;
    }

    /* Verbesserte Darstellung der "Unsere Leistungen"-Sektion */
    .leistungen-container {
        display: flex;
        flex-direction: column !important;
        align-items: center;
        padding: 20px !important;
    }

    .leistung-item {
        width: 90% !important;
        padding: 15px !important;
        margin-bottom: 10px !important;
        display: flex;
        flex-direction: column !important;
        align-items: center;
    }

    .leistung-item h3 {
        font-size: 1.2rem !important;
    }

    .leistung-item img {
        width: 40px !important;
        height: auto !important;
        margin-bottom: 10px !important;
    }

    /* Deaktiviert alle Hover-Effekte auf Mobile */
    .leistung-item:hover,
    .leistung-item:focus,
    .leistung-item:active {
        transform: none !important;
        transition: none !important;
        background: inherit !important;
        box-shadow: none !important;
    }

    /* Pfeile in der mobilen Ansicht ausblenden */
    .leistung-item .icon-arrow {
        display: none !important;
    }

    /* ** Fix für Kontaktinformationen, damit sie linksbündig bleiben ** */
    .contact-info, .kontakt-container, .kontakt-details {
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }

    .contact-info p, .contact-info a,
    .kontakt-details p, .kontakt-details a {
        margin-left: 0 !important;
        padding-left: 0 !important;
        text-align: left !important;
    }

    /* Interaktive Karte in der mobilen Ansicht ausblenden */
    #interactive-svg-container {
        display: none !important;
    }

    /* Headline-Fix für lange Wörter */
    .headline {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }

    .move-gallery-horizontal {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
    }

}

@media screen and (max-width: 767px) {
    .logo-classname {
        display: block !important;
        visibility: visible !important;
        z-index: 10 !important;
    }
}