﻿/* Hero Bereich ***************************************************************/
#hero {
    text-align: center;
    font-size: 10pt;
    background-color: var(--section-even-bg-color);
    color: white;
    margin-top: 68px;
    background-image: url(../img/hero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 83%;
    -webkit-text-stroke: 2px grey;
    paint-order: stroke fill;
    min-height: 350px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    align-content: flex-end;
    justify-content: center;
}

/* Abschnitte ***************************************************************/
.section-odd {
    padding: 20px 5px;
    text-align: center;
    background-color: var(--section-odd-bg-color);
}

.section-even {
    padding: 20px 5px;
    text-align: center;
    background-color: var(--section-even-bg-color);
}

/* Leistungen Section ***************************************************************/
#leistungen .blob {
    max-width: 100px;
    flex: 1 1 calc(25% - 20px);
}

#leistungen .blob img {
    width: 50px;
    height: 50px;
}

@media (max-width: 768px) {
    #leistungen .blob {
        max-width: 83px;
        flex: 1 1 calc(50% - 20px);
        font-size: 10pt;
    }

    #leistungen .blob img {
        width: 40px;
        height: auto;
    }
}

@media (max-width: 480px) {
    #leistungen .blob {
        max-width: 75px;
        flex: 1 1 100%;
        font-size: 9pt;
    }

    #leistungen .blob img {
        width: 35px;
        height: auto;
    }
}

/* Team Section ***************************************************************/
#team .container {
    gap: 5px;
}

.mitarbeiter {
    background: var(--background-color);
    flex: 1 1 calc(30% - 20px);
    padding: 150px 5px 5px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 85px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    align-content: end;
}

@media (max-width: 768px) {
    .mitarbeiter {
        flex: 1 1 calc(50% - 20px);
        padding: 130px 3px 3px;
    }
}

@media (max-width: 480px) {
    .mitarbeiter {
        flex: 1 1 100%;
        padding: 100px 1px 1px;
    }
}

.mitarbeiter p {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 2px 1px;
    margin: 0;
    overflow: auto;
    font-size: 9pt;
    min-height: 30px;
}

.mitarbeiter p:first-child {
    font-weight: bold;
    height: 30px;
    align-content: center;
}
.mitarbeiter p:last-child {
    border-radius: 0 0 10px 10px;;
}

/* Notdienst Section ***************************************************************/
#notdienst .blob {
    max-width: 125px;
}


#notdienst .blob img {
    width: 50px;
    height: auto;
}

@media (max-width: 768px) {
    #notdienst .blob {
        max-width: 100px;
        font-size: 10pt;
    }

    #notdienst .blob img {
        width: 40px;
        height: auto;
        margin-bottom: 5px;
    }
}

@media (max-width: 580px) {
    #notdienst .blob {
        max-width: 75px;
        font-size: 9pt;
    }

    #notdienst .blob img {
        width: 30px;
        height: auto;
        margin-bottom: 5px;
    }
}

@media (max-width: 380px) {
    #notdienst .blob {
        max-width: 55px;
        font-size: 9pt;
    }

    #notdienst .blob img {
        width: 30px;
        height: auto;
        margin-bottom: 5px;
    }
}

/* Vorbestellung Section ***************************************************************/
#vorbestellung .container {
    padding: 20px;
}

#vorbestellung .container{
    gap: 15px;
}

#vorbestellung .container label {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#vorbestellung .container img {
    width: 100px;
    height: auto;
    margin-bottom: 5px;
}

#vorbestellung .blob {
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 120px;
}

@media (max-width: 768px) {
    #vorbestellung .blob {
        width: 85px;
        font-size: 10pt;
    }

    #vorbestellung .blob img {
        width: 90px;
        height: auto;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    #vorbestellung .blob {
        width: 75px;
        font-size: 9pt;
    }

    #vorbestellung .blob img {
        width: 70px;
        height: auto;
        margin-bottom: 5px;
    }
}

#vorbestellung form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#vorbestellung form label {
    font-weight: bold;
    width: 30%;
    text-align: right;
    margin-right: 10px;
}

#vorbestellung form input,
#vorbestellung form select,
#vorbestellung form textarea {
    width: 300px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Formularstile */
.formular-item {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: row;
    flex-wrap: wrap;
}

/* Anpassung der Vorbestellung für kleinere Bildschirme */
@media (max-width: 768px) {
    .formular-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .formular-item label {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }

    #vorbestellung form input,
    #vorbestellung form select,
    #vorbestellung form textarea {
        width: 200px;
    }
}

#vorbestellung form button {
    width: 200px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 auto;
}

#vorbestellung form button:hover {
    background-color: var(--hover-color);
}

/* Anpassung der Vorbestellung für kleinere Bildschirme */
@media (max-width: 768px) {
    .vorbestellung-column {
        flex: 1 1 100%;
    }

    #vorbestellung form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #vorbestellung .container {
        gap: 7pt;
    }

    .rezept {
        font-size: 9pt;
    }

    #vorbestellung form label {
        font-weight: bold;
        font-size: 9pt;
    }
}

.auswahl-kassenrezept-bg {
    background-color: rgb(255, 240, 233);
    border-radius: 10px;
    padding: 10px; border: 2px solid var(--primary-color);
}

.auswahl-privatrezept-bg {
    background-color: rgb(235, 242, 251);
    border-radius: 10px;
    padding: 10px; border: 2px solid var(--primary-color);
}

.auswahl-arztempfehlung-bg {
    background-color: rgb(237, 248, 234);
    border-radius: 10px;
    padding: 10px; border: 2px solid var(--primary-color);
}

.auswahl-sonstiges-bg {
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    padding: 10px; border: 2px solid var(--primary-color);
}

.delete-product {
  cursor: pointer;
  margin-left: 10px;
  font-size: 18px;
  color: #ff0000; /* Rote Farbe für den Lösch-Button */
  vertical-align: middle;
}

.delete-product:hover {
  color: #cc0000;
}

div#formular-foto {
    background-color: #faf8e0;
    border-radius: 10px;
    padding: 10px; 
    border: 2px solid var(--primary-color);
}

div#formular-app {
    background-color: #f5e6f7;
    border-radius: 10px;
    padding: 10px; 
    border: 2px solid var(--primary-color);
}

.foto-app-blop {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  background-color: var(--rechteck-background-color);
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s, border-color 0.3s;
}

.foto-app-blop:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.bestelleingang {
    font-size: large;
    font-weight: bold;
    color: var(--hover-color);
}

/* Kontakt Section ***************************************************************/

#kontakt .kontakt-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 10px;
}

#kontakt .kontakt-item {
    display: flex;
    align-items: center;
    gap: 0;
}

#kontakt .kontakt-item img {
    width: 30px;
    height: 30px;
    padding-right: 5px;
}

.map-container {
    display: flex;
    flex-direction: column;
    height: 170px;
}