@import url("reset.css");
@import url("font.css");
@import url("accordion.css");
:root {
    --text: #303332;
    --primary: #1c9530;
    --primary-transparent: rgba(28, 149, 48, 0.8);
    --secondary: #72af53;
    --contrast: #379f02;
    --border-radius: 5px;
    --background: #f0f3f5;
    --highlight: #ffda79;
}

html {
    background: url('../images/background.webp')repeat-y center/cover;
    background-position: fixed;
    height: 100vh;
}

*{
    box-sizing: border-box;
}

body {
    width: 100%;
    max-width: 1920px;
    background-color: #fff;
    margin: auto;
    overflow-x: hidden;
    font: 400 16px/160% 'Nunito Sans', sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    background: #fff
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito';
    font-weight: 700;
    line-height: 110%;
}

h1 {
    font-size: 400%;   
    margin-bottom: 20px; 
}

h2 {
    font-size: 230%;
    line-height: 110%;
    margin-bottom: 15px; 
}

h3 {
    font-size: 150%;
    line-height: 110%;
    margin-bottom: 10px; 
}

article h2, article h1 {
    color: var(--primary);
}

article p a, article ul li a {
    color: var(--primary);
}

p a, ul li a {
    text-decoration: underline;
}

article h2 small, article h1 small {
    color: var(--secondary)
}

article h3 {
    color: var(--primary);
}

footer h2, footer h2 small, footer h3, footer p, footer p a {
    color: #fff;
}

small {
    font-size: 70%;
    line-height: 110%;
    display: inline-block;
    margin-top: 10px;
}

b {
    font-weight: 700;
}

article b {
    color: var(--primary)
}

p {
    margin-bottom: 16px;
}

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

a:hover {
    opacity: 0.5;
}

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

nav {
    width: 100%;
    z-index: 999;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: #fff;
    max-width: 1920px;
}

nav .navicons{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

nav img {
    max-width: 60px;
}

.logo {
    width: 100%;
    max-width: 182px;
    transition: 0.8s;
}

/*button default*/
.button, button {
    font-weight: 700;
    display: inline-block;
    background-color: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    text-decoration: none;
    border: none;
}

.button.primary {
    background-color: var(--primary);
    color: #fff;
}

.button.secondary {
    background-color: var(--secondary);
    color: #fff;
}

.desktop-nav {
    width: 100%;
    text-align: right;
}

.desktop-nav a {
    padding: 0 10px;
}

.overlay {
    height: 100%;
    max-width: 500px;
    width: 0;
    position: fixed;
    z-index: 9999;
    right: 0;
    top: 0;
    background-color: var(--primary);
    background-color: var(--primary-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 {
    top: 20px;
    left: 5%;
}

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

header, .cta {    
    width: 100%;
    height: 900px;
    position: relative;
    margin-top: 100px;
    overflow: hidden;
}

header::after, .cta::after{
    content: '';
    background: url('../images/wave-top-white.svg') no-repeat center / cover;
    aspect-ratio: 1920/282;
    width: calc(100% + 4px);
    display: block;
    position: absolute;
    bottom: -10px;
    left: -2px;
    right: -2px;
    z-index: 1;
}

.cta::after{
    background: url('../images/wave-top-cta.svg') no-repeat center / cover;
}

header img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.cta img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: right;
}

.claim {
    position: absolute;
    bottom: 10%;
    left: 0;
    background-color: var(--secondary);
    color: #fff;
    border-radius: 0 20px 20px 0;
    padding: 50px 5%;
    width: 100%;
    max-width: 800px;
    z-index: 2;
}

.claim p {
    font-size: 150%;
    font-weight: 700;
}

.cta .claim p {
    font-size: 100%;
    font-weight: 400;
}

.claim .button {
    background-color: #fff;
    color: var(--primary);
    font-size: 110%;
}

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

.dse a {
    color: #fff;
}

.small-dialog {
    background: white;
    padding: 20px 30px;
    text-align: left;
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    border-radius: var(--border-radius);
}

.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;
}

.responsive-slides{
    padding: 0 20px;
}

.responsive-slides img{
    width: 100%;    
    border-radius: var(--border-radius);
}

.responsive-slides a {
    padding: 0 5px;
}

.responsive-slides .slick-prev {
    left: 0;
    z-index: 999;
}

.responsive-slides .slick-prev::before, 
.responsive-slides .slick-next::before {	
	opacity: 1;
	color: var(--text);
}

.responsive-slides .slick-next {
    right: 0;
}

article {
    width: 100%;
}

.container {
    padding: 50px 5%;
}

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

.col-2 {
    width: 50%;
}

.col-l {
    padding-right: 1%;
}

.col-r {
    padding-left: 1%;
}

.text-col {
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.pic-col img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-2, 
.section-3 {
    background-color: var(--background);
}

.section-2 .text-col,
.section-3 .text-col{
    padding: 50px 5%;
}

ul.with-icons{
    width: 100%;
    margin-top: 20px;
}

ul.with-icons li{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
}

ul.with-icons li::before{
    content: '';
    background: url('../images/icon-heart-handshake.webp')no-repeat center / cover;
    display: block;
    aspect-ratio: 1/1;
    height: 78px;
}

ul.with-icons li div {
    width: calc(100% - 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

ul.with-icons li p {
    margin-bottom: 0;
}

.dsa-secure-plugin {
    height: 100%!important;
    width: 100%!important;
    min-height: 300px;
    border-radius: 10px;
}

.dsa-secure-plugin iframe{
    height: 100%;
}

footer {
    background-color: var(--primary);
}

footer .col-r {
    text-align: right;
}

footer img {
    width: 100%;
    max-width: 200px;
}

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

.section-bew{
    background-color: var(--background);
}

.section-bew .col-box{
    justify-content: center;
}

.bewertung-col{
    width: 100%;
    max-width: 1000px;
}

#form-container {
    display: none;
    margin-bottom: 10px;
  }

.imprint{
    margin-top: 100px;
}

.imprint .col-2 {
    margin-bottom: 15px;
}

@media screen and (max-width: 1024px) {   
    .col-2{
        width: 100%;
    }

    .col-r, .col-l {
        padding: 0;
    }

    .pic-col img {
        object-fit: unset;
        height: auto;
        margin-bottom: 20px;
        display: block;
    }

    .desktop-nav {
        display: none;
    }

    header, .cta {
        height: auto;
    }

    header img, .cta img {
        display: block;
    }

    header .claim, .cta .claim{
        position: static;
        max-width: none;
        border-radius: 0;
    }

    h1 {
        font-size: 300%;
    }

    h2 {
        font-size: 190%;
    }

    h3 {
        font-size: 130%;
    }

    .claim .button {
        font-size: 100%;
    }

    .logo {
        max-width: 120px;
    }

    nav img {
        max-width: 40px;
    }

    header::after, .cta::after{
        display: none;        
    }

    .section-3 .col-box{
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 200%;
    }

    h1 {
        font-size: 180%;
    }

    .claim p {
        font-size: 130%;
        font-weight: 700;
    }
}

@media screen and (max-width: 550px) {  
    ul.with-icons li::before {
        height: 48px;
    }
    
    ul.with-icons li div {
        width: calc(100% - 60px);
    }
}

/* 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;
    }
}