/* === Variables === */

:root {
    --primary-color: #84243f;
    --primary-color-hover: #5A2736;
    --secondary-color: #160f10;
    --third-color: #7c7176;
    --font-color: #58585d;
    --primary-bg-color: #eeebe7;
    --secondary-bg-color: #f8f7f5;
    --hexagon-color-light: #e7d3d4;
    --hexagon-color-normal: #d7b7bc;
    --hexagon-color-dark: #c4959b;
    --color-overlay-bg: #ffffff;
}


/* === Base === */

/* Open Sans (variabel, 300–800, Normal + Kursiv) – lokal gehostet, keine externen Requests */
/* latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/open-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/open-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin – italic */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/open-sans-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext – italic */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/open-sans-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

html {
    overflow-y: scroll;
}

body {
    scroll-behavior: smooth;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--font-color);
}

a,
a:visited,
a:hover,
a:active {
    color: inherit;
    text-decoration: none;
}

a,
a:visited {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    text-decoration: none;
    color: var(--primary-color-hover);
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

section[id],
div[id] {
    scroll-margin-top: 80px;
}


/* === Typography === */

h1 {
    text-transform: uppercase;
    font-size: 1.375rem;
    color: var(--primary-color);
}

h2 {
    text-transform: uppercase;
    font-size: 1.375rem;
    font-weight: 500;
}

h3 {
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 500;
}

h4 {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 500;
}


/* === Layout === */

.header-spacer {
    margin-top: 150px;
}

@media (max-width: 991.98px) {
    .header-spacer {
        margin-top: 100px;
    }
}

@media (max-width: 767.98px) {
    .header-spacer {
        margin-top: 80px;
    }
}

.header-spacer-sm {
    margin-top: 80px;
}

@media (max-width: 991.98px) {
    .header-spacer-sm {
        margin-top: 70px;
    }
}

@media (max-width: 767.98px) {
    .header-spacer-sm {
        margin-top: 55px;
    }
}

@media screen and (min-width: 2048px) {
    .container-fluid {
        padding-left: calc((100vw - 2048px)/2);
        padding-right: calc((100vw - 2048px)/2);
    }
}

@media screen and (min-width: 2048px) {
    .ps-xxxl {
        padding-left: calc((100vw - 2048px)/2 + 3rem) !important;
    }

    .ps-xxxl-nav {
        padding-left: calc((100vw - 2048px)/2 + 2.25rem) !important;
    }

    .ps-xxxl-hero {
        padding-left: calc((100vw - 2048px)/2 + 2rem) !important;
    }

    .pe-xxxl {
        padding-right: calc((100vw - 2048px)/2 + 3rem) !important;
    }

    .pe-xxxl-nav {
        padding-right: calc((100vw - 2048px)/2 + 3rem) !important;
    }

    .xxxl-helper {
        padding: 0 !important;
    }
}

.bg-hno-primary {
    background-color: var(--primary-bg-color);
}

.bg-hno-secondary {
    background-color: var(--secondary-bg-color);
}

@media (max-width: 991.98px) {
    #kontakt.bg-hno-secondary {
        background-color: var(--primary-bg-color);
    }

    #teaser-text.bg-hno-primary {
        background-color: var(--secondary-bg-color);
    }
}

#kontakt {
    scroll-margin-top: 100px;
}


/* === Navigation === */

.nav-item {
    margin-left: 15px;
}

.nav-link {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08rem;
    padding: 10px;
}

.nav-link:hover {
    color: var(--primary-color-hover);
}

@media screen and (min-width: 992px) {
    .nav-link {
        font-size: 1.175rem;
    }
}

.navbar {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    width: 183px;
    height: 48px;
    margin: 9px 0 7px 1px;
}

.navbar-toggler {
    margin-top: 14px;
    margin-right: 20px;
    padding: 0;
}

@media screen and (min-width: 576px) {
    .navbar-toggler {
        margin-right: 45px;
    }
}

.menu-toggler-text {
    color: var(--primary-color);
    font-size: 1.175rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
}

.burger-icon {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

@media screen and (max-width: 767.98px) {
    .menu-toggler-text {
        font-size: 1rem;
    }
}

@media (min-width: 992px) {
    .navbar-brand img {
        width: 244px;
        height: 64px;
    }

    .navbar-nav {
        padding-left: 20px;
        margin-right: calc(var(--bs-gutter-x) * 2);
    }
}

.navbar-nav .nav-link {
    color: var(--primary-color);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color-hover);
}

@media (min-width: 1400px) {
    .navbar-nav {
        margin-right: calc(var(--bs-gutter-x) * 4);
        padding-left: 20px;
    }
}

.nav-stack-container {
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin-left: auto;
    position: relative;
}

.top-nav-bar {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.25rem 0rem 0.25rem 0;
    list-style: none;
}

.top-nav-bar::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: var(--third-color);
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%);
}

.top-nav-bar a {
    color: #ffffff;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
}

