/* ============================================
   BauPoint GmbH - Professional Building Materials Website
   Modern, Responsive CSS
   ============================================ */

/* ============================================
   CSS Variables - Design System
   ============================================ */
:root {
    /* Primary Colors */
    --primary: #1e3a5f;
    --primary-light: #2d5a8a;
    --primary-dark: #152d4a;

    /* Accent Colors */
    --accent: #e67e22;
    --accent-light: #f39c12;
    --accent-dark: #d35400;

    /* Neutral Colors */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* BauPoint Logo Colors - Baubranche Farbsymbolik */
    --bp-red: #c41e3a;        /* Dach & Gebäudehülle */
    --bp-yellow: #f5b800;     /* Fassade icon-tile accent (kept for #fdea9e tiles) */
    --bp-cat-fassade: #a67c00; /* Fassade border/indicator — 3.82:1 on white (WCAG AA) */
    --bp-green: #2d6a4f;      /* Garten, Landschaft & Ökologie */
    --bp-gray: #6b7280;       /* Rohbau & Baumaterialien */

    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #1e293b;

    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #ffffff;

    /* WCAG AA Accessibility Tokens */
    --bp-orange-solid: #b4530b;   /* white text on orange bg — 5.02:1 */
    --bp-orange-hover: #8c3b07;   /* hover — 7.65:1 */
    --bp-orange-text: #a8480a;    /* orange text on white — 5.84:1 */
    --bp-orange-accent: #e67e23;  /* decorative only (no text) */
    --bp-text: #4b5563;           /* body text on white — 7.56:1 */
    --bp-text-on-tint: #52606f;   /* body text on #f8fafc — 6.15:1 */
    --bp-footer-muted: #dbe2ea;   /* muted text on #152d4a — 10.68:1 */

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;

    /* Header Height */
    --header-height: 90px;
    --top-bar-height: 40px;

    /* Legacy Variable Aliases (for compatibility with subpages) */
    --primary-color: var(--primary);
    --accent-color: var(--accent);
    --bg-light: var(--bg-secondary);
    --text-dark: var(--text-primary);
}

/* ============================================
   CSS Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), text-decoration var(--transition-fast);
}

a:hover {
    text-decoration: underline;
}

/* No underline for buttons, logos, nav items, icons */
.btn:hover,
.logo:hover,
.nav-link:hover,
.footer-logo:hover,
.top-bar-item:hover,
.mobile-phone:hover,
.footer-social a:hover,
.back-to-top:hover,
.back-link:hover,
.category-card:hover,
.product-card:hover,
.service-card:hover {
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-light);
    font-size: var(--font-size-sm);
    font-weight: 600;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--bp-orange-solid), var(--bp-orange-hover));
    color: var(--text-light);
    border-color: var(--bp-orange-solid);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--bp-orange-solid), var(--bp-orange-hover));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(180, 83, 11, 0.35);
    border-color: var(--bp-orange-hover);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
}

.btn-block {
    width: 100%;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--primary-dark);
    color: var(--text-light);
    font-size: var(--font-size-sm);
    height: var(--top-bar-height);
    display: flex;
    align-items: center;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.top-bar-left {
    padding-right: var(--spacing-2xl);
}

