/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --warning-color: #ffd93d;
    --success-color: #6bcf7f;
    --dark-bg: #0a0a0a;
    --dark-secondary: #1a1a1a;
    --dark-tertiary: #2a2a2a;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #00d4ff, #4ecdc4);
    --gradient-secondary: linear-gradient(135deg, #ff6b6b, #ffd93d);
    --gradient-accent: linear-gradient(135deg, #4ecdc4, #6bcf7f);
    --shadow-primary: 0 10px 30px rgba(0, 212, 255, 0.3);
    --shadow-secondary: 0 10px 30px rgba(255, 107, 107, 0.3);
    --shadow-accent: 0 10px 30px rgba(78, 205, 196, 0.3);
    --border-radius: 15px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, 
        #0a0a0a 0%, 
        #0f1419 20%,
        #0d1b28 40%,
        #0a2238 60%,
        #082840 80%,
        #0a2238 100%
    );
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 18px;
    overflow-x: hidden;
    position: relative;
}

/* Code Rain Background Effect */
#code-rain-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.1;
}

/* Ensure content is above canvas */
body > *:not(#code-rain-canvas) {
    position: relative;
    z-index: 1;
}

/* Firefox Scrollbar Farben */
html {
    scrollbar-width: thin;
    scrollbar-color: #00d4ff var(--dark-bg);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.8rem;
}

h5 {
    font-size: 1.4rem;
}

h6 {
    font-size: 1.2rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    position: relative;
    margin-bottom: 1rem;
    font-size: 5rem; /* Verdoppelt von ~2.5rem */
    font-weight: 800;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: comeIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.2s;
}

@keyframes comeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(10, 10, 10, 0.8) !important;
    backdrop-filter: blur(15px);
    border-bottom: none; /* obere cyan Linie entfernen */
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    font-size: 4rem; /* Extra groß */
    font-family: 'Courier New', 'Monaco', 'Consolas', monospace; /* Code-Schriftart */
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.05em; /* Leichte Buchstabenabstände für Code-Look */
}

.navbar-nav .nav-link:hover {
    background: var(--gradient-primary);
    color: var(--dark-bg) !important;
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    overflow: hidden;
    height: 50vh; /* Halbe Bildschirmhöhe */
    display: flex;
    align-items: center;
    padding: 0;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 60vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image-fullwidth {
    width: 100%;
    height: 50vh; /* Halbe Bildschirmhöhe */
    position: relative;
    overflow: hidden;
    background: transparent;
}

.hero-image-full { display: none; }

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


/* Remove decorative cyan overlay to avoid blue stripe at top-left */
.hero-section::before {
    content: none !important;
    background: none !important;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.hero-title-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
}

.hero-down-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-top: 20px;
    border-radius: 50%;
    color: var(--dark-bg);
    background: var(--gradient-primary);
    box-shadow: var(--shadow-primary);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.hero-down-arrow:hover {
    transform: translateY(4px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
}

.hero-down-arrow i {
    font-size: 1.25rem;
}

/* Scroll-Dissolve Effekt: Buchstaben werden per mask-image “aufgelöst” */
#heroTitle {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Maske wird per JS dynamisch gesetzt */
    font-size: clamp(3rem, 12vw, 12rem);
    line-height: 0.9;
    white-space: nowrap;
    will-change: transform, opacity, filter;
    transform: translateZ(0);
    letter-spacing: 0.02em;
    min-width: 10ch;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* Breitere und größere Unterzeile im Hero */
.hero-title-overlay .hero-subtitle {
    font-size: 1.7rem !important; /* ~30% größer als 1.3rem */
    font-stretch: 125%;
    letter-spacing: 0.02em;
    transform: scaleX(1.08);
    transform-origin: center;
}

.hero-buttons {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-primary);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.4);
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
    color: var(--dark-bg);
}

.btn-outline-light {
    border: 2px solid var(--text-light);
    color: var(--text-light);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: transparent;
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ===== SERVICES GRID ===== */
.services-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 3rem;
    position: relative;
}

.service-item {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03), rgba(78, 205, 196, 0.03));
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    
    /* Fly-In Animation - Initial State */
    opacity: 0;
    transform: translateX(-100px) rotateY(-15deg);
    filter: blur(5px);
}

