/* ===== CSS Variables ===== */
:root {
    /* Blue Color Palette (replacing orange) */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1e40af;
    --primary-blue-light: #3b82f6;
    --accent-blue: #60a5fa;

    /* Navy Colors */
    --navy-50: #f8fafc;
    --navy-100: #f1f5f9;
    --navy-600: #475569;
    --navy-800: #1e293b;
    --navy-900: #0f172a;
    --navy-950: #020617;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;

    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 79, 0.9) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-premium: 0 10px 30px rgba(37, 99, 235, 0.15);
    --shadow-premium-lg: 0 20px 40px rgba(37, 99, 235, 0.25);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Spacing */
    --section-padding: 5rem 0;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--navy-900);
    background: var(--white);
    overflow-x: hidden;
}

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

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

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

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75;
}

/* ===== Container ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-blue);
    color: var(--white);
    font-weight: 600;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-premium);
    transition: all var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium-lg);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-weight: 600;
    border-radius: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-base);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-white {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--navy-900);
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all var(--transition-base);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

/* ===== Icons ===== */
.icon {
    width: 20px;
    height: 20px;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.top-bar {
    background: var(--navy-950);
    color: var(--white);
    font-size: 0.875rem;
    padding: 0.25rem 0;
}

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

.contact-info {
    display: flex;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item .icon {
    color: var(--primary-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.social-link svg {
    width: 1rem;
    height: 1rem;
}

/* Main Navigation */
.main-nav {
    background: transparent;
    padding: 0.5rem 0;
    transition: all var(--transition-base);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-blue);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: var(--shadow-premium);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.logo-subtitle {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    position: relative;
    transition: var(--transition-base);
}

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

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 2px;
    background: var(--white);
    transition: var(--transition-base);
}

@media (max-width: 1024px) {
    .top-bar {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--navy-950);
        flex-direction: column;
        padding: 2rem;
        display: none;
        gap: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
        animation: fadeInDown 0.3s ease;
    }

    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        width: 3rem;
        height: 3rem;
        z-index: 1001;
        cursor: pointer;
        background: transparent;
        border: none;
        position: relative;
    }

    .mobile-menu-btn span {
        pointer-events: none;
        /* Ensure clicks go to button */
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

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

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

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    transition: transform 0.1s ease-out;
}



.slide-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

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

.slide-content .container {
    text-align: left;
    width: 100%;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    text-align: left;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
    text-align: left;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s backwards;
    justify-content: flex-start;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-base);
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.slider-btn.prev {
    left: 2rem;
}

.slider-btn.next {
    right: 2rem;
}

.slider-btn svg {
    width: 2rem;
    height: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-base);
}

.slider-dot.active {
    width: 3rem;
    border-radius: 1rem;
    background: var(--primary-blue);
}


@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .slider-btn {
        width: 2.5rem;
        height: 2.5rem;
    }

    .slider-btn.prev {
        left: 1rem;
    }

    .slider-btn.next {
        right: 1rem;
    }
}

/* ===== Sections ===== */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-title {
    color: var(--navy-900);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--navy-600);
    max-width: 48rem;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== About Section ===== */
.about-section {
    background: var(--white);
}

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

.features-list {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-item h4 {
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: var(--navy-600);
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--navy-50);
    border-radius: 0.5rem;
}

.stat-icon {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary-blue);
}

.stat-card span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy-800);
}

.about-images {
    position: relative;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.image-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.image-col:last-child {
    margin-top: 2rem;
}

.about-image {
    height: 12rem;
    border-radius: 1rem;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    transition: box-shadow var(--transition-slow);
}



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

.experience-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--gradient-blue);
    color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-premium-lg);
    text-align: center;
}

.badge-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.badge-text {
    font-weight: 500;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

/* ===== Services Section ===== */
.services-section {
    background: linear-gradient(to bottom, var(--navy-50), var(--white));
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--navy-100);
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.05), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    /* transform: translateY(-0.5rem); handled by JS */
    box-shadow: var(--shadow-premium-lg);
    border-color: var(--primary-blue);
}

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

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.service-icon.blue {
    background: linear-gradient(to bottom right, var(--primary-blue), var(--primary-blue-dark));
}

.service-icon.navy {
    background: linear-gradient(to bottom right, var(--navy-600), var(--navy-800));
}

.service-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--navy-900);
    margin-bottom: 1rem;
    transition: color var(--transition-base);
}

.service-card:hover h3 {
    color: var(--primary-blue);
}

.service-card p {
    color: var(--navy-600);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    transition: gap var(--transition-base);
}

