/* ═══════════════════════════════════════════════════════════════════
   AS-DACHKONZEPT GmbH – Premium Light Theme Styles
   Colors: #EC560A (Primary Orange) | #0E0A07 (Secondary Dark)
   Font: Inter + Outfit
   ═══════════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary: #EC560A;
    --primary-light: #FF7A3D;
    --primary-dark: #C94508;
    --primary-glow: rgba(236, 86, 10, 0.2);
    --primary-subtle: rgba(236, 86, 10, 0.08);

    --secondary: #0E0A07;

    /* Light Mode Backgrounds */
    --bg-main: #FFFFFF;
    --bg-alt: #F8F9FA;
    --bg-card: #FFFFFF;
    --bg-card-alt: #FAF9F6;
    
    /* Light Mode Borders & Shadows */
    --border-color: rgba(14, 10, 7, 0.08);
    --border-hover: rgba(236, 86, 10, 0.3);
    --shadow-sm: 0 2px 8px rgba(14, 10, 7, 0.04);
    --shadow-md: 0 10px 30px rgba(14, 10, 7, 0.06);
    --shadow-lg: 0 20px 50px rgba(14, 10, 7, 0.1);
    --shadow-orange: 0 12px 36px rgba(236, 86, 10, 0.22);

    /* Light Mode Typography */
    --text-heading: #0E0A07;
    --text-body: #4A4540;
    --text-muted: #78716C;
    --white: #ffffff;

    /* Typography Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;

    /* Spacing */
    --section-py: clamp(5rem, 10vw, 8rem);
    --container-px: clamp(1.25rem, 4vw, 3rem);
    --container-max: 1280px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.2s var(--ease-out-quart);
    --transition-base: 0.4s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-expo);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    background-color: #0E0A07; /* Dark branding background to mask elastic rubber-banding scroll on iOS */
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* ─── TYPOGRAPHY ───────────────────────────────────────────────── */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.25rem;
    padding: 6px 16px;
    background: var(--primary-subtle);
    border: 1px solid rgba(236, 86, 10, 0.18);
    border-radius: var(--radius-full);
}

.section-tag--light {
    color: var(--primary);
    background: rgba(236, 86, 10, 0.1);
    border-color: rgba(236, 86, 10, 0.2);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-heading);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.section-header .section-desc {
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── BUTTONS ──────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    box-shadow: 0 16px 40px rgba(236, 86, 10, 0.35);
    transform: translateY(-2px);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 16px 34px;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
}

/* ─── NAVBAR ───────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 48px;
    width: auto;
    transition: height var(--transition-base);
}

.navbar.scrolled .nav-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.navbar.scrolled .nav-link {
    color: var(--text-heading);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(236, 86, 10, 0.08);
}

.nav-link--cta {
    color: var(--white) !important;
    background: var(--primary) !important;
    padding: 10px 22px;
    margin-left: 8px;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.nav-link--cta:hover {
    background: var(--primary-dark) !important;
    box-shadow: 0 6px 20px var(--primary-glow);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.navbar.scrolled .nav-toggle span {
    background: var(--text-heading);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--text-heading) !important;
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--text-heading) !important;
}

/* ─── HERO ─────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px) brightness(0.5);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(14, 10, 7, 0.45) 0%,
        rgba(14, 10, 7, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--container-px);
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    padding: 10px 22px;
    background: rgba(236, 86, 10, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    backdrop-filter: blur(12px);
    margin-bottom: 2rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #FF9457;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 148, 87, 0.6); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title-highlight {
    background: linear-gradient(135deg, #FF7A3D 0%, #FFB088 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: max-content;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 2px;
    height: 48px;
    background: linear-gradient(180deg, var(--primary), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── TRUST BAR ────────────────────────────────────────────────── */
.trust-bar {
    padding: 3.5rem 0;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.trust-item-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.trust-item-icon {
    color: var(--primary);
    margin-bottom: 2px;
}

.trust-item-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-heading);
    letter-spacing: 0.02em;
}

.trust-divider {
    width: 1px;
    height: 48px;
    background: var(--border-color);
}

/* ─── SPECIALIZATION ──────────────────────────────────────────── */
.specialization {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
    position: relative;
}

.specialization::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 86, 10, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.spec-card:hover {
    border-color: rgba(236, 86, 10, 0.3);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-orange);
}

.spec-card:hover::before {
    opacity: 1;
}

.spec-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.25rem;
}