/* Fly-In Animation - Active State */
.service-item.fly-in {
    opacity: 1;
    transform: translateX(0) rotateY(0);
    filter: blur(0);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Gestaffelte Animation für jedes Item */
.service-item:nth-child(1).fly-in { transition-delay: 0.1s; }
.service-item:nth-child(2).fly-in { transition-delay: 0.2s; }
.service-item:nth-child(3).fly-in { transition-delay: 0.3s; }
.service-item:nth-child(4).fly-in { transition-delay: 0.4s; }
.service-item:nth-child(5).fly-in { transition-delay: 0.5s; }
.service-item:nth-child(6).fly-in { transition-delay: 0.6s; }

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(78, 205, 196, 0.08));
}

.service-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(0, 212, 255, 0.1);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.service-item:hover .service-number {
    color: rgba(0, 212, 255, 0.2);
    transform: scale(1.1);
}

.service-icon-modern {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--dark-bg);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon-modern {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.service-item h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.service-item:hover h3 {
    color: var(--primary-color);
}

.service-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tech span {
    background: rgba(0, 212, 255, 0.08);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.service-item:hover .service-tech span {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .services-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-item {
        padding: 2rem;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: var(--transition);
    z-index: 1;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary-color);
}

.service-card>* {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--dark-bg);
    transition: var(--transition);
}

/* Normalize FA icon alignment so all service icons sit on one line */
.service-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    width: 1em;
    height: 1em;
}

/* Font Awesome glyph normalisierung (verhindert vertikales "Springen") */
.service-icon .fa,
.service-icon .fas,
.service-icon .fa-solid {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    width: 1em;
    height: 1em;
}

.service-icon .fa::before,
.service-icon .fas::before,
.service-icon .fa-solid::before {
    line-height: 1;
    vertical-align: middle;
}

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

.service-card h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ===== SERVICE FEATURES ===== */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto; /* schiebt die Buttons an das Kartenende */
}

/* Optionale Ausgleichsfläche für unterschiedliche Textlängen */
.service-card p {
    /* maximale 4 Zeilen anzeigen, verhindert Sprünge ohne Layout-Verschiebung */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feature-tag {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.feature-tag:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-primary);
}

/* ===== ANIMATED CARDS ===== */
.animated-card {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.animated-card:nth-child(1) {
    animation-delay: 0.1s;
}

.animated-card:nth-child(2) {
    animation-delay: 0.2s;
}

.animated-card:nth-child(3) {
    animation-delay: 0.3s;
}

.animated-card:nth-child(4) {
    animation-delay: 0.4s;
}

.animated-card:nth-child(5) {
    animation-delay: 0.5s;
}

.animated-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* ===== SIMPLE SLIDER ===== */
.simple-slider {
    position: relative;
    max-width: 100%; /* Full-Width */
    width: 100%;
    margin: 3rem auto;
    padding: 0; /* Kein Padding mehr, da keine Buttons */
}

.slider-container {
    overflow: hidden;
    border-radius: 20px;
    padding: 40px; /* Mehr Padding für Borders und Glow */
}

.slider-track {
    display: flex;
    gap: 3rem; /* Mehr Abstand zwischen Projekten */
    transition: none; /* Kein Transition, wird durch JavaScript gesteuert */
    align-items: stretch;
    cursor: grab; /* Zeigt, dass man ziehen kann */
    user-select: none; /* Verhindert Text-Selektion beim Drag */
    will-change: transform; /* Performance-Optimierung */
}

.slider-track:active {
    cursor: grabbing; /* Zeigt beim Ziehen */
}

.slide {
    flex: 0 0 400px; /* Fixe Breite - größere Projekte */
    max-width: 400px;
    opacity: 1;
    transition: all 0.5s ease;
    display: flex; /* Flex für gleiche Höhe */
    position: relative; /* Für Glow-Effekt */
}

.slide.active {
    opacity: 1;
}

.slide-content {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    width: 100%; /* Volle Breite des Slides */
    min-height: 100%; /* Mindesthöhe = volle Höhe des Slides */
    position: relative;
}

.slide-content:hover {
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.4),
                0 0 80px rgba(0, 212, 255, 0.2);
}

