/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── Tokens ─────────────────────────────────────── */
:root {
    --bg:        #FFFFFF;
    --bg-raised: #F8F9FA;
    --text:      #212529;
    --muted:     #6C757D;
    --accent:    #007BFF;
    --border:    #DEE2E6;

    --ff-body:    'Inter', sans-serif;
    --ff-display: 'Inter', sans-serif; /* Using Inter for a cleaner look */

    --max-w: 1100px;
    --nav-h: 70px;
}

/* ─── Base ─────────────────────────────────────── */
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #0056b3; }
img { display: block; max-width: 100%; }

/* ─── Nav ──────────────────────────────────────── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    display: flex; align-items: center;
    padding: 0 2rem;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    width: 100%; max-width: var(--max-w);
    margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
}
.logo span { color: var(--accent); }

.nav-links {
    display: flex; gap: 2.5rem; align-items: center;
    list-style: none;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
}
.nav-links a:hover { color: var(--text); }

/* ─── Hero ─────────────────────────────────────── */
.hero {
    min-height: 70vh;
    padding-top: var(--nav-h);
    display: flex; align-items: center; text-align: center;
    padding: 8rem 2rem;
}

.hero-inner {
    width: 100%; max-width: 800px;
    margin: 0 auto;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}
.hero-headline em {
    font-style: normal;
    color: var(--accent);
}

.hero-sub {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: var(--muted);
    max-width: 45ch;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.7;
}

.hero-actions {
    display: flex; justify-content: center;
}

.btn-primary {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.9rem 2.2rem;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none; cursor: pointer; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,123,255,0.25); }

/* ─── Section scaffold ─────────────────────────── */
section { padding: 6rem 2rem; }

.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 60ch;
    line-height: 1.7;
    font-weight: 300;
    text-align: center;
    margin: 0 auto 3.5rem;
}

/* ─── Scroll reveal ────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Projekte / Features ──────────────────────────── */
.features-bg { background: var(--bg-raised); }
.features-head { margin-bottom: 4rem; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.feature-card .placeholder-block {
    aspect-ratio: 16/10;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: left;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

/* ─── Two-col / Über Mich ───────────────────────────────────── */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.two-col .section-label,
.two-col .section-title,
.two-col .section-desc {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.two-col .section-desc { max-width: none; }

.placeholder-block {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-raised);
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
    font-size: 0.9rem;
}

/* ─── CTA band / Kontakt ───────────────────────────────────── */
.cta-band { background: var(--bg-raised); }
.cta-band .section-desc  { margin-bottom: 2rem; }
.cta-band .hero-actions  { justify-content: center; }

/* ─── Footer ─────────────────────────────────────── */
footer {
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-raised);
}
.footer-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.85rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.85rem; color: var(--muted); }
.footer-links a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
