/* =========================================================
   FUNKTIONEN SEKTION (Zick-Zack Layout)
   ========================================================= */
.features-section {
    padding: 120px 5%;
    background-color: #ffffff;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 120px; /* Großer Abstand zwischen den Feature-Blöcken lässt die Seite atmen */
}

/* Die einzelne Reihe (Bild und Text nebeneinander) */
.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Umkehren der Richtung für das Zick-Zack-Muster */
.feature-row.reverse {
    flex-direction: row-reverse;
}

/* Text-Bereich */
.feature-text {
    flex: 1;
    max-width: 500px;
}

.feature-badge {
    display: inline-block;
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.feature-text h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.feature-text p {
    font-size: 18px;
    color: var(--brand-text);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Feature-Liste mit Häkchen */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-size: 16px;
    color: var(--brand-text);
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

/* Leichter Highlight-Effekt, wenn man über einen Listenpunkt fährt */
.feature-list li:hover {
    background-color: var(--brand-light);
}

.feature-list li strong {
    color: var(--brand-dark);
}

.feature-list svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--brand-accent); /* Das frische Grün */
    margin-top: 2px;
}

/* Bild-/Mockup-Bereich */
.feature-visual {
    flex: 1;
    position: relative;
}

/* Der Container für deine Screenshots */
.mockup-window {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    border: 1px solid #E2E8F0;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3; /* Ein schönes, harmonisches Format für Dashboards */
}

/* Eine Art "App-Header" für den Screenshot, sieht sehr edel aus */
.mockup-header {
    background: #F8FAFC;
    padding: 12px 16px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-content-placeholder {
    width: 100%;
    height: calc(100% - 35px);
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-weight: 500;
}

/* Responsive: Auf dem Handy stehen Bilder immer über dem Text */
@media (max-width: 992px) {
    .features-container {
        gap: 80px;
    }
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    .feature-text {
        max-width: 100%;
    }
    .feature-list li {
        text-align: left; /* Die Liste bleibt trotzdem linksbündig für die Lesbarkeit */
    }
}
/* =========================================================
   BUNTE FARB-THEMES FÜR FEATURE-REIHEN
   ========================================================= */

/* Wir geben den Reihen etwas Innenabstand (Padding) und weiche Ecken, 
   damit die Hintergrundfarben wie schöne Karten wirken */
.feature-row {
    padding: 60px;
    border-radius: 24px;
    transition: transform 0.3s ease;
}

/* Blaues Theme (Für Kalkulation - falls du die erste Reihe auch anpassen willst) */
.bg-theme-blue {
    background-color: #EFF6FF; /* Sehr sanftes Eisblau */
}
.badge-blue {
    background-color: #DBEAFE;
    color: #1D4ED8;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Grünes Theme (Für Lager & Wareneingang) */
.bg-theme-green {
    background-color: #F0FDF4; /* Sanftes Mintgrün */
}
.badge-green {
    background-color: #DCFCE7;
    color: #15803D;
    padding: 6px 14px;
    border-radius: 20px;
}
.text-green { color: #15803D !important; }

/* Oranges Theme (Für Rechnungen & Termine) */
.bg-theme-orange {
    background-color: #FFF7ED; /* Sanftes Creme-Orange */
}
.badge-orange {
    background-color: #FFEDD5;
    color: #C2410C;
    padding: 6px 14px;
    border-radius: 20px;
}
.text-orange { color: #C2410C !important; }

/* Leuchtende Gradienten für die Mockup-Hintergründe */
.gradient-green { background: linear-gradient(135deg, #34D399 0%, #059669 100%); color: white !important;}
.gradient-orange { background: linear-gradient(135deg, #FBBF24 0%, #EA580C 100%); color: white !important;}
.gradient-blue { background: linear-gradient(135deg, #60A5FA 0%, #2563EB 100%); color: white !important;}

/* SVG-Icons in den Gradienten weiß machen */
.mockup-content-placeholder[class*="gradient-"] svg {
    stroke: white !important;
}
.mockup-content-placeholder[class*="gradient-"] {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Mobile Optimierung für das Padding der bunten Boxen */
@media (max-width: 992px) {
    .feature-row {
        padding: 40px 20px;
    }
}