.home #infektsprechstunde {
    font-family: 'Quicksand',Helvetica,Arial,Lucida,sans-serif !important;
    font-size: 17px;
    font-weight: 600;

    color: #A00D0D !important;
    border: 1px solid #A00D0D !important;
    border-radius: 0;
    margin: 5px 5px;
    padding: 10px 40px;
    &:hover {
        color: #fff !important;
        background-color: #A00D0D !important;
        border-color: #A00D0D !important;
    }
}


#praxis-booking-form,
#praxis-recipe-form
{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    padding: 55px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    font-family: 'Quicksand',Helvetica,Arial,Lucida,sans-serif !Important;
    font-size: 22px;

    .input-block-container {
        display: flex;
        flex-direction: row;
        font-family: 'Quicksand',Helvetica,Arial,Lucida,sans-serif !Important;
        font-size: 22px;

        .input-block {
            input {
                font-family: 'Quicksand', Helvetica, Arial, Lucida, sans-serif !Important;
                font-size: 22px;
            }

            &.nachricht {
                margin: 0;

                .placeholder {
                    top: 13px
                }
            }

            textarea {
                width: 710px;
                height: 180px;
                padding: 5px;
                margin: 20px 0 0 0;
                font-family: 'Quicksand', Helvetica, Arial, Lucida, sans-serif !important;
                font-size: 22px;
                font-weight: 500;
                line-height: 1.3;
            }
        }

        &.datenschutz {
            font-size: 15px;
            padding: 15px 0;   /* Abstand zu Nachrichtenfeld und Terminfeld */

            label {
                display: flex;
                align-items: flex-start;
                max-width: 710px;
                text-align: left;
                line-height: 1.4;
            }

            input[type="checkbox"] {
                flex: 0 0 auto;
                margin: 4px 14px 0 0;
            }

            a {
                color: #A00D0D;
                text-decoration: underline;
            }
        }

        input[type="checkbox"] {
            margin: 25px;
        }

        button {
            font-family: 'Quicksand',Helvetica,Arial,Lucida,sans-serif !important;
            font-size: 22px;
            font-weight: 600;

            width: 350px;

            color: #A00D0D !important;
            background-color: #ddd !important;
            border: 1px solid #A00D0D !important;
            border-radius: 0;
            margin: 5px 5px;
            padding: 0 40px;
            &:hover {
                color: #fff !important;
                background-color: #A00D0D !important;
                border-color: #A00D0D !important;
            }
        }
    }
}

#praxis-booking-form #input-termin {
    color: #A00D0D;
}

#praxis-booking-form input#input-termin:not(:placeholder-shown) + .placeholder,
#praxis-recipe-form input#input-termin:not(:placeholder-shown) + .placeholder
{
    transform: scale(0.6) translateY(-45px);
    background: #fff;
}

#praxis-recipe-form .input-block-container button {
    padding: 15px 40px;
}



#dp .month_default_header .month_default_header_inner {
    background-color: #c2e3fc;
    color: #A00D0D;
    box-shadow: unset;
    font-family: 'Quicksand',Helvetica,Arial,Lucida,sans-serif !important;
    font-size: 20px;
}

/* Patienten-Kalender nur Mo-Fr: Kalender 7/5 so breit zeichnen und rechts beschneiden (Sa/So).
   Mit Terminen am Wochenende (Klasse with-weekend) werden alle 7 Tage gezeigt. */
.praxis-cal-clip {
    overflow: hidden;
    padding-bottom: 1px;   /* sonst schneidet der Rahmen die untere Linie der letzten Zeile ab */
}

/* Angezeigter Monat oberhalb der Kopfzeile mit den Wochentagen */
.praxis-month-label {
    margin: 10px 0 6px;
    text-align: center;
    font-family: 'Quicksand', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 22px;
    font-weight: 700;
    color: #A00D0D;
}

/* Termine kompakt: kleinere Schrift, eine Zeile */
#dp .month_default_event_inner {
    font-size: 12px;
    line-height: 18px;
}

/* Tagesansicht (wird von daypilot-calendar.js befüllt) */
.praxis-day-panel {
    margin-top: 12px;
    padding: 12px;
    border: 2px solid #A00D0D;
    background: #fff;
    font-family: 'Quicksand', Helvetica, Arial, Lucida, sans-serif !important;
}

.praxis-day-panel[hidden] {
    display: none;
}

.praxis-day-panel .pdp-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 18px;
    color: #A00D0D;
}

.praxis-day-panel .pdp-close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 28px;
    line-height: 1;
    color: #A00D0D !important;
    background: #fff !important;
    border: 1px solid #A00D0D !important;
    border-radius: 0;
}

.praxis-day-panel .pdp-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.praxis-day-panel .pdp-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    margin: 0;
    padding: 6px 0;
    border-top: 1px solid #ddd;
}

.praxis-day-panel .pdp-time {
    flex: 0 0 auto;
    min-width: 58px;
    font-size: 20px;
    font-weight: 700;
    color: #2e7d32;
}

