/* WST Spannsysteme - Corporate Identity Stylesheet */

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

body {
    font-family: 'Montserrat', 'Helvetica', 'Arial', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: rgb(51, 51, 51);
    background-color: #FFFFFF;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Skip Link für Keyboard-Navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000000;
    color: #FFFFFF;
    padding: 0.8em 1.5em;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #005EA4;
    outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    color: #FFFFFF;
    padding: 1em 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Header Navigation - nur auf transparentem/schwarzem Hintergrund weiß */
header nav a {
    color: #FFFFFF;
}

/* Falls Header auf weißem Hintergrund (sollte nicht passieren, aber sicherheitshalber) */
header:not(.scrolled) nav a {
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.logo img {
    height: 40px;
    width: auto;
}

nav ul,
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2em;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    padding: 0.5em;
    display: block;
    min-height: 44px;
    display: flex;
    align-items: center;
    word-break: normal;
    overflow-wrap: normal;
}

nav a:hover {
    color: #DDDDDD;
}

nav a:focus {
    outline: 3px solid #005EA4;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Sprachumschalter mit Flaggen */
.nav-lang-group {
    display: flex;
    align-items: center;
}

.lang-switcher-label {
    display: none;
}

@media (min-width: 1025px) {
    .nav-lang-group {
        margin-left: 0.25em;
        padding-left: 1.25em;
        border-left: 1px solid rgba(255, 255, 255, 0.25);
    }

    .lang-switcher {
        gap: 0.3em;
    }

    .lang-link {
        min-width: 40px;
        min-height: 40px;
        padding: 0.3em;
    }

    .lang-flag {
        width: 26px;
        height: 19px;
    }
}

.lang-switcher {
    display: flex;
    list-style: none;
    gap: 0.35em;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
}

.lang-switcher > li {
    width: auto;
}

.lang-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35em;
    min-height: 44px;
    min-width: 44px;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.lang-link:hover,
.lang-link:focus {
    opacity: 1;
}

.lang-link.is-active {
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.lang-flag {
    width: 24px;
    height: auto;
    display: block;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5em;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    transition: all 0.3s;
}

.mobile-menu-toggle:focus {
    outline: 3px solid #005EA4;
    outline-offset: 2px;
    border-radius: 2px;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('../WST-Wickelwellen.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    padding: 0;
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    padding: 0 2em;
}

.hero-content {
    max-width: 900px;
    width: 100%;
}

.hero-text {
    text-align: left;
    position: relative;
}

.hero-logo {
    height: 60px;
    width: auto;
    margin-bottom: 2em;
    animation: slideInLeft 0.8s ease-out;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.8em;
    line-height: 0.95;
    letter-spacing: -2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
    text-transform: uppercase;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.5) 0%, #FFFFFF 30%, #FFFFFF 70%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-brand {
    font-size: 0.5em;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #005EA4;
    display: block;
    margin-bottom: 0.3em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.hero .subheadline {
    font-size: 28px;
    margin-bottom: 3em;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 85%;
    animation: fadeInUp 1s ease-out 0.4s both;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.5) 0%, #FFFFFF 30%, #FFFFFF 70%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Buttons - Einheitlich */
.cta-button {
    display: inline-block;
    background-color: #005EA4;
    color: #FFFFFF;
    padding: 1.2em 0.6em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
    font-size: 16px;
    min-height: 44px;
    min-width: 44px;
    text-align: center;
    max-width: fit-content;
}

.cta-button:hover {
    background-color: #004080;
    color: #FFFFFF;
}

.cta-button:focus {
    outline: 3px solid #FFFFFF;
    outline-offset: 3px;
    background-color: #004080;
}

.cta-button.large {
    padding: 1.5em 3em;
    font-size: 18px;
}

/* Hero Scroll Down Arrow */
.hero-scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.hero-scroll-down:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) translateY(-5px);
    color: #005EA4;
}

.hero-scroll-down:focus {
    outline: 3px solid #005EA4;
    outline-offset: 3px;
}

.hero-scroll-down svg {
    width: 24px;
    height: 24px;
}

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

/* Section Headers - Professionelles Spacing */
.section-header {
    text-align: center;
    margin-bottom: 5em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    color: #005EA4;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1em;
}

.content-section h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 1.2em;
    color: #1a1a1a;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-intro {
    font-size: 18px;
    color: #555555;
    line-height: 1.8;
    margin-top: 1.5em;
}

/* Content Sections - Professionelles Spacing */
.content-section {
    padding: 7em 0;
}

/* Einheitliche Card-Styles für ALLE Sections - Professionelles Design */
.feature-card,
.application-card,
.benefit-card,
.tech-card,
.category-card,
.spec-card,
.stat-card,
.case-card,
.guide-card,
.mehrwert-card,
.partner-feature {
    background: #FFFFFF;
    padding: 3em 2.5em;
    border: 1px solid #E5E5E5;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover,
.application-card:hover,
.benefit-card:hover,
.tech-card:hover,
.category-card:hover,
.spec-card:hover,
.stat-card:hover,
.case-card:hover,
.guide-card:hover,
.mehrwert-card:hover,
.partner-feature:hover {
    border-color: #005EA4;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-card h3,
.application-card h3,
.benefit-card h3,
.tech-card h3,
.category-card h3,
.case-card h3,
.guide-card h3,
.mehrwert-card h3,
.partner-feature h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1em;
    line-height: 1.3;
}

.feature-card p,
.application-card p,
.benefit-card p,
.tech-card p,
.category-card p,
.case-card p,
.guide-card p,
.mehrwert-card p,
.partner-feature p {
    color: #555555;
    line-height: 1.8;
    font-size: 15px;
    margin: 0;
}

/* Tech-Cards: Weißer Text, nicht bold - Spezifischer als allgemeine Styles */
.tech-section .tech-card h3 {
    color: #FFFFFF !important;
    font-weight: 400 !important;
}

.tech-section .tech-card p {
    color: #FFFFFF !important;
    font-weight: 400 !important;
}

.tech-section .tech-card .tech-tag {
    color: #FFFFFF !important;
}

/* Section 1: Einführung - Clean White Design */
.intro-section {
    background-color: #FFFFFF;
    position: relative;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #E5E5E5, transparent);
}

/* Mehrwert Cards - Einheitlich mit anderen Cards */
.mehrwert-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5em;
    margin-top: 4em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5em;
    margin-top: 4em;
}

/* Section 2: Einsatzbereiche - Alternating Pattern Design */
.applications-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F8F8 50%, #FFFFFF 100%);
    position: relative;
}

