/* ==========================================================================
   Klinik-Seite (klinik/index_v7.php, Design-Handoff 07.10.2026, docs/03-design/design-handoff-klinik/)
   Wird nur geladen, wenn die Seite vor header.php $pkKlinik = true setzt (eigene Datei wegen 7-Tage-Cache).
   Aufbau wie die Masterseite Brustverkleinerung: Bühne (pk_hero_treatment), Kapitelbereich mit Sprungnavigation
   (.pk-chapters, toc.css), Zeitleiste (.pk-timeline), FAQ (pk_faq). Dieses File ergänzt nur die Klinik-spezifischen Teile.
   Entscheidungen Karsten: Serifenschrift nur in der H1 der Bühne (kommt aus custom.css), sonst die Schrift der Seite
   (Fira Sans); Buttons wie auf der Masterseite (.btn.btn-primary / .btn.btn-outline-info mit .pk-cta__btn).
   Achtung: custom.css setzt h2/h3/h4/p-Schriftgrößen mit !important; Klassen mit eigener Größe brauchen !important.
   Variablen (--pk-*) kommen aus toc.css ($pkToc = true). Präfix: kl-
   ========================================================================== */

.kl-page {
    /* Alle "grauen" Kästen in der warmen Farbe der Bühne (Karsten 07.10.2026), statt #f1f1f1 laut Handoff */
    --kl-grey: var(--pk-warm);
}

/* --- Werte-Leiste unter der Bühne ------------------------------------------ */

.kl-values {
    border-bottom: 1px solid var(--pk-line);
}

.kl-values__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 20px;
    margin: 0;
    padding: 20px 0;
    list-style: none;
    font-size: 1.125rem;
    font-weight: 300;
    color: #035783;
}

.kl-values__list li {
    margin: 0;
}

/* Satz mit den fünf Begriffen: nur mobil (unter 768 px), dort ersetzt er die Liste */
.kl-values__sentence {
    display: none;
    margin: 0;
    padding: 18px 0;
    font-size: 1rem !important; /* schlägt die globale p-Schriftgröße */
    font-weight: 300;
    line-height: 1.5;
    color: #035783;
    text-align: center;
}

@media (max-width: 767.98px) {
    .kl-values__sentence {
        display: block;
    }

    .kl-values__list {
        display: none;
    }
}

.kl-values__list li + li::before {
    content: "\00B7";
    margin-right: 20px;
    color: var(--pk-line-strong);
}

@media (max-width: 991.98px) {
    .kl-values__list {
        justify-content: center;
        font-size: 1rem;
        text-align: center;
    }

    .kl-values__list li + li::before {
        margin-right: 14px;
    }
}

/* --- Sprungnavigation: dichter, damit 13 Einträge auf 768 px Höhe passen ------------ */

@media (min-width: 992px) {
    .kl-page .pk-toc__list a {
        padding-top: 9px;
        padding-bottom: 9px;
    }
}

/* --- Grundbausteine der Kapitel --------------------------------------------------- */

.kl-eyebrow {
    display: block;
    margin: 0 0 16px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.24em; /* wie .pk-why__eyebrow (ein Eyebrow-Stil, 27.10.2026) */
    text-transform: uppercase;
    line-height: 1;
    color: var(--pk-muted);
}

.kl-page h2 {
    margin-top: 0;
}

.kl-prose p,
.kl-text p {
    margin: 0 0 1rem;
    font-family: var(--pk-text-font);
    font-size: var(
        --pk-text-size
    ) !important; /* schlägt die globale p-Schriftgröße */
    font-weight: var(--pk-text-weight);
    line-height: var(--pk-text-lh);
}

/* .kl-page davor: sonst gewinnt ".kl-prose p" (höhere Spezifität, ebenfalls !important) */
.kl-page .kl-lead {
    margin: 0 0 1.25rem;
    font-size: 1.375rem !important;
    font-weight: 300;
    line-height: 1.5;
    color: #035783;
}

@media (min-width: 992px) {
    .kl-page .kl-lead {
        font-size: 1.625rem !important;
        line-height: 1.45;
    }
}

.kl-anchor {
    display: block;
    height: 0;
    scroll-margin-top: 24px;
}

.kl-sub {
    margin: 2rem 0 0.75rem;
}

/* Spalten: mobil einspaltig, ab 992 px zweispaltig; Verhältnis über Modifier */
.kl-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

