/* =========================================
   VARIABLEN & RESET 
========================================= */


html, body {
    max-width: 100%;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    position: relative;
}

:root {
    --color-navy: #152238; 
    --color-burgundy: #6D1824; 
    --color-burgundy-hover: #54111B;
    --color-gray-bg: #EAECEF; 
    --color-light-gray: #F4F6F9;
    --color-gold: #C6A87C;
    --color-white: #FFFFFF;
    --color-text: #404040;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-text: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-text);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
.logo-image { width: 200px; height: auto; }
a { text-decoration: none; color: inherit; }

/* =========================================
   TYPOGRAFIE 
========================================= */
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-navy); }

h1 { 
    font-size: 3.4rem; 
    font-weight: 900; 
    text-transform: uppercase; 
    line-height: 1.05; 
    letter-spacing: -1.2px;
    margin-bottom: 25px;
}

h2 { font-size: 2rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 15px; text-transform: uppercase;}
h3 { font-size: 0.95rem; font-weight: 800; line-height: 1.3; }

.text-burgundy { color: var(--color-burgundy); }
.text-gold { color: var(--color-gold); }
.text-white { color: var(--color-white); }
.text-white-muted { color: rgba(255,255,255,0.7) !important; }
.bg-light-gray { background-color: var(--color-light-gray); }
.bg-navy { background-color: var(--color-navy); }
.bold-text { font-weight: 700; }
.text-center { text-align: center; }
.mb-50 { margin-bottom: 50px; }
.mt-20 { margin-top: 20px; }

