/*
Theme Name:  Lars Vatheuer
Theme URI:   https://lv-media.de
Author:      Lars Vatheuer
Author URI:  https://lv-media.de
Description: Persönliche Profil- und Bewerbungswebseite für Lars Vatheuer
Version:     1.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lars-vatheuer
*/

/* ── RESET & VARIABLEN ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:    #1b2e4b;
    --navy-lt: #243d63;
    --gold:    #c9922a;
    --gold-lt: #e0a83a;
    --white:   #ffffff;
    --gray-50: #f8f9fa;
    --gray-100:#f0f2f5;
    --gray-300:#d0d5dd;
    --gray-600:#667085;
    --gray-800:#1d2939;
    --text:    #344054;
    --radius:  10px;
    --shadow:  0 4px 24px rgba(27,46,75,.10);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--gray-50);
    line-height: 1.6;
}

/* ── NAVIGATION ────────────────────────────────────────────────────────── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(27,46,75,.97);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 2rem;
    height: 64px;
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav-brand {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none;
}
.nav-brand span { color: var(--gold-lt); }
nav ul { list-style: none; display: flex; gap: 1.8rem; }
nav ul a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .3px;
    transition: color .2s;
}
nav ul a:hover { color: var(--gold-lt); }

/* ── HERO ──────────────────────────────────────────────────────────────── */
#hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 60%, #2d5082 100%);
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 100px 2rem 60px;
    position: relative;
    overflow: hidden;
}
#hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr auto;
    gap: 4rem; align-items: center;
    position: relative; z-index: 1;
}
.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: .6rem;
}
.hero-text h1 span { color: var(--gold-lt); }
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,.75);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: .5px;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.hero-tag {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.9);
    padding: .35rem .9rem;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 500;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.6rem;
    border-radius: 6px;
    font-size: .9rem; font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer; border: none;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,146,42,.4); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.5); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.hero-photo-wrap { position: relative; }
.hero-photo-wrap::before {
    content: '';
    position: absolute;
    top: -16px; left: -16px; right: 16px; bottom: 16px;
    border: 3px solid var(--gold);
    border-radius: 14px;
    z-index: 0;
}
.hero-photo {
    width: 280px;
    border-radius: 12px;
    display: block;
    position: relative; z-index: 1;
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
    object-fit: cover;
    aspect-ratio: 3/4;
}

/* ── SECTION BASIS ─────────────────────────────────────────────────────── */
section { padding: 90px 2rem; }
section:nth-child(even) { background: var(--white); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
    display: inline-block;
    color: var(--gold);
    font-size: .8rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: .6rem;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--navy);
    line-height: 1.2;
}
.section-line { width: 56px; height: 4px; background: var(--gold); border-radius: 2px; margin: 1rem auto 0; }

/* ── ABOUT ─────────────────────────────────────────────────────────────── */
#about .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-text p { font-size: 1.05rem; color: var(--gray-600); margin-bottom: 1.2rem; line-height: 1.8; }
.about-text p strong { color: var(--navy); font-weight: 600; }
.contact-card { background: var(--navy); border-radius: var(--radius); padding: 2rem; color: var(--white); }
.contact-card h3 { font-size: 1rem; font-weight: 600; color: var(--gold-lt); margin-bottom: 1.4rem; letter-spacing: .5px; }
.contact-item { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; font-size: .9rem; color: rgba(255,255,255,.85); }
.contact-item:last-child { margin-bottom: 0; }
.contact-icon { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 16px; height: 16px; fill: var(--gold-lt); }

