:root {
    --background-color: #EDEDED;
    /*--background-color: #C4C4C4; */
}

body{
    /* background-color: white; */
    background-color: var(--background-color);
    background-image: url('../img/site-background.png'); /* Pfad zum Hintergrundbild */
    background-size: cover; /* Hintergrundbild auf den sichtbaren Bereich skalieren */
    background-repeat: no-repeat; /* Verhindert Wiederholung des Hintergrunds */
    background-attachment: fixed; /* Fixiert den Hintergrund, sodass er nicht mitscrollt */
    background-position: center; /* Hintergrundbild zentrieren */


}
/*
@media (prefers-color-scheme:dark),  (forced-colors:active) {
    :root {
        --background-color: #454545;
    }
    body{background-color:#454545}
}

@media (forced-colors:active) {
    :root {
        --background-color: #454545;
    }
    body{background-color:#454545}
}

@media (prefers-color-scheme:dark) {
    :root {
        --t-bright--light: #151617;
    }
}
@media (forced-colors:active) {
    :root {
        --t-bright--light: #151617;
    }
}
*/



.header, .header-offset {
    background-color: var(--background-color);
}

.logo{
    background-color: var(--background-color);
}

.logo img{
    width: 280px;
    height:auto;
}

.intro-bg-03__01{
    right: 6px;
}


@media only screen and (min-width: 1200px) {
    .header__navigation {
        height: 52px;
    }
}
.main-image-2 {
    background-image: url("../img/speaker2.jpg");
}
.stack-offset{
    background-color:white;
}


@media (max-width: 1199px) {
    .header {
        top: 2rem;
        right: 2rem;
        left: auto;
        height: 52px;
    }
}
b{
    font-weight: bold;
}


@media only screen and (min-width: 768px) {
    .headline__title.fullwidth {
        line-height: 130%;
    }
}

.portfolio-stack__descr{
    width:100% !important;
}
.header {
    top: 5rem;
    left: calc(25% + 3rem);
}

.menu__link{
    font-size: 1.8rem;
}

.stack-offset.solid-block{
    background-color: var(--background-color);
}

h3{
    font-size: 4.7rem
}
h2{
   font-size: 8rem
}

.intro-bg-03__01 img{
transform: rotate(355deg);
}

.portfolio-item-5 {
    background-image:  url(../img/backgrounds/warum1.jpg) ;
}

.portfolio-item-6 {
    background-image:  url(../img/backgrounds/warum2.jpg) ;
}

.portfolio-item-7 {
    background-image:  url(../img/backgrounds/warum3.jpg) ;
}

.portfolio-item-8 {
    background-image:  url(../img/backgrounds/warum4.jpg) ;
}


.portfolio-stack__descr h5, .portfolio-stack__descr p {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 18px;
    border-radius: 5px;
    color: white;
    display: inline-block;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.portfolio-stack__descr p{
    margin-bottom: 0px;
    line-height: 126%;
}

.portfolio-stack__title, .portfolio-stack__title.dark {
    color:white;
    font-size: 3rem;;
}

.portfolio-stack__descr{
    display: flex;
    top: 12px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.portfolio-stack__descr {
    max-height: 98px;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.portfolio-stack__inner:hover .portfolio-stack__descr{
    max-height: 100%; /* Platz für den Text */

}

.socials-lines__link:hover p{
    color: white;
    z-index: 2;
}
#portfolio .inner__name{
    margin-top: 9.6rem;
}
.inner.inner-grid-bottom{
    padding-top: 10rem;
}
.section-name-caption{
    font-weight: bold;
}
.stack-offset.solid-block {
        height: 13rem;
}

.cards__image-v2{
    padding-left: 0;
}


.close-btn {
    position: absolute;
    top: 34px;
    right: 25px;
    display: none; /* Initially hidden */
    background-color: transparent;
    border: none;
    cursor: pointer;
}
.close-btn svg{
    width: 40px;
    height: 40px;
}

.loader__wrapper{
    background: black;
}

.loader__content {
    text-align: center;
}

.loader__video {
    max-width: 1280px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 8%, rgba(0, 0, 0, 1) 92%, rgba(0, 0, 0, 0) 100%);
}




.loader__count {
    display:none;
}

.footer-logo {
    margin-top: -12px;
}

header, .logo {
    transition: top 0.3s ease-in-out;
}

.language{
    position: fixed;
    display: flex;
    top: 50px;
    background-color: var(--background-color);
    right: 5rem;
    z-index: 10;
    height: 40px;
    font-size: 1.8rem;
    line-height: 40px;
    border-radius: 0.7rem;
    padding: 0 8px;
    transition: top 0.3s ease-in-out;

}
.language a{
    /* display:flex; */
    align-content: center;
    align-items: center;
}
.language a.active{
    font-weight: bold;
}

.quote-indented{
    margin-left: 90px;
}
.portfolio-stack__inner{
    cursor: default;
}
a.link-small-160lh{
    display: block;
}

#page-content.subsite{
    margin-top: 100px;
}
#page-content.subsite p{
    margin-bottom: 20px;
}
#page-content.subsite h1,#page-content.subsite h2,#page-content.subsite h3, #page-content.subsite h4, #page-content.subsite h5{
    font-size: 2rem;
    font-weight: bold;
}

