/*
 * Ämter & Behörden: Landingpage, Behördenkonto und Bestätigungsseite.
 * Wird nur auf diesen Seiten geladen. Bildsprache wie One Page Checkout Plus (ruhige weiße Karten, Felder 42 px,
 * Radius 6 und 8) und das Kontaktformular (Eyebrow in der Markenfarbe, Überschriften #263440). Die Markenfarbe kommt
 * aus dem Theme (--bmb-primary), die Kontoseite nutzt die Tabellen der Bestellübersicht des Themes.
 * Schriftstärken nur 400, 600 und 700 (500 fehlt im Theme).
 */

.bmb {
    --bmb-primary: #0099cc;
    --bmb-cta: #37b03a;
    --bmb-cta-hover: #2f9a32;
    --bmb-heading: #263440;
    --bmb-text: #4a5a63;
    --bmb-muted: #67747c;
    --bmb-line: #e5e8ea;
    --bmb-line-soft: #eef1f3;
    --bmb-soft: #f2f7fa;
    --bmb-surface: #ffffff;
    --bmb-success: #267d31;
    --bmb-success-soft: #eaf6eb;
    --bmb-warning: #8a5300;
    --bmb-warning-soft: #fff5e0;
    --bmb-error: #c4262e;
    --bmb-error-soft: #fdf0f0;
    --bmb-radius: 6px;
    --bmb-radius-card: 14px;

    color: var(--bmb-text);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.bmb *,
.bmb *::before,
.bmb *::after {
    box-sizing: border-box;
}

.bmb h1,
.bmb h2,
.bmb h3 {
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--bmb-heading);
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
}

.bmb p {
    margin: 0;
}

.bmb .bmb-icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    vertical-align: -0.25em;
}

.bmb .bmb-icon * {
    vector-effect: non-scaling-stroke;
}

/* ---------- Bausteine ---------- */

.bmb-eyebrow {
    display: block;
    margin: 0 0 8px;
    color: var(--bmb-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
}

.bmb-card {
    padding: 20px;
    border: 1px solid var(--bmb-line);
    border-radius: var(--bmb-radius-card);
    background: var(--bmb-surface);
}

.bmb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: var(--bmb-radius);
    background: var(--bmb-surface);
    color: var(--bmb-heading);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.bmb-btn:hover,
.bmb-btn:focus {
    text-decoration: none;
}

.bmb-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--bmb-primary);
}

.bmb-btn.is--primary {
    background: var(--bmb-cta);
    color: #fff;
}

.bmb-btn.is--primary:hover,
.bmb-btn.is--primary:focus {
    background: var(--bmb-cta-hover);
    color: #fff;
}

.bmb-btn.is--secondary {
    border-color: #8a919b;
    color: var(--bmb-heading);
}

.bmb-btn.is--secondary:hover {
    border-color: var(--bmb-heading);
}

.bmb-btn.is--large {
    min-height: 50px;
    padding: 12px 26px;
    font-size: 16px;
    font-weight: 700;
}

.bmb-btn .bmb-icon {
    width: 18px;
    height: 18px;
}

.bmb-alert {
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: var(--bmb-radius);
    font-size: 14px;
    line-height: 1.5;
}

.bmb-alert p + p {
    margin-top: 4px;
}

.bmb-alert.is--success {
    border-color: rgba(44, 138, 55, 0.28);
    background: var(--bmb-success-soft);
    color: #1f6a28;
}

.bmb-alert.is--info {
    border-color: rgba(0, 153, 204, 0.35);
    background: var(--bmb-soft);
    color: var(--bmb-heading);
}

.bmb-alert.is--warning {
    border-color: rgba(138, 83, 0, 0.22);
    background: var(--bmb-warning-soft);
    color: var(--bmb-warning);
}

.bmb-alert.is--error {
    border-color: rgba(196, 38, 46, 0.28);
    background: var(--bmb-error-soft);
    color: #8e1c22;
}

.bmb-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bmb-checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    padding: 7px 0;
    color: var(--bmb-heading);
}

.bmb-checklist li + li {
    border-top: 1px solid var(--bmb-line-soft);
}

.bmb-checklist .bmb-icon {
    margin-top: 2px;
    color: var(--bmb-cta);
}

/* Stand der Organisation */
.bmb-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--bmb-line-soft);
    color: var(--bmb-heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}

.bmb-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.bmb-badge.is--approved {
    background: var(--bmb-success-soft);
    color: var(--bmb-success);
}

.bmb-badge.is--pending,
.bmb-badge.is--pending_email {
    background: var(--bmb-soft);
    color: #007aa3;
}

.bmb-badge.is--rejected,
.bmb-badge.is--blocked {
    background: var(--bmb-error-soft);
    color: var(--bmb-error);
}

/* ---------- Landingpage ---------- */

.bmb-landing {
    padding-bottom: 40px;
}

.bmb-landing__section {
    margin-top: 24px;
}

.bmb-landing__head {
    max-width: 720px;
    margin-bottom: 20px;
}

