/* ==========================================================
   SCHRIFTEN
   ========================================================== */

@font-face {
    font-family: "Noto Serif";
    src: url("../fonts/noto-serif-v33-latin-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Noto Serif";
    src: url("../fonts/noto-serif-v33-latin-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Bebas Neue";
    src: url("../fonts/bebas-neue-book.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Bebas Neue";
    src: url("../fonts/bebas-neue-light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


/* ==========================================================
   ALLGEMEIN
   ========================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #555555;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ==========================================================
   GRUNDLAYOUT
   ========================================================== */

.landingpage {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

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

.inner {
    width: 1200px;
    max-width: calc(100% - 80px);

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 180px;
}


/* ==========================================================
   LOGO
   ========================================================== */

.logo {
    width: 260px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: auto;
}


/* ==========================================================
   STARTSEITE: RECHTER BEREICH
   ========================================================== */

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


/* Slogan */

.slogan {
    margin: 0 0 10px -4px;

    color: #dee7ec;

    font-family: "Bebas Neue", sans-serif;
    font-size: 115px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0,1;
}


/* Adresse */

.address {
    margin-bottom: 10px;

    font-family: "Bebas Neue", sans-serif;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.28em;
}


/* Telefon und E-Mail */

.button-links {
    display: flex;
    gap: 10px;
}

.button-links a {
    display: inline-block;

    padding: 8px 8px 4px 12px;

    background: #f6ad00;
    color: #ffffff;

    font-family: "Bebas Neue", sans-serif;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: 0.28em;

    transition: background-color 0.2s ease;
    text-decoration: none !important;
}

.button-links a:hover {
    background: #829eac;
}


/* ==========================================================
   FOOTER
   ========================================================== */

.footer {
    position: absolute;

    left: 50%;
    bottom: 24px;

    width: 1200px;
    max-width: calc(100% - 80px);

    transform: translateX(-50%);

    text-align: center;

    font-family: "Bebas Neue", sans-serif;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0.18em;
}

.footer a:hover {
    opacity: 0.65;
}


/* ==========================================================
   RECHTLICHES
   ========================================================== */

body.legal .landingpage {
    display: block;

    min-height: 100vh;

    overflow: visible;

    background-attachment: fixed;
}

body.legal .inner {
    min-height: 100vh;

    padding-top: 70px;
    padding-bottom: 100px;

    align-items: flex-start;
}


/*
   Das Logo bleibt am Desktop auf derselben vertikalen
   Position wie auf der Startseite.
*/

body.legal .logo {
    position: sticky;
    top: 50vh;

    transform: translateY(-50%);
}


/* Rechtstext */

.legal-content {
    flex: 1;
    min-width: 0;

    color: #444444;

    font-family: "Noto Serif", serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

.legal-content h1 {
    margin: 50px 0 40px;

    color: #dee7ec;

    font-family: "Bebas Neue", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.legal-content h2 {
    margin: 30px 0 8px;

    font-family: "Noto Serif", serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;

    scroll-margin-top: 30px;
}

.legal-content p {
    margin: 0 0 20px;
}

.legal-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    opacity: 0.65;
}



/*
   Auf der langen Rechteseite steht der Footer nach dem Inhalt
   und überlagert den Text nicht.
*/

body.legal .footer {
    position: static;

    width: 1200px;
    max-width: calc(100% - 80px);

    margin: 0 auto 0px;
    padding-bottom: 24px;
    transform: none;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 992px) {

    .landingpage {
        align-items: flex-start;

        padding: 60px 30px 110px;
    }

    .inner {
        width: 100%;
        max-width: 700px;

        flex-direction: column;
        align-items: center;

        gap: 45px;
    }

    .logo {
        width: 220px;
    }

    .content {
        width: 100%;
        text-align: center;
    }

    .slogan {
        font-size: 56px;
    }

    .address {
        font-size: 20px;
    }

    .button-links {
        justify-content: center;
     


    }

    .button-links a {
        font-size: 18px;
               text-decoration: none !important;
    }

    .footer {
        width: calc(100% - 60px);
        max-width: none;
        bottom: 24px;
    }


    /* Rechtliches */

    body.legal .landingpage {
        padding: 0;

        background-attachment: scroll;
    }

    body.legal .inner {
        min-height: auto;
        max-width: 700px;

        padding-top: 60px;
        padding-bottom: 70px;

        flex-direction: column;
        align-items: center;

        gap: 45px;
    }

    body.legal .logo {
        position: static;

        top: auto;

        transform: none;
    }

    .legal-content {
        width: 100%;
        max-width: 600px;

        margin: 0 auto;
    }

    .legal-content h1 {
        font-size: 36px;
    }

    body.legal .footer {
        width: calc(100% - 60px);
        max-width: none;

        
    }

}


/* ==========================================================
   SMARTPHONE
   ========================================================== */

@media (max-width: 768px) {

    .landingpage {
        min-height: 100svh;

        padding: 35px 20px 110px;
    }

    .inner {
        max-width: 100%;

        gap: 32px;
    }

    .logo {
        width: 160px;
    }

    .slogan {
        margin-bottom: 18px;

        font-size: 40px;
    }

    .address {
        max-width: 320px;

        margin: 0 auto 16px;

        font-size: 18px;
        line-height: 1.4;
        letter-spacing: 0.1em;
    }

    .button-links {
        flex-direction: column;
        align-items: center;

        gap: 8px;
    }

    .button-links a {
        min-width: 150px;

        font-size: 16px;
        text-align: center;
    }

    .footer {
        width: calc(100% - 40px);

        font-size: 13px;
        line-height: 1.5;
        letter-spacing: 0.1em;
    }


    /* Rechtliches */

    body.legal .landingpage {
        padding: 0;
    }

    body.legal .inner {
        width: 100%;
        max-width: 600px;

        margin: 0 auto;
        padding: 35px 20px 60px;

        gap: 32px;
    }

    body.legal .logo {
        position: static;

        top: auto;

        transform: none;
    }

    .legal-content {
        width: 100%;
        max-width: none;

        margin: 0;

        font-size: 16px;
        line-height: 1.6;
        text-align: left;
    }

    .legal-content h1 {
        margin-bottom: 30px;

        font-size: 36px;
    }

    .legal-content h2 {
        margin: 28px 0 8px;

        font-size: 16px;
        line-height: 1.6;

        scroll-margin-top: 20px;
    }


    body.legal .footer {
        width: calc(100% - 40px);
    }

}