/* ==========================================================================
   Y&L WEBDESIGN - PREMIUM SYSTEM STYLESHEET (COMPREHENSIVE FULL EDITION)
   ========================================================================== */

/* Self-hosted Inter – DSGVO-konform, kein externer Google-Fonts-Request */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/inter-latin-700-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('assets/fonts/inter-latin-900-normal.woff2') format('woff2');
}

/* ==========================================
   01. DESIGN SYSTEM, VARIABLES & CORE RESETS
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-dark: #050508;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.05);
    --primary-neon: #00d2ff;
    --secondary-neon: #0077ff;
    --text-main: #ffffff;
    --text-muted: #8a8a93;
    --text-darker: #52525b;
    --accent-red: #ff4a4a;
    --accent-green: #25d366;
    --font-primary: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    min-height: 100vh;
    overflow-x: clip; /* Retter für den Parallax Sticky-Effekt! */
    position: relative;
}

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

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

.text-center {
    text-align: center;
}

/* ==========================================
   02. AMBIENT BACKGROUND GLOW ORBS
   ========================================== */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

.orb-1 { width: 500px; height: 500px; background: var(--primary-neon); top: -100px; left: -150px; }
.orb-2 { width: 600px; height: 600px; background: var(--secondary-neon); top: 40%; right: -200px; }
.orb-3 { width: 450px; height: 450px; background: #7928ca; bottom: -100px; left: 20%; }

/* ==========================================
   03. NAVIGATION BAR DESIGN
   ========================================== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    z-index: 100;
}

.static-nav {
    position: relative;
    background: rgba(5, 5, 8, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.logo {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--text-main);
}

.logo span {
    color: var(--primary-neon);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Hamburger auf Desktop ausgeblendet (Basis-Regel VOR den Media-Queries,
   damit die 768px-Regel display:flex sicher gewinnt) */
.nav-toggle { display: none; }

.btn-nav {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1) 0%, rgba(0, 119, 255, 0.1) 100%);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 10px 22px;
    border-radius: 50px;
    color: var(--primary-neon) !important;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-nav:hover {
    background: linear-gradient(135deg, var(--primary-neon) 0%, var(--secondary-neon) 100%);
    color: #000000 !important;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.25);
    transform: translateY(-2px);
}

.active-nav-btn {
    border-color: #00d2ff !important;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2) !important;
    color: #ffffff !important;
}

/* ==========================================
   04. HERO SECTIONS & LAYOUTS
   ========================================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,8,0.4) 0%, var(--bg-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.gradient-text-main {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 30%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-main span {
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.subpage-hero {
    padding: 160px 0 80px 0;
    position: relative;
    background: linear-gradient(to bottom, rgba(0, 210, 255, 0.03), transparent);
}

.sub-hero-p {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 20px auto 0 auto;
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--text-main);
    color: #000000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.03);
    border-color: var(--text-main);
}

/* ==========================================
   05. SECTION UTILITIES & HEADINGS
   ========================================== */
.content-section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.section-number {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-neon);
    margin-bottom: 20px;
}

.massive-title-gradient {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-main);
}

.massive-title-gradient span {
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spacer-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 15px auto 0 auto;
}

/* ==========================================
   06. PREMIUM GLASSMORTISM & SERVICE CARDS
   ========================================== */
.glass-card-premium {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card-premium {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 45px 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-premium:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(0, 210, 255, 0.02);
}

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

.card-content {
    position: relative;
    z-index: 2;
}

.card-num {
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--primary-neon);
    display: block;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.service-card-premium h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.service-card-premium p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================
   07. HIGH-END PARALLAX ENGINE (DIE GEILEN TEXTE & BADGES)
   ========================================== */
.parallax-scroll-track {
    position: relative;
    height: 260vh;
    background: #020204;
}

.parallax-sticky-window {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.layer-canyon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120vh;
    z-index: 1;
    will-change: transform;
}

.canyon-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.canyon-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.canyon-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, rgba(5,5,8,0.2) 30%, rgba(5,5,8,0.2) 70%, var(--bg-dark) 100%);
}

.layer-bg {
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 2;
    will-change: transform, opacity;
}

.massive-background-text {
    font-size: 11vw;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.035);
    line-height: 1;
}

.layer-center {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    will-change: transform;
}

.premium-showcase-object {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.main-showcase-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 50px rgba(0, 210, 255, 0.15));
}

.internal-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.2) 0%, transparent 70%);
    z-index: -1;
}

.layer-rain {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

.rain-overlay-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.drop {
    position: absolute;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--primary-neon));
    animation: fall linear infinite;
}