/* ── TIMELINE ──────────────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, var(--gold), var(--navy)); border-radius: 2px; }
.timeline-item { position: relative; margin-bottom: 2.5rem; padding-left: 2rem; }
.timeline-item::before { content: ''; position: absolute; left: -2.55rem; top: .35rem; width: 14px; height: 14px; background: var(--gold); border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); }
.timeline-card { background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow); border-left: 4px solid var(--gold); transition: transform .2s, box-shadow .2s; }
.timeline-card:hover { transform: translateX(4px); box-shadow: 0 8px 32px rgba(27,46,75,.15); }
.timeline-date { font-size: .78rem; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: .3rem; }
.timeline-role { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.timeline-company { font-size: .9rem; color: var(--gray-600); font-weight: 500; margin-bottom: 1rem; }
.timeline-bullets { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.timeline-bullets li { font-size: .875rem; color: var(--text); padding-left: 1.2rem; position: relative; line-height: 1.55; }
.timeline-bullets li::before { content: '▸'; position: absolute; left: 0; color: var(--gold); font-size: .75rem; top: .15rem; }
.client-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.client-badge { background: var(--gray-100); border: 1px solid var(--gray-300); color: var(--navy); padding: .2rem .65rem; border-radius: 4px; font-size: .75rem; font-weight: 600; }

/* ── SKILLS ────────────────────────────────────────────────────────────── */
#skills { background: var(--gray-50); }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.skill-card { background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.skill-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 1.2rem; display: flex; align-items: center; gap: .6rem; }
.skill-card h3 svg { width: 20px; height: 20px; fill: var(--gold); }
.skill-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.skill-tag { background: var(--gray-100); color: var(--navy); padding: .3rem .8rem; border-radius: 50px; font-size: .8rem; font-weight: 500; }

/* ── CLIENTS ───────────────────────────────────────────────────────────── */
#clients { background: var(--white); }
.clients-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.client-group { background: var(--gray-50); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--gray-100); }
.client-group h3 { font-size: .85rem; font-weight: 700; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1.2rem; padding-bottom: .8rem; border-bottom: 2px solid var(--gray-100); }
.client-group ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.client-group ul li { font-size: .9rem; color: var(--text); padding-left: 1rem; position: relative; }
.client-group ul li::before { content: '◆'; position: absolute; left: 0; color: var(--gold); font-size: .55rem; top: .35rem; }

/* ── EDUCATION ─────────────────────────────────────────────────────────── */
#education { background: var(--gray-50); }
.edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.edu-card { background: var(--white); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); display: flex; gap: 1.2rem; }
.edu-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--navy), var(--navy-lt)); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.edu-icon svg { width: 24px; height: 24px; fill: var(--gold-lt); }
.edu-info .edu-period { font-size: .78rem; color: var(--gold); font-weight: 700; letter-spacing: .8px; text-transform: uppercase; margin-bottom: .2rem; }
.edu-info h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.edu-info .edu-school { font-size: .875rem; color: var(--gray-600); }

/* ── KONTAKT CTA ───────────────────────────────────────────────────────── */
#contact { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%); text-align: center; }
#contact .section-title { color: var(--white); }
#contact .section-label { color: var(--gold-lt); }
#contact p { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 500px; margin: 1.5rem auto 2.5rem; }
.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.contact-link { display: flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--white); padding: .8rem 1.6rem; border-radius: 6px; text-decoration: none; font-size: .9rem; font-weight: 500; transition: all .2s; }
.contact-link svg { width: 18px; height: 18px; fill: var(--gold-lt); }
.contact-link:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }

/* ── FOOTER ────────────────────────────────────────────────────────────── */
footer { background: #0f1e32; color: rgba(255,255,255,.4); text-align: center; padding: 1.5rem; font-size: .8rem; }

/* ── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    nav ul { display: none; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-photo-wrap { order: -1; display: flex; justify-content: center; }
    .hero-photo-wrap::before { display: none; }
    .hero-tags, .hero-cta { justify-content: center; }
    #about .about-grid { grid-template-columns: 1fr; }
    .clients-container { grid-template-columns: 1fr; }
    .timeline { padding-left: 1rem; }
    .timeline-item { padding-left: 1rem; }
}
