/*
 * shop.css — Tickets-Shop Styles, mirrors sommeregg.at-Patterns 1:1.
 * Solid-Header (no scroll-state needed on subdomain), parchment palette,
 * gold accents, glass-effect cards.
 */

/* ─── Base ─────────────────────────────────────────────────────────── */

html, body {
    background: var(--stone-darkest);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.75;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-light);
    line-height: 1.2;
    margin: 0 0 var(--space-sm);
}
h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    letter-spacing: 0.04em;
}
h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 500;
    letter-spacing: 0.03em;
}
h3 {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
h4 {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
p { margin: 0 0 var(--space-sm); }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }

[x-cloak] { display: none !important; }

/* ─── Serifenlos ab „Tickets wählen" ─────────────────────────────────
 * Re-map the font tokens within the checkout form + summary pad so every
 * descendant that uses --font-heading/--font-body becomes sans-serif for
 * easier reading — without touching each rule individually. Hero, footer
 * and confirmation/legal pages keep the serif brand type. */
.shop,
.checkout-pad {
    --font-heading: var(--font-sans);
    --font-body:    var(--font-sans);
}

/* ─── Site Header ─ verbatim from sommeregg.at (--solid only) ─────── */

.site-header {
    background: rgba(250, 244, 227, 0.92);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(200, 134, 10, 0.18);
    box-shadow: 0 6px 24px -12px rgba(92, 51, 23, 0.18);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header > nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.nav-logo img {
    height: 56px;
    width: auto;
    transition: opacity 0.3s ease;
    filter: brightness(1.05);
}
.nav-logo:hover img { opacity: 0.9; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    margin: 0;
    padding: 0;
}
.nav-menu a {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu a[aria-current="page"] { color: var(--gold); }
.nav-menu a[aria-current="page"]::after { width: 100%; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    padding: 0.55rem 1.4rem;
    border: 1px solid var(--gold-dim);
    border-radius: var(--radius-sm);
    background: transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.nav-cta:hover {
    background: var(--gold);
    color: var(--text-dark);
    border-color: var(--gold);
    text-decoration: none;
}
.nav-cta svg { width: 12px; height: 12px; }

/* Header responsive */
@media (max-width: 900px) {
    .site-header > nav { flex-wrap: wrap; row-gap: 0.4rem; }
    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: var(--space-md);
        flex-wrap: wrap;
        padding-top: 0.4rem;
        border-top: 1px solid rgba(200, 134, 10, 0.10);
    }
    .nav-menu a { font-size: 0.72rem; letter-spacing: 0.08em; }
    .nav-logo img { height: 44px; }
    .nav-cta { padding: 0.4rem 0.9rem; font-size: 0.7rem; }
}

/* ─── Hero — compact editorial header ─────────────────────────────── */

.hero {
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 160, 36, 0.08), transparent 70%),
        linear-gradient(180deg, var(--parchment) 0%, var(--stone-darkest) 100%);
    color: var(--text-light);
    text-align: center;
    padding: clamp(1.8rem, 4.5vh, 2.6rem) var(--space-md) clamp(1.4rem, 3vh, 2rem);
}

.hero__inner {
    max-width: 720px;
    margin: 0 auto;
}

.hero__eyebrow {
    font-family: var(--font-heading);
    font-size: 0.74rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin: 0 0 1rem;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 5vw, 2.8rem);
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.03em;
    line-height: 1;
    margin: 0 0 0.4rem;
}

.hero__period {
    font-family: var(--font-body);
    font-style: italic;
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    color: var(--text-dim);
    letter-spacing: 0.04em;
    margin: 0 0 0.9rem;
}

.hero__schedule {
    list-style: none;
    margin: 0;
    padding: 0.7rem var(--space-md) 0;
    border-top: 1px solid rgba(180, 117, 10, 0.18);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.6rem;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
}
.hero__schedule li {
    display: inline-flex;
    align-items: baseline;
    gap: 0.55rem;
}
.hero__schedule-days {
    text-transform: uppercase;
    color: var(--gold);
    letter-spacing: 0.14em;
    font-weight: 500;
}
.hero__schedule-times {
    color: var(--text-light);
}

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow,
.hero__title,
.hero__period,
.hero__schedule {
    animation: hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__eyebrow  { animation-delay: 0.05s; }
.hero__title    { animation-delay: 0.15s; }
.hero__period   { animation-delay: 0.30s; }
.hero__schedule { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
    .hero__eyebrow, .hero__title, .hero__period, .hero__schedule {
        animation: none;
    }
}

/* ─── Layout helpers ───────────────────────────────────────────────── */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}
.section { padding: var(--space-2xl) 0; }
.section--tight { padding: var(--space-lg) 0; }
.section--lead { padding: clamp(2.4rem, 5vh, 3.6rem) 0 0; }
.section--shop { padding: clamp(2rem, 4vh, 3rem) 0 var(--space-2xl); }
.section--steps { padding: clamp(2.4rem, 5vh, 3.6rem) 0 clamp(1.4rem, 3vh, 2rem); }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


/* Lead — single sentence with editorial drop-cap */
.editorial-lead {
    max-width: 60ch;
    margin: 0 auto;
    color: var(--text-dim);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.85;
    text-align: center;
    padding-top: 0.4rem;
}
.editorial-lead::first-letter {
    font-family: var(--font-display);
    font-size: 3.4rem;
    float: left;
    line-height: 0.85;
    margin: 0.18rem 0.55rem 0 0;
    color: var(--gold);
    text-shadow: 0 1px 0 rgba(255, 248, 225, 0.6);
}