.praxis-day-panel .pdp-arzt {
    flex: 1 1 auto;
    font-size: 15px;
    color: #555;
    white-space: nowrap;
}

.praxis-day-panel .pdp-book {
    flex: 0 0 auto;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #A00D0D !important;
    background: #fff !important;
    border: 1px solid #A00D0D !important;
    border-radius: 0;
    padding: 12px 14px;
}

.praxis-day-panel .pdp-book:hover {
    color: #fff !important;
    background: #A00D0D !important;
}

.praxis-day-panel .pdp-empty {
    margin: 0;
    padding: 12px 0 4px;
    border-top: 1px solid #ddd;
    font-size: 15px;
    color: #555;
}

.praxis-day-panel .pdp-state {
    flex: 0 0 auto;
    font-size: 15px;
    color: #888;
}

.praxis-day-panel .pdp-item.blocked .pdp-time {
    color: #888;
}

#dp .month_default_cell {
    cursor: pointer;
}

/* Feiertage (DE/NRW): Name unten in der Tageszelle bzw. Hinweis in der Tagesansicht */
#dp .praxis-holiday {
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 2px;
    overflow: hidden;
    font-family: 'Quicksand', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 11px;
    font-weight: 600;
    line-height: 13px;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #A00D0D;
    pointer-events: none;
}

@media screen and (max-width: 600px) {
    #dp .praxis-holiday {
        font-size: 9px;
        line-height: 11px;
    }
}

.praxis-day-panel .pdp-holiday {
    margin: 0 0 6px;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    color: #A00D0D;
}

/* Silbentrennung im Kalender (lang="de" ist am Rahmen gesetzt) */
.praxis-cal-clip {
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
}

.praxis-cal-clip:not(.with-weekend) #dp {
    width: 140% !important;
}

#dp .month_default_cell .month_default_cell_inner .month_default_cell_header  {
    font-family: 'Quicksand',Helvetica,Arial,Lucida,sans-serif !important;
    font-size: 17px;
}


#dp .month_default_event.available .month_default_event_bar_inner {
    background-color: rgb(60, 183, 15);
}

#dp .month_default_event.blocked .month_default_event_bar_inner {
    background-color: rgb(152, 152, 152);
}



/* Arzt-Filter Dropdown */
.praxis-arzt-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-family: 'Quicksand', Helvetica, Arial, Lucida, sans-serif;
    font-size: 17px;
    font-weight: 600;
}

.praxis-arzt-filter label {
    color: #A00D0D;
    white-space: nowrap;
}

.praxis-arzt-filter select {
    font-family: 'Quicksand', Helvetica, Arial, Lucida, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #A00D0D;
    border: 1px solid #A00D0D;
    border-radius: 0;
    padding: 6px 12px;
    background: #fff;
    cursor: pointer;
    min-width: 180px;
}

.praxis-arzt-filter select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(160, 13, 13, 0.25);
}

#nav {
    display: flex;
    justify-content: space-between; /* Abstand zwischen den Buttons */
}

#nav button {
    font-family: 'Quicksand', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 17px;
    font-weight: 600;
    color: #A00D0D !important;
    border: 1px solid #A00D0D !important;
    border-radius: 0;
    padding: 10px 40px;
    width: 49%; /* Jeder Button nimmt 48% der Breite ein */
    margin-bottom: 5px;
}

#nav button .nav-icon {
    display: none;
}

#nav button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

#nav button:disabled:hover {
    background-color: transparent !important;
    color: #A00D0D !important;
}

/* Für Bildschirme mit einer Breite kleiner als 600px (oder beliebige andere Größe) */
@media screen and (max-width: 700px) {

    .month_default_event_inner {
        align-items: baseline !important;
    }

    /* Monatsnavigation: nur Kalender-Icon mit - bzw. + statt Text */
    #nav button {
        padding: 8px 10px;
        line-height: 0;
    }

    #nav button .nav-text {
        display: none;
    }

    #nav button .nav-icon {
        display: inline-block;
        vertical-align: middle;
    }

    #anfrage-formular .input-block-container {
        flex-direction: column !important;
    }

    #anfrage-formular textarea {
        width: 350px !important;
    }

    #anfrage-formular div.input-block input {
        /*width: 350px;*/
    }


    #praxis-booking-form .input-block-container button {
         padding: 20px 40px;
    }
}
.praxis-form-error {
    margin: 0 0 16px;
    padding: 10px 14px;
    border: 1px solid #A00D0D;
    background: #fdecec;
    color: #A00D0D;
    font-size: 16px;
}

#praxis-booking-form button[type="submit"]:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

#praxis-booking-form button[type="submit"]:disabled:hover {
    color: #A00D0D !important;
    background-color: #ddd !important;
}

.praxis-termin-hint {
    margin: 4px 5px 0;
    font-size: 14px;
    color: #6c757d;
}
