.startprodukte-license-error {
    padding: 20px;
    background: #ffecec;
    border: 1px solid #f5c2c2;
    color: #a10000;
    font-weight: bold;
}


/* Container */
.startprodukte {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.startprodukte .s-modlink {
    flex: 1 1 calc((100% / var(--cols)) - 20px);
	max-width: calc((100% / var(--cols)) - 20px);
    box-sizing: border-box;
}

.s-modlink{padding:10px;}

.image-container {
    position: relative;
    display: block;
	width:100%;
}

.image-container img {
    display: block;
    width: 100%;
   height: auto;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Startbreite = 0 (unsichtbar) */
    height: 0;
	/*text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;*/
	font-size:36px;
	font-weight:bold;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; /* Verhindert Zeilenumbruch des Textes */
    overflow: hidden;
    transition: height 0.5s ease-in-out;
}

.image-container:hover .overlay {
    height: 100%; /* Beim Hover wird das Overlay komplett eingeblendet */
}
.overlay p {
    pointer-events: none; /* Verhindert, dass nur der Text anklickbar ist */
}

.warenkorb-button{padding:5px;}
/* Smartphone */
@media (max-width: 768px) {
    .startprodukte {
        /*flex-direction: column;
        gap: 15px;*/
		--cols: 1 !important;
	}

    .startprodukte .s-modlink {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }	
}
/* Tablet hochformat */
@media (min-width: 769px) and (max-width: 1024px) {

    .startprodukte {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .startprodukte .s-modlink {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        box-sizing: border-box;
    }
}