.drop:nth-child(1) { left: 10%; animation-duration: 1.2s; animation-delay: 0.5s; }
.drop:nth-child(2) { left: 25%; animation-duration: 0.9s; animation-delay: 0.1s; }
.drop:nth-child(3) { left: 40%; animation-duration: 1.5s; animation-delay: 0.8s; }
.drop:nth-child(4) { left: 55%; animation-duration: 1.1s; animation-delay: 0.3s; }
.drop:nth-child(5) { left: 70%; animation-duration: 1.3s; animation-delay: 0.6s; }
.drop:nth-child(6) { left: 85%; animation-duration: 0.8s; animation-delay: 0.2s; }

@keyframes fall {
    0% { transform: translateY(-100px); }
    100% { transform: translateY(120vh); }
}

/* NEON BADGES BEIM ASTRONAUTEN */
.layer-fg {
    z-index: 5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    justify-content: center;
}

.showcase-badge {
    position: absolute;
    padding: 14px 28px;
    border-radius: 20px;
    font-weight: 900;
    letter-spacing: 1px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(3, 3, 5, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    will-change: transform;
}

.showcase-badge span { color: #ffffff; }

.badge-icon-code { font-size: 1.6rem; color: #ff007a; text-shadow: 0 0 10px #ff007a; }
.badge-icon-seo { font-size: 1.6rem; color: #00d2ff; text-shadow: 0 0 10px #00d2ff; }

.badge-left-1 { top: 35%; left: 10%; }
.badge-right-1 { top: 45%; right: 10%; }
.badge-left-2 { bottom: 40%; left: 18%; border-color: rgba(0, 210, 255, 0.3); }
.badge-right-2 { bottom: 30%; right: 16%; border-color: rgba(255, 0, 122, 0.3); }

/* DER GROSSE LEUCHTENDE NEON-TEXT UNTEN */
.foreground-floating-statement {
    position: absolute;
    bottom: -10%; 
    font-size: 2.8rem;
    font-weight: 900;
    text-align: center;
    max-width: 800px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    background: linear-gradient(to bottom, #ffffff 40%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(0, 210, 255, 0.5), 0 0 50px rgba(0, 210, 255, 0.2);
    animation: textPulse 3s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes textPulse {
    0% { filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.3)); }
    100% { filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.7)); }
}

/* ==========================================
   08. REGIONAL FOCUS AREA (DÜSSELDORF/NEUSS)
   ========================================== */
.Minecraft-target-box {
    max-width: 1000px;
    margin: 0 auto;
    padding: 70px 80px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.minecraft-avatar-placeholder {
    position: absolute;
    top: 60px;
    right: 80px;
    width: 80px;
    height: 80px;
}

.floating-cube {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.4);
    border-radius: 8px;
    animation: spinCube 6s linear infinite;
}

@keyframes spinCube {
    0% { transform: rotate(0deg) translateY(0px); }
    50% { transform: rotate(180deg) translateY(-10px); }
    100% { transform: rotate(360deg) translateY(0px); }
}

.highlight-text-gradient {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 35px;
    background: linear-gradient(90deg, #ffffff, var(--primary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-box-text-content p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.premium-box-text-content p:last-child {
    margin-bottom: 0;
}

.premium-box-text-content p strong {
    color: var(--text-main);
    font-weight: 700;
}

/* ==========================================
   09. LEISTUNGEN & TECH SLIDER (LEISTUNGEN.HTML)
   ========================================== */
.technical-pillars { background: linear-gradient(to bottom, transparent, rgba(5,5,8,0.5)); }

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

.pillar-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px;
    text-align: left;
}

.pillar-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-neon);
    margin-bottom: 25px;
}

.pillar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.interactive-slider-box {
    max-width: 850px;
    margin: 50px auto 0 auto;
    padding: 50px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.slider-labels span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-darker);
    transition: color 0.3s ease;
}

.slider-labels span.active {
    color: var(--text-main);
}

#label-left.active { color: var(--accent-red); }
#label-right.active { color: var(--primary-neon); }

.range-container {
    width: 100%;
    margin-bottom: 45px;
}

.tech-toggle-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    outline: none;
}

.tech-toggle-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--text-main);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
    transition: transform 0.1s ease;
}

.tech-toggle-slider::-webkit-slider-thumb:active {
    transform: scale(1.2);
}

.tech-metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
}

.metric-card {
    background: rgba(0,0,0,0.2);
    padding: 24px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.02);
}

.metric-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.metric-value-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.metric-value {
    font-size: 1.3rem;
    font-weight: 900;
    white-space: nowrap;
    min-width: 180px;
}

.metric-bar-bg {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
}

.metric-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 10px;
    transition: width 0.2s ease-out, background 0.3s ease;
}

#codeValue { color: var(--accent-red); transition: color 0.3s ease; }

