/*	Author: Sascha Milivojevic (info@hey-sascha.de):
   
		------------------------------------------------------
   
		AKADEMIE SYSTEMISCHE MODERATION v1 stylesheet
  
		----------------------------------------------------*/
		
/*	CSS Imports
  
		----------------------------------------------------
*/

/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #000;
    color: #FFF;
    text-shadow: none;
}

::selection {
    color: #FFF;
    background: #000;
    text-shadow: none;
}


/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.invisible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;}
    
div img, figure img {
  max-width: 100%;
  width: auto\9; /* ie8 */} 

 
/* ==========================================================================
   VARIABLES
   ========================================================================== */
:root {
  --font-family-light: 'Satoshi-Light';
  --font-family-regular: 'Satoshi-Regular';
  --font-family-bold: 'Satoshi-Bold';
  --font-family-medium: 'Satoshi-Medium';
  --font-family-speak: 'Satoshi-Italic';
  --font-family-black: 'Satoshi-Black';
  --weiss: #FFF;
  --schwarz: #13100f;
  --grau: #F4F2F3;
  --rot: #964F45;
  --con1: #D6F49D; /* 255, 172, 129*/

}

.bg-weiss { background-color: var( --weiss); }
.bg-rot { background-color: var( --rot); }
.bg-grau { background-color: var( --grau); }
.bg-con1 { background-color: var( --con1); }


/* ==========================================================================
   Flex Layout
   ========================================================================== */
.flex-row, .flex-column, .flex-row-reverse, .flex-column-reverse { display: flex; flex-wrap: wrap;}   
.flex-row { flex-direction: row; }
.flex-row-reverse  { flex-direction: row-reverse; }
.flex-column { flex-direction: column; }


/* 
 justify-content
 This defines the alignment along the main axis. -> horizontal zueinander
 justify-content: flex-start | flex-end | center | space-between | space-around | space-evenly | start | end | left | right
*/
.j-center { justify-content: center; }
.j-start { justify-content: flex-start; }
.j-end { justify-content: flex-end; }
.j-between { justify-content: space-between; }
.j-evenly { justify-content: space-evenly; }
.j-around { justify-content: space-around; }

/*
This defines the default behavior for how flex items are laid out along the cross axis on the current line. -> zueinander in der gleichen Zeile/Spalte bei unterschiedlicher ContainerhÃƒÆ’Ã‚Â¶he
  align-items: stretch | flex-start | flex-end | center | baseline | first baseline | last baseline 
*/

.ai-stretch { align-items: stretch; }
.ai-center { align-items: center; }
.ai-start { align-items: flex-start; }
.ai-end { align-items: flex-end; }
.ai-baseline { align-items: baseline; }

/* 
 align-content
This aligns a flex container's lines within when there is extra space in the cross-axis, similar to how justify-content aligns individual items within the main-axis.
  align-content: flex-start | flex-end | center | space-between | space-around | space-evenly | stretch | start | end | baseline | first baseline | last baseline 
*/
.ac-stretch { align-content: stretch; }
.ac-center { align-content: center; }
.ac-start { align-content: flex-start; }
.ac-end { align-content: flex-end; }
.ac-baseline { align-content: baseline; }
.ac-between { align-content: space-between; }
.ac-evenly { align-content: space-evenly; }
.ac-around { align-content: space-around; }
.wrapper { width: 100%; max-width: 1940px; padding: 0 40px;}
.textWrap { width: 100%; max-width: 980px; margin-bottom: 30px; }
.wrapper.abstand { padding: 80px 40px 0 40px;}
.w100 { width: 100%;}
.w100.grid-4columns { padding-bottom: 40px; }
.w80 { width: 80%;}
.w50 { width: calc(50% - 40px); }
.left, .right { width: 50%; padding: 5px;}
.left { padding-left: 5px;}
.w60 { width: calc(60% - 40px);   }
.w70 { width: calc(70% - 40px);   }
.w40 { width: calc(40% - 40px); }
.w30 { width: calc(30% - 40px);  }
.centerborder { width: 1px; background-color: var(--schwarz);}
.borderTop { width: 100%; border-top: 1px solid var(--schwarz); margin: 0 0 40px 0;}
figure { padding: 0; margin: 0 0 20px 0;}
figcaption { padding-top: 5px; margin: 0; }
img.aligncenter { margin: 0 auto 30px auto; }
@media screen and (max-width: 1380px) {
.wrapper { width: 100%; padding: 0 30px;}
.textWrap { width: 100%; padding: 0px;}
.wrapper.abstand { padding: 60px 30px 0 30px;}
.w50 { width: calc(50% - 20px); }
.w60, .w70 { width: calc(60% - 20px);   }
.w40 { width: calc(40% - 20px); }
.w30 { width: calc(50% - 20px);  }
}
@media screen and (max-width: 1023px) {
.wrapper { width: 100%; padding: 0 15px;}
.wrapper.abstand { padding: 40px 15px 0 15px;}
.w60, .w70 { width: calc(55% - 15px); }
.w40 { width: calc(45% - 15px);}
.textWrap { margin-bottom: 30px; }
}

