/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
    color: #0f172a;
    background:
        radial-gradient(circle at 12% 18%, rgba(220, 38, 38, 0.06), transparent 34%),
        radial-gradient(circle at 88% 8%, rgba(30, 41, 59, 0.06), transparent 28%),
        #f8fafc;
}

/* Smooth Scrolling */
html {
    scroll-behavior: auto; /* Let GSAP handle smoothness */
}

/* Hardware Acceleration & Performance */
.service-card,
.testimonial-card,
.fernsupport-card,
.team-member,
#hero-content,
#team-banner-img {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    object-position: center top;
}

/* Hero & Banner responsive sizing */
#team-banner {
    height: clamp(300px, 52vh, 580px);
}

#team-banner-img {
    transition: transform 0.3s ease-out;
    object-position: center center;
}

@media (max-width: 640px) {
    #team-banner {
        height: clamp(260px, 48vh, 420px);
    }
}


/* Navigation Links */
.nav-link {
    position: relative;
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #dc2626;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #dc2626;
    transition: width 0.3s ease;
}

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

.nav-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.nav-logo::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -120%;
    width: 60%;
    height: 200%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: logoShine 5.5s linear infinite;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}

.nav-shell,
.nav-mobile-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.7));
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 14px 38px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px);
    transition: transform 0.25s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.nav-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-mobile-panel {
    padding: 16px 20px;
}

.nav-menu-button {
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    color: #374151;
    transition: all 0.25s ease;
}

.nav-menu-button:hover {
    color: #dc2626;
}

.nav-elevated {
    box-shadow:
        0 24px 68px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    color: #374151;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    color: #dc2626;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 0%;
    justify-content: flex-start;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 0%;
    justify-content: flex-end;
}

@media (max-width: 767px) {
    .nav-menu-button {
        display: inline-flex;
    }

    .nav-center {
        position: static;
        transform: none;
    }
}

.logo-image {
    height: 54px;
    width: auto;
    display: block;
    will-change: filter;
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 32px;
}

.hero-logo-image {
    width: clamp(220px, 28vw, 360px);
    height: auto;
    margin: 0 auto;
}


/* Buttons */
.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background-color: #dc2626;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.cta-button:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.secondary-button {
    display: inline-block;
    padding: 16px 40px;
    background-color: transparent;
    color: #374151;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    border-color: #dc2626;
    color: #dc2626;
    transform: translateY(-2px);
}

/* Hero Section */
.cursor {
    animation: blink 1s infinite;
    color: #dc2626;
    font-weight: 300;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(220, 38, 38, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #dc2626;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    color: white;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 1s ease-out;
}

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

/* Scroll Reveal Animation - DISABLED, elements visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scale on Hover for Images */
.scale-hover {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-logo {
        margin-bottom: 24px;
    }

    .hero-logo-image {
        width: 180px;
        height: auto;
    }

    .logo-image {
        height: 52px;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b91c1c;
}

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
}

/* Backdrop Blur Support */
@supports (backdrop-filter: blur(10px)) {
    .nav-shell {
        backdrop-filter: blur(12px);
    }
}

.nav-blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 54px;
    pointer-events: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 40;
}

/* Parallax Effect */
.parallax {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section - Fixed Position */
.hero-section {
    position: relative;
    z-index: 1;
}

.hero-tilt {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.hero-heading {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 28px;
    justify-content: center;
}

#hero-cubes {
    --cube-size: 68px;
    position: absolute;
    top: -70px;
    left: -150px;
    transform: translate(0, 0);
    width: 210px;
    height: 210px;
    pointer-events: none;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.08));
    opacity: 0.95;
    perspective: 900px;
    pointer-events: none;
}

#hero-cubes .cube {
    position: absolute;
    width: var(--cube-size);
    height: var(--cube-size);
    border-radius: 0;
    will-change: transform;
    transform-style: preserve-3d;
    overflow: visible;
}

.cube-red {
    --c-main: #d81d26;
    --c-dark: #8f131b;
    --c-light: #f05a6b;
    top: -2px;
    left: -4px;
}

.cube-gray {
    --c-main: #d5d7dc;
    --c-dark: #9ca3af;
    --c-light: #f3f4f6;
    top: -16px;
    left: 90px;
}