@media (min-width: 992px) {
    .kl-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px;
    }

    /* "Über uns": drei Kinder (Überschrift, Video, Text). Mobil untereinander in dieser Reihenfolge,
       ab 992 px Überschrift + Text links, Video rechts über beide Zeilen */
    .kl-cols--a {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        row-gap: 0;
    }

    .kl-cols--a > :nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .kl-cols--a > :nth-child(2) {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .kl-cols--a > :nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .kl-cols--a > .kl-prose--head > :last-child {
        margin-bottom: 1rem; /* sonst gilt ".kl-cols > * > :last-child" (kein Abstand zum Text) */
    }

    .kl-cols--b {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 44px;
    }

    /* Klinikstatus: Kasten steht im Markup vor dem Text (mobil darüber), am Desktop weiter rechts neben dem Text */
    .kl-cols--b > .kl-status {
        order: 2;
    }

    .kl-cols--d {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    }

    .kl-cols--text {
        gap: 40px;
    }
}

.kl-cols > * > :last-child {
    margin-bottom: 0;
}

.kl-page .kl-mt {
    margin-top: 28px;
}

/* Bildrahmen: Radius 16, Bild füllt die Höhe über --kl-h */
.kl-photo {
    overflow: hidden;
    background: var(--kl-grey, var(--pk-warm));
    border-radius: 16px;
}

.kl-photo img {
    display: block;
    width: 100%;
    height: var(--kl-h, auto);
    object-fit: cover;
}

@media (min-width: 992px) {
    .kl-photo--sticky {
        position: sticky;
        top: calc(var(--pk-nav-h, 0px) + 24px);
    }
}

.kl-photo--room {
    --kl-h: 360px;
}

/* Foto im Abschnitt "Über uns" (Video-Vorschaubild, quadratisch): Höhe folgt der Breite statt einer festen Höhe,
   die das Quadrat in der schmalen Spalte zu einem Hochformat beschnitten hat. */
.kl-photo--clinic {
    --kl-h: auto;
}

.kl-photo--clinic img {
    aspect-ratio: 1 / 1;
}

/* Willkommensvideo im Abschnitt "Über uns" (18.10.2026): Die quadratische Vorschaukarte (mit eingebranntem Play-Symbol, Titel und Porträt) ist die
   Klick-Fläche, daher bleibt der Player quadratisch (statt 16:9). Nach der Einwilligung ("Externe Medien") läuft das Video im selben Quadrat
   (YouTube zeigt es mit Balken oben und unten). Der Standardknopf "▶ Abspielen" ist ausgeblendet, weil die Karte das Symbol schon trägt; der Knopf bleibt
   als unsichtbare, bildfüllende Schaltfläche für Tastatur und Screenreader erhalten (aria-label). */
.kl-photo--clinic .youtube-player,
.kl-photo--clinic .youtube-placeholder {
    aspect-ratio: 1 / 1;
}

.kl-photo--clinic .youtube-placeholder > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.kl-photo--clinic .video-play-btn {
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    transform: none;
    border-radius: 0;
    background: transparent;
    font-size: 0; /* Beschriftung bleibt für Screenreader (aria-label), sichtbar ist das Symbol der Karte */
}

.kl-photo--clinic .video-play-btn:focus-visible {
    outline: 3px solid var(--pk-pink, #e6007e);
    outline-offset: -6px;
}

.kl-video-note {
    margin: 8px 0 0;
    font-size: 0.8125rem;
    color: var(--pk-muted, #55636c);
}

.kl-photo picture {
    display: block;
}

/* Terrassenfoto: immer quadratisch (Bilddateien 600 x 600 und 400 x 400), Höhe folgt der Breite */
.kl-photo--terrace {
    --kl-h: auto;
    background: #dfe7e1;
}

.kl-photo--terrace img {
    aspect-ratio: 1 / 1;
}

@media (min-width: 992px) {
    .kl-photo--room {
        --kl-h: 460px;
    }
}

/* --- Klinikstatus § 30 ------------------------------------------------------------------ */

.kl-status {
    padding: 32px 30px 34px;
    background: var(--kl-grey, var(--pk-warm));
    border-radius: 16px;
}

.kl-status__mark {
    display: block;
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--pk-pink);
}

.kl-status__text {
    margin: 16px 0 0;
    font-size: 1.25rem !important;
    font-weight: 400;
    line-height: 1.45;
    color: #035783;
}

/* Der Satz steht im Markup in <strong>: hier nur mittelkräftig (500, echter Schnitt) statt fett (Karsten 08.10.2026) */
.kl-status__text strong {
    font-weight: 500;
}

@media (min-width: 992px) {
    .kl-status {
        padding: 36px 36px 38px;
    }

    .kl-status__mark {
        font-size: 4rem;
    }

    .kl-status__text {
        font-size: 1.375rem !important;
    }
}

/* Blauer Sicherheitskasten */
.kl-safety {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 28px;
    padding: 30px 26px;
    color: #fff;
    background: var(--pk-blue);
    border-radius: 16px;
}

.kl-safety__icon {
    color: #fff;
}

.kl-safety .kl-safety__title {
    margin: 0;
    color: #fff;
}

.kl-safety p {
    margin: 12px 0 0;
    font-family: var(--pk-text-font);
    font-size: var(--pk-text-size) !important;
    font-weight: var(--pk-text-weight);
    line-height: var(--pk-text-lh);
    color: #fff;
}

.kl-safety__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 22px;
}

