/* Drohnen Preiskalkulator v2 Styles */
:root {
    --dpk-primary: #1B5E20;
    --dpk-primary-dark: #0D3B12;
    --dpk-secondary: #4CAF50;
    --dpk-accent: #00E676;
    --dpk-text: #1A1A2E;
    --dpk-text-light: #757575;
    --dpk-bg: #FFFFFF;
    --dpk-surface: #F5F5F5;
    --dpk-border: #E0E0E0;
    --dpk-radius: 12px;
    --dpk-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.dpk-wrap {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dpk-text);
}

/* Progress Bar */
.dpk-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    gap: 0;
}

.dpk-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.dpk-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    background: var(--dpk-surface);
    color: var(--dpk-text-light);
    border: 2px solid var(--dpk-border);
    transition: all 0.3s ease;
}

.dpk-step-label {
    font-size: 0.75rem;
    color: var(--dpk-text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.dpk-progress-step.active .dpk-step-num {
    background: var(--dpk-primary);
    color: #fff;
    border-color: var(--dpk-primary);
}

.dpk-progress-step.active .dpk-step-label {
    color: var(--dpk-primary);
    font-weight: 600;
}

.dpk-progress-step.completed .dpk-step-num {
    background: var(--dpk-secondary);
    color: #fff;
    border-color: var(--dpk-secondary);
}

.dpk-progress-line {
    flex: 1;
    height: 2px;
    background: var(--dpk-border);
    margin: 0 0.5rem;
    margin-bottom: 1.5rem;
    max-width: 80px;
}

/* Step Title */
.dpk-step-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dpk-text);
}

/* Service Selection Grid */
.dpk-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .dpk-service-grid {
        grid-template-columns: 1fr;
    }
}

.dpk-service-option input[type="radio"] {
    display: none;
}

.dpk-service-card {
    background: var(--dpk-bg);
    border: 2px solid var(--dpk-border);
    border-radius: var(--dpk-radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dpk-service-card:hover {
    border-color: var(--dpk-secondary);
    box-shadow: var(--dpk-shadow);
    transform: translateY(-2px);
}

.dpk-service-option input:checked + .dpk-service-card {
    border-color: var(--dpk-primary);
    background: rgba(27, 94, 32, 0.04);
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.15);
}

.dpk-service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--dpk-primary), var(--dpk-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.dpk-service-icon svg {
    width: 28px;
    height: 28px;
}

.dpk-service-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--dpk-text);
}

.dpk-service-card p {
    font-size: 0.875rem;
    color: var(--dpk-text-light);
    margin: 0;
    line-height: 1.4;
}

/* Form Fields */
.dpk-field {
    margin-bottom: 1.5rem;
}

.dpk-field > label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--dpk-text);
}

.dpk-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--dpk-border);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--dpk-text);
    background: var(--dpk-bg);
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.dpk-input:focus {
    border-color: var(--dpk-secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.dpk-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Slider */
.dpk-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--dpk-border);
    border-radius: 3px;
    outline: none;
    margin: 0.5rem 0;
}

.dpk-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--dpk-primary);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.dpk-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--dpk-primary);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.dpk-slider-value {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dpk-primary);
    margin-top: 0.25rem;
}

/* Radio Groups */
.dpk-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dpk-radio {
    cursor: pointer;
}

.dpk-radio input {
    display: none;
}

.dpk-radio span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid var(--dpk-border);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dpk-radio span:hover {
    border-color: var(--dpk-secondary);
}

.dpk-radio input:checked + span {
    background: var(--dpk-primary);
    color: #fff;
    border-color: var(--dpk-primary);
}

/* PLZ + Distance */
.dpk-plz-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dpk-distance-info {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dpk-text-light);
    transition: color 0.2s ease;
}

.dpk-distance-found {
    color: var(--dpk-primary) !important;
    font-weight: 600 !important;
}

.dpk-distance-error {
    color: #d32f2f !important;
}

/* Checkbox "In der Gegend" */
.dpk-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem 1.25rem;
    border: 2px solid var(--dpk-border);
    border-radius: var(--dpk-radius);
    transition: all 0.2s ease;
}