.top-bar-right {
    padding-left: var(--spacing-2xl);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.top-bar-item i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

a.top-bar-item:hover {
    color: var(--text-light);
}

a.top-bar-item:hover i {
    color: var(--text-light);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    background: var(--bg-primary);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    overflow: visible;
}

.header .container {
    height: 100%;
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo img {
    height: 55px;
    width: auto;
}

.logo img.logo-img-large {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

/* Dropdown Navigation */
.nav-item {
    position: relative;
}

.nav-item.has-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-item.has-dropdown > .nav-link::before {
    content: none;
}

.nav-item.has-dropdown > .nav-link .dropdown-arrow {
    font-size: 0.7rem;
    transition: transform var(--transition-fast);
}

.nav-item.has-dropdown:hover > .nav-link .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    margin-top: 0.5rem;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.dropdown-menu a i {
    width: 20px;
    margin-right: 0.5rem;
}

/* Dropdown Icon Colors - matching Products Section categories */
/* Yellow category: Trockenbau, Gipskartonplatten, Mineralwolle, Dämmstoffe, Fliesen */
.dropdown-menu a[href*="trockenbau"] i,
.dropdown-menu a[href*="gipskartonplatten"] i,
.dropdown-menu a[href*="mineralwolle"] i,
.dropdown-menu a[href*="daemmstoffe"] i,
.dropdown-menu a[href*="fliesen"] i {
    color: #b45309;
}

/* Green category: Bauholz */
.dropdown-menu a[href*="bauholz"] i {
    color: var(--bp-green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.mobile-phone {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: var(--text-light);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.mobile-phone i {
    font-size: 0.9rem;
}

.mobile-phone span {
    display: none;
}

@media (min-width: 480px) {
    .mobile-phone span {
        display: inline;
    }
}

.mobile-phone:hover {
    background: var(--primary-dark);
    color: var(--text-light);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
}

.hamburger .bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height) - var(--top-bar-height));
    min-height: 700px;
    max-height: none;
    overflow: hidden;
}

/* Video Background Hero */
.hero-video .hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(100deg, rgba(21,45,74,.86) 0%, rgba(21,45,74,.62) 60%, rgba(21,45,74,.45) 100%);
}

/* Step 2: ensure hero text is always white against the overlay */
.hero-content h1,
.hero-content p,
.hero-badge {
    color: #fff;
    text-shadow: none;
}

/* Step 2: secondary hero button */
.hero-buttons .btn-outline-light {
    background: rgba(255,255,255,.12);
    border-width: 1.5px;
}

.hero-video-mute-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-mute-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: scale(1.1);
}

.hero-video-mute-btn.unmuted {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-video .hero-slider {
    position: relative;
    z-index: 1;
}

.hero-video-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    max-width: 700px;
    padding: 0 var(--container-padding);
    margin-left: 10%;
    color: var(--text-light);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    font-size: var(--font-size-sm);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.hero-content p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    z-index: 10;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-base);
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.slider-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.dot.active,
.dot:hover {
    background: var(--accent);
    transform: scale(1.2);
}

/* ============================================
   Trust Badges Section
   ============================================ */
.trust-badges {
    background: var(--bg-primary);
    padding: var(--spacing-2xl) 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
}

.badge-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.badge-content strong {
    display: block;
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-primary);
}

.badge-content span {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-lead {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--gray-200);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-suffix {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-top: var(--spacing-xs);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--bp-orange-solid), var(--bp-orange-hover));
    color: var(--text-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-year {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 800;
}

.badge-text {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.service-card {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--primary);
    transition: color var(--transition-base);
}

.service-card:hover .service-icon i {
    color: var(--text-light);
}

.service-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--bp-orange-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.service-link:hover {
    color: var(--bp-orange-hover);
}

.service-link i {
    transition: transform var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us-section {
    padding: var(--spacing-4xl) 0;
    background: var(--primary);
    color: var(--text-light);
}

.why-us-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
}

.why-us-section .section-title {
    color: var(--text-light);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.why-us-items {
    margin-top: var(--spacing-xl);
}

.why-us-item {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.why-us-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-us-icon i {
    font-size: 1.5rem;
    color: var(--accent);
}

.why-us-text h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.why-us-text p {
    font-size: var(--font-size-sm);
    opacity: 0.85;
}

.why-us-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-secondary);
}

/* Product Color Legend */
.product-color-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg) var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-gray { background: var(--bp-gray); }
.legend-yellow { background: var(--bp-cat-fassade); }
.legend-red { background: var(--bp-red); }
.legend-green { background: var(--bp-green); }

.legend-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Product Category Headers with Color Coding */
.product-category-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.product-category-header:first-of-type {
    margin-top: 0;
}

.category-color {
    width: 8px;
    height: 40px;
    border-radius: 4px;
}

.category-gray { background: var(--bp-gray); }
.category-yellow { background: var(--bp-cat-fassade); }
.category-red { background: var(--bp-red); }
.category-green { background: var(--bp-green); }

.product-category-header h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.product-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 95, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: var(--spacing-lg);
}

.product-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.product-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

/* Color-coded product cards */
.product-gray .product-icon {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
}
.product-gray .product-icon i { color: var(--bp-gray); }
.product-gray { border-top: 4px solid var(--bp-gray); }

