/* ==========================================================================
   Zahnarztpraxis Dr. Leppert & Partner
   Gestaltungskonzept "Wasserlinie"

   Leitidee: Das Praxislogo verbindet einen Zahnbogen mit dem Hamburger
   Wasserturm. Daraus leiten sich die drei wiederkehrenden Formen ab:
   der Bogen (Bildrahmen, Abschnittsmarken), die Wasserlinie (feine
   Regel mit Maßstrichen) und die Pfeilerteilung (Raster, Tabellen).

   Bewusst ohne Karten, Schatten und Verläufe: Flächen werden über
   Haarlinien und Weißraum getrennt, nicht über Boxen.
   ========================================================================== */

/* --- Schriften ----------------------------------------------------------- */

:root {
    --serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    --sans: 'Instrument Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;

    /* Farben aus dem Praxislogo: Petrol #007880, Salbeigrün #88b0b0, Schiefer #344f64 */
    --paper: #ffffff;
    --paper-2: #f4f8f9;
    --paper-3: #e3ecee;
    --white: #ffffff;

    --ink: #1b3541;
    --ink-2: #44606e;
    --ink-3: #7b909b;

    --teal: #007880;
    --teal-deep: #0a4a52;
    --teal-mid: #0a6a72;
    --teal-tint: #e6f2f2;

    --accent: #0a6a72;

    --line: #dbe5e8;
    --line-2: #bdcfd4;
    --line-invert: rgba(255, 255, 255, 0.22);

    --shell: 1240px;
    --gutter: clamp(1.25rem, 4.2vw, 3.25rem);
    --section: clamp(4rem, 8.5vw, 7.5rem);

    /* Höhe der mitlaufenden Kopfleiste: Sprungziele und klebende Spalten
       brauchen diesen Abstand, sonst verdecken sie der Kopfbereich. */
    --head-h: 5.25rem;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- Grundlagen ---------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--head-h) + 0.5rem);
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--teal);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--accent);
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.018em;
    line-height: 1.08;
    margin: 0;
    text-wrap: balance;
}

p {
    margin: 0 0 1.1em;
    text-wrap: pretty;
}