.workflow-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 50px;
    text-align: left;
}

.workflow-left h2 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 25px; }
.workflow-left p { font-size: 1.1rem; margin-bottom: 20px; }

.workflow-right { display: flex; flex-direction: column; gap: 35px; }
.workflow-step { display: flex; gap: 25px; align-items: flex-start; }

.step-num {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary-neon);
    background: rgba(0, 210, 255, 0.08);
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 210, 255, 0.15);
}

.workflow-step h4 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text-main); }

/* ==========================================
   10. HIGH-END CONVERSION HYBRID CONTACT FOOTER & FORMULAR
   ========================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; margin-top: 50px; }
.contact-info { text-align: left; }
.contact-info h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 20px; color: var(--text-main); }
.contact-info p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; line-height: 1.7; }

.info-item { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: var(--primary-neon);
}

.info-text h4 { font-size: 1rem; margin-bottom: 5px; color: var(--text-main); }
.info-text p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

.contact-form-box { background: var(--card-bg); border: 1px solid var(--card-border); padding: 50px; border-radius: 24px; text-align: left; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 10px; color: var(--text-muted); letter-spacing: 0.5px; }

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus { outline: none; border-color: var(--primary-neon); box-shadow: 0 0 15px rgba(0, 210, 255, 0.15); }
textarea.form-control { resize: vertical; min-height: 140px; }

.btn-submit {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    color: #000;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0, 210, 255, 0.3); }

/* Kontakt Footer Buttons */
.fast-lanes-button-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }

.premium-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 30px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1.05rem;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.01);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-contact-btn i { font-size: 1.6rem; transition: transform 0.3s ease; }
.premium-contact-btn span strong { display: block; font-size: 1.2rem; font-weight: 900; margin-top: 2px; }

.whatsapp-neon { border: 1px solid rgba(37, 211, 102, 0.15); }
.whatsapp-neon i { color: var(--accent-green); }
.whatsapp-neon:hover { background: rgba(37, 211, 102, 0.03); border-color: var(--accent-green); box-shadow: 0 15px 40px rgba(37, 211, 102, 0.08), 0 0 20px rgba(37, 211, 102, 0.02); transform: translateY(-3px); }
.whatsapp-neon:hover i { transform: scale(1.1) rotate(5deg); }

.email-neon { border: 1px solid rgba(0, 210, 255, 0.15); }
.email-neon i { color: var(--primary-neon); }
.email-neon:hover { background: rgba(0, 210, 255, 0.03); border-color: var(--primary-neon); box-shadow: 0 15px 40px rgba(0, 210, 255, 0.08), 0 0 20px rgba(0, 210, 255, 0.02); transform: translateY(-3px); }
.email-neon:hover i { transform: scale(1.1) translateY(-2px); }

/* FEHLENDES KONTAKT-FORMULAR (STANDALONE WIEDER HERGESTELLT) */
.standalone-form-box { max-width: 800px; margin: 0 auto 50px auto; padding: 50px !important; text-align: left; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 24px; backdrop-filter: blur(20px); }
.standalone-form-box h3 { font-size: 2rem; margin-bottom: 10px; font-weight: 900; color: var(--text-main); }
.form-desc { color: var(--text-muted); font-size: 1rem; margin-bottom: 40px; }

.clean-form-layout { display: flex; flex-direction: column; gap: 30px; }
.form-field { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.form-field label { font-size: 0.95rem; font-weight: 700; color: var(--primary-neon); letter-spacing: 0.5px; text-transform: uppercase; }

.form-field input, .form-field textarea {
    width: 100% !important;
    box-sizing: border-box;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.form-field input:focus, .form-field textarea:focus { border-color: var(--primary-neon); background: rgba(255, 255, 255, 0.04); box-shadow: 0 0 20px rgba(0, 210, 255, 0.15); }

.form-submit-btn { width: 100%; padding: 18px; font-size: 1.1rem; font-weight: 700; cursor: pointer; border: none; margin-top: 10px; border-radius: 12px; background: var(--primary-neon); color: #000; transition: all 0.3s ease; }
.form-submit-btn:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(0, 210, 255, 0.4); }

.agency-promise-box-standalone { max-width: 800px; margin: 0 auto; padding: 45px 50px !important; text-align: left; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 24px; }
.agency-promise-box-standalone h4 { font-size: 1.4rem; font-weight: 900; margin-bottom: 30px; color: var(--text-main); }
.promise-step { display: flex; gap: 20px; align-items: center; margin-bottom: 25px; }
.promise-step:last-child { margin-bottom: 0; }
.promise-badge { width: 36px; height: 36px; background: rgba(0, 210, 255, 0.1); border: 1px solid rgba(0, 210, 255, 0.3); border-radius: 10px; color: var(--primary-neon); font-weight: 900; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 15px rgba(0, 210, 255, 0.15); }
.promise-step p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; }
.promise-step p strong { color: var(--text-main); }

/* ==========================================
   11. CUSTOM CODE VS BAUKASTEN PAGE STYLES
   ========================================== */
.comparison-modules-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: -20px;
}

