/* ═══════════════════════════════════════════════════════════════════════════
 *  groundhub.de · site chrome on top of the "Concourse" design system
 *
 *  gh.css   = subset of the app's design system (only the tokens + components used here)
 *  site.css = public-site layer: contrast-tuned tokens, nav + mobile menu,
 *             footer, theme switch, reveal-on-scroll, sub pages (legal,
 *             register). Landing sections live in landing.css.
 * ═══════════════════════════════════════════════════════════════════════════ */

/* ─── 1 · TOKENS (site layer) ─────────────────────────────────────────────── */
:root {
    --site-max: 1200px;
    --site-gutter: 16px;
    --nav-h: 64px;
    --sec-y: clamp(72px, 12vw, 140px);   /* vertical section rhythm */

    /* WCAG AA: secondary text + status colours used as text need ≥ 4.5:1 on --bg/--surface */
    --text-3: #535B6D;
    --green: #06714F;
    --red: #B3333A;
    --amber: #975200;
    --teal: #066E7E;
    --pass-dim: #5E6679;

    /* Always-dark objects (boards, signage, FlyDUS panel): fixed colours, both themes */
    --night: #070A12;
    --night-2: #0E131F;
    --night-3: #161D2C;
    --night-line: rgba(255, 255, 255, .08);
    --night-text: #F3F5F9;
    --night-text-2: #B4BCCB;
    --night-dim: #8B94A7;
    --night-yellow: #FFD21F;
}
html[data-theme="dark"] {
    --text-3: #959EB1;
    --green: #34D399;
    --red: #FF6369;
    --amber: #FFB224;
    --teal: #2DD4BF;
}
@media (min-width: 720px) { :root { --site-gutter: 32px; } }