/* Grid Layout Styles */

.expandable-grid .grid-item{
    cursor:pointer;
}

.expandable-grid .grid-item:not(.expanded):hover .arrow{
    display: block;
}

.expandable-grid .grid-item:not(.expanded):hover img{
    /* transform: scale(1) rotate(-5deg); */
        animation: wobble 0.4s ease-in-out;
    }

    @keyframes wobble {
        0% {
            transform: rotate(0deg);
        }
        50% {
            transform: scale(1.05) rotate(-5deg);
        }
        100% {
            transform: rotate(0deg);
        }
    }


.expandable-grid .arrow {
    display: none;
    position: absolute;
    top: 54px;
    right: 76px;
    transform: translate(-50%, -50%) rotate(-90deg); /* Ändern Sie die Drehung auf -90 Grad */
}

.expandable-grid .arrow span {
    display: block;
    width: 1.5vw;
    height: 1.5vw;
    border-bottom: 5px solid #498f6c;
    border-right: 5px solid #498f6c;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

.expandable-grid .arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.expandable-grid .arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}
.expandable-grid .grid-item img{
    /* transition: transform 0.3s ease-in-out; */
    /* transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); */
}




.expandable-grid .grid-item {
    position: relative;
}


@keyframes expandWidth {
    from {
        width: 50%;
    }
    to {
        width: 100%;
    }
}
    .expandable-grid .expanded {
        /* Beispielstil für erweiterte Elemente */
        /*width: 100%;*/
        animation: expandWidth 1s forwards;
    }
    .hidden, .read-more {
        display: none;
    }

.click-more{
    display: none;
    position: absolute;
}
.portfolio-stack__descr {
    max-height: 98px;
}
.portfolio-stack__descr p {
     line-height: 126%;
}


@media (prefers-color-scheme:dark) {
    #headline h1, blockquote, .section-name-caption, .about-descr__text, #letsmeet h2, .resume-lines-number__item p, .resume-lines-number__item h4, .resume-lines-number__item a, .socials-lines h4, .socials-lines a, .socials-lines p, .footer__text, .contact-data__item a, .contact-data__item p, .menu__item i, .language a{
        color: black;
    }
}
/*
@media (forced-colors:active) {
    h1,h2,h3,h4,h5,p,.section-name-caption {
        color: black;
    }
}
*/



/* mobile */
@media (max-width: 640px) {
.head-area{
    display: flex;
    justify-content: center;
    z-index: 100;
    position: fixed;
    height: 146px;
    width: 100%;
    background-color: var(--background-color);
}

.header {
    top: 9.5rem;
    right: 0;
    left: 10px;
    display: block !important;
}
.language {
    top: 9.5rem;
    right: 10px;
    display: block !important;
    z-index: 100;
}
.logo{
    left: auto;
    top: 0.5rem;
}

.logo img{
    width: 230px;
}

.intro-bg-03__01{
    bottom: -100px;
}
.headline.headline-centered {
    margin-top: 12.5rem;
}
h1{
    font-size: 4.2rem;
    line-height: 185%;
}
.quote-indented{
    margin-left: 0px;
}
blockquote{
    font-size: 2.8rem;
}
.portfolio-stack__title, .portfolio-stack__title.dark {
    color:white;
    font-size: 2.3rem;;
}
.title__line {
    display: block !important;
}
.main{
    padding-top: 14rem;
}
.expandable-grid .arrow{
    display: block;

}
.expandable-grid .arrow span {
    display: block;
    width: 3vw;
    height: 3vw;
}

.expandable-grid .grid-item.expanded .arrow {
    display: none;
}

.arrow::after {
    content: "";
    display: block;
    width: 35px;
    height: 35px;
    background-image: url(../img/icon-hand-click.svg);
    background-size: cover;
    position: absolute;
    right: 9px;
    bottom: -50px;
    transform: rotate(78deg) translateX(-50%);
    animation: moveUpAndDown 2.5s infinite alternate ease-in-out;
}

@keyframes moveUpAndDown {
    from {
        transform: rotate(78deg) translateX(-50%) translateY(0);
        opacity: 0;
    }
    to {
        transform: rotate(78deg) translateX(-50%) translateY(-12px);
        opacity: 0.7;
    }
}

.click-more{
    left: 48%;
    display: flex;
    justify-content: space-around;
    top:155px;
    text-align: center;
}
.click-more img{
    width: 30px;
    height: 30px;
}
.portfolio-stack__inner:hover .click-more{
    display: none;
}

.portfolio-stack__descr {
    max-height: 183px;
}
.portfolio-stack__descr p {
     line-height: 100%;
}

.btn-default{
    height: 7rem;
}
.footer__text{
    font-size: 4.2rem;
}
.footer__btn{
    display: flex;
    justify-content: space-around;
}
.btn-circle-icon{
    height: 7rem;
    width: 7rem;
    display: flex;
}
.contact-data img{
    display:none;
}

.socials-lines__link {
    flex-wrap: wrap;
}


}