.architecture-card {
    padding: 50px 40px;
    border-radius: 28px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.loose-card-bad {
    background: rgba(255, 74, 74, 0.01);
    border: 1px solid rgba(255, 74, 74, 0.08);
}

.loose-card-bad .arch-status-icon {
    color: var(--accent-red);
    font-size: 2rem;
}

.loose-card-bad h4 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accent-red);
}

.arch-subtitle {
    font-size: 0.95rem;
    color: var(--text-darker);
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.loose-card-good {
    border-color: rgba(0, 210, 255, 0.15) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 210, 255, 0.05);
}

.loose-card-good .arch-status-icon {
    color: var(--primary-neon);
    font-size: 2rem;
}

.loose-card-good h4 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-main);
}

.arch-subtitle-good {
    font-size: 0.95rem;
    color: var(--primary-neon);
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.arch-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.arch-bullets {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.arch-bullet-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.arch-bullet-item i {
    font-size: 1.4rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.loose-card-bad .arch-bullet-item i {
    color: rgba(255, 74, 74, 0.4);
}

.arch-bullet-item p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.arch-bullet-item p strong {
    color: var(--text-main);
}

.business-insight-box {
    max-width: 900px;
    margin: 50px auto 0 auto;
    padding: 60px 80px !important;
    text-align: left;
}

.business-insight-box h3 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffffff, var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.business-insight-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.business-insight-box p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   12. INTERACTIVE EFFECTS PAGE STYLES (3D TILT)
   ========================================== */
.execution-box {
    max-width: 1100px;
    margin: 40px auto 0 auto;
    padding: 60px 60px !important;
}

.execution-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.exec-left {
    text-align: left;
}

.exec-left h3 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-top: 10px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.exec-left p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.exec-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.tilt-container-box {
    width: 100%;
    max-width: 360px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    cursor: crosshair;
}

.interactive-preview-card {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, border-color 0.3s ease;
}

.tilt-container-box:hover .interactive-preview-card {
    border-color: var(--primary-neon);
}

.preview-header {
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.preview-body-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    transform: translateZ(30px);
}

.badge-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.badge-icon-wrap i {
    font-size: 1.8rem;
    color: var(--primary-neon);
}

.preview-body-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.preview-body-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.live-pulse-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.15);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--primary-neon);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-neon);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-neon);
    animation: simplePulse 1.5s infinite alternate;
}

@keyframes simplePulse {
    0% { opacity: 0.4; }
    100% { opacity: 1; transform: scale(1.2); }
}

/* ==========================================
   13. SEO HOVER EFFEKTE (STRATEGIE-KÄSTEN)
   ========================================== */
.seo-pillars .pillar-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.seo-pillars .pillar-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(0, 210, 255, 0.25) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 210, 255, 0.03) !important;
}

.seo-pillars .pillar-card:hover .pillar-icon-box {
    border-color: #00d2ff !important;
    background: rgba(0, 210, 255, 0.15) !important;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
    color: #ffffff !important;
}

.seo-pillars .pillar-icon-box i {
    transition: all 0.3s ease;
}

.seo-pillars .pillar-card:hover .pillar-icon-box i {
    transform: scale(1.1);
}

/* ==========================================
   14. NEXT-GEN SEO PAGE STYLES (FEHLERFREI)
   ========================================== */
.seo-pillars {
    background: linear-gradient(to bottom, transparent, rgba(5, 5, 8, 0.3));
}

.dashboard-insight .execution-box {
    max-width: 1100px;
    margin: 40px auto 0 auto;
    padding: 60px 60px !important;
}