.cube-dark {
    --c-main: #1f2937;
    --c-dark: #0b1020;
    --c-light: #2c3646;
    top: 88px;
    left: 8px;
}

#hero-cubes .cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    opacity: 1;
    transform-origin: center center;
    border-radius: 0;
}

.cube-face.face-front { background: linear-gradient(135deg, var(--c-main), var(--c-dark)); transform: translateZ(calc(var(--cube-size) / 2)); }
.cube-face.face-back { background: linear-gradient(135deg, var(--c-main), var(--c-dark)); transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2)); }
.cube-face.face-right { background: linear-gradient(135deg, var(--c-main), var(--c-dark)); transform: rotateY(90deg) translateZ(calc(var(--cube-size) / 2)); }
.cube-face.face-left  { background: linear-gradient(135deg, var(--c-main), var(--c-dark)); transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2)); }
.cube-face.face-top   { background: linear-gradient(145deg, var(--c-light) 0%, var(--c-main) 40%); transform: rotateX(90deg) translateZ(calc(var(--cube-size) / 2)); }
.cube-face.face-bottom{ background: linear-gradient(145deg, var(--c-light) 0%, var(--c-main) 40%); transform: rotateX(-90deg) translateZ(calc(var(--cube-size) / 2)); }

.cube-red .face-bottom {
    position: relative;
}

.cube-gray .face-bottom {
    position: relative;
}

.cube-dark .face-bottom {
    position: relative;
}

.cube-red .face-bottom::after,
.cube-gray .face-bottom::after,
.cube-dark .face-bottom::after {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    filter:
        drop-shadow(0 0 8px rgba(255, 255, 255, 0.28))
        drop-shadow(0 0 14px rgba(255, 255, 255, 0.22));
    pointer-events: none;
}

.cube-red .face-bottom::after {
    background-image: url('images/partner/Microsoft Logo.webp');
    filter:
        drop-shadow(0 0 8px rgba(220, 38, 38, 0.35))
        drop-shadow(0 0 14px rgba(255, 255, 255, 0.35));
    transform: translateZ(0.6px);
}

.cube-gray .face-bottom::after {
    background-image: url('images/partner/Cobra CRM.png');
    filter:
        drop-shadow(0 0 8px rgba(51, 65, 85, 0.32))
        drop-shadow(0 0 14px rgba(255, 255, 255, 0.32));
    transform: translateZ(0.6px);
}

.cube-dark .face-bottom::after {
    background-image: url('images/partner/Swisscom.png');
    filter:
        drop-shadow(0 0 9px rgba(59, 130, 246, 0.35))
        drop-shadow(0 0 15px rgba(255, 255, 255, 0.32));
    transform: translateZ(0.6px);
}

.cube-red .face-top,
.cube-gray .face-top,
.cube-dark .face-top {
    position: relative;
}

.cube-red .face-top::after,
.cube-gray .face-top::after,
.cube-dark .face-top::after {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 68%;
    filter:
        drop-shadow(0 0 7px rgba(255, 255, 255, 0.25))
        drop-shadow(0 0 12px rgba(255, 255, 255, 0.2));
    pointer-events: none;
    backface-visibility: hidden;
}

.cube-red .face-top::after {
    background-image: url('images/partner/HP Logo.png');
    filter:
        drop-shadow(0 0 8px rgba(59, 130, 246, 0.32))
        drop-shadow(0 0 12px rgba(255, 255, 255, 0.28));
}

.cube-gray .face-top::after {
    background-image: url('images/partner/ALSO.png');
    filter:
        drop-shadow(0 0 8px rgba(203, 213, 225, 0.32))
        drop-shadow(0 0 12px rgba(255, 255, 255, 0.28));
}

.cube-dark .face-top::after {
    background-image: url('images/partner/Mailfino.png');
    filter:
        drop-shadow(0 0 8px rgba(220, 38, 38, 0.32))
        drop-shadow(0 0 12px rgba(255, 255, 255, 0.28));
    transform: translateZ(0.6px);
}

