@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700;900&family=Inter:wght@400;500&display=swap');

:root {
    --main-dark: #0f172a; 
    --accent-color: #2563eb; 
    --accent-glow: rgba(37, 99, 235, 0.4);
    
    --bg-main-light: #f8fafc; 
    --bg-white-pure: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    
    --border-dark: #0f172a;
    --border-light: rgba(0,0,0,0.1);
}



/* Tastatur-Fokus für Accessibility (Barrierefreiheit) */
:focus-visible {
    outline: 3px dashed var(--accent-color);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Formular Lade-Animation (Micro-Interaction) */
.btn-accent.is-loading {
    background-color: var(--main-dark);
    color: var(--accent-color);
    animation: none; /* Stoppt den Pulse-Effekt während des Ladens */
    opacity: 0.8;
}
.btn-accent.success {
    background-color: #10b981; /* Erfolgs-Grün */
    border-color: #047857;
}
html { scroll-behavior: smooth; }
::selection { background-color: var(--accent-color); color: #ffffff; }

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-main);
    background-color: var(--bg-white-pure);
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, .logo-text, .service-number {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    text-transform: uppercase;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.relative-z { position: relative; z-index: 10; }
.overflow-hidden { overflow: hidden; }

/* --- LOGO STYLES --- */
.header-logo { 
    max-height: 60px; /* Logo deutlich vergrößert */
    width: auto; 
    object-fit: contain; 
}
.footer-logo { 
    max-height: 60px; /* Logo im Footer ebenfalls vergrößert */
    width: auto; 
    object-fit: contain; 
    background-color: #ffffff; /* Weißer Hintergrund für das farbige Logo */
    padding: 10px 20px; /* Abstand im weißen Kasten */
    border-radius: 10px; /* Abgerundete Ecken */
} 


.noise-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9998; opacity: 0.04; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); }
.scroll-progress { position: fixed; top: 0; left: 0; width: 0%; height: 5px; background: var(--accent-color); z-index: 10000; }

.bg-main-dark { background-color: var(--main-dark); }
.bg-accent { background-color: var(--accent-color); }
.bg-main-light { background-color: var(--bg-main-light); }
.bg-white-pure { background-color: var(--bg-white-pure); }

.text-white { color: #fff !important; }
.text-accent { color: var(--accent-color) !important; }
.text-dark { color: var(--main-dark) !important; }
.text-muted { color: var(--text-muted); line-height: 1.6; }

/* Responsive Padding für Mobile */
.padding-large { padding: clamp(50px, 10vw, 150px) 0; }

.align-right { text-align: right; }
.align-center { text-align: center; }
.mt-neg-50 { margin-top: -50px; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.w-100 { width: 100%; }

/* Responsive Typografie */
.massive-h2 { font-size: clamp(2rem, 5vw, 7rem); line-height: 0.9; letter-spacing: -2px; color: var(--main-dark); }
.sub-h2 { font-size: clamp(1.8rem, 4vw, 4rem); letter-spacing: -1px; }
.accent-text { color: var(--accent-color); -webkit-text-stroke: 1px var(--main-dark); text-shadow: 2px 2px 0 var(--main-dark);}
.stroke-text { color: transparent; -webkit-text-stroke: 2px var(--main-dark); }
.stroke-text-light { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.3); }

.badge-accent { background: var(--accent-color); color: #fff; padding: 8px 16px; font-weight: 700; font-family: 'Space Grotesk'; font-size: 0.8rem; border: 2px solid var(--main-dark); display: inline-block; box-shadow: 4px 4px 0 var(--main-dark); margin-bottom: 30px;}
.badge-dark { background: var(--main-dark); color: var(--accent-color); padding: 8px 16px; font-weight: 700; font-family: 'Space Grotesk'; font-size: 0.8rem; display: inline-block; margin-bottom: 20px;}

/* --- HEADER --- */
header { padding: 15px 0; position: fixed; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-light); color: var(--main-dark); }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo-link { text-decoration: none; color: inherit; display: flex; align-items: center; }

/* Hamburger Menü Icon */
.menu-toggle { display: none; background: transparent; border: none; cursor: pointer; z-index: 1001; }
.menu-toggle .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--main-dark); transition: all 0.3s ease-in-out; }

