/* ═══════════════════════════════════════════════════════════════
   AUTOHAUS OTTOBRUNN – STYLES
   Refined / Modern Industrial Aesthetic
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
    /* Colors */
    --clr-bg:          #F7F8FA;
    --clr-bg-alt:      #EDEEF2;
    --clr-surface:     #FFFFFF;
    --clr-navy:        #0A192F;
    --clr-navy-light:  #112240;
    --clr-red:         #E63946;
    --clr-red-dark:    #C62828;
    --clr-text:        #1A1A2E;
    --clr-text-muted:  #5A5F7A;
    --clr-text-light:  #8892B0;
    --clr-border:      #D8DAE5;
    --clr-gold:        #F5A623;

    /* Typography */
    --font-display:    'Clash Display', 'Georgia', serif;
    --font-body:       'General Sans', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2.5rem;
    --space-xl:  4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(10, 25, 47, 0.04), 0 1px 2px rgba(10, 25, 47, 0.06);
    --shadow-md:  0 4px 16px rgba(10, 25, 47, 0.06), 0 2px 4px rgba(10, 25, 47, 0.04);
    --shadow-lg:  0 12px 40px rgba(10, 25, 47, 0.08), 0 4px 12px rgba(10, 25, 47, 0.04);
    --shadow-xl:  0 20px 60px rgba(10, 25, 47, 0.12), 0 8px 20px rgba(10, 25, 47, 0.06);

    /* Radius */
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    /* Transitions */
    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--clr-text);
    background-color: var(--clr-bg);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--ease-out);
}

/* ─── CONTAINER ─── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ─── SECTION BASE ─── */
.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clr-red);
    background: rgba(230, 57, 70, 0.08);
    padding: 0.4em 1.2em;
    border-radius: 100px;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--clr-navy);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    line-height: 1.7;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85em 1.8em;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 1.15em;
    transition: transform 0.35s var(--ease-out);
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--clr-red);
    color: #fff;
    border-color: var(--clr-red);
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    background: var(--clr-red-dark);
    border-color: var(--clr-red-dark);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--clr-navy);
    border-color: #fff;
}

.btn-white:hover {
    background: var(--clr-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-sm { padding: 0.6em 1.4em; font-size: 0.85rem; }
.btn-lg { padding: 1em 2.2em; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(247, 248, 250, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(216, 218, 229, 0.5);
    transition: all 0.4s var(--ease-out);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--clr-navy);
    letter-spacing: 0.05em;
}

.logo-sub {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--clr-red);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    padding: 0.5em 1em;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease-out);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--clr-navy);
    background: rgba(10, 25, 47, 0.04);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--clr-red);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--clr-navy);
    transition: color 0.3s;
}

.header-phone:hover {
    color: var(--clr-red);
}

.header-phone i {
    font-size: 1.1em;
}

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

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-navy);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(10, 25, 47, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s;
    transform: translateY(20px);
    opacity: 0;
}

.mobile-nav-overlay.active .mobile-nav-link {
    opacity: 0.8;
    transform: translateY(0);
}

.mobile-nav-overlay.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav-link:hover {
    opacity: 1;
    color: var(--clr-red);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-navy);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(230, 57, 70, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(17, 34, 64, 0.8) 0%, transparent 50%),
        linear-gradient(180deg, var(--clr-navy) 0%, #0D1F3C 100%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.5em 1.2em;
    border-radius: 100px;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--clr-gold);
    font-size: 1.1em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero-title-accent {
    color: var(--clr-red);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8em;
}

.trust-stars {
    display: flex;
    gap: 0.15em;
}

.trust-stars i {
    color: var(--clr-gold);
    font-size: 1rem;
}

.trust-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.3);
    font-size: 1.4rem;
    animation: heroScroll 2s ease-in-out infinite;
}

@keyframes heroScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.3; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.7; }
}

/* ═══════════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════════ */
.stats-bar {
    background: var(--clr-surface);
    border-bottom: 1px solid var(--clr-border);
    padding: var(--space-lg) 0;
    position: relative;
    z-index: 3;
    box-shadow: var(--shadow-sm);
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    color: var(--clr-navy);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--clr-border);
}

/* ═══════════════════════════════════════════════════════════════
   LEISTUNGEN / SERVICES
   ═══════════════════════════════════════════════════════════════ */
