/*
Theme Name:   EloriaTale
Theme URI:    https://eloriatale.de
Description:  Standalone-Theme für EloriaTale – Personalisierte KI-Kinderbücher. Mobile-First, WooCommerce-ready, DSGVO-konform, barrierefrei (WCAG 2.1 AA).
Author:       EloriaTale
Author URI:   https://eloriatale.de
Version:      2.0.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain:  eloriatale
Domain Path:  /languages
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         custom-menu, featured-images, threaded-comments, translation-ready, e-commerce
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES (Farbpalette & Design-Variablen)
   ========================================================================== */

:root {
    /* ── Farben (Magisch-Premium Palette) ──────────────────────── */
    --mzb-bg:               #FDFAF6;   /* warmes Creme-Weiß */
    --mzb-surface:          #FFFCF9;   /* hellere Fläche */
    --mzb-primary:          #7C3AED;   /* Tiefes Violett — magisch & premium */
    --mzb-primary-dark:     #5B21B6;
    --mzb-primary-light:    #A78BFA;
    --mzb-secondary:        #F97316;   /* Warmes Korall-Orange — einladend */
    --mzb-secondary-dark:   #C2410C;
    --mzb-secondary-light:  #FED7AA;
    --mzb-accent:           #FBBF24;   /* Goldgelb — sonnig & verspielt */
    --mzb-accent-dark:      #D97706;
    --mzb-green:            #059669;   /* Smaragd-Grün — Vertrauen & DSGVO */
    --mzb-green-light:      rgba(5, 150, 105, 0.10);
    --mzb-text:             #FFF0D2; 1F1235;   /* Tief-Indigo-Schwarz */
    --mzb-text-light:       #6B5F7A;
    --mzb-white:            #FFFFFF;
    --mzb-border:           #EDE8F5;
    --mzb-border-light:     #F5F0FC;
    --mzb-trust:            #FBBF24;

    /* Konstruktions-Banner */
    --mzb-banner-bg:        #FFF3CD;
    --mzb-banner-text:      #856404;
    --mzb-banner-border:    #FFECB5;

    /* Abstände */
    --mzb-radius:           16px;
    --mzb-radius-sm:        8px;
    --mzb-radius-lg:        28px;
    --mzb-radius-xl:        40px;
    --mzb-shadow:           0 4px 24px rgba(31, 18, 53, 0.10);
    --mzb-shadow-hover:     0 12px 40px rgba(31, 18, 53, 0.18);
    --mzb-shadow-card:      0 2px 16px rgba(31, 18, 53, 0.07);
    --mzb-shadow-xl:        0 20px 60px rgba(31, 18, 53, 0.20);

    /* Typografie */
    --mzb-font-heading:     'Quicksand', 'Nunito', sans-serif;
    --mzb-font-body:        'Inter', 'DM Sans', sans-serif;
    --mzb-font-mono:        'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

    /* Transitions */
    --mzb-transition:       all 0.25s ease;
    --mzb-transition-slow:  all 0.4s ease;
}

/* ==========================================================================
   BASIS-RESET & BODY  (ohne Astra-Parent nötig)
   ========================================================================== */

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

html, body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol {
    margin: 0;
    padding: 0;
}

