/* ===========================
   Löffler Gabelstapler Theme
   CodLab 2026
   =========================== */

:root {
    --primary: #CC0000;
    --primary-dark: #990000;
    --primary-light: #ff1a1a;
    --secondary: #1a1a2e;
    --secondary-light: #2d2d44;
    --accent: #e63946;
    --grey-900: #111827;
    --grey-800: #1f2937;
    --grey-700: #374151;
    --grey-600: #4b5563;
    --grey-500: #6b7280;
    --grey-400: #9ca3af;
    --grey-300: #d1d5db;
    --grey-200: #e5e7eb;
    --grey-100: #f3f4f6;
    --grey-50: #f9fafb;
    --white: #ffffff;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.08);
    --shadow-color: 0 8px 30px rgba(204,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --spring: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-bg: rgba(255,255,255,0.6);
    --glass-border: rgba(255,255,255,0.3);
    --glass-blur: blur(16px);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--grey-700);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   INTRO ANIMATION
   =========================== */
.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-overlay.fade-out {
    animation: introOut 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.intro-overlay.hidden { display: none; }

.intro-logo-img {
    width: 380px;
    max-width: 75vw;
    height: auto;
    opacity: 0;
    animation: introIn 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes introIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes introOut {
    to { opacity: 0; }
}

/* ===========================
   TOP BAR
   =========================== */
.topbar {
    background: var(--secondary);
    color: var(--grey-300);
    font-size: 0.8125rem;
    padding: 8px 0;
    position: relative;
    z-index: 101;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--grey-300);
    transition: var(--transition);
}

a.topbar-item:hover { color: var(--white); }

/* ===========================
   HEADER
   =========================== */
.site-header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.96);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item > a {
    display: block;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--grey-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-item > a:hover,
.nav-item.active > a {
    color: var(--primary);
    background: rgba(204, 0, 0, 0.05);
}

.nav-item.nav-cta > a {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    padding: 8px 20px;
}

.nav-item.nav-cta > a:hover {
    background: var(--primary-dark);
}

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

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    border: 1px solid var(--grey-100);
}

.nav-item.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li a {
    display: block;
    padding: 8px 14px;
    font-size: 0.875rem;
    color: var(--grey-600);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-dropdown li a:hover {
    color: var(--primary);
    background: rgba(204, 0, 0, 0.05);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--grey-700);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #a00 100%);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(204,0,0,0.2);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(204,0,0,0.3);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204,0,0,0.2);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--grey-50);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-glass-white {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}
.btn-glass-white:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }

/* ===========================
   HERO — Photo slider
   =========================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease, transform 8s linear;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 20, 0.75) 0%,
        rgba(10, 10, 20, 0.55) 50%,
        rgba(10, 10, 20, 0.65) 100%
    );
}

.hero .container { position: relative; z-index: 2; }

.hero-content-centered {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(204, 0, 0, 0.15);
    border: 1px solid rgba(204, 0, 0, 0.3);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-accent {
    display: block;
    background: linear-gradient(135deg, var(--primary-light), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 36px;
    max-width: 600px;
    line-height: 1.8;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px 32px;
}

.stat { text-align: center; }

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual */
.hero-visual-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 20px;
    backdrop-filter: blur(10px);
}

.hero-visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-forklift-svg {
    width: 100%;
    height: auto;
}

.hero-forklift-main {
    animation: forkliftBob 4s ease-in-out infinite;
}

@keyframes forkliftBob {
    0%, 100% { transform: translate(120px, 180px) translateY(0); }
    50% { transform: translate(120px, 180px) translateY(-3px); }
}

.hero-mast {
    animation: mastGrow 3s ease-in-out infinite alternate;
    transform-origin: bottom;
}

@keyframes mastGrow {
    0% { transform: scaleY(1); }
    100% { transform: scaleY(1.03); }
}

.hero-load {
    animation: loadFloat 3s ease-in-out infinite alternate;
}

