/* style.css */

/* --- CSS VARIABLES --- */
:root {
    --primary: #0f3460; /* Dunkelblau aus deinem Logo */
    --accent: #533483;  /* Ein passender Akzent-Ton */
    --light: #f4f4f4;
    --white: #ffffff;
    --dark: #333333;
    --padding-section: 80px 20px;
}

/* --- RESET & GLOBAL --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; line-height: 1.6; color: var(--dark); background-color: var(--white); }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- UI ELEMENTE --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; padding: 12px 30px; background: var(--primary); color: var(--white); border-radius: 5px; font-weight: 600; border: none; cursor: pointer; }
.btn:hover { background: var(--accent); transform: translateY(-2px); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 10px; }
.section-title p { color: #666; max-width: 600px; margin: 0 auto; }

/* --- HEADER & NAV --- */
header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: fixed; width: 100%; top: 0; z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }

/* Mobile Menu Toggle (Hidden on Desktop) */
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO SECTION --- */
#hero { 
    height: 100vh; 
    background: linear-gradient(rgba(15, 52, 96, 0.8), rgba(15, 52, 96, 0.6)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80'); 
    background-size: cover; 
    background-position: center; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: var(--white);
    padding-top: 80px; /* Offset for fixed header */
}
#hero h1 { font-size: 3rem; margin-bottom: 20px; font-weight: 700; }
#hero p { font-size: 1.2rem; margin-bottom: 30px; max-width: 700px; margin-left: auto; margin-right: auto; }
#hero .btn { background: var(--white); color: var(--primary); }
#hero .btn:hover { background: #e0e0e0; }

/* --- ANGEBOT (SERVICES) UPDATED V2 --- */
#offer { 
    padding: var(--padding-section); 
    background-color: #fcfcfc; /* Ganz leichtes Grau für den Hintergrund */
}

.offer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; /* Etwas mehr Abstand zwischen den Karten */
}

.offer-card { 
    background: var(--white);
    padding: 40px 30px; 
    border: 1px solid #eee; 
    border-radius: 12px; /* Etwas rundere Ecken */
    transition: all 0.3s ease; 
    display: flex;
    flex-direction: column;
    height: 100%; 
    text-align: left; /* WICHTIG: Text linksbündig */
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); /* Subtiler Schatten */
}

.offer-card:hover { 
    border-color: var(--primary); 
    box-shadow: 0 15px 30px rgba(15, 52, 96, 0.1); /* Stärkerer Schatten beim Hover */
    transform: translateY(-5px);
}

.offer-icon { 
    font-size: 3rem; 
    margin-bottom: 25px; 
    display: block; 
    text-align: center; /* Icon bleibt zentriert */
}

.offer-card h3 { 
    margin-bottom: 20px; 
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center; /* Titel bleibt zentriert für Fokus */
    position: relative;
    padding-bottom: 15px;
}

/* Kleiner visueller Trenner unter dem Titel */
.offer-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent); /* Oder var(--primary) */
    border-radius: 2px;
}

.offer-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7; /* Bessere Lesbarkeit durch mehr Zeilenhöhe */
    margin-bottom: 15px;
}

/* Stil für die hervorgehobenen "Das Ziel:", "Fokus:", etc. */
.offer-card strong {
    color: var(--primary);
    font-weight: 700;
    display: block; /* Macht den fetten Teil zur eigenen "Zeile" */
    margin-bottom: 5px; /* Abstand zum nachfolgenden Text */
}

/* --- ÜBER MICH (V3 - Timeline Style) --- */
#about { padding: var(--padding-section); background: var(--light); }

/* Layout für Intro (Bild + Text) */
.about-intro { display: flex; align-items: flex-start; gap: 50px; flex-wrap: wrap; margin-bottom: 60px; }

.about-img { flex: 1; min-width: 300px; }
.about-img img { border-radius: 12px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); width: 100%; object-fit: cover; }

.about-text { flex: 1.5; min-width: 300px; }
.about-text h3 { color: var(--primary); margin-bottom: 15px; font-size: 1.5rem; }
.about-text p { margin-bottom: 15px; color: #555; line-height: 1.7; }

/* Layout für CV (Zwei Spalten) */
.cv-container { display: flex; flex-wrap: wrap; gap: 60px; justify-content: space-between; }
.cv-column { flex: 1; min-width: 300px; }

.cv-header { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; border-bottom: 2px solid #ddd; padding-bottom: 15px; }
.cv-icon { font-size: 1.8rem; }
.cv-header h3 { color: var(--primary); font-size: 1.4rem; margin: 0; }

/* Timeline Liste */
.timeline { list-style: none; padding-left: 20px; border-left: 3px solid #e0e0e0; position: relative; }

.timeline li { margin-bottom: 25px; position: relative; padding-left: 20px; }

/* Der Punkt auf der Zeitlinie */
.timeline li::before {
    content: '';
    position: absolute;
    left: -28px; /* Positioniert den Punkt auf der Linie */
    top: 5px;
    width: 14px;
    height: 14px;
    background: var(--white);
    border: 3px solid var(--accent);
    border-radius: 50%;
}

.timeline li strong { display: block; color: var(--dark); font-size: 1.05rem; margin-bottom: 4px; }
.timeline li span { display: block; color: #777; font-size: 0.9rem; font-style: italic; }

@media (max-width: 768px) {
    .about-intro { flex-direction: column-reverse; } 
    .cv-container { flex-direction: column; gap: 40px; }
}

/* --- KONTAKT --- */
#contact { padding: var(--padding-section); background: var(--primary); color: var(--white); }
#contact .section-title h2 { color: var(--white); }
#contact .section-title p { color: #ccc; }
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 50px; margin-top: 40px; }
.contact-info { flex: 1; min-width: 300px; }
.contact-form { flex: 1; min-width: 300px; background: var(--white); padding: 40px; border-radius: 10px; color: var(--dark); }

.contact-info h3 { margin-bottom: 20px; font-size: 1.5rem; }
.contact-info p { margin-bottom: 10px; font-size: 1.1rem; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-family: inherit; }
.alert { padding: 15px; margin-bottom: 20px; border-radius: 5px; text-align: center; }
.alert-success { background: #d4edda; color: #155724; }
.alert-danger { background: #f8d7da; color: #721c24; }

/* --- FOOTER --- */
footer { background: #0a2544; color: #aaa; padding: 40px 20px; text-align: center; }
footer a { border-bottom: 1px solid transparent; }
footer a:hover { border-bottom-color: #aaa; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .navbar { flex-direction: column; height: auto; padding: 15px 0; }
    .nav-links { margin-top: 15px; gap: 15px; font-size: 0.9rem; }
    #hero h1 { font-size: 2rem; }
    .about-content { flex-direction: column-reverse; }
}