/* ============================================================
   SDS Innovations – Gemeinsames Stylesheet der Leistungsseiten
   Farbwelt, Schriften und Klassen 1:1 von index.html übernommen.
   ============================================================ */

/* ===== LOCAL FONTS ===== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(fonts/inter-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(fonts/inter-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #2B3580;
    --primary-dark: #1E2660;
    --primary-light: #3D4A9E;
    --secondary: #2BA5A5;
    --accent: #4AB87A;
    --accent-light: #6CC06C;
    --accent-warm: #2BA5A5;
    --text: #1A1A2E;
    --text-light: #4A5568;
    --text-lighter: #94A3B8;
    --bg: #FFFFFF;
    --bg-alt: #F7F9FC;
    --bg-dark: #0E1228;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px -10px rgba(0,0,0,0.12);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 96px 0; }
.section-header { text-align: center; max-width: 750px; margin: 0 auto 56px; }

.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    color: var(--primary); background: linear-gradient(135deg, rgba(43,53,128,0.08), rgba(43,165,165,0.08));
    padding: 8px 20px; border-radius: 50px; margin-bottom: 20px;
    border: 1px solid rgba(43,53,128,0.1);
}

.section-label::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); animation: label-pulse 2s ease-in-out infinite;
}

@keyframes label-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900;
    color: var(--text); line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.5px;
    overflow-wrap: break-word;
    /* Keine Silbentrennung in Überschriften; nötige Umbrüche gleichmäßig verteilen */
    hyphens: manual;
    text-wrap: balance;
}

.section-subtitle { font-size: 1.05rem; color: var(--text-light); line-height: 1.8; }
.highlight { color: var(--primary); }
.highlight-accent { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px; font-family: inherit; font-size: 1rem; font-weight: 600;
    border: none; border-radius: 60px; cursor: pointer; transition: var(--transition);
    text-decoration: none; position: relative; overflow: hidden;
}

.btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0; transition: opacity 0.3s;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff; box-shadow: 0 4px 20px rgba(43,53,128,0.35);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(43,53,128,0.45);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff; box-shadow: 0 4px 20px rgba(43,165,165,0.35);
}

.btn-accent:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(43,165,165,0.45);
}

.btn-outline {
    background: var(--primary); color: #fff;
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-dark); border-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }

@keyframes ripple { 0% { transform: scale(1); opacity: 0.4; } 100% { transform: scale(2.5); opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(2deg); } }
@keyframes float-reverse { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(15px) rotate(-2deg); } }

/* ===== PRELOADER (1:1 wie index.html) ===== */
.preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--bg-dark);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-logo {
    font-size: 2rem; font-weight: 900; color: #fff;
    animation: preloader-pulse 1s ease-in-out infinite alternate;
}

.preloader-bar {
    width: 120px; height: 3px; background: rgba(255,255,255,0.1);
    border-radius: 2px; overflow: hidden;
}

.preloader-bar-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px; animation: preloader-fill 0.6s ease-out forwards;
}

@keyframes preloader-pulse { from { opacity: 0.5; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }
@keyframes preloader-fill { to { width: 100%; } }

/* ===== SCROLL PROGRESS (1:1 wie index.html) ===== */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 1001;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%; transition: width 0.1s linear;
}

/* ===== HEADER (1:1 wie index.html: transparent, beim Scrollen weiß) ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 0; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); background: transparent;
}

.header.scrolled {
    background: rgba(255,255,255,0.92); backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 1px 30px rgba(0,0,0,0.06); padding: 12px 0;
}

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

.logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.5px;
}

.logo-icon {
    width: 40px; height: 40px;
    transition: var(--transition-spring);
    position: relative; overflow: hidden;
}

.logo-icon img { width: 100%; height: 100%; object-fit: contain; }

.logo:hover .logo-icon { transform: rotate(-8deg) scale(1.1); }
.logo-sds { color: var(--primary); }
.logo-rest { color: var(--text-lighter); font-weight: 600; font-size: 1.3rem; }

.nav-desktop { display: flex; align-items: center; gap: 32px; }

.nav-desktop > a, .nav-dropdown > a {
    text-decoration: none; font-size: 0.88rem; font-weight: 500;
    color: var(--text-light); transition: var(--transition); position: relative; padding: 4px 0;
}

.nav-desktop > a:hover, .nav-dropdown > a:hover { color: var(--primary); }

.nav-desktop > a::after {
    content: ''; position: absolute; bottom: -2px; left: 50%; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: all 0.3s ease; transform: translateX(-50%); border-radius: 2px;
}

.nav-desktop > a:hover::after { width: 100%; }

.nav-cta {
    padding: 10px 26px !important; background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: #fff !important; border-radius: 50px !important; font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(43,53,128,0.3) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 25px rgba(43,53,128,0.4) !important; }

/* ===== NAV DROPDOWN (Leistungen) ===== */
.nav-dropdown { position: relative; display: flex; align-items: center; }

