/* ==========================================================================
   1. LOKALE SCHRIFTEN (100% DSGVO-KONFORM)
   ========================================================================== */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
}

/* ==========================================================================
   2. DESIGN-SYSTEM, RESET & WRAPPER (PANTONE 306 C)
   ========================================================================== */
:root {
    --primary: #00b5dd;          /* Pantone 306 C Hauptfarbe */
    --primary-hover: #008eb0;    /* Dunklerer Ton für Klicks & Hover */
    --text-dark: #34495E;        /* Lesbares Dunkelgrau für Haupttexte */
    --text-muted: #5A6B7C;       /* Subtilere Textfarbe für Untertitel */
    --bg-light: #FFFFFF;         /* Haupt-Hintergrund */
    --bg-alt: #F2F8FA;           /* Alternativer, leicht getönter Hintergrund */
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.06); /* Sanfter Box-Schatten */
    --radius: 8px;               /* Einheitliche Abrundung */
}

/* Base Reset ohne Scroll-Blockaden */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    background-color: var(--bg-light);
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.65;
    font-size: 15.5px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: anywhere;
}

/* Medien-Resets */
img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Haupt-Wrapper: Löst den WebKit/iPad-Scrollbug durch dynamische Viewport-Höhe */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

main {
    flex: 1;
    min-width: 0;
}

/* ==========================================================================
   3. HEADER & NAVIGATION (DESKTOP)
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.logo-img {
    height: 65px;
    width: auto;
    display: block;
}

/* Hamburger-Steuerelemente auf Desktop ausblenden */
.menu-toggle, .menu-icon {
    display: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.2s ease;
    padding-bottom: 0.2rem;
}

nav a:hover {
    color: var(--primary);
}

nav a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

/* ==========================================================================
   4. BUTTONS & INTERAKTIONS-ELEMENTE
   ========================================================================== */
.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF !important;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.2s ease;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-hero {
    background-color: var(--primary);
    color: #FFFFFF !important;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.2s ease;
}

.btn-hero:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.82rem 1.6rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: #FFFFFF !important;
}

.full-width {
    display: block;
    text-align: center;
    margin-top: 1.2rem;
    width: 100%;
}

/* ==========================================================================
   5. BEGRÜSSUNG (STARTSEITE & UNTERSEITEN)
   ========================================================================== */
