/* ===== BUNDESLAND PAGE SPECIFIC CSS ===== */

/* Section sub text */
.section-sub { color: var(--slate-500); margin-bottom: 32px; max-width: 700px; }

/* Overview Card */
.overview-card { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border: 1px solid var(--slate-200); border-radius: 16px; padding: 32px; max-width: 780px; margin: -48px auto 0; position: relative; z-index: 10; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.overview-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); }
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.overview-item { display: flex; flex-direction: column; }
.overview-label { font-size: 0.85rem; color: var(--slate-500); font-weight: 500; }
.overview-value { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 600; color: var(--slate-900); }
.overview-value.highlight { color: var(--frost-600); }
.overview-value.positive { color: var(--emerald-600); }
.overview-value.negative { color: #dc2626; }
.overview-source { font-size: 0.78rem; color: var(--slate-400); border-top: 1px solid var(--slate-200); padding-top: 12px; line-height: 1.5; }

/* Salary Table */
.salary-table-wrap { overflow-x: auto; margin: 0 -24px; padding: 0 24px; }
.salary-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.salary-table thead { background: var(--slate-900); color: #fff; }
.salary-table th { padding: 14px 16px; text-align: left; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.salary-table td { padding: 12px 16px; border-bottom: 1px solid var(--slate-200); font-size: 0.92rem; }
.salary-table tbody tr:hover { background: var(--frost-50); }
.salary-table .salary-highlight { font-weight: 700; color: var(--frost-600); }
.salary-table a { color: var(--frost-600); font-weight: 500; }
.salary-table a:hover { text-decoration: underline; }

/* Table note */
.table-note { margin-top: 16px; font-size: 0.82rem; color: var(--slate-400); }

/* Market Section */
.market-section { background: #fff; }
.market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.market-card { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 12px; padding: 24px; }
.market-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--slate-900); }
.market-card ul { list-style: none; }
.market-card li { padding: 6px 0; font-size: 0.92rem; color: var(--slate-600); border-bottom: 1px solid var(--slate-200); }
.market-card li:last-child { border-bottom: none; }
.market-card li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--frost-500); margin-right: 10px; vertical-align: middle; }
.market-text { color: var(--slate-600); line-height: 1.8; margin-bottom: 24px; }

/* City Cards */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.city-card { display: block; background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 20px; color: inherit; transition: all 0.2s; }
.city-card:hover { border-color: var(--frost-500); box-shadow: 0 4px 16px rgba(13,95,184,0.12); text-decoration: none; transform: translateY(-2px); }
.city-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.city-card-faktor { font-size: 0.85rem; color: var(--frost-600); font-weight: 600; }
.city-card-detail { font-size: 0.82rem; color: var(--slate-500); margin-top: 4px; }

/* Bundeslaender Grid */
.bl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.bl-link { display: block; background: #fff; border: 1px solid var(--slate-200); border-radius: 8px; padding: 12px 16px; color: var(--slate-800); font-size: 0.9rem; font-weight: 500; transition: all 0.2s; text-align: center; }
.bl-link:hover { border-color: var(--frost-500); color: var(--frost-600); text-decoration: none; background: var(--frost-50); }

/* Responsive */
@media (max-width: 768px) {
  .overview-card { margin: -32px 16px 0; padding: 24px 20px; }
  .overview-grid { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr; }
}
