/* MX-SOFTNET — Premium Corporate Design */

/* === Font (lokal, DSGVO-konform) === */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter.woff2') format('woff2');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

/* === Variables === */
:root {
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --color-bg: #0a0e1a;
    --color-bg-light: #111827;
    --color-bg-card: #1a1f35;
    --color-surface: #1e2540;
    --color-primary: #3b82f6;
    --color-primary-glow: rgba(59, 130, 246, 0.3);
    --color-accent: #10b981;
    --color-accent-glow: rgba(16, 185, 129, 0.3);
    --color-orange: #f97316;
    --color-text: #f1f5f9;
    --color-text-dim: #94a3b8;
    --color-text-muted: #64748b;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-light: rgba(255, 255, 255, 0.1);
    --nav-height: 72px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 20px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* === Navigation === */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: background 0.4s var(--ease);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 32px;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: baseline; font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.logo-mx { color: var(--color-primary); }
.logo-soft { color: var(--color-text); }
.logo-net { color: var(--color-primary); font-weight: 600; }
.nav-links { list-style: none; display: flex; gap: 36px; }
.nav-links a {
    color: var(--color-text-dim); font-size: 14px; font-weight: 500;
    letter-spacing: 0.3px; transition: color 0.3s var(--ease);
    position: relative;
}
.nav-links a:hover { color: var(--color-text); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--color-primary); transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 8px; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-text-dim); transition: 0.3s var(--ease); border-radius: 2px; }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px; font-size: 14px; font-weight: 600;
    font-family: var(--font); letter-spacing: 0.2px;
    transition: all 0.3s var(--ease); cursor: pointer; border: none;
}
.btn-primary {
    background: var(--color-primary); color: #fff;
    box-shadow: 0 4px 20px var(--color-primary-glow);
}
.btn-primary:hover {
    background: #2563eb; transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-primary-glow);
}
.btn-outline {
    background: transparent; color: var(--color-text-dim);
    border: 1px solid var(--color-border-light);
}
.btn-outline:hover { border-color: var(--color-text-dim); color: var(--color-text); }

/* === INTRO (Full-screen cinematic) === */
.intro {
    min-height: 100vh; position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: #050810;
}
.intro-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
}
.intro-bg canvas {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.intro-content {
    position: absolute; top: 14%; left: 50%; transform: translateX(-50%);
    z-index: 1; text-align: center;
}
.intro-welcome {
    font-size: 16px; color: rgba(255,255,255,0.3); font-weight: 300;
    letter-spacing: 6px; text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0; animation: intro-fade 1s ease 0.2s forwards;
}
.intro-logo {
    font-size: clamp(36px, 7vw, 64px); font-weight: 900;
    letter-spacing: -1px; line-height: 1;
    opacity: 0; transform: scale(0.8);
    animation: intro-appear 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}
/* Intro circle flow — Stationen auf einem Kreis angeordnet */
.intro-circle-flow {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 460px;
    z-index: 2;
}

/* Alle Nodes absolut positioniert, starten unsichtbar */
.intro-node {
    position: absolute;
    opacity: 0;
    transform: scale(0.3);
    transition: none;
}

/* KUNDE unten mitte */
.intro-node-kunde { bottom: -25px; left: 50%; margin-left: -75px; }
/* Beratung links */
.intro-node-beratung { bottom: 120px; left: -40px; }
/* Konzeption links oben */
.intro-node-konzeption { top: -20px; left: -50px; }
/* Entwicklung rechts oben */
.intro-node-entwicklung { top: -20px; right: -50px; }
/* Einfuehrung rechts */
.intro-node-einfuehrung { bottom: 120px; right: -40px; }

/* Blitz-Glow wenn Node getroffen wird */
.intro-node.sparked svg circle:last-of-type {
    stroke: #3b82f6 !important;
    stroke-width: 3px !important;
    filter: drop-shadow(0 0 12px rgba(59,130,246,0.6));
    transition: all 0.3s ease;
}
.intro-node-kunde.sparked svg circle:last-of-type {
    stroke: #10b981 !important;
    filter: drop-shadow(0 0 12px rgba(16,185,129,0.6));
}

/* === Kreis nach links schieben === */
.intro-circle-flow.shifted {
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    left: 28%;
    transform: translateX(-50%) scale(0.7);
}

/* === Leistungs-Boxen rechts === */
.intro-services {
    position: absolute;
    top: 50%;
    right: 6%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    width: 380px;
}
.intro-services.visible {
    opacity: 1;
    visibility: visible;
}
.intro-svc-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    background: rgba(26, 31, 53, 0.8);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(40px);
}
.intro-services.visible .intro-svc-card {
    animation: svc-fly-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: inherit;
}
@keyframes svc-fly-in {
    0% { opacity: 0; transform: translateX(40px); }
    100% { opacity: 1; transform: translateX(0); }
}
.intro-svc-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    color: var(--color-primary);
}
.intro-svc-text h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}
.intro-svc-text p {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Ladebalken Mitte */
.intro-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.intro-loader.visible { opacity: 1; }
.intro-loader.done { opacity: 0; }
.intro-loader-text {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 10px;
}
.intro-loader-bar {
    width: 160px;
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}
.intro-loader-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(59,130,246,0.4);
}

