/* Futuristische Card für Tech-Stack */
.futuristic-techstack-card {
    background: rgba(255,255,255,0.82);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(0,174,239,0.13), 0 1.5px 0.5px rgba(0,174,239,0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid #e5e7eb;
    position: relative;
    transition: box-shadow 0.22s, border 0.22s;
}
.futuristic-techstack-card:hover {
    box-shadow: 0 16px 48px rgba(0,174,239,0.18), 0 2px 8px rgba(0,174,239,0.13);
    border-color: #00AEEF44;
}
.futuristic-techstack-card h2 {
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #1f2937;
    text-shadow: 0 0 8px #00AEEF22;
}
.futuristic-techstack-card i.text-primary {
    color: #00AEEF !important;
    text-shadow: 0 0 12px #00AEEF55, 0 0 2px #fff;
}
.futuristic-techstack-card h4 {
    font-size: 1.08rem;
    font-weight: 600;
    margin-top: 2.1rem;
    margin-bottom: 0.7rem;
    color: #0095D1;
    letter-spacing: 0.01em;
    text-shadow: 0 0 6px #00AEEF22;
}
.futuristic-techstack-card h4:first-of-type {
    margin-top: 0.5rem;
}
.futuristic-techstack-card p.text-muted {
    color: #4b5563 !important;
    font-size: 1.01rem;
    line-height: 1.7;
    margin-bottom: 0.2rem;
}
@media (max-width: 767px) {
    .futuristic-techstack-card {
        padding: 1.2rem 0.7rem 1.2rem 0.7rem !important;
    }
    .futuristic-techstack-card h2 {
        font-size: 1.35rem;
    }
    .futuristic-techstack-card h4 {
        font-size: 1.01rem;
        margin-top: 1.5rem;
    }
    .futuristic-techstack-card p.text-muted {
        font-size: 0.98rem;
    }
}
/* Futuristische Tech-Stack Tabelle & Karten */
.futuristic-tech-table table {
    background: rgba(255,255,255,0.7);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,174,239,0.10), 0 1.5px 0.5px rgba(0,174,239,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-collapse: separate;
    margin-bottom: 0;
}
.futuristic-tech-table th {
    background: linear-gradient(90deg, #00AEEF 0%, #0095D1 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.08rem;
    border: none;
    letter-spacing: 0.03em;
    padding: 1rem 0.75rem;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,174,239,0.08);
}
.futuristic-tech-table td {
    background: rgba(255,255,255,0.85);
    color: #1F2937;
    font-size: 1.01rem;
    border: none;
    padding: 0.85rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #e5e7eb;
}
.futuristic-tech-table tr:last-child td {
    border-bottom: none;
}
.futuristic-tech-table i.text-primary {
    color: #00AEEF !important;
    text-shadow: 0 0 8px #00AEEF44, 0 0 2px #fff;
    font-size: 1.15em;
}
.futuristic-tech-table tr:hover td {
    background: rgba(0,174,239,0.07);
    transition: background 0.2s;
}

/* Mobile Karten */
.futuristic-tech-card {
    background: rgba(255,255,255,0.85);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,174,239,0.10), 0 1.5px 0.5px rgba(0,174,239,0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #e5e7eb;
    padding: 1.1rem 1.2rem 0.9rem 1.2rem;
    margin-bottom: 1.1rem;
    transition: box-shadow 0.2s, border 0.2s;
}
.futuristic-tech-card i.text-primary {
    color: #00AEEF !important;
    text-shadow: 0 0 8px #00AEEF44, 0 0 2px #fff;
    font-size: 1.15em;
}
.futuristic-tech-card strong {
    font-weight: 600;
    color: #1F2937;
    letter-spacing: 0.01em;
}
.futuristic-tech-card .text-muted {
    color: #6B7280 !important;
}
.futuristic-tech-card:hover {
    box-shadow: 0 8px 32px rgba(0,174,239,0.16), 0 2px 8px rgba(0,174,239,0.10);
    border-color: #00AEEF44;
}

@media (max-width: 575px) {
    .futuristic-tech-card {
        padding: 0.95rem 0.7rem 0.8rem 0.9rem;
        font-size: 0.97rem;
    }
}
/* 
 * CoaSoft – Software & Service UG
 * Custom Styles for Modern One-Page Website
 */

:root {
    /* Color Palette */
    --primary-blue: #00AEEF;
    --primary-blue-dark: #0095D1;
    --dark-anthracite: #111111;
    --light-bg: #F7FAFC;
    --white: #FFFFFF;
    --text-muted: #6B7280;
    --text-dark: #1F2937;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family);
    font-weight: 600;
    color: var(--dark-anthracite);
}

.text-muted {
    color: var(--text-muted) !important;
}

.lead {
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.2;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-anthracite);
}

