@font-face {
    font-family: 'Merriweather';
    src: url('/font/static/Merriweather_48pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather';
    src: url('/font/static/Merriweather_48pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

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

body {
    background-color: rgb(0, 115, 112);
    font-family: 'Merriweather', serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* =====================================================
   GOLD SYSTEM — Light-sweep approach
   Solid gold base + sweeping highlight beam
===================================================== */

/* Light sweep for filled surfaces (logo, etc.) — primary beam */
@keyframes goldLightSweep {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }

    100% {
        transform: translateX(600%) rotate(30deg);
    }
}

/* Brightness pulse for gold surfaces */
@keyframes goldGlowPulse {

    0%,
    100% {
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 5px rgba(255, 235, 100, 0.05)) brightness(1);
    }

    50% {
        filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 12px rgba(255, 235, 100, 0.35)) brightness(1.2);
    }
}

/* Light sweep for text (background-position based) */
@keyframes textGoldSweep {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -100% center;
    }
}

/* Text glow pulse */
@keyframes textGlowPulse {

    0%,
    100% {
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)) brightness(1);
    }

    40% {
        filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.65)) brightness(1.15);
    }

    60% {
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)) brightness(1.06);
    }
}

/* Slow rotation for circular elements (donut ring) */
@keyframes donutRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Applied to filled surfaces (logo mask, etc.) */
.gold-effect {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg,
            #6e4c0c 0%,
            #9a7a20 25%,
            #dcb84b 50%,
            #9a7a20 75%,
            #6e4c0c 100%);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.65));
}

.gold-effect::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 35%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.25) 25%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.25) 75%,
            rgba(255, 255, 255, 0) 100%);
    transform: translateX(0%) rotate(45deg);
    animation: goldLightSweep 8s linear infinite;
    pointer-events: none;
}