/* Blitz-Pfad zwischen Nodes */
.intro-spark-line {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 3;
}

/* Einflug-Animation — jeder Node fliegt aus seiner Richtung rein */
.intro-node.visible {
    animation: intro-node-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes intro-node-in {
    0% { opacity: 0; transform: scale(0.3); filter: blur(6px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* Beratung fliegt von links rein */
.intro-node-beratung.visible {
    animation: intro-fly-left 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes intro-fly-left {
    0% { opacity: 0; transform: translateX(-60px) scale(0.3); filter: blur(6px); }
    100% { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}

/* Konzeption fliegt von oben links */
.intro-node-konzeption.visible {
    animation: intro-fly-topleft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes intro-fly-topleft {
    0% { opacity: 0; transform: translate(-40px, -40px) scale(0.3); filter: blur(6px); }
    100% { opacity: 1; transform: translate(0, 0) scale(1); filter: blur(0); }
}

/* Entwicklung fliegt von oben rechts */
.intro-node-entwicklung.visible {
    animation: intro-fly-topright 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes intro-fly-topright {
    0% { opacity: 0; transform: translate(40px, -40px) scale(0.3); filter: blur(6px); }
    100% { opacity: 1; transform: translate(0, 0) scale(1); filter: blur(0); }
}

/* Einfuehrung fliegt von rechts */
.intro-node-einfuehrung.visible {
    animation: intro-fly-right 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes intro-fly-right {
    0% { opacity: 0; transform: translateX(60px) scale(0.3); filter: blur(6px); }
    100% { opacity: 1; transform: translateX(0) scale(1); filter: blur(0); }
}

/* Center pulsiert rein */
.intro-node-center.visible {
    animation: intro-center-in 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes intro-center-in {
    0% { opacity: 0; transform: scale(0); }
    60% { opacity: 1; transform: scale(1.15); }
    100% { opacity: 1; transform: scale(1); }
}

/* "Der Kreis schliesst sich" */
.intro-closing {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    white-space: nowrap;
}
.intro-closing.visible {
    animation: intro-fade 1s ease forwards;
}
.intro-closing span {
    font-size: 14px;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.intro-mx { color: rgba(255,255,255,0.6); }
.intro-soft { color: #fff; }
.intro-net {
    color: var(--color-primary);
    text-shadow: 0 0 40px var(--color-primary-glow), 0 0 80px rgba(59,130,246,0.15);
}
.intro-tagline {
    font-size: clamp(18px, 3vw, 28px); color: rgba(255,255,255,0.4);
    font-weight: 300; letter-spacing: 4px; margin-top: 24px;
    opacity: 0; animation: intro-fade 1.2s ease 2s forwards;
}
.intro-scroll {
    margin-top: 80px; opacity: 0;
    animation: intro-fade 1s ease 4.5s forwards;
}
@keyframes intro-appear {
    0% { opacity: 0; transform: scale(0.8); filter: blur(10px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes intro-fade {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* === Linie vom KUNDE nach unten (nach Animation) === */
.intro-down-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 0;
    z-index: 3;
    overflow: visible;
    transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.intro-down-line.visible {
    height: 200px;
}
.intro-down-line svg {
    width: 100%;
    height: 100%;
}

/* Wenn Kreis nach links shifted, Linie folgt dem KUNDE */
.intro-circle-flow.shifted ~ .intro-down-line {
    left: 25%;
}

/* === Verbindungslinie zwischen Sektionen === */
.connect-line {
    width: 20px;
    height: 150px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.connect-line svg {
    width: 100%;
    height: 100%;
}

/* === Hero === */
.hero {
    min-height: 100vh; position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: calc(var(--nav-height) + 10px) 32px 60px; overflow: visible;
}
.hero-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0;
}
.hero-gradient {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
}
.hero-particles {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
}
.hero-layout {
    position: relative; z-index: 1;
    display: flex; align-items: flex-start; gap: 60px;
    max-width: 1100px; width: 100%; padding: 0 32px;
}
.hero-visual {
    flex-shrink: 0; width: 250px; margin-left: -30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-projekt-tree {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: -20px;
    margin-left: 0;
}
.hero-projekt-circle {
    position: relative;
    z-index: 2;
}
.hero-line-up {
    position: absolute;
    top: 0;
    left: 25%;
    transform: translateX(-50%);
    width: 20px;
    height: 35%;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-line-up.visible {
    opacity: 1;
}
.hero-line-up svg {
    width: 100%;
    height: 100%;
}
.hero-content { text-align: left; max-width: 600px; margin-top: 0; align-self: flex-start; }
.hero-visual { margin-top: 120px; }
.hero-badge {
    display: inline-block; padding: 6px 20px; border-radius: 50px;
    background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--color-primary); font-size: 13px; font-weight: 500;
    letter-spacing: 0.5px; margin-bottom: 32px;
}
.hero h1 { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.hero-line1 {
    font-size: clamp(18px, 2.5vw, 22px); font-weight: 400;
    color: var(--color-text-dim); letter-spacing: 0.5px;
}
.hero-line2 {
    font-size: clamp(36px, 6vw, 64px); font-weight: 800;
    letter-spacing: -1px; line-height: 1.1;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-line3 {
    font-size: clamp(36px, 6vw, 64px); font-weight: 800;
    letter-spacing: -1px; line-height: 1.1; color: var(--color-text);
}
.hero-claim {
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--color-text-dim);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: lowercase;
    font-style: italic;
}
.hero-desc {
    font-size: 17px; color: var(--color-text-dim); line-height: 1.7;
    max-width: 560px; margin: 0 auto 36px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Stats Bar */
.hero-stats {
    position: relative; z-index: 1;
    display: flex; gap: 48px; margin-top: 80px;
    padding: 32px 48px; border-radius: var(--radius-lg);
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
}
.stat { text-align: center; }
.stat-number {
    font-size: 40px; font-weight: 800; color: var(--color-primary);
    letter-spacing: -1px; line-height: 1;
}
.stat-suffix { font-size: 24px; font-weight: 600; color: var(--color-primary); }
.stat-label {
    display: block; font-size: 13px; color: var(--color-text-muted);
    margin-top: 6px; letter-spacing: 0.3px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute; bottom: 32px; z-index: 1;
    animation: float 3s ease-in-out infinite;
}
.scroll-mouse {
    width: 24px; height: 38px; border: 2px solid var(--color-text-muted);
    border-radius: 12px; position: relative;
}
.scroll-wheel {
    width: 3px; height: 8px; background: var(--color-text-muted);
    border-radius: 2px; position: absolute; top: 6px; left: 50%;
    transform: translateX(-50%); animation: scroll-down 2s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes scroll-down { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 20px; } }

/* === Section Layout === */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; font-size: 13px; font-weight: 600;
    color: var(--color-primary); letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(28px, 4vw, 42px); font-weight: 800;
    letter-spacing: -0.5px; margin-bottom: 16px;
}
.section-desc {
    font-size: 17px; color: var(--color-text-dim); max-width: 560px;
    margin: 0 auto; line-height: 1.7;
}

/* === Leistungen === */
.leistungen {
    padding: 120px 0; position: relative;
    background: var(--color-bg-light);
}
.leistungen::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border-light), transparent);
}
.leistungen-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.leistung-card {
    padding: 32px 24px; border-radius: var(--radius);
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.leistung-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0; transition: opacity 0.4s var(--ease);
}
.leistung-card:hover {
    transform: translateY(-4px); border-color: var(--color-border-light);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.leistung-card:hover::before { opacity: 1; }
.leistung-icon {
    width: 48px; height: 48px; margin-bottom: 20px;
    color: var(--color-primary); display: flex; align-items: center;
    justify-content: center; background: rgba(59, 130, 246, 0.1);
    border-radius: 12px; padding: 10px;
}
.leistung-card h3 {
    font-size: 18px; font-weight: 700; margin-bottom: 10px;
    letter-spacing: -0.2px;
}
.leistung-card p {
    font-size: 14px; color: var(--color-text-dim); line-height: 1.7;
}

/* === Projekte / Kreisdiagramm === */
.projekte {
    padding: 120px 0; position: relative;
}
.projekte::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border-light), transparent);
}
.circle-wrapper {
    display: flex; flex-direction: column; align-items: center;
}
.circle-container {
    width: 100%; max-width: 700px; aspect-ratio: 1;
    position: relative;
}
.circle-hint {
    font-size: 13px; color: var(--color-text-muted); margin-top: 16px;
    letter-spacing: 0.3px;
}

/* === Slide-In Panel === */
.slide-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px);
    z-index: 1000; opacity: 0; visibility: hidden;
    transition: all 0.4s var(--ease);
}
.slide-overlay.visible { opacity: 1; visibility: visible; }
.slide-panel {
    position: fixed; top: 0; right: 0;
    width: 440px; max-width: 92vw; height: 100vh;
    background: var(--color-bg-light);
    border-left: 1px solid var(--color-border);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    z-index: 1001; overflow-y: auto; padding: 40px 32px;
}
.slide-panel.open { transform: translateX(0); }
.slide-panel-close {
    position: absolute; top: 16px; right: 16px;
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: 50%; width: 36px; height: 36px;
    font-size: 20px; color: var(--color-text-dim); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s var(--ease);
}
.slide-panel-close:hover { color: var(--color-text); border-color: var(--color-border-light); }

.slide-panel-content h3 {
    font-size: 24px; font-weight: 700; color: var(--color-text);
    margin-bottom: 20px; letter-spacing: -0.3px;
}
.slide-panel-content .project-image {
    width: 100%; border-radius: var(--radius);
    background: var(--color-surface); min-height: 180px;
    margin-bottom: 20px; display: flex; align-items: center;
    justify-content: center; color: var(--color-text-muted); font-size: 14px;
    border: 1px solid var(--color-border);
}
.slide-panel-content .project-image img { width: 100%; border-radius: var(--radius); }
.slide-panel-content .project-description {
    font-size: 15px; line-height: 1.8; color: var(--color-text-dim); margin-bottom: 20px;
}
.slide-panel-content .connection-description {
    font-size: 15px; line-height: 1.8; color: #cbd5e1 !important; margin-bottom: 20px;
    background: transparent !important;
}
.slide-panel-content .connection-description *,
.slide-panel-content .connection-description p,
.slide-panel-content .connection-description span,
.slide-panel-content .connection-description div,
.slide-panel-content .connection-description li,
.slide-panel-content .connection-description strong,
.slide-panel-content .connection-description em {
    color: #cbd5e1 !important;
    background: transparent !important;
}
.slide-panel-content .connection-description h1,
.slide-panel-content .connection-description h2,
.slide-panel-content .connection-description h3,
.slide-panel-content .connection-description h4,
.slide-panel-content .connection-description h5,
.slide-panel-content .connection-description h6 { color: #ffffff !important; }
.slide-panel-content .connection-description a { color: var(--color-primary) !important; }
.slide-panel-content .tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.slide-panel-content .tech-tag {
    background: rgba(59, 130, 246, 0.1); color: var(--color-primary);
    padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.15); letter-spacing: 0.3px;
}
.slide-panel-content .project-link {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--color-primary); color: #fff;
    padding: 10px 24px; border-radius: 50px; font-size: 14px; font-weight: 600;
    transition: all 0.3s var(--ease); box-shadow: 0 4px 20px var(--color-primary-glow);
}
.slide-panel-content .project-link:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--color-primary-glow); }

/* === Kontakt === */
.kontakt {
    padding: 120px 0; background: var(--color-bg-light);
    position: relative;
}
.kontakt::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border-light), transparent);
}
.kontakt-grid {
    max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600; color: var(--color-text-dim);
    margin-bottom: 6px; letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea {
    width: 100%; padding: 12px 16px;
    background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: 10px; font-size: 15px; font-family: var(--font);
    color: var(--color-text); transition: all 0.3s var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-muted); }
/* Checkboxen (DSGVO-Einwilligung) — NICHT 100% breit und ohne Padding */
.form-group input[type="checkbox"] {
    width: auto; padding: 0; background: none; border: none; box-shadow: none;
    flex-shrink: 0; margin-top: 3px; cursor: pointer;
}
.form-group-privacy label { display: flex !important; margin-bottom: 0 !important; }
.form-group input:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}
.btn-submit { width: 100%; justify-content: center; margin-top: 8px; }
.btn-submit svg { transition: transform 0.3s var(--ease); }
.btn-submit:hover svg { transform: translateX(4px); }
.form-feedback {
    font-size: 14px; border-radius: 10px; display: none; margin-top: 12px; padding: 12px 16px;
}
.form-feedback.success { display: block; background: rgba(16, 185, 129, 0.1); color: var(--color-accent); border: 1px solid rgba(16, 185, 129, 0.2); }
.form-feedback.error { display: block; background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }

.kontakt-info { display: flex; flex-direction: column; gap: 16px; }
.kontakt-card {
    padding: 24px; background: var(--color-bg-card); border: 1px solid var(--color-border);
    border-radius: var(--radius); transition: all 0.3s var(--ease);
}
.kontakt-card:hover { border-color: var(--color-border-light); }
.kontakt-card-icon {
    width: 40px; height: 40px; color: var(--color-primary);
    background: rgba(59, 130, 246, 0.1); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    padding: 8px; margin-bottom: 12px;
}
.kontakt-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.kontakt-card p { font-size: 14px; color: var(--color-text-dim); }

/* === Footer === */
.footer {
    padding: 40px 0; border-top: 1px solid var(--color-border);
}
.footer-container {
    max-width: 1200px; margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.footer-brand p { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 13px; color: var(--color-text-muted); transition: color 0.3s var(--ease); }
.footer-nav a:hover { color: var(--color-text-dim); }
.footer-copy { font-size: 12px; color: var(--color-text-muted); }

/* === Page Content (Impressum, Datenschutz) === */
.page-content {
    max-width: 800px; margin: 0 auto;
    padding: calc(var(--nav-height) + 64px) 32px 80px;
}
.page-content h1 {
    font-size: 36px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 40px;
}
.page-body { font-size: 16px; line-height: 1.8; color: #cbd5e1; }
/* Universal-Override: alle Inline-Farben (Word/eRecht24-Copy-Paste) ueberschreiben */
.page-body, .page-body * { color: #cbd5e1 !important; background-color: transparent !important; }
.page-body h1, .page-body h2, .page-body h3, .page-body h4, .page-body h5, .page-body h6 { color: #ffffff !important; }
.page-body strong, .page-body b { color: #ffffff !important; }
.page-body h2 { font-size: 24px; margin: 40px 0 16px; font-weight: 700; }
.page-body p { margin-bottom: 16px; }
.page-body a, .page-body a * { color: var(--color-primary) !important; }

/* === Responsive === */
@media (max-width: 1024px) {
    .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none; position: absolute; top: var(--nav-height);
        left: 0; right: 0; background: rgba(10, 14, 26, 0.95);
        backdrop-filter: blur(20px); flex-direction: column;
        padding: 24px 32px; gap: 20px;
        border-bottom: 1px solid var(--color-border);
    }
    .nav-links.open { display: flex; }
    .hero-stats { flex-direction: column; gap: 24px; padding: 24px 32px; margin-top: 48px; }
    .leistungen-grid { grid-template-columns: 1fr; }
    .kontakt-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .slide-panel { width: 100vw; max-width: 100vw; }
    .footer-container { flex-direction: column; text-align: center; }
}
