@import url("reset.css");
@import url("font.css");
@import url("accordion.css");
@import url("simple-slider.css");
@import url("dropdown-nav.css");

:root {
    --text: #000;
    --primary: #e22963;
    --primary-transparent: rgba(0, 0, 0, 0.9);
    --secondary: #d4285e;
    --button: #e22963;
    --contrast: #d4285e;
    --grey: #f1f8f9;
    /*=============================*/
    --border-radius: 0;
    --heading-weight: 400;
    --heading-font-family: 'Josefin Sans', serif;
    --regular-font-family: 'Josefin Sans', sans-serif;
    --regular-font-weight: 300;
}

* {
    box-sizing: border-box;
}

body {
    width: 100%;
    overflow-x: hidden;
    font: var(--regular-font-weight) 18px/160% var(--regular-font-family), sans-serif;
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font: var(--heading-weight) 400%/110% var(--heading-font-family);
    margin-bottom: 20px;
}

h2 {
    font: var(--heading-weight) 250%/110% var(--heading-font-family);
    margin-bottom: 20px;
}

h3 {
    font: var(--heading-weight) 130%/110% var(--heading-font-family);
    margin-bottom: 10px;
}

h4 {
    font: var(--heading-weight) 120%/100% var(--heading-font-family);
    margin-bottom: 10px;
}

h5 {
    font: var(--heading-weight) 115%/100% var(--heading-font-family);
    margin-bottom: 10px;
}

h6 {
    font: var(--heading-weight) 110%/100% var(--heading-font-family);
    margin-bottom: 10px;
}

small {
    font-size: 50%;
    font-family: var(--regular-font-family);
    font-weight: var(--regular-font-weight);
    display: inline-block;
    line-height: 120%;
}

p {
    margin-bottom: 5px;
}

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

a:hover {
    opacity: 0.5;
}

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

nav {
    z-index: 99999;
    position: fixed;
    top: 0;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logoline {
    background-color: #fff;
    padding: 10px 60px 10px 20px;
    transition: 0.8s;
}

.logoline img {
    height: 100%;
}

nav .span {
    background-color: var(--primary);
    position: fixed;
    flex-direction: column;
    justify-content: space-between;
    display: none;
    height: 45px;
    width: 45px;
    padding: 10px;
    margin: auto;
}

nav .span div {
    width: 100%;
    border-bottom: 3px solid #fff;
}

nav .span {
    top: 20px;
    left: 5%;
}

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

button,
.btn,
.simple-popup .popup .btn {
    border: none;
    background-color: var(--primary);
    color: #fff;
    padding: 14px 20px;
    margin-top: 15px;
    text-decoration: none;
    display: inline-block;
    border-radius: var(--border-radius);
    font-size: 100%;
    font-weight: var(--heading-weight);
    line-height: 100%;
}

button:hover,
.btn:hover,
.simple-popup .popup .btn:hover,
button.primary:hover,
.btn.primary:hover,
.simple-popup .popup .btn.primary:hover,
button.secondary:hover,
.btn.secondary:hover,
.simple-popup .popup .btn.secondary:hover,
.sidenav a:hover {
    background-color: #000;
    opacity: 1;
}

button.primary,
.btn.primary,
.simple-popup .popup .btn.primary {
    background-color: var(--primary);
}

button.secondary,
.btn.secondary,
.simple-popup .popup .btn.secondary {
    background-color: var(--secondary);
}

button:hover {
    cursor: pointer;
}

.desktop-nav {
    width: 100%;
    padding: 10px 20px 10px 60px;
    text-align: left;
}

.desktop-nav a {
    padding: 0 20px 0 0;
    color: #000;
    font-size: 100%;
    font-weight: var(--heading-weight);
}

.overlay {
    text-align: left;
    height: 100%;
    width: 0;
    max-width: 500px;
    position: fixed;
    z-index: 9999;
    left: -3px;
    top: 0;
    background-color: var(--grey);
    overflow-x: hidden;
    transition: 0.5s;
    border-right: 3px solid var(--primary)
}

.overlay u {
    text-decoration: none;
    font-weight: 400;
    display: inline-block;
}

.overlay .subpages{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 25px;
}

.overlay .subpages li {
    list-style: square;
}

.overlay .subpages li a{
    padding: 5px 0;
}

.overlay .subpages li::marker {
    color: var(--primary)
}

.overlay .subpages a{
    font-size: 85%;
    font-weight: 300;
}

.overlay-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    top: 80px;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    padding: 0 30px;
}