.main-nav { display: flex; gap: 40px; align-items: center;}
.nav-link { text-decoration: none; color: inherit; font-weight: 500; text-transform: uppercase; font-family: 'Space Grotesk'; font-size: 0.8rem; position: relative; white-space: nowrap; }
.nav-link::after { content: ''; position: absolute; width: 100%; height: 2px; bottom: -5px; left: 0; background: var(--accent-color); transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease; }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.mobile-cta { display: none !important; }

/* --- CONVERSION BUTTONS --- */
.btn-primary, .btn-accent, .btn-outline-dark {
    display: inline-block; padding: clamp(12px, 2vw, 16px) clamp(20px, 3vw, 32px); font-family: 'Space Grotesk'; font-weight: 700; text-transform: uppercase; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s; text-align: center; cursor: pointer; font-size: clamp(0.8rem, 1vw, 1rem);
}
.btn-primary { background: var(--main-dark); color: white; border-radius: 50px; }
.btn-primary:hover { background: var(--accent-color); }
.btn-accent { background: var(--accent-color); color: #fff; border: 2px solid var(--main-dark); box-shadow: 6px 6px 0 var(--main-dark); }
.btn-accent:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--main-dark); }
.btn-outline-dark { background: transparent; color: var(--main-dark); border: 2px solid var(--main-dark); box-shadow: 6px 6px 0 transparent; }
.btn-outline-dark:hover { box-shadow: 6px 6px 0 var(--main-dark); transform: translate(-2px, -2px); }

/* Animation für Haupt-CTAs */
.pulse-btn { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 6px 6px 0 var(--main-dark), 0 0 0 0 var(--accent-glow); }
    70% { box-shadow: 6px 6px 0 var(--main-dark), 0 0 0 15px rgba(37, 99, 235, 0); }
    100% { box-shadow: 6px 6px 0 var(--main-dark), 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* --- HERO --- */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; position: relative; }
