/* =============================================
   KURSSEITE – kurs.css
   ============================================= */

/* ─── HERO ─── */
.kurs-hero {
    background-color: var(--creme);
    padding: var(--section-padding);
}

.kurs-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.kurs-hero-text h5 {
    margin-bottom: 16px;
}

.kurs-hero-text h1 {
    color: var(--petrol);
}

.kurs-hero-text h4 {
    margin-top: 12px;
    font-weight: 400;
}

.kurs-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.badge {
    display: inline-block;
    background: white;
    border: 1px solid rgba(10, 55, 77, 0.15);
    color: var(--petrol);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

.kurs-hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.kurs-hero-image {
    position: relative;
    border-radius: 4px;
    overflow: visible;
}

.kurs-hero-image .img-placeholder {
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(3, 23, 34, 0.12);
}

.kurs-hero-freebox {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--petrol);
    color: var(--creme);
    padding: 16px 24px;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(3, 23, 34, 0.2);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.freebox-label {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--rosa);
    font-weight: 700;
}

.freebox-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--creme);
}

/* ─── FÜR WEN ─── */
.fuer-wen {
    background-color: var(--petrol);
    padding: var(--section-padding);
}

.fuer-wen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.fuer-wen-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(241, 234, 233, 0.06);
    border: 1px solid rgba(241, 234, 233, 0.1);
    border-radius: 4px;
    padding: 24px;
}

.fuer-wen-icon {
    font-size: 20px;
    color: var(--rosa);
    flex-shrink: 0;
    line-height: 1.6;
}

.fuer-wen-item p {
    color: rgba(241, 234, 233, 0.85);
    font-size: 15px;
}

/* ─── KURSINHALTE ─── */
.kurs-inhalt {
    background-color: var(--creme);
    padding: var(--section-padding);
}

.kurs-inhalt h2 {
    margin-bottom: 48px;
    margin-top: 8px;
}

.kurs-inhalt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.einheit {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(10, 55, 77, 0.12);
    align-items: flex-start;
}

.einheit:nth-child(odd) {
    padding-right: 48px;
    border-right: 1px solid rgba(10, 55, 77, 0.12);
}

.einheit:nth-child(even) {
    padding-left: 48px;
}

.einheit:nth-last-child(-n+2) {
    border-bottom: none;
}

.einheit-nr {
    font-size: 36px;
    font-weight: 700;
    color: var(--rosa);
    opacity: 0.4;
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
}

.einheit-body h4 {
    margin-bottom: 8px;
    font-size: 17px;
}

.einheit-body p {
    font-size: 15px;
    color: rgba(3, 23, 34, 0.7);
}

/* ─── DAS NIMMST DU MIT ─── */
.mitnahmen {
    background-color: var(--petrol);
    padding: var(--section-padding);
}

.mitnahmen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mitnahme-card {
    background: rgba(241, 234, 233, 0.05);
    border: 1px solid rgba(174, 128, 131, 0.2);
    border-radius: 4px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mitnahme-icon {
    font-size: 22px;
    color: var(--rosa);
}

.mitnahme-card h3 {
    color: var(--creme);
    font-size: 18px;
}

.mitnahme-card p {
    color: rgba(241, 234, 233, 0.7);
    font-size: 15px;
}

/* ─── FAKTEN ─── */
.fakten {
    background-color: var(--warmweiss);
    padding: var(--section-padding);
}

.fakten-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}

.fakten-inner h2 {
    margin-top: 8px;
}

.fakten-tabelle {
    border-collapse: collapse;
    width: 100%;
    border: none;
}

.fakten-tabelle td {
    padding: 16px 0;
    border: none;
    border-bottom: 1px solid rgba(10, 55, 77, 0.12);
    color: var(--petrol);
    font-size: 16px;
    line-height: 1.6em;
    vertical-align: top;
    background: transparent;
}

.fakten-tabelle td:first-child {
    width: 160px;
    padding-right: 24px;
    font-weight: 700;
    color: var(--petrol);
    white-space: nowrap;
}

.fakten-tabelle tr:last-child td {
    border-bottom: none;
}

/* ─── ANMELDUNG ─── */
.anmeldung {
    background-color: var(--creme);
    padding: var(--section-padding);
}

.anmeldung-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.anmeldung-header h5 {
    color: var(--rosa);
    margin-bottom: 8px;
}

.anmeldung-header p {
    margin-top: 16px;
    color: var(--petrol);
    line-height: 1.7;
}

.anmeldung-hinweis {
    margin-top: 20px;
    padding: 14px 20px;
    background: white;
    border-left: 3px solid var(--rosa);
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    color: var(--petrol);
    line-height: 1.6;
    text-align: left;
}

.anmeldung-form-wrap {
    max-width: 760px; /* vorher: 640px */
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-trust {
    text-align: center;
    font-size: 12px;
    color: rgba(10, 55, 77, 0.5);
    margin-top: 16px;
    line-height: 1.6;
}

/* ─── FORMULAR ─── */
.form {
    background: white;
    border-radius: 4px;
    padding: 36px;
    box-shadow: 0 4px 30px rgba(3, 23, 34, 0.07);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--petrol);
    letter-spacing: 0.3px;
}

.form-input {
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--fast-schwarz);
    padding: 12px 16px;
    border: 1.5px solid rgba(10, 55, 77, 0.2);
    border-radius: 4px;
    background: var(--warmweiss);
    transition: border-color 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--rosa);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-check {
    display: flex;
    align-items: flex-start; /* vorher: center */
    gap: 10px;
    font-size: 16px;
    color: var(--petrol);
    line-height: 1.5;
}

.form-check input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--rosa);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-check a {
    color: var(--rosa);
    text-decoration: underline;
}

.form-radio-group {
    display: flex;
    flex-direction: column;
    gap: 24px; /* vorher: 12px – mehr Abstand zwischen den Optionen */
}

.form-check input[type="radio"] {
    margin-top: 3px; /* zusammen mit align-items: flex-start auf .form-check
                         richtet das den Radiobutton an der ersten Textzeile aus,
                         statt ihn bei mehrzeiligem Text vertikal zu zentrieren */
    flex-shrink: 0;
    accent-color: var(--rosa);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.required {
    color: var(--rosa);
}

/* ─── RESPONSIVE KURSSEITE ─── */
@media (max-width: 900px) {
    .kurs-hero-inner,
    .fuer-wen-grid,
    .anmeldung-inner,
    .fakten-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .kurs-hero-image {
        order: -1;
    }

    .kurs-hero-freebox {
        bottom: -16px;
        left: 16px;
    }

    .kurs-inhalt-grid {
        grid-template-columns: 1fr;
    }

    .einheit:nth-child(odd) {
        padding-right: 0;
        border-right: none;
    }

    .einheit:nth-child(even) {
        padding-left: 0;
    }

    .einheit:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(10, 55, 77, 0.12);
    }

    .einheit:last-child {
        border-bottom: none;
    }

    .mitnahmen-grid {
        grid-template-columns: 1fr;
    }

    .form {
        padding: 24px;
    }
}