@keyframes loadFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.particle {
    animation: particleFloat 6s ease-in-out infinite;
}

.p1 { animation-delay: 0s; }
.p2 { animation-delay: 1.5s; }
.p3 { animation-delay: 3s; }
.p4 { animation-delay: 4.5s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
    50% { transform: translateY(-20px) scale(1.5); opacity: 0.4; }
}

/* ===========================
   SECTIONS
   =========================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, rgba(204,0,0,0.08) 0%, rgba(204,0,0,0.04) 100%);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(204,0,0,0.1);
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    color: var(--grey-500);
    font-size: 1.05rem;
}

/* ===========================
   BRANDS
   =========================== */
.brands-section {
    background: linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
    position: relative;
}

.brands-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(204,0,0,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.brand-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--spring);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(204,0,0,0.02) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.brand-card:hover::before { opacity: 1; }

.brand-card:hover {
    border-color: rgba(204,0,0,0.15);
    box-shadow: var(--shadow-lg), var(--shadow-color);
    transform: translateY(-8px);
}

.brand-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: var(--grey-400);
    transition: var(--transition);
}

.brand-card:hover .brand-icon { color: var(--primary); }

.brand-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 8px;
}

.brand-card p {
    color: var(--grey-500);
    font-size: 0.875rem;
    margin-bottom: 16px;
    flex-grow: 1;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===========================
   SERVICES
   =========================== */
.services-section {
    background: var(--secondary);
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    margin-top: -40px;
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
}

.services-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(204,0,0,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.services-section .section-header h2 { color: var(--white); }
.services-section .section-header p { color: rgba(255,255,255,0.5); }
.services-section .section-tag { background: rgba(204,0,0,0.2); color: rgba(255,255,255,0.9); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--spring);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(204,0,0,0.2);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.service-card h3 { color: var(--white); }
.service-card p { color: rgba(255,255,255,0.5); }

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(204, 0, 0, 0.15);
    border-radius: var(--radius);
    margin-bottom: 20px;
    color: var(--primary-light);
    transition: var(--spring);
    border: 1px solid rgba(204,0,0,0.1);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(204,0,0,0.4);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--grey-500);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ===========================
   GALLERY STRIP
   =========================== */
.gallery-strip {
    padding: 20px 0;
    overflow: hidden;
    background: var(--grey-900);
    position: relative;
}

.gallery-strip::before,
.gallery-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.gallery-strip::before {
    left: 0;
    background: linear-gradient(to right, var(--grey-900), transparent);
}

.gallery-strip::after {
    right: 0;
    background: linear-gradient(to left, var(--grey-900), transparent);
}

.gallery-strip-track {
    display: flex;
    gap: 8px;
    animation: galleryScroll 40s linear infinite;
    width: max-content;
}

.gallery-strip-track:hover {
    animation-play-state: paused;
}

.gallery-strip-item {
    flex-shrink: 0;
    width: 300px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-strip-item:hover img {
    transform: scale(1.08);
}

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

@media (max-width: 768px) {
    .gallery-strip-item { width: 220px; height: 150px; }
    .gallery-strip::before, .gallery-strip::after { width: 40px; }
}

/* ===========================
   ABOUT
   =========================== */
.about-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(204,0,0,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-tag { margin-bottom: 16px; }

.about-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content p {
    color: var(--grey-600);
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--grey-800);
    font-size: 0.9375rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.about-feature:hover {
    background: rgba(204,0,0,0.04);
}

/* About Visual */
.about-image-wrapper {
    position: relative;
    height: 450px;
}

.about-image-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.6) 0%, transparent 60%);
    z-index: 1;
}

.about-stats-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    justify-content: space-around;
}

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

.about-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.about-stat-label {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
}

/* ===========================
   LOCATIONS
   =========================== */