.brand-sub {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: -4px;
}


.navbar-light .navbar-nav .nav-link {
    color: #111 !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: var(--primary-blue) !important;
}

/* Navbar Active State - Blau statt Orange */
#mainNav .navbar-nav .nav-item .nav-link:hover, 
#mainNav .navbar-nav .nav-item .nav-link:active {
    color: var(--primary-blue) !important;
}

#mainNav .navbar-nav .nav-item .nav-link.active {
    color: var(--primary-blue) !important;
}

.navbar-scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section / Masthead */
.masthead {
    position: relative;
    min-height: 100vh;
    background-color: var(--white) !important;
    background-image: none !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    padding-bottom: 4rem;
    width: 100%;
    margin: 0;
}

header.masthead {
    background: var(--white) !important;
    background-image: none !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100%;
    z-index: 0;
    margin-left: calc(-50vw + 50%);
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.masthead .container-fluid {
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

.masthead .row {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-anthracite);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Desktop: mobile-break inline lassen */
.hero-title .mobile-break {
    display: inline;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hero / three.js Canvas */
.hero-animation {
    position: relative;
    width: 100%;
    min-height: 320px;
    height: 380px;
}

@media (min-width: 992px) {
    .hero-animation {
        height: 420px;
    }
}

.hero-animation canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Buttons */
/* === Premium Shiny Buttons === */
/* =====================================================
   Premium Dark Buttons – passend zu den Glossy Tech Cards
   ===================================================== */

/* === Metallic Glossy Primary Button === */
.btn-primary {
    position: relative;
    background: linear-gradient(145deg,
        rgba(22, 28, 36, 0.92) 0%,
        rgba(16, 21, 28, 0.92) 50%,
        rgba(30, 39, 50, 0.92) 100%
    );
    color: #e9f6ff;
    border: 1px solid rgba(130, 160, 190, 0.45);
    border-radius: 12px;

    padding: 0.85rem 2.5rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    box-shadow:
        inset 0 0 2px rgba(255,255,255,0.3),
        inset 0 1px 1px rgba(255,255,255,0.15),
        0 8px 24px rgba(0,0,0,0.4);

    transition: all 0.35s ease;
    overflow: hidden;
}

/* Metallic shine sweep */
.btn-primary::before {
    content: "";
    position: absolute;
    top: -160%;
    left: -60%;
    width: 260%;
    height: 360%;

    background: radial-gradient(circle at 30% 30%,
        rgba(255,255,255,0.26) 0%,
        rgba(255,255,255,0.08) 30%,
        rgba(255,255,255,0) 55%
    );

    opacity: 0;
    transform: rotate(20deg);
    transition: all 0.7s ease;
}

/* Blue light edge */
.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(0, 174, 239, 0.22);
    pointer-events: none;
}

/* Hover */
.btn-primary:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 174, 239, 0.55);

    background: linear-gradient(145deg,
        rgba(24, 32, 42, 1) 0%,
        rgba(17, 23, 31, 1) 45%,
        rgba(34, 44, 56, 1) 100%
    );

    box-shadow:
        inset 0 0 3px rgba(255,255,255,0.4),
        0 14px 32px rgba(0, 174, 239, 0.22),
        0 0 18px rgba(0, 174, 239, 0.18);
}

/* Hover shine sweep */
.btn-primary:hover::before {
    opacity: 0.55;
    top: -20%;
    left: -5%;
}

/* === Metallic Glossy Primary Button === */
.btn-primary {
    position: relative;
    background: linear-gradient(145deg,
        rgba(22, 28, 36, 0.92) 0%,
        rgba(16, 21, 28, 0.92) 50%,
        rgba(30, 39, 50, 0.92) 100%
    );
    color: #e9f6ff;
    border: 1px solid rgba(130, 160, 190, 0.45);
    border-radius: 12px;

    padding: 0.85rem 2.5rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    box-shadow:
        inset 0 0 2px rgba(255,255,255,0.3),
        inset 0 1px 1px rgba(255,255,255,0.15),
        0 8px 24px rgba(0,0,0,0.4);

    transition: all 0.35s ease;
    overflow: hidden;
}

