/* Standortseite Bad Tölz */

.hero {
    position: relative;
    width: 100%;
    max-width: none;
    color: #fff;
    height: calc(100vh + 80px);
    min-height: calc(100vh + 80px);
    overflow: hidden;
    background: #0a1f35;
    margin-top: 0;
}

.hero-media img {
    object-position: center 40%;
}

/* Ziehende Wolken: wolkenloser Himmel + freigestellte Wolken hinter dem Foto mit transparentem Himmel */
.hero-sky {
    position: absolute;
    inset: 0;
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    overflow: hidden;
    pointer-events: none;
    container-type: size;
}

/* Bühne mit exakter Bildgeometrie (1024 × 768, object-fit: cover, zentriert) */
.hero-sky-stage {
    position: absolute;
    left: 50%;
    top: 50%;
    width: max(100cqw, calc(100cqh * 1024 / 768));
    aspect-ratio: 1024 / 768;
    transform: translate(-50%, -50%);
    background: #6ea9ef url('/assets/media/pages/bad-toelz/hero-himmel.jpg?v=72cdfa6d') center / 100% 100% no-repeat;
    container-type: inline-size;
}

.hero-sky-cloud {
    position: absolute;
    left: 0;
    top: var(--cloud-top);
    width: var(--cloud-w);
    aspect-ratio: var(--cloud-ratio);
    background: var(--cloud-img) center / 100% 100% no-repeat;
    --cloud-speed: 2.5;
    animation: bt-cloud-drift calc(var(--cloud-duration) / var(--cloud-speed)) linear calc(var(--cloud-delay) / var(--cloud-speed)) infinite;
    will-change: transform;
    backface-visibility: hidden;
}

/* Werte in Bildpixeln (Basis 1024 × 768). Dauer = (1024 + Breite) / Tempo,
   Verzögerung = -(1024 - Start-x) / Tempo: Beim Laden steht jede Wolke an ihrer Position im Foto.
   Tiefe Wolken am Horizont ziehen langsamer. */
.hero-sky-cloud--1 { --cloud-img: url('/assets/media/pages/bad-toelz/wolke-1.webp?v=78d4795e'); --cloud-top: 37.5%;   --cloud-w: 10.449%; --cloud-ratio: 107 / 194; --cloud-x: 0cqw;      --cloud-duration: 251.3s; --cloud-delay: -227.6s; }
.hero-sky-cloud--2 { --cloud-img: url('/assets/media/pages/bad-toelz/wolke-2.webp?v=539cb2f7'); --cloud-top: 19.792%; --cloud-w: 22.461%; --cloud-ratio: 230 / 101; --cloud-x: 1.367cqw;  --cloud-duration: 192.9s; --cloud-delay: -155.4s; }
.hero-sky-cloud--3 { --cloud-img: url('/assets/media/pages/bad-toelz/wolke-3.webp?v=22e3af75'); --cloud-top: 3.255%;  --cloud-w: 15.723%; --cloud-ratio: 161 / 110; --cloud-x: 28.516cqw; --cloud-duration: 148.1s; --cloud-delay: -91.5s; }
.hero-sky-cloud--4 { --cloud-img: url('/assets/media/pages/bad-toelz/wolke-4.webp?v=bfc5c28a'); --cloud-top: 13.411%; --cloud-w: 7.324%;  --cloud-ratio: 75 / 51;   --cloud-x: 46.387cqw; --cloud-duration: 146.5s; --cloud-delay: -73.2s; }
.hero-sky-cloud--5 { --cloud-img: url('/assets/media/pages/bad-toelz/wolke-5.webp?v=3aa4d205'); --cloud-top: 51.302%; --cloud-w: 22.852%; --cloud-ratio: 234 / 88;  --cloud-x: 66.113cqw; --cloud-duration: 279.6s; --cloud-delay: -77.1s; }
.hero-sky-cloud--6 { --cloud-img: url('/assets/media/pages/bad-toelz/wolke-6.webp?v=0016b804'); --cloud-top: 9.635%;  --cloud-w: 27.539%; --cloud-ratio: 282 / 158; --cloud-x: 65.137cqw; --cloud-duration: 186.6s; --cloud-delay: -51s; }
.hero-sky-cloud--7 { --cloud-img: url('/assets/media/pages/bad-toelz/wolke-7.webp?v=7037894b'); --cloud-top: 26.302%; --cloud-w: 22.949%; --cloud-ratio: 235 / 219; --cloud-x: 77.051cqw; --cloud-duration: 228.9s; --cloud-delay: -42.7s; }