@media (max-width: 768px) {
    #hero-cubes {
        --cube-size: 56px;
        top: 6px;
        left: -90px;
        transform: translate(0, 0);
        width: 150px;
        height: 150px;
    }

    #hero-cubes .cube {
        width: var(--cube-size);
        height: var(--cube-size);
        border-radius: 0;
    }

    .cube-red {
        top: -2px;
        left: -6px;
    }

    .cube-gray {
        top: -10px;
        left: 60px;
    }

    .cube-dark {
        top: 68px;
        left: 0;
    }
}

@media (max-width: 1024px) {
    .hero-heading {
        flex-direction: column;
        gap: 16px;
    }

    #hero-cubes {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 8px;
        width: 170px;
        height: 170px;
    }

    #hero-cubes .cube {
        width: 64px;
        height: 64px;
    }

    .cube-red {
        top: -4px;
        left: -8px;
    }

    .cube-gray {
        top: -12px;
        left: 86px;
    }

    .cube-dark {
        top: 86px;
        left: 2px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #dc2626;
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 60px 40px 40px;
}

.modal-body h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #111827;
}

.modal-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #dc2626;
}

.modal-body p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modal-body ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.modal-body ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: #6b7280;
}

.modal-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
}

/* Service Cards Clickable */
.service-card {
    cursor: pointer;
    user-select: none;
}

.service-card:active {
    transform: translateY(-6px) scale(1.01);
}

/* Fernsupport Cards */
.fernsupport-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f3f4f6;
    text-align: center;
}

.fernsupport-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #dc2626;
}

.fernsupport-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    transition: all 0.4s ease;
}

.fernsupport-card:hover .fernsupport-icon {
    transform: scale(1.1) rotate(-5deg);
}

.fernsupport-icon-info {
    text-align: left;
}

.download-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #dc2626;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.download-btn:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* Team Member Styles */
.team-member {
    text-align: center;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.team-member-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #f3f4f6;
    transform-style: preserve-3d;
}

.team-member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member:hover .team-member-image {
    transform: scale(1.15);
}

.team-member-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-member:hover .team-member-image-wrapper::after {
    opacity: 1;
}

/* Sequential Scroll Reveal for Service Cards - DISABLED, visible by default */
.scroll-reveal-sequence {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-sequence.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Morph Animation Origin Point */
.service-card {
    transform-origin: center;
}

/* FAQ */
.faq-item {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
    border-color: #e5e7eb;
    transform: translateY(-2px);
}

.faq-item.open {
    border-color: #dc2626;
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.08);
}

.faq-question {
    width: 100%;
    border: none;
    background: transparent;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    min-height: 64px;
}

.faq-question-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.faq-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: white;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
    flex-shrink: 0;
}

.faq-title {
    font-weight: 600;
    color: #111827;
    font-size: 1.05rem;
    line-height: 1.4;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #111827;
    transition: all 0.3s ease;
}

.faq-icon::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon {
    background: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25);
}

.faq-item.open .faq-icon::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.faq-item.open .faq-icon::before {
    background: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 26px;
    color: #6b7280;
    line-height: 1.7;
    transition: max-height 0.35s ease, padding 0.35s ease;
    background: transparent;
    border-radius: 18px;
    border: 0;
}

.faq-item.open .faq-answer {
    padding: 12px 28px 32px;
    border-color: #f3f4f6;
}

.faq-summary {
    color: #4b5563;
}

.faq-more {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 14px;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #111827;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.faq-more.ready {
    display: inline-flex;
}

.faq-more:hover {
    border-color: #dc2626;
    color: #dc2626;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.12);
}

.faq-details {
    display: none;
    margin-top: 12px;
    color: #4b5563;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 1rem;
    }

    .faq-question {
        padding: 16px;
    }

    .faq-answer {
        padding: 0 18px;
    }

    .faq-item.open .faq-answer {
        padding: 10px 20px 22px;
    }
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.faq-widget {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.95) 100%);
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 20px 20px 24px;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.08),
        0 12px 30px rgba(220, 38, 38, 0.05);
    backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.faq-widget::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(220, 38, 38, 0.06), transparent 45%),
                radial-gradient(circle at 80% 0%, rgba(220, 38, 38, 0.05), transparent 40%);
    pointer-events: none;
}

.faq-widget:hover {
    transform: translateY(-6px);
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.1),
        0 14px 36px rgba(220, 38, 38, 0.08);
}