@media screen and (max-width: 820px) {
.w80 { width: 100%; }
.w60, .w70 { width: 90%;   }
.w50 { width: 80%; }
.w40 { width: 70%; }
.w30 { width: 60%; }
.w50, .w60, .w40, .w30 { margin: 0 auto 25px auto; }
}
@media screen and (max-width: 580px) {
.wrapper, { width: 100%; padding: 0 12px;}
.w50, .w60, .w40, .w30, .w80, .w70 { width: 100%; }
}

/* ==========================================================================
    GRID LAYOUT
   ========================================================================== */
.grid-2columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    z-index: 2;}    
.grid-3columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    z-index: 2;} 
.grid-4columns { 
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;}
.grid-4columns-masonry { 
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: masonry; 
    grid-column-gap: 40px;
    grid-row-gap: 60px;}
.grid-6columns { 
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;} 

/*
.grid-item::before, 
.grid-item::after {
   content: '';
   position: absolute;
   background-color: #333;
   z-index: 1;
}
.grid-item::after {
  width: 100vw;
  height: 1px;
  left: 0;
  top: 0;
}
.grid-item::before {
  width: 1px;
  height: 100vh;
  left: 0;
  top: 0;
}
*/
.grid-3columns .grid-item .reflogo{ 
    max-width: 80%;
    padding-bottom: 40px;
}