.bmb-landing__title {
    font-size: 24px;
    line-height: 1.25;
}

.bmb-landing__lead {
    margin-top: 8px;
    font-size: 16px;
}

/* Jeder Abschnitt liegt auf einer weißen Fläche wie die Kacheln im Kundenkonto, nichts steht frei auf dem Hintergrund.
   Karten darin (Schritte, Vorteile, Kontaktwege) sind hellgrau abgesetzt. */
.bmb-landing__section:not(.bmb-cta-band) {
    padding: 26px 20px;
    border: 1px solid #e5e9ee;
    border-radius: var(--bmb-radius-card);
    background: #fff;
    box-shadow: 0 1px 2px rgba(20, 30, 45, 0.04), 0 6px 18px rgba(20, 30, 45, 0.05);
}

.bmb-landing__section .bmb-step,
.bmb-landing__section .bmb-benefit,
.bmb-landing__section .bmb-chips li,
.bmb-landing__section .bmb-contact__way {
    border-color: #e9edf1;
    background: #f7f9fa;
}

.bmb-landing__section .bmb-tile {
    background: #fff;
}

/* Kontakt: Der Abschnitt ist schon die Fläche */
.bmb-landing__section .bmb-contact {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
}

/* Kopf */
.bmb-hero {
    display: grid;
    gap: 24px;
    margin-top: 16px;
    padding: 28px 20px;
    border: 1px solid #e5e9ee;
    border-radius: var(--bmb-radius-card);
    background: linear-gradient(135deg, var(--bmb-soft) 0%, #ffffff 70%);
    box-shadow: 0 1px 2px rgba(20, 30, 45, 0.04), 0 6px 18px rgba(20, 30, 45, 0.05);
}

.bmb-hero__title {
    font-size: 28px;
    line-height: 1.2;
}

.bmb-hero__lead {
    max-width: 640px;
    margin-top: 12px;
    font-size: 17px;
}

.bmb-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.bmb-hero__note {
    margin-top: 12px;
    color: var(--bmb-muted);
    font-size: 13px;
}

.bmb-hero__status {
    margin-top: 20px;
}

.bmb-hero__facts {
    align-self: start;
}

.bmb-hero__facts-title {
    margin-bottom: 6px;
    font-size: 16px;
}

/* Ablauf */
.bmb-steps {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: bmb-step;
}

.bmb-step {
    position: relative;
    margin: 0;
    padding: 20px 20px 20px 66px;
    border: 1px solid var(--bmb-line);
    border-radius: var(--bmb-radius-card);
    background: var(--bmb-surface);
}

.bmb-step::before {
    counter-increment: bmb-step;
    content: counter(bmb-step);
    position: absolute;
    top: 18px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bmb-cta);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.bmb-step__title {
    font-size: 17px;
    line-height: 1.35;
}

.bmb-step__text {
    margin-top: 4px;
}

/* Für wen */
.bmb-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bmb-chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid var(--bmb-line);
    border-radius: 999px;
    background: var(--bmb-surface);
    color: var(--bmb-heading);
    font-weight: 600;
}

.bmb-chips .bmb-icon {
    color: var(--bmb-primary);
}

/* Vorteile */
.bmb-benefits {
    display: grid;
    gap: 14px;
}

.bmb-benefit {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.bmb-tile {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--bmb-soft);
    color: var(--bmb-primary);
}

.bmb-tile .bmb-icon {
    width: 30px;
    height: 30px;
}

/* Bild-Symbole (art.tpl) im Stil der Sketch-Icons des Shops: etwas größere Kachel */
.bmb-tile.bmb-tile--art {
    width: 64px;
    height: 64px;
    border-radius: 14px;
}

.bmb-tile--art .bmb-art {
    display: block;
    width: 48px;
    height: 48px;
}

.bmb-benefit__title {
    font-size: 16px;
    line-height: 1.35;
}

.bmb-benefit__text {
    margin-top: 4px;
    font-size: 14px;
}

/* Kontakt */
.bmb-contact {
    display: grid;
    gap: 20px;
    align-items: center;
}

.bmb-contact__ways {
    display: grid;
    gap: 10px;
}

