/*
 * Weihnachtsmarkt-Einladung – "Abend auf dem Lichtermarkt"
 * Deep evening blue, warm bulb light, wooden booths, mulled-wine red and cinnamon/caramel accents.
 * Builds on invitation-core.css (structure) – this file only sets the theme and the product specific parts (.xm-*).
 */

html:has(body.invite-weihnachtsmarkt) {
    background-color: #0a1129;
}

body.invite-page.invite-weihnachtsmarkt {
    --xm-night: #0a1129;
    --xm-night-2: #13204a;
    --xm-horizon: #2a3466;
    --xm-gold: #ffcf86;
    --xm-gold-soft: #ffe2b0;
    --xm-amber: #f5a54a;
    --xm-mulled: #b8293f;
    --xm-mulled-bright: #d13b55;
    --xm-mulled-dark: #8a1b2d;
    --xm-cinnamon: #a8652f;
    --xm-caramel: #f1c38a;
    --xm-cream: #fbf1e1;
    --xm-ink: #2e1d14;
    --xm-ink-muted: rgba(46, 29, 20, 0.72);
    --xm-headline: #fff6e8;

    --invite-bg: #0a1129;
    --invite-text: #f8efe1;
    --invite-muted: rgba(248, 239, 225, 0.74);
    --invite-surface: rgba(22, 34, 72, 0.74);
    --invite-surface-strong: #18254f;
    --invite-border: rgba(255, 207, 134, 0.2);
    --invite-accent: #c0304a;
    --invite-accent-2: #ffc977;
    --invite-accent-contrast: #ffffff;
    --invite-input-bg: rgba(6, 11, 30, 0.6);
    --invite-input-text: #fbf3e6;
    --invite-success: #8fe0a6;
    --invite-error: #ff9f9f;
    --invite-radius: 24px;
    --invite-radius-small: 14px;
    --invite-shadow: 0 28px 70px rgba(2, 5, 16, 0.55);
    --invite-font-display: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif;
    --invite-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --xm-font-hand: "Segoe Print", "Bradley Hand", "Chalkboard SE", ui-rounded, "Arial Rounded MT Bold", "Segoe UI", sans-serif;

    min-height: 100vh;
    overflow-x: clip;
    isolation: isolate;
    background: var(--xm-night);
    background-color: var(--xm-night);
    color: var(--invite-text);
    line-height: 1.55;
}

.invite-weihnachtsmarkt ::selection {
    background: rgba(255, 201, 119, 0.35);
    color: #fff;
}

/* ---------- Background layers ---------- */
.xm-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.xm-sky {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(1.3px 1.3px at 24px 38px, rgba(255, 255, 255, 0.9) 50%, transparent 52%),
        radial-gradient(1px 1px at 140px 92px, rgba(255, 244, 220, 0.8) 50%, transparent 52%),
        radial-gradient(1.6px 1.6px at 212px 18px, rgba(255, 255, 255, 0.75) 50%, transparent 52%),
        radial-gradient(1px 1px at 80px 200px, rgba(255, 255, 255, 0.7) 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 186px 168px, rgba(255, 236, 200, 0.85) 50%, transparent 52%),
        radial-gradient(1px 1px at 60px 120px, rgba(255, 255, 255, 0.55) 50%, transparent 52%),
        radial-gradient(1.4px 1.4px at 300px 60px, rgba(255, 255, 255, 0.7) 50%, transparent 52%),
        radial-gradient(1px 1px at 350px 250px, rgba(255, 244, 220, 0.6) 50%, transparent 52%),
        radial-gradient(1.2px 1.2px at 250px 330px, rgba(255, 255, 255, 0.65) 50%, transparent 52%),
        radial-gradient(circle at 86% 6%, rgba(255, 226, 170, 0.1), transparent 28%),
        radial-gradient(circle at 10% 30%, rgba(120, 140, 255, 0.07), transparent 34%);
    background-size: 260px 260px, 260px 260px, 260px 260px, 260px 260px, 260px 260px, 260px 260px, 410px 410px, 410px 410px, 410px 410px, 100% 100%, 100% 100%;
    background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, repeat, no-repeat, no-repeat;
    opacity: 0.75;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 100%);
}

.xm-snow {
    position: fixed;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ---------- Site header on the night sky ---------- */
.invite-weihnachtsmarkt .brand-lockup {
    padding: 6px 14px;
    border-radius: 18px;
    background: rgba(251, 241, 225, 0.95);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 207, 134, 0.4), 0 0 26px rgba(255, 190, 110, 0.18);
}

.invite-weihnachtsmarkt .brand-logo-moments {
    height: 54px;
}

.invite-weihnachtsmarkt .main-nav {
    color: var(--invite-text);
}

.invite-weihnachtsmarkt .language-picker__trigger,
.invite-weihnachtsmarkt .nav-menu__trigger {
    color: var(--invite-text);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 207, 134, 0.28);
    box-shadow: none;
}

.invite-weihnachtsmarkt .language-picker__trigger:hover,
.invite-weihnachtsmarkt .nav-menu__trigger:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

@media (min-width: 761px) {
    .invite-weihnachtsmarkt .main-nav a:not(.primary-button):hover,
    .invite-weihnachtsmarkt .main-nav button:not(.primary-button):hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
    }
}

/* ---------- Demo badge ---------- */
.invite-weihnachtsmarkt .invite-demo-badge {
    z-index: auto;
    border-color: rgba(255, 207, 134, 0.3);
}

