#hero-section{
    margin: 0;
    padding: 0;
}
/*
#hero-section .container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}*/
#hero-section .top-section .swiper-slide__content{
    padding-block: 2rem;
    display: flex;
    flex-flow: column-reverse nowrap;
    gap: 1em;
    text-align: center;
}
#hero-section .top-section .swiper-slide__content img{
    width: 100%;
    height: 35svh;
    max-height: 400px;
    max-width:400px;
    object-fit: cover;
}
#hero-section .top-section .swiper-slide__content .hero__overtitle{
    font-size: 1rem;
    color: var(--base-color);
    font-weight: bolder;
    margin: 0;
    padding: 0;
}
#hero-section .top-section .swiper-slide__content .hero__title{
    font-size: 1.5em;
    font-weight: 900;
    color: var(--dark-gray);
    margin: 0;
    padding: 0;
}
#hero-section .top-section .swiper-slide__content .hero__title strong{
    color: var(--golden-yellow);
}
#hero-section .top-section .swiper-slide__content .hero__links{
    display: flex;
    gap: 2em;
    justify-content: center;
}
#hero-section .top-section .swiper-slide__content .hero__links a{
    padding: 0.5em 1em;
    border-radius: 8px;
    font-weight: 900;
}
#hero-section .top-section .swiper-slide__content .hero__links a.hero__call-full{
    background-color: var(--base-color);
    color: var(--white);
}
#hero-section .top-section .swiper-slide__content .hero__links a.hero__call-border{
    border:2px solid var(--base-color);
    color: var(--dark-gray);
}

.info-container {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
    padding-block: 0 5rem;
}
.info-container .card-icon-text {
    display: flex;
    gap: 10px;
    margin-block: 10px;
    width: 100%;
}
@media (min-width:768px){
    .info-container .card-icon-text{
        width: fit-content;
    }
}
.info-container .card-icon-text .icon svg {
    width: 60px;
    aspect-ratio: 1;
    fill: var(--white);
    background: var(--base-color);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 2px 3px 5px #4d525654;
    border: 1px solid #89a0d1;
}
.infobox-card-container {
    position: fixed;
    inset: 0;
    background: #00000090;
    z-index: 999999999999;
    padding: 20px;
    backdrop-filter: blur(20px);
    overflow-y: hidden;
    opacity: 0;
    pointer-events: none;
    transition:all 0.3s;
    transform: translateY(100px);

}
.infobox-card-container.open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;

}
body:has(#hero-section .infobox-card-container.open){
    overflow-y: hidden;
}
body{
    overflow-y: auto;
}
button.infobox-card__close-btn {
    position: fixed;
    top: 0;
    right: 0;
    width: 40px;
    aspect-ratio: 1;
    border-radius: 10px;
    border: unset;
    background: var(--red);
    fill: white;
}
.infobox-card-items {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    position: fixed;
    inset: 3rem;
    overflow-x: auto;
    display: flex;
    flex-flow: column;
    gap: 1rem;
    align-items: center;
}
@media ( min-width: 768px){
    .infobox-card-items{
        flex-flow: row wrap;
        justify-content: center;
        align-items: stretch;
    }
}
.infobox-card-items > p {
    text-align: center;
    font-size: 1rem;
    font-style: italic;
    color: var(--dark-gray);
    width: 100%;
}
.infobox-card-item {
    display: flex;
    gap: 10px;
    max-width: 400px;
}
h3.info-box-card__main-title {
    font-size: 2rem;
    text-align: center;
    font-weight: bolder;
    color: var(--red);
    text-transform: uppercase;
    text-shadow: 1px 1px 1px #00000050;
    width: 100%;
}
@media ( min-width: 768px){
    h3.info-box-card__main-title{
        font-size: 2.5rem;
    }
}
ul.infobox-card__times {
    padding: 0;
    margin: 0;
}
.infobox-card-item .icon {
    width: 5rem;
    aspect-ratio: 1;
}
.infobox-card-item {
    display: flex;
    gap: 10px;
    width: 100%;
    padding: 10px;
    border: 1px solid #99999950;
    border-radius: 10px;
    background: #eee;
}
.infobox-card-item .title {
    font-size: 1.5rem;
    color: var(--base-color);
    font-weight: 900;
}
.infobox-card__anschrift a {
    display: flex;
    gap: 10px;
    align-items: center;
}
.infobox-card__tel svg {
    fill: var(--base-color);
    width: 16px;
    aspect-ratio: 1;
}
.infobox-card__anschrift a svg {
    width: 20px;
    aspect-ratio: 1;
    fill: var(--base-color);
}
.infobox-card-item h5 {
    font-size: 1.4rem;
    margin: 0;
    padding: 0;
    margin-block-start: 1rem;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--red);
}
.bottom-section.service-listing-container.bg-base-color .container {
    position: fixed;
    top: 50%;
    left: 0;
    width: 50px;
    z-index: 999;
    padding: 0;
    margin: 0;
    transform: translateY(-50%);
    transition: all 0.5s;
}