.leistungen {
    background: var(--clr-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.service-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--clr-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

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

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

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(230, 57, 70, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: all 0.4s var(--ease-out);
}

.service-icon i {
    font-size: 1.4rem;
    color: var(--clr-red);
    transition: color 0.4s;
}

.service-card:hover .service-icon {
    background: var(--clr-red);
}

.service-card:hover .service-icon i {
    color: #fff;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--clr-navy);
    margin-bottom: 0.5em;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.service-arrow {
    display: flex;
    align-items: center;
    color: var(--clr-red);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.35s var(--ease-out);
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    margin-top: auto;
    padding-top: var(--space-sm);
    color: var(--clr-red);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease-out);
    opacity: 0;
    transform: translateY(4px);
}

/* Mobile: CTA immer sichtbar */
@media (max-width: 768px) {
    .service-cta {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-cta i {
    transition: transform 0.3s var(--ease-out);
}

.service-card:hover .service-cta {
    opacity: 1;
    transform: translateY(0);
}

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

/* ═══════════════════════════════════════════════════════════════
   ÜBER UNS
   ═══════════════════════════════════════════════════════════════ */
.ueber-uns {
    background: var(--clr-surface);
}

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

.about-visual {
    position: relative;
}

.about-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.03);
}

.about-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--clr-bg-alt) 0%, var(--clr-border) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--clr-text-muted);
}

.about-image-placeholder i {
    font-size: 3rem;
    opacity: 0.4;
}

.about-image-placeholder span {
    font-size: 0.85rem;
    opacity: 0.6;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--clr-navy);
    color: #fff;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.exp-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
    color: var(--clr-red);
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.3;
    display: block;
    margin-top: 0.3em;
    opacity: 0.8;
}

.about-content .section-tag {
    margin-bottom: var(--space-sm);
}

.about-content .section-title {
    text-align: left;
    margin-bottom: var(--space-md);
}

.about-text {
    font-size: 1rem;
    color: var(--clr-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.8em;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    background: var(--clr-bg);
    transition: all 0.3s var(--ease-out);
}

.about-feature:hover {
    background: rgba(230, 57, 70, 0.04);
}

.about-feature i {
    font-size: 1.4rem;
    color: var(--clr-red);
    margin-top: 0.15em;
    flex-shrink: 0;
}

.about-feature strong {
    display: block;
    font-size: 0.9rem;
    color: var(--clr-navy);
    margin-bottom: 0.1em;
}

.about-feature span {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   BEWERTUNGEN / TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.bewertungen {
    background: var(--clr-bg);
}

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

.testimonial-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-featured {
    background: var(--clr-surface);
    border: 2px solid var(--clr-red);
    border-color: var(--clr-red);
    box-shadow: 0 8px 32px rgba(230, 57, 70, 0.12);
}

.testimonial-featured .testimonial-text {
    color: var(--clr-text-muted);
    font-size: 1.05rem;
}

.testimonial-featured .testimonial-author strong {
    color: var(--clr-navy);
}

.testimonial-featured .testimonial-author span {
    color: var(--clr-text-light);
}

.testimonial-featured .author-avatar {
    background: var(--clr-red);
    color: #fff;
}

.testimonial-stars {
    display: flex;
    gap: 0.15em;
    margin-bottom: var(--space-sm);
}

.testimonial-stars i {
    color: var(--clr-gold);
    font-size: 0.95rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8em;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--clr-border);
}

.testimonial-featured .testimonial-author {
    border-top-color: rgba(255,255,255,0.1);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--clr-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-navy);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.88rem;
    color: var(--clr-navy);
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--clr-text-light);
}

/* ═══════════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════════ */
.cta-banner {
    background: var(--clr-navy);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-banner-grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    position: relative;
    z-index: 2;
}

.cta-banner-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3em;
}

.cta-banner-text p {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
}

.cta-banner-actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   KONTAKT / FORMULAR
   ═══════════════════════════════════════════════════════════════ */
.kontakt {
    background: var(--clr-surface);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-card {
    background: var(--clr-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.contact-card-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(230, 57, 70, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--clr-red);
}

.contact-card-item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--clr-navy);
    margin-bottom: 0.15em;
}

.contact-card-item span,
.contact-card-item a {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.contact-card-item a:hover {
    color: var(--clr-red);
}

.map-placeholder {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Form */
.contact-form-wrapper {
    background: var(--clr-bg);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--clr-border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.85em 1em;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm);
    background: var(--clr-surface);
    color: var(--clr-text);
    transition: all 0.3s var(--ease-out);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--clr-red);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--clr-text-light);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A5F7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
    padding-right: 2.5em;
}

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