.locations-section {
    background: linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--spring);
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.location-card:hover {
    box-shadow: var(--shadow-lg), var(--shadow-color);
    transform: translateY(-8px);
    border-color: rgba(204,0,0,0.12);
}

.location-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

.location-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 16px;
}

.location-info {
    color: var(--grey-600);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.location-info p { margin-bottom: 10px; }
.location-info strong { color: var(--grey-800); }

/* ===========================
   CTA
   =========================== */
.cta-section {
    padding: 80px 0 100px;
    background: var(--grey-50);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, #8B0000 50%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(204,0,0,0.25);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.cta-card h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-decoration {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    opacity: 0.5;
}

.cta-decoration svg {
    animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===========================
   CHATBOT FAB
   =========================== */
.chatbot-fab-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row;
}

.chatbot-fab-tooltip {
    background: var(--white);
    color: var(--grey-800);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    animation: tooltipIn 0.5s 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: none;
    border: 1px solid var(--grey-100);
}

.chatbot-fab-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-right: 1px solid var(--grey-100);
    border-bottom: 1px solid var(--grey-100);
    transform: translateY(-50%) rotate(-45deg);
}

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

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #a00 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--spring);
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    animation: fabIn 0.6s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-shadow: 0 4px 20px rgba(204,0,0,0.35);
}

@keyframes fabIn {
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(204,0,0,0.45);
}

.chatbot-toggle:active {
    transform: scale(0.95);
}

/* Icon swap animation */
.chatbot-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
}

.chatbot-toggle.is-open .chatbot-icon-chat {
    transform: rotate(90deg) scale(0);
    opacity: 0;
    position: absolute;
}

.chatbot-toggle.is-open .chatbot-icon-close {
    display: flex !important;
    animation: fabIconIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fabIconIn {
    from { transform: rotate(-90deg) scale(0); opacity: 0; }
    to { transform: rotate(0deg) scale(1); opacity: 1; }
}

/* Pulsing ring */
.chatbot-fab-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(204,0,0,0.3);
    animation: fabRing 3s 2s ease-out infinite;
    pointer-events: none;
}

@keyframes fabRing {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.chatbot-toggle.is-open .chatbot-fab-ring { display: none; }

/* Badge */
.chatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    border: 2px solid var(--white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.chatbot-toggle.is-open .chatbot-badge { display: none; }

.chatbot-panel {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 400px;
    max-height: 600px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--grey-200);
}

.chatbot-panel.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--primary);
    color: var(--white);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-header strong { font-size: 0.9375rem; }

.chatbot-status {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px;
    opacity: 0.8;
    transition: var(--transition);
}

.chatbot-close:hover { opacity: 1; }

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 300px;
    max-height: 380px;
}

.chat-msg {
    display: flex;
    gap: 8px;
}

.chat-bot { justify-content: flex-start; }
.chat-user { justify-content: flex-end; }

.chat-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.chat-bot .chat-bubble {
    background: var(--grey-100);
    color: var(--grey-800);
    border-bottom-left-radius: 4px;
}

.chat-user .chat-bubble {
    background: var(--primary);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chatbot-suggestions {
    padding: 0 20px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chat-suggestion {
    padding: 6px 14px;
    font-size: 0.75rem;
    font-family: var(--font);
    font-weight: 500;
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--grey-600);
}

.chat-suggestion:hover {
    background: rgba(204, 0, 0, 0.05);
    border-color: var(--primary);
    color: var(--primary);
}

.chatbot-input {
    display: flex;
    padding: 12px 16px;
    border-top: 1px solid var(--grey-200);
    gap: 8px;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: var(--font);
    font-size: 0.875rem;
    outline: none;
    transition: var(--transition);
}

.chatbot-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chatbot-input button:hover {
    background: var(--primary-dark);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: linear-gradient(180deg, var(--secondary) 0%, #0f0f1e 100%);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-top: 60px;
}

.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    color: var(--secondary);
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1) opacity(0.85);
}

