/* ==========================================================================
   net.casion Premium Dark Theme – basierend auf CD Manual 01/2024
   Farben: #21305c (Blau), #95c11f (Grün), #9d9d9c (Grau), #3c3c3b (Dunkelgrau)
   ========================================================================== */

:root {
    --bg:           #0a0f1a;
    --surface:      #121a2a;
    --surface-alt:  #1a2338;
    --text:         #e5efff;
    --text-muted:   #a3bffa;
    --primary:      #21305c;     /* 295 C */
    --accent:       #95c11f;     /* 376 C */
    --accent-dark:  #7fa019;
    --gray:         #9d9d9c;     /* 421 C */
    --dark-gray:    #3c3c3b;     /* 426 C */
    --shadow-sm:    0 4px 20px rgba(0,0,0,0.4);
    --shadow-md:    0 12px 40px rgba(0,0,0,0.55);
    --shadow-hover: 0 20px 60px rgba(149,193,31,0.25);
    --radius:       16px;
    --transition:   all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

/* ==========================================================================
   Navbar – Premium, sticky, blur + green accent
   ========================================================================== */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    background: rgba(33,48,92,0.88); /* primary mit Transparenz */
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(149,193,31,0.18);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 1.4rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.logo-img {
    height: 50px;                /* Desktop: 45–55 px → premium, nicht riesig */
    width: auto;
    max-width: 240px;
    display: block;
    
    /* === Empfehlung 1: Kontrast-Boost für dunkle Navbar === */
    filter: 
        drop-shadow(0 0 6px rgba(255, 255, 255, 0.45))   /* weißer Glow */
        drop-shadow(0 0 12px rgba(149, 193, 31, 0.35));  /* subtiler grüner Akzent-Glow */
    transition: filter 0.35s ease;
}

.logo:hover .logo-img {
    filter: 
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.65))
        drop-shadow(0 0 20px rgba(149, 193, 31, 0.55));
}

.logo-svg {
    width: 210px;
    height: auto;
    transition: var(--transition);
}

.logo:hover .logo-svg {
    transform: scale(1.03);
    filter: drop-shadow(0 0 16px rgba(149,193,31,0.35));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3.2rem;
}

.nav-links a {
    position: relative;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.3rem;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    inset: auto 50% 0 50%;
    height: 2.5px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.45s ease;
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    text-shadow: 0 0 14px rgba(149,193,31,0.45);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: translateX(-50%) scaleX(0.7);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
}

.hamburger span {
    width: 32px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(149,193,31,0.4);
    transition: var(--transition);
}

/* ==========================================================================
   Hero – groß, immersiv, mit CD-Form-Gradient
   ========================================================================== */
.hero {
    height: 90vh;
    min-height: 680px;
    background: var(--primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(33,48,92,0.9) 0%,
        rgba(33,48,92,0.7) 50%,
        rgba(149,193,31,0.15) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: clamp(3.2rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.05;
}

.hero .accent {
    color: var(--accent);
}

.hero p {
    font-size: 1.5rem;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
}

.cta {
    background: var(--accent);
    color: #0f1620;
    padding: 1rem 2.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(149,193,31,0.35);
    transition: all 0.35s;
}

.cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(149,193,31,0.5);
}

/* ==========================================================================
   Sections – Cards mit Gradient-Border + Lift
   ========================================================================== */
.section {
    padding: 12rem 3rem 10rem;
    max-width: 1480px;
    margin: 0 auto;
}

.section h2 {
    font-size: clamp(3.2rem, 6vw, 5.5rem);
    text-align: center;
    margin-bottom: 5rem;
    background: linear-gradient(90deg, var(--text), var(--accent) 60%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.value-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.value-card, .service-card {
    background: var(--surface);
    padding: 2.8rem;
    border-radius: var(--radius);
    border: 1px solid rgba(149,193,31,0.15);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before, .service-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent, rgba(149,193,31,0.12), transparent);
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.value-card:hover, .service-card:hover {
    transform: translateY(-14px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(149,193,31,0.35);
}

.value-card:hover::before, .service-card:hover::before {
    opacity: 1;
}

.value-card h3, .service-card h3 {
    color: var(--accent);
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
}

/* ==========================================================================
   Vision – alternativer Hintergrund
   ========================================================================== */
.section-alt {
    background: linear-gradient(to bottom, var(--bg), var(--surface-alt));
}

.vision-content {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 300;
}

.vision-content .highlight {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 2.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--primary);
    padding: 6rem 3rem 4rem;
    color: #c7d2fe;
}

.footer-content {
    max-width: 1480px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-left h3 {
    color: white;
    margin-bottom: 1.4rem;
    font-size: 1.5rem;
}

a { 
    color: var(--accent); 
    text-decoration: none; 
}
a:hover { 
    text-decoration: underline; 
    opacity: 0.9; 
}

/* ==========================================================================
   Responsive – Mobile-First Premium
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-container { padding: 1.2rem 2rem; }
    .nav-links   { gap: 2rem; }
    .section     { padding: 8rem 2rem 6rem; }
}

@media (max-width: 900px) {
    .logo-img {
        height: 42px;
        max-width: 200px;
    }
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        inset: 0 0 0 35%;
        top: 80px;
        background: rgba(10,15,26,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.6s cubic-bezier(0.68,-0.55,0.265,1.55);
        gap: 3rem;
    }
    .nav-links.active { transform: translateX(0); }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(9px,9px); }
    .hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(8px,-8px); }
    .hero h1 { font-size: 5.5rem; }
    .section h2 { font-size: 3.8rem; }
}