.bmb-contact__way {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 10px 14px 10px 10px;
    border: 1px solid var(--bmb-line);
    border-radius: var(--bmb-radius);
    background: var(--bmb-surface);
    color: var(--bmb-heading);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.bmb-contact__way:hover {
    border-color: var(--bmb-primary);
    text-decoration: none;
}

/* Wie der Kopf des Kontaktformulars: kleine Überschrift in Großbuchstaben, darunter der Wert */
.bmb-contact__way small {
    display: block;
    margin-bottom: 2px;
    color: #8f9ba3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Fragen */
.bmb-faq {
    border-top: 1px solid var(--bmb-line);
}

.bmb-faq details {
    border-bottom: 1px solid var(--bmb-line);
}

.bmb-faq summary {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 2px;
    color: var(--bmb-heading);
    font-size: 16px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.bmb-faq summary::-webkit-details-marker {
    display: none;
}

.bmb-faq summary::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--bmb-primary);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.bmb-faq details[open] summary::after {
    content: "\2212";
}

.bmb-faq details p {
    padding: 0 2px 16px;
}

/* Abschluss */
.bmb-cta-band {
    display: grid;
    gap: 16px;
    align-items: center;
    padding: 24px 20px;
    border-radius: var(--bmb-radius-card);
    background: var(--bmb-heading);
    color: #dfe6ea;
}

.bmb-cta-band h2 {
    color: #fff;
    font-size: 21px;
}

.bmb-cta-band p {
    margin-top: 4px;
}

@media (min-width: 48em) {
    .bmb-hero {
        grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
        gap: 32px;
        padding: 40px 36px;
    }

    .bmb-hero__title {
        font-size: 34px;
    }

    .bmb-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bmb-step {
        padding: 66px 20px 22px;
    }

    .bmb-step::before {
        top: 20px;
    }

    .bmb-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bmb-contact {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }

    .bmb-cta-band {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 28px 32px;
    }

    .bmb-landing__title {
        font-size: 26px;
    }

    .bmb-landing__section:not(.bmb-cta-band) {
        padding: 34px 36px;
    }
}

@media (min-width: 64em) {
    .bmb-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Für wen und was wir brauchen: Umschalter Österreich / Deutschland ohne JavaScript (seit 0.4.0) */
.bmb-need__radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.bmb-need__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    margin: 0 0 22px;
}

.bmb-need__head .bmb-landing__head {
    margin: 0;
}

.bmb-need__switch {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: #eef2f5;
}

.bmb-need__switch label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 9px 18px;
    border-radius: 9px;
    color: var(--bmb-text);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}

#bmb-need-at:checked ~ .bmb-need__head label[for="bmb-need-at"],
#bmb-need-de:checked ~ .bmb-need__head label[for="bmb-need-de"] {
    background: #fff;
    color: var(--bmb-heading);
    box-shadow: 0 1px 2px rgba(20, 30, 45, 0.1), 0 3px 10px rgba(20, 30, 45, 0.06);
}

#bmb-need-at:focus-visible ~ .bmb-need__head label[for="bmb-need-at"],
#bmb-need-de:focus-visible ~ .bmb-need__head label[for="bmb-need-de"] {
    outline: 2px solid var(--bmb-primary);
    outline-offset: 2px;
}

.bmb-flag {
    display: inline-block;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.bmb-flag--at {
    background: linear-gradient(#ed2939 0 33.4%, #fff 33.4% 66.6%, #ed2939 66.6%);
}

.bmb-flag--de {
    background: linear-gradient(#000 0 33.4%, #dd0000 33.4% 66.6%, #ffce00 66.6%);
}

.bmb-need__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.bmb-need__panel--de,
#bmb-need-de:checked ~ .bmb-need__panel--at {
    display: none;
}

#bmb-need-de:checked ~ .bmb-need__panel--de {
    display: grid;
}

.bmb-need__card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid #e9edf1;
    border-radius: 12px;
    background: #f7f9fa;
}

.bmb-need__card .bmb-tile.bmb-tile--art {
    width: 52px;
    height: 52px;
}

.bmb-need__card .bmb-tile--art .bmb-art {
    width: 40px;
    height: 40px;
}

.bmb-need .bmb-need__title {
    margin: 0;
    color: var(--bmb-heading);
    font-size: 16.5px;
    line-height: 1.3;
}

.bmb-need .bmb-need__who {
    margin: 3px 0 8px;
    color: var(--bmb-muted);
    font-size: 13px;
    line-height: 1.45;
}

.bmb-need .bmb-need__what {
    margin: 0;
    color: var(--bmb-text);
    font-size: 14.5px;
    line-height: 1.55;
}

.bmb-need .bmb-need__what strong {
    color: var(--bmb-heading);
}

.bmb-need .bmb-need__link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
}

.bmb-need__offer {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px 16px;
    align-items: center;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #cfe5ef;
    border-radius: 12px;
    background: #f3f9fc;
}

.bmb-need__offer .bmb-tile.bmb-tile--art {
    width: 52px;
    height: 52px;
}

.bmb-need__offer .bmb-tile--art .bmb-art {
    width: 40px;
    height: 40px;
}

.bmb-need__offer p {
    margin: 0;
    color: var(--bmb-text);
    font-size: 14.5px;
    line-height: 1.55;
}

.bmb-need__offer strong {
    color: var(--bmb-heading);
}

.bmb-need__offer .bmb-btn {
    grid-column: 1 / -1;
}

@media (max-width: 47.9375em) {
    .bmb-need__switch {
        width: 100%;
    }

    .bmb-need__switch label {
        flex: 1 1 0;
        justify-content: center;
    }
}