ul, ol {
    margin: 0;
    padding: 0;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 200;
    padding: 0.75rem 1.1rem;
    background: var(--teal-deep);
    color: var(--paper);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.muted {
    color: var(--ink-3);
}

/* --- Raster -------------------------------------------------------------- */

.shell {
    width: 100%;
    max-width: calc(var(--shell) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: var(--section);
}

.section--tight {
    padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section--paper2 {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section--ink {
    background: var(--teal-deep);
    color: var(--paper);
}

.section--ink h2,
.section--ink h3 {
    color: var(--paper);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 62rem) {
    .section-head {
        grid-template-columns: 7fr 5fr;
        align-items: end;
        gap: 3rem;
    }

    .section-head--top {
        align-items: start;
    }
}

/* --- Typografie ---------------------------------------------------------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    margin: 0 0 1.1rem;
}

.eyebrow::before {
    content: '';
    width: 1.75rem;
    height: 1px;
    background: currentColor;
    flex: none;
}

.eyebrow--invert {
    color: var(--teal-tint);
}

.eyebrow--plain::before {
    display: none;
}

.display {
    font-size: clamp(2.5rem, 6.1vw, 5.1rem);
    line-height: 0.96;
    letter-spacing: -0.028em;
}

.nowrap {
    white-space: nowrap;
}

.h2 {
    font-size: clamp(1.85rem, 3.5vw, 3rem);
    line-height: 1.04;
}

.h3 {
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    line-height: 1.2;
}

.lead {
    font-family: var(--serif);
    font-size: clamp(1.18rem, 1.7vw, 1.45rem);
    line-height: 1.5;
    color: var(--ink-2);
}

.prose {
    max-width: 68ch;
}

.prose > * + * {
    margin-top: 1.05em;
}

.prose h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    margin-top: 2.4em;
    padding-top: 1.4em;
    border-top: 1px solid var(--line);
}

.prose h3 {
    font-size: clamp(1.15rem, 1.7vw, 1.35rem);
    margin-top: 2em;
    color: var(--teal-mid);
}

.prose h2 + h3 {
    margin-top: 0.9em;
}

.prose ul,
.prose ol {
    padding-left: 1.15em;
    max-width: 62ch;
}

.prose li + li {
    margin-top: 0.45em;
}

.prose li::marker {
    color: var(--line-2);
}

.prose strong {
    font-weight: 700;
    color: var(--ink);
}

.prose blockquote {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid var(--teal);
    font-family: var(--serif);
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--teal-deep);
}

.prose figure {
    margin: 2.25rem 0;
}

.prose figcaption {
    margin-top: 0.7rem;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: var(--ink-3);
}

.divider {
    border: 0;
    height: 1px;
    margin: 2.5rem 0;
    background: var(--line);
}

/* Maßstrich-Regel: die "Wasserlinie" des Layouts. */
.tick-rule {
    height: 9px;
    background-image: repeating-linear-gradient(
        to right,
        var(--line-2) 0 1px,
        transparent 1px 33px
    );
    background-position: 0 0;
    background-repeat: repeat-x;
    border-bottom: 1px solid var(--line);
    opacity: 0.9;
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 2px;
    font-family: var(--sans);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
        border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn--solid {
    background: var(--teal-deep);
    color: var(--paper);
}

.btn--solid:hover {
    background: var(--accent);
    color: var(--paper);
}

.btn--line {
    border-color: var(--line-2);
    color: var(--ink);
    background: transparent;
}

.btn--line:hover {
    border-color: var(--teal-deep);
    background: var(--teal-deep);
    color: var(--paper);
}

.btn--quiet {
    color: var(--ink-2);
    padding-inline: 0.4rem;
}

.btn--quiet:hover {
    color: var(--teal);
}

.btn--invert {
    background: var(--paper);
    color: var(--teal-deep);
}

.btn--invert:hover {
    background: var(--accent);
    color: var(--white);
}

.btn--line-invert {
    border-color: var(--line-invert);
    color: var(--paper);
}

.btn--line-invert:hover {
    background: var(--paper);
    color: var(--teal-deep);
    border-color: var(--paper);
}

.btn--block {
    width: 100%;
}

.btn--small {
    padding: 0.65rem 0.95rem;
    font-size: 0.7rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--teal);
}

.link-arrow::after {
    content: '→';
    transition: transform 0.25s var(--ease);
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* --- Kopfbereich --------------------------------------------------------- */

.site-head {
    /* Kopfleiste im dunklen Praxisgrün; Logo, Navigation und Schalter
       liegen deshalb auf hellen Farben. */
    --head-fg: rgba(255, 255, 255, 0.82);
    --head-fg-strong: #ffffff;
    --head-accent: #88b0b0;

    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--teal-deep);
    color: var(--head-fg);
}

.site-head__bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-head__inner {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 2.75rem);
    min-height: 5.25rem;
    padding-block: 0.7rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--ink);
    flex: none;
}

.brand__mark {
    height: 62px;
    width: auto;
    flex: none;
}

@media (max-width: 48rem) {
    .brand__mark {
        height: 38px;
    }
}

.brand__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.brand__name {
    font-family: var(--serif);
    font-size: 1.12rem;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--head-fg-strong, var(--teal-deep));
}

.brand__sub {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--head-accent, var(--ink-3));
    font-weight: 700;
}

.nav {
    flex: none;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
}

.nav__item {
    position: relative;
}

