.dpr-formular {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    width: 100%;
    max-width: 800px;
    margin-inline: auto;
    padding: 30px 10px 40px;
    background-color: #f1f1f1;
    border-radius: 0;
    font-family: InterWeb, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (min-width: 479px) {
    .dpr-formular {
        padding: 30px 20px;
        border-radius: 25px;
        box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.12);
    }
}

.dpr-formular *,
.dpr-formular *::before,
.dpr-formular *::after {
    box-sizing: border-box;
}

.dpr-honigtopf {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.dpr-schritt {
    width: 100%;
}

.dpr-schritt--vor {
    animation: dprSchrittVor 0.22s ease both;
}

.dpr-schritt--zurueck {
    animation: dprSchrittZurueck 0.22s ease both;
}

@keyframes dprSchrittVor {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes dprSchrittZurueck {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.dpr-raster {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.dpr-feld {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 0 5px 20px;
}

.dpr-feld--textarea {
    width: 100%;
}

.dpr-feld--rein {
    animation: dprFeldRein 0.15s ease both;
}

@keyframes dprFeldRein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.dpr-label {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 22.1px;
    letter-spacing: 0.4px;
    color: #363636;
}

.dpr-eingabe {
    width: 100%;
    height: 38px;
    min-height: 38px;
    padding: 0 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 36px;
    color: #252525;
    background-color: #ffffff;
    border: 0.8px solid #dddedf;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.14s ease;
}

.dpr-eingabe::placeholder {
    color: #6a6a6a;
}

.dpr-eingabe--gross {
    height: auto;
    min-height: 120px;
    padding: 10px 12px;
    line-height: 1.5;
    resize: vertical;
}

.dpr-eingabe:focus,
.dpr-select__knopf:focus-visible,
.dpr-knopf:focus-visible {
    outline: 1px solid #252525;
    outline-offset: 1px;
}

.dpr-select {
    position: relative;
    width: 100%;
}

.dpr-select__knopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    width: 100%;
    height: 38px;
    min-height: 38px;
    padding: 0 10px 0 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 36px;
    text-align: left;
    color: #222222;
    background-color: #ffffff;
    border: 0.8px solid #9ca3af;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.14s ease;
}

.dpr-select__text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dpr-select__text--leer {
    color: #6a6a6a;
}

.dpr-select__pfeil {
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    color: #6b7280;
    transition: transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.dpr-select--offen .dpr-select__pfeil {
    transform: rotate(180deg);
}

.dpr-select__liste {
    position: absolute;
    z-index: 40;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border: 0.8px solid #dddedf;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translate3d(0, -6px, 0);
    transition: opacity 0.16s ease, transform 0.16s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0.16s;
}

.dpr-select--offen .dpr-select__liste {
    visibility: visible;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.16s ease, transform 0.16s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s;
}

.dpr-select__kopf {
    display: none;
}

.dpr-select__rollen {
    max-height: 260px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #c9c9c9 transparent;
}

.dpr-select__rollen::-webkit-scrollbar {
    width: 6px;
}

.dpr-select__rollen::-webkit-scrollbar-track {
    background: transparent;
    margin: 6px 0;
}

.dpr-select__rollen::-webkit-scrollbar-thumb {
    background-color: #d4d4d4;
    border-radius: 99px;
}

.dpr-select__rollen::-webkit-scrollbar-thumb:hover {
    background-color: #a9a9a9;
}

.dpr-eingabe--gross {
    scrollbar-width: thin;
    scrollbar-color: #c9c9c9 transparent;
}

.dpr-eingabe--gross::-webkit-scrollbar {
    width: 6px;
}

.dpr-eingabe--gross::-webkit-scrollbar-track {
    background: transparent;
}

.dpr-eingabe--gross::-webkit-scrollbar-thumb {
    background-color: #d4d4d4;
    border-radius: 99px;
}

.dpr-select__option {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.4;
    color: #252525;
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.dpr-select__option[aria-selected="true"] {
    background-color: #f1f1f1;
    font-weight: 600;
}

.dpr-select__option:hover,
.dpr-select__option:focus-visible {
    background-color: #f7f7f7;
    outline: none;
}

.dpr-datum__symbol {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.dpr-datum__blatt {
    width: 300px;
    min-width: 100%;
    padding-bottom: 6px;
}

.dpr-datum__leiste {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 10px 6px;
}

.dpr-datum__monat {
    font-size: 14px;
    font-weight: 600;
    color: #252525;
}

.dpr-datum__pfeil {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #252525;
    background: none;
    border: 0.8px solid #dddedf;
    border-radius: 9px;
    cursor: pointer;
    transition: background-color 0.12s ease, opacity 0.12s ease;
}

.dpr-datum__pfeil svg {
    width: 16px;
    height: 16px;
}

.dpr-datum__pfeil:hover:not([disabled]) {
    background-color: #f7f7f7;
}

.dpr-datum__pfeil[disabled] {
    opacity: 0.35;
    cursor: default;
}

.dpr-datum__wochentage,
.dpr-datum__gitter {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    padding: 0 10px;
}

.dpr-datum__wochentage {
    padding-bottom: 4px;
}

.dpr-datum__wochentage span {
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    color: #6a6a6a;
}

.dpr-datum__tag {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    font-family: inherit;
    font-size: 14px;
    color: #252525;
    background: none;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.dpr-datum__tag:hover:not([disabled]) {
    background-color: #f1f1f1;
}

.dpr-datum__tag--aus {
    color: #c9c9c9;
    cursor: default;
}

.dpr-datum__tag--heute {
    box-shadow: inset 0 0 0 1px #9ca3af;
    font-weight: 600;
}

.dpr-datum__leer {
    min-height: 36px;
}

.dpr-datum__tag--gewaehlt {
    color: #ffffff;
    background-color: #000000;
    font-weight: 600;
    box-shadow: none;
}

.dpr-datum__tag--gewaehlt:hover {
    background-color: #000000;
}

.dpr-fehler {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
    color: #b3261e;
}

.dpr-feld--fehler .dpr-fehler {
    animation: dprFehlerRein 0.18s ease both;
}

@keyframes dprFehlerRein {
    from {
        opacity: 0;
        transform: translate3d(0, -3px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.dpr-feld--fehler .dpr-eingabe,
.dpr-feld--fehler .dpr-select__knopf {
    border-color: #b3261e;
}

.dpr-knoepfe {
    display: flex;
    gap: 10px;
    width: 100%;
    padding: 0 5px;
}

.dpr-knopf {
    flex: 1 1 auto;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.1px;
    letter-spacing: 0.5px;
    text-align: center;
    color: #ffffff;
    background-color: #000000;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.12s ease, opacity 0.12s ease, background-color 0.14s ease, border-color 0.14s ease;
}

.dpr-knopf:active {
    transform: scale(0.985);
}

@media (hover: hover) {
    .dpr-knopf:hover:not([disabled]) {
        background-color: #2b2b2b;
    }

    .dpr-knopf--zurueck:hover:not([disabled]) {
        background-color: #f1f1f1;
        border-color: #b8b9ba;
    }

    .dpr-select__knopf:hover {
        border-color: #6b7280;
    }

    .dpr-eingabe:hover {
        border-color: #b8b9ba;
    }
}

.dpr-knopf--zurueck {
    flex: 0 0 auto;
    min-width: 110px;
    color: #252525;
    background-color: #ffffff;
    border: 0.8px solid #dddedf;
}

.dpr-knopf[disabled] {
    opacity: 0.6;
    cursor: default;
}

.dpr-knopf--laedt {
    position: relative;
    color: transparent;
    opacity: 1;
}

.dpr-knopf--laedt::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 18px;
    height: 18px;
    margin: auto;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: dprDreh 0.7s linear infinite;
}

@keyframes dprDreh {
    to {
        transform: rotate(360deg);
    }
}

.dpr-meldung {
    width: calc(100% - 10px);
    padding: 10px 14px;
    margin: 16px 5px 0;
    font-size: 13px;
    line-height: 1.4;
    border-radius: 10px;
    animation: dprMeldungRein 0.26s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes dprMeldungRein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.dpr-meldung--gut {
    color: #14532d;
    background-color: #ecfdf3;
    border: 0.8px solid #b7e4c7;
}

.dpr-meldung--schlecht {
    color: #7f1d1d;
    background-color: #fef2f2;
    border: 0.8px solid #f3c1c1;
}

.dpr-konfetti {
    position: absolute;
    z-index: 30;
    left: 0;
    top: 0;
    pointer-events: none;
}

body.dpr-keinScroll {
    overflow: hidden;
}

@media (max-width: 767px) {
    .dpr-select::before {
        content: "";
        position: fixed;
        z-index: 90;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.45);
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.22s ease, visibility 0s linear 0.22s;
    }

    .dpr-select--offen::before {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.22s ease, visibility 0s;
    }

    .dpr-select__liste {
        position: fixed;
        z-index: 100;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: 72vh;
        border: 0;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.18);
        transform: translate3d(0, 100%, 0);
        transition: transform 0.26s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.2s ease, visibility 0s linear 0.26s;
    }

    .dpr-select--offen .dpr-select__liste {
        transform: translate3d(0, 0, 0);
        transition: transform 0.26s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.2s ease, visibility 0s;
    }

    .dpr-select__kopf {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        font-size: 15px;
        font-weight: 600;
        color: #252525;
        border-bottom: 0.8px solid #eeeeee;
    }

    .dpr-select__zu {
        width: 44px;
        height: 44px;
        margin: -10px -10px -10px 0;
        font-size: 24px;
        line-height: 1;
        color: #252525;
        background: none;
        border: 0;
        cursor: pointer;
    }

    .dpr-select--offen .dpr-select__rollen {
        max-height: calc(72vh - 60px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .dpr-select__option {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 12px 16px;
        font-size: 16px;
        border-bottom: 0.8px solid #f4f4f4;
    }

    .dpr-datum__blatt {
        width: 100%;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    }

    .dpr-datum__leiste,
    .dpr-datum__wochentage,
    .dpr-datum__gitter {
        padding-left: 14px;
        padding-right: 14px;
    }

    .dpr-datum__tag,
    .dpr-datum__leer {
        min-height: 44px;
        font-size: 16px;
    }

    .dpr-datum__pfeil {
        width: 44px;
        height: 44px;
    }

    .dpr-datum__monat {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .dpr-feld {
        padding: 0 10px 20px;
    }

    .dpr-knoepfe {
        padding: 0 10px;
    }

    .dpr-meldung {
        width: calc(100% - 20px);
        margin: 16px 10px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dpr-formular *,
    .dpr-formular *::before,
    .dpr-formular *::after {
        animation-duration: 0.001s !important;
        transition-duration: 0.001s !important;
    }
}

.dpr-formular--blank {
    max-width: 100%;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
}

@media (min-width: 479px) {
    .dpr-formular--blank {
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }
}

@media (pointer: coarse) {
    .dpr-eingabe,
    .dpr-eingabe--gross,
    .dpr-select__knopf {
        font-size: 16px;
    }

    .dpr-select__option {
        font-size: 16px;
    }
}

body.dpr-auswahl-offen .whatsapp-button {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}
