@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree-latin-wght-normal-Dj9csJy.woff2") format("woff2");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #0e7c86;
    --primary-dark: #0a5d65;
    --primary-soft: #e4f3f4;
    --ink: #14282b;
    --muted: #4a5f62;
    --bg: #f8f6f2;
    --surface: #fff;
    --line: #dfe5e4;
    --warn: #8a4b00;
    --warn-bg: #fff3df;
    --ok: #17673a;
    --ok-bg: #e5f5ea;
    --bad: #8c2b2b;
    --bad-bg: #fbeaea;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgb(20 40 43 / 6%), 0 8px 24px rgb(20 40 43 / 6%);
    --header-h: 72px;
    --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html:lang(ru), html:lang(uk) {
    --font: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.language-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.25rem 1rem;
    padding-block: 0.5rem;
}
.language-nav a {
    padding: 0.3rem 0.1rem;
    font-size: 0.9rem;
    text-underline-offset: 0.25em;
}
.language-nav [aria-current] { font-weight: 700; }
.translation-notice { padding-block: 1rem; }

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    text-rendering: optimizeLegibility;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.5vw + 0.5rem, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.35rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

a {
    color: var(--primary-dark);
    text-underline-offset: 0.18em;
}

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

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

address { font-style: normal; }

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    vertical-align: -0.2em;
}

.container {
    width: min(100% - 2.5rem, 1160px);
    margin-inline: auto;
}

.container--narrow { width: min(100% - 2.5rem, 760px); }

.center { text-align: center; }
.muted { color: var(--muted); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.7rem 1rem;
    background: var(--primary);
    color: var(--on-primary);
    border-radius: var(--radius-sm);
}

.skip-link:focus { top: 1rem; }

ul.plain {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plain--spaced > li + li { margin-top: 0.4rem; }
.plain--inline { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 1.35rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-dark); color: var(--on-primary); }
.btn--ghost { background: transparent; color: var(--primary-dark); border-color: var(--primary); }
.btn--ghost:hover { background: var(--primary-soft); color: var(--primary-dark); }
.btn--large { padding: 1rem 1.7rem; font-size: 1.1rem; }
.btn--small { padding: 0.6rem 1.05rem; font-size: 0.95rem; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgb(248 246 242 / 92%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-decoration: none;
    color: var(--ink);
}

.brand__name { font-weight: 800; font-size: 1.2rem; }
.brand__sub { font-size: 0.85rem; color: var(--muted); }

.site-nav ul {
    display: flex;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-nav a:not(.btn) {
    display: block;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
}

.site-nav a:not(.btn):hover { background: var(--primary-soft); }

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle .icon { width: 1.5em; height: 1.5em; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

@media (max-width: 979px) {
    .js .nav-toggle { display: inline-flex; }

    .site-header__bar { flex-wrap: wrap; padding-block: 0.6rem; }

    .site-nav {
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-bottom: 0.8rem;
    }

    .site-nav ul { flex-direction: column; }
    .site-nav .btn { align-self: stretch; }
    .js .site-nav:not(.is-open) { display: none; }
}

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tint { background: var(--primary-soft); }
.section--page { padding-block: clamp(2rem, 5vw, 4rem); min-height: 60vh; }

.section__head { margin-bottom: 1.5rem; }

.eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.85rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.section__lead {
    max-width: 62ch;
    font-size: 1.15rem;
    color: var(--muted);
}

.section__note {
    margin-top: 1.5rem;
    color: var(--muted);
}

.back { margin-bottom: 1.5rem; }
.back a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; }

/* Cards & grids */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    box-shadow: var(--shadow);
}

.card--center { text-align: center; }
.card--accent { border-color: var(--primary); background: var(--accent-surface); }
.card h3 { display: flex; align-items: center; gap: 0.5rem; }
.card__note { margin: 1rem 0 0; font-weight: 600; }

.grid { display: grid; gap: 1.25rem; }
.grid--offers { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--services { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--team { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--hours,
.grid--contact { grid-template-columns: 1fr; align-items: start; }

@media (min-width: 900px) {
    .grid--hours { grid-template-columns: 1.1fr 1fr; }
    .grid--contact { grid-template-columns: 1fr 1.2fr; }
}

.stack { display: grid; gap: 1.25rem; }

/* Hero */
.hero {
    padding-block: clamp(2rem, 5vw, 4.5rem);
    background:
        radial-gradient(70% 90% at 100% 0%, var(--primary-soft) 0%, transparent 60%),
        var(--bg);
}

.hero__grid { display: grid; gap: 2rem; align-items: center; }

@media (min-width: 900px) {
    .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; }
}

.hero__name {
    display: block;
    font-size: 0.45em;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
}

.hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 55ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-block: 1.5rem; }

.hero__facts { display: grid; gap: 0.5rem; color: var(--muted); }
.hero__facts li { display: flex; gap: 0.6rem; align-items: baseline; }

.hero__media img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

@media (max-width: 899px) {
    .hero__media img { aspect-ratio: 4 / 3; }
}

/* Status */
.status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.35;
}

.status__dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: currentcolor; flex: none; }
.status__note { font-weight: 500; }
.status--open { background: var(--ok-bg); color: var(--ok); }
.status--closed { background: var(--bad-bg); color: var(--bad); }