/* Outline-Button auf blauem Grund: weiß; der primäre (pinke) Button bleibt unverändert */
.kl-safety .btn-outline-info {
    color: #fff;
    background: transparent;
    border-color: #fff;
}

.kl-safety .btn-outline-info:hover,
.kl-safety .btn-outline-info:focus {
    color: var(--pk-blue);
    background: #fff;
    border-color: #fff !important;
}

@media (min-width: 992px) {
    .kl-safety {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 32px;
        padding: 40px 44px;
    }

    .kl-safety .kl-safety__title {
    }
}

/* --- Zimmerkarte mit Kennzahlen ----------------------------------------------------------------- */

.kl-cols--room {
    margin-top: 32px;
}

.kl-roomcard img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
}

/* Kennzahlen als Pillen (Basis .pk-chips aus toc.css): Icon, Zahl, Bezeichnung */
.kl-chips {
    margin-top: 14px;
}

.kl-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pk-ink);
}

.kl-chips__icon {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--pk-blue);
}

.kl-chips strong {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1;
    font-variant-numeric: lining-nums;
    color: #035783;
}

.kl-chips .kl-chips__accent {
    background: #fbeaf3;
    border-color: #f3c6dc;
}

.kl-chips__accent .kl-chips__icon,
.kl-chips__accent strong {
    color: var(--pk-pink);
}

@media (min-width: 992px) {
    .kl-cols--room > .kl-roomcard {
        order: 2; /* im Markup vor dem Text (mobil darüber), am Desktop rechts daneben */
    }

    .kl-roomcard {
        position: sticky;
        top: calc(var(--pk-nav-h, 0px) + 24px);
    }
}

/* --- Rundgang und Video ---------------------------------------------------------------------- */

.kl-tour {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #16242c;
    border-radius: 16px;
}

.kl-tour img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kl-tour__label {
    position: absolute;
    left: 18px;
    top: 18px;
    padding: 8px 14px;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
    color: #035783;
    background: #fff;
    border-radius: 999px;
}

.kl-video .youtube-player,
.kl-video .youtube-placeholder {
    border-radius: 16px;
    overflow: hidden;
}

/* Der Baustein youtube_embed() steckt Video und Transkript-Link in eine Bootstrap-.card: Rahmen und Hintergrund weg,
   der Link steht dicht unter dem Video. */
.kl-video > .card {
    background: transparent;
    border: 0;
    border-radius: 0;
}

.kl-video .card > p {
    margin: 4px 0 0;
}

/* Abschnitt "Einblick & Rundgang": vier Teile in einem Raster.
   Mobil (eine Spalte): Rundgang-Bild, Rundgang-Text, Video, Video-Text.
   Ab 992 px (zwei Spalten): Zeile 1 = Rundgang-Bild | Video samt Transkript-Link, Zeile 2 = beide Texte. Die Texte beginnen so
   immer auf gleicher Höhe, auch wenn das Video durch den Transkript-Link etwas höher ist als das Rundgang-Bild. */
.kl-rundgang > .kl-tour {
    order: 1;
}

.kl-rundgang > .kl-rundgang__l {
    order: 2;
}

.kl-rundgang > .kl-video {
    order: 3;
}

.kl-rundgang > .kl-rundgang__r {
    order: 4;
}

/* Termin-Button unter dem rechten Text: gleicher Abstand zum Text wie der Rundgang-Button links (kein eigener Zusatzabstand) */
.kl-rundgang .pk-cta {
    margin-top: 0;
}