/* ---------- Layout ---------- */
.invite-weihnachtsmarkt main.xm-main {
    width: 100%;
    max-width: none;
    margin: 0;
}

.xm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--invite-accent-2);
}

.xm-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, currentColor);
}

.xm-icon {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
    fill: currentColor;
}

/* ---------- Hero ---------- */
.xm-hero {
    position: relative;
    padding-top: clamp(96px, 11vw, 150px);
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 38% at 50% 100%, rgba(255, 158, 80, 0.26), transparent 70%),
        linear-gradient(180deg, rgba(10, 17, 41, 0) 0%, rgba(25, 38, 86, 0.55) 55%, rgba(48, 52, 104, 0.75) 88%, rgba(10, 17, 41, 0.9) 100%);
}

.xm-garland {
    position: absolute;
    top: -4px;
    left: 0;
    z-index: 3;
    display: block;
    width: 100%;
    height: clamp(96px, 11vw, 160px);
    pointer-events: none;
}

.xm-garland-wire {
    fill: none;
    stroke: #04081a;
    stroke-width: 2.4;
}

.xm-garland-wire--twist {
    stroke: #26345f;
    stroke-width: 1.1;
}

.xm-bulb {
    animation: xm-flicker 6s ease-in-out infinite;
}

.xm-bulb:nth-child(3n) {
    animation-duration: 7.5s;
    animation-delay: -2.4s;
}

.xm-bulb:nth-child(4n + 1) {
    animation-duration: 5.2s;
    animation-delay: -4s;
}

.xm-bulb:nth-child(5n + 2) {
    animation-name: xm-flicker-soft;
    animation-delay: -1.3s;
}

.xm-bulb--a { --xm-bulb: #fff0c9; }
.xm-bulb--b { --xm-bulb: #ffc56e; }
.xm-bulb--c { --xm-bulb: #ff9f66; }
.xm-bulb--d { --xm-bulb: #ff6f7f; }

.xm-bulb-socket {
    fill: #1a2140;
}

.xm-bulb-glass {
    fill: var(--xm-bulb, #ffe2a3);
}

.xm-bulb-shine {
    fill: rgba(255, 255, 255, 0.7);
}

.xm-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
    align-items: end;
    gap: clamp(24px, 4vw, 56px);
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.xm-hero-copy {
    padding-bottom: clamp(36px, 5vw, 64px);
}

.xm-greeting {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 800;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: var(--xm-gold-soft);
    background: rgba(255, 207, 134, 0.12);
    border: 1px solid rgba(255, 207, 134, 0.4);
    box-shadow: 0 0 30px rgba(255, 190, 110, 0.18);
    animation: xm-pop-in 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.25) 0.2s both;
}

.xm-greeting::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--xm-gold);
    box-shadow: 0 0 10px 2px rgba(255, 207, 134, 0.8);
}

.xm-headline {
    margin: 0 0 16px;
    font-family: var(--invite-font-display);
    font-size: clamp(2rem, 8.4vw, 4.6rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.015em;
    color: var(--xm-headline);
    text-shadow: 0 0 30px rgba(255, 176, 90, 0.35), 0 2px 0 rgba(0, 0, 0, 0.25);
    text-wrap: balance;
    overflow-wrap: break-word;
}

.xm-subtitle {
    max-width: 40ch;
    margin: 0 0 18px;
    font-size: clamp(1.06rem, 2vw, 1.3rem);
    line-height: 1.55;
    color: rgba(248, 239, 225, 0.86);
}

.xm-from {
    margin: 0 0 22px;
    font-size: 1rem;
    color: var(--invite-muted);
}

.xm-from strong {
    color: var(--xm-caramel);
    font-weight: 800;
}

.xm-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.xm-facts li {
    display: grid;
    gap: 2px;
    min-width: 0;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 207, 134, 0.2);
    font-weight: 700;
    color: #fff4e2;
}

.xm-facts-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--invite-muted);
}

.xm-countdown-wrap {
    margin: 0 0 26px;
}

.xm-countdown-title {
    margin: 0 0 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--invite-muted);
}

.invite-weihnachtsmarkt .xm-countdown > div {
    background: linear-gradient(180deg, rgba(255, 190, 110, 0.12), rgba(255, 190, 110, 0.04));
    border-color: rgba(255, 207, 134, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.invite-weihnachtsmarkt .xm-countdown strong {
    color: var(--xm-gold-soft);
    text-shadow: 0 0 16px rgba(255, 190, 110, 0.45);
}

.invite-weihnachtsmarkt .xm-countdown.is-finished {
    display: none;
}

.xm-countdown-done {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 800;
    color: var(--xm-gold-soft);
    background: rgba(255, 190, 110, 0.12);
    border: 1px solid rgba(255, 207, 134, 0.35);
}

.xm-countdown-done[hidden] {
    display: none;
}

.xm-countdown-done::before {
    content: "\2726";
    color: var(--xm-gold);
    animation: xm-twinkle 1.6s ease-in-out infinite;
}

.xm-demo-hint {
    max-width: 52ch;
    margin: 16px 0 0;
    font-size: 0.86rem;
    color: var(--invite-muted);
}

/* Steaming mug */
.xm-hero-art {
    position: relative;
    justify-self: center;
    width: clamp(170px, 21vw, 260px);
    margin-bottom: clamp(-34px, -2.4vw, -18px);
}

.xm-mug-glow {
    position: absolute;
    inset: 12% -40% -12%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 62%, rgba(255, 168, 86, 0.38), rgba(255, 168, 86, 0.08) 45%, transparent 66%);
    animation: xm-glow 5s ease-in-out infinite;
}

.xm-hero-mug {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.45));
}

