@font-face {
font-family: 'Quicksand';
src: url('../fonts/quicksand-regular.woff2') format('woff2'),
     url('../fonts/quicksand-regular.woff') format('woff'),
     url('../fonts/quicksand-regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

*, *::before, *::after {
box-sizing: border-box;
margin: 0; padding: 0;
}

html, body {
height: 100%;
background-color: #FFFFFF;
color: #333333;
}

hr {
clear: both;
height: 0px;
margin: 1em 0;
border: none;
border-top: 1px dashed #999999;
}

a:active, a:hover, a:focus {
outline: 2px solid rgba(255,255,255,0.1);
outline-offset: 2px;
}

.skip-link {
position: absolute;
left: -9999px;
}
.skip-link:focus {
left: 0;
background: black;
color: white;
padding: 8px;
z-index: 1000;
}

.clearer {
float: none;
clear: both;
height: 0 !important;
}

.wrapper, .textwrapper, .formwrapper {
position: relative;
margin: 0 auto; padding: 0;
background: none;
}

header {
display: block;
margin: 0; padding: 0;
z-index: 1000;
background-color: #EEEEEE;
}

header h1 {
font-size: 1px;
position: absolute;
left: -9999px;
color: #FEFEFE;
}

header .wrapper {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
}

.logo img {
display: block;
}

.header-actions {
position: relative;
display: flex;
flex-direction: column;
align-items: flex-end;
}

.button-drflex, .button-green, .button-cyan, .button-grey {
display: block;
margin: 10px 0;
padding: 10px 20px;
border-radius: 50px 0 0 50px;
box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.5);
text-decoration: none;
color: #FFFFFF !important;
}

.button-drflex { background-color: #8FBF1E; }
.button-green  { background-color: #8FBF1E; }
.button-cyan   { background-color: #4CBCCA; }
.button-grey   { background-color: #BBBBBB; }

main {
display: block;
position: relative;
background: none;
width: 100%;
margin: 0; padding: 0;
}

.wrappedcontent {
position: relative;
display: block;
margin: 0 auto; padding: 0;
background: none;
overflow: hidden;
}

.bg-image-container {
margin: 0; padding: 0;
}

.bg-image-container img {
width: 100%;
height: auto;
display: block;
}

.greyback {
background: #DDDDDD;
}

.greydient {
background: linear-gradient(to bottom, #EEEEEE 0%, #FFFFFF 20%);
}

.greyspecial {
background: linear-gradient(to bottom, #BBBBBB 0%,#DDDDDD 25%,#DDDDDD 75%,#BBBBBB 100%);
}

/* ============================================================= */

.infoblocks {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 2%;
margin: 2rem 0;
}

.oneblock {
flex: 1 1 32%;
position: relative;
background: #FFFFFF;
padding: 1.5rem;
box-sizing: border-box;
border: 15px solid #BBBBBB;
border-radius: 50px;
}

.oneblock a.button-green,
.oneblock a.button-cyan,
.oneblock a.button-grey {
position: absolute;
bottom: 40px;
right: 0;
}

.oneblock-credit {
display: block;
position: absolute;
bottom: -12px;
right: 10px;
text-align: right;
}

.variblocks {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 1%;
width: 100%;
}

.onevariblock {
background: #FFFFFF;
padding: 1.5rem;
box-sizing: border-box;
border-radius: none;
height: 100%;
}

.onevariblock img {
width: 100%; height: auto;
}

/* ============================================================= */

.pureimgs {
background: none !important;
border: none !important;
border-radius: none !important;
}

.pureimgs img {
display: block;
width: 100%; height: auto;
box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.5);
}

.pureimgs img.smallrev {
width: 70% !important; height: auto;
margin-bottom: 20px;
}

article img {
display: block;
margin: 0; padding: 0;
border: none;
}

/* ============================================================= */

.imgart-row {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: 2em;
}

.imgart-txt {
flex: 1 1 60%;
}

.imgart-img {
flex: 1 1 35%;
text-align: right;
}

.imgart-img img {
box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.5);
}

/* ============================================================= */

.img-profil {
display: block;
padding: 0;
border: none;
}

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }
.img-left { margin: 0 100% 0 0; }
.img-center { margin: 0 auto; }
.img-right  { margin: 0 0 100% 0; }

/* ============================================================= */

.togglewrapper {
position: relative;
display: flex;
flex-direction: column;
gap: 20px;
margin: 0 0 40px;
}

.togglebox {
position: relative;
display: flex;  
flex-direction: row;
margin: 0 auto 20px;
border: 1px solid #ccc;
padding: 15px;
box-sizing: border-box;
transition: all 0.3s ease;
border: 15px solid #DDDDDD;
border-radius: 50px;
}

.toggleimg {
flex: 0 0 200px;
margin-right: 15px;
}

.toggleimg img {
width: 100%; height: auto;
aspect-ratio: 1 / 1;
object-fit: cover;
}

.toggletxt {
flex: 1;
position: relative;
}

.togglebtn {
display: inline-block;
transition: all 0.3s ease;
}

.togglebox.button-top .togglebtn {
position: absolute;
bottom: -10px;
right: 10px;
margin-top: 0;
}

.toggle-expand {
max-height: 0;
overflow: hidden;
transition: max-height 1s ease;
}

.togglebox.expanded .toggle-expand {
max-height: 1000px;
}

.toggletxt a.togglebtn {
display: inline-block;
margin-top: 10px;
padding: 6px 12px;
background-color: #DDDDDD;
border-radius: 4px;
text-decoration: none;
color: #333333;
transition: all 0.5s ease;
}

.togglebox.expanded .toggletxt a.togglebtn {
position: absolute;
bottom: -10px;
right: 10px;
margin-top: 0;
}

/* ============================================================= */

.teamwrapper {
position: relative;
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: flex-start;
margin: 0 auto;
}

.teambox {
display: flex;
flex-direction: column;
justify-content: space-between;
flex: 1 1 calc(25% - 15px);
box-sizing: border-box;
border: 15px solid #DDDDDD;
border-radius: 50px;
padding: 15px;
text-align: center;
transition: transform 0.3s ease;
}

.teambox img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto 10px;
}

.teambox p {
font-weight: bold;
margin-bottom: 10px;
}

.teambox a {
margin-top: auto auto 20px;
align-self: center;
text-decoration: none;
color: #0077cc;
}

/* ============================================================= */

div.gallerybox {
display: block:
position: relative;
margin: 0 auto;
}

ul.gallery {
list-style: none;
position: relative;
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: flex-start;
margin: 0 auto;
}

ul.gallery li {
display: flex;
flex-direction: column;
justify-content: space-between;
box-sizing: border-box;
/*padding: 15px;*/
text-align: center;
}

ul.gallery img {
height: auto;
display: block;
margin: 0 auto 10px;
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}

/* ============================================================= */

.footerbox {
background: linear-gradient(to bottom, #EEEEEE 0%,#CCCCCC 100%);
border-top: 10px solid #BBBBBB;
}

.footerbox .wrapper {
display: flex;
flex-wrap: wrap;
gap: 2%;
}

.footerblock {
position: relative;
flex: 1 1 0;
min-width: 250px;
box-sizing: border-box;
}

.socialmedia img {
display: inline-block;
margin-right: 2%;
border-radius: 10px;
}

.copyrightbox {
padding: 2em 0 1em 0;
background-color: #444444;
}

.copyrightbox p {
text-align: center;
color: #FFFFFF;
}

/* ============================================================= */

.scroll-top {
position: fixed;
opacity: 0;
visibility: hidden;
z-index: 9999;
cursor: pointer;
}

.scroll-top.visible {
opacity: 1;
visibility: visible;
}

.scroll-top img {
opacity: 0.5;
width: 100%;
height: 100%;
object-fit: contain;
}

/* ============================================================= */

/* -------- Mobiltelefone ------------------------ */

@media screen and (max-width: 768px) {
  header { position: relative; width: 100%; }
  main { padding: 0; background: linear-gradient(to bottom, #EEEEEE 10%, #FFFFFF 20%); }
  .wrapper { width: 90%; }
  .formwrapper { width: 90%; }
  .logo { display: block; width: 360px; margin: 0 auto; }
  .logo img { width: 360px; height: auto; }
  .header-actions { margin: 20px 0; width: 100%; }
  .header-actions .button-drflex, .header-actions .button-grey { width: 75%; margin-bottom: 10px; border-radius: 50px; }
  .button-drflex, .button-green, .button-cyan, .button-grey { width: 280px; margin: 0 auto; box-shadow: none; text-align: center; }
  .textarticle { padding: 1em 0; }
  .imgarticle { display: block; margin: 1em 0; }
  .imgart-row { display: flex; flex-direction: column; align-items: center; }
  .imgart-img { order: -1; width: 100%; text-align: center; }
  .imgart-img img { display: block; width: 240px; height: auto; margin: 1em auto 0; }
  .imgart-txt { text-align: center; }
  .gallerybox { width: 90%; margin-bottom: 40px; }
  .gallery li { flex: 1 1 calc(49.9% - 20px); max-width: calc(49.9% - 20px); }
  .gallery img { width: 60%; height: auto; margin: 0 auto; }
  .greyspecial { padding: 0 !important; }
  .infoblocks { flex-direction: column; gap: 1rem; }
  .oneblock { flex: 1 1 auto; width: 90%; margin: 0 auto; min-height: 250px; }
  .smallrev { margin: 0 auto; }
  .variblocks { grid-template-columns: repeat(2, 1fr); }
  .onevariblock { aspect-ratio: 1 / 1; }
  .img-landscape { width: 90%; height: auto; }
  .img-square    { width: 66.66666%; height: auto; }
  .img-portrait  { width: 66.66666%; height: auto; }
  .img-profil { width: 240px; height: auto; margin: 0 auto; }
  .togglebox { flex-direction: column; width: 90%; padding-bottom: 30px; border: none; border-top: 4px solid #DDDDDD; border-bottom: 4px solid #DDDDDD; }
  .toggleimg { margin: 0 auto 10px; width: 220px; }
  .toggleimg img { border-radius: 20px; }
  .togglebox.button-top .togglebtn { bottom: -20px; }
  .togglebox.expanded .toggletxt a.togglebtn { bottom: -20px; }
  .teamwrapper { width: 90%; margin-bottom: 40px; }
  .teambox { flex: 1 1 100%; }
  .teambox img { width: 60%; height: auto; margin: 0 auto; }
  .teambox .button-grey { width: 50%; border-radius: 40px; }
  .textwrapper .button-green { width: 280px; border-radius: 40px; }
  .footerbox .wrapper { flex-direction: column; }
  .footer-logo { width: 70%; height: auto; margin-bottom: 1em; }
  .socialmedia { margin-bottom: 20px; }
  .socialmedia img { width: 16.66666%; height: auto; }
  .scroll-top { bottom: 10px; left: 50%; right: auto; transform: translateX(-50%); width: 80px; height: 80px; }
  .scroll-top img { border-radius: 10px; }
}

/* -------- Tablet ------------------------------- */

@media screen and (min-width: 768px) and (max-width: 1024px) {
  header { position: relative; width: 100%; }
  main { padding: 0; background: linear-gradient(to bottom, #EEEEEE 15%, #FFFFFF 30%); }
  .wrapper { width: 90%; }
  .formwrapper { width: 720px; }
  .logo { display: block; width: 480px; margin: 0 auto; }
  .logo img { width: 480px; height: auto; }
  .header-actions { margin: 20px 0; width: 100%; }
  .header-actions .button-drflex, .header-actions .button-grey { width: 50%; margin-bottom: 15px; border-radius: 50px; }
  .button-drflex, .button-green, .button-cyan, .button-grey { width: 320px; margin: 0 auto; box-shadow: none; text-align: center; }
  .textarticle { padding: 1em 0; }
  .imgarticle { display: block; margin: 1em 0; }
  .imgart-row { display: flex; flex-direction: column; align-items: center; }
  .imgart-img { order: -1; width: 100%; text-align: center; }
  .imgart-img img { display: block; width: 320px; height: auto; margin: 1em auto 0; }
  .imgart-txt { text-align: center; }
  .gallerybox { width: 90%; margin-bottom: 40px; }
  .gallery li { flex: 1 1 calc(33.2% - 20px); max-width: calc(33.2% - 20px); }
  .greyspecial { padding: 0 !important; }
  .infoblocks { flex-direction: column; gap: 1rem; }
  .oneblock { flex: 1 1 auto; width: 70%; margin: 0 auto; min-height: 250px; }
  .smallrev { margin: 0 auto; }
  .variblocks { grid-template-columns: repeat(3, 1fr); }
  .onevariblock { aspect-ratio: 1 / 1; }
  .img-landscape { width: 75%; height: auto; }
  .img-square    { width: 50%; height: auto; }
  .img-portrait  { width: 50%; height: auto; }
  .img-profil { width: 300px; height: auto; margin: 0 auto; }
  .togglebox { flex-direction: column; width: 90%; padding-bottom: 30px; border: none; border-top: 4px solid #DDDDDD; border-bottom: 4px solid #DDDDDD; }
  .toggleimg { margin: 0 auto 10px; width: 280px; }
  .toggleimg img { border-radius: 20px; }
  .togglebox.button-top .togglebtn { bottom: -20px; }
  .togglebox.expanded .toggletxt a.togglebtn { bottom: -20px; }
  .teamwrapper { width: 90%; margin-bottom: 40px; }
  .teambox { flex: 1 1 calc(50% - 10px); }
  .teambox .button-grey { width: 60%; border-radius: 30px; }
  .textwrapper .button-green { width: 320px; border-radius: 30px; }
  .footerbox .wrapper { flex-direction: column; }
  .footer-logo { width: 50%; height: auto; margin-bottom: 1em; }
  .socialmedia { margin-bottom: 20px; }
  .socialmedia img { width: 12%; height: auto; }
  .scroll-top { bottom: 20px; left: 50%; right: auto; transform: translateX(-50%); width: 90px; height: 90px; }
  .scroll-top img { border-radius: 15px; }
}

/* -------- Laptop ------------------------------- */

@media screen and (min-width: 1024px) and (max-width: 1280px) {
  header { position: fixed; width: 100%; }
  main { padding: 162px 0 0 0; background: linear-gradient(to bottom, #EEEEEE 20%, #FFFFFF 40%); }
  .wrapper { width: 90%; }
  .formwrapper { width: 720px; }
  .logo img { width: 400px; height: auto; }
  .header-actions { margin: 10px 0 20px; }
  .header-actions .button-drflex { margin-bottom: 5px; }
  .bg-image-container { margin-top: -20px; }
  .textarticle { padding: 2.5em 0; }
  .imgarticle { margin: 2.5em 0 5em; }
  .imgart-img img { width: 240px; height: auto; } 
  .gallerybox { width: 92%; margin-bottom: 100px; }
  .gallery li { flex: 0 0 calc(24.9% - 20px); max-width: calc(24.9% - 20px); }
  .greyspecial { padding: 40px 0; }
  .infoblocks { align-items: stretch; }
  .oneblock { min-height: 320px; }
  .img-landscape { width: 75%; height: auto; }
  .img-square    { width: 50%; height: auto; }
  .img-portrait  { width: 50%; height: auto; }
  .img-profil { width: 300px; height: auto; margin: 0 auto; }
  .togglebox { width: 900px; }
  .toggleimg img { border-radius: 30px 0 0 30px; }
  .teamwrapper { width: 90%; margin-bottom: 50px; }
  .teambox { flex: 0 0 calc(33.333% - 20px); max-width: calc(33.333% - 20px); }
  .teambox .button-grey { width: 85%; border-radius: 30px; }
  .textwrapper .button-green { width: 280px; border-radius: 30px; }
  .footerbox { padding: 20px 0; }
  .footer-logo { width: 280px; height: auto; margin-bottom: 1em; }
  .socialmedia img { width: 16.66666%; height: auto; }
  .scroll-top { bottom: 30px; right: 30px; width: 60px; height: 60px; }
  .scroll-top img { border-radius: 10px; }
}

/* -------- Desktop-PC --------------------------- */

@media screen and (min-width: 1280px) and (max-width: 1536px) {
  header { position: fixed; width: 100%; }
  main { padding: 165px 0 0 0; background: linear-gradient(to bottom, #EEEEEE 20%, #FFFFFF 40%); }
  .wrapper { width: 92%; }
  .formwrapper { width: 800px; }
  .logo img { width: 500px; height: auto; }
  .header-actions { margin: 10px 0 20px; }
  .header-actions .button-drflex { margin-bottom: 5px; }
  .bg-image-container { margin-top: -20px; }
  .textwrapper { width: 90%; }
  .textarticle { padding: 3em 0; }
  .imgarticle { margin: 3em 0 6em; }
  .imgart-img img { width: 280px; height: auto; } 
  .gallerybox { width: 92%; margin-bottom: 100px; }
  .gallery li { flex: 0 0 calc(19.9% - 20px); max-width: calc(19.9% - 20px); }
  .greyspecial { padding: 60px 0; }
  .infoblocks { align-items: stretch; }
  .oneblock { min-height: 300px; }
  .img-landscape { width: 66.66666%; height: auto; }
  .img-square    { width: 33.33333%; height: auto; }
  .img-portrait  { width: 33.33333%; height: auto; }
  .img-profil { width: 320px; height: auto; margin: 0 auto; }
  .togglebox { width: 1000px; }
  .toggleimg img { border-radius: 30px 0 0 30px; }
  .teamwrapper { width: 92%; margin-bottom: 100px; }
  .teambox .button-grey { width: 80%; border-radius: 40px; }
  .textwrapper .button-green { width: 280px; border-radius: 40px; }
  .footerbox { padding: 30px 0; }
  .footer-logo { width: 320px; height: auto; margin-bottom: 1em; }
  .socialmedia img { width: 16.66666%; height: auto; }
  .scroll-top { bottom: 30px; right: 30px; width: 80px; height: 80px; }
  .scroll-top img { border-radius: 15px; }
}

/* -------- Großbildschirm ----------------------- */

@media screen and (min-width: 1536px) {
  header { position: fixed; width: 100%; }
  main { padding: 188px 0 0 0; background: linear-gradient(to bottom, #EEEEEE 20%, #FFFFFF 40%); }
  .wrapper { width: 81.25%; max-width: 1920px; }
  .formwrapper { width: 800px; }
  .logo img { width: 600px; height: auto; }
  .header-actions { margin-top: 20px; }
  .header-actions .button-drflex { margin-bottom: 10px; }
  .bg-image-container { margin: -20px auto 0; max-width: 1920px; }
  .textwrapper { width: 75%; }
  .textarticle { padding: 4em 0; }
  .imgarticle { margin: 4em 0 8em; }
  .imgart-img img { width: 320px; height: auto; } 
  .gallerybox { width: 81.25%; max-width: 1920px; }
  .gallery li { flex: 1 1 calc(16.5% - 20px); max-width: calc(16.5% - 20px); }
  .greyspecial { padding: 80px 0; }
  .infoblocks { align-items: stretch; }
  .oneblock { min-height: 320px; }
  .img-landscape { width: 50%; height: auto; }
  .img-square    { width: 25%; height: auto; }
  .img-portrait  { width: 25%; height: auto; }
  .img-profil { width: 340px; height: auto; margin: 0 auto; }
  .togglebox { width: 1200px; }
  .toggleimg img { border-radius: 30px 0 0 30px; }
  .teamwrapper { width: 81.25%; max-width: 1920px; margin-bottom: 200px; }
  .teambox .button-grey { width: 75%; border-radius: 50px; }
  .textwrapper .button-green { width: 340px; border-radius: 50px; }
  .footerbox { padding: 40px 0; }
  .footer-logo { width: 400px; height: auto; margin-bottom: 1em; }
  .socialmedia img { width: 16.66666%; height: auto; }
  .scroll-top { bottom: 30px; right: 30px; width: 100px; height: 100px; }
  .scroll-top img { border-radius: 20px; }
}