/* Checkbox */
.form-consent {
    margin-top: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6em;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--clr-border);
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s var(--ease-out);
    margin-top: 1px;
}

.checkbox-label input:checked + .checkmark {
    background: var(--clr-red);
    border-color: var(--clr-red);
}

.checkbox-label input:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 6px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

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

/* Form States */
.form-success,
.form-error {
    display: none;
    text-align: center;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-sm);
}

.form-success {
    background: rgba(16, 185, 129, 0.08);
    color: #065F46;
}

.form-success i {
    font-size: 2rem;
    color: #10B981;
    display: block;
    margin-bottom: 0.5em;
}

.form-error {
    background: rgba(230, 57, 70, 0.08);
    color: var(--clr-red-dark);
}

.form-error i {
    font-size: 2rem;
    color: var(--clr-red);
    display: block;
    margin-bottom: 0.5em;
}

.form-success.visible,
.form-error.visible {
    display: block;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--clr-navy);
    color: rgba(255,255,255,0.7);
    padding: var(--space-3xl) 0 0;
}

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

.footer-brand .logo {
    margin-bottom: var(--space-sm);
}

.footer-logo .logo-mark {
    color: #fff;
}

.footer-logo .logo-sub {
    color: var(--clr-red);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.footer-links a {
    display: block;
    font-size: 0.88rem;
    opacity: 0.6;
    padding: 0.3em 0;
    transition: all 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--clr-red);
    transform: translateX(3px);
}

.footer-contact p {
    font-size: 0.88rem;
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 0.5em;
}

.footer-contact a:hover {
    color: var(--clr-red);
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 0.8em;
    margin-top: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s var(--ease-out);
    opacity: 0.6;
}

.footer-social a:hover {
    background: var(--clr-red);
    opacity: 1;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    font-size: 0.82rem;
    opacity: 0.5;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--clr-red);
}

/* ═══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS (Intersection Observer)
   ═══════════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.services-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.3s; }
.services-grid .reveal:nth-child(7) { transition-delay: 0.35s; }
.services-grid .reveal:nth-child(8) { transition-delay: 0.4s; }

.testimonials-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.testimonials-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.testimonials-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.testimonials-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.stats-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.stats-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.stats-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.stats-grid .reveal:nth-child(7) { transition-delay: 0.35s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-visual {
        max-width: 500px;
    }

    .about-content .section-title {
        text-align: center;
    }

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

    .about-features {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-content .btn {
        margin: 0 auto;
    }

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

    .testimonial-featured {
        grid-row: auto;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-inner {
        height: 70px;
    }

    .hero {
        padding-top: 70px;
    }

    html {
        scroll-padding-top: 70px;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

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

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

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

    .stats-grid {
        gap: var(--space-md);
    }

    .stat-divider {
        display: none;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

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

    .about-experience-badge {
        bottom: -10px;
        right: -10px;
        padding: var(--space-sm);
    }

    .exp-number {
        font-size: 1.6rem;
    }

    .contact-form-wrapper {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

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

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

    .cta-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-banner-actions .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ═══════════════════════════════════════════════════════════════
   MODALS (Impressum & Datenschutz)
═══════════════════════════════════════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease-out;
}

.modal.visible {
    display: flex;
}

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

.modal-content {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s var(--ease-out);
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--clr-bg);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--clr-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--clr-red);
    color: #fff;
    transform: rotate(90deg);
}

.modal-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--clr-navy);
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.modal-body {
    color: var(--clr-text);
    line-height: 1.8;
}

.modal-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--clr-navy);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-body h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--clr-navy);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.modal-body p {
    margin-bottom: 1rem;
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.modal-body a {
    color: var(--clr-red);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.modal-body a:hover {
    color: var(--clr-red-dark);
    text-decoration: underline;
}

/* Mobile Modal Adjustments */
@media (max-width: 768px) {
    .modal {
        padding: 1rem;
    }

    .modal-content {
        padding: 1.5rem;
        max-height: 90vh;
    }

    .modal-content h2 {
        font-size: 1.5rem;
        padding-right: 1.5rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
    }

    .modal-body h3 {
        font-size: 1.1rem;
    }

    .modal-body p {
        font-size: 0.9rem;
    }
}
