/* Landing — warm clinic paper, mobile-first. */

html:has(.lp),
body:has(.lp) {
    overflow-x: clip;
    max-width: 100%;
}

body:has(.lp) {
    background:
        linear-gradient(180deg, #399ac8 0, #399ac8 56px, transparent 56px),
        linear-gradient(180deg, rgba(57, 154, 200, 0.12) 56px, transparent 200px),
        #f3f0eb;
    animation: none;
    background-size: auto;
}

[data-bs-theme="dark"] body:has(.lp) {
    background:
        linear-gradient(180deg, #1a4558 0, #1a4558 56px, transparent 56px),
        linear-gradient(180deg, rgba(57, 154, 200, 0.08) 56px, transparent 200px),
        #14191c;
}

body:has(.lp) #main-app-content.container {
    margin-top: 0.7rem;
    padding-bottom: 1.25rem;
}

body:has(.lp) .site-footer {
    font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    padding-bottom: max(2.4rem, env(safe-area-inset-bottom));
}

@media (max-width: 767.98px) {
    body:has(.lp) #main-app-content.container,
    body:has(.lp) .navbar > .container {
        --bs-gutter-x: 1rem;
        max-width: 100%;
        padding-left: max(0.8rem, env(safe-area-inset-left));
        padding-right: max(0.8rem, env(safe-area-inset-right));
    }
}

.lp-flash {
    position: sticky;
    top: 4.5rem;
    z-index: 1080;
    margin-bottom: 0.85rem;
}



.lp {
    position: relative;
    --brand: #399ac8;
    --brand-deep: #2a7ba3;
    --ink: #16303c;
    --muted: #5a6d76;
    --meta: #74858d;
    --line: rgba(22, 48, 60, 0.09);
    --paper: #fffdfb;
    --mist: #e4eef3;
    --on-ink: #fffdfb;
    --shadow: 0 1px 1px rgba(22, 48, 60, 0.04), 0 10px 28px -18px rgba(22, 48, 60, 0.38);
    --warn-bg: #f6efe4;
    --warn-ink: #6a4e1f;
    font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
}

[data-bs-theme="dark"] .lp {
    --brand: #6bb8d6;
    --brand-deep: #4a9dc0;
    --ink: #e8eef0;
    --muted: #a3b0b6;
    --meta: #8a969c;
    --line: rgba(232, 238, 240, 0.1);
    --paper: #1e2529;
    --mist: #2a3338;
    --on-ink: #14191c;
    --shadow: 0 1px 1px rgba(0, 0, 0, 0.25), 0 18px 40px -22px rgba(0, 0, 0, 0.7);
    --warn-bg: #2c261c;
    --warn-ink: #d8c4a0;
}

.lp a:not(.btn):not(.lp-service-link):not(.lp-hero-skip):not(.lp-daychip):not(.lp-tool) {
    color: var(--brand);
}

.lp-mapwash {
    display: none;
}

.lp-hero {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.lp-hero-visual {
    display: block;
    height: 148px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.lp-hero-visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    background: linear-gradient(180deg, transparent, rgba(22, 48, 60, 0.18));
    pointer-events: none;
}

.lp-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 28% 58%;
    display: block;
}

.lp-kicker {
    margin: 0 0 0.25rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand);
}

.lp-hero h1 {
    margin: 0 0 0.35rem;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.lp-lead {
    margin: 0 0 0.45rem;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--muted);
}

.lp-trust {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--muted);
}

.lp-trust a {
    color: inherit;
    text-decoration: none;
}

.lp-trust a:hover { text-decoration: underline; }

.lp-trust-dot {
    margin: 0 0.28rem;
    color: #b4c0c6;
}

.lp-hero-skip {
    display: none;
}

.lp-offline {
    margin: 0 0 0.7rem;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: var(--warn-bg);
    color: var(--warn-ink);
    font-size: 14px;
}

#dienstleistungen {
    scroll-margin-top: 4.75rem;
}

.lp-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.75rem;
    margin: 0 0 0.85rem;
    min-width: 0;
}

.lp-section-head > div { min-width: 0; }

.lp-section-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.lp-section-sub {
    margin: 0.2rem 0 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--muted);
}

.lp-staff-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    flex-shrink: 0;
}