.hero-text-massive h1 { font-size: clamp(2.5rem, 8vw, 11rem); line-height: 0.85; letter-spacing: -3px; margin-bottom: 40px; max-width: 100%;}
.hero-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; border-top: 2px solid var(--border-dark); padding-top: 40px; }
.hero-bottom-grid p { font-size: clamp(1rem, 1.2vw, 1.2rem); font-weight: 500; max-width: 450px; margin: 0; line-height: 1.5; color: #475569;}
.hero-buttons { display: flex; gap: 20px; justify-content: flex-end; }
.hero-background-effects { position: absolute; right: 0; top: 0; width: 50vw; height: 100vh; overflow: hidden; z-index: -1; filter: blur(50px); opacity: 0.4; }
.blob { position: absolute; border-radius: 50%; animation: morph 15s infinite alternate ease-in-out; }
.shape-1 { width: clamp(300px, 50vw, 600px); height: clamp(300px, 50vw, 600px); background: var(--accent-color); top: -100px; right: -100px; }
.shape-2 { width: clamp(200px, 40vw, 500px); height: clamp(200px, 40vw, 500px); background: #cbd5e1; bottom: 10%; right: 20%; animation-delay: -5s;}
@keyframes morph { 0% { border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%; transform: rotate(0deg) scale(1); } 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(45deg) scale(1.1); } }
.section-divider-brutal { height: clamp(50px, 10vw, 100px); background: repeating-linear-gradient(45deg, var(--main-dark), var(--main-dark) 10px, transparent 10px, transparent 20px); width: 100%; position: absolute; bottom: 0; }

/* --- MODERN SPLIT SECTION (PROBLEM) --- */
.border-bottom-light { border-bottom: 1px solid rgba(255,255,255,0.05); }
.split-section-modern { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 80px); align-items: center; }
.pain-points-list { display: flex; flex-direction: column; gap: 20px; }
.pain-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); padding: clamp(20px, 4vw, 40px); border-radius: 20px; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); position: relative; overflow: hidden;}
.pain-card::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: var(--accent-color); transform: scaleY(0); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); transform-origin: bottom;}
.pain-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(37, 99, 235, 0.3); transform: translateX(10px);}
.pain-card:hover::before { transform: scaleY(1); }
.pain-header { display: flex; align-items: center; gap: clamp(10px, 2vw, 20px); margin-bottom: 15px; }
.pain-num { font-family: 'Space Grotesk'; font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 900; line-height: 1;}
.pain-card h3 { font-size: clamp(1.2rem, 1.5vw, 1.5rem); letter-spacing: -0.5px; margin: 0; color: white;}
.pain-card p { color: #94a3b8; font-size: clamp(0.9rem, 1.1vw, 1.1rem); line-height: 1.6; margin: 0; }

/* --- MARQUEE --- */
.huge-marquee-container { overflow: hidden; padding: clamp(20px, 4vw, 30px) 0; border-top: 2px solid var(--main-dark); border-bottom: 2px solid var(--main-dark); }
.huge-marquee-track { display: flex; width: max-content; animation: scrollText 25s linear infinite; }
.huge-marquee-track span { font-family: 'Space Grotesk'; font-size: clamp(2rem, 4vw, 4rem); font-weight: 900; margin-right: 40px; line-height: 1; white-space: nowrap; }
@keyframes scrollText { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- LEISTUNGEN --- */
.card-grid-3 { display: flex; flex-direction: column; border-top: 2px solid var(--border-dark); }
.service-card-brutal { display: grid; grid-template-columns: clamp(50px, 10vw, 100px) 1fr; gap: clamp(20px, 4vw, 40px); padding: clamp(20px, 4vw, 40px) 0; border-bottom: 2px solid var(--border-dark); position: relative; overflow: hidden; transition: padding 0.4s; }
.service-number { font-size: clamp(1.5rem, 2vw, 2rem); color: var(--border-light); font-weight: 900; }
.service-content h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: -1px; margin-bottom: 10px; transition: color 0.3s; }
.service-content p { font-size: clamp(0.9rem, 1.1vw, 1.1rem); max-width: 600px; color: var(--text-muted); line-height: 1.6;}
.service-card-brutal:hover { padding-left: 20px; }
.service-card-brutal:hover h3 { color: var(--accent-color); -webkit-text-stroke: 1px var(--main-dark); }

/* --- BENTO GRID --- */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 20vw, 250px); gap: clamp(10px, 2vw, 20px); margin-top: clamp(30px, 6vw, 60px); }
.bento-item { border-radius: clamp(15px, 3vw, 30px); padding: clamp(20px, 4vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; transition: transform 0.3s; border: 2px solid transparent;}
.bento-item:hover { transform: translateY(-10px); }
.bento-large { grid-column: span 2; grid-row: span 2; border: 2px solid rgba(255,255,255,0.1); }
.bento-medium { grid-column: span 2; border: 2px solid var(--main-dark); }
.bento-small { grid-column: span 1; border: 2px solid var(--border-light); }
.bento-item h3 { font-size: clamp(1.3rem, 2vw, 2rem); margin-bottom: 10px; }
.bento-large h3 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
.bento-item p { margin: 0; font-size: clamp(0.9rem, 1.1vw, 1.1rem); line-height: 1.5;}
.massive-icon { font-size: clamp(2.5rem, 3.5vw, 3.5rem); margin-bottom: auto; display: block; }

/* --- KONTAKT FORMULAR --- */
.contact-brutal-flex { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 80px); align-items: center;}
.direct-contact-huge a { display: block; font-size: clamp(1.4rem, 3vw, 2.5rem); font-family: 'Space Grotesk'; font-weight: 900; color: var(--main-dark); text-decoration: none; margin-bottom: 10px; transition: color 0.3s; line-height: 1.2; word-break: break-word;}
.direct-contact-huge a:hover { color: var(--accent-color); -webkit-text-stroke: 1px var(--main-dark); }

