body {
    font-family: EB Garamond;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    margin: 0;
}

.header {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #0e4438;
    color: white;
    height: 140px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 100%;
}

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

.logo img {
    position: absolute;
    left: 20px;
    top: 40%;
    transform: translateY(-35%);
    display: flex;
    align-items: center;
    height: auto;
    width: 130px;
    max-height: 150px;
}

.logo-rechts img {
    position: absolute;
    right: 20px;
    top: 40%;
    transform: translateY(-35%);
    display: flex;
    align-items: center;
    height: auto;
    width: 130px;
    max-height: 150px;
}

.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  	margin-top: 0.5em;
}

.header-text h1 {
    font-size: 1.8em; /* Größe der Überschrift */
    margin: 0;
    color: #fff;
}

.header-text p {
    font-size: 1.2em; /* Größe der Beschreibung */
    margin: 5px 0 0 0; /* Kleiner Abstand über der Beschreibung */
}

.cart {
    margin-top: 50px; /* Abstand zwischen Logo und Button */
}

.cart button {
    background-color: #f0a500;
    position: absolute;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    right: 10px;
    top: 65%;
}

.cart button:hover {
    background-color: #d48f00;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.product {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 300px;
}

.product img {
    max-width: 100%;
    border-radius: 8px;
}

.product h2 {
    font-size: 1.5rem;
    color: #003366;
}

.product p {
    font-size: 1rem;
    color: #555;
}

.product button {
    background-color: #f0a500;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.product button:hover {
    background-color: #d48f00;
}

.product:hover {
    transform: scale(1.05);
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
}

button:hover {
    background-color: #555;
}

/* Modal-Overlay */
.modal {
    display: none; /* Standardmäßig ausgeblendet */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparenter Hintergrund */
}

/* Modal-Inhalt */
.modal-content {
    background-color: #a7a3a3;
    margin: 10% auto; /* Zentriert */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
}

/* Modal-Überschrift */
.modal-content h2 {
    font-size: 1.8rem;
    color: #0e4438; /* Dunkelblau passend zum Design */
    margin-bottom: 20px;
    text-align: center;
}

/* Formular-Labels */
.modal-content label {
    display: flex; /* Flexbox verwenden */
    align-items: center; /* Vertikale Ausrichtung der Inhalte */
    gap: 10px; /* Abstand zwischen Checkbox/Radio und Text */
    margin-bottom: 10px; /* Abstand zwischen den Optionen */
}

/* Formular-Eingabefelder */
.modal-content input,
.modal-content textarea {
    width: 95%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Radio-Buttons und Checkboxen neben den Antworten ausrichten */
.modal-content input[type="radio"],
.modal-content input[type="checkbox"] {
    margin-right: 10px; /* Abstand zwischen dem Kästchen und dem Text */
    vertical-align: middle; /* Vertikale Ausrichtung in der Mitte */
    position: absolute; /* Sicherstellen, dass sie nicht verschoben werden */
    left: 20px;
}

/* Formular-Button */
.modal-content button {
    background-color: #f0a500;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    display: block;
    margin: 0 auto;
}

.modal-content button:hover {
    background-color: #d48f00;
}

/* Schließen-Button */
.modal-content .close {
    color: #fffefe;
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.modal-content .close:hover,
.modal-content .close:focus {
    color: #000;
    text-decoration: none;
}

.close {
    color: #fffefe;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Checkout-Button im Warenkorb */
#checkout-button {
    background-color: #f0a500; /* Primärfarbe */
    color: white; /* Textfarbe */
    border: none;
    padding: 12px 25px; /* Größere Polsterung für besseren Klickkomfort */
    border-radius: 8px; /* Abgerundete Ecken */
    cursor: pointer;
    font-size: 1.1rem; /* Etwas größere Schrift */
    font-weight: bold; /* Fett für bessere Lesbarkeit */
    text-transform: uppercase; /* Text in Großbuchstaben */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
    transition: all 0.3s ease; /* Sanfter Übergang bei Hover */
    display: block;
    margin: 20px auto; /* Zentriert den Button */
    width: 80%; /* Breiterer Button */
    text-align: center;
}

#checkout-button:hover {
    background-color: #d48f00; /* Dunklere Farbe beim Hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Stärkerer Schatten beim Hover */
    transform: translateY(-2px); /* Leichtes Anheben beim Hover */
}

.checkout-container {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.checkout-container h2 {
    margin-top: 0;
}

.checkout-container form {
    display: flex;
    flex-direction: column;
}

.checkout-container label {
    margin-top: 10px;
}

.checkout-container input {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.checkout-container button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
}

.checkout-container button:hover {
    background-color: #555;
}

#success-message {
    transition: opacity 0.5s ease;
    opacity: 1;
}

#success-message.hidden {
    opacity: 0;
}