@media (min-width: 992px) {
    .kl-rundgang {
        row-gap: 28px;
    }

    .kl-rundgang > .kl-tour {
        grid-column: 1;
        grid-row: 1;
    }

    .kl-rundgang > .kl-video {
        grid-column: 2;
        grid-row: 1;
    }

    .kl-rundgang > .kl-rundgang__l {
        grid-column: 1;
        grid-row: 2;
    }

    .kl-rundgang > .kl-rundgang__r {
        grid-column: 2;
        grid-row: 2;
    }
}

/* --- Beratung: Zitat-Kasten ---------------------------------------------------------------------- */

.kl-quote {
    padding: 34px 30px;
    background: var(--kl-grey, var(--pk-warm));
    border-radius: 16px;
}

/* Kopfzeile: Anführungszeichen links, rundes Porträt rechts oben (wie .pk-quote__img in toc.css) */
.kl-quote__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.kl-quote__img {
    display: block;
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.kl-quote__mark {
    display: block;
    height: 36px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.5rem;
    line-height: 0.75;
    color: var(--pk-pink);
}

.kl-quote .kl-quote__big {
    margin: 14px 0 0;
    font-size: 1.875rem !important;
    font-weight: 300;
    line-height: 1.2;
    color: #035783;
}

.kl-quote p:not(.kl-quote__big) {
    margin: 14px 0 0;
    font-size: 1rem !important;
    line-height: 1.7;
}

/* Name unter dem Zitat; gleiche Spezifität wie die Regel darüber, deshalb danach */
.kl-quote p.kl-quote__who {
    margin: 22px 0 0;
    font-size: 0.875rem !important;
    font-weight: 500;
    line-height: 1.4;
    color: var(--pk-muted, #55636c);
}

@media (min-width: 992px) {
    .kl-quote {
        padding: 42px 44px;
    }

    .kl-quote__img {
        width: 80px;
        height: 80px;
    }

    .kl-quote .kl-quote__big {
        font-size: 2.375rem !important;
    }
}

.kl-trust {
    margin: 0;
    font-size: 1.375rem !important;
    font-weight: 300;
    line-height: 1.5;
    color: #035783;
}

/* --- Team ------------------------------------------------------------------------------------------ */

.kl-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
}

.kl-head h2 {
    max-width: 720px;
    margin-bottom: 0;
}

.kl-more {
    flex: none;
    padding-bottom: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pk-blue);
    border-bottom: 1px solid var(--pk-line);
    text-decoration: none;
}

.kl-more:hover,
.kl-more:focus-visible {
    color: var(--pk-pink);
}

.kl-persons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    margin: 36px 0 0;
}

@media (min-width: 992px) {
    .kl-persons {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 16px;
    }
}

.kl-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

.kl-person img {
    display: block;
    width: 130px;
    height: 130px;
    border-radius: 999px;
    object-fit: cover;
    background: var(--kl-grey, var(--pk-warm));
}

@media (min-width: 992px) {
    .kl-person img {
        width: 100%;
        max-width: 160px;
        height: auto;
        aspect-ratio: 1;
    }
}

.kl-person__name {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.25;
    min-height: 2.5em; /* immer 2 Zeilen Platz, damit die Rolle darunter auf einer Höhe beginnt */
    color: #035783;
}

.kl-person__role {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--pk-muted, #55636c);
}

@media (min-width: 992px) {
    .kl-person__role {
        min-height: 4.5em; /* immer 3 Zeilen Platz, damit „Zum Arztprofil“ auf einer Höhe steht */
    }
}

.kl-person__more {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pk-blue, #0076b5);
}