.footer-about p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.mt-1 { margin-top: 24px; }

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.875rem;
    align-items: flex-start;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--primary-light);
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
}

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

/* ===========================
   COOKIE BANNER DSGVO
   =========================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--white);
    box-shadow: 0 -8px 40px rgba(0,0,0,0.12);
    border-top: 3px solid var(--primary);
    animation: cookieSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
}

.cookie-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--grey-900);
    margin: 0 0 8px;
}

.cookie-text p {
    font-size: 0.8125rem;
    color: var(--grey-500);
    margin: 0 0 6px;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary);
    font-weight: 500;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-settings-toggle {
    background: none;
    border: none;
    color: var(--grey-500);
    font-size: 0.8125rem;
    cursor: pointer;
    text-decoration: underline;
    font-family: var(--font);
}

.cookie-settings-toggle:hover { color: var(--primary); }

.cookie-details {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--grey-200);
}

.cookie-option {
    margin-bottom: 10px;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8125rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    accent-color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.cookie-option strong {
    display: block;
    color: var(--grey-900);
    font-size: 0.85rem;
}

.cookie-option span {
    color: var(--grey-500);
    font-size: 0.75rem;
}

/* ===========================
   BACK TO TOP
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--spring);
    box-shadow: var(--shadow-md);
    color: var(--grey-600);
}

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

.back-to-top:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ===========================
   BREADCRUMBS
   =========================== */
.breadcrumbs {
    padding: 12px 0;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.4);
    position: relative;
    z-index: 2;
}

.breadcrumbs a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.breadcrumbs a:hover { color: var(--white); }

.breadcrumbs span { color: rgba(255,255,255,0.7); }

.breadcrumbs .sep {
    margin: 0 6px;
    opacity: 0.3;
}

/* CodLab Credit */
.footer-codlab {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
    text-align: center;
}

.codlab-glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    transition: var(--transition);
}

.codlab-glass-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.codlab-text {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    transition: var(--transition);
}

.codlab-glass-badge:hover .codlab-text { color: rgba(255, 255, 255, 0.7); }

.codlab-logo {
    height: 14px;
    width: auto;
    opacity: 0.5;
    transition: var(--transition);
}

.codlab-glass-badge:hover .codlab-logo { opacity: 0.8; }

/* ===========================
   ANIMATIONS (Scroll)
   =========================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

/* ===========================
   PAGE TEMPLATE
   =========================== */
.page-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.page-content {
    padding: 80px 0;
}

.page-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--grey-900);
    margin: 40px 0 16px;
}

.page-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--grey-800);
    margin: 32px 0 12px;
}

.page-content p {
    margin-bottom: 16px;
    color: var(--grey-600);
}

.page-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-content ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    color: var(--grey-600);
    list-style: none;
}

.page-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* Info Cards Grid */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.info-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--spring);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: relative;
}

.info-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    border-radius: 4px 0 0 4px;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-card:hover::after { height: 100%; }

.info-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(204,0,0,0.08);
}

.info-card h3 {
    font-size: 1.125rem;
    color: var(--grey-900);
    margin: 0 0 12px;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--grey-500);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--grey-800);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9375rem;
    color: var(--grey-800);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ===========================
   TRUST NUMBERS
   =========================== */
.trust-section {
    padding: 60px 0;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(204,0,0,0.06) 0%, transparent 70%);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

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

.trust-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    display: inline;
}

.trust-suffix {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--primary-light);
}

.trust-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ===========================
   SCHNELLANFRAGE
   =========================== */
.quick-form-section {
    background: var(--grey-50);
}

.quick-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.quick-form-text .section-tag { margin-bottom: 16px; }

.quick-form-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.quick-form-text p {
    color: var(--grey-500);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.quick-form-trust {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qft-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--grey-700);
}

.quick-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
}

.quick-form-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 0 0 3px 3px;
}

.quick-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.quick-form .form-group {
    margin-bottom: 12px;
}