.top-nav-bar li:first-child a {
    padding-left: calc(35px + 0.5rem);
}

.lang-switch {
    font-weight: 400 !important;
    padding-right: 10px;
    color: #fff !important;
}

@media (min-width: 992px) {
    .top-nav-bar {
        padding-right: calc(var(--bs-gutter-x) * 2);
    }
}

@media (min-width: 1400px) {
    .top-nav-bar {
        padding-right: calc(var(--bs-gutter-x) * 4);
    }
}

/* Navigation: Mobile / Offcanvas */

@media (max-width: 991.98px) {
    .nav-stack-container {
        width: 100%;
        margin-left: 0;
    }

    .top-nav-bar li:first-child a {
        padding-left: calc(30px + 1rem);
    }

    .top-nav-bar {
        justify-content: flex-start;
        padding: 0.5rem 1rem;
    }

    .navbar-nav {
        padding-left: calc(30px + 1rem - 10px);
    }

    .navbar-nav .nav-item {
        margin-left: 0;
    }

    .offcanvas-header .btn-close {
        transition: transform 0.3s ease, opacity 0.3s ease;
        background: var(--primary-color);
        -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
        mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
        opacity: 1;
    }

    .offcanvas-header .btn-close:hover {
        transform: rotate(90deg);
        opacity: 1;
    }
}


/* === Headlines === */

h2.headline,
h2.headline-sm,
h2.headline-md {
    position: relative;
    display: inline-block;
    padding-right: 10px;
    color: var(--primary-color);
    font-size: 2.75rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

h2.headline-md {
    font-size: 1.5rem;
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    h2.headline-md {
        font-size: 2.5rem;
        margin-bottom: 0;
    }
}

@media screen and (min-width: 576px) {
    h2.headline-line:after {
        content: "";
        display: block;
        position: absolute;
        left: 100%;
        top: 80%;
        transform: translateY(-50%);
        width: 150px;
        height: 1px;
        background-color: var(--primary-color);
    }
}

h2.headline-sm {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.h2 {
    position: relative;
    display: inline-block;
    padding-right: 10px;
    color: var(--primary-color);
    font-weight: 300;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
    h2.headline {
        font-size: 3rem;
    }
}

@media (max-width: 767.98px) {
    h2.headline {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    h2.headline {
        font-size: 1.75rem;
        display: block;
        text-align: center;
        padding-right: 0;
    }

    h2.headline-sm,
    .h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}


/* === Hero === */

#hero {
    height: calc(100vh - 64px);
    margin-top: 64px;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 0%;
    background-image: url('../img/hno-muenchen-dr-wimmer-prof-groeger-small.jpg');
    background-image: image-set(url('../img/hno-muenchen-dr-wimmer-prof-groeger-small.webp') type('image/webp'),
            url('../img/hno-muenchen-dr-wimmer-prof-groeger-small.jpg') type('image/jpg'));
}

@media (min-width: 992px) {
    #hero {
        height: calc(100vh - 80px);
        background-image: url('../img/hno-muenchen-dr-wimmer-prof-groeger.jpg');
        background-image: image-set(url('../img/hno-muenchen-dr-wimmer-prof-groeger.webp') type('image/webp'),
                url('../img/hno-muenchen-dr-wimmer-prof-groeger.jpg') type('image/jpg'));
    }
}

/* Hero: Seitenspezifische Bilder */

#hero.hero-phoniatrie {
    background-image: url('../img/hno-muenchen-phoniatrie.jpg');
    background-image: image-set(url('../img/hno-muenchen-phoniatrie.webp') type('image/webp'),
            url('../img/hno-muenchen-phoniatrie.jpg') type('image/jpg'));
}

#hero.hero-hno {
    background-image: url('../img/hno-arzt.jpg');
    background-image: image-set(url('../img/hno-arzt.webp') type('image/webp'),
            url('../img/hno-arzt.jpg') type('image/jpg'));
}

#hero.hero-kinder {
    background-image: url('../img/kinder-hno.jpg');
    background-image: image-set(url('../img/kinder-hno.webp') type('image/webp'),
            url('../img/kinder-hno.jpg') type('image/jpg'));
}

#hero.hero-schwindel {
    background-image: url('../img/hno-schwindel-gleichgewicht.jpg');
    background-image: image-set(url('../img/hno-schwindel-gleichgewicht.webp') type('image/webp'),
            url('../img/hno-schwindel-gleichgewicht.jpg') type('image/jpg'));
}

#hero.hero-schlaf {
    background-image: url('../img/schlafmedizin.jpg');
    background-image: image-set(url('../img/schlafmedizin.webp') type('image/webp'),
            url('../img/schlafmedizin.jpg') type('image/jpg'));
}

#hero.hero-allergie {
    background-image: url('../img/allergologie.jpg');
    background-image: image-set(url('../img/allergologie.webp') type('image/webp'),
            url('../img/allergologie.jpg') type('image/jpg'));
}