.product-yellow .product-icon {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}
.product-yellow .product-icon i { color: #b45309; }
.product-yellow { border-top: 4px solid var(--bp-cat-fassade); }

.product-red .product-icon {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
}
.product-red .product-icon i { color: var(--bp-red); }
.product-red { border-top: 4px solid var(--bp-red); }

.product-green .product-icon {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}
.product-green .product-icon i { color: var(--bp-green); }
.product-green { border-top: 4px solid var(--bp-green); }

.product-content h3,
.product-content .product-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.product-content .product-title {
    margin-top: 0;
}

.product-content p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Product Cards - Direct Content (without .product-content wrapper) */
.product-card.product-yellow,
.product-card.product-red,
.product-card.product-green,
.product-card.product-gray {
    padding: 1.75rem;
    border-top: none;
    border-left: 4px solid var(--bp-cat-fassade);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-card.product-red {
    border-left-color: var(--bp-red);
}

.product-card.product-green {
    border-left-color: var(--bp-green);
}

.product-card.product-gray {
    border-left-color: var(--bp-gray);
}

.product-card > .brand {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card > .tag {
    display: inline-block;
    background: var(--bp-orange-solid);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    margin-top: -0.25rem;
}

.product-card > h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.25rem 0 0.5rem;
    line-height: 1.3;
}

.product-card > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.product-card .product-features {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-card .product-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-card .product-features li i {
    color: var(--bp-green);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.products-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-primary);
}

/* Testimonials Slider */
.testimonials-slider {
    display: flex;
    gap: var(--spacing-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: var(--spacing-md) 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonials-slider .testimonial-card {
    flex: 0 0 calc(33.333% - var(--spacing-lg));
    scroll-snap-align: start;
}

@media (max-width: 992px) {
    .testimonials-slider .testimonial-card {
        flex: 0 0 calc(50% - var(--spacing-md));
    }
}

@media (max-width: 768px) {
    .testimonials-slider .testimonial-card {
        flex: 0 0 calc(100% - var(--spacing-md));
    }
}

.testimonials-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    border: 2px solid var(--gray-300);
    background: var(--bg-primary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--gray-50);
}

.testimonials-dots {
    display: flex;
    gap: var(--spacing-sm);
}

.testimonials-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonials-dots .dot.active {
    background: var(--primary);
    width: 24px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

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

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--spacing-md);
}

.testimonial-rating i {
    color: var(--accent);
}

.testimonial-text {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: auto;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    color: var(--text-light);
    font-size: 1.25rem;
}

.author-info strong {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
}

.author-info span {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

/* ============================================
   Location Inline Section (Single Location)
   ============================================ */
.location-inline-section {
    padding: var(--spacing-2xl) 0;
    background: var(--primary);
}

.location-inline {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl) var(--spacing-2xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.location-inline-icon {
    width: 64px;
    height: 64px;
    background: var(--bp-orange-solid);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-inline-icon i {
    font-size: 1.75rem;
    color: var(--text-light);
}

.location-inline-content {
    flex: 1;
}

.location-inline-main h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.location-inline-address {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}

.location-inline-address strong {
    font-weight: 600;
}

.location-inline-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.location-inline-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.85);
}

.location-inline-item i {
    color: var(--accent);
    width: 16px;
}

.location-inline-item a {
    color: rgba(255, 255, 255, 0.85);
}

.location-inline-item a:hover {
    color: var(--text-light);
}

.location-inline-action {
    flex-shrink: 0;
}

.location-inline-action .btn {
    white-space: nowrap;
}

/* Responsive Location Inline */
@media (max-width: 992px) {
    .location-inline {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-xl);
    }

    .location-inline-details {
        justify-content: center;
    }

    .location-inline-action {
        margin-top: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .location-inline-details {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* ============================================
   Locations Section (Legacy - Multi Location)
   ============================================ */
.locations-section {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-secondary);
}

.location-filter {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

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

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.location-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.location-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.location-card.hidden {
    display: none;
}

.location-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-200);
}

.location-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon i {
    color: var(--text-light);
    font-size: 1.25rem;
}

.location-title h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.badge-main {
    font-size: var(--font-size-xs);
    font-weight: 600;
    background: var(--bp-orange-solid);
    color: var(--text-light);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.location-type {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.location-details {
    margin-bottom: var(--spacing-lg);
}

.detail-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.detail-item i {
    width: 20px;
    color: var(--primary);
    margin-top: 2px;
}

.detail-item a {
    color: var(--primary);
}

.detail-item a:hover {
    color: var(--accent);
}

.hours {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.location-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.feature {
    font-size: var(--font-size-xs);
    background: var(--gray-100);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
}

.feature i {
    color: var(--success);
    margin-right: 0.25rem;
}

.location-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.location-actions .btn {
    flex: 1;
    padding: 0.625rem;
    font-size: var(--font-size-sm);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--spacing-4xl) 0;
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-method {
    display: flex;
    gap: var(--spacing-md);
}

.method-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    color: var(--text-light);
    font-size: 1.25rem;
}

.method-content h4,
.method-content .method-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.method-content .method-title {
    margin-top: 0;
}

.method-content a {
    color: var(--primary);
    font-weight: 500;
}

.method-content a:hover {
    color: var(--accent);
}

.method-content span {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.contact-form-wrapper {
    background: var(--bg-secondary);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.contact-form h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #64748b;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: #1e293b;
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b6b6b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 3px solid var(--primary-dark);
    outline-offset: 2px;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

/* Error state for form fields */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error);
    background-color: rgba(239, 68, 68, 0.05);
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.checkbox-group {
    margin-top: var(--spacing-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-top: 3px;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
}

.contact-form .btn {
    margin-top: var(--spacing-lg);
}

/* Form Messages */
.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

/* ============================================
   Partners Section
   ============================================ */
.partners-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.partners-slider {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    gap: var(--spacing-2xl);
    animation: scroll 30s linear infinite;
}

.partner-logo {
    flex-shrink: 0;
    padding: var(--spacing-md);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    height: 40px;
    opacity: 0.6;
    transition: opacity var(--transition-base);
    filter: grayscale(100%);
}

.partner-logo:hover img {
    opacity: 1;
    filter: grayscale(0);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--bp-footer-muted);   /* #dbe2ea — 10,68:1 auf #152d4a */
    padding: var(--spacing-4xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: var(--spacing-2xl);
    padding-bottom: var(--spacing-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--spacing-lg);
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo img.footer-logo-img {
    height: 55px;
    width: auto;
}

.footer-brand p {
    font-size: var(--font-size-sm);
    color: var(--bp-footer-muted);
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent);
}

.footer-links h4,
.footer-links .footer-heading,
.footer-contact .footer-heading {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: #ffffff;                  /* 13,94:1 auf #152d4a */
    margin-bottom: var(--spacing-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    font-size: var(--font-size-sm);
    color: var(--bp-footer-muted);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-links a:hover {
    color: var(--accent);
}

/* Footer color dots for categories */
.footer-color-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.footer-gray { background: var(--bp-gray); }
.footer-yellow { background: var(--bp-cat-fassade); }
.footer-red { background: var(--bp-red); }
.footer-green { background: var(--bp-green); }

.footer-newsletter h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.footer-newsletter p {
    font-size: var(--font-size-sm);
    color: var(--bp-footer-muted);
    margin-bottom: var(--spacing-md);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

.newsletter-form input::placeholder {
    color: var(--gray-500);
}

.newsletter-form input:focus {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
    border-color: var(--bp-orange-accent);
}

.newsletter-form button {
    padding: 0.75rem 1rem;
    background: var(--bp-orange-solid);
    color: var(--text-light);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--bp-orange-hover);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) 0;
}

.footer-bottom-left p {
    font-size: var(--font-size-sm);
    color: var(--bp-footer-muted);
}

.footer-bottom-right {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-right a {
    font-size: var(--font-size-sm);
    color: var(--bp-footer-muted);
}

.footer-bottom-right a:hover {
    color: var(--text-light);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--text-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--bp-orange-solid);
    transform: translateY(-4px);
}

/* ============================================
   WCAG Step 4 — Focus Indicators
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #152d4a;
    outline-offset: 2px;
    border-radius: 2px;
}

/* White outline on dark backgrounds */
.footer a:focus-visible,
.footer button:focus-visible,
.why-us-section a:focus-visible,
.why-us-section button:focus-visible,
.hero a:focus-visible,
.hero button:focus-visible,
.top-bar a:focus-visible,
.top-bar button:focus-visible {
    outline-color: #ffffff;
}

/* Checkbox touch target */
.checkbox-label {
    min-height: 44px;
}

/* ============================================
   WCAG Step 5 — Footer Muted Text
   ============================================ */
.footer-brand p,
.footer-newsletter p {
    color: var(--bp-footer-muted);
}

.footer-links a {
    color: var(--bp-footer-muted);
}

.footer-bottom-left p,
.footer-bottom-right a {
    color: var(--bp-footer-muted);
}

/* ============================================
   WCAG Step 6 — Reduced Motion
   ============================================ */
.hero-poster {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Pause/Play button */
.hero-video-pause-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-pause-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

/* Screen-reader only helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
    .hero video {
        display: none;
    }
    .hero-poster {
        display: block;
    }
}

/* ============================================
   WCAG Step 7 — Star rating visible label
   ============================================ */
.testimonial-rating .rating-label {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    font-weight: 600;
    margin-left: 0.25rem;
    align-self: center;
}

/* ============================================
   Animations
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-20px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(20px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: span 3;
        margin-bottom: var(--spacing-lg);
    }
}

/* Tablets */
@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }

    .logo {
        padding: var(--spacing-sm) 0;
    }

    .logo img,
    .logo img.logo-img-large {
        height: 50px;
        max-height: calc(var(--header-height) - 20px);
    }

    .nav-menu,
    .nav-actions {
        display: none;
    }

    .mobile-phone,
    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        gap: 0;
    }

    .nav-menu.active .nav-item {
        border-bottom: 1px solid var(--gray-200);
        text-align: center;
    }

    .nav-menu.active .nav-link {
        display: block;
        padding: var(--spacing-md) 0;
        text-align: center;
    }

    /* Mobile Dropdown */
    .nav-menu.active .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        margin: 0;
        padding: 0;
        background: var(--gray-50);
        border-radius: var(--radius-md);
        display: none;
    }

    .nav-menu.active .dropdown-menu::before {
        display: none;
    }

    .nav-menu.active .nav-item.has-dropdown.open .dropdown-menu {
        display: block;
    }

    .nav-menu.active .dropdown-menu a {
        padding: var(--spacing-sm) var(--spacing-md);
        border-bottom: 1px solid var(--gray-200);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.95rem;
        color: var(--text-primary);
        transition: all 0.2s ease;
    }

    .nav-menu.active .dropdown-menu a:hover {
        background: var(--gray-100);
        color: var(--primary);
    }

    .nav-menu.active .dropdown-menu a i {
        width: 1.25rem;
        text-align: center;
        font-size: 0.9rem;
    }

    .nav-menu.active .dropdown-menu a:last-child {
        border-bottom: none;
    }

    .nav-actions.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 200px);
        left: 0;
        right: 0;
        background: var(--bg-primary);
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .why-us-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .about-image {
        order: -1;
    }

    .about-image img,
    .why-us-image img {
        height: 400px;
    }

    .services-grid,
    .testimonials-grid,
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: span 2;
    }
}

/* Mobile phones */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: var(--spacing-xs);
        padding: var(--spacing-sm) 0;
    }

    .top-bar {
        height: auto;
    }

    .top-bar-left,
    .top-bar-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-md);
    }

    .top-bar-left,
    .top-bar-right {
        padding: 0;
        border: none;
    }

    .top-bar-item i {
        font-size: 0.8rem;
    }

    .hero {
        min-height: 500px;
        max-height: none;
    }

    /* Video works great on mobile due to portrait format */
    .hero-video-bg {
        object-position: center center;
    }

    .hero-content {
        margin-left: 0;
        text-align: center;
        padding: var(--spacing-lg);
    }

    .hero-content h1 {
        font-size: var(--font-size-2xl);
    }

    .hero-content p {
        font-size: var(--font-size-base);
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .trust-badges {
        margin-top: -40px;
    }

    .badges-grid {
        grid-template-columns: 1fr;
        padding: var(--spacing-lg);
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .services-grid,
    .testimonials-grid,
    .locations-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-category-header {
        margin-top: var(--spacing-xl);
    }

    .product-category-header h3 {
        font-size: var(--font-size-lg);
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: var(--font-size-3xl);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .location-filter {
        gap: var(--spacing-xs);
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: var(--font-size-xs);
    }

    .location-actions {
        flex-direction: column;
    }

    .hero-slider-controls {
        bottom: 20px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }

    .logo img {
        height: 40px;
    }

    .logo-name {
        font-size: var(--font-size-lg);
    }

    .hero-content h1 {
        font-size: var(--font-size-2xl);
    }

    .hero-content p {
        font-size: var(--font-size-base);
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-sm);
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: var(--font-size-2xl);
    }

    .why-us-item {
        flex-direction: column;
        text-align: center;
    }

    .why-us-icon {
        margin: 0 auto;
    }
}

/* ============================================
   Category Hero Section - Kategorie-Seiten
   ============================================ */
.category-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-hero-content {
    max-width: 800px;
}

.category-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: var(--font-size-sm);
}