.xm-steam {
    filter: blur(0.6px);
}

.xm-steam-wisp {
    fill: none;
    stroke: rgba(255, 244, 228, 0.65);
    stroke-width: 3.4;
    stroke-linecap: round;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: xm-steam 3.9s ease-in-out infinite;
}

.xm-steam-wisp--2 {
    animation-delay: 1.3s;
}

.xm-steam-wisp--3 {
    animation-delay: 2.6s;
}

.xm-ledge {
    position: relative;
    height: 14px;
    margin: -15% -22% 0;
    border-radius: 6px;
    background:
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0) 0 18px, rgba(0, 0, 0, 0.12) 18px 20px),
        linear-gradient(180deg, #a26a3c, #6c4022);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.18);
}

/* Market skyline */
.xm-skyline {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: clamp(140px, 17vw, 250px);
    margin-top: clamp(-70px, -4vw, -30px);
}

.xm-booth--far {
    fill: #1b2858;
}

.xm-booth--near {
    fill: #0a1129;
}

.xm-booth-glow {
    mix-blend-mode: screen;
}

.xm-snowcap {
    fill: none;
    stroke: rgba(236, 242, 255, 0.88);
    stroke-width: 3.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.xm-snowcap--far {
    stroke: rgba(220, 230, 255, 0.42);
    stroke-width: 2.4;
}

.xm-awning {
    fill: #9a2236;
}

.xm-awning-stripe {
    fill: #f3e4cc;
    opacity: 0.85;
}

.xm-counter {
    fill: #5a361c;
}

.xm-roof-light {
    fill: #ffd690;
}

.xm-roof-light:nth-of-type(4n) {
    animation: xm-twinkle 2.8s ease-in-out infinite;
}

.xm-roof-light:nth-of-type(4n + 2) {
    animation: xm-twinkle 3.7s ease-in-out -1.4s infinite;
}

.xm-tree-tier {
    fill: #0b1d24;
}

.xm-tree-light {
    fill: #ffd27a;
    animation: xm-twinkle 3.2s ease-in-out infinite;
}

.xm-tree-light--1 {
    fill: #ff8f73;
    animation-delay: -1.1s;
}

.xm-tree-light--2 {
    fill: #fff1c9;
    animation-delay: -2.2s;
}

.xm-tree-star {
    fill: #ffd978;
}

.xm-star-glow {
    transform-box: fill-box;
    transform-origin: center;
    animation: xm-star-pulse 4s ease-in-out infinite;
}

.xm-ground {
    fill: #0a1129;
}

.xm-ground-snow {
    fill: none;
    stroke: rgba(225, 233, 255, 0.35);
    stroke-width: 2;
}

/* ---------- Welcome + meeting point ticket ---------- */
.xm-meet-section {
    padding-top: clamp(36px, 6vw, 72px);
}

.xm-meet {
    display: grid;
    gap: clamp(32px, 5vw, 56px);
    align-items: center;
    justify-items: center;
}

.xm-meet.has-welcome {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    justify-items: stretch;
}

.xm-welcome h2 {
    margin: 0 0 16px;
    font-family: var(--invite-font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.12;
    color: var(--xm-headline);
    overflow-wrap: anywhere;
}

.xm-welcome p {
    margin: 0 0 14px;
    font-size: 1.07rem;
    line-height: 1.75;
    color: rgba(248, 239, 225, 0.86);
}

.xm-welcome .xm-eyebrow {
    margin-bottom: 12px;
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--invite-accent-2);
}

.xm-welcome .xm-signature {
    display: grid;
    gap: 2px;
    margin-top: 24px;
}

.xm-signature span {
    font-style: italic;
    color: var(--invite-muted);
}

.xm-signature strong {
    font-family: var(--xm-font-hand);
    font-size: 1.4rem;
    color: var(--xm-caramel);
}

.xm-ticket {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 156px;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    border-radius: 22px;
    color: var(--xm-ink);
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.7), transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(214, 170, 110, 0.18), transparent 45%),
        var(--xm-cream);
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 180, 100, 0.12);
    rotate: -0.8deg;
    transition: rotate 0.4s ease;
}

.xm-ticket:hover {
    rotate: 0deg;
}

.xm-ticket-main {
    min-width: 0;
    padding: clamp(22px, 3.4vw, 30px);
}

.xm-ticket-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--xm-mulled);
}

.xm-ticket h2 {
    margin: 0 0 6px;
    font-family: var(--invite-font-display);
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    line-height: 1.15;
    color: var(--xm-ink);
    overflow-wrap: anywhere;
}

.xm-ticket-address {
    margin: 0;
    color: var(--xm-ink-muted);
    font-weight: 600;
}

.xm-ticket-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.xm-ticket-actions:empty {
    display: none;
}

.invite-weihnachtsmarkt .xm-ticket .invite-btn-ghost {
    color: var(--xm-ink);
    border-color: rgba(46, 29, 20, 0.35);
    background: transparent;
}

.invite-weihnachtsmarkt .xm-ticket .invite-btn-ghost:hover {
    background: rgba(46, 29, 20, 0.06);
}

