/* ============================================
   COUNT. ONEPAGER - MAIN STYLES
   ============================================ */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* ============================================
   LEFT SIDEBAR
   ============================================ */
.left-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100px;
    height: 100vh;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 80px 0 50px 0;
    z-index: 1000;
    pointer-events: none;
    border-right: 1px solid rgba(43, 43, 43, 0.44);
}

.left-sidebar .logo {
    pointer-events: auto;
}

.left-sidebar .logo img {
    width: auto;
    height: auto;
    max-width: 120px;
    transform: rotate(-90deg);
}

.left-sidebar .phone-section {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.left-sidebar .call-text {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 5px;
}

.left-sidebar .phone-number {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.left-sidebar .phone-number:hover {
    color: #F9BA00;
}


/* ============================================
   HERO SECTION WITH WAVY BACKGROUND
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #000 100%);
}

/* === Vortex Background (CI-gesteuert) === */
.vortex-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #000; /* Fallback */
}

.vortex-background canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block; /* verhindert Scrollbars */
}

/* leichte Farb-Scrim & Glow fürs Kontrast-Feintuning */
.vortex-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(60% 60% at 50% 55%, rgba(var(--brand-rgb, 249, 186, 0), 0.12) 0%, transparent 60%),
        radial-gradient(80% 80% at 20% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    mix-blend-mode: screen;
}

/* Nutzer, die Bewegung reduziert haben, bekommen eine ruhige Variante */
@media (prefers-reduced-motion: reduce) {
    .vortex-background canvas {
        display: none;
    }
    
    .vortex-overlay {
        background:
            radial-gradient(60% 60% at 50% 55%, rgba(var(--brand-rgb, 249, 186, 0), 0.18) 0%, transparent 60%),
            radial-gradient(80% 80% at 20% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 70%),
            linear-gradient(135deg, #000 0%, #111 100%);
    }
}


.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}




/* ============================================
   MAIN CONTENT WRAPPER
   ============================================ */
.main-wrapper {
    margin-left: 0;
    margin-right: 0;
    position: relative;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 120px 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Welcome Section */
.welcome {
    background: linear-gradient(135deg, #333333 0%, #404040 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    box-shadow: none;
    padding-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.welcome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(249, 186, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: center;
}

.welcome-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(249, 186, 0, 0.1), rgba(255, 215, 0, 0.1));
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(249, 186, 0, 0.2);
}


.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    color: #fff;
    line-height: 1.2;
    font-weight: 700;
}

.section-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #F9BA00, #FFD700);
    color: #000;
    text-decoration: none;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFD700, #F9BA00);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 60px rgba(249, 186, 0, 0.4);
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #000000 0%, #111111 100%);
    position: relative;
    margin-top: 0;
    box-shadow: none;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-header {
    text-align: left;
    margin-bottom: 5rem;
}

.section-subtitle {
    color: #F9BA00;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.service-card {
    background: #0a0a0a;
    padding: 3rem 2rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 186, 0, 0.1), transparent);
    transition: left 0.8s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    transform: translateY(-20px) scale(1.02);
    border-color: rgba(249, 186, 0, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.service-number {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card:hover .service-number {
    color: #F9BA00;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: #F9BA00;
    transform: translateX(10px);
}

.service-card p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-weight: 400;
    transition: all 0.3s ease;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(10px);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #222222 0%, #000000 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    box-shadow: none;
    padding-top: 80px;
    padding-bottom: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(249, 186, 0, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: contactPulse 4s ease-in-out infinite;
}

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

.contact h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #F9BA00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    background: rgba(249, 186, 0, 0.1);
    backdrop-filter: blur(20px);
    color: #fff;
    text-decoration: none;
    border: 2px solid rgba(249, 186, 0, 0.3);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.contact-cta:hover {
    background: #F9BA00;
    color: #000;
    border-color: #F9BA00;
    transform: scale(1.1);
    box-shadow: 0 0 80px rgba(249, 186, 0, 0.6);
}

/* Footer */
.contact .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.contact .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}


.footer-logo {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
    filter: brightness(1.1);
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: #F9BA00;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 186, 0, 0.3);
}

.footer h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #F9BA00;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

/* Partners Section */
.partners {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 80px 0;
    margin-top: 0;
    box-shadow: none;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */


/* Hero Badge */
.hero-badge {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(249, 186, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(249, 186, 0, 0.3);
    border-radius: 50px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse-glow 3s ease-in-out infinite;
    font-weight: 600;
    color: #fff;
    margin-top: 3rem;
    text-align: center;
}

/* Arrow Pulsing Effect */
.arrow-pulse {
    color: #F9BA00 !important;
    font-weight: 900 !important;
    font-size: 1.3em;
    display: inline-block;
    animation: arrow-pulse 4s ease-in-out infinite;
    margin: 0 0.4em;
    text-shadow: 0 0 1px rgba(249, 186, 0, 0.8);
    filter: brightness(1.1);
}

@keyframes arrow-pulse {
    0%, 100% { 
        transform: scale(1) translateX(0px);
    }
    50% { 
        transform: scale(1.15) translateX(5px);
    }
}

/* Infinity Pulsing Effect */
.infinity-pulse {
    color: #F9BA00 !important;
    font-weight: 900 !important;
    font-size: 1.3em;
    display: inline-block;
    animation: infinity-pulse 4s ease-in-out infinite;
    margin: 0 0.2em;
    text-shadow: 0 0 1px rgba(249, 186, 0, 0.8);
    filter: brightness(1.1);
}

@keyframes infinity-pulse {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.15);
    }
}


/* Text Gradient Effect */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #fff 60%, #F9BA00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shimmer 4s ease-in-out infinite;
    background-size: 200% 200%;
}

/* Reversed Text Gradient Effect */
.text-gradient-reverse {
    background: linear-gradient(135deg, #F9BA00 0%, #fff 40%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shimmer-reverse 4s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes text-shimmer-reverse {
    0%, 100% { 
        background-position: 100% 50%; 
    }
    50% { 
        background-position: 0% 50%; 
    }
}

@keyframes text-shimmer {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

/* Badge Pulsing Effect */
@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(249, 186, 0, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(249, 186, 0, 0.6);
        transform: scale(1.05);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .left-sidebar {
        width: 70px;
    }
}

@media (max-width: 768px) {
    .left-sidebar {
        display: none;
    }
    
    .main-wrapper {
        margin-left: 0;
        margin-right: 0;
    }
}