:root {
  color-scheme: light;
  --ink: #071b33;
  --text: #123454;
  --muted: #49647f;
  --soft: #71869c;
  --line: #d9eaf0;
  --line-strong: #8be8e4;
  --aqua: #eef9fc;
  --surface: #ffffff;
  --surface-soft: #f8fcfd;
  --tag: #f4fafc;
  --hover: #e5fbfa;
  --teal: #00afa8;
  --teal-dark: #008f8a;
  --teal-hot: #37dad5;
  --glow: #bff7f4;
  --button: linear-gradient(135deg, #00b7ad 0%, #00a19a 100%);
  --button-hover: linear-gradient(135deg, #13cec6 0%, #00afa8 100%);
  --shadow-soft: 0 18px 50px rgba(7, 27, 51, 0.08);
  --shadow-card: 0 12px 32px rgba(7, 27, 51, 0.055);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 82% 30%, rgba(78, 225, 220, 0.36), transparent 28%),
    radial-gradient(circle at 72% 78%, rgba(191, 247, 244, 0.45), transparent 26%),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #f7fcfe 0%, #eef9fc 45%, #e7f8fa 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    radial-gradient(circle at 8% 16%, rgba(255, 255, 255, 0.96), transparent 24%),
    radial-gradient(circle at 52% 66%, rgba(255, 255, 255, 0.68), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(55, 218, 213, 0.16), transparent 24%);
}

body,
button,
input,
a {
  -webkit-tap-highlight-color: rgba(0, 175, 168, 0.14);
}

.science-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
  width: 56vw;
  min-width: 700px;
  pointer-events: none;
  opacity: 0.9;
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 255, 255, 0.92) 0 16px, transparent 17px),
    radial-gradient(circle at 88% 35%, rgba(55, 218, 213, 0.58) 0 7px, transparent 8px),
    radial-gradient(circle at 78% 78%, rgba(255, 255, 255, 0.82) 0 20px, transparent 21px),
    radial-gradient(circle at 42% 54%, rgba(191, 247, 244, 0.42), transparent 38%),
    linear-gradient(90deg, transparent 0%, rgba(191, 247, 244, 0.3) 58%, rgba(55, 218, 213, 0.22) 100%);
}

.science-backdrop::before {
  position: absolute;
  top: -40px;
  right: -30px;
  width: 78%;
  height: 108%;
  content: "";
  border-radius: 46%;
  opacity: 0.38;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.76), transparent 62%),
    repeating-radial-gradient(ellipse at center, transparent 0 30px, rgba(255, 255, 255, 0.52) 31px 34px, transparent 35px 62px);
  filter: blur(0.4px);
  transform: rotate(16deg);
}

.science-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 52% 22%, rgba(255, 255, 255, 0.96) 0 12px, transparent 13px),
    radial-gradient(circle at 55% 23%, rgba(55, 218, 213, 0.5) 0 4px, transparent 5px),
    radial-gradient(circle at 36% 56%, rgba(255, 255, 255, 0.84) 0 10px, transparent 11px),
    radial-gradient(circle at 25% 40%, rgba(55, 218, 213, 0.45) 0 14px, transparent 15px),
    linear-gradient(27deg, transparent 0 39%, rgba(255, 255, 255, 0.54) 39% 40%, transparent 41% 100%),
    linear-gradient(142deg, transparent 0 46%, rgba(0, 175, 168, 0.16) 46% 47%, transparent 48% 100%);
  filter: drop-shadow(0 0 18px rgba(55, 218, 213, 0.18));
}

.dna-helix {
  position: absolute;
  top: -5vh;
  right: -9vw;
  width: min(760px, 72vw);
  height: 112vh;
  overflow: visible;
  opacity: 0.78;
}

.helix-strand {
  fill: none;
  stroke: url("#helixLine");
  stroke-width: 8;
  stroke-linecap: round;
  stroke-opacity: 0.72;
  filter: drop-shadow(0 0 12px rgba(55, 218, 213, 0.38));
}

.strand-b {
  stroke-opacity: 0.54;
}

.helix-rungs path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.62);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(55, 218, 213, 0.3));
}

.helix-nodes circle {
  fill: rgba(255, 255, 255, 0.9);
  stroke: rgba(55, 218, 213, 0.58);
  stroke-width: 3;
}