.nav__link {
    display: block;
    padding: 0.55rem 0.75rem;
    color: var(--head-fg);
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__item.is-active > .nav__link {
    color: var(--head-fg-strong);
    border-bottom-color: var(--head-accent);
}

.nav__panel {
    position: absolute;
    /* Die Oberkante des Panels deckt den Unterstrich des Menüpunkts exakt ab,
       sodass beide zu einer durchgehenden 2-px-Linie verschmelzen. */
    top: 100%;
    margin-top: -2px;
    left: 0;
    min-width: 17rem;
    padding: 0.6rem 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 2px solid var(--head-accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__panel-list {
    list-style: none;
}

.nav__panel-list a {
    display: block;
    padding: 0.5rem 1.15rem;
    font-size: 0.9rem;
    color: var(--ink-2);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav__panel-list a:hover,
.nav__panel-list a[aria-current='page'] {
    color: var(--teal-deep);
    border-left-color: var(--accent);
    background: var(--paper);
}

.site-head__actions {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 0.6rem;
}

.site-head__actions .btn--solid {
    background: var(--paper);
    color: var(--ink);
}

.site-head__actions .btn--solid:hover {
    background: #e6f3f2;
    color: var(--ink);
}

.nav-toggle,
.nav-close {
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.2rem;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--head-fg-strong, var(--ink));
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nav-toggle {
    display: none;
    margin-left: auto;
}

.nav-close {
    display: inline-flex;
    margin-left: auto;
}

.nav-bars {
    display: grid;
    gap: 4px;
    width: 22px;
}

.nav-bars i {
    display: block;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded='true'] .nav-bars i:first-child,
.nav-bars--cross i:first-child {
    transform: translateY(2.75px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-bars i:last-child,
.nav-bars--cross i:last-child {
    transform: translateY(-2.75px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--paper);
    padding: 1.1rem var(--gutter) 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav[hidden] {
    display: none;
}

.mobile-nav__bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 0.4rem;
}

.mobile-nav__label {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-2);
}

.mobile-nav__list {
    list-style: none;
}

.mobile-nav__group {
    border-bottom: 1px solid var(--line);
    padding-block: 1rem;
}

.mobile-nav__link {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--ink);
    text-decoration: none;
    display: block;
}

.mobile-nav__sub {
    list-style: none;
    margin-top: 0.7rem;
    display: grid;
    gap: 0.35rem;
}

.mobile-nav__sub a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 0.95rem;
}

.mobile-nav__foot {
    margin-top: auto;
    padding-top: 2rem;
    display: grid;
    gap: 0.6rem;
}

@media (max-width: 68rem) {
    .nav,
    .site-head__actions {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    :root {
        --head-h: 4.4rem;
    }

    .site-head__inner {
        gap: 0.75rem;
        min-height: 4.4rem;
    }
}

@media (min-width: 68.0625rem) {
    .mobile-nav {
        display: none;
    }
}

/* --- Startseite: Hero ---------------------------------------------------- */

.hero {
    padding-top: clamp(2rem, 4vw, 3.25rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1rem, 2vw, 2rem);
    row-gap: 2.5rem;
    align-items: start;
}

.hero__text {
    grid-column: 1 / -1;
}

.hero__title {
    font-size: clamp(2.3rem, 4.2vw, 3.9rem);
    line-height: 1.02;
    letter-spacing: -0.032em;
    margin-bottom: 1.4rem;
}

.hero__title em {
    font-style: italic;
    color: var(--teal);
}

.hero__lead {
    max-width: 34ch;
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.5;
    color: var(--ink-2);
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hero__figure {
    grid-column: 1 / -1;
    margin: 0;
    position: relative;
    overflow: hidden;
    background: var(--paper-3);
    aspect-ratio: 3 / 2;
}

.hero__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 38%;
}

.hero__figure::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(20, 40, 43, 0.09);
    pointer-events: none;
}

@media (min-width: 60rem) {
    .hero__grid {
        align-items: end;
    }

    .hero__text {
        grid-column: 1 / span 6;
        padding-top: 1.5rem;
    }

    .hero__figure {
        grid-column: 7 / -1;
    }
}

@media (min-width: 78rem) {
    .hero__text {
        grid-column: 1 / span 6;
    }

    .hero__figure {
        grid-column: 7 / -1;
    }
}

/* --- Startseite: Willkommen ---------------------------------------------- */

.welcome__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 62rem) {
    .welcome__grid {
        grid-template-columns: 5fr 6fr;
        gap: clamp(2rem, 6vw, 6rem);
        align-items: start;
    }
}

.welcome__statement {
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.32;
    color: var(--teal-deep);
    margin: 0;
}

.welcome__body p:last-child {
    margin-bottom: 0;
}

.welcome__signature {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: var(--ink-3);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.welcome__signature::before {
    content: '';
    width: 2.5rem;
    height: 1px;
    background: var(--line-2);
}

/* --- Leistungsindex ------------------------------------------------------ */

.index-list {
    list-style: none;
    border-top: 1px solid var(--line);
}

.index-row {
    border-bottom: 1px solid var(--line);
}

.index-row__link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 1.25rem;
    padding: 1.35rem 0.25rem;
    text-decoration: none;
    color: var(--ink);
    transition: background-color 0.3s var(--ease), padding 0.3s var(--ease);
}

.index-row__link:hover {
    background: var(--paper-2);
    padding-inline: 1rem;
    color: var(--ink);
}

.index-row__title {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2.1vw, 1.75rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.index-row__desc {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.92rem;
    color: var(--ink-3);
    max-width: 46ch;
}

.index-row__arrow {
    font-size: 1.1rem;
    color: var(--teal);
    transition: transform 0.3s var(--ease);
}

.index-row__link:hover .index-row__arrow {
    transform: translateX(5px);
}

@media (max-width: 40rem) {
    .index-row__link {
        gap: 0.8rem;
    }
}

/* --- Zeitenliste --------------------------------------------------------- */

.hours {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 48rem) {
    .hours {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hours__group-title {
    font-size: 0.72rem;
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--teal);
    margin: 0 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--line-2);
}

.hours__rows {
    list-style: none;
    margin: 0;
}

.hours__row {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px dotted var(--line);
    align-items: baseline;
}

.hours__row:last-child {
    border-bottom: 0;
}

.hours__day {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    color: var(--ink-2);
    font-weight: 700;
}

.hours__times {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 1rem;
    font-variant-numeric: tabular-nums;
    font-size: 0.95rem;
    color: var(--ink);
}

.hours__time--closed {
    color: var(--ink-3);
    font-size: 0.88rem;
}

.hours__row.is-today {
    background: var(--teal-tint);
    border-bottom-color: transparent;
    padding: 0.55rem 0.8rem;
    margin-inline: -0.8rem;
}

.hours__row.is-today .hours__day {
    color: var(--teal-deep);
    font-weight: 700;
}

.hours__row.is-today .hours__times {
    color: var(--teal-deep);
    font-weight: 700;
}

.mini-hours {
    margin: 0;
    font-size: 0.88rem;
}

.mini-hours__row {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.3rem 0;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.16);
    color: var(--paper);
}

.mini-hours__row dt {
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.06em;
}

.mini-hours__row dd {
    margin: 0;
    font-variant-numeric: tabular-nums;
}

/* --- Team ---------------------------------------------------------------- */

.team-grid {
    display: grid;
    gap: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1rem, 2vw, 1.75rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
}

@media (min-width: 48rem) {
    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 68rem) {
    .team-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.member {
    display: flex;
    flex-direction: column;
}

.member__figure {
    margin: 0 0 1rem;
    position: relative;
    overflow: hidden;
    background: var(--paper-3);
    aspect-ratio: 3 / 4;
    box-shadow: inset 0 0 0 1px rgba(20, 40, 43, 0.09);
}

.member__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9);
    transition: filter 0.4s var(--ease), transform 0.6s var(--ease);
}

.member:hover .member__figure img {
    filter: saturate(1);
    transform: scale(1.02);
}

.member__figure--empty {
    display: grid;
    place-items: center;
    color: var(--line-2);
    font-family: var(--serif);
    font-size: 2rem;
}

.member__name {
    font-family: var(--serif);
    font-size: 1.15rem;
    line-height: 1.2;
    margin: 0 0 0.3rem;
    color: var(--teal-deep);
}

.member__position {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin: 0 0 0.7rem;
    font-weight: 700;
}

.member__list {
    list-style: none;
    font-size: 0.82rem;
    color: var(--ink-3);
    line-height: 1.5;
    margin: 0;
}

.member__list li {
    padding-left: 0.9rem;
    position: relative;
}

.member__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 4px;
    height: 1px;
    background: var(--line-2);
}

