@import url("reset.css");
@import url("font.css");
:root {
    --text: #23272B;
    --primary: #190B43;
    --primary-transparent: rgba(25, 11, 67, 0.9);
    --secondary: #FFB600;
    --contrast: #300d99;
}

*{
    box-sizing: border-box;
}

body {
    width: 100%;
    overflow-x: hidden;
    font: 400 16px/160% 'Montserrat', sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    margin-bottom: 16px;
}

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

a:hover {
    opacity: 0.5;
}

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

.container {
    padding: 50px 10%;
}

nav {
    z-index: 999;
    position: fixed;
    top: 0;
    background-color: var(--primary);
    width: 100%;
    box-sizing: border-box;
    text-align: right;    
}
 nav .container{
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
 }

nav .logo {
    width: 225px;
}

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(--secondary);
}

.btn {
    font-weight: 700;    
    text-transform: uppercase;
    padding: 10px 20px;
    margin-top: 15px;
    display: inline-block;
    border-radius: 5px;
    text-decoration: none;
}

ul.leistungen ~ .btn {
    margin-top: 40px;
}

.btn.primary{
    background-color: var(--primary);
    color: var(--secondary);
}

.btn.secondary{
    color: var(--primary);
    background-color: var(--secondary);
}

.dse .btn {
    font-size: 10px;
}

.desktop-nav {
    width: calc(98% -225px);
}

nav a {
    padding: 0 10px;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    left: 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, 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(--contrast);
    color: var(--secondary);
    width: 290px;
    padding: 5px;
    font-weight: 600;
    border-radius: 5px 5px 0 0;
}

.dse a {
    color: var(--secondary);
}

.small-dialog {
    background: white;
    text-align: left;
    max-width: 1250px;
    margin: 40px auto;
    position: relative;
    border-radius: 5px;
}

.small-dialog img {
    max-width: 300px;
}

.small-dialog .flex{
    align-items: center;
}

.small-dialog .container {
    padding-bottom: 100px;
}

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

header {
    aspect-ratio: 1920/900;
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

header .teaser {
    background-color: var(--primary);
    position: absolute;
    border-radius: 5px 0 0 5px;
    right: 0;
    bottom: 5%;
    width: 100%;
    max-width: 1400px;
}

header .teaser .container {
    padding-top: 35px;
    padding-bottom: 35px;
}

h1 {   
    font-size: 400%;
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--primary);
}

h1 small{
    font-size: 70%;
    line-height: 70%;
    text-transform: none;
    color: var(--secondary);
}

header .teaser h1 {
    color: #fff;
}

header .teaser h1 small{
    color: var(--secondary);
}

article {
    width: 100%;
}

.sidenav{
    position: fixed;
    display: flex;
    flex-direction: column;
    left: 0;
    top: 30%;
    z-index: 9999;
}

.sidenav a {
    padding: 20px;
    width: 85px;
    height: 85px;
    border-radius: 0 5px 5px 0;
    background-color: var(--primary);
    margin-bottom: 5px;
}

.sidenav a img {
    width: 100%;
}

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

.col-33{
    width: 33.33%;
}

.col-35{
    width: 35%;
}

.col-50{
    width: 50%;
}

.col-65 {
    width: 65%;
}

.col-left{
    padding-right: 1%
}

.col-right{
    padding-left: 1%
}

.col-middle {
    padding: 0 1%;
}

b {
    font-weight: 600;
}

h2 {
    font-size: 280%;
    line-height: 100%;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary)
}

h2 small {
    font-size: 70%;
    line-height: 70%;    
    text-transform: uppercase;
    color: var(--secondary)
}