/* ─── Section header — sober heading + sub-line ──────────────────── */

.section-head {
    margin: 0 0 1.1rem;
    padding-bottom: 0.6rem;
}
.section-head--spaced { margin-top: clamp(2rem, 4vh, 2.8rem); }

.section-head__title {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-light);
    margin: 0 0 0.25rem;
}
.section-head__sub {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-dim);
    margin: 0;
    line-height: 1.5;
}

/* ─── Shop layout ──────────────────────────────────────────────────── */

.shop {
    padding-top: clamp(1.4rem, 3vh, 2.2rem);
    padding-bottom: clamp(3rem, 6vh, 5rem);
}

/* ── Hinweis „freie Terminwahl" über der Ticketliste ───────────────── */
.freechoice {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 0 0 var(--space-sm);
    padding: 0.9rem 1rem;
    background: rgba(180, 117, 10, 0.07);
    border: 1px solid rgba(180, 117, 10, 0.22);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-md);
}
.freechoice__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--gold);
}
.freechoice__icon svg { width: 22px; height: 22px; }
.freechoice__text {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-light);
}
.freechoice__text strong { color: var(--gold); font-weight: 700; }

/* Zurückhaltende Variante: ergänzender Hinweis unter der Ticketliste, soll dem
   Haupt-Hinweis oben nicht die Aufmerksamkeit nehmen. */
.freechoice--muted {
    margin: var(--space-sm) 0 0;
    background: transparent;
    border: 1px dashed rgba(180, 117, 10, 0.3);
    border-left: 1px dashed rgba(180, 117, 10, 0.3);
}
.freechoice--muted .freechoice__icon { color: var(--text-dim); }
.freechoice--muted .freechoice__text { font-size: 0.87rem; color: var(--text-dim); }
.freechoice--muted .freechoice__text strong { color: var(--text-light); }

/* ── „So kommt Ihr zu Euren Tickets" — 3-Schritte-Erklärung ────────── */
.how {
    padding: var(--space-md) 0 var(--space-sm);
}
.how__title {
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    color: var(--text-light);
    font-size: clamp(1.15rem, 4.5vw, 1.6rem);
    letter-spacing: 0.02em;
    margin: 0 0 var(--space-md);
}
.how__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}
@media (min-width: 720px) {
    .how__steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
}
.how__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
    background: var(--parchment);
    border: 1px solid rgba(180, 117, 10, 0.16);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-sm);
    box-shadow: 0 2px 12px rgba(60, 40, 20, 0.05);
}
.how__badge {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(180, 117, 10, 0.10);
    border: 1.5px solid rgba(180, 117, 10, 0.28);
    color: var(--gold);
    margin-bottom: 0.15rem;
}
.how__badge svg { width: 25px; height: 25px; }
.how__step-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    color: var(--text-light);
    margin: 0;
}
.how__step-n {
    display: inline-grid;
    place-items: center;
    width: 1.4em;
    height: 1.4em;
    margin-right: 0.15rem;
    border-radius: 50%;
    background: var(--gold);
    color: var(--text-dark);
    font-size: 0.78em;
    font-weight: 700;
    vertical-align: 0.08em;
}
.how__step-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dim);
    margin: 0;
    max-width: 34ch;
}
@media (prefers-reduced-motion: no-preference) {
    .how__step { animation: howRise 0.5s ease both; }
    .how__step:nth-child(2) { animation-delay: 0.08s; }
    .how__step:nth-child(3) { animation-delay: 0.16s; }
}
@keyframes howRise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

.shop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: start;
}
@media (min-width: 960px) {
    .shop-grid {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: clamp(2rem, 4vw, 3.5rem);
    }
}

.shop-form { min-width: 0; }

/* ─── Wizard (mehrstufiger Checkout) ───────────────────────────────── */

.wizard-steps {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0 0 1.1rem;
    border-bottom: 1px solid rgba(180, 117, 10, 0.16);
}
.wizard-steps__item { display: flex; align-items: center; margin: 0; }
.wizard-steps__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;               /* Pico gibt <button> ein margin-bottom — sonst sitzt der Kreis über der Zeilenmitte */
    cursor: pointer;
    color: var(--text-dim);
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: color 180ms ease;
}
.wizard-steps__btn:disabled { cursor: not-allowed; opacity: 0.5; }
.wizard-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(180, 117, 10, 0.35);
    background: #fffaef;
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.wizard-steps__label { white-space: nowrap; }

.wizard-steps__item.is-active .wizard-steps__btn { color: var(--text-light); }
.wizard-steps__item.is-active .wizard-steps__num {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--text-dark);
    box-shadow: 0 2px 8px -3px rgba(180, 117, 10, 0.5);
}
.wizard-steps__item.is-done .wizard-steps__btn { color: var(--gold); }
.wizard-steps__item.is-done .wizard-steps__num {
    border-color: var(--gold);
    color: var(--gold);
}

.wizard-steps__sep {
    flex: 1;
    height: 2px;
    min-width: 1rem;
    max-width: 4rem;
    background: repeating-linear-gradient(90deg, rgba(180,117,10,0.35) 0 4px, transparent 4px 8px);
    border-radius: 2px;
}

/* Zurück-Link oben in Schritt 2 */
.wizard-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0 0 1.2rem;
    cursor: pointer;
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: color 160ms ease, transform 160ms ease;
}
.wizard-back:hover { color: var(--gold-bright); transform: translateX(-3px); }
.wizard-back svg { width: 15px; height: 15px; }

.wizard-panel { animation: wizard-fade 320ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes wizard-fade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .wizard-panel { animation: none; }
}