/* --- Galerie ------------------------------------------------------------- */

.gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(15rem, 22rem);
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    padding-bottom: 1rem;
    scrollbar-width: thin;
}

.gallery__item {
    scroll-snap-align: start;
    margin: 0;
    position: relative;
}

.gallery__item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(20, 40, 43, 0.09);
}

.gallery__caption {
    margin-top: 0.6rem;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--ink-3);
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.5rem, 1.4vw, 1.1rem);
    align-items: end;
}

.gallery-strip img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(20, 40, 43, 0.09);
}

.gallery-strip img:nth-child(2) {
    aspect-ratio: 4 / 4.4;
}

.gallery-strip img:nth-child(3) {
    aspect-ratio: 4 / 5.6;
}

/* --- Breite Bildbahn ----------------------------------------------------- */

.band {
    position: relative;
    margin: 0;
}

.band img {
    width: 100%;
    height: clamp(16rem, 38vw, 30rem);
    object-fit: cover;
}

.band__caption {
    position: absolute;
    left: var(--gutter);
    bottom: 1.25rem;
    padding: 0.4rem 0.7rem;
    background: var(--paper);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-2);
}

/* --- Zitat --------------------------------------------------------------- */

.pullquote {
    max-width: 44ch;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.9vw, 2.35rem);
    line-height: 1.24;
    color: var(--paper);
    letter-spacing: -0.02em;
}

