/* ============================================
   SIWI KI - Main Stylesheet
   ============================================ */

/* CSS-Variablen */
:root {
    --primary-orange: #FFA500;
    --primary-orange-dark: #FF8C00;
    --dark-bg: #0a0e1a;
    --darker-bg: #050810;
    --card-bg: #1a1f3a;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Effects */
.glass {
    background: rgba(26, 31, 58, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 165, 0, 0.1);
}

.glass-strong {
    background: rgba(26, 31, 58, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 165, 0, 0.2);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 14, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s;
}

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

.nav-links a:hover {
    color: var(--primary-orange);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   HERO SECTION - Spline 3D Hintergrund
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    height: 100svh; /* Mobile: exkl. Browser-Chrome (URL-Leiste) */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background-color: var(--darker-bg);
    max-width: none;
    width: 100%;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: 1;
}

/* Gradient: oben transparent (Roboter sichtbar) → unten dunkel (Text lesbar) */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(5, 8, 16, 0.05) 40%,
        rgba(10, 14, 26, 0.70) 72%,
        rgba(10, 14, 26, 0.94) 100%);
}

.tubes-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.85;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 720px;
    padding: 0 2rem 3.5rem;
    display: flex;
    justify-content: center;
    animation: fadeInUp 1s ease;
}

.hero-glass-card {
    width: 100%;
    background: rgba(5, 8, 16, 0.42);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 165, 0, 0.18);
    border-top: 1px solid rgba(255, 165, 0, 0.35);
    border-radius: 16px;
    padding: 1.8rem 2.5rem;
    text-align: center;
    box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.03);
}

/* Tablet / kleines Laptop (769px – 1200px) */
@media (min-width: 769px) and (max-width: 1200px) {
    .hero-content {
        max-width: 560px;
        padding: 0 2rem 2.5rem;
    }
    .hero-glass-card {
        padding: 1.4rem 2rem;
    }
    .hero h1 {
        font-size: 1.85rem;
        margin-bottom: 0.5rem;
    }
    .hero .subheadline {
        font-size: 0.9rem;
    }
    .hero .region {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    .cta-button {
        padding: 0.65rem 1.7rem;
        font-size: 0.88rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-canvas {
        display: none;
    }
    /* Three.js setzt Inline-Styles: !important erzwingt korrekte Größe */
    .tubes-canvas {
        width: 100% !important;
        height: 100% !important;
        max-width: 100vw !important;
        left: 0 !important;
        top: 0 !important;
    }
    .hero {
        background: var(--darker-bg);
    }
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem 2.5rem;
        justify-content: center;
    }
    .hero-glass-card {
        max-width: 88%;
        margin: 0 auto;
        background: rgba(5, 8, 16, 0.35);
        padding: 1.2rem 1.5rem;
        border-top: 1px solid rgba(255, 165, 0, 0.30);
    }
    .hero h1 {
        font-size: 1.55rem;
        margin-bottom: 0.4rem;
    }
    .hero .subheadline {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    .hero .region {
        font-size: 0.75rem;
        margin-bottom: 0.9rem;
    }
    .cta-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    line-height: 1.15;
}

.hero .highlight {
    color: var(--primary-orange);
    display: inline-block;
}

.hero .subheadline {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
    font-weight: 300;
}

.hero .region {
    font-size: 0.85rem;
    color: var(--primary-orange);
    margin-bottom: 1.2rem;
    font-weight: 500;
    opacity: 0.85;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 165, 0, 0.6);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    color: var(--primary-orange);
    font-size: 2rem;
}

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

/* ============================================
   SECTIONS
   ============================================ */

section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

/* About */
.about {
    background-color: var(--card-bg);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-orange);
    font-weight: 700;
    text-align: left;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: left;
}

.about-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 165, 0, 0.2);
}

/* Services */
.services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-orange);
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(26, 31, 58, 0.4);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 165, 0, 0.1);
    transition: all 0.3s;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 165, 0, 0.25);
    border-color: rgba(255, 165, 0, 0.3);
}

.service-icon {
    color: var(--primary-orange);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 700;
}

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

.service-benefits {
    list-style: none;
    margin-top: 1.5rem;
}

.service-benefits li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.service-benefits li:before {
    content: "→";
    color: var(--primary-orange);
    font-weight: bold;
}

/* Why Me */
.why-me {
    background-color: var(--card-bg);
}

.why-me h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-orange);
    font-weight: 700;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
}

.why-icon {
    color: var(--primary-orange);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-item h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--text-light);
    font-weight: 700;
}

.why-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--dark-bg) 100%);
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-orange);
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Contact */
.contact {
    background-color: var(--darker-bg);
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-orange);
    font-weight: 700;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: rgba(26, 31, 58, 0.4);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 165, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 165, 0, 0.2);
    background-color: rgba(10, 14, 26, 0.5);
    color: var(--text-light);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

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

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

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--primary-orange);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-orange);
    font-weight: 700;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(26, 31, 58, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 165, 0, 0.1);
}

