.stm-screen-buchung-wrap {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    max-width: 1360px;
    margin: 40px auto;
    padding: 0 20px;
    color: #222;
}

.stm-screen-buchung-wrap input,
.stm-screen-buchung-wrap select,
.stm-screen-buchung-wrap textarea,
.stm-screen-buchung-wrap button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    box-sizing: border-box;
}

.stm-screen-buchung-box {
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 42px 44px;
    background: #ffffff; /* vorher #f3f3f3 */
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04); /* etwas weicher/edler */
}

.stm-screen-buchung-box h2 {
    margin: 0 0 28px 0;
    font-size: 54px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #202124;
    text-transform: uppercase;
}

/* =========================================================
   HINWEISE / AUFKLAPPFELD (NEU)
   ========================================================= */

.stm-hinweise-accordion {
    margin: 0 0 26px 0;
    border: 1px solid #dcdcdc;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.stm-hinweise-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border: 0;
    background: #fff;
    color: #202124;
    cursor: pointer;
    text-align: left;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.stm-hinweise-toggle:hover,
.stm-hinweise-toggle:focus {
    background: #fafafa;
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(239, 200, 67, 0.22);
}

.stm-hinweise-toggle-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.stm-hinweise-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 2px solid #efc843;
    color: #202124;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    flex: 0 0 26px;
    transition: transform 0.18s ease;
}

/* Optional für später (wenn JS aria-expanded setzt) */
.stm-hinweise-toggle[aria-expanded="true"] .stm-hinweise-toggle-icon {
    transform: rotate(45deg); /* Plus -> X/Minus-ähnlich */
}

.stm-hinweise-panel {
    border-top: 1px solid #ececec;
    padding: 18px 18px 4px 18px;
    background: #fff;
}

/* Bestehenden Hinweistext innerhalb Panel sauber darstellen */
.stm-screen-hinweistext {
    margin-bottom: 26px;
}

.stm-hinweise-panel .stm-screen-hinweistext {
    margin-bottom: 10px;
}

.stm-screen-hinweistext p {
    margin: 0 0 14px 0;
    font-size: 18px;
    line-height: 1.55;
    color: #222;
}

/* Wenn hidden verwendet wird */
.stm-hinweise-panel[hidden] {
    display: none !important;
}

.stm-alert {
    margin: 0 0 20px 0;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 16px;
}

.stm-alert-success {
    background: #e8f7e8;
    border: 1px solid #78b478;
    color: #1f5f1f;
}

.stm-alert-error {
    background: #fdeaea;
    border: 1px solid #d07a7a;
    color: #8a1f1f;
}

/* Sektionen wirken optisch wie "unsichtbare Blöcke" innerhalb der großen Card */
.stm-section-card {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0 0 34px 0;
}

.stm-section-title {
    margin: 0 0 28px 0;
    padding: 0 0 14px 0;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #202124;
    text-transform: uppercase;
    border-bottom: 4px solid #efc843;
}

.stm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 26px;
    margin-bottom: 10px;
}

.stm-form-grid-secondary {
    margin-top: 0;
}

.stm-field {
    min-width: 0;
}

.stm-field-full {
    grid-column: 1 / -1;
}

.stm-field label {
    display: block;
    margin: 0 0 10px 0;
    font-weight: 700;
    font-size: 16px;
    color: #222;
}

.stm-field-hint {
    margin-top: 8px;
    font-size: 14px;
    color: #5f6368;
    line-height: 1.45;
}

.stm-req {
    color: #d63638;
}

/* Inputs / Selects */
.stm-field input[type="text"],
.stm-field input[type="email"],
.stm-field input[type="date"],
.stm-field select,
.stm-field textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #cfcfcf;
    border-radius: 12px;
    background: #fff;
    color: #222;
    font-size: 17px;
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.stm-field textarea {
    min-height: 140px;
    resize: vertical;
}

.stm-field input::placeholder,
.stm-field textarea::placeholder {
    color: #8a8a8a;
}

.stm-field input:focus,
.stm-field select:focus,
.stm-field textarea:focus {
    outline: none;
    border-color: #efc843;
    box-shadow: 0 0 0 3px rgba(239, 200, 67, 0.18);
    background: #fff;
}

/* Checkboxen */
.stm-checkbox-row {
    margin: 10px 0 0 0;
}

.stm-checkbox-row + .stm-checkbox-row {
    margin-top: 14px;
}

.stm-checkbox-row label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1.45;
}

.stm-checkbox-row input[type="checkbox"] {
    margin-top: 2px;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    accent-color: #efc843;
}

/* Preisbox */
.stm-price-box {
    border: 1px solid #dcdcdc;
    border-radius: 14px;
    background: #fff;
    padding: 18px 20px;
    margin: 16px 0 0 0;
}