ul[class], ol[class] {
    list-style: none;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--mzb-bg);
    color: var(--mzb-text);
    font-family: var(--mzb-font-body);
    font-size: 16px;
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video, canvas {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

/* Respektiere reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   TYPOGRAFIE
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--mzb-font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--mzb-text);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    color: var(--mzb-text-light);
}

a {
    color: var(--mzb-primary);
    text-decoration: none;
    transition: var(--mzb-transition);
}

a:hover {
    color: var(--mzb-primary-dark);
}

strong, b {
    color: var(--mzb-text);
    font-weight: 700;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.mzb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 2rem;
    border-radius: var(--mzb-radius);
    font-family: var(--mzb-font-heading);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--mzb-transition);
    text-decoration: none;
    white-space: nowrap;
}

.mzb-btn-primary {
    background: var(--mzb-primary);
    color: var(--mzb-white);
    border-color: var(--mzb-primary);
    box-shadow: 0 4px 18px rgba(224, 104, 52, 0.38);
}

.mzb-btn-primary:hover {
    background: var(--mzb-primary-dark);
    border-color: var(--mzb-primary-dark);
    color: var(--mzb-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(224, 104, 52, 0.50);
}

.mzb-btn-secondary {
    background: transparent;
    color: var(--mzb-primary);
    border-color: var(--mzb-primary);
}

.mzb-btn-secondary:hover {
    background: var(--mzb-primary);
    color: var(--mzb-white);
    transform: translateY(-2px);
}

.mzb-btn-lg {
    min-height: 56px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.mzb-btn-sm {
    min-height: 36px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   LAYOUT-HILFSELEMENTE
   ========================================================================== */

.mzb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.mzb-section {
    padding: 5rem 0;
}

.mzb-section-sm {
    padding: 3rem 0;
}

.mzb-section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.mzb-section-title h2 {
    margin-bottom: 0.75rem;
}

.mzb-section-title p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.mzb-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mzb-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

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

@media (max-width: 768px) {
    .mzb-grid-3 { grid-template-columns: 1fr; }
    .mzb-grid-2 { grid-template-columns: 1fr; }
    .mzb-grid-4 { grid-template-columns: 1fr; }
    .mzb-section { padding: 3rem 0; }
}

/* ==========================================================================
   KARTEN / CARDS
   ========================================================================== */

.mzb-card {
    background: var(--mzb-white);
    border-radius: var(--mzb-radius);
    box-shadow: var(--mzb-shadow-card);
    border: 1px solid var(--mzb-border);
    overflow: hidden;
    transition: var(--mzb-transition);
}

.mzb-card:hover {
    box-shadow: var(--mzb-shadow-hover);
    transform: translateY(-4px);
}

.mzb-card-body {
    padding: 1.75rem;
}

/* ==========================================================================
   KONSTRUKTIONS-BANNER
   ========================================================================== */

#mzb-construction-banner {
    background: var(--mzb-banner-bg);
    border-bottom: 2px solid var(--mzb-banner-border);
    color: var(--mzb-banner-text);
    text-align: center;
    padding: 0.75rem 1rem;
    font-family: var(--mzb-font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    z-index: 9999;
}

#mzb-construction-banner p {
    margin: 0;
    color: var(--mzb-banner-text);
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.mzb-header {
    background: var(--mzb-white);
    box-shadow: 0 2px 12px rgba(45, 52, 54, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mzb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mzb-logo {
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    padding: 0.55rem 1.15rem;
    border: 2px solid var(--mzb-primary);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(244, 132, 95, 0.25), 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.5px;
    background-image: linear-gradient(95deg, #f4845f 0%, #e85a9c 35%, #8b5cf6 70%, #5eb8d9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.mzb-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(244, 132, 95, 0.35), 0 2px 5px rgba(0,0,0,0.1);
}

.mzb-logo span {
    background-image: linear-gradient(95deg, #8b5cf6 0%, #e85a9c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.mzb-footer-brand .mzb-logo {
    font-size: 3.15rem;
    margin-bottom: 1rem;
}

.mzb-footer-brand .mzb-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(244, 132, 95, 0.35), 0 2px 5px rgba(0,0,0,0.1);
}

.mzb-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mzb-nav a {
    color: var(--mzb-text);
    font-weight: 600;
    padding: 0.75rem 1.3rem;
    border-radius: var(--mzb-radius-sm);
    transition: var(--mzb-transition);
    font-size: 1.425rem;
}

.mzb-nav a:hover {
    color: var(--mzb-primary);
    background: rgba(224, 104, 52, 0.08);
}

.mzb-header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu Toggle */
.mzb-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.mzb-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--mzb-text);
    border-radius: 2px;
    transition: var(--mzb-transition);
}

@media (max-width: 768px) {
    .mzb-menu-toggle { display: flex; }
    .mzb-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--mzb-white);
        padding: 1rem;
        box-shadow: var(--mzb-shadow);
        gap: 0;
    }
    .mzb-nav.is-open { display: flex; }
    .mzb-nav li { width: 100%; }
    .mzb-nav a { display: block; padding: 0.75rem 1rem; }
    .mzb-header-cta .mzb-btn { display: none; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.mzb-footer {
    background: var(--mzb-text);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}

.mzb-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.mzb-footer-brand .mzb-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.mzb-footer-brand p {
    color: #FFF0D2;
    font-size: 0.9rem;
}

.mzb-footer h4 {
    color: var(--mzb-white);
    font-family: var(--mzb-font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.mzb-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mzb-footer ul li {
    margin-bottom: 0.5rem;
}

.mzb-footer ul a {
    color: #FFF0D2;
    font-size: 0.9rem;
    transition: var(--mzb-transition);
}

.mzb-footer ul a:hover {
    color: var(--mzb-primary);
}

.mzb-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #FFF0D2;
}

.mzb-footer-bottom a {
    color: #FFF0D2;
}

.mzb-footer-bottom a:hover {
    color: var(--mzb-primary);
}

.mzb-trust-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mzb-trust-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #FFFFFF;
}

.mzb-trust-badge svg {
    color: var(--mzb-accent);
}

@media (max-width: 1024px) {
    .mzb-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
    .mzb-footer-grid { grid-template-columns: 1fr; }
    .mzb-footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .mzb-trust-badges { flex-wrap: wrap; justify-content: center; }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.mzb-hero {
    background: linear-gradient(160deg, var(--mzb-bg) 0%, rgba(245, 179, 37, 0.08) 40%, rgba(58, 91, 168, 0.06) 100%);
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.mzb-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -120px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(224, 104, 52, 0.07) 0%, transparent 65%);
    pointer-events: none;
}

.mzb-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(58, 91, 168, 0.05) 0%, transparent 65%);
    pointer-events: none;
}

.mzb-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.mzb-hero-text .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(244, 132, 95, 0.1);
    color: var(--mzb-primary);
    padding: 0.35rem 0.875rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--mzb-font-heading);
}

.mzb-hero-text h1 {
    margin-bottom: 1.25rem;
    color: var(--mzb-text);
}

.mzb-hero-text h1 span {
    color: var(--mzb-primary);
}

.mzb-hero-text .subtitle {
    font-size: 1.15rem;
    color: var(--mzb-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.mzb-hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.mzb-hero-proof {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #FFF0D2;
}

.mzb-hero-proof span {
    color: #FFF0D2;
}

.mzb-stars {
    color: var(--mzb-trust);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.mzb-hero-image {
    position: relative;
}

.mzb-hero-mockup {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, rgba(168, 213, 186, 0.3), rgba(126, 200, 227, 0.3));
    border-radius: var(--mzb-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--mzb-border);
    position: relative;
    overflow: hidden;
}

/* HIER HERO-BILD MIT KINDERBUCH-MOCKUP */
.mzb-hero-mockup .placeholder-text {
    text-align: center;
    color: var(--mzb-text-light);
    font-family: var(--mzb-font-heading);
    font-size: 1rem;
    padding: 2rem;
}

.mzb-hero-badge-float {
    position: absolute;
    background: var(--mzb-white);
    border-radius: var(--mzb-radius);
    padding: 0.75rem 1rem;
    box-shadow: var(--mzb-shadow);
    font-family: var(--mzb-font-heading);
    font-weight: 700;
    font-size: 0.85rem;
}

.mzb-hero-badge-float.badge-1 {
    bottom: 2rem;
    left: -1.5rem;
    color: var(--mzb-text);
}

.mzb-hero-badge-float.badge-2 {
    top: 2rem;
    right: -1.5rem;
    color: var(--mzb-primary);
}

@media (max-width: 900px) {
    .mzb-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .mzb-hero-badge-float { display: none; }
}

/* ==========================================================================
   BUCH-SHOWCASE
   ========================================================================== */

.mzb-showcase {
    background: var(--mzb-white);
}

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

.mzb-book-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--mzb-bg), rgba(168, 213, 186, 0.2));
    border-radius: var(--mzb-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mzb-border);
    overflow: hidden;
    transition: var(--mzb-transition);
    cursor: pointer;
}

/* HIER ECHTE BUCH-MOCKUPS EINFÜGEN – sollen fotorealistisch aussehen wie echte gedruckte Bücher */
.mzb-book-placeholder:hover {
    transform: scale(1.03);
    box-shadow: var(--mzb-shadow);
}