.pullquote cite {
    display: block;
    margin-top: 1.5rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-style: normal;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

/* --- Innenseiten --------------------------------------------------------- */

.page-head {
    padding-top: clamp(2.25rem, 4.5vw, 3.75rem);
    padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
    border-bottom: 1px solid var(--line);
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 1.5rem;
}

.crumbs a {
    color: var(--ink-3);
    text-decoration: none;
}

.crumbs a:hover {
    color: var(--teal);
}

.crumbs li + li::before {
    content: '/';
    margin-right: 0.5rem;
    color: var(--line-2);
}

.page-head__title {
    font-size: clamp(2.1rem, 5vw, 3.9rem);
    line-height: 1.02;
    letter-spacing: -0.028em;
    max-width: 20ch;
    margin-bottom: 1.1rem;
}

.page-head__lead {
    max-width: 58ch;
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.55;
    color: var(--ink-2);
    margin: 0;
}

.page-body {
    display: grid;
    gap: clamp(2rem, 4vw, 4rem);
    max-width: 68rem;
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

/* Rechtstexte: eine Spalte, linksbündig auf der Flucht der Überschrift. */
.page-body.page-body--single {
    max-width: 42rem;
    grid-template-columns: minmax(0, 1fr);
}

.page-body--single .prose {
    max-width: none;
}

@media (min-width: 64rem) {
    .page-body {
        grid-template-columns: 15rem minmax(0, 1fr);
        align-items: start;
    }
}

.page-aside {
    position: sticky;
    top: calc(var(--head-h) + 1.5rem);
    display: grid;
    gap: 1.5rem;
}

.toc {
    font-size: 0.82rem;
}

.toc__title {
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin: 0 0 0.7rem;
}

.toc__list {
    list-style: none;
    border-left: 1px solid var(--line);
}

.toc__list a {
    display: block;
    padding: 0.35rem 0 0.35rem 0.85rem;
    margin-left: -1px;
    border-left: 1px solid transparent;
    color: var(--ink-2);
    text-decoration: none;
    line-height: 1.4;
}

.toc__list a:hover {
    border-left-color: var(--accent);
    color: var(--teal-deep);
}

.aside-card {
    border: 1px solid var(--line);
    background: var(--white);
    padding: 1.25rem 1.25rem 1.4rem;
}

.aside-card__title {
    margin: 0 0 0.7rem;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal);
}

.aside-card p {
    font-size: 0.88rem;
    color: var(--ink-2);
}

.aside-card .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.aside-card .aside-card__sub {
    margin-top: 1rem;
}

.figure {
    margin: 2rem 0;
}

.figure img {
    width: 100%;
    border-radius: 2px;
}

.figure img {
    box-shadow: 0 0 0 1px rgba(20, 40, 43, 0.09);
}

.figure--wide img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.figure--logo {
    max-width: 15rem;
    margin: 2.5rem 0 2rem;
}

.figure--logo img {
    box-shadow: none;
}

.figure figcaption {
    margin-top: 0.7rem;
    font-size: 0.78rem;
    color: var(--ink-3);
}

.factbox {
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
    padding: 1.25rem 0;
    margin: 2rem 0;
    font-size: 0.92rem;
    color: var(--ink-2);
}

.factbox p:last-child {
    margin-bottom: 0;
}

/* --- Kontakt ------------------------------------------------------------- */

.contact-grid {
    display: grid;
    gap: clamp(2rem, 4vw, 4rem);
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

@media (min-width: 60rem) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        align-items: start;
    }
}

