body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
}
header {
    background: #333;
    color: white;
    padding: 15px;
}
nav {
    display: flex;
    justify-content: space-between;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}
h1 {
	font-weight: bold;
	text-align: center;
    margin-bottom: 20px;
}
.produkte {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}
.produkt {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-align: center;
}
.produkt img {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
}
.produkt h2 {
    font-size: 1.1rem;
    margin: 10px 0;
}
.produkt p {
    font-weight: bold;
    color: green;
}
.produkt button {
    background: #333;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.produkt button:hover {
    background: #555;
}
.einzelprodukt-container {
	width: 90%;
    display: flex;
    gap: 20px; /* Abstand zwischen Bild und Info */
    justify-content: center;
    flex-wrap: wrap; /* falls kleine Bildschirme */
}
.einzelprodukt-image-wrapper {
    position: relative;
    display: inline-block;
}
.einzelprodukt {
    width: 30%;
	height: auto;
	position:relative;
	display: inline-block;
	justify-content: center;
}

.einzelprodukt img {
	max-width: 100%;
    height: auto;
	max-height: 100%;
    display: block;
}

.einzelprodukt-info {
    width: 30%;
	padding: 10px 15px;
}
.einzelprodukt-design {
    width: 30%;
	padding: 10px 15px;
}
.einzelprodukt-design label {
    display: block;       /* jedes Label in einer neuen Zeile */
    margin-bottom: 10px;  /* Abstand nach unten */
    font-size: 16px;      /* optional Schriftgröße anpassen */
}

.einzelprodukt-design button {
    display: block;       /* jedes Label in einer neuen Zeile */
    margin-top: 20px;  /* Abstand nach unten */
    font-size: 16px;      /* optional Schriftgröße anpassen */
}
.einzelprodukt-text {
    position: absolute;
    top: 38%;
    left: 46%;
	transform: translate(-50%, -50%);
    width: 23%;   
    height: 20%;
    background-color: transparent; /* wird später via JS gesetzt */
    margin: 0 15px auto;
    z-index: 2;   /* vor dem Bild */
    pointer-events: none; /* verhindert Klick-Blockierung */
}
.warenkorb-container {
        max-width: 90%;
        margin: 40px auto;
        padding: 20px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .warenkorb-container h1 {
        text-align: center;
        margin-bottom: 20px;
    }

    .warenkorb-table {
		margin-top: 40px;
        width: 100%;
        border-collapse: collapse;
    }

    .warenkorb-table th,
    .warenkorb-table td {
        border: 1px solid #ddd;
        padding: 12px;
        text-align: center;
    }

    .warenkorb-table th {
        background: #f8f8f8;
        font-weight: bold;
    }

    .warenkorb-table tr:nth-child(even) {
        background: #fdfdfd;
    }
.warenkorb-footer a {
    background: #0077cc;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}

.warenkorb-footer a:hover {
    background: #005fa3;
}
.warenkorb-actions {
    margin-top: 40px;
    text-align: right;
}
.warenkorb-actions button {
    background: #0077cc;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}
.warenkorb-actions button:hover {
    background: #005fa3;
}
.warenkorb-delete {
    margin-top: 40px;
    text-align: left;
	display: flex;
}
.warenkorb-delete a {
    background: #0077cc;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}
.warenkorb-delete a:hover {
    background: #005fa3;
}
.warenkorb-footer {
    display: flex;
    justify-content: space-between; /* links / rechts verteilen */
    align-items: center;            /* vertikal mittig ausrichten */
    margin-top: 20px;
}
.rechnung-container {
	width: 90%;
    gap: 20px; /* Abstand zwischen Bild und Info */
    justify-content: center;
    flex-wrap: wrap;
    max-width: 90%;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.rechnung-container h2 {
    text-align: center;
    margin-bottom: 20px;
}
.rechnung-container form {
    gap: 40px;          /* Abstand zwischen Rechnungs- und Lieferadresse */
    justify-content: center;
    flex-wrap: wrap;    /* bei kleinen Screens umbrechen */
    width: 100%;
}
.adressen-wrapper {
    display: flex;
    justify-content: center;   /* zentriert, wenn nur eine sichtbar */
    gap: 40px;                 /* Abstand zwischen den beiden */
    flex-wrap: wrap;           /* bei kleinen Screens umbrechen */
    margin-bottom: 30px;       /* etwas Abstand zum Button */
}

.rechnungsadresse,
.liefersadresse {
	text-align: center;
    flex: 1;
    min-width: 300px;          /* Mindestbreite → umbrechen auf kleinen Geräten */
    max-width: 45%;          /* nicht zu breit laufen lassen */
}
.rechnung-footer {
    text-align: center;        /* Button mittig */
    margin-top: 20px;
}
.rechnung-footer button {
	background: #0077cc;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}
.rechnung-footer button:hover {
    background: #005fa3;
}
.rechnungsadresse button {
	background: #0077cc;
    color: white;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}
.buttonlogin button {
	background: #0077cc;
    color: white;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}
.buttonlogin button:hover {
    background: #005fa3;
}
.rechnungsadresse button:hover {
    background: #005fa3;
}