/* Hinweise */
.notices { padding-block: 0.5rem 0; }

.notice {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--warn-bg);
    border: 1px solid #f0cf9a;
    border-radius: var(--radius);
    color: #4a2b00;
}

.notice__icon .icon { width: 1.6em; height: 1.6em; color: var(--warn); }
.notice h2 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.notice__item { margin: 0 0 0.5rem; }
.notice__item:last-child { margin-bottom: 0; }
.notice a { color: inherit; }

.notice-inline {
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
    margin: 0 0 1.25rem;
    padding: 0.8rem 1rem;
    background: var(--primary-soft);
    border-radius: var(--radius-sm);
}

/* Termine */
.offer { display: flex; flex-direction: column; gap: 0.5rem; }
.offer h3 { margin: 0; }
.offer__meta,
.offer__info { margin: 0; color: var(--muted); font-size: 0.95rem; }

.offer__next {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin: 0.5rem 0 1rem;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    background: #f2f4f4;
    color: var(--muted);
}

.offer__next--free { background: var(--ok-bg); color: var(--ok); }
.offer .btn { margin-top: auto; }

/* Sprechzeiten */
.hours { width: 100%; border-collapse: collapse; }

.hours th,
.hours td {
    padding: 0.8rem 0.5rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.hours tr:last-child th,
.hours tr:last-child td { border-bottom: 0; }
.hours th { width: 9.5rem; font-weight: 700; }

.hours .slot { display: block; }
.hours small { color: var(--muted); font-size: 0.85em; }

.hours .is-today { background: var(--primary-soft); }
.hours .is-today th { color: var(--primary-dark); }

.hours__today {
    display: inline-block;
    margin-left: 0.3rem;
    padding: 0.05rem 0.5rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    vertical-align: 0.1em;
}

.hours__hint { margin: 1rem 0 0; font-size: 0.95rem; color: var(--muted); }

/* Leistungen */
.service { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; }

.service__icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    flex: none;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.service__icon .icon { width: 1.5rem; height: 1.5rem; }
.service__text { font-weight: 600; }

/* Team */
.member { text-align: center; }

.member__img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: 220px;
    margin: 0 0 1.25rem;
    object-fit: contain;
    object-position: center bottom;
}

.member__img .eye-open,
.member__img .eye-closed {
    transform-box: fill-box;
    transform-origin: center;
}

.member__img .eye-closed {
    opacity: 0;
}

.member__img.is-blinking .eye-open {
    animation: team-avatar-eye-open 0.28s ease-in-out 1;
}

.member__img.is-blinking .eye-closed {
    animation: team-avatar-eye-closed 0.28s ease-in-out 1;
}