#hero.hero-hoeren {
    background-image: url('../img/hoerstoerungen.jpg');
    background-image: image-set(url('../img/hoerstoerungen.webp') type('image/webp'),
            url('../img/hoerstoerungen.jpg') type('image/jpg'));
}

@media screen and (max-width: 991.98px) {
    #hero.hero-phoniatrie {
        background-image: url('../img/hno-muenchen-phoniatrie-small.jpg');
        background-image: image-set(url('../img/hno-muenchen-phoniatrie-small.webp') type('image/webp'),
                url('../img/hno-muenchen-phoniatrie-small.jpg') type('image/jpg'));
    }

    #hero.hero-hno {
        background-image: url('../img/hno-arzt-small.jpg');
        background-image: image-set(url('../img/hno-arzt-small.webp') type('image/webp'),
                url('../img/hno-arzt-small.jpg') type('image/jpg'));
    }

    #hero.hero-kinder {
        background-image: url('../img/kinder-hno-small.jpg');
        background-image: image-set(url('../img/kinder-hno-small.webp') type('image/webp'),
                url('../img/kinder-hno-small.jpg') type('image/jpg'));
    }

    #hero.hero-schwindel {
        background-image: url('../img/hno-schwindel-gleichgewicht-small.jpg');
        background-image: image-set(url('../img/hno-schwindel-gleichgewicht-small.webp') type('image/webp'),
                url('../img/hno-schwindel-gleichgewicht-small.jpg') type('image/jpg'));
    }

    #hero.hero-schlaf {
        background-image: url('../img/schlafmedizin-small.jpg');
        background-image: image-set(url('../img/schlafmedizin-small.webp') type('image/webp'),
                url('../img/schlafmedizin-small.jpg') type('image/jpg'));
    }

    #hero.hero-allergie {
        background-image: url('../img/allergologie-small.jpg');
        background-image: image-set(url('../img/allergologie-small.webp') type('image/webp'),
                url('../img/allergologie-small.jpg') type('image/jpg'));
    }

    #hero.hero-hoeren {
        background-image: url('../img/hoerstoerungen-small.jpg');
        background-image: image-set(url('../img/hoerstoerungen-small.webp') type('image/webp'),
                url('../img/hoerstoerungen-small.jpg') type('image/jpg'));
    }
}

/* Hero: Text-Box */

.hero-text-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 550px;
}

.hero-headline {
    color: var(--primary-color);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: none;
}

@media screen and (min-width: 992px) {
    .hero-headline {
        font-weight: 300;
    }
}

.hero-subline {
    color: #333;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.hero-hint {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem;
}

/* Hero: Responsive */

@media (max-width: 1399.98px) {
    .hero-headline {
        font-size: 2rem;
    }
}

@media (max-width: 1199.98px) {
    .hero-headline {
        font-size: 1.75rem;
    }
}

@media (max-width: 991.98px) {
    #hero .container-fluid.position-absolute {
        top: 80% !important;
        transform: translateY(-50%) !important;
    }

    .hero-text-box {
        padding: 1.25rem;
    }

    .hero-headline {
        font-size: 1.5rem;
    }

    .hero-subline {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    #hero .container-fluid.position-absolute {
        top: 85% !important;
    }

    .hero-text-box {
        padding: 0.75rem;
    }

    .hero-headline {
        font-size: 1.25rem;
        margin-bottom: .5rem;
    }

    .hero-subline {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: .25rem;
    }

    .hero-hint {
        font-size: 0.675rem;
        margin-top: 0.375rem !important;
        margin-bottom: 0 !important;
    }
}

/* Hero: Dekorative Frames */

.hero-frame-left {
    background-color: #ccaeb5;
    clip-path: polygon(0 75%, 100% 95%, 100% 100%, 0% 100%);
    position: relative;
    min-height: 100px;
}

.hero-frame-left::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-bg-color);
    clip-path: polygon(0 75%, 100% 95%, 100% 100%, 0% 100%);
}

.hero-frame-right,
.hero-frame-right-subpage {
    background-color: #ccaeb5;
    clip-path: polygon(0 95%, 100% 75%, 100% 100%, 0% 100%);
    position: relative;
    min-height: 100px;
}

.hero-frame-right::after,
.hero-frame-right-subpage::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-bg-color);
    clip-path: polygon(0 95%, 100% 75%, 100% 100%, 0% 100%);
}

@media (min-width: 992px) {
    .hero-frame-left {
        clip-path: polygon(0 78%, 100% 98%, 100% 100%, 0% 100%);
    }

    .hero-frame-left::after {
        clip-path: polygon(0 78%, 100% 98%, 100% 100%, 0% 100%);
    }

    .hero-frame-right,
    .hero-frame-right-subpage {
        clip-path: polygon(0 98%, 100% 78%, 100% 100%, 0% 100%);
    }

    .hero-frame-right::after,
    .hero-frame-right-subpage::after {
        clip-path: polygon(0 98%, 100% 78%, 100% 100%, 0% 100%);
    }

    .hero-frame-right::after {
        background-color: var(--secondary-bg-color);
    }
}

