/* ===== PK Office Markenfarben ===== */
:root {
    --brand-orange: #ff6c00;
    --brand-orange-dark: #e65c00;
    --brand-orange-light: #ff8533;
    --dark-grey: #181818;
    --mid-grey: #404040;
    --light-grey: #f0f0f0;
    --dark-bg: #2e2f35;
    --darker-bg: #1e1e24;
    --white: #ffffff;
    --green: #4caf50;
    --green-light: #66bb6a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: var(--mid-grey);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wizard-container {
    width: 100%;
    max-width: 720px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    overflow: hidden;
}

/* ===== Header ===== */
.wizard-header {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 28px 40px 20px;
    text-align: center;
    position: relative;
}

.wizard-header .subtitle {
    color: var(--brand-orange);
    font-size: 0.95rem;
    font-weight: 600;
}

.wizard-header .logo {
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
}

.wizard-header .logo-img {
    max-height: 40px;
    width: auto;
}

/* ===== Savings-Banner ===== */
.savings-banner {
    background: linear-gradient(90deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    color: var(--white);
    padding: 18px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.5s ease;
    text-align: center;
}

.savings-banner > div {
    text-align: center;
}

.savings-banner .savings-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.savings-banner .savings-value {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.savings-banner .savings-percent {
    font-size: 1.6rem;
    font-weight: 800;
}

.savings-banner .savings-icon {
    font-size: 1.8rem;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* ===== Progress Bar ===== */
.progress-wrapper {
    height: 6px;
    background: var(--light-grey);
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-orange) 0%, var(--brand-orange-light) 100%);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 3px 3px 0;
}

.progress-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 40px 0;
    background: var(--white);
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: var(--brand-orange);
    transform: scale(1.3);
}

.progress-dot.done {
    background: var(--brand-orange);
}

/* ===== Wizard Body ===== */
.wizard-body {
    padding: 30px 40px 40px;
    min-height: 320px;
}

.step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.step h2 {
    font-size: 1.35rem;
    color: var(--dark-grey);
    margin-bottom: 24px;
    line-height: 1.4;
}

.step h2 .step-number {
    display: inline-block;
    background: var(--brand-orange);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-size: 0.9rem;
    margin-right: 10px;
    vertical-align: middle;
}

/* ===== Answer Cards ===== */
.answers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.answers.single-col {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
}

.answer-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    background: var(--white);
    user-select: none;
}

.answer-card:hover {
    border-color: var(--brand-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 108, 0, 0.15);
}

.answer-card.selected {
    border-color: var(--brand-orange);
    background: linear-gradient(135deg, #fff5ee 0%, #ffefe0 100%);
    box-shadow: 0 4px 16px rgba(255, 108, 0, 0.2);
}

.answer-card .answer-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--mid-grey);
    flex: 1;
}

.answer-card .answer-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #ccc;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    font-size: 0.9rem;
    color: transparent;
}

.answer-card.selected .answer-check {
    border-color: var(--brand-orange);
    background: var(--brand-orange);
    color: var(--white);
}

.answer-card .answer-check::before {
    content: '✓';
    font-weight: 700;
}

.multi-hint {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 16px;
    font-style: italic;
}

/* ===== Savings Flash ===== */
.savings-flash {
    display: none;
    text-align: center;
    padding: 16px;
    margin-top: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 2px solid var(--green-light);
    animation: flashIn 0.4s ease;
}

.savings-flash.show {
    display: block;
}

@keyframes flashIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.savings-flash .flash-percent {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1.2;
}

.savings-flash .flash-text {
    font-size: 0.9rem;
    color: #555;
    margin-top: 4px;
}

/* ===== Navigation Buttons ===== */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 16px;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    color: var(--white);
    box-shadow: 0 3px 12px rgba(255, 108, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(255, 108, 0, 0.4);
}

.btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: var(--light-grey);
    color: var(--mid-grey);
}

.btn-secondary:hover {
    background: #e0e0e0;
}

/* ===== Contact Form ===== */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--mid-grey);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--mid-grey);
    transition: border-color 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.datenschutz-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400 !important;
    font-size: 0.85rem !important;
    color: var(--mid-grey);
    margin-top: 8px;
    cursor: pointer;
}

.datenschutz-consent input[type="checkbox"] {
    width: auto !important;
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
}

.datenschutz-consent span {
    line-height: 1.5;
}

.datenschutz-consent a {
    color: var(--brand-orange-dark);
    text-decoration: underline;
    word-break: break-all;
}

/* ===== Summary ===== */
.summary-box {
    background: linear-gradient(135deg, var(--light-grey) 0%, #e8e8e8 100%);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.summary-box h3 {
    font-size: 1.1rem;
    color: var(--dark-grey);
    margin-bottom: 12px;
}

.summary-box .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #ddd;
    font-size: 0.95rem;
    gap: 16px;
}

.summary-box .summary-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--brand-orange-dark);
    padding-top: 10px;
}

.summary-box .summary-row .label { color: var(--mid-grey); }
.summary-box .summary-row .value { font-weight: 600; text-align: right; }

/* ===== Success ===== */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-message .success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-message h2 {
    color: var(--dark-grey);
    margin-bottom: 12px;
}

.success-message p {
    color: var(--mid-grey);
    line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .wizard-header { padding: 20px 20px 16px; }
    .wizard-body { padding: 20px 20px 30px; }
    .answers { grid-template-columns: 1fr; }
    .answers.single-col { max-width: 100%; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .savings-banner { padding: 14px 20px; }
    .savings-banner .savings-value { font-size: 1.7rem; }
    .nav-buttons { flex-direction: column; }
    .btn { width: 100%; }
}