@keyframes team-avatar-eye-open {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    42%, 58% { opacity: 0; transform: scaleY(0.07); }
}

@keyframes team-avatar-eye-closed {
    0%, 32%, 68%, 100% { opacity: 0; }
    42%, 58% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .member__img.is-blinking .eye-open,
    .member__img.is-blinking .eye-closed {
        animation: none;
    }
}

.member h3 { justify-content: center; }
.member__text { text-align: left; }
.rich ul { padding-left: 1.2rem; margin: 0 0 1em; }
.rich li + li { margin-top: 0.25rem; }
.rich > :last-child { margin-bottom: 0; }

/* Galerie */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }

@media (min-width: 900px) {
    .gallery { grid-template-columns: repeat(4, 1fr); }
}

.gallery__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.gallery__item img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery__item:hover img { transform: scale(1.04); }

.gallery__zoom {
    position: absolute;
    right: 0.6rem;
    bottom: 0.6rem;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: rgb(20 40 43 / 75%);
    color: #fff;
}

.lightbox {
    width: min(96vw, 1000px);
    max-height: 94vh;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: #0b1a1c;
    color: #fff;
    overflow: hidden;
}

.lightbox::backdrop { background: rgb(5 15 16 / 80%); }
.lightbox img { display: block; width: 100%; max-height: 80vh; object-fit: contain; }
.lightbox__caption { margin: 0; padding: 0.8rem 1rem; text-align: center; }

.lightbox__close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 90%);
    color: var(--ink);
    cursor: pointer;
}

/* Kontakt */
.contact p { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.7rem; }
.contact .icon { margin-top: 0.15rem; color: var(--primary-dark); }

.ways { display: grid; gap: 1rem; }
.ways li { display: flex; gap: 0.8rem; align-items: flex-start; }
.ways .icon { margin-top: 0.15rem; color: var(--primary-dark); }

.map { padding: 0.75rem; }

.map__frame {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #eef3f3;
}

.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.map__placeholder {
    display: grid;
    gap: 0.4rem;
    place-content: center;
    justify-items: center;
    min-height: 380px;
    padding: 1.5rem;
    text-align: center;
}

.map__placeholder p { margin: 0; max-width: 40ch; }
.map__placeholder .icon { width: 2.5rem; height: 2.5rem; color: var(--primary-dark); }
.map__placeholder .btn { margin-top: 0.8rem; }

.map__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin: 0.9rem 0.4rem 0.2rem;
}

.map__links a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; }

/* Buchung */
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }

.pill {
    padding: 0.5rem 1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.pill:hover { border-color: var(--primary); }
.pill.is-active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.booking { padding: 0.5rem; overflow: hidden; }
.booking__frame { display: block; width: 100%; border: 0; border-radius: var(--radius-sm); background: var(--surface); }

/* Rechtstexte */
.legal h1 { margin-bottom: 1rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: 0.4rem; }

/* Footer */
.site-footer { background: #0f2528; color: #d6e3e4; padding-top: 3rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #9ee0e6; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer__title { margin-bottom: 0.5rem; font-weight: 750; color: #fff; }
.site-footer li { margin-bottom: 0.3rem; }
.site-footer .icon { color: #9ee0e6; }

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-top: 2rem;
    padding-block: 1.25rem;
    border-top: 1px solid rgb(255 255 255 / 15%);
    font-size: 0.95rem;
}

.site-footer__legal p { margin: 0; }

.error-page { display: grid; align-items: center; min-height: 100vh; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
    .site-header,
    .site-footer,
    .hero__actions,
    .map,
    .booking { display: none; }
}

/* Public website: restrained typography, aligned grids and real photography. */
:root {
    --primary: #087c78;
    --primary-dark: #075c59;
    --primary-soft: #eaf4f2;
    --on-primary: #fff;
    --ink: #1d2927;
    --muted: #64716e;
    --bg: #fff;
    --surface: #fff;
    --line: #e2e8e6;
    --accent-surface: #fbfeff;
    --header-bg: rgb(255 255 255 / 96%);
    --nav-ink: #394440;
    --section-tint: #f5f7f6;
    --notice-border: #e8dfcb;
    --notice-ink: #55452b;
    --map-bg: #eaf0ed;
    --footer-bg: #f2f4f3;
    --footer-text: #45514d;
    --footer-line: #dce2df;
    --admin-bg: #f1f4f4;
    --admin-input-line: #aab8b8;
    --admin-subtle-bg: #e6ebeb;
    --admin-editor-icon-filter: none;
    --radius: 10px;
    --radius-sm: 7px;
    --shadow: 0 1px 3px rgb(22 37 34 / 8%), 0 10px 24px rgb(22 37 34 / 5%);
    --header-h: 68px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

:root[data-theme-storage] {
    color-scheme: light;
}

:root[data-theme-storage][data-resolved-theme="dark"] {
    color-scheme: dark;
}

:root[data-theme-storage][data-theme="dark"] {
    --primary: #69c9c1;
    --primary-dark: #91dfd8;
    --primary-soft: #173d39;
    --on-primary: #0d1b18;
    --ink: #edf4f1;
    --muted: #a8b9b3;
    --bg: #0f1614;
    --surface: #18211e;
    --line: #35433f;
    --accent-surface: #1a2a26;
    --header-bg: rgb(15 22 20 / 96%);
    --nav-ink: #dce5e2;
    --section-tint: #151f1c;
    --notice-border: #665333;
    --notice-ink: #edddbd;
    --map-bg: #1d2925;
    --footer-bg: #0b1210;
    --footer-text: #aebfba;
    --footer-line: #33403c;
    --admin-bg: #0f1614;
    --admin-input-line: #53635e;
    --admin-subtle-bg: #24332e;
    --admin-editor-icon-filter: invert(1);
    --warn: #f1bf70;
    --warn-bg: #32271b;
    --ok: #80d8a0;
    --ok-bg: #183425;
    --bad: #ff9f9f;
    --bad-bg: #382121;
    --shadow: 0 1px 3px rgb(0 0 0 / 24%), 0 12px 28px rgb(0 0 0 / 18%);
}

@media (prefers-color-scheme: dark) {
    :root[data-theme-storage]:not([data-theme="light"]):not([data-theme="dark"]) {
        color-scheme: dark;
        --primary: #69c9c1;
        --primary-dark: #91dfd8;
        --primary-soft: #173d39;
        --on-primary: #0d1b18;
        --ink: #edf4f1;
        --muted: #a8b9b3;
        --bg: #0f1614;
        --surface: #18211e;
        --line: #35433f;
        --accent-surface: #1a2a26;
        --header-bg: rgb(15 22 20 / 96%);
        --nav-ink: #dce5e2;
        --section-tint: #151f1c;
        --notice-border: #665333;
        --notice-ink: #edddbd;
        --map-bg: #1d2925;
        --footer-bg: #0b1210;
        --footer-text: #aebfba;
        --footer-line: #33403c;
        --admin-bg: #0f1614;
        --admin-input-line: #53635e;
        --admin-subtle-bg: #24332e;
        --admin-editor-icon-filter: invert(1);
        --warn: #f1bf70;
        --warn-bg: #32271b;
        --ok: #80d8a0;
        --ok-bg: #183425;
        --bad: #ff9f9f;
        --bad-bg: #382121;
        --shadow: 0 1px 3px rgb(0 0 0 / 24%), 0 12px 28px rgb(0 0 0 / 18%);
    }
}

body:not(.admin) {
    color: var(--ink);
    background: var(--bg);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body:not(.admin) h1,
body:not(.admin) h2,
body:not(.admin) h3 { letter-spacing: -0.035em; }

body:not(.admin) h1 { font-size: clamp(2.5rem, 5.2vw, 4.65rem); font-weight: 650; line-height: 1.08; }
body:not(.admin) h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 620; line-height: 1.12; }
body:not(.admin) h3 { font-weight: 620; }

.site-header { background: var(--header-bg); }
.site-header__bar { gap: 1.5rem; }
.brand__name { font-size: 1.02rem; font-weight: 650; }
.brand__sub { font-size: 0.78rem; }
.site-nav { flex: 1; justify-content: flex-end; }
.site-nav ul { gap: clamp(0.65rem, 1.7vw, 1.4rem); }
.site-nav a:not(.btn) {
    padding: 0.7rem 0;
    color: var(--nav-ink);
    font-size: 0.88rem;
    font-weight: 450;
}
.site-nav a:not(.btn):hover { color: var(--primary); background: transparent; }
.header-booking { flex: none; }
.btn {
    min-height: 48px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: background-color 0.16s ease, color 0.16s ease;
}
.btn--primary { color: var(--on-primary); background: var(--primary); }
.btn--primary:hover { color: var(--on-primary); background: var(--primary-dark); }
.btn--large { min-height: 54px; }
.btn--small { min-height: 40px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 0.35rem; font-weight: 550; text-decoration: none; }
.text-link .icon { transition: transform 0.16s ease; }
.text-link:hover .icon { transform: translateX(3px); }

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section--tint { background: var(--section-tint); }
.section__head { margin-bottom: clamp(1.7rem, 4vw, 3rem); }
.section__lead { max-width: 54ch; color: var(--muted); font-size: 1.08rem; }
.section__note { color: var(--muted); }

.hero { padding-top: clamp(3rem, 7vw, 6rem); background: var(--bg); }
.hero__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 24rem);
    align-items: end;
    /* Letzte Textzeilen beider Spalten auf eine gemeinsame Grundlinie setzen */
    align-items: last baseline;
    gap: 2rem clamp(2.5rem, 6vw, 5rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hero__name {
    display: block;
    margin: 0 0 0.9rem;
    color: var(--primary-dark);
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0;
}
.hero h1 { margin: 0; }
.hero h1 span { color: var(--muted); font-weight: 500; }
.hero__specialty { margin: 0; font-size: 1.05rem; font-weight: 600; }
.hero__lead { max-width: 36ch; margin: 0.3rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; margin: 1.5rem 0 0; }
.hero__aside > .status { align-items: baseline; margin: 1rem 0 0; }
.hero__media { width: min(100% - 2.5rem, 1160px); margin-inline: auto; }
.hero__media img { display: block; width: 100%; aspect-ratio: 2.18 / 1; object-fit: cover; object-position: center 54%; border-radius: 0; box-shadow: none; }
.practice-bar { display: flex; min-height: 76px; align-items: center; gap: 1rem 2rem; border-bottom: 1px solid var(--line); }
.practice-bar .status { margin: 0 auto 0 0; }
.practice-bar__address { color: var(--muted); font-size: 0.92rem; text-decoration: none; }
.status { gap: 0.55rem; margin-bottom: 1rem; padding: 0; color: var(--muted); background: transparent; font-size: 0.9rem; font-weight: 450; }
.status__dot { width: 0.55rem; height: 0.55rem; }
.status--open { color: var(--ok); background: transparent; }
.status--closed { color: var(--bad); background: transparent; }

.notices { padding-top: 1.5rem; }
.notice {
    display: grid;
    grid-template-columns: minmax(150px, 0.36fr) 1fr;
    gap: 1.5rem 3rem;
    padding-block: 1.5rem;
    border-block: 1px solid var(--notice-border);
    border-radius: 0;
    color: var(--notice-ink);
    background: transparent;
}
.notice h2 { margin: 0; font-size: 1.1rem; letter-spacing: -0.01em; }
.notice__item { margin: 0 0 0.5rem; }
.notice__item:last-child { margin-bottom: 0; }

.appointment-layout { display: grid; grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.appointment-layout .section-intro h2 { margin-bottom: 1.2rem; }
.appointment-layout .section__note { margin-top: 2rem; }
.offers { border-top: 1px solid var(--line); }
.offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
    align-items: center;
    gap: 1rem 2rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
}
.offer:hover { color: var(--ink); }
.offer:hover .offer__action { color: var(--primary-dark); }
.offer h3 { margin: 0 0 0.25rem; font-size: 1.12rem; }
.offer__meta,
.offer__info { margin: 0; color: var(--muted); font-size: 0.9rem; }
.offer__availability { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.5rem; }
.offer__next { margin: 0; padding: 0; border-radius: 0; color: var(--muted); background: transparent; font-size: 0.84rem; line-height: 1.4; }
.offer__next strong { display: block; color: var(--ok); font-size: 0.92rem; font-weight: 600; }
.offer__action { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--primary); font-size: 0.88rem; font-weight: 600; white-space: nowrap; }
.offer__action .icon { width: 1rem; }
html:not(:lang(de)) .offer__availability { grid-template-columns: minmax(0, 1fr); }
html:not(:lang(de)) .offer__action { white-space: normal; }
.availability-note { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.8rem; }
.booking-fallback { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.booking-fallback h3 { margin-bottom: 0.5rem; }
.booking-fallback p { max-width: 54ch; color: var(--muted); }

.hours-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); gap: clamp(2rem, 8vw, 7rem); align-items: start; }
.hours th,
.hours td { padding: 0.8rem 0.5rem; border-bottom-color: var(--line); }
.hours th { width: 10rem; font-weight: 570; }
.hours .is-today { background: transparent; }
.hours .is-today th { color: var(--primary-dark); }
.hours__today { margin-left: 0.4rem; padding: 0; border-radius: 0; color: var(--primary-dark); background: transparent; font-size: 0.73rem; font-weight: 650; text-transform: uppercase; }
.hours__hint { color: var(--muted); font-size: 0.86rem; }
.hours-aside { display: grid; gap: 2rem; }
.acute-hours { padding-left: 1rem; border-left: 2px solid var(--primary); }
.acute-hours h3,
.urgent-help h3 { margin-bottom: 0.7rem; font-size: 1.02rem; }
.urgent-help { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.urgent-help__numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.urgent-help__numbers p { display: grid; gap: 0.25rem; margin: 0; }
.urgent-help__numbers a { font-size: 1.4rem; font-weight: 600; text-decoration: none; }
.urgent-help__numbers span { color: var(--muted); font-size: 0.82rem; line-height: 1.45; }

.services-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(2rem, 8vw, 7rem); align-items: start; }
.services-image { margin: 0; }
.services-image img { display: block; width: 100%; aspect-ratio: 1.18 / 1; object-fit: cover; }
.services-image figcaption { margin-top: 0.65rem; color: var(--muted); font-size: 0.82rem; }
.services { border-top: 1px solid var(--line); }
.services li { position: relative; padding: 0.8rem 0 0.8rem 1.25rem; border-bottom: 1px solid var(--line); }
.services li::before { position: absolute; top: 1.55rem; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); content: ""; }