/* Von rechts nach links: Start direkt hinter dem rechten, Ende direkt hinter dem linken Bildrand */
@keyframes bt-cloud-drift {
    from { transform: translateX(100cqw); }
    to { transform: translateX(-100%); }
}

/* Verkehrsflugzeug mit Kondensstreifen (per Script): in Reiseflughöhe hinter den Wolken */
.hero-plane {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    visibility: hidden;
}

.hero-plane-line {
    fill: none;
    stroke-width: 0.9;
    stroke-linecap: round;
}

.hero-plane-body {
    fill: #eef2f6;
    stroke: rgba(70, 85, 100, 0.4);
    stroke-width: 0.25;
    stroke-linejoin: round;
}

/* Abgewandte Flügelseite liegt im Schatten */
.hero-plane-far {
    fill: #c3ccd6;
}

/* Vögel (per Script gezeichnet): vor den Wolken, aber hinter Gebäude und Bäumen */
.hero-birds {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    fill: #222b33;
}

/* Industriekletterer bringt das Logo an der Glasfassade an (per Script): über dem Foto, unter dem Verlauf */
.hero-crew {
    position: absolute;
    inset: 0;
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    overflow: hidden;
    pointer-events: none;
    container-type: size;
}

.hero-crew-stage {
    position: absolute;
    left: 50%;
    top: 50%;
    width: max(100cqw, calc(100cqh * 1024 / 768));
    aspect-ratio: 1024 / 768;
    transform: translate(-50%, -50%);
}

.hero-crew-scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-crew-plate {
    fill: #0d2a47;
    fill-opacity: 0.9;
    stroke: rgba(255, 255, 255, 0.18);
    stroke-width: 0.3;
}