.lp-tool {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-family: inherit;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: -0.015em;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
}

.lp-tool:hover,
.lp-tool:focus-visible {
    border-color: color-mix(in srgb, var(--brand) 50%, transparent);
    outline: none;
}

.lp-tool.is-on,
.lp-tool-ink {
    background: var(--ink);
    color: var(--on-ink);
    border-color: var(--ink);
}

.lp-tool:visited {
    color: var(--ink);
}

.lp-tool-ink:hover,
.lp-tool-ink:focus-visible {
    filter: brightness(1.08);
    color: var(--on-ink);
    border-color: var(--ink);
}

.lp-tool-ink:visited {
    color: var(--on-ink);
}

.lp-tool-add {
    width: 36px;
    padding: 0;
    font-size: 1.35rem;
    font-weight: 400;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 768px) {
    .service-list {
        grid-template-columns: 1fr 1fr;
    }
}

.lp-service {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.lp-service-link {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: start;
    padding: 16px 16px 8px;
    min-height: 72px;
    color: inherit !important;
    text-decoration: none !important;
    touch-action: manipulation;
}

.lp-service-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 12px;
    background: var(--mist);
    color: var(--brand);
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.lp-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-service-icon svg,
.lp-detail-icon svg {
    width: 2.15rem;
    height: 2.15rem;
    display: block;
    color: inherit;
}

.lp-mono {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.lp-service-desc {
    min-width: 0;
    flex: 1 1 8rem;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--muted);
}

.lp-service-mid {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.65rem;
    min-width: 0;
    padding: 0 12px 12px 12px;
    position: relative;
    z-index: 4;
}

@media (min-width: 480px) {
    .lp-service-mid {
        padding-left: calc(16px + 3.25rem + 0.85rem);
        padding-right: 16px;
    }
}

.lp-service-mid:empty { display: none; }

.lp-service-link:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: 16px;
}

.lp-service-copy { min-width: 0; }

.lp-service h5 {
    margin: 0 0 0.2rem;
}

.lp-service-short {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.lp-service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.7rem;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

.lp-days {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.lp-day-badge {
    display: inline-flex;
    align-items: center;
    min-width: 1.85rem;
    justify-content: center;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    background: var(--mist);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.lp-service-cta {
    font-size: 13px;
    font-weight: 650;
    color: var(--muted);
    white-space: nowrap;
}

.lp-service-cta::after {
    content: " →";
    color: var(--brand);
}

.lp-service-link:hover .lp-service-cta,
.lp-service-link:hover .lp-service-short {
    color: var(--ink);
}

.lp-details-toggle {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 0 14px 4px;
    border: 0;
    background: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    touch-action: manipulation;
}

.lp-details-body {
    margin: 0 14px 14px;
    padding: 12px;
    border-radius: 11px;
    background: var(--mist);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.lp-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
    min-height: 36px;
    padding: 0 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--mist);
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
    touch-action: manipulation;
}

.lp-edit-btn:hover,
.lp-edit-btn:focus-visible {
    color: var(--ink);
    border-color: rgba(57, 154, 200, 0.35);
    outline: none;
}

.lp-hidden-flag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--warn-ink);
}

.lp-reviews {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 16px;
}

.lp-gallery { display: none; }

.lp-admin {
    margin-top: 2.1rem;
    padding-top: 0.35rem;
    scroll-margin-top: 4.75rem;
}

.lp-admin-label {
    margin: 0 0 0.55rem;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--meta);
}

.lp-admin-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 13.5rem;
    margin: 0 0 1.35rem;
    padding: 1.35rem 0 1.5rem;
    overflow: visible;
}