.clip-path-bottom-bg {
    height: 20vh;
    width: 100%;
    background-color: var(--secondary-bg-color);
    clip-path: polygon(0 0, 100% 100%, 100% 0);
}


/* === Buttons === */

.btn-hero-cta {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.btn-hero-cta:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #fff !important;
}

@media (max-width: 767.98px) {
    .btn-hero-cta {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

.btn-cta-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
    background-color: transparent;
}

.btn-cta-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta-outline-sm {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-block;
    background-color: transparent;
}

.btn-cta-outline-sm:hover {
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* === Content === */

table.openinghours {
    --bs-table-bg: none;
    max-width: 300px;
}

table.openinghours td {
    padding: 3px 0;
    border-bottom-width: 0;
    color: var(--font-color);
}

.profile-img {
    max-width: 400px;
}


/* === Footer === */

footer {
    background: var(--third-color);
    padding: 20px 20px 50px 20px;
    color: #fff;
}

footer a,
footer a:visited {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (min-width: 992px) {
    footer {
        text-align: right !important;
        padding-right: calc(var(--bs-gutter-x) * 2 + 10px) !important;
    }
}

@media (min-width: 1400px) {
    footer {
        padding-right: calc(var(--bs-gutter-x) * 4 + 10px) !important;
    }
}

@media (max-width: 991.98px) {
    footer {
        text-align: center;
    }
}


/* === Hexagons: Schwerpunkte (Startseite) === */

.schwerpunkte-hex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0;
    --hex-lg-width: 300px;
    --hex-lg-height: 346px;
    --hex-lg-gap: 30px;
    --hex-lg-margin-v: calc(-0.125 * var(--hex-lg-height) + 0.433 * var(--hex-lg-gap));
    --hex-lg-margin-h: calc(var(--hex-lg-gap) / 2);
}

.hex-content-item {
    position: relative;
    width: var(--hex-lg-width);
    height: var(--hex-lg-height);
    margin: var(--hex-lg-margin-v) var(--hex-lg-margin-h);
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: z-index 0.3s, filter 0.3s ease;
    z-index: 1;
    color: var(--secondary-color);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: filter;
    filter: drop-shadow(0 0px 0px rgba(0, 0, 0, 0));
}

.hex-content-item:visited {
    color: var(--secondary-color);
}

.hex-content-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-color: var(--hexagon-color-light);
    z-index: -1;
    transition: transform 0.3s ease;
    will-change: transform;
}

.hex-content-item.hex-light::before {
    background-color: var(--hexagon-color-light);
}

.hex-content-item.hex-normal::before {
    background-color: var(--hexagon-color-normal);
}

.hex-content-item.hex-dark::before {
    background-color: var(--hexagon-color-normal);
}

.hex-content-item:hover {
    z-index: 10;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
    color: var(--primary-color);
}

.hex-content-item:hover::before {
    transform: scale(1.05);
}

.hex-inner {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.hex-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.hex-content-item h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.hex-content-item p {
    font-size: 0.85rem;
    line-height: 1.35;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hex-btn {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid currentColor;
    border-radius: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: inherit;
    transition: all 0.2s ease;
    margin-top: auto;
    white-space: nowrap;
}

.hex-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: inherit;
}

/* Schwerpunkte: Responsive LG */

@media (min-width: 992px) and (max-width: 1259.98px) {
    .schwerpunkte-hex-grid {
        max-width: 960px;
        margin: 0 auto;
        --hex-lg-width: 300px;
        --hex-lg-height: 346px;
        --hex-lg-gap: 20px;
        --hex-lg-margin-v: calc(-0.125 * var(--hex-lg-height) + 0.433 * var(--hex-lg-gap));
    }

    .hex-content-item h3 {
        font-size: 1.25rem;
    }

    .hex-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 15px;
    }

    .hex-inner {
        padding: 60px 40px;
    }
}

@media (min-width: 992px) and (max-width: 1055px) {
    .schwerpunkte-hex-grid {
        --hex-lg-width: 270px;
        --hex-lg-height: 312px;
    }

    .hex-content-item h3 {
        font-size: 1.2rem;
    }

    .hex-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 12px;
    }

    .hex-inner {
        padding: 50px 30px;
    }
}

@media (min-width: 1260px) {
    .hex-break-lg {
        display: none !important;
    }
}

/* Schwerpunkte: Responsive XL */

@media (min-width: 1260px) and (max-width: 1499.98px) {
    .schwerpunkte-hex-grid {
        max-width: 1200px;
        margin: 0 auto;
        --hex-lg-width: 270px;
        --hex-lg-height: 312px;
        --hex-lg-gap: 20px;
        --hex-lg-margin-v: calc(-0.125 * var(--hex-lg-height) + 0.433 * var(--hex-lg-gap));
    }

    .hex-content-item h3 {
        font-size: 1.2rem;
    }

    .hex-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 12px;
    }

    .hex-inner {
        padding: 50px 30px;
    }
}