/* Applied to text — solid gold with sweeping highlight clipped to glyphs */
.gold-text {
    background: linear-gradient(110deg,
            #fffbe0 0%,
            #dcb84b 20%,
            #ab8623 40%,
            #78530d 60%,
            #ab8623 75%,
            #dcb84b 90%,
            #fffbe0 100%);
    background-size: 300% 100%;
    animation: textGoldSweep 16s linear infinite, textGlowPulse 2.5s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

/* =====================================================
   TOP BAR — Phone & Email
===================================================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 4vw, 3rem);
    padding: 0.6rem 1rem;
    background: rgba(0, 90, 88, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(198, 163, 62, 0.25);
}

.top-bar a {
    color: rgba(255, 240, 140, 0.92);
    text-decoration: none;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.top-bar a:hover {
    color: #fffbe0;
}

.top-bar-icon {
    width: clamp(18px, 3.5vw, 26px);
    height: clamp(18px, 3.5vw, 26px);
    flex-shrink: 0;
}

/* Language switcher (DE / EN / RU) */
.lang-switch {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.lang-switch button {
    font-family: inherit;
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    letter-spacing: 0.06em;
    color: rgba(255, 240, 140, 0.75);
    background: transparent;
    border: 1px solid rgba(198, 163, 62, 0.45);
    border-radius: 4px;
    padding: 0.2em 0.55em;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lang-switch button:hover {
    color: #fffbe0;
    border-color: rgba(198, 163, 62, 0.85);
}

.lang-switch button.active {
    color: #1d3b3a;
    background: linear-gradient(145deg, #dcb84b, #fffbe0);
    border-color: #dcb84b;
    font-weight: 700;
}

/* =====================================================
   LAYOUT: SCROLL TRACK + STICKY VIEWPORT
===================================================== */
.scroll-track {
    height: 180vh;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

/* =====================================================
   PHASE 1 — INTRO (Logo + Title)
===================================================== */
.intro-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
    z-index: 10;
}

.logo-wrapper {
    width: 99vw;
    height: 60vh;
    max-width: 600px;
    max-height: 400px;
    margin-top: -3rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.logo {
    width: 100%;
    height: 100%;
    -webkit-mask-image: url('/img/logo_processed.png');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-mode: alpha;
    mask-image: url('/img/logo_processed.png');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-mode: alpha;
}

.title {
    font-weight: 400;
    font-size: clamp(1rem, 4vw, 3.6rem);
    letter-spacing: 0.12em;
    text-align: center;
    margin: 1.5rem 0 0;
}

.intro-headline {
    color: #ffffff;
    font-size: clamp(1rem, 4vw, 3.6rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    margin: 0.6rem 0 0;
    text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

/* =====================================================
   SCROLL-DOWN ARROW (blinking gold)
===================================================== */
@keyframes arrowBlink {

    0%,
    100% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(8px);
    }
}

.scroll-arrow {
    position: absolute;
    bottom: clamp(1.5rem, 5vh, 3.5rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    animation: arrowBlink 2s ease-in-out infinite;
    pointer-events: none;
    /* Gold arrow using an SVG chevron */
}

.scroll-arrow svg {
    width: clamp(28px, 5vw, 48px);
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 235, 80, 0.6));
}

/* Hide arrow after user scrolls */
.scroll-arrow.hidden {
    opacity: 0 !important;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* =====================================================
   PHASE 2 — SCENE: DONUT + HEADLINES
===================================================== */
.scene {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform, opacity;
    opacity: 0;
    transform: scale(0.1);
    z-index: 5;
}

.donut {
    --ring-size: clamp(200px, 44vmin, 420px);
    --ring-thickness: clamp(16px, 4vmin, 40px);

    position: relative;
    width: var(--ring-size);
    height: var(--ring-size);
    border-radius: 50%;
    border: var(--ring-thickness) solid transparent;
    background-clip: padding-box;
    background: transparent;
    box-shadow:
        0 0 40px 8px rgba(240, 210, 60, 0.45),
        0 0 80px 16px rgba(198, 163, 62, 0.20),
        inset 0 0 30px 4px rgba(240, 210, 60, 0.15);
    z-index: 2;
}

.donut-ring {
    position: absolute;
    inset: calc(-1 * var(--ring-thickness));
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            #9a7a20,
            #c6a33e,
            #f5e070,
            #fffbe0,
            #f5e070,
            #c6a33e,
            #9a7a20,
            #c6a33e,
            #f5e070,
            #fffbe0,
            #f5e070,
            #c6a33e,
            #9a7a20);
    animation: donutRotate 20s linear infinite;
    -webkit-mask:
        radial-gradient(circle,
            transparent calc(50% - var(--ring-thickness) - 1px),
            black calc(50% - var(--ring-thickness)));
    mask:
        radial-gradient(circle,
            transparent calc(50% - var(--ring-thickness) - 1px),
            black calc(50% - var(--ring-thickness)));
    z-index: 3;
}

.donut-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    width: calc(var(--ring-size) - 2 * var(--ring-thickness) - 4px);
    height: calc(var(--ring-size) - 2 * var(--ring-thickness) - 4px);
    background: rgb(0, 115, 112);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.inner-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10%;
    text-align: center;
    font-size: clamp(0.95rem, 2.8vmin, 1.6rem);
    line-height: 1.5;
    font-weight: 700;
    color: #e8c96a;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: none;
    pointer-events: none;
}

.inner-text.active {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(240, 200, 60, 0.65)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4)) brightness(1.12);
}

/* =====================================================
   ORBIT HEADLINES — static, evenly around the ring
===================================================== */
.orbit-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 6;
}

.orbit-headline {
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: clamp(1.15rem, 3.6vmin, 2rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    white-space: nowrap;
    /* Muted gold when inactive */
    background: linear-gradient(110deg, #6e4c0c 0%, #9a7a20 40%, #c6a33e 60%, #9a7a20 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    opacity: 0.4;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.55));
    transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.orbit-headline.active {
    background: linear-gradient(110deg,
            #fffbe0 0%,
            #f5e070 20%,
            #dcb84b 42%,
            #fffbe0 55%,
            #dcb84b 70%,
            #f5e070 85%,
            #fffbe0 100%);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    opacity: 1;
    filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.55));
}

/* =====================================================
   PHASE 3 — ALTERNATING PICTURE ROWS
===================================================== */
.content-sections {
    position: relative;
    z-index: 20;
    padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
    max-width: 1200px;
    /* Negative top margin pulls the picture rows up into the empty
       band below the centered ring, tightening the ring → pictures gap.
       Rows fade in via IntersectionObserver, so this stays smooth. */
    margin: -20vh auto 0;
}

.content-row {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Even rows: image left, text right (default) */
/* Odd rows: image right, text left */
.content-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Slide from left for odd rows */
.content-row:nth-child(odd) {
    transform: translateX(-60px);
}

/* Slide from right for even rows */
.content-row:nth-child(even) {
    transform: translateX(60px);
}

/* Revealed state */
.content-row.revealed {
    opacity: 1;
    transform: translateX(0);
}

.content-row-image {
    flex: 0 0 45%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 0 0 2px rgba(198, 163, 62, 0.25);
}

.content-row-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.content-row-text {
    flex: 1;
}

.content-row-text h2 {
    font-size: clamp(1rem, 2.8vw, 2rem);
    font-weight: 700;
    margin: 0 0 0.8rem;
    letter-spacing: 0.06em;
}

.content-row-text h2.gold-text {
    animation: none;
    background: linear-gradient(110deg,
        #fffbe0 0%,
        #f5e070 20%,
        #e8c84a 45%,
        #f5e070 70%,
        #fffbe0 100%);
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4)) brightness(1.15);
}

.content-row-text p {
    font-size: clamp(0.8rem, 1.6vw, 1.05rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* A thin gold separator line between rows */
.content-row+.content-row {
    border-top: 1px solid rgba(198, 163, 62, 0.18);
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* Last row needs no trailing gap before the Werdegang section */
.content-row:last-child {
    margin-bottom: 0;
}

/* =====================================================
   MOBILE TWEAKS
===================================================== */
@media (max-width: 600px) {
    .top-bar {
        flex-direction: column;
        gap: 0.3rem;
        padding: 0.5rem 0.8rem;
    }

    .top-bar a {
        font-size: 1.05rem;
        width: 100%;
        justify-content: center;
    }

    .lang-switch {
        margin-top: 0.15rem;
        justify-content: center;
    }

    .lang-switch button {
        padding: 0.3em 0.7em;
    }

    .sticky-container {
        overflow: visible;
    }

    .donut {
        --ring-size: clamp(140px, 52vw, 240px);
        --ring-thickness: clamp(10px, 3vw, 18px);
    }

    .orbit-headline {
        font-size: clamp(0.95rem, 4.5vw, 1.3rem);
        white-space: normal;
        text-align: center;
        max-width: 35vw;
        line-height: 1.3;
    }

    .inner-text {
        font-size: clamp(0.75rem, 3.5vw, 1.05rem);
    }

    .title {
        font-size: clamp(1.4rem, 7vw, 2.3rem);
    }

    /* Stack image rows vertically on mobile */
    .content-row,
    .content-row:nth-child(even) {
        flex-direction: column;
        gap: 1.25rem;
    }

    .content-row-image {
        flex: none;
        width: 100%;
    }

    /* Both slide up on mobile instead of left/right */
    .content-row:nth-child(odd),
    .content-row:nth-child(even) {
        transform: translateY(40px);
    }

    .content-row.revealed {
        transform: translateY(0);
    }

    .content-sections {
        padding-bottom: 1.5rem;
        /* Ring is smaller on mobile → larger empty band, pull up a bit more */
        margin-top: -26vh;
    }
}

@media (max-width: 600px) and (orientation: portrait) {
    .logo-wrapper {
        width: 95vw;
        height: 50vh;
    }
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
    text-align: center;
    padding: 3rem 1rem 2rem;
    margin-top: 2rem;
    background-color: transparent;
}

.footer a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #dcb84b;
}

/* =====================================================
   PHASE 4 — CV / WERDEGANG (gold timeline)
===================================================== */
.cv {
    position: relative;
    z-index: 20;
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4.5rem);
    border-top: 1px solid rgba(198, 163, 62, 0.18);
}

.cv-title {
    text-align: center;
    font-size: clamp(1.6rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 1.1rem;
}

.cv-lead {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
}

/* --- timeline rail --- */
.cv-timeline {
    position: relative;
    margin: clamp(2.5rem, 6vw, 4rem) auto 0;
}

/* The rail line only spans the chronological beam — not the
   off-beam Therapieschwerpunkte / Besonderer Service blocks. */
.tl-track {
    position: relative;
}

.tl-track::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom,
            rgba(154, 122, 32, 0) 0%,
            #9a7a20 5%,
            #c6a33e 50%,
            #9a7a20 95%,
            rgba(154, 122, 32, 0) 100%);
    z-index: 0;
}

/* --- golden rings (start / end) — same slow rotation as the hero ring --- */
.tl-cap {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 3;
    margin: 0.5rem 0;
}

.tl-ring {
    width: clamp(58px, 9vw, 74px);
    aspect-ratio: 1;
    border-radius: 50%;
    position: relative;
    filter: drop-shadow(0 0 16px rgba(240, 210, 60, 0.45)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.tl-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            #9a7a20, #c6a33e, #f5e070, #fffbe0, #f5e070, #c6a33e,
            #9a7a20, #c6a33e, #f5e070, #fffbe0, #f5e070, #c6a33e, #9a7a20);
    animation: donutRotate 20s linear infinite;
    -webkit-mask: radial-gradient(circle, transparent 56%, #000 58%);
    mask: radial-gradient(circle, transparent 56%, #000 58%);
}

/* --- section labels (chip masks the rail behind it) --- */
.tl-section {
    text-align: center;
    margin: clamp(2.2rem, 5vw, 3.4rem) 0 clamp(1.1rem, 3vw, 1.7rem);
    position: relative;
    z-index: 2;
    font-size: clamp(1.3rem, 3.4vw, 2.1rem);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.tl-chip {
    display: inline-block;
    background: rgb(0, 115, 112);
    padding: 0.15rem 1.1rem;
}

/* --- centered intro / service paragraphs --- */
.tl-intro {
    max-width: 680px;
    margin: 0 auto clamp(1.4rem, 4vw, 2.4rem);
    padding: 0.3rem clamp(1rem, 3vw, 1.5rem);
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    font-size: clamp(0.92rem, 1.9vw, 1.08rem);
    background: rgb(0, 115, 112);
    position: relative;
    z-index: 2;
}

/* --- timeline items (alternating left / right) --- */
.tl-item {
    position: relative;
    width: 50%;
    padding: 0 clamp(1.5rem, 3vw, 2.75rem);
    margin: clamp(1rem, 2.5vw, 1.5rem) 0;
    z-index: 1;
}

.tl-item.left {
    left: 0;
    text-align: right;
}

.tl-item.right {
    left: 50%;
    text-align: left;
}

/* node dot sitting on the rail */
.tl-item::after {
    content: "";
    position: absolute;
    top: 0.25rem;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fffbe0, #f5e070 38%, #c6a33e 72%, #9a7a20);
    box-shadow: 0 0 10px 2px rgba(240, 210, 60, 0.5), 0 0 0 4px rgb(0, 115, 112);
    z-index: 2;
}

.tl-item.left::after {
    right: 0;
    transform: translateX(50%);
}

.tl-item.right::after {
    left: 0;
    transform: translateX(-50%);
}

.tl-card {
    display: inline-block;
    text-align: left;
    max-width: 430px;
}

/* Date label — white & bold, same size as the role/place lines */
.tl-date {
    display: block;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: clamp(0.92rem, 1.8vw, 1.05rem);
    margin-bottom: 0.2rem;
}

/* Body text: uniform white, only weight separates title from the rest */
.tl-role {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    font-size: clamp(0.92rem, 1.8vw, 1.05rem);
    line-height: 1.5;
}

.tl-place {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
    font-size: clamp(0.92rem, 1.8vw, 1.05rem);
    line-height: 1.5;
}

.tl-note {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    font-size: clamp(0.88rem, 1.7vw, 0.98rem);
    line-height: 1.55;
    margin-top: 0.35rem;
}

.tl-subhead {
    font-size: clamp(0.92rem, 1.8vw, 1.05rem);
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 0.7rem;
    letter-spacing: 0.02em;
}

.tl-courses {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tl-courses li {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.92rem, 1.8vw, 1.05rem);
    line-height: 1.5;
    margin: 0 0 0.7rem;
}

.tl-courses li:last-child {
    margin-bottom: 0;
}

.tl-courses .tl-date {
    margin-bottom: 0.1rem;
}

/* --- Therapieschwerpunkte (centered, gold bullets) --- */
.tl-focus {
    max-width: 640px;
    margin: 0 auto;
    padding: 0.4rem clamp(1rem, 3vw, 1.5rem);
    background: rgb(0, 115, 112);
    position: relative;
    z-index: 2;
}

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

.tl-focus li {
    position: relative;
    padding-left: 1.7rem;
    margin: 0 0 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: clamp(0.9rem, 1.9vw, 1.08rem);
}

.tl-focus li:last-child {
    margin-bottom: 0;
}

.tl-focus li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fffbe0, #f5e070 40%, #c6a33e 75%, #9a7a20);
    box-shadow: 0 0 6px rgba(240, 210, 60, 0.5);
}

/* --- scroll reveal (progressive enhancement: only active once JS adds .tl-anim) --- */
.cv.tl-anim .tl-cap,
.cv.tl-anim .tl-section,
.cv.tl-anim .tl-intro,
.cv.tl-anim .tl-focus,
.cv.tl-anim .tl-item {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cv.tl-anim .tl-cap,
.cv.tl-anim .tl-section,
.cv.tl-anim .tl-intro,
.cv.tl-anim .tl-focus {
    transform: translateY(24px);
}

.cv.tl-anim .tl-item.left {
    transform: translateX(-32px);
}

.cv.tl-anim .tl-item.right {
    transform: translateX(32px);
}

.cv.tl-anim .revealed {
    opacity: 1 !important;
    transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .cv.tl-anim .tl-cap,
    .cv.tl-anim .tl-section,
    .cv.tl-anim .tl-intro,
    .cv.tl-anim .tl-focus,
    .cv.tl-anim .tl-item {
        opacity: 1;
        transform: none;
    }
}

/* --- CV timeline: single left rail on phones/tablets --- */
@media (max-width: 700px) {
    .tl-track::before {
        left: 28px;
    }

    .tl-ring {
        width: 56px;
    }

    /* Only the in-track sections sit on the left rail; the off-beam
       blocks (Therapieschwerpunkte, Besonderer Service) stay centered. */
    .tl-track .tl-section {
        text-align: left;
        padding-left: 60px;
    }

    .tl-track .tl-chip {
        background: transparent;
        padding: 0;
    }

    .tl-track .tl-intro {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-left: 60px;
        padding-right: 0.5rem;
        text-align: left;
        background: transparent;
    }

    /* Therapieschwerpunkte flows like the timeline: heading left-aligned,
       bullets centered on the same x (28px) as the rail node dots. */
    .tl-section.tl-rail {
        text-align: left;
        padding-left: 60px;
    }

    .tl-section.tl-rail .tl-chip {
        background: transparent;
        padding: 0;
    }

    .tl-focus.tl-rail {
        max-width: none;
        margin: 0;
        padding-left: 0;
        padding-right: 0.5rem;
        background: transparent;
    }

    .tl-focus.tl-rail li {
        padding-left: 60px;
    }

    .tl-focus.tl-rail li::before {
        left: 28px;
        transform: translateX(-50%);
    }

    .tl-item,
    .tl-item.left,
    .tl-item.right {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 60px;
        padding-right: 0;
    }

    .tl-item.left::after,
    .tl-item.right::after {
        left: 28px;
        right: auto;
        transform: translateX(-50%);
    }

    .tl-card {
        max-width: 100%;
    }

    .cv.tl-anim .tl-item.left,
    .cv.tl-anim .tl-item.right {
        transform: translateY(24px);
    }
}