/* Metallic shine sweep */
.btn-primary::before {
    content: "";
    position: absolute;
    top: -160%;
    left: -60%;
    width: 260%;
    height: 360%;

    background: radial-gradient(circle at 30% 30%,
        rgba(255,255,255,0.26) 0%,
        rgba(255,255,255,0.08) 30%,
        rgba(255,255,255,0) 55%
    );

    opacity: 0;
    transform: rotate(20deg);
    transition: all 0.7s ease;
}

/* Blue light edge */
.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(0, 174, 239, 0.22);
    pointer-events: none;
}

/* Hover */
.btn-primary:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 174, 239, 0.55);

    background: linear-gradient(145deg,
        rgba(24, 32, 42, 1) 0%,
        rgba(17, 23, 31, 1) 45%,
        rgba(34, 44, 56, 1) 100%
    );

    box-shadow:
        inset 0 0 3px rgba(255,255,255,0.4),
        0 14px 32px rgba(0, 174, 239, 0.22),
        0 0 18px rgba(0, 174, 239, 0.18);
}

/* Hover shine sweep */
.btn-primary:hover::before {
    opacity: 0.55;
    top: -20%;
    left: -5%;
}

/* Globale Hover-Textfarbe für alle Primary Buttons */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: #ffffff !important;
}

/* Metallic Outline Button */
.btn-outline-primary {
    position: relative;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.85rem 2.2rem;

    color: var(--primary-blue);
    background: linear-gradient(
        rgba(255, 255, 255, 0.55),
        rgba(255, 255, 255, 0.45)
    );
    border: 2px solid rgba(0, 174, 239, 0.55);

    box-shadow:
        0 3px 10px rgba(0, 174, 239, 0.12),
        inset 0 0 12px rgba(255, 255, 255, 0.35);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition: all 0.25s ease;
}

/* Light Metallic Glow */
.btn-outline-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at 30% 20%,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0) 45%
    );
    opacity: 0.25;
    pointer-events: none;
}

/* Hover → klares hellblau (KEIN Orange) */
.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        rgba(0, 174, 239, 0.92) 0%,
        rgba(0, 150, 220, 0.95) 100%
    );
    border-color: rgba(0, 174, 239, 0.95);

    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(0, 174, 239, 0.25),
        inset 0 0 18px rgba(255, 255, 255, 0.35);
}

/* Entfernt das Orange beim Klick */
.btn-outline-primary:active,
.btn-outline-primary:focus-visible {
    background: linear-gradient(
        135deg,
        rgba(0, 174, 239, 0.98),
        rgba(0, 150, 220, 0.98)
    ) !important;
    color: white !important;
    border-color: rgba(0, 174, 239, 1) !important;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
}



/* Trust Section / Client Logos */
.trust-section {
    background-color: var(--white);
    border-bottom: 1px solid #E5E7EB;
}

.client-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #9CA3AF;
    padding: 1rem;
    letter-spacing: 0.5px;
}

/* Page Sections */
.page-section {
    padding: 6rem 0;
}

.page-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

/* Service Cards */
.service-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-blue);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
}

.service-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-anthracite);
}

/* Reference Cards */
.reference-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.reference-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.reference-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-anthracite);
}

/* Reference Logo Styling */
.reference-logo {
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.85;
}

.reference-logo:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* Testimonial Cards */
.testimonial-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
}

.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.testimonial-quote i {
    font-size: 2rem;
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 0;
}

.testimonial-author {
    border-top: 1px solid #E5E7EB;
    padding-top: 1rem;
}

.testimonial-author strong {
    color: var(--dark-anthracite);
    font-weight: 600;
}

/* Testimonial Mobile Short/Full Versions */
.testimonial-short {
    display: none;
}

.testimonial-full {
    display: inline !important;
}

.testimonial-expand {
    display: none;
}