.mzb-book-placeholder .inner {
    text-align: center;
    padding: 1rem;
}

.mzb-book-placeholder .inner .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.mzb-book-placeholder .inner span {
    font-size: 0.8rem;
    color: var(--mzb-text-light);
}

@media (max-width: 1024px) {
    .mzb-showcase-grid { grid-template-columns: repeat(3, 1fr); }
}

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

/* ==========================================================================
   VERSIONEN / PRODUKT-KARTEN
   ========================================================================== */

.mzb-versions {
    background: var(--mzb-bg);
}

.mzb-version-card {
    background: var(--mzb-white);
    border-radius: var(--mzb-radius-lg);
    padding: 2rem;
    box-shadow: var(--mzb-shadow-card);
    border: 2px solid var(--mzb-border);
    display: flex;
    flex-direction: column;
    transition: var(--mzb-transition);
    position: relative;
}

.mzb-version-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--mzb-shadow-hover);
    border-color: var(--mzb-primary-light);
}

.mzb-version-card.featured {
    border-color: var(--mzb-primary);
}

.mzb-version-card .badge-popular {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mzb-primary);
    color: var(--mzb-white);
    padding: 0.3rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--mzb-font-heading);
    white-space: nowrap;
}

.mzb-version-image {
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 1.25rem;
    padding: 6px;
    background: transparent;
    border-radius: 10px;
    border: 1px solid var(--mzb-border);
    box-sizing: border-box;
}

/* HIER BUCH-MOCKUP EINFÜGEN */

.mzb-version-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.mzb-version-card .version-desc {
    color: var(--mzb-text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}

.mzb-version-features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.mzb-version-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--mzb-text-light);
    margin-bottom: 0.5rem;
}

.mzb-version-features li::before {
    content: '✓';
    color: var(--mzb-accent-dark);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.mzb-version-pricing {
    margin-bottom: 1.5rem;
}

.mzb-price-label {
    font-size: 0.8rem;
    color: var(--mzb-text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.mzb-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.mzb-price-main {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--mzb-font-heading);
    color: var(--mzb-text);
}

.mzb-price-sub {
    font-size: 0.9rem;
    color: var(--mzb-text-light);
}

/* ==========================================================================
   SO FUNKTIONIERT'S — STEPS
   ========================================================================== */

.mzb-steps {
    background: var(--mzb-white);
}

.mzb-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.mzb-steps-grid::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    left: calc(16.66% + 1rem);
    right: calc(16.66% + 1rem);
    height: 2px;
    background: linear-gradient(90deg, var(--mzb-primary-light), var(--mzb-secondary));
    pointer-events: none;
}

.mzb-step {
    text-align: center;
    position: relative;
}

.mzb-step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--mzb-primary), var(--mzb-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(244, 132, 95, 0.3);
    position: relative;
    z-index: 1;
}

.mzb-step-icon::after {
    content: attr(data-step);
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: var(--mzb-text);
    color: var(--mzb-white);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mzb-font-heading);
}

.mzb-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.mzb-step p {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .mzb-steps-grid { grid-template-columns: 1fr; gap: 2rem; }
    .mzb-steps-grid::before { display: none; }
}

/* ==========================================================================
   DATENSCHUTZ-BANNER (USP)
   ========================================================================== */

.mzb-privacy-banner {
    background: linear-gradient(135deg, rgba(168, 213, 186, 0.2), rgba(126, 200, 227, 0.15));
    border: 1px solid rgba(168, 213, 186, 0.5);
    border-radius: var(--mzb-radius-lg);
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.mzb-privacy-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--mzb-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.mzb-privacy-content h3 {
    margin-bottom: 0.75rem;
    color: var(--mzb-text);
}

.mzb-privacy-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.mzb-privacy-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mzb-privacy-points li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mzb-text);
    background: var(--mzb-white);
    padding: 0.4rem 0.875rem;
    border-radius: 100px;
    border: 1px solid var(--mzb-border);
}

.mzb-privacy-points li::before {
    content: '🔒';
    font-size: 0.85rem;
}

@media (max-width: 640px) {
    .mzb-privacy-banner { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   BEWERTUNGEN
   ========================================================================== */

.mzb-reviews {
    background: var(--mzb-bg);
}

.mzb-review-card {
    background: var(--mzb-white);
    border-radius: var(--mzb-radius);
    padding: 1.75rem;
    box-shadow: var(--mzb-shadow-card);
    border: 1px solid var(--mzb-border);
}

.mzb-review-stars {
    color: var(--mzb-trust);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.mzb-review-text {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--mzb-text-light);
}

.mzb-reviewer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mzb-reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mzb-primary-light), var(--mzb-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--mzb-white);
    font-weight: 700;
    font-family: var(--mzb-font-heading);
}

.mzb-reviewer-info strong {
    display: block;
    font-size: 0.9rem;
}

.mzb-reviewer-info span {
    font-size: 0.8rem;
    color: var(--mzb-text-light);
}

/* ==========================================================================
   KONFIGURATOR (BUCH ERSTELLEN)
   ========================================================================== */

.mzb-configurator {
    background: var(--mzb-bg);
    padding: 3rem 0 5rem;
}

.mzb-progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.mzb-progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--mzb-border);
}

.mzb-progress-bar .progress-fill {
    position: absolute;
    top: 20px;
    left: 10%;
    height: 2px;
    background: var(--mzb-primary);
    transition: width 0.4s ease;
}

.mzb-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.mzb-step-indicator .step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--mzb-border);
    color: var(--mzb-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--mzb-font-heading);
    font-size: 0.9rem;
    transition: var(--mzb-transition);
    border: 2px solid var(--mzb-border);
}

.mzb-step-indicator.active .step-num {
    background: var(--mzb-primary);
    color: var(--mzb-white);
    border-color: var(--mzb-primary);
}

.mzb-step-indicator.completed .step-num {
    background: var(--mzb-accent-dark);
    color: var(--mzb-white);
    border-color: var(--mzb-accent-dark);
}

.mzb-step-indicator .step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mzb-text-light);
    white-space: nowrap;
    font-family: var(--mzb-font-heading);
}

.mzb-step-indicator.active .step-label { color: var(--mzb-primary); }

.mzb-configurator-panel {
    background: var(--mzb-white);
    border-radius: var(--mzb-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--mzb-shadow);
    max-width: 900px;
    margin: 0 auto;
}

