/* ============================================================
   Material Overview Page — Premium Material Catalogue
   Phase 3C.2B · /materialien/
   Aesthetic: luxury interior studio / editorial grid
   ============================================================ */

/* ── Page container ─────────────────────────────────────────── */
.mo-page {
    --mo-bg:           #fdfbf9;
    --mo-bg-alt:       #f7f2ed;
    --mo-accent:       #5b2328;
    --mo-accent-hover: #471b1f;
    --mo-gold:         #b08d57;
    --mo-gold-light:   #d9c9a8;
    --mo-text:         #2d2419;
    --mo-text-muted:   #7b746d;
    --mo-border:       #ece4db;
    --mo-radius:       14px;
    --mo-radius-sm:    8px;

    background: var(--mo-bg);
    color: var(--mo-text);
    padding-bottom: 0;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.mo-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem 0;
}
.mo-breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
    font-size: 0.82rem;
    color: var(--mo-text-muted);
}
.mo-breadcrumb li::before { content: '›'; margin-right: 0.4rem; }
.mo-breadcrumb li:first-child::before { content: none; }
.mo-breadcrumb a {
    color: var(--mo-text-muted);
    text-decoration: none;
    transition: color 0.15s;
}
.mo-breadcrumb a:hover { color: var(--mo-accent); }

/* ── Hero ───────────────────────────────────────────────────── */
.mo-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 2rem;
    text-align: center;
}
.mo-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    background: rgba(176, 141, 87, .1);
    border: 1px solid var(--mo-gold-light);
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--mo-gold);
    margin-bottom: 1rem;
}
.mo-hero-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--mo-text);
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}
.mo-hero-subtitle {
    font-size: clamp(0.92rem, 1.2vw, 1.05rem);
    color: var(--mo-text-muted);
    max-width: 640px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}
.mo-hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Buttons ────────────────────────────────────────────────── */
.mo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--mo-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}
.mo-btn--primary {
    background: var(--mo-accent);
    color: #fff;
}
.mo-btn--primary:hover {
    background: var(--mo-accent-hover);
    transform: translateY(-1px);
}
.mo-btn--outline {
    background: transparent;
    color: var(--mo-accent);
    border: 1.5px solid var(--mo-accent);
}
.mo-btn--outline:hover {
    background: rgba(91, 35, 40, .06);
}
.mo-btn--secondary {
    background: rgba(176, 141, 87, .12);
    color: #6b5a3e;
    border: 1px solid var(--mo-gold-light);
}
.mo-btn--secondary:hover {
    background: rgba(176, 141, 87, .2);
}
.mo-btn--ghost {
    background: transparent;
    color: var(--mo-text-muted);
    border: 1px solid var(--mo-border);
}
.mo-btn--ghost:hover {
    color: var(--mo-accent);
    border-color: var(--mo-accent);
}
.mo-btn--sm { padding: 0.45rem 0.9rem; font-size: 0.8rem; }

/* ── Grid section ───────────────────────────────────────────── */
.mo-grid-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}
.mo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* ── Material card ──────────────────────────────────────────── */
.mo-card {
    background: #fff;
    border-radius: var(--mo-radius);
    border: 1px solid var(--mo-border);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.mo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(45, 36, 25, .08);
}

.mo-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--mo-bg-alt);
    overflow: hidden;
}
.mo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mo-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--mo-gold-light);
}
.mo-card-tags {
    position: absolute;
    bottom: 0.6rem;
    left: 0.6rem;
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}
.mo-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(6px);
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--mo-text);
}
.mo-tag .bi { font-size: 0.72rem; color: var(--mo-gold); }

/* Card body */
.mo-card-body {
    padding: 1.2rem 1.3rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.mo-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--mo-text);
}
.mo-card-desc {
    font-size: 0.82rem;
    color: var(--mo-text-muted);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mo-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.mo-spec {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    background: var(--mo-bg-alt);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--mo-text-muted);
}
.mo-spec .bi { font-size: 0.72rem; color: var(--mo-gold); }

/* Price */
.mo-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    padding-top: 0.3rem;
}
.mo-price-label {
    font-size: 0.72rem;
    color: var(--mo-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.mo-price-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--mo-accent);
}

/* Actions */
.mo-card-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.3rem;
}