.applications-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #005EA4, transparent);
    opacity: 0.3;
}

/* Section 2.5: Mehrwert - Unique Design */
.mehrwert-section {
    background: linear-gradient(135deg, #F8F8F8 0%, #FFFFFF 50%, #F8F8F8 100%);
    position: relative;
}

.mehrwert-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #005EA4, transparent, #005EA4);
}

.mehrwert-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #005EA4, transparent, #005EA4);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5em;
    margin-top: 4em;
}

.application-number {
    font-size: 64px;
    font-weight: 700;
    color: #005EA4;
    opacity: 0.15;
    margin-bottom: 0.8em;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -2px;
}

/* Section 3: Vorteile - Grid Pattern Background */
.benefits-section {
    background-color: #FFFFFF;
    background-image: 
        linear-gradient(#F8F8F8 1px, transparent 1px),
        linear-gradient(90deg, #F8F8F8 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 0 0;
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 0;
}

.benefits-section .container {
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5em;
    margin-top: 4em;
}

/* Section 4: Funktionsprinzip - Parallax Design */
.tech-section {
    background-color: #000000;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 0;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

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

.tech-section .section-header {
    color: #FFFFFF;
}

.tech-section .section-header h2 {
    color: #FFFFFF;
}

.tech-section .section-header p {
    color: #FFFFFF;
}

.tech-section h2 {
    color: #FFFFFF;
}

.tech-section .section-label {
    color: #005EA4;
}

.tech-section .section-intro {
    color: #FFFFFF;
}

.tech-card {
    background: rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.2);
}

.tech-section .tech-card h3 {
    color: #FFFFFF !important;
    font-weight: 400 !important;
}

.tech-section .tech-card p {
    color: #FFFFFF !important;
    font-weight: 400 !important;
}

.tech-section .tech-card .spec-value,
.tech-section .spec-card .spec-value {
    font-weight: 400;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5em;
    margin-top: 4em;
}

.tech-badge {
    display: inline-block;
    background: #005EA4;
    color: #FFFFFF;
    padding: 0.6em 1.2em;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.8em;
    border-radius: 2px;
}

.tech-features {
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
    margin-top: 1.5em;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 0.5em 1.2em;
    font-size: 13px;
    font-weight: 400;
    border-radius: 3px;
}

/* Section 5: Produkte - Diagonal Split Design */
.products-section {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: #F8F8F8;
    z-index: 0;
}

.products-section .container {
    position: relative;
    z-index: 1;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5em;
    margin-bottom: 4em;
}

.category-card {
    background: #000000;
    color: #FFFFFF;
    border: 1px solid #000000;
}

.category-card h3 {
    color: #FFFFFF !important;
}

.category-card p {
    color: #FFFFFF !important;
}

.category-card:hover {
    border-color: #005EA4;
    background: #0a0a0a;
}

.table-container {
    overflow-x: auto;
    margin: 4em 0;
    -webkit-overflow-scrolling: touch;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #FFFFFF;
    min-width: 800px;
}

.product-table thead {
    background-color: #000000 !important;
    color: #FFFFFF;
}

.product-table thead th {
    background-color: #000000 !important;
    padding: 1.5em 1em;
    text-align: left;
    font-weight: 700;
    color: #FFFFFF !important;
    font-size: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.product-table td {
    padding: 1.5em 1em;
    border-bottom: 1px solid #E5E5E5;
    color: #333333;
    font-size: 15px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.product-table tbody tr {
    transition: background-color 0.3s;
}

.product-table tbody tr:hover {
    background-color: #F8F8F8;
}

.product-table tbody tr:last-child td {
    border-bottom: none;
}

.product-table td strong {
    color: #005EA4;
    font-size: 18px;
}

/* Section 6: Technische Merkmale - Dark Accent Design */
.specs-section {
    background: linear-gradient(180deg, #F8F8F8 0%, #FFFFFF 100%);
    position: relative;
}

.specs-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #005EA4, transparent);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5em;
    margin-top: 4em;
}

.spec-label {
    font-size: 13px;
    font-weight: 700;
    color: #005EA4;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.2em;
}

.spec-value {
    font-size: 17px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.7;
}

.tech-section .spec-value {
    color: #FFFFFF;
    font-weight: 400;
}

/* Section 7: Partner - Dark with Accent Lines */
.partner-section {
    background-color: #000000;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

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

.partner-section .section-header h2,
.partner-section .section-label,
.partner-section .section-intro {
    color: #FFFFFF;
}

.partner-section .stat-label {
    color: #FFFFFF !important;
}

.partner-section .stat-card p {
    color: #FFFFFF !important;
}

.partner-section .partner-feature h3 {
    color: #FFFFFF !important;
}

.partner-section .partner-feature p {
    color: #FFFFFF !important;
}

.partner-section .stat-number {
    color: #005EA4 !important;
}

.partner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #005EA4, transparent);
}

.partner-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #005EA4, transparent);
}

.partner-section .section-header {
    color: #FFFFFF;
}

.partner-section h2 {
    color: #FFFFFF;
}

.partner-section .section-label {
    color: #005EA4;
}

.partner-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5em;
    margin-top: 4em;
    margin-bottom: 4em;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 3em 2.5em;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #005EA4;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 72px;
    font-weight: 700;
    color: #005EA4;
    line-height: 1;
    margin-bottom: 0.8em;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.stat-card p {
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.partner-features {
    margin-top: 4em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5em;
}

.partner-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 3em 2.5em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.partner-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #005EA4;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.partner-feature h3 {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1em;
    line-height: 1.3;
}

.partner-feature p {
    color: #FFFFFF;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* Section 8a: Referenzen – Bildergalerie */
.references-gallery-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F8F8 100%);
    position: relative;
}

.references-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #005EA4, transparent);
}

.references-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25em;
    margin-top: 3em;
}

