/* ==========================================================================
   Refrivo für Unternehmen - corp.css v1.1
   Struktur:
   1. Allgemeine Layout-Helfer
   2. Hero-Sektion
   3. Benefits (Kernnutzen) Grid
   4. Partner-Programme
   5. Mission & Gründer-Story
   6. Finaler CTA (Call To Action)
   7. Responsive Anpassungen
   ========================================================================== */


/* ==========================================================================
   2. HERO-SEKTION
   ========================================================================== */
.hero-business {
    background-image: linear-gradient(135deg, var(--green-primary) 0%, #1a7f4e 100%);
    color: var(--white); /* Vererbt die Standard-Textfarbe an alle Kinder */
    padding: 6rem 0 10rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Der geschwungene Abschluss für den Hellen Modus */
.hero-business::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    /* Nutzt die Hintergrundfarbe der nächsten Sektion (HELL) */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,64.7c150,44,300-1,450-42.8C615.1-22.3,737.5,1.6,850,59.2c112.5,57.6,250,53.9,350,2.1V120H0V64.7z" fill="%23fdfdfd"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

/* Alle Inhalte im Hero liegen über der Welle */
.hero-b2b-title, .hero-b2b-subtitle, .hero-business .btn {
    position: relative; 
    z-index: 1;
}

.hero-b2b-title {
    color: var(--white);
    max-width: 850px;
    margin: 0 auto;
}

.hero-b2b-subtitle {
    /* Macht den Text leicht transparent für bessere Hierarchie */
    color: rgba(255, 255, 255, 0.9);
    max-width: 750px;
    margin: 1.5rem auto 2.5rem auto;
    font-size: 1.2rem;
}
/* ==========================================================================
   3. BENEFITS (KERNNUTZEN) GRID
   ========================================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-large);
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}
.benefit-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 1rem;
}
.benefit-card h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   4. PARTNER-PROGRAMME
   ========================================================================== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.program-card {
    background: var(--white);
    border-radius: var(--radius-large);
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}
.program-card:hover {
    transform: translateY(-5px);
    border-color: var(--green-primary);
}
.program-title {
    font-size: 1.5rem;
    color: var(--green-primary);
}
.program-audience {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.program-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}
.program-card ul li {
    padding-left: 2em;
    position: relative;
    margin-bottom: 0.75rem;
}
.program-card ul li::before {
    content: '✓';
    color: var(--green-primary);
    position: absolute;
    left: 0;
    font-weight: 900;
    font-size: 1.2em;
    line-height: 1;
}
.program-card .btn {
    margin-top: auto; /* Schiebt den Button nach unten */
    text-align: center;
}

/* ==========================================================================
   5. MISSION & GRÜNDER-STORY
   ========================================================================== */
.mission-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}
.mission-text h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
}
.mission-image img {
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
}
.founder-signature {
    margin-top: 2rem;
    font-size: 1.1rem;
    font-style: italic;
}
.founder-signature p {
    margin: 0;
}


/* ==========================================================================
   6. FINALER CTA (CALL TO ACTION)
   ========================================================================== */
.cta-section-business {
    text-align: center;
}
.cta-section-business h2 {
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
}
.cta-section-business p {
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
}


/* ==========================================================================
   7. RESPONSIVE ANPASSUNGEN
   ========================================================================== */

/* --- Tablet & kleiner Desktop --- */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }
    .mission-layout {
        grid-template-columns: 1fr;
    }
    .mission-image {
        order: -1; /* Bild kommt nach oben */
        margin-bottom: 2rem;
        max-width: 400px;
        justify-self: center;
    }
}

/* --- Handy --- */
@media (max-width: 768px) {
    .hero-business { padding: 4rem 0; }
    .program-card { padding: 2rem 1.5rem; }
    .benefits-grid, .programs-grid { gap: 1.5rem; }
}



/* ==========================================================================
   DARK MODE ANPASSUNGEN
   ========================================================================== */
body.dark-mode .hero-business {
    background-color: #272727; /* Das seriöse, dunkle Grau */
    background-image: none;    /* Gradient entfernen */
}

/* Wichtig: Text muss im Dark Mode explizit weiß bleiben,
   falls globale body.dark-mode Regeln die Farbe dunkler machen. */
body.dark-mode .hero-b2b-title,
body.dark-mode .hero-b2b-subtitle {
    color: #FFFFFF;
}

body.dark-mode .hero-b2b-subtitle {
    color: rgba(255, 255, 255, 0.85); /* Etwas transparenter im Dark Mode */
}

/* Passe die Welle an den dunklen Hintergrund an */
body.dark-mode .hero-business::after {
    /* WICHTIG: Die 'fill'-Farbe an deine Dark-Mode-Body-Farbe anpassen! */
    /* Annahme: dein dark-mode Body ist #121212 */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,64.7c150,44,300-1,450-42.8C615.1-22.3,737.5,1.6,850,59.2c112.5,57.6,250,53.9,350,2.1V120H0V64.7z" fill="%23121212"></path></svg>');
}

/* Passe den CTA-Button im Dark Mode an, damit er hervorsticht */
body.dark-mode .hero-business .btn--primary,
body.dark-mode .hero-business .btn {
    background-color: var(--green-primary);
    color: var(--white);
}