.xm-ticket-stub {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 2px;
    padding: 22px 14px;
    text-align: center;
    border-left: 2px dashed rgba(46, 29, 20, 0.22);
    background: rgba(214, 170, 110, 0.12);
}

.xm-ticket-label {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--xm-ink-muted);
}

.xm-ticket-date {
    display: grid;
    margin: 4px 0 0;
    line-height: 1;
}

.xm-ticket-day {
    font-family: var(--invite-font-display);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--xm-mulled);
    font-variant-numeric: tabular-nums;
}

.xm-ticket-month {
    margin-top: 2px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.xm-ticket-weekday {
    margin: 6px 0 8px;
    font-size: 0.88rem;
    color: var(--xm-ink-muted);
}

.xm-ticket-time {
    margin: 0;
    padding: 5px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--xm-cream);
    background: var(--xm-ink);
}

.xm-ticket-sign {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px clamp(22px, 3.4vw, 30px);
    color: #fff3e3;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 10px, rgba(255, 255, 255, 0) 10px 20px),
        linear-gradient(135deg, var(--xm-mulled-bright), var(--xm-mulled-dark));
}

.xm-ticket-sign .xm-ticket-label {
    color: rgba(255, 236, 214, 0.82);
}

.xm-flag {
    flex: 0 0 auto;
    width: 40px;
    height: 48px;
    overflow: visible;
}

.xm-flag-pole {
    fill: none;
    stroke: #fbe9d0;
    stroke-width: 2.6;
    stroke-linecap: round;
}

.xm-flag-cloth {
    fill: var(--xm-gold);
    transform-box: fill-box;
    transform-origin: 0 50%;
    animation: xm-flag 2.8s ease-in-out infinite;
}

.xm-motto {
    margin: 2px 0 0;
    font-family: var(--xm-font-hand);
    font-size: clamp(1.15rem, 2.6vw, 1.4rem);
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.xm-ticket-footer {
    position: relative;
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px clamp(22px, 3.4vw, 30px) 14px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--xm-ink-muted);
    border-top: 2px dashed rgba(46, 29, 20, 0.2);
}

.xm-ticket-footer::before,
.xm-ticket-footer::after {
    content: "";
    position: absolute;
    top: -13px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--xm-night);
}

.xm-ticket-footer::before {
    left: -12px;
}

.xm-ticket-footer::after {
    right: -12px;
}

/* ---------- Section heads ---------- */
.xm-section-head {
    max-width: 660px;
    margin: 0 auto clamp(28px, 5vw, 52px);
    text-align: center;
}

.xm-section-head h2 {
    margin: 0 0 10px;
    font-family: var(--invite-font-display);
    font-size: clamp(1.9rem, 4.4vw, 3rem);
    line-height: 1.1;
    color: var(--xm-headline);
}

.xm-section-head p:not(.xm-eyebrow) {
    margin: 0;
    font-size: 1.05rem;
    color: var(--invite-muted);
}

/* ---------- Route across the market ---------- */
.xm-route {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
}

.xm-route-flag {
    position: relative;
    z-index: 1;
    display: block;
    width: fit-content;
    margin: 0;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--xm-ink);
    background: var(--xm-cream);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transform: translateX(calc(23px - 50%));
}

.xm-route-flag--finish {
    color: var(--xm-cream);
    background: var(--xm-mulled);
}

.xm-route-list {
    position: relative;
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 26px 0;
    list-style: none;
}

.xm-route-list::before {
    content: "";
    position: absolute;
    top: -14px;
    bottom: -14px;
    left: 3px;
    width: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='120' viewBox='0 0 40 120'%3E%3Cpath d='M20 0C36 30 36 30 20 60S4 90 20 120' fill='none' stroke='%23ffcf86' stroke-opacity='0.6' stroke-width='3' stroke-linecap='round' stroke-dasharray='1 9'/%3E%3C/svg%3E") repeat-y center top / 40px 120px;
}