.category-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.category-hero .breadcrumb a:hover {
    color: #ffffff;
}

.category-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.category-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.category-hero p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 650px;
}

.category-hero .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 768px) {
    .category-hero {
        min-height: 60vh;
        padding: 7rem 0 3rem;
    }

    .category-hero h1 {
        font-size: var(--font-size-2xl);
    }

    .category-hero p {
        font-size: var(--font-size-base);
    }

    .category-hero .hero-buttons {
        flex-direction: column;
    }

    .category-hero .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Product Categories - Subpage Styles
   ============================================ */
.product-category {
    margin-bottom: 4rem;
    scroll-margin-top: 120px;
}

.category-title {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-title i {
    color: var(--accent);
}

.category-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 700px;
    line-height: 1.7;
}

/* Product Badges */
.product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.badge-bestseller {
    background: var(--primary);
    color: #fff;
}

.badge-feature {
    background: var(--accent);
    color: #fff;
}

/* Product Specs */
.product-specs {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.faq-section h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.faq-item {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.faq-item h3 i {
    color: var(--accent);
    margin-top: 0.1rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    padding-left: 2rem;
}

/* ============================================
   Comparison Table
   ============================================ */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: var(--gray-50);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .check {
    color: var(--success);
    font-weight: bold;
}

.comparison-table .cross {
    color: var(--error);
    font-weight: bold;
}

/* ============================================
   Tip Box / Info Box
   ============================================ */
.tip-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.tip-box strong {
    color: #856404;
}

.tip-box p {
    color: #856404;
    margin: 0;
    line-height: 1.6;
}

.info-box {
    background: var(--bg-primary);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
}

.info-box h3,
.info-box h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.info-box p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* ============================================
   Info Section
   ============================================ */
.info-section {
    background: var(--bg-secondary);
    padding: 4rem 0;
}

.info-section h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-grid .info-box {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border-left: none;
    box-shadow: var(--shadow-sm);
}

.info-grid .info-box i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.info-grid .info-box h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.info-grid .info-box p {
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   SEO Content Section
   ============================================ */
.seo-content {
    padding: 4rem 0;
}

.seo-content h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.seo-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.seo-content ul,
.seo-content ol {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style: disc;
}

.seo-content li {
    margin-bottom: 0.5rem;
}

/* SEO Content Box (Card Style) */
.seo-content-box {
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.seo-content-box h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.seo-content-box p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.seo-content-box p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Brand Logos
   ============================================ */
.brand-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.brand-logos span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-400);
}

/* ============================================
   CTA Section (Subpages)
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-section .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: transform var(--transition-base);
}

.cta-section .btn:hover {
    transform: scale(1.05);
}

/* ============================================
   Back Link
   ============================================ */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 2rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--accent);
}

/* ============================================
   Sortiment / Category Cards
   ============================================ */
.sortiment-page {
    padding: 120px 0 80px;
}

.sortiment-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.sortiment-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.sortiment-hero p {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    max-width: 700px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    text-decoration: none;
    display: block;
    border-left: 4px solid var(--accent);
}

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

.category-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.category-card h3 {
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.category-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.category-card .arrow {
    color: var(--accent);
    margin-top: 1rem;
    display: inline-block;
    font-weight: 600;
}

/* ============================================
   Intro Text
   ============================================ */
.intro-text {
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.intro-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ============================================
   General Text Styling Fix (White-on-White Prevention)
   ============================================ */
/* Ensure text is visible on light backgrounds */
section p,
section li,
article p,
article li,
.container p,
.container li {
    color: var(--text-secondary);
}

/* Ensure headings are visible */
section h1,
section h2,
section h3,
section h4,
section h5,
section h6,
article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
    color: var(--text-primary);
}

/* Override for dark backgrounds */
.why-us-section p,
.why-us-section h1,
.why-us-section h2,
.why-us-section h3,
.why-us-section h4,
.cta-section p,
.cta-section h1,
.cta-section h2,
.cta-section h3,
.cta-section h4 {
    color: inherit;
}

/* Footer: .container p rule above must not override footer text */
.footer .container p,
.footer .container li,
.footer p,
.footer li {
    color: var(--bp-footer-muted);  /* #dbe2ea — 10,68:1 auf #152d4a */
}

.footer .footer-heading,
.footer h4 {
    color: #ffffff;
}

/* Category hero text - always white on gradient */
.category-hero p,
.category-hero h1,
.category-hero h2 {
    color: #ffffff;
}

.category-hero p {
    color: rgba(255, 255, 255, 0.9);
}

/* Product card text */
.product-content h3,
.product-content .product-title {
    color: var(--text-primary);
}

.product-content p,
.product-content .product-specs {
    color: var(--text-secondary);
}

/* ============================================
   View Transition Animations (Astro)
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Content Staggered Animation */
.category-hero-content > * {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.category-hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.category-hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.category-hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.category-hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.category-hero-content > *:nth-child(5) { animation-delay: 0.5s; }

/* Badge Items Animation */
.badge-item {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.badge-item:nth-child(1) { animation-delay: 0.6s; }
.badge-item:nth-child(2) { animation-delay: 0.7s; }
.badge-item:nth-child(3) { animation-delay: 0.8s; }
.badge-item:nth-child(4) { animation-delay: 0.9s; }

/* Product Cards Animation */
.product-card {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:nth-child(1) { animation-delay: 0.2s; }
.product-card:nth-child(2) { animation-delay: 0.3s; }
.product-card:nth-child(3) { animation-delay: 0.4s; }
.product-card:nth-child(4) { animation-delay: 0.5s; }
.product-card:nth-child(5) { animation-delay: 0.6s; }
.product-card:nth-child(6) { animation-delay: 0.7s; }

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Badge Item Hover */
.badge-item {
    transition: transform 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-4px);
}

/* Scroll Reveal Animations - CSS-only with animation */
.about-section,
.why-us-section,
.products-section,
.faq-section,
.info-section {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Staggered delays for multiple sections */
.products-section:nth-of-type(2) { animation-delay: 0.1s; }
.products-section:nth-of-type(3) { animation-delay: 0.2s; }
.products-section:nth-of-type(4) { animation-delay: 0.3s; }
.products-section:nth-of-type(5) { animation-delay: 0.4s; }
.products-section:nth-of-type(6) { animation-delay: 0.5s; }
.products-section:nth-of-type(7) { animation-delay: 0.6s; }
.products-section:nth-of-type(8) { animation-delay: 0.7s; }

/* Legacy support for JS-based reveal */
.about-section.revealed,
.why-us-section.revealed,
.products-section.revealed,
.faq-section.revealed,
.info-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Section Badge Animation */
.section-badge {
    display: inline-block;
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Button Hover Effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(232, 119, 34, 0.4);
}

/* Category Card Animation */
.category-card {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }
.category-card:nth-child(6) { animation-delay: 0.6s; }

/* Reduced Motion Preference - Accessibility */
@media (prefers-reduced-motion: reduce) {
    .category-hero-content > *,
    .badge-item,
    .product-card,
    .category-card,
    .about-section,
    .why-us-section,
    .products-section,
    .faq-section,
    .info-section,
    .section-badge {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .product-card:hover,
    .category-card:hover,
    .badge-item:hover,
    .btn:hover {
        transform: none;
    }
}

/* ============================================
   Astro View Transition Custom Animations
   ============================================ */
::view-transition-old(root) {
    animation: 0.3s ease-out both fade-out;
}

::view-transition-new(root) {
    animation: 0.3s ease-out both fade-in;
}

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hero specific transition */
::view-transition-old(hero) {
    animation: 0.4s ease-out both slide-out-to-left;
}

::view-transition-new(hero) {
    animation: 0.4s ease-out both slide-in-from-right;
}

@keyframes slide-out-to-left {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

@keyframes slide-in-from-right {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   SEO-Optimized Title Classes (non-H3)
   ============================================ */
.product-card .product-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 0.75rem;
}

.section-title-alt {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
}

.calc-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.expertise-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}
