#atf {
    height: 100vh;
    height: 100svh;
    position: relative;
    overflow: hidden;
}

#atf h1,
#subhead h1 {
    text-align: left;
    font-size: 2.25rem;
    line-height: 3rem;
}

@media (max-width:1027px) {
    #atf h1,
    #subhead h1 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

img {
    width: 100%;
}

.introcontent {
    background: rgba(24, 23, 21, 0.9);
    color: #fff;
    -wenkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    height: 100vh;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.img--square {
    height: 100%;
    object-fit: cover;
}

.textbox {
    padding: 2rem;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.8) 0%, #FFFFFF 100%);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    position: absolute;
    grid-column: 17 / 25;
}

@media (max-width:1027px) {
    .textbox {
        grid-column: 13 / 25;
    }
}

@media (max-width:766px) {
    .textbox {
        grid-column: 1 / 25;
        position: relative;
    }
}

.textbox.bottomleft {
    background: linear-gradient(225deg, rgba(255, 255, 255, 0.8) 0%, #FFFFFF 100%);
    grid-column: 1 / 9;
    align-self: end;
}

@media (max-width:1027px) {
    .textbox.bottomleft {
        grid-column: 1 / 13;
    }
}

@media (max-width:766px) {
    .textbox.bottomleft {
        grid-column: 1 / 25;
    }
}

.textbox.bottomright {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, #FFFFFF 100%);
    align-self: end;
}

.kontaktbox {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2rem 4rem 4rem;
}

@media (max-width:477px) {
    .textbox {
        padding: 1rem;
        height: 100%;
    }
}

.start_heading {
    position: absolute;
    font-size: 3rem;
    font-weight: 600;
    line-height: 4rem;
    text-align: center;
    color: var(--primary);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width:766px) {
    .start_heading {
        font-size: 2rem;
        line-height: 3rem;
    }
}

@media (max-width:477px) {
    .start_heading {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

.start_heading_box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-row: span 2;
    height: 576px;
}

#subhead .start_heading_box,
#subleistungen .start_heading_box {
    height: auto;
}

@media (max-width:766px) {
    .start_heading_box {
        height: auto;
    }
}

main section {
    padding-bottom: 4rem;
}

@media (max-width:766px) {
    main section {
        padding-bottom: 2rem;
    }
}

.cta-area {
    padding-top: 3em;
    padding-bottom: 3rem;
}

.kontakt_info {
    padding-left: 4rem;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

a.kontakt_info {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 400;
}

h3.kontakt_info {
    font-size: 2.25rem;
    line-height: 2.25rem;
    font-weight: 600;
}

@media (max-width:766px) {
    a.kontakt_info {
        font-size: 1.25rem;
        line-height: 1.5rem;
        margin-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

@media (max-width:477px) {
    a.kontakt_info {
        font-size: 1rem;
    }
}

a.kontakt_info span {
    font-size: 1rem;
    margin-left: 0.5rem;
    line-height: 1rem;
    margin-top: 0.4rem;
    font-weight: 700;
}

.kontakt_info img {
    width: 2.25rem;
    position: absolute;
    left: 0;
}

#subhead {
    padding-top: 6rem;
    min-height: calc(100vh - 7.5rem);
}

#subhead h2,
#subhead .heading_2 {
    font-size: 1.5rem;
    line-height: 1.2em;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.divider {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.bg {
    grid-column: span 24;
    display: flex;
}

.marken_heading {
    font-size: 4.5rem;
    line-height: 4rem;
    margin-bottom: 1rem;
}

.pretty_heading {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #fff;
    font-size: min(4.5rem , 5.625vw);
    line-height: min(4rem, 5vw);
    text-align: right;
    font-weight: 600;
    left: 1.5rem;
}

@media (max-width:1027px) {
    .pretty_heading {
        top: 1rem;
        right: 1rem;
        left: 1rem;
    }
}

.pretty_heading--left {
    color: rgb(0, 0, 0);
    text-align: left;
}