.xm-station {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.xm-station-marker {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-top: 10px;
    border-radius: 50%;
    font-weight: 800;
    color: #3a1d0c;
    background: radial-gradient(circle at 50% 38%, #fff1cc, #ffc25e 58%, #e48a2e);
    box-shadow: 0 0 0 5px var(--xm-night), 0 0 26px rgba(255, 180, 90, 0.55);
}

.xm-station-marker::before {
    content: "";
    position: absolute;
    top: -13px;
    left: -5px;
    right: -5px;
    height: 14px;
    border-radius: 4px 4px 0 0;
    background: repeating-linear-gradient(90deg, var(--xm-mulled) 0 8px, var(--xm-cream) 8px 16px);
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

.xm-station-marker span {
    position: relative;
    top: 1px;
}

.xm-station-card {
    min-width: 0;
    padding: 16px 20px 18px;
    border-radius: 18px;
    background: var(--invite-surface);
    border: 1px solid var(--invite-border);
    box-shadow: 0 18px 40px rgba(2, 5, 16, 0.35);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.xm-station-time {
    display: inline-block;
    margin: 0 0 8px;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    color: var(--xm-gold-soft);
    background: rgba(255, 207, 134, 0.14);
}

.xm-station-card h3 {
    margin: 0 0 4px;
    font-family: var(--invite-font-display);
    font-size: 1.2rem;
    line-height: 1.25;
    color: var(--xm-headline);
    overflow-wrap: anywhere;
}

.xm-station-card p:not(.xm-station-time) {
    margin: 0;
    line-height: 1.6;
    color: var(--invite-muted);
    overflow-wrap: anywhere;
}

/* ---------- Bring along / good to know: hanging wooden signs ---------- */
.xm-signs {
    display: grid;
    gap: 30px;
    max-width: 920px;
    margin: 0 auto;
}

.xm-signs--one {
    max-width: 540px;
}

.xm-sign {
    position: relative;
    padding-top: 48px;
    background:
        radial-gradient(circle at 22% 5px, #e3c28a 0 4px, rgba(0, 0, 0, 0.4) 4.5px, transparent 6px),
        radial-gradient(circle at 78% 5px, #e3c28a 0 4px, rgba(0, 0, 0, 0.4) 4.5px, transparent 6px);
    background-repeat: no-repeat;
}

.xm-sign-board {
    position: relative;
    height: 100%;
    box-sizing: border-box;
    padding: 22px 24px 24px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.4);
    color: #fff3df;
    background:
        repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 30px, rgba(0, 0, 0, 0.14) 30px 32px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 3px, rgba(0, 0, 0, 0.04) 3px 7px),
        linear-gradient(180deg, #91603a, #6b4021);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -3px 0 rgba(0, 0, 0, 0.25);
    transform-origin: 50% -48px;
    animation: xm-sway 7s ease-in-out infinite;
}

.xm-sign-board::before,
.xm-sign-board::after {
    content: "";
    position: absolute;
    top: -44px;
    width: 2px;
    height: 46px;
    background: linear-gradient(180deg, #d8b783, #8a6a42);
}

.xm-sign-board::before {
    left: 22%;
}

.xm-sign-board::after {
    right: 22%;
}

.xm-sign--notes .xm-sign-board {
    animation-delay: -3.5s;
    background:
        repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 30px, rgba(0, 0, 0, 0.14) 30px 32px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 3px, rgba(0, 0, 0, 0.04) 3px 7px),
        linear-gradient(180deg, #82532f, #5f381c);
}

.xm-sign h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    font-family: var(--invite-font-display);
    font-size: 1.08rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffd9a0;
}

.xm-sign p {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.6;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* ---------- RSVP ---------- */
.invite-weihnachtsmarkt .xm-rsvp-section {
    width: min(840px, calc(100% - 32px));
}

.invite-weihnachtsmarkt .xm-rsvp-card {
    position: relative;
    padding-top: clamp(46px, 6vw, 58px);
    background: linear-gradient(180deg, rgba(30, 44, 92, 0.9), rgba(15, 24, 56, 0.92));
    border-color: rgba(255, 207, 134, 0.3);
    box-shadow: var(--invite-shadow), 0 0 80px rgba(255, 170, 90, 0.08);
}

.xm-card-lights {
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 30px;
    pointer-events: none;
    background:
        radial-gradient(circle at 17px 17px, #ffe0a0 0 3.5px, rgba(255, 190, 100, 0.4) 4.5px, transparent 11px) 0 0 / 34px 30px repeat-x,
        linear-gradient(180deg, transparent 8px, rgba(4, 8, 26, 0.9) 8px 10px, transparent 10px);
    animation: xm-card-lights 4.5s ease-in-out infinite;
}

.invite-weihnachtsmarkt .invite-card h2,
.invite-weihnachtsmarkt .invite-card h3,
.invite-weihnachtsmarkt .invite-rsvp-head h2,
.invite-weihnachtsmarkt .invite-host-head h2 {
    color: var(--xm-headline);
}

.invite-weihnachtsmarkt .invite-rsvp-head h2,
.invite-weihnachtsmarkt .invite-host-head h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.invite-weihnachtsmarkt .invite-rsvp-head p,
.invite-weihnachtsmarkt .invite-host-head p {
    margin: 0;
    color: var(--invite-muted);
}

.invite-weihnachtsmarkt .invite-rsvp-head strong {
    color: var(--xm-gold-soft);
}

.invite-weihnachtsmarkt .invite-field > span {
    color: #fff1dc;
}

.invite-weihnachtsmarkt .invite-field input,
.invite-weihnachtsmarkt .invite-field textarea,
.invite-weihnachtsmarkt .invite-host-login input {
    background: var(--invite-input-bg);
    color: var(--invite-input-text);
    border-color: rgba(255, 207, 134, 0.26);
    caret-color: var(--xm-gold);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.invite-weihnachtsmarkt .invite-field input::placeholder,
.invite-weihnachtsmarkt .invite-field textarea::placeholder,
.invite-weihnachtsmarkt .invite-host-login input::placeholder {
    color: rgba(248, 239, 225, 0.45);
}

.invite-weihnachtsmarkt .invite-field input:focus,
.invite-weihnachtsmarkt .invite-field textarea:focus,
.invite-weihnachtsmarkt .invite-host-login input:focus {
    outline: none;
    border-color: var(--xm-gold);
    background: rgba(6, 11, 30, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 201, 119, 0.2);
}

.invite-weihnachtsmarkt .invite-field input:-webkit-autofill,
.invite-weihnachtsmarkt .invite-field textarea:-webkit-autofill,
.invite-weihnachtsmarkt .invite-host-login input:-webkit-autofill {
    -webkit-text-fill-color: var(--invite-input-text);
    box-shadow: 0 0 0 1000px #111b3c inset;
}

.invite-weihnachtsmarkt .invite-field input.is-invalid,
.invite-weihnachtsmarkt .invite-field .input-validation-error {
    border-color: var(--invite-error);
}

.invite-weihnachtsmarkt .invite-choice > span {
    border-color: rgba(255, 207, 134, 0.22);
    background: var(--invite-input-bg);
}

.invite-weihnachtsmarkt .invite-choice:hover > span {
    border-color: rgba(255, 207, 134, 0.5);
}

.invite-weihnachtsmarkt .invite-choice input:checked + span {
    border-color: var(--xm-mulled-bright);
    background: linear-gradient(180deg, rgba(209, 59, 85, 0.3), rgba(138, 27, 45, 0.3));
    box-shadow: 0 0 24px rgba(209, 59, 85, 0.25);
}

.invite-weihnachtsmarkt .invite-choice-icon {
    background: rgba(255, 255, 255, 0.12);
}

.invite-weihnachtsmarkt .invite-stepper-button {
    color: var(--invite-text);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 207, 134, 0.26);
    transition: background 0.18s ease;
}

.invite-weihnachtsmarkt .invite-stepper-button:hover {
    background: rgba(255, 207, 134, 0.16);
}

/* ---------- Buttons ---------- */
.invite-weihnachtsmarkt .invite-btn-primary {
    background: linear-gradient(180deg, var(--xm-mulled-bright), #a82239);
    color: #fff;
    box-shadow: 0 14px 30px rgba(184, 41, 63, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.invite-weihnachtsmarkt .invite-btn-primary:hover {
    box-shadow: 0 16px 36px rgba(209, 59, 85, 0.5), 0 0 24px rgba(255, 170, 90, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.invite-weihnachtsmarkt .invite-btn-ghost {
    color: var(--invite-text);
    border-color: rgba(255, 207, 134, 0.45);
    background: rgba(255, 255, 255, 0.04);
}

.invite-weihnachtsmarkt .invite-btn-ghost:hover {
    background: rgba(255, 207, 134, 0.12);
}

.invite-weihnachtsmarkt .invite-btn-whatsapp {
    background: #25d366;
    color: #0b3d1f;
    border-color: transparent;
}

.invite-weihnachtsmarkt .invite-btn.is-done {
    background: #2f7d4f;
    color: #fff;
}

/* ---------- Modal (demo) ---------- */
.invite-weihnachtsmarkt .invite-modal-backdrop {
    background: rgba(4, 7, 20, 0.7);
}

.invite-weihnachtsmarkt .invite-modal-card {
    border: 1px solid rgba(255, 207, 134, 0.35);
    background: linear-gradient(180deg, #1e2c5c, #131d42);
    color: var(--invite-text);
}

.invite-weihnachtsmarkt .invite-modal-card h3 {
    color: var(--xm-headline);
}

.invite-weihnachtsmarkt .invite-modal-card p {
    color: var(--invite-muted);
}

/* ---------- Host area ---------- */
.xm-host-section {
    padding-bottom: clamp(80px, 10vw, 130px);
}

.invite-weihnachtsmarkt .invite-host-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 8px;
}

.invite-weihnachtsmarkt .invite-stat {
    background: rgba(22, 34, 72, 0.74);
    border-color: rgba(255, 207, 134, 0.2);
}

.invite-weihnachtsmarkt .invite-stat strong {
    color: var(--xm-gold-soft);
}

.invite-weihnachtsmarkt .invite-stat-highlight {
    background: linear-gradient(160deg, var(--xm-mulled-bright), var(--xm-mulled-dark));
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(184, 41, 63, 0.35);
}

.invite-weihnachtsmarkt .invite-stat-highlight strong {
    color: #fff;
}

.invite-weihnachtsmarkt .invite-table td {
    color: rgba(248, 239, 225, 0.9);
}

.invite-weihnachtsmarkt .invite-table td strong {
    color: #fff6e8;
}

.invite-weihnachtsmarkt .invite-table tbody tr:hover {
    background: rgba(255, 207, 134, 0.05);
}

.invite-weihnachtsmarkt .invite-share-group {
    border-color: rgba(255, 207, 134, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.invite-weihnachtsmarkt .invite-share-item {
    background: rgba(6, 11, 30, 0.45);
}

/* ---------- Footer: snowy drift ---------- */
.invite-weihnachtsmarkt .site-footer {
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.invite-weihnachtsmarkt .site-footer-rich {
    background: #f6efe4;
    border-top: 0;
}

.invite-weihnachtsmarkt .site-footer-rich::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -46px;
    height: 48px;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34c120-18 240-26 360-14s240 30 360 18 240-34 360-30 240 18 360 10v42z' fill='%23f6efe4'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
}

/* ---------- Cheers / decline effect ---------- */
.xm-cheers {
    position: fixed;
    top: clamp(20px, 9vh, 100px);
    left: 0;
    right: 0;
    z-index: 260;
    display: grid;
    justify-items: center;
    gap: 8px;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.xm-cheers[hidden] {
    display: none;
}

.xm-cheers.is-leaving {
    opacity: 0;
}

.xm-cheers-stage {
    position: relative;
    width: 230px;
    height: 136px;
}

.xm-cheers-halo {
    position: absolute;
    left: 50%;
    top: 34%;
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 210, 130, 0.55), rgba(255, 170, 90, 0.12) 45%, transparent 68%);
    opacity: 0;
}

.xm-cheers-mug {
    position: absolute;
    bottom: 0;
    width: 104px;
    height: 104px;
    overflow: visible;
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.5));
    opacity: 0;
}

.xm-cheers-mug--left {
    left: 4px;
    transform-origin: 60% 90%;
}

.xm-cheers-mug--right {
    right: 4px;
    transform-origin: 40% 90%;
}

.xm-spark {
    position: absolute;
    left: 50%;
    top: 30%;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: #fff1c9;
    box-shadow: 0 0 10px 3px rgba(255, 200, 110, 0.85);
    opacity: 0;
    --xm-a: 0deg;
    --xm-d: -66px;
}

.xm-spark:nth-of-type(2) { --xm-a: 30deg; --xm-d: -48px; }
.xm-spark:nth-of-type(3) { --xm-a: 60deg; }
.xm-spark:nth-of-type(4) { --xm-a: 90deg; --xm-d: -50px; }
.xm-spark:nth-of-type(5) { --xm-a: 120deg; }
.xm-spark:nth-of-type(6) { --xm-a: 150deg; --xm-d: -46px; }
.xm-spark:nth-of-type(7) { --xm-a: 180deg; --xm-d: -40px; }
.xm-spark:nth-of-type(8) { --xm-a: 210deg; --xm-d: -52px; }
.xm-spark:nth-of-type(9) { --xm-a: 240deg; }
.xm-spark:nth-of-type(10) { --xm-a: 270deg; --xm-d: -50px; }
.xm-spark:nth-of-type(11) { --xm-a: 300deg; }
.xm-spark:nth-of-type(12) { --xm-a: 330deg; --xm-d: -48px; }

.xm-spark:nth-of-type(3n) {
    width: 5px;
    height: 5px;
    background: #ffb37a;
}

.xm-flake {
    position: absolute;
    top: 6px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    color: #e6eeff;
    text-shadow: 0 0 8px rgba(200, 220, 255, 0.7);
    opacity: 0;
}

.xm-flake:nth-of-type(1) { left: 26%; }
.xm-flake:nth-of-type(2) { left: 52%; font-size: 14px; }
.xm-flake:nth-of-type(3) { left: 74%; font-size: 20px; }

.xm-cheers-text {
    margin: 0;
    padding: 10px 22px;
    border-radius: 999px;
    font-family: var(--invite-font-display);
    font-size: clamp(1.05rem, 3.4vw, 1.3rem);
    font-weight: 800;
    text-align: center;
    color: var(--xm-gold-soft);
    background: rgba(10, 17, 41, 0.9);
    border: 1px solid rgba(255, 207, 134, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 180, 90, 0.2);
    opacity: 0;
}

.xm-cheers.is-yes .xm-cheers-mug--left {
    animation: xm-clink-left 1.25s cubic-bezier(0.3, 0.7, 0.3, 1) both;
}

.xm-cheers.is-yes .xm-cheers-mug--right {
    animation: xm-clink-right 1.25s cubic-bezier(0.3, 0.7, 0.3, 1) both;
}

.xm-cheers.is-yes .xm-cheers-halo {
    animation: xm-halo 1.6s ease-out 0.55s both;
}

.xm-cheers.is-yes .xm-spark {
    animation: xm-spark 0.95s ease-out 0.62s both;
}

.xm-cheers.is-yes .xm-cheers-text,
.xm-cheers.is-no .xm-cheers-text {
    animation: xm-pop-in 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.3) 0.6s both;
}

.xm-cheers.is-no .xm-cheers-mug--left {
    display: none;
}

.xm-cheers.is-no .xm-cheers-mug--right {
    right: calc(50% - 52px);
    animation: xm-mug-sigh 2s ease-in-out both;
}

.xm-cheers.is-no .xm-flake {
    animation: xm-flake-fall 2.4s ease-in 0.3s both;
}

.xm-cheers.is-no .xm-flake:nth-of-type(2) {
    animation-delay: 0.7s;
}

.xm-cheers.is-no .xm-flake:nth-of-type(3) {
    animation-delay: 1s;
}

/* Garland celebrates a "yes" */
.xm-celebrate .xm-bulb {
    animation: xm-bulb-party 0.42s ease-in-out 7 alternate;
}

.xm-celebrate .xm-bulb:nth-child(even) {
    animation-delay: 0.21s;
}

/* ---------- Keyframes ---------- */
@keyframes xm-bulb-party {
    0% { opacity: 0.45; }
    100% { opacity: 1; }
}

@keyframes xm-flicker {
    0%, 100% { opacity: 1; }
    40% { opacity: 0.86; }
    46% { opacity: 0.6; }
    49% { opacity: 0.95; }
    52% { opacity: 0.7; }
    56% { opacity: 1; }
    80% { opacity: 0.9; }
}

@keyframes xm-flicker-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.78; }
}

@keyframes xm-twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

@keyframes xm-star-pulse {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

@keyframes xm-glow {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

@keyframes xm-steam {
    0% { opacity: 0; transform: translate(0, 10px) scale(0.8, 0.7); }
    25% { opacity: 0.8; }
    65% { opacity: 0.4; }
    100% { opacity: 0; transform: translate(4px, -18px) scale(1.1, 1.15); }
}

@keyframes xm-flag {
    0%, 100% { transform: skewY(0deg) scaleX(1); }
    50% { transform: skewY(-5deg) scaleX(0.94); }
}

@keyframes xm-sway {
    0%, 100% { transform: rotate(-0.8deg); }
    50% { transform: rotate(0.8deg); }
}

@keyframes xm-card-lights {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.78; }
}

@keyframes xm-pop-in {
    0% { opacity: 0; transform: translateY(10px) scale(0.92); }
    100% { opacity: 1; transform: none; }
}

@keyframes xm-clink-left {
    0% { opacity: 0; transform: translateX(-70px) scaleX(-1) rotate(0deg); }
    25% { opacity: 1; }
    52% { opacity: 1; transform: translateX(26px) scaleX(-1) rotate(-18deg); }
    62% { transform: translateX(14px) scaleX(-1) rotate(-9deg); }
    100% { opacity: 1; transform: translateX(16px) scaleX(-1) rotate(-12deg); }
}

@keyframes xm-clink-right {
    0% { opacity: 0; transform: translateX(70px) rotate(0deg); }
    25% { opacity: 1; }
    52% { opacity: 1; transform: translateX(-26px) rotate(-18deg); }
    62% { transform: translateX(-14px) rotate(-9deg); }
    100% { opacity: 1; transform: translateX(-16px) rotate(-12deg); }
}

@keyframes xm-halo {
    0% { opacity: 0; transform: scale(0.4); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: scale(1.3); }
}

@keyframes xm-spark {
    0% { opacity: 1; transform: rotate(var(--xm-a)) translateY(0) scale(0.5); }
    100% { opacity: 0; transform: rotate(var(--xm-a)) translateY(var(--xm-d)) scale(1); }
}

@keyframes xm-mug-sigh {
    0% { opacity: 0; transform: translateY(16px) rotate(0deg); }
    25% { opacity: 1; transform: translateY(0) rotate(0deg); }
    50% { transform: rotate(-7deg); }
    75% { transform: rotate(4deg); }
    100% { opacity: 1; transform: rotate(0deg); }
}

@keyframes xm-flake-fall {
    0% { opacity: 0; transform: translateY(-10px) rotate(0deg); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translateY(110px) rotate(120deg); }
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
    .xm-signs--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 840px) {
    .xm-route-list::before {
        left: calc(50% - 20px);
    }

    .xm-route-flag {
        margin: 0 auto;
        transform: none;
    }

    .xm-station {
        grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
        gap: 28px;
    }

    .xm-station-marker {
        grid-column: 2;
        grid-row: 1;
    }

    .xm-station .xm-station-card {
        grid-row: 1;
    }

    .xm-station:nth-child(odd) .xm-station-card {
        grid-column: 1;
        text-align: right;
    }

    .xm-station:nth-child(even) .xm-station-card {
        grid-column: 3;
    }

    .xm-station + .xm-station {
        margin-top: -24px;
    }
}

@media (max-width: 900px) {
    .xm-hero-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .xm-hero-copy {
        padding-bottom: 8px;
    }

    .xm-hero-art {
        justify-self: end;
        width: clamp(120px, 30vw, 170px);
        margin: -4px 3% -26px 0;
    }

    .xm-meet.has-welcome {
        grid-template-columns: 1fr;
    }

    .xm-ticket {
        justify-self: center;
    }
}

@media (max-width: 760px) {
    .invite-weihnachtsmarkt .brand-lockup {
        padding: 4px 10px;
        border-radius: 14px;
    }

    .invite-weihnachtsmarkt .brand-logo-moments {
        height: 42px;
    }
}

@media (max-width: 560px) {
    .xm-hero {
        padding-top: 92px;
    }

    .xm-facts {
        gap: 8px;
    }

    .xm-facts li {
        flex: 1 1 100%;
        padding: 9px 14px;
    }

    .xm-route-flag {
        transform: none;
    }

    .invite-weihnachtsmarkt .invite-quick-actions .invite-btn {
        flex: 1 1 100%;
    }

    .xm-ticket {
        grid-template-columns: 1fr;
        rotate: 0deg;
    }

    .xm-ticket-stub {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "label label"
            "date info"
            "date time";
        justify-items: start;
        align-items: center;
        column-gap: 18px;
        text-align: left;
        padding: 16px 22px 18px;
        border-left: 0;
        border-top: 2px dashed rgba(46, 29, 20, 0.22);
    }

    .xm-ticket-stub .xm-ticket-label {
        grid-area: label;
    }

    .xm-ticket-date {
        grid-area: date;
        justify-items: center;
    }

    .xm-ticket-weekday {
        grid-area: info;
        margin: 0;
        align-self: end;
    }

    .xm-ticket-time {
        grid-area: time;
        align-self: start;
        margin-top: 4px;
    }

    .xm-ticket-sign {
        align-items: flex-start;
    }

    .xm-ticket-actions .invite-btn {
        flex: 1 1 auto;
    }

    .xm-sign-board {
        padding: 20px 20px 22px;
    }
}

@media (max-width: 380px) {
    .invite-weihnachtsmarkt .invite-countdown {
        gap: 6px;
    }

    .invite-weihnachtsmarkt .invite-countdown span {
        font-size: 0.62rem;
        letter-spacing: 0.06em;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .xm-bulb,
    .xm-roof-light,
    .xm-tree-light,
    .xm-star-glow,
    .xm-mug-glow,
    .xm-flag-cloth,
    .xm-sign-board,
    .xm-card-lights,
    .xm-greeting,
    .xm-countdown-done::before {
        animation: none !important;
    }

    .xm-steam-wisp {
        animation: none !important;
        opacity: 0.45;
    }

    .xm-ticket {
        transition: none;
    }

    .xm-snow,
    .xm-cheers {
        display: none !important;
    }
}
