/* ++++++++++ RESET ++++++++++ */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }


/* ++++++++++ Vars ++++++++++ */

:root {
    --primary: #F47A2A;
    --secondary: #293E4B;
    --action: #2DAAE1;
    --grey: #747F85;
    --base: #222222;
}


/* ++++++++++ FONTS ++++++++++ */

/* roboto-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/roboto-v49-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/roboto-v49-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/roboto-v49-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}





/* ++++++++++ MISC ++++++++++ */

html {
    font-size: 62.5% !important;

}

body {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 2rem;
    color: var(--base);
    background-image: url('/images/bg1.webp');
    background-size: cover;         /* skaliert das Bild, sodass es die Fläche füllt */
    background-repeat: no-repeat;   /* verhindert Wiederholung */
    background-position: center;    /* zentriert das Bild */
    background-attachment: fixed;   /* Bild bleibt stehen, Inhalt scrollt darüber */
    height: 100%;;
}

strong {
    font-weight: 500;
}

p {
    line-height: 130%;
}

a {
    color: var(--base);
}

a:hover {
    color: var(--primary);
}

h2, h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.wrapper {
    height: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: center;
    justify-items: center;
    padding-left: 4rem;
    padding-right: 4rem;
}

.content {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    margin-top: 6rem;
    margin-bottom: 8rem;
    max-width: 600px;
}

.infos {
    display: grid;
    justify-content: center;
}

.infos h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.infoGrid {
    width: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem 1.5rem;
    font-weight: 400;
    margin-bottom: 8rem;
}

.infoGrid i {
    color: var(--primary);
    font-size: 2rem;
    margin-top: 4px;
}

.infoGrid a {
    text-decoration: none;
}

.footerWrapper {
    padding: 2rem 0;
    font-size: 1.7rem;
    font-weight: 300;
    max-width: 100%;
}

.footerMenu {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

#impressum, #datenschutz {
    width: 100%;
    margin-bottom: 6rem;
    display: none;
    max-width: 800px;
}

.legal h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.legal h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    margin-top: 4rem;
}

.legal h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    margin-top: 4rem;
}

.legal p {
    margin-bottom: 1rem;
}

.legal li {
    margin-bottom: 1rem;
    list-style-type: disc;
    margin-left: 2rem;
}



@media only screen and (max-width: 500px) {
    body {
        font-size: 1.9rem;
    }
    .wrapper {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media only screen and (max-width: 300px) {
    .infoGrid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .infoGrid p {
        margin-bottom: 3rem;
    }

    .infos h1 {
        word-break: break-all;
    }

    .infoGrid a {
        word-break: break-all;
    }
}
