* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'Synonym';
    src: url('Synonym-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Synonym';
    src: url('Synonym-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
strong, b, h1, h2, h3 {
    font-weight: 700;
}
:root {
    --padding-seiten: 20px;
    --blau: #3D4E9C;
    --blau-hell: #B1AFD8;
    --akzent: #FAFF71;
    --h1: 40px;
    --h2: 32px;
    --h3: 22px;
    --text: 14px;
}

/* ### - A - ### */
/* ### - B - ### */
body {
    font-family: 'DeineFont', sans-serif;
    font-weight: 400;
    color: var(--blau);
}
.bg-blau {
    background-color: var(--blau);
    color: white;
}
.bg-blau-hell {
    background-color: var(--blau-hell);
}
.bg-weiss {
    background-color: white;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--akzent);
    color: var(--blau);
    text-decoration: none;
    font-weight: 700;
    font-size: var(--text);
    margin-top: 20px;
    transition: 0.1s;
    border: none;
    width: max-content;
    cursor: pointer;
}
.btn:hover {
    background-color: #FDFFCF;
}
/* ### - C - ### */
.content {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 40px var(--padding-seiten);
}
/* ### - D - ### */
#default .menu-open,
#default .nav {
    display: none;
}
#default section {
    min-height: 100vh;
}
#default h2 {
    margin-bottom: 0;
}
/* ### - E - ### */
/* ### - F - ### */
.flex-text {    
    display: flex;
    flex-direction: column;
    gap: 20px;
}
form {
    display: grid;
    gap: 20px;
}
form .field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
form input, form textarea {
    padding: 10px;
    border: 1px solid var(--blau);
    font-size: var(--text);
    font-family: Synonym, sans-serif;
}
.fade {
    transition: ease-out 0.4s;
    transform: translateY(150px);
    opacity: 0;
}
.fade.active {
    transform: translateY(0px);
    opacity: 1;
}
footer .content {
    padding: 20px var(--padding-seiten);
}
footer ul {
    list-style: none;
    display: flex;
    gap: 20px;
    font-size: 12px;
}
footer a {
    color: white;
    text-decoration: none;
}
/* ### - G - ### */
/* ### - H - ### */
html {
    scroll-behavior: smooth;
}
header {
    position: fixed;
    top: 0;
    z-index: 5;
    padding: 10px;
    width: 100vw;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
h1 {
    font-size: var(--h1);
    margin-bottom: var(--h3);
}
h2 {
    font-size: var(--h2);
    margin-bottom: var(--h1);
}
h3 {
    font-size: var(--h3);
    scroll-margin-top: 50px;
}
.hero {
    display: grid;
    grid-template-rows: 2fr 3fr;
}
.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    object-position: right;
}
.honeypot {
    position: absolute;
    left: -9999px;
}
/* ### - I - ### */
img {
    display: block;
    max-width: 100%;
}
/* ### - J - ### */
/* ### - K - ### */
.kontakt-icon a {
    color: var(--blau);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}
.kontakt-icon a:hover {
    text-decoration: underline;
}
.kontakt-icon img {
    width: 20px;
}
/* ### - L - ### */
.logo {
    background-color: white;
    padding: 10px;
}
.logo img {
    width: 150px;
}
.leistung {
    display: grid;
    grid-template-columns: 2fr 1fr;
}
.leistung-text {
    grid-column: 1/3;
    padding: 20px;
}
.leistung img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ### - M - ### */
.menu-open {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
}
.menu-open img {
    width: 100%;
}
.menu-close {
    background: none;
    border: none;
    cursor: pointer;
    width: 20px;
    justify-self: end;
}
.menu-close img {
    width: 100%;
}
/* ### - N - ### */
nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100vw;
    background-color: var(--akzent);
    display: grid;
    grid-template-rows: max-content 1fr;
    grid-gap: 50px;
    padding: 20px;
    font-size: var(--h1);
    transition: 0.3s ease-in-out;
    transform: translateX(100vw);
}
nav.open {
    transform: translateX(0);
}
nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
nav a {
    color: var(--blau);
    text-decoration: none;
    margin-bottom: 20px;
}
nav a:hover {
    text-decoration: underline;
}
/* ### - O - ### */
/* ### - P - ### */
p {
    font-size: var(--text);
    line-height: 1.;
}
p:last-child {
    margin-bottom: 0;
}
/* ### - Q - ### */
/* ### - R - ### */
/* ### - S - ### */
section {
    min-height: 100vh;
    scroll-margin-top: 50px;
}
.span-2 {
    grid-column: span 6;
}
.span-3 {
    grid-column: span 6;
}
.span-4 {
    grid-column: span 6;
}
.span-6 {
    grid-column: span 6;
}
/* ### - T - ### */
/* ### - U - ### */
/* ### - V - ### */
/* ### - W - ### */
/* ### - X - ### */
/* ### - Y - ### */
/* ### - Z - ### */

@media (min-width: 750px) {
    :root {
        --padding-seiten: 40px;
        --h1: 40px;
        --h2: 32px;
        --h3: 22px;
        --text: 14px;
    }
    header {
        padding: 20px;
    }
    nav {
        width: 50vw;
    }
}

@media (min-width: 1000px) {
    :root {
        --padding-seiten: 80px;
        --h1: 80px;
        --h2: 48px;
        --h3: 36px;
        --text: 18px;
    }
    .hero {
        grid-template-columns: 2fr 3fr;
        grid-template-rows: 1fr;
        position: sticky;
        top: 0;
        z-index: 1;
    }
    .span-2 {
        grid-column: span 2;
    }
    .span-3 {
        grid-column: span 3;
    }
    .span-4 {
        grid-column: span 4;
    }
    .content {
        padding: 80px var(--padding-seiten);
        gap: 60px;
    }
    nav {
        padding: 50px;
        font-size: var(--h2);
    }
    .leistung-text {
        padding: 40px;
        grid-column: 1/2;
    }
    .leistung img {
        display: block;
    }
    section {
        scroll-margin-top: 0px;
        min-height: inherit;
        position: relative;
        z-index: 2;
    }
    .mood-img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        overflow: hidden;
    }
    .anchor {
        position: absolute;
        scroll-margin-top: 80px;
    }
}

@media (min-width: 1350px) {
    :root {
        --padding-seiten: 120px;
        --h1: 80px;
        --h2: 48px;
        --h3: 36px;
        --text: 18px;
    }
    .logo img {
        width: 250px;
    }
    .menu-open {
        width: 60px;
    }
    .menu-close {
        width: 40px;
    }
    .content {
        gap: 80px;
    }
}

@media (min-width: 1650px) {
    :root {
        --padding-seiten: 180px;
        --h1: 120px;
        --h2: 56px;
        --h3: 40px;
        --text: 20px;
    }
    nav {
        width: 30vw;
    }
}

@media (min-width: 2000px) {
}