@media (min-width: 48em) {
    .bmb-need__panel,
    #bmb-need-de:checked ~ .bmb-need__panel--de {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bmb-need__card {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 16px;
        padding: 18px 20px;
    }

    .bmb-need__card .bmb-tile.bmb-tile--art,
    .bmb-need__offer .bmb-tile.bmb-tile--art {
        width: 64px;
        height: 64px;
    }

    .bmb-need__card .bmb-tile--art .bmb-art,
    .bmb-need__offer .bmb-tile--art .bmb-art {
        width: 48px;
        height: 48px;
    }

    .bmb-need__offer {
        grid-template-columns: 64px minmax(0, 1fr) auto;
        gap: 16px 18px;
        padding: 16px 20px;
    }

    .bmb-need__offer .bmb-btn {
        grid-column: auto;
    }
}

/* ---------- Kundenkonto ---------- */

/*
 * Behördenkonto im Kachel-Design der Bestellübersicht (BmaxxOrderOverview, Kontoseiten „Adressen“ und
 * „Angebote“). Ist dort das Kachel-Design aktiv (Body-Klasse bmac-on), kommen die Bausteine bmac-* samt Farben von dort,
 * hier stehen nur die eigenen Teile. Ohne das Plugin oder mit ausgeschaltetem Kachel-Design (Klasse bmb-solo) bringt der
 * Block „Bausteine ohne Bestellübersicht“ dieselben Bausteine mit denselben Maßen mit.
 * --bmb-acc (Knöpfe, Akzent) und --bmb-brand (Überschrift, Links) setzt die Vorlage: Farben der Bestellübersicht, sonst
 * die Hauptfarbe des Themes. Schriftstärken nur 400 und 600 wie dort.
 */

.bmb-account {
    --bmb-acc: #12a0d4;
    --bmb-brand: #0a7ca1;
    --bmbk-navy: #2a3441;
    --bmbk-ink: #4f5b69;
    --bmbk-muted: #6b7785;
    --bmbk-faint: #a3adb9;
    --bmbk-line: #e5e9ee;
    --bmbk-input: #d6dde5;
    --bmbk-chip: #eef1f4;
    --bmbk-soft: #f5f7f9;
    --bmbk-green: #1b9e5f;
    --bmbk-amber: #f5a524;
    --bmbk-red: #d64545;
    color: var(--bmbk-navy);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

.bmb-account *,
.bmb-account *::before,
.bmb-account *::after {
    box-sizing: border-box;
}

.bmb-account p {
    margin: 0;
}

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

.bmb-account [id] {
    scroll-margin-top: 90px;
}

/* Hinweise wie „Nächster Schritt“ der Bestellübersicht */
.bmb-account .bmb-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 1px solid var(--bmbk-line);
    border-radius: 10px;
    background: var(--bmbk-soft);
    color: var(--bmbk-navy);
    font-size: 14px;
    line-height: 1.5;
}

.bmb-account .bmb-note .bmac-ico {
    margin-top: 1px;
}

.bmb-account .bmb-note p + p {
    margin-top: 2px;
}

.bmb-account .bmb-note strong {
    font-weight: 600;
}

.bmb-account .bmb-note.is--success {
    border-color: #c6e9d6;
    background: #e5f6ed;
    color: #14532d;
}

.bmb-account .bmb-note.is--error {
    border-color: #f3c7c3;
    background: #fdeceb;
    color: #8e1c16;
}

.bmb-account .bmb-note.is--warning {
    border-color: #f6dc95;
    background: #fff7e0;
    color: #5c4300;
}

.bmb-account .bmb-note__form {
    margin: 10px 0 0;
}

/* Das Konto als eine Karte: Kopf, Kennzahlen, Segment-Reiter und Bereiche */
.bmb-account .bmac-card.bmb-acct {
    padding: 24px 28px 22px;
}

.bmb-account .bmb-acct__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 20px;
    margin: 0 0 18px;
}

.bmb-account .bmb-acct__title {
    min-width: 0;
}

.bmb-account .bmb-acct__org {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 0;
}

.bmb-account .bmb-acct__orgtext {
    min-width: 0;
}

.bmb-account .bmb-acct__orgtext strong {
    display: block;
    color: var(--bmbk-navy);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.bmb-account .bmb-acct__orgtext span {
    display: block;
    color: var(--bmbk-muted);
    font-size: 13.5px;
    overflow-wrap: anywhere;
}

.bmb-account .bmb-acct__head > .bmac-chip {
    flex: none;
}

.bmb-account .bmb-acct .bmb-note {
    margin: 0 0 14px;
}

/* Kennzahlen: eine graue Leiste mit Trennlinien */
.bmb-account .bmb-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--bmbk-line);
    border-radius: 14px;
    background: var(--bmbk-soft);
}

.bmb-account .bmb-kpis--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bmb-account .bmb-kpi {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 14px 18px;
    border-left: 1px solid var(--bmbk-line);
}

.bmb-account .bmb-kpi:first-child {
    border-left: 0;
}

.bmb-account .bmb-kpi__label {
    color: var(--bmbk-muted);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
}