.overlay a {
    padding: 7px;
    font-weight: 400;
    text-decoration: none;
    font-size: 110%;
    color: #000;
    display: inline-block;
    padding: 10px 0;
}

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

.overlay a.closebtn {
    font-weight: 300;
    line-height: 0;
    height: 45px;
    width: 45px;
    background-color: var(--primary);
    color: #fff;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 5px;
}

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

.dsa-cookie-notice {
    border-radius: var(--border-radius);
}

.dse a {
    color: #fff;
    font-weight: 400;
}

.dsa-cookie-notice-close {
    text-transform: none;
    color: #fff !important;
    background-color: var(--button);
    padding: 7px 20px;
    font-weight: 400 !important;
    border-radius: var(--border-radius);
}

.small-dialog {
    background: white;
    padding: 20px 30px;
    text-align: left;
    max-width: 400px;
    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%;
    display: flex;
    justify-content: center;
}

.container {
    margin: 100px 5%;
    max-width: 1200px;
    width: 100%;
}

.section-1 .text-col {
    border-left: 3px solid var(--primary);
    padding-left: 3%;
}

.section-1-reverse .text-col {
    border-left: none;
    padding-left: unset;
    border-right: 3px solid var(--primary);
    padding-right: 3%;
}

.section-1-mod .container {
    margin-top: 50px;
}

.section-3 .container {
    max-width: none;
    padding: 100px 5%;
    margin: 0;
}

.section-3 .col-2 {
    width: 50%
}

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

.section-3 .text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-3 ul {
    margin-top: 20px;
    margin-left: 0;
}

.section-3 ul li {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 15px;
    border-left: 3px solid var(--primary);
}

.section-3 h3 {
    font-size: 110%;
    margin-bottom: 0;
}

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

.flexbox.whiteboxes {
    flex-direction: row;
    hyphens: auto;
    align-items: stretch; 
}

.flexbox.whiteboxes h2 {
    font-size: 150%;
}

.text-col.whitebox {
    padding: clamp(20px, 5%, 80px);
    background-color: #fff;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.with-icons {
    text-align: center;
}

.with-icons .col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.with-icons .frame {
    width: 150px;
    height: 150px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1000px;
    background-color: #fff;
    margin: 20px 0 0 0;
}

.with-icons img.icon {
    width: 100%;
}

.col-2 {
    width: 48%;
}

.col-3 {
    width: 33%;
}

.col-4 {
    width: 24%;
}

.col-5 {
    width: 19%;
}

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

.img-col img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

header {
    width: 100%;
    aspect-ratio: 1920/700;    
    background: url('../images/header.jpg')no-repeat center/cover;
    margin-top: 108px;
    display: flex;
    justify-content: flex-end;
}

header.individuelle-beratung{
    background-image: url('../images/individuelle-beratung.jpg');
}

header.dolmetschen{
    background-image: url('../images/dolmetschen.jpg');
}

header.vier-schritte{
    background-image: url('../images/vier-schritte.jpg');
}

header.mehrsprachige-events{
    background-image: url('../images/mehrsprachige-events.jpg');
}

header.community-interpreting{
    background-image: url('../images/community-interpreting.jpg');
}

header.kontakt-subpage{
    background-image: url('../images/kontakt.jpg');
    background-position: top center;
}

header.technik{
    background-image: url('../images/technik.jpg');
    background-position: top center;
}

header.wirtschaft{
    background-image: url('../images/wirtschaft.jpg');
}

header.wissenschaft-und-medizin{
    background-image: url('../images/wissenschaft-und-medizin.jpg');
    background-position: top right;
}

header.recht-und-politik{
    background-image: url('../images/recht-und-politik.jpg');
}

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