.spec-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-subtle);
    border: 1px solid rgba(236, 86, 10, 0.15);
    border-radius: var(--radius-lg);
    color: var(--primary);
    flex-shrink: 0;
}

.spec-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.spec-card-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(236, 86, 10, 0.1);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.spec-card-badge--bauder {
    background: rgba(249, 115, 22, 0.15);
    color: #ea580c;
    border: 1px solid rgba(236, 86, 10, 0.25);
}

.spec-card-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.spec-card-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.75rem;
}

.spec-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-heading);
}

.spec-feature svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* EMBEDDED DUAL PHOTO GALLERY INSIDE CARD */
.spec-card-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: auto;
}

.spec-gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 170px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.spec-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.spec-gallery-item:hover img {
    transform: scale(1.08);
}

.spec-gallery-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white);
    background: rgba(14, 10, 7, 0.85);
    backdrop-filter: blur(4px);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
}

@media (max-width: 992px) {
    .spec-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── SERVICES ─────────────────────────────────────────────────── */
.services {
    padding: var(--section-py) 0;
    background: var(--bg-main);
    position: relative;
}

.section-header-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.carousel-nav-arrows {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.carousel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-heading);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.carousel-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: scale(1.08);
    box-shadow: 0 10px 28px var(--primary-glow);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

/* CAROUSEL OUTER WITH FLOATING SIDE ARROWS */
.services-carousel-outer {
    position: relative;
    width: 100%;
}

.services-carousel-outer .carousel-btn--prev {
    position: absolute;
    left: -28px;
    top: calc(50% - 26px);
    z-index: 20;
}

.services-carousel-outer .carousel-btn--next {
    position: absolute;
    right: -28px;
    top: calc(50% - 26px);
    z-index: 20;
}

@media (max-width: 1280px) {
    .services-carousel-outer .carousel-btn--prev {
        left: -12px;
    }
    .services-carousel-outer .carousel-btn--next {
        right: -12px;
    }
}

@media (max-width: 768px) {
    .services-carousel-outer .carousel-btn--prev {
        left: 4px;
    }
    .services-carousel-outer .carousel-btn--next {
        right: 4px;
    }
}

/* CAROUSEL TRACK & CARDS (3 IN DER REIHE) */
.services-carousel-wrapper {
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 14px 4px;
}

.services-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    user-select: none;
}

.service-card {
    flex: 0 0 calc((100% - 48px) / 3);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-card-img {
    height: 210px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s var(--ease-out-expo);
}

.service-card-img img.img-pos-kevin {
    object-position: 50% 70%;
}

.service-card-img img.img-pos-kundendienst {
    object-position: 50% 25%;
    transform: scale(1.5);
    transform-origin: 50% 25%;
}

.service-card-img img.img-pos-spengler {
    object-position: 50% 30%;
}

.service-card:hover .service-card-img img {
    transform: scale(1.08);
}

.service-card:hover .service-card-img img.img-pos-kundendienst {
    transform: scale(1.58);
}

.service-card-body {
    padding: 1.5rem 1.75rem 1.75rem 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(236, 86, 10, 0.18);
}

.service-card-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.service-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-subtle);
    border-radius: var(--radius-md);
    color: var(--primary);
    margin-bottom: 1rem;
    transition: all var(--transition-base);
}

.service-card:hover .service-card-icon {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 24px var(--primary-glow);
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.service-card-desc {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* CAROUSEL PAGINATION */
.carousel-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

@media (max-width: 992px) {
    .service-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 640px) {
    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-card {
        flex: 0 0 100%;
    }
}

/* ─── ABOUT ────────────────────────────────────────────────────── */
.about {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.02rem;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about-text strong {
    color: var(--text-heading);
    font-weight: 700;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 2rem;
}

.about-value {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.about-value:hover {
    border-color: rgba(236, 86, 10, 0.3);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.about-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary-subtle);
    border-radius: var(--radius-sm);
    color: var(--primary);
    flex-shrink: 0;
}

.about-value div:last-child {
    display: flex;
    flex-direction: column;
}

.about-value strong {
    font-size: 0.95rem;
    color: var(--text-heading);
    font-weight: 700;
}

.about-value span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* About Images */
.about-images {
    position: relative;
    height: 580px;
    width: 100%; /* Prevent container width from collapsing to 0 when all children are absolute */
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image--main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 420px;
}

.about-image--secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 280px;
    border: 4px solid var(--bg-alt);
}

.about-experience-badge {
    position: absolute;
    bottom: 220px;
    left: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 105px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    box-shadow: var(--shadow-orange);
    border: 4px solid var(--bg-alt);
    z-index: 2;
}

.about-experience-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-experience-year {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

/* ─── MAINTENANCE / KUNDENDIENST ──────────────────────────────── */
.maintenance {
    padding: var(--section-py) 0;
    background: linear-gradient(145deg, #FFF6F0 0%, var(--bg-main) 60%, #F5F7FA 100%);
    position: relative;
    overflow: hidden;
}

.maintenance::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 86, 10, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.maintenance-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
}

.maintenance-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-heading);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.maintenance-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.maintenance-text {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.maintenance-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.maintenance-benefit {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.maintenance-benefit:hover {
    background: var(--bg-card);
    border-color: rgba(236, 86, 10, 0.3);
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.maintenance-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary-subtle);
    border-radius: var(--radius-sm);
    color: var(--primary);
    flex-shrink: 0;
}

.maintenance-benefit span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
}

/* Maintenance Form */
.maintenance-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 4vw, 2.75rem);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.maintenance-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}