.bmb-account .bmb-kpi__value {
    margin: 3px 0 1px;
    color: var(--bmbk-navy);
    font-size: 21px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.bmb-account .bmb-kpi__hint {
    color: var(--bmbk-muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.bmb-account .bmb-kpi__hint .is--overdue,
.bmb-account .bmb-kpi.is--overdue .bmb-kpi__value {
    color: #b3261e;
    font-weight: 600;
}

.bmb-account .bmb-kpi--main .bmb-kpi__value {
    color: var(--bmbk-green);
    font-size: 25px;
}

.bmb-account .bmb-kpi--main.is--warn .bmb-kpi__value {
    color: #b26a00;
}

.bmb-account .bmb-kpi--main.is--full .bmb-kpi__value {
    color: #b3261e;
}

.bmb-account .bmb-kpis__note {
    margin: 8px 2px 0;
    color: var(--bmbk-muted);
    font-size: 13px;
}

/* Segment-Reiter: graue Leiste, der gewählte Reiter als weiße Fläche, mit Symbol und Anzahl */
.bmb-account .bmb-tabs {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin: 20px 0 6px;
    padding: 4px;
    border-radius: 13px;
    background: var(--bmbk-chip);
}

.bmb-account .bmb-tabs-on .bmb-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bmb-account .bmb-tabs-on .bmb-tabs::-webkit-scrollbar {
    display: none;
}

/* Passen nicht alle Reiter in die Breite, laufen sie an der Seite sichtbar aus, wo es weitergeht (setzt das Skript) */
.bmb-account .bmb-tabs-on .bmb-tabs.is--more {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
}

.bmb-account .bmb-tabs-on .bmb-tabs.is--less {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 40px);
    mask-image: linear-gradient(to right, transparent, #000 40px);
}

.bmb-account .bmb-tabs-on .bmb-tabs.is--less.is--more {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}

.bmb-account .bmb-tab {
    display: inline-flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 9px;
    color: var(--bmbk-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.bmb-account .bmb-tab:hover,
.bmb-account .bmb-tab:focus {
    color: var(--bmbk-navy);
    text-decoration: none;
}

.bmb-account .bmb-tab:focus-visible {
    outline: 2px solid var(--bmb-acc);
    outline-offset: 1px;
}

.bmb-account .bmb-tab .bmb-tab__ico {
    width: 16px;
    height: 16px;
}

.bmb-account .bmb-tab__n {
    color: var(--bmbk-faint);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.bmb-account .bmb-tabs-on .bmb-tab.is--active {
    background: #fff;
    box-shadow: 0 1px 3px rgba(25, 35, 45, 0.16);
    color: var(--bmbk-navy);
}

.bmb-account .bmb-tabs-on .bmb-tab.is--active .bmb-tab__n {
    display: inline-grid;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    place-items: center;
    border-radius: 999px;
    background: var(--bmbk-navy);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1;
}

/* Bereiche: ohne Skript alle untereinander mit Überschrift, mit Skript nur der gewählte */
.bmb-account .bmb-panel {
    margin: 0;
    padding: 18px 0 0;
}

.bmb-account .bmb-panel:focus {
    outline: none;
}

.bmb-account .bmb-panel__title {
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--bmbk-navy);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: none;
}

.bmb-account .bmb-tabs-on .bmb-panel {
    display: none;
    padding-top: 8px;
}

.bmb-account .bmb-tabs-on .bmb-panel.is--active {
    display: block;
}

.bmb-account .bmb-tabs-on .bmb-panel__title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bmb-account .bmb-panel__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 20px;
    margin: 6px 0 10px;
}

.bmb-account .bmb-panel__bar p {
    flex: 1 1 320px;
    color: var(--bmbk-muted);
    font-size: 13.5px;
}

.bmb-account .bmb-panel__bar .bmac-link {
    margin-left: 0;
}

.bmb-account .bmb-panel > .bmac-olist > .bmac-orow:first-child {
    border-top: 0;
}

.bmb-account .bmb-panel .bmb-form {
    margin-top: 4px;
}

/* Fußzeile unter einer Liste */
.bmb-account .bmb-card-foot {
    margin: 0;
    padding: 12px 0 2px;
    border-top: 1px solid var(--bmbk-line);
    color: var(--bmbk-muted);
    font-size: 13px;
}

.bmb-account .bmb-card-foot a {
    color: var(--bmb-brand);
    font-weight: 600;
}

.bmb-account .bmb-subhead {
    margin: 22px 0 4px;
    padding: 0;
    border: 0;
    color: var(--bmbk-navy);
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
}

.bmb-account .bmb-empty {
    padding: 14px 0 4px;
    border-top: 1px solid var(--bmbk-line);
}

/* Zeilen (wie „Persönliche Angebote“): eigene Spalten je Liste */
.bmb-account .bmb-rows--inv .bmac-orow-head {
    grid-template-columns: minmax(0, 1fr) 150px 110px 220px;
}

.bmb-account .bmb-rows--orders .bmac-orow-head {
    grid-template-columns: minmax(0, 1fr) 124px 110px 160px;
}

.bmb-account .bmb-rows--simple .bmac-orow-head {
    grid-template-columns: minmax(0, 1fr) auto;
}

.bmb-account .bmb-orow-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.bmb-account .bmb-orow-actions form {
    display: inline-flex;
    margin: 0;
}

.bmb-account .bmb-orow-note {
    margin: -6px 0 12px;
    color: #b3261e;
    font-size: 13px;
}

.bmb-account .bmac-chip.bmb-chip--red {
    background: #fdeceb;
    color: #b3261e;
}

.bmb-account .bmac-chip.bmb-chip--red i {
    background: var(--bmbk-red);
}

.bmb-account .bmac-chip.bmb-chip--inline {
    margin-left: 8px;
    padding: 1px 9px;
    font-size: 11.5px;
    vertical-align: 1px;
}

/* Formulare: Felder wie die Eingabefelder der Kontoseiten */
.bmb-account .bmb-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
}

.bmb-account .bmb-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.bmb-account .bmb-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.bmb-account .bmb-field label,
.bmb-account .bmb-field__label,
.bmb-account .bmb-addform__label {
    color: var(--bmbk-navy);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
}

.bmb-account .bmb-field__opt {
    color: var(--bmbk-muted);
    font-weight: 400;
}

.bmb-account .bmb-field__req {
    margin-left: 2px;
    color: #b3261e;
}

.bmb-account .bmb-field__hint {
    margin: 0;
    color: var(--bmbk-muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.bmb-account .bmb-field__static {
    margin: 0;
    padding-top: 2px;
    font-weight: 600;
    line-height: 1.45;
}

.bmb-account textarea.bmac-input.bmb-textarea {
    height: auto;
    min-height: 124px;
    padding: 10px 14px !important;
    line-height: 1.5;
    resize: vertical;
}

.bmb-account .bmb-select {
    position: relative;
    display: block;
}

.bmb-account .bmb-select select.bmac-input {
    padding-right: 42px !important;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.bmb-account .bmb-select .bmb-select__ico {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 16px;
    height: 16px;
    color: var(--bmbk-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.bmb-account .bmb-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Angaben für Rechnungen: So kommen Ihre Rechnungen (seit 0.4.0) */
.bmb-account .bmb-route {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid #d7e8f0;
    border-radius: 12px;
    background: #f5fafc;
}

.bmb-account .bmb-route__title {
    margin: 0 0 10px;
    color: #5b6b75;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.bmb-account .bmb-route__row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.bmb-account .bmb-route__art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 11px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #dcebf2;
}

.bmb-account .bmb-route__art .bmb-art {
    display: block;
    width: 38px;
    height: 38px;
}

.bmb-account .bmb-route__row p {
    margin: 0;
    color: var(--bmbk-navy);
    font-size: 14.5px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.bmb-account .bmb-route__row small {
    display: block;
    margin-top: 2px;
    color: var(--bmbk-muted);
    font-size: 13px;
    font-weight: 400;
}

.bmb-account .bmb-route__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 28px;
    margin: 12px 0 0;
    padding: 10px 0 0 62px;
    border-top: 1px solid #e1edf3;
}

.bmb-account .bmb-route__facts div {
    display: flex;
    gap: 6px;
    align-items: baseline;
}

.bmb-account .bmb-route__facts dt {
    color: var(--bmbk-muted);
    font-size: 13px;
}

.bmb-account .bmb-route__facts dt::after {
    content: ":";
}

.bmb-account .bmb-route__facts dd {
    margin: 0;
    color: var(--bmbk-navy);
    font-size: 13.5px;
    font-weight: 600;
}

.bmb-account .bmb-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: var(--bmbk-navy);
    font-size: 14px;
    cursor: pointer;
}

.bmb-account .bmb-check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--bmb-acc);
}

.bmb-account .bmb-addform {
    margin: 12px 0 0;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--bmbk-soft);
}

.bmb-account .bmb-addform__label {
    display: block;
    margin: 0 0 8px;
}

.bmb-account .bmac-inline-form .bmb-addform__code {
    flex: 0 0 220px;
}

.bmb-account textarea.bmac-input,
.bmb-account select.bmac-input,
.bmb-account input.bmac-input {
    font-family: inherit;
}

/* ---------- Bausteine ohne Bestellübersicht (bmb-solo), Maße und Farben wie dort ---------- */

.bmb-solo .bmac-ico {
    display: inline-block;
    flex: none;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.bmb-solo .account--welcome.bmac-pagehead,
.bmb-solo .bmac-card {
    border: 1px solid var(--bmbk-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(20, 30, 45, 0.04), 0 6px 18px rgba(20, 30, 45, 0.05);
}

.bmb-solo .account--welcome.bmac-pagehead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin: 0 0 20px;
    padding: 22px 24px;
}

.bmb-solo .bmac-pagehead-t {
    flex: 1 1 320px;
    min-width: 0;
}

.bmb-solo .bmac-h1 {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--bmb-brand);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-transform: uppercase;
}

.bmb-solo .bmac-lead {
    margin: 6px 0 0;
    color: var(--bmbk-muted);
    font-size: 14px;
    line-height: 1.55;
}

.bmb-solo .bmac-lead a {
    color: var(--bmb-brand);
    font-weight: 600;
}

.bmb-solo .bmac-card {
    margin: 0 0 20px;
    padding: 18px 20px;
    color: var(--bmbk-navy);
    font-size: 14px;
    line-height: 1.55;
}

.bmb-solo .bmac-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    padding: 0;
}

.bmb-solo .bmac-icobox {
    display: grid;
    flex: none;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: var(--bmbk-chip);
    color: var(--bmbk-ink);
}

.bmb-solo .bmac-title {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--bmbk-navy);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
    text-align: left;
    text-transform: none;
}

.bmb-solo .bmac-link {
    margin-left: auto;
    color: var(--bmb-brand);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.bmb-solo .bmac-link:hover {
    text-decoration: underline;
}

.bmb-solo .bmac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: auto;
    margin: 0;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: none;
    box-shadow: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s, filter 0.15s;
    -webkit-appearance: none;
    appearance: none;
}

.bmb-solo .bmac-btn--primary {
    border-color: var(--bmb-acc);
    background: var(--bmb-acc);
    color: #fff;
}

.bmb-solo .bmac-btn--primary:hover,
.bmb-solo .bmac-btn--primary:focus {
    color: #fff;
    filter: brightness(0.93);
}

.bmb-solo .bmac-btn--ghost {
    border-color: var(--bmbk-input);
    background: #fff;
    color: var(--bmbk-navy);
}

.bmb-solo .bmac-btn--ghost:hover,
.bmb-solo .bmac-btn--ghost:focus {
    border-color: var(--bmb-acc);
    color: var(--bmb-brand);
}

.bmb-solo .bmac-btn--text {
    padding-right: 8px;
    padding-left: 8px;
    color: var(--bmbk-muted);
}

.bmb-solo .bmac-btn--text:hover,
.bmb-solo .bmac-btn--text:focus {
    color: var(--bmbk-red);
}

.bmb-solo .bmac-btn--sm {
    padding: 7px 12px;
    font-size: 13.5px;
}

.bmb-solo .bmac-btn:focus-visible,
.bmb-solo .bmac-link:focus-visible {
    outline: 2px solid var(--bmb-acc);
    outline-offset: 2px;
}

.bmb-solo .bmac-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    border-radius: 999px;
    background: var(--bmbk-chip);
    color: var(--bmbk-navy);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.bmb-solo .bmac-chip i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bmbk-faint);
}

