:root {
    --primary-blue: #002d5a;
    --accent-blue: #00a8ff;
    --bg-light: #f4f7f9;
    --white: #ffffff;
    --text-dark: #1a202c;
    --text-muted: #4a5568;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--text-dark); background: var(--white); }

/* Navigation */
nav { background: var(--white); padding: 1.2rem 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.logo { font-size: 1.6rem; font-weight: 800; color: var(--primary-blue); text-decoration: none; }
.logo span { color: var(--accent-blue); }
nav ul { display: flex; list-style: none; flex-wrap: wrap; }
nav ul li { margin-left: 2rem; }
nav ul li a { text-decoration: none; color: var(--primary-blue); font-weight: 600; transition: color 0.3s; }
nav ul li a:hover, nav ul li a.active { color: var(--accent-blue); }

/* Hero */
.hero { 
    background: linear-gradient(rgba(0, 45, 90, 0.85), rgba(0, 45, 90, 0.75)), 
                url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&q=80&w=1920');
    background-size: cover; 
    background-position: center;
    height: 75vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    color: var(--white); 
    padding: 0 10%;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; line-height: 1.2; font-weight: 800; }
.hero h2 { font-size: 1.5rem; color: var(--accent-blue); margin-bottom: 2rem; font-weight: 600; }
.hero p { font-size: 1.3rem; max-width: 800px; opacity: 0.9; }

/* General Sections */
section { padding: 6rem 10%; }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: 2.5rem; color: var(--primary-blue); font-weight: 800; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; max-width: 800px; margin: 0 auto; }
.underline { width: 60px; height: 5px; background: var(--accent-blue); margin: 15px auto; border-radius: 2px; }

/* Problem Section (4 in einer Reihe) */
.problem-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 1.5rem; 
    margin-top: 3rem;
}
.problem-item { 
    background: #f8fafc; 
    padding: 2rem 1.5rem; 
    border-radius: 12px; 
    border-top: 4px solid #e2e8f0; 
    transition: transform 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.problem-item:hover { transform: translateY(-5px); border-top-color: #ef4444; } 
.problem-item h4 { color: var(--primary-blue); margin-bottom: 1rem; font-size: 1.2rem; display: flex; align-items: center; gap: 0.5rem; }
.problem-item p { color: var(--text-muted); font-size: 0.95rem; }

/* Mission Box */
.mission-section { background: var(--primary-blue); color: white; text-align: center; padding: 5rem 10%; }
.mission-section h3 { font-size: 2.2rem; color: var(--accent-blue); margin-bottom: 1.5rem; }
.mission-section p { max-width: 1000px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; opacity: 0.9; }

/* Split Containers (Bild links/rechts, Text daneben) */
.split-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 6rem; }
.split-container.reverse { direction: rtl; } 
.split-container.reverse > * { direction: ltr; }
.split-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); object-fit: cover; aspect-ratio: 4/3; }
.split-text h2 { color: var(--primary-blue); margin-bottom: 1.5rem; font-size: 2rem; }
.split-text p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.1rem; }

/* Dein bestehender Code bleibt, wir fügen das hier hinzu: */

.split-image {
  position: relative; /* Das ist der Anker für die Bilder */
  padding: 30px;      /* Platz schaffen, damit das überstehende Bild nicht abgeschnitten wird */
}

/* Das Hintergrundbild nutzt deine bestehenden Styles */
.split-image img.bg-img {
  width: 100%;
  display: block;
  /* Deine border-radius und shadow Styles greifen hier automatisch */
}

/* Das Vordergrundbild (das kleine oben drauf) */
.split-image img.fg-img {
  position: absolute;
  width: 70%;         /* Kleiner als das Hintergrundbild */
  aspect-ratio: 1/1;  /* Optional: Quadratisch wie im Beispiel */
  top: 0;             /* Positionierung oben */
  right: 0;           /* Positionierung rechts */
  left: 0;
  z-index: 2;         /* Vor das andere Bild schieben */
  
  /* Damit es den gleichen Style hat wie deine anderen Bilder: */
  border: 4px solid white; 
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Falls du die "reverse" Klasse nutzt, kannst du das Bild auf die andere Seite spiegeln */
.split-container.reverse .split-image .fg-img {
  right: auto;
  left: 0;
}
/* Solutions Matrix (Feature Boxes) - JETZT FEST AUF 3 SPALTEN */
.matrix-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem 3rem; /* Etwas mehr vertikaler und horizontaler Abstand für die Übersichtlichkeit */
}
.matrix-col h3 { color: var(--primary-blue); margin-bottom: 1.5rem; font-size: 1.5rem; border-bottom: 3px solid var(--accent-blue); display: inline-block; padding-bottom: 5px; }
.feature-box { 
    background: var(--bg-light); padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 0.8rem;
    display: flex; align-items: center; font-weight: 600; font-size: 0.95rem; color: var(--primary-blue);
    border: 1px solid transparent; transition: 0.3s;
}
.feature-box:hover { background: white; border-color: var(--accent-blue); transform: translateX(5px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.feature-box::before { content: "✓"; color: var(--accent-blue); margin-right: 12px; font-weight: bold; }

/* Footer */
footer { background: #001a35; color: #cbd5e0; padding: 5rem 10% 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; }
.footer-grid h4 { color: white; margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer-grid p, .footer-grid a { color: #cbd5e0; text-decoration: none; margin-bottom: 0.8rem; display: block; transition: color 0.3s; }
.footer-grid a:hover { color: var(--accent-blue); }

.image-container {
  position: relative; /* Definiert den Rahmen für die absolute Positionierung */
  width: 499px;      /* Oder eine andere Größe deiner Wahl */
}
/* Navigation Dropdown */
nav ul li.has-dropdown { 
    position: relative; 
    padding-bottom: 0.5rem; /* Etwas Puffer, damit das Dropdown nicht sofort schließt */
}
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    z-index: 1000;
    border-top: 3px solid var(--accent-blue);
}
nav ul li.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown a {
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    color: var(--primary-blue);
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.dropdown a:last-child {
    border-bottom: none;
}
.dropdown a:hover {
    background: var(--bg-light);
    color: var(--accent-blue);
    padding-left: 1.8rem; /* Leichter Einrück-Effekt beim Hover */
}
/* Responsive Adjustments */
@media (max-width: 1024px) {
    .split-container { grid-template-columns: 1fr; gap: 2rem; }
    .split-container.reverse { direction: ltr; }
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .matrix-grid { grid-template-columns: repeat(2, 1fr); } /* Auf Tablets 2 Spalten nebeneinander */
    .hero h1 { font-size: 2.5rem; }
}
@media (max-width: 768px) {
    .matrix-grid { grid-template-columns: 1fr; } /* Auf kleinen Tablets & Handys untereinander */
}
@media (max-width: 600px) {
    .problem-grid { grid-template-columns: 1fr; }
    nav ul { display: none; }
}