@media (max-width: 420px) {
    .wizard-steps__label { font-size: 0.78rem; }
    .wizard-steps { gap: 0.4rem; }
}

/* ─── Checkout pad (sticky right) — Apple-style cart panel ─────── */

.checkout-pad {
    position: relative;
}
@media (min-width: 960px) {
    .checkout-pad { position: sticky; top: 5.5rem; }
}
.checkout-pad__inner {
    position: relative;
    background: #fffaef;
    border: 1px solid rgba(180, 117, 10, 0.20);
    border-radius: 12px;
    padding: 1.4rem;
    box-shadow: 0 8px 24px -16px rgba(92, 51, 23, 0.20);
}

.checkout-pad__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.checkout-pad__eyebrow {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold);
}
.checkout-pad__count {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-dim);
    font-variant-numeric: tabular-nums;
}

.checkout-pad__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.5rem 1rem 1.2rem;
    color: var(--text-dim);
    font-style: italic;
    font-size: 0.88rem;
    text-align: center;
}
.checkout-pad__empty svg {
    width: 28px;
    height: 28px;
    color: var(--gold);
    opacity: 0.55;
}
.checkout-pad__empty p { margin: 0; }

.checkout-pad__lines {
    list-style: none;
    margin: 0 0 0.4rem;
    padding: 0;
}
.checkout-pad__line {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: baseline;
    gap: 0.5rem 0.7rem;
    padding: 0.55rem 0;
    border-bottom: 1px dashed rgba(180, 117, 10, 0.18);
    font-size: 0.9rem;
}
.checkout-pad__line:last-child { border-bottom: none; }
.checkout-pad__line-qty {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
    min-width: 1.6rem;
}
.checkout-pad__line-qty::after { content: '×'; margin-left: 0.1rem; opacity: 0.6; }
.checkout-pad__line-label {
    color: var(--text-light);
    line-height: 1.4;
}
.checkout-pad__line-sub {
    color: var(--text-light);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    text-align: right;
}

.checkout-pad__total {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(180, 117, 10, 0.18);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.6rem;
}
.checkout-pad__total-label {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 600;
}
.checkout-pad__total-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-light);
    letter-spacing: 0.01em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* ── Primary CTA inside pad ───────────────────────────────────── */

.checkout-pad__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    margin-top: 1rem;
    padding: 0.95rem 1.2rem;
    background: var(--gold);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    box-shadow: 0 4px 12px -4px rgba(180, 117, 10, 0.40);
}
.checkout-pad__cta:hover:not(:disabled) {
    background: var(--gold-bright);
    box-shadow: 0 6px 16px -4px rgba(180, 117, 10, 0.50);
    transform: translateY(-1px);
}
.checkout-pad__cta:disabled {
    background: rgba(180, 117, 10, 0.22);
    color: rgba(42, 28, 16, 0.45);
    box-shadow: none;
    cursor: not-allowed;
}
.checkout-pad__cta:hover:not(:disabled)::before { opacity: 1; }
.checkout-pad__cta:active:not(:disabled) { transform: translateY(0); }
.checkout-pad__cta:disabled {
    background: rgba(180, 117, 10, 0.18);
    color: var(--text-dim);
    cursor: not-allowed;
    box-shadow: none;
}
.checkout-pad__cta-label { line-height: 1; position: relative; z-index: 1; }
.checkout-pad__cta-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    z-index: 1;
}
.checkout-pad__cta:hover:not(:disabled) .checkout-pad__cta-arrow {
    transform: translateX(4px);
}

/* ── Trust list ────────────────────────────────────────────── */

.checkout-pad__trust {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.4;
}
.checkout-pad__trust li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.checkout-pad__trust svg {
    width: 14px;
    height: 14px;
    color: var(--gold-dim);
    flex-shrink: 0;
}

/* ─── Tickets — single uniform list, Eventim-style row layout ─────── */

.ticket-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ticket {
    position: relative;
    background: #fffaef;
    border: 1px solid rgba(180, 117, 10, 0.18);
    border-radius: 8px;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.ticket:hover {
    border-color: rgba(180, 117, 10, 0.42);
    box-shadow: 0 2px 8px -4px rgba(92, 51, 23, 0.15);
}

.ticket__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 1.4rem);
    padding: 0.95rem 1.1rem;
}
@media (max-width: 540px) {
    .ticket__main {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            'body  body'
            'price action';
        row-gap: 0.7rem;
    }
    .ticket__body   { grid-area: body; }
    .ticket__price  { grid-area: price; }
    .ticket__action { grid-area: action; }
}

/* ── Body: title row + meta ────────────────────────────────────── */

.ticket__body { min-width: 0; }
.ticket__title-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}
.ticket__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.01em;
    margin: 0;
    line-height: 1.3;
}
.ticket__meta {
    color: var(--text-dim);
    font-size: 0.83rem;
    margin: 0.2rem 0 0;
    line-height: 1.4;
}

/* ── Badge ─────────────────────────────────────────────────────── */

.ticket__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    background: var(--gold);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 3px;
    line-height: 1;
}

/* ── Price column ──────────────────────────────────────────────── */

.ticket__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    line-height: 1;
    min-width: 90px;
}
@media (max-width: 540px) {
    .ticket__price { align-items: flex-start; text-align: left; min-width: 0; }
}
.ticket__price-value {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
}
.ticket__price-suffix {
    font-family: var(--font-body);
    color: var(--text-dim);
    font-size: 0.75rem;
    margin-top: 0.18rem;
}
.ticket__price--free .ticket__price-value {
    color: var(--success);
    font-style: italic;
}