html { scroll-padding-top: calc(var(--nav-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.site { font-size: 16px; line-height: 1.55; overflow-x: clip; }
body.site::before { height: 720px; }
.site .eyebrow { color: var(--text-3); }
.site .input::placeholder { color: var(--text-3); }
.site a:not(.btn):not(.icon-btn) { text-underline-offset: 3px; }

.wrap { width: 100%; max-width: var(--site-max); margin: 0 auto; padding-left: var(--site-gutter); padding-right: var(--site-gutter); }

/* Skip link */
.skip-link {
    position: fixed; left: 12px; top: 12px; z-index: 1000; padding: 12px 18px; border-radius: var(--r-pill);
    background: var(--signal); color: var(--signal-ink); font-weight: 650; text-decoration: none;
    transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus, .skip-link:focus-visible { transform: none; outline: 2px solid var(--text); outline-offset: 2px; }

/* Section heading pattern (all pages) */
.sec { padding: var(--sec-y) 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.sec-title { margin-top: 14px; font-size: clamp(34px, 6.4vw, 64px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.sec-title .soft { color: var(--text-3); }
.sec-intro { margin-top: 16px; font-size: clamp(16px, 2vw, 19px); color: var(--text-2); line-height: 1.55; max-width: 60ch; text-wrap: pretty; }
.sec-head.center .sec-intro { margin-left: auto; margin-right: auto; }

/* ─── 2 · BRAND ───────────────────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; min-height: 40px; }
.brand-ico { width: 32px; height: 32px; border-radius: 8px; font-size: 19px; }
.brand-word { font-size: 19px; font-weight: 700; letter-spacing: -.035em; white-space: nowrap; }
.brand-word span { color: var(--text-3); font-weight: 600; }
.brand--lg .brand-ico { width: 40px; height: 40px; border-radius: 10px; font-size: 24px; }
.brand--lg .brand-word { font-size: 24px; }

/* ─── 3 · NAV ─────────────────────────────────────────────────────────────── */
.snav {
    position: sticky; top: 0; z-index: 80; padding-top: var(--sat);
    border-bottom: 1px solid transparent;
    transition: background-color .3s var(--ease-out), border-color .3s var(--ease-out), -webkit-backdrop-filter .3s, backdrop-filter .3s;
    view-transition-name: site-nav;
}
.snav.is-scrolled, .menu-open .snav {
    background: var(--glass);
    -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
    border-bottom-color: var(--line);
}
.snav-inner {
    height: var(--nav-h); max-width: var(--site-max); margin: 0 auto; padding: 0 var(--site-gutter);
    display: flex; align-items: center; gap: 12px;
}
.snav-links { display: none; align-items: center; gap: 2px; margin-left: 18px; }
.snav-links a {
    display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: var(--r-pill);
    color: var(--text-2); font-size: 14.5px; font-weight: 550; text-decoration: none; white-space: nowrap;
    transition: color .2s, background-color .2s;
}
.snav-links a:hover { color: var(--text); background: var(--fill); }
.snav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.snav-btn { --h: 40px; padding: 0 16px; font-size: 14px; }
.snav-login { display: none; color: var(--text); }
.snav-cta { display: none; }
.snav-phone {
    display: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--r-pill);
    font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--text); text-decoration: none;
    box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s;
}
.snav-phone:hover { background: var(--fill); }
.snav-phone i { color: var(--green); font-size: 15px; }
.snav-phone-num { display: none; }
.snav-theme { display: none; }
.snav-theme .ico-sun, html[data-theme="dark"] .snav-theme .ico-moon { display: none; }
html[data-theme="dark"] .snav-theme .ico-sun { display: inline; }
.snav-menu-btn .ico-close, .menu-open .snav-menu-btn .ico-open { display: none; }
.menu-open .snav-menu-btn .ico-close { display: inline; }
.snav-menu-btn { background: var(--fill-2); }

@media (min-width: 420px) { .snav-cta { display: inline-flex; } }
@media (min-width: 640px) { .snav-theme, .snav-phone { display: inline-flex; } }
@media (min-width: 1000px) {
    .snav-links { display: flex; }
    .snav-menu-btn { display: none; }
    .snav-login { display: inline-flex; }
    .smenu, .smenu-scrim { display: none !important; }
}
@media (min-width: 1240px) { .snav-phone-num { display: inline; } }

/* Mobile menu (dropdown sheet under the nav) */
.smenu-scrim { position: fixed; inset: 0; z-index: 70; background: var(--overlay); opacity: 0; transition: opacity .3s var(--ease-out); }
.smenu {
    position: fixed; z-index: 79; left: 10px; right: 10px; top: calc(var(--sat) + var(--nav-h) + 6px);
    max-height: calc(100dvh - var(--sat) - var(--nav-h) - 16px); overflow-y: auto; overscroll-behavior: contain;
    padding: 10px; border-radius: var(--r-xl);
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-3);
    opacity: 0; transform: translateY(-10px) scale(.98); transform-origin: top center;
    transition: opacity .28s var(--ease-out), transform .45s var(--spring-soft);
}
html[data-theme="dark"] .smenu { background: var(--surface-2); }
.menu-open .smenu { opacity: 1; transform: none; }
.menu-open .smenu-scrim { opacity: 1; }
.smenu-links a {
    display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 10px; border-radius: var(--r-md);
    color: var(--text); font-size: 17px; font-weight: 600; letter-spacing: -.015em; text-decoration: none;
}
.smenu-links a:active, .smenu-links a:hover { background: var(--fill); }
.smenu-links .row-ico { width: 40px; height: 40px; font-size: 19px; }
.smenu-chev { margin-left: auto; color: var(--text-3); }
.menu-open .smenu-links a { animation: gh-rise .45s var(--ease-out) both; animation-delay: calc(var(--i) * 40ms); }
.smenu-cta { display: grid; gap: 8px; padding: 12px 4px 4px; }
.smenu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 6px 6px; margin-top: 10px; border-top: 1px solid var(--line); }
.smenu-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; }
.smenu-phone i { color: var(--green); }
html.menu-open, html.menu-open body { overflow: hidden; }

/* Theme segmented switch (Auto / Hell / Dunkel) */
.tseg { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-pill); background: var(--fill-2); }
.tseg button {
    display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: var(--r-pill);
    background: none; color: var(--text-2); font-size: 13.5px; font-weight: 600; white-space: nowrap;
    transition: background-color .25s var(--ease-out), color .2s, box-shadow .25s;
}
.tseg button i { font-size: 16px; }
.tseg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 2px 10px -2px rgba(0, 0, 0, .18), 0 0 0 1px var(--line); }
html[data-theme="dark"] .tseg button[aria-pressed="true"] { background: var(--surface-3); }