.footer {
    width: 100%;
    background-color: #0e4438; /* Dunkler Hintergrund */
    color: white; /* Weiße Schrift */
    text-align: center; /* Zentriert den Text */
    font-size: 14px;
    position: relative; /* Fixiert am unteren Rand */
    bottom: -150px;
}

.footer-content p {
    margin: 10px 0; /* Abstand zwischen den Elementen */
    font-size: 1em;
}

.social-links {
    display: flex;
    justify-content: center; /* Zentriert die Icons */
    gap: 15px; /* Abstand zwischen den Icons */
    margin-bottom: 15px; /* Abstand unter den Icons */
}

.social-link {
    color: white; /* Weiße Icons */
    font-size: 1.8em; /* Größe der Icons */
    text-decoration: none; /* Entfernt Unterstreichung */
    transition: color 0.3s ease; /* Sanfter Übergang bei Hover */
}

.social-link:hover {
    color: #ffcc00; /* Gelbe Farbe beim Hover */
}

.footer-links {
    margin: 15px 0; /* Abstand um die Links */
    display: flex;
    justify-content: center; /* Zentriert die Links */
    gap: 20px; /* Abstand zwischen den Links */
}

.footer-link {
    color: white; /* Weiße Links */
    text-decoration: none; /* Entfernt Unterstreichung */
    font-size: 1em;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffcc00; /* Gelbe Farbe beim Hover */
}

.copyright {
    font-size: 0.9em; /* Kleinere Schriftgröße */
    margin-top: 15px; /* Abstand nach oben */
    opacity: 0.8; /* Leicht abgeblasste Schrift */
}

/* Formular-Layout */
#checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    flex: 100%;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
        padding: 0 10px;
    }

    .header {
        flex-direction: row; /* Horizontale Anordnung */
        height: 100px; /* Automatische Höhe */
        padding: 10px;
        overflow: visible;
    }

    .header-content {
        flex-direction: row; /* Logos und Text bleiben horizontal */
        justify-content: space-between; /* Platz zwischen den Logos und dem Text */
        align-items: center; /* Vertikale Zentrierung */
    }

    .logo img,
    .logo-rechts img {
        width: 60px; /* Kleinere Logos für mobile Geräte */
        max-height: 90px;
    }

    .header-text {
        margin: 0 10px; /* Weniger Abstand zwischen Logos und Text */
        text-align: center; /* Zentriere den Text */
    }

    .header-text h1 {
        font-size: 1.5em; /* Kleinere Schriftgröße */
    }

    .header-text p {
        font-size: 1em; /* Kleinere Schriftgröße */
    }

    .cart {
        margin-bottom: 30px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .cart button {
        position: relative;
        margin-top: 50px;
        width: 90%;
        font-size: 0.5rem;
    }

    .product-list {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .product {
        width: 100%;
        max-width: 350px;
    }

    .modal-content {
        width: 95%;
        margin-top: 20%;
        padding: 15px;
    }

    .modal-content input,
    .modal-content textarea {
        width: 100%;
    }

    .modal-content input[type="radio"],
    .modal-content input[type="checkbox"] {
    margin-right: 10px; /* Abstand zwischen dem Kästchen und dem Text */
    vertical-align: middle; /* Vertikale Ausrichtung in der Mitte */
    position: absolute; /* Sicherstellen, dass sie nicht verschoben werden */
    left: 150px;
    }

    #checkout-button {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .form-group {
        width: 100%;
    }

    .footer {
        position: static;
        padding: 20px 10px;
        text-align: center;
    }

    .footer-links,
    .social-links {
        flex-direction: column;
        gap: 10px;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {

    .header {
        flex-direction: row; /* Horizontale Anordnung */
        height: 120px; /* Größere Höhe für Tablets */
        padding: 15px;
    }

    .header-content {
        flex-direction: row; /* Logos und Text bleiben horizontal */
        justify-content: space-between; /* Platz zwischen den Logos und dem Text */
        align-items: center; /* Vertikale Zentrierung */
    }

    .logo img,
    .logo-rechts img {
        width: 80px; /* Größere Logos für Tablets */
        max-height: 100px;
    }

    .header-text {
        margin: 0 20px; /* Mehr Abstand zwischen Logos und Text */
        text-align: center; /* Zentriere den Text */
    }

    .header-text h1 {
        font-size: 2em; /* Größere Schriftgröße */
    }

    .header-text p {
        font-size: 1.2em; /* Größere Schriftgröße */
    }

    .modal-content input[type="radio"],
    .modal-content input[type="checkbox"] {
    margin-right: 10px; /* Abstand zwischen dem Kästchen und dem Text */
    vertical-align: middle; /* Vertikale Ausrichtung in der Mitte */
    position: absolute; /* Sicherstellen, dass sie nicht verschoben werden */
    left: 260px;
    }

    .modal-content {
        width: 95%;
        margin-top: 20%;
        padding: 15px;
    }

    .modal-content input,
    .modal-content textarea {
        width: 90%;
    }
}