.quick-form input,
.quick-form select,
.quick-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--grey-800);
    background: var(--grey-50);
    transition: var(--transition);
}

.quick-form input:focus,
.quick-form select:focus,
.quick-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(204,0,0,0.08);
    background: var(--white);
}

.quick-form textarea { resize: vertical; min-height: 80px; }

@media (max-width: 768px) {
    .quick-form-grid { grid-template-columns: 1fr; gap: 30px; }
    .quick-form .form-row { grid-template-columns: 1fr; }
}

/* ===========================
   ADVANCED ANIMATIONS 2026
   =========================== */

/* Staggered fade-up for cards */
[data-animate="stagger"] > * {
    opacity: 0;
    transform: translateY(30px);
}

[data-animate="stagger"].visible > *:nth-child(1) { animation: staggerIn 0.5s 0.05s ease forwards; }
[data-animate="stagger"].visible > *:nth-child(2) { animation: staggerIn 0.5s 0.15s ease forwards; }
[data-animate="stagger"].visible > *:nth-child(3) { animation: staggerIn 0.5s 0.25s ease forwards; }
[data-animate="stagger"].visible > *:nth-child(4) { animation: staggerIn 0.5s 0.35s ease forwards; }
[data-animate="stagger"].visible > *:nth-child(5) { animation: staggerIn 0.5s 0.45s ease forwards; }
[data-animate="stagger"].visible > *:nth-child(6) { animation: staggerIn 0.5s 0.55s ease forwards; }