.seo-dashboard-card {
    max-width: 380px !important;
    height: auto !important;
    border-color: rgba(37, 211, 102, 0.15) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.seo-dashboard-card:hover {
    border-color: #25d366 !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(37, 211, 102, 0.2) !important;
    transform: translateY(-5px) scale(1.02);
}

.dashboard-green-dot {
    background: #25d366 !important;
}

.dashboard-header-title {
    font-size: 0.75rem;
    color: #52525b;
    font-weight: 700;
}

.seo-dashboard-body {
    align-items: flex-start !important;
    text-align: left !important;
    padding: 25px !important;
}

.dashboard-stat-label {
    font-size: 0.8rem;
    color: #8a8a93;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-stat-value {
    font-size: 2.2rem !important;
    font-weight: 900;
    margin: 5px 0 !important;
    color: #25d366;
}

.dashboard-stat-desc {
    font-size: 0.85rem !important;
    color: #52525b !important;
    margin-bottom: 20px !important;
}

.dashboard-chart-wrapper {
    display: flex;
    gap: 8px;
    width: 100%;
    height: 70px;
    align-items: flex-end;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.01);
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.chart-bar {
    flex: 1;
    border-radius: 3px;
    background: #52525b;
    transform-origin: bottom;
    animation: growSeoBars 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bar-1 { height: 20%; animation-delay: 0.1s; }
.bar-2 { height: 35%; animation-delay: 0.2s; }
.bar-3 { height: 15%; animation-delay: 0.3s; }
.bar-4 { height: 60%; background: #00d2ff; animation-delay: 0.4s; }
.bar-5 { height: 85%; background: #25d366; box-shadow: 0 0 15px rgba(37, 211, 102, 0.4); animation-delay: 0.5s; }
.bar-6 { height: 100%; background: #25d366; box-shadow: 0 0 15px rgba(37, 211, 102, 0.4); animation-delay: 0.6s; }

@keyframes growSeoBars {
    0% { transform: scaleY(0); opacity: 0; }
    100% { transform: scaleY(1); opacity: 1; }
}

.dashboard-pulse-badge {
    background: rgba(37, 211, 102, 0.05) !important;
    border-color: rgba(37, 211, 102, 0.15) !important;
    color: #25d366 !important;
    padding: 8px 16px !important;
}

.dashboard-pulse-dot {
    background: #25d366 !important;
    box-shadow: 0 0 8px #25d366 !important;
}

/* ==========================================
   15. COMPREHENSIVE RESPONSIVE VIEW ENGINE
   ========================================== */
@media (max-width: 1024px) {
    .gradient-text-main { font-size: 3.2rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .Minecraft-target-box { padding: 50px; }
    .minecraft-avatar-placeholder { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 968px) {
    .comparison-modules-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .business-insight-box { padding: 40px !important; }
}

@media (max-width: 880px) {
    .execution-split { grid-template-columns: 1fr; gap: 40px; }
    .execution-box { padding: 40px 30px !important; }
    .tilt-container-box { max-width: 100%; height: 280px; }
}

@media (max-width: 768px) {
    .navbar { padding: 20px 24px; }
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(82vw, 340px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 30px;
        padding: 90px 40px 40px;
        background: rgba(5, 5, 8, 0.97);
        backdrop-filter: blur(24px);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: -30px 0 60px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 250;
    }
    .nav-links.nav-open { transform: translateX(0); }
    .nav-links a { font-size: 1.15rem; }
    .nav-links .btn-nav { width: 100%; text-align: center; padding: 14px 22px; }
    .gradient-text-main { font-size: 2.5rem; }
    .massive-title-gradient { font-size: 2.4rem; }
    .services-grid { grid-template-columns: 1fr; }
    .pillars-grid { grid-template-columns: 1fr; gap: 24px; }
    .workflow-split { grid-template-columns: 1fr; gap: 40px; }
    .fast-lanes-button-wrapper { grid-template-columns: 1fr; gap: 16px; }
    .premium-contact-btn { padding: 20px; }
    .foreground-floating-statement { font-size: 2rem; bottom: -50px; }
}
/* ==========================================
   16. SPECIFIC STYLES FOR LEISTUNGEN.HTML
   ========================================== */

/* Hover-Effekt für die 3 oberen Haupt-Leistungs-Kästen */
.leistungen-page-pillars .pillar-card,
main .pillar-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
}

.leistungen-page-pillars .pillar-card:hover,
main .pillar-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(0, 210, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 210, 255, 0.04) !important;
}

/* Leucht-Effekt für die Icons auf der Leistungsseite bei Mouse-Hover */
.leistungen-page-pillars .pillar-card:hover .pillar-icon-box,
main .pillar-card:hover .pillar-icon-box {
    border-color: var(--primary-neon) !important;
    background: rgba(0, 210, 255, 0.12) !important;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.25) !important;
    color: #ffffff !important;
}

.pillar-icon-box i {
    transition: transform 0.3s ease !important;
}

main .pillar-card:hover .pillar-icon-box i {
    transform: scale(1.1);
}

/* ==========================================
   17. WORKFLOW / SKALIERUNG SEKTION RECHTE SEITE
   ========================================== */
.workflow-step {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 15px;
    border-radius: 16px;
    border: 1px solid transparent;
}

/* Wenn man über die Workflow-Schritte (01, 02, 03) fährt */
.workflow-step:hover {
    background: rgba(255, 255, 255, 0.01);
    border-color: rgba(255, 255, 255, 0.03);
    padding-left: 20px; /* Schiebt den Text smooth nach rechts */
}

.workflow-step .step-num {
    transition: all 0.3s ease !important;
}

.workflow-step:hover .step-num {
    background: rgba(0, 210, 255, 0.15) !important;
    border-color: var(--primary-neon) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

/* ==========================================
   18. MOBILE-NAVIGATION (HAMBURGER)
   ========================================== */
.nav-toggle {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 300;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 0 auto;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hintergrund-Scrollen sperren, wenn Menü offen ist */
body.nav-locked { overflow: hidden; }

/* ==========================================
   19. FOOTER
   ========================================== */
.site-footer {
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 5, 8, 0.6);
    backdrop-filter: blur(10px);
    padding: 70px 0 30px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand .logo { font-size: 1.3rem; font-weight: 900; margin-bottom: 16px; }
.footer-brand .logo span { color: var(--primary-neon); }
.footer-brand p { max-width: 320px; font-size: 0.92rem; }
.footer-col h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--primary-neon); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 55px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-darker);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--text-muted); text-decoration: none; }
.footer-legal a:hover { color: var(--primary-neon); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   20. RECHTS- / TEXTSEITEN (Impressum, Datenschutz, Danke)
   ========================================== */
.legal-page { padding: 160px 0 80px; position: relative; z-index: 5; }
.legal-page .container { max-width: 880px; }
.legal-page h1 { font-size: 2.6rem; margin-bottom: 12px; }
.legal-page h1 span { color: var(--primary-neon); }
.legal-page h2 {
    font-size: 1.35rem;
    margin: 40px 0 14px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-main);
}
.legal-page h3 { font-size: 1.05rem; margin: 24px 0 10px; color: var(--text-main); }
.legal-page p, .legal-page li { color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; margin-bottom: 14px; }
.legal-page a { color: var(--primary-neon); text-decoration: none; }
.legal-page a:hover { text-decoration: underline; }
.legal-page .lead { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 30px; }
.legal-placeholder {
    background: rgba(0, 210, 255, 0.08);
    border: 1px dashed rgba(0, 210, 255, 0.4);
    border-radius: 6px;
    padding: 1px 8px;
    color: var(--primary-neon);
    font-weight: 700;
    white-space: nowrap;
}

/* Danke-Seite */
.thankyou-hero { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; z-index: 5; }
.thankyou-hero .check-badge {
    width: 90px; height: 90px; margin: 0 auto 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.4);
    font-size: 2.6rem; color: var(--accent-green);
    box-shadow: 0 0 40px rgba(37, 211, 102, 0.15);
}
/* ==========================================
   21. <picture>-WRAPPER (WebP mit Fallback)
   ========================================== */
.canyon-image-container picture,
.premium-showcase-object picture { display: block; width: 100%; height: 100%; }
.premium-showcase-object picture { height: auto; }

/* ==========================================
   22. REFERENZEN / PORTFOLIO
   ========================================== */
.work-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0 0 50px;
}
.work-filter button {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    padding: 10px 20px;
    cursor: pointer;
    transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.work-filter button:hover { color: var(--text-main); border-color: rgba(0, 210, 255, 0.4); }
.work-filter button[aria-pressed="true"] {
    color: var(--bg-dark);
    background: var(--primary-neon);
    border-color: var(--primary-neon);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 34px;
}
.work-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s, box-shadow 0.35s;
}
.work-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 210, 255, 0.35);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 210, 255, 0.06);
}
.work-shot {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0a0a0f;
    border-bottom: 1px solid var(--card-border);
}
.work-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.work-card:hover .work-shot img { transform: scale(1.04); }
.work-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 55%, rgba(5, 5, 8, 0.75) 100%);
    pointer-events: none;
}
.work-branche {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary-neon);
    background: rgba(5, 5, 8, 0.7);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 100px;
    padding: 6px 14px;
    backdrop-filter: blur(8px);
}
.work-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.work-body h3 { font-size: 1.3rem; margin-bottom: 6px; }
.work-ort {
    font-size: 0.8rem;
    color: var(--text-darker);
    letter-spacing: 0.4px;
    margin-bottom: 14px;
    display: block;
}
.work-body p { font-size: 0.94rem; margin-bottom: 18px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.work-tags span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 5px 10px;
}
.work-note {
    max-width: 760px;
    margin: 50px auto 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-darker);
    line-height: 1.6;
}