.faq-widget-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.faq-widget-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.35);
}

.faq-list {
    display: grid;
    gap: 16px;
    margin-top: 8px;
}

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

.faq-widget-ai {
    grid-column: span 2;
}

@media (max-width: 1024px) {
    .faq-widget-ai {
        grid-column: span 1;
    }
}

.faq-article p {
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.75;
}

@media (max-width: 768px) {
    .modal-body {
        padding: 50px 24px 24px;
    }

    .modal-body h2 {
        font-size: 1.75rem;
    }

    .team-member-image-wrapper {
        border-radius: 16px;
    }
}

/* ============================================
   TESTIMONIALS CAROUSEL
   ============================================ */

.testimonial-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 80px;
    perspective: 2000px;
    overflow: hidden;
}

.testimonial-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    transform-style: preserve-3d;
}

/* Testimonial Card */
.testimonial-card {
    position: absolute;
    width: 100%;
    max-width: 700px;
    background: white;
    border-radius: 24px;
    padding: 50px 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(100%) scale(0.85) rotateY(20deg);
    pointer-events: none;
    backface-visibility: hidden;
}

/* Active Card (Center) */
.testimonial-card.active {
    opacity: 1;
    transform: translateX(0) scale(1) rotateY(0);
    z-index: 10;
    pointer-events: auto;
    box-shadow: 0 25px 70px rgba(220, 38, 38, 0.15);
}

/* Previous Card (Left) */
.testimonial-card.prev {
    opacity: 0.4;
    transform: translateX(-120%) scale(0.85) rotateY(15deg);
    z-index: 5;
    filter: blur(2px);
}

/* Next Card (Right) */
.testimonial-card.next {
    opacity: 0.4;
    transform: translateX(120%) scale(0.85) rotateY(-15deg);
    z-index: 5;
    filter: blur(2px);
}

/* Quote Icon */
.quote-icon {
    font-size: 120px;
    line-height: 0;
    color: #dc2626;
    opacity: 0.2;
    font-family: Georgia, serif;
    margin-bottom: 20px;
    user-select: none;
}

/* Quote Text */
.testimonial-quote {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #1f2937;
    margin-bottom: 30px;
    font-weight: 400;
    min-height: 120px;
}

/* Divider */
.testimonial-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #dc2626, #b91c1c);
    margin: 0 auto 30px;
    border-radius: 2px;
}

/* Author Section */
.testimonial-author {
    text-align: center;
}

.testimonial-author h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 10px;
}

/* Rating Stars */
.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.testimonial-rating .star {
    font-size: 1.1rem;
    filter: grayscale(0);
    transition: transform 0.2s ease;
}

.testimonial-card.active .testimonial-rating .star {
    animation: starPop 0.6s ease forwards;
}

.testimonial-rating .star:nth-child(1) { animation-delay: 0s; }
.testimonial-rating .star:nth-child(2) { animation-delay: 0.1s; }
.testimonial-rating .star:nth-child(3) { animation-delay: 0.2s; }
.testimonial-rating .star:nth-child(4) { animation-delay: 0.3s; }
.testimonial-rating .star:nth-child(5) { animation-delay: 0.4s; }

@keyframes starPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    color: #374151;
}

.carousel-nav:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Dots Navigation */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    background: #9ca3af;
    transform: scale(1.2);
}

.dot.active {
    background: #dc2626;
    width: 32px;
    border-radius: 6px;
}

/* Progress Bar */
.carousel-progress-container {
    max-width: 200px;
    height: 3px;
    background: #e5e7eb;
    margin: 30px auto 0;
    border-radius: 2px;
    overflow: hidden;
}