/* About Section Highlights */
.about-highlights {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.about-highlights ul li {
    font-size: 1rem;
    color: var(--text-dark);
    padding: 0.5rem 0;
}

.about-highlights .fa-check-circle {
    font-size: 1.25rem;
}

/* Logo inline im Über-Titel */
.about-logo-inline {
    height: 9.5rem;
    width: auto;
    vertical-align: baseline;
    margin-left: 0.3rem;
    margin-right: 0.1rem;
    margin-bottom: -1.2cm;
    display: inline-block;
}

/* Form Styles */
.form-control,
.form-select {
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 174, 239, 0.15);
}

.form-floating>label {
    color: var(--text-muted);
}

/* Footer */
footer {
    background-color: var(--light-bg);
    border-top: 1px solid #E5E7EB;
}

footer a {
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-blue) !important;
}

/* Mobile Footer Anpassungen */
@media (max-width: 767px) {
    footer .col-12 {
        margin-bottom: 1rem !important;
    }
    
    footer a {
        font-size: 0.85rem;
        padding: 0.5rem;
        display: inline-block;
    }
    
    footer .text-muted {
        margin: 0 0.25rem;
    }
}

/* Legal Content (Impressum/Datenschutz) Mobile Optimierung */
.legal-content {
    padding: 1rem 0;
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.legal-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .legal-content {
        padding: 0.5rem;
    }
    
    .legal-content h1 {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .legal-content h2 {
        font-size: 1.15rem;
        margin-top: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.05rem;
        margin-top: 1.25rem;
    }
    
    .legal-content p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .legal-content a {
        word-break: break-all;
        color: var(--primary-blue);
        text-decoration: underline;
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .page-section h2 {
        font-size: 2rem;
    }

    .navbar-brand {
        flex-direction: row;
        align-items: baseline;
        gap: 0.5rem;
    }

    .brand-sub {
        font-size: 0.7rem;
        margin-top: 0;
    }

    .hero-animation {
        max-width: 100%;
        height: 300px;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .masthead {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    /* Mobile: Softwareentwicklung umbrechen */
    .hero-title .mobile-break {
        display: block;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-animation {
        height: 280px;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Mobile: Logo in "Über" kleiner und besser positioniert */
    .about-logo-inline {
        height: 8rem;
        margin-bottom: 1.9rem;
        vertical-align: middle;
    }
    
    /* Mobile: Text unter "Über"-Überschrift näher ran */
    #ueber-mich h2 {
        margin-bottom: -1.2rem !important;
    }
    
    #ueber-mich h5 {
        margin-top: 0 !important;
    }
    
    /* Mobile: Canvas Auto-Rotation aktivieren */
    #heroCanvas {
        animation: mobileCanvasFloat 4s ease-in-out infinite;
    }

    /* Referenz-Logos für Mobile optimieren */
    .reference-card {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 1rem !important;
    }
    
    .reference-card img {
        max-height: 50px !important;
        width: auto;
        opacity: 0.8;
    }
    
    .reference-card .img-fluid.mb-3 {
        max-height: 40px !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Mobile: Logos in einer Zeile */
    #referenzen .row {
        justify-content: center;
        gap: 0;
    }
    
    #referenzen .col-lg-3,
    #referenzen .col-md-4,
    #referenzen .col-sm-6 {
        flex: 0 0 auto;
        width: auto;
        max-width: 33.333%;
    }
    
    .masthead {
        padding-top: 6rem;
    }

    .page-section {
        padding: 2.5rem 0;
    }
    
    /* Leistungen Section direkt nach Hero - sehr nah dran */
    #leistungen {
        padding-top: 0 !important;
        margin-top: -3rem !important;
        position: relative !important;
        z-index: 10 !important;
        scroll-margin-top: 100px !important;
    }
    
    /* Mobile: Testimonials kürzen */
    .testimonial-short {
        display: inline !important;
    }
    
    .testimonial-full {
        display: none !important;
    }
    
    .testimonial-expand {
        display: block !important;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .testimonial-card[data-bs-toggle="modal"] {
        cursor: pointer;
    }
    
    .testimonial-card[data-bs-toggle="modal"]:hover {
        border-left-color: var(--primary-blue-dark);
    }
    
    /* Modal anpassen */
    .modal-content {
        border-radius: 12px;
        border: none;
    }
    
    .modal-body .testimonial-quote i {
        font-size: 1.5rem;
    }
    
    /* Mobile: Cards Animation on Scroll */
    .service-card,
    .reference-card,
    .testimonial-card {
        animation: fadeInUp 0.6s ease-out;
        animation-fill-mode: both;
    }
    
    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
    
    /* Mobile: Gradient Background */
    .masthead::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(0, 174, 239, 0.03) 0%, rgba(0, 174, 239, 0.08) 100%);
        z-index: 0;
        pointer-events: none;
    }
    
    .masthead .container-fluid {
        position: relative;
        z-index: 1;
    }
}

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