.maintenance-form-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.maintenance-form-title svg {
    color: var(--primary);
}

.maintenance-form-subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.maintenance-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text-heading);
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: all var(--transition-fast);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A4540' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-privacy {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.form-privacy svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

/* ─── FOOTER ───────────────────────────────────────────────────── */
.footer {
    padding: var(--section-py) 0 0;
    background: var(--secondary);
    color: #A8A29E;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 1.25rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: #D6D3D1;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-tagline-sub {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-light);
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #D6D3D1;
    transition: color var(--transition-fast);
}

.footer-contact-item:hover {
    color: var(--primary-light);
}

.footer-contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #A8A29E;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2.2rem 0;
    font-size: 0.85rem;
    color: #78716C;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #A8A29E;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

.footer-credit a {
    color: var(--primary-light);
    font-weight: 700;
    transition: color var(--transition-fast);
}

.footer-credit a:hover {
    color: var(--white);
}

/* Nurmoon 1:1 ByKine Heartbeat Style */
@keyframes bykine-pulse {
  0%, 100% { transform: scale(1); }
  10%, 30% { transform: scale(1.08); }
  20%, 40% { transform: scale(1); }
}

.bykine-poch {
    display: inline-block;
    animation: bykine-pulse 4s ease-in-out infinite;
}

.bykine-poch:hover {
    animation-play-state: paused;
    transform: scale(1.05);
}

/* ─── ANIMATIONS ───────────────────────────────────────────────── */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

/* Disable scroll animations on mobile screens so content shows instantly */
@media (max-width: 768px) {
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Form Success State */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 3rem 2rem;
    text-align: center;
}

.form-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-subtle);
    border-radius: 50%;
    color: var(--primary);
    animation: success-pop 0.5s var(--ease-out-expo);
}

@keyframes success-pop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* ─── RESPONSIVE 3D HUD MEDIA QUERIES ────────────────────────────── */
@media (max-width: 900px) {
    .hero-pinned-wrapper {
        height: 220vh;
    }
    .hud-badges-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 480px;
    }
    .hud-badge {
        padding: 12px 16px;
        transform: translateY(20px);
    }
    .hud-badge-number {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    .hud-badge-title {
        font-size: 0.95rem;
    }
    .hud-badge-sub {
        font-size: 0.78rem;
    }
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-heading);
}

.form-success p {
    color: var(--text-body);
    font-size: 0.95rem;
}

/* ─── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .spec-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-images {
        height: 450px;
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }

    .maintenance-layout {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 2rem 2rem;
        gap: 4px;
        transition: transform var(--transition-base);
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
        color: var(--text-heading) !important;
    }

    .nav-link--cta {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
        justify-content: center;
        color: var(--white) !important;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        height: 380px;
    }

    .about-image--main {
        width: 75%;
        height: 340px;
    }

    .about-image--secondary {
        width: 50%;
        height: 220px;
    }

    .about-experience-badge {
        width: 90px;
        height: 90px;
        bottom: 168px;
        left: 41%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .trust-divider {
        display: none;
    }

    .trust-items {
        gap: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .spec-image-wrapper img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .about-images {
        height: 320px;
    }

    .about-image--main {
        height: 280px;
    }

    .about-image--secondary {
        height: 180px;
    }

    .about-experience-badge {
        width: 76px;
        height: 76px;
        bottom: 139px;
        left: 40%;
    }

    .about-experience-year {
        font-size: 1.3rem;
    }

    .about-experience-number {
        font-size: 0.65rem;
    }
}

/* ─── HIGHLIGHTED SERVICE CARD ──────────────────────────────────── */
.service-card--highlight {
    border-color: var(--primary);
    box-shadow: 0 12px 36px rgba(236, 86, 10, 0.18);
}