.slide-image {
    width: 100%;
    height: 800px; /* Doppelt so groß */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gradient Placeholders */
.slide-image[data-placeholder="1"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide-image[data-placeholder="2"] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.slide-image[data-placeholder="3"] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.slide-image[data-placeholder="4"] {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.slide-image[data-placeholder="5"] {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.slide-image[data-placeholder="6"] {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.slide-image[data-placeholder="7"] {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.4s ease;
}

.slide-content:hover .slide-image {
    filter: brightness(1.1);
}

.slide-info {
    padding: 2.5rem;
}

.slide-category {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--dark-bg);
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.slide-info h3 {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.slide-content:hover .slide-info h3 {
    color: var(--primary-color);
}

.slide-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.slide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.slide-tags span {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.slide-content:hover .slide-tags span {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-3px);
}

/* Slider Buttons - Versteckt */
.slider-btn {
    display: none; /* Keine Buttons mehr */
}

.slider-btn:hover {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

/* Slider Dots - Versteckt */
.slider-dots {
    display: none; /* Keine Dots mehr */
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.4);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

/* Responsive */
@media (max-width: 1400px) {
    .slide {
        flex: 0 0 calc((100% - 6rem) / 4); /* 4 Slides bei mittlerer Breite */
        max-width: calc((100% - 6rem) / 4);
    }
}

@media (max-width: 1200px) {
    .slide {
        flex: 0 0 calc((100% - 4rem) / 3); /* 3 Slides bei kleinerer Breite */
        max-width: calc((100% - 4rem) / 3);
    }
}

@media (max-width: 992px) {
    .slide {
        flex: 0 0 calc((100% - 2rem) / 2); /* 2 Slides bei Tablet */
        max-width: calc((100% - 2rem) / 2);
    }
}

@media (max-width: 768px) {
    .simple-slider {
        padding: 0 60px;
    }
    
    .slide {
        flex: 0 0 100%; /* 1 Slide bei Mobile */
        max-width: 100%;
    }
    
    .slider-track {
        gap: 0;
    }
    
    .slide-image {
        height: 400px; /* Kleinere Höhe bei Mobile */
    }
    
    .slide-image {
        height: 250px;
    }
    
    .slide-info {
        padding: 1.5rem;
    }
    
    .slide-info h3 {
        font-size: 1.5rem;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* ===== FEATURED PROJECT ===== */
.featured-project {
    background: transparent;
    border-radius: var(--border-radius);
    padding: 3rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    margin-bottom: 3rem;
    transition: var(--transition);
}

.featured-project:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

.project-content {
    padding-left: 2rem;
}

.project-category {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.project-content h3 {
    color: var(--text-light);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.project-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tech-tag {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.project-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.project-stats .stat {
    text-align: center;
}

.project-stats .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.project-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== PORTFOLIO ITEMS ===== */
.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 0.95;
}

.portfolio-overlay h5 {
    color: var(--dark-bg);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    color: var(--dark-bg);
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.project-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
}

.detail-tag {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--text-light);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== PROJECT PROCESS ===== */
.project-process {
    background: transparent;
    border-radius: var(--border-radius);
    padding: 3rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
    margin-top: 3rem;
}

.project-process h3 {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.process-step h4 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: transparent;
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--text-light);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* ===== CONTACT INFO ===== */
/* ===== CONTACT DETAILS ===== */
.contact-details {
    background: transparent;
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 212, 255, 0.2);
    height: 100%;
}

.contact-info-list {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: transparent;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: var(--transition);
}

.contact-info-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.contact-info-item .contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-info-item .contact-icon i {
    color: var(--dark-bg);
    font-size: 1.2rem;
}

.contact-text h5 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-text p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ===== SOCIAL LINKS ===== */
.social-links h5 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.social-icon {
    width: 45px;
    height: 45px;
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* ===== CONTACT CARDS ===== */
.contact-extra {
    margin-top: 3rem;
}

.contact-card {
    background: transparent;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 212, 255, 0.1);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary-color);
}

.contact-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-card .card-icon i {
    color: var(--dark-bg);
    font-size: 1.5rem;
}

.contact-card h5 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-card p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ===== STATS ===== */
.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 0;
}

/* ===== SOCIAL LINKS ===== */
.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--dark-bg);
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    margin: 0 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
    color: var(--dark-bg);
}

/* ===== INTERACTIVE SECTION 1: PARTICLE NETWORK ===== */
.particle-container {
    position: relative;
    width: 100%;
    height: 600px;
    background: rgba(10, 10, 20, 0.5);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

#particle-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.particle-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
}

.particle-overlay-text h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.particle-overlay-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.9;
}

/* ===== INTERACTIVE SECTION 2: MORPHING TEXT WAVE ===== */
.wave-text-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 3rem 0;
}

.wave-text {
    font-size: 6rem;
    font-weight: 900;
    text-align: center;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.2em;
    position: relative;
    cursor: pointer;
    user-select: none;
    color: transparent;
    -webkit-text-stroke: 2px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0 transparent);
}

.wave-text:hover {
    -webkit-text-stroke: 2px var(--primary-color);
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.8));
}

.wave-text span {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.wave-text span.wave {
    color: var(--primary-color);
    -webkit-text-stroke: 0;
    transform: translateY(-30px) scale(1.4) rotateZ(-10deg);
    text-shadow: 
        0 0 20px rgba(0, 212, 255, 1),
        0 0 40px rgba(0, 212, 255, 0.8),
        0 0 60px rgba(0, 212, 255, 0.6);
    animation: letterPulse 0.6s ease-in-out;
}

@keyframes letterPulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.5);
    }
}