.dpk-checkbox-label:hover {
    border-color: var(--dpk-secondary);
}

.dpk-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--dpk-primary);
    flex-shrink: 0;
}

.dpk-checkbox-label input[type="checkbox"]:checked ~ .dpk-checkbox-text {
    font-weight: 600;
}

.dpk-checkbox-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dpk-text);
}

.dpk-gegend-info {
    background: rgba(27, 94, 32, 0.06);
    border-left: 3px solid var(--dpk-primary);
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
    border-radius: 0 8px 8px 0;
}

.dpk-gegend-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--dpk-text-light);
    line-height: 1.5;
}

/* Date fields */
.dpk-date-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dpk-date-input {
    max-width: 180px;
}

.dpk-date-separator {
    color: var(--dpk-text-light);
    font-weight: 500;
}

/* Navigation Buttons */
.dpk-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--dpk-border);
}

.dpk-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.dpk-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.dpk-btn-next, .dpk-btn-submit {
    background: var(--dpk-primary);
    color: #fff;
    border-color: var(--dpk-primary);
}

.dpk-btn-next:hover:not(:disabled), .dpk-btn-submit:hover:not(:disabled) {
    background: var(--dpk-primary-dark);
    border-color: var(--dpk-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
}

.dpk-btn-back {
    background: transparent;
    color: var(--dpk-text-light);
    border-color: var(--dpk-border);
}

.dpk-btn-back:hover {
    border-color: var(--dpk-text-light);
    color: var(--dpk-text);
}

/* Price Display */
.dpk-price-display {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--dpk-primary), var(--dpk-secondary));
    border-radius: var(--dpk-radius);
    margin-bottom: 1.5rem;
}

.dpk-price-label {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.dpk-price-range {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.dpk-price-note {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin: 0;
}

/* Price Breakdown Table */
.dpk-price-breakdown {
    margin-bottom: 1rem;
}

.dpk-breakdown-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dpk-bg);
    border: 1px solid var(--dpk-border);
    border-radius: var(--dpk-radius);
    overflow: hidden;
}

.dpk-breakdown-table td {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--dpk-border);
}

.dpk-breakdown-table tr:last-child td {
    border-bottom: none;
}

.dpk-bd-amount {
    text-align: right;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    white-space: nowrap;
}

.dpk-bd-total {
    background: var(--dpk-surface);
    font-weight: 700 !important;
}

.dpk-bd-total td {
    font-weight: 700;
    font-size: 1rem;
    color: var(--dpk-primary);
}

.dpk-bd-discount {
    color: var(--dpk-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

.dpk-bd-note td {
    font-size: 0.85rem;
    color: var(--dpk-text-light);
    font-style: italic;
    text-align: center;
    padding: 0.5rem 1rem;
    background: #FFF8E1;
}

.dpk-price-summary {
    background: var(--dpk-surface);
    border-radius: var(--dpk-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.8;
}

.dpk-price-summary strong {
    color: var(--dpk-primary);
}

/* Form Rows */
.dpk-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .dpk-form-row {
        grid-template-columns: 1fr;
    }

    .dpk-date-input {
        max-width: 100%;
    }
}

.dpk-form-field {
    margin-bottom: 0.5rem;
}

.dpk-form-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

/* Success */
.dpk-success {
    text-align: center;
    padding: 3rem 2rem;
}

.dpk-success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.dpk-success h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: var(--dpk-primary);
    margin-bottom: 0.5rem;
}

.dpk-success p {
    color: var(--dpk-text-light);
    margin-bottom: 2rem;
}

/* Loading state */
.dpk-btn-submit.dpk-loading {
    pointer-events: none;
    opacity: 0.7;
}

.dpk-btn-submit.dpk-loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: dpk-spin 0.6s linear infinite;
    margin-left: 0.5rem;
}

@keyframes dpk-spin {
    to { transform: rotate(360deg); }
}

/* Step transitions */
.dpk-step {
    animation: dpk-fadeIn 0.3s ease;
}

@keyframes dpk-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