.carousel-progress-bar {
    height: 100%;
    background: linear-gradient(to right, #dc2626, #b91c1c);
    width: 0;
    transition: width 0.1s linear;
}

.carousel-progress-bar.animating {
    transition: width 4s linear;
    width: 100%;
}

/* Hover Pause Effect */
.testimonial-carousel-wrapper:hover .carousel-progress-bar.animating {
    animation-play-state: paused;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .testimonial-carousel-wrapper {
        padding: 40px 60px;
    }

    .testimonial-card {
        max-width: 600px;
        padding: 40px 50px;
    }

    .testimonial-card.prev,
    .testimonial-card.next {
        opacity: 0.2;
        transform: translateX(-100%) scale(0.8) rotateY(10deg);
    }

    .testimonial-card.next {
        transform: translateX(100%) scale(0.8) rotateY(-10deg);
    }
}

@media (max-width: 768px) {
    .testimonial-carousel-wrapper {
        padding: 20px;
        perspective: 1000px;
    }

    .testimonial-carousel {
        min-height: 500px;
    }

    .testimonial-card {
        max-width: 90%;
        padding: 35px 30px;
    }

    .quote-icon {
        font-size: 80px;
        margin-bottom: 15px;
    }

    .testimonial-quote {
        font-size: 1.15rem;
        min-height: 140px;
    }

    /* Hide side cards on mobile */
    .testimonial-card.prev,
    .testimonial-card.next {
        opacity: 0;
        pointer-events: none;
    }

    /* Adjust nav buttons */
    .carousel-nav {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: -5px;
    }

    .carousel-next {
        right: -5px;
    }
}

@media (max-width: 640px) {
    .testimonial-carousel-wrapper {
        padding: 16px;
    }
    .testimonial-carousel {
        min-height: 420px;
    }
    .testimonial-card {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 30px 25px;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    .testimonial-author h4 {
        font-size: 1.1rem;
    }

    .testimonial-author p {
        font-size: 0.85rem;
    }
}

/* ============================================
   PARTNERS & CERTIFICATIONS SECTION - GOLDEN BADGES
   ============================================ */

/* Partner Badge Grid */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

@keyframes sweepGold {
    0% {
        left: -100%;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    25% {
        left: 120%;
        opacity: 1;
    }
    30% {
        opacity: 0;
    }
    100% {
        left: 120%;
        opacity: 0;
    }
}

/* Premium Badge Style */
.partner-card {
    background: linear-gradient(135deg,
        #FFFFFF 0%,
        #F8F9FA 100%);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
                0 1px 2px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    user-select: none;
}


/* Accent Gradient on Hover */
.partner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(220, 38, 38, 0.02) 0%,
        rgba(220, 38, 38, 0.04) 50%,
        rgba(220, 38, 38, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.partner-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08),
                0 2px 6px rgba(0, 0, 0, 0.04);
    border-color: #dc2626;
    background: linear-gradient(135deg,
        #FFFFFF 0%,
        #FAFAFA 100%);
}

.partner-card:hover::after {
    opacity: 1;
}

.partner-placeholder {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    width: 100%;
    max-width: 140px;
    height: 70px;
    object-fit: contain;
}

/* Grayscale Logo (Basis) */
.partner-logo-gray {
    width: 100%;
    max-width: 140px;
    height: 70px;
    object-fit: contain;
    filter: grayscale(1) brightness(0.95) opacity(0.85);
    transition: all 0.4s ease;
}

/* Farbiges Logo (Overlay mit Animation) */
.partner-logo-color {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 140px;
    height: 70px;
    object-fit: contain;
    filter: grayscale(0) opacity(1);
    clip-path: inset(0 100% 0 0);
    animation: revealColor 5s ease-in-out infinite;
}

/* Animation für Color-Reveal */
@keyframes revealColor {
    0% {
        clip-path: inset(0 100% 0 0);
    }
    10% {
        clip-path: inset(0 0 0 0);
    }
    20% {
        clip-path: inset(0 0 0 100%);
    }
    100% {
        clip-path: inset(0 0 0 100%);
    }
}

/* Staggered delays für jedes Partner Badge Color-Reveal */
.partner-card:nth-child(1) .partner-logo-color { animation-delay: 0s; }
.partner-card:nth-child(2) .partner-logo-color { animation-delay: 0.7s; }
.partner-card:nth-child(3) .partner-logo-color { animation-delay: 1.4s; }
.partner-card:nth-child(4) .partner-logo-color { animation-delay: 2.1s; }
.partner-card:nth-child(5) .partner-logo-color { animation-delay: 2.8s; }
.partner-card:nth-child(6) .partner-logo-color { animation-delay: 0s; }
.partner-card:nth-child(7) .partner-logo-color { animation-delay: 0.7s; }
.partner-card:nth-child(8) .partner-logo-color { animation-delay: 1.4s; }
.partner-card:nth-child(9) .partner-logo-color { animation-delay: 2.1s; }
.partner-card:nth-child(10) .partner-logo-color { animation-delay: 2.8s; }

/* Hover-Effekt */
.partner-card:hover .partner-logo-gray {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

.partner-card:hover .partner-logo-color {
    transform: scale(1.1);
}

/* Certification Badge Grid */
.certification-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Premium Certification Badge */
.certification-card {
    background: linear-gradient(135deg,
        #FFF8E1 0%,
        #FFF3C4 100%);
    border: 1px solid rgba(219, 167, 19, 0.25);
    border-radius: 16px;
    padding: 24px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 280px;
    max-width: 400px;
    flex: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
                0 1px 2px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    user-select: none;
}

.certification-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(220, 38, 38, 0.02) 0%,
        rgba(220, 38, 38, 0.04) 50%,
        rgba(220, 38, 38, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.certification-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.2),
                0 4px 10px rgba(0, 0, 0, 0.05);
    border-color: rgba(219, 167, 19, 0.45);
    background: linear-gradient(135deg,
        #FFF9E6 0%,
        #FFF5D6 100%);
}

.certification-card:hover::after {
    opacity: 0.4;
}

.certification-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FDF3D7 0%, #FCE7A8 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #6B7280;
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

.certification-card:hover .certification-icon {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 14px rgba(218, 165, 32, 0.25);
    background: linear-gradient(135deg, #FFF2CC 0%, #FFE599 100%);
    color: #b45309;
}

.certification-card h4 {
    color: #111827;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.certification-card:hover h4 {
    color: #dc2626;
}

.certification-card p {
    color: #6B7280;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .partner-card {
        min-width: 130px;
        min-height: 90px;
        padding: 20px 18px;
    }

    .partner-logo,
    .partner-logo-gray,
    .partner-logo-color {
        height: 60px;
        max-width: 130px;
    }
}

@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .partner-card {
        min-width: 120px;
        min-height: 85px;
        padding: 18px 16px;
    }

    .partner-logo,
    .partner-logo-gray,
    .partner-logo-color {
        height: 55px;
        max-width: 120px;
    }

    .certification-grid {
        flex-direction: column;
        gap: 16px;
    }

    .certification-card {
        max-width: 100%;
        padding: 20px 28px;
    }

    .certification-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .partner-grid {
        gap: 8px;
    }

    .partner-card {
        min-width: 110px;
        padding: 12px 16px;
    }

    .partner-logo {
        height: 35px;
    }

    .partner-name {
        font-size: 0.7rem;
    }

    .partner-placeholder svg {
        width: 2.5rem;
        height: 2.5rem;
    }

    .certification-card {
        padding: 18px 24px;
    }
}

/* ============================================
   FEATURED TEAMVIEWER WEB SUPPORT CARD
   ============================================ */

/* Featured Fernsupport Card */
.fernsupport-card-featured {
    position: relative;
    border: 2px solid #dc2626;
    background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #dc2626;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.fernsupport-icon-web {
    background: linear-gradient(135deg, #059669, #047857);
}

.web-support-btn {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.web-support-btn:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

/* Responsive adjustments for featured card */
@media (max-width: 768px) {
    .featured-badge {
        top: 8px;
        right: 8px;
        padding: 3px 10px;
        font-size: 0.65rem;
    }
}

/* ============================================
   FLOATING BANNER
   ============================================ */

.floating-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
    animation: slideDown 0.5s ease-out;
    transition: all 0.3s ease;
}

.floating-banner.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.floating-banner-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.banner-text {
    color: white;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.banner-text strong {
    font-weight: 700;
}

.banner-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) rotate(90deg);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Adjust navigation when banner is visible */
body:has(.floating-banner:not(.hidden)) nav {
    top: 48px;
}

body:has(.floating-banner:not(.hidden)) .hero-section {
    padding-top: 128px;
}

@media (max-width: 768px) {
    .floating-banner-content {
        padding: 10px 16px;
        gap: 8px;
    }

    .banner-text {
        font-size: 0.8rem;
    }

    .banner-icon {
        display: none;
    }

    .banner-close {
        width: 24px;
        height: 24px;
        right: 12px;
    }
}