.form-container-brutal form { display: flex; flex-direction: column; gap: clamp(15px, 2vw, 20px); }
.input-group input, .input-group select, .input-group textarea {
    width: 100%; padding: clamp(12px, 1.5vw, 15px) 0; background: transparent; border: none; border-bottom: 2px solid var(--border-light); font-family: 'Inter'; font-size: clamp(1rem, 1.2vw, 1.2rem); color: var(--main-dark); outline: none; transition: border-color 0.3s; border-radius: 0;
}
.input-group input::placeholder, .input-group textarea::placeholder { color: var(--text-muted); }
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { border-bottom-color: var(--accent-color); }
/* --- FOOTER --- */
.footer-brutal { padding: clamp(60px, 10vw, 100px) 0 clamp(40px, 6vw, 60px) 0; }
.footer-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid rgba(255,255,255,0.1); padding-bottom: 40px; margin-bottom: 40px; gap: 20px;}
.footer-links { display: flex; gap: clamp(15px, 3vw, 30px); flex-wrap: wrap; justify-content: center;}
.footer-links a { color: white; text-decoration: none; font-family: 'Space Grotesk'; font-weight: 600; font-size: clamp(0.9rem, 1.1vw, 1.1rem); }
.footer-bottom { display: flex; justify-content: space-between; color: #64748b; font-size: clamp(0.8rem, 0.9vw, 0.9rem); gap: 15px; flex-wrap: wrap;}

/* --- MOBILE STICKY CTA (Dezent & Schwebend) --- */
.mobile-sticky-cta {
    display: none; 
    position: fixed;
    bottom: 25px; 
    left: 50%; 
    transform: translate(-50%, 150%); 
    width: max-content; 
    z-index: 9990;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-sticky-cta .btn-accent { 
    padding: 12px 28px; 
    font-size: 0.95rem; 
    border-radius: 50px; 
    border: none; 
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4); 
    white-space: nowrap; 
}

.mobile-sticky-cta .btn-accent::before {
    content: '💬 ';
    margin-right: 5px;
}

.mobile-sticky-cta .btn-accent:hover { transform: translateY(-2px); }

/* REVEAL ANIMATIONS */
.reveal-item { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal-item.active { opacity: 1; transform: translateY(0); }
.reveal-group > * { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.25, 1, 0.5, 1); }

/* Bisherige 3 Elemente */
.reveal-group.active > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-group.active > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal-group.active > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }

/* NEU: Hinzugefügte Elemente 4 bis 10 */
.reveal-group.active > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal-group.active > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.reveal-group.active > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.reveal-group.active > *:nth-child(7) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.reveal-group.active > *:nth-child(8) { transition-delay: 0.7s; opacity: 1; transform: translateY(0); }
.reveal-group.active > *:nth-child(9) { transition-delay: 0.8s; opacity: 1; transform: translateY(0); }
.reveal-group.active > *:nth-child(10) { transition-delay: 0.9s; opacity: 1; transform: translateY(0); }

/* Fallback für alles über 10, falls du das CMS Limit mal erhöhst */
.reveal-group.active > *:nth-child(n+11) { transition-delay: 1s; opacity: 1; transform: translateY(0); }
/* =========================================
   --- UNTERSEITEN (PROJEKTE) STYLING --- 
   ========================================= */