.stm-price-label {
    font-size: 15px;
    color: #5f6368;
    margin-bottom: 4px;
}

.stm-price-value {
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    color: #202124;
    margin-bottom: 6px;
}

.stm-price-note {
    font-size: 13px;
    color: #5f6368;
    line-height: 1.45;
}

/* Upload */
.stm-upload-box {
    border: 1px solid #dcdcdc;
    border-radius: 14px;
    background: #fff;
    padding: 18px 20px;
}

.stm-upload-box input[type="file"] {
    display: block;
    margin-top: 10px;
    width: 100%;
    max-width: 100%;
}

.stm-upload-hint {
    margin-top: 8px;
    font-size: 14px;
    color: #5f6368;
    line-height: 1.45;
}

/* Signaturbox: nur optische Anpassung, keine Funktion angefasst */
.stm-signature-box {
    border: 1px solid #dcdcdc;
    border-radius: 14px;
    background: #fff;
    padding: 18px 20px;
    margin-bottom: 16px;
}

.stm-signature-box > label {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    color: #222;
}

.stm-signature-canvas-wrap {
    margin-top: 10px;
    border: 2px dashed #cfcfcf;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
}

#stm-sig-canvas {
    display: block;
    width: 100%;
    height: 220px;
    background: #fff;
    cursor: crosshair;
    border-radius: 8px;
}

.stm-signature-actions {
    margin-top: 12px;
}

/* Sekundär-Button */
.stm-btn-secondary {
    display: inline-block;
    border: 1px solid #c8c8c8;
    background: #fff;
    color: #222;
    padding: 11px 16px;
    cursor: pointer;
    border-radius: 10px;
    font-weight: 700;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.stm-btn-secondary:hover,
.stm-btn-secondary:focus {
    background: #f7f7f7;
    border-color: #bdbdbd;
    outline: none;
}

/* Submit-Button wie im Beispiel */
.stm-submit-btn {
    display: block;
    width: 100%;
    max-width: none;
    background: #efc843;
    color: #000;
    border: none;
    border-radius: 14px;
    padding: 20px 24px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    margin-top: 14px;
    transition: transform 0.08s ease, filter 0.15s ease;
}

.stm-submit-btn:hover,
.stm-submit-btn:focus {
    filter: brightness(0.98);
    outline: none;
}

.stm-submit-btn:active {
    transform: translateY(1px);
}

/* Honeypot */
.stm-hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Mobile / Tablet */
@media (max-width: 1024px) {
    .stm-screen-buchung-wrap {
        margin: 28px auto;
        padding: 0 16px;
    }

    .stm-screen-buchung-box {
        padding: 30px 24px;
        border-radius: 16px;
    }

    .stm-screen-buchung-box h2 {
        font-size: 40px;
        margin-bottom: 22px;
    }

    .stm-section-title {
        font-size: 28px;
        margin-bottom: 22px;
    }

    .stm-price-value {
        font-size: 30px;
    }

    .stm-hinweise-toggle {
        padding: 15px 16px;
        font-size: 15px;
    }

    .stm-hinweise-panel {
        padding: 16px 16px 2px 16px;
    }
}

@media (max-width: 840px) {
    .stm-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stm-field-full {
        grid-column: auto;
    }

    .stm-screen-buchung-box h2 {
        font-size: 32px;
    }

    .stm-section-title {
        font-size: 24px;
        padding-bottom: 10px;
        border-bottom-width: 3px;
    }

    .stm-field input[type="text"],
    .stm-field input[type="email"],
    .stm-field input[type="date"],
    .stm-field select,
    .stm-field textarea {
        padding: 14px 15px;
        border-radius: 10px;
        font-size: 16px;
    }

    .stm-submit-btn {
        padding: 18px 18px;
        font-size: 18px;
        border-radius: 12px;
    }

    #stm-sig-canvas {
        height: 180px;
    }

    .stm-screen-hinweistext p {
        font-size: 16px;
    }
}

@media (max-width: 520px) {
    .stm-screen-buchung-wrap {
        font-size: 16px;
        padding: 0 12px;
    }

    .stm-screen-buchung-box {
        padding: 22px 16px;
        border-radius: 14px;
    }

    .stm-screen-buchung-box h2 {
        font-size: 28px;
    }

    .stm-section-title {
        font-size: 21px;
        margin-bottom: 18px;
    }

    .stm-checkbox-row label {
        font-size: 15px;
    }

    .stm-price-value {
        font-size: 26px;
    }

    .stm-hinweise-toggle {
        padding: 14px 14px;
        font-size: 14px;
        letter-spacing: 0.02em;
    }

    .stm-hinweise-toggle-icon {
        width: 24px;
        height: 24px;
        font-size: 16px;
        flex-basis: 24px;
    }

    .stm-hinweise-panel {
        padding: 14px 14px 2px 14px;
    }
}