/* GehaltsKompass — уникальный дизайн, namespace gk- */
:root {
  --ink: #14273e;
  --ink-soft: #47586e;
  --blue: #1d4e89;
  --blue-deep: #143a68;
  --teal: #0e9f6e;
  --teal-deep: #0a7d57;
  --amber: #d97706;
  --bg: #f4f7fa;
  --card: #ffffff;
  --line: #e2e9f0;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(20, 39, 62, .07), 0 6px 18px rgba(20, 39, 62, .06);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.gk-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.gk-head { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.gk-head-in { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.gk-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.18rem; color: var(--ink); letter-spacing: -.02em; }
.gk-logo:hover { text-decoration: none; }
.gk-logo svg { flex: none; }
.gk-logo b { color: var(--teal); }
.gk-nav { display: flex; gap: 26px; align-items: center; }
.gk-nav a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.gk-nav a:hover { color: var(--blue); text-decoration: none; }
.gk-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.gk-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Breadcrumbs */
.gk-crumbs { font-size: .82rem; color: var(--ink-soft); padding: 14px 0 0; }
.gk-crumbs a { color: var(--ink-soft); }
.gk-crumbs span { margin: 0 6px; color: #9fb0c2; }

/* Hero */
.gk-hero { padding: 26px 0 8px; }
.gk-hero h1 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); letter-spacing: -.025em; line-height: 1.22; }
.gk-hero .gk-sub { color: var(--ink-soft); margin-top: 8px; max-width: 760px; }
.gk-badge { display: inline-block; background: #e7f6ef; color: var(--teal-deep); font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; letter-spacing: .02em; }

/* Big number card */
.gk-key { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; margin: 22px 0; }
.gk-median { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.gk-median::after { content: ''; position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.06); }
.gk-median .gk-label { font-size: .82rem; opacity: .8; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.gk-median .gk-big { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin: 4px 0 2px; }
.gk-median .gk-big small { font-size: .45em; font-weight: 600; opacity: .85; }
.gk-median .gk-note { font-size: .85rem; opacity: .85; }
.gk-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gk-fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.gk-fact .gk-label { font-size: .74rem; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.gk-fact .gk-val { font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.gk-fact .gk-val small { font-size: .68em; font-weight: 600; color: var(--ink-soft); }

/* Sections */
.gk-sec { margin: 38px 0; }
.gk-sec h2 { font-size: 1.42rem; letter-spacing: -.02em; margin-bottom: 6px; }
.gk-sec h3 { font-size: 1.08rem; margin: 18px 0 8px; }
.gk-sec .gk-lead { color: var(--ink-soft); margin-bottom: 16px; max-width: 780px; }
.gk-sec p { margin-bottom: 12px; max-width: 780px; }

/* Range bar Q25-Q75 */
.gk-range { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 14px 0; }
.gk-range-bar { position: relative; height: 12px; background: #e8eef4; border-radius: 8px; margin: 26px 8px 8px; }
.gk-range-fill { position: absolute; height: 100%; background: linear-gradient(90deg, #6bc7a4, var(--teal)); border-radius: 8px; }
.gk-range-dot { position: absolute; top: 50%; width: 20px; height: 20px; background: var(--blue); border: 3px solid #fff; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 1px 5px rgba(0,0,0,.25); }
.gk-range-labels { display: flex; justify-content: space-between; font-size: .82rem; color: var(--ink-soft); margin: 10px 4px 0; }
.gk-range-labels b { display: block; color: var(--ink); font-size: .95rem; }

/* Tables */
.gk-table-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.gk-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.gk-table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); padding: 12px 14px; border-bottom: 2px solid var(--line); background: #fafcfe; white-space: nowrap; }
.gk-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.gk-table tr:last-child td { border-bottom: 0; }
.gk-table tr:hover td { background: #f7fafc; }
.gk-table td.gk-num, .gk-table th.gk-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gk-table td.gk-num b { font-weight: 700; }
.gk-table .gk-hl td { background: #eef8f3; }
.gk-table .gk-hl td:first-child { box-shadow: inset 3px 0 0 var(--teal); }
.gk-bar { display: inline-block; height: 8px; border-radius: 5px; background: linear-gradient(90deg, #7fcdb0, var(--teal)); vertical-align: middle; min-width: 3px; }
.gk-bar-cell { width: 34%; min-width: 110px; }
.gk-rank { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; border-radius: 8px; background: #eef2f7; color: var(--ink-soft); font-weight: 700; font-size: .8rem; }
tr.gk-top .gk-rank { background: #e7f6ef; color: var(--teal-deep); }

/* Gender / age chips */
.gk-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 14px 0; }
.gk-chip { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.gk-chip .gk-label { font-size: .78rem; color: var(--ink-soft); font-weight: 600; }
.gk-chip .gk-val { font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em; }
.gk-chip .gk-val small { font-size: .65em; color: var(--ink-soft); font-weight: 600; }
.gk-chip .gk-mini { font-size: .78rem; color: var(--ink-soft); }

/* Netto / calculator */
.gk-calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.gk-calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin: 14px 0 18px; }
.gk-field label { display: block; font-size: .78rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 5px; }
.gk-field input, .gk-field select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 9px; font: inherit; font-size: .95rem; background: #fff; color: var(--ink); }
.gk-field input:focus, .gk-field select:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,159,110,.13); }
.gk-check { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-soft); font-weight: 600; }
.gk-check input { width: 17px; height: 17px; accent-color: var(--teal); }
.gk-calc-out { background: linear-gradient(135deg, #0d3b2e, var(--teal-deep)); color: #fff; border-radius: 12px; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 8px 30px; align-items: baseline; }
.gk-calc-out .gk-label { font-size: .78rem; opacity: .8; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; display: block; }
.gk-calc-out .gk-big { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.gk-calc-out .gk-part { font-size: .95rem; font-weight: 700; }
.gk-calc-detail { font-size: .82rem; color: var(--ink-soft); margin-top: 12px; }
.gk-calc-detail table { border-collapse: collapse; }
.gk-calc-detail td { padding: 3px 18px 3px 0; font-variant-numeric: tabular-nums; }

/* FAQ */
.gk-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.gk-faq summary { padding: 15px 18px; font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 42px; }
.gk-faq summary::-webkit-details-marker { display: none; }
.gk-faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--teal); font-weight: 600; }
.gk-faq details[open] summary::after { content: '–'; }
.gk-faq .gk-faq-a { padding: 0 18px 15px; color: var(--ink-soft); }
.gk-faq .gk-faq-a p { margin-bottom: 8px; }

/* Related / link grids */
.gk-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.gk-links a { background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 12px 15px; font-weight: 600; font-size: .92rem; color: var(--ink); display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.gk-links a:hover { border-color: var(--teal); text-decoration: none; box-shadow: var(--shadow); }
.gk-links .gk-links-val { color: var(--teal-deep); font-weight: 800; white-space: nowrap; font-size: .88rem; }

/* Category cards */
.gk-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gk-cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); }
.gk-cat:hover { border-color: var(--teal); box-shadow: var(--shadow); text-decoration: none; }
.gk-cat b { display: block; font-size: 1.02rem; margin-bottom: 3px; }
.gk-cat span { color: var(--ink-soft); font-size: .85rem; }

/* Search */
.gk-search { position: relative; max-width: 560px; margin: 20px 0; }
.gk-search input { width: 100%; padding: 14px 18px 14px 46px; border: 2px solid var(--line); border-radius: 13px; font: inherit; font-size: 1.02rem; box-shadow: var(--shadow); }
.gk-search input:focus { outline: 0; border-color: var(--teal); }
.gk-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); }
.gk-search-res { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(20,39,62,.15); max-height: 330px; overflow: auto; z-index: 40; display: none; }
.gk-search-res.gk-open { display: block; }
.gk-search-res a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .93rem; }
.gk-search-res a:last-child { border-bottom: 0; }
.gk-search-res a:hover { background: #f4f9f6; text-decoration: none; }
.gk-search-res .gk-links-val { color: var(--teal-deep); font-weight: 700; white-space: nowrap; }

/* Home hero */
.gk-home-hero { background: linear-gradient(150deg, var(--blue-deep) 0%, var(--blue) 55%, #2a6ab0 100%); color: #fff; padding: 52px 0 56px; }
.gk-home-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -.03em; line-height: 1.18; max-width: 700px; }
.gk-home-hero p { margin-top: 12px; opacity: .88; max-width: 640px; font-size: 1.05rem; }
.gk-home-hero .gk-search input { border-color: transparent; }
.gk-stats-row { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 26px; }
.gk-stat b { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.gk-stat span { font-size: .85rem; opacity: .82; }

/* Info / source blocks */
.gk-source { background: #eef4fb; border: 1px solid #d5e3f3; border-radius: 12px; padding: 14px 18px; font-size: .85rem; color: var(--ink-soft); margin: 26px 0; }
.gk-source b { color: var(--ink); }
.gk-warn { background: #fdf6ec; border: 1px solid #f3e3c8; border-radius: 12px; padding: 12px 16px; font-size: .83rem; color: #8a5a17; margin: 14px 0; }

/* Ad placeholders */
.gk-ad { margin: 26px 0; min-height: 90px; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #f2f5f8, #f2f5f8 12px, #eef1f5 12px, #eef1f5 24px); border: 1px dashed #d3dce5; border-radius: 12px; color: #a5b3c1; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

/* Footer */
.gk-foot { background: var(--ink); color: #b9c6d4; margin-top: 60px; padding: 40px 0 28px; font-size: .88rem; }
.gk-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.gk-foot h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.gk-foot a { color: #b9c6d4; display: block; padding: 3px 0; }
.gk-foot a:hover { color: #fff; }
.gk-foot-note { border-top: 1px solid #2c3f56; margin-top: 28px; padding-top: 18px; font-size: .78rem; color: #8496a9; }
.gk-foot-note p { margin-bottom: 6px; }

/* Prose (BERUFENET-Beschreibungen, Intros) */
.gk-prose { line-height: 1.72; }
.gk-prose p { margin-bottom: 12px; }
.gk-prose p:last-child { margin-bottom: 0; }
.gk-prose ul, .gk-prose ol { margin: 10px 0 14px 22px; }
.gk-prose li { margin-bottom: 6px; }
.gk-prose h3 { font-size: 1.02rem; margin: 18px 0 8px; }
.gk-prose table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .9rem; }
.gk-prose table td, .gk-prose table th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

/* Tag-Chips (Aufstiegsweiterbildungen) */
.gk-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gk-tag { display: inline-block; background: var(--bg-soft, #eef3f8); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .85rem; color: var(--ink); }
a.gk-tag { color: var(--blue, #1d4e89); }
a.gk-tag:hover { border-color: var(--teal); text-decoration: none; background: #e6f5ef; }

/* CTA teaser */
.gk-teaser { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; padding: 16px 20px; margin: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.gk-btn { display: inline-block; background: var(--teal); color: #fff; font-weight: 700; padding: 10px 20px; border-radius: 10px; font-size: .92rem; border: 0; cursor: pointer; }
.gk-btn:hover { background: var(--teal-deep); text-decoration: none; }

@media (max-width: 860px) {
  .gk-key { grid-template-columns: 1fr; }
  .gk-foot-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .gk-nav { position: fixed; inset: 62px 0 auto 0; background: var(--card); flex-direction: column; gap: 0; padding: 8px 0; border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(20,39,62,.12); display: none; }
  .gk-nav.gk-open { display: flex; }
  .gk-nav a { padding: 12px 22px; width: 100%; }
  .gk-burger { display: block; }
  .gk-table { font-size: .85rem; }
  .gk-table th, .gk-table td { padding: 9px 10px; }
  .gk-bar-cell { display: none; }
  .gk-facts { grid-template-columns: 1fr 1fr; }
}
