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

:root {
    /* Hauptfarben */
    --primary-color: #1a3352;
    --secondary-color: #243f5c;
    --accent-color: #0a5fc7;
    --accent-hover: #084ba3;
    --story-active-bg: color-mix(in srgb, var(--accent-color) 20%, var(--bg-white));
    
    /* Textfarben */
    --text-primary: #1a3352;
    --text-secondary: #5c6b7a;
    --text-light: #8b98a6;
    
    /* Hintergrundfarben */
    --bg-light: #f6f8fb;
    --bg-white: #ffffff;
    --bg-dark: #1a3352;
    --bg-dark-secondary: #243f5c;
    
    /* Border & Schatten (dezent) */
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(26, 51, 82, 0.05);
    --shadow-md: 0 4px 14px rgba(26, 51, 82, 0.08);
    --shadow-lg: 0 12px 32px rgba(26, 51, 82, 0.1);
    --shadow-accent: 0 4px 12px rgba(10, 95, 199, 0.2);
    
    /* Radii & Motion */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 999px;
    --transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, opacity 0.25s ease, transform 0.25s ease;

    /* Layout */
    --nav-height: 72px;
    --section-padding: clamp(4rem, 8vw, 6rem);
    --container-padding: clamp(1.25rem, 4vw, 2rem);

    /* Ebenen – Navigation über Hero/Bühne */
    --z-page: 1;
    --z-hero: 1;
    --z-floating-ui: 5000;
    --z-nav: 10000;
    --z-nav-backdrop: 10001;
    --z-nav-panel: 10002;
    --z-nav-toggle: 10003;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    margin: 0;
    padding: 0;
    height: 100%;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

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

/* Navigation – oben/Hero weiß, ab Leistungen Website-Blau */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-nav);
    transition: background-color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
    overflow: visible;
}

.nav-backdrop {
    display: none;
}

.navbar:not(.navbar--past-hero) .logo-text {
    color: var(--primary-color);
}

.navbar:not(.navbar--past-hero) .logo-subtitle {
    color: var(--text-secondary);
}

.navbar:not(.navbar--past-hero) .nav-link {
    color: var(--text-secondary);
}

.navbar:not(.navbar--past-hero) .nav-link:hover,
.navbar:not(.navbar--past-hero) .nav-link.active {
    color: var(--accent-color);
}

.navbar:not(.navbar--past-hero) .mobile-menu-toggle span {
    background: var(--primary-color);
}

.navbar:not(.navbar--past-hero) .nav-cta {
    background: var(--accent-color);
    color: var(--bg-white);
}

.navbar:not(.navbar--past-hero) .nav-cta:hover {
    background: var(--accent-hover);
    color: var(--bg-white);
}

.navbar.navbar--past-hero {
    background: var(--primary-color);
    backdrop-filter: blur(12px);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-md);
}

.navbar.navbar--past-hero .logo-text,
.navbar.navbar--past-hero .logo-subtitle,
.navbar.navbar--past-hero .nav-link {
    color: rgba(255, 255, 255, 0.88);
}

.navbar.navbar--past-hero .logo-text,
.navbar.navbar--past-hero .nav-link:hover,
.navbar.navbar--past-hero .nav-link.active {
    color: var(--bg-white);
}

.navbar.navbar--past-hero .mobile-menu-toggle span {
    background: var(--bg-white);
}

.navbar.navbar--past-hero .nav-cta {
    background: var(--bg-white);
    color: var(--primary-color);
}

.navbar.navbar--past-hero .nav-cta:hover {
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
}

.nav-content {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 8%;
    padding-right: clamp(0.75rem, 1.5vw, 1.25rem);
    gap: 0;
}

.navbar > .container {
    max-width: 100%;
    padding: 0;
}

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

.logo-text {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.06em;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    margin-left: clamp(1.5rem, 4vw, 3rem);
    margin-right: clamp(1.25rem, 2.5vw, 2rem);
}

.nav-menu__cta-item {
    display: none;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
    margin-left: 0;
    padding: 0.5625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border-radius: var(--radius-md);
    background: var(--accent-color);
    color: var(--bg-white);
    box-shadow: var(--shadow-accent);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 95, 199, 0.25);
}

.nav-cta:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    transition: var(--transition);
}

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

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.625rem;
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    z-index: var(--z-nav-toggle);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform-origin: center;
}

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

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

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