.ticket__action { flex-shrink: 0; }

/* ── Active state: subtle left accent + parchment glow ─────────── */

.ticket.is-active {
    border-color: var(--gold);
    background: linear-gradient(90deg, rgba(255, 232, 175, 0.45) 0%, #fffaef 18%);
    box-shadow: 0 0 0 1px rgba(180, 117, 10, 0.25), 0 4px 12px -6px rgba(180, 117, 10, 0.20);
}
.ticket.is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--gold);
}

/* ── Featured (Familienkarte) — same row layout, soft tint + accent  */

.ticket--featured {
    background: linear-gradient(135deg, #fdf3d6 0%, #fffaef 90%);
    border-color: rgba(180, 117, 10, 0.32);
}
.ticket--featured.is-active {
    background: linear-gradient(135deg, #fce6a8 0%, #fffaef 80%);
    border-color: var(--gold);
}

/* ─── Stepper ──────────────────────────────────────────────────────── */

.stepper {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;                  /* eigenständige Buttons statt Pill */
    flex-shrink: 0;
}
/* .stepper prefix beats Pico's `[role=group] [type=button]{width:auto}` (same
   specificity, but shop.css loads after Pico) so the 44px touch target holds. */
.stepper .stepper__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;                  /* 44×44px Touch-Ziel (WCAG 2.5.5) */
    height: 44px;
    flex-shrink: 0;               /* nie unter die Touch-Größe schrumpfen */
    padding: 0;
    margin: 0;
    border-radius: 11px;
    cursor: pointer;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 100ms ease;
}
.stepper__btn svg {
    width: 18px;
    height: 18px;
    display: block;
    pointer-events: none;
}
.stepper__btn:active:not(:disabled) { transform: translateY(0); }

/* Minus — umrandet, hell */
.stepper__btn--minus {
    background: #fffaef;
    border: 1.5px solid rgba(180, 117, 10, 0.38);
    color: var(--gold);
}
.stepper__btn--minus:hover:not(:disabled) {
    border-color: var(--gold);
    background: rgba(180, 117, 10, 0.08);
    color: var(--gold-bright);
}
.stepper__btn--minus:disabled {
    border-color: rgba(180, 117, 10, 0.18);
    color: rgba(147, 96, 8, 0.35);
    cursor: not-allowed;
}
.stepper__btn--minus:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

/* Plus — gefüllt in Gold, helles Icon (Kontrast ✓, --gold ist dunkel genug) */
.stepper__btn--plus {
    background: var(--gold);
    border: 1.5px solid var(--gold);
    color: var(--text-dark);
    box-shadow: 0 2px 8px -3px rgba(180, 117, 10, 0.5);
}
.stepper__btn--plus:hover:not(:disabled) {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    color: var(--text-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -3px rgba(180, 117, 10, 0.55);
}
.stepper__btn--plus:disabled {
    background: rgba(180, 117, 10, 0.25);
    border-color: transparent;
    color: rgba(255, 248, 225, 0.7);
    box-shadow: none;
    cursor: not-allowed;
}
.stepper__btn--plus:focus-visible {
    outline: 3px solid var(--text-light);
    outline-offset: 2px;
}

.stepper input.stepper__input,
input.stepper__input {
    width: 2.4rem;
    height: 44px;
    min-height: 44px;
    flex-shrink: 0;
    box-sizing: border-box;
    background: transparent;
    border: 0;
    outline: 0;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-light);
    font-variant-numeric: tabular-nums;
    padding: 0;
    margin: 0;
    line-height: 44px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    vertical-align: middle;
}
.stepper__input::-webkit-inner-spin-button,
.stepper__input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}
.stepper__input:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ─── Sichtbarer Tastatur-Fokus für den Kaufflow (WCAG 2.4.7) ─────── */
.wizard-steps__btn:focus-visible,
.wizard-back:focus-visible,
.promo-toggle:focus-visible,
.form-checkbox input[type=checkbox]:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}
/* Dunkler Ring auf dem goldenen CTA, damit der Fokus dort kontrastiert */
.checkout-pad__cta:focus-visible {
    outline: 3px solid var(--text-dark);
    outline-offset: 3px;
}

/* ─── Forms ────────────────────────────────────────────────────────── */

.shop-form { min-width: 0; }

.form-field { display: block; margin-bottom: var(--space-sm); }
.form-field > label {
    display: block;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--gold-dim);
    margin-bottom: 0.4rem;
}
.form-field__optional {
    text-transform: none;
    font-style: italic;
    letter-spacing: 0.02em;
    font-weight: 400;
    color: var(--text-dim);
    opacity: 0.7;
    margin-left: 0.3rem;
}
.form-field input[type=text],
.form-field input[type=email],
.form-field input[type=tel] {
    width: 100%;
    background: rgba(255, 248, 225, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(180, 117, 10, 0.16);
    border-radius: var(--radius-sm);
    padding: 0.75rem var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.form-field input:hover {
    border-color: rgba(180, 117, 10, 0.30);
}
.form-field input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--parchment);
    box-shadow: 0 0 0 3px rgba(180, 117, 10, 0.10);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}
@media (min-width: 600px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}

/* Promo code — accordion-style */
.form-promo {
    margin: 0.4rem 0 var(--space-md);
    padding: 0.6rem 0;
    border-top: 1px dashed rgba(180, 117, 10, 0.18);
    border-bottom: 1px dashed rgba(180, 117, 10, 0.18);
}
.form-promo__field {
    margin-top: 0.7rem;
    overflow: hidden;
}
.form-promo__field input {
    width: 100%;
    background: rgba(255, 248, 225, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(180, 117, 10, 0.20);
    border-radius: var(--radius-sm);
    padding: 0.65rem var(--space-sm);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.form-promo__field input::placeholder {
    color: var(--text-dim);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
}
.form-promo__field input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--parchment);
    box-shadow: 0 0 0 3px rgba(180, 117, 10, 0.10);
}

