:root {
    --accent: #567894;
    --accent-soft: #e3ebf3;
    --bg: #f5f7fa;
    --text: #1f2933;
    --muted: #6b7280;
    --border: #d1d5db;
    --radius: 12px;
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: white;
    line-height: 1.6;
}

/* Layout helper */

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--bg);
}

.section-inner > h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.grid-two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-two {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }
}

/* Header & Navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(209, 213, 219, 0.6);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.05em;
    font-size: 1rem;
}

.site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 0.15rem;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    width: 100%;
}

/* Mobile nav */

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    padding: 0;
}

.nav-toggle-bar {
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.site-nav {
    position: fixed;
    inset: 3.5rem 1.5rem auto 1.5rem;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-nav ul {
    flex-direction: column;
}

body.nav-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (min-width: 768px) {
    .site-nav {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        inset: auto;
    }

    .site-nav ul {
        flex-direction: row;
    }
}

/* Hero */

.hero {
    padding: 4rem 0 3rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: 2.1rem;
}

.hero-lead {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.98rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-image-wrapper {
    justify-self: center;
}

.hero-image {
    height: auto;
    width: 100%;
    object-fit: cover;
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    border: 4px solid white;
}

@media (min-width: 768px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }

    .hero {
        padding: 5rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
        box-shadow 0.15s ease, transform 0.05s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: #415c70;
    transform: translateY(-1px);
}

.btn-ghost {
    border-color: var(--border);
    color: var(--text);
    background: #fff;
}

.btn-ghost:hover {
    border-color: var(--accent);
}

/* Lists */

.list-check,
.list-plain {
    padding-left: 1.2rem;
    margin: 0.5rem 0 0;
}

.list-check li {
    position: relative;
    margin-bottom: 0.4rem;
}

/*.list-check li::before {*/
/*    content: "•";*/
/*    position: absolute;*/
/*    left: -1.1rem;*/
/*    color: var(--accent);*/
/*    font-weight: 700;*/
/*}*/

.list-plain li {
    margin-bottom: 0.25rem;
}

/* Timeline */

.timeline {
    border-left: 2px solid var(--border);
    margin: 1.5rem 0 2rem;
    padding-left: 1.5rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.06rem;
    top: 0.3rem;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--accent);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.1rem;
}

.timeline-content h4 {
    margin: 0;
    font-size: 1rem;
}

.timeline-company {
    margin: 0.1rem 0 0.25rem;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Cards */

.card {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

/* Kontakt */

.contact-list {
    margin: 1rem 0 0;
}

.contact-list div {
    margin-bottom: 0.4rem;
}

.contact-list dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
}

.contact-list dd {
    margin: 0;
}

a {
    color: var(--accent);
}

.hint {
    display: inline-block;
    margin-left: 0.25rem;
    font-size: 0.8rem;
    color: var(--muted);
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
    background: #f9fafb;
    padding: 1.5rem 0;
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-start;
}

.footer-secondary {
    opacity: 0.9;
}

@media (min-width: 640px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Misc */

p {
    margin-top: 0.4rem;
    margin-bottom: 0.8rem;
}