/* ─── INSURANCE CLAIMS SHOWCASE BANNER ─────────────────────────── */
.insurance-banner {
    margin-top: clamp(3rem, 6vw, 5rem);
    background: linear-gradient(135deg, #0E0A07 0%, #1A130D 100%);
    border: 1px solid rgba(236, 86, 10, 0.3);
    border-radius: var(--radius-xl);
    padding: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(14, 10, 7, 0.3);
}

.insurance-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 86, 10, 0.25) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(50px);
}

.insurance-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #FF9457;
    background: rgba(236, 86, 10, 0.2);
    border: 1px solid rgba(236, 86, 10, 0.4);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.insurance-banner-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.insurance-banner-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.insurance-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 2.5rem;
}

.insurance-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    backdrop-filter: blur(8px);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.insurance-step:hover {
    transform: translateY(-4px);
    border-color: rgba(236, 86, 10, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.insurance-step-num {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--white);
    background: var(--primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.insurance-step-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.insurance-step-text strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.insurance-step-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.insurance-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (max-width: 992px) {
    .insurance-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ─── 3D BAUDER EXPLODED VIEW MODAL ──────────────────────────────── */
.btn-3d-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(236, 86, 10, 0.15) 0%, rgba(249, 115, 22, 0.25) 100%);
    border: 1px solid rgba(236, 86, 10, 0.4);
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    margin: 1rem 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(236, 86, 10, 0.12);
}

.btn-3d-trigger:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px var(--primary-glow);
}

.bauder-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(14, 10, 7, 0.88);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.bauder-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bauder-modal-container--3d {
    background: radial-gradient(ellipse at 30% 20%, rgba(236, 86, 10, 0.06) 0%, transparent 60%),
                linear-gradient(160deg, #14100C 0%, #0A0705 100%);
    border: 1px solid rgba(236, 86, 10, 0.3);
    border-radius: 28px;
    width: 100%;
    max-width: 980px;
    max-height: 90vh;
    overflow: hidden;
    padding: 2rem 2.5rem 1.75rem;
    position: relative;
    box-shadow:
        0 60px 120px rgba(0, 0, 0, 0.95),
        0 0 80px rgba(236, 86, 10, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.06);
    color: var(--white);
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: scale(0.92) translateY(30px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.bauder-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s ease;
    z-index: 20;
    backdrop-filter: blur(8px);
}

.bauder-modal-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px var(--primary-glow);
}

.bauder-clean-header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.bauder-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #FF9457;
    background: rgba(236, 86, 10, 0.12);
    border: 1px solid rgba(236, 86, 10, 0.3);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 0.4rem;
}

.bauder-modal-title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.01em;
}

/* ═══ 3D STAGE ═══ */
.bauder-3d-stage {
    perspective: 900px;
    perspective-origin: 50% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(340px, 50vh, 440px);
    position: relative;
    margin-bottom: 1rem;
}

/* Ambient glow under the cube */
.bauder-3d-stage::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%) rotateX(80deg);
    width: 260px;
    height: 180px;
    background: radial-gradient(ellipse, rgba(236, 86, 10, 0.18) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(30px);
}

.bauder-3d-cube {
    width: 280px;
    height: 280px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(58deg) rotateZ(-35deg);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    animation: cubeFloat 6s ease-in-out infinite;
}

@keyframes cubeFloat {
    0%, 100% { transform: rotateX(58deg) rotateZ(-35deg) translateY(0); }
    50%      { transform: rotateX(56deg) rotateZ(-33deg) translateY(-6px); }
}

.bauder-3d-cube:hover {
    animation-play-state: paused;
}

/* ═══ 3D MATERIAL PLATES ═══ */
.mat-plate {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    filter: brightness(0.85);
}

.mat-plate:hover {
    filter: brightness(1);
}

.mat-plate--5 { transform: translateZ(100px); }
.mat-plate--4 { transform: translateZ(75px); }
.mat-plate--3 { transform: translateZ(50px); }
.mat-plate--2 { transform: translateZ(25px); }
.mat-plate--1 { transform: translateZ(0px); }

/* ═══ ACTIVE STATE: Explode up + glow ═══ */
.mat-plate.active {
    transform: translateZ(180px) scale(1.06) !important;
    filter: brightness(1.1) !important;
    z-index: 10;
}