/* Promo: Eingabe + „Anwenden" nebeneinander */
.promo-entry {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}
.promo-entry input { flex: 1 1 auto; min-width: 0; }
.promo-apply {
    flex-shrink: 0;
    margin: 0;                     /* Picos <button>-margin-bottom zurücksetzen */
    padding: 0 1.15rem;
    min-height: 44px;              /* Touch-Ziel (WCAG 2.5.5) */
    background: var(--gold);
    color: var(--text-dark);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 100ms ease;
}
.promo-apply:hover:not(:disabled) {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    color: var(--text-light);
    transform: translateY(-1px);
}
.promo-apply:disabled {
    background: rgba(180, 117, 10, 0.22);
    border-color: transparent;
    color: rgba(44, 24, 16, 0.4);
    cursor: not-allowed;
}
.promo-apply:focus-visible { outline: 3px solid var(--text-light); outline-offset: 2px; }

/* Promo: angewandter Zustand */
.promo-applied {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.7rem;
    padding: 0.65rem 0.8rem;
    background: rgba(74, 122, 44, 0.10);
    border: 1px solid rgba(74, 122, 44, 0.38);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}
.promo-applied__icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--success); }
.promo-applied__text { flex: 1 1 auto; min-width: 0; }
.promo-applied__text strong { font-weight: 700; letter-spacing: 0.02em; }
.promo-applied__amount {
    color: var(--success);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    margin-left: 0.2rem;
    white-space: nowrap;
}
.promo-applied__remove {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: var(--text-dim);
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease;
}
.promo-applied__remove svg { width: 16px; height: 16px; }
.promo-applied__remove:hover { background: rgba(184, 92, 44, 0.10); color: #b85c2c; }
.promo-applied__remove:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.form-promo__error {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #b85c2c;
}

/* Rabattzeile in der Bestellübersicht */
.checkout-pad__discount {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 0.7rem;
    font-size: 0.9rem;
}
.checkout-pad__discount-label { color: var(--text-dim); }
.checkout-pad__discount-value {
    color: var(--success);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Consent — visually grouped fieldset */
.form-consent {
    margin: var(--space-sm) 0 var(--space-md);
    padding: 0.6rem 0 0.4rem;
    border: 0;
}

.form-checkbox {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-dim);
    cursor: pointer;
}
.form-checkbox input {
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
    cursor: pointer;
}
.form-checkbox a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.form-checkbox a:hover { color: var(--gold-bright); }
.form-checkbox__hint {
    color: var(--text-dim);
    opacity: 0.7;
    font-style: italic;
    font-size: 0.85em;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
}

/* ─── Promo toggle ────────────────────────────────────────────────── */

.promo-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    border: 0;
    color: var(--gold);
    font: inherit;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}
.promo-toggle:hover { color: var(--gold-bright); }
.promo-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid currentColor;
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, color 0.3s ease;
}
.promo-toggle__icon svg {
    width: 11px;
    height: 11px;
}
.promo-toggle__icon.is-open {
    transform: rotate(45deg);
    background: var(--gold);
    color: var(--text-dark);
    border-color: var(--gold);
}

/* Backwards-compat — old .btn-primary, kept for external links */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.85rem 1.6rem;
    border: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover:not(:disabled) {
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 134, 10, 0.35);
}

/* ─── Site Footer — verbatim from sommeregg.at ─────────────────────── */

.site-footer {
    background: linear-gradient(180deg, var(--stone-pale) 0%, var(--text-light) 100%);
    color: var(--text-dark);
    padding: 0 0 var(--space-md);
    position: relative;
    margin-top: var(--space-2xl);
}

/* Gold-Zinnen als oberer Mauerrand */
.footer-crenellation {
    height: 14px;
    background: repeating-linear-gradient(
        90deg,
        var(--gold) 0, var(--gold) 20px,
        transparent 20px, transparent 34px
    );
    opacity: 0.9;
}

/* Warmer „Burgmauer"-Sockel */
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding: var(--space-lg) 0 var(--space-sm);
}
.footer-logo-link { display: inline-block; transition: opacity 0.3s ease; }
.footer-logo-link:hover { opacity: 0.85; }
.site-footer .footer-logo {
    height: 62px;
    width: auto;
    margin: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.28));
}
.footer-tagline {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-bright);
}
.footer-crest {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    max-width: 240px;
    color: var(--gold-bright);
    margin: 0.1rem 0;
}
.footer-crest .footer-rule {
    flex: 1;
    height: 1px;
    background: var(--gold-dim);
    opacity: 0.45;
}
.footer-crest svg { width: 16px; height: 16px; opacity: 0.85; }
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.5rem;
}
.footer-contact li { list-style: none; margin: 0; padding: 0; }
.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--stone-warm);
    font-size: 0.86rem;
    text-decoration: none;
    transition: color 0.25s ease;
}
.footer-contact a:hover { color: var(--gold-bright); }
.footer-contact svg { width: 15px; height: 15px; opacity: 0.8; }
.site-footer .footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
    margin-top: 0.15rem;
}
.site-footer .footer-legal a {
    color: var(--stone-warm);
    text-decoration: none;
    transition: color 0.25s ease;
}
.site-footer .footer-legal a:hover { color: var(--gold-bright); }
.site-footer .footer-copyright {
    margin: 0.35rem 0 0;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    color: var(--stone-warm);
    opacity: 0.7;
}