@media screen and (max-width: 1180px) { 
.grid-3columns {grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 1080px) {
.grid-4columns-masonry, .grid-4columns { grid-template-columns: repeat(2, 1fr); }
.w50.grid-2columns {grid-template-columns: repeat(1, 1fr); grid-column-gap: 20px; grid-row-gap: 20px;}
}    

@media screen and (max-width: 820px) {
.w50.grid-2columns {grid-template-columns: repeat(2, 1fr); grid-column-gap: 15px; grid-row-gap: 15px;}
}

@media screen and (max-width: 750px) { 
.grid-3columns, .grid-2columns, .grid-4columns-masonry, .grid-4columns { grid-template-columns: repeat(1, 1fr); }
.grid-2columns  .grid-item, .grid-3columns  .grid-item, .grid-4columns-masonry, .grid-4columns { max-width: 580px; margin: 0 auto;} 
} 

@media screen and (max-width: 480px) {
.w50.grid-2columns {grid-template-columns: repeat(1, 1fr); grid-column-gap: 10px; grid-row-gap: 10px}
}   
/* ==========================================================================
   HTML BODY BASICS
   ========================================================================== */
html, body {
    margin: 0 !important;
    padding: 0 !important;}
/* 
@media screen and (max-width: 780px) {
html, body {
  position: relative;
  overflow-x:hidden;}
}

@supports (-webkit-overflow-scrolling: touch) {
html, body {
  position: relative;
  overflow-x:hidden;} 
}
*/  
body {
    overflow-x: hidden; 
    font-family: var(--font-family-regular);
    font-weight: normal;
    background-color: var( --weiss);
    color: var(--schwarz); } 
input, select, textarea {  font-family: var(--font-family-regular); }
h1, h3, h4, h5, h6, strong { font-family: var(--font-family-bold);}
i, em, q, blockquote, cite { font-family: var(--font-family-speak);}
/* ==========================================================================
   FONT COLORS
   ========================================================================== */
p, h1, h2, h3, h4, h5, h6 { color: var( --schwarz); }
a { color: var(--schwarz); cursor: pointer;}

/* ==========================================================================
   LINK BASICS
   ========================================================================== */    
p a, ul li a { color: var(--rot); text-decoration: none; position: relative;}
nav ul li a { color: var(--weiss);}
.infoabend a { color: var(--rot); }
.button-wrap { margin-bottom: 15px;}
a.button, input[type="submit"] {
    font-weight: 400;
    padding: 8px 25px;
    color: var(--weiss);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border: 1px solid var(--weiss);
    position: relative;
    cursor: pointer;
    background-color: var(--rot) ;
    transition: background-color .4scubic-bezier(.2,0,0,1);}
.internal a.button { background-color: var(--rot); color: var(--rot)}
a.button span.label { margin-right: 0px; }
a.button:hover, input[type="submit"]:hover { background-color: var(--con1); color: var(--rot); border-color: var(--rot) ;}
a.button:hover { background-color: var(--con1); color: var(--rot); border-color: var(--rot) ;}
a.button.col2:hover { background-color: var(--con1); color: var(--rot); border-color: var(--rot) ;}
a.button.col3:hover { background-color: var(--con1); color: var(--rot); border-color: var(--rot) ;}
a.button.col4:hover { background-color: var(--con1); color: var(--rot); border-color: var(--rot) ;}
a.button.col5:hover { background-color: var(--con1); color: var(--rot); border-color: var(--rot) ;}
a.button.col6:hover { background-color: var(--con1); color: var(--rot); border-color: var(--rot) ;}

a.button::after {
        display: inline-block;
        padding-left: 8px;
        content: "→"; // arrow right unicode
        -webkit-transition: transform 0.3s ease-out;
        -moz-transition: transform 0.3s ease-out;
        -ms-transition: transform 0.3s ease-out;
        -o-transition: transform 0.3s ease-out;
        transition: transform 0.3s ease-out;
    }





.external-link, .internal-link, .download-link { width: 100%; margin-bottom: 15px; }
.external-link a, .internal-link a, .download-link a  {font-size: 18px !important;}

.external-link a, .download-link a, .internal-link a { display: inline-block; padding: 5px 15px; border: 1px solid var(--schwarz); color: var(--rot); font-family: var(--font-family-medium); text-decoration: none; transition: all 0.2s cubic-bezier(.2,0,0,1);} 
.button .icon, .external-link .icon, .internal-link .icon {
transition: all 0.4s cubic-bezier(.2,0,0,1);
height: 22px;
}
.download-link .icon {
height: 18px;
margin: 2px 10px 2px 0;
}
a.button .icon, .internal-link .icon { margin-left: 5px;}
a.button:hover .icon, .internal-link a:hover .icon { margin-left: 10px; margin-right: -5px;}

.external-link a .icon { margin: 3px 2px 7px 3px; }
.external-link a:hover, .download-link a:hover, .internal-link a:hover { border: 1px solid var(--rot);}
.external-link a:hover .icon { margin: 0px 0px 10px 5px; }
.download-link a:hover .icon { margin: 4px 10px 0px 0; }

a.button:hover, .external-link a:hover, .download-link a:hover, .internal-link a:hover {
        background-color: var(--con1); color: var(--rot); border-color: var(--rot) ;
}
a.button:hover::after {
            -webkit-transform: translateX(4px);
            -moz-transform: translateX(4px);
            -ms-transform: translateX(4px);
            -o-transform: translateX(4px);
            transform: translateX(4px);
        }
@media (hover: hover) {

}
/* ==========================================================================
   FONT SIZES
   ========================================================================== */
h1, h3, h4, h5, h6 { font-family: var(--font-family-bold); font-feature-settings: 'dlig';}   
h1 h3, h4, h5, h6, p { margin-top: 0;}
h1 { font-size: 64px; line-height: 1.1em;  margin: 0px 0px 40px 0px;   text-align: left; /*letter-spacing: 0.1em;*/ }
h2 { font-size: 54px; line-height: 1.25em;  font-family: var(--font-family-regular); font-weight: 400; margin-bottom: 0.8em; margin-top: 60px; text-align: left; }
.rightside h2 { text-align: right;}
.faq .accordion-btn { font-size: 50px; }
.mini-faq .accordion-btn { font-size: 32px; }
.big-headline { width: 100%; padding-bottom: 20px; }
.big-headline h2, .testimonials h2 { font-size: 34px; line-height: 1.25em; font-family: var(--font-family-bold); margin: 0; }
h3  { font-size: 32px; line-height: 1.25em;  margin: 0 0 0.75em 0; width: 100%;}
h4 { font-size: 26px; line-height: 1.25em; font-family: var(--font-family-light); font-weight: 300; margin-bottom: 12px; width: 100%;}
h5 { font-size: 24px; line-height: 1.25em; font-family: var(--font-family-black); font-weight: 900; margin-bottom: 0; width: 100%; }
h6 { font-size: 20px; line-height: 1.25em; font-family: var(--font-family-light); font-weight: 300; margin-bottom: 0; width: 100%; }
.wrapper ul { padding: 0; margin: 0 0 30px 30px; }
ul li {
    list-style-type: '✓';/*circle;*/
    list-style-position: outside;
    padding-left: 5px; }
ul li::marker { color: var(--rot)}
p, label, .wrapper li, .wrapper div, .newsletter input.individole_newsletter, input, select, textarea { font-size: 19px; line-height: 1.45em; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea { width: 90%; padding: 6px; margin-bottom: 15px;}
input[type="date"] { margin-bottom: 15px;}
.right{ text-align:right; }
.module .content p { width: 100%; }
figcaption { font-size: 12px; line-height: 14px;}
@media screen and (min-width: 1280px) { 
p, label, .wrapper li, .wrapper div, .newsletter input.individole_newsletter, input, select, textarea { font-size: 20px; }
.big-headline h2, .testimonials h2 { font-size: 55px; }
}
@media screen and (min-width: 1680px) { 
p, label, .wrapper li, .wrapper div, .newsletter input.individole_newsletter, input, select, textarea { font-size: 22px; }
.big-headline h2, .testimonials h2 { font-size: 70px; }
}
@media screen and (min-width: 1940px) {
p, label, .wrapper li, .wrapper div, .newsletter input.individole_newsletter { font-size: 24px; }
.big-headline h2, .testimonials h2 { font-size: 84px; }
}

@media screen and (max-width: 1380px) { 
h1, .big-headline h2, .testimonials h2 { font-size: 50px; }
h2 { font-size: 40px; }
.faq .accordion-btn { font-size: 30px; }
.mini-faq .accordion-btn { font-size: 30px; }
h3  { font-size: 30px; }
}
@media screen and (max-width: 1024px) { 
h1, .big-headline h2, .testimonials h2 { font-size: 40px; }
h2 { font-size: 35px; font-family: var(--font-family-bold); margin-bottom: 20px; margin-top: 40px;}
.faq .accordion-btn { font-size: 33px; }
.mini-faq .accordion-btn { font-size: 25px; }
h3  { font-size: 25px; }
}
@media screen and (max-width: 580px) { 
h1, .big-headline h2, .testimonials h2 { font-size: 32px; }
h2 { font-size: 25px; }
.faq .accordion-btn { font-size: 24px; }
.mini-faq .accordion-btn { font-size: 22px; }
h3  { font-size: 22px; }
}
/* ==========================================================================
   NAVIGATION
   ========================================================================== */

nav.mainNav { 
    z-index: 55;
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    padding: 80px 0 0 0;
    /*height: calc(80vh - 100px);*/
    display: none;
    border-bottom: 1px solid var(--schwarz);
    box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px;
    opacity: 0;
    visibility: hidden;
    transition: transform .25s .1s ease-in-out;
    max-height: calc(100vh - 100px);
    overflow-y:scroll;
    overflow-x:hidden;
}
nav.expanded {
    display: flex;
    opacity: 1;
    visibility: visible;
 }
nav ul, nav ul ul { 
    width: auto; 
    padding: 0 !important; 
    margin: 0 !important;
} 
nav .wrapper > ul { width: 100% !important; padding-top: 20px !important; }
@media screen and (min-width: 1024px) {
nav .wrapper > ul { width: 100% !important; padding: 20px 0 40px 0 !important; }
}
@media screen and (max-width: 1023px) {
nav.mainNav { padding-top: 20px; height: calc(100vh - 100px); }
nav .wrapper > ul { width: 100% !important; padding: 0 !important; }
}

nav ul > li { 
    font-family: var(--font-family-bold);
    font-size: 22px !important; 
    line-height: 28px !important;
    list-style: none !important;
    margin: 0 0 20px 0;
    padding: 0 20px 0 0; } 
nav ul > li > ul { padding-top: 15px; }
nav ul > li > ul > li { 
    font-family: var(--font-family-regular);
    font-size: 18px !important; 
    line-height: 20px;
    list-style: none !important;
    padding: 0;
    margin: 10px 0 0 0; } 

@media screen and (max-width: 1280px) and (min-width: 1024px) {
nav ul > li { font-size: 20px !important; line-height: 25px !important; }
nav ul > li > ul > li { font-size: 17px !important; line-height: 20px;}
}    


@media screen and (max-width: 1023px) {
nav ul > li { min-width: 100%; margin-bottom: 10px;}
nav ul > li > ul { }
} 


/* ==========================================================================
    HEADER
   ========================================================================== */
.topbar {
    z-index: 99;
    width: 100%;
    height: 100px;
    border-bottom: 1px solid var(--schwarz);
    position: fixed;
     top:0;
     right:0;
     left:0;
     transition: transform .25s .1s ease-in-out;}
.down .topbar { transform: translate3d(0, -100px, 0); }
.topbar .logo, .foolog { width: 45px; padding-right: 0px; }
.company-name { font-size: 17px !important; line-height: 21px !important; padding: 0 40px 0 20px;}
.company-name a { color: var(--rot); text-decoration: none;}
.company-name a:hover { color: var(--schwarz); text-decoration: none;}
.company-name strong { text-transform: uppercase;}
.infoabend { padding: 0 60px; font-size: 15px !important; line-height: 19px !important; font-family: var(--font-family-bold); text-transform: uppercase;}
.infoabend.desktop .inficon { width: 25px; }
.infoabend.desktop {text-align: center;}
.infoabend a { text-transform: none; text-decoration: none;}
.contact { height: 100px; padding: 0 28px; }
.contact.desktop { border-left: 1px solid var(--schwarz);}
.contact .icon { width: 28px; margin: 0 7px;}
@media screen and (max-width: 1280px) { 
.company-name { padding: 0 30px 0 20px;} 
.infoabend { padding: 0 40px;}
.contact { padding: 0 20px;}
} 
@media screen and (max-width: 1023px) { 
.infoabend.desktop, .contact.desktop { display: none; }
.infoabend.mobile { display: block; padding: 0 20px 0 0;}
.contact.mobile, .mobileCon { display: flex; padding: 0 5px 0 20px;}
.mobileCon { height: 100px; width: 100%; border-bottom: 1px solid var(--schwarz); border-top: 1px solid var(--schwarz);}
}
@media screen and (min-width: 1024px) { 
.infoabend.desktop { display: block; }
.contact.desktop { display: flex; }
.infoabend.mobile, .contact.mobile, .mobileCon { display: none; }
}
@media screen and (max-width: 500px) { 
.company-name { font-size: 16px !important; line-height: 20px !important; padding: 0 10px 0 10px;}
.mobileCon { height: auto; padding: 15px; width: 100%; border-bottom: 1px solid var(--schwarz); border-top: 1px solid var(--schwarz);}
.contact.mobile { padding: 15px 0 0 0; height: auto; }
}
@media screen and (max-width: 350px) { 
.company-name { display: none;}
}
.page { height: 200vh;}
.spacer { width: 100%; height: 100px;}
    
/* ==========================================================================
   SECTIONS
   ========================================================================== */
section  { width: 100%; padding: 80px 0;}
section.bigger-margins { margin: 10vh 0;}
section.farbig  { width: 100%; padding: 0;}
.blurred { filter: blur(150px);}
.skewed { transform: skew(0deg, -3deg); height: 100%; width: 100vw; position:absolute; bottom: 0%; left: 0; z-index: -1;}
.skewed2 { transform: skew(0deg, 3deg); height: 100%; width: 100vw; position:absolute; bottom: 0%; left: 0; z-index: -1;}
.kreis { z-index: -1; width: 35vw; height: 35vw; border-radius:50; position: absolute; top: 10%; left: 5%;}
figure.circle, div.circle {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    margin: 0 auto -30% 0;
}
figure.circle img, div.circle video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

.startscreen .video-bg-wrapper {
    height: calc(100vh - 100px);
    min-height: 800px;
    width: 100vw;
    position: absolute;
    top:0; left: 0;
    z-index: -1;}
.startscreen .video-bg-wrapper video { 
  width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center center;}
.video-wrapper { width: 100%; padding: 40px 0;}
.video-wrapper video { width: 100%; height: auto; max-height: 100%;}
section.farbig .wrapper { padding-top: 80px; padding-bottom: 80px; }
.about .placebottomab {
    position: absolute;
    bottom: 0;
    left: 0;
 }
 
.about .placebottomab h2, .about .placebottomab h1 {
    width: auto;
     padding: 10px 40px;
    background-color: var(--weiss);}
.about .versatz { margin-left: 450px;}

.module {
    padding: 60px 40px;
    border-radius: 8px;}
    
.module .number{ /*width: 50px; height: 50px; border-radius: 50%; */ font-size: 54px; line-height: 54px; font-family: var(--font-family-black); color: var(--con2); margin-bottom: 55px; }
@media screen and (max-width: 1280px) { .module .number { font-size: 40px; } .module { padding: 40px 20px;}}


@media screen and (max-width: 1023px) { 
section  { padding: 30px 0 30px 0;}
.module { padding: 30px 15px;}
}
@media screen and (max-width: 580px) { 
.module .number { font-size: 25px; margin-bottom: 30px; }
.module { padding: 25px 10px;} 
}
.startscreen, .startscreen2 {    
    height: calc(100vh - 100px);
    min-height: 800px;
    overflow: hidden;} 
    
.startscreen2  .hero {   
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: calc(100% + 100px);
    min-height: 800px;}        
.startscreen2  .slidebg {
    width: 100%;
    height: 100%; 
    overflow:hidden;}
.startscreen2  .slidebg .item span{ 
    width: 100%; 
    height: calc(100% + 150px);
    position: absolute;
      top: -150px;
      left: 0px;
      color: transparent;
      background-size: cover;
      background-position: 50% 50%;
      background-repeat: none;
      opacity: 0;
      z-index: 0;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      animation: imageAnimation 24s linear infinite 0s;   } 
.startscreen2 .slidebg div:nth-child(1) span { }
.startscreen2  .slidebg div:nth-child(2) span { 
  animation-delay: 8s;
}
.startscreen2 .slidebg div:nth-child(3) span { 
  animation-delay: 16s;
}
@keyframes imageAnimation { 
  0% {
    opacity: 1;
    visibility: hidden; 
    @include animation-timing-function(ease-in);
  }
  12.5% {
    opacity: 1;
    visibility: visible; 
    @include animation-timing-function(ease-out);
  }
  25% {opacity: 1; visibility: visible;}
  37.5% {opacity: 1; visibility: hidden; }
  100% {opacity: 1; visibility: hidden; }    
}  
.termin-box {  border: 1px solid var(--rot);}
.termin-box .content { padding: 25px; }
.termin-box .grafik {
    aspect-ratio: 3 / 2;
    overflow:hidden}
.termin-box .grafik img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top left;
    transition: all 0.3s ease-in-out;}
.termin-box:hover .grafik img { transform: scale(1.025);}
.termin-box .termin-icon { margin: 0 0 10px 0; padding: 0; }
.termin-box .termin-icon img { width: 40px;}
.termin-box .termin-text { width: 100%;  padding: 0; margin: 0; text-align: center;}
@media screen and (max-width: 1080px) { 
.termin-box { padding: 20px; }
} 
@media screen and (max-width: 780px) { 
.termin-box { padding: 10px; }
}
/* ==========================================================================
   TABS
   ========================================================================== */
.tablinks, .tablinks2 {
    cursor: pointer;
    border: 1px solid var(--rot);
    color: var(--rot);
    padding: 20px;
    font-family: var(--font-family-bold);
}
.tablinks:hover, .tablinks2:hover { background-color: var(--con7); color: var(--rot);}
.tablinks.col1:hover, .tablinks2.col1:hover { background-color: var(--con1); color: var(--rot);}
.tablinks.col2:hover, .tablinks2.col2:hover { background-color: var(--con2); color: var(--rot);}
.tablinks.col3:hover, .tablinks2.col3:hover { background-color: var(--con3); color: var(--rot);}
.tablinks.col4:hover, .tablinks2.col4:hover { background-color: var(--con4); color: var(--rot);}
.tablinks.col5:hover, .tablinks2.col5:hover { background-color: var(--con5); color: var(--rot);}
.tablinks.col6:hover, .tablinks2.col6:hover { background-color: var(--con6); color: var(--rot);}
.tablinks.active, .tablinks2.active { background-color: var(--rot); color: var(--weiss);}
.tabcontent, .tabcontent2 {
    width: 100%; 
    margin-top: 40px;}
.tabcontent .termin {
    border: 1px solid var(--schwarz);}
.tabcontent .termin .termin-body {
    padding: 40px 40px 20px 40px; }
.tabcontent .ort { border: 1px solid var(--schwarz);}
.presse article { border-bottom: 1px solid var(--schwarz); padding-bottom: 40px; }
.tabcontent .ort .ort-body { padding: 20px 40px; }
.tabcontent2 h3 { margin-top: 40px;}
.tabcontent .termin h3, .tabcontent .ort .ort-body h3 { margin-bottom: 0;}   
.tabcontent .termin p, .tabcontent .ort .ort-body p, .presse article p { font-size: 18px !important; }
@media screen and (max-width: 580px) { 
.tabcontent .termin .termin-body, .tabcontent .ort .ort-body { padding: 30px 10px; }
}
/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */    
.testimonials, .slideWrap, .testimonial-slider { width: 100%;}
.testimonial-slider { padding-bottom: 50px; }
.slideWrap .testimonial { 
    width: 100%;
    text-align: center;
    max-width: 850px;
    margin-bottom: 20px;}
.slideWrap .testimonial-body { 
    text-align: center;
    margin: 0px auto;
    background-color: var(--grau);
    /*border: 1px solid var(--schwarz);*/
    border-radius: 8px;
    margin-bottom: 1.25em;
    padding: 40px 20px;
    
    position: relative;
    text-align: center;}
.slideWrap .testimonial-body::after {
    background-color: var(--grau);
    bottom: -11px;
    content: "";
    display: block;
    height: 20px;
    left: 50%;
    position: absolute;
    transform: skewY(-45deg);
    width: 20px;
    /*border-bottom: 1px solid var(--schwarz);
    border-left: 1px solid var(--schwarz);*/
}
.slideWrap .testimonial-meta {
 padding-top: 10px; }

.flickity-page-dots {
  bottom: 25px;
}
.flickity-page-dots .dot { background: var(--schwarz);}
.flickity-page-dots .dot.is-selected {
  background: var(--con1);
}
/* ==========================================================================
   LOGO TICKER
   ========================================================================== */
.tickerwrap { width: 100vw; overflow-x: hidden; padding: 65px 0 20px 0; }

.ticker {
  width: 100vw;
  display: inline-block; 
  white-space: nowrap;
  padding-right: 0;
  box-sizing: content-box;
  -webkit-animation-iteration-count: infinite; 
          animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  -webkit-animation-name: ticker;
          animation-name: ticker;
  -webkit-animation-duration: 50s;
          animation-duration: 50s;}
.ticker:hover {
    animation-play-state: paused;
  }         
.ticker-item {
width: auto;
	/*min-width: 1100px; */
display: inline-block;
	height:225px;
  padding: 0px 60px;
  margin: 0;}
  
.ticker-item img { width:225px; /*margin: 0 15px; */}
.ticker-item a { }
@media screen and (max-width: 1023px) { 
.ticker { 
	 -webkit-animation-duration: 40s;
          animation-duration: 40s;
	}
}
/* Rechnung: (Breite 225px + Abstand durch padding 120px) x Anzahl der Logos = ca. 6200px */
@-webkit-keyframes ticker {
  0% {
    -webkit-transform: translate3d(-6900px, 0, 0);
    transform: translate3d(-6900px, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(225px, 0, 0);
    transform: translate3d(225px, 0, 0);
  }
}

@keyframes ticker {
  0% {
    -webkit-transform: translate3d(-6900px, 0, 0);
    transform: translate3d(-6900px, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(225px, 0, 0);
    transform: translate3d(225px, 0, 0);
  }
} 
/* ==========================================================================
    Footer
   ========================================================================== */
footer { 
    position: relative; 
    width: 100%; 
    padding: 40px 0 20px 0; }
footer ul { padding: 0 !important; margin: 0 !important;}
footer ul li { 
    list-style-type: none;
    font-family: var(--font-family-regular);
    font-size: 18px !important; 
    line-height: 20px;
    padding-left: 0;
    margin: 0 20px 0 0;}
footer a, footer ul li a, footer p { 
font-size: 18px !important; 
    line-height: 23px;
color: var(--schwarz);}
footer ul li .icon { height: 20px;}
footer .abstand-oben { padding-top: 40px;}
@media screen and (max-width: 680px) { 
footer ul { margin-bottom: 20px !important;}
}
/* ==========================================================================
   Image Ticker
   ========================================================================== */


/* ==========================================================================
    AKKORDEON 
   ========================================================================== */
button { 
    background-color: transparent;
    padding-block: 0;
    padding-inline: 0;
    border-width: 0;
    border-image: none;
    color: var(--schwarz);}  
.accordion-btn { width: 100%; cursor:pointer; padding: 15px 0; border-bottom: 1px solid var(--schwarz); }
.accordion-btn { line-height: 1.25em;  font-family: var(--font-family-regular); font-weight: 400; text-align: left; }
.accordion-btn:after {
    content: "+";
    font-size: 1em;
    float: right;
    margin-left: 5px;
}
.accordion-btn.active:after {
transform: rotate(45deg);
}
.panel {
  width: 100%;
  padding: 15px 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
    visibility: hidden;
    transition: transform .25s .1s ease-in-out;}
.panel.show {  
  opacity: 1;
  visibility: visible;
  max-height: none;}
  

  
/* ==========================================================================
   Animated Hamburger Icon Version 1
   ========================================================================== */
.menu-control { height: 100px;  border-left: 1px solid var(--schwarz); padding: 0 0 0 20px; }
@media screen and (max-width: 400px) { 
.menu-control {  border-left: none; padding: 0 0 0 10px;}
}

.beschriftung { padding: 0 15px ; font-size: 15px !important; line-height: 19px !important; font-family: var(--font-family-bold); text-transform: uppercase; cursor: pointer; }
#hamburger-icon {

  position: relative;
  width: 25px;
  height: 20px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;}
 
#hamburger-icon span {  
  display: block;
  height: 2px;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;}

#hamburger-icon span { 
  background-color: var(--schwarz);  
  -webkit-box-shadow: 0 0 0 0;
  -moz-box-shadow: 0 0 0 0;
  box-shadow: 0 0 0 0;}

