@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@400;500;600;700&display=swap');

.pj-beregner-wrap { font-family: 'DM Sans', sans-serif; color: #1f2937; max-width: 680px; margin: 0 auto; padding: 40px 20px 60px; }
.pj-beregner-wrap *, .pj-beregner-wrap *::before, .pj-beregner-wrap *::after { box-sizing: border-box; }

/* Header */
.pj-header { text-align: center; margin-bottom: 36px; }
.pj-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: #fff4f8; color: #6b0a2a; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
.pj-beregner-wrap .pj-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 900; color: #6b0a2a; line-height: 1.15; margin: 0 0 12px; }
.pj-beregner-wrap .pj-header p { color: #4b5563; font-size: 1rem; line-height: 1.6; max-width: 520px; margin: 0 auto; }

/* Progress */
.pj-progress-label { display: flex; justify-content: space-between; font-size: .82rem; color: #9ca3af; margin-bottom: 8px; }
.pj-progress-bar { background: #f0dce8; border-radius: 999px; height: 6px; margin-bottom: 32px; overflow: hidden; }
.pj-progress-fill { height: 100%; background: linear-gradient(90deg, #f7a5c9, #6b0a2a); border-radius: 999px; transition: width .4s ease; }

/* Card */
.pj-card { background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(107,10,42,.08); padding: 32px; margin-bottom: 16px; border: 1px solid rgba(247,165,201,.2); }

/* Steps */
.pj-step { display: none; }
.pj-step.pj-active { display: block; }
.pj-step-label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #f7a5c9; margin-bottom: 8px; }
.pj-beregner-wrap .pj-step h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: #6b0a2a; margin: 0 0 6px; line-height: 1.25; }
.pj-beregner-wrap .pj-step p { font-size: .9rem; color: #6b7280; margin-bottom: 24px; line-height: 1.5; }

/* Age */
.pj-age-display { text-align: center; margin-bottom: 20px; }
.pj-age-number { font-family: 'Playfair Display', serif; font-size: 4rem; font-weight: 900; color: #6b0a2a; line-height: 1; }
.pj-age-unit { font-size: 1rem; color: #9ca3af; margin-top: 4px; }
.pj-beregner-wrap input[type=range] { width: 100%; height: 6px; appearance: none; -webkit-appearance: none; background: linear-gradient(90deg, #f7a5c9 var(--pct, 50%), #f0dce8 var(--pct, 50%)); border-radius: 999px; outline: none; cursor: pointer; }
.pj-beregner-wrap input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; background: #6b0a2a; border-radius: 50%; border: 3px solid white; box-shadow: 0 2px 8px rgba(107,10,42,.3); cursor: pointer; }
.pj-range-labels { display: flex; justify-content: space-between; font-size: .78rem; color: #9ca3af; margin-top: 8px; }

/* Options */
.pj-options { display: flex; flex-direction: column; gap: 10px; }
.pj-option { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1.5px solid rgba(0,0,0,.08); border-radius: 12px; cursor: pointer; transition: all .15s ease; background: #fff; font-size: .95rem; font-weight: 500; color: #1f2937; text-align: left; width: 100%; font-family: 'DM Sans', sans-serif; }
.pj-option:hover { border-color: #f7a5c9; background: #fff4f8; }
.pj-option.pj-selected { border-color: #6b0a2a; background: #fff4f8; color: #6b0a2a; font-weight: 700; }
.pj-option-check { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(0,0,0,.15); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .15s ease; }
.pj-option.pj-selected .pj-option-check { background: #6b0a2a; border-color: #6b0a2a; }
.pj-option.pj-selected .pj-option-check::after { content: ''; width: 8px; height: 8px; background: white; border-radius: 50%; display: block; }

/* Symptoms */
.pj-symptoms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media(max-width: 480px) { .pj-symptoms { grid-template-columns: 1fr; } }
.pj-symptom { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid rgba(0,0,0,.08); border-radius: 10px; cursor: pointer; transition: all .15s ease; font-size: .88rem; font-weight: 500; color: #1f2937; background: #fff; width: 100%; text-align: left; font-family: 'DM Sans', sans-serif; }
.pj-symptom:hover { border-color: #f7a5c9; background: #fff4f8; }
.pj-symptom.pj-checked { border-color: #6b0a2a; background: #fff4f8; color: #6b0a2a; font-weight: 700; }
.pj-symptom-box { width: 18px; height: 18px; border-radius: 5px; border: 2px solid rgba(0,0,0,.15); flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all .15s ease; }
.pj-symptom.pj-checked .pj-symptom-box { background: #6b0a2a; border-color: #6b0a2a; }
.pj-symptom.pj-checked .pj-symptom-box::after { content: '✓'; color: white; font-size: 11px; font-weight: 800; }

/* Nav */
.pj-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 24px; }
.pj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 28px; border-radius: 12px; font-size: .95rem; font-weight: 700; border: none; cursor: pointer; transition: all .15s ease; font-family: 'DM Sans', sans-serif; }
.pj-btn-primary { background: #6b0a2a; color: white; flex: 1; }
.pj-btn-primary:hover { background: #8b1a3a; transform: translateY(-1px); }
.pj-btn-ghost { background: transparent; color: #9ca3af; border: 1.5px solid rgba(0,0,0,.1); }
.pj-btn-ghost:hover { color: #1f2937; border-color: #ccc; }

/* Result */
#pj-result { display: none; }
.pj-result-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; font-size: .85rem; font-weight: 800; margin-bottom: 16px; }
.pj-badge-low { background: #d1fae5; color: #065f46; }
.pj-badge-medium { background: #fef3c7; color: #92400e; }
.pj-badge-high { background: #fee2e2; color: #991b1b; }
.pj-badge-meno { background: #fff4f8; color: #6b0a2a; }
.pj-beregner-wrap #pj-result h2 { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 900; color: #6b0a2a; margin: 0 0 12px; line-height: 1.2; }
.pj-result-desc { font-size: .98rem; color: #4b5563; line-height: 1.65; margin-bottom: 24px; }

/* Meter */
.pj-meter { margin: 24px 0; }
.pj-meter-label { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; color: #6b7280; margin-bottom: 8px; }
.pj-meter-track { height: 12px; background: #f0dce8; border-radius: 999px; overflow: hidden; }
.pj-meter-fill { height: 100%; border-radius: 999px; transition: width 1s ease; width: 0; }
.pj-meter-low { background: #34d399; }
.pj-meter-medium { background: #fbbf24; }
.pj-meter-high { background: #f87171; }
.pj-meter-meno { background: linear-gradient(90deg, #f7a5c9, #6b0a2a); }

/* Result points */
.pj-result-points { background: #fff4f8; border-radius: 12px; padding: 16px 20px; margin-bottom: 20px; }
.pj-beregner-wrap .pj-result-points h4 { font-size: .85rem; font-weight: 700; color: #6b0a2a; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .05em; }
.pj-result-point { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; color: #1f2937; margin-bottom: 6px; line-height: 1.4; }
.pj-result-point:last-child { margin-bottom: 0; }
.pj-dot { width: 6px; height: 6px; background: #6b0a2a; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }

/* CTA box */
.pj-cta-box { background: #6b0a2a; border-radius: 16px; padding: 24px; color: white; text-align: center; margin-top: 20px; }
.pj-beregner-wrap .pj-cta-box h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin: 0 0 8px; color: white; }
.pj-beregner-wrap .pj-cta-box p { font-size: .9rem; opacity: .85; margin: 0 0 18px; line-height: 1.5; color: white; }
.pj-cta-box a.pj-cta-link { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 28px; background: #f7a5c9; color: #6b0a2a; border-radius: 12px; font-weight: 700; font-size: .98rem; text-decoration: none; transition: all .15s ease; }
.pj-cta-box a.pj-cta-link:hover { background: #ef8fbc; transform: translateY(-1px); }
.pj-cta-box .pj-cta-sub { display: block; margin-top: 14px; font-size: .85rem; opacity: .85; }
.pj-cta-box .pj-cta-sub a { color: #f7a5c9; font-weight: 700; text-decoration: underline; }

/* Misc */
.pj-disclaimer { font-size: .78rem; color: #9ca3af; text-align: center; margin-top: 20px; line-height: 1.5; }
.pj-restart-btn { display: block; text-align: center; margin-top: 16px; color: #9ca3af; font-size: .85rem; cursor: pointer; text-decoration: underline; background: none; border: none; font-family: 'DM Sans', sans-serif; }
.pj-restart-btn:hover { color: #1f2937; }
