/*
 * custom.css — Zusätzliche Styles für EloriaTale
 * Erweitert style.css mit seitenspezifischen Anpassungen
 */

/* Über uns Seite */
.mzb-about-hero {
    background: linear-gradient(135deg, rgba(124,58,237,0.07), rgba(249,115,22,0.05));
    padding: 5rem 0;
}

.mzb-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.mzb-value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--mzb-white);
    border-radius: var(--mzb-radius);
    box-shadow: var(--mzb-shadow-card);
    border: 1px solid var(--mzb-border);
}

.mzb-value-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.mzb-value-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.mzb-value-card p {
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 768px) {
    .mzb-values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .mzb-values-grid { grid-template-columns: 1fr; }
}

/* Warenkorb-Icon im Header */
.mzb-cart-icon {
    position: relative;
    font-size: 1.4rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--mzb-transition);
}

.mzb-cart-icon:hover { transform: scale(1.1); }

.mzb-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--mzb-primary);
    color: var(--mzb-white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mzb-font-heading);
}

/* Rechtliche Seiten */
.mzb-legal-page table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}
.mzb-legal-page th,
.mzb-legal-page td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--mzb-border);
    font-size: 0.9rem;
}
.mzb-legal-page th {
    font-weight: 700;
    color: var(--mzb-text);
    background: var(--mzb-bg);
}

/* Muster-Widerrufsformular */
.mzb-revocation-form {
    border: 2px solid var(--mzb-border);
    border-radius: var(--mzb-radius);
    padding: 2rem;
    background: var(--mzb-bg);
    margin-top: 2rem;
}

.mzb-revocation-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.mzb-revocation-line {
    border-bottom: 1px solid var(--mzb-text-light);
    min-height: 2rem;
    margin-bottom: 1rem;
    color: var(--mzb-text-light);
    font-size: 0.9rem;
    padding-bottom: 0.25rem;
}

/* WooCommerce Checkout Anpassungen */
.woocommerce-checkout .mzb-consent-checkbox {
    background: rgba(244,132,95,0.05);
    border: 1px solid var(--mzb-primary-light);
    border-radius: var(--mzb-radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
}

.woocommerce-checkout .mzb-consent-checkbox label {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Screen-Reader Only */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--mzb-white);
    clip: auto !important;
    clip-path: none;
    color: var(--mzb-text);
    display: block;
    font-size: 1rem;
    height: auto;
    left: 0;
    padding: 1rem;
    top: 0;
    width: auto;
    z-index: 100000;
}

/* ============================================================
   WARUM KEINE KOSTENLOSE VORSCHAU — STARTSEITEN-SEKTION
   ============================================================ */

.mzb-no-preview-section {
    background: transparent !important;
    border-top: none !important;
    border-bottom: none !important;
}

.mzb-no-preview-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: flex-start;
    background: transparent !important;
    border: none !important;
    border-radius: var(--mzb-radius-lg);
    padding: 2.5rem;
    box-shadow: none !important;
}

.mzb-no-preview-icon {
    flex-shrink: 0;
}

.mzb-no-preview-content h3 {
    font-size: 1.4rem;
    color: var(--mzb-text);
    margin-bottom: 1rem;
}

.mzb-no-preview-content p {
    color: var(--mzb-text-light);
    margin-bottom: 0.9rem;
    line-height: 1.7;
}

.mzb-no-preview-highlight {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mzb-primary) !important;
    font-family: var(--mzb-font-heading);
}

.mzb-no-preview-footer-text {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--mzb-border);
    color: var(--mzb-green) !important;
    font-size: 1rem;
}

@media (max-width: 640px) {
    .mzb-no-preview-box {
        grid-template-columns: 1fr;
    }
    .mzb-no-preview-icon {
        display: none;
    }
}

/* ============================================================
   DATENSCHUTZ-SEITE — VERBESSERTE STYLES
   ============================================================ */

.mzb-legal-page ol li,
.mzb-legal-page ul li {
    margin-bottom: 0.5rem;
    line-height: 1.65;
}

/* Focus-Styles für Barrierefreiheit */
:focus-visible {
    outline: 3px solid var(--mzb-primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--mzb-primary);
    outline-offset: 2px;
}

/* ============================================================
   WARENKORB-ERFOLGS-MODAL
   ============================================================ */

