/* ===== Anfrage Page ===== */
.anfrage-section {
    background: linear-gradient(180deg, #e8f5f3 0%, #f0faf8 40%, var(--white) 100%);
    min-height: calc(100vh - 120px);
    padding: 60px 0 80px;
}

.anfrage-header {
    text-align: center;
    margin-bottom: 40px;
}

.anfrage-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.anfrage-header p {
    font-size: 1rem;
    color: var(--gray-600);
}

/* ===== Form Wrapper ===== */
.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    padding: 48px 40px;
}

.form-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 24px;
}

/* ===== Progress Bar ===== */
.progress-bar {
    display: flex;
    align-items: center;
    margin-bottom: 36px;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: all 0.3s;
}

.progress-step.active .progress-dot,
.progress-step.completed .progress-dot {
    background: var(--primary);
}

.progress-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-400);
    transition: color 0.3s;
}

.progress-step.active .progress-label,
.progress-step.completed .progress-label {
    color: var(--gray-800);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--gray-200);
    margin: 0 12px;
    transition: background 0.3s;
}

.progress-line.active {
    background: var(--primary);
}

/* ===== Form Steps ===== */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.form-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

/* ===== Option Grid ===== */
.option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    background: var(--white);
}

.option-card:hover {
    border-color: var(--primary);
    background: #f0faf8;
}

.option-card input[type="radio"] {
    display: none;
}

.option-card input[type="radio"]:checked + .option-icon + .option-text {
    font-weight: 700;
}

.option-card:has(input:checked) {
    border-color: var(--primary);
    background: #e8f5f3;
    box-shadow: 0 0 0 2px rgba(26, 92, 87, 0.15);
}

.option-icon {
    font-size: 1.3rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.option-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gray-800);
}

/* ===== Slider ===== */
.slider-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 0.95rem;
}

.slider-value {
    color: var(--primary);
    font-weight: 700;
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(26, 92, 87, 0.3);
    transition: transform 0.2s;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(26, 92, 87, 0.3);
}

.slider-range {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* ===== Form Fields ===== */
.form-row {
    display: grid;
    gap: 16px;
}

.form-row.two-col {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 92, 87, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.phone-input {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-input:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 92, 87, 0.1);
}

.phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: var(--gray-50);
    border-right: 1.5px solid var(--gray-200);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-600);
    white-space: nowrap;
}

.phone-input input {
    border: none;
    border-radius: 0;
    flex: 1;
}

.phone-input input:focus {
    box-shadow: none;
}

/* ===== Checkbox ===== */
.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--gray-700);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

/* ===== Form Actions ===== */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.form-actions.single {
    justify-content: center;
}

.form-actions .btn {
    flex: 1;
}

.btn-full {
    width: 100%;
}

/* ===== Form Note ===== */
.form-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-top: 12px;
}

/* ===== Trust Badges ===== */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 500;
}

.trust-icon {
    font-size: 1rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 32px 20px;
    }

    .option-grid {
        grid-template-columns: 1fr;
    }

    .form-row.two-col {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .progress-label {
        font-size: 0.7rem;
    }
}

/* SVG-Icons statt Emoji: Groesse ueber width/height statt font-size */
.option-icon svg {
    width: 19px;
    height: 19px;
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #1a5c57);
}

.trust-icon svg {
    width: 16px;
    height: 16px;
}