.mzb-form-step { display: none; }
.mzb-form-step.active { display: block; }

.mzb-form-step h2 {
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}

.mzb-form-step .step-subtitle {
    color: var(--mzb-text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Formular-Elemente */
.mzb-form-group {
    margin-bottom: 1.5rem;
}

.mzb-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--mzb-text);
    font-size: 0.95rem;
}

.mzb-form-group label .required {
    color: var(--mzb-primary);
    margin-left: 2px;
}

.mzb-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--mzb-border);
    border-radius: var(--mzb-radius-sm);
    font-size: 1rem;
    font-family: var(--mzb-font-body);
    color: var(--mzb-text);
    background: var(--mzb-white);
    transition: var(--mzb-transition);
    outline: none;
    appearance: none;
}

.mzb-form-control:focus {
    border-color: var(--mzb-primary);
    box-shadow: 0 0 0 3px rgba(244, 132, 95, 0.12);
}

.mzb-form-control.is-invalid {
    border-color: #e74c3c;
}

.mzb-form-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.35rem;
    display: none;
}

.mzb-form-control.is-invalid + .mzb-form-error { display: block; }

.mzb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .mzb-form-row { grid-template-columns: 1fr; }
    .mzb-configurator-panel { padding: 1.5rem; }
}

/* Checkboxen */
.mzb-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mzb-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.mzb-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--mzb-primary);
    cursor: pointer;
}

.mzb-checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

/* Radio-Karten für Versionen */
.mzb-version-radio-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.mzb-version-radio-card {
    position: relative;
}

.mzb-version-radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.mzb-version-radio-card label {
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.4rem;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 14px;
    cursor: pointer;
    transition: var(--mzb-transition);
    height: 100%;
    margin: 0;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
}

.mzb-vcard-v1 label {
    background: linear-gradient(135deg, #F09B6A 0%, #E06834 100%);
}
.mzb-vcard-v2 label {
    background: linear-gradient(135deg, #6B89CC 0%, #3A5BA8 100%);
}
.mzb-vcard-v2p label {
    background: linear-gradient(135deg, #73C8A9 0%, #4DAE8C 100%);
}

.mzb-version-radio-card input:checked + label {
    border-color: #fff;
    border-width: 4px;
    box-shadow: 0 0 0 5px rgba(255,255,255,0.9), 0 0 0 8px rgba(255,255,255,0.3), 0 14px 36px rgba(0,0,0,0.3);
    transform: translateY(-4px);
    filter: brightness(1.12);
}

/* Grünes Häkchen-Badge wenn ausgewählt */
.mzb-version-radio-card:has(input:checked)::after {
    content: '✓';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 30px;
    height: 30px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    border: 2.5px solid #fff;
    line-height: 1;
    padding-top: 1px;
}

.mzb-version-radio-card label:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}

.mzb-version-radio-card .v-tag {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--mzb-font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.22);
    color: #fff;
    padding: 0.28rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.85rem;
    backdrop-filter: blur(4px);
}

.mzb-version-radio-card .v-name {
    font-family: var(--mzb-font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.55rem;
    line-height: 1.2;
}

.mzb-version-radio-card .v-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1rem;
    flex: 1;
    font-weight: 400;
    line-height: 1.5;
}

.mzb-version-radio-card .v-price {
    font-family: var(--mzb-font-heading);
    font-weight: 800;
    color: #fff;
    font-size: 1.1rem;
    background: rgba(0,0,0,0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    align-self: flex-start;
}

.mzb-vcard-popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD54F;
    color: #4a3a00;
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

@media (max-width: 640px) {
    .mzb-version-radio-group { grid-template-columns: 1fr; }
}

/* Geschichte-Auswahl Tabs */
.mzb-story-tabs {
    display: flex;
    gap: 0;
    border: 2px solid var(--mzb-border);
    border-radius: var(--mzb-radius-sm);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.mzb-story-tab {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: var(--mzb-font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--mzb-text-light);
    transition: var(--mzb-transition);
    border-right: 1px solid var(--mzb-border);
}

.mzb-story-tab:last-child { border-right: none; }

.mzb-story-tab.active {
    background: var(--mzb-primary);
    color: var(--mzb-white);
}

.mzb-story-panel { display: none; }
.mzb-story-panel.active { display: block; }

/* Format-Auswahl */
.mzb-format-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mzb-format-card {
    position: relative;
}

.mzb-format-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.mzb-format-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    border: 2px solid var(--mzb-border);
    border-radius: var(--mzb-radius);
    cursor: pointer;
    transition: var(--mzb-transition);
    margin: 0;
}

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

.mzb-format-card .f-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.mzb-format-card .f-name {
    font-family: var(--mzb-font-heading);
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.mzb-format-card .f-price {
    font-weight: 700;
    color: var(--mzb-primary);
    font-family: var(--mzb-font-heading);
    margin-bottom: 0.25rem;
}
.mzb-format-card .f-note {
    font-size: 0.8rem;
    color: var(--mzb-text-light);
    font-weight: 400;
}

@media (max-width: 640px) {
    .mzb-format-group { grid-template-columns: 1fr; }
}

/* Navigations-Buttons für Konfigurator */
.mzb-step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mzb-border);
}

/* Zusammenfassung */
.mzb-summary {
    background: var(--mzb-bg);
    border-radius: var(--mzb-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.mzb-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--mzb-border);
    font-size: 0.95rem;
}

.mzb-summary-row:last-child { border-bottom: none; }

.mzb-summary-row .label { color: var(--mzb-text-light); }
.mzb-summary-row .value { font-weight: 600; color: var(--mzb-text); }

.mzb-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--mzb-white);
    border-radius: var(--mzb-radius);
    border: 2px solid var(--mzb-primary-light);
    margin-bottom: 1.5rem;
}