.service-card:hover .service-link {
    gap: 1rem;
}

/* ===== Projects Section ===== */
.projects-section {
    background: var(--white);
}

.projects-slider {
    position: relative;
    padding: 0 4rem;
}

.slider-mask {
    overflow: hidden;
    margin: 0 -1rem;
    /* Kompensiert padding der Cards */
    padding: 1rem;
    /* Platz für shadow/hover effekte */
}

.projects-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    will-change: transform;
}

.projects-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.projects-slider .slider-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.projects-slider .slider-btn.prev {
    left: 0;
}

.projects-slider .slider-btn.next {
    right: 0;
}

.projects-slider .slider-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}


.project-card {
    flex: 0 0 calc(33.333% - 1.5rem);
    min-width: 300px;
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--navy-100);
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.project-card:hover {
    /* transform: scale(1.02); handled by JS */
    box-shadow: var(--shadow-premium-lg);
}

.project-image {
    position: relative;
    height: 16rem;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.project-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover .project-overlay {
    opacity: 0.9;
}

.project-overlay button {
    transform: translateY(1rem);
    opacity: 0;
    transition: all var(--transition-base);
}

.project-card:hover .project-overlay button {
    transform: translateY(0);
    opacity: 1;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: var(--navy-900);
    margin-bottom: 0.75rem;
    transition: color var(--transition-base);
}

.project-card:hover .project-info h3 {
    color: var(--primary-blue);
}

.project-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--navy-600);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-meta svg {
    color: var(--primary-blue);
}

@media (max-width: 1024px) {
    .projects-slider {
        padding: 0 3rem;
    }

    .project-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .projects-slider {
        padding: 0 2.5rem;
    }

    .project-card {
        flex: 0 0 100%;
    }

    .projects-slider .slider-btn {
        width: 2.5rem;
        height: 2.5rem;
    }

    .projects-slider .slider-btn svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* ===== Contact Section ===== */
.contact-section {
    background: linear-gradient(to bottom, var(--navy-50), var(--white));
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-premium);
    margin-bottom: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: var(--navy-900);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--navy-600);
}

.input-wrapper input,
.input-wrapper select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    padding-left: 3rem;
    border: 2px solid var(--navy-100);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-group textarea {
    padding-left: 1rem;
    resize: vertical;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--white);
}

.contact-info-card h4 {
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}

.contact-info-card a {
    color: var(--navy-600);
}

.contact-info-card a:hover {
    color: var(--primary-blue);
}

.contact-info-card p {
    color: var(--navy-600);
    margin: 0;
}

/* ===== Footer Newsletter (Compact) ===== */
.footer-newsletter {
    margin-top: 2rem;
}

.footer-newsletter h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-newsletter-form {
    position: relative;
}

.footer-newsletter-input {
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    color: var(--white);
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: all var(--transition-base);
}

.footer-newsletter-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-input input:focus {
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.1);
}

.footer-newsletter-input button {
    padding: 0.75rem 1rem;
    background: var(--primary-blue);
    border: none;
    border-radius: 0.5rem;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-newsletter-input button:hover {
    background: var(--primary-blue-light);
    transform: translateY(-2px);
}

.footer-newsletter-input button svg {
    width: 1.25rem;
    height: 1.25rem;
}


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

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

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

/* ===== Footer ===== */
.footer {
    background: var(--navy-950);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-image {
    height: 5.5rem;
    width: auto;
    object-fit: contain;
}


.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--primary-blue);
    transition: width var(--transition-base);
}

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

.footer-links a:hover::before {
    width: 1rem;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 0.5rem;
}

.footer-bottom-links p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--primary-blue);
}

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-2rem);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(2rem);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 1s ease forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 1s ease forwards;
}

/* Scroll animations will be triggered by JavaScript */
/* Scroll animations trigger class */
.fade-in-scroll {
    opacity: 0;
    transition: all 0.8s ease-out;
    will-change: opacity, transform;
}

/* Default Up for generic .fade-in class */
.fade-in.fade-in-scroll {
    transform: translateY(3rem);
}

/* Default Up */
.fade-in-up.fade-in-scroll {
    transform: translateY(5rem);
    opacity: 0;
}

/* Left */
.fade-in-left.fade-in-scroll {
    transform: translateX(-5rem);
    opacity: 0;
}

/* Right */
.fade-in-right.fade-in-scroll {
    transform: translateX(5rem);
    opacity: 0;
}

/* Scale (für Hero/Cards) */
.fade-in-scale.fade-in-scroll {
    transform: scale(0.95);
}

/* Visible State */
.fade-in-scroll.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}