/* ─── 4 · FOOTER ──────────────────────────────────────────────────────────── */
.sfoot { position: relative; margin-top: 40px; padding: 56px 0 calc(var(--sab) + 36px); border-top: 1px solid var(--line); background: var(--surface); overflow: clip; }
html[data-theme="dark"] .sfoot { background: #080B12; }
.sfoot-lights { /* runway edge lights along the top edge */
    position: absolute; left: 0; right: 0; top: -1px; height: 6px; pointer-events: none;
    background: radial-gradient(circle, var(--signal) 0 2px, transparent 2.5px) 0 50% / 28px 6px repeat-x;
    opacity: .9;
}
.sfoot-grid { display: grid; gap: 36px 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sfoot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .sfoot-grid { grid-template-columns: 1.4fr 1.2fr .8fr .8fr; } }
.sfoot-claim { margin-top: 16px; color: var(--text-2); font-size: 15px; line-height: 1.55; max-width: 34ch; }
.sfoot .eyebrow { margin-bottom: 12px; }
.sfoot-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sfoot-phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--mono); font-size: clamp(19px, 5vw, 22px); font-weight: 650; letter-spacing: -.02em; color: var(--text); text-decoration: none; }
.sfoot-phone i { color: var(--green); font-size: .9em; }
.sfoot-mail { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--text-2); font-weight: 550; text-decoration: none; overflow-wrap: anywhere; }
.sfoot-mail:hover, .sfoot-col a:hover { color: var(--text); }
.sfoot-col { display: flex; flex-direction: column; align-items: flex-start; }
.sfoot-col a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--text-2); font-weight: 550; text-decoration: none; }
.sfoot-col a i { font-size: 18px; color: var(--text-3); }
.sfoot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.sfoot-copy { color: var(--text-3); font-size: 13.5px; line-height: 1.6; }

/* ─── 5 · REVEAL ON SCROLL ────────────────────────────────────────────────── */
/* Visible by default (no JS, reduced motion, print). Hidden only while JS is
   present AND motion is allowed AND the element has not been revealed yet. */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal:not(.is-in) { opacity: 0; transform: translateY(28px) scale(.985); }
    .js .reveal {
        transition-property: opacity, transform, translate, box-shadow, border-color;
        transition-duration: .8s, .9s, .45s, .3s, .3s;
        transition-timing-function: var(--ease-out), var(--ease-out), var(--spring), ease, ease;
        transition-delay: calc(var(--d, 0) * 70ms), calc(var(--d, 0) * 70ms), 0s, 0s, 0s;
    }
    .js .reveal.is-in { opacity: 1; transform: none; }
}
@media print { .reveal { opacity: 1 !important; transform: none !important; } }

/* ─── 6 · SUB PAGES (legal + register) ────────────────────────────────────── */
.phead { padding: clamp(36px, 7vw, 80px) 0 clamp(28px, 5vw, 48px); }
.phead .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.phead-title { margin-top: 14px; font-size: clamp(38px, 9vw, 76px); font-weight: 700; letter-spacing: -.05em; line-height: .98; text-wrap: balance; }
.phead-title .soft { color: var(--text-3); }
.phead-title .phead-sub { display: block; margin-top: .35em; font-size: .4em; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--text-3); }
.phead-intro { margin-top: 16px; max-width: 60ch; color: var(--text-2); font-size: clamp(16px, 2vw, 19px); }

/* Legal layout: sticky itinerary-TOC + content */
.legal { display: grid; gap: 28px; padding-bottom: 40px; }
@media (min-width: 1000px) { .legal { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; } }
.legal-toc { position: relative; }
@media (min-width: 1000px) { .legal-toc { position: sticky; top: calc(var(--nav-h) + 24px); } }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.toc > summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; cursor: pointer; font-weight: 650; }
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--spring); }
.toc[open] > summary::after { transform: rotate(225deg); }
.toc ol { list-style: none; padding: 4px 8px 10px; }
.toc a { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 6px 8px; border-radius: var(--r-sm); color: var(--text-2); font-size: 14.5px; font-weight: 550; text-decoration: none; line-height: 1.3; }
.toc a:hover { background: var(--fill); color: var(--text); }
.toc a .gate { flex: none; min-width: 30px; text-align: center; }
.toc a.is-active { background: var(--fill-2); color: var(--text); }