.mzb-summary-total .label {
    font-family: var(--mzb-font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.mzb-summary-total .price {
    font-family: var(--mzb-font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--mzb-primary);
}

/* ==========================================================================
   FOTO-UPLOAD
   ========================================================================== */

.mzb-upload-zone {
    border: 2px dashed var(--mzb-primary-light);
    border-radius: var(--mzb-radius);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--mzb-transition);
    background: var(--mzb-bg);
    position: relative;
}

.mzb-upload-zone:hover,
.mzb-upload-zone.drag-over {
    border-color: var(--mzb-primary);
    background: rgba(244, 132, 95, 0.04);
}

.mzb-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.mzb-upload-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.mzb-upload-zone h4 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.mzb-upload-zone p { margin-bottom: 0; font-size: 0.9rem; }

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

.mzb-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--mzb-radius-sm);
    overflow: hidden;
    box-shadow: var(--mzb-shadow-card);
}

.mzb-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mzb-preview-item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--mzb-transition);
}

.mzb-privacy-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(168, 213, 186, 0.2);
    border: 1px solid var(--mzb-accent);
    border-radius: var(--mzb-radius-sm);
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.mzb-privacy-hint .icon { font-size: 1.2rem; flex-shrink: 0; }

/* ==========================================================================
   VORLAGEN-SEITEN
   ========================================================================== */

.mzb-templates-hero {
    background: linear-gradient(135deg, rgba(126, 200, 227, 0.15), rgba(168, 213, 186, 0.15));
    padding: 4rem 0;
    text-align: center;
}

.mzb-age-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.mzb-age-tab {
    padding: 0.625rem 1.25rem;
    border-radius: 100px;
    font-family: var(--mzb-font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid var(--mzb-border);
    color: var(--mzb-text-light);
    transition: var(--mzb-transition);
    background: var(--mzb-white);
}

.mzb-age-tab:hover,
.mzb-age-tab.active {
    background: var(--mzb-primary);
    border-color: var(--mzb-primary);
    color: var(--mzb-white);
}

.mzb-gender-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.mzb-gender-col h3 {
    text-align: center;
    padding: 0.75rem;
    border-radius: var(--mzb-radius);
    margin-bottom: 1.5rem;
    font-family: var(--mzb-font-heading);
    font-size: 1.1rem;
}

.mzb-gender-col.girls h3 { background: rgba(244, 132, 95, 0.12); color: var(--mzb-primary-dark); }
.mzb-gender-col.boys h3 { background: rgba(126, 200, 227, 0.2); color: var(--mzb-secondary-dark); }

.mzb-template-card {
    background: var(--mzb-white);
    border-radius: var(--mzb-radius);
    padding: 1.25rem;
    box-shadow: var(--mzb-shadow-card);
    border: 1px solid var(--mzb-border);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    transition: var(--mzb-transition);
}

.mzb-template-card:hover {
    box-shadow: var(--mzb-shadow);
    transform: translateX(4px);
}

.mzb-template-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--mzb-radius-sm);
    background: var(--mzb-primary);
    color: var(--mzb-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mzb-font-heading);
    font-weight: 800;
    font-size: 1.1rem;
}

.mzb-gender-col.boys .mzb-template-number { background: var(--mzb-secondary-dark); }

.mzb-template-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--mzb-text);
}

.mzb-template-info p {
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .mzb-gender-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.mzb-faq {
    max-width: 800px;
    margin: 0 auto;
}

.mzb-faq-item {
    border: 1px solid var(--mzb-border);
    border-radius: var(--mzb-radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--mzb-white);
}

.mzb-faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--mzb-font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--mzb-text);
    transition: var(--mzb-transition);
}

.mzb-faq-question:hover { background: rgba(244, 132, 95, 0.04); }
.mzb-faq-item.open .mzb-faq-question { color: var(--mzb-primary); }

.mzb-faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--mzb-transition);
    font-size: 1rem;
    line-height: 1;
}

.mzb-faq-item.open .mzb-faq-icon { transform: rotate(45deg); }

.mzb-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.mzb-faq-item.open .mzb-faq-answer {
    max-height: 6000px;
}

.mzb-faq-answer-inner {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #1A0E06;
}

.mzb-faq-answer-inner p,
.mzb-faq-answer-inner li,
.mzb-faq-answer-inner strong,
.mzb-faq-answer-inner em,
.mzb-faq-answer-inner span {
    color: #1A0E06;
}

/* ==========================================================================
   GALERIE / BEISPIELE
   ========================================================================== */

.mzb-gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.mzb-filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    border: 2px solid var(--mzb-border);
    background: var(--mzb-white);
    font-family: var(--mzb-font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--mzb-text-light);
    cursor: pointer;
    transition: var(--mzb-transition);
}

.mzb-filter-btn:hover,
.mzb-filter-btn.active {
    background: var(--mzb-primary);
    border-color: var(--mzb-primary);
    color: var(--mzb-white);
}

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

/* HIER ECHTE BUCHSEITEN-BEISPIELE EINFÜGEN */
.mzb-gallery-item {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--mzb-bg), rgba(126, 200, 227, 0.15));
    border-radius: var(--mzb-radius);
    border: 1px solid var(--mzb-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--mzb-transition);
    position: relative;
}

.mzb-gallery-item:hover { transform: scale(1.02); box-shadow: var(--mzb-shadow); }

.mzb-gallery-item .gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 52, 54, 0.7);
    color: white;
    padding: 0.5rem;
    font-size: 0.8rem;
    text-align: center;
    font-family: var(--mzb-font-heading);
    font-weight: 600;
}

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

/* ==========================================================================
   KONTAKTFORMULAR
   ========================================================================== */

.mzb-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.mzb-contact-info h3 { margin-bottom: 1.5rem; }