@media (min-width: 1500px) {
    .schwerpunkte-hex-grid {
        max-width: 1400px;
        margin: 0 auto;
        --hex-lg-width: 300px;
        --hex-lg-height: 346px;
        --hex-lg-gap: 30px;
        --hex-lg-margin-v: calc(-0.125 * var(--hex-lg-height) + 0.433 * var(--hex-lg-gap));
    }

    .hex-content-item h3 {
        font-size: 1.25rem;
    }

    .hex-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 15px;
    }

    .hex-inner {
        padding: 60px 40px;
    }
}

/* Schwerpunkte: Responsive MD */

@media (min-width: 768px) and (max-width: 991.98px) {
    .schwerpunkte-hex-grid {
        max-width: 720px;
        margin: 0 auto;
        --hex-lg-width: 280px;
        --hex-lg-height: 323px;
        --hex-lg-gap: 20px;
        --hex-lg-margin-v: calc(-0.125 * var(--hex-lg-height) + 0.433 * var(--hex-lg-gap));
    }

    .hex-content-item h3 {
        font-size: 1.25rem;
    }

    .hex-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 15px;
    }

    .hex-inner {
        padding: 60px 40px;
    }
}

/* Schwerpunkte: Responsive Mobile */

@media (max-width: 767.98px) {
    .schwerpunkte-hex-grid {
        display: block;
        padding: 0;
        gap: 0;
    }

    .schwerpunkte-hex-grid .hex-content-item {
        width: 100%;
        height: auto;
        min-height: auto;
        margin: 0;
        clip-path: none;
        background: transparent;
        display: block;
        color: var(--font-color);
        text-decoration: none;
        border-bottom: 1px solid #e2e2e2;
    }

    .schwerpunkte-hex-grid .hex-content-item:last-child {
        border-bottom: none;
    }

    .schwerpunkte-hex-grid .hex-content-item::before {
        display: none;
    }

    .schwerpunkte-hex-grid .hex-content-item:nth-of-type(odd),
    .schwerpunkte-hex-grid .hex-content-item:nth-of-type(even) {
        transform: none;
        left: auto;
    }

    .schwerpunkte-hex-grid .hex-content-item:hover {
        z-index: 1;
        filter: none;
        transform: none;
    }

    .schwerpunkte-hex-grid .hex-content-item:nth-of-type(odd):hover,
    .schwerpunkte-hex-grid .hex-content-item:nth-of-type(even):hover {
        transform: none;
    }

    .schwerpunkte-hex-grid .hex-inner {
        padding: 1.5rem 0;
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: 50px 1fr;
        grid-template-rows: auto auto auto;
        align-items: start;
        text-align: left;
    }

    .schwerpunkte-hex-grid .hex-icon {
        grid-column: 1;
        grid-row: 1;
        width: 40px;
        height: 46px;
        padding: 8px;
        margin-bottom: 0;
        flex-shrink: 0;
        clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
        background-color: var(--hexagon-color-light);
        fill: none;
        stroke: var(--primary-color);
        stroke-width: 1.5px;
    }

    .schwerpunkte-hex-grid .hex-content-item.hex-light .hex-icon {
        background-color: var(--hexagon-color-light);
    }

    .schwerpunkte-hex-grid .hex-content-item.hex-normal .hex-icon,
    .schwerpunkte-hex-grid .hex-content-item.hex-dark .hex-icon {
        background-color: var(--hexagon-color-normal);
    }

    .schwerpunkte-hex-grid .hex-content-item:hover .hex-icon {
        transform: scale(1.05);
    }

    .schwerpunkte-hex-grid .hex-inner h3 {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        margin-bottom: 0;
        padding-left: 1rem;
        font-size: 1.1rem;
        color: var(--primary-color);
    }

    .schwerpunkte-hex-grid .hex-inner p {
        grid-column: 2;
        grid-row: 2;
        margin-top: 0.5rem;
        margin-bottom: 0.75rem;
        padding-left: 1rem;
        opacity: 0.9;
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
        height: auto;
    }

    .schwerpunkte-hex-grid .hex-btn {
        grid-column: 2;
        grid-row: 3;
        margin-top: 0;
        margin-left: 1rem;
        width: fit-content;
        display: inline-block;
        padding: 5px 12px;
        border: 1px solid var(--primary-color);
        border-radius: 0;
        font-size: 0.8rem;
        text-transform: uppercase;
        color: var(--primary-color);
        font-weight: normal;
        background: transparent !important;
    }

    .schwerpunkte-hex-grid .hex-btn::after {
        display: none;
    }

    .schwerpunkte-hex-grid .hex-btn:hover {
        text-decoration: none;
        background-color: var(--primary-color) !important;
        color: #fff;
    }
}