.nav-dropdown > a {
    display: inline-flex; align-items: center; gap: 6px;
}

.nav-dropdown > a svg {
    width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover > a svg, .nav-dropdown:focus-within > a svg { transform: rotate(180deg); }

.nav-dropdown-menu {
    position: absolute; top: 100%; left: -20px; padding-top: 14px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}

.nav-dropdown-inner {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-xl); padding: 10px; min-width: 320px;
}

.nav-dropdown-inner a {
    display: block; padding: 10px 16px; border-radius: 10px;
    font-size: 0.85rem; font-weight: 500; color: var(--text-light);
    text-decoration: none; transition: var(--transition); white-space: nowrap;
}

.nav-dropdown-inner a:hover { background: var(--bg-alt); color: var(--primary); transform: translateX(4px); }

.nav-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 6px; z-index: 1001; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--text); transition: var(--transition); border-radius: 2px; transform-origin: center; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

.nav-mobile {
    display: none; position: fixed; inset: 0; background: rgba(11,15,26,0.97);
    backdrop-filter: blur(30px); z-index: 999;
    flex-direction: column; align-items: center; justify-content: flex-start; gap: 22px;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
    overflow-y: auto; padding: 100px 24px 40px;
}

.nav-mobile.active { opacity: 1; pointer-events: all; }
.nav-mobile > a { text-decoration: none; font-size: 1.3rem; font-weight: 600; color: rgba(255,255,255,0.85); transition: var(--transition); padding: 4px 12px; }
.nav-mobile > a:hover { color: var(--accent); transform: translateX(8px); }

.nav-mobile-group { text-align: center; }

.nav-mobile-group > button {
    background: none; border: none; font-family: inherit; cursor: pointer;
    font-size: 1.3rem; font-weight: 600; color: rgba(255,255,255,0.85);
    display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px;
    transition: var(--transition);
}

.nav-mobile-group > button:hover { color: var(--accent); }

.nav-mobile-group > button svg {
    width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none;
    transition: transform 0.3s ease;
}

.nav-mobile-group.open > button svg { transform: rotate(180deg); }

.nav-mobile-sub {
    display: none; flex-direction: column; gap: 2px; margin-top: 10px;
}

.nav-mobile-group.open .nav-mobile-sub { display: flex; }

.nav-mobile-sub a {
    text-decoration: none; font-size: 0.95rem; font-weight: 500;
    color: rgba(255,255,255,0.6); padding: 8px 12px; transition: var(--transition);
}

.nav-mobile-sub a:hover { color: var(--accent); }

/* ===== BREADCRUMBS (im Hero) ===== */
.breadcrumbs {
    position: relative;
    padding: 0 0 20px;
}

.breadcrumbs ol {
    list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    font-size: 0.8rem; color: var(--text-lighter);
}

.breadcrumbs li { display: flex; align-items: center; gap: 8px; }

.breadcrumbs li + li::before { content: '›'; color: var(--text-lighter); }

.breadcrumbs a { color: var(--text-light); text-decoration: none; transition: var(--transition); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current="page"] { color: var(--primary); font-weight: 600; }

/* ===== PAGE HERO (Hintergrund-Ebenen 1:1 wie index.html) ===== */
.page-hero { position: relative; padding: 130px 0 80px; overflow: hidden; }

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

.hero-bg-base {
    position: absolute; inset: 0;
    background: linear-gradient(165deg, #ffffff 0%, #f0f4fa 40%, #e8eef8 70%, #f5f8fc 100%);
}

.hero-grid-lines {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(43,53,128,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43,53,128,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-gradient-orb-1 {
    position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(43,53,128,0.08) 0%, transparent 70%);
    top: -150px; right: -100px; animation: float 15s ease-in-out infinite;
}

.hero-gradient-orb-2 {
    position: absolute; width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(43,165,165,0.06) 0%, transparent 70%);
    bottom: -100px; left: -50px; animation: float-reverse 12s ease-in-out infinite;
}

#neuralCanvas { position: absolute; inset: 0; z-index: 1; }

.page-hero-content { max-width: 820px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 22px; background: rgba(43,53,128,0.06);
    border: 1px solid rgba(43,53,128,0.12);
    border-radius: 60px; color: var(--primary); font-size: 0.85rem; font-weight: 600;
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
    position: relative;
}

.hero-badge-dot::after {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    background: var(--primary); animation: ripple 2s ease-out infinite; opacity: 0.3;
}

.page-hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 900; color: var(--text);
    line-height: 1.15; margin-bottom: 22px; letter-spacing: -1px;
    overflow-wrap: break-word;
    hyphens: manual;
    text-wrap: balance;
}