/* Scroll-Lock wenn Modal offen */
body.mzb-modal-open {
    overflow: hidden;
}

/* Backdrop */
.mzb-cart-success-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(31, 18, 53, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: mzb-modal-backdrop-in 0.2s ease;
}

.mzb-cart-success-modal.is-active {
    display: flex;
}

@keyframes mzb-modal-backdrop-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Modal-Box */
.mzb-success-modal-inner {
    background: var(--mzb-white);
    border-radius: var(--mzb-radius-lg);
    box-shadow: var(--mzb-shadow-xl);
    padding: 2.5rem 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    animation: mzb-modal-slide-in 0.25s ease;
}

@keyframes mzb-modal-slide-in {
    from { transform: translateY(-20px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

.mzb-success-emoji {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.mzb-success-title {
    font-family: var(--mzb-font-heading);
    font-size: 1.35rem;
    color: var(--mzb-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.mzb-success-text {
    color: var(--mzb-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
}

/* Buttons im Modal */
.mzb-success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mzb-success-actions .mzb-btn {
    display: block;
    padding: 0.85rem 1.5rem;
    border-radius: var(--mzb-radius);
    font-family: var(--mzb-font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--mzb-transition);
    border: 2px solid transparent;
    text-align: center;
}

.mzb-success-actions .mzb-btn-primary {
    background: var(--mzb-primary);
    color: var(--mzb-white);
    border-color: var(--mzb-primary);
}
.mzb-success-actions .mzb-btn-primary:hover {
    background: var(--mzb-primary-dark);
    border-color: var(--mzb-primary-dark);
    transform: translateY(-1px);
}

.mzb-success-actions .mzb-btn-outline {
    background: transparent;
    color: var(--mzb-primary);
    border-color: var(--mzb-primary);
}
.mzb-success-actions .mzb-btn-outline:hover {
    background: var(--mzb-primary);
    color: var(--mzb-white);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .mzb-success-modal-inner {
        padding: 2rem 1.25rem;
    }
}

/* ============================================================
   MZB FLIPBOOK — HOVER SEITENBLÄTTER-ANIMATION
   ============================================================ */

/* Container */
.mzb-flipbook {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    border-radius: inherit;
    -webkit-transform-style: flat;
    transform-style: flat;
}

/* Jede Buchseite — absolut positioniert, initial unsichtbar */
.mzb-flipbook-page {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-origin: left center;
    transform: perspective(800px) rotateY(90deg);
    opacity: 0;
    transition:
        transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        opacity   0.45s ease;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Aktive Seite — sichtbar, frontal */
.mzb-flipbook-page.mzb-flipbook-current {
    transform: perspective(800px) rotateY(0deg);
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Seite wird weggeklappt */
.mzb-flipbook-page.mzb-flipbook-flipping {
    transform: perspective(800px) rotateY(-100deg) scaleX(0.85);
    opacity: 0;
    transition:
        transform 0.48s cubic-bezier(0.6, 0, 0.8, 1),
        opacity   0.35s ease;
    z-index: 1;
}

/* Nächste Seite kommt herein */
.mzb-flipbook-page.mzb-flipbook-incoming {
    transform: perspective(800px) rotateY(90deg);
    opacity: 0;
    z-index: 3;
}

/* SVG und Bilder füllen die Seite */
.mzb-flipbook-page > svg,
.mzb-flipbook-page > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

/* Bild-Fade-in nach Lazy Load */
.mzb-flipbook-page img {
    opacity: 0;
    transition: opacity 0.4s ease;
}
.mzb-flipbook-page img.mzb-img-loaded,
.mzb-flipbook-page img[src]:not([src=""]) {
    opacity: 1;
}

/* ── Seiten-Indikatoren (Punkte) ─────────────────────────── */
.mzb-flipbook-dots {
    position: absolute;
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
    pointer-events: none;
    padding: 0 4px;
}

.mzb-flipbook-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    background: transparent;
    transition: background 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.mzb-flipbook-dot.active {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.25);
}

/* ── Subtiler Hover-Glow ─────────────────────────────────── */
.mzb-flipbook::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(124, 58, 237, 0);
    transition: background 0.35s ease;
    pointer-events: none;
    z-index: 5;
}
.mzb-flipbook:hover::after {
    background: rgba(124, 58, 237, 0.06);
}

/* ── Hover-Hint Icon ─────────────────────────────────────── */
.mzb-flipbook::before {
    content: '↔';
    position: absolute;
    bottom: 28px;
    right: 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.0);
    transition: color 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
    font-family: var(--mzb-font-body);
    line-height: 1;
}
.mzb-flipbook:hover::before {
    color: rgba(255, 255, 255, 0.7);
}

/* ── Versions-Karten Flipbook Container ──────────────────── */
.mzb-version-image.mzb-flipbook-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--mzb-radius);
    min-height: 160px;
    background: var(--mzb-border-light);
}

.mzb-version-image.mzb-flipbook-wrap .mzb-flipbook {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ── Showcase-Bücher Flipbook ────────────────────────────── */
.mzb-book-3d .book-cover .mzb-flipbook {
    border-radius: 0;
}

/* ── Hero-Buch Flipbook ──────────────────────────────────── */
.mzb-hero-book-inner .book-cover .mzb-flipbook {
    border-radius: 0;
}

/* ── Dot-Größen nach Container-Größe ────────────────────── */
.mzb-flipbook-hero .mzb-flipbook-dot {
    width: 8px;
    height: 8px;
    border-width: 2px;
}

.mzb-flipbook-version .mzb-flipbook-dot {
    width: 5px;
    height: 5px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
    .mzb-flipbook-dot { width: 5px; height: 5px; }
    .mzb-flipbook::before { display: none; }
}

/* Reduce Motion — Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
    .mzb-flipbook-page,
    .mzb-flipbook-page.mzb-flipbook-flipping {
        transition: opacity 0.2s ease;
        transform: none !important;
    }
    .mzb-flipbook-page.mzb-flipbook-current { opacity: 1; }
}

/* ============================================================
   WARENKORB: KINDERDATEN-ANZEIGE PRO POSITION
   ============================================================ */

/* WooCommerce Cart/Mini-Cart Item-Data */
.woocommerce-cart-form .cart_item .wc-item-meta,
.woocommerce-mini-cart-item .wc-item-meta {
    margin-top: 0.4rem;
}

.woocommerce-cart-form .cart_item .wc-item-meta dt,
.woocommerce-mini-cart-item .wc-item-meta dt {
    color: var(--mzb-primary);
    font-weight: 600;
    font-size: 0.8rem;
}

.woocommerce-cart-form .cart_item .wc-item-meta dd,
.woocommerce-mini-cart-item .wc-item-meta dd {
    color: var(--mzb-text);
    font-size: 0.85rem;
    margin-left: 0;
    margin-bottom: 0.15rem;
}

/* ============================================================
   MZB ANIMATION BOOK — Demo-Animation Komponente (iframes)
   ============================================================ */

.mzb-video-book {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    background: #1a1a2e;
    cursor: pointer;
}

/* Hero-Variante — ×1.2 */
.mzb-video-book--hero {
    width: 100%;
    max-width: 760px;
    aspect-ratio: 528 / 684;
    height: auto;
    border-radius: 6px 12px 12px 6px;
    box-shadow: 6px 12px 40px rgba(0,0,0,0.35), -2px 0 0 #4a3020;
    display: block;
}

/* Showcase-Variante */
.mzb-video-book--showcase {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 330 / 429;
    border-radius: 4px 8px 8px 4px;
    display: block;
}

/* Versions-Karten-Variante — so groß wie Hero */
.mzb-video-book--version {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 330 / 429;
    margin: 0 auto;
    border-radius: 8px;
}


/* Play-Button */
.mzb-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, opacity 0.3s;
    color: #7c3aed;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    padding-left: 3px; /* optische Mitte des Play-Dreiecks */
}

.mzb-play-btn:hover {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.mzb-video-book.is-playing .mzb-play-btn {
    opacity: 0;
    pointer-events: none;
}

/* Overlay-Gradient am unteren Rand */
.mzb-video-book::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.35));
    pointer-events: none;
}

/* Showcase: kleinerer Play-Button */
.mzb-video-book--showcase .mzb-play-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
}

/* Version-Cards: Button-Farbe passend zur jeweiligen Version */
.mzb-video-book--version .mzb-play-btn {
    width: 44px;
    height: 44px;
}

/* Mobile */
@media (max-width: 600px) {
    .mzb-video-book--hero {
        width: 100%;
        max-width: 92vw;
        height: auto;
        aspect-ratio: 330 / 429;
    }
    .mzb-video-book--showcase {
        max-width: 100%;
    }
    .mzb-video-book--version {
        max-width: 100%;
    }
}

/* ============================================================
   GALLERY-CARDS (page-beispiele) — typografisch, keine Icons
   ============================================================ */
.mzb-gallery-card {
    border-radius: 16px;
    overflow: hidden;
    color: #fff;
    min-height: 220px;
    display: flex;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.22);
}
.mzb-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.2);
}
.mzb-gallery-card__inner {
    padding: 0.8rem 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
}
.mzb-gallery-card__badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(255,255,255,0.22);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-family: var(--mzb-font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}
.mzb-gallery-card__title {
    font-family: var(--mzb-font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1.2;
    margin: 0;
    color: #fff;
}
.mzb-gallery-card__sub {
    font-size: 0.88rem;
    margin: 0;
    opacity: 0.95;
}
.mzb-gallery-card--v1  { background: linear-gradient(135deg, #F09B6A 0%, #E06834 100%); }
.mzb-gallery-card--v2  { background: linear-gradient(135deg, #6B89CC 0%, #3A5BA8 100%); }
.mzb-gallery-card--v2p { background: linear-gradient(135deg, #73C8A9 0%, #4DAE8C 100%); }

/* ============================================================
   HOWTO-CARDS (So entsteht euer Buch)
   ============================================================ */
.mzb-howto-card {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.1);
}
.mzb-howto-card__header {
    padding: 1.5rem 1.5rem 1.25rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.mzb-howto-card--v1  .mzb-howto-card__header { background: linear-gradient(135deg, #F09B6A 0%, #E06834 100%); }
.mzb-howto-card--v2  .mzb-howto-card__header { background: linear-gradient(135deg, #6B89CC 0%, #3A5BA8 100%); }
.mzb-howto-card--v2p .mzb-howto-card__header { background: linear-gradient(135deg, #73C8A9 0%, #4DAE8C 100%); }
.mzb-howto-card__badge {
    display: inline-block;
    background: rgba(255,255,255,0.22);
    padding: 0.28rem 0.75rem;
    border-radius: 100px;
    font-family: var(--mzb-font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}
.mzb-howto-card__headline {
    font-family: var(--mzb-font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.25;
    color: #fff;
}

/* ============================================================
   BUCHGRÖSSE / LAYOUT / AUSFÜHRUNG — Step 5
   ============================================================ */
.mzb-substep-title {
    font-family: var(--mzb-font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin: 1.25rem 0 0.35rem;
    color: var(--mzb-text);
}
.mzb-substep-sub {
    color: var(--mzb-text-light);
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

/* Größe */
.mzb-size-group,
.mzb-layout-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.mzb-size-card input,
.mzb-layout-card input { position: absolute; opacity: 0; pointer-events: none; }
.mzb-size-card label,
.mzb-layout-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    padding: 1.25rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 100%;
}
.mzb-size-card label:hover,
.mzb-layout-card label:hover {
    border-color: var(--mzb-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244,132,95,0.15);
}
.mzb-size-card input:checked + label,
.mzb-layout-card input:checked + label {
    border-color: var(--mzb-primary);
    background: linear-gradient(135deg, #FFF7F2 0%, #FFEDE0 100%);
    box-shadow: 0 4px 14px rgba(244,132,95,0.25);
}

.s-shape {
    display: block;
    background: linear-gradient(135deg, #F4845F, #E06834);
    border-radius: 4px;
    margin-bottom: 0.4rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.s-shape--a5     { width: 42px; height: 60px; }
.s-shape--square { width: 58px; height: 58px; }
.s-shape--a4     { width: 50px; height: 70px; }

.s-name { font-weight: 800; font-size: 1.05rem; color: var(--mzb-text); }
.s-dim  { font-size: 0.85rem; color: var(--mzb-text-light); font-weight: 600; }
.s-note { font-size: 0.82rem; color: var(--mzb-text-light); }
.mzb-size-popular { color: var(--mzb-primary) !important; font-weight: 700; }

/* Layout Preview */
.l-preview {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 70px;
    height: 85px;
    padding: 5px;
    background: #f8f9fa;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin-bottom: 0.3rem;
    position: relative;
}
.l-img {
    background: linear-gradient(135deg, #F4845F, #E06834);
    border-radius: 3px;
    flex: 1;
}
.l-text {
    background: #cbd5e1;
    border-radius: 2px;
    height: 18px;
}
.l-preview--immersive .l-img--full { flex: 1; }
.l-preview--immersive .l-text--overlay {
    position: absolute;
    bottom: 8px;
    left: 10px;
    right: 10px;
    height: 12px;
    background: rgba(255,255,255,0.85);
}
.l-preview--story .l-img--half { height: 40%; flex: none; }
.l-preview--story .l-text--half { flex: 1; height: auto; }

.l-name { font-weight: 800; font-size: 1.05rem; color: var(--mzb-text); }
.l-note { font-size: 0.82rem; color: var(--mzb-text-light); }

/* Ausführung — 5 Karten */
.mzb-format-group {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
}
.mzb-format-card--featured label {
    border-color: var(--mzb-accent) !important;
    border-style: dashed !important;
}

.mzb-format-card--featured input:checked + label {
    border-color: var(--mzb-primary) !important;
    border-style: solid !important;
    background: rgba(244, 132, 95, 0.04) !important;
}

@media (max-width: 720px) {
    .mzb-size-group,
    .mzb-layout-group {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   URHEBERRECHTS-HINWEIS BOX (Hauptseite)
   ============================================================ */

.mzb-copyright-notice-section {
    background: linear-gradient(135deg, rgba(139,92,246,0.05), rgba(251,146,60,0.04));
    border-top: 1px solid var(--mzb-border);
    border-bottom: 1px solid var(--mzb-border);
    padding: 2.5rem 0;
}

.mzb-copyright-notice-box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    background: var(--mzb-white);
    border: 2px solid var(--mzb-border);
    border-radius: var(--mzb-radius-lg);
    padding: 2rem 2rem;
    box-shadow: 0 4px 24px rgba(139,92,246,0.08);
}

.mzb-copyright-notice-icon {
    font-size: 2.8rem;
    line-height: 1;
    flex-shrink: 0;
}

.mzb-copyright-notice-content h3 {
    font-size: 1.15rem;
    color: var(--mzb-text);
    margin-bottom: 0.6rem;
}

.mzb-copyright-notice-content p {
    font-size: 0.92rem;
    color: var(--mzb-text-light);
    line-height: 1.65;
    margin: 0 0 0.5rem;
}

.mzb-copyright-notice-content p:last-child {
    margin-bottom: 0;
}

.mzb-copyright-notice-cta {
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .mzb-copyright-notice-box {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }
    .mzb-copyright-notice-cta {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .mzb-copyright-notice-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .mzb-copyright-notice-icon {
        display: none;
    }
}

/* ==========================================================================
   Stärkere Pastell-Palette (Override auf :root)
   ========================================================================== */
:root {
    --mzb-bg:              #FBF6FF;   /* sanftes Lavendel-Creme */
    --mzb-surface:         #FFFDFF;
    --mzb-primary:         #8B5CF6;   /* helleres, freundliches Violett */
    --mzb-primary-dark:    #6D28D9;
    --mzb-primary-light:   #C4B5FD;   /* kräftiges Pastell-Lila */
    --mzb-secondary:       #FB923C;   /* warmes Pastell-Orange */
    --mzb-secondary-light: #FED7AA;
    --mzb-accent:          #FCD34D;   /* Honiggold */
    --mzb-border:          #E9D5FF;   /* sichtbarer Pastell-Rahmen */
    --mzb-border-light:    #F3E8FF;
}

/* ==========================================================================
   Step-Icons: premium 3D webp-icons
   ========================================================================== */
.mzb-step-img-icon {
    display: block;
    width: 160px;
    height: 160px;
    max-width: 100%;
    margin: 0 auto 1rem;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(139, 92, 246, 0.18));
    transition: transform 0.35s ease;
}
.mzb-step:hover .mzb-step-img-icon {
    transform: translateY(-4px) scale(1.04);
}

/* ==========================================================================
   Emotionale Texte — Caveat Handwriting
   ========================================================================== */
.mzb-emotional-text,
.mzb-final-cta h2 .mzb-emotional,
.mzb-hero-tagline-script {
    font-family: 'Caveat', 'Quicksand', cursive !important;
    font-weight: 700;
    line-height: 1.15;
    color: var(--mzb-primary, #8b5cf6);
}
h2.mzb-emotional-text {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}