.contact-block + .contact-block {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.contact-block__title {
    font-size: 0.7rem;
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin: 0 0 0.8rem;
}

.contact-address {
    font-family: var(--serif);
    font-size: 1.55rem;
    line-height: 1.35;
    font-style: normal;
    color: var(--teal-deep);
    margin: 0 0 0.6rem;
}

.contact-lines {
    list-style: none;
    font-size: 1rem;
}

.contact-lines li {
    padding: 0.35rem 0;
}

.contact-lines a {
    display: inline-flex;
    gap: 0.5rem;
    align-items: baseline;
    color: var(--ink);
    text-decoration: none;
}

.contact-lines a:hover {
    color: var(--teal);
}

.contact-lines .label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    min-width: 4.5rem;
    display: inline-block;
}

/* --- Buchungsseite (Doctolib) -------------------------------------------- */

.booking {
    position: relative;
    border: 1px solid var(--line);
    background: var(--white);
    overflow: hidden;
}

.booking__note {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    color: var(--ink-2);
}

.booking iframe {
    display: block;
    width: 100%;
    border: 0;
    min-height: 44rem;
}

.booking__foot {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
}

.booking__foot-text {
    margin-top: 0.5rem;
    font-size: 0.92rem;
    color: var(--ink-2);
    max-width: 40rem;
}

.booking__foot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

@media (min-width: 60rem) {
    .booking__foot {
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 2rem;
    }
}