.bottom-section.service-listing-container.bg-base-color .container .card-icon-text {
    background-color: var(--white);
    display: flex;
    padding: 10px;
    margin-block: 10px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.bottom-section.service-listing-container.bg-base-color .container .card-icon-text .text {
    display: none;
}
.bottom-section.service-listing-container.bg-base-color .container .card-icon-text:nth-of-type(1)::after {
    content: "Notdienst";
    font-size: 8px;
    position: absolute;
    bottom: -8px;
    font-weight: bolder;
    text-transform: uppercase;
    color: var(--red);
}
.bottom-section.service-listing-container.bg-base-color .container .card-icon-text:nth-of-type(1) .icon {
    transform: translateY(-4px);
}
.bottom-section.service-listing-container.bg-base-color.hideContainer .container {
    left: -100%;
}
@media ( min-width:768px ){
    #hero-section .top-section .swiper-slide__content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 2rem;
        align-content: center;
        text-align: left;
    }
    #hero-section .top-section .swiper-slide__content .col-left {
        align-self: center;
        justify-self: right;
        max-width: 500px;
    }
    #hero-section .top-section .swiper-slide__content .hero__links{
        justify-content: flex-start;
    }
    #hero-section .top-section .swiper-slide__content .col-right{
        justify-self: right;
    }
    #hero-section .top-section .swiper-slide__content .col-right img {
        max-width: 100%;
        max-height: 100%;
        height: 500px;
        margin-inline-start: auto;
    }
    #hero-section .top-section .swiper-slide.swiper-slide-active .swiper-slide__content .hero__title{
        font-size: 2em;
    }
    .info-container {
        width: 100%;
        background-color: #fcfcfc;
        border-radius: 10px 10px 0 0;
        padding: 0.5rem 2rem;
        font-size: 1rem;
        justify-content: flex-end;
        align-items: flex-start;
        gap: 2em;
        color: #6b6b6b;
    }
    .bottom-section.service-listing-container.bg-base-color .container .card-icon-text{}
}


/* Animation */
#hero-section .top-section .swiper-slide .swiper-slide__content .col-right img{
    opacity: 0;
    filter: blur(10px);
    scale: 1.03;
    transition: all 1s;
    transition-delay: 0.5s;
}
#hero-section .top-section .swiper-slide.swiper-slide-active .swiper-slide__content .col-right img{
    opacity: 1;
    filter: blur(0);
    scale: 1;
}
#hero-section .top-section .swiper-slide .swiper-slide__content .hero__title{
    opacity: 0;
    transform: translateY(-10px);
    transition: all 1s;
    transition-delay: 0.5s;
}
#hero-section .top-section .swiper-slide.swiper-slide-active .swiper-slide__content .hero__title{
    opacity: 1;
    transform: translateY(0);
}
#hero-section .top-section .swiper-slide .swiper-slide__content .hero__text{
    opacity: 0;
    transform: translateY(-10px);
    transition: all 1s;
    transition-delay: 1s;
}
#hero-section .top-section .swiper-slide.swiper-slide-active .swiper-slide__content .hero__text{
    opacity: 1;
    transform: translateY(0);
}

#hero-section .top-section .swiper-slide .swiper-slide__content .hero__overtitle{
    opacity: 0;
    transform: translateY(-20px);
    transition: all 1s;
    transition-delay: 0.8s;
}
#hero-section .top-section .swiper-slide.swiper-slide-active .swiper-slide__content .hero__overtitle{
    opacity: 1;
    transform: translateY(0);
}

#hero-section .top-section .swiper-slide .swiper-slide__content .hero__links a.hero__call-full{
    opacity: 0;
    transform: translateX(-20px);
    transition: all 1s;
    transition-delay:1.5s;
}
#hero-section .top-section .swiper-slide.swiper-slide-active .swiper-slide__content .hero__links a.hero__call-full{
    opacity: 1;
    transform: translateX(0);
}
#hero-section .top-section .swiper-slide .swiper-slide__content .hero__links a.hero__call-border{
    opacity: 0;
    transform: translateX(20px);
    transition: all 1s;
    transition-delay:1s;
}
#hero-section .top-section .swiper-slide.swiper-slide-active .swiper-slide__content .hero__links a.hero__call-border{
    opacity: 1;
    transform: translateX(0);
}
/* Animation */
figure.hero-special__image {
    max-width: 90px;
    position: relative;
    margin-inline-end: auto;
    width: 100%;
}
figure.hero-special__image figcaption a{
    position:absolute;
    inset: 0;
    z-index: 10;
}
figure.hero-special__image figcaption a span{
    display:none;
}
@media (min-width:768px){
    figure.hero-special__image{
        width: fit-content;
    }
}
section.position-relative.py-0 ul {
    padding: 1rem;
    margin: 0;
}
/*.hero__call-full*/