/* Hero – Bühne: scrollt rein, wächst, Elemente schweben rein */
.hero {
    position: relative;
    z-index: var(--z-hero);
    width: 100%;
    height: 175vh;
    min-height: 175vh;
    margin: 0;
    padding: 0;
    overflow: visible;
    box-sizing: border-box;
    isolation: isolate;
}

.hero-stage {
    position: sticky;
    top: 0;
    z-index: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    transform-origin: 50% 88%;
    transform: translateY(var(--hero-y, 0)) scale(var(--hero-scale, 1));
    will-change: transform;
}

/* Start-Splash: GOSEJOHANN – ein gemeinsamer Scroll-Verlauf mit der Bühne */
.hero-splash {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    pointer-events: none;
    text-align: center;
    opacity: var(--splash-opacity, 1);
    transform: translateY(var(--splash-y, 0)) scale(var(--splash-scale, 1));
    filter: blur(var(--splash-blur, 0));
}

.hero-splash.is-dissolved {
    visibility: hidden;
}

.hero-splash__brand {
    margin: 0;
    font-size: clamp(2.25rem, 9vw, 4.75rem);
    font-weight: 700;
    letter-spacing: 0.32em;
    text-indent: 0.32em;
    color: var(--bg-white);
    line-height: 1.1;
}

.hero-splash__tagline {
    margin: 0;
    font-size: clamp(0.75rem, 2vw, 0.9375rem);
    font-weight: 500;
    letter-spacing: 0.28em;
    text-indent: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: var(--hint-opacity, 1);
}

.hero-scroll-hint__line {
    width: 1px;
    height: 2.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: heroHintPulse 2s ease-in-out infinite;
}

@keyframes heroHintPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50% { transform: scaleY(1.15); opacity: 1; }
}

.hero [data-scroll-reveal] {
    opacity: 0;
    transform: translateY(var(--reveal-y, 3rem));
}

.hero [data-scroll-reveal].is-revealed {
    opacity: var(--reveal-opacity, 1);
}

.hero [data-scroll-reveal].is-settled {
    transform: translateY(0);
    opacity: 1;
}

[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(var(--reveal-y, 3rem));
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Scroll-Float – gesamte Website: erscheinen, mitscrollen, festsetzen */
.scroll-animate,
[data-scroll-float],
[data-aos],
[data-scroll] {
    transition: opacity 0.55s ease-out, transform 0.35s ease-out;
}

.scroll-animate:not(.scroll-visible):not(.visible),
[data-scroll-float]:not(.scroll-visible):not(.aos-animate),
[data-aos]:not(.scroll-visible):not(.aos-animate) {
    opacity: 0;
}

[data-scroll]:not(.scroll-visible):not(.visible) {
    opacity: 0;
}

.scroll-animate.is-floating,
[data-scroll-float].is-floating,
[data-aos].is-floating,
[data-scroll].is-floating {
    transition: transform 0.1s ease-out, opacity 0.55s ease-out;
}

.scroll-animate.is-settled,
[data-scroll-float].is-settled,
[data-aos].is-settled,
[data-scroll].is-settled {
    transition: opacity 0.55s ease-out, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-stage .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: -2;
    transform: translateY(var(--hero-bg-y, 0)) scale(var(--hero-bg-scale, 1.08));
    transform-origin: 50% 100%;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-particles {
    display: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-background::before {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(105deg, rgba(26, 51, 82, 0.55) 0%, rgba(26, 51, 82, 0.25) 55%, rgba(26, 51, 82, 0.4) 100%);
    z-index: -1;
}

.hero-stage .hero-content-wrapper {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 1rem) var(--container-padding) 2rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4rem;
    justify-content: flex-start;
    box-sizing: border-box;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 2rem 0;
    margin-left: 0;
    text-align: left;
    flex: 0 0 auto;
    opacity: var(--hero-content-opacity, 0);
    transition: opacity 0.5s ease;
}

.hero-animation {
    display: none;
}

.truck-animation {
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
    max-width: 100%;
}

.truck {
    opacity: 0;
}

.truck-broken {
    animation: truckEnter 4s ease-in-out infinite;
}

.truck-fixed {
    animation: truckExit 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes truckEnter {
    0% {
        opacity: 1;
        transform: translateX(-200px);
    }
    30% {
        opacity: 1;
        transform: translateX(200px);
    }
    50% {
        opacity: 1;
        transform: translateX(200px);
    }
    100% {
        opacity: 0;
        transform: translateX(200px);
    }
}

@keyframes truckExit {
    0% {
        opacity: 0;
        transform: translateX(200px);
    }
    50% {
        opacity: 0;
        transform: translateX(200px);
    }
    70% {
        opacity: 1;
        transform: translateX(200px);
    }
    100% {
        opacity: 1;
        transform: translateX(600px);
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    }
}

.hero-title {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--bg-white);
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 36rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.9375rem;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--bg-white);
    box-shadow: var(--shadow-accent);
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 95, 199, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--bg-white);
    transform: translateY(-1px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

[data-aos]:not(.scroll-visible):not(.aos-animate) {
    opacity: 0;
}

[data-aos="fade-up"]:not(.is-settled):not(.is-floating) {
    transform: translateY(24px);
}

[data-aos="fade-right"]:not(.is-settled):not(.is-floating) {
    transform: translateX(-24px);
}

[data-aos="fade-left"]:not(.is-settled):not(.is-floating) {
    transform: translateX(24px);
}

[data-aos].scroll-visible,
[data-aos].aos-animate {
    opacity: 1;
}

/* Section Styles */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.65;
}

/* Services Section */
.services {
    background: var(--bg-light);
    padding-top: clamp(5rem, 10vw, 8rem);
    padding-bottom: var(--section-padding);
    margin-top: 0;
    position: relative;
    z-index: 0;
    scroll-margin-top: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
    padding-top: 0;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.service-card:hover .service-image img {
    transform: scale(1.03);
}

.gallery-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.service-content {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
    z-index: 5;
    border-radius: 20px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 95, 199, 0.2);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 82, 165, 0.05), transparent);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

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

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

