#urlaub-hinweis {
    display:none;
    z-index: 500;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--text);
    padding: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
transition: all 1s ease;
}

#urlaub-hinweis .content {
    background-color: var(--bg-dark);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px var(--shadow-color);
}

#urlaub-hinweis h2 {
    padding: 0 1rem;
    font-size: 2rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--accent);
    margin-bottom: 1rem;
    color: var(--accent);
}

.highlight {
    color: var(--accent);
    font-weight: bold;
}

#urlaub-hinweis p {
    font-size: 1rem;
    line-height: 1.6;
    padding: 1rem 0;
    text-align: center;
}

#weiter-button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
}

#weiter-button:hover {
    background-color: var(--accent-dark);
    transform: scale(1.05);
}

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

#produkte_container {
    width: 100%;
    height: auto;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    perspective: 1000px;
}

.produkte {
    margin: auto;
    width: 280px;
    height: auto;
    background-color: rgba(0, 0, 0, 0.5);
    border: var(--border-size) solid var(--border-muted);
    border-radius: 15px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: scale 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease-out, transform 0.6s ease-out;
    box-shadow: 0 11px 15px var(--shadow-color);
}

.produkte.hidden {
    opacity: 0;
    transform: translateY(20px);
}

.produkte.visible {
    opacity: 1;
    transform: translateY(0);
}


/* nicht in Benutzung */
@keyframes produkteSlider {
from{
	opacity: 0;
	transform: translateX(100px);
 }
to{
	opacity: 1;
	transform: translateX(0)
 }
}

.produkt-bild {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    border-bottom: solid 2px var(--border-muted);
}

.produkt-info {
    padding: 1rem;
    width: 100%;
    display: grid;
    grid-template-areas:
        "name preis"
        "info info";
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.produkt-name {
    grid-area: name;
    color: var(--text);
}

.produkt-preis {
    grid-area: preis;
    text-align: right;
    color: var(--text);
}

.produkt-beschreibung {
    grid-area: info;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-top: 0.5rem;
}


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


#product-page-bg{
    width: 100%;
    height: calc(100svh - var(--header-size) - var(--footer-size)) ;
    position: fixed;
    display: flex;
    justify-content: center;
    top: var(--header-size);
    bottom: 0;
    left: 0;
    z-index: 200;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#product-page-bg.active {
    opacity: 1;
    visibility: visible;
}

#product-page{
    width: min(100%, 420px);
    height: auto;
    margin: auto;
    position: relative;
    text-align: center;
    z-index: 300;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 10px 30px var(--shadow-color);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#product-page-bg.active #product-page {
    opacity: 1;
    transform: scale(1);
}

#product-page-bild{
    width: 100%;
    height: auto; /* Added fixed height for consistency */
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    border-bottom: 1px solid var(--border-muted);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
}

#product-page-info{
    padding: 1.5rem;
    width: 100%;
    display: grid;
    grid-template-areas: 
    "name preis"
    "info info"
    "allergene allergene";
    grid-template-columns: 1fr auto;
    gap: 1rem;
    grid-template-rows: 1fr 3fr 31px;
    height: 50%;
}

#product-page-name{
    grid-area: name;
    text-align: left;
    font-size: 1.7rem;
    color: var(--text);
}
#product-page-preis{
    grid-area: preis;
    text-align: right;
    font-size: 1.7rem;
    color: var(--text);
}

#product-page-zutaten{
    grid-area: info;
    text-align: left;
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--text-muted);
}


#product-page-allergene{
    grid-area: allergene;
    text-align: left;
    font-weight: 300;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}



/*@media not (pointer: coarse) {  
    .produkte:hover{
    	cursor: pointer;
    	border:  var(--border);
    }
}*/


@media not (pointer: coarse){
    .produkte:hover{
        cursor: pointer;
	scale: 1.05
    }
}

@media (max-width: 420px){
    #product-page{
        margin: 0;
        border-radius: 0;
        border: none

    }  
    #product-page-bild{
        border-radius: 0px
  
    }  
}