.legal-body { min-width: 0; max-width: 780px; }
.lsec { padding-top: 8px; }
.lsec + .lsec { margin-top: 40px; }
.lsec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lsec-head h2 { font-size: clamp(22px, 3.6vw, 28px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.lsec-head .gate { font-size: 12px; padding: 4px 8px; }
.lcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3.5vw, 28px); box-shadow: var(--shadow-1); }
.lcard + .lcard { margin-top: 12px; }
.lprose { color: var(--text-2); font-size: 16px; line-height: 1.68; overflow-wrap: break-word; }
.lprose > * + * { margin-top: 12px; }
.lprose h3 { color: var(--text); font-size: 17px; font-weight: 650; letter-spacing: -.015em; margin-top: 22px; }
.lprose h3:first-child { margin-top: 0; }
.lprose strong, .lprose b { color: var(--text); font-weight: 650; }
.lprose a { color: var(--blue); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue) 40%, transparent); }
.lprose a:hover { text-decoration-color: currentColor; }
.lprose code { font-family: var(--mono); font-size: .88em; padding: 1px 6px; border-radius: 6px; background: var(--fill-2); color: var(--text); }
.lprose .btn { text-decoration: none; color: var(--text); }
.lprose ul { padding-left: 0; list-style: none; }
.lprose ul li { position: relative; padding-left: 22px; }
.lprose ul li + li { margin-top: 8px; }
.lprose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--signal); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.law { display: inline-flex; align-items: center; margin: 0 8px 4px 0; padding: 3px 9px; border-radius: 6px; background: var(--fill-2); color: var(--text); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.lnote { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-lg); background: var(--signal-soft); color: var(--text); line-height: 1.6; }
.lnote > i { flex: none; font-size: 22px; color: var(--signal-text); margin-top: 1px; }
.lnote b { display: block; margin-bottom: 4px; }
.lnote p { color: var(--text-2); }
.lnote p strong { color: var(--text); }
.lfoot { margin-top: 48px; color: var(--text-3); font-size: 14px; font-family: var(--mono); letter-spacing: .02em; }

/* Key/value rows (Impressum) */
.kvrows { display: grid; gap: 2px; }
.kvrow { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.kvrow:last-child { border-bottom: 0; }
.kvrow .row-ico { flex: none; }
.kvrow-k { display: block; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.kvrow-v { display: block; margin-top: 2px; font-size: 16px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.kvrow-v a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-3); }

/* Rights grid (Datenschutz) */
.rights { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rights { grid-template-columns: 1fr 1fr; } }
.right { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.right .row-ico { flex: none; }
.right h3 { font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; color: var(--text); }
.right p { margin-top: 4px; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }

/* ─── 7 · FORMS (register) ────────────────────────────────────────────────── */
.site .field-label { color: var(--text); font-size: 14px; }
.site .field-hint { color: var(--text-2); font-size: 13px; }
.site .field-error { color: var(--red); font-size: 13px; font-weight: 550; }
.site .input { background: var(--surface-2); border-color: var(--line-2); }
.site .input:focus { background: var(--surface); }
.site .input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.checkrow { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 8px 0; cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.checkrow .check { margin-top: 1px; }
.checkrow a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-3); }
.checkrow.is-invalid .check { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ─── 7b · REGISTER ──────────────────────────────────────────────────────── */
.reg { padding-bottom: 32px; }
.reg-head { padding-bottom: clamp(24px, 4vw, 40px); }
.reg-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) {
    .reg-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; }
    .reg-side { position: sticky; top: calc(var(--nav-h) + 24px); }
}
.reg-main { min-width: 0; max-width: 640px; }
.reg-card { gap: 18px; padding: clamp(18px, 4vw, 32px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.reg-errors { margin-bottom: 16px; }
.reg-errors b { display: block; color: var(--text); }
.reg-errors ul { margin-top: 6px; padding-left: 18px; }
.reg-errors li + li { margin-top: 4px; }
.reg-errors a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-3); }
.reg-errors:focus { outline: none; box-shadow: 0 0 0 2px var(--red); }
.site .field-error { display: flex; gap: 6px; align-items: flex-start; }
.site .field-error i { margin-top: 2px; }
.input-pw { padding-right: 54px !important; }
.input-wrap .input-end { color: var(--text-2); }
.input-wrap .input-end[aria-pressed="true"] { color: var(--text); }
.reg-sep { height: 1px; background: var(--line); margin: 2px 0; }
.captcha { display: grid; gap: 10px; }
.captcha-box { min-height: 78px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); background: var(--fill); overflow: hidden; }
.captcha-box.is-ready { background: transparent; justify-content: flex-start; overflow: visible; }
.captcha-box:focus { outline: none; }
.captcha-ph { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 14px; color: var(--text-2); text-align: left; }
.captcha-ph i { font-size: 18px; flex: none; }
.captcha.is-invalid .captcha-box { box-shadow: 0 0 0 2px var(--red); }
.captcha-note { font-size: 13px; line-height: 1.5; color: var(--text-2); }
.captcha-note a, .captcha-note strong { color: var(--text); font-weight: 600; }
.reg-login { margin-top: 18px; text-align: center; color: var(--text-2); }
.reg-login a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--text); font-weight: 650; text-decoration: none; }