.service-icon {
    font-size: 1.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
    margin-top: 0;
    padding-right: 3.5rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    transition: var(--transition);
}

.service-list li:hover::before {
    transform: translateX(3px);
    color: var(--accent-hover);
}

/* Image Placeholder */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.8), rgba(44, 74, 107, 0.8));
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    font-weight: 500;
    text-align: center;
    border: 2px dashed rgba(0, 82, 165, 0.3);
    transition: var(--transition);
}

.service-image .image-placeholder {
    min-height: 200px;
}

.gallery-image .image-placeholder {
    min-height: 300px;
}

.hero-image .image-placeholder {
    min-height: 100vh;
    font-size: 2rem;
}

.image-placeholder:hover {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9), rgba(44, 74, 107, 0.9));
    color: rgba(255, 255, 255, 0.9);
}

/* Gallery Section */
.gallery {
    background: var(--bg-light);
    padding: 5rem 0;
    width: 100%;
}

.gallery-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.gallery .section-header {
    padding: 0 5%;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 0;
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: none;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

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

.gallery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    z-index: 3;
    opacity: 0.8;
    transition: var(--transition);
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.gallery-item:hover .gallery-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.95), transparent);
    padding: 2rem;
    color: var(--bg-white);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--bg-white);
}

/* Features Section */
.features {
    background: linear-gradient(160deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 10;
    clip-path: none;
    box-shadow: none;
}

.features::before {
    display: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.feature-item {
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    border-radius: 12px;
}

.feature-item:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.06);
}

.feature-item::before {
    display: none;
}

.feature-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: none;
}

.feature-label {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Kennzahlen: statisch – keine Scroll-Float- oder Zähler-Animation */
.features .feature-item,
.features .feature-number,
.features .feature-label {
    opacity: 1;
    transform: none;
}

/* Story Section */
.story {
    background: var(--bg-white);
    padding: var(--section-padding) 0 clamp(6rem, 12vw, 10rem);
    position: relative;
    overflow: visible;
    min-height: auto;
}


.story-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

.story-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--accent-color) 20%, var(--accent-color) 80%, transparent);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.story-intro {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* Fallback: Show story intro if JavaScript is disabled or not loaded */
.story-intro:not([data-scroll]) {
    opacity: 1;
    transform: translateY(0);
}

.story-intro.scroll-visible,
.story-intro[data-scroll="fade-in"].visible {
    opacity: 1;
    transform: translateY(0);
}

.story-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.story-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 36rem;
    margin: 0 auto;
}

.story-timeline {
    position: relative;
    padding: 2rem 0;
}

.story-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color), var(--accent-hover));
    transform: translateX(-50%);
    z-index: 0;
    opacity: 0;
    animation: lineReveal 2s ease-out 0.5s forwards;
    pointer-events: none;
}

