/* 
   Lars Proske - Online Präsentation 2026
   Design: Modern, Hell, Aufgeräumt
*/

:root {
    --primary: #2c3e50;    /* Seriöses Dunkelblau */
    --accent: #3498db;     /* Modernes Akzentblau */
    --bg: #f4f7f6;         /* Ganz helles Grau für den Hintergrund */
    --white: #ffffff;
    --text: #333333;
    --light-text: #7f8c8d;
    --shadow: 0 4px 15px rgba(0,0,0,0.05);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    margin: 0;
    padding: 0;
}

/* --- HEADER & NAVIGATION --- */
header {
    background: var(--white);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-logo {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.header-logo span {
    font-weight: 700;
}

.header-logo:hover {
    transform: translateX(3px);
}

.main-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent);
}

.header-img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    margin-left: 15px;
}

/* --- LAYOUT CONTAINER --- */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

h1 { color: var(--primary); font-size: 2.2rem; margin-top: 0; }
h2 { color: var(--primary); border-bottom: 2px solid var(--bg); padding-bottom: 10px; margin-top: 40px; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* --- PROFIL & LEBENSLAUF ELEMENTE --- */
.profile-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    background: #fdfdfd;
    border-left: 4px solid var(--accent);
    padding: 25px;
    margin-bottom: 40px;
}

.cv-row {
    display: flex;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 2px solid #eee;
    position: relative;
}

.cv-row::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
}

.cv-date {
    flex: 0 0 160px;
    font-weight: 700;
    color: var(--accent);
}

.cv-details h3 { margin: 0; font-size: 1.2rem; }
.cv-details h4 { margin: 0 0 10px 0; color: var(--light-text); font-weight: 500; }

.cert-badge {
    display: inline-block;
    background: #eef5f9;
    color: var(--primary);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 5px 5px 5px 0;
    border: 1px solid #dce8f0;
}

/* --- SEITE 3 & HINTERGRUND KARTEN --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    border-top: 4px solid var(--accent);
    box-shadow: var(--shadow);
}

.knowledge-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.knowledge-section:nth-child(even) { flex-direction: row-reverse; }

.knowledge-img {
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px 0;
    color: var(--light-text);
    font-size: 0.9rem;
}

footer a {
    color: var(--light-text);
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover { text-decoration: underline; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 15px; text-align: center; }
    .main-nav { flex-wrap: wrap; justify-content: center; gap: 10px; }
    .header-img { display: none; } /* Mobil Platz sparen */
    .cv-row { flex-direction: column; }
    .cv-date { margin-bottom: 5px; }
    .knowledge-section, .knowledge-section:nth-child(even) { flex-direction: column; text-align: center; }
    .container { margin: 20px; padding: 20px; }
}