.map {
    position: relative;
    border: 1px solid var(--line);
    background: var(--paper-2);
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map__consent {
    padding: 1.5rem;
    text-align: center;
    max-width: 26rem;
}

.map__consent p {
    font-size: 0.85rem;
    color: var(--ink-2);
}

@media (min-width: 60rem) {
    .map {
        aspect-ratio: auto;
        min-height: 18rem;
    }
}

/* --- Formular ------------------------------------------------------------ */

.form {
    display: grid;
    gap: 1.1rem;
    background: var(--white);
    border: 1px solid var(--line);
    padding: clamp(1.35rem, 2.5vw, 2.25rem);
}

.form__row--split {
    display: grid;
    gap: 1.1rem;
}

@media (min-width: 34rem) {
    .form__row--split {
        grid-template-columns: 1fr 1fr;
    }
}

.field {
    display: grid;
    gap: 0.35rem;
}

.field > label:not(.checkbox) {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line-2);
    border-radius: 1px;
    transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field textarea {
    min-height: 9rem;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: var(--white);
}

.field__error {
    font-size: 0.8rem;
    color: #a02c1d;
    margin: 0;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: #a02c1d;
}

.checkbox {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    font-size: 0.85rem;
    color: var(--ink-2);
    line-height: 1.5;
}

.checkbox input {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.15rem;
    accent-color: var(--teal);
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form__note {
    font-size: 0.78rem;
    color: var(--ink-3);
    margin: 0;
}

.form__note a,
.map__consent a {
    color: var(--teal);
    text-underline-offset: 0.2em;
}

.notice {
    border-left: 3px solid var(--teal);
    background: var(--teal-tint);
    padding: 1rem 1.15rem;
    font-size: 0.92rem;
    color: var(--teal-deep);
}

.notice--error {
    border-left-color: #a02c1d;
    background: #f7e7e3;
    color: #7d2417;
}

/* --- Fußbereich ---------------------------------------------------------- */

.site-foot {
    background: var(--teal-deep);
    color: var(--paper);
    padding-top: clamp(3rem, 6vw, 5rem);
    margin-top: clamp(3rem, 6vw, 5rem);
}

.site-foot a:not(.btn) {
    color: var(--paper);
    text-decoration: none;
}

.site-foot a:not(.btn):hover {
    color: #f0c8ae;
}

.site-foot__lead {
    padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
    border-bottom: 1px solid var(--line-invert);
}

.site-foot__headline {
    font-size: clamp(1.9rem, 4.2vw, 3.4rem);
    line-height: 1.03;
    letter-spacing: -0.025em;
    color: var(--paper);
    max-width: 22ch;
    margin-bottom: 1.6rem;
}

.site-foot__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.site-foot__grid {
    display: grid;
    gap: 2rem 1.5rem;
    padding-block: clamp(2.25rem, 4vw, 3.25rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 56rem) {
    .site-foot__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    }
}

.site-foot__title {
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 1rem;
}

.site-foot__address {
    font-style: normal;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.site-foot__contact {
    margin-top: 0.9rem;
    font-size: 0.92rem;
    line-height: 1.7;
}

.site-foot__contact .muted {
    color: rgba(255, 255, 255, 0.45);
}

.site-foot__links {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.site-foot__note {
    margin-top: 0.9rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.site-foot__note a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.site-foot__bottom {
    border-top: 1px solid var(--line-invert);
    padding-block: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.55);
}

.site-foot__bottom p {
    margin: 0;
}

.site-foot__legal {
    list-style: none;
    display: flex;
    gap: 1.25rem;
}

.site-foot__privacy {
    color: rgba(255, 255, 255, 0.4);
}

/* --- Vier-Ohren-Ansicht / Bewegung --------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

@media print {
    .site-head,
    .site-foot,
    .nav,
    .map {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}


.hero__note {
    font-size: 0.9rem;
    color: var(--ink-3);
}

/* --- Hilfsklassen -------------------------------------------------------- */

.mt-sm { margin-top: 1.5rem; }
.mt-md { margin-top: 2.5rem; }
.mt-lg { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

.no-mb { margin-bottom: 0; }

.measure { max-width: 46ch; }

.on-ink { color: rgba(255, 255, 255, 0.74); }

.lead--invert { color: rgba(255, 255, 255, 0.84); }

.actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

/* --- Google-Bewertungen -------------------------------------------------- */

.reviews__grid {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.reviews__lead {
    max-width: 34rem;
    margin-top: 1.1rem;
}

.reviews__panel {
    display: grid;
    gap: 1.25rem;
    align-content: center;
}

.reviews__score {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

.reviews__value {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 5vw, 3.6rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.reviews__meta {
    display: grid;
    gap: 0.4rem;
}

/* Sterne als zwei Schichten: graue Basis, goldener Ausschnitt in Höhe der Note. */
.reviews__stars {
    position: relative;
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    letter-spacing: 0.16em;
    color: var(--line-2);
}

.reviews__stars::before,
.reviews__stars::after {
    content: '★★★★★';
}

.reviews__stars::after {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--rating, 100%);
    overflow: hidden;
    white-space: nowrap;
    color: #d9a520;
}

.reviews__count {
    font-size: 0.85rem;
    color: var(--ink-3);
}

.reviews__panel .actions-row {
    margin-top: 0;
}

@media (min-width: 62rem) {
    .reviews__grid {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 3rem;
    }

    .reviews__panel {
        padding-left: 3rem;
        border-left: 1px solid var(--line-2);
    }
}

.contact-grid--flush {
    padding-block: 0;
}

.section--ink .site-foot__note {
    color: rgba(255, 255, 255, 0.5);
}

/* --- Leistungsübersicht -------------------------------------------------- */

.services-detail {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.service-detail {
    display: grid;
    gap: 0.35rem 2rem;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}

@media (min-width: 52rem) {
    .service-detail {
        grid-template-columns: 15rem minmax(0, 1fr) auto;
    }
}

.service-detail__title {
    font-size: 1.25rem;
    margin: 0;
}

.service-detail__title a {
    color: var(--teal-deep);
    text-decoration: none;
}

.service-detail__title a:hover {
    color: var(--accent);
}

.service-detail__text {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ink-2);
    max-width: 52ch;
}

/* --- Hilfsklassen (Fortsetzung) ------------------------------------------ */

.py-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.mb-md { margin-bottom: 2rem; }

/* --- Vergleichende Zweispalter ------------------------------------------- */

.compare {
    display: grid;
    gap: 1px;
    background: var(--line);
    border-block: 1px solid var(--line);
    margin: 2rem 0;
}

@media (min-width: 44rem) {
    .compare {
        grid-template-columns: 1fr 1fr;
    }
}

.compare__col {
    background: var(--paper);
    padding: 1.25rem 1.35rem;
}

.compare__col p:last-child {
    margin-bottom: 0;
}

.compare__col p {
    font-size: 0.95rem;
}

.compare__label {
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

/* --- Bonusheft-Skala ----------------------------------------------------- */

.bonus-scale {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
    padding: 1.25rem 0;
    border-block: 1px solid var(--line);
}

.bonus-scale__row {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
}

.bonus-scale__years {
    font-weight: 700;
    color: var(--ink-2);
    letter-spacing: 0.05em;
}

.bonus-scale__bar {
    position: relative;
    height: 6px;
    background: var(--paper-3);
}

.bonus-scale__bar::after {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--fill, 50%);
    background: var(--teal);
}

.bonus-scale__value {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--teal-deep);
    font-variant-numeric: tabular-nums;
}

/* --- Rechtstexte --------------------------------------------------------- */

.legal h2 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    margin-top: 2.2em;
    padding-top: 1.2em;
    border-top: 1px solid var(--line);
}

.legal h2:first-of-type {
    margin-top: 1em;
    border-top: 0;
    padding-top: 0;
}

.legal-list {
    display: grid;
    grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr);
    gap: 0.55rem 1.5rem;
    margin: 1.25rem 0 0;
    font-size: 0.95rem;
}

.legal-list dt {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-3);
    padding-top: 0.15rem;
}

.legal-list dd {
    margin: 0;
    color: var(--ink-2);
}

@media (max-width: 34rem) {
    .legal-list {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .legal-list dd {
        margin-bottom: 0.75rem;
    }
}

/* --- Symptomliste -------------------------------------------------------- */

.symptom-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    border-top: 1px solid var(--line);
    margin: 1.5rem 0;
}

.symptom-list li {
    padding: 0.7rem 0 0.7rem 1.4rem;
    border-bottom: 1px solid var(--line);
    position: relative;
    font-size: 0.95rem;
}

.symptom-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.15em;
    width: 0.6rem;
    height: 1px;
    background: var(--accent);
}

/* --- Karussell (Team auf der Startseite) --------------------------------- */

.carousel {
    position: relative;
}

.carousel__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: clamp(1.1rem, 2vw, 1.6rem);
}

.carousel__count {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--line-2);
    font-variant-numeric: tabular-nums;
}