#hamburger-icon span:nth-child(1) { top: 2px; width: 25px;}
#hamburger-icon span:nth-child(2),#hamburger-icon span:nth-child(3) { top:10px; width: 15px;}
#hamburger-icon span:nth-child(4) { top: 18px; width: 20px;}
#hamburger-icon:hover span { width: 25px;}
#hamburger-icon.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%; }
  
#hamburger-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#hamburger-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#hamburger-icon.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;  }  
      
@media screen and (max-width: 680px) { 
.beschriftung { display: none; }
}

/* ==========================================================================
   Position
   ========================================================================== */

.relative, .wrapper.relative { position: relative; }
.sticky { position: -webkit-sticky; position: sticky; top: 180px; }
.fixed { position: fixed; }
.absolute { position: absolute;}
img.alignleft { margin: 10px 30px 10px 0; }
img.alignright { margin: 10px 0 10px 30px; }


/* START TOOLTIP STYLES */
[tooltip] {
  position: relative; /* opinion 1 */
}

/* Applies to all tooltips */
[tooltip]::before,
[tooltip]::after {
  text-transform: none; /* opinion 2 */
  font-size: 14px !important; /* opinion 3 */
  line-height: 1;
  user-select: none;
  pointer-events: none;
  position: absolute;
  display: none;
  opacity: 0;
}
[tooltip]::before {
  content: '';
  border: 5px solid transparent; /* opinion 4 */
  z-index: 1001; /* absurdity 1 */
}
[tooltip]::after {
  content: attr(tooltip); /* magic! */
  
  /* most of the rest of this is opinion */
  font-family: var(--font-family-regular);
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 1ch 1.5ch;
  border-radius: .3ch;
  box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
  background: var(--rot);
  color: #fff;
  z-index: 1000; /* absurdity 2 */
}