.mat-plate.active .mat-face--top {
    box-shadow:
        0 0 50px rgba(236, 86, 10, 0.5),
        0 0 100px rgba(236, 86, 10, 0.15),
        inset 0 0 25px rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.9);
}

.mat-plate.active .mat-face--front {
    box-shadow: 0 8px 30px rgba(0,0,0,0.8);
}

.mat-plate.active .mat-callout {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mat-plate.active .mat-badge {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

/* ═══ 3D FACES ═══ */
.mat-face {
    position: absolute;
}

.mat-face--top {
    width: 100%;
    height: 100%;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    transition: all 0.5s ease;
    overflow: hidden;
}

.mat-face--front {
    width: 100%;
    height: 20px;
    bottom: -20px;
    left: 0;
    border-radius: 0 0 6px 6px;
    transform-origin: top;
    transform: rotateX(-90deg);
    transition: box-shadow 0.4s ease;
}

.mat-face--side {
    width: 20px;
    height: 100%;
    top: 0;
    right: -20px;
    border-radius: 0 6px 6px 0;
    transform-origin: left;
    transform: rotateY(90deg);
}

/* ═══ MATERIAL TEXTURES (Real Photos + Cinematic Overlays) ═══ */

/* 05 – NATURSCHIEFER */
.mat-slate {
    background:
        linear-gradient(145deg, rgba(236,86,10,0.15) 0%, transparent 50%),
        linear-gradient(to bottom right, rgba(0,0,0,0.3), rgba(0,0,0,0.7)),
        url('images/flachdach_fertig_praxis.jpg') center/cover;
    border-color: rgba(236, 86, 10, 0.7);
}
.mat-slate-edge {
    background: linear-gradient(to bottom, #3D3028, #1E1810);
}

/* 04 – BITUMEN */
.mat-bitumen {
    background:
        linear-gradient(to bottom right, rgba(0,0,0,0.35), rgba(0,0,0,0.75)),
        url('images/bauder_flachdach_praxis.jpg') center/cover;
    border-color: rgba(249, 115, 22, 0.5);
}
.mat-bitumen-edge {
    background: linear-gradient(to bottom, #201510, #0D0906);
}

/* 03 – PIR DÄMMUNG */
.mat-pir {
    background:
        linear-gradient(to bottom right, rgba(255,255,255,0.3), rgba(200,200,200,0.5)),
        url('images/spengler_zuschnitt_praxis.jpg') center/cover;
    border-color: rgba(255, 255, 255, 0.7);
}
.mat-pir .mat-badge { color: #1E293B; }
.mat-pir-edge {
    background: linear-gradient(to bottom, #F5B820, #D4940F);
}

/* 02 – DAMPFSPERRE */
.mat-vapor {
    background:
        linear-gradient(to bottom right, rgba(3,105,161,0.5), rgba(15,23,42,0.8)),
        url('images/bauwerksabdichtung_praxis.jpg') center/cover;
    border-color: rgba(56, 189, 248, 0.6);
}
.mat-vapor-edge {
    background: linear-gradient(to bottom, #0284C7, #075985);
}

/* 01 – BETON */
.mat-deck {
    background:
        linear-gradient(to bottom right, rgba(71,85,105,0.4), rgba(30,41,59,0.8)),
        url('images/terrasse_architektur_praxis.jpg') center/cover;
    border-color: rgba(148, 163, 184, 0.4);
}
.mat-deck-edge {
    background: linear-gradient(to bottom, #64748B, #334155);
}

/* ═══ BADGES & CALLOUTS ═══ */
.mat-badge {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.95);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    align-self: flex-start;
    transition: all 0.4s ease;
}

.mat-callout {
    background: rgba(10, 8, 6, 0.94);
    border: 1px solid rgba(236, 86, 10, 0.6);
    backdrop-filter: blur(12px);
    padding: 8px 12px;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(236, 86, 10, 0.1);
}

.mat-callout strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1px;
}

.mat-callout span {
    font-size: 0.7rem;
    color: #FF9457;
}

/* ═══ CHIP NAVIGATION ═══ */
.bauder-chip-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.chip-btn {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.chip-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.chip-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px var(--primary-glow);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .bauder-modal-container--3d {
        padding: 1.25rem;
        max-height: 95vh;
    }
    .bauder-3d-stage {
        height: 280px;
    }
    .bauder-3d-cube {
        width: 220px;
        height: 220px;
    }
}