/* ── Compare CTA ────────────────────────────────────────────── */
/* ── Gratis Muster CTA Section (Premium) ────────────────────── */
.mo-samples-cta {
    background: linear-gradient(135deg, #5b2328 0%, #471b1f 100%);
    color: white;
    padding: clamp(3rem, 5vw, 4.5rem) 1.5rem;
    margin: 3rem 0 0;
}
.mo-samples-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}
.mo-samples-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mo-samples-icon-wrap {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--mo-gold);
}
.mo-samples-content {
    color: white;
}
.mo-samples-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin: 0 0 0.8rem;
    letter-spacing: -0.01em;
}
.mo-samples-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    opacity: 0.9;
}
.mo-samples-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.mo-samples-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}
.mo-samples-features i {
    color: var(--mo-gold);
    font-size: 1.1rem;
}
.mo-samples-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.mo-btn--large {
    padding: 0.85rem 1.8rem;
    font-size: 0.95rem;
}
.mo-samples-cta .mo-btn--primary {
    background: white;
    color: var(--mo-accent);
}
.mo-samples-cta .mo-btn--primary:hover {
    background: var(--mo-gold-light);
    color: var(--mo-text);
}
.mo-samples-cta .mo-btn--outline {
    border-color: rgba(255,255,255,0.4);
    color: white;
}
.mo-samples-cta .mo-btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

@media (max-width: 768px) {
    .mo-samples-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .mo-samples-icon-wrap {
        width: 90px;
        height: 90px;
        font-size: 2.5rem;
    }
    .mo-samples-features {
        justify-content: center;
    }
    .mo-samples-actions {
        justify-content: center;
    }
}

/* ── Material Discovery Block (Premium) ────────────────────── */
.mat-discovery {
    background: linear-gradient(135deg, #f9f6f2 0%, #f2ede7 100%);
    border-top: 1px solid var(--mo-border);
    padding: 3rem 1.5rem;
}
.mat-discovery-inner {
    max-width: 1120px;
    margin: 0 auto;
}
.mat-discovery-content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
    justify-content: center;
}
.mat-discovery-icon {
    font-size: 2.4rem;
    color: var(--mo-gold);
}
.mat-discovery-text {
    text-align: left;
}
.mat-discovery-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--mo-text);
    margin: 0 0 0.3rem;
}
.mat-discovery-desc {
    font-size: 0.95rem;
    color: var(--mo-text-muted);
    margin: 0;
}
.mat-discovery-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}
.mat-discovery-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: white;
    border: 1px solid var(--mo-border);
    border-radius: var(--mo-radius);
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.mat-discovery-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border-color: var(--mo-gold);
}
.mat-discovery-link-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mo-gold-light), var(--mo-gold));
    border-radius: var(--mo-radius-sm);
    font-size: 1.4rem;
    color: white;
}
.mat-discovery-link-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.mat-discovery-link-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--mo-text);
}
.mat-discovery-link-desc {
    font-size: 0.8rem;
    color: var(--mo-text-muted);
}

@media (max-width: 768px) {
    .mat-discovery {
        padding: 2rem 1rem;
    }
    .mat-discovery-content {
        flex-direction: column;
        text-align: center;
    }
    .mat-discovery-text {
        text-align: center;
    }
    .mat-discovery-title {
        font-size: 1.3rem;
    }
    .mat-discovery-links {
        grid-template-columns: 1fr;
    }
}

/* ── Empty state ────────────────────────────────────────────── */
.mo-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1.5rem;
    color: var(--mo-text-muted);
}
.mo-empty .bi { font-size: 3rem; color: var(--mo-gold-light); margin-bottom: 1rem; display: block; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .mo-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .mo-hero {
        padding: 1.5rem 1rem 1.5rem;
    }
    .mo-grid-section {
        padding: 0 1rem 2rem;
    }
    .mo-card-actions {
        flex-direction: column;
    }
    .mo-btn--sm { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .mo-hero-title { font-size: 1.5rem; }
    .mo-hero-subtitle { font-size: 0.88rem; }
    .mo-hero-actions { flex-direction: column; }
    .mo-hero-actions .mo-btn { width: 100%; justify-content: center; }
    .mo-card-body { padding: 1rem; }
    .mo-card-tags { gap: 0.25rem; }
    .mo-tag { font-size: 0.62rem; padding: 0.15rem 0.4rem; }
}

/* ── Accessibility: Reduced Motion ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .mo-breadcrumb a,
    .mo-btn {
        transition: none;
    }
    .mat-discovery-link {
        transition: none;
    }
    .mat-discovery-link:hover {
        transform: none;
    }
}
