/* ===== ERFAHRUNG PAGE SPECIFIC CSS ===== */

/* Hero */
.erfahrung-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 64px 0 80px;
  text-align: center;
}
.erfahrung-hero h1 {
  font-size: 2.4rem;
  color: #fff;
  max-width: 800px;
  margin: 0 auto 16px;
}
.erfahrung-hero h1 em {
  color: #60a5fa;
  font-style: normal;
}
.erfahrung-hero .hero-sub {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto 40px;
}
.erfahrung-hero .hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.erfahrung-hero .hero-stat {
  text-align: center;
}
.erfahrung-hero .hero-stat-value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #60a5fa;
}
.erfahrung-hero .hero-stat-label {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* Overview Card */
.overview-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px;
  margin: -48px auto 48px;
  max-width: 720px;
  position: relative;
  z-index: 10;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.overview-card-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a1a2e;
}
.overview-dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.overview-dl dt {
  font-size: 0.85rem;
  color: #475569;
  font-weight: 500;
}
.overview-dl dd {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 12px;
}
.overview-dl dd.highlight {
  color: #2563eb;
  font-size: 1.15rem;
}
.overview-source {
  margin-top: 16px;
  font-size: 0.8rem;
  color: #475569;
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
}

/* Salary Table */
.salary-table-wrap {
  overflow-x: auto;
  margin: 0 -24px;
  padding: 0 24px;
}
.salary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.salary-table thead {
  background: #f8fafc;
}
.salary-table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  color: #475569;
  border-bottom: 2px solid #e5e7eb;
  white-space: nowrap;
}
.salary-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}
.salary-table tbody tr:hover {
  background: #f8fafc;
}
.salary-table .salary-highlight {
  color: #2563eb;
  font-weight: 700;
}
.salary-table .module-link {
  color: #2563eb;
  font-weight: 600;
}
.salary-table .module-link:hover {
  text-decoration: underline;
}

/* Ranking Section */
.ranking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.ranking-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.ranking-position {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #2563eb;
  min-width: 40px;
  text-align: center;
}
.ranking-position.gold { color: #d97706; }
.ranking-position.silver { color: #475569; }
.ranking-position.bronze { color: #b45309; }
.ranking-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
  font-family: 'DM Sans', sans-serif;
}
.ranking-info .ranking-salary {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  color: #2563eb;
  font-weight: 600;
}

/* Titles Section */
.titles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.title-chip {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e40af;
  text-align: center;
}

/* Career Advice */
.advice-list {
  list-style: none;
  padding: 0;
}
.advice-list li {
  padding: 16px 0 16px 32px;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  color: #475569;
  line-height: 1.7;
}
.advice-list li:last-child {
  border-bottom: none;
}
.advice-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 16px;
  color: #10b981;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.skill-item {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}
.skill-item::before {
  content: '\25C6';
  color: #2563eb;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Level Navigation */
.level-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.level-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.2s;
  color: inherit;
}
.level-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37,99,235,0.12);
  text-decoration: none;
  transform: translateY(-2px);
}
.level-card.active {
  border-color: #2563eb;
  background: #eff6ff;
}
.level-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}
.level-card .level-years {
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 8px;
}
.level-card .level-salary {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
  color: #2563eb;
  font-weight: 600;
}

/* Section styling overrides */
.erfahrung-page .section h2 {
  text-align: left;
}
.erfahrung-page .section-intro {
  color: #475569;
  margin-bottom: 32px;
  max-width: 720px;
}

/* Responsive */
@media (max-width: 768px) {
  .erfahrung-hero h1 { font-size: 1.8rem; }
  .erfahrung-hero .hero-stats { gap: 24px; }
  .erfahrung-hero .hero-stat-value { font-size: 1.5rem; }
  .overview-card { margin: -32px 16px 32px; padding: 24px; }
  .overview-dl { grid-template-columns: 1fr; }
  .level-nav { grid-template-columns: 1fr 1fr; }
  .ranking-grid { grid-template-columns: 1fr; }
  .titles-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .erfahrung-hero h1 { font-size: 1.5rem; }
  .level-nav { grid-template-columns: 1fr; }
  .titles-grid { grid-template-columns: 1fr; }
}