/* Schwerpunkte: Responsive XS */

@media (max-width: 575.98px) {
    .schwerpunkte-hex-grid {
        --hex-lg-width: 240px;
        --hex-lg-height: 277px;
        --hex-overlap: calc(var(--hex-lg-height) * -0.25 + 5px);
    }

    .hex-content-item h3 {
        font-size: 1rem;
    }
}

@media (max-width: 399.98px) {
    .schwerpunkte-hex-grid {
        --hex-lg-width: 210px;
        --hex-lg-height: 242px;
    }

    .hex-content-item p {
        font-size: 0.8rem;
    }

    .show-above-400 {
        display: none;
    }
}

@media (max-width: 359.98px) {
    .schwerpunkte-hex-grid {
        --hex-overlap: 0;
    }
}

@media (max-width: 329.98px) {
    .menu-toggler-text {
        display: none;
    }

    .schwerpunkte-hex-grid {
        --hex-overlap: 10px;
    }
}

@media screen and (max-width: 1199.98px) {
    #praxis-hexagons {
        padding: 70px 0 80px 0;
    }
}


/* === Hexagons: Praxis === */

.praxis-hex-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    --hex-lg-width: 130px;
    --hex-lg-height: 151px;
    --hex-overlap: calc(var(--hex-lg-height) * -0.25 + 10px);
    gap: 0;
    padding-bottom: 20px;
    overflow: visible;
    margin-top: 0;
}

.praxis-hex-grid .hex-content-item {
    margin: 0;
    margin-bottom: var(--hex-overlap);
    flex-shrink: 0;
}

.praxis-hex-grid .hex-content-item:last-child {
    margin-bottom: 0;
}

.praxis-hex-grid .hex-content-item:nth-of-type(odd) {
    transform: translateX(calc(var(--hex-lg-width) / -4));
    left: -2px;
}

.praxis-hex-grid .hex-content-item:nth-of-type(even) {
    transform: translateX(calc(var(--hex-lg-width) / 4));
    left: 2px;
}

.praxis-hex-grid .hex-content-item:nth-of-type(odd):hover {
    transform: translateX(calc(var(--hex-lg-width) / -4));
    z-index: 20;
}

.praxis-hex-grid .hex-content-item:nth-of-type(even):hover {
    transform: translateX(calc(var(--hex-lg-width) / 4));
    z-index: 20;
}

/* Praxis: Foto-Hexagone */

.hex-content-item.hex-photo::before {
    background-color: transparent;
    background-size: cover;
    background-position: center;
    background-image: none;
}

.hex-content-item.hex-photo:hover::before {
    transform: scale(1.05);
}

.hex-content-item.hex-photo-1::before {
    background-image: url('../img/hno-praxis-microscope.jpg');
    background-image: image-set(url('../img/hno-praxis-microscope.webp') type('image/webp'),
            url('../img/hno-praxis-microscope.jpg') type('image/jpg'));
}

.hex-content-item.hex-photo-2::before {
    background-image: url('../img/hno-praxis-endoscopy.jpg');
    background-image: image-set(url('../img/hno-praxis-endoscopy.webp') type('image/webp'),
            url('../img/hno-praxis-endoscopy.jpg') type('image/jpg'));
}

.hex-content-item.hex-photo-3::before {
    background-image: url('../img/hno-praxis-audiometry.jpg');
    background-image: image-set(url('../img/hno-praxis-audiometry.webp') type('image/webp'),
            url('../img/hno-praxis-audiometry.jpg') type('image/jpg'));
}

.hex-content-item.hex-photo-4::before {
    background-image: url('../img/hno-praxis-ultrasound.jpg');
    background-image: image-set(url('../img/hno-praxis-ultrasound.webp') type('image/webp'),
            url('../img/hno-praxis-ultrasound.jpg') type('image/jpg'));
}

.hex-content-item.hex-photo-5::before {
    background-image: url('../img/hno-praxis-allergy.jpg');
    background-image: image-set(url('../img/hno-praxis-allergy.webp') type('image/webp'),
            url('../img/hno-praxis-allergy.jpg') type('image/jpg'));
}

/* Praxis: Responsive */