.molecule-web {
  opacity: 0.72;
}

.molecule-web path {
  fill: none;
  stroke: rgba(0, 175, 168, 0.25);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.molecule-web circle {
  fill: rgba(255, 255, 255, 0.68);
  stroke: rgba(55, 218, 213, 0.5);
  stroke-width: 2;
  filter: drop-shadow(0 0 10px rgba(55, 218, 213, 0.26));
}

.sparkles circle {
  fill: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 0 10px rgba(55, 218, 213, 0.52));
}

button,
input {
  font: inherit;
}

input:focus-visible,
button:focus-visible,
.detail a:focus-visible {
  outline: 3px solid rgba(0, 175, 168, 0.28);
  outline-offset: 2px;
}

button {
  border: 0;
  min-height: 44px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

button:hover {
  transform: translateY(-1px);
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(620px, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 1680px;
  min-height: 88px;
  margin: 16px auto 0;
  padding: 14px 20px;
  border: 1px solid rgba(217, 234, 240, 0.8);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 45px rgba(7, 27, 51, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.brand-link {
  color: inherit;
  text-decoration: none;
}

.brand strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span {
  display: block;
  margin-top: 3px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.mark {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  background: #effcfc url("/assets/biojobs-logo.png") center / cover no-repeat;
  box-shadow:
    0 12px 28px rgba(0, 175, 168, 0.18),
    inset 0 0 0 1px rgba(0, 175, 168, 0.08);
}

.search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 138px 138px 132px;
  gap: 14px;
  align-items: center;
}

.search::before {
  position: absolute;
  left: 19px;
  top: 50%;
  z-index: 1;
  width: 15px;
  height: 15px;
  content: "";
  border: 2px solid #6e86a2;
  border-radius: 50%;
  transform: translateY(-50%);
}

.search::after {
  position: absolute;
  left: 32px;
  top: 50%;
  z-index: 1;
  width: 8px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: #6e86a2;
  transform: translateY(7px) rotate(45deg);
}

.search input {
  min-width: 0;
  height: 56px;
  padding: 0 18px 0 54px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search input::placeholder {
  color: #8da0b5;
}

.match-mode {
  display: contents;
}

.match-mode button,
button.secondary {
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font-weight: 750;
  box-shadow: 0 8px 22px rgba(7, 27, 51, 0.045);
}

.match-mode button::after {
  margin-left: 8px;
  color: #6e86a2;
  content: "v";
  font-size: 12px;
}

.match-mode button[data-active="true"] {
  color: var(--teal-dark);
  border-color: rgba(0, 175, 168, 0.25);
  background: rgba(255, 255, 255, 0.9);
}

.search > button[type="submit"] {
  min-height: 56px;
  border-radius: 14px;
  color: #fff;
  background: var(--button);
  box-shadow: 0 14px 30px rgba(0, 175, 168, 0.25);
  font-weight: 850;
}

.search > button[type="submit"]:hover,
.detail a:hover {
  background: var(--button-hover);
  box-shadow: 0 18px 38px rgba(0, 175, 168, 0.32);
}

.landing-topbar {
  grid-template-columns: minmax(260px, 320px) auto minmax(360px, 620px);
}

.landing-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.landing-nav a,
.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(217, 234, 240, 0.92);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 13px;
  font-weight: 780;
}

.landing-nav a:hover,
.secondary-link:hover {
  color: var(--teal-dark);
  border-color: rgba(0, 175, 168, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.landing-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 12px;
  align-items: center;
}

.landing-search input {
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.landing-search button,
.primary-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  color: #fff;
  background: var(--button);
  box-shadow: 0 14px 30px rgba(0, 175, 168, 0.25);
  text-decoration: none;
  font-weight: 850;
}

.landing-search button:hover,
.primary-link:hover {
  background: var(--button-hover);
  box-shadow: 0 18px 38px rgba(0, 175, 168, 0.32);
}

.landing {
  position: relative;
  z-index: 1;
  max-width: 1680px;
  margin: 0 auto;
  padding: 56px 24px 64px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(600px, 0.88fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
  min-height: 360px;
}

.landing-copy {
  display: grid;
  gap: 24px;
  max-width: 940px;
}

.eyebrow {
  margin: 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-copy h1 {
  max-width: 900px;
  font-size: clamp(48px, 5.4vw, 82px);
  line-height: 0.98;
}

.hero-text {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 220px));
  gap: 14px;
  max-width: 720px;
}

.hero-insight-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-self: center;
  width: min(100%, 780px);
  justify-self: end;
  transform: translateY(22px);
}

.hero-metric-column,
.hero-highlight-column {
  display: grid;
  grid-template-rows: repeat(4, 110px);
  gap: 16px;
}

.hero-stat-card,
.hero-text-card {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
  border: 1px solid rgba(217, 234, 240, 0.92);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 253, 253, 0.72)),
    rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 48px rgba(14, 55, 76, 0.11);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.hero-stat-card span,
.hero-text-card span {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.hero-stat-card span {
  overflow: visible;
  line-height: 1.12;
  text-overflow: clip;
  font-variant-numeric: tabular-nums;
}

.hero-stat-card span {
  font-size: 38px;
}

.hero-text-card span {
  color: var(--teal-dark);
  font-size: 22px;
}

.hero-text-card:nth-child(3) span {
  font-size: 20px;
}

.hero-stat-card strong,
.hero-text-card strong {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.landscape-section,
.seo-section {
  margin-top: 58px;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-bottom: 24px;
}

.section-heading h2,
.seo-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 880;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: none;
}

.section-heading p:last-child,
.seo-section p,
.coverage-list {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.landscape-grid {
  display: grid;
  grid-template-columns: minmax(360px, 430px) minmax(0, 1fr);
  width: 100%;
  max-width: none;
  margin: 0 auto;
  justify-content: start;
  gap: 20px;
  align-items: stretch;
}

.map-card,
.map-insights,
.seo-section {
  border: 1px solid rgba(217, 234, 240, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.map-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 660px;
  padding: 28px 24px 24px;
}

.map-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 12px;
}

.map-toolbar strong {
  color: var(--ink);
  font-size: 18px;
}

.map-toolbar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.germany-map {
  display: block;
  align-self: center;
  width: min(100%, 400px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 280 / 378;
  margin: 0 auto;
  overflow: visible;
}

.germany-shadow {
  fill: rgba(10, 30, 55, 0.12);
  filter: blur(14px);
  transform: translate(9px, 13px);
}

.germany-fill {
  fill: rgba(248, 253, 255, 0.94);
  stroke: rgba(159, 212, 224, 0.9);
  stroke-width: 1.8;
}

.germany-outline {
  fill: none;
  stroke: rgba(6, 34, 61, 0.9);
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.state-heat {
  opacity: 0.26;
  filter: blur(11px);
  mix-blend-mode: multiply;
}

.city-heat {
  opacity: 0.34;
  filter: blur(5px);
  mix-blend-mode: multiply;
}

.city-marker {
  cursor: pointer;
  outline: none;
}

.city-ring {
  fill: rgba(255, 255, 255, 0.74);
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 2.2;
  transition: r 180ms ease, stroke 180ms ease, opacity 180ms ease;
}

.city-dot {
  stroke: rgba(255, 255, 255, 0.98);
  stroke-width: 1.9;
  filter: drop-shadow(0 7px 14px rgba(0, 120, 130, 0.24));
  transition: r 180ms ease, filter 180ms ease;
}

.city-label {
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-linejoin: round;
  stroke-width: 4;
  fill: #06223d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.city-label-wrap {
  pointer-events: none;
}

.city-marker:hover .city-ring,
.city-marker:focus-visible .city-ring,
.city-marker.is-hovered .city-ring {
  opacity: 0.92;
  stroke: rgba(4, 190, 184, 0.78);
}

.city-marker:hover .city-dot,
.city-marker:focus-visible .city-dot,
.city-marker.is-hovered .city-dot {
  filter: drop-shadow(0 10px 18px rgba(0, 145, 150, 0.34));
}

.city-marker:hover .city-label,
.city-marker:focus-visible .city-label,
.city-marker.is-hovered .city-label,
.city-ring:hover ~ .city-label,
.city-dot:hover ~ .city-label {
  opacity: 1;
}

.map-empty {
  fill: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.heat-legend {
  display: grid;
  grid-template-columns: auto minmax(160px, 280px) auto;
  justify-content: center;
  gap: 12px;
  align-items: center;
  margin-top: -12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.heat-legend div {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #142f7a 0%, #3569b0 45%, #da784c 72%, #800020 100%);
}

.map-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: stretch;
  align-items: stretch;
  gap: 16px;
  min-height: 660px;
  padding: 22px;
}

.insight-table {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 14px;
  min-width: 0;
  height: 100%;
}

.map-insights h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.state-ranking,
.city-ranking,
.company-ranking {
  display: grid;
  align-content: start;
  gap: 10px;
}

.rank-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(217, 234, 240, 0.9);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-weight: 760;
}

.rank-row:hover {
  color: var(--teal-dark);
  border-color: rgba(0, 175, 168, 0.28);
}

.rank-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.rank-row strong {
  color: var(--ink);
}

.seo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
}

.faq-section {
  display: grid;
  gap: 24px;
  margin-top: 58px;
}

.faq-page {
  padding-top: 48px;
}

.faq-hero {
  display: grid;
  gap: 20px;
  max-width: 980px;
}

.faq-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.98;
}

.faq-page-section {
  margin-top: 48px;
}

.faq-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.faq-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(217, 234, 240, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.faq-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.22;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.coverage-copy {
  display: grid;
  gap: 16px;
}

.coverage-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.coverage-list li::marker {
  color: var(--teal-dark);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.breadcrumb a {
  color: var(--teal-dark);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.job-page {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 24px 72px;
}

.seo-landing-page {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 72px;
}

.job-page-card,
.job-page-related,
.seo-job-index,
.seo-landing-hero,
.methodology-grid article {
  border: 1px solid rgba(217, 234, 240, 0.86);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.seo-landing-hero {
  display: grid;
  gap: 16px;
  padding: 36px;
}

.seo-landing-hero h1 {
  max-width: 920px;
  font-size: 48px;
}

.seo-landing-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.job-page-card {
  display: grid;
  gap: 26px;
  padding: 34px;
}

.job-page-header {
  display: grid;
  gap: 16px;
}

.job-page-header h1 {
  max-width: 940px;
  font-size: 46px;
}

.job-page-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 690;
}

.job-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.job-page-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.job-page-summary div {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(217, 234, 240, 0.9);
  border-radius: 16px;
  background: rgba(248, 252, 253, 0.82);
}

.job-page-summary span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.job-page-summary strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.job-page-description {
  display: grid;
  gap: 14px;
  color: var(--text);
}

.job-page-description h2,
.job-page-related h2,
.seo-job-index h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.14;
  letter-spacing: 0;
  text-transform: none;
}

.job-page-description p {
  max-width: 880px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.job-page-related {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.seo-job-index {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 24px;
}

.seo-job-index p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.seo-discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.seo-discovery-block {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.seo-discovery-block h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
}

.seo-discovery-block > div {
  display: grid;
  gap: 8px;
}

.seo-discovery-block a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(217, 234, 240, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.seo-discovery-block a:hover {
  border-color: rgba(55, 218, 213, 0.72);
  background: rgba(229, 251, 250, 0.86);
}

.seo-discovery-block a span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seo-discovery-block a strong {
  flex: 0 0 auto;
  color: var(--teal-dark);
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.methodology-grid article {
  display: grid;
  gap: 10px;
  padding: 26px;
}

.methodology-grid h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.methodology-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.seo-job-link {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(217, 234, 240, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  color: inherit;
  text-decoration: none;
}

.seo-job-link:hover {
  border-color: rgba(55, 218, 213, 0.72);
  background: rgba(229, 251, 250, 0.86);
}

.seo-job-link strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.seo-job-link span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 690;
  overflow-wrap: anywhere;
}

.layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px minmax(520px, 1fr) 380px;
  align-items: start;
  gap: 32px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 24px;
}

.filters,
.results,
.detail,
.job,
.topbar,
.search {
  min-width: 0;
}

.filters,
.detail {
  position: sticky;
  top: 124px;
  max-height: calc(100vh - 148px);
  overflow: auto;
  border: 1px solid rgba(217, 234, 240, 0.9);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.filters {
  border-radius: 22px;
  padding: 28px;
}

.filters section {
  padding: 0 0 26px;
  margin: 0 0 26px;
  border-bottom: 1px solid rgba(217, 234, 240, 0.78);
}

.filters section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

h1 {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  font-size: 48px;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 span {
  color: var(--teal);
}

h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro {
  padding: 34px 10px 34px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 8px;
}

.toolbar-count {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.toolbar strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
}

.active-context {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid rgba(0, 175, 168, 0.18);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(0, 175, 168, 0.08);
  font-size: 12px;
  font-weight: 820;
}

.active-context:empty {
  display: none;
}

button.secondary {
  min-height: 44px;
  padding: 0 16px;
  color: var(--teal-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 760;
}

button.secondary::before {
  margin-right: 8px;
  content: "\21bb";
}

.mobile-filter-toggle,
.filter-close,
.detail-close,
.mobile-scrim {
  display: none;
}

.chips,
.checks,
.job-list,
.detail-body {
  display: grid;
  gap: 10px;
}

.job-list {
  gap: 14px;
  padding-top: 0;
}

.filter-search {
  width: 100%;
  min-height: 42px;
  margin-bottom: 14px;
  padding: 0 42px 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.filter-search::placeholder {
  color: #8da0b5;
}

.filter-options {
  display: grid;
  max-height: 258px;
  overflow: auto;
  gap: 9px;
  padding-right: 2px;
}

.chip,
.check {
  display: flex;
  align-items: center;
  min-height: 38px;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
}

.chip {
  justify-content: flex-start;
  padding: 0 14px;
}

.chip:hover,
.check:hover {
  color: var(--teal-dark);
  border-color: var(--line-strong);
  background: var(--hover);
}

.chip[data-active="true"] {
  color: #007e79;
  border-color: var(--teal);
  background: rgba(0, 175, 168, 0.12);
}

.chip-icon,
.detail-icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1.7px solid var(--teal);
  border-radius: 50%;
}

.chip-icon::after,
.detail-icon::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--teal);
  transform: translate(-50%, -50%);
}

.check {
  padding: 0 14px;
}

.check input {
  width: 17px;
  height: 17px;
  accent-color: var(--teal);
}

.job {
  position: relative;
  display: grid;
  width: 100%;
  gap: 12px;
  padding: 22px 28px;
  text-align: left;
  border: 1px solid rgba(217, 234, 240, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.job:hover {
  border-color: rgba(55, 218, 213, 0.75);
  box-shadow: 0 18px 42px rgba(7, 27, 51, 0.08);
  transform: translateY(-2px);
}

.job[data-selected="true"] {
  border: 1.5px solid var(--teal-hot);
  box-shadow:
    0 14px 34px rgba(7, 27, 51, 0.06),
    0 0 0 4px rgba(55, 218, 213, 0.08);
}

.load-more-jobs {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(0, 175, 168, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--teal-dark);
  box-shadow: var(--shadow-card);
  font-weight: 850;
}

.load-more-jobs:hover {
  border-color: rgba(0, 175, 168, 0.44);
  background: rgba(229, 251, 250, 0.92);
}

.load-more-jobs span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.job-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.job-main > div,
.meta,
.skills,
.reasons {
  min-width: 0;
}

.job h3,
.detail h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.job h3 {
  font-size: 20px;
  font-weight: 850;
}

.job-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-top: 2px;
}

.bookmark-icon {
  width: 14px;
  height: 18px;
  border: 1.8px solid var(--teal);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.bookmark-icon::after {
  display: block;
  width: 9px;
  height: 9px;
  margin: 10px auto 0;
  content: "";
  border-left: 1.8px solid var(--teal);
  border-bottom: 1.8px solid var(--teal);
  transform: rotate(-45deg);
}

.chevron-icon {
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
  transform: rotate(45deg);
}

.muted {
  color: var(--muted);
  font-size: 14px;
  font-weight: 540;
  overflow-wrap: anywhere;
}

.meta,
.skills,
.reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill,
.skill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
}

.pill {
  color: #244965;
  border: 1px solid var(--line);
  background: var(--tag);
}

.skill {
  color: #007e79;
  border: 1px solid rgba(0, 175, 168, 0.18);
  background: rgba(0, 175, 168, 0.09);
}

.reasons {
  align-items: center;
  color: var(--soft);
  font-size: 12px;
  font-weight: 680;
}

.reason {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #007e79;
  border: 1px solid rgba(0, 175, 168, 0.16);
  background: rgba(0, 175, 168, 0.08);
  font-weight: 760;
}

.detail {
  margin-top: 164px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 28px 70px rgba(7, 27, 51, 0.12);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.detail-body {
  gap: 22px;
}

.company-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.company-head strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.1;
}

.company-head span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.25;
}

.company-logo {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  overflow: hidden;
  background: #effcfc url("/assets/biojobs-logo.png") center / cover no-repeat;
  box-shadow:
    0 10px 28px rgba(0, 175, 168, 0.16),
    inset 0 0 0 1px rgba(0, 175, 168, 0.08);
}

.detail-card {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(217, 234, 240, 0.85);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 35px rgba(7, 27, 51, 0.06);
}

.detail a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  width: 100%;
  padding: 0 18px;
  border-radius: 14px;
  color: #fff;
  background: var(--button);
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 14px 30px rgba(0, 175, 168, 0.25);
}

.detail h2 {
  font-size: 20px;
  font-weight: 850;
}

.description {
  margin: -8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.description-block {
  display: grid;
  gap: 12px;
}

.description-block[data-expanded="true"] {
  padding-right: 4px;
}

.description-toggle {
  justify-self: start;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(0, 175, 168, 0.22);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(0, 175, 168, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.description-toggle:hover {
  border-color: rgba(0, 175, 168, 0.4);
  background: rgba(0, 175, 168, 0.14);
}

.description-loading {
  margin: -4px 0 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.detail-meta {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-weight: 620;
}

.detail-meta span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.empty {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  box-shadow: var(--shadow-card);
}

@media (max-width: 1300px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .landing-topbar {
    grid-template-columns: 1fr;
  }

  .landing-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .seo-section {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 0.85fr) minmax(520px, 0.9fr);
  }

  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .detail {
    grid-column: 1 / -1;
    position: static;
    max-height: none;
    margin-top: 0;
  }
}

@media (max-width: 980px) {
  .job-page-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-link-grid {
    grid-template-columns: 1fr;
  }

  .seo-discovery-grid,
  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    grid-template-columns: 1fr;
  }

  .hero-insight-card {
    width: min(100%, 720px);
    justify-self: start;
    transform: none;
  }

  .landscape-grid {
    grid-template-columns: 1fr;
    max-width: 920px;
  }

  .map-card {
    min-height: 0;
  }

  .map-insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .landscape-grid {
    max-width: 760px;
  }

  .map-insights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body {
    background:
      radial-gradient(circle at 86% 6%, rgba(55, 218, 213, 0.24), transparent 26%),
      radial-gradient(circle at 12% 42%, rgba(255, 255, 255, 0.92), transparent 32%),
      linear-gradient(135deg, #f8fdfe 0%, #eef9fc 100%);
  }

  .science-backdrop {
    overflow: hidden;
    min-width: 0;
    width: 100vw;
    opacity: 0.13;
  }

  .dna-helix {
    right: -16vw;
    width: min(520px, 74vw);
    overflow: hidden;
  }

  .topbar,
  .layout {
    margin-top: 10px;
    padding: 12px max(12px, env(safe-area-inset-right)) 12px max(12px, env(safe-area-inset-left));
  }

  .landing {
    padding: 24px max(14px, env(safe-area-inset-right)) 40px max(14px, env(safe-area-inset-left));
  }

  .job-page {
    padding: 22px max(14px, env(safe-area-inset-right)) 44px max(14px, env(safe-area-inset-left));
  }

  .seo-landing-page {
    padding: 22px max(14px, env(safe-area-inset-right)) 44px max(14px, env(safe-area-inset-left));
  }

  .job-page-card,
  .job-page-related,
  .seo-job-index,
  .seo-landing-hero,
  .methodology-grid article {
    border-radius: 20px;
  }

  .job-page-card {
    padding: 22px;
  }

  .seo-landing-hero {
    padding: 24px;
  }

  .job-page-header h1 {
    font-size: 36px;
  }

  .seo-landing-hero h1 {
    font-size: 38px;
  }

  .job-page-subtitle {
    font-size: 17px;
  }

  .job-page-summary {
    grid-template-columns: 1fr;
  }

  .job-page-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .job-page-description p {
    font-size: 15px;
  }

  .seo-landing-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .topbar {
    position: static;
    min-height: 0;
    gap: 14px;
    border-radius: 18px;
  }

  .brand {
    gap: 10px;
  }

  .mark {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand span {
    font-size: 11px;
  }

  .landing-nav {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .landing-nav a {
    flex: 0 0 auto;
  }

  .landing-search {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .landing-search input,
  .landing-search button {
    min-height: 50px;
    font-size: 16px;
  }

  .search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .search::before,
  .search::after {
    top: 25px;
  }

  .search input,
  .filter-search {
    font-size: 16px;
  }

  .search input {
    grid-column: 1 / -1;
    height: 50px;
    padding-left: 50px;
  }

  .search > button[type="submit"] {
    grid-column: 1 / -1;
    min-height: 50px;
  }

  .match-mode button {
    min-height: 46px;
    padding: 0 10px;
  }

  .layout {
    position: static;
    z-index: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }

  .filters {
    position: fixed;
    z-index: 920;
    isolation: isolate;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(88vw, 380px);
    max-height: none;
    overflow: auto;
    padding: max(18px, env(safe-area-inset-top)) 18px max(22px, env(safe-area-inset-bottom));
    border-radius: 0 24px 24px 0;
    background: rgba(255, 255, 255, 0.98);
    transform: translateX(-104%);
    transition: transform 180ms ease, box-shadow 180ms ease;
    -webkit-overflow-scrolling: touch;
  }

  .filters[data-open="true"],
  body.filters-open .filters {
    transform: translateX(0);
    box-shadow: 28px 0 80px rgba(7, 27, 51, 0.22);
  }

  .filter-close {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 14px;
    color: #fff;
    background: var(--button);
    font-weight: 850;
  }

  .mobile-scrim {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: block;
    background: rgba(4, 24, 42, 0.62);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .mobile-scrim[hidden] {
    display: none;
  }

  body[data-mobile-overlay="true"] {
    overflow: hidden;
  }

  .results {
    display: contents;
  }

  .intro {
    padding: 12px 2px 0;
    order: 1;
  }

  .toolbar {
    order: 2;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }

  .mobile-filter-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid rgba(0, 175, 168, 0.24);
    border-radius: 12px;
    color: var(--teal-dark);
    background: rgba(255, 255, 255, 0.82);
    font-weight: 850;
    box-shadow: 0 10px 24px rgba(7, 27, 51, 0.08);
    touch-action: manipulation;
  }

  .mobile-filter-toggle span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    color: #fff;
    background: var(--teal);
    font-size: 12px;
  }

  .job-list {
    order: 5;
  }

  .detail {
    position: fixed;
    z-index: 930;
    isolation: isolate;
    inset: auto max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    max-height: min(84dvh, 760px);
    overflow: auto;
    margin: 0;
    padding: 18px max(14px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 90px rgba(4, 24, 42, 0.28);
    transform: translateY(105%);
    opacity: 0;
    pointer-events: none;
    transition: transform 200ms ease, opacity 180ms ease;
    -webkit-overflow-scrolling: touch;
  }

  .detail[data-open="true"],
  body.job-detail-open .detail {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .detail-close {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-self: end;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    min-width: 104px;
    padding: 0 14px;
    border: 1px solid rgba(0, 175, 168, 0.2);
    border-radius: 999px;
    color: var(--teal-dark);
    background: rgba(255, 255, 255, 0.88);
    font-weight: 820;
  }

  h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .landing-copy h1 {
    font-size: 42px;
  }

  .hero-insight-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-metric-column,
  .hero-highlight-column {
    grid-template-rows: repeat(4, 98px);
  }

  .hero-text,
  .section-heading p:last-child,
  .seo-section p {
    font-size: 16px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid article,
  .map-card,
  .map-insights,
  .seo-section {
    border-radius: 20px;
  }

  .stat-grid article,
  .map-card,
  .map-insights,
  .seo-section {
    padding: 20px;
  }

  .map-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .germany-map {
    width: min(100%, 430px);
    height: auto;
  }

  .toolbar {
    align-items: center;
    margin-bottom: 0;
  }

  .job,
  .detail-card,
  .seo-job-index {
    padding: 20px;
  }

  .job {
    overflow: hidden;
  }

  .filters section {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .filter-options {
    max-height: 190px;
    -webkit-overflow-scrolling: touch;
  }

  .job-list {
    gap: 12px;
  }

  .job h3 {
    font-size: 18px;
  }

  .detail-card {
    gap: 18px;
  }

  .detail h2 {
    font-size: 19px;
  }

  .description {
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (max-width: 560px) {
  .topbar,
  .layout {
    margin-top: 8px;
  }

  .topbar {
    padding-top: max(12px, env(safe-area-inset-top));
  }

  .brand span {
    white-space: normal;
  }

  .search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search > button[type="submit"] {
    grid-column: 1 / -1;
  }

  .match-mode button,
  .search > button[type="submit"] {
    width: 100%;
  }

  .toolbar {
    align-items: flex-start;
    grid-template-columns: 1fr 1fr;
  }

  .toolbar-count {
    grid-column: 1 / -1;
  }

  .mobile-filter-toggle,
  button.secondary {
    width: 100%;
  }

  .job-main {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .job-actions {
    display: none;
  }

  h1 {
    font-size: 30px;
  }

  .landing-copy h1 {
    font-size: 36px;
  }

  .landing-copy {
    gap: 18px;
  }

  .hero-insight-card {
    grid-template-columns: 1fr;
    gap: 12px;
    transform: none;
  }

  .hero-metric-column,
  .hero-highlight-column {
    grid-template-rows: none;
    grid-auto-rows: minmax(106px, auto);
    gap: 14px;
  }

  .hero-stat-card,
  .hero-text-card {
    padding: 20px 22px;
    border-radius: 20px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-link,
  .secondary-link {
    justify-content: center;
    width: 100%;
  }

  .job-page-card,
  .job-page-related,
  .seo-job-index,
  .seo-landing-hero,
  .methodology-grid article {
    padding: 18px;
  }

  .job-page-header h1 {
    font-size: 31px;
  }

  .seo-landing-hero h1 {
    font-size: 32px;
  }

  .job-page-description h2,
  .job-page-related h2,
  .seo-job-index h2,
  .methodology-grid h2 {
    font-size: 23px;
  }

  .job-page-summary div {
    min-height: 76px;
  }

  .stat-grid span {
    font-size: 34px;
  }

  .hero-stat-card span {
    font-size: 38px;
  }

  .hero-text-card span,
  .hero-text-card:nth-child(3) span {
    font-size: 22px;
  }

  .faq-grid,
  .faq-grid-wide {
    grid-template-columns: 1fr;
  }

  .faq-card {
    padding: 20px;
  }

  .faq-hero h1 {
    font-size: 36px;
  }

  .section-heading h2,
  .seo-section h2 {
    font-size: 28px;
  }

  .map-card {
    padding: 16px;
  }

  .germany-map {
    width: min(100%, 330px);
  }

  h2 {
    margin-bottom: 14px;
  }

  .job,
  .detail,
  .filters,
  .detail-card {
    border-radius: 18px;
  }

  .job,
  .detail-card {
    padding: 16px;
  }

  .detail,
  .filters {
    padding: 16px;
  }

  .company-head {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .company-logo {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .company-head strong {
    font-size: 18px;
  }

  .detail a {
    min-height: 50px;
  }

  .meta,
  .skills,
  .reasons {
    gap: 6px;
  }

  .pill,
  .skill {
    min-height: 28px;
    padding: 4px 10px;
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .brand strong {
    font-size: 17px;
  }

  .brand span {
    font-size: 10.5px;
  }

  h1 {
    font-size: 27px;
  }

  .landing-copy h1 {
    font-size: 32px;
  }

  .faq-hero h1 {
    font-size: 32px;
  }

  .hero-metric-column,
  .hero-highlight-column {
    grid-auto-rows: minmax(102px, auto);
  }

  .hero-stat-card span {
    font-size: 36px;
  }

  .search input {
    padding-right: 12px;
  }
}
