/* Virtuelle Ausstellung. Bewusst ohne Vite-Build; die Schriften (DM Serif Display, Martel Sans) liefert das Template
   per @font-face aus denselben Dateien wie die Site (resources/fonts). */

:root {
    --ink: #efe9df;
    --ink-soft: #9d958a;
    --paper: #141210;
    --line: rgba(239, 233, 223, .16);
    --sold: #d0493e;
    --ease: cubic-bezier(.22, .7, .2, 1);
    --display: 'DM Serif Display', Georgia, serif;
    --sans: 'Martel Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
    margin: 0;
    height: 100%;
    background: #0f0e0d;
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

body { overflow: hidden; overscroll-behavior: none; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
/* keine Umrandungen – Tastaturfokus nur als dezenter Hintergrund */
button, a { outline: none; -webkit-tap-highlight-color: transparent; }
:is(button, a):focus-visible { background-color: rgba(255, 255, 255, .08); }
.ex-btn:focus-visible { background-color: #fff; }

.ex { position: fixed; inset: 0; }

.ex-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
    cursor: grab;
    outline: none;
}
.ex-canvas.is-dragging { cursor: grabbing; }
.ex-canvas.is-pointer { cursor: pointer; }

.ex-kicker {
    margin: 0 0 .9rem;
    font-size: .68rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.ex-link {
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: .2rem;
    opacity: .75;
    transition: opacity .3s;
}
.ex-link:hover { opacity: 1; }

.ex-btn {
    display: inline-block;
    padding: 1rem 2.2rem .85rem;
    background: var(--ink);
    color: var(--paper);
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .3s, opacity .4s;
}
.ex-btn:hover { background: #fff; }
.ex-btn:disabled { opacity: .25; cursor: default; }
.ex-btn--small { padding: .85rem 1.6rem .7rem; }

/* Kopfzeile */
.ex-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: max(1.4rem, env(safe-area-inset-top)) clamp(1.2rem, 3vw, 2.4rem) 0;
    pointer-events: none;
    z-index: 3;
}
.ex-top > * { pointer-events: auto; }
.ex-brand { display: flex; flex-direction: column; gap: .15rem; }
.ex-brand { min-width: 0; align-items: flex-start; }
.ex-brand-name { font-family: var(--display); font-size: 1.5rem; line-height: 1; white-space: nowrap; }
a.ex-brand-name { color: inherit; text-decoration: none; }
.ex-brand-sub {
    font-size: .64rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ex-top-actions { display: flex; align-items: center; gap: 1.8rem; }

/* Menü-Button + Menü: nur mobil (siehe Media-Query unten) */
.ex-menu-btn, .ex-menu { display: none; }

/* Räume-Menü */
.ex-rooms { position: relative; }
.ex-rooms .ex-link { cursor: pointer; }
.ex-rooms-list {
    position: absolute;
    top: calc(100% + .9rem);
    right: 0;
    min-width: 13rem;
    margin: 0;
    padding: .4rem 0;
    list-style: none;
    background: rgba(20, 18, 16, .94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.ex-rooms-list button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: .7rem 1.2rem .55rem;
    font-family: var(--display);
    font-size: 1.15rem;
    text-align: left;
    transition: background .2s;
}
.ex-rooms-list button:hover { background: rgba(255, 255, 255, .05); }
.ex-rooms-list button span {
    font-family: var(--sans);
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.ex-rooms-list button.is-current { color: #d2b07a; }

/* Mobil: einzeilige Kopfleiste (Marke + Raumname links, EIN Menü-Button rechts) statt dreier Versalien-Links.
   Verlauf statt Kante, damit der Raum darunter nicht abgeschnitten wirkt. */
@media (max-width: 899px) {
    .ex-top {
        align-items: center;
        gap: .8rem;
        padding: max(.7rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 1.6rem max(1rem, env(safe-area-inset-left));
        background: linear-gradient(to bottom, rgba(12, 11, 10, .88) 0%, rgba(12, 11, 10, .62) 55%, rgba(12, 11, 10, 0) 100%);
    }
    .ex-brand { flex: 1 1 auto; gap: .3rem; }
    .ex-brand-name { font-size: 1.25rem; }
    .ex-brand-sub { font-size: .6rem; letter-spacing: .2em; }
    .ex-top-actions { display: none; }
    .ex-menu-btn {
        flex: none;
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin: -2px 0;
        color: var(--ink);
        background: rgba(20, 18, 16, .55);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
    .ex-menu-icon { grid-area: 1 / 1; width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.4; }
    .ex-menu-icon--close, .ex-menu-btn[aria-expanded='true'] .ex-menu-icon--open { display: none; }
    .ex-menu-btn[aria-expanded='true'] .ex-menu-icon--close { display: block; }
    .ex-menu {
        position: absolute;
        top: calc(100% - 1.6rem + .3rem);
        right: max(1rem, env(safe-area-inset-right));
        left: max(1rem, env(safe-area-inset-left));
        display: flex;
        flex-direction: column;
        max-height: calc(100dvh - 5.5rem - env(safe-area-inset-top));
        overflow-y: auto;
        overscroll-behavior: contain;
        background: rgba(20, 18, 16, .97);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        border: 1px solid var(--line);
    }
    .ex-menu[hidden] { display: none; }
    .ex-menu-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
        min-height: 3.25rem;
        padding: .8rem 1.2rem .7rem;
        font-family: var(--display);
        font-size: 1.25rem;
        line-height: 1.2;
        text-align: left;
        color: var(--ink);
        text-decoration: none;
        border-bottom: 1px solid var(--line);
    }
    .ex-menu > :last-child { border-bottom: 0; }
    .ex-menu-item svg { flex: none; width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s var(--ease); }
    .ex-menu-item[aria-expanded='true'] svg { transform: rotate(180deg); }
    .ex-menu-rooms { margin: 0; padding: 0; list-style: none; background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--line); }
    .ex-menu-rooms button {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 1rem;
        width: 100%;
        min-height: 3rem;
        padding: .7rem 1.2rem .6rem 1.8rem;
        font-family: var(--display);
        font-size: 1.1rem;
        text-align: left;
    }
    .ex-menu-rooms button span { font-family: var(--sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
    .ex-menu-rooms button.is-current { color: #d2b07a; }
    /* Kaufanfrage hat Vorrang; das Menü liegt darunter und braucht keinen Fokus */
    .ex.is-buying .ex-menu-btn { visibility: hidden; }
}

/* Hinweis im Durchgang (Hover) */
.ex-door-tip {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) translateY(.4rem);
    transition: opacity .35s var(--ease), transform .5s var(--ease);
    text-shadow: 0 1px 18px rgba(0, 0, 0, .9);
    will-change: left, top;
}
.ex-door-tip.is-visible { opacity: 1; transform: translate(-50%, -50%); }
.ex-door-tip-kicker {
    font-size: .62rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.ex-door-tip-title {
    font-family: var(--display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    color: #d2b07a;
}
.ex-door-tip-sub { font-size: .78rem; color: var(--ink); opacity: .8; }
.ex-door-tip-sub:empty { display: none; }

/* Bewegungs-Joystick (nur Touch) */
.ex-joy {
    position: absolute;
    left: max(1.2rem, env(safe-area-inset-left));
    bottom: calc(max(1.4rem, env(safe-area-inset-bottom)) + 4.4rem);
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 50%;
    background: rgba(20, 18, 16, .55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3;
    touch-action: none;
    display: none;
    transition: opacity .4s;
}
.ex.has-touch .ex-joy { display: block; }
.ex.is-focused .ex-joy,
.ex:has(.ex-intro:not(.is-hidden)) .ex-joy { opacity: 0; pointer-events: none; }
.ex-joy-knob {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2.6rem;
    height: 2.6rem;
    margin: -1.3rem 0 0 -1.3rem;
    border-radius: 50%;
    background: rgba(239, 233, 223, .85);
    transition: transform .2s var(--ease);
}
.ex-joy.is-active .ex-joy-knob { transition: none; }

/* Überblendung zwischen Räumen */
.ex-fade {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: grid;
    place-content: center;
    justify-items: center;
    background: #0b0a09;
    opacity: 0;
    pointer-events: none;
    transition: opacity .7s var(--ease);
}
.ex-fade.is-on { opacity: 1; pointer-events: auto; }
.ex-fade-kicker {
    margin: 0 0 .6rem;
    font-size: .68rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.ex-fade-title {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(3.4rem, 10vw, 7rem);
    line-height: 1;
    color: #d2b07a;
    transform: translateY(.4rem);
    opacity: 0;
    transition: opacity .6s .15s, transform .9s .15s var(--ease);
}
.ex-fade.is-on .ex-fade-title { opacity: 1; transform: none; }
.ex-progress--fade { margin: 2.2rem auto 0; opacity: 0; transition: opacity .4s; }
.ex-fade.is-slow .ex-progress--fade { opacity: 1; }

/* Intro */
.ex-intro {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-items: center;
    background: rgba(15, 14, 13, .8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: opacity 1.1s var(--ease), visibility 0s 1.1s;
}
.ex-intro.is-hidden { opacity: 0; visibility: hidden; }
.ex-intro-inner { text-align: center; padding: 2rem; max-width: 34rem; }
.ex-intro-title {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.8rem, 8vw, 5.4rem);
    line-height: .95;
    letter-spacing: -.01em;
}
.ex-intro-text {
    margin: 1.4rem auto 2.2rem;
    max-width: 24rem;
    color: var(--ink-soft);
    font-size: .95rem;
    line-height: 1.7;
}
.ex-progress {
    width: 9rem;
    height: 1px;
    margin: 0 auto 2rem;
    background: var(--line);
    overflow: hidden;
}
.ex-progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.ex-intro-hint {
    margin: 1.6rem 0 0;
    font-size: .72rem;
    color: var(--ink-soft);
    letter-spacing: .04em;
}

/* Rundgang-Navigation */
.ex-nav {
    position: absolute;
    left: 50%;
    bottom: max(1.4rem, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    background: rgba(20, 18, 16, .78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3;
    transition: opacity .5s, transform .6s var(--ease);
}
.ex-nav-btn { width: 3.2rem; height: 3.2rem; display: grid; place-items: center; transition: background .25s; }
.ex-nav-btn:hover { background: rgba(255, 255, 255, .06); }
.ex-nav-btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.3; }
.ex-nav-label {
    min-width: 7.5rem;
    white-space: nowrap;
    height: 3.2rem;
    padding: .2rem 1rem 0;
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}

/* Werk-Panel */
.ex-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    padding: 7rem 2.6rem 3rem;
    background: rgba(20, 18, 16, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-left: 1px solid var(--line);
    z-index: 4;
    transform: translateX(100%);
    transition: transform .8s var(--ease);
    overflow-y: auto;
}
.ex-panel.is-open { transform: none; }
.ex-panel-close {
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
}
.ex-panel-close svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.2; }
.ex-panel-title {
    margin: 0 0 2.2rem;
    font-family: var(--display);
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 1.02;
}
.ex-panel-meta { margin: 0 0 1.8rem; border-top: 1px solid var(--line); }
.ex-panel-meta > div {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 1rem;
    padding: .9rem 0 .75rem;
    border-bottom: 1px solid var(--line);
}
.ex-panel-meta dt {
    font-size: .64rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding-top: .15rem;
}
.ex-panel-meta dd { margin: 0; font-size: .9rem; line-height: 1.55; }
.ex-panel-status { margin: 0 0 1.6rem; font-size: .9rem; display: flex; align-items: center; gap: .6rem; }
.ex-panel-status:empty { display: none; }
.ex-panel-status .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--sold); }

.ex-hint {
    position: absolute;
    left: 50%;
    bottom: calc(max(1.4rem, env(safe-area-inset-bottom)) + 4.4rem);
    transform: translateX(-50%);
    margin: 0;
    padding: .55rem 1rem .4rem;
    font-size: .72rem;
    color: var(--ink-soft);
    background: rgba(20, 18, 16, .6);
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
    transition: opacity .8s;
}
.ex-hint.is-hidden { opacity: 0; }

.ex.is-focused .ex-hint { opacity: 0; }

@media (min-width: 900px) {
    .ex.is-focused .ex-nav { transform: translateX(calc(-50% - 190px)); }
}

/* Mobil: Panel als Bottom-Sheet */
@media (max-width: 899px) {
    /* sitzt über der Rundgang-Navigation (statt darunter), damit die Kaufanfrage-Schaltfläche nie verdeckt wird */
    .ex-panel {
        top: auto;
        left: 0;
        bottom: calc(max(1.4rem, env(safe-area-inset-bottom)) + 3.2rem + .6rem);
        width: auto;
        max-height: 46vh;
        max-height: 46dvh;
        padding: 1.4rem 1.4rem 1.2rem;
        border-left: 0;
        border-top: 1px solid var(--line);
        transform: translateY(calc(100% + 5rem));
    }
    .ex-panel-close { top: .6rem; right: .6rem; width: 2.75rem; height: 2.75rem; }
    .ex-panel .ex-kicker { margin-bottom: .6rem; }
    .ex-panel-title { font-size: 1.7rem; margin-bottom: .9rem; padding-right: 2.5rem; }
    .ex-panel-meta { margin-bottom: 1rem; }
    .ex-panel-meta > div { grid-template-columns: 4.5rem 1fr; gap: .8rem; padding: .5rem 0 .4rem; }
    .ex-panel-status { margin-bottom: 1rem; }
    .ex-nav { z-index: 5; }
    .ex-hint { display: none; }
}

/* Kaufanfrage im Raum. Desktop: ersetzt das Werk-Panel (Seitenpanel), mobil: Bottom Sheet.
   Markup aus den Form-Partials der Site (partials/exhibition/_buy-form), Logik in exhibition.js. */
.ex-buy { --accent: #c9a77c; position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.ex-buy > * { pointer-events: auto; }
.ex-buy-backdrop { position: absolute; inset: 0; background: rgba(8, 7, 6, .5); }
.ex-buy-sheet {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.ex-buy-grip { display: none; }
.ex-buy-sheet > .ex-panel-close { color: var(--ink); }
.ex-buy-back {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    color: var(--ink-soft);
    transition: color .25s;
}
.ex-buy-back:hover { color: var(--ink); }
.ex-buy-back svg { width: .9rem; height: .9rem; fill: none; stroke: currentColor; stroke-width: 1.4; }
.ex-buy-head { display: flex; gap: .9rem; align-items: center; }
.ex-buy-head-text { display: flex; flex-direction: column; gap: .35rem; min-width: 0; flex: 1 1 auto; }
.ex-buy-kicker { margin: 0; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ex-buy-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: 2.5rem; line-height: 1.05; outline: none; }
.ex-buy-meta { margin: 0; font-size: .875rem; color: var(--ink-soft); }
.ex-buy-thumb { display: none; width: 4rem; height: 4rem; object-fit: cover; border: 4px solid #f4efe6; flex: none; }
.ex-buy-note { margin: 1rem 0 0; font-size: .75rem; line-height: 1.5; color: var(--ink-soft); }
.ex-buy-thanks-text {
    margin: 0 0 1.8rem;
    font-family: var(--display);
    font-size: 1.5rem;
    line-height: 1.3;
    outline: none;
}

/* Felder */
.ex-buy .form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-bottom: 1.2rem; }
.ex-buy .field { grid-column: 1 / -1; min-width: 0; display: flex; flex-direction: column; gap: .4rem; }
.ex-buy .field.name-e-mail, .ex-buy .field.name-telefon, .ex-buy .field.name-plz, .ex-buy .field.name-ort { grid-column: auto; }
.ex-buy .field.name-kunstwerk { display: none; } /* vorbefüllt, der Titel steht im Kopf */
.ex-buy .field--boxed > label { font-size: .75rem; color: #c9c1b5; }
.ex-buy .field--boxed:has([required]) > label::after { content: ' *'; }
.ex-buy .field input:not([type='checkbox']) {
    width: 100%;
    height: 2.75rem;
    padding: 0 .9rem;
    border: 1px solid rgba(239, 233, 223, .22);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: .95rem;
    outline: none;
    transition: border-color .25s;
}
.ex-buy .field input:not([type='checkbox']):focus { border-color: var(--ink); }
.ex-buy .field input::placeholder { color: #7d766d; }
.ex-buy .field input:-webkit-autofill { -webkit-text-fill-color: var(--ink); transition: background-color 9999s; }
.ex-buy .field.toggle label {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: .8rem;
    line-height: 1.5;
    color: #c9c1b5;
    cursor: pointer;
}
.ex-buy .field.toggle input { flex: none; width: 1.15rem; height: 1.15rem; margin: .1rem 0 0; accent-color: var(--accent); }
.ex-buy .field.toggle a { color: var(--ink); text-underline-offset: .2em; }
.ex-buy .field.toggle:focus-within label { background: rgba(255, 255, 255, .05); }
.ex-buy .field.error input:not([type='checkbox']) { border-color: var(--sold); }
.ex-buy .field.error > label { color: var(--sold); }
.ex-buy .field__error,
.ex-buy .ex-buy-error { display: block; margin: 0; font-size: .78rem; line-height: 1.45; color: var(--sold); }
.ex-buy .ex-buy-error { margin: 0 0 1rem; }
.ex-buy .ex-buy-error ul { margin: 0; padding-left: 1.1rem; }
.ex-buy .hidden { display: none !important; }
.ex-buy .ex-btn,
.ex-buy .ex-btn:focus-visible {
    width: 100%;
    height: 3.125rem;
    padding: 0 1rem;
    background: #efe9df;
    color: #141210;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: none;
    cursor: pointer;
}
.ex-buy .ex-btn:hover,
.ex-buy .ex-btn:focus-visible { background: #fff; }
.ex-buy .ex-btn:disabled { opacity: .5; cursor: progress; }

/* Desktop: rechtes Seitenpanel, Raum bleibt sichtbar (kein Backdrop) */
@media (min-width: 900px) {
    .ex-buy-backdrop { display: none; }
    .ex-buy-sheet {
        top: 0;
        right: 0;
        bottom: 0;
        width: 460px;
        padding: 5.75rem 2.75rem 2.25rem;
        background: rgba(20, 18, 16, .96);
        border-left: 1px solid rgba(239, 233, 223, .12);
    }
    .ex-buy-sheet > .ex-panel-close { top: 1.6rem; right: 1.9rem; }
    .ex-buy-back { position: absolute; top: 2.1rem; left: 2.75rem; }
    .ex-buy-sheet { gap: 1.4rem; }
    /* das Werk-Panel dahinter würde durch den leicht transparenten Grund scheinen */
    .ex.is-buying .ex-panel, .ex.is-buying .ex-top-actions { visibility: hidden; }
}

/* Mobil: Bottom Sheet */
@media (max-width: 899px) {
    .ex-buy-sheet {
        left: 0;
        right: 0;
        bottom: 0;
        height: 82vh;
        height: 82dvh;
        padding: .9rem 1.4rem calc(1.6rem + env(safe-area-inset-bottom));
        background: #1b1815;
        border-top: 1px solid rgba(239, 233, 223, .14);
        gap: 1.1rem;
    }
    .ex-buy-grip { display: block; flex: none; align-self: center; width: 2.5rem; height: 4px; background: rgba(239, 233, 223, .3); }
    .ex-buy-back, .ex-buy-note { display: none; }
    .ex-buy-sheet > .ex-panel-close { top: 1.9rem; right: .8rem; }
    .ex-buy-head { padding-right: 2.6rem; }
    .ex-buy-thumb { display: block; }
    .ex-buy-thumb[hidden] { display: none; }
    .ex-buy-kicker { font-size: .7rem; }
    .ex-buy-title { font-size: 1.75rem; }
    .ex-buy-meta { font-size: .8rem; }
    .ex-buy .form-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1rem; }
    .ex-buy .field.name-e-mail, .ex-buy .field.name-telefon { grid-column: 1 / -1; }
    .ex-buy .field.name-plz { grid-column: span 1; }
    .ex-buy .field.name-ort { grid-column: span 2; }
    .ex-buy .field input:not([type='checkbox']) { height: 2.875rem; font-size: 1rem; } /* 16px: kein iOS-Zoom */
    .ex-buy .ex-btn, .ex-buy .ex-btn:focus-visible { height: 3.25rem; font-size: 1rem; }
}

.ex-empty {
    min-height: 100vh;
    display: grid;
    place-content: center;
    gap: 1rem;
    text-align: center;
    padding: 2rem;
    background: var(--paper);
}
.ex-empty h1 { margin: 0 0 1rem; font-family: var(--display); font-weight: 400; font-size: 2.2rem; }

@media (prefers-reduced-motion: reduce) {
    .ex-panel, .ex-intro, .ex-nav { transition-duration: .01s; }
}