@keyframes staggerIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Smooth parallax text on hero */
.hero-title {
    animation: heroTitleIn 1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

.hero-subtitle {
    animation: heroTitleIn 1s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-actions {
    animation: heroTitleIn 1s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-stats {
    animation: heroTitleIn 1s 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-badge {
    animation: heroBadgeIn 0.8s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(15px) scale(0.95);
}

@keyframes heroTitleIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroBadgeIn {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Card hover micro-interactions */
.service-card, .brand-card, .info-card, .location-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

/* Smooth gradient shimmer on buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::after {
    left: 100%;
}

/* Smooth scroll reveal */
[data-animate] {
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Section divider glow */
.section + .section {
    position: relative;
}

/* Floating elements */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(1deg); }
}

/* Service icon bounce on hover */
.service-card:hover .service-icon {
    animation: iconBounce 0.4s ease;
}

@keyframes iconBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Brand card image zoom on hover */
.brand-card:hover .brand-card-logo {
    transform: scale(1.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-card-logo {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stats counter glow pulse */
.trust-number {
    text-shadow: 0 0 40px rgba(204,0,0,0.15);
}

/* Page hero parallax-like entrance */
.page-hero-image {
    animation: pageHeroIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageHeroIn {
    from { background-size: 120%; }
    to { background-size: cover; }
}

.page-hero h1 {
    animation: heroTitleIn 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.page-hero p {
    animation: heroTitleIn 0.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Typing cursor for streaming */
.typing-cursor {
    animation: cursorBlink 0.8s infinite;
    color: var(--primary);
    font-weight: 300;
}

/* Chat toolbar */
.chatbot-toolbar {
    display: flex;
    gap: 4px;
    padding: 6px 16px;
    border-top: 1px solid var(--grey-100);
    background: var(--grey-50);
}

.chat-tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--grey-400);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

.chat-tool-btn:hover {
    color: var(--primary);
    background: rgba(204,0,0,0.05);
    border-color: rgba(204,0,0,0.1);
}

.chat-tool-btn.active {
    color: var(--primary);
    background: rgba(204,0,0,0.1);
    border-color: rgba(204,0,0,0.2);
    animation: voicePulse 1.5s infinite;
}

@keyframes voicePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(204,0,0,0.2); }
    50% { box-shadow: 0 0 0 6px rgba(204,0,0,0); }
}

/* Feedback buttons on bot messages */
.chat-feedback {
    display: flex;
    gap: 4px;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.chat-msg.chat-bot:hover .chat-feedback,
.chat-feedback.voted { opacity: 1; }

.chat-fb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(0,0,0,0.04);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: var(--grey-400);
    font-size: 12px;
    transition: var(--transition);
}

.chat-fb-btn:hover { color: var(--primary); background: rgba(204,0,0,0.08); }
.chat-fb-btn.voted-up { color: #22c55e; background: rgba(34,197,94,0.1); }
.chat-fb-btn.voted-down { color: #ef4444; background: rgba(239,68,68,0.1); }

/* Rich product card in chat */
.chat-product-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: 10px;
    margin-top: 10px;
    transition: var(--transition);
}

.chat-product-card:hover {
    border-color: rgba(204,0,0,0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.chat-product-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background: var(--grey-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.chat-product-info { flex: 1; min-width: 0; }
.chat-product-info strong { font-size: 0.85rem; color: var(--grey-900); display: block; }
.chat-product-info span { font-size: 0.75rem; color: var(--grey-500); }
.chat-product-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 12px;
    background: var(--primary);
    color: #fff;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.chat-product-btn:hover { background: var(--primary-dark); }

/* Calculator form in chat */
.chat-calc-form {
    padding: 14px;
    background: var(--grey-50);
    border-radius: 10px;
    border: 1px solid var(--grey-200);
    margin-top: 8px;
}

.chat-calc-form label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--grey-600);
    margin-bottom: 3px;
    margin-top: 8px;
}

.chat-calc-form label:first-child { margin-top: 0; }

.chat-calc-form input, .chat-calc-form select {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--grey-200);
    border-radius: 6px;
    font-family: var(--font);
    font-size: 0.8rem;
}

.chat-calc-result {
    margin-top: 12px;
    padding: 12px;
    background: var(--white);
    border: 1px solid rgba(204,0,0,0.15);
    border-radius: 8px;
}

/* Termin form in chat */
.chat-termin-form input, .chat-termin-form select {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--grey-200);
    border-radius: 6px;
    font-family: var(--font);
    font-size: 0.8rem;
    margin-bottom: 6px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.chat-bubble ul { margin: 8px 0; padding-left: 16px; }
.chat-bubble li { margin: 4px 0; list-style: disc; }
.chat-bubble hr { border: none; border-top: 1px solid var(--grey-200); margin: 12px 0; }
.chat-bubble strong { font-weight: 600; }

/* Typing Dots */
.typing-dots span {
    animation: typingBounce 1.4s infinite;
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

/* Form Message */
.form-message {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.form-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Service Blocks */
.service-block {
    padding: 48px 0;
    border-bottom: 1px solid var(--grey-100);
}

.service-block:last-of-type { border-bottom: none; }

.service-block-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.service-block-header h2 { margin: 0; }

.service-block-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(204,0,0,0.08), rgba(204,0,0,0.04));
    border: 1px solid rgba(204,0,0,0.1);
    border-radius: var(--radius);
    color: var(--primary);
    flex-shrink: 0;
}

/* Checklist Grid */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    margin: 20px 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--grey-50);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--grey-700);
    border: 1px solid var(--grey-100);
    transition: var(--transition);
}

.checklist-item::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.checklist-item:hover {
    background: rgba(204,0,0,0.04);
    border-color: rgba(204,0,0,0.12);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--grey-50) 0%, rgba(204,0,0,0.03) 100%);
    border: 1px solid rgba(204,0,0,0.08);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 28px 32px;
    margin: 24px 0;
}

.highlight-box h3 {
    font-size: 1.05rem;
    color: var(--grey-900);
    margin: 0 0 8px;
}

.highlight-box p {
    margin: 0;
    font-size: 0.9375rem;
}

.highlight-box-dark {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-color: rgba(204,0,0,0.2);
    color: rgba(255,255,255,0.7);
}

.highlight-box-dark h3 { color: var(--white); }
.highlight-box-dark p { color: rgba(255,255,255,0.6); }

/* PDF Grid */
.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 10px;
    margin: 20px 0 40px;
}

.pdf-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--grey-100);
    border-radius: var(--radius-sm);
    transition: var(--spring);
    font-size: 0.85rem;
    color: var(--grey-700);
    line-height: 1.4;
}