.hero {
    padding: 3.5rem 5% 2.5rem 5%;
    background: linear-gradient(180deg, #E6F7FA 0%, #FFFFFF 100%);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.welcome-section {
    padding: 3.5rem 5% 2.5rem 5%;
    background: linear-gradient(180deg, #E6F7FA 0%, #FFFFFF 100%);
    text-align: center;
}

.welcome-container {
    max-width: 800px;
    margin: 0 auto;
}

.welcome-container h1 {
    font-size: 2.4rem;
    color: var(--text-dark);
    margin-bottom: 1.8rem;
    line-height: 1.25;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.hero-image-banner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0 5%;
}

.hero-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: block;
}

/* ==========================================================================
   6. SEKTIONEN & FLEXIBLE GRIDS (STABILER DESKTOP-FIX)
   ========================================================================== */
.section-container {
    width: 100%;
    min-width: 0;
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-alt {
    background-color: var(--bg-alt);
    max-width: 100%;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
}

/* Dreispaltiges Raster – minmax(0, 1fr) verhindert Überlauf nach rechts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
}

/* Zweispaltiges Raster */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.grid-2 > *, .grid-3 > * {
    min-width: 0;
}

/* ==========================================================================
   7. CARDS, ICONS & SPEZIALISIERUNGEN
   ========================================================================== */
.card {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.card-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.2rem;
    height: 75px;
}

.card-icon-img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: contain;
}

.practice-icon {
    width: 52px;
    height: 52px;
    transition: transform 0.2s ease;
}

.card:hover .practice-icon {
    transform: scale(1.08);
}

.card h3 {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card p {
    line-height: 1.6;
    margin: 0;
}

.text-center {
    text-align: center;
}

.news-card {
    background: #FFFFFF;
    padding: 1.8rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.news-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    background: #E2F4F8;
    color: var(--primary-hover);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.8rem;
}

.info-box {
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
}

.highlight-border {
    border-left: none;
}

.info-box h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-list {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.text-highlight {
    color: var(--primary-hover);
    border-radius: 4px;
    font-weight: 700;
}

/* ==========================================================================
   8. ZAHNÄRZTE & TEAM PROFILE
   ========================================================================== */
.doctor-card {
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.doctor-header {
    margin-bottom: 1.2rem;
    border-bottom: 2px solid var(--bg-alt);
    padding-bottom: 0.8rem;
}

.doctor-header h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
}

.doctor-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

.doctor-bio {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.team-card {
    background: #FFFFFF;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.2rem auto;
    position: relative;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.team-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--bg-alt);
    border: 3px solid var(--primary);
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.team-role {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-hover);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

/* ==========================================================================
   9. BILDER-INTEGRATION (UNTERORDNER /fotos/)
   ========================================================================== */
.section-image-banner {
    width: 100%;
    margin: 1rem 0 1.5rem 0;
    overflow: hidden;
    border-radius: var(--radius);
}

.banner-photo {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
}

.content-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: block;
    margin: 0 auto;
}

.card-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.align-center {
    align-items: center;
}

/* ==========================================================================
   10. ERWEITERUNGEN LEISTUNGSSPEKTRUM & SCHNELLNAVIGATION
   ========================================================================== */
.jump-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.jump-badge {
    background-color: var(--bg-alt);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(0, 181, 221, 0.2);
    transition: all 0.2s ease;
}

.jump-badge:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.highlight-card {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.step-card {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.step-num {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.media-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background-color: var(--bg-alt);
    padding: 1.25rem;
    border-radius: var(--radius);
}

/* ==========================================================================
   11. TABELLEN & MAPS
   ========================================================================== */
.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 0.7rem 0;
    border-bottom: 1px solid #EAEAEA;
}

.hours-table td:first-child {
    font-weight: bold;
    width: 35%;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-top: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
    font-size: 0.9rem;
}

.data-table th, .data-table td {
    padding: 0.8rem;
    border: 1px solid #E2E8F0;
    text-align: left;
    vertical-align: top;
}

.data-table th {
    background-color: var(--bg-alt);
    color: var(--primary-hover);
    font-weight: bold;
}

.map-container {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: var(--bg-alt);
}

.map-container iframe {
    display: block;
    width: 100%;
    min-height: 300px;
}

/* ==========================================================================
   12. FOOTER & SOCIAL MEDIA LINKS
   ========================================================================== */
footer {
    margin-top: auto;
    flex-shrink: 0;
    text-align: center;
    padding: 2.5rem 5%;
    background-color: var(--primary);
    color: #FFFFFF;
    line-height: 1.8;
}

footer a {
    color: var(--bg-light);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin: 0 0 1.25rem 0;
    width: 100%;
}

.social-links a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: var(--bg-light);
    padding: 0.4rem;
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--primary-hover);
    transform: translateY(-3px);
}

.social-icon {
    width: 28px !important;
    height: 28px !important;
    fill: currentColor !important;
    display: block !important;
}

/* ==========================================================================
   13. RESPONSIVE DESIGN (BREAKPOINTS & MOBIL)
   ========================================================================== */
@media (max-width: 1100px), (max-height: 500px) and (orientation: landscape) {

    .navbar {
        --mobile-header-height: 95px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 1rem;
        align-items: center;
        position: relative;
        padding: 0.8rem 1rem;
        min-height: var(--mobile-header-height);
    }

    .logo-container {
        min-width: 0;
        max-width: 100%;
        text-align: center;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .logo-img {
        width: 100%;
        max-width: 340px;
        height: auto;
        max-height: 69px;
        object-fit: contain;
    }

    .menu-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 44px;
        height: 44px;
        padding: 11px 8px;
        cursor: pointer;
        z-index: 101;
        position: relative;
    }

    /* Tastaturbedienung ermöglichen, ohne das Kontrollkästchen anzuzeigen. */
    .menu-toggle {
        display: block;
        position: absolute;
        width: 1px;
        height: 1px;
        clip-path: inset(50%);
        overflow: hidden;
    }

    .menu-toggle:focus-visible + .menu-icon {
        outline: 3px solid var(--primary-hover);
        outline-offset: 3px;
    }

    .menu-icon span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--primary);
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #FFFFFF;
        padding: 0.8rem 0;
        border-top: 1px solid var(--bg-alt);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 99;
        max-height: calc(100vh - var(--mobile-header-height));
        max-height: calc(100dvh - var(--mobile-header-height));
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .menu-toggle:checked ~ nav {
        display: flex;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }

    nav a {
        width: 100%;
        padding: 0.78rem 1rem;
        text-align: center;
        border-bottom: 1px solid #F0F4F8;
    }

    nav a.btn-primary {
        margin: 0.5rem auto 0.2rem auto;
        width: 80%;
        display: inline-block;
    }

    .hero, .welcome-section {
        padding: 2rem 1rem 1.5rem 1rem;
    }

    .hero h1, .welcome-container h1 {
        font-size: 1.75rem;
        margin-bottom: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .btn-hero, .btn-secondary {
        flex: 1;
        width: auto;
        text-align: center;
        padding: 0.75rem 0.3rem;
        font-size: 0.85rem;
        white-space: normal;
        min-height: 44px;
    }

    .hero-buttons > a {
        flex: 1 1 10rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-box, .doctor-card {
        padding: 1.5rem;
    }

    .hero-image-banner {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .section-container {
        padding: 2.5rem 3%;
    }

    .hours-table td {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .navbar {
        --mobile-header-height: 76px;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .logo-img {
        max-height: 52px;
    }
}

/* Smartphone Layout (unter 600px) */
@media (max-width: 600px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .card {
        padding: 1.5rem 1rem;
    }
}

/* ==========================================================================
   14. PRAXISGALERIE & NEWS-LAYOUT
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background-color: #ffffff;
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    background: #ffffff;
}

/* ==========================================================================
   15. DROPDOWN-NAVIGATION ("PRAXIS")
   ========================================================================== */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 190px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    z-index: 200;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--text-dark);
    text-decoration: none;
    white-space: nowrap;
    text-align: left;
    border-bottom: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: var(--bg-alt);
    color: var(--primary);
}

/* Aufklappen per Hover (Desktop) und Tap/Focus (Touch-Geräte) */
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
    display: block;
}

/* Mobile Optimierung (unter 992px) */
@media (max-width: 1100px), (max-height: 500px) and (orientation: landscape) {
    .nav-item-dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-trigger {
        justify-content: center;
        width: 100%;
        padding: 0.78rem 1rem;
    }

    .dropdown-menu {
        /* Alle Praxis-Unterseiten direkt anzeigen: kein Hover auf Touch nötig. */
        display: block;
        position: static;
        transform: none;
        box-shadow: none;
        background-color: var(--bg-alt);
        width: 100%;
        padding: 0;
        border-radius: 0;
    }

    .dropdown-menu a {
        text-align: center;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
        border-bottom: 1px solid #E2E8F0 !important;
    }
}

/* ==========================================================================
   16. HERO BILD-OVERLAY ("WIR ZIEHEN UM!")
   ========================================================================== */
.hero-overlay-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0 5%;
}

.hero-overlay-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 181, 221, 0.92); /* Cyan-Ton mit leichter Transparenz */
    color: #ffffff !important;
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius);
    font-size: clamp(1.8rem, 4.5vw, 3.5rem); /* Riesig auf Desktop, flexibel auf Mobilgeräten */
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 3px solid #ffffff;
    z-index: 10;
}

.hero-overlay-badge:hover {
    background-color: rgba(0, 150, 184, 0.98);
    transform: translate(-50%, -53%) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
    .hero-overlay-badge {
        padding: 0.8rem 1.2rem;
        border-width: 2px;
        white-space: normal; /* Erlaubt bei sehr kleinen Handys einen sauberen Umbruch */
        width: 85%;
    }
}

/* ==========================================================================
   17. MAP-CHOICE MODAL (GOOGLE vs. APPLE MAPS)
   ========================================================================== */
.map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.map-modal.active {
    display: flex;
}

.map-modal-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--radius);
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    position: relative;
    animation: modalFadeIn 0.25s ease-out;
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.map-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    min-width: 44px;
    min-height: 44px;
}

.map-buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}