@keyframes mobileCanvasFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Link Styles */
a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-blue-dark);
}

/* Text Primary Color Override */
.text-primary {
    color: var(--primary-blue) !important;
}

/* WhatsApp Chat Button - Clean & Minimal */

.whatsapp-chat {
    position: fixed;
    right: 1rem;
    bottom: 2rem;
    z-index: 1050;
    animation: whatsapp-pulse 3s ease-in-out infinite;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon svg {
    display: block;
}

/* Hover-Effekte */
.whatsapp-chat:hover .whatsapp-button {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    animation-play-state: paused;
}

/* Pulse Animation */
@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .whatsapp-chat {
        right: 0.75rem;
        bottom: 1.5rem;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
    }

    .whatsapp-icon {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .whatsapp-chat {
        right: 0.5rem;
        bottom: 1rem;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon {
        width: 22px;
        height: 22px;
    }
}

/* 3D Scroll-Roboter rechts am Rand */
.scroll-robot-container {
    position: fixed;
    right: 2.5rem;
    /* top wird per JS dynamisch gesetzt */
    width: 260px;
    height: 320px;
    /* mehr Höhe für Beine + Feuer */
    z-index: 900;
    pointer-events: none;
}


.scroll-robot-container canvas {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}


/* auf etwas kleineren Desktops leicht skalieren */
@media (max-width: 1399.98px) {
    .scroll-robot-container {
        right: 1.75rem;
        width: 210px;
        height: 210px;
    }
}

/* auf Tablets / Phones ausblenden, damit's nicht im Weg ist */
@media (max-width: 1199.98px) {
    .scroll-robot-container {
        display: none !important;
    }
}

/* --- CoaSoft Bot Animation (Robot -> WhatsApp) --- */

.CoaSoft-bot {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 999;
    text-decoration: none;
}

.CoaSoft-bot-inner {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

/* kleiner Hover-Schwung insgesamt */
.CoaSoft-bot:hover .CoaSoft-bot-inner {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
}

/* Puff-Effekt-Halo */
.CoaSoft-bot-inner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.65) 0%, rgba(37, 211, 102, 0) 60%);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
    pointer-events: none;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* Beim Hover: „Verpuffen“ */
.CoaSoft-bot:hover .CoaSoft-bot-inner::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.6);
}

/* SVGs */
.CoaSoft-bot-inner svg {
    display: block;
}

/* Roboter: Standard sichtbar */
.bot-default {
    transition: opacity 0.35s ease-out, transform 0.35s ease-out, filter 0.35s ease-out;
    opacity: 1;
    transform-origin: center center;
}

/* WhatsApp: Standard versteckt */
.bot-whatsapp {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    transform: translate(-50%, -50%) scale(0.4) rotate(-10deg);
    opacity: 0;
    transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

/* Falls noch inline opacity="0" im HTML steht, das hier überstimmt es */
.bot-whatsapp[style] {
    opacity: 0 !important;
}

/* Hover-Animation: Roboter „verpufft“ */
.CoaSoft-bot:hover .bot-default {
    opacity: 0;
    transform: scale(0.2) translateY(-8px);
    filter: blur(4px);
}

/* Hover-Animation: WhatsApp-Icon zoomt rein */
.CoaSoft-bot:hover .bot-whatsapp {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

/* Badge unten rechts */
.CoaSoft-bot-badge {
    position: absolute;
    right: 0;
    bottom: -0.4rem;
    transform: translateY(100%);
    background: #00AEEF;
    color: #ffffff;
    font-size: 0.8rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
    white-space: nowrap;
}

/* Tech-Stack Section */
/* ===========================================
   Premium Clean – Tech-Stack Cards
   =========================================== */

#tech-stack {
    border-top: 1px solid #E5E7EB;
    background: radial-gradient(circle at top,
            rgba(0, 174, 239, 0.05) 0%,
            rgba(247, 250, 252, 1) 45%,
            #f4f7fa 100%);
}

.tech-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.06),
        inset 0 0 0.5px rgba(255, 255, 255, 0.6);
    transition: all 0.25s ease;
}