.team-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.member { min-width: 0; padding: 1.75rem clamp(1rem, 2.5vw, 2rem) 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: left; }
.member:first-child { padding-left: 0; }
.member:last-child { padding-right: 0; }
.member + .member { border-left: 1px solid var(--line); }
.member__img { display: block; width: 100%; max-width: 220px; height: 220px; margin: 0 0 1.5rem; border-radius: 0; background: transparent; object-fit: contain; object-position: center bottom; }
.member h3 { justify-content: flex-start; margin-bottom: 0.65rem; font-size: 1.12rem; }
.member__text { color: var(--muted); font-size: 0.92rem; }

.gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; }
.gallery__item { border-radius: 0; box-shadow: none; }
.gallery__item img { aspect-ratio: 1.1 / 1; transition: transform 0.28s ease; }
.gallery__item:hover img { transform: scale(1.025); }
.gallery__caption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 2.25rem 0.8rem 0.65rem; color: #fff; background: linear-gradient(transparent, rgb(13 23 21 / 65%)); font-size: 0.84rem; }
.gallery__caption .icon { width: 1rem; }

.contact-section { background: var(--section-tint); }
.contact-layout { display: grid; grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr); gap: clamp(2rem, 8vw, 7rem); align-items: start; }
.contact p { display: block; margin-bottom: 0.6rem; }
.contact__address { font-size: 1.35rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.02em; }
.contact__details { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 0.3rem 0.8rem; margin: 1.4rem 0 1rem; font-size: 0.93rem; }
.contact__details dt { color: var(--muted); }
.contact__details dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.directions { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.directions summary { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-weight: 580; list-style: none; }
.directions summary::-webkit-details-marker { display: none; }
.directions summary .icon { transition: transform 0.16s ease; }
.directions[open] summary .icon { transform: rotate(180deg); }
.ways { display: grid; gap: 0.8rem; padding: 0.5rem 0 1rem; }
.ways li { display: grid; gap: 0.15rem; }
.ways span { color: var(--muted); font-size: 0.9rem; }
.map { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.map__frame { min-height: 340px; border-radius: 0; background: var(--map-bg); }
.map__placeholder { display: grid; min-height: 340px; place-content: center; justify-items: start; gap: 0.65rem; padding: clamp(1.5rem, 4vw, 3rem); text-align: left; }
.map__placeholder > .icon { width: 2rem; height: 2rem; color: var(--primary-dark); }
.map__placeholder p { max-width: 40ch; margin: 0; }
.map__title { font-size: 1.35rem; font-weight: 600; }
.map__placeholder .btn { margin-top: 0.5rem; }
.map__links { gap: 0.5rem 1.5rem; margin: 0.8rem 0 0; }
.map__links a { min-height: 42px; font-size: 0.88rem; font-weight: 450; text-decoration: none; }

.pills { gap: 0.45rem; overflow-x: auto; }
.pill { flex: none; padding: 0.5rem 0.9rem; border-radius: 999px; font-size: 0.9rem; font-weight: 550; }
.pill.is-active { color: var(--on-primary); background: var(--primary); }
.booking { overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: none; }
.booking__frame { border: 0; border-radius: 0; }
.booking-preview { margin-block: 1rem; }
.booking-preview [hidden],
.booking-error[hidden],
.booking-error [hidden],
.booking[hidden] { display: none; }
.booking-error .btn { display: flex; width: fit-content; margin-top: 0.75rem; }
.booking.is-failed { height: 0; border: 0; visibility: hidden; }

@media (max-width: 720px) {
    .booking { border: 0; border-radius: 0; background: transparent; }
}

.site-footer { color: var(--footer-text); background: var(--footer-bg); }
.site-footer a { color: var(--primary-dark); }
.site-footer a:hover { color: var(--primary); }
.site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-footer__title { color: var(--ink); font-weight: 600; }
.site-footer .icon { color: var(--primary-dark); }
.site-footer__legal { align-items: center; border-top-color: var(--footer-line); font-size: 0.86rem; }

.theme-picker {
    display: none;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    color: var(--footer-text);
}
.js .theme-picker { display: flex; }
.theme-picker label { font-size: 0.8rem; }
.theme-picker select {
    min-height: 38px;
    padding: 0.35rem 1.8rem 0.35rem 0.7rem;
    border: 1px solid var(--footer-line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}

@media (max-width: 979px) {
    .site-header__bar { position: relative; flex-wrap: nowrap; padding-block: 0; }
    .site-nav {
        position: absolute;
        top: 100%;
        right: calc((100vw - 100%) / -2);
        left: calc((100vw - 100%) / -2);
        display: block;
        flex-basis: auto;
        flex-direction: initial;
        align-items: initial;
        padding: 0.4rem max(1.5rem, calc((100vw - 760px) / 2)) 1rem;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 16px rgb(22 37 34 / 7%);
    }
    .site-nav ul { display: grid; gap: 0; }
    .site-nav a:not(.btn) { padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
    .site-nav a:not(.btn):hover { background: transparent; }
    .site-nav .btn { align-self: stretch; }
    .js .site-nav:not(.is-open) { display: none; }
    .js .nav-toggle { display: inline-flex; }
    .header-booking { margin-left: auto; }
    .hero__intro { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .hero__aside { max-width: 34rem; }
    .hero__media { width: 100%; }
    .hero__media img { aspect-ratio: 1.65 / 1; }
    .practice-bar { flex-wrap: wrap; padding-block: 0.8rem; }
    .practice-bar__address { width: 100%; }
    .appointment-layout { grid-template-columns: minmax(190px, 0.65fr) minmax(0, 1.35fr); gap: 2.5rem; }
    .offer { grid-template-columns: 1fr; gap: 0.7rem; }
    .offer__availability { grid-template-columns: 1fr auto; }
}

@media (max-width: 1100px) {
    .offer__availability { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
    .offer__action { justify-self: start; }
}

@media (max-width: 680px) {
    body:not(.admin) h1 { font-size: clamp(2.35rem, 10vw, 3.35rem); }
    body:not(.admin) h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
    .container { width: min(100% - 2rem, 1240px); }
    .section { padding-block: 4rem; }
    .hero { padding-top: 2.5rem; }
    .hero__intro { gap: 1.25rem; padding-bottom: 1.75rem; }
    .hero__name { margin-bottom: 0.6rem; }
    .hero__specialty { font-size: 1rem; }
    .hero__lead { max-width: 44ch; font-size: 0.96rem; }
    .hero__actions { margin-top: 1.25rem; }
    .hero__actions .btn { width: 100%; }
    .hero__media img { aspect-ratio: 1.15 / 1; object-position: center; }
    .practice-bar { align-items: flex-start; gap: 0.2rem 1rem; padding-block: 0.9rem; }
    .practice-bar .status { width: 100%; margin-bottom: 0.3rem; }
    .practice-bar .text-link,
    .practice-bar__address { font-size: 0.85rem; }
    .practice-bar__address { width: auto; margin-left: auto; text-align: right; }
    .notices { padding-top: 0.8rem; }
    .notice { grid-template-columns: 1fr; gap: 0.5rem; }
    .appointment-layout,
    .hours-layout,
    .services-layout,
    .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .appointment-layout .section-intro h2 br { display: none; }
    .appointment-layout .section__note { margin-top: 1rem; }
    .offer { padding-block: 1rem; }
    .offer__availability { gap: 0.5rem; }
    .offer__next { font-size: 0.78rem; }
    .offer__next strong { font-size: 0.85rem; }
    .offer__action { font-size: 0.8rem; }
    .hours th { width: 7rem; }
    .hours th,
    .hours td { padding: 0.7rem 0.3rem; }
    .team-list { grid-template-columns: 1fr; }
    .member { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; column-gap: 1rem; padding: 1.5rem 0; }
    .member:first-child,
    .member:last-child { padding-right: 0; padding-left: 0; }
    .member + .member { border-top: 1px solid var(--line); border-left: 0; }
    .member__img { grid-row: span 2; width: 112px; height: 112px; margin: 0; }
    .member h3 { margin: 0 0 0.35rem; }
    .member__text { grid-column: 2; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
    .gallery__caption { padding: 2rem 0.55rem 0.45rem; font-size: 0.78rem; }
    .urgent-help__numbers { gap: 0.7rem; }
    .map__frame,
    .map__placeholder { min-height: 280px; }
    .contact__details { grid-template-columns: 4.2rem minmax(0, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr; gap: 1.4rem; }
    .site-footer__legal { align-items: flex-start; flex-direction: column; }
    .theme-picker { margin-left: 0; }
}

@media (max-width: 380px) {
    .container { width: min(100% - 1.5rem, 1240px); }
    .site-header__bar { gap: 0.5rem; }
    .brand__sub { max-width: 150px; }
    .header-booking { padding-inline: 0.65rem; font-size: 0.8rem; }
    .offer__availability { grid-template-columns: 1fr; }
    .offer__action { justify-self: start; }
}
