/* ==========================================================================
   Bestellen (/order) – seitenspezifisch. Aufbau, Karte, Felder & Typo aus
   pages.css. Checkout-Layout: links die Karte (Anmeldung/Formular/Erfolg),
   rechts die Produkt-Zusammenfassung auf Markengold (Buch · Vorzüge ·
   Versandkosten). Mobil gestapelt: Karte oben, Zusammenfassung darunter.
   ========================================================================== */
.ord-layout { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); max-width: 44rem; margin-inline: auto; }
@media (min-width: 920px) {
    .ord-layout {
        max-width: none;
        grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
        align-items: start;
    }
    /* Zusammenfassung läuft beim Scrollen mit (unterhalb der fixierten Nav).
       (.ord-layout-Präfix: gewinnt gegen das position:relative der Basisregel.) */
    .ord-layout > .ord-product { position: sticky; top: calc(var(--nav-h, 6rem) + 1rem); }
    /* Ohne Produkt-Panel (nicht angemeldet): einspaltige, zentrierte Karte. */
    .ord-layout--solo { max-width: 44rem; grid-template-columns: minmax(0, 1fr); }
}

/* ---- Produkt-Zusammenfassung (Markengold, wie das Spenden-Band) --------- */
.ord-product {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column;   /* Bild unten, Text oben */
    border-radius: var(--p-radius);
    background: var(--gold);
    color: var(--gold-ink);
}
/* Marken-Motiv als dezentes weißes Wasserzeichen hinter dem Inhalt. */
.ord-product::before {
    content: ""; position: absolute; z-index: 0;
    top: 50%; left: 0;
    height: 170%; aspect-ratio: 1;
    transform: translate(-50%, -50%);   /* am linken Rand zentriert (linksbündig) */
    background: url("../images/SVG/overlay-icon.svg") center / contain no-repeat;
    filter: brightness(0) invert(1); opacity: .08;
    pointer-events: none;
}
/* Bild unten, randlos (wie /spenden): schließt bündig mit der Panel-Unterkante
   ab (das Motiv ist unten beschnitten) und nimmt etwaige Extra-Höhe auf. */
.ord-product__media {
    position: relative; z-index: 1;
    flex: 1;
    display: grid; align-items: end; justify-items: center;
    padding: 0;
}
.ord-product__media img {
    width: 100%; height: auto;
    display: block;
}
.ord-product__body {
    position: relative; z-index: 1;
    display: grid; gap: .9rem;
    padding: clamp(1.1rem, 3vw, 1.5rem) clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.75rem);
}
.ord-product__name {
    margin: 0; color: var(--gold-ink);
    font-family: var(--font-display-medium);
    font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.15;
}
.ord-product__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ord-product__list li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .92rem; }
.ord-product__check {
    display: grid; place-items: center; flex: none;
    width: 1.45rem; height: 1.45rem; border-radius: var(--radius-full);
    background: var(--color-surface); color: var(--gold);
}
.ord-product__check svg { width: .8rem; height: .8rem; }

/* Versandkosten als Bestell-Übersicht: weiße Trennlinien, Preis rechts. */
.ord-product__ship { border-top: 1px solid color-mix(in srgb, var(--gold-ink) 35%, transparent); padding-top: .9rem; }
.ord-product__ship-title {
    margin: 0 0 .35rem; font-size: .72rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: color-mix(in srgb, var(--gold-ink) 85%, transparent);
}
.ord-product__rates { list-style: none; margin: 0; padding: 0; }
.ord-product__rates li {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    padding: .45rem .55rem; margin-inline: -.55rem;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    transition: background var(--transition);
}
.ord-product__price { font-weight: 700; font-variant-numeric: tabular-nums; }
/* Gewähltes Lieferland (per JS mit dem Formular synchron): weiße Pille. */
.ord-product__rates li.is-active { background: var(--color-surface); color: var(--gold); }

/* ---- Formular-Feinheiten ------------------------------------------------ */
.ord-form__title { margin-bottom: .4rem; }