.mzb-contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mzb-contact-method .icon {
    width: 44px;
    height: 44px;
    border-radius: var(--mzb-radius-sm);
    background: rgba(244, 132, 95, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.mzb-contact-method h4 { margin-bottom: 0.25rem; font-size: 0.9rem; }
.mzb-contact-method p { margin: 0; font-size: 0.9rem; }
.mzb-contact-method a { color: var(--mzb-text); }
.mzb-contact-method a:hover { color: var(--mzb-primary); }

.mzb-contact-form {
    background: var(--mzb-white);
    border-radius: var(--mzb-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--mzb-shadow);
}

@media (max-width: 768px) {
    .mzb-contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ==========================================================================
   LOADING STATES
   ========================================================================== */

.mzb-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.mzb-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: mzb-spin 0.6s linear infinite;
}

@keyframes mzb-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */

#mzb-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999; /* Eine 9 mehr, um sicherzugehen */
    background: #1a1a1a; /* Ein festes, sattes Dunkelgrau */
    color: #ffffff;      /* Festes Weiß */
    padding: 1.25rem 1.5rem;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

#mzb-cookie-banner.visible { transform: translateY(0); }

.mzb-cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.mzb-cookie-text {
    flex: 1;
    min-width: 280px;
    font-size: 0.9rem;
}

.mzb-cookie-text p { margin: 0; color: rgba(255,255,255,1); }
.mzb-cookie-text a { color: var(--mzb-secondary); }
.mzb-cookie-text a:hover { color: var(--mzb-white); }

.mzb-cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.mzb-cookie-btn {
    padding: 0.625rem 1.25rem;
    border-radius: var(--mzb-radius-sm);
    font-family: var(--mzb-font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--mzb-transition);
    white-space: nowrap;
}

.mzb-cookie-btn-accept {
    background: var(--mzb-primary);
    color: var(--mzb-white);
    border-color: var(--mzb-primary);
}

.mzb-cookie-btn-accept:hover { background: var(--mzb-primary-dark); }

.mzb-cookie-btn-minimal {
    background: transparent;
    color: rgba(255,255,255,1);
    border-color: rgba(255,255,255,1);
}

.mzb-cookie-btn-minimal:hover { border-color: rgba(255,255,255,0.7); color: var(--mzb-white); }

/* ==========================================================================
   RECHTLICHE SEITEN
   ========================================================================== */

.mzb-legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.mzb-legal-page h1 { margin-bottom: 0.5rem; }
.mzb-legal-page .last-updated {
    color: var(--mzb-text-light);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--mzb-border);
}

.mzb-legal-page h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mzb-border);
}

.mzb-legal-page h2:first-of-type { border-top: none; padding-top: 0; }

.mzb-legal-page ul, .mzb-legal-page ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.mzb-legal-page li {
    margin-bottom: 0.5rem;
    color: var(--mzb-text-light);
}

/* ==========================================================================
   PAGE HERO (allgemeiner Seiten-Header)
   ========================================================================== */

.mzb-page-hero {
    background: linear-gradient(135deg, rgba(168, 213, 186, 0.1), rgba(126, 200, 227, 0.1));
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--mzb-border);
}

.mzb-page-hero h1 { margin-bottom: 0.75rem; }
.mzb-page-hero p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-primary { color: var(--mzb-primary); }
.text-muted { color: var(--mzb-text-light); }
.font-heading { font-family: var(--mzb-font-heading); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* ==========================================================================
   WOOCOMMERCE & PRINT OVERRIDES
   ========================================================================== */

/* WooCommerce Anpassungen */
.woocommerce-message { border-color: var(--mzb-primary) !important; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--mzb-primary);
    color: var(--mzb-white);
    border-radius: var(--mzb-radius);
    font-family: var(--mzb-font-heading);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    transition: var(--mzb-transition);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--mzb-primary-dark);
    color: var(--mzb-white);
}

/* Print Styles */
@media print {
    #mzb-cookie-banner,
    #mzb-construction-banner,
    .mzb-header,
    .mzb-footer { display: none; }
}

/* ==========================================================================
   CSS 3D-BUCH-MOCKUPS
   ========================================================================== */

.mzb-book-3d-wrap {
    perspective: 1200px;
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 3px;
    border: 2px solid var(--mzb-primary-light, #c4b5fd);
    border-radius: 10px;
    background: transparent;
    box-sizing: border-box;
}

.mzb-book-3d {
    position: relative;
    width: 160px;
    height: 220px;
    transform-style: preserve-3d;
    transform: rotateY(-25deg) rotateX(4deg);
    transition: transform 0.5s ease;
    cursor: pointer;
}

.mzb-book-3d:hover {
    transform: rotateY(-15deg) rotateX(2deg) translateY(-8px);
}

/* Buchcover (Vorderseite) */
.mzb-book-3d .book-cover {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--mzb-primary-light), var(--mzb-primary));
    border-radius: 0 4px 4px 0;
    box-shadow: 6px 6px 20px rgba(26, 32, 53, 0.25);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-family: var(--mzb-font-heading);
    font-weight: 700;
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
}

/* Buchseite (Rücken) */
.mzb-book-3d .book-spine {
    position: absolute;
    top: 0;
    left: -28px;
    width: 28px;
    height: 100%;
    background: linear-gradient(to right, var(--mzb-primary-dark), var(--mzb-primary));
    border-radius: 2px 0 0 2px;
    transform-origin: right;
    transform: rotateY(90deg) translateZ(-14px) translateX(-14px);
    box-shadow: -4px 0 8px rgba(0,0,0,0.2);
}

/* Buchseiten (Schnitt rechts) */
.mzb-book-3d .book-pages {
    position: absolute;
    top: 3px;
    right: -8px;
    width: 8px;
    height: calc(100% - 6px);
    background: repeating-linear-gradient(
        to bottom,
        #f5f0e8 0px, #f5f0e8 1px,
        #ede6d8 1px, #ede6d8 2px
    );
    border-radius: 0 2px 2px 0;
}

/* Buchschatten entfernt — wir wollen jetzt einen tight frame um die Animation */

