@charset "UTF-8";

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

/* ── Variables ─────────────────────────────────────────────── */
:root {
    --blue:    #0F288D;
    --grey:    #747679;
    --border:  #e2e1dd;
    --wrap:    960px;
    --font:    system-ui, -apple-system, "Segoe UI", Verdana, sans-serif;
}

/* ── Base ──────────────────────────────────────────────────── */
body {
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--grey);
    background: #fff;
    overflow-y: scroll;
}

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

h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
}

h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--blue);
    margin: 1.25rem 0 0.4rem;
}

p {
    font-size: 0.8125rem;
    color: var(--grey);
    margin-bottom: 0.6rem;
}

strong { font-weight: 700; }

.blue { color: var(--blue); font-weight: 700; }
.small { font-size: 0.75rem; }

/* ── Top bar ───────────────────────────────────────────────── */
#top {
    border-bottom: 1px solid var(--border);
}

#top_wrapper {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

#company a { color: var(--blue); }
#user1 a   { color: var(--grey); }
#user1 a:hover { text-decoration: underline; }

/* ── Header ────────────────────────────────────────────────── */
#header {
    background-image: url(../images/headerbg.jpg);
    background-repeat: repeat-x;
    background-color: #1a3a7a;
}

#header_wrapper {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 120px;
    gap: 1rem;
}

#logo a { display: block; }
#logo img { width: 320px; }

/* ── Wayfinder / Nav ───────────────────────────────────────── */
#wayfinder ul {
    display: flex;
}

#wayfinder ul li a {
    display: block;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.6rem 1.1rem;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
    transition: background 0.15s;
}

#wayfinder ul li a:hover,
#wayfinder ul li a.active {
    background: rgba(255,255,255,0.18);
    text-decoration: none;
}

/* ── Content wrapper ───────────────────────────────────────── */
#content_wrapper {
    max-width: var(--wrap);
    margin: 2rem auto;
    padding: 0 1.25rem;
}

/* Index intro */
#intropage {
    border: 1px solid var(--border);
    padding: 2rem 2.5rem;
    font-size: 1rem;
    color: var(--grey);
    line-height: 1.7;
}

#intropage a { color: var(--blue); }

#intropage .domain {
    color: #c0392b;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Interior pages (Kontakt, Impressum, Datenschutz) */
.border {
    border: 1px solid var(--border);
}

#content {
    padding: 2rem;
    display: flex;
    gap: 2.5rem;
}

#content .left {
    width: 180px;
    flex-shrink: 0;
    text-align: right;
    padding-top: 0.15rem;
}

#content .right {
    flex: 1;
    min-width: 0;
}

#content img {
    margin-bottom: 0.75rem;
}

#content .dataprotection {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

#content .dataprotection li {
    font-size: 0.8125rem;
    color: var(--grey);
    margin-bottom: 0.2rem;
}

/* ── Footer ────────────────────────────────────────────────── */
#footer {
    border-top: 1px solid var(--border);
    margin-top: 3rem;
}

#footer_wrapper {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0.6rem 1.25rem;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--grey);
}

#footer a { color: var(--blue); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 680px) {
    #top_wrapper {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    #header_wrapper {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.25rem;
        gap: 0.75rem;
        min-height: unset;
    }

    #logo img { width: 220px; }

    #content {
        flex-direction: column;
        gap: 1rem;
    }

    #content .left {
        width: auto;
        text-align: left;
    }

    #intropage {
        padding: 1.25rem;
    }
}