.contact-detail i {
    color: var(--primary-orange);
    font-size: 1.5rem;
}

.contact-detail-text {
    color: var(--text-light);
}

.contact-detail-text a {
    color: var(--primary-orange);
    text-decoration: none;
}

.contact-detail-text a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 165, 0, 0.1);
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(20px);
    margin: 3% auto;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 165, 0, 0.2);
    width: 90%;
    max-width: 800px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #1a1f3a;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 4px;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-orange);
}

.modal h2 {
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.modal h3 {
    color: var(--text-light);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.modal h4 {
    color: var(--text-light);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.modal p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   USE CASES SECTION
   ============================================ */

.use-cases {
    background-color: var(--darker-bg);
    padding: 6rem 2rem;
}

.use-cases-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.use-cases-header {
    text-align: center;
    margin-bottom: 3rem;
}

.uc-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-orange);
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.25);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.use-cases-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.use-cases-header h2 span {
    color: var(--primary-orange);
}

.uc-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Bar */
.uc-filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.uc-filter-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.uc-filter-btn:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background: rgba(255, 165, 0, 0.06);
}

.uc-filter-btn.active {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: #000;
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(255, 165, 0, 0.35);
}

/* Card Grid */
.uc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Use Case Card */
.uc-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 165, 0, 0.08);
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    animation: uc-fadein 0.4s ease both;
}

.uc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 165, 0, 0.35);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.uc-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    background: rgba(255, 165, 0, 0.12);
    color: var(--primary-orange);
    margin-bottom: 0.8rem;
}

.uc-icon {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    line-height: 1;
}

.uc-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.uc-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.uc-cta-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.uc-cta-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.uc-cta-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

@keyframes uc-fadein {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   3-KONTAKTWEGE
   ============================================ */

.contact-ways {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 5rem auto;
}

.contact-way {
    background: var(--card-bg);
    border: 1px solid rgba(255, 165, 0, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-way:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 165, 0, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.contact-way-featured {
    border-color: rgba(255, 165, 0, 0.35);
    background: linear-gradient(160deg, rgba(255,165,0,0.07) 0%, var(--card-bg) 60%);
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.1);
}

.contact-way-badge {
    position: absolute;
    top: -0.6rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
}

.contact-way-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.contact-way-icon i {
    font-size: 1.3rem;
    color: var(--primary-orange);
}

.contact-way h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.6rem;
}

.contact-way p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.4rem;
}

.contact-way-btn {
    display: inline-block;
    padding: 0.55rem 1.4rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    background: transparent;
    transition: all 0.25s ease;
}

.contact-way-btn:hover,
.contact-way-featured .contact-way-btn {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
    color: #000;
    border-color: transparent;
}

.contact-way-featured .contact-way-btn:hover {
    opacity: 0.85;
}

/* Kontakt-Divider */
.contact-divider {
    text-align: center;
    padding: 2.5rem 0 3rem;
    position: relative;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 130px);
    height: 1px;
    background: rgba(255, 165, 0, 0.15);
}

.contact-divider::before { left: 0; }
.contact-divider::after  { right: 0; }

.contact-divider span {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--darker-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-top: 1px solid rgba(255, 165, 0, 0.1);
    }

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

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .subheadline {
        font-size: 1.1rem;
    }

    .hero .region {
        font-size: 1rem;
    }

    .hero-glass-card {
        padding: 2rem 1.5rem;
    }

    .hero-content {
        padding: 0 1.5rem 3rem 1.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    section {
        padding: 4rem 1.5rem;
    }

    .contact-ways {
        grid-template-columns: 1fr;
    }

    .uc-filter-bar {
        gap: 0.4rem;
    }

    .uc-filter-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }

    .use-cases-header h2 {
        font-size: 1.8rem;
    }

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

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

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0d1122;
    border-top: 2px solid var(--primary-orange);
    z-index: 10000;
    padding: 1rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner-inner p {
    margin: 0;
    flex: 1;
    font-size: 0.88rem;
    color: var(--text-muted);
    min-width: 200px;
    line-height: 1.6;
}

.cookie-banner-inner p a {
    color: var(--primary-orange);
    text-decoration: underline;
}

.cookie-banner-btns {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1.3rem;
    border: none;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.cookie-btn-accept {
    background: var(--primary-orange);
    color: #000;
}

.cookie-btn-accept:hover {
    background: var(--primary-orange-dark);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(160, 160, 160, 0.4);
}

.cookie-btn-decline:hover {
    color: var(--text-light);
    border-color: var(--text-muted);
}

/* Matomo Opt-Out Bereich im Datenschutz-Modal */
.matomo-optout-section {
    margin: 0.75rem 0 1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .cookie-banner-btns {
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}