.carousel__count [data-carousel-position] {
    color: var(--ink);
}

.carousel__nav {
    display: flex;
    gap: 0.4rem;
}

.carousel__btn {
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-2);
    border-radius: 2px;
    background: transparent;
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
        color 0.2s var(--ease);
}

.carousel__btn:hover:not(:disabled) {
    background: var(--teal-deep);
    border-color: var(--teal-deep);
    color: var(--paper);
}

.carousel__btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.team-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(12rem, 22vw, 15.5rem);
    gap: clamp(0.85rem, 1.6vw, 1.5rem);
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 0.35rem;
}

.team-track::-webkit-scrollbar {
    display: none;
}

.team-track:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

.team-track > .member {
    scroll-snap-align: start;
}

@media print {
    .carousel__nav,
    .team-track {
        display: none !important;
    }
}

/* --- Sicherheitsabfrage im Kontaktformular ------------------------------- */

.captcha {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.9rem;
}

.captcha__image {
    border: 1px solid var(--line-2);
    background: #fff;
    height: auto;
}

.captcha__entry {
    display: grid;
    gap: 0.4rem;
}

.captcha__entry input {
    max-width: 12rem;
}

.captcha__again {
    font-size: 0.76rem;
    color: var(--ink-3);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.captcha__again:hover {
    color: var(--teal);
}

@media (max-width: 26rem) {
    .captcha {
        grid-template-columns: minmax(0, 1fr);
    }
}