.hero-crew-paint {
    fill: none;
    stroke: #fff;
    stroke-width: 20;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-crew-rope {
    fill: none;
    stroke: #2a2e33;
    stroke-opacity: 0.9;
    stroke-width: 0.55;
    stroke-linecap: round;
}

/* Freigestelltes Foto an das Licht der Gebäudeaufnahme angleichen */
.hero-crew-pose {
    filter: saturate(0.88) brightness(0.96) contrast(1.04);
}

.hero-crew-worker,
.hero-crew-pose[data-pose="work"] {
    visibility: hidden;
}

/* Heißluftballon (AUGEN Bräuning & Kollegen) im Himmel hinter dem Foto: zieht langsam von rechts nach links
   und verschwindet dabei hinter dem Gebäude. Werte in cqw der Bühne (Bildhöhe = 75cqw). */
.hero-balloon {
    position: absolute;
    left: 0;
    top: 16%;
    width: 14cqw;
    aspect-ratio: 401 / 504;
    animation: bt-balloon-fly 110s linear -14s infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.hero-balloon-art {
    position: relative;
    width: 100%;
    height: 100%;
    transform-origin: 50% 30%;
    animation: bt-balloon-sway 9s ease-in-out infinite;
}

.hero-balloon-art img {
    display: block;
    width: 100%;
    height: 100%;
}

/* Brenner: Hülle leuchtet von der Öffnung (y ≈ 80 %) her warm auf, auf die Ballonform maskiert */
.hero-balloon-glow,
.hero-balloon-flame {
    position: absolute;
    opacity: 0;
    animation: bt-balloon-burner 29s linear infinite;
}

.hero-balloon-glow {
    inset: 0;
    background: radial-gradient(ellipse 26% 16% at 50% 69%, rgba(255, 175, 80, 0.55), rgba(255, 150, 60, 0.2) 55%, rgba(255, 140, 50, 0) 100%);
    mix-blend-mode: screen;
    -webkit-mask: url('/assets/media/pages/bad-toelz/heissluftballon-braeuning.webp?v=f65ae188') center / 100% 100% no-repeat;
    mask: url('/assets/media/pages/bad-toelz/heissluftballon-braeuning.webp?v=f65ae188') center / 100% 100% no-repeat;
}

.hero-balloon-flame {
    left: 48.4%;
    top: 78.6%;
    width: 3.2%;
    height: 3.4%;
    border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%;
    background: radial-gradient(ellipse at 50% 75%, #fffbe6 0%, #ffd45c 40%, rgba(255, 130, 30, 0.8) 70%, rgba(255, 110, 20, 0) 100%);
}

/* Zwei unterschiedlich lange Brennstöße pro Takt, dazwischen lange Pausen; leichtes Flackern */
@keyframes bt-balloon-burner {
    0%, 30% { opacity: 0; }
    31% { opacity: 1; }
    33% { opacity: 0.8; }
    35% { opacity: 1; }
    37% { opacity: 0.85; }
    39% { opacity: 1; }
    41%, 72% { opacity: 0; }
    73% { opacity: 1; }
    75% { opacity: 0.82; }
    77% { opacity: 1; }
    78.5%, 100% { opacity: 0; }
}

/* Start direkt hinter dem rechten Bildrand, schräg nach links oben steigend hinaus */
@keyframes bt-balloon-fly {
    from { transform: translate3d(100cqw, 6cqw, 0) rotate(0.02deg); }
    to { transform: translate3d(-100%, -14cqw, 0) rotate(0.02deg); }
}

/* Hubschrauber (per Script, hinter dem Foto): fliegt von rechts nach links hinter das Gebäude,
   sobald der Ballon hinter dem Dach abtaucht */
.hero-heli {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    visibility: hidden;
}

.hero-heli-photo {
    filter: saturate(0.85) brightness(1.06) contrast(1.03);
}

@keyframes bt-balloon-sway {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-0.6cqw) rotate(1deg); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-sky-cloud {
        animation: none;
        transform: translateX(var(--cloud-x));
    }

    .hero-balloon,
    .hero-balloon-art,
    .hero-balloon-glow,
    .hero-balloon-flame {
        animation: none;
    }

    .hero-balloon {
        transform: translate3d(74cqw, 0, 0);
    }
}

/* Text liegt links über dem Himmel und der Glasfassade – seitlicher Verlauf statt des globalen Verlaufs von oben */
@media (min-width: 769px) {
    .hero .hero-shade {
        background:
            linear-gradient(
                90deg,
                rgba(10, 31, 53, 0.86) 0%,
                rgba(10, 31, 53, 0.62) 38%,
                rgba(10, 31, 53, 0.18) 70%,
                rgba(10, 31, 53, 0.05) 100%
            ),
            linear-gradient(
                to bottom,
                rgba(10, 31, 53, 0.55) 0%,
                rgba(10, 31, 53, 0) calc(var(--header-height, 80px) + 120px)
            ) !important;
    }
}

/* Mobil: Höhenausgleich zur Vorteile-Leiste nur im Textblock, damit unter dem Foto kein Himmel hervorscheint */
@media (max-width: 768px) {
    html body .hero:has(.hero-media) {
        grid-template-rows: auto 1fr !important;
    }
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: var(--header-height) max(20px, calc((100% - 1200px) / 2)) 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.hero-text {
    text-align: left;
    max-width: 620px;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f4f9ff;
    font-weight: 600;
    opacity: 0.95;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 4.2vw, 3.65rem);
    margin: 0 0 16px;
    line-height: 1.12;
    letter-spacing: 0;
    font-family: var(--font-display);
    font-weight: 700;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
    color: #f4f9ff;
    position: relative;
    padding-bottom: 18px;
}

.hero-text h1::after {
    display: none;
}

.hero-text p {
    font-size: clamp(1rem, 1.18vw, 1.12rem);
    margin: 6px 0 24px;
    max-width: 56ch;
    line-height: 1.74;
    color: #ffffff;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
}

.hero-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0a1f35;
    color: #e1f0ff;
    padding: 11px 20px;
    text-decoration: none;
    border-radius: 0;
    border: 1px solid #0a1f35;
    font-weight: 600;
    font-size: 0.84rem;
    letter-spacing: 0.018em;
    transition: all 0.3s ease;
    box-shadow: 0 9px 20px rgba(5, 20, 35, 0.2);
    white-space: nowrap;
}

.hero-action-btn:hover {
    background: #1a4a7a;
    border-color: #1a4a7a;
    color: #eaf4ff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 13px 26px rgba(7, 24, 42, 0.28);
}

.hero-action-btn--ghost {
    background: transparent;
    color: #e1f0ff;
    border-color: rgba(225, 240, 255, 0.58);
    box-shadow: none;
}

.hero-action-btn--ghost:hover {
    background: rgba(225, 240, 255, 0.24);
    color: #ffffff;
    border-color: rgba(225, 240, 255, 0.8);
}

.loc-main {
    background: #ffffff;
    padding: 88px 0 40px;
}

.loc-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.loc-kicker {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.82rem;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: #6f8499;
    font-weight: 600;
}

.loc-title {
    margin: 0 0 18px;
    color: #0a1f35;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 3.05rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
    max-width: 16ch;
    position: relative;
    padding-bottom: 16px;
}

.loc-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 2px;
    background: rgba(10, 31, 53, 0.25);
}