.pdf-card:hover {
    background: rgba(204,0,0,0.03);
    border-color: rgba(204,0,0,0.15);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.pdf-card strong {
    color: var(--primary);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 2px;
}

.pdf-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(204,0,0,0.06);
    border-radius: var(--radius-sm);
    color: var(--primary);
    flex-shrink: 0;
}

.pdf-card:hover .pdf-icon {
    background: var(--primary);
    color: var(--white);
}

@media (max-width: 768px) {
    .pdf-grid { grid-template-columns: 1fr; }
}

/* Page Images */
.page-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 24px 0;
    box-shadow: var(--shadow-md);
}

.page-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.page-image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.page-image-grid img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Hero with background image */
.page-hero-image {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 0 80px;
}

.page-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.7) 100%);
}

.page-hero-image .container {
    position: relative;
    z-index: 2;
}

/* Brand Logo in cards */
.brand-card-logo {
    width: 100%;
    max-width: 200px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

/* Gallery lightbox */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin: 24px 0;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
    aspect-ratio: 4/3;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.08);
}

/* Info card with image */
.info-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    margin: -32px -24px 20px;
    width: calc(100% + 48px);
}

/* News cards on homepage */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--grey-200);
    transition: var(--transition);
}

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

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-body {
    padding: 24px;
}

.news-card-date {
    font-size: 0.8125rem;
    color: var(--grey-400);
    margin-bottom: 8px;
}

.news-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: 8px;
}

.news-card p {
    font-size: 0.875rem;
    color: var(--grey-500);
}

/* Two-column layout for content pages */
.content-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .content-two-col {
        grid-template-columns: 1fr;
    }
    .page-image-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

@media (max-width: 768px) {
    .topbar-right { display: none; }

    .header-inner { height: 70px; }

    .site-logo img { height: 40px; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 200;
        padding: 80px 24px 24px;
        overflow-y: auto;
    }

    .main-nav.active { right: 0; }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .nav-item > a {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: 0;
        border-bottom: 1px solid var(--grey-100);
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 20px;
        background: var(--grey-50);
        border-radius: 0;
        display: none;
    }

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

    .nav-item.nav-cta > a {
        margin-top: 16px;
        text-align: center;
        border-radius: var(--radius-sm);
    }

    .mobile-toggle { display: flex; z-index: 201; }

    .hero { min-height: 80vh; padding: 60px 0; }
    .hero-stats { flex-wrap: wrap; gap: 16px; padding: 16px 20px; }

    .brands-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .chatbot-panel {
        width: calc(100vw - 32px);
        right: 16px;
        bottom: 90px;
        max-height: 70vh;
    }

    .cta-card { padding: 48px 28px; }

    .cta-decoration { display: none; }

    .section { padding: 60px 0; }
}

@media (max-width: 480px) {
    .brands-grid { grid-template-columns: 1fr; }
    .brand-card { padding: 28px 20px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-stats { flex-wrap: wrap; gap: 16px; padding: 14px 16px; }
    .stat-number { font-size: 1.5rem; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .section-header h2 { font-size: 1.5rem; }
    .chatbot-fab-tooltip { display: none; }
    .chatbot-fab-wrap { bottom: 16px; right: 16px; }
    .chatbot-toggle { width: 52px; height: 52px; }
}

/* Mobile nav overlay */
@media (max-width: 768px) {
    .main-nav::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
        z-index: -1;
    }
    .main-nav.active::before {
        opacity: 1;
        pointer-events: auto;
    }
}