/* Varianten-Farben */
.mzb-book-3d.v1 .book-cover { background: linear-gradient(145deg, #F09B6A, #E06834); }
.mzb-book-3d.v1 .book-spine { background: linear-gradient(to right, #BF511F, #E06834); }
.mzb-book-3d.v2 .book-cover { background: linear-gradient(145deg, #6B89CC, #3A5BA8); }
.mzb-book-3d.v2 .book-spine { background: linear-gradient(to right, #27437E, #3A5BA8); }
.mzb-book-3d.v2p .book-cover { background: linear-gradient(145deg, #73C8A9, #4DAE8C); }
.mzb-book-3d.v2p .book-spine { background: linear-gradient(to right, #2D8C6E, #4DAE8C); }
.mzb-book-3d.gold .book-cover { background: linear-gradient(145deg, #F7CE68, #F5B325); }
.mzb-book-3d.gold .book-spine { background: linear-gradient(to right, #B8880A, #D4940A); }

/* Showcase-Grid mit 3D-Büchern */
.mzb-book-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    align-items: end;
    max-width: 1100px;
    margin: 0 auto;
}

.mzb-book-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.mzb-book-grid-item .book-label {
    font-size: 0.8rem;
    color: var(--mzb-text-light);
    font-weight: 600;
    text-align: center;
}

@media (max-width: 1024px) {
    .mzb-book-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .mzb-book-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .mzb-book-3d { width: 120px; height: 165px; }
    .mzb-book-3d .book-spine { width: 22px; left: -22px; }
}

/* ==========================================================================
   EMBEDDING-VISUALISIERUNG (Terminal-Stil)
   ========================================================================== */

.mzb-embedding-visual {
    background: #F5F0E8;
    border-radius: var(--mzb-radius-lg);
    padding: 1.5rem;
    font-family: var(--mzb-font-mono);
    font-size: 0.72rem;
    line-height: 1.6;
    color: #2A1A0A;
    box-shadow: 0 20px 60px rgba(15, 22, 41, 0.2), inset 0 1px 0 rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
    max-height: 320px;
}

.mzb-embedding-visual::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, #FFFFFF 100%);
    pointer-events: none;
    z-index: 1;
}

.mzb-embedding-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(126, 200, 164, 0.15);
}

.mzb-embedding-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}

.mzb-embedding-dot.red   { background: #FF5F57; }
.mzb-embedding-dot.amber { background: #FFBD2E; }
.mzb-embedding-dot.green { background: #28CA41; }

.mzb-embedding-title {
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    margin-left: 0.5rem;
}

.mzb-embedding-row {
    color: #FFFFFF;
    word-break: break-all;
    margin-bottom: 0.1rem;
}

.mzb-embedding-row .num-pos { color: #1A7A3C; }
.mzb-embedding-row .num-neg { color: #C0392B; }
.mzb-embedding-row .bracket { color: #B07A10; }

.mzb-embedding-label {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 22, 41, 0.9);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    z-index: 2;
}

/* Privacy-Bereich vollständig */
.mzb-privacy-section {
    background: var(--mzb-surface);
    border-radius: var(--mzb-radius-xl);
    padding: 4rem;
    box-shadow: var(--mzb-shadow-card);
    border: 1px solid var(--mzb-border-light);
}

.mzb-privacy-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mzb-privacy-statement {
    background: linear-gradient(135deg, rgba(77, 174, 140, 0.08), rgba(58, 91, 168, 0.05));
    border: 2px solid rgba(77, 174, 140, 0.2);
    border-radius: var(--mzb-radius);
    padding: 2rem;
    margin-top: 2rem;
}

.mzb-privacy-statement h4 {
    color: var(--mzb-green);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mzb-privacy-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mzb-privacy-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--mzb-text);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--mzb-border-light);
}

.mzb-privacy-check-list li:last-child { border-bottom: none; }

.mzb-privacy-check-list li .check {
    color: var(--mzb-green);
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.mzb-privacy-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
}

.mzb-privacy-card {
    background: var(--mzb-white);
    border-radius: var(--mzb-radius);
    padding: 1.5rem;
    border: 1px solid var(--mzb-border);
    transition: var(--mzb-transition);
}

.mzb-privacy-card:hover {
    border-color: var(--mzb-green);
    box-shadow: 0 4px 20px rgba(77, 174, 140, 0.12);
    transform: translateY(-2px);
}

.mzb-privacy-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--mzb-green);
}

.mzb-privacy-card h4 {
    font-size: 1rem;
    color: var(--mzb-text);
    margin-bottom: 0.5rem;
}

.mzb-privacy-card p {
    font-size: 0.88rem;
    color: var(--mzb-text-light);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .mzb-privacy-grid-2 { grid-template-columns: 1fr; gap: 2rem; }
    .mzb-privacy-section { padding: 2rem 1.5rem; }
}

/* ==========================================================================
   SVG STEP-ICONS
   ========================================================================== */

.mzb-step-svg-icon {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(224, 104, 52, 0.25));
}

.mzb-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    align-items: start;
}

.mzb-steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.66% + 40px);
    right: calc(16.66% + 40px);
    height: 2px;
    background: linear-gradient(to right, var(--mzb-primary), var(--mzb-secondary));
    opacity: 0.2;
}

.mzb-step {
    text-align: center;
    position: relative;
}

.mzb-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--mzb-primary);
    color: white;
    font-family: var(--mzb-font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(224, 104, 52, 0.35);
}

@media (max-width: 768px) {
    .mzb-steps-grid { grid-template-columns: 1fr; gap: 2rem; }
    .mzb-steps-grid::before { display: none; }
}

/* ==========================================================================
   KOSTENLOSE VORSCHAU — SEITE
   ========================================================================== */

.mzb-free-preview-hero {
    background: linear-gradient(160deg, #1A2035 0%, #2A3A6E 60%, #3A5BA8 100%);
    padding: 5rem 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mzb-free-preview-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.mzb-free-preview-hero h1 {
    color: white;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.mzb-free-preview-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

.mzb-free-preview-hero .mzb-badge-free {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 179, 37, 0.2);
    border: 1px solid rgba(245, 179, 37, 0.4);
    color: #F5B325;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-family: var(--mzb-font-heading);
}

.mzb-trust-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.mzb-trust-row .trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
}

.mzb-trust-row .trust-item svg {
    color: #4DAE8C;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.mzb-upload-area-preview {
    border: 2px dashed var(--mzb-border);
    border-radius: var(--mzb-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--mzb-transition);
    background: var(--mzb-surface);
    cursor: pointer;
}

.mzb-upload-area-preview:hover,
.mzb-upload-area-preview.dragover {
    border-color: var(--mzb-primary);
    background: rgba(224, 104, 52, 0.04);
}

.mzb-upload-area-preview .upload-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    background: rgba(224, 104, 52, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mzb-preview-result {
    background: var(--mzb-white);
    border-radius: var(--mzb-radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--mzb-border);
    text-align: center;
    display: none;
}

.mzb-preview-result.is-visible { display: block; }

.mzb-preview-pages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.mzb-preview-page {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--mzb-bg), rgba(224, 104, 52, 0.08));
    border-radius: var(--mzb-radius);
    border: 2px dashed var(--mzb-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--mzb-text-light);
    text-align: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.mzb-preview-page img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--mzb-radius) - 2px);
}

/* ==========================================================================
   VERBESSERTER HEADER (schlank)
   ========================================================================== */

.mzb-header-slim .mzb-nav {
    gap: 0.5rem;
}

.mzb-nav-cta-link {
    color: var(--mzb-primary) !important;
    font-weight: 700 !important;
    background: rgba(224, 104, 52, 0.08) !important;
    border-radius: var(--mzb-radius-sm) !important;
    padding: 0.5rem 1rem !important;
}

.mzb-nav-cta-link:hover {
    background: rgba(224, 104, 52, 0.15) !important;
}

/* Kostenlose-Vorschau CTA auf Startseite */
.mzb-preview-cta-banner {
    background: linear-gradient(135deg, #1A2035, #3A5BA8);
    border-radius: var(--mzb-radius-lg);
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
    color: white;
    flex-wrap: wrap;
}

.mzb-preview-cta-banner .cta-text h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.mzb-preview-cta-banner .cta-text p {
    color: rgba(255,255,255,0.75);
    margin: 0;
    font-size: 0.95rem;
}

.mzb-btn-white {
    background: white;
    color: var(--mzb-secondary);
    border-color: white;
    font-weight: 700;
}

.mzb-btn-white:hover {
    background: var(--mzb-accent);
    border-color: var(--mzb-accent);
    color: var(--mzb-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 179, 37, 0.4);
}

/* Über uns — angepasst */
.mzb-about-book-placeholder {
    background: linear-gradient(145deg, rgba(224, 104, 52, 0.08), rgba(58, 91, 168, 0.06));
    border-radius: var(--mzb-radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--mzb-border);
    position: relative;
    overflow: hidden;
}

.mzb-about-book-placeholder::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 179, 37, 0.1), transparent 70%);
}

/* ==========================================================================
   WERTE-GRID (Über uns)
   ========================================================================== */

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

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

.mzb-value-card:hover {
    border-color: var(--mzb-primary);
    box-shadow: var(--mzb-shadow);
    transform: translateY(-4px);
}

.mzb-value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: block;
    color: var(--mzb-primary);
}

.mzb-value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--mzb-text);
}

.mzb-value-card p {
    font-size: 0.9rem;
    color: var(--mzb-text-light);
    margin: 0;
    line-height: 1.5;
}

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

@media (max-width: 500px) {
    .mzb-values-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   HERO-BUCH-MOCKUP (3D, links/rechts)
   ========================================================================== */

.mzb-hero-book-3d {
    perspective: 1400px;
    display: block;
    width: 100%;
    max-width: 778px;
    margin: 0 auto;
    padding: 3px;
    border: 2px solid var(--mzb-primary-light, #c4b5fd);
    border-radius: 12px;
    background: transparent;
    box-sizing: border-box;
}
.mzb-hero-book-3d > div { width: 100%; }

.mzb-hero-book-inner {
    position: relative;
    width: 220px;
    height: 300px;
    transform-style: preserve-3d;
    transform: rotateY(-30deg) rotateX(5deg);
    animation: mzb-float 4s ease-in-out infinite;
}

@keyframes mzb-float {
    0%,100% { transform: rotateY(-30deg) rotateX(5deg) translateY(0); }
    50%      { transform: rotateY(-30deg) rotateX(5deg) translateY(-12px); }
}

.mzb-hero-book-inner .book-cover {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #F09B6A, #E06834, #BF511F);
    border-radius: 0 8px 8px 0;
    box-shadow: 8px 8px 30px rgba(26, 32, 53, 0.30), inset -2px 0 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.9);
    font-family: var(--mzb-font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    text-align: center;
    padding: 1.5rem;
    overflow: hidden;
}

.mzb-hero-book-inner .book-cover::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0.15), transparent 50%);
}

