:root {
    --primary-green: #0E7C4A;
    --primary-orange: #F58220; 
    --primary-blue: #1668BD;
    --text-gray: #33363B;
    --border-light: #e0e0e0;
    --outer-bg: #f0f2f5; /* Hintergrundfarbe für den Bereich außerhalb */
    --white: #ffffff;
}

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

body { 
    font-family: 'Segoe UI', Arial, sans-serif; 
    line-height: 1.6; 
    color: var(--text-gray); 
    
    /* Die Farbe, die in den restlichen 20% zu sehen ist (z.B. der Rand) */
    background-color: var(--outer-bg); 
    
    /* Dein SVG */
    background-image: url('images/background_06.svg');
    
    /* Einstellungen für den Hintergrund */
    background-size: 100% 100%;      /* Skaliert das Bild auf 80% der Bildschirmbreite */
    background-position: center top; /* Zentriert es horizontal, verankert es oben */
    background-repeat: no-repeat;    /* Nicht wiederholen */
    background-attachment: fixed;    /* Bleibt beim Scrollen stehen */
}

/* Der neue Page-Wrapper, der alles umschließt */
.page-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--white);
    box-shadow: 0 0 50px rgba(0,0,0,0.1); /* Sanfter Schatten für die Tiefe */
    min-height: 100vh;
}

/* Header & Logo */
header { 
    padding: 40px 0; 
    text-align: center; 
    display: flex;
    justify-content: center; /* Zentriert den Inhalt horizontal */
}

.logo-full { 
    width: 90%;      /* 90% Breite wirkt sehr harmonisch */
    max-width: 1000px; 
    height: auto; 
    display: block; 
    margin: 0 auto;  /* Sorgt für die Zentrierung */
}

/* Inhalts-Bereiche */
.container { padding: 0 40px; } 

h1 { font-size: 2.8rem; text-align: center; margin-bottom: 10px; }
.subtitle { font-size: 1.3rem; text-align: center; color: var(--primary-green); font-weight: bold; margin-bottom: 30px; }

.problem-box { 
    background: var(--outer-bg); 
    padding: 30px; 
    border-radius: 8px; 
    font-style: italic; 
    border-left: 5px solid var(--primary-blue);
    margin: 0 auto 40px auto;
}

/* Grid & Module mit Doppel-Rahmen */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    margin: 50px 0; 
}

.module-item {
    padding: 40px 25px;
    background: var(--white);
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    border-top: 5px solid;      /* Rahmen Oben */
    border-bottom: 5px solid;   /* Rahmen Unten */
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.border-green { border-top-color: var(--primary-green); border-bottom-color: var(--primary-green); }
.border-blue { border-top-color: var(--primary-blue); border-bottom-color: var(--primary-blue); }
.border-orange { border-top-color: var(--primary-orange); border-bottom-color: var(--primary-orange); }
.border-gray { border-top-color: var(--text-gray); border-bottom-color: var(--text-gray); }

/* Technical Accents (optional, falls noch im HTML vorhanden) */
.visual-accent { height: 2px; width: 40px; margin-bottom: 20px; position: relative; display: block; }
.visual-accent::after { content: ''; position: absolute; right: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; }
.va-green, .va-green::after { background-color: var(--primary-green); }
.va-blue, .va-blue::after { background-color: var(--primary-blue); }
.va-orange, .va-orange::after { background-color: var(--primary-orange); }
.va-gray, .va-gray::after { background-color: var(--text-gray); }


/* Wartungspauschale */
.maintenance-hero {
    background: var(--text-gray);
    color: var(--white);
    border-left: 10px solid var(--primary-green);
    padding: 50px;
    border-radius: 8px;
    position: relative;
    margin-bottom: 50px;
}

.maintenance-badge {
    position: absolute; top: 0; left: 0;
    background: var(--primary-green);
    padding: 5px 15px; font-weight: bold; font-size: 0.7rem;
}

/* Mentor-Bereich */
.mentor { padding: 60px 40px; background: var(--outer-bg); text-align: center; }

/* CTA & Footer */
.cta { padding: 80px 40px; text-align: center; background: var(--text-gray); color: var(--white); }
.btn { 
    display: inline-block; margin-top: 20px; padding: 15px 40px; 
    background: var(--primary-orange); color: var(--white); 
    text-decoration: none; border-radius: 5px; font-weight: bold;
}

footer { padding: 40px; text-align: center; font-size: 0.8rem; border-top: 1px solid var(--border-light); }
footer a { color: var(--primary-blue); text-decoration: none; margin: 0 10px; }

/* Responsive */
@media (max-width: 1000px) {
    .page-wrapper { box-shadow: none; border: none; }
    .container { padding: 0 20px; }
}


/* Mobile Optimierungen */
@media (max-width: 768px) {
    h1 { 
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .subtitle { 
        font-size: 1.1rem;
    }
    
    .problem-box {
        padding: 20px;
        font-size: 0.95rem;
    }
    
    .maintenance-hero {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    h1 { 
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .subtitle { 
        font-size: 1rem;
    }
    
    .logo-full {
        width: 95%;
    }
}