.hero-small {
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding-top: 180px;
    padding-bottom: 60px;
    border-bottom: 2px solid var(--main-dark);
    position: relative;
    overflow: hidden;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
/* Spezielles Raster für die Startseite (Die "Goldene Mitte") */
.project-grid-home {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 250px; /* Wieder mehr Luft zwischen den Kacheln */
}
.project-grid-home .project-card {
    flex: 0 1 420px; /* Perfekte mittlere Größe (nicht riesig, nicht winzig) */
    max-width: 100%; 
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 12px 12px 0 var(--main-dark);
}

.project-img-wrap {
    position: relative;
    aspect-ratio: 4 / 3; 
    width: 100%;
    overflow: hidden;
    border-bottom: 2px solid var(--main-dark);
}

.project-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.img-primary { opacity: 1; transform: scale(1); z-index: 2; }
.img-secondary { opacity: 0; transform: scale(1.1); z-index: 1; }

.project-card:hover .img-primary { opacity: 0; transform: scale(1.05); }
.project-card:hover .img-secondary { opacity: 1; transform: scale(1); }

.project-content { padding: 35px; flex-grow: 1; }
.project-content h3, .project-content h2 { font-size: 2rem; letter-spacing: -0.5px; margin-bottom: 10px; }

.project-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.project-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    color: var(--text-muted);
}

.project-link-text {
    display: inline-block;
    margin-top: 15px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.project-card:hover .project-link-text { color: var(--main-dark); }

/* =========================================
   --- PREMIUM BLOG STYLING --- 
   ========================================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; 
    align-items: stretch;
    max-width: 1000px; 
    margin: 0 auto; 
}

.blog-card {
    background: var(--bg-white-pure);
    border: 1px solid var(--border-light);
    border-radius: 16px; 
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    border-color: var(--main-dark);
    transform: translateY(-5px); 
    box-shadow: 8px 8px 0 var(--main-dark); 
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10; 
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-card:hover .blog-card-img { transform: scale(1.05); }

.blog-card-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-meta { margin-bottom: 12px; }

.blog-card-date {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem; 
    font-weight: 700;
    color: var(--accent-color);
    background: rgba(37, 99, 235, 0.08); 
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

.blog-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem; 
    line-height: 1.3;
    color: var(--main-dark);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title { color: var(--accent-color); }

.blog-card-excerpt {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.9rem; 
    margin-bottom: 15px;
    flex-grow: 1;
}

.blog-card-readmore {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--main-dark);
    text-transform: uppercase;
    font-size: 0.85rem; 
    display: inline-flex;
    align-items: center;
    gap: 5px; 
    transition: gap 0.3s ease, color 0.3s ease;
    margin-top: auto;
}

.blog-card:hover .blog-card-readmore {
    gap: 10px;
    color: var(--accent-color);
}

/* BLOG DETAIL */
.blog-detail-hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 60px;
    border-bottom: 2px solid var(--main-dark);
}

.blog-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.blog-date { color: var(--text-muted); font-size: 0.9rem; }
.blog-massive-title { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 0.95; letter-spacing: -2px; color: var(--main-dark); margin: 0; }
.blog-wrapper { max-width: 760px; margin: 0 auto; }

.blog-premium-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid var(--main-dark);
    box-shadow: 10px 10px 0 var(--main-dark);
    margin-bottom: 60px;
    transition: transform 0.3s ease;
}

.blog-content {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem; 
    line-height: 1.8;
    color: #334155;
}

.blog-content h2, .blog-content h3, .blog-content h4 {
    color: var(--main-dark);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-top: 60px;
    margin-bottom: 25px;
}

.blog-content h2 { 
    font-size: 2.2rem; 
    border-bottom: 4px solid var(--accent-color); 
    display: inline-block; 
    padding-bottom: 5px; 
}
.blog-content h3 { font-size: 1.6rem; }
.blog-content p { margin-bottom: 25px; }

.blog-content ul, .blog-content ol {
    margin: 40px 0;
    padding: 30px 30px 30px 50px;
    background-color: var(--bg-main-light);
    border: 2px solid var(--main-dark);
    border-radius: 15px;
    box-shadow: 6px 6px 0 var(--border-light);
}

