body {
    margin: 0;
    color: #102a43;
    background-color: white;
    font-family: Arial, sans-serif;
    font-size: 12pt;
}

.kopfzeile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 5rem;
    padding: 0.75rem 2rem;
    box-sizing: border-box;
    background-color: lightblue;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 11rem;
    min-height: 4rem;
    color: #102a43;
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
}

.logo img {
    display: block;
    max-width: 100%;
    max-height: 5.5rem;
    object-fit: contain;
}

.hauptnavigation {
    display: flex;
    flex: 1;
    align-items: stretch;
    justify-content: center;
    gap: 0.5rem;
}

.hauptnavigation details {
    position: relative;
}

.hauptnavigation summary {
    padding: 1rem 0.85rem;
    color: #102a43;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.hauptnavigation summary a {
    color: inherit;
    text-decoration: none;
}

.hauptnavigation summary::-webkit-details-marker {
    display: none;
}

.hauptnavigation summary::after {
    display: inline-block;
    margin-left: 0.5rem;
    content: "▾";
    font-size: 0.8em;
}

.hauptnavigation summary:hover,
.hauptnavigation summary:focus-visible {
    color: #ffffff;
    background-color: #123b66;
}

@media (hover: hover) and (pointer: fine) {
    .hauptnavigation details:hover > summary {
        color: #ffffff;
        background-color: #123b66;
    }

    .hauptnavigation details:hover > .untermenue {
        display: block;
    }
}

.untermenue {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1;
    min-width: 13rem;
    margin: 0;
    padding: 0.35rem 0;
    background-color: #123b66;
    list-style: none;
}

.untermenue li a {
    display: block;
    padding: 0.65rem 1rem;
    color: #ffffff;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.untermenue li a:hover,
.untermenue li a:focus-visible {
    background-color: #2f6f9f;
}

@media (max-width: 700px) {
    .kopfzeile {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .hauptnavigation {
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
    }
}

h1 {
    position: absolute;
    top: 42%;
    right: 8%;
    width: min(42%, 32rem);
    margin: 0;
    color: white;
    font-family: Arial, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.15;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
}

.ausblick {
    position: relative;
    height: 28rem;
    overflow: hidden;
}

.ausblick img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

p {
    color: #102a43;
    font-family: Arial, sans-serif;
    font-size: 15pt;
}

.einstieg {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 2rem 2rem;
}

.einstieg p {
    flex: 1;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background-color: #dfeeff;
    border-radius: 18px;
    color: #000000;
    font-size: 16pt;
    box-sizing: border-box;
}

.einstieg img {
    width: min(35%, 24rem);
    height: auto;
    margin-top: -1rem;
    object-fit: contain;
}

@media (max-width: 700px) {
    .einstieg {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem 1rem;
    }

    .einstieg img {
        width: 100%;
        margin-top: 0;
    }
}
.seiten-footer {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 2rem;
    padding: 1rem;
    background-color: lightblue;
}
.seiten-footer a {
    padding: 0 1rem;
    color: #102a43;
    text-decoration: none;
}
.seiten-footer a + a {
    border-left: 1px solid #102a43;
}
.seiten-footer a:hover,
.seiten-footer a:focus-visible {
    color: #ffffff;
}

@media (max-width: 700px) {
    body {
        overflow-x: hidden;
    }

    .kopfzeile {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 0.75rem 1rem;
    }

    .logo {
        width: 8rem;
        min-width: 8rem;
    }

    .hauptnavigation {
        flex-wrap: nowrap;
        justify-content: flex-start;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .hauptnavigation details {
        flex: 0 0 auto;
    }

    .hauptnavigation summary {
        padding: 0.75rem 0.6rem;
        font-size: 1rem;
        white-space: nowrap;
    }

    .ausblick {
        height: 20rem;
    }

    .ausblick h1 {
        right: 5%;
        width: 45%;
        font-size: 1.75rem;
    }

    .seiten-footer {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
    }
}