.loc-lead {
    margin: 0 0 16px;
    font-size: 1.12rem;
    color: #334f67;
    line-height: 1.84;
}

.loc-copy p {
    margin: 0 0 14px;
    font-size: 1.08rem;
    line-height: 1.82;
    color: #445d74;
}

.loc-copy p:last-child {
    margin-bottom: 0;
}

.loc-copy strong {
    font-weight: 600;
    color: #1b3b57;
}

.loc-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.loc-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid #0a1f35;
    background: #0a1f35;
    color: #e1f0ff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
}

.loc-cta:hover {
    background: #1a4a7a;
    border-color: #1a4a7a;
    color: #eaf4ff;
}

.loc-cta--ghost {
    background: transparent;
    color: #0a1f35;
    border-color: rgba(10, 31, 53, 0.35);
}

.loc-cta--ghost:hover {
    background: #f4f8fb;
    color: #0a1f35;
    border-color: #0a1f35;
}

.loc-media {
    margin: 0;
    overflow: hidden;
    background: #d7e3ee;
}

.loc-media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.loc-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loc-copy a:not(.loc-cta),
.loc-fact a {
    color: #1a4a7a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.loc-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: stretch;
    margin-bottom: 92px;
}

.loc-intro {
    align-items: center;
}

.loc-intro-visual {
    position: relative;
    padding: 0 0 28px 28px;
}

.loc-intro-visual::before {
    content: "";
    position: absolute;
    inset: 28px 28px 0 0;
    border: 1px solid #c9a45c;
    border-radius: 18px;
    pointer-events: none;
}

.loc-intro .loc-media {
    position: relative;
    min-height: 460px;
    height: 100%;
    border-radius: 18px;
    z-index: 1;
    box-shadow: 0 24px 50px -24px rgba(10, 31, 53, 0.45);
}

.loc-intro-badge {
    position: absolute;
    left: 0;
    bottom: 0;
    display: grid;
    gap: 2px;
    max-width: 280px;
    padding: 18px 24px;
    background: rgba(10, 31, 53, 0.92);
    backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 12px;
    z-index: 2;
    box-shadow: 0 16px 34px -16px rgba(10, 31, 53, 0.6);
    line-height: 1.4;
}

.loc-intro-badge-label {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #c9a45c;
    margin-bottom: 4px;
}

.loc-intro-badge strong {
    font-size: 1.15rem;
}

.loc-intro-badge span:last-child {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
}

.loc-intro .loc-media img {
    object-position: center 20%;
}

.loc-media img.ai-badge {
    position: absolute;
    inset: auto 8px 8px auto;
    z-index: 2;
    width: 13.8px;
    height: auto;
    border-radius: 10%;
    opacity: 0.85;
    pointer-events: none;
}

.loc-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0 0 92px;
    padding: 36px 0 8px;
    border-top: 1px solid rgba(10, 31, 53, 0.08);
    border-bottom: 1px solid rgba(10, 31, 53, 0.08);
}

.loc-fact {
    padding: 8px 4px 20px;
}

.loc-fact-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6f8499;
}

.loc-fact p {
    margin: 0;
    color: #244461;
    font-size: 1.02rem;
    line-height: 1.6;
}

.loc-visit {
    margin-bottom: 92px;
}

.loc-visit-head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 36px;
}

.loc-visit-head .loc-title {
    margin-bottom: 0;
}

.loc-visit-head p {
    margin: 0;
    color: #445d74;
    font-size: 1.08rem;
    line-height: 1.78;
}

.loc-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 420px;
    gap: 16px;
}

.loc-gallery .loc-media img {
    object-position: center 30%;
}

.loc-gallery .loc-media:nth-child(2) img {
    object-position: center 35%;
}

.loc-doctor {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
    margin: 0 0 92px;
}