/* Hover Effekt: sanft, edel */
.tech-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 14px 32px rgba(15, 23, 42, 0.10),
        inset 0 0 1px rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 174, 239, 0.35);
}

/* Überschriften im Panel */
.tech-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #1f2937;
    margin-bottom: 0.65rem;
}

/* Trennlinie für neue Kategorie-Gruppen */
.tech-card h4:not(:first-child) {
    margin-top: 1.5rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

/* Text */
.tech-card p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0.4rem;
}


/* Warum CoaSoft – Highlight Cards */
.highlight-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border-color: var(--primary-blue);
}

.highlight-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    background: rgba(0, 174, 239, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.6rem;
}

.highlight-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

/* Tech-Visual / Three.js Globe */
#tech-visual {
    position: relative;
    overflow: hidden;
}

.tech-globe-wrapper {
    position: relative;
    width: 100%;
    min-height: 260px;
    height: 320px;
    border-radius: 16px;
    background: radial-gradient(circle at 20% 0%,
            rgba(0, 174, 239, 0.12) 0%,
            rgba(15, 23, 42, 0.98) 45%,
            rgba(15, 23, 42, 1) 100%);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
    overflow: hidden;
}

.tech-globe-wrapper canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* leichte Anpassung für kleinere Screens */
@media (max-width: 991px) {
    .tech-globe-wrapper {
        margin-top: 2rem;
        height: 260px;
    }
}

/* Tech-Globe Labels (Frontend / Backend / Cloud etc.) */
.tech-globe-wrapper {
    position: relative;
}

/* Container für alle Labels */
.tech-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Globus bleibt interaktiv */
}

/* Basis-Styling für Label-Pills */
.tech-label {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #e5f3ff;
    background: radial-gradient(circle at 30% 0%,
            rgba(56, 189, 248, 0.25) 0%,
            rgba(15, 23, 42, 0.95) 60%);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
    pointer-events: auto;
    /* Label darf hoverbar sein */
    cursor: default;
    opacity: 0.92;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.tech-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.8);
    opacity: 1;
}

/* Positionen um den Globus herum – dezent verteilt */
.tech-label--frontend {
    top: 14%;
    left: 14%;
}

.tech-label--backend {
    top: 22%;
    right: 6%;
}

.tech-label--db {
    bottom: 18%;
    left: 10%;
}

.tech-label--cloud {
    top: 46%;
    right: 4%;
}

.tech-label--devops {
    bottom: 10%;
    right: 18%;
}

/* auf kleineren Screens Labels etwas näher an die Mitte schieben */
@media (max-width: 991px) {
    .tech-label--frontend {
        top: 12%;
        left: 18%;
    }

    .tech-label--backend {
        top: 20%;
        right: 10%;
    }

    .tech-label--db {
        bottom: 16%;
        left: 16%;
    }

    .tech-label--cloud {
        top: 50%;
        right: 10%;
    }

    .tech-label--devops {
        bottom: 10%;
        right: 22%;
    }
}

@media (max-width: 575px) {
    .tech-label {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Tech-Stack Accordion für Mobile */
.tech-accordion-header {
    cursor: pointer;
    position: relative;
    user-select: none;
}

.tech-accordion-header i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 0.8em;
}

.tech-accordion-header.active i {
    transform: translateY(-50%) rotate(180deg);
}

@media (max-width: 767px) {
    .tech-accordion-content {
        display: none !important;
        margin-top: 0.5rem;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .tech-accordion-content.show {
        display: block !important;
    }
    
    .tech-accordion-header {
        padding-right: 30px;
    }
    
    .tech-modal-trigger {
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0.75rem;
        margin: 0 -0.75rem;
        border-radius: 8px;
    }
    
    .tech-modal-trigger:hover {
        background-color: rgba(0, 174, 239, 0.05);
        color: var(--primary-blue);
    }
    
    .tech-modal-trigger i {
        transition: transform 0.3s ease;
    }
    
    .tech-modal-trigger:hover i {
        transform: translateX(5px);
    }
}