.grid-section .fieldset-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 10px;
}

fieldset legend {
  display: none;
}

.form-title {
    grid-column: 1 / -1;
}

.section-title {
    font-size: 1.5rem;
    color: #666;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.webform-radios-other {
    grid-column: 1 / -1;
}

.info-text {
    grid-column: 1 / -1;
    margin-top: 15px;
    margin-left: 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #e11d48;
}

input {
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}
input:focus{
    outline: none;
    border-color: #e11d48;
}

.form-type-date {
    display: flex;
    flex-direction: column;
}

.form-item-kurs:hover {
    border-color: #e11d48;
    background-color: #f8fff8;
}

.form-item-kurs input[type="radio"] {
    accent-color: #e11d48;
    height: 100%;
    cursor: pointer;
}

.form-submit {
    background: #e11d48;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkbox_course_fee {
    grid-column: 1 / -1;
}



/* Kopfbereich des Formulars */
.form-header-box {
    grid-column: 1 / -1;
    margin-bottom: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.form-header-box .section-title {
    margin-top: 0;
    margin-bottom: 6px;
    color: #333;
    font-weight: 600;
}

.intro-subtitle {
    color: #555;
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

/* 2x2 Grid für die Kurs-Eckdaten */
.course-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    background: #f8f9fa;
    padding: 16px 20px;
    border-radius: 6px;
    border-left: 4px solid #e11d48;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #e11d48;
    font-weight: 700;
    margin-bottom: 2px;
}

.meta-value {
    color: #333;
    font-size: 0.98rem;
    line-height: 1.35;
}

.meta-value small {
    color: #666;
}

/* Fix für einheitliche Feldbreiten (besonders beim Geburtsdatum) */
.grid-section input[type="text"],
.grid-section input[type="email"],
.grid-section input[type="date"] {
    width: 100%;
    box-sizing: border-box;
    height: 46px;
}

/* Responsive Anpassung für Smartphones */
@media (max-width: 600px) {
    .course-meta-grid,
    .grid-section .fieldset-wrapper {
        grid-template-columns: 1fr;
    }
}