:root {
    font-family: Georgia, "Times New Roman", serif;
    color: #222;
    background: #fff;
    line-height: 1.65;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.startseite {
    margin: 0;
    background: #fff;
    color: #222;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

a:hover,
a:focus {
    text-decoration-thickness: 2px;
}

.startseite-inhalt {
    width: min(1100px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 4rem 0;
}

.startseite-kopf {
    max-width: 850px;
    margin-bottom: 3.5rem;
}

.startseite-kennung {
    margin: 0 0 0.75rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.startseite-kopf h1 {
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 4.6rem);
    line-height: 1.05;
    font-weight: 600;
}

.startseite-einstieg {
    max-width: 800px;
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

.hauptbereiche {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 4rem;
}

.hauptbereich {
    border: 1px solid #ccc;
    padding: 2rem;
    background: #fafafa;
}

.hauptbereich-typ {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hauptbereich h2 {
    margin: 0 0 1.25rem;
    font-size: 2rem;
    line-height: 1.15;
}

.hauptbereich h2 a {
    text-decoration: none;
}

.hauptbereich h2 a:hover,
.hauptbereich h2 a:focus {
    text-decoration: underline;
}

.hauptbereich-link {
    margin-top: 1.75rem;
    margin-bottom: 0;
    font-weight: 700;
}

.startseite-profil,
.startseite-suche {
    max-width: 900px;
    margin-top: 3.5rem;
}

.startseite-profil h2,
.startseite-suche h2 {
    margin-top: 0;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #ccc;
    font-size: 1.7rem;
}

.direktlinks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.direktlinks p {
    margin: 0;
}

.direktlinks a {
    display: block;
    height: 100%;
    padding: 1.25rem;
    border: 1px solid #ccc;
    text-decoration: none;
    background: #fafafa;
}

.direktlinks a:hover,
.direktlinks a:focus {
    border-color: #666;
}

.direktlinks strong {
    font-size: 1.05rem;
}

.direktlinks span {
    font-size: 0.92rem;
}

.startseite-footer {
    width: min(1100px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 2rem 0 3rem;
    border-top: 1px solid #ccc;
    font-size: 0.9rem;
}

.startseite-footer p {
    margin-top: 0;
}

.startseite-footer nav {
    font-family: Arial, Helvetica, sans-serif;
}

@media (max-width: 720px) {

    .startseite-inhalt {
        width: min(100% - 2rem, 1100px);
        padding-top: 2.5rem;
    }

    .hauptbereiche,
    .direktlinks {
        grid-template-columns: 1fr;
    }

    .hauptbereich {
        padding: 1.5rem;
    }

    .startseite-footer {
        width: min(100% - 2rem, 1100px);
    }

}