.loc-doctor .loc-media {
    aspect-ratio: 16 / 10;
}

.loc-doctor .loc-media img {
    object-position: center 18%;
}

.loc-doctor-role {
    margin: 0 0 18px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5a738b;
}

.loc-team {
    margin-bottom: 92px;
}

.loc-team-head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 36px;
}

.loc-team-head p {
    margin: 0;
    color: #445d74;
    font-size: 1.08rem;
    line-height: 1.78;
}

.loc-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.loc-team-grid .loc-media picture {
    aspect-ratio: 3 / 2;
}

.loc-team-grid .loc-media img {
    object-position: center 18%;
}

.loc-team-grid .loc-media--robot img {
    object-position: center 55%;
}

.loc-media figcaption {
    padding: 12px 2px 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #5a738b;
}

.loc-media:has(figcaption) {
    background: transparent;
}

.loc-media:has(figcaption) picture {
    background: #d7e3ee;
    overflow: hidden;
}

/* Wartebereich mit Monitor */
.loc-wait {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    grid-template-areas:
        "copy main"
        "side main";
    grid-template-rows: auto 1fr;
    column-gap: clamp(32px, 4vw, 56px);
    row-gap: 28px;
    margin-bottom: 92px;
}

.loc-wait > .loc-copy {
    grid-area: copy;
    align-self: end;
}

.loc-wait-main {
    grid-area: main;
}

.loc-wait-main picture {
    aspect-ratio: 4 / 3;
}

.loc-wait-side {
    grid-area: side;
    align-self: start;
}

.loc-wait-side picture {
    aspect-ratio: 16 / 9;
}

.loc-wait-side img {
    object-position: center 60%;
}

/* VIP-Patienten */
.loc-vip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: stretch;
    margin-bottom: 92px;
}

.loc-vip-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    min-height: 460px;
}

.loc-vip-media .loc-media {
    height: 100%;
}

.loc-vip-media .loc-media:first-child img {
    object-position: center 60%;
}

.loc-vip-media .loc-media:nth-child(2) img {
    object-position: 40% center;
}

.loc-vip > .loc-copy {
    align-self: center;
}

.loc-vip-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.loc-vip-list li {
    position: relative;
    padding-left: 22px;
}

.loc-vip-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c9a45c;
}

.loc-precision {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
    margin-bottom: 48px;
}

.loc-precision .loc-media {
    aspect-ratio: 4 / 3;
}

.loc-precision .loc-media img {
    object-position: center 55%;
}

/* Kontaktbereich – identisch zu den übrigen Seiten */
.contact {
    padding: 60px 0;
    background: #0a1f35;
    color: #e8edf4;
}

.contact-shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 28px;
}

.contact-intro p {
    color: #c6d2df;
    max-width: 880px;
    margin: 0 auto;
    line-height: 1.75;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 24px;
    align-items: stretch;
}

.contact-col {
    padding: 4px 2px;
}

.contact-col h3 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-col p,
.contact-col li {
    color: #d4deea;
    line-height: 1.72;
    font-size: 1.03rem;
}

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

.contact-col li + li {
    margin-top: 6px;
}