.mzb-hero-book-inner .book-spine {
    position: absolute;
    top: 0; left: -36px;
    width: 36px; height: 100%;
    background: linear-gradient(to right, #8A3010, #BF511F);
    border-radius: 4px 0 0 4px;
    transform-origin: right center;
    transform: rotateY(90deg) translateZ(-18px) translateX(-18px);
}

.mzb-hero-book-inner .book-pages {
    position: absolute;
    top: 4px; right: -10px;
    width: 10px; height: calc(100% - 8px);
    background: repeating-linear-gradient(
        to bottom, #f5f0e8 0, #f5f0e8 1px, #e8dfd0 1px, #e8dfd0 2px
    );
    border-radius: 0 3px 3px 0;
}

/* Hero-Schatten */
.mzb-hero-book-shadow {
    width: 200px;
    height: 24px;
    background: radial-gradient(ellipse, rgba(31,18,53,0.3), transparent 70%);
    margin: 0 auto;
    border-radius: 50%;
    animation: mzb-shadow 4s ease-in-out infinite;
}

@keyframes mzb-shadow {
    0%,100% { transform: scaleX(1); opacity: 0.5; }
    50%      { transform: scaleX(0.7); opacity: 0.25; }
}

/* Floating Badges (Hero) */
.mzb-float-badge {
    position: absolute;
    background: white;
    border-radius: var(--mzb-radius);
    padding: 0.625rem 1rem;
    box-shadow: var(--mzb-shadow);
    font-family: var(--mzb-font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    animation: mzb-float-badge 5s ease-in-out infinite;
    white-space: nowrap;
}

.mzb-float-badge.b1 { bottom: 1.5rem; left: -2rem; color: var(--mzb-text); animation-delay: 0s; }
.mzb-float-badge.b2 { top: 1.5rem; right: -2rem; color: var(--mzb-primary); animation-delay: 2.5s; }

@keyframes mzb-float-badge {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.mzb-float-badge .badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--mzb-green);
    animation: mzb-pulse 2s ease-in-out infinite;
}

@keyframes mzb-pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.3); opacity: 0.7; }
}

/* Star-Rating im Hero */
.mzb-star-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.mzb-star-rating .star { color: var(--mzb-accent); }

/* ==========================================================================
   RESPONSIVE ERGÄNZUNGEN
   ========================================================================== */

@media (max-width: 768px) {
    .mzb-preview-cta-banner { flex-direction: column; text-align: center; }
    .mzb-preview-pages { grid-template-columns: 1fr; }
    .mzb-hero-book-3d { transform: scale(0.85); }
    .mzb-trust-row { gap: 1rem; }
}