.footer-main {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-xl);
    padding: var(--space-lg) 0 var(--space-md);
}
@media (max-width: 768px) {
    .footer-main { grid-template-columns: 1fr; gap: var(--space-lg); }
}

.footer-brand {
    border-right: 1px solid rgba(200, 134, 10, 0.06);
    padding-right: var(--space-lg);
}
@media (max-width: 768px) {
    .footer-brand { border-right: none; padding-right: 0; padding-bottom: var(--space-md); border-bottom: 1px solid rgba(200, 134, 10, 0.06); }
}
.footer-brand-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}
.footer-brand-link:hover { opacity: 0.8; }
.footer-logo {
    margin-bottom: 0.5rem;
    filter: brightness(1.05);
    width: auto;
    max-width: 150px;
    height: auto;
}
.footer-tagline {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--gold-dim);
    font-size: 0.88rem;
    margin: 0 0 0.75rem;
}
.footer-address {
    font-size: 0.8rem;
    color: var(--stone-light);
    line-height: 1.55;
}
.footer-address p { margin: 0; }

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
@media (max-width: 600px) {
    .footer-nav { grid-template-columns: 1fr; gap: var(--space-md); }
}

.footer-nav-col { text-align: left; }
.footer-nav-col h4 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(200, 134, 10, 0.08);
}
.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.footer-nav-col ul li { margin: 0; padding: 0; line-height: 1.55; }
.footer-nav-col ul a {
    color: var(--stone-pale);
    font-size: 0.85rem;
    line-height: 1.55;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
    position: relative;
    text-decoration: none;
}
.footer-nav-col ul a::before {
    content: '';
    position: absolute;
    left: -0.8rem;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.25s ease;
    transform: translateY(-50%);
}
.footer-nav-col ul a:hover { color: var(--gold); padding-left: 0.8rem; text-decoration: none; }
.footer-nav-col ul a:hover::before { width: 0.5rem; }

/* Contact list overrides */
.footer-contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.footer-contact-list a::before { display: none; }
.footer-contact-list a:hover { padding-left: 0; }
.footer-icon {
    color: var(--gold-dim);
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
    transition: color 0.25s ease;
}
.footer-contact-list a:hover .footer-icon { color: var(--gold); }

/* Divider */
.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--gold-dim);
    margin-top: var(--space-sm);
}
.footer-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 134, 10, 0.18), transparent);
    max-width: 280px;
}
.footer-divider svg { opacity: 0.6; }

/* Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    font-size: 0.78rem;
    color: var(--stone-light);
    letter-spacing: 0.03em;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.footer-copyright { margin: 0; }
.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.footer-legal a {
    color: var(--stone-light);
    transition: color 0.25s ease;
    text-decoration: none;
}
.footer-legal a:hover { color: var(--gold); }
.footer-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold-dim);
    opacity: 0.5;
}

/* ─── Confirmation pages — /erfolg, /abgebrochen ──────────────────── */
/*  Aesthetic: Königliche Urkunde — manuscript-style declaration with        *
 *  ornamental corners, a wax-seal star, and a cinematic stagger reveal.    */

.confirm-page {
    position: relative;
    min-height: 70vh;
    padding: clamp(3.2rem, 9vh, 5.6rem) clamp(1rem, 4vw, 1.6rem) clamp(3rem, 8vh, 5rem);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

.confirm-page__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 35% at 50% 18%, rgba(212, 160, 36, 0.10), transparent 70%),
        radial-gradient(ellipse 70% 30% at 50% 105%, rgba(180, 117, 10, 0.05), transparent 60%);
}
.confirm-page__atmosphere::before {
    /* Subtle parchment grain via repeating-radial — purely decorative. */
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 35%, rgba(180, 117, 10, 0.04) 0 1px, transparent 2px),
        radial-gradient(circle at 70% 65%, rgba(180, 117, 10, 0.03) 0 1px, transparent 2px),
        radial-gradient(circle at 45% 80%, rgba(180, 117, 10, 0.04) 0 1px, transparent 2px);
    background-size: 220px 220px, 180px 180px, 260px 260px;
    opacity: 0.6;
    mix-blend-mode: multiply;
}

.confirm-page__inner {
    position: relative;
    width: 100%;
    max-width: 580px;
    text-align: center;
}

/* ── Emblem (top crest) ─────────────────────────────────────────── */

.confirm-emblem {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    animation: confirm-emblem-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
    filter: drop-shadow(0 4px 14px rgba(180, 117, 10, 0.22));
}
.confirm-emblem svg {
    width: 100%;
    height: 100%;
}
.confirm-emblem--pending { color: var(--gold); animation: confirm-emblem-pulse 2s ease-in-out infinite, confirm-emblem-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) both; }
.confirm-emblem--err     { color: #b85c2c; }

@keyframes confirm-emblem-in {
    from { opacity: 0; transform: scale(0.65); filter: drop-shadow(0 0 0 rgba(180, 117, 10, 0)); }
    to   { opacity: 1; transform: scale(1);    filter: drop-shadow(0 4px 14px rgba(180, 117, 10, 0.22)); }
}
@keyframes confirm-emblem-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.65; }
}

/* ── Eyebrow with side rules ────────────────────────────────────── */

.confirm-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
    margin: 0 0 0.9rem;
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: var(--gold-dim);
    animation: confirm-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.20s both;
}
.confirm-eyebrow__line {
    flex: 0 0 auto;
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(180, 117, 10, 0.55), transparent);
}