.kl-person:hover .kl-person__more,
.kl-person:focus-visible .kl-person__more {
    color: var(--pk-pink, #e6007e);
}

/* --- Leistungen --------------------------------------------------------------------------------------- */

.kl-focus {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 30px 24px;
    background: var(--kl-grey, var(--pk-warm));
    border-radius: 16px;
}

@media (min-width: 992px) {
    .kl-focus {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 44px;
        padding: 44px 46px;
    }
}

.kl-pill {
    display: inline-flex;
    padding: 7px 14px;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1;
    color: #fff;
    background: var(--pk-pink);
    border-radius: 999px;
}

.kl-focus h2 {
    margin: 16px 0 16px;
}

.kl-linkrows {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kl-linkrows li {
    margin: 0;
}

.kl-linkrows a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px;
    font-size: 0.9375rem;
    color: var(--pk-ink);
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
}

/* Einheitlicher Pfeil auf der Klinikseite: Chevron aus der Icon-Schrift (icomoon "icon-chevron-right", \f054) statt des
   dünnen Textzeichens → (U+2192, nicht in Fira Sans). Gilt für Link-Zeilen, "Zum Arztprofil", Leistungskarten und die
   Links in der BEAULI-Box. Die Pfeile stehen nicht im Markup. */
.kl-linkrows a::after,
.kl-more::after,
.kl-person__more::after,
.kl-card__more::after,
.kl-box__links a::after {
    content: "\f054";
    flex: 0 0 auto;
    font-family: icomoon;
    font-weight: 400;
    letter-spacing: 0; /* der Versalien-Abstand des Textes soll nicht mitwirken */
    line-height: 1;
}

.kl-linkrows a::after {
    font-size: 0.8125rem;
    color: var(--pk-blue);
}

.kl-more::after,
.kl-person__more::after,
.kl-card__more::after,
.kl-box__links a::after {
    margin-left: 0.55em;
    font-size: 0.85em;
}

/* Symbol "öffnet extern" am BEAULI-Academy-Button (statt ↗) */
.kl-ext {
    margin-left: 0.15em;
    font-size: 0.85em;
}

.kl-linkrows a:hover,
.kl-linkrows a:focus-visible {
    color: var(--pk-pink);
}

.kl-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 26px;
}

@media (min-width: 768px) {
    .kl-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

/* Karte: Bild oben bis an den Rand (overflow: hidden rundet es mit), darunter der Textbereich mit dem Innenabstand */
.kl-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    background: #fff;
    border: 1px solid var(--pk-line);
    border-radius: 16px;
    text-decoration: none;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.kl-card__pic {
    display: block;
}

.kl-card__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* andere Bildformate werden passend zugeschnitten */
    object-fit: cover;
    background: var(--pk-page);
}

.kl-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 28px 26px;
}

.kl-card .kl-card__title {
    margin: 0;
    color: #035783;
}

.kl-card p {
    flex: 1;
    margin: 0;
    font-size: 0.9375rem !important;
    line-height: 1.65;
    color: var(--pk-muted);
}

.kl-card__more {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pk-blue);
}

/* Überschrift und Link-Zeile unten ("Zu den … behandlungen" samt Pfeil) werden beim Hover pink */
.kl-card .kl-card__title,
.kl-card .kl-card__more {
    transition: color 0.2s ease;
}

.kl-card:hover .kl-card__title,
.kl-card:focus-visible .kl-card__title,
.kl-card:hover .kl-card__more,
.kl-card:focus-visible .kl-card__more {
    color: var(--pk-pink);
}

/* Hover: Rand bleibt, keine Unterstreichung (die globale a:hover-Regel schlägt sonst "text-decoration: none" der Karte) */
.kl-card:hover,
.kl-card:focus-visible {
    box-shadow: 0 10px 30px rgba(20, 40, 52, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    .kl-card,
    .kl-card .kl-card__title,
    .kl-card .kl-card__more {
        transition: none;
    }

    .kl-card:hover,
    .kl-card:focus-visible {
        transform: none;
    }
}

/* .kl-page davor: sonst gewinnt ".kl-page h2 { margin-top: 0 }" und der Abstand zur Box darüber fehlt */
.kl-page .kl-between {
    margin: 64px 0 0;
}

@media (min-width: 992px) {
    .kl-page .kl-between {
        margin-top: 80px;
    }
}

/* --- Wissenschaft: Fachgesellschaften, Kongresse, BEAULI ------------------------------------------------- */

.kl-societies {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .kl-societies {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .kl-societies {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.kl-society {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin: 0;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--pk-line);
    border-radius: 14px;
}

.kl-society img {
    display: block;
    width: 64px;
    height: 44px;
    object-fit: contain;
}

.kl-society__name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #035783;
}

.kl-society__full {
    display: block;
    margin-top: 2px;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--pk-muted);
}

.kl-society__who {
    display: block;
    margin-top: 4px;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--pk-ink);
}

/* Kongresse: senkrechter Zeitstrahl, neueste Einträge oben (Entscheidung Karsten 07.10.2026) */
.kl-congress {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.kl-congress li {
    display: grid;
    grid-template-columns: 52px 20px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    margin: 0;
    padding: 0 0 22px;
}

@media (min-width: 768px) {
    .kl-congress li {
        grid-template-columns: 72px 20px minmax(0, 1fr);
        column-gap: 18px;
    }
}

.kl-congress__year {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--pk-blue);
}

.kl-congress__dot {
    position: relative;
    display: flex;
    align-self: stretch;
    justify-content: center;
}