.references-photo-item {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: #FFFFFF;
    border-radius: 4px;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    aspect-ratio: 4 / 3;
}

.references-photo-item:hover,
.references-photo-item:focus {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 94, 164, 0.2);
    outline: 3px solid #005EA4;
    outline-offset: 2px;
}

.references-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lightbox */
.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-lightbox[hidden] {
    display: none !important;
}

.photo-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
}

.photo-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 1200px);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3.5em;
}

.photo-lightbox-figure {
    margin: 0;
    max-height: 90vh;
}

.photo-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.photo-lightbox-close {
    position: absolute;
    top: -2.5em;
    right: 0;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25em 0.5em;
    min-width: 44px;
    min-height: 44px;
}

.photo-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    font-size: 1.75rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.photo-lightbox-nav:hover,
.photo-lightbox-nav:focus {
    background: rgba(0, 94, 164, 0.85);
    outline: none;
}

.photo-lightbox-prev {
    left: 0;
}

.photo-lightbox-next {
    right: 0;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .references-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75em;
    }

    .photo-lightbox-dialog {
        padding: 0 2.5em;
    }

    .photo-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .references-photo-grid {
        grid-template-columns: 1fr;
    }
}

/* Section 8b: Case Studies - Subtle Pattern */
.cases-section {
    background-color: #FFFFFF;
    background-image: radial-gradient(circle at 1px 1px, #F0F0F0 1px, transparent 0);
    background-size: 30px 30px;
    position: relative;
}

.cases-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 0;
}