.blog-content li { margin-bottom: 12px; line-height: 1.7; position: relative; }

.blog-content blockquote {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
    color: var(--main-dark);
    margin: 50px 0;
    padding: 40px;
    background: rgba(37, 99, 235, 0.05);
    border-left: 6px solid var(--accent-color);
    border-radius: 0 20px 20px 0;
    position: relative;
}

.blog-content a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.blog-content a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--main-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-content a:hover { color: var(--main-dark); }
.blog-content a:hover::after { transform: scaleX(1); transform-origin: left; }
.blog-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 40px 0; border: 1px solid var(--border-light); }
.blog-footer-nav { margin-top: 80px; padding-top: 40px; border-top: 2px solid var(--border-light); text-align: center; }

/* =========================================
   --- PREMIUM HERO & GLASSMORPHISM --- 
   ========================================= */

.hero-modern-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.text-gradient {
    background: linear-gradient(90deg, var(--accent-color), #60a5fa);
    -webkit-background-clip: text;
    background-clip: text; 
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10b981; 
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-visual-composition {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glowing-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(37,99,235,0.4) 0%, rgba(37,99,235,0) 70%);
    border-radius: 50%;
    animation: float-orb 8s ease-in-out infinite;
    z-index: 1;
}

.glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float-card 6s ease-in-out infinite;
}

.glass-card.card-1 { top: 15%; right: 5%; animation-delay: 0s; }
.glass-card.card-2 { bottom: 20%; left: 0; animation-delay: -3s; background: var(--main-dark); color: white; border: 1px solid rgba(255,255,255,0.1); }
.glass-icon { font-size: 2rem; line-height: 1; }
.glass-text h4 { font-family: 'Space Grotesk'; font-size: 1.1rem; margin: 0 0 5px 0; line-height: 1.2; }
.glass-text p { margin: 0; font-size: 0.85rem; opacity: 0.8; }

