﻿.artview-container {
    display: flex;
    flex-wrap: wrap; /* Artikel auf verschiedene Zeilen aufteilen */
    justify-content: center; /* Zentrierte Ausrichtung */
    gap: 20px; /* Abstand zwischen den Artikeln */
    margin-left: 10px;
    margin-right: 10px;
}

.artview-item {
    display: flex;
    flex-direction: row; /* Bild links, Infos rechts */
    width: 70%; /* 70% der Breite auf dem Desktop */
    background-color: transparent; /* Kein Hintergrund um das Bild */
    transition: transform 0.3s;
    align-items: center; /* Vertikale Ausrichtung */
    margin-bottom: 30px;
    margin-top: 30px;
}

/* Neuer Container für das Bild */
.artview-item-image-container {
    width: 50%; /* Container nimmt 50% der Breite ein */
    display: flex;
    justify-content: center;
    align-items: center;
}

    .artview-item-image-container img {
        width: 80%; /* Bild nimmt 80% des Containers ein */
        height: auto; /* Beibehaltung des Seitenverhältnisses */
        object-fit: cover; /* Skaliert das Bild, um den Container zu füllen */
        aspect-ratio: 4 / 3; /* Seitenverhältnis 16:9 */
        border-radius: 10px;
    }

.artview-item-image-list-container {
    width: 50%; /* Container nimmt 50% der Breite ein */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Wichtig für das Overlay */
}

@media (max-width: 770px) {
    .artview-item-image-list-container {
        width: 75%; /* Container nimmt 50% der Breite ein */
        margin-bottom: 20px;
    }

        .artview-item-image-list-container img {
            width: 100%;
        }

    .coming-soon-overlay {
        font-size: 18px !important;
        width: max-content;
    }
}

.artview-item-image-list-container img {
    width: 80%; /* Bild nimmt 80% des Containers ein */
    height: auto; /* Beibehaltung des Seitenverhältnisses */
    object-fit: cover; /* Skaliert das Bild, um den Container zu füllen */
    aspect-ratio: 4 / 3; /* Seitenverhältnis 4:3 */
    border-radius: 10px;
}

.coming-soon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.5); /* Halbtransparenter Hintergrund */
    padding: 10px 20px;
    border-radius: 5px;
    line-height: normal;
}

.artview-item-content {
    width: 50%; /* Inhalt nimmt 50% der Breite auf Desktop */
    background-color: rgba(10, 10, 10, 0.8);
    /*background: linear-gradient(145deg, rgba(0, 0, 0, 0.9), rgba(60, 60, 60, 0.4));*/ /* Simuliert Glanz */
    /*border: 2px solid #ddd;*/ /* Umrandung um den Info-Container */
    border-radius: 30px; /* Abgerundete Ecken */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Schatten um den Info-Container */
    height: 100%;
}

    .artview-item-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .artview-item-content p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .artview-item-content button {
        background-color: #28b4fa;
        color: white;
        border: none;
        padding: 8px 15px;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .artview-item-content button:hover {
            background-color: #0056b3;
        }

.artview-item:hover .artview-item-content {
    /*transform: scale(1.05);*/ /* Leichter Zoom-Effekt beim Hover */
}

/* Für Tablets (bis 770px): Bild links, Infos rechts */
@media (max-width: 770px) {
    .artview-item {
        flex-direction: row; /* Bild links, Text rechts */
        width: calc(100% - 100px); /* Artikel nehmen 100% minus 100px Abstand ein */
    }

    .artview-item-image-container {
        width: 50%; /* Bildcontainer bleibt bei 50% */
    }

    .artview-item-content {
        width: 50%; /* Infos bleiben bei 50% */
    }
}

/* Für Mobilgeräte (bis 520px): Bild oben, Infos unten */
@media (max-width: 620px) {
    .artview-item {
        flex-direction: column; /* Bild oben, Infos unten */
        width: calc(100% - 20px); /* Artikel nehmen fast die gesamte Breite ein */
        align-items: center;
    }

    .artview-item-image-container {
        width: 100%; /* Bildcontainer nimmt die volle Breite ein */
    }

        .artview-item-image-container img {
            width: 80%; /* Bild nimmt 80% der Containerbreite ein */
            margin-bottom: 15px; /* Abstand zwischen Bild und Text */
        }

    .artview-item-content {
        width: 90%; /* Infos nehmen die volle Breite ein */
    }
}



/* Suchfeld und Dropdown */
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Abstand zwischen Suchfeld und Dropdown */
    margin-bottom: 50px;
    /*margin-top: 80px;*/
    width: 85%;
    margin-left: 7.5%;
}

#search-input {
    width: 50%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 25px;
    outline: none;
    transition: box-shadow 0.3s ease;
}

    #search-input:focus {
        box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
    }

#article-group {
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 25px;
    outline: none;
    cursor: pointer;
    background-color: #2b2b2b;
    color: white;
}

