/* ===== PROFILE PAGE SPECIFIC CSS ===== */

/* Citation Block (Auf einen Blick) */
.citation-block { background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--slate-200); border-radius: 16px; padding: 32px; max-width: 720px; margin: -48px auto 0; position: relative; z-index: 10; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.citation-block-title { font-family: 'Fraunces', Georgia, serif; font-size: 1.35rem; font-weight: 600; color: var(--slate-900); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--frost-100); }
.citation-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin-bottom: 20px; }
.citation-dt { font-weight: 600; font-size: 0.92rem; color: var(--slate-600); white-space: nowrap; }
.citation-dd { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 600; color: var(--slate-900); }
.citation-dd.highlight { color: var(--frost-600); }
.citation-dd a { color: var(--frost-600); font-family: 'DM Sans', sans-serif; font-size: 0.92rem; font-weight: 600; }
.citation-dd a:hover { text-decoration: underline; }
.citation-source { font-size: 0.78rem; color: var(--slate-400); border-top: 1px solid var(--slate-100); padding-top: 12px; line-height: 1.5; }

/* Calculator (TGA-Style) */
.calc-card { background: #fff; border: 1px solid var(--slate-200); border-radius: 16px; padding: 28px 24px; max-width: 520px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.calc-header { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.calc-header-icon { font-size: 1.5rem; }
.calc-header h3 { font-size: 1.2rem; margin: 0; }
.calc-sub { font-size: 0.88rem; color: var(--slate-400); margin-bottom: 24px; }
.calc-group { margin-bottom: 20px; }
.calc-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.88rem; color: var(--slate-800); }
.calc-group select { width: 100%; padding: 12px 14px; border: 1px solid var(--slate-200); border-radius: 10px; font-size: 0.95rem; font-family: inherit; background: #fff; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.calc-group select:focus { outline: none; border-color: var(--frost-500); box-shadow: 0 0 0 3px rgba(26,124,230,0.12); }
/* Range slider */
.calc-slider-wrap { position: relative; margin-top: 8px; }
.calc-slider { width: 100%; height: 6px; -webkit-appearance: none; appearance: none; background: linear-gradient(to right, var(--frost-500) var(--slider-pct, 40%), var(--slate-200) var(--slider-pct, 40%)); border-radius: 3px; outline: none; cursor: pointer; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; background: var(--frost-600); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,0.2); cursor: pointer; }
.calc-slider::-moz-range-thumb { width: 20px; height: 20px; background: var(--frost-600); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,0.2); cursor: pointer; }
.calc-slider-value { text-align: center; font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 600; color: var(--frost-600); margin-top: 8px; }
/* Calculate button */
.calc-btn { display: block; width: 100%; background: var(--frost-600); color: #fff; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 1rem; cursor: pointer; border: none; font-family: inherit; margin-top: 8px; transition: background 0.2s; }
.calc-btn:hover { background: var(--frost-700); }
/* Result area */
.calc-result { background: linear-gradient(135deg, var(--frost-50), #f0f4ff); border: 1px solid var(--frost-200); border-radius: 12px; padding: 24px; text-align: center; margin-top: 20px; display: none; }
.calc-result.show { display: block; }
.calc-result-label { font-size: 0.78rem; color: var(--frost-600); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.calc-result-value { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 700; color: var(--slate-900); margin-bottom: 12px; }
/* Progress bar */
.calc-progress { position: relative; height: 8px; background: var(--slate-200); border-radius: 4px; margin: 16px 0 8px; }
.calc-progress-bar { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--frost-500), var(--emerald-700)); transition: width 0.5s ease; }
.calc-progress-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--slate-400); }
.calc-feedback { margin-top: 12px; font-size: 0.88rem; color: var(--frost-600); line-height: 1.5; }
.calc-feedback.top { color: var(--emerald-700); }
.calc-feedback.mid { color: var(--frost-600); }
/* CTA buttons below result */
.calc-ctas { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.calc-cta { display: block; padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: 0.9rem; text-align: center; cursor: pointer; border: none; font-family: inherit; text-decoration: none; }
.calc-cta-primary { background: var(--frost-600); color: #fff; }
.calc-cta-primary:hover { background: var(--frost-700); color: #fff; text-decoration: none; }
.calc-cta-secondary { background: #fff; color: var(--frost-600); border: 1px solid var(--frost-200); }
.calc-cta-secondary:hover { border-color: var(--frost-500); text-decoration: none; }

/* Faktoren */
.faktoren-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.faktor-card { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 24px; }
.faktor-card h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--slate-900); }
.faktor-card p { color: var(--slate-500); font-size: 0.95rem; }

/* Karrierepfad */
.karriere-timeline { position: relative; padding-left: 32px; }
.karriere-timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--slate-200); }
.karriere-step { position: relative; margin-bottom: 32px; }
.karriere-step::before { content: ''; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; background: var(--frost-600); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--frost-600); }
.karriere-step h4 { font-size: 1.05rem; margin-bottom: 4px; }
.karriere-step .gehalt { font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--frost-600); font-weight: 600; }
.karriere-step .jahre { font-size: 0.85rem; color: var(--slate-400); }
.karriere-step p { color: var(--slate-500); margin-top: 4px; }