.contact-col a {
    color: #eaf2fb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-cta-group {
    margin-top: 11px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.contact .map-container {
    width: 96%;
    margin: 0 auto;
    height: 240px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.contact .map-container:hover {
    transform: scale(1.02);
}

.contact .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 70px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-col {
        padding: 20px 18px 22px;
    }
}

.loc-reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
        opacity 0.9s cubic-bezier(0.25, 0.9, 0.3, 1),
        transform 0.9s cubic-bezier(0.25, 0.9, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.loc-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .loc-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 1024px) {
    .loc-intro,
    .loc-doctor,
    .loc-precision,
    .loc-wait,
    .loc-vip,
    .loc-visit-head,
    .loc-team-head {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .loc-intro-visual {
        order: -1;
    }

    .loc-intro .loc-media,
    .loc-doctor .loc-media {
        min-height: 0;
        aspect-ratio: 16 / 10;
        order: -1;
    }

    .loc-precision .loc-media,
    .loc-vip-media {
        order: -1;
    }

    .loc-wait {
        grid-template-areas:
            "main"
            "copy"
            "side";
        grid-template-rows: auto;
    }

    .loc-team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .loc-team-grid .loc-media--robot {
        grid-column: 1 / span 2;
    }

    .loc-team-grid .loc-media--robot picture {
        aspect-ratio: 16 / 7;
    }

    .loc-title,
    .loc-visit-head .loc-title,
    .loc-team-head .loc-title {
        max-width: none;
    }

    .loc-facts {
        grid-template-columns: 1fr 1fr;
    }

    .loc-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 320px;
    }
}

@media (max-width: 768px) {
    .loc-main {
        padding: 56px 0 24px;
    }

    .loc-intro,
    .loc-visit,
    .loc-doctor,
    .loc-team {
        margin-bottom: 64px;
    }

    .loc-facts {
        grid-template-columns: 1fr;
        gap: 4px;
        margin-bottom: 64px;
    }

    .loc-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .loc-gallery .loc-media:first-child,
    .loc-gallery .loc-media {
        grid-column: auto;
        min-height: 220px;
        aspect-ratio: 16 / 10;
    }

    .loc-team-grid,
    .loc-vip-media {
        grid-template-columns: 1fr;
    }

    .loc-team-grid .loc-media--robot {
        grid-column: auto;
    }

    .loc-team-grid .loc-media--robot picture,
    .loc-vip-media {
        min-height: 0;
    }

    .loc-vip-media .loc-media picture {
        aspect-ratio: 3 / 2;
    }

    .loc-wait,
    .loc-vip {
        margin-bottom: 64px;
    }

    .loc-title::after,
    .loc-visit-head .loc-title::after,
    .loc-team-head .loc-title::after {
        left: 0;
    }

    .loc-intro-visual {
        padding: 0 0 16px 16px;
    }

    .loc-intro-visual::before {
        inset: 16px 16px 0 0;
        border-radius: 14px;
    }

    .loc-intro .loc-media {
        border-radius: 14px;
    }

    .loc-intro-badge {
        max-width: 200px;
        padding: 10px 14px;
        border-radius: 10px;
        gap: 0;
    }

    .loc-intro-badge-label {
        font-size: 0.6rem;
        letter-spacing: 0.12em;
        margin-bottom: 2px;
    }

    .loc-intro-badge strong {
        font-size: 0.95rem;
    }

    .loc-intro-badge span:last-child {
        display: none;
    }
}

/* Ärzte am Standort */
.loc-doctors {
    margin-bottom: 92px;
}

.loc-doctors-head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 40px;
}

.loc-doctors-head .loc-title {
    margin-bottom: 0;
}

.loc-doctors-head p {
    margin: 0;
    color: #445d74;
    font-size: 1.08rem;
    line-height: 1.78;
}

.loc-doctors-head p + p {
    margin-top: 1em;
}

.loc-doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px);
}

.loc-doctor-card {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 26px;
    align-items: start;
    padding: 24px;
    background: #f6f9fc;
    border: 1px solid rgba(10, 31, 53, 0.08);
}

.loc-doctor-card .loc-media picture {
    aspect-ratio: 4 / 5;
}

.loc-doctor-card .loc-media img {
    object-position: center 20%;
}

.loc-doctor-card h3 {
    margin: 0 0 6px;
    color: #0a1f35;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
}

.loc-doctor-card .loc-doctor-role {
    margin-bottom: 14px;
}

.loc-doctor-card .loc-copy p {
    font-size: 1rem;
    line-height: 1.72;
}

.loc-doctor-card .loc-cta-row {
    margin-top: 18px;
}

.loc-tag-list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.loc-tag-list li {
    padding: 5px 11px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #1a4a7a;
    background: #e6eef6;
}

/* Augenlasern / refraktive Chirurgie – helles Band unter den Leistungen */
.loc-lasik {
    margin: 0;
    padding: 96px 0;
    background: #e7eef6;
    color: #0a1f35;
}

.loc-lasik-shell {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.loc-lasik .loc-kicker {
    color: #8a6a32;
}

.loc-lasik .loc-title {
    color: #0a1f35;
    max-width: 22ch;
}

.loc-lasik .loc-title::after {
    background: rgba(10, 31, 53, 0.22);
}

.loc-lasik .loc-lead {
    color: #445d74;
    max-width: 70ch;
}

.loc-lasik-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.loc-lasik-item {
    padding: 22px 22px 24px;
    border: 1px solid rgba(10, 31, 53, 0.12);
    background: #ffffff;
}

.loc-lasik-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.loc-lasik-item h3 {
    margin: 0 0 8px;
    font-size: 1.12rem;
    color: #0a1f35;
}

.loc-lasik-item p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.66;
    color: #445d74;
}

