[hidden] { display: none !important; }

html body { background-image: none; color: #242424; font-family: system-ui, sans-serif; font-size: 16px; line-height: 1.6; }
body .site-body main .content { background: #fbfcfe !important; color: #21374b; overflow-wrap: anywhere; }
body .site-body main .content :is(p, li, address, label) { color: #21374b; }
.site-body .content :is(h1, h2, h3, h4) { color: #1d3448; font-family: system-ui, sans-serif; line-height: 1.22; }
.site-body .content h1 { font-size: clamp(1.65rem, 4vw, 2.15rem); }
.site-body .content h2 { font-size: 1.45rem; }
.site-body .content h3 { font-size: 1.18rem; }
.content img { max-width: 100%; height: auto; }
.site-body .content a { color: #174e76; text-decoration: underline; }
.site-address a { color: #fff; text-decoration: underline; }
.site-header { min-height: 0; /*background: #27394c; */}
.site-header .telefon { padding-block: 14px; }
.site-header .nummer { color: #fff; display: inline-block; font-size: 1rem; padding: 6px 4px; text-decoration: underline; }
.site-body { border-top: 0; }
.site-address { margin: 8px 0 18px; padding: 12px; background: #27394c; color: #fff; overflow-wrap: anywhere; }
.site-body .site-nav { margin-bottom: 12px; background: #27394c; }
.site-menu { margin: 0; padding: 0; list-style: none; }
.site-body .site-nav .site-menu > li > a { color: #fff; padding: 8px 12px; line-height: 1.45; }
.site-body .site-nav .site-menu > li > a:hover,
.site-body .site-nav .site-menu > li > a:focus,
.site-body .site-nav .site-menu > li.active > a { background: #e2e9ee; color: #22297a !important; text-decoration: underline; }
.site-menu-toggle { background: #fff; color: #202020; border: 1px solid #666; border-radius: 4px; margin: 6px; min-height: 44px; padding: 6px 16px; }
.skip-link { position: fixed; top: 0; left: 0; z-index: 100; transform: translateY(-120%); padding: 10px 16px; background: #fff; color: #174d71; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #0b6d9e !important; outline-offset: 2px; }
#inhalt:focus { outline-offset: -3px; }
.contact-fields { max-width: 38rem; }
.contact-fields label { display: block; margin-top: 12px; }
.contact-fields input, .contact-fields textarea { display: block; width: 100%; padding: 8px; border: 1px solid #555; border-radius: 4px; color: #242424; background: #fff; }
.contact-fields button { margin-top: 16px; min-height: 44px; }
.contact-trap { display: none; }
.form-errors { border: 2px solid #8e3d31; padding: 0 12px; margin: 12px 0; }
@media (min-width: 768px) {
    .site-body > .navigation {
        position: sticky;
        top: 12px;
        min-height: 0;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
    }
}

@media (max-width: 767px) {
    html.has-site-menu { scroll-padding-top: 64px; }
    .has-site-menu .site-body > .navigation {
        position: sticky;
        top: 0;
        z-index: 10;
    }
    .has-site-menu .site-body .site-nav {
        margin-bottom: 8px;
        background: #27394c;
    }
    .has-site-menu .site-menu {
        position: absolute;
        inset: 100% 0 auto;
        max-height: calc(100vh - 64px);
        max-height: calc(100dvh - 64px);
        overflow-y: auto;
        background: #27394c;
    }
    .site-header .telefon { padding-block: 4px; }
    .site-address { display: none; }
    .content { padding-inline: 12px; }
}
.content .legacy-full-image { width: 100%; }
.site-header .logo { height: auto; max-width: 100%; }

.contact-fields button[aria-disabled="true"] { cursor: wait; opacity: .75; }
.contact-toast {
    position: fixed;
    z-index: 110;
    pointer-events: none;
    inset-inline-end: 12px;
    inset-block-end: max(12px, env(safe-area-inset-bottom));
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: min(28rem, calc(100% - 24px));
    padding: 12px;
    color: #242424;
    background: #fff;
    border-inline-start: 5px solid #fbfcfe;
    border-radius: 4px;
    box-shadow: 0 4px 20px #0006;
}
.contact-toast[data-kind="success"] { border-inline-start-color: #276749; }
body .site-body main .content .contact-toast p { flex: 1; margin: 0; color: #242424; }
.contact-toast button { pointer-events: auto; color: #242424; background: #fff; border: 1px solid #777; border-radius: 4px; min-width: 44px; min-height: 44px; }

@media (max-width: 1023px) {
    .contact-toast { position: static; pointer-events: auto; margin-block: 12px; width: 100%; }
}

body .site-header .logoContainer { text-align: right; }
body .site-header .telefon { margin-block: 0; border-radius: 5px}
body .site-header .telefon .nummer { font-size: 2.0rem; color: #ad0126; padding-top: 56px; }
body .site-header .sprechzeiten { color: #fbfcfe; display: block; font-size: 2.0rem;}
.site-address { font-style: normal; }
.content figure { margin-inline: 0; }
.content iframe { display: block; width: 100%; max-width: 100%; border: 0; }
.content .video-frame { height: auto; aspect-ratio: 16 / 9; }
.content table { max-width: 100%; }
@media (max-width: 767px) {
    body .site-header .logoContainer { margin-bottom: 0; text-align: center; }
    body .site-header .logoContainer img { max-height: 120px; width: auto; }
}

body .site-header .logoContainer { padding-block: 8px; }
.site-header .logo { max-height: 130px; width: auto; }
.site-body { margin-top: 12px; }
.site-body .content { padding: clamp(16px, 3vw, 32px); }
.site-body .content .action-link,
.site-body .content button[type="submit"].contact-submit {
    display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
    background: #194e71; color: #fff; border: 1px solid #194e71; border-radius: 4px;
    text-decoration: none; font-weight: 650;
}
.site-body .content .action-link:hover,
.site-body .content button[type="submit"].contact-submit:hover { background: #123952; }
.site-body .content ul { padding-inline-start: 1.4em; }
.site-body .content .action-link:focus-visible { outline-offset: 3px; }
.legacy-width-narrow { width: 80%; }
@media (max-width: 767px) {
    body .site-header .logoContainer { text-align: center; }
    body .site-header .logoContainer .logo { max-height: 85px; }
}

.site-body .content .well.flexslider { color: #21374b; }

.practice-online-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}
.practice-online-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 10px;
    border: 1px solid #fff;
    border-radius: 4px;
    background: #194e71;
    color: #fff;
    font-weight: 650;
    text-decoration: none;
}
.practice-online-actions a:hover { background: #123952; text-decoration: underline; }

body .site-header .telefon {
    display: block;
    padding: 8px 12px 12px;
}
@media (min-width: 768px) {
    body .site-header .logoContainer { float: right; }
}

/* Public layout based on the practice's previous design. */
body.practice-site { font-family: 'Open Sans', sans-serif; font-size: 14px; }
.practice-site .site-header {
    padding: 7px 0 19px;
    margin: 0;
}
.practice-site .site-header {
    position: sticky;
    top: 0;
    z-index: 0;
}
.practice-site .site-header:focus-within { z-index: 2; }
.practice-header-phone a {
    display: inline-block;
    padding: 56px 4px 6px;
    color: #ad0126;
    font-size: 2rem;
    font-weight: 600;
    text-decoration: underline;
}
body.practice-site .site-header .logoContainer { padding: 0; }
body.practice-site .site-header .logo { width: 300px; max-height: none; }
body.practice-site .site-header .telefon { display: none; }
.practice-site .site-body { margin-top: 0; }
body.practice-site .site-body main .content {
    background: rgba(82, 78, 77, .9) !important;
    color: #fff;
    padding: 20px clamp(24px, 5.86vw, 60px);
}
body.practice-site .site-body main .content :is(p, li, address, label) { color: #fff; }
.practice-site .site-body .content :is(h1, h2, h3, h4) {
    color: #fff;
    font-family: 'Open Sans Condensed', 'Open Sans', sans-serif;
    font-weight: 300;
    line-height: 1.1;
}
.practice-site .site-body .content h1 { font-size: 2.5em; }
.practice-site .site-body .content h2 { font-size: 2em; }
.practice-site .site-body .content h3 { font-size: 1.5em; }
.practice-site .site-body .content a { color: #f3ca9d; }
.practice-site .site-body .content .action-link { color: #fff; }
body.practice-site .site-body main .content .contact-toast p { color: #242424; }
.practice-site .site-body .site-nav {
    background: transparent;
    margin-bottom: 0;
}
.practice-site .site-body .site-nav .site-menu > li > a {
    padding: 8px 0;
    line-height: 20px;
    color: #707070;
    font-weight: 700;
}
.practice-site .site-body .site-nav .site-menu > li > a:hover,
.practice-site .site-body .site-nav .site-menu > li > a:focus,
.practice-site .site-body .site-nav .site-menu > li.active > a {
    color: #222 !important;
    background: transparent;
    text-decoration: none;
}
.practice-site .site-legal { margin-top: 42px; }
.practice-site .site-body .site-nav .site-menu > .site-legal > a {
    display: inline-block;
    color: #edb981;
    font-size: 11px;
    padding: 4px 1px;
}
.practice-site .site-menu a[aria-current="page"] { color: #222 !important; }
.practice-site .site-address {
    margin: 75px 0 0;
    padding: 0;
    background: transparent;
    color: #524e4d;
    line-height: 1.2;
}
.practice-site .site-address a { color: inherit; text-decoration: none; }
.practice-site .site-address a:hover { text-decoration: underline; }
.practice-site .home-booking { margin: 10px 0 18px; padding: 0; text-align: center; }
.practice-site .home-booking img { width: 80%; height: auto; }
.practice-site .home-title { margin: 0 0 20px; text-align: center; }
.practice-site .home-portrait { margin: 0 0 44px; text-align: center; }
.practice-site .home-portrait figcaption { color: #fff; }
@media (min-width: 768px) {
    .practice-site .site-mobile-directions { display: none; }
    .practice-site > .container { position: relative; }
    .practice-header-phone {
        position: absolute;
        top: 15px;
        left: 15px;
        width: calc((100% - 30px) / 3);
    }
}
@media (max-width: 767px) {
    .practice-site .site-header { padding: 14px 12px 0; }
    body.practice-site .site-header .logo { width: 170px; }
    .practice-header-phone { position: relative; padding: 8px 12px 30px; }
    .practice-site .site-body > .navigation { min-height: 0; }
    .has-site-menu .practice-site .site-body > .navigation { z-index: 21; }
    .has-site-menu .practice-site .site-body .site-nav { background: #f5f3f1; }
    .has-site-menu .practice-site .site-menu { background: #f5f3f1; }
    .practice-site .site-legal { margin-top: 8px; }
    .practice-site .site-body .site-nav .site-menu > .site-legal > a { color: #804c28; }
    body.practice-site .site-body main .content { padding: 18px 16px; }
    .practice-site .site-body .content h1 { font-size: 2em; }
    .practice-site .home-booking a { display: flex; align-items: center; min-height: 44px; }
    .practice-site .home-booking img { width: 100%; }
}

.reception-launcher {
    position: fixed;
    z-index: 20;
    inset-inline-start: max(12px, env(safe-area-inset-left));
    inset-block-end: max(12px, env(safe-area-inset-bottom));
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #fff;
    border-radius: 6px;
    background: #194e71;
    color: #fff;
    box-shadow: 0 2px 8px #0005;
    font: 700 14px/1.4 'Open Sans', sans-serif;
    text-decoration: none;
}
.reception-launcher:hover,
.reception-launcher:focus { background: #123952; color: #fff; }
.reception-dialog {
    position: fixed;
    inset: auto auto max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    width: min(440px, calc(100vw - 24px));
    height: min(650px, calc(100vh - 24px));
    height: min(650px, calc(100dvh - 24px));
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #194e71;
    border-radius: 8px;
    background: #fff;
}
.reception-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.reception-dialog::backdrop { background: #0005; }
.reception-dialog-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 12px;
    background: #194e71;
    color: #fff;
}
.reception-dialog-bar button {
    min-height: 44px;
    padding-inline: 8px;
    border: 0;
    background: transparent;
    color: #fff;
    text-decoration: underline;
}
.reception-dialog iframe { width: 100%; height: 100%; border: 0; }
body.reception-embed { padding: 14px; background: #fff; }

.sticky-menu-marker {
    position: absolute;
    width: 1px;
    height: 1px;
    pointer-events: none;
}
.practice-site .sticky-menu-phone {
    display: none;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-height: 44px;
    margin-inline: auto;
    padding-inline: 8px;
    color: #ad0126;
    font-size: 1.15em;
    font-weight: 700;
    text-decoration: underline;
}
.practice-site .site-nav.is-stuck .sticky-menu-phone { display: flex; }

@media (min-width: 768px) and (min-height: 320px) {
    .practice-site .site-body > .navigation {
        --sidebar-top: 252px;
        top: var(--sidebar-top);
        max-height: calc(100vh - var(--sidebar-top) - 12px);
        max-height: calc(100dvh - var(--sidebar-top) - 12px);
    }
    .practice-site .site-nav.is-stuck .sticky-menu-phone { display: none; }
    body.practice-site .site-header .telefon { display: block; }
    .practice-site .practice-header-phone { display: none; }
}
@media (max-width: 767px) {
    .practice-site .site-nav.is-stuck .sticky-menu-phone {
        position: absolute;
        inset-block-start: 6px;
        inset-inline-end: 8px;
    }
}
