@font-face {
    font-family: 'Comfortaa';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/static/fonts/comfortaa-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                   U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                   U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Comfortaa';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/static/fonts/comfortaa-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --blue-dark:   #1A5AA8;
    --blue-mid:    #2869AF;
    --blue-light:  #2AAAE1;
    --blue-pale:   #EAF4FC;
    --blue-border: #C5DFF2;
    --text-dark:   #243248;
    --text-mid:    #4A5568;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Comfortaa', sans-serif;
    color: var(--text-dark);
    background: #fff;
    line-height: 1.75;
    font-size: 1rem;
}

/* ── Header ─────────────────────────────────────────────────────────── */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2.5rem;
    border-bottom: 3px solid var(--blue-light);
    background: #fff;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.header-brand img {
    height: 68px;
    width: auto;
}

.header-brand-text h1 {
    font-size: 1.45rem;
    color: var(--blue-dark);
    font-weight: 700;
    line-height: 1.2;
}

.header-brand-text p {
    font-size: 0.82rem;
    color: var(--blue-mid);
    margin-top: 0.15rem;
}

.header-contact {
    text-align: right;
    font-size: 0.82rem;
    color: var(--text-mid);
    line-height: 1.7;
    border-left: 2px solid var(--blue-border);
    padding-left: 1.5rem;
}

.header-contact .phone {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-dark);
    letter-spacing: 0.02em;
}

.header-contact .label {
    font-size: 0.75rem;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Navigation ──────────────────────────────────────────────────────── */
nav {
    background: var(--blue-mid);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 0.8rem 1.4rem;
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 0.18s, color 0.18s;
    border-bottom: 3px solid transparent;
}

nav a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

nav a.active {
    background: rgba(0,0,0,0.15);
    color: #fff;
    border-bottom-color: var(--blue-light);
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--blue-pale) 0%, #d6ecf9 100%);
    padding: 3.5rem 2rem 3rem;
    text-align: center;
    border-bottom: 1px solid var(--blue-border);
}

.hero h2 {
    font-size: 2rem;
    color: var(--blue-dark);
    margin-bottom: 0.6rem;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 600px;
    margin: 0 auto;
}

/* ── Foto-Platzhalter ────────────────────────────────────────────────── */
.photo-slot {
    width: 100%;
    aspect-ratio: 16/5;
    background: var(--blue-pale);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--blue-border);
    color: var(--blue-mid);
    font-size: 0.9rem;
}

.photo-slot svg { opacity: 0.35; }

/* ── Links ───────────────────────────────────────────────────────────── */
a {
    color: var(--blue-mid);
    text-decoration: none;
}

a:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

.header-contact a,
.header-contact a:hover {
    color: inherit;
    text-decoration: none;
}

.info-box a       { color: var(--blue-dark); }
.info-box a:hover { color: var(--blue-light); text-decoration: underline; }

/* ── Main content ────────────────────────────────────────────────────── */
main {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem 2rem 3rem;
}

main h2 {
    color: var(--blue-dark);
    font-size: 1.55rem;
    margin-bottom: 1rem;
    padding-bottom: 0.45rem;
    border-bottom: 2px solid var(--blue-light);
}

main h3 {
    color: var(--blue-mid);
    font-size: 1.05rem;
    margin: 1.8rem 0 0.5rem;
}

main p { margin-bottom: 1rem; }

main ul {
    margin: 0.5rem 0 1rem 1.4rem;
}

main ul li { margin-bottom: 0.6rem; }

/* ── Info box ────────────────────────────────────────────────────────── */
.info-box {
    background: var(--blue-pale);
    border-left: 4px solid var(--blue-light);
    padding: 1.1rem 1.5rem;
    margin: 1.8rem 0;
    border-radius: 0 6px 6px 0;
}

.info-box strong { color: var(--blue-dark); }

/* ── Advantage list (Kombinationsbehandlung) ─────────────────────────── */
.advantage-list {
    list-style: none;
    margin: 0.5rem 0 1rem 0;
    padding: 0;
}

.advantage-list li {
    padding: 0.55rem 0.75rem 0.55rem 2.4rem;
    margin-bottom: 0.4rem;
    position: relative;
    background: var(--blue-pale);
    border-radius: 4px;
}

.advantage-list li::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--blue-light);
    border-radius: 50%;
}

/* ── Kontakt grid ────────────────────────────────────────────────────── */
.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.kontakt-card {
    background: var(--blue-pale);
    padding: 1.4rem 1.6rem;
    border-radius: 8px;
    border: 1px solid var(--blue-border);
}

.kontakt-card h3 {
    color: var(--blue-dark);
    margin: 0 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--blue-border);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kontakt-card p, .kontakt-card address {
    font-style: normal;
    font-size: 0.92rem;
    line-height: 1.8;
}

.address-block {
    grid-column: 1 / -1;
}

/* ── Hinweis-Banner ──────────────────────────────────────────────────── */
.hinweis {
    background: #fff8e1;
    border-left: 4px solid #f5c842;
    padding: 1rem 1.4rem;
    margin: 1.5rem 0;
    border-radius: 0 6px 6px 0;
    font-size: 0.9rem;
    color: #5a4800;
}

/* ── Impressum ───────────────────────────────────────────────────────── */
.impressum-section { margin-bottom: 2rem; }
.impressum-section h3 { margin-top: 0; }

/* ── Footer ──────────────────────────────────────────────────────────── */
footer {
    background: var(--blue-dark);
    color: rgba(255,255,255,0.75);
    text-align: center;
    padding: 1.5rem 2rem;
    font-size: 0.82rem;
    margin-top: 2rem;
}

footer a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover { color: #fff; text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 680px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.2rem;
        gap: 0.8rem;
    }

    .header-contact {
        border-left: none;
        border-top: 1px solid var(--blue-border);
        padding-left: 0;
        padding-top: 0.8rem;
        text-align: left;
    }

    nav {
        flex-direction: column;
    }

    nav a {
        padding: 0.85rem 1.2rem;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        border-bottom-width: 1px;
        text-align: left;
    }

    nav a:last-child {
        border-bottom: none;
    }

    nav a.active {
        border-left: 4px solid var(--blue-light);
        padding-left: calc(1.2rem - 4px);
        border-bottom-color: rgba(255,255,255,0.12);
    }

    .hero h2 { font-size: 1.45rem; }

    main { padding: 1.5rem 1.2rem 2rem; }

    .kontakt-grid { grid-template-columns: 1fr; }
    .address-block { grid-column: 1; }
}