@media (min-width: 1200px) and (max-width: 1499.98px) {
    .praxis-hex-grid {
        --hex-lg-width: 100px;
        --hex-lg-height: 116px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .praxis-hex-grid {
        --hex-lg-width: 151px;
        --hex-lg-height: 130px;
    }
}

@media (max-width: 767.98px) {
    .praxis-hex-grid {
        --hex-lg-width: 116px;
        --hex-lg-height: 100px;
    }
}

@media (max-width: 1199.98px) {
    .praxis-hex-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding-bottom: 20px;
        --hex-overlap: 0;
        margin-top: 2rem;
    }

    .praxis-hex-grid .hex-content-item {
        margin: 0 -16px;
    }

    .praxis-hex-grid .hex-content-item:nth-of-type(odd) {
        transform: translateY(-35px);
        left: 0;
    }

    .praxis-hex-grid .hex-content-item:nth-of-type(even) {
        transform: translateY(35px);
        left: 0;
    }

    .praxis-hex-grid .hex-content-item:hover {
        z-index: 20;
    }

    .praxis-hex-grid .hex-content-item:nth-of-type(odd):hover {
        transform: translateY(-35px) scale(1.05);
    }

    .praxis-hex-grid .hex-content-item:nth-of-type(even):hover {
        transform: translateY(35px) scale(1.05);
    }

    .praxis-hex-grid .hex-content-item::before,
    .praxis-hex-grid .hex-content-item.hex-photo::before {
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    }
}

@media (max-width: 767.98px) {
    .praxis-hex-grid .hex-content-item {
        margin: 0 -12px;
    }

    .praxis-hex-grid .hex-content-item:nth-of-type(odd) {
        transform: translateY(-27px);
    }

    .praxis-hex-grid .hex-content-item:nth-of-type(even) {
        transform: translateY(27px);
    }

    .praxis-hex-grid .hex-content-item:nth-of-type(odd):hover {
        transform: translateY(-27px) scale(1.05);
    }

    .praxis-hex-grid .hex-content-item:nth-of-type(even):hover {
        transform: translateY(27px) scale(1.05);
    }
}

@media (max-width: 499.98px) {
    .praxis-hex-grid .hex-content-item:nth-child(n+5) {
        display: none;
    }
}

@media (max-width: 399.98px) {
    .praxis-hex-grid .hex-content-item:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 309.98px) {
    .praxis-hex-grid .hex-content-item:nth-child(n+3) {
        display: none;
    }
}


/* === Overlay === */

.overlay-nav {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    background-color: var(--color-overlay-bg);
    color: var(--color-text);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.overlay-nav.is-active {
    opacity: 1;
    visibility: visible;
}

.closebtn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 60px;
    background: none;
    border: none;
    color: var(--primary-color) !important;
    line-height: 1;
    cursor: pointer;
    z-index: 2001;
    transition: transform 0.3s ease, color 0.3s ease;
}

.closebtn:hover {
    color: var(--primary-color-hover);
    outline: none;
    transform: rotate(90deg);
}

.closebtn:focus {
    color: var(--color-primary);
    outline: 2px solid var(--color-text);
}

.overlay-content {
    position: relative;
    top: 0;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.overlay-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    z-index: 10;
}

@media (max-width: 767.98px) {
    .overlay-content h2 {
        margin-bottom: 0.5rem;
        margin-top: 80px;
    }
}

.overlay-list-menu {
    display: none;
}


/* === Overlay: Hexagon Grid === */

.hexagon-grid {
    text-align: center;
    padding: 20px 0;
    font-size: 0;
    --hex-width: 198px;
    --hex-height: 229px;
    --hex-gap: 20px;
    --hex-margin-v: calc(-0.125 * var(--hex-height) + 0.433 * var(--hex-gap));
    --hex-margin-h: calc(var(--hex-gap) / 2);
}

.hex-item {
    position: relative;
    display: inline-block;
    width: var(--hex-width);
    height: var(--hex-height);
    margin: var(--hex-margin-v) var(--hex-margin-h);
    background-color: transparent;
    transition: none;
    cursor: pointer;
    vertical-align: middle;
    filter: drop-shadow(0 5px 6px rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.hex-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-color: var(--hexagon-color-light);
    z-index: -1;
    transition: transform 0.25s ease-out, background-color 0.25s ease-out;
}

.hex-item::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background-color: var(--color-overlay-bg);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 0;
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.hex-light::after,
.hex-normal::after,
.hex-dark::after {
    background-color: var(--hexagon-color-light);
}

.hex-item:hover,
.hex-item:focus {
    transform: none;
    z-index: 10;
    filter: drop-shadow(0 12px 12px rgba(132, 36, 63, 0.1));
}

.hex-item:hover::after,
.hex-item:focus::after {
    transform: scale(1.05);
    background-color: var(--hexagon-color-normal);
}

.hex-item:hover::before,
.hex-item:focus::before {
    transform: scale(1.05);
    opacity: 0;
}

.hex-item:focus {
    outline: none;
}

.hex-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    padding: 0 10px;
    pointer-events: none;
    z-index: 2;
}