.story-line-dot {
    position: absolute;
    left: 50%;
    top: var(--story-dot-y, 0);
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    background: var(--accent-color);
    border: 3px solid var(--bg-white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--accent-color), 0 4px 18px rgba(10, 95, 199, 0.45);
    transform: translate3d(0, 0, 0);
    opacity: 0;
    z-index: 1;
}

.story-line.is-in-view .story-line-dot {
    opacity: 1;
}

@keyframes lineReveal {
    from {
        opacity: 0;
        height: 0;
    }
    to {
        opacity: 1;
        height: 100%;
    }
}

.story-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: clamp(2.5rem, 5vh, 3.5rem);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 1;
}

.story-step:has(+ .story-final) {
    margin-bottom: clamp(3.25rem, 7vh, 4.5rem);
}

.story-step.active {
    z-index: 3;
}

.story-step.story-final {
    margin-top: 0.5rem;
}

.story-step.story-final.active {
    z-index: 4;
}

/* Fallback: Show story elements if JavaScript is disabled or not loaded */
.story-step:not([data-scroll]) {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.story-final {
    margin-bottom: 4rem;
    scroll-margin-bottom: 2rem;
}

.story-step:nth-child(odd) {
    flex-direction: row;
}

.story-step:nth-child(even) {
    flex-direction: row-reverse;
}

.story-step[data-scroll="fade-in-up"].visible {
    opacity: 1;
    transform: translateY(0);
}

.story-step[data-scroll="fade-in-up"].visible.active {
    transform: translateY(0);
}

.story-step[data-scroll="fade-in-up"].visible .story-content {
    animation: contentFadeIn 1.2s ease-out 0.3s both;
}

.story-step.active .story-content {
    z-index: 4;
    background: var(--story-active-bg);
    border-color: rgba(10, 95, 199, 0.45);
    box-shadow: var(--shadow-md);
}

.story-step.active .story-content h3 {
    color: var(--primary-color);
}

.story-step.active .story-content p {
    color: var(--text-primary);
}

.story-step:nth-child(even).active .story-content {
    border-left-color: rgba(10, 95, 199, 0.45);
    border-right-color: rgba(10, 95, 199, 0.65);
}

.story-step[data-scroll="fade-in-up"].visible .story-marker {
    animation: markerFadeIn 1.2s ease-out 0.1s both;
}

.story-step.active .story-icon {
    box-shadow: 0 8px 30px rgba(10, 95, 199, 0.35);
}

.story-step[data-scroll="fade-in-up"].visible.active .story-year {
    animation: yearHighlight 0.6s ease-out 0.2s both;
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.story-step:nth-child(even)[data-scroll="fade-in-up"].visible .story-content {
    animation: contentFadeInReverse 1s ease-out 0.3s both;
}

@keyframes contentFadeInReverse {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@keyframes yearHighlight {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.story-marker {
    position: relative;
    z-index: 1;
    width: 180px;
    flex-shrink: 0;
    text-align: center;
    opacity: 0;
}

.story-year {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}


.story-icon {
    font-size: 2rem;
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.story-step:hover .story-icon {
    transform: none;
    border-color: var(--accent-color);
}

.story-content {
    flex: 1;
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: none;
    margin: 0 2rem;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--accent-color);
    opacity: 0;
    position: relative;
    z-index: 2;
}

.story-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 82, 165, 0.03), transparent);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.story-step.active .story-content::before {
    opacity: 0;
}

.story-step:nth-child(even) .story-content {
    border-left: 1px solid var(--border-color);
    border-right: 3px solid var(--accent-color);
}

.story-step:hover .story-content {
    transform: none;
    box-shadow: var(--shadow-sm);
}

.story-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s, color 0.25s ease;
}

.story-step[data-scroll="fade-in-up"].visible .story-content h3 {
    opacity: 1;
    transform: translateY(0);
}

.story-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease-out 0.6s, transform 0.8s ease-out 0.6s, color 0.25s ease;
}

.story-step[data-scroll="fade-in-up"].visible .story-content p {
    opacity: 1;
    transform: translateY(0);
}

.story-final .story-year {
    font-size: 1.25rem;
}

.story-final .story-icon {
    width: 64px;
    height: 64px;
    font-size: 2rem;
    background: var(--accent-color);
    color: var(--bg-white);
    border: none;
}

