* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

body {
font-family: Arial, Helvetica, sans-serif;
background: #111;
color: #1f1f1f;
padding: 30px;
}

.container {
max-width: 900px;
margin: 30px auto;
background: #fbf7ef;
padding: 50px;
border-radius: 18px;
box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.logo {
text-align: center;
margin-bottom: 22px;
}

.logo img {
max-width: 190px;
width: 100%;
height: auto;
}

/* =========================
SCHRITTANZEIGE
========================= */

.steps {
display: flex;
justify-content: center;
align-items: center;
gap: 14px;
margin-bottom: 35px;
}

.step-circle {
width: 38px;
height: 38px;
border-radius: 50%;
background: #fff;
border: 1px solid #d8d0c2;
color: #777;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
}

.step-circle.active {
background: #d4af37;
border-color: #d4af37;
color: white;
font-weight: bold;
}

.step-line {
    width: 38px;
    height: 2px;
    background: #d8d0c2;
}

/* =========================
TYPOGRAFIE
========================= */

h1 {
font-size: 32px;
margin-bottom: 8px;
}

.subtitle {
color: #6f6a62;
margin-bottom: 30px;
line-height: 1.6;
}

/* =========================
FORMULAR
========================= */

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

.form-group {
margin-bottom: 18px;
}

label {
display: block;
margin-bottom: 8px;
font-size: 14px;
font-weight: 600;
}

input,
select,
textarea {
width: 100%;
padding: 16px;
border: 1px solid #d8d0c2;
border-radius: 8px;
font-size: 16px;
background: rgba(255,255,255,0.75);
}

textarea {
resize: vertical;
min-height: 120px;
}

input:focus,
select:focus,
textarea:focus {
outline: none;
border-color: #d4af37;
box-shadow: 0 0 0 2px rgba(212,175,55,0.15);
}

/* =========================
JA / NEIN BUTTONS
========================= */

.radio-group {
display: flex;
gap: 15px;
margin-top: 10px;
}

.radio-option {
flex: 1;
border: 1px solid #d8d0c2;
border-radius: 10px;
padding: 18px;
text-align: center;
cursor: pointer;
background: rgba(255,255,255,0.7);
font-size: 18px;
font-weight: 600;
transition: 0.2s;
}

.radio-option:hover {
    border-color: #d4af37;
}

.radio-option input {
    display: none;
}

.radio-option:has(input:checked) {
    background: #d4af37;
    color: white;
    border-color: #d4af37;
}

/* =========================
BUTTONS
========================= */

.button-row {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 15px;
margin-top: 35px;
}

button {
border: none;
border-radius: 8px;
padding: 16px 34px;
min-width: 170px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
}

.btn-primary {
background: #d4af37;
color: white;
}

.btn-primary:hover {
opacity: 0.9;
}

.btn-secondary {
background: transparent;
border: 1px solid #d8d0c2;
color: #444;
}

.btn-secondary:hover {
background: #f3eee4;
}

/* =========================
EINVERSTÄNDNIS
========================= */

.consent-box {
border: 1px solid #d8d0c2;
background: rgba(255,255,255,0.7);
border-radius: 10px;
padding: 20px;
max-height: 300px;
overflow-y: auto;
line-height: 1.7;
margin-bottom: 25px;
}

.checkbox-group {
margin: 25px 0;
}

.checkbox-label {
display: flex;
gap: 12px;
align-items: flex-start;
cursor: pointer;
line-height: 1.5;
}

.checkbox-label input {
width: 20px;
height: 20px;
flex-shrink: 0;
}

/* =========================
MARKETING
========================= */

.checkbox-card {
    border: 1px solid #d8d0c2;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.6);
    transition: 0.2s;
}

.checkbox-card:hover {
    border-color: #d4af37;
}

.checkbox-card .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    margin: 0;
    line-height: normal;
    font-weight: 400;
}

.checkbox-card .checkbox-label input {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-content {
    display: block;
    flex: 1;
}

.checkbox-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1f1f1f;
    margin-bottom: 6px;
}

.checkbox-text {
    display: block;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
    color: #6f6a62;
}

/* =========================
UNTERSCHRIFT
========================= */

.signature-box {
    border: 1px solid #d8d0c2;
    border-radius: 10px;
    background: rgba(255,255,255,0.85);
    height: 240px;
    margin-bottom: 20px;
    overflow: hidden;
}

#signature-pad {
    width: 100%;
    height: 100%;
    display: block;
    touch-action: none;
}

/* =========================
FOOTER
========================= */

.form-footer {
text-align: center;
color: #7d776e;
font-size: 12px;
padding-top: 25px;
}

/* =========================
MOBILE
========================= */

@media (max-width: 768px) {

    body {
        padding: 12px;
    }

    .container {
        padding: 25px;
        margin: 10px auto;
    }

    .logo img {
        max-width: 155px;
    }

    /* Schrittanzeige */
    .steps {
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 30px;
    }

    .step-line {
        display: none;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 15px;
        flex-shrink: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
    }

    .button-row {
        flex-direction: column;
    }

    button {
        width: 100%;
    }

    h1 {
        font-size: 28px;
    }
}

/* Kleine Smartphones (iPhone SE usw.) */
@media (max-width: 430px) {

    .container {
        padding: 22px;
    }

    .steps {
        gap: 10px;
    }

    .step-circle {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}