.kl-congress__dot::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: -22px;
    border-left: 1.5px dotted var(--pk-blue);
    opacity: 0.5;
}

.kl-congress__dot::after {
    content: "";
    position: relative;
    width: 11px;
    height: 11px;
    margin-top: 6px;
    background: var(--pk-pink);
    border-radius: 999px;
}

.kl-congress li:last-child .kl-congress__dot::before {
    display: none;
}

.kl-congress__event {
    display: block;
    font-weight: 500;
    line-height: 1.5;
}

.kl-congress__text {
    display: block;
    margin: 2px 0 0;
    font-size: 0.9375rem !important; /* <p>: schlägt die globale p-Schriftgröße */
    line-height: 1.6;
    color: var(--pk-muted);
}

.kl-duo {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (min-width: 992px) {
    .kl-duo {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.kl-box {
    display: flex;
    flex-direction: column;
    padding: 30px 26px;
    border-radius: 16px;
}

@media (min-width: 768px) {
    .kl-box {
        padding: 38px 40px;
    }
}

.kl-box--grey {
    background: var(--kl-grey, var(--pk-warm));
}

.kl-box--line {
    border: 1px solid var(--pk-line);
}

.kl-box h3 {
    margin: 0;
}

/* BEAULI™-Logo (200 x 58 px, img/logos/beauli_logo.png), ohne Rahmen, in Originalgröße */
.kl-box__logo {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    margin-bottom: 24px;
}

/* Kleines Bild unter der Überschrift (BEAULI™ Academy, 500 x 300 px) */
.kl-box__thumb {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
    margin: 16px 0 4px;
    border-radius: 10px;
}

.kl-box .kl-eyebrow {
    margin-bottom: 14px;
}

.kl-box p {
    margin: 12px 0 0;
    font-family: var(--pk-text-font);
    font-size: var(--pk-text-size) !important;
    font-weight: var(--pk-text-weight);
    line-height: var(--pk-text-lh);
}

.kl-box__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.kl-box__links a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.4;
    text-decoration: none;
}

.kl-box .btn {
    align-self: flex-start;
    margin-top: 22px;
}

/* --- Natürlich schön ---------------------------------------------------------------------------------------- */

.kl-philosophy {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

@media (min-width: 992px) {
    .kl-philosophy {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 52px;
    }
}

.kl-philosophy__photo {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #dfe7e1;
    border-radius: 16px;
}

@media (min-width: 992px) {
    .kl-philosophy__photo {
        position: sticky;
        top: calc(var(--pk-nav-h, 0px) + 24px);
    }
}

.kl-philosophy__photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 36% center;
}

.kl-page .kl-signature {
    margin: 28px 0 0;
    font-size: 1.5rem !important;
    font-style: italic;
    font-weight: 300;
    line-height: 1.35;
    color: var(--pk-pink);
}

@media (min-width: 992px) {
    .kl-page .kl-signature {
        font-size: 1.875rem !important;
    }
}

/* --- Betreuung und Lage ---------------------------------------------------------------------------------------- */

.kl-timeline {
    margin-top: 40px;
}

.kl-page .kl-quote-line {
    margin: 22px 0 0;
    font-size: 1.25rem !important;
    font-weight: 300;
    line-height: 1.5;
    color: #035783;
}

/* --- Warum Park-Klinik ----------------------------------------------------------------------------------------- */

.kl-checklist {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 40px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--pk-line);
}

@media (min-width: 768px) {
    .kl-checklist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.kl-checklist li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0;
    padding: 14px 0;
    line-height: 1.5;
    border-bottom: 1px solid var(--pk-line);
}

.kl-checklist li::before {
    content: "\2713";
    font-weight: 500;
    color: var(--pk-pink);
}

.kl-final {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 32px;
    padding: 26px 24px;
    background: var(--kl-grey, var(--pk-warm));
    border-radius: 16px;
}

@media (min-width: 768px) {
    .kl-final {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
        padding: 30px 36px;
    }
}

/* Button behält seine Breite und bricht nicht um; der Text nimmt die übrige Breite und umbricht stattdessen */
.kl-final > div {
    flex: 1 1 auto;
    min-width: 0;
}

.kl-final .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.kl-final__title {
    margin: 0;
    font-size: 1.5rem !important;
    font-weight: 400;
    line-height: 1.2;
    color: #035783;
}

.kl-final__sub {
    margin: 6px 0 0;
    font-size: 0.9375rem !important;
    color: var(--pk-muted);
}