/* Jobs */
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.job-card { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 24px; position: relative; }
.job-badge { position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.job-badge.hot { background: #fef3c7; color: #92400e; font-size: 0.7rem; }
.job-badge.normal { background: var(--slate-100); color: var(--slate-500); }
.job-card h4 { font-size: 1rem; margin-bottom: 8px; padding-right: 60px; }
.job-meta { font-size: 0.85rem; color: var(--slate-500); margin-bottom: 12px; }
.job-salary { font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--frost-600); font-weight: 600; }
.job-cta { display: inline-block; margin-top: 12px; background: var(--frost-600); color: #fff; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; }
.job-cta:hover { background: var(--frost-700); color: #fff; text-decoration: none; }

/* Related Profiles */
.related-profiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.related-card { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 24px; transition: all 0.2s; display: block; color: inherit; text-align: center; }
.related-card:hover { border-color: var(--frost-600); box-shadow: 0 4px 16px rgba(13,95,184,0.12); text-decoration: none; transform: translateY(-2px); }
.related-card h4 { font-size: 1rem; margin-bottom: 8px; color: var(--slate-900); }
.related-card .related-median { font-family: 'Fraunces', serif; font-size: 1.4rem; color: var(--frost-600); font-weight: 600; margin-bottom: 4px; }
.related-card .related-label { font-size: 0.8rem; color: var(--slate-400); }
.related-card .related-arrow { display: inline-block; margin-top: 12px; color: var(--frost-600); font-weight: 600; font-size: 0.85rem; }

/* FAQ */
.faq-item { border: 1px solid var(--slate-200); border-radius: 12px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-question { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1rem; }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--frost-600); transition: transform 0.2s; }
.faq-item.open .faq-question::after { content: '-'; }
.faq-answer { padding: 0 24px 20px; color: var(--slate-500); display: none; }
.faq-item.open .faq-answer { display: block; }

/* Success Stories */
.stories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.story-card { background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 24px; }
.story-label { font-size: 0.8rem; color: var(--frost-600); font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.story-salary { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.story-before { font-size: 1.1rem; color: var(--slate-400); text-decoration: line-through; }
.story-arrow { color: var(--emerald-700); font-weight: 700; }
.story-after { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--emerald-700); font-weight: 600; }
.story-detail { color: var(--slate-500); font-size: 0.95rem; }

/* Multi-Step Form */
.multistep { background: linear-gradient(135deg, var(--slate-900), #16213e); border-radius: 16px; padding: 40px; color: #fff; }
.multistep h3 { font-size: 1.5rem; margin-bottom: 8px; }
.multistep-sub { color: var(--slate-400); margin-bottom: 24px; }
.multistep-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.multistep-option { background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.15); border-radius: 10px; padding: 16px; cursor: pointer; text-align: center; font-weight: 500; transition: all 0.2s; }
.multistep-option:hover, .multistep-option.selected { border-color: var(--frost-300); background: rgba(96,165,250,0.15); }
.multistep-input { width: 100%; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; font-size: 1rem; font-family: inherit; background: rgba(255,255,255,0.08); color: #fff; margin-bottom: 12px; }
.multistep-input::placeholder { color: var(--slate-400); }
.multistep-btn { background: var(--frost-600); color: #fff; padding: 14px 28px; border-radius: 10px; font-weight: 700; font-size: 1rem; cursor: pointer; border: none; width: 100%; }
.multistep-btn:hover { background: var(--frost-700); }
.multistep-step { display: none; }
.multistep-step.active { display: block; }
.multistep-progress { display: flex; gap: 8px; margin-bottom: 24px; }
.multistep-dot { width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.2); }
.multistep-dot.active { background: var(--frost-300); }

/* Quellen */
.quellen-list { list-style: none; }
.quellen-list li { padding: 8px 0; border-bottom: 1px solid var(--slate-100); font-size: 0.9rem; color: var(--slate-500); }
.quellen-list li:last-child { border-bottom: none; }

/* City Grid (profile page variant) */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.city-link { background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; padding: 12px 16px; text-align: center; color: var(--slate-900); font-weight: 500; font-size: 0.9rem; transition: all 0.2s; }
.city-link:hover { border-color: var(--frost-600); color: var(--frost-600); text-decoration: none; box-shadow: 0 2px 8px rgba(37,99,235,0.12); }

/* Responsive */
@media (max-width: 768px) {
  .citation-block { margin: -32px 16px 0; padding: 24px 20px; }
  .citation-dl { grid-template-columns: 1fr; gap: 2px 0; }
  .citation-dt { margin-top: 8px; }
  .multistep-options { grid-template-columns: 1fr; }
}
