@import url('/styles/root.css');

/* General */
body {
    margin: 0;
    font-family: var(--fontFamily_Primary);
    background: var(--backgroundColor_01);
    color: var(--fontColor_01);
}

html {
    scroll-behavior: smooth !important;
}

h2 {
    font-size: var(--fontSize_Title_Big);
}

p {
    line-height: 2;
}

/* Scrollbar */

body::-webkit-scrollbar {
    width: var(--sb-size)
}

body::-webkit-scrollbar-track {
    background: var(--sb-track-color);
}

body::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: var(--sb-thumb-border-radius);
    border: 1px solid var(--shadowColor_02);

}

body::-webkit-scrollbar-thumb:hover {
    cursor: pointer;
}

@supports not selector(::-webkit-scrollbar) {
    body {
        scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
    }
}

.greatIcon {
    max-height: var(--systemIcon-Size-Large);
    filter: var(--iconFilter_01);
}

h1 {
    margin: 20px;
}

.systemIcon {
    max-height: var(--systemIcon-Size);
    filter: var(--iconFilter_01);
}


/* Site Title */
#siteTitle {
    display: flex;
    justify-content: center;
    text-align: center;
}

/* Bilderslider */


#slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 600px;
    /* Höhe anpassen */
}

#slider img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100dvw;
    /* transform: scale(1.2); */
    transition: opacity 1s ease;
    /* Fading-Effekt */
}

#slider img.active {
    opacity: 1;
}

#slider img {
    transform: translateY(-23%);
}


#slider h1 {
    margin-top: 20px;
}

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


    #slider {
        height: 300px;
    }

    #slider img {
        transform: translateY(0) scale(1.5) translateX(-15%);
    }
}

/* Accordion */
.accordion {
    background-color: var(--backgroundColor_05);
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: var(--borderStyle_02);
    border-radius: var(--borderRadius_Card_01);
    text-align: left;
    outline: none;
    font-size: var(--fontSize_Title_Normal);
    transition: 0.4s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion::after {
    content: '\25B6';
    /* Right-pointing triangle */
    font-size: 12px;
    transition: transform 0.4s;
}

.active {
        border-radius: var(--borderRadius_Card_Top_01);
}

.active::after {
    transform: rotate(90deg);
}

.active,
.accordion:hover {
    background-color: var(--hoverColor_01);
}

.panel {
    padding: 0 18px;
    display: none;
    background-color: var(--backgroundColor_04);
    overflow: hidden;
    border: var(--borderStyle_01);
    border-radius: var(--borderRadius_Buttom_01);
    margin-bottom: 100px;
}



/* Content */
#section3-list {
    list-style: none;
    line-height: 2;
    font-size: var(--fontSize_P_Big);
    padding: 0;
}

#section3-list li a{
    font-size: var(--fontSize_P_Big);
}


#section3-list li::before {
    content: '';
    display: inline-block;
    height: 1em;
    width: 1em;
    padding-left: 1em;
    filter: var(--iconFilter_01);
    background-repeat: no-repeat;
    background-size: contain;
}

#section3-item1 {
    text-wrap: nowrap;
}

#section3-item1::before {
    background-image: url(/styles/icons/star_black_filled_02.svg);
}

#section3-item2::before {
    background-image: url(/styles/icons/job_black_filled_01.svg);
}

#section3-item3::before {
    background-image: url(/styles/icons/clock_black_filled_01.svg);
}

/* Inhaltsbereich */
.border-image {
    width: 100%;
    border: var(--borderStyle_02);
    border-radius: var(--borderRadius_Card_All_01);
    padding: 5px;
}

#content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    text-align: center;
}

.container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.content-section {
    flex: 1;
    /* Jeder Abschnitt nimmt den verfügbaren Platz ein */
    flex-direction: column;
}

.layout-border-image {
    border-radius: var(--borderRadius_Card_All_01);
    max-width: 100%;
}

.layout-part {
    padding: 0 20px 0;
    flex: 1;
}

.layout-space {
    margin: 100px 0;
}

.layout-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 200%;
}

.left-section,
.right-section {
    display: none;
}

.mainContent-layout-part {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
}

.main-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex: auto;
    width: 70%;
}


/* Grid System Content */
.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Abstand zwischen den Karten */
}

.grid-container .card {
    flex: 1 0 calc(33.33% - 20px);
    /* Jede Karte nimmt ein Drittel des verfügbaren Platzes ein, mit 20px Abstand auf jeder Seite */
    border: 1px solid #ccc;
    /* Beispiel-Rahmen für Sichtbarkeit */
    padding: 0 8px;
    margin: 5px;
    border-radius: var(--borderRadius_Card_01);
    box-sizing: var(--borderStyle_01);
}

.grid-container .card img {
    width: calc(100% - 10px);
    /* Bild füllt die gesamte Breite der Karte aus */
    height: auto;
    margin-top: 5px;
    border-radius: var(--borderRadius_Card_Top_01);
}

.description,
.price {
    margin-top: 10px;
}

.price {
    margin-bottom: 5px;
}

#roundImg1,
#roundImg2,
#roundImg3 {
    border-radius: var(--borderRadius_Card_All_01);
}

/* Map iFrame */

.iframe-card {
    width: 100%;
    height: 80dvh;
    border: var(--borderStyle_02);
    border-radius: var(--borderRadius_Card_All_01);
    padding: 5px;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: var(--borderRadius_Card_All_01);

}