.loc-lasik .loc-cta {
    background: #0a1f35;
    border-color: #0a1f35;
    color: #f4f9ff;
}

.loc-lasik .loc-cta:hover {
    background: #1a4a7a;
    border-color: #1a4a7a;
    color: #ffffff;
}

.loc-lasik .loc-cta--ghost {
    background: transparent;
    color: #0a1f35;
    border-color: rgba(10, 31, 53, 0.35);
}

.loc-lasik .loc-cta--ghost:hover {
    background: rgba(10, 31, 53, 0.06);
    color: #0a1f35;
    border-color: #0a1f35;
}

/* Praxisteam: Hochformat neben Text */
.loc-staff {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
    margin-bottom: 48px;
}

.loc-staff .loc-media {
    aspect-ratio: 4 / 5;
    max-height: 620px;
}

.loc-staff .loc-media img {
    object-position: center 25%;
}

@media (max-width: 1024px) {
    .loc-doctors-head,
    .loc-staff {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .loc-doctors-grid,
    .loc-lasik-grid {
        grid-template-columns: 1fr;
    }

    .loc-staff .loc-media {
        order: -1;
        aspect-ratio: 4 / 3;
    }
}

/* Leistungen – Navy-Band wie auf der Startseite */
.services-section {
    --tint: #f4f8fb;
    --navy: #0a1f35;
    --blue: #1a4a7a;
    --ink: #0a1f35;
    --muted: #445d74;
    --kicker: #6f8499;
    background: var(--navy) !important;
    color: #ffffff;
    padding-top: 96px !important;
    padding-bottom: 96px !important;
}

.services-section .services-shell {
    display: block;
}

.services-section .services-header {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 32px 56px;
    align-items: end;
    margin: 0 0 44px;
    padding: 0;
    text-align: left;
}

.services-section .services-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(226, 241, 255, 0.72);
}

.services-section .services-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.services-section .services-header .section-title {
    max-width: 16ch;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 3.05rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-align: left;
}

.services-section .services-header .section-title::after {
    display: none;
}

.services-section .services-header-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-bottom: 6px;
}

.services-section .services-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(232, 237, 244, 0.82);
    max-width: 48ch;
}

.services-section .services-all-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    transition: border-color 0.25s ease, gap 0.25s ease;
}

.services-section .services-all-link:hover {
    border-color: #ffffff;
    gap: 14px;
    color: #ffffff;
}

.services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
}

.services-section .service-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: #ffffff;
    color: var(--ink);
    text-decoration: none;
    border: none;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.services-section .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
    background: #ffffff;
    color: var(--ink);
    text-decoration: none;
}

.services-section .service-card-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    background: var(--tint);
}

.services-section .service-card-image picture,
.services-section .service-card-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.services-section .service-card-image img {
    object-fit: cover;
    transition: transform 0.75s var(--ease-out);
}

.services-section .service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.services-section .service-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 22px 24px;
}

.services-section .service-card-index {
    font-family: var(--font-display);
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    color: var(--kicker);
    margin-bottom: 10px;
}

.services-section .service-card-body h3 {
    font-family: var(--font-sans);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 8px;
    color: var(--ink);
    letter-spacing: -0.005em;
}

.services-section .service-card-body p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--muted);
    margin: 0 0 18px;
}

.services-section .service-card-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
}

.services-section .service-arrow {
    display: inline-block;
    font-size: 1.05rem;
    line-height: 1;
    color: inherit;
    transition: transform 0.3s var(--ease-out);
}

.services-section .service-card:hover .service-arrow {
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .services-section .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .services-section .services-header {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 32px;
    }

    .services-section .services-header .section-title {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }

    .services-section .services-header {
        text-align: center;
    }

    .services-section .services-kicker {
        justify-content: center;
        width: 100%;
    }

    .services-section .services-header-aside {
        align-items: center;
    }

    .services-section .services-lead {
        text-align: center;
    }

    .services-section .services-header .section-title {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .services-section .service-card-image {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 768px) {
    .loc-lasik {
        padding: 64px 0;
    }

    .loc-lasik-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .loc-doctors {
        margin-bottom: 64px;
    }

    .loc-doctor-card {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .loc-doctor-card .loc-media picture {
        aspect-ratio: 4 / 3;
    }
}