.page-hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem); color: var(--text-light);
    line-height: 1.8; margin-bottom: 36px; max-width: 700px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== PROBLEM / FLIESSTEXT ===== */
.problem-section { background: var(--bg); }

.text-narrow { max-width: 860px; margin: 0 auto; }

.text-narrow h2 {
    font-size: 1.5rem; font-weight: 800; color: var(--text);
    margin-bottom: 20px; line-height: 1.3;
}

.text-narrow h3 {
    font-size: 1.2rem; font-weight: 700; color: var(--text);
    margin: 32px 0 12px;
}

.text-narrow p {
    color: var(--text-light); line-height: 1.9; margin-bottom: 18px; font-size: 0.98rem;
}

.text-narrow ul {
    margin: 0 0 18px 22px; color: var(--text-light); line-height: 1.9; font-size: 0.98rem;
}

.text-narrow li { margin-bottom: 6px; }

.text-narrow a { color: var(--secondary); font-weight: 600; text-decoration: none; }
.text-narrow a:hover { text-decoration: underline; }

/* ===== VORGEHEN (3 Schritte) ===== */
.steps-section { background: var(--bg-alt); }

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

.step-card {
    padding: 36px 30px; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-lg); position: relative; overflow: hidden;
    transition: var(--transition-spring);
}

.step-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.step-card:hover::before { transform: scaleX(1); }

.step-number {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff; font-size: 1.1rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; box-shadow: 0 6px 20px rgba(43,53,128,0.3);
}

.step-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.step-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ===== CTA-BOX ===== */
.cta-section { background: var(--bg); }

.cta-box {
    max-width: 860px; margin: 0 auto;
    background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 55%, var(--secondary) 130%);
    color: #fff; border-radius: var(--radius-lg); padding: 48px 44px;
    position: relative; overflow: hidden; box-shadow: var(--shadow-2xl);
}

.cta-box::before {
    content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(43,165,165,0.25) 0%, transparent 65%);
    top: -180px; right: -120px;
}

.cta-box > * { position: relative; }

.cta-box h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; margin-bottom: 12px; line-height: 1.25; }

.cta-box > p { color: rgba(255,255,255,0.75); font-size: 0.98rem; line-height: 1.8; margin-bottom: 22px; }

.cta-box ul { list-style: none; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; }

.cta-box li {
    display: flex; align-items: flex-start; gap: 12px;
    color: rgba(255,255,255,0.9); font-size: 0.95rem; line-height: 1.6;
}

.cta-box li svg {
    flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px;
    stroke: var(--accent-light); stroke-width: 2.5; fill: none;
}

.cta-box .cta-note {
    font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 18px; line-height: 1.6;
}

/* ===== USE CASES ===== */
.usecase-section { background: var(--bg-alt); }

.usecase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1000px; margin: 0 auto; }

/* Bei ungerader Kartenzahl: letzte Karte mittig statt halbbreit links */
.usecase-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 14px);
    justify-self: center;
}

@media (max-width: 1024px) {
    .usecase-card:last-child:nth-child(odd) { width: 100%; }
}

.usecase-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 36px 32px; position: relative; overflow: hidden; transition: var(--transition-spring);
}

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

.usecase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.usecase-badge {
    display: inline-flex; align-items: center;
    font-size: 0.66rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--text-lighter); background: var(--bg-alt);
    border: 1px solid var(--border); border-radius: 50px;
    padding: 3px 12px; margin-bottom: 14px;
}

/* Variante für echte Kundenprojekte (Teal statt Grau) */
.usecase-badge-projekt {
    color: var(--secondary);
    background: rgba(43,165,165,0.08);
    border-color: rgba(43,165,165,0.3);
}

.usecase-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--text); margin-bottom: 18px; line-height: 1.4; }

.usecase-card h4 {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: var(--secondary); margin: 16px 0 6px;
}

.usecase-card h4:first-of-type { margin-top: 0; }

.usecase-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.75; }

.usecase-card .usecase-tech {
    margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--border);
    font-size: 0.78rem; color: var(--text-lighter);
}

.usecase-card .usecase-figure { margin: 18px 0 0; }

.usecase-card .usecase-figure img {
    display: block; width: 100%; height: auto;
    border-radius: 12px; border: 1px solid var(--border);
}