/* Glitch effect on hover */
.wave-text:hover span:not(.wave) {
    animation: subtleGlitch 0.3s infinite;
}

@keyframes subtleGlitch {
    0%, 100% {
        transform: translateX(0);
    }
    33% {
        transform: translateX(-2px);
    }
    66% {
        transform: translateX(2px);
    }
}

/* ===== INTERACTIVE SECTION 3: MORPHING BLOBS ===== */
.blobs-container {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 30px;
    overflow: hidden;
    border: 3px solid rgba(0, 212, 255, 0.3);
    background: rgba(10, 10, 30, 0.8);
    box-shadow: 0 10px 50px rgba(0, 212, 255, 0.2);
    transition: all 0.4s ease;
}

.blobs-container:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 70px rgba(0, 212, 255, 0.4);
}

.blobs-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    filter: blur(40px);
}

.stats-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding: 4rem;
    height: 100%;
    align-items: center;
}

.stat-card {
    text-align: center;
    background: rgba(10, 10, 30, 0.85);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 25px;
    padding: 3rem 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
}

.stat-card:hover::before {
    opacity: 1;
    transform: translate(25%, 25%);
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 
        0 20px 60px rgba(0, 212, 255, 0.4),
        inset 0 0 40px rgba(0, 212, 255, 0.1);
}

.stat-card-number {
    font-size: 4.5rem;
    font-weight: 900;
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
    transition: all 0.4s ease;
}

.stat-card:hover .stat-card-number {
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 1));
    transform: scale(1.1);
}

.stat-card-label {
    font-size: 1.2rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-card-label {
    color: var(--primary-color);
    letter-spacing: 4px;
}

/* Pulse Animation für Blob-Glow */
@keyframes blobPulse {
    0%, 100% {
        filter: blur(40px);
        opacity: 0.4;
    }
    50% {
        filter: blur(50px);
        opacity: 0.6;
    }
}

.blobs-svg {
    animation: blobPulse 8s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .stats-grid {
        padding: 3rem;
        gap: 2rem;
    }
    
    .stat-card-number {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .blobs-container {
        height: auto;
        min-height: 500px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-card-number {
        font-size: 3rem;
    }
    
    .stat-card-label {
        font-size: 1rem;
    }
}

/* Responsive adjustments for interactive sections */
@media (max-width: 768px) {
    .particle-container {
        height: 400px;
    }
    
    .particle-overlay-text h3 {
        font-size: 2rem;
    }
    
    .particle-overlay-text p {
        font-size: 1rem;
    }
    
    .wave-text {
        font-size: 3rem;
        letter-spacing: 0.1em;
    }
}

/* ===== FOOTER ===== */
footer {
    background: transparent !important;
    background-color: transparent !important;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2rem 0;
}

/* ===== PROFESSIONAL COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary-color);
    padding: 1.5rem 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-icon i {
    color: var(--dark-bg);
    font-size: 1.5rem;
}

.cookie-text h5 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: rgba(10, 10, 10, 0.95);
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--primary-color);
}

.cookie-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h4 {
    color: var(--text-light);
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: var(--primary-color);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: transparent;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category-header h6 {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
}

.cookie-category p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* ===== TOGGLE SWITCH ===== */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--dark-tertiary);
    transition: 0.3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

input:disabled+.slider {
    background-color: var(--primary-color);
    opacity: 0.6;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-banner p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: var(--accent-color);
}

/* ===== SECTION SPACING ===== */
.section-spacing {
    padding: 100px 0;
}

/* ===== NEON FADE-IN TITLE EFFECT ===== */
.matrix-title {
    position: relative;
    opacity: 0;
    filter: blur(20px);
    transform: scale(0.8);
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Aktiviert durch Scroll - wird per JavaScript gesetzt */
.matrix-title.matrix-active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    text-shadow: 
        0 0 20px rgba(0, 212, 255, 0.6),
        0 0 40px rgba(0, 212, 255, 0.4),
        0 0 60px rgba(0, 212, 255, 0.2);
    animation: neonBreath 4s ease-in-out infinite;
}

/* Sanfter Neon Breathing Effekt */
@keyframes neonBreath {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(0, 212, 255, 0.6),
            0 0 40px rgba(0, 212, 255, 0.4),
            0 0 60px rgba(0, 212, 255, 0.2);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(0, 212, 255, 0.8),
            0 0 60px rgba(0, 212, 255, 0.6),
            0 0 90px rgba(0, 212, 255, 0.4);
    }
}

/* Hover Effekt - intensiverer Glow */
.matrix-title:hover {
    text-shadow: 
        0 0 30px rgba(0, 212, 255, 1),
        0 0 60px rgba(0, 212, 255, 0.8),
        0 0 90px rgba(0, 212, 255, 0.6),
        0 0 120px rgba(0, 212, 255, 0.4);
    transition: text-shadow 0.3s ease;
}

/* Einheitliche Abstände für alle Sections */
#home {
    margin-bottom: 0 !important;
}