/* ==========================================
   23. PREISE
   ========================================== */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    align-items: stretch;
}
.price-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 38px 30px 34px;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s, border-color 0.35s;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(0, 210, 255, 0.3); }
.price-card.featured {
    border-color: rgba(0, 210, 255, 0.45);
    box-shadow: 0 0 60px rgba(0, 210, 255, 0.08);
}
.price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--bg-dark);
    background: var(--primary-neon);
    border-radius: 100px;
    padding: 6px 16px;
    white-space: nowrap;
}
.price-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.price-card .price-claim { font-size: 0.88rem; color: var(--text-darker); margin-bottom: 24px; }
.price-tag {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--card-border);
}
.price-tag .from { font-size: 0.85rem; color: var(--text-darker); }
.price-tag .amount {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #ffffff, var(--primary-neon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.price-list { list-style: none; margin-bottom: 30px; }
.price-list li {
    position: relative;
    padding: 0 0 12px 28px;
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.price-list li::before {
    content: "\eb7b";
    font-family: "remixicon";
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--primary-neon);
    font-size: 1.05rem;
}
.price-list li.off { color: var(--text-darker); }
.price-list li.off::before { content: "\eb99"; color: var(--text-darker); }
.price-card .btn-primary-glow { margin-top: auto; width: 100%; text-align: center; }

.price-hint {
    max-width: 820px;
    margin: 55px auto 0;
    padding: 26px 30px;
    background: rgba(0, 210, 255, 0.04);
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: 16px;
}
.price-hint h4 { font-size: 1.05rem; margin-bottom: 10px; }
.price-hint p { font-size: 0.9rem; margin-bottom: 8px; }
.price-hint p:last-child { margin-bottom: 0; }

/* Laufende Kosten / Tabelle */
.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 26px;
    font-size: 0.94rem;
}
.cost-table th, .cost-table td {
    text-align: left;
    padding: 15px 14px;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-muted);
}
.cost-table th { color: var(--text-main); font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; }
.cost-table td:last-child, .cost-table th:last-child { text-align: right; white-space: nowrap; }
.cost-table tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ==========================================
   24. FAQ (Accordion)
   ========================================== */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(0, 210, 255, 0.3); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 58px 22px 24px;
    position: relative;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text-main);
    transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary-neon); }