/* ── Title ──────────────────────────────────────────────────────── */

.confirm-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.4vw, 3rem);
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.06;
    letter-spacing: 0.015em;
    margin: 0 0 1.6rem;
    animation: confirm-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}
.confirm-title em {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    font-size: 0.85em;
    letter-spacing: 0.005em;
}

/* ── Lead paragraph ─────────────────────────────────────────────── */

.confirm-lead {
    color: var(--text-dim);
    font-size: 1.04rem;
    line-height: 1.7;
    margin: 0 auto 2.4rem;
    max-width: 38em;
    animation: confirm-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.46s both;
}
.confirm-lead__email {
    color: var(--text-light);
    font-weight: 600;
    font-style: normal;
    background: linear-gradient(180deg, transparent 65%, rgba(212, 160, 36, 0.22) 65%);
    padding: 0 0.18em;
}

/* ── Charter (the receipt-as-manuscript) ────────────────────────── */

.confirm-charter {
    position: relative;
    background:
        linear-gradient(135deg, rgba(255, 248, 225, 0.58) 0%, rgba(241, 230, 200, 0.42) 100%);
    border: 1px solid rgba(180, 117, 10, 0.30);
    padding: 2.2rem 1.8rem 1.9rem;
    margin: 0 auto 2.2rem;
    max-width: 380px;
    text-align: center;
    box-shadow:
        0 0 0 1px rgba(255, 248, 225, 0.5) inset,
        0 14px 40px -18px rgba(92, 51, 23, 0.30),
        0 2px 8px -2px rgba(92, 51, 23, 0.10);
    animation: confirm-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.62s both;
}

/* Decorative L-corners */
.confirm-charter__corner {
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
}
.confirm-charter__corner::before,
.confirm-charter__corner::after {
    content: '';
    position: absolute;
    background: var(--gold);
}
.confirm-charter__corner::before { top: 0; left: 0; width: 14px; height: 1.5px; }
.confirm-charter__corner::after  { top: 0; left: 0; width: 1.5px; height: 14px; }

.confirm-charter__corner--tl { top: -1px; left: -1px; }
.confirm-charter__corner--tr { top: -1px; right: -1px; transform: scaleX(-1); }
.confirm-charter__corner--bl { bottom: -1px; left: -1px; transform: scaleY(-1); }
.confirm-charter__corner--br { bottom: -1px; right: -1px; transform: scale(-1, -1); }

/* Charter head: ornament with side rules */
.confirm-charter__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 0 0 1.3rem;
    /* Override Pico's default <article>><header> sectioning treatment. */
    background: transparent;
    padding: 0;
    border: 0;
}
.confirm-charter__rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(180, 117, 10, 0.45), transparent);
    max-width: 90px;
}
.confirm-charter__seal {
    display: inline-flex;
    color: var(--gold);
    flex-shrink: 0;
}
.confirm-charter__seal svg {
    width: 14px;
    height: 14px;
}

/* Rows */
.confirm-charter__rows {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.confirm-charter__rows > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
.confirm-charter__rows dt {
    font-family: var(--font-heading);
    font-size: 0.66rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin: 0;
}
.confirm-charter__rows dd {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.confirm-charter__rows code {
    font-family: 'SF Mono', 'Menlo', 'Consolas', ui-monospace, monospace;
    font-size: 0.78em;
    color: var(--gold);
    letter-spacing: 0.04em;
    background: transparent;
    font-weight: 600;
}
.confirm-charter__rows--solo > div {
    margin: 0.2rem 0;
}

/* Star divider between rows */
.confirm-charter__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    color: var(--gold);
    margin: 0;
}
.confirm-charter__divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(180, 117, 10, 0.32), transparent);
    max-width: 90px;
}
.confirm-charter__divider svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    opacity: 0.85;
}

/* ── Hint ───────────────────────────────────────────────────────── */

.confirm-hint {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 440px;
    margin: 0 auto 2.4rem;
    animation: confirm-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.78s both;
}
.confirm-hint em {
    font-style: italic;
    color: var(--text-light);
}

/* ── CTA ────────────────────────────────────────────────────────── */

.confirm-actions {
    animation: confirm-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.94s both;
}
.confirm-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.05rem 2.2rem;
    background: var(--gold);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 220ms ease, box-shadow 220ms ease, transform 100ms ease, letter-spacing 220ms ease;
    box-shadow:
        0 1px 0 rgba(255, 248, 225, 0.45) inset,
        0 8px 22px -8px rgba(180, 117, 10, 0.50),
        0 2px 6px -2px rgba(92, 51, 23, 0.18);
}
.confirm-cta:hover {
    background: var(--gold-bright);
    color: var(--text-dark);
    text-decoration: none;
    box-shadow:
        0 1px 0 rgba(255, 248, 225, 0.5) inset,
        0 14px 32px -10px rgba(180, 117, 10, 0.55),
        0 4px 10px -2px rgba(92, 51, 23, 0.22);
    letter-spacing: 0.27em;
}
.confirm-cta:active { transform: translateY(1px); }

.confirm-cta__corner {
    position: absolute;
    width: 8px;
    height: 8px;
    pointer-events: none;
}
.confirm-cta__corner::before,
.confirm-cta__corner::after {
    content: '';
    position: absolute;
    background: var(--gold);
}
.confirm-cta__corner::before { top: 0; left: 0; width: 8px;   height: 1.5px; }
.confirm-cta__corner::after  { top: 0; left: 0; width: 1.5px; height: 8px;   }