/* Abschnitts-Label im Formular (Kontakt · Lieferadresse). */
.ord-sect {
    margin: 1.4rem 0 -.2rem; color: var(--gold);
    font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.ord-sect:first-of-type { margin-top: .9rem; }

/* Adresse: Straße breit, Hausnummer schmal – mobil gestapelt. */
.ord-row-street { grid-template-columns: 1fr .5fr; }
@media (max-width: 720px) { .ord-row-street { grid-template-columns: minmax(0, 1fr); } }

/* Hinweis auf die Partner-Seite für Mehrfachbestellungen. */
.ord-partner { margin-top: .85rem; text-align: center; }
.ord-partner a { color: var(--gold); font-weight: 600; text-decoration: none; }
.ord-partner a:hover { text-decoration: underline; }

/* ---- Konto-Bereich: Anmelde-Aufforderung + Bestellbestätigung ---------- */
.ord-login, .ord-success {
    display: grid;
    justify-items: center;
    gap: .7rem;
    text-align: center;
    padding: clamp(.5rem, 2vw, 1.25rem) 0;
}
.ord-login__ic, .ord-success__ic {
    display: grid; place-items: center;
    width: 3.2rem; height: 3.2rem;
    border-radius: var(--radius-full);
    margin-bottom: .2rem;
}
.ord-login__ic { background: color-mix(in srgb, var(--secondary) 12%, var(--surface-mix)); color: var(--secondary); }
.ord-login__ic svg { width: 1.45rem; height: 1.45rem; }
.ord-success__ic { background: color-mix(in srgb, var(--gold) 16%, var(--surface-mix)); color: var(--gold); }
.ord-success__ic svg { width: 1.5rem; height: 1.5rem; }
.ord-login__title, .ord-success__title { margin: 0; }
.ord-login .pcta, .ord-success .pcta { margin-top: .5rem; }
.ord-login__alt { margin: .2rem 0 0; color: var(--text-muted); font-size: .95rem; }
.ord-login__alt a { color: var(--gold); font-weight: 600; text-decoration: none; }
.ord-login__alt a:hover { text-decoration: underline; }

/* Bestellzusammenfassung auf der Danke-Seite. */
.ord-summary {
    width: 100%;
    max-width: 26rem;
    margin: .4rem 0 .2rem;
    display: grid;
    gap: .55rem;
    text-align: left;
}
.ord-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .55rem;
    border-bottom: 1px solid var(--border);
}
.ord-summary__row dt { margin: 0; color: var(--text-muted); }
.ord-summary__row dd { margin: 0; font-weight: 600; text-align: right; }
.ord-summary__row--total {
    border-bottom: none;
    font-size: 1.08rem;
}
.ord-summary__row--total dt { color: var(--text); font-weight: 700; }
.ord-summary__row--total dd { color: var(--gold); }

/* ---- Häufige Fragen (FAQ): modernes Karten-Akkordeon --------------------- */
.ord-faq {
    max-width: 46rem;
    margin: clamp(2.75rem, 6vw, 4.5rem) auto 0;
}
.ord-faq__head {
    text-align: center;
    margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}
.ord-faq__eyebrow {
    display: inline-block;
    margin-bottom: .6rem;
    padding: .3rem .85rem;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--gold) 14%, transparent);
    color: var(--gold);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ord-faq__title { margin: 0; }

/* Kartenliste: jede Frage eine eigene, abgesetzte Karte mit Abstand. */
.ord-faq__list {
    display: grid;
    gap: .7rem;
}
.ord-faq__item {
    border-radius: var(--radius-lg);
    background: var(--surface-card);
    overflow: hidden;
    transition: background var(--dur-fast) var(--ease-hover);
}
.ord-faq__item:hover,
.ord-faq__item[open] {
    /* Aktive/gehoverte Karte in derselben Navy-Tönung wie .qlib__card:hover. */
    background: color-mix(in srgb, var(--secondary) 16%, var(--surface-card));
}
.ord-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    list-style: none;                 /* Standard-Dreieck ausblenden */
}
.ord-faq__q::-webkit-details-marker { display: none; }
.ord-faq__q:focus-visible { outline: var(--focus-ring); outline-offset: -2px; border-radius: var(--radius-lg); }
.ord-faq__q-text {
    color: var(--text-strong);
    font-weight: 600;
    font-size: 1.02rem;
    line-height: 1.4;
}
/* Runder Umschalt-Chip rechts: dreht + färbt sich beim Öffnen gold. */
.ord-faq__toggle {
    flex: none;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--gold) 13%, transparent);
    color: var(--gold);
    transition: background var(--dur-fast) var(--ease-hover), color var(--dur-fast) var(--ease-hover);
}
.ord-faq__item[open] .ord-faq__toggle { background: var(--gold); color: var(--gold-ink); }
.ord-faq__chev {
    width: 1.05rem;
    height: 1.05rem;
    transition: transform var(--dur-fast) var(--ease-out-soft);
}
.ord-faq__item[open] .ord-faq__chev { transform: rotate(180deg); }
.ord-faq__a {
    padding: 0 1.25rem 1.2rem;
    color: var(--text-muted);
    line-height: 1.65;
}
.ord-faq__item[open] .ord-faq__a { animation: ordFaqReveal var(--dur-fast) var(--ease-out-soft); }
@keyframes ordFaqReveal {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}
.ord-faq__a p { margin: 0; }
.ord-faq__a a { color: var(--gold); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
    .ord-faq__item[open] .ord-faq__a { animation: none; }
    .ord-faq__chev { transition: none; }
}