.lp-admin-wash {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.lp-admin-wash canvas {
    position: absolute;
    left: 8%;
    top: 6%;
    width: 86% !important;
    height: 86% !important;
    display: block;
}

.lp-admin-wash::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            color-mix(in srgb, #f3f0eb 90%, transparent) 0%,
            color-mix(in srgb, #f3f0eb 48%, transparent) 32%,
            color-mix(in srgb, #f3f0eb 10%, transparent) 58%,
            color-mix(in srgb, #f3f0eb 18%, transparent) 82%,
            #f3f0eb 100%
        ),
        linear-gradient(
            180deg,
            color-mix(in srgb, #f3f0eb 55%, transparent) 0%,
            transparent 28%,
            transparent 58%,
            #f3f0eb 100%
        );
}

[data-bs-theme="dark"] .lp-admin-wash::after {
    background:
        linear-gradient(
            90deg,
            color-mix(in srgb, #14191c 92%, transparent) 0%,
            color-mix(in srgb, #14191c 52%, transparent) 32%,
            color-mix(in srgb, #14191c 12%, transparent) 58%,
            color-mix(in srgb, #14191c 22%, transparent) 82%,
            #14191c 100%
        ),
        linear-gradient(
            180deg,
            color-mix(in srgb, #14191c 58%, transparent) 0%,
            transparent 28%,
            transparent 58%,
            #14191c 100%
        );
}

.lp-admin-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 22rem;
}

.lp-admin-stat {
    margin: 0;
    font-size: clamp(3.4rem, 12vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.88;
}

.lp-admin-stat span {
    font-size: 0.4em;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-left: 0.04em;
    color: var(--muted);
}

.lp-admin-dir {
    display: inline-block;
    width: 0.34em;
    height: 0.34em;
    margin-left: 0.08em;
    vertical-align: 0.46em;
}

.lp-admin-dir.is-up { color: var(--brand); }
.lp-admin-dir.is-down { color: #c45b4a; }

.lp-admin-stat-sub {
    margin: 0.55rem 0 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--muted);
    max-width: 22rem;
}

.lp-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.05rem;
}

.lp-admin-list {
    position: relative;
    z-index: 1;
}

.lp-admin-list-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 0.75rem;
    margin: 0 0 0.2rem;
}

.lp-admin-list-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.lp-admin-period {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    flex-shrink: 0;
}

.lp-admin-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
        "title pct n"
        "bar bar bar";
    column-gap: 0.85rem;
    row-gap: 0.45rem;
    align-items: baseline;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}

.lp-admin-row-title {
    grid-area: title;
    min-width: 0;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.lp-admin-row-bar {
    grid-area: bar;
    display: block;
    height: 4px;
    border-radius: 999px;
    background: var(--mist);
    overflow: hidden;
}

.lp-admin-row-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--brand);
}

.lp-admin-row-bar.is-empty {
    opacity: 0.45;
}

.lp-admin-row-pct {
    grid-area: pct;
    font-size: 14px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    text-align: right;
    min-width: 2.5rem;
}

.lp-admin-row-n {
    grid-area: n;
    color: var(--muted);
    font-size: 13px;
    font-weight: 550;
    font-variant-numeric: tabular-nums;
    text-align: right;
    min-width: 2.2rem;
}

.lp-admin-row-n em {
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    margin-left: 0.35rem;
}

.lp-admin-row-n em.is-up { color: var(--brand); }
.lp-admin-row-n em.is-down { color: #c45b4a; }

.lp-admin-row-pct.is-empty,
.lp-admin-row-n.is-empty {
    color: var(--meta);
    font-weight: 500;
}

@media (min-width: 768px) {
    .lp-mapwash {
        display: block;
        position: absolute;
        left: 50%;
        width: 100vw;
        transform: translateX(-50%);
        top: -0.7rem;
        height: min(42rem, 72vh);
        z-index: 0;
        pointer-events: none;
        overflow: hidden;
    }

    .lp-mapwash-img {
        width: 100%;
        height: 122%;
        object-fit: cover;
        object-position: 50% 46%;
        filter: saturate(1.05) contrast(1.02);
        opacity: 0.58;
    }

    .lp-mapwash-img.is-dark { display: none; }

    .lp-mapwash::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            color-mix(in srgb, #f3f0eb 42%, transparent) 0%,
            color-mix(in srgb, #f3f0eb 12%, transparent) 22%,
            color-mix(in srgb, #f3f0eb 8%, transparent) 48%,
            color-mix(in srgb, #f3f0eb 55%, transparent) 72%,
            #f3f0eb 92%
        );
    }

    [data-bs-theme="dark"] .lp-mapwash-img.is-light { display: none; }
    [data-bs-theme="dark"] .lp-mapwash-img.is-dark {
        display: block;
        filter: saturate(0.92) contrast(1.04) brightness(1.06);
        opacity: 0.62;
    }

    [data-bs-theme="dark"] .lp-mapwash::after {
        background: linear-gradient(
            180deg,
            color-mix(in srgb, #14191c 48%, transparent) 0%,
            color-mix(in srgb, #14191c 18%, transparent) 22%,
            color-mix(in srgb, #14191c 12%, transparent) 48%,
            color-mix(in srgb, #14191c 58%, transparent) 74%,
            #14191c 94%
        );
    }

    .lp-mapwash-credit {
        position: absolute;
        left: max(0.8rem, env(safe-area-inset-left));
        top: 0.55rem;
        z-index: 1;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.04em;
        color: var(--meta);
        opacity: 0.65;
    }

    .lp-hero,
    .lp-book,
    .lp-admin,
    .lp-gallery {
        position: relative;
        z-index: 1;
    }

    .lp-admin-hero {
        min-height: 18.5rem;
        padding: 2.1rem 0 2.2rem;
        margin-bottom: 1.75rem;
    }

    .lp-admin-wash {
        left: 0;
        width: 100%;
        transform: none;
        top: 0;
        bottom: 0;
        overflow: hidden;
    }

    .lp-admin-wash canvas {
        left: 22%;
        width: 74% !important;
        height: 88% !important;
        top: 6%;
    }

    .lp-admin-wash::after {
        background:
            linear-gradient(
                90deg,
                #f3f0eb 0%,
                color-mix(in srgb, #f3f0eb 72%, transparent) 18%,
                color-mix(in srgb, #f3f0eb 14%, transparent) 46%,
                color-mix(in srgb, #f3f0eb 20%, transparent) 82%,
                #f3f0eb 100%
            ),
            linear-gradient(
                180deg,
                color-mix(in srgb, #f3f0eb 42%, transparent) 0%,
                transparent 22%,
                transparent 64%,
                #f3f0eb 100%
            );
    }

    [data-bs-theme="dark"] .lp-admin-wash::after {
        background:
            linear-gradient(
                90deg,
                #14191c 0%,
                color-mix(in srgb, #14191c 78%, transparent) 18%,
                color-mix(in srgb, #14191c 16%, transparent) 46%,
                color-mix(in srgb, #14191c 24%, transparent) 82%,
                #14191c 100%
            ),
            linear-gradient(
                180deg,
                color-mix(in srgb, #14191c 48%, transparent) 0%,
                transparent 22%,
                transparent 64%,
                #14191c 100%
            );
    }

    .lp-admin-hero-copy {
        isolation: isolate;
        overflow: visible;
    }

    .lp-admin-hero-copy::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: -3.2rem -4.5rem -3.4rem -5rem;
        border-radius: 50%;
        background: color-mix(in srgb, #f3f0eb 62%, transparent);
        backdrop-filter: blur(28px) saturate(0.7);
        -webkit-backdrop-filter: blur(28px) saturate(0.7);
        mask-image: radial-gradient(
            ellipse 68% 62% at 36% 46%,
            #000 0%,
            #000 18%,
            rgb(0 0 0 / 0.55) 40%,
            rgb(0 0 0 / 0.18) 62%,
            transparent 82%
        );
        -webkit-mask-image: radial-gradient(
            ellipse 68% 62% at 36% 46%,
            #000 0%,
            #000 18%,
            rgb(0 0 0 / 0.55) 40%,
            rgb(0 0 0 / 0.18) 62%,
            transparent 82%
        );
        pointer-events: none;
    }

    [data-bs-theme="dark"] .lp-admin-hero-copy::before {
        background: color-mix(in srgb, #14191c 74%, transparent);
    }

    .lp-admin-row {
        grid-template-columns: minmax(9rem, 18rem) 1fr auto auto;
        grid-template-areas: "title bar pct n";
        column-gap: 1.15rem;
        align-items: center;
        padding: 0.95rem 0;
    }

    .lp-admin-row-bar {
        height: 5px;
    }

    .lp-hero-copy {
        position: relative;
        isolation: isolate;
        z-index: 1;
        overflow: visible;
    }

    .lp-hero-copy::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: -5rem -6rem -5.2rem -7.5rem;
        border-radius: 50%;
        background: color-mix(in srgb, #f3f0eb 68%, transparent);
        backdrop-filter: blur(32px) saturate(0.65);
        -webkit-backdrop-filter: blur(32px) saturate(0.65);
        mask-image: radial-gradient(
            ellipse 62% 58% at 40% 42%,
            #000 0%,
            #000 16%,
            rgb(0 0 0 / 0.62) 36%,
            rgb(0 0 0 / 0.28) 54%,
            rgb(0 0 0 / 0.08) 70%,
            transparent 86%
        );
        -webkit-mask-image: radial-gradient(
            ellipse 62% 58% at 40% 42%,
            #000 0%,
            #000 16%,
            rgb(0 0 0 / 0.62) 36%,
            rgb(0 0 0 / 0.28) 54%,
            rgb(0 0 0 / 0.08) 70%,
            transparent 86%
        );
        pointer-events: none;
    }

    [data-bs-theme="dark"] .lp-hero-copy::before {
        background: color-mix(in srgb, #14191c 78%, transparent);
    }

    .lp-hero h1 {
        text-shadow: 0 0 18px color-mix(in srgb, #f3f0eb 70%, transparent);
    }

    .lp-lead,
    .lp-trust {
        text-shadow: 0 0 14px color-mix(in srgb, #f3f0eb 80%, transparent);
    }

    [data-bs-theme="dark"] .lp-hero h1,
    [data-bs-theme="dark"] .lp-lead,
    [data-bs-theme="dark"] .lp-trust {
        text-shadow: 0 0 16px color-mix(in srgb, #14191c 80%, transparent);
    }

    .lp-hero-visual { height: 200px; }
    .lp-hero h1 { font-size: 30px; }
    .lp-edit-btn:hover { color: var(--ink); }
    .lp-service:hover { border-color: rgba(57, 154, 200, 0.28); }
    .lp-gallery {
        display: grid;
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 0.6rem;
        margin-top: 1.25rem;
    }
    .lp-gallery figure { margin: 0; height: 150px; overflow: hidden; border-radius: 16px; }
    .lp-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
}

@media (min-width: 900px) {
    .lp-hero {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 1.5rem;
        align-items: center;
        margin-bottom: 1.6rem;
    }
    .lp-hero-visual {
        order: 2;
        height: 100%;
        min-height: 248px;
        border-radius: 20px;
    }
    .lp-hero-visual::after { display: none; }
    .lp-hero h1 { font-size: 34px; }
    .lp-hero-skip {
        display: inline-flex;
        margin-top: 0.85rem;
        padding: 10px 20px;
        border-radius: 999px;
        background: var(--ink);
        color: var(--on-ink) !important;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
    }
    .lp-hero-skip:hover { filter: brightness(1.08); color: var(--on-ink) !important; }
}

/* —— Service detail: one day, one time —— */
.lp .glass-card-small,
.lp .glass-card-small:hover {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transform: none !important;
    will-change: auto;
    overflow: visible;
}

.lp-detail {
    max-width: 40rem;
    margin: 0 auto;
}

.lp-detail-head {
    margin-bottom: 1.75rem;
}

.lp-detail-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.lp-back {
    appearance: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border: 0;
    background: none;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
}

.lp-back:hover { color: var(--ink); }

.lp-detail-phone {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.lp-detail-phone a {
    color: var(--ink) !important;
    text-decoration: none;
}

.lp-detail-title-row {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.lp-detail-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 12px;
    flex-shrink: 0;
    background: var(--mist);
    color: var(--brand);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.lp-detail-icon .lp-mono {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.lp-detail-head h1 {
    margin: 0 0 0.35rem;
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.lp-detail-legal {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--muted);
}

.lp-detail-meta {
    margin: 0.35rem 0 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--meta);
}

.lp-details-inline {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.lp-cal .lp-section-head {
    margin-bottom: 0.85rem;
}

.lp-cal .lp-section-head h2 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--meta);
}

.lp-policy {
    margin: 0 0 1rem;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--warn-ink);
}

.lp-dayrail-wrap {
    margin: 0 0 1.35rem;
}

.lp-dayrail {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.1rem;
}

.lp-dayrail::-webkit-scrollbar { display: none; }

.lp-daychip {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 3.6rem;
    min-height: 3.6rem;
    padding: 0.4rem 0.45rem 0.35rem;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--ink) !important;
    text-decoration: none !important;
    touch-action: manipulation;
}

.lp-daychip-wd {
    font-size: 11px;
    font-weight: 650;
    color: var(--meta);
    letter-spacing: 0.02em;
}

.lp-daychip-num {
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.lp-daychip-mo {
    font-size: 10px;
    font-weight: 650;
    color: var(--meta);
}

.lp-daychip.is-active {
    background: var(--ink);
}

.lp-daychip.is-active .lp-daychip-wd,
.lp-daychip.is-active .lp-daychip-num,
.lp-daychip.is-active .lp-daychip-mo {
    color: var(--on-ink);
}

.lp-daychip:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.lp-open-day {
    margin: 0 0 0.9rem;
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.lp-cal.is-filtered .lp-day-section { display: none; }
.lp-cal.is-filtered .lp-day-section.is-open { display: block; }

.lp-cal.is-filtered .lp-day-section h5 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.lp-day-section { margin-bottom: 1.5rem; }
.lp-day-section:last-child { margin-bottom: 0; }

.lp-day-section h2,
.lp-day-section h5 {
    margin: 0 0 0.7rem;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.lp-slots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.lp-slot {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.95rem 0.9rem 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    min-height: 88px;
    text-align: left;
}

.lp-slot.is-taken {
    background: transparent;
}

.lp-slot-time {
    font-size: 18px;
    font-weight: 750;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}

.lp-slot-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    width: 100%;
    margin-top: auto;
}

.lp-slot-book {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    border: 0;
    background: none;
    color: var(--meta);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.85rem 0.9rem;
    min-height: 88px;
    touch-action: manipulation;
}

.lp-slot:hover { border-color: rgba(22, 48, 60, 0.22); }
.lp-slot:hover .lp-slot-book { color: var(--ink); }

.lp-slot-book:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}

.lp-admin-name {
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    padding: 0.15rem 0;
    text-align: left;
    max-width: 100%;
}

.lp-admin-book {
    border: 0;
    background: none;
    color: var(--meta);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.2rem 0;
}

.lp-slot-full {
    color: var(--meta);
    font-size: 13px;
}

.lp-empty {
    padding: 0.2rem 0;
    font-size: 14px;
    color: var(--meta);
    background: none;
    border: 0;
}

.lp-empty--page {
    padding: 0.2rem 0;
    color: var(--muted);
}

.lp-empty--page a {
    font-weight: 700;
    color: var(--ink) !important;
}

/* Booking sheet */
.lp-sheet .modal-content {
    border: 0;
    border-radius: 20px 20px 0 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

.lp-sheet .modal-header {
    border: 0;
    padding: 1rem 1.15rem 0.35rem;
}

.lp-sheet .modal-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.lp-sheet-recap {
    margin: 0 1.15rem 1rem;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    background: var(--mist);
}

.lp-sheet-recap-when {
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.lp-sheet-recap-what {
    margin-top: 0.15rem;
    font-size: 13px;
    color: var(--muted);
}

.lp-sheet .modal-body { padding: 0 1.15rem 0.5rem; }

.lp-sheet .form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.lp-sheet .form-control,
.lp-sheet .form-select {
    min-height: 48px;
    font-size: 16px;
    border-radius: 12px;
    border-color: var(--line);
    background: var(--paper);
    color: var(--ink);
}

.lp-sheet .modal-footer {
    border: 0;
    display: block;
    padding: 0.4rem 1.15rem calc(1rem + env(safe-area-inset-bottom));
}

.lp-sheet-legal {
    display: block;
    margin: 0 0 0.7rem;
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
}

.lp-sheet-submit {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: var(--on-ink);
    font-size: 15px;
    font-weight: 700;
}

.lp-sheet-submit:hover { filter: brightness(1.08); color: var(--on-ink); }

@media (min-width: 768px) {
    .lp-detail-head h1 { font-size: 26px; }
    .lp-slots { grid-template-columns: repeat(3, 1fr); }
    .lp-slot-time { font-size: 19px; }
    .lp-sheet .modal-content { border-radius: 20px; }
    .lp-sheet .modal-dialog { max-width: 28rem; }
}

.lp-icon-field .form-text {
    color: var(--muted);
}

.lp-icon-suggest {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin: 0 0 0.55rem;
}

.lp-icon-suggest-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.lp-icon-suggest-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    flex-shrink: 0;
}

.lp-icon-suggest-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2rem;
    min-width: 0;
    padding: 0.18rem 0.7rem 0.18rem 0.35rem;
    border-radius: 999px;
    background: var(--mist);
    color: var(--ink);
    font-size: 12px;
    font-weight: 650;
}

.lp-icon-suggest-glyph {
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.lp-icon-suggest-chip svg {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--brand);
}

.lp-icon-suggest-apply {
    appearance: none;
    flex-shrink: 0;
    border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
    background: var(--paper);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.28rem 0.75rem;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.lp-icon-suggest-apply:hover,
.lp-icon-suggest-apply:focus-visible {
    border-color: var(--brand);
    outline: none;
}

.lp-icon-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr));
    gap: 0.4rem;
    max-height: 20rem;
    overflow: auto;
    padding: 0.15rem;
}

.lp-icon-tile {
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
    background: var(--paper);
    color: var(--ink);
    border-radius: 10px;
    padding: 0.45rem 0.3rem 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.28rem;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
}

.lp-icon-tile svg {
    width: 1.45rem;
    height: 1.45rem;
    color: var(--brand);
}

.lp-icon-tile:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.lp-icon-tile.is-selected {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 28%, transparent);
}

.lp-icon-tile.is-suggested:not(.is-selected) {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--brand) 55%, transparent);
}

/* —— Legal pages —— */
.lp-legal {
    max-width: 38rem;
    margin: 0.4rem auto 2rem;
}

.lp-legal-head {
    margin-bottom: 2.4rem;
}

.lp-legal-head h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(2rem, 5vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.lp-legal-lead {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--muted);
}

.lp-legal-block {
    padding: 1.45rem 0 1.55rem;
    border-top: 1px solid var(--line);
}

.lp-legal-block h2 {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    margin: 0 0 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.lp-legal-block h2 span {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
    color: var(--brand);
}

.lp-legal-block p,
.lp-legal-list {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

.lp-legal-block p:last-child,
.lp-legal-list:last-child {
    margin-bottom: 0;
}

.lp-legal-block strong {
    font-weight: 700;
}

.lp-legal-note {
    margin-bottom: 0.45rem !important;
    color: var(--muted);
}

.lp-legal-list {
    list-style: none;
    padding: 0;
}

.lp-legal-list li {
    position: relative;
    padding: 0.18rem 0 0.18rem 1.05rem;
}

.lp-legal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 0.4rem;
    height: 1px;
    background: var(--brand);
}

/* —— Booking confirmation —— */
.lp-success {
    max-width: 34rem;
    margin: 0.6rem auto 2.5rem;
}

.lp-success-head {
    margin-bottom: 1.75rem;
}

.lp-success-head h1 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.85rem, 5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.lp-success-lead {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--muted);
}

.lp-success-when {
    padding: 0 0 1.6rem;
}

.lp-success-service {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.lp-success-date {
    margin: 0;
    font-size: clamp(1.35rem, 3.4vw, 1.75rem);
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.lp-success-time {
    margin: 0.2rem 0 0;
    font-size: clamp(1.7rem, 5vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.lp-success-until {
    margin: 0.7rem 0 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
}

.lp-success-block {
    padding: 1.35rem 0 1.45rem;
    border-top: 1px solid var(--line);
}

.lp-success-block h2 {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.lp-success-facts {
    margin: 0;
}

.lp-success-facts > div {
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
}

.lp-success-facts > div:first-child {
    border-top: 0;
    padding-top: 0;
}

.lp-success-facts dt {
    margin: 0 0 0.15rem;
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--muted);
}

.lp-success-facts dd {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.35;
}

.lp-success-price {
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.95;
    font-variant-numeric: tabular-nums;
}

.lp-success-pay {
    margin: 0.55rem 0 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
}

.lp-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.lp-success-actions .lp-tool {
    text-decoration: none;
}

/* —— Booking questions (patient wizard) —— */
.lp.lp-wizard {
    position: relative;
    max-width: none;
    min-height: calc(100vh - 7rem);
    padding: 0.35rem 0 4rem;
    overflow: clip;
}

.lp-wizard-inner {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    margin: 0 auto;
}

.lp-wizard-sky {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    mask-image:
        radial-gradient(ellipse 95% 90% at 50% 42%, #000 0%, #000 52%, rgb(0 0 0 / 0.72) 78%, rgb(0 0 0 / 0.35) 100%),
        linear-gradient(180deg, rgb(0 0 0 / 0.45) 0%, #000 22%, #000 78%, rgb(0 0 0 / 0.5) 100%);
    -webkit-mask-image:
        radial-gradient(ellipse 95% 90% at 50% 42%, #000 0%, #000 52%, rgb(0 0 0 / 0.72) 78%, rgb(0 0 0 / 0.35) 100%),
        linear-gradient(180deg, rgb(0 0 0 / 0.45) 0%, #000 22%, #000 78%, rgb(0 0 0 / 0.5) 100%);
}

.lp-wizard-sky-grid {
    position: absolute;
    inset: -18%;
    width: 136%;
    height: 136%;
    transform: rotate(-11deg);
    transform-origin: center;
}

.lp-wizard-star {
    position: absolute;
    color: var(--brand);
    opacity: 0.1;
    animation: lp-wizard-twinkle 6s ease-in-out infinite;
}

.lp-wizard-star svg {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes lp-wizard-twinkle {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.22; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-wizard-star { animation: none; opacity: 0.1; }
}

.lp-wizard-head {
    margin-bottom: 1.6rem;
}

.lp-wizard-count {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--meta);
}

.lp-wizard-service {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    margin-top: 0.85rem;
}

.lp-wizard-service h2 {
    margin: 0 0 0.2rem;
    font-size: clamp(1.25rem, 3vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.lp-wizard-service-sub {
    margin: 0 0 0.25rem;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--muted);
}

.lp-wizard-service-meta {
    margin: 0;
    font-size: 13px;
    font-weight: 550;
    color: var(--meta);
}

.lp-wizard-stage {
    padding: 1.15rem 0 1.35rem;
    border-top: 1px solid var(--line);
}

.lp-wizard-stage:first-child {
    border-top: 0;
    padding-top: 0.2rem;
}

.lp-wizard-stage-n {
    margin: 0 0 0.35rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--meta);
}

.lp-wizard-stage h1,
.lp-wizard-stage h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.45rem, 3.8vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.lp-wizard-stage.is-done {
    opacity: 0.42;
    pointer-events: none;
}

.lp-wizard-stage.is-done h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.lp-wizard-answer {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand);
}

.lp-wizard-stage.is-next {
    opacity: 0.28;
    pointer-events: none;
    filter: grayscale(0.35);
}

.lp-wizard-stage.is-next h2 {
    font-size: 1.2rem;
    font-weight: 700;
}

.lp-wizard-choices {
    display: flex;
    flex-direction: column;
}

.lp-wizard-choice {
    appearance: none;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    padding: 0.95rem 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: none;
    color: var(--ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.lp-wizard-choice::after {
    content: "→";
    flex-shrink: 0;
    color: var(--meta);
    font-weight: 500;
}

.lp-wizard-stage.is-on .lp-wizard-choice:hover,
.lp-wizard-stage.is-on .lp-wizard-choice:focus-visible {
    color: var(--brand);
    outline: none;
}

.lp-wizard-stage.is-on .lp-wizard-choice:hover::after,
.lp-wizard-stage.is-on .lp-wizard-choice:focus-visible::after {
    color: var(--brand);
}

.lp-wizard-number {
    max-width: 22rem;
}

.lp-wizard-num {
    display: block;
    width: 100%;
    min-height: 4.4rem;
    margin: 0.15rem 0 1.15rem;
    padding: 0 0 0.35rem;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: clamp(3rem, 10vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.95;
    font-variant-numeric: tabular-nums;
}

.lp-wizard-num::placeholder,
.lp-wizard-num.is-ghost {
    color: var(--meta);
    opacity: 0.4;
}

.lp-wizard-num:focus {
    outline: none;
    border-bottom-color: var(--brand);
}

.lp-wizard-err {
    margin: 0.85rem 0 0;
    font-size: 13px;
    font-weight: 550;
    color: var(--warn-ink);
}
