@font-face {
    font-family: "Source Sans 3";
    src:
        url("static/fonts/source-sans-3/SourceSans3-ExtraLight.ttf.woff2")
            format("woff2"),
        url("static/fonts/source-sans-3/SourceSans3-ExtraLight.otf.woff")
            format("woff");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src:
        url("static/fonts/source-sans-3/SourceSans3-Light.otf.woff2")
            format("woff2"),
        url("static/fonts/source-sans-3/SourceSans3-Light.otf.woff")
            format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src:
        url("static/fonts/source-sans-3/SourceSans3-Regular.otf.woff2")
            format("woff2"),
        url("static/fonts/source-sans-3/SourceSans3-Regular.otf.woff")
            format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src:
        url("static/fonts/source-sans-3/SourceSans3-Semibold.otf.woff2")
            format("woff2"),
        url("static/fonts/source-sans-3/SourceSans3-Semibold.otf.woff")
            format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
:root {
    --brand-color: #1e6470;
    --login-color: #b8743a;
    --text-color: #222222;
    --text-color-h1: #4d4d4d;
    --show-borders-px: 0px;
    --show-borders-line: dashed;
    --show-borders-color: green;
}
html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}
header,
footer {
    scroll-snap-align: start;
}
section {
    scroll-snap-align: start;
    min-height: 100vh;
    min-height: 100svh;
}

body {
    margin: 0;
    font-family: "Source Sans 3", Calibri, "Trebuchet MS", sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 150%;
    text-align: justify;
    hyphens: auto;
    color: var(--text-color);
}

.impressum {
    font-size: 0.8em;
    line-height: 125%;
}
.datenschutz {
    padding: 20px;
}

.datenschutz p {
    font-size: 0.7rem;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.datenschutz ul {
    margin: 0 0 16px 20px;
    padding-left: 20px;
}

.datenschutz li {
    font-size: 0.7rem;
    line-height: 1;
    margin-bottom: 3px;
}
.datenschutz a,
.impressum a {
    color: var(--brand-color);
    text-decoration: none;
    font-weight: 700;
}
.datenschutz a:hover,
.impressum a:hover {
    color: var(--login-color);
}

h1 {
    font-size: 3.5em;
    font-family: "Source Sans 3", Calibri, "Trebuchet MS", sans-serif;
    font-weight: 600;
    color: var(--text-color-h1);
    line-height: 105%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Header */
header {
    position: fixed;
    background: hsla(1, 0%, 100%, 0.25);
    backdrop-filter: blur(12px);
    height: 3.5rem;
    left: 30px;
    right: 30px;
    z-index: 100;
    border: var(--show-borders-px) var(--show-borders-line)
        var(--show-borders-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin-left: 15px;
}

nav a {
    text-decoration: none;
    margin-right: 15px;
    color: black;
}

nav a:hover {
    color: var(--brand-color);
}

/* Hauptbereich */
.main-container {
    width: 100%;
    max-width: 1080px;
    display: flex;
    padding: 20px;
    box-sizing: border-box;
    border: var(--show-borders-px) var(--show-borders-line)
        var(--show-borders-color);
    height: 100vh;
    padding-top: 3.5rem;

    /*background-image: url("bg3.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;*/
}

.inner-container {
    width: 100%;
    display: flex;
    padding: 0px;
    box-sizing: border-box;
    border: var(--show-borders-px) var(--show-borders-line)
        var(--show-borders-color);
}

.content-box {
    flex: 1;
    padding: 20px;
    margin: 10px;
    border: var(--show-borders-px) var(--show-borders-line)
        var(--show-borders-color);
    align-content: center;
    overflow: hidden;
    max-width: 500px;
}

.left-content-box,
.right-content-box {
    flex: 1;
    padding: 0px;
    margin: 0px;
    border: var(--show-borders-px) var(--show-borders-line)
        var(--show-borders-color);
    align-content: center;
    overflow: hidden;
}

.left-content-box {
    max-width: 140px;
}

.box-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 16px;
    opacity: 0.8;
}
.box-image-rounded {
    max-width: 120px;
    border-radius: 50%;
    filter: grayscale(100%);
}
.button-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.box-button {
    display: inline-flex;
    background-color: var(--brand-color);
    color: white;
    font-family: "Source Sans 3", Calibri, "Trebuchet MS", sans-serif;
    font-weight: 400;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 4rem;
    box-shadow: 0 0 8px hsla(0, 0%, 0%, 0.3);
    transition: background-color 0.4s;
}

.box-button-special:hover {
    color: orangered;
}

.box-button:hover {
    transform: scale(1.025);
}

.box-button-login {
    background-color: var(--login-color);
}

.box-image:hover,
.box-image-rounded:hover {
    transform: scale(1.025);
    opacity: 1;
}

.first {
    background: #ffffff;
}

.second {
    background: #f0f0f0;
}

.third {
    background: #ffffff;
}

.fourth {
    background: #f0f0f0;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
}
@media (max-width: 800px), (max-height: 500px) and (orientation: landscape) {
    html {
        scroll-snap-type: none;
    }

    body {
        font-size: 0.95rem;
        text-align: left;
    }

    h1 {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-top: 0.5rem;
        margin-bottom: 0.75rem;
    }

    header {
        left: 0;
        right: 0;
        height: auto;
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .logo {
        margin-left: 0;
    }

    header nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    footer nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    nav a {
        margin-right: 0;
        font-size: 0.9rem;
    }

    section {
        min-height: auto;
    }

    .main-container {
        flex-direction: column;
        height: auto;
        min-height: auto;
        padding: 5.5rem 12px 2rem;
        gap: 12px;
    }

    .image-box {
        order: 1;
    }

    .text-box {
        order: 2;
    }

    .content-box {
        margin: 0;
        padding: 8px 4px;
        max-width: none;
    }

    .left-content-box,
    .right-content-box {
        max-width: none;
    }

    .left-content-box {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex: 0 0 72px;
    }

    .right-content-box {
        flex: 1;
    }

    .box-image {
        width: 100%;
        height: 220px;
        object-fit: cover;
        object-position: center;
        border-radius: 12px;
        opacity: 1;
    }

    .box-image-rounded {
        max-width: 72px;
    }

    .inner-container {
        gap: 12px;
        align-items: center;
    }
    .button-row {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        margin-top: 0.5rem;
    }
    .box-button {
        margin-top: 0.5rem;
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}