.reg-pass { position: relative; overflow: hidden; border-radius: var(--r-xl); color: var(--pass-text); background: linear-gradient(165deg, var(--pass-bg), var(--pass-bg-2)); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line); }
html[data-theme="dark"] .reg-pass { background: radial-gradient(100% 70% at 100% 0%, rgba(255, 210, 31, .12), transparent 60%), radial-gradient(80% 60% at 0% 100%, rgba(91, 149, 255, .16), transparent 60%), linear-gradient(165deg, var(--pass-bg), var(--pass-bg-2)); }
.reg-pass-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px 0; }
.reg-pass-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pass-dim); white-space: nowrap; }
.reg-pass-brand i { color: var(--signal-text); font-size: 16px; }
.reg-pass-name { padding: 18px 20px 0; }
.reg-pass-name span, .reg-pass-grid span, .reg-pass-route span { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pass-dim); }
.reg-pass-name b { display: block; margin-top: 6px; min-height: 1.2em; font-family: var(--mono); font-size: 20px; font-weight: 650; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reg-pass-route { display: grid; grid-template-columns: auto minmax(30px, 1fr) auto; align-items: center; gap: 12px; padding: 16px 20px 4px; }
.reg-pass-route b { display: block; font-family: var(--mono); font-size: 32px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.reg-pass-route span { margin-top: 6px; }
.reg-pass-route .end { text-align: right; }
.reg-pass-path { position: relative; height: 30px; display: grid; place-items: center; color: var(--signal-ink); }
.reg-pass-path::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--pass-line); }
.reg-pass-path i { position: relative; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); font-size: 15px; transform: rotate(90deg); box-shadow: 0 0 0 4px var(--signal-soft); }
.reg-pass-perf { position: relative; height: 26px; margin-top: 10px; }
.reg-pass-perf::before { content: ""; position: absolute; left: 20px; right: 20px; top: 50%; border-top: 2px dashed var(--pass-line); }
.reg-pass-perf::after { content: ""; position: absolute; left: -13px; right: -13px; top: 0; bottom: 0; background: radial-gradient(circle at 0 50%, var(--bg) 0 13px, transparent 13.5px), radial-gradient(circle at 100% 50%, var(--bg) 0 13px, transparent 13.5px); }
.reg-pass-grid { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; padding: 0 20px 20px; }
.reg-pass-grid b { display: block; margin-top: 5px; font-size: 15px; font-weight: 650; white-space: nowrap; }
.reg-pass-grid b.sig { color: var(--signal-text); }
.reg-side .reg-pass { margin-bottom: 18px; }
@media (max-width: 999px) { .reg-side .reg-pass { display: none; } }

.reg-steps { list-style: none; display: grid; gap: 0; }
.reg-steps li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.reg-steps li:last-child { padding-bottom: 0; }
.reg-steps li::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; border-left: 2px dashed var(--line-3); }
.reg-steps li:last-child::before { display: none; }
.reg-step-dot { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--fill-2); color: var(--text); font-family: var(--mono); font-size: 13px; font-weight: 700; }
.reg-steps li.is-now .reg-step-dot { background: var(--signal); color: var(--signal-ink); box-shadow: 0 0 0 4px var(--signal-soft); }
.reg-steps li.is-done .reg-step-dot { background: var(--green-soft); color: var(--green); }
.reg-steps b { display: block; font-size: 15.5px; font-weight: 650; color: var(--text); }
.reg-steps small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--text-2); }

.reg-done { display: grid; place-items: center; padding: clamp(36px, 8vw, 88px) 0 16px; }
.reg-done-card { width: 100%; max-width: 640px; padding: clamp(24px, 5vw, 44px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.reg-done-ico { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: var(--green-soft); color: var(--green); font-size: 36px; }
.reg-done-title { margin-top: 10px; font-size: clamp(30px, 6vw, 44px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.reg-done-text { margin-top: 14px; font-size: 16.5px; line-height: 1.6; color: var(--text-2); }
.reg-done-text strong { color: var(--text); overflow-wrap: anywhere; }
.reg-done-note { margin-top: 16px; }
.reg-done-note a { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.reg-steps--done { margin-top: 26px; padding: 18px; border-radius: var(--r-lg); background: var(--fill); }
.reg-done-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.reg-done-cta .btn { flex: 1 1 auto; }

/* ─── 8 · PRINT ───────────────────────────────────────────────────────────── */
@media print {
    .snav, .smenu, .smenu-scrim, .sfoot, .skip-link, .legal-toc { display: none !important; }
    .legal { display: block; }
    .lcard { border-color: #ccc; }
}