.faq-item summary::after {
    content: "\ea4e";
    font-family: "remixicon";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-neon);
    font-size: 1.2rem;
    transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-item .faq-answer { padding: 0 24px 24px; }
.faq-item .faq-answer p { margin-bottom: 12px; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }
.faq-item .faq-answer a { color: var(--primary-neon); text-decoration: none; }
.faq-item .faq-answer a:hover { text-decoration: underline; }

/* ==========================================
   25. DSGVO-EINWILLIGUNG IM FORMULAR
   ========================================== */
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 4px 0 26px;
}
.form-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary-neon);
    cursor: pointer;
}
.form-consent label {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-muted);
    cursor: pointer;
}
.form-consent a { color: var(--primary-neon); text-decoration: underline; }
.form-required { color: var(--primary-neon); }

/* ==========================================
   26. 404
   ========================================== */
.error-hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 5;
}
.error-code {
    font-size: clamp(6rem, 20vw, 13rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.05em;
    background: linear-gradient(90deg, #ffffff 10%, var(--primary-neon) 60%, var(--secondary-neon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 18px;
}
.error-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 34px;
}
.error-links a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    padding: 11px 22px;
    transition: color 0.25s, border-color 0.25s;
}
.error-links a:hover { color: var(--text-main); border-color: rgba(0, 210, 255, 0.4); }

/* ==========================================
   27. BARRIEREFREIHEIT: FOKUS & SKIP-LINK
   ========================================== */
:focus-visible {
    outline: 2px solid var(--primary-neon);
    outline-offset: 3px;
    border-radius: 4px;
}
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--primary-neon);
    color: var(--bg-dark);
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 0 0 10px 0;
    text-decoration: none;
}
.skip-link:focus {
    left: 0;
}

/* ==========================================
   28. REDUZIERTE BEWEGUNG (prefers-reduced-motion)
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .bg-video { display: none; }
    .video-container { background: #050508 center/cover no-repeat url("hero-poster.jpg"); }
    .rain-overlay-container, .floating-cube { display: none; }
    .parallax-scroll-track { height: auto !important; }
    .parallax-sticky-window { position: relative !important; height: auto !important; min-height: 70vh; }
    .parallax-layer { transform: none !important; }
    .work-card:hover, .price-card:hover { transform: none; }
}

/* ==========================================
   29. RESPONSIVE FÜR DIE NEUEN SEITEN
   ========================================== */
@media (max-width: 900px) {
    .work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .work-body { padding: 22px 20px 24px; }
    .price-card { padding: 34px 24px 30px; }
    .faq-item summary { padding: 18px 50px 18px 18px; font-size: 0.96rem; }
    .faq-item .faq-answer { padding: 0 18px 20px; }
    .work-filter { gap: 8px; }
    .work-filter button { padding: 9px 15px; font-size: 0.8rem; }
}