.cases-section .container {
    position: relative;
    z-index: 1;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5em;
    margin-top: 4em;
}

@media (min-width: 1200px) {
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Section 9: FAQs - Gradient Background */
.faqs-section {
    background: linear-gradient(180deg, #F8F8F8 0%, #FFFFFF 50%, #F8F8F8 100%);
    position: relative;
}

.faqs-container {
    max-width: 900px;
    margin: 4em auto 0;
}

.faq-item {
    background: #FFFFFF;
    margin-bottom: 1.5em;
    border: 1px solid #E5E5E5;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #005EA4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 2.5em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    transition: all 0.3s ease;
    min-height: 44px;
}

.faq-question:hover {
    background: #FAFAFA;
}

.faq-question:focus {
    outline: 3px solid #005EA4;
    outline-offset: -3px;
    background: #F8F8F8;
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 32px;
    font-weight: 300;
    color: #005EA4;
    transition: transform 0.3s;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2.5em 2.5em;
    color: #555555;
    line-height: 1.8;
    margin: 0;
    font-size: 15px;
}

/* Section 10: Ratgeber - Clean White with Border */
.guide-section {
    background-color: #FFFFFF;
    border-top: 3px solid #005EA4;
    border-bottom: 3px solid #005EA4;
    position: relative;
}

/* Section 11: Produktgalerie / Impressionen */
.gallery-section {
    background-color: #FFFFFF;
    color: #1a1a1a;
    position: relative;
}

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

.gallery-section .section-header {
    color: #1a1a1a;
}

.gallery-section h2 {
    color: #1a1a1a;
}

.gallery-section .section-label {
    color: #005EA4;
}

.gallery-section .section-intro {
    color: #555555;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2em;
    margin-top: 4em;
}

.gallery-card {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    border-color: #005EA4;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gallery-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.gallery-content {
    padding: 2em;
    background: #FFFFFF;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.gallery-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.gallery-content p {
    color: #555555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5em;
    margin-top: 4em;
}

@media (min-width: 1200px) {
    .guide-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Section 11: CTA */
.cta-section {
    background-color: #FFFFFF;
    color: #1a1a1a;
    text-align: center;
    padding: 9em 0;
    position: relative;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-label {
    display: inline-block;
    color: #005EA4;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1em;
}

.cta-section h2 {
    font-size: 44px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.2em;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 20px;
    color: #555555;
    margin-bottom: 3em;
    line-height: 1.8;
}

/* Footer Image Section - Parallax */
.footer-image-section {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.footer-image-section .parallax-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.footer-image-section .parallax-overlay {
    background: rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
    background-color: #0E1423;
    color: #FFFFFF;
    padding: 4em 0 2em;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3em;
    margin-bottom: 3em;
}

.footer-section h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1.5em;
    color: #FFFFFF;
}

.footer-section p {
    color: #DDDDDD;
    margin-bottom: 0.5em;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.8em;
}

.footer-section a {
    color: #DDDDDD;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #005EA4;
}

.footer-bottom {
    text-align: center;
    padding-top: 2em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #DDDDDD;
    font-size: 14px;
}

.footer-translation-notice {
    margin-top: 0.75em;
    font-size: 12px;
    opacity: 0.85;
    max-width: 42em;
    margin-left: auto;
    margin-right: auto;
}

/* Links */
a {
    color: #005EA4;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
}

a:hover {
    color: #004080;
}

/* Alle Textelemente - Word-Break für lange deutsche Wörter */
p, h1, h2, h3, h4, h5, h6, span, div, td, th, li, .feature-card, .application-card, .benefit-card, .tech-card, .spec-card, .stat-card, .case-card, .guide-card {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Überschreibe für Headlines - normale Worttrennung bevorzugen */
h1, h2, h3, h4, h5, h6 {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Focus Styles für alle interaktiven Elemente */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid #005EA4;
    outline-offset: 2px;
}

/* Bessere Kontraste für WCAG AA */
.content-section h2 {
    color: #1a1a1a; /* Dunkler für besseren Kontrast */
}

.content-section p {
    color: #333333; /* Dunkler für besseren Kontrast */
}

/* Responsive Design */
/* Tablet & Mobile Navigation */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    header .container {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: 1rem;
    }

    header:has(.nav-menu.active),
    header.menu-open {
        background-color: rgba(14, 20, 35, 0.98);
    }

    .logo {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    header nav {
        display: contents;
    }

    .mobile-menu-toggle {
        display: flex;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        z-index: 1001;
        position: relative;
    }

    .nav-menu {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 0.75em;
        padding: 0.35em 0;
        background: rgba(14, 20, 35, 0.96);
        border-radius: 10px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li:not(.nav-lang-group) {
        width: 100%;
    }

    .nav-menu > li:not(.nav-lang-group) a {
        padding: 0.9em 1.25em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        min-height: 48px;
    }

    .nav-menu > li.nav-lang-group {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 0.85em 1em 1.1em;
        margin-top: 0.15em;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        border-bottom: none;
    }

    .lang-switcher-label {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: rgba(255, 255, 255, 0.75);
        margin-bottom: 0.65em;
    }

    .lang-switcher {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.5em;
        width: 100%;
    }

    .lang-switcher > li {
        width: auto;
        flex: 0 0 auto;
    }

    .lang-link {
        min-width: 44px;
        min-height: 44px;
        padding: 0.4em;
        border-bottom: none;
        background: rgba(255, 255, 255, 0.12);
        opacity: 1;
    }

    .lang-link:hover,
    .lang-link:focus {
        background: rgba(255, 255, 255, 0.22);
        opacity: 1;
    }

    .lang-link.is-active {
        background: rgba(255, 255, 255, 0.25);
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95);
    }

    .lang-flag {
        width: 30px;
        height: 22px;
        object-fit: cover;
        border-radius: 3px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mehrwert-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 72px;
        letter-spacing: -1px;
    }
    
    .hero .hero-brand {
        font-size: 0.45em;
        letter-spacing: 2px;
    }
    
    .hero .subheadline {
        font-size: 22px;
        max-width: 100%;
    }
    
    .hero-logo {
        height: 50px;
    }

    .content-section h2 {
        font-size: 32px;
    }

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

/* Mobile */
@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(
            160deg,
            rgba(14, 20, 35, 0.92) 0%,
            rgba(0, 0, 0, 0.78) 45%,
            rgba(14, 20, 35, 0.9) 100%
        );
    }

    .hero h1,
    .hero .subheadline {
        background: none;
        -webkit-background-clip: border-box;
        background-clip: border-box;
        -webkit-text-fill-color: #FFFFFF;
        color: #FFFFFF;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
    }

    .hero .hero-brand {
        color: #FFFFFF;
        -webkit-text-fill-color: #FFFFFF;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .mehrwert-cards {
        grid-template-columns: 1fr;
    }
    
    .cases-grid,
    .guide-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
    }

    .hero h1 {
        font-size: 52px;
        letter-spacing: -1px;
    }
    
    .hero .hero-brand {
        font-size: 0.4em;
        letter-spacing: 1.5px;
    }

    .hero .subheadline {
        font-size: 18px;
        max-width: 100%;
    }
    
    .hero-logo {
        height: 40px;
    }
    
    .hero-scroll-down {
        width: 40px;
        height: 40px;
        bottom: 30px;
    }
    
    .hero-scroll-down svg {
        width: 20px;
        height: 20px;
    }

    .content-section {
        padding: 4em 0;
    }

    .content-section h2 {
        font-size: 28px;
    }

    .section-header {
        margin-bottom: 2em;
    }

    .feature-grid,
    .applications-grid,
    .benefits-grid,
    .tech-grid,
    .specs-grid,
    .partner-stats,
    .cases-grid,
    .guide-grid,
    .mehrwert-cards {
        grid-template-columns: 1fr;
        gap: 2em;
    }
    
    .back-to-top {
        bottom: 1.5em;
        right: 1.5em;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

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

    .product-categories {
        grid-template-columns: 1fr;
    }

    .product-table {
        font-size: 14px;
        min-width: 600px;
    }

    .product-table th,
    .product-table td {
        padding: 1em 0.5em;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 16px;
    }

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

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .product-table {
        min-width: 100%;
    }
}

/* Kleine Mobile Geräte */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .lang-switcher {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 0.35em;
        gap: 0.4em;
    }

    .lang-switcher > li {
        flex-shrink: 0;
    }

    .lang-flag {
        width: 28px;
        height: 21px;
    }

    .hero {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -0.5px;
    }
    
    .hero .hero-brand {
        font-size: 0.35em;
        letter-spacing: 1px;
    }

    .hero .subheadline {
        font-size: 16px;
        max-width: 100%;
    }
    
    .hero-accent-line {
        width: 40px;
        height: 2px;
    }
    
    .hero-scroll-down {
        width: 40px;
        height: 40px;
        bottom: 20px;
    }

    .content-section {
        padding: 3em 0;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .section-header {
        margin-bottom: 1.5em;
    }

    .feature-card,
    .application-card,
    .benefit-card,
    .tech-card,
    .spec-card,
    .stat-card,
    .case-card {
        padding: 1.5em;
    }

    .cta-button {
        width: 100%;
        padding: 1em 2em;
    }

    .cta-section {
        padding: 4em 0;
    }

    .cta-section h2 {
        font-size: 24px;
    }
}

/* Print Styles */
@media print {
    header,
    nav,
    .cta-section,
    footer {
        display: none;
    }

    .hero {
        background: none;
        color: #000000;
        padding: 2em 0;
    }

    .content-section {
        page-break-inside: avoid;
    }
}

/* Scroll Animationen */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2em;
    right: 2em;
    width: 50px;
    height: 50px;
    background-color: #000000;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 50px;
    min-height: 50px;
}

.back-to-top:hover {
    background-color: #005EA4;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 94, 164, 0.4);
}

.back-to-top:focus {
    outline: 3px solid #005EA4;
    outline-offset: 3px;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top span {
    line-height: 1;
}

/* Reduced Motion für Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax-bg {
        transform: none !important;
    }
    
    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .hero-scroll-down {
        animation: none !important;
    }
    
    .hero-logo,
    .hero h1,
    .hero .subheadline {
        animation: none !important;
    }
}