/* About Section – LKW nur innerhalb dieses Abschnitts sichtbar */
.about {
    background: var(--bg-light);
    padding: var(--section-padding) 0 clamp(1.5rem, 3vw, 2.5rem);
    margin-top: 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    isolation: isolate;
}

.about-split {
    --about-image-cut-left: 20%;
    --about-image-nudge: -3.5vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
    position: relative;
    min-height: calc(100dvh - var(--nav-height) + 10rem);
}

.about-split__panel {
    grid-area: 1 / 1;
    width: 100%;
}

/* Text ohne weiße Fläche – scrollt über das Bild */
.about-split__panel--text {
    position: relative;
    z-index: 2;
    background: transparent;
    min-height: calc(100dvh - var(--nav-height) + 8rem);
}

.about-split__container {
    display: flex;
    align-items: flex-start;
    padding-top: clamp(2.5rem, 4vw, 4rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.about-split__content {
    max-width: min(32rem, 48vw);
    padding-right: 1.5rem;
}

/* Über uns & Kontakt: kein Scroll-Float – Inhalt bleibt ruhig */
.about .about-split__content,
.about .about-split__content .section-title,
.about .about-split__content p,
.about .about-split__benefits .benefit-item {
    opacity: 1;
    transform: none;
}

.contact .section-header,
.contact .contact-info,
.contact .contact-form-wrapper,
.contact .contact-item,
.contact .contact-details {
    opacity: 1;
    transform: none;
}

.about-split__content .section-title {
    margin-bottom: 1.25rem;
    text-align: left;
}

.about-split__text p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.0625rem;
}

.about-split__text p:last-child {
    margin-bottom: 0;
}

.about-split__benefits {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* LKW: rechte Hälfte, mittig, sticky innerhalb #about */
.about-split__panel--media {
    pointer-events: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 993px) {
    .about-split {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        align-items: center;
        min-height: calc(100dvh - var(--nav-height) + 8rem);
    }

    .about-split__panel {
        grid-area: unset;
    }

    .about-split__panel--text {
        z-index: 2;
        min-height: calc(100dvh - var(--nav-height));
        align-self: stretch;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: clamp(2.5rem, 10vw, 7rem);
        padding-right: clamp(2rem, 5vw, 3.5rem);
    }

    .about-split__container {
        width: 100%;
        max-width: min(36rem, 88%);
        margin: 0;
        padding-top: 0;
        padding-bottom: 0;
        padding-left: clamp(1rem, 3vw, 2rem);
        padding-right: 0;
        align-items: center;
        justify-content: flex-end;
    }

    .about-split__content {
        max-width: 100%;
        padding-right: 0;
        margin-left: clamp(0.75rem, 3vw, 2rem);
    }

    .about-split__panel--media {
        position: sticky;
        top: var(--nav-height);
        align-self: center;
        justify-self: stretch;
        width: 100%;
        height: auto;
        max-height: calc(100dvh - var(--nav-height));
        z-index: 0;
        padding: clamp(2rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem);
        padding-left: clamp(1rem, 3vw, 2rem);
    }
}

.about-split__media-fixed {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(var(--about-image-nudge, 0));
}

.about-split__image-cut {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 680px);
    height: min(78%, 560px);
    overflow: hidden;
    clip-path: polygon(
        var(--about-image-cut-left) 0,
        100% 0,
        100% 100%,
        0 100%
    );
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
}

.about-split__image {
    width: auto;
    height: auto;
    max-width: min(100%, 620px);
    max-height: min(70vh, 520px);
    object-fit: contain;
    object-position: center;
    display: block;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.benefit-icon {
    width: 28px;
    height: 28px;
    background: var(--accent-color);
    color: var(--bg-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    transform: none;
    background: var(--accent-hover);
}

.about-history h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color), var(--accent-hover));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--accent-color);
    transition: var(--transition);
}

.timeline-item:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 0 3px var(--accent-hover);
}

.timeline-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.timeline-item:hover .timeline-year {
    color: var(--accent-hover);
}

.timeline-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
    padding-bottom: var(--section-padding);
}

.contact .section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    font-size: 1.5rem;
    line-height: 1;
    width: 52px;
    height: 52px;
    background: rgba(10, 95, 199, 0.08);
    border: 1px solid rgba(10, 95, 199, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-details a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--accent-color);
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

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