.usecase-card .usecase-figure figcaption {
    margin-top: 8px; font-size: 0.78rem; color: var(--text-lighter);
}

/* ===== ZITAT ===== */
.quote-section { background: var(--bg); }

.quote-block {
    max-width: 760px; margin: 0 auto; text-align: center;
    padding: 44px 40px; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative;
}

.quote-block::before {
    content: '\201E'; position: absolute; top: -10px; left: 28px;
    font-size: 6rem; font-weight: 900; color: rgba(43,53,128,0.12); line-height: 1;
}

.quote-block blockquote {
    font-size: 1.05rem; color: var(--text); font-style: italic; line-height: 1.8;
    margin-bottom: 20px; border: none;
}

.quote-block cite {
    font-style: normal; font-size: 0.88rem; color: var(--text-light);
}

.quote-block cite strong { color: var(--text); font-weight: 700; display: block; }

/* ===== FAQ ===== */
.faq { background: var(--bg-alt); position: relative; }

.faq-list { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 16px; }

.faq-item {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; transition: var(--transition);
    display: flex; flex-direction: column;
}

.faq-item:hover { border-color: var(--primary); }
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-lg); }

.faq-question {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 20px 24px; cursor: pointer; font-size: 0.95rem; font-weight: 600;
    color: var(--text); background: none; border: none; width: 100%;
    font-family: inherit; text-align: left; transition: var(--transition);
    flex: 1;
}

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

.faq-question svg {
    flex-shrink: 0; width: 20px; height: 20px;
    stroke: var(--text-lighter); stroke-width: 2; fill: none;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg { transform: rotate(180deg); stroke: var(--primary); }

.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.faq-answer p {
    padding: 0 24px 20px; font-size: 0.9rem; color: var(--text-light); line-height: 1.8;
}

.faq-answer a { color: var(--secondary); font-weight: 600; text-decoration: none; }
.faq-answer a:hover { text-decoration: underline; }

/* ===== CONTACT ===== */
.contact { background: var(--bg); position: relative; overflow: hidden; }

.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }

.contact-info h3 { font-size: 1.8rem; font-weight: 900; margin-bottom: 12px; color: var(--text); }
.contact-info > p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 40px; line-height: 1.8; }

.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }

.contact-detail {
    display: flex; align-items: center; gap: 18px;
    padding: 8px; border-radius: 12px; transition: var(--transition);
}

.contact-detail:hover { background: rgba(43,53,128,0.04); transform: translateX(6px); }

.contact-detail-icon {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(43,53,128,0.08), rgba(43,165,165,0.05));
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-spring);
}

.contact-detail:hover .contact-detail-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: scale(1.05) rotate(-3deg);
}

.contact-detail-icon svg { width: 22px; height: 22px; stroke: var(--primary); stroke-width: 1.8; fill: none; transition: var(--transition); }
.contact-detail:hover .contact-detail-icon svg { stroke: #fff; }
.contact-detail-text { font-size: 0.95rem; color: var(--text); }
.contact-detail-text a { color: var(--primary); text-decoration: none; transition: var(--transition); font-weight: 500; }
.contact-detail-text a:hover { color: var(--accent); }
.contact-detail-text span { display: block; font-size: 0.75rem; color: var(--text-lighter); margin-bottom: 2px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-detail-text small { display: block; font-size: 0.75rem; color: var(--text-lighter); margin-top: 3px; }

.contact-form {
    background: var(--bg-alt); padding: 44px; border-radius: var(--radius-lg);
    border: 1px solid var(--border); box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
}

.contact-form::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }

.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 14px 18px; font-family: inherit; font-size: 0.95rem;
    color: var(--text); background: var(--bg); border: 2px solid var(--border);
    border-radius: 12px; transition: var(--transition); outline: none;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary); box-shadow: 0 0 0 4px rgba(43,53,128,0.08);
    background: var(--bg); transform: translateY(-1px);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-privacy-notice {
    font-size: 0.78rem; color: var(--text-light); line-height: 1.5; margin-bottom: 12px;
}
.form-privacy-notice a { color: var(--secondary); text-decoration: underline; }
.form-privacy-notice a:hover { color: var(--primary); }

.form-submit {
    width: 100%; padding: 18px; font-family: inherit; font-size: 1rem; font-weight: 700;
    color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none; border-radius: 14px; cursor: pointer; transition: var(--transition-spring);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 4px 20px rgba(43,53,128,0.3); position: relative; overflow: hidden;
}

.form-submit::after {
    content: ''; position: absolute; top: -50%; left: -60%; width: 200%; height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: rotate(25deg); transition: left 0.6s;
}