/* Responsive Anpassungen für Suchfeld und Dropdown */
@media (max-width: 770px) {
    #search-input {
        width: 70%;
    }

    #article-group {
        width: 30%;
    }
}

@media (max-width: 480px) {
    .search-container {
        flex-direction: column;
        align-items: stretch;
        margin: 10px;
        margin-left: 7.5%;
    }

    #search-input, #article-group {
        width: 100%; /* Beide Elemente nehmen 100% Breite ein */
    }
}

.search-container-single {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
    margin-top: 80px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
}

.green-button-small-single {
    background-color: lightgreen;
    color: white; /* Textfarbe anpassen, um gut sichtbar zu sein */
    padding: 10px 20px; /* Anpassen der Polsterung nach Bedarf */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px; /* Anpassen der Schriftgröße nach Bedarf */
    color: black;
    margin-left: 0px;
    margin-right: auto;
}

    /* Optional: Hinzufügen von Hover-Effekten für eine verbesserte Benutzerinteraktion */
    .green-button-small-single:hover {
        background-color: darkgreen; /* Ändere die Hintergrundfarbe im Hover-Zustand */
        color: white !important;
    }
/* Spezifische Klasse für den Button-Container */
.search-container-single.button-container {
    justify-content: flex-start;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-top: 0px;
}

@media (max-width: 770px) {
    .green-button-small-single {
        margin-left: 0px;
        margin-right: 0px;
    }
}

@media (max-width: 770px) {
    .search-container-single {
        flex-direction: column;
        align-items: stretch;
        margin: 10px;
        width: 90%;
        margin-left: 5%;
    }

    #search-input-single, #article-group-single {
        width: 100%;
    }

    .search-container-single.button-container {
        /*justify-content: center;*/
    }
}

.artview-item-single {
    display: flex;
    flex-direction: column;
    width: 70%;
    margin: 20px auto; /* Verwendet auto für horizontale Zentrierung */
    align-items: center;
    background-color: transparent;
    transition: transform 0.3s;
}

.artview-item-calender {
    display: flex;
    flex-direction: row;
    width: 100%;
    background-color: transparent;
    transition: transform 0.3s;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 30px;
    justify-content: center; /* Änderung von space-around zu center */
    justify-content: space-between;
}

@media (max-width: 970px) {
    .artview-item-calender {
        flex-direction: column; /* Änderung von display: block zu flex-direction: column */
        gap: 30px;
    }

    .artview-item-single {
        width: 90%; /* Mehr Breite auf mobilen Geräten */
    }
}

@media (min-width: 1150px) {
    .artview-item-single-calenderbezeichnung {
        width: 50% !important;
    }
}

.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.main-image-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.artview-item-single-image-container {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    min-width: 300px;
}

    .artview-item-single-image-container img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 4 / 3;
        border-radius: 10px;
    }

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(8, 8, 8, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
    color: white;
}

    .nav-button:hover {
        background: rgba(12, 12, 12, 0.8);
    }