.contact-infos{
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.sidenav {
    z-index: 9999;
    height: 100%;
    background-color: #fff;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.btn-align {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 3px solid var(--primary);
    width: 80px;
    height: 300px;
}

.sidenav a,
.sidenav button {
    display: block;
    height: 60px;
    width: 60px;
    background-color: var(--button);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    padding: 15px;
    margin-top: 0;
}

.sidenav a.language {
    color: #fff;
    font-weight: 700;
}

.sidenav img {
    height: 100%;
}

.hello {
    padding: 0 5%;
}

.intro {
    background-color: var(--grey);
    display: flex;
    justify-content: left;
    max-width: 1200px;
    width: 100%;
    margin: auto;
}

.intro .container {
    background-color: var(--primary);
    color: #fff;
    text-align: center;
    max-width: 800px;
    padding: 50px 5%;
    margin: 0;
    position: relative;
    top: -5vw;
}

.intro p {
    max-width: 1024px;
    margin: auto;
}

article:nth-of-type(odd) {
    background-color: var(--grey);
}

article:nth-of-type(even) {
    background-color: #fff;
}

.section-intro {
    text-align: center;
    max-width: 1024px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pic-boxes .col {
    background-color: var(--primary);
    color: #fff;
    border-radius: var(--border-radius);
}

.pic-boxes {
    text-align: center;
    margin-top: clamp(20px, 5%, 40px);
}

.pic-boxes h3 {
    flex-basis: 100%;
    margin-bottom: 30px;
    padding: 40px 20px;
    background-color: var(--secondary);
}

.section-2-mod .pic-boxes h3 {
    font-size: 180%;
}

.section-2-mod .pic-boxes h4 {
    font-size: 130%;
    padding: 0 20px;
}

/* .kundenstimmen .slider-item{
    width: 100%!important;
    max-width: 100%!important;
} */

.kundenstimmen .pic-boxes {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.kundenstimmen .slider-container,
.kundenstimmen .slider-track {
    max-width: 800px;
    width: 100%;
}

.kundenstimmen .slider-item .text-box {
    background-color: var(--grey);
    padding: 20px 50px;
}

.kundenstimmen .slider-item .text-box p {
    padding: 0px;
}

.text-flex {
    display: flex;
    align-items: center;
}

.picture-box {
    aspect-ratio: 4/3;
}

.section-2-mod-iconbox .picture-box {
    aspect-ratio: 3/1;
    padding: 20px;
    background-color: var(--primary)
}

.section-2-mod-iconbox .pic-boxes h3 {
    flex-basis: 100%;
    margin-bottom: 0;
    padding: 25px 20px 0 20px;
    background-color: var(--secondary);
}

.section-2-mod-iconbox .text-box p {
    padding: 0 20px 10px 20px;
}

.section-2-mod-iconbox .pic-boxes .col {
    background-color: var(--secondary);
}

.section-2-mod-iconbox .text-box {
    background-color: var(--secondary)
}

.section-2-mod-iconbox .picture-box img {
    object-fit: contain;
}

.text-box p {
    padding: 0 20px 30px 20px;
}

.picture-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.parallax {
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.parallax-1 {
    background: url('../images/parallax-1.jpg')no-repeat center/cover;
    background-attachment: fixed;
}

.parallax-2 {
    background: url('../images/parallax-2.jpg')no-repeat center/cover;
    background-attachment: fixed;
}

.parallax .container {
    margin: clamp(20px, 5%, 75px);
    padding: clamp(20px, 5%, 75px);
    max-width: 800px;
    background-color: var(--primary);
}

.parallax h2 {
    color: #fff;
    font-size: 300%;
}

p~h3 {
    margin-top: 10px;
}

article ul {
    margin-left: 15px;
    margin-bottom: 16px;
}

article ul li {
    list-style: square;
    margin-bottom: 5px;
}

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

b {
    font-weight: 700;
}

.kontaktformular h4 {
    flex-basis: 100%;
}

.highlight {
    font-style: italic;
    color: #fff;
    font-size: 115%;
    line-height: 150%;
    margin-bottom: 20px;
}

i.highlight {
    color: var(--primary)
}

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

footer p a {
    color: #fff;
    text-decoration: underline;
}

footer .container {
    max-width: none;
    margin: 0;
}

footer ul li a {
    color: #fff;
    text-decoration: underline;
}

footer .col-2 {
    width: 50%;
    margin-bottom: 0;
}

footer .text-col {
    padding: 70px 5%;
}

footer h3 {
    color: #fff;
}

footer b {
    color: #fff;
}

footer .dsa-secure-plugin {
    min-height: 100% !important;
}

.infosite h1 {
    flex-basis: 100%;
}

.infosite .container {
    align-items: flex-start;
}

main.no-header {
    margin-top: 30px;
}

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

.kontaktformular h4 {
    text-align: center;
    margin-top: 20px;
}

.kontaktformular h5 {
    text-align: center;
    margin-top: 20px;
}

.fehlerseite ul li {
    list-style: none;
}


.services-slider,
.popup-gallery {
    padding: 0 20px;
    margin-top: 20px;
}

.services-slider img,
.popup-gallery img {
    width: 100%;
    border-radius: var(--border-radius);
}

.popup-gallery .gallery-item {
    padding: 0 5px;
}

.services-slider .col-4 {
    margin: 0 5px;
    height: 100%;
}

.popup-gallery .gallery-item:hover {
    cursor: pointer;
}

.services-slider .slick-prev,
.popup-gallery .slick-prev {
    left: 0;
    z-index: 999;
}

.services-slider .slick-prev::before,
.popup-gallery .slick-prev::before,
.services-slider .slick-next::before,
.popup-gallery .slick-next::before {
    opacity: 1;
    color: var(--text);
}

.services-slider .slick-next,
.popup-gallery .slick-next {
    right: 0;
}

/*GALLERY SLIDER*/

.gallery-slider img {
    width: 100%;
}

.gallery-slider img:hover {
    cursor: pointer;
}

.slider-item {
    padding: 5px;
}

/*----------------*/

.icon-slides {
    padding: 0 20px;
    margin-top: 20px;
}

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

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

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

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

.section-2 .col {
    margin-bottom: clamp(10px, 1%, 10px)
}

.slider-container {
    margin-top: clamp(20px, 5%, 50px);
}

.slider-container .pic-boxes {
    margin-top: 0;
}

.with-frame {
    border: 10px solid #fff;
}

/* .section-2 h2{
    display: flex;
    flex-direction: column;
} */

.headline-strokes {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.headline-strokes h2 {
    margin: 0 20px 20px 20px;
}

.stroke {
    width: 10%;
    height: 3px;
    background-color: var(--primary);
}

.kontakt .col-2{
    margin-bottom: 0;
}

.zeitstrahl {
    margin: auto;
    width: 100%;
    max-width: 800px;
}

/*----------------*/

.landingpage-list a {
    color: #fff;
    text-decoration: underline;
}

.imprint article h2 {
    font-size: 150%;
}

@media screen and (orientation: portrait) {
    header {
        aspect-ratio: 1/1;
        max-height: 75vh;
    }
}

@media screen and (orientation: landscape) {
    header {
        min-height: 60vh;
    }
}

@media screen and (max-width: 1800px) {
    .col-4 {
        width: 49%;
        margin-bottom: 2%;
    }

    .col-5 {
        width: 32%;
        margin-bottom: 2%;
    }
}

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

    nav .span {
        display: flex;
    }
    
    .logoline {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        height: auto;
    }

    .logoline img {
        width: 100%;
        max-width: 320px;
        height: auto;
    }
}

@media screen and (max-width: 1200px) {
    .intro .container {
        max-width: none;
        top: 0;
    }

    .hello {
        padding: 0;
    }
}

@media screen and (max-width: 1024px) {

    .logoline {
        padding: 10px 10px 10px 20px;
    }

    .logoline img {
        width: 100%;
        max-width: 230px;
        height: auto;
    }

    .kontakt {
        flex-direction: column;
    }

    .section-1 .container,
    .container {
        margin: 70px 5%;
    }

    .section-3 .container {
        padding: 70px 5%;
    }

    .intro .container {
        position: static;
    }

   

    .col-2 {
        width: 100%;
        margin-bottom: 20px;
    }

    .section-3 .col-2 {
        width: 100%
    }

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

    .text-col {
        padding: 20px 0 0 0;
    }

    header {
        margin-top: 86px;
    }

    .sidenav {
        top: auto;
        bottom: 50px;
    }

    .sidenav a,
    .sidenav button {
        height: 45px;
        width: 45px;
        padding: 11px;
    }

    .col-5 {
        width: 49%;
    }

    .sidenav {
        width: 100px;
    }

   

    .section-1-reverse .flexbox{
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 800px) {
    .col-3 {
        width: 100%;
        margin-bottom: 20px;
    }

    footer .col-2 {
        width: 100%;
    }

    .parallax h2 {
        font-size: 200%;
        line-height: 110%;
    }

    small {
        margin-top: 20px;
    }
}

@media screen and (max-width: 700px) {
    .col-4 {
        width: 100%;
        margin-bottom: 20px;
    }

    h1 {
        font: var(--heading-weight) 250%/100% var(--heading-font-family);
        margin-bottom: 10px;
    }

    h2 {
        font: var(--heading-weight) 190%/100% var(--heading-font-family);
        margin-bottom: 10px;
    }

    h3 {
        font-size: 130%;
    }

    h4 {
        font-size: 120%;
    }

    .section-2-mod-iconbox .pic-boxes h3 {       
        padding: 20px 20px 0 20px;
    }

    .pic-boxes button, .pic-boxes .btn, .pic-boxes .simple-popup .popup .btn {       
        margin-top: 0;
    }

    .pic-boxes h3 {       
        padding: 30px 20px;
    }
}

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

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