/* Make the tooltips respond to hover */
[tooltip]:hover::before,
[tooltip]:hover::after {
  display: block;
}

/* don't show empty tooltips */
[tooltip='']::before,
[tooltip='']::after {
  display: none !important;
}

/* FLOW: UP */
[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
  bottom: 100%;
  border-bottom-width: 0;
  border-top-color: #333;
}
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
  bottom: calc(100% + 5px);
}
[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
  left: 50%;
  transform: translate(-50%, -.5em);
}

/* FLOW: DOWN */
[tooltip][flow^="down"]::before {
  top: 100%;
  border-top-width: 0;
  border-bottom-color: #333;
}
[tooltip][flow^="down"]::after {
  top: calc(100% + 5px);
}
[tooltip][flow^="down"]::before,
[tooltip][flow^="down"]::after {
  left: 50%;
  transform: translate(-50%, .5em);
}

/* FLOW: LEFT */
[tooltip][flow^="left"]::before {
  top: 50%;
  border-right-width: 0;
  border-left-color: #333;
  left: calc(0em - 5px);
  transform: translate(-.5em, -50%);
}
[tooltip][flow^="left"]::after {
  top: 50%;
  right: calc(100% + 5px);
  transform: translate(-.5em, -50%);
}

/* FLOW: RIGHT */
[tooltip][flow^="right"]::before {
  top: 50%;
  border-left-width: 0;
  border-right-color: #333;
  right: calc(0em - 5px);
  transform: translate(.5em, -50%);
}
[tooltip][flow^="right"]::after {
  top: 50%;
  left: calc(100% + 5px);
  transform: translate(.5em, -50%);
}

/* KEYFRAMES */
@keyframes tooltips-vert {
  to {
    opacity: .9;
    transform: translate(-50%, 0);
  }
}

@keyframes tooltips-horz {
  to {
    opacity: .9;
    transform: translate(0, -50%);
  }
}

/* FX All The Things */ 
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after,
[tooltip][flow^="down"]:hover::before,
[tooltip][flow^="down"]:hover::after {
  animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^="left"]:hover::before,
[tooltip][flow^="left"]:hover::after,
[tooltip][flow^="right"]:hover::before,
[tooltip][flow^="right"]:hover::after {
  animation: tooltips-horz 300ms ease-out forwards;
}

