@import url("reset.css");
@import url("font.css");
:root {
    --text: #1a1a1a;
    --primaer: #d80b0b;
    --primaer-transparent: rgba(216, 11, 11,0.8);
    --sekundaer: #1a1a1a;
    --kontrast: #1a1a1a;
    --grey: #e9ebee;
}

*{
    box-sizing: border-box;
}

html{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    width: 100%;
    overflow-x: hidden;
    font: 300 16px/160% 'Comfortaa', sans-serif;
    color: var(--text);
}

.alert {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    /*    color: #;*/

}

.alert .alarm {
    width: 100%;
    max-width: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 20px 0 20px 0;
}

.alert .closebtn {
    color: var(--text);
    font-weight: bold;
    font-size: 18px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: underline;
}

.alert .closebtn:hover {
    color: var(--text);
}

p {
    margin-bottom: 16px;
}

a {
    text-decoration: none;    
	transition: 0.3s;
}

h1, h2, h3, h4, h5, h6{
    font-weight: 700;
}

a:hover {
    opacity: 0.5;
}

.dsa-secure-plugin a:hover {
    opacity: 1;
}

nav {
    z-index: 999;
    position: fixed;
    top: 0;
    background-color: var(--sekundaer);
    width: 100%;
    box-sizing: border-box;
}

nav .span {
    /* position: fixed; */
    flex-direction: column;
    justify-content: space-between;
    display: none;
    height: 35px;
    width: 45px;
}

nav .span div {
    width: 100%;
    border-bottom: 5px solid var(--primaer);
}

.topnav {
    font-weight: 700;
    width: 100%;
}

.topnav .wrapper {   
    padding-top: 10px;
    padding-bottom: 6px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: #fff;
    border-bottom: 1px solid rgb(107, 107, 107);
}

.icon-margin-right {
    margin-right: 5px;
}

.icon-margin-left {
    margin-left: 8px;
}

.topnav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.button {
    background-color: var(--primaer);
    color: #fff;
    padding: 12px 20px;
    margin-top: 15px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 20px 0 20px 0;
    display: inline-block;
}

.desktop-nav {
    width: 100%;
}

.desktop-nav .wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.desktop-nav a {
    padding: 0 10px;
    color: var(--primaer);
    font-weight: 700;
}

.logo, .desktop-nav .logo-col {    
    width: 140px;
}

.desktop-nav .non-logo-col{
    width: 100%;
    max-width: calc(100% - 170px);
    text-align: right;
}

.responsive{
    display: none;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    background-color: var(--primaer);
    background-color: var(--primaer-transparent);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
	padding: 12px;
	text-decoration: none;
	font-size: 180%;
	color: #fff;
	display: block;
}

.overlay .closebtn {
    position: absolute;
    font-size: 60px;
}

.overlay .closebtn, nav .span {
    top: 20px;
    right: 5%;
}

.overlay a.closebtn {
    font-weight: 300;
}

.dse{
    font-size: 80%;
    text-align: center;
    position: fixed;
    bottom: 0;
    right: 5%;
    background-color: var(--kontrast);
    color: #fff;
    width: 290px;
    padding: 5px;
}

.dse a {
    color: #fff;
}

.small-dialog {
    background: white;
    padding: 20px 30px;
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
    position: relative;
}

.my-mfp-zoom-in .zoom-anim-dialog {
    opacity: 0;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;



    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
    opacity: 1;

    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);

    opacity: 0;
}

.my-mfp-zoom-in.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

.my-mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.my-mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

article {
    width: 100%;
}

.wrapper{
    padding: 0 10%;
}

header img {
    width: 100%;
}

article .wrapper {
    padding-top: 125px;
    padding-bottom: 125px;
    display: flex;
    justify-content: space-between;
}

article .wrapper .col {
    width: 47%;
}

header {
    margin-top: 160px;
    position: relative;
}

.intro {
    position: absolute;
    inset: auto 0 10% 0;
    text-align: center;
}

.intro .wrapper {
    padding-top: 50px;
    padding-bottom: 50px;
}

h1 {
    font-size: 300%;
    line-height: 100%;
    color: var(--primaer)
}

h1 .subheadline {
    font-size: 80%;
    color: #fff;
}

.section-1 .col {
    position: relative;
}

.section-1 .clipping-mask {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 20px 0 20px 0;
}

.section-1 .clipping-mask img {
    height: 100%;
    transform: translate(-25%,0);
}

.section-1 .wrapper {
    align-items: center;
}

.breadcrumb {
    font-weight: 700;
    font-size: 110%;
    display: inline-block;
    border-bottom: 1px solid var(--primaer);
    margin-bottom: 50px;
    padding-bottom: 10px;
}

h2, #impressum h1 {
    font-size: 200%;
    line-height: 100%;
    margin-bottom: 50px;
}

#impressum {
    margin-top: 100px;
}

#impressum h1 {
    color: var(--text)
}

#impressum ul {
    margin-left: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

#impressum li {
    list-style: disc;
}

h2 .subheadline, #impressum h1 .subheadline {
    font-size: 70%;
    color: var(--primaer);
}

.color {
    color: var(--primaer)
}

.sideinfo {    
    position: absolute;
    inset: auto auto 10% -10%;
    background: var(--primaer);
    color: #fff;
    padding: 30px;
    border-radius: 0 20px 0 20px;
}

.sideinfo ul {
    list-style: url('../images/icon-tick-mark.png');
    margin-left: 20px;
}