.page-indicator {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.subtitle {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 45px;
    color: #333;
    line-height: 1.6;
    max-width: 100%; /* Auf 100% setzen */
    word-wrap: break-word; /* Erzwingt Umbruch bei langen Wörtern */
}

.container {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-burgundy { background-color: var(--color-burgundy); color: var(--color-white); }
.btn-burgundy:hover { background-color: var(--color-burgundy-hover); }
.btn-dark { background-color: var(--color-navy); color: var(--color-white); margin-top: 1rem; }

/* =========================================
   HEADER & NAVIGATION
========================================= */
.site-header {
    background-color: var(--color-white);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.header-container { display: flex; justify-content: space-between; align-items: center; gap: 40px; position: relative; }
.header-line { flex-grow: 1; height: 1px; background-color: #E0E0E0; }

.main-nav ul { list-style: none; display: flex; align-items: center; }
.main-nav li { display: flex; align-items: center; }
.main-nav li:not(:last-child)::after { content: '|'; color: #CCC; margin: 0 14px; font-size: 1rem; font-weight: 300; }
.main-nav a { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #444; transition: color 0.2s; }
.main-nav a:hover { color: var(--color-burgundy); }

/* Hamburger Menu Button (Desktop Hidden) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-burgundy); /* Rotes Hamburger Icon */
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* =========================================
   SEKTION 1: HERO (TEASER BEREICH)
========================================= */
.hero-section {
    padding: 80px 0 100px 0;
    position: relative;
    overflow: visible; 
    background-color: var(--color-white);
}

.hero-bg-gray {
    position: absolute;
    top: 0; right: 0; width: 65%; height: 100%;
    background-color: var(--color-gray-bg);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 5; 
}

.focus-icons { display: flex; gap: 20px; text-align: center; }
.icon-box { flex: 1; }
.icon-wrapper { width: 48px; height: 48px; margin: 0 auto 15px auto; display: flex; justify-content: center; align-items: center; }
.custom-icon { max-width: 100%; max-height: 100%; object-fit: contain; }
.icon-box h3 { font-size: 0.85rem; font-weight: 800; line-height: 1.3; margin-bottom: 8px; color: var(--color-navy); }
.icon-text { font-size: 0.75rem; line-height: 1.4; color: #333; }

.hero-image-area { display: flex; justify-content: center; align-items: center; position: relative; width: 100%; }
.geometric-svg { width: 100%; max-width: 550px; height: auto; display: block; filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.05)); }

/* =========================================
   SEKTION 2: DIFFERENCE
========================================= */
.difference-section { padding: 100px 0; }
.difference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.difference-text p { font-size: 1.15rem; margin-bottom: 20px; overflow-wrap: break-word;}
.difference-image { position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.image-caption { position: absolute; bottom: 0; right: 0; background: var(--color-navy); color: var(--color-white); padding: 12px 24px; font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; }

/* =========================================
   SEKTION 3: SCHWERPUNKTE
========================================= */
.schwerpunkte-section { padding: 100px 0; }
.schwerpunkte-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.schwerpunkt-card { background-color: var(--color-white); padding: 30px; border-top: 4px solid var(--color-burgundy); box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: transform 0.3s; }
.schwerpunkt-card:hover { transform: translateY(-5px); }
.card-number { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: var(--color-gray-bg); margin-bottom: 15px; }
.schwerpunkt-card p { font-weight: 600; color: var(--color-navy); font-size: 1.05rem; }

/* =========================================
   SEKTION 4: POSITIONIERUNG & ZIELGRUPPE
========================================= */
.collaboration-section { padding: 100px 0; }
.collaboration-section h2 { color: var(--color-white); }
.collab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.custom-list { list-style: none; margin-top: 30px; }
.custom-list li { margin-bottom: 15px; padding-left: 25px; position: relative; font-size: 1.1rem; }
.custom-list li::before { content: '•'; color: var(--color-gold); position: absolute; left: 0; font-size: 1.5rem; line-height: 1; top: -2px; }

.target-group-icons { display: flex; justify-content: space-between; gap: 15px; margin: 40px 0; padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
.target-item { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1; }
.target-icon { width: 45px; height: 45px; object-fit: contain; }
.target-item span { font-size: 0.8rem; font-weight: 600; text-align: center; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.5px; }

.collab-images { display: grid; grid-template-columns: 1fr; gap: 20px; }

/* =========================================
   SEKTION 5: ARBEITSWEISE
========================================= */
.arbeitsweise-section { padding: 100px 0; }
.arbeitsweise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.arbeitsweise-text p { font-size: 1.15rem; overflow-wrap: break-word;}
.check-list { list-style: none; }
.check-list li { margin-bottom: 20px; padding-left: 35px; position: relative; font-size: 1.1rem; font-weight: 500;}
.check-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 8px; height: 16px; border: solid var(--color-burgundy); border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* =========================================
   SEKTION 6: ANSPRUCH
========================================= */
.anspruch-section { padding: 100px 0; border-top: 1px solid var(--color-gray-bg); border-bottom: 1px solid var(--color-gray-bg); }
.anspruch-content { max-width: 800px; margin: 0 auto; }
.anspruch-content h2 { font-size: 2.8rem; line-height: 1.2; margin-bottom: 20px; }
.anspruch-text { font-size: 1.4rem; font-weight: 500; color: var(--color-burgundy); }

/* =========================================
   SEKTION 7: KONTAKT
========================================= */
.next-step-section { padding: 100px 0; }
/* Layout für die Kontakt-Sektion */
/* --- Kontakt Sektion Layout --- */
.next-step-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* --- Prozess-Liste mit Ziffern & Linien --- */
.analysis-process-list {
    list-style: none; /* Deaktiviert Standard-Ziffern */
    counter-reset: process-counter; /* Initialisiert Counter */
    padding-left: 0;
}

.analysis-process-list li {
    position: relative;
    padding-left: 60px; /* Platz für Ziffer */
    padding-bottom: 25px; /* Abstand zur nächsten Linie */
    margin-bottom: 25px; /* Abstand zur nächsten Linie */
    border-bottom: 1px solid #e0e0e0; /* Dezenter Trennstrich */
}

/* Entfernt die Linie nach dem letzten Element */
.analysis-process-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Gestaltet die Ziffer (Counter) */
.analysis-process-list li::before {
    counter-increment: process-counter; /* Erhöht Counter */
    content: counter(process-counter); /* Zeigt Counter */
    position: absolute;
    left: 0;
    top: -5px; /* Vertikale Ausrichtung */
    width: 40px;
    height: 40px;
    background-color: var(--color-burgundy); /* Roter Kreis */
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 50%; /* Macht es kreisrund */
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-content {
    font-size: 1.15rem;
    color: var(--color-navy);
}

/* --- Roter Abschluss-Slogan --- */
.process-final-slogan {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem; /* Etwas größer */
    margin-top: 50px; /* Abstand zum Prozess */
    letter-spacing: 0.5px;
}

/* --- Calendly --- */
.calendly-full-width {
    grid-column: 1 / span 2; 
    margin-top: 40px;
    width: 100%;
}

/* --- Mobile Anpassungen --- */
@media (max-width: 1024px) {
    .next-step-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .calendly-full-width {
        grid-column: 1;
        margin-top: 20px;
    }
    
    .process-final-slogan {
        font-size: 1.2rem;
        margin-top: 30px;
    }
}

/* Optional: Weiches Scrollen für den Button-Klick */
html {
    scroll-behavior: smooth;
}


.calendly-box { background-color: var(--color-white); border-radius: 12px; padding: 50px 40px; text-align: center; box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.analysis-list { list-style: none; }
.analysis-list li { margin-bottom: 25px; font-size: 1.15rem; }

/* =========================================
   FOOTER
========================================= */
.site-footer { padding: 40px 0; background-color: var(--color-white); border-top: 1px solid #eaeaea; }
.footer-container { display: flex; justify-content: space-between; align-items: center; }
.footer-links a { margin: 0 15px; font-size: 0.9rem; color: #666; transition: color 0.3s; }
.footer-links a:hover { color: var(--color-burgundy); }
.social-icons a { display: inline-flex; justify-content: center; align-items: center; width: 36px; height: 36px; background-color: var(--color-burgundy); color: var(--color-white); border-radius: 50%; margin-left: 10px; font-weight: bold; font-size: 0.9rem; transition: transform 0.3s; }
.social-icons a:hover { transform: translateY(-3px); }



/* =========================================
   RECHTSTEXTE & IMPRESSUM
========================================= */


.py-100 {
    padding: 100px 0;
}

.legal-text h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-burgundy);
    font-size: 1.5rem;
}

.legal-text h3 {
    margin-top: 20px;
    font-size: 1.1rem;
}

.legal-text p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #444;
}


/* --- Sticky Contact Bar Basis (Desktop) --- */
.sticky-contact-bar {
    position: fixed;
    right: 25px;
    bottom: 8%; 
    display: flex;
    flex-direction: column; 
    gap: 15px;
    z-index: 2000;
}

.contact-item {
    width: 54px;
    height: 54px;
    background-color: var(--color-navy); 
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* SVG Styling innerhalb der Buttons */
.contact-item svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-5px); /* Kleiner Slide-Effekt nach links auf Desktop */
    background-color: var(--color-burgundy);
}

.contact-item:hover svg {
    transform: scale(1.1);
}

/* --- Mobile Anpassung (Feste Leiste unten) --- */
@media (max-width: 768px) {
    .sticky-contact-bar {
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        flex-direction: row; 
        justify-content: space-around;
        background-color: var(--color-navy);
        padding: 15px 10px;
        padding-bottom: calc(15px + env(safe-area-inset-bottom)); 
        gap: 0;
        border-radius: 20px 20px 0 0; 
        box-shadow: 0 -8px 25px rgba(0,0,0,0.2);
    }

    .contact-item {
        width: 50px;
        height: 50px;
        background-color: transparent; /* Cleaner Look auf Mobile */
        box-shadow: none;
    }

    .contact-item:hover {
        transform: scale(1.1); /* Auf Mobile lieber nach oben skalieren */
    }

    /* Damit der Website-Inhalt nicht hinter der Leiste verschwindet */
    body {
        padding-bottom: 90px;
    }
}


/* =========================================
   RESPONSIVE DESIGN (OPTIMIERT)
========================================= */
@media (max-width: 1024px) {


    .difference-grid, .arbeitsweise-grid {
        display: block; /* Sicherer als Grid auf Mobile */
    }
    
    .difference-text, .arbeitsweise-text {
        margin-bottom: 30px;
    }
    .subtitle {
        font-size: 0.95rem;
        text-align: center; /* Zentriert besser auf Mobile */
        padding: 0 5px;
    }

    .hero-section, .difference-section, .schwerpunkte-section, 
    .collaboration-section, .arbeitsweise-section, .anspruch-section, .next-step-section {
        padding: 40px 0;
    }

    /* Grids auf 1 Spalte */
    .hero-grid, .difference-grid, .collab-grid, .next-step-grid, .arbeitsweise-grid { 
        grid-template-columns: 1fr; 
        gap: 40px;
    }

    /* REIHENFOLGE IM HERO: Bild nach oben */
    .hero-grid {
        display: flex;
        flex-direction: column;
    }
    .hero-image-area {
        order: 1; /* Bild wird als erstes angezeigt */
        margin-bottom: 20px;
    }
    
    .hero-content {
        order: 2; /* Text folgt danach */
        text-align: center;
    }
    .hero-section {
        padding: 40px 0 60px 0; /* Weniger Padding unten */
    }
    
    .hero-bg-gray {
        width: 100%;
        height: 100%; /* Ganzflächig auf Mobile statt nur oben */
        clip-path: none; 
        opacity: 0.1; /* Dezenter im Hintergrund */
    }

    .hero-content {
        padding: 0 10px; /* Schutzrand für den Text */
        margin-top: -30px; /* Zieht Text etwas näher an das Bild-Element */
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    /* ICONS NEBENEINANDER (auch auf Mobile) */
    .focus-icons {
        display: flex;
        flex-direction: row; /* Erzwingt nebeneinander */
        justify-content: space-between;
        gap: 10px;
        margin-top: 30px;
    }
    .icon-box {
        flex: 1;
    }
    .icon-box h3 {
        font-size: 0.7rem; /* Etwas kleiner, damit es passt */
    }
    .icon-text {
        display: none; /* Text ausblenden auf Mobile für mehr Platz, falls gewünscht */
    }

    /* Header & Mobile Menu */
    .header-line { display: none; }
    .mobile-menu-toggle { display: flex; }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    
    .main-nav.is-open {
        max-height: 90vh; /* Verhindert, dass es länger als der Screen wird */
        overflow-y: auto; /* Erlaubt Scrollen innerhalb des Menüs */
        padding-bottom: 50px; /* Extra Platz unten */
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .main-nav li { margin: 10px 0; width: 100%; text-align: center; }
    .main-nav li:not(:last-child)::after { display: none; }
    .main-nav a { font-size: 1rem; padding: 10px; display: block; }

    /* Hero Background Anpassung */
    .hero-bg-gray { 
        width: 100%; 
        height: 50%; /* Nur oberer Teil grau */
        clip-path: none; 
    }

    .mt-20 {
    margin-top: 20px;
    overflow-wrap: break-word;
    padding-right: 20px;
}
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 1.8rem; }
    .anspruch-content h2 { font-size: 1.6rem; }
    
    /* Zielgruppen Icons auf Mobile kompakter */
    .target-group-icons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}


@media (max-width: 480px) {
    .container {
        padding: 0 15px; /* Etwas schmaler auf ganz kleinen Handys */
    }
    
    /* Verhindert horizontales Ausbrechen von h2 Titeln */
    h2 {
        font-size: 1.5rem;
        hyphens: auto; /* Erlaubt Silbentrennung bei langen Wörtern */
    }
}