/* 
  🚀 DREHMOMENT DIGITAL — HIGH-END AGENCY DESIGN
  Vibe: Schimmerndes Anthrazit, weiche Glasschatten, moderne Agency-Atmosphäre.
*/

:root {
    /* 🎨 MODERN COLOR PALETTE */
    --bg-primary: #FFFFFF;
    --bg-surface: #F8FAFC;
    --text-main: #111111;
    --text-muted: #475569;

    --accent-orange: #E8540A;
    --accent-orange-hover: #C2410C;
    --accent-glow: rgba(232, 84, 10, 0.2);

    --panel-dark: #1c1f26;
    /* Das edle Anthrazit (Original) */
    --panel-border: rgba(0, 0, 0, 0.08);

    /* 📰 UI-TOKENS (UI UX Pro Max: Minimal Flat Edition + Volume) */
    --radius-sm: 6px;
    /* Leicht weicher als 4px, für sanftes TextField feeling */
    --radius-lg: 16px;
    /* 16px wirkt schwerer, aber nicht mehr kugelig */
    --shadow-soft: none;
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.06);
    /* Etwas edlerer Hover-Lift für das Volumen */
    --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    /* Spürbarere Masse in der Bewegung */

    --font-primary: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

/* ==========================================================================
   ANIMATIONS 
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Grain Overlay */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3Cfilter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9998;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 10rem 0;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 2rem;
}

.highlight-text {
    color: var(--accent-orange);
}

/* ==========================================================================
   HEADER LOGO (MULTIPLY ELIMINIERT WEISS)
   ========================================================================== */
.site-header {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.6rem 2rem;
    border-radius: 100px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 1);
}

.logo-container {
    height: 48px;
}

.logo-container img {
    height: 100%;
    width: auto;
    mix-blend-mode: multiply;
    /* Stanzt weiß im Header weg */
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* ==========================================================================
   FOOTER/CONTACT LOGO (SCREEN ELIMINIERT DUNKEL/BALKEN)
   ========================================================================== */
.footer-logo {
    mix-blend-mode: screen;
    /* Macht Schwarz unsichtbar, behält nur helle Teile */
    filter: brightness(0) invert(1) contrast(1.5) !important;
    /* Macht Logo weiß, falls es dunkel ist */
    display: inline-block;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-orange);
    color: #fff;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    padding-top: 12rem;
    padding-bottom: 6rem;
}

.hero-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Problem Cards */
.agitation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.agitation-sticky {
    position: sticky;
    top: 120px;
}

.agitation-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.problem-card {
    background: var(--bg-surface);
    padding: 3.5rem;
    /* Mehr Raum für Content */
    border-radius: var(--radius-lg);
    border: 2px solid rgba(0, 0, 0, 0.03);
    /* Dickere Kante aber heller, für subtiles 3D-Volumen */
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.problem-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.problem-card:hover {
    transform: translateY(-4px);
    /* Eleganter, kürzerer Hub */
    box-shadow: var(--shadow-md);
    border-color: rgba(232, 84, 10, 0.3);
}

.problem-card i {
    display: inline-flex;
    padding: 1rem;
    background: rgba(232, 84, 10, 0.1);
    border-radius: 12px;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.problem-card:hover i {
    transform: scale(1.1);
    background: rgba(232, 84, 10, 0.2);
}

.section-dark {
    background: var(--panel-dark);
    color: #fff;
    border-radius: var(--radius-lg);
    margin: 0 1rem;
}

/* System Grid */
.system-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.system-card {
    background: #fff;
    padding: 4rem 2.5rem;
    /* Fülligere Box */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 4px solid rgba(0, 0, 0, 0.04);
    /* Typischer Agency Flat-UI Kniff für Bodenhaftung */
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-bottom-color var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.system-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #0f172a;
}

.system-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Die Badges über den Headings in den System-Cards */
.card-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(232, 84, 10, 0.1);
    color: var(--accent-orange);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent-orange);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--transition-fast);
}

.system-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
}

.system-card:hover::before {
    transform: scaleY(1);
}

/* Prozess */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    background: var(--accent-orange);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slider */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.slider-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.dummy-old-website {
    background: #eee;
    height: 100%;
    padding: 40px;
    color: #666;
    font-size: 12px;
}

.slider-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 5;
    cursor: ew-resize;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 4px;
    background: #fff;
    z-index: 4;
    transform: translateX(-50%);
}

/* Kontakt & Formular Veredelung */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-info {
    padding-top: 2rem;
}

.contact-method {
    margin-bottom: 2.5rem;
}

.contact-method h4 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-orange);
    margin-bottom: 0.8rem;
}

.contact-method a {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

.contact-method a:hover {
    color: var(--accent-orange);
}

.contact-form {
    background: #fff;
    padding: 4.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    /* Leicht reduziert für Premium Look */
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #111;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 800;
    font-size: 0.85rem;
    /* Sharpened: Etwas kleiner und cleaner */
    margin-bottom: 0.6rem;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 1.1rem 1.3rem;
    border: 1px solid #cbd5e1;
    /* Schärferer Kontrast am Rand */
    background: #f8fafc;
    border-radius: var(--radius-sm);
    /* Von 12px bubbly auf eckige 4px */
    font-family: inherit;
    font-size: 1.05rem;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(232, 84, 10, 0.1);
    /* Moderner Focus-Ring statt Shadow */
}

.form-control::placeholder {
    color: #94a3b8;
}

.footer-nav a:hover {
    color: #fff !important;
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON (Barrier-Free Comms)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

@media (max-width: 968px) {

    .hero-grid,
    .agitation-grid,
    .process-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}