/* ==========================================
   30. HILFSKLASSEN & BASIS-BUTTON
   ========================================== */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Wurde bisher nur zusammen mit .form-submit-btn benutzt und hatte keine
   eigene Definition – jetzt eigenstaendig verwendbar (Preis-Karten usw.). */
.btn-primary-glow {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    padding: 16px 28px;
    border: none;
    border-radius: 12px;
    background: var(--primary-neon);
    color: #000;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
}
.btn-primary-glow:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================
   31. WORKFLOW-SCHRITTE MIT ICON STATT NUMMER
   ========================================== */
.workflow-step .step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 50px;
    height: 42px;
    align-self: flex-start;
}
.workflow-step .step-num i { font-size: 1.2rem; line-height: 1; }

/* Vier Karten sollen als 2x2 stehen, nicht 3 + 1 einsame Karte */
.pillars-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px) {
    .pillars-grid.grid-4 { grid-template-columns: 1fr; }
}

/* Vergleichstabelle: alle Spalten linksbuendig (anders als die Kostentabelle) */
.cost-table.compare td:last-child,
.cost-table.compare th:last-child { text-align: left; }
.cost-table.compare th[scope="row"] { color: var(--text-main); font-size: 0.94rem; letter-spacing: 0; text-transform: none; font-weight: 700; }

/* Startseite: vier Service-Karten als 2x2 statt 3 + 1 einsame Karte */
.services-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px) {
    .services-grid.grid-4 { grid-template-columns: 1fr; }
}

/* ==========================================
   32. "AUF ANFRAGE" STATT BETRAG
   ========================================== */
.price-tag .on-request {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #ffffff, var(--primary-neon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.price-tag .on-request-note {
    display: block;
    font-size: 0.8rem;
    color: var(--text-darker);
    margin-top: 6px;
    -webkit-text-fill-color: initial;
}
.price-tag.request { flex-direction: column; align-items: flex-start; gap: 0; }

/* ==========================================
   33. MOBILE-FIX: KEIN SEITLICHES WEGSCROLLEN
   ==========================================
   Problem (gemeldet auf iPhone): Die Seite liess sich seitlich schieben
   und wirkte herausgezoomt. Ursache waren die dekorativen Glow-Orbs, die
   mit negativen Offsets ueber den Viewport hinausragen (.orb-2 lag mit
   right:-200px bei 600px Breite 200px daneben) — gemessen 575px Inhalt
   auf einem 375px breiten Display.

   "overflow-x: clip" am body faengt das nur in Desktop-Browsern ab;
   iOS Safari scrollt trotzdem. Deshalb wird der Ueberhang hier an der
   Wurzel beseitigt: Auf schmalen Displays sitzen die Orbs vollstaendig
   innerhalb des Viewports. Bewusst KEIN "overflow-x: hidden" am html-
   Element, weil das den position:sticky-Parallax der Startseite
   zerstoeren wuerde.
   ========================================== */
@media (max-width: 768px) {
    .glow-orb { filter: blur(90px); }
    .orb-1 { width: 240px; height: 240px; top: -40px; left: 0; }
    .orb-2 { width: 260px; height: 260px; top: 40%; right: 0; }
    .orb-3 { width: 220px; height: 220px; bottom: -40px; left: 10%; }

    /* Sicherheitsnetz: nichts darf breiter als der Bildschirm werden */
    .container,
    .hero-content { max-width: 100%; }
}

/* ------------------------------------------
   33b. Mobilmenue: Ueberhang beseitigen
   ------------------------------------------
   Der eigentliche Hauptgrund fuer das seitliche Wegscrollen: Das
   geschlossene Offcanvas-Menue stand per "transform: translateX(100%)"
   rechts NEBEN dem Viewport. Bei width:min(82vw,340px) sind das auf
   einem 375px-Display 308px Ueberhang — gemessen 683px Dokumentbreite
   auf allen Unterseiten. Ein position:fixed-Element laesst sich weder
   vom body noch von einem Elternteil wegclippen, deshalb muss es im
   geschlossenen Zustand INNERHALB des Viewports bleiben.

   Loesung: Das Panel bleibt bei right:0 stehen und wird ueber Deckkraft
   plus eine nach innen gerichtete Skalierung ein- und ausgeblendet.
   visibility+pointer-events verhindern, dass unsichtbare Links per
   Tastatur oder Touch erreichbar bleiben.
   ------------------------------------------ */
@media (max-width: 768px) {
    .nav-links {
        transform: scale(0.97);
        transform-origin: right center;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease,
                    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    visibility 0.35s;
    }
    .nav-links.nav-open {
        transform: scale(1);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}
