/* ========== RESET & BASE ========== */
:root {
    --color-bg-dark: #0B0F14;
    --color-bg-surface: #111827;
    --color-text: #E6E8EB;
    --color-text-muted: #9CA3AF;
    --color-accent: #16A34A;
    --color-accent-light: #22C55E;
    --color-blue: #2563EB;
    --color-mint: #A7F3D0;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { 
    font-size: 16px; 
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ========== PARALLAX BACKGROUND ========== */
.parallax-container {
    position: fixed; 
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.geo-shape {
    position: absolute;
    stroke: var(--color-accent);
    fill: none;
    stroke-width: 1.2;
    opacity: 0.4; /* Basis-Sichtbarkeit erhöht */
    will-change: transform;
    width: 150px; /* Standardgröße, wird per JS variiert */
    height: 150px;
}

.anim-delay-1 { animation-duration: 25s; animation-delay: 0s; }
.anim-delay-2 { animation-duration: 30s; animation-delay: -5s; }
.anim-delay-3 { animation-duration: 22s; animation-delay: -10s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(10deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3 { color: var(--color-text); line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 2rem; }
h3 { font-size: 1.25rem; color: var(--color-accent-light); margin-bottom: 1rem; font-weight: 600; }

p { margin-bottom: 1.25rem; font-size: 1.15rem; color: #d1d5db; max-width: 65ch; }
.text-highlight { color: var(--color-mint); font-weight: 500; }

/* ========== LAYOUT ========== */
section {
    min-height: 90vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
}

.container { max-width: 1100px; width: 100%; margin: 0 auto; }

/* ========== CARDS ========== */
.content-card {
    background: var(--color-bg-surface);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.content-card:hover { 
    border-color: rgba(255, 255, 255, 0.2); 
    background: #1F2937;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.card-accent { 
    border-left: 4px solid var(--color-accent); 
    transition: all 0.3s ease;
}

.card-accent:hover {
    border-left-color: #4ADE80;
    box-shadow: -1px 0 8px rgba(74, 222, 128, 0.5);
}

.card-blue { 
    border-left: 4px solid var(--color-blue); 
}

.card-blue:hover {
    border-left-color: #60A5FA;
    box-shadow: -1px 0 8px rgba(96, 165, 250, 0.5);
}

/* ========== HERO ========== */
#hero { text-align: center; }
.title-part { display: inline-block; white-space: nowrap; } 

.claim { 
    font-size: clamp(1.5rem, 3.5vw, 2rem); 
    color: var(--color-accent-light); 
    margin-bottom: 3rem; 
    font-weight: 500;
    margin-left: auto; margin-right: auto;
}
.lead { font-size: 1.25rem; max-width: 850px; line-height: 1.6; }

#hero .lead {
    margin: 0 auto;
    text-align: center;
}

#hero .lead p {
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator {
    margin-top: 4rem; 
    font-size: 2.5rem; 
    color: var(--color-accent);
    cursor: pointer; 
    animation: bounce 2s infinite; 
    background: none; 
    border: none; 
    opacity: 0.8;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* ========== SERVICES CAROUSEL ========== */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}

.services-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
}
.services-scroll::-webkit-scrollbar { display: none; }

.service-card {
    flex: 0 0 320px;
    background: var(--color-bg-surface);
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid var(--color-accent);
    scroll-snap-align: center;
    display: flex; flex-direction: column;
}

.carousel-btn {
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-accent);
    width: 3.5rem; height: 3.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    position: absolute; z-index: 10;
    transition: all 0.2s;
    padding: 0;
    line-height: 1;
}

.carousel-btn:hover { background: var(--color-accent); color: white; border-color: var(--color-accent); }

.carousel-btn svg {
    display: block;
    width: 1.5rem; 
    height: 1.5rem;
}

.btn-prev { left: -2rem; }
.btn-next { right: -2rem; }

@media (max-width: 768px) {
    .carousel-btn { display: none; }
    .service-card { flex: 0 0 85%; }
}

/* ========== GRID & LISTS ========== */
.grid-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem; width: 100%;
}

.list-clean { list-style: none; padding: 0; }
.list-clean li { 
    margin-bottom: 0.5rem; display: flex; align-items: flex-start; 
}
.list-clean li::before {
    content: "✓"; color: var(--color-accent); margin-right: 0.75rem; font-weight: bold; line-height: 1.7;
}

/* ========== UTILS ========== */
.link-accent { color: var(--color-accent-light); text-decoration: none; border-bottom: 1px solid transparent; transition: border 0.3s; }
.link-accent:hover { border-bottom-color: var(--color-accent-light); }

.capacity-note {
    background: #122D2C; padding: 1rem; border-radius: 8px; font-size: 0.95rem;
    color: var(--color-mint); margin-top: 1.5rem; border: 1px solid #14532D; text-align: center;
}

/* ========== FOOTER ========== */
footer { padding: 4rem 2rem; text-align: center; font-size: 0.9rem; color: #6B7280; }
details { background: var(--color-bg-surface); margin-bottom: 1rem; border-radius: 8px; text-align: left; border: 1px solid #374151; }
summary { padding: 1.5rem; cursor: pointer; font-weight: 600; color: var(--color-text); display: flex; justify-content: space-between; align-items: center; }
.legal-content { padding: 2rem; border-top: 1px solid #374151; }
.privacy-intro { color: #9CA3AF; max-width: 600px; margin: 0 auto 3rem auto; margin-bottom: 3rem; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .geo-shape { display: none; }
}