/* Section General */
section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 15%;
    margin: 50px 0;
    min-height: 40svh;
}

@media screen and (max-width: 760px) {
    section {
        padding: 0 5%;
    }
}

/* Section 2 */

/* Legal staff */
#legal-part .content-section {
    flex: auto;
}


#section2 .menu {
    overflow: hidden;
}

#section2 .menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    /* Zentriere das Menü horizontal */
}

@media (max-width: 760px) {
    #section2 .menu ul {
        flex-direction: column;
    }

    #section2 .section2-container {
        flex-direction: column;
    }
}

#section2 .menu-item {
    color: var(--fontColor_01);
    text-align: center;
    font-weight: var(--fontWeigth_P_Normal);
    padding: 14px 20px;
    margin: 6px;
    border: var(--borderStyle_01);
    border-radius: var(--borderRadius_Card_01);
    text-decoration: none;
    cursor: pointer;
    flex-grow: 1;    /* Verteile die Menüpunkte gleichmäßig */
}

#section2 .menu-item:hover {
    background-color: var(--hoverColor_01);
}

#section2 .section2-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    /* Zentriere die Inhalte horizontal */
}

@media screen and (max-width: 760px) {
    #section2 .section2-containe {
        padding: 0;
    }
}

#section2 .content-item {
    background-color: var(--backgroundColor_04);
    border: var(--borderStyle_02);
    border-radius: var(--borderRadius_Card_All_01);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 300px;
    width: 200px;
    flex: 30%;
    text-align: center;
    margin: 10px;
    transition: transform 0.2s;
    /* Animation beim Hover */
}

@media screen and (max-width: 760px) {
    #section2 .content-item {
        width: auto;
    }
}

#section2 .content-item:hover {
    transform: scale(1.05);
    cursor: pointer;
    /* Vergrößerung beim Hover */
}

#section2 .content-item h3 {
    font-size: 18px;
    margin: 10px 0;
}

#section2 .content-item p {
    font-size: 14px;
    color: var(--fontColor_01);
    margin: 10px;
}

#section2 .content-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    
}

#section2 .lightbox {
    display: none;
    align-items: center;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

#section2 .lightbox-content {
    margin: auto;
    display: flex;
    width: auto;
    max-height: calc(100dvh - 100px);
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

@media  screen and (max-width: 760px) {
    #section2 .lightbox-content {
        max-width: 100%;
        height: auto;
    }
}

#section2 .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

#section2 .close:hover,
#section2 .close:focus {
    color: var(--hoverColor_01);
    text-decoration: none;
    cursor: pointer;
}

/* Main Page */

#section2-p1 {
    font-size: var(--fontSize_P_Big);
    color: var(--fontColor_03);
}

/* Section 3 */

#section3 {
    background: var(--backgroundColor_03);
    align-items: center;

}

/* Section 4 */

/* Section 5 */

#section5 {
    background: var(--backgroundColor_03);
    align-items: center;

}

/* Section 6 */

#section6 {
    background: var(--backgroundColor_02);
    align-items: center;
    margin: 50px 0 0 0;

}

.timeline {
    position: relative;
    padding: 20px 0;
}

.milestone-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.milestone-container.left .card {
    order: 1;
    margin-right: auto;
}

.milestone-container.right .card {
    order: 3;
    margin-left: auto;
}

.milestone {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--backgroundColor_02);
    border: 4px solid var(--elementColor_01);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.milestone .symbol {
    font-size: 16px;
    color: var(--fontColor_02);
}

#section6 .card {
    width: 42.5%;
    background-color: var(--backgroundColor_03);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#section6 .card img {
    width: 100%;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background-color: var(--elementColor_01);
    border-radius: 3px;
}

#section6-title {
    color: var(--fontColor_02);
}

/* Medienabfrage für kleine Bildschirme */
@media (max-width: 768px) {
    .container {
        width: 100%;
    }

    .timeline {
        padding: 20px 0;
    }

    .milestone-container {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 8px;
    }

    .milestone-container .card {
        width: 80%;
        margin: 10px 0;
        margin-left: 10%;
    }

    .milestone {
        position: relative;
        left: -20px;
        transform: translateX(0) translateY(100px);
        margin-left: 0;
    }

    #section6 .card {
        width: auto;
    }

    .timeline:before {
        left: 0;
        transform: translateX(0);
    }
}


/* Table Menu */
.menu-table {
    display: flex;
    flex-wrap: wrap;
}

.menu-row {
    display: flex;
    width: 100%;
}

.menu-column {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 100%;
    line-height: 200%;
    padding: 5px;
    padding-bottom: 24px;

}

.menu-column .left {
    font-weight: bold;
    text-align: left;
}

.menu-column p {
    flex: 1;
    margin: 0;
}

.menu-column .right {
    text-align: right;
}

#tableSection h2 {
    line-height: 200%;
    border-bottom: var(--borderStyle_02);
}

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

    /* Content */
    .card {
        flex: auto;
    }

    .left-section,
    .right-section {
        display: none;
    }

    .grid-container {
        flex-direction: column;
    }

    .layout-space {
        margin: 0;
    }

    .mainContent-layout-part {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .mainContent-layout-part.even {
        flex-direction: column-reverse;
        margin: 50px 0;
    }

    .main-section {
        width: auto;
        /* Automatische Breite für kleinere Geräte */
    }

    /* Table Menu Div */
    .menu-column {
        flex-direction: column;
    }

    .menu-column .left,
    .menu-column .right {
        text-align: center;
    }

}