.form-group label {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

/* Seitennavigation – rechts unten */
.page-nav-arrows {
    position: fixed;
    right: clamp(1rem, 2.5vw, 1.75rem);
    bottom: clamp(1.25rem, 3vh, 2rem);
    z-index: var(--z-floating-ui);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page-nav-arrows__btn {
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    background: var(--primary-color);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease,
        box-shadow 0.25s ease, opacity 0.25s ease;
}

.page-nav-arrows__btn:hover:not(:disabled) {
    background: var(--accent-color);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.page-nav-arrows__btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.page-nav-arrows__btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.page-nav-arrows__btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.page-nav-arrows__btn svg {
    display: block;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 3rem 0 1.5rem;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bg-white);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

/* Fußzeile: kein Scroll-Float – Text bleibt ruhig */
.footer .footer-section,
.footer .footer-bottom,
.footer .footer-section h4,
.footer .footer-section p,
.footer .footer-section ul,
.footer .footer-section ul li,
.footer .footer-section ul li a {
    opacity: 1;
    transform: none;
}

/* Responsive Design */

/* Large tablet & small desktop */
@media (max-width: 1200px) {
    .nav-content {
        padding-left: 5%;
        padding-right: clamp(0.75rem, 1.5vw, 1.25rem);
    }

    .hero-content-wrapper {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-content-wrapper {
        gap: 2.5rem;
    }

    .hero-animation {
        max-width: 480px;
    }
}

/* Tablet & Mobile – Burger-Menü, Navigation oberste Ebene */
@media (max-width: 992px) {
    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: var(--z-nav-backdrop);
        margin: 0;
        padding: 0;
        border: none;
        background: rgba(26, 51, 82, 0.55);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        cursor: pointer;
    }

    .nav-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: var(--z-nav-toggle);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        min-height: 100dvh;
        min-height: 100svh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: stretch;
        flex: none;
        justify-content: flex-start;
        margin: 0;
        padding: calc(var(--nav-height) + 1.25rem) clamp(1.5rem, 5vw, 2.25rem) max(2rem, env(safe-area-inset-bottom));
        box-shadow: var(--shadow-lg);
        transform: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.28s ease, visibility 0.28s ease;
        gap: 0.35rem;
        z-index: var(--z-nav-panel);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        list-style: none;
        box-sizing: border-box;
    }

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

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: var(--accent-color);
    }

    .nav-cta {
        display: none;
    }

    .nav-menu__cta-item {
        display: list-item;
        margin-top: 1.5rem;
        padding-top: 0.5rem;
        border-bottom: none;
        flex-shrink: 0;
    }

    .nav-link--cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 3.25rem;
        padding: 1rem 1.5rem !important;
        border: none !important;
        border-radius: var(--radius-md) !important;
        background: var(--accent-color) !important;
        color: var(--bg-white) !important;
        font-size: 1.125rem !important;
        font-weight: 600;
        text-align: center;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .navbar.navbar--past-hero .nav-menu,
    .navbar.navbar--past-hero .nav-menu.active {
        background: var(--primary-color);
    }

    .navbar.navbar--past-hero .nav-menu .nav-link:not(.nav-link--cta) {
        color: rgba(255, 255, 255, 0.95);
        border-bottom-color: rgba(255, 255, 255, 0.14);
    }

    .navbar.navbar--past-hero .nav-menu .nav-link:not(.nav-link--cta):hover,
    .navbar.navbar--past-hero .nav-menu .nav-link:not(.nav-link--cta).active {
        color: var(--bg-white);
    }

    .navbar.navbar--past-hero .nav-link--cta {
        background: var(--bg-white) !important;
        color: var(--primary-color) !important;
    }

    .nav-menu li {
        list-style: none;
        flex-shrink: 0;
    }

    .nav-menu .nav-link {
        display: flex;
        align-items: center;
        min-height: 3.25rem;
        padding: 1rem 0;
        font-size: clamp(1.125rem, 4.2vw, 1.35rem);
        font-weight: 500;
        line-height: 1.3;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        z-index: var(--z-hero);
    }

    .features,
    .story,
    .about,
    .contact,
    .services {
        z-index: var(--z-page);
        position: relative;
    }

    .hero {
        height: 162dvh;
        min-height: 162dvh;
    }

    .hero-stage {
        position: sticky;
        top: 0;
        height: 100dvh;
        transform: none;
        will-change: auto;
        transform-origin: 50% 55%;
        justify-content: center;
        align-items: center;
    }

    .hero-splash__brand {
        letter-spacing: 0.22em;
        text-indent: 0.22em;
    }

    .hero-splash__tagline {
        letter-spacing: 0.2em;
        text-indent: 0.2em;
        padding: 0 1rem;
    }

    .hero-scroll-hint {
        bottom: 1.25rem;
        font-size: 0.625rem;
    }

    .hero-stage .hero-content-wrapper {
        flex: 0 1 auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 1.25rem;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        margin: 0 auto;
        padding: calc(var(--nav-height) + 4dvh) var(--container-padding) clamp(3.5rem, 11dvh, 5rem);
        box-sizing: border-box;
    }

    .hero-content {
        max-width: min(100%, 22rem);
        width: 100%;
        margin: 0 auto;
        padding: 0;
        text-align: center;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-badge {
        align-self: center;
    }

    .hero-title,
    .hero-subtitle {
        width: 100%;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero [data-scroll-reveal] {
        width: 100%;
        text-align: center;
    }

    .hero [data-scroll-reveal].is-settled {
        transform: translateY(0);
    }

    .hero-buttons {
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 20rem;
        margin: 0 auto;
    }

    .hero-animation {
        display: none;
    }

    .services {
        padding-top: 5rem;
        padding-bottom: var(--section-padding);
    }

    .story {
        padding: var(--section-padding) 0 10rem;
    }

    .story-timeline {
        padding-bottom: 2rem;
    }

    .story-final {
        margin-bottom: 3.5rem;
    }

    .story-container::before {
        display: none;
    }

    .story-line {
        left: 28px;
        transform: none;
    }

    .story-step,
    .story-step:nth-child(odd),
    .story-step:nth-child(even) {
        flex-direction: row !important;
        align-items: flex-start;
        gap: 0;
        margin-bottom: clamp(2.5rem, 5vh, 3.25rem);
    }

    .story-step:has(+ .story-final) {
        margin-bottom: clamp(3rem, 7vh, 4rem);
    }

    .story-marker {
        width: 72px;
        flex-shrink: 0;
    }

    .story-year {
        font-size: 1.125rem;
    }

    .story-icon {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }

    .story-final .story-icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }

    .story-content,
    .story-step:nth-child(even) .story-content {
        margin: 0 0 0 1.25rem;
        padding: 1.5rem;
        border-left: 4px solid var(--accent-color);
        border-right: none;
        flex: 1;
        min-width: 0;
    }

    .story-content h3 {
        font-size: 1.25rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-split {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .about-split__panel {
        grid-area: unset;
        min-height: auto;
    }

    .about-split__panel--text {
        z-index: 2;
    }

    .about-split__content {
        max-width: 100%;
    }

    .about-split__panel--media {
        position: relative;
        top: auto;
        width: 100%;
        height: auto;
        justify-content: center;
        padding: 2rem 1.5rem;
    }

    .about-split__image-cut {
        clip-path: polygon(var(--about-image-cut-left) 0, 100% 0, 100% 100%, 0 100%);
    }

    .about-split__media-fixed {
        height: auto;
        transform: none;
    }

    .about-split__image-cut {
        width: min(100%, 520px);
        height: 320px;
    }

    .about-split__image {
        max-width: min(100%, 480px);
        max-height: 300px;
    }

    .about-split__content {
        max-width: 100%;
        padding: 2rem 0;
    }

    .about {
        margin-top: 0;
        padding-top: 3rem;
    }

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

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

    .nav-content {
        padding: 0.75rem var(--container-padding);
    }

    .logo-text {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

    .hero {
        height: 148dvh;
        min-height: 148dvh;
    }

    .hero-stage {
        transform: none;
        will-change: auto;
        transform-origin: 50% 55%;
    }

    .hero-stage .hero-content-wrapper {
        padding-top: calc(var(--nav-height) + 5dvh);
        padding-bottom: clamp(3.25rem, 12dvh, 5.5rem);
    }

    .hero-content {
        max-width: min(100%, 20rem);
    }

    .hero-splash__brand {
        font-size: clamp(1.5rem, 10vw, 2.25rem);
        letter-spacing: 0.16em;
        text-indent: 0.16em;
    }

    .hero-splash__tagline {
        font-size: 0.6875rem;
        letter-spacing: 0.16em;
        text-indent: 0.16em;
    }

    .hero-scroll-hint {
        bottom: 1rem;
    }

    .hero-scroll-hint__line {
        height: 2rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 7.5vw, 2.25rem);
        margin-bottom: 1rem;
    }

    .hero-title .highlight {
        margin-top: 0.35rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
        line-height: 1.55;
    }

    .hero-badge {
        margin-bottom: 1rem;
        font-size: 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
        gap: 0.75rem;
    }

    .btn {
        text-align: center;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    section {
        padding: var(--section-padding) 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .services {
        padding-top: 4rem;
        padding-bottom: var(--section-padding);
    }

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

    .service-content {
        padding: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .service-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        top: 1rem;
        right: 1rem;
    }

    .service-card:hover {
        transform: translateY(-4px);
    }

    .features {
        clip-path: none;
        padding: var(--section-padding) 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-number {
        font-size: clamp(2rem, 10vw, 2.75rem);
    }

    .feature-label {
        font-size: 0.9375rem;
    }

    .story-container {
        padding: 0 var(--container-padding);
    }

    .story {
        padding-bottom: 12rem;
    }

    .story-timeline {
        padding-bottom: 3rem;
    }

    .story-intro {
        margin-bottom: 2rem;
    }

    .story-line {
        left: 20px;
    }

    .story-final {
        margin-bottom: clamp(4rem, 10vh, 5.5rem);
        margin-top: 0.75rem;
    }

    .story-final.active {
        z-index: 3;
    }

    .story-final .story-year {
        font-size: 1.125rem;
    }

    .story-final .story-icon {
        width: 52px;
        height: 52px;
        font-size: 1.75rem;
    }

    .story-marker {
        width: 56px;
    }

    .story-year {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
    }

    .story-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .story-content,
    .story-step:nth-child(even) .story-content {
        margin-left: 0.75rem;
        padding: 1.25rem;
    }

    .story-content p {
        font-size: 0.9375rem;
    }

    .about-split__text p {
        font-size: 1rem;
    }

    .about-split__content {
        padding: 1.75rem 0;
    }

    .about-split__panel--media {
        position: relative;
        top: auto;
    }

    .about-split__media-fixed {
        padding: 2rem 1rem;
    }

    .about-split__image-cut {
        width: min(100%, 360px);
        height: 240px;
    }

    .about-split__image {
        max-width: min(100%, 340px);
        max-height: 220px;
    }

    .benefit-item {
        font-size: 0.9375rem;
    }

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

    .contact-item {
        gap: 1rem;
    }

    .contact-icon {
        font-size: 1.5rem;
        width: 48px;
        height: 48px;
    }

    .footer {
        padding: 2.5rem 0 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section ul {
        padding: 0;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero {
        height: 140dvh;
        min-height: 140dvh;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .features {
        clip-path: none;
    }

    .features::before {
        clip-path: none;
    }

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

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

    .story {
        padding-bottom: 10rem;
    }

    .story-line {
        left: 16px;
    }

    .story-marker {
        width: 48px;
    }

    .story-final {
        margin-bottom: 3rem;
    }

    .story-final .story-year {
        font-size: 1rem;
    }

    .story-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .story-content,
    .story-step:nth-child(even) .story-content {
        padding: 1rem;
        margin-left: 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* prevents iOS zoom on focus */
    }
}

/* Touch devices: reduce hover motion */
@media (hover: none) {
    .service-card:hover,
    .gallery-item:hover,
    .feature-item:hover {
        transform: none;
    }
}

body.menu-open {
    overflow: hidden;
    touch-action: none;
}

body.menu-open .page-nav-arrows {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .page-nav-arrows {
        right: 0.75rem;
        bottom: 1rem;
    }

    .page-nav-arrows__btn {
        width: 2.75rem;
        height: 2.75rem;
    }

    .page-nav-arrows__btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Floating Elements */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 82, 165, 0.1);
    animation: float-shape 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float-shape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -20px) rotate(90deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }
    75% {
        transform: translate(20px, 20px) rotate(270deg);
    }
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero {
        height: auto;
        min-height: 100dvh;
    }

    .hero-stage {
        position: relative;
        transform: none !important;
    }

    .hero-splash {
        display: none;
    }

    .hero-content {
        --hero-content-opacity: 1 !important;
    }

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

    [data-scroll-reveal],
    .scroll-animate,
    [data-scroll-float],
    [data-aos],
    [data-scroll] {
        opacity: 1 !important;
        transform: none !important;
    }
}