#services.section-spacing {
    padding-top: 100px;
    padding-bottom: 100px;
}

#projects.section-spacing {
    padding-top: 200px; /* Mehr Abstand nach oben */
    padding-bottom: 100px;
}

/* Titel "Unsere letzten Projekte" mittig positionieren */
#projects .text-center.mb-5 {
    margin-bottom: 8rem !important; /* Gleicher Abstand nach unten */
}

#contact.section-spacing {
    padding-top: 200px; /* Mehr Abstand nach oben */
    padding-bottom: 100px;
}

/* Titel "Kontaktieren Sie uns" mittig positionieren */
#contact .text-center.mb-5 {
    margin-bottom: 8rem !important; /* Gleicher Abstand nach unten */
}

/* ===== ALL SECTIONS SPACING ===== */
section {
    margin: 100px 0;
    background: transparent !important;
}

.bg-dark {
    background: transparent !important;
    background-color: transparent !important;
}

section:first-child {
    margin-top: 0;
}

section:last-child {
    margin-bottom: 0;
}

/* ===== FULLWIDTH CONTAINERS ===== */
.hero-section .container-fluid {
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-section .container-fluid {
        padding-left: 25px;
        padding-right: 25px;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* ===== CONTENT CARD ===== */
.content-card {
    background: transparent;
    border-radius: var(--border-radius);
    padding: 3rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
    margin-bottom: 2rem;
}

.content-card h2 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.content-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.4rem;
}

.content-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-card ul {
    color: var(--text-muted);
    padding-left: 1.5rem;
}

.content-card li {
    margin-bottom: 0.5rem;
}

/* ===== LAZY LOADING ===== */
.lazy-load {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    min-height: 200px;
    border-radius: var(--border-radius);
}

.lazy-load.loaded {
    opacity: 1;
    transform: translateY(0);
    background: none;
    animation: none;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease forwards;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        padding: 0;
    }

    .hero-image-fullwidth {
        height: 50vh;
    }

    section {
        margin: 60px 0;
    }

    .featured-project {
        padding: 2rem;
    }

    .project-content {
        padding-left: 0;
        padding-top: 2rem;
    }

    .project-stats {
        gap: 1rem;
    }

    .project-process {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-details {
        padding: 2rem;
        margin-top: 2rem;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-info-item .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .social-icons {
        justify-content: center;
    }

    .contact-card {
        padding: 1.5rem;
    }
}

.hero-title {
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
}

.section-title {
    font-size: 4rem; /* Verdoppelt für Tablet */
}

.service-card {
    padding: 2rem 1.5rem;
}

.contact-form {
    padding: 2rem;
}

.btn {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
}

.section-spacing {
    padding: 1rem 0;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
}
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 40vh;
        padding: 0;
    }

    .hero-image-fullwidth {
        height: 40vh;
    }

    section {
        margin: 40px 0;
    }
}

.hero-title {
    font-size: 2rem;
}

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

.section-title {
    font-size: 3.2rem; /* Verdoppelt für Mobile */
}

.service-card {
    padding: 1.5rem 1rem;
}

.contact-form {
    padding: 1.5rem;
}

.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-size: 1rem;
    margin: 0.2rem 0;
}

.cookie-banner .col-lg-8,
.cookie-banner .col-lg-4 {
    text-align: center;
    margin-bottom: 1rem;
}

.cookie-banner .btn {
    margin: 0.25rem;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

.content-card {
    padding: 2rem 1.5rem;
}

.hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}

.hero-buttons .btn:last-child {
    margin-bottom: 0;
}

.section-spacing {
    padding: 1rem 0;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.6rem;
}
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.5);
}

::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00bfe6;
}

/* ===== SELECTION STYLING ===== */
::selection {
    background: var(--primary-color);
    color: var(--dark-bg);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--dark-bg);
}