.hex-text {
    display: block;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.hex-item:hover .hex-text,
.hex-item:focus .hex-text {
    color: #ffffff;
}

/* Overlay Hexagons: Responsive */

@media (min-width: 768px) {
    .hexagon-grid {
        padding-top: 50px;
    }

    .hex-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .overlay-content .container {
        justify-content: flex-start !important;
        height: auto !important;
        min-height: 100%;
        padding-top: 20px;
    }

    .hexagon-grid {
        display: grid;
        grid-template-columns: repeat(2, auto);
        justify-content: center;
        gap: 0 var(--hex-gap);
        padding: 20px 0 50px 0;
        --hex-width: 177px;
        --hex-height: 202px;
        --hex-gap: 12px;
        --hex-margin-v: calc(var(--hex-height) * -0.25 + var(--hex-gap) * 0.866);
    }

    .hex-item {
        display: block;
        margin: 0 0 var(--hex-margin-v) 0;
        transform: none;
    }

    .hex-item:nth-of-type(1),
    .hex-item:nth-of-type(4),
    .hex-item:nth-of-type(7) {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .hex-item:nth-of-type(1) {
        margin-top: 20px;
    }

    .hex-item:nth-of-type(odd),
    .hex-item:nth-of-type(even) {
        transform: none;
    }

    .hex-item:hover,
    .hex-item:focus {
        transform: scale(1.05);
    }
}

@media (max-width: 419.98px) {
    .hexagon-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 0;
        padding-bottom: 50px;
    }

    .hex-item {
        margin: 0 0 var(--hex-margin-v) 0 !important;
        transform: none !important;
        grid-column: auto;
    }

    .hex-item:last-child {
        margin-bottom: 0 !important;
    }

    .hex-item:nth-of-type(odd) {
        transform: translateX(calc(var(--hex-width) / -4)) !important;
        left: -4px;
    }

    .hex-item:nth-of-type(even) {
        transform: translateX(calc(var(--hex-width) / 4)) !important;
        left: 4px;
    }

    /* Listenansicht via .variant-list */

    .variant-list .hexagon-grid {
        display: none !important;
    }

    .variant-list .overlay-list-menu {
        display: block;
        padding-bottom: 50px;
        width: 100%;
        margin-top: -20px;
    }

    .variant-list .overlay-list-menu .nav-link {
        font-size: 1.25rem;
        padding: 0.5rem 0;
        color: var(--primary-color);
        font-weight: 500;
        letter-spacing: 0.05rem;
    }

    .variant-list .overlay-list-menu .nav-link:hover {
        color: var(--primary-color-hover);
        text-decoration: none;
    }
}


/* === Teaser Lists (Schwerpunkt-Seiten) === */

#phoniatrie-teaser ul,
#hno-teaser ul,
#kinder-teaser ul,
#schwindel-teaser ul,
#schlaf-teaser ul,
#allergie-teaser ul,
#hoeren-teaser ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

#phoniatrie-teaser li,
#hno-teaser li,
#kinder-teaser li,
#schwindel-teaser li,
#schlaf-teaser li,
#allergie-teaser li,
#hoeren-teaser li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

#phoniatrie-teaser li::before,
#hno-teaser li::before,
#kinder-teaser li::before,
#schwindel-teaser li::before,
#schlaf-teaser li::before,
#allergie-teaser li::before,
#hoeren-teaser li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 12px;
    background-color: var(--hexagon-color-dark);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}


/* === Accordion === */

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--hexagon-color-light);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:focus {
    z-index: 3;
    border-color: var(--hexagon-color-normal);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(132, 36, 63, 0.25);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2384243f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


/* === Map === */

.map-placeholder {
    width: 100%;
    height: 450px;
    background-color: var(--secondary-bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    border: 1px solid #ddd;
}

.map-placeholder-content {
    max-width: 600px;
    padding: 20px;
}

.map-placeholder h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    text-transform: uppercase;
}

.map-placeholder p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.map-placeholder a {
    text-decoration: underline;
    color: var(--primary-color);
}


/* === Profile === */

.profile-portrait-placeholder {
    aspect-ratio: 3/4;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-portrait-placeholder svg {
    opacity: 0.4;
}

.link-highlight,
.link-highlight:visited,
.link-highlight:hover,
.link-highlight:active {
    color: var(--primary-color) !important;
    font-weight: 500;
    text-decoration: none !important;
}

.link-highlight:hover {
    color: var(--primary-color-hover) !important;
}

.profile-list {
    list-style: none;
    padding-left: 0;
}

.profile-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.profile-list li:last-child {
    margin-bottom: 0;
}

.profile-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 12px;
    background-color: var(--hexagon-color-dark);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.profile-list a {
    color: inherit;
}

.profile-list a:hover {
    color: var(--primary-color);
}

.profile-function-label {
    color: var(--primary-color);
    font-weight: 500;
}


/* === Utilities === */

.text-hex-light {
    color: var(--hexagon-color-light);
}

.text-primary-color {
    color: var(--primary-color);
}

.lang-switch-offcanvas {
    font-size: 0.85rem;
}

.hero-overlay {
    z-index: 2;
}

.section-h3-uppercase {
    font-size: 1.5rem;
    text-transform: uppercase;
}

.btn-hero-cta-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.location-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 20px;
}

html.noscroll,
body.noscroll {
    overflow-y: scroll;
    height: 100vh;
    overscroll-behavior: none;
}