h3, h4 {
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 0.5em;
}
p {
    font-size: 0.75em;
    line-height: 1.6;
    margin-bottom: 1em;
}
.form-description {
    font-size: 0.75em;
    margin-bottom: 1em;
    color: #555;
}
.ocw-steps-indicator {
    display: flex;
    gap: 0;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: bold;
}

/* Jeder Schritt gleich breit über die gesamte Breite verteilen */
.ocw-steps-indicator span {
    flex: 1 1 0%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0; /* keine zusätzlichen Abstände */
    border: 2px solid #fda92f; /* falls Rahmen gewünscht */
    background: transparent;
    color: #333;
}

/* Aktiver Schritt: gefüllt */
.ocw-steps-indicator .current-step {
    background: #fda92f;
    color: #fff;
    border-color: #fda92f;
    text-decoration: none;
}

.ocw-nav button{
    background-color: #fda92f;
}

/* CSS für angepasste Checkboxen, Radios und Buttons (für .ocw-form) */

.ocw-form label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

/* Basis für benutzerdefinierte Inputs */
.ocw-form input[type="checkbox"],
.ocw-form input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
    border: 2px solid #fda92f;
    background: transparent;
    box-sizing: border-box;
    transition: background .12s ease, border-color .12s ease, box-shadow .12s ease, transform .06s ease;
    cursor: pointer;
}

/* Radio rund, Checkbox eckig */
.ocw-form input[type="radio"] {
    border-radius: 50%;
}
.ocw-form input[type="checkbox"] {
    border-radius: 4px;
}

/* Geprüfter Zustand: Checkbox zeigt Häkchen (SVG), Radio zeigt Punkt */
.ocw-form input[type="checkbox"]:checked {
    background-color: #fda92f;
    border-color: #fda92f;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'><path d='M1 5.2L4.5 9 11 1' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% 60%;
}
.ocw-form input[type="radio"]:checked {
    background-color: #fda92f;
    border-color: #fda92f;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'><path d='M1 5.2L4.5 9 11 1' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% 60%;
    border-radius: 50%;
}

/* Fokus sichtbar für Tastatur-Benutzer */
.ocw-form input[type="checkbox"]:focus,
.ocw-form input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(46,204,113,0.15);
}

/* Disabled Zustand */
.ocw-form input[type="checkbox"]:disabled,
.ocw-form input[type="radio"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Kleiner Interaktions-Impulseffekt */
.ocw-form input[type="checkbox"]:active,
.ocw-form input[type="radio"]:active {
    transform: scale(0.98);
}

/* Buttons in der Navigation (.ocw-nav) und Submit */
.ocw-nav button,
.ocw-submit,
.ocw-nav .ocw-submit {
    background: #fda92f;
    color: #fff;
    border: 2px solid #fda92f;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background .12s ease, transform .06s ease, box-shadow .12s ease;
    box-shadow: 0 2px 0 rgba(0,0,0,0.04);
}

/* Sekundäre Buttons (z.B. Zurück) optional neutral gestalten */
.ocw-nav .ocw-prev {
    background: transparent;
    color: #333;
    border-color: #ccc;
}

/* Hover / Active */
.ocw-nav button:hover,
.ocw-submit:hover {
    filter: brightness(0.96);
    transform: translateY(-1px);
}
.ocw-nav button:active,
.ocw-submit:active {
    transform: translateY(0);
}

/* Disabled Buttons */
.ocw-nav button:disabled,
.ocw-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Sicherstellen, dass label-text nicht zu nah an den Inputs sitzt */
.ocw-form label > input { margin-right: 6px; }