.form-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(43,53,128,0.4); }
.form-submit:hover::after { left: 120%; }
.form-submit svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ===== FOOTER (mit Leistungs-Spalte) ===== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.5); padding: 64px 0 32px; }

.footer .logo-sds { color: var(--accent-light); }
.footer .logo-rest { color: rgba(255,255,255,0.4); }
.footer .logo-icon { filter: brightness(1.2); }

.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 24px;
}

.footer-col h4 {
    font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    color: rgba(255,255,255,0.85); margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
    color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.85rem;
    transition: var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-col button.footer-link-btn {
    background: none; border: none; padding: 0; font-family: inherit; cursor: pointer;
    color: rgba(255,255,255,0.45); font-size: 0.85rem; text-align: left; transition: var(--transition);
}

.footer-col button.footer-link-btn:hover { color: #fff; }

.footer-brand p { font-size: 0.85rem; line-height: 1.8; margin: 16px 0 0; color: rgba(255,255,255,0.45); }
.footer-brand a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-brand a:hover { color: #fff; }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; gap: 12px; flex-wrap: wrap;
}

.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; transition: var(--transition); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed; bottom: 32px; right: 32px; width: 52px; height: 52px;
    border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; display: flex; align-items: center; justify-content: center;
    cursor: pointer; border: none; box-shadow: 0 4px 20px rgba(43,53,128,0.3);
    opacity: 0; transform: translateY(20px) scale(0.8);
    transition: var(--transition-spring); z-index: 100;
}

.scroll-top.visible { opacity: 1; transform: translateY(0) scale(1); }
.scroll-top:hover { transform: translateY(-4px) scale(1.1); box-shadow: 0 8px 30px rgba(43,53,128,0.4); }
.scroll-top svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2.5; fill: none; }

/* ===== FORM POPUP ===== */
.form-popup-overlay {
    position: fixed; inset: 0; z-index: 10001;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.form-popup-overlay.visible { opacity: 1; visibility: visible; }
.form-popup {
    background: var(--bg); border-radius: var(--radius-lg);
    padding: 48px 40px; max-width: 440px; width: 90%;
    text-align: center; box-shadow: var(--shadow-2xl);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.form-popup-overlay.visible .form-popup { transform: scale(1) translateY(0); }
.form-popup-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.form-popup-icon svg { width: 32px; height: 32px; stroke: #fff; stroke-width: 2.5; fill: none; }
.form-popup h3 { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.form-popup p { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; }
.form-popup-btn {
    background: var(--primary); color: #fff; border: none; border-radius: 12px;
    padding: 12px 32px; font-family: inherit; font-size: 0.9rem; font-weight: 600;
    cursor: pointer; transition: var(--transition);
}
.form-popup-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.form-popup-error .form-popup-icon {
    background: linear-gradient(135deg, #e53e3e, #fc8181);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .usecase-grid { grid-template-columns: 1fr; max-width: 640px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    /* Kopfzeile: seit dem Nav-Punkt "Partnerprogramm" passen die Eintraege zwischen
       769 und 1024 px nicht mehr nebeneinander -> Burger-Menue schon ab hier. */
    .nav-desktop { display: none; }
    .nav-toggle { display: flex; }
    .nav-mobile { display: flex; }
}

/* Tablet (z. B. iPad): Hero-Deko dämpfen und Subtitle dunkler, Desktop bleibt unverändert */
@media (min-width: 769px) and (max-width: 1024px) {
    .page-hero .hero-subtitle { color: var(--text); }
    #neuralCanvas, .hero-grid-lines { opacity: 0.35; }
}

@media (max-width: 768px) {
    .section-padding { padding: 72px 0; }
    .page-hero { padding: 104px 0 56px; }
    /* Wie index.html: Hero-Deko auf Mobile ausblenden, Basis rein weiß */
    .hero-bg-base { background: #ffffff; }
    .hero-grid-lines, .hero-gradient-orb-1, .hero-gradient-orb-2, #neuralCanvas { display: none; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn, .cta-box .btn {
        width: 100%; justify-content: center;
        padding: 0 12px; min-height: 56px; font-size: 0.9rem; white-space: nowrap;
    }
    .hero-buttons .btn svg, .cta-box .btn svg { display: none; }
    .cta-box .btn { font-size: 0.875rem; }
    .cta-box { padding: 36px 26px; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 36px; }
    .contact-form { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===== HONIGTOPF (Spamschutz Kontaktformular) =====
   Für Menschen unsichtbar, für Bots ein ganz normales Feld.
   Bewusst per Positionierung statt display:none / type=hidden,
   damit die Falle nicht am Markup erkennbar ist. */
.form-firmenfeld {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
