/* ============================================
   KTT KFZ Technik – Stylesheet
   ============================================ */

/* === Lokale Schriften (DSGVO-konform) === */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('assets/fonts/inter.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('assets/fonts/outfit.woff2') format('woff2');
}

/* === CSS Custom Properties === */
:root {
    /* Colors from Logo */
    --primary: #1B4F7C;
    --primary-light: #2A6DA8;
    --primary-dark: #143C5E;
    --accent: #3B8DD4;
    --accent-glow: rgba(59, 141, 212, 0.3);

    /* Backgrounds */
    --bg-dark: #0D1B2A;
    --bg-darker: #081420;
    --bg-card: #112233;
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;

    /* Text */
    --text-dark: #1A1A2E;
    --text-body: #4A5568;
    --text-light: #94A3B8;
    --text-white: #FFFFFF;
    --text-on-dark: #CBD5E1;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* === Typography === */
.section-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.text-accent {
    color: var(--primary);
    position: relative;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(27, 79, 124, 0.35);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(27, 79, 124, 0.5);
}

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

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

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 40px;
}

.nav-list {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 20px;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-white);
    background: var(--primary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
    transform-origin: center;
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
    image-rendering: auto;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 27, 42, 0.93) 0%,
        rgba(27, 79, 124, 0.85) 50%,
        rgba(13, 27, 42, 0.90) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(59, 141, 212, 0.3);
    border-radius: 50px;
    background: rgba(59, 141, 212, 0.1);
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--accent), #60A5FA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-on-dark);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

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

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.hero-stat-plus,
.hero-stat-percent {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-on-dark);
    margin-top: 6px;
}

.hero-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

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

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

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

.about-image-wrapper {
    position: relative;
}

.about-image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(27, 79, 124, 0.15);
}

.about-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--text-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 10px 40px rgba(27, 79, 124, 0.4);
}

.about-experience-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-experience-text {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--text-body);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.about-feature:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateX(4px);
}

.about-feature:hover .about-feature-icon {
    color: var(--text-white);
}

.about-feature-icon {
    color: var(--accent);
    flex-shrink: 0;
    transition: var(--transition);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item-wide img {
    height: 260px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item-wide {
        grid-column: span 2;
    }
    .gallery-item img,
    .gallery-item-wide img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item-wide {
        grid-column: span 1;
    }
    .gallery-item img,
    .gallery-item-wide img {
        height: 220px;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    border: 1px solid rgba(27, 79, 124, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(27, 79, 124, 0.12);
    border-color: transparent;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--accent);
    transform: scale(1.1);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners {
    padding: 64px 0;
    background: var(--bg-white);
    border-top: 1px solid rgba(27, 79, 124, 0.06);
    border-bottom: 1px solid rgba(27, 79, 124, 0.06);
}

.partners .section-header {
    margin-bottom: 40px;
}

.partners-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-light);
    border-radius: 50px;
    border: 1px solid rgba(27, 79, 124, 0.06);
    transition: var(--transition);
    white-space: nowrap;
}

.partner-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 79, 124, 0.1);
    border-color: var(--accent);
    background: var(--bg-white);
}

.partner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.partner-name {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.3px;
}

.partner-divider {
    color: var(--text-light);
    font-size: 0.75rem;
    margin: 0 2px;
}

.partner-type {
    font-size: 0.75rem;
    color: var(--text-body);
    font-weight: 500;
}

/* Service card number */
.service-card {
    counter-increment: service-counter;
}

.service-card::after {
    content: counter(service-counter, decimal-leading-zero);
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(27, 79, 124, 0.12);
    letter-spacing: 1px;
    transition: var(--transition);
}

.service-card:hover::after {
    color: rgba(59, 141, 212, 0.25);
}


/* ============================================
   WHY US SECTION
   ============================================ */
.why-us {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 141, 212, 0.1), transparent 70%);
    pointer-events: none;
}

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

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

.why-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 141, 212, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(59, 141, 212, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.why-card-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.why-card-icon {
    color: var(--accent);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.why-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.why-card-desc {
    font-size: 0.9375rem;
    color: var(--text-on-dark);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: 100px 0;
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #E2E8F0;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    transition: color 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

details[open] .faq-question::after {
    content: '−';
}

.faq-question:hover {
    color: var(--accent);
}

.faq-answer {
    padding: 0 0 24px;
    color: var(--text-body);
    line-height: 1.8;
}

.faq-answer p {
    margin: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(27, 79, 124, 0.1);
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-select {
    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='%234A5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

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

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card,
.contact-hours-card {
    background: var(--bg-dark);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-info-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 141, 212, 0.15);
    border-radius: var(--radius-sm);
    color: var(--accent);
}

.contact-info-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info-item p {
    font-size: 0.9375rem;
    color: var(--text-on-dark);
    line-height: 1.6;
}

.contact-info-item a {
    color: var(--accent);
}

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

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 500;
}

.hours-time {
    font-weight: 600;
    color: var(--accent);
}

.hours-closed .hours-time {
    color: #ef4444;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-darker);
    color: var(--text-on-dark);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    height: 52px;
    width: auto;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-bottom {
    padding: 28px 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

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

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

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .nav {
        position: fixed;
        inset: 0;
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

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

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .nav-link {
        font-size: 1.25rem;
        padding: 12px 32px;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero */
    .hero-content {
        padding: 100px 16px 60px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 1.75rem;
    }

    .hero-stat-divider {
        height: 36px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image {
        height: 320px;
    }

    .about-experience-badge {
        bottom: -10px;
        right: 10px;
        padding: 16px;
    }

    .about-experience-number {
        font-size: 2rem;
    }

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

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

    .service-card {
        padding: 32px 24px;
    }

    /* Why Us */
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ============================================
   LEGAL PAGES (Impressum, Datenschutz, AGB)
   ============================================ */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    background: var(--bg-white);
}

.legal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--bg-light);
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    transition: var(--transition);
}

.legal-back:hover {
    background: var(--primary);
    color: var(--text-white);
}

.legal-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.legal-content .legal-subtitle {
    font-size: 1rem;
    color: var(--text-body);
    margin-bottom: 48px;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(27, 79, 124, 0.08);
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 6px;
    list-style: disc;
}

.legal-content ol li {
    list-style: decimal;
}

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

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

.legal-content strong {
    color: var(--text-dark);
}

.legal-info-block {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}

.legal-info-block p {
    margin-bottom: 4px;
}

.legal-info-block p:last-child {
    margin-bottom: 0;
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-stat-divider {
        width: 60px;
        height: 1px;
    }
}