.confirm-cta__corner--tl { top: -4px;    left: -4px; }
.confirm-cta__corner--br { bottom: -4px; right: -4px; transform: scale(-1, -1); }

.confirm-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 220ms ease;
}
.confirm-cta:hover svg { transform: translateX(4px); }

/* Stagger keyframe */
@keyframes confirm-rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .confirm-emblem,
    .confirm-eyebrow,
    .confirm-title,
    .confirm-lead,
    .confirm-charter,
    .confirm-hint,
    .confirm-actions { animation: none; }
}

.checkout-pad__error {
    margin: 0.6rem 0 0;
    padding: 0.65rem 0.85rem;
    background: rgba(184, 92, 44, 0.08);
    border: 1px solid rgba(184, 92, 44, 0.32);
    border-radius: 10px;
    color: #b85c2c;
    font-size: 0.88rem;
    line-height: 1.4;
    text-align: center;
}

/* ─── Legal pages — AGB + Datenschutz-Snippet ─────────────────────── */

.legal-page {
    padding: clamp(2rem, 6vh, 3.5rem) 0 clamp(3rem, 8vh, 5rem);
    background:
        radial-gradient(ellipse 60% 30% at 50% 0%, rgba(212, 160, 36, 0.05), transparent 70%),
        var(--stone-darkest);
}
.legal {
    max-width: 760px;
}

.legal__head {
    margin: 0 0 2rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(180, 117, 10, 0.20);
    text-align: center;
}
.legal__eyebrow {
    font-family: var(--font-heading);
    font-size: 0.74rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin: 0 0 0.5rem;
}
.legal__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.15;
    letter-spacing: 0.015em;
    margin: 0 0 0.6rem;
}
.legal__lead {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
.legal__lead code {
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 0.88em;
    color: var(--gold);
    background: transparent;
}

.legal__draft-warning {
    background: rgba(214, 99, 49, 0.10);
    border: 1px solid rgba(214, 99, 49, 0.32);
    border-left: 3px solid #b85c2c;
    color: var(--text-light);
    padding: 0.9rem 1.1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 2rem;
}
.legal__draft-warning code {
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 0.85em;
    background: rgba(180, 117, 10, 0.10);
    padding: 0 0.3em;
    border-radius: 3px;
    color: var(--gold);
}

.legal__body {
    /* Override Pico's default <article> sectioning treatment. */
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    margin: 0;
}
.legal__body h2 {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.03em;
    line-height: 1.3;
    margin: 2.2rem 0 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(180, 117, 10, 0.14);
}
.legal__body h2:first-child { padding-top: 0; border-top: 0; margin-top: 0; }

.legal__body p,
.legal__body ul,
.legal__body table,
.legal__body address {
    color: var(--text-light);
    font-size: 0.96rem;
    line-height: 1.75;
    margin: 0 0 1rem;
}
.legal__body strong { color: var(--text-light); font-weight: 700; }
.legal__body em {
    font-style: italic;
    color: rgba(214, 99, 49, 0.85);
    background: rgba(214, 99, 49, 0.08);
    padding: 0 0.3em;
    border-radius: 3px;
}
.legal__body a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}
.legal__body a:hover { color: var(--gold-bright); }
.legal__body code {
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 0.86em;
    color: var(--gold);
    background: rgba(180, 117, 10, 0.08);
    padding: 0.05em 0.35em;
    border-radius: 3px;
}

.legal__body ul {
    padding-left: 1.4rem;
}
.legal__body ul li {
    margin: 0 0 0.4rem;
}

.legal__addr {
    font-family: var(--font-body);
    font-style: normal;
    background: rgba(255, 248, 225, 0.85);
    border: 1px solid rgba(180, 117, 10, 0.22);
    border-radius: 4px;
    padding: 0.9rem 1.1rem;
    margin: 0 0 1.4rem;
    line-height: 1.75;
    font-size: 0.95rem;
    color: var(--text-light);
}

.legal__table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5rem 0 1.2rem;
    font-size: 0.9rem;
    line-height: 1.55;
}
.legal__table th,
.legal__table td {
    padding: 0.55rem 0.7rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(180, 117, 10, 0.14);
}
.legal__table th {
    font-family: var(--font-heading);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-dim);
    background: rgba(255, 248, 225, 0.40);
}
.legal__table td:first-child { color: var(--text-light); }

.legal__foot {
    margin-top: 2.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(180, 117, 10, 0.16);
}
.legal__back {
    color: var(--gold);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.legal__back:hover { color: var(--gold-bright); }

/* ─── Inline form validation ──────────────────────────────────────── */

.form-field__error {
    display: block;
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #b85c2c;
    font-style: normal;
    animation: form-err-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.form-field__error--consent {
    margin: 0.1rem 0 0.3rem 1.85rem;
    font-size: 0.82rem;
}

.form-field.is-invalid > label {
    color: #b85c2c;
}
.form-field.is-invalid input[type=text],
.form-field.is-invalid input[type=email],
.form-field.is-invalid input[type=tel] {
    border-color: rgba(184, 92, 44, 0.55);
    background: rgba(245, 222, 200, 0.30);
    box-shadow: 0 0 0 3px rgba(184, 92, 44, 0.12);
}

.form-checkbox.is-invalid {
    color: #b85c2c;
}
.form-checkbox.is-invalid input[type=checkbox] {
    outline: 2px solid rgba(184, 92, 44, 0.55);
    outline-offset: 2px;
    border-radius: 2px;
}

@keyframes form-err-in {
    from { opacity: 0; transform: translateY(-3px); }
    to   { opacity: 1; transform: translateY(0); }
}