.dotted-bg-section {
    background: url('../images/background.svg') no-repeat left / auto 100%, var(--grey);
}

.section-2 .wrapper{
    align-items: flex-start;
}

.leistungspunkte {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 208px;
}

.leistungspunkt{
    background-color: #fff;
    font-weight: 700;
    border-radius: 100px 0 20px 100px;
    display: flex;
    align-items: center;
    width: 49%;
    min-width: 300px;
    margin-bottom: 30px;
}

.leistungspunkt img {
    margin-right: 20px;
}

article .wrapper-noflex{
    display: block;
}

article.section-3 {
    text-align: center;
}

.steps {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    flex-wrap: wrap;
}

.col-3 {
    width: 32%;
    background-color: var(--grey);
    padding: 0 30px 30px 30px;
    border-radius: 20px 0 20px 0;
    text-align: left;
}

.number {
    background-color: var(--primaer);
    color: #fff;
    font-weight: 700;
    border-radius: 100px;
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -30px;
}

article.section-4 {
    background-color: var(--sekundaer);
    color: #fff;
}

article.section-4 ul, .small-dialog ul {
    list-style: disc;
    margin-left: 15px;
}

.small-dialog ul {
    margin-bottom: 20px;
}

.small-dialog h2 {
    margin-bottom: 20px;
}

article.section-4 ul li::marker, .small-dialog ul li::marker{
    color: var(--primaer)
}

article.section-4 ul li a {
    color: var(--primaer)
}

.col-2 {
    width: 48%;
    text-align: center;
}

.col-2 img.bigger-picture {
    width: 100%;
    border-radius: 20px 0 20px 0;
    overflow: hidden;
}

.campaign-col{
    display: flex;
    justify-content: space-between;
    margin-top: 208px;
}

.campaign-col a {
    color: var(--primaer);
    font-weight: 700;
}

article.section-5 .steps .col-3 {
    background-color: #fff;
    padding: 30px;
    text-align: center;    
}

article.section-5 .steps .col-3 a{
    color: var(--sekundaer)
}

article.section-5 .steps .col-3 h3{
    font-size: 130%;
    margin-top: 10px;
}

article.section-5 .steps .col-3 h4{
    font-size: 90%;
    color: var(--primaer);
    margin-bottom: 20px;
}

.upper-row {
    text-align: left;
    display: flex;
    justify-content: space-between;
}

.upper-row .col-r{
    width: 30%;
    min-width: 235px;
    padding-top: 88px;
    text-align: right;
}

.upper-row .col-l{
    width: 70%;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.col-50 {
    width: 50%;
}

.col-50-left {
    background: url('../images/kontakt.webp') no-repeat right 30% center /cover;
    position: relative;
}

.contact-box{
    background-color: var(--primaer);
    color: #fff;
    display: inline-block;
    padding: 30px;
    border-radius: 20px 0 20px 0;
    position: absolute;
    bottom: 30px;
    right: 30px;
}

.contact-box h2{
    margin-bottom: 0;
}

article.footer {
    background-color: var(--sekundaer);
    color: #fff;
}

article.footer a{
    color: var(--primaer)
}

article.footer .col-3 {
    background-color: transparent;
    margin-bottom: 0;
    padding: 0;
}

.kontaktformular{
    width: 100%;
    height: 1100px;
}

@media screen and (max-width: 1024px) {
    nav .span {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    .responsive{
        display: block;
    }

    nav .wrapper.responsive{
        padding-top: 20px;
        padding-bottom: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    article .wrapper {
        flex-direction: column-reverse;
    }

    article.section-2 .wrapper {
        flex-direction: column;
    }

    .leistungspunkte{
        margin-top: 50px;
    }

    article .wrapper .col {
        width: 100%;
    }

    .clipping-mask{
        aspect-ratio: none;
        margin-top: 50px;
    }

    .col-3 {
        width: 100%;
        margin-bottom: 60px;
    }

    article.section-3 .wrapper {
        text-align: left;
    }

    .campaign-col{
        margin-top: 50px;
    }

    .upper-row {
        flex-direction: column;
    }
    
    .upper-row .col-r{
        width: 100%;
        text-align: left;
        padding-top: 0;
    }
    
    .upper-row .col-l{
        width: 100%;
    }

    .flex {
        flex-direction: column-reverse;
    }

    .col-50 {
        width: 100%;
    }

    .col-50-left{
        height: 500px
    }

    article.footer .wrapper {
        flex-direction: column;
    }

    #impressum ul {
        align-items: flex-start;
    }
}

@media screen and (max-width: 768px) {
    nav .topnav{
        display: none;
    }

    .logo, .desktop-nav .logo-col {
        width: 100px;
    }

    header {
        margin-top: 90px;
    }

    header img {
        display: block;
    }

    .intro{
        position: static;
        background-color: var(--sekundaer);
    }

    h1 {
        font-size: 200%;
    }

    h2, #impressum h1 {
        font-size: 150%;
        margin-bottom: 30px;
    }

    .breadcrumb{
        margin-bottom: 30px;
    }

    article .wrapper {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 550px) {
    .sideinfo{
        position: static;
        margin-top: 30px;
    }

    .col-50-left {
        background: url('../images/kontakt.webp') no-repeat right -140px center/cover;        
    }

    .contact-box h2 {
       font-size: 120%;
    }

    .contact-box h3 {
        font-size: 85%;
        line-height: 100%;
        margin-bottom: 10px;
     }     
}
@media screen and (max-width: 450px) {
    .contact-box {
        inset: auto 10px 10px 10px
    }
}
/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}