h3 {
    font-size: 200%;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

h4 {
    font-size: 150%;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 10px;
}

ul {
    margin-left: 15px;
    margin-bottom: 20px;
}

ul li {
    list-style: disc;
}

ul li a {
    color: var(--text);
}

ul.leistungen li a::after {
    content: '\27A4';
    font-size: 12px;
    position: relative;
    top: -1px;
    left: 5px;
    color: var(--primary)
}

ul li::marker{
    color: var(--primary)
}

ul.leistungen{
    margin-bottom: 0;
}

ul.leistungen li{
    list-style: none;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    left: 20px;
    padding-right: 20px;
}

ul.leistungen li:last-of-type{    
    margin-bottom: 0;
}

ul.leistungen li::before{
    content: '';
    background: url('../images/theme-images/icon-check.svg') no-repeat center / cover;
    display: inline-block;
    height: 22px;
    width: 22px;
    position: absolute;
    left: -40px;
}

/*Style 1 */

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

.style-1 h2 {
    color: #fff
}

.style-1 h2 small{
    color: var(--secondary)
}

video.imagevideo{
    width: 100%;
}

/*Style 2 */

.style-2 {
    background-color: #fff;
    color: var(--text);
}

.style-2 h2 {
    color: var(--primary)
}

.style-2 h2 small{
    color: var(--secondary);
}

/*pruefungsangst*/

.pruefungsangst .container {
    padding-top: 0;
    padding-bottom: 0;
}

.pruefungsangst .col-left{
    padding-top: 150px;
    padding-bottom: 150px;
}

.pruefungsangst .col-right {
    position: relative;
}

.pruefungsangst .col-right img {
    position: absolute;
    height: 120%;
    left: 50%;
    transform: translateX(-50%);
}

/* Huerde */

.huerde .container {
    padding-top: 150px;
    padding-bottom: 150px;
}

.huerde .col-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/*warum*/

.warum .container {
    padding-top: 150px;
    padding-bottom: 150px;
    align-items: center;
}

.warum .col-right {
    background-color: #fff;
    border-radius: 5px;
    padding: 100px 5%;
    color: var(--text)
}

/*verstehen*/

.verstehen {
    background-color: rgb(220, 222, 241);
}

.verstehen .leistungen {
    margin-top: 30px;
}

.verstehen ul.leistungen li::before{
    background-image: url('../images/theme-images/icon-check-blue.svg');
}

.verstehen ul.leistungen li{
    font-weight: 400;
}

/*kontakt*/

.kontakt .flex {
    flex-direction: row-reverse;
}

.kontaktformular {
    width: 100%;
    height: 800px;
    margin-top: 30px;
}

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

footer .footer-logo {
    width: 100%;
    max-width: 235px;
}

footer h4 {
    color: var(--secondary)
}

footer p a, footer ul li a{
    color: var(--secondary);
}

footer .adress{
    display: flex;
}

footer .adress::before{
    content: '';
    height: 17px;
    width: 17px;
    display: inline-block;
    position: relative;
    background: url('../images/theme-images/icon-maps-small.svg')no-repeat center / contain;
}

footer .phone::before{
    content: '';
    height: 17px;
    width: 17px;
    display: inline-block;
    position: relative;
    background: url('../images/theme-images/icon-phone-small.svg')no-repeat center / contain;
}

footer .mail::before{
    content: '';
    height: 17px;
    width: 17px;
    display: inline-block;
    position: relative;
    background: url('../images/theme-images/icon-mail-small.svg')no-repeat center / contain;
}

footer .adress, 
footer .phone ,
footer .mail{
    position: relative;    
    left: 8px;
}

footer .adress::before, 
footer .phone::before ,
footer .mail::before{
    top: 2px;
    left: -8px;
}

/*without-header*/
.without-header{
    margin-top: 100px;
}

.without-header h1{
    flex-basis: 100%;
    margin-bottom: 30px;
}

.without-header ul li a {
    color: var(--secondary);
    font-weight: 600;
}

@media screen and (orientation: portrait) {
    header {
        aspect-ratio: auto;
    }

    header .teaser {
        position: static;
        background-color: #0e0529;
        border-radius: 0;
    }
}

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

    .desktop-nav {
        display: none;
    }

    header {
        aspect-ratio: auto;
    }

    header .teaser {
        position: static;
        background-color: #0e0529;
    }

    h1 {
        font-size: 250%;
    }

    h2 {
        font-size: 180%;
    }

    h3 {
        font-size: 140%;
    }

    h4 {
        font-size: 120%;

    }
}

@media screen and (max-width: 1024px) {
    .col-33, .col-35, .col-50, .col-65 {
        width: 100%;
    }

    .col-left, .col-middle, .col-right{
        padding-left: 0;
        padding-right: 0;
    }

    .pruefungsangst .col-left {
        padding-top: 50px;
        padding-bottom: 20px;
    }

    .pruefungsangst .col-right img {
        position: relative;
        height: auto;
        max-width: 200px;
    }

    .pruefungsangst .col-right {
        padding-bottom: 50px;
    }

    .huerde .container {
        padding-top: 50px;
        padding-bottom: 50px;
    }

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

    .huerde .col-right{
        margin-bottom: 20px;
    }

    .huerde img {
        max-width: 300px;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .warum .container {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .warum .col-right {
        padding: 50px 5%;
    }

    .warum .col-left {
        margin-bottom: 20px;
    }

    .kontaktformular {
        height: 700px;
    }

    .small-dialog .col-right {
        display: flex;
        justify-content: center;
    }

    .sidenav{
        left: auto;
        right: 0;
        top: 10%;
    }

    .sidenav a {
        width: 45px;
        height: 45px;
        padding: 10px;
        border-radius: 5px 0 0 5px;
    }

    nav a {
        padding: 0;
    }

    .col-33 {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 650px) {
    .warum .col-right {
        padding: 30px 5%;
    }

    h1 {
        font-size: 200%;
    }

    body {
        font-size: 14px;
    }

    .btn {
        font-size: 11px;
        padding: 5px 10px;
    }

    .container{      
        padding: 30px 5%;
    }    

    .pruefungsangst .container {      
        padding: 0 5%;
    }

    .pruefungsangst .col-left,
    .huerde .container,
    .warum .container,
    .huerde .container,
    .huerde .container {
        padding-top: 30px;
        padding-bottom: 20px;
    }

    ul.leistungen li {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .kontaktformular {
        margin-top: 10px;
    }

    .cookie-inner {
        padding: 20px 5% 0px 5%;
    }
}

@media screen and (max-width: 450px) {
    nav .logo {
        width: 105px;
    }

    nav .span {
        height: 30px;
        width: 37px;
    }

    .overlay .closebtn, nav .span {
        top: 16px;
    }
}

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