@keyframes float-card {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes float-orb {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    50% { transform: scale(1.1) translate(-20px, 20px); opacity: 1; }
    100% { transform: scale(1) translate(0, 0); opacity: 0.8; }
}

/* =========================================
   --- PREMIUM SCROLL ARROW & CTA --- 
   ========================================= */

.scroll-down-indicator {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--bg-white-pure);
    color: var(--main-dark);
    text-decoration: none;
    margin-top: 40px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    animation: bounce-subtle 2.5s infinite;
    position: relative;
    z-index: 20;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.scroll-down-indicator:hover {
    background: var(--main-dark);
    color: var(--bg-white-pure);
    transform: translateY(5px);
    border-color: var(--main-dark);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.scroll-down-indicator svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

@keyframes bounce-subtle {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Den Sticky CTA komplett ausblenden */
.mobile-sticky-cta {
    display: none !important;
}

/* =========================================
   --- FINALE MOBILE OPTIMIERUNG (ALL IN ONE) --- 
   ========================================= */

/* 1. LAYOUT & SCROLL FIX (Für alle Browser) */
html {
    max-width: 100vw;
    overflow-x: hidden;
    height: 100%; 
}

body {
    max-width: 100vw;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    overscroll-behavior-x: none;
}

/* Diese Media Query regelt alles unter 900px */
@media (max-width: 900px) {

    /* --- BASIS LAYOUT --- */
    .container { 
        padding: 0 15px; 
        width: 100%; 
        max-width: 100%; 
        box-sizing: border-box;
        overflow-x: hidden; 
    }
    
    .padding-large { padding: 60px 0; }

    /* --- TYPOGRAFIE & WORTUMBRUCH (Zwingt lange Wörter in den Bildschirm) --- */
    body h1, 
    body h2, 
    body .massive-h2, 
    body .hero-text-massive h1,
    body h1.parallax-element {
        font-size: 2.2rem !important; 
        line-height: 1.1 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        white-space: normal !important;
        letter-spacing: normal !important;
        max-width: 100% !important;
        padding-left: 10px; 
        padding-right: 10px;
    }
    
    p, .text-muted { font-size: 1rem !important; line-height: 1.6 !important; }

    /* --- STÖRFAKTOREN AUSSCHALTEN --- */
    .noise-overlay {
        width: 100vw !important;
        height: 100vh !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        pointer-events: none !important;
        z-index: -99 !important; 
    }

    .huge-marquee-container {
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* --- HEADER & NAVIGATION --- */
    header.header { 
        padding: 12px 0; 
        background: rgba(255, 255, 255, 0.98); 
        z-index: 99999 !important; 
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        box-sizing: border-box;
    }
    
    .header-logo { max-height: 40px; position: relative; z-index: 999999; } 
    .header-cta { display: none; } 
    
    .menu-toggle { 
        display: block; 
        position: relative; 
        z-index: 999999 !important; 
        pointer-events: auto !important; 
        background: transparent;
        border: none;
    } 

   /* === DER KUGELSICHERE MENÜ-FIX === */
    .menu-toggle { 
        display: block; 
    } 

    #mobile-nav-container {
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100vw; 
        height: 100vh;
        background-color: var(--bg-white-pure);
        display: flex; 
        flex-direction: column; 
        justify-content: center; 
        align-items: center;
        gap: 30px;
        z-index: 99998 !important; 
        padding: 40px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    #mobile-nav-container.active { 
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    /* === DER KUGELSICHERE MENÜ-FIX === */
    #main-nav {
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100vw; 
        height: 100vh;
        background-color: var(--bg-white-pure);
        display: flex; 
        flex-direction: column; 
        justify-content: center; 
        align-items: center;
        gap: 30px;
        z-index: 99998 !important; 
        padding: 40px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    #main-nav.active { 
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Versteckt den Desktop-Button in der Handy-Ansicht */
    .header-cta {
        display: none !important;
    }
    .nav-link { font-size: 1.15rem; font-weight: 600; }
    .nav-link::after { display: none; } 
    .mobile-cta { display: inline-block !important; margin-top: 15px; width: 100%; text-align: center; box-sizing: border-box; }

    #mobile-menu-btn.active .bar:nth-child(2) { opacity: 0; }
    #mobile-menu-btn.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    #mobile-menu-btn.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* --- HERO BEREICHE --- */
    .hero, .light-hero-section { min-height: auto; padding-top: 110px !important; padding-bottom: 50px !important; overflow: hidden; width: 100%; max-width: 100%; box-sizing: border-box;}
    .hero-modern-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; width: 100%; max-width: 100%; overflow: hidden; padding: 0 10px; box-sizing: border-box;}
    .hero-text-content p { max-width: 100%; margin: 0 auto 30px auto; }
    .hero-buttons { justify-content: center; flex-direction: column; width: 100%; gap: 15px;}
    .hero-buttons a { width: 100%; box-sizing: border-box; }
    
    .hero-visual-composition { height: 280px; margin-top: 10px; max-width: 100%; overflow: hidden;}
    .glowing-orb { width: 220px; height: 220px; }
    .glass-card { padding: 15px; border-radius: 15px; }
    .glass-card.card-1 { right: 0; top: 5%; }
    .glass-card.card-2 { left: 0; bottom: 5%; }
    .glass-icon { font-size: 1.5rem; }
    .glass-text h4 { font-size: 1rem; }
    .glass-text p { font-size: 0.8rem; }

    /* --- GRID & INHALT --- */
    .split-section-modern { grid-template-columns: 1fr; gap: 30px; text-align: left; width: 100%; box-sizing: border-box;}
    .split-text { text-align: center; margin-bottom: 20px; }
    .split-text .massive-h2 { margin: 0 auto; }
    .split-text div { margin: 20px auto 0 auto !important; } 
    
    .huge-marquee-track span { font-size: 2rem; margin-right: 20px; }

    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 15px; width: 100%; box-sizing: border-box;}
    .bento-item { padding: 25px; grid-column: span 1 !important; grid-row: span 1 !important; min-height: auto;}
    
    .card-grid-3 { gap: 20px; border-top: none; width: 100%; box-sizing: border-box;}
    .service-card-brutal { grid-template-columns: 1fr; gap: 10px; text-align: center; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,0.05) !important; }
    
    .contact-brutal-flex { grid-template-columns: 1fr; gap: 30px; text-align: center; overflow: hidden; width: 100%; box-sizing: border-box; }
    .Contact-links-huge a { font-size: 1.5rem; }
    .Contact-form-block { padding: 30px 15px; box-shadow: none; border-radius: 15px; width: 100%; box-sizing: border-box;}
    .input-group input, .input-group select { width: 100%; box-sizing: border-box; }

    /* --- FOOTER --- */
    .Footer-block { padding-top: 50px; padding-bottom: 50px; text-align: center; overflow: hidden; width: 100%; box-sizing: border-box;}
    .Footer-top-block { flex-direction: column; gap: 25px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 30px; }
    .footer-logo { max-height: 45px; padding: 6px 12px; margin: 0 auto; } 
    .Footer-links-container { gap: 12px; flex-direction: row; flex-wrap: wrap; justify-content: center;}
    .Footer-bottom-block { flex-direction: column; gap: 15px; }
    .Footer-legal-links { flex-direction: row; justify-content: center; gap: 15px; flex-wrap: wrap;}

    /* --- UNTERSEITEN (BLOG & PROJEKTE) --- */
    .project-grid, .blog-grid { grid-template-columns: 1fr; gap: 30px; width: 100%; box-sizing: border-box; }
    /* --- UNTERSEITEN (BLOG & PROJEKTE) --- */
    .project-grid, .blog-grid { grid-template-columns: 1fr; gap: 30px; width: 100%; box-sizing: border-box; }
    
    /* NEU: Startseiten-Grid auf dem Handy untereinander anordnen */
    .project-grid-home { flex-direction: column; }
    .project-grid-home .project-card { flex: 1 1 100%; max-width: 100%; }

    .project-img-wrap, .blog-card-img-wrap { aspect-ratio: 16 / 9; }
    .project-content, .blog-card-content { padding: 25px 20px; box-sizing: border-box; }
    .project-content h2, .project-content h3, .blog-card-title { font-size: 1.5rem !important; margin-bottom: 10px !important;}
    .project-card:hover, .blog-card:hover { transform: none; box-shadow: 4px 4px 0 rgba(0,0,0,0.05) !important; }
    
    .premium-cta-banner { padding: 30px 20px !important; text-align: center; flex-direction: column; gap: 20px !important; width: 100%; box-sizing: border-box; }
    .premium-cta-banner .cta-text div { justify-content: center; }
    
    .blog-detail-hero { padding-top: 110px; padding-bottom: 30px; overflow: hidden; width: 100%; box-sizing: border-box;}
    .blog-massive-title { font-size: 2rem !important; }
    .blog-content { font-size: 1rem !important; overflow: hidden; width: 100%; box-sizing: border-box;}
    .blog-content h2 { font-size: 1.6rem; margin-top: 40px; }
    .blog-content h3 { font-size: 1.3rem; }
    .blog-content blockquote { font-size: 1.1rem; padding: 20px; margin: 30px 0; border-left-width: 4px; }
    .blog-premium-image { border-radius: 12px; margin-bottom: 30px; max-width: 100%; }
    .blog-content ul, .blog-content ol { padding: 20px 20px 20px 40px; margin: 30px 0; }
@media (max-width: 900px) {
    /* Versteckt den Text der Social Media Links am Handy (nur Icons sichtbar) */
    .social-text { display: none !important; }
    
    /* Zentriert die Social Media Icons auf dem Handy */
    .social-mobile-center { justify-content: center !important; }
}
}