.bmb-solo .bmac-chip--green i {
    background: var(--bmbk-green);
}

.bmb-solo .bmac-chip--amber i {
    background: var(--bmbk-amber);
}

.bmb-solo .bmac-chip--blue i {
    background: var(--bmbk-navy);
}

.bmb-solo .bmac-input {
    width: 100%;
    max-width: none;
    height: 44px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--bmbk-input);
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    color: var(--bmbk-navy);
    font-family: inherit;
    font-size: 14.5px;
}

.bmb-solo .bmac-input:focus {
    border-color: var(--bmb-acc);
    outline: none;
    box-shadow: 0 0 0 3px rgba(18, 160, 212, 0.16);
}

.bmb-solo .bmac-inline-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.bmb-solo .bmac-inline-form .bmac-input {
    flex: 1 1 auto;
    min-width: 0;
}

.bmb-solo .bmac-olist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bmb-solo .bmac-orow {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--bmbk-line);
}

.bmb-solo .bmac-orow-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 124px 120px 112px;
    align-items: center;
    gap: 8px 16px;
    padding: 14px 0;
}

.bmb-solo .bmac-orow-head .bmac-chip {
    justify-self: start;
}

.bmb-solo .bmac-orow-main {
    min-width: 0;
}

.bmb-solo .bmac-orow-num {
    display: block;
    color: var(--bmbk-navy);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.bmb-solo .bmac-orow-meta {
    display: block;
    margin-top: 2px;
    color: var(--bmbk-muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.bmb-solo .bmac-orow-sum {
    color: var(--bmbk-navy);
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.bmb-solo .bmac-empty-card {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bmb-solo .bmac-empty-t {
    margin: 0;
    font-weight: 600;
}

.bmb-solo .bmac-empty-s {
    margin: 2px 0 0;
    color: var(--bmbk-muted);
    font-size: 13.5px;
}

/* ---------- Konto: Tablet und Handy ---------- */

@media screen and (min-width: 768px) and (max-width: 1099px) {
    .bmb-account .bmb-kpi {
        padding: 12px 14px;
    }

    .bmb-account .bmb-kpi__value {
        font-size: 18px;
    }

    .bmb-account .bmb-kpi--main .bmb-kpi__value {
        font-size: 21px;
    }
}

@media screen and (max-width: 767px) {
    /* Das Konto als eine Karte: auf dem Handy über die ganze Breite, Reiter waagrecht zum Wischen */
    .bmb-account .bmac-card.bmb-acct {
        padding: 18px 16px 16px;
    }

    .bmb-account .bmb-acct__head {
        flex-direction: column;
    }

    .bmb-account .bmb-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bmb-account .bmb-kpi {
        padding: 12px 14px;
        border-top: 1px solid var(--bmbk-line);
    }

    .bmb-account .bmb-kpi:nth-child(-n+2) {
        border-top: 0;
    }

    .bmb-account .bmb-kpi:nth-child(odd) {
        border-left: 0;
    }

    .bmb-account .bmb-kpis--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bmb-account .bmb-kpi:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .bmb-account .bmb-kpi__value {
        font-size: clamp(15px, 4.6vw, 18px);
    }

    .bmb-account .bmb-kpi--main .bmb-kpi__value {
        font-size: clamp(17px, 5.4vw, 21px);
    }

    .bmb-account .bmb-tabs {
        margin-right: -16px;
        margin-left: -16px;
        border-radius: 0;
        scroll-snap-type: x proximity;
    }

    .bmb-account .bmb-tab {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .bmb-account > .bmb-note {
        margin-right: 12px;
        margin-left: 12px;
    }

    .bmb-account .bmb-form__row {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Zeilen: Nummer und Betrag oben, darunter Etikett und Knöpfe */
    .bmb-account .bmb-rows .bmac-orow-head,
    .bmb-account .bmb-rows--inv .bmac-orow-head,
    .bmb-account .bmb-rows--orders .bmac-orow-head {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
    }

    .bmb-account .bmb-rows .bmac-orow-sum {
        order: 1;
        text-align: right;
    }

    .bmb-account .bmb-rows .bmac-orow-head > .bmac-chip,
    .bmb-account .bmb-rows .bmb-chip-gap {
        order: 2;
        justify-self: start;
    }

    .bmb-account .bmb-rows .bmb-orow-actions {
        order: 3;
    }

    .bmb-account .bmac-inline-form {
        flex-wrap: wrap;
    }

    .bmb-account .bmac-inline-form .bmac-input,
    .bmb-account .bmac-inline-form .bmb-addform__code {
        flex: 1 1 100%;
    }

    .bmb-account .bmac-inline-form .bmac-btn,
    .bmb-account .bmb-form__actions .bmac-btn {
        width: 100%;
    }

    .bmb-solo .bmac-h1 {
        font-size: 23px;
    }

    .bmb-solo .account--welcome.bmac-pagehead {
        margin-bottom: 14px;
        padding: 18px 16px;
    }

    /* Wie die Kacheln der Bestellübersicht auf dem Handy: über die ganze Breite */
    .bmb-solo .account--welcome.bmac-pagehead,
    .bmb-solo .bmac-card {
        border-width: 1px 0;
        border-radius: 0;
        box-shadow: none;
    }

    .bmb-solo .bmac-card {
        margin-bottom: 14px;
        padding: 16px;
    }
}

@media screen and (max-width: 479px) {
    .bmb-account .bmb-rows--simple .bmac-orow-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .bmb-account .bmb-rows--simple .bmb-orow-actions {
        justify-content: flex-start;
    }

    .bmb-account .bmb-rows--inv .bmb-orow-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

/* ---------- Bestätigungsseite ---------- */

/* Mittig in einer weißen Karte wie die Kacheln im Kundenkonto */
.bmb-confirm-page {
    padding: 32px 0 56px;
}

.bmb-confirm {
    max-width: 620px;
    margin: 0 auto;
    padding: 40px 40px 36px;
    border: 1px solid #e5e9ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(20, 30, 45, 0.04), 0 6px 18px rgba(20, 30, 45, 0.05);
    text-align: center;
}

.bmb-confirm__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 0 18px;
    border-radius: 50%;
    background: var(--bmb-soft);
    color: var(--bmb-primary);
}

.bmb-confirm__icon .bmb-icon {
    width: 32px;
    height: 32px;
}

.bmb-confirm.is--success .bmb-confirm__icon {
    background: var(--bmb-success-soft);
    color: var(--bmb-success);
}

.bmb-confirm.is--warning .bmb-confirm__icon {
    background: var(--bmb-warning-soft);
    color: var(--bmb-warning);
}

.bmb-confirm.is--error .bmb-confirm__icon {
    background: var(--bmb-error-soft);
    color: var(--bmb-error);
}

.bmb-confirm .bmb-eyebrow {
    margin-bottom: 6px;
}

.bmb-confirm__title {
    margin: 0 !important;
    font-size: 26px;
    line-height: 1.25;
}

.bmb-confirm__text {
    max-width: 500px;
    margin: 12px auto 0 !important;
    font-size: 16px;
    line-height: 1.6;
}

.bmb-confirm__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.bmb-confirm__actions form {
    margin: 0;
}

@media (max-width: 47.99em) {
    .bmb-confirm-page {
        padding: 16px 0 32px;
    }

    .bmb-confirm {
        padding: 30px 20px 26px;
    }

    .bmb-confirm__title {
        font-size: 22px;
    }

    .bmb-confirm__actions .bmb-btn,
    .bmb-confirm__actions form {
        width: 100%;
    }

    .bmb-confirm__actions form .bmb-btn {
        width: 100%;
    }
}