@media (max-width: 850px) {
    .nav-button {
        display: none;
    }
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

    .thumbnail:hover {
        opacity: 0.8;
    }

    .thumbnail.active {
        border: 2px solid #007bff;
    }

@media (max-width: 768px) {
    .artview-item-single-image-container {
        width: 80%;
        min-width: auto;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }
}

.artview-item-single-content {
    background-color: rgba(10, 10, 10, 0.8);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Streckt den Inhalt über die volle Breite */
}

    .artview-item-single-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .artview-item-single-content p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .artview-item-single-content button {
        background-color: #28b4fa;
        color: white;
        border: none;
        padding: 8px 15px;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .artview-item-single-content button:hover {
            background-color: #0056b3;
        }

.artview-item-single:hover .artview-item-single-content {
    /*transform: scale(1.05);*/ /* Leichter Zoom-Effekt beim Hover */
}

/* Für Tablets (bis 770px): Bild links, Infos rechts */
@media (max-width: 970px) {
    .artview-item-single {
        /*flex-direction: row;*/
        width: calc(100% - 100px); /* Artikel nehmen 100% minus 100px Abstand ein */
    }

    .artview-item-single-image-container {
        width: 50%; /* Bildcontainer bleibt bei 50% */
    }
}

/* Für Mobilgeräte (bis 520px): Bild oben, Infos unten */
@media (max-width: 620px) {
    .artview-item-single {
        flex-direction: column; /* Bild oben, Infos unten */
        width: calc(100% - 20px); /* Artikel nehmen fast die gesamte Breite ein */
        align-items: center;
    }

    .artview-item-single-image-container {
        width: 100%; /* Bildcontainer nimmt die volle Breite ein */
    }

        .artview-item-single-image-container img {
            width: 80%; /* Bild nimmt 80% der Containerbreite ein */
            margin-bottom: 15px; /* Abstand zwischen Bild und Text */
        }

    .artview-item-single-content {
        /*width: 90%;*/ /* Infos nehmen die volle Breite ein */
        padding: 0px;
    }

    .artview-item-bezeichnungen {
        padding: 20px;
    }
}

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

.calendar-container {
    margin: 20px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    height: 370px;
    overflow: hidden;
    min-width: 285px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allow wrapping on very small screens */
    gap: 10px;
}

    .calendar-header h3 {
        /*font-size: clamp(1rem, 4vw, 1.5rem);*/ /* Responsive font size */
    }

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    width: 100%;
    /*height: calc(100% - 80px);*/ /* Adjust based on header height */
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 2px;
    font-size: clamp(0.7rem, 2vw, 1rem);
}

.day-header {
    font-weight: bold;
    text-align: center;
    padding: 5px;
    /*font-size: clamp(0.7rem, 2vw, 1rem);*/ /* Responsive font size */
}

.day-number {
    font-size: clamp(0.8rem, 2.5vw, 1.1rem); /* Responsive font size */
    font-weight: 400;
}

.availability-text {
    font-size: clamp(0.6rem, 1.5vw, 0.8rem); /* Responsive font size */
    margin-top: 2px;
}

/* Media queries for different screen sizes */
@media (max-width: 480px) {
    .calendar-container {
        margin: 10px;
        padding: 10px;
        justify-self: center;
        height: 420px;
        width: 90%;
    }

    .calendar {
        gap: 3px;
    }

    .calendar-day {
        padding: 1px;
    }
}

/* Preserve other styles */
.calendar-day:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.availability-high {
    background-color: var(--high-availability-color, #4CAF50);
    color: white;
}

.availability-medium {
    background-color: var(--medium-availability-color, #FFC107);
    color: black;
}

.availability-low {
    background-color: var(--low-availability-color, #F44336) !important;
    color: white;
}

.day-disabled {
    color: #999;
    cursor: not-allowed;
}

.date-range {
    background-color: rgba(33, 150, 243, 0.2); /* Light blue with transparency */
}

.start-date, .end-date {
    border: 2px solid #2196F3;
}

.start-date {
    background-color: #2196F3;
    color: white;
}

.end-date {
    background-color: #2196F3;
    color: white;
}

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

.calendar-container-datepicker {
    display: flex;
}

@media (max-width: 770px) {
    .calendar-container-datepicker {
        padding: 25px;
        display: flex;
    }

    .calendar-container {
        margin: 10px;
        padding: 10px;
        height: 420px;
    }

    .calendar-day {
        font-size: 14px;
    }

    .availability-text {
        font-size: 0.7em;
    }
}

.calenderbezeichnungDisplayStyle {
    display: flex;
}


@media (max-width: 1600px) {
    .calenderbezeichnungDisplayStyle {
        display: block;
    }
}


@media (max-width: 1600px) {
    .showverfuegbarclass {
        margin-top: 10px;
    }
}

.showverfuegbarclass {
    margin-top: 40px;
}

@media (max-width: 1600px) {
    .verfuegbarwithclass {
        width: 100% !important;
    }
}

@media (max-width: 800px) {
    .verfuegbarwithclass {
        margin-top: 0px !important;
    }
}

.verfuegbarwithclass {
    margin-top: 35px;
    display: block;
    margin-right: auto;
    margin-left: auto;
    width: 40%;
}


@media (max-width: 1000px) {
    .datepicker-item {
        width: 60%;
    }
}

.datepicker-item {
    width: 100%;
}






/* Warenkorb Icon */
.itemzettel-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.itemzettel-icon {
    position: relative;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

    .itemzettel-icon:hover {
        transform: scale(1.1);
    }

    .itemzettel-icon svg {
        width: 24px;
        height: 24px;
        fill: white;
    }

.itemzettel-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    font-size: 14px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Warenkorb Sidebar */
.cart-sidebar {
    position: fixed;
    right: -500px;
    top: 0;
    max-width: 500px;
    width: 100%;
    height: 100%;
    background: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-color: rgba(10, 10, 10, 0.985);
}

    .cart-sidebar.open {
        right: 0;
        z-index: 99;
    }

.cartSidebarCloser {
    display: none;
}

    .cartSidebarCloser.open {
        display: block;
    }


.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.cart-content {
    flex-grow: 1;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    padding-top: 5px;
    /*border-bottom: 1px solid #ddd;*/
}

@media (max-width: 1000px) {
    .cart-item {
        padding-top: 3px;
    }
}

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

.minus-btn, .plus-btn, .remove-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 5px 8px;
    cursor: pointer;
}

.remove-btn {
    background: red;
    font-size: 16px;
    margin-left: 10px;
}

.cart-footer {
    text-align: center;
    padding-top: 10px;
}

.checkout-btn {
    background: green;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.cart-item-checkout 
{
    display: flex;
}

@media (max-width: 1000px) {
    .cart-item-checkout 
    {
        display: block;
    }
}
