/* BPOut – technisch-präzises Layout. Schriften lokal (DSGVO, kein Google-Fonts-Abruf). */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #0B1F33;
  --text: #3A4A5C;
  --muted: #5B6B7D;
  --line: #DCE3EA;
  --line-strong: #C5D0DB;
  --line-soft: #EDF1F5;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FA;
  --accent: #0B6FB0;
  --accent-dark: #084F7E;
  --accent-soft: #E6F1F9;
  --brand: #3CA4DC; /* Logo-Blau: nur für Flächen und Linien, für Text zu hell */
  --dark: #0B1F33;
  --dark-line: #2A4058;
  --dark-text: #D5DEE7;
  --dark-muted: #A9B8C7;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 8vw, 112px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
address { font-style: normal; }
[id] { scroll-margin-top: 96px; }
[hidden] { display: none !important; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 8px; color: #fff; }

.staging-bar { background: #7A2E00; color: #fff; text-align: center; font: 500 13px/1.4 var(--mono); padding: 6px 16px; letter-spacing: 0.02em; }

/* Layout */
.container { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section); }
.section--ruled { border-bottom: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .kicker, .section--dark .mono-label { color: var(--dark-muted); }
.section--dark .body-l, .section--dark p { color: var(--dark-text); }
.stack-s > * + * { margin-top: 12px; }
.stack-m > * + * { margin-top: 20px; }
.stack-l > * + * { margin-top: 32px; }
.stack-xl > * + * { margin-top: 48px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > * { flex: 1 1 440px; min-width: 0; }

/* Typografie */
.display { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; overflow-wrap: break-word; hyphens: auto; }
/* Detailseiten: Titel teilen sich die Zeile mit dem Bild, daher kleiner und nach Wortlänge gestaffelt */
.display--detail { font-size: clamp(36px, 4.6vw, 60px); }
.display--long-word { font-size: clamp(32px, 3.8vw, 52px); }
.display--xl-word { font-size: clamp(28px, 3.2vw, 44px); }
.h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -0.02em; }
.h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
.h4 { font-size: 19px; line-height: 1.3; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--text); max-width: 600px; }
.claim { font-size: 22px; line-height: 1.45; font-weight: 500; }
.body-l { font-size: 17px; line-height: 1.65; color: var(--text); }
.muted { color: var(--text); font-size: 15px; line-height: 1.6; }
.fineprint { font-size: 14px; color: var(--muted); }
.kicker { font: 400 13px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mono-label { font: 400 12px/1.4 var(--mono); letter-spacing: 0.06em; color: var(--muted); }
.text-link { font-weight: 600; text-decoration: none; }
.link-light { color: #8CCBF2; }
.link-light:hover { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; min-height: 44px; padding: 10px 20px; border-radius: var(--radius); font: 600 15px/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn--lg { min-height: 48px; padding: 14px 24px; font-size: 16px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-soft); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; gap: 16px 32px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.logo img { height: 44px; width: auto; }
@media (max-width: 420px) { .logo img { height: 36px; } }
.site-nav { display: flex; align-items: center; gap: 24px; flex: 1 1 auto; justify-content: flex-end; }
.site-nav > nav { margin-inline: auto; }
.site-nav__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; font-weight: 500; font-size: 15px; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.nav-link:hover, .nav-link[aria-current] { color: var(--accent); }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 44px; margin-left: 2px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: var(--radius); }
.sub-toggle svg { transition: transform .2s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-toggle:hover { color: var(--accent); }

/* Dropdown */
.subnav { position: absolute; top: 100%; left: -16px; z-index: 60; min-width: 340px; padding: 10px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--brand); box-shadow: 0 18px 40px -18px rgba(11, 31, 51, .35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.subnav--wide { min-width: 560px; }
.subnav--wide .subnav__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.subnav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.subnav__list a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.subnav__list a:hover, .subnav__list a:focus-visible { background: var(--bg-alt); }
.subnav__list a[aria-current="page"] .subnav__title { color: var(--accent); }
.subnav__title { font-weight: 600; font-size: 15px; }
.subnav__text { font-weight: 400; font-size: 13px; line-height: 1.4; color: var(--muted); }
.subnav__all { display: block; margin-top: 6px; padding: 10px 12px 4px; border-top: 1px solid var(--line-soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.has-sub.is-open .subnav { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1121px) and (hover: hover) {
  .has-sub:hover .subnav { opacity: 1; visibility: visible; transform: none; }
  .has-sub:hover .sub-toggle svg { transform: rotate(180deg); }
}
.badge { font: 400 12px/1 var(--mono); background: var(--accent-soft); color: var(--accent-dark); padding: 4px 8px; border-radius: 999px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .site-header__inner { flex-wrap: wrap; }
  .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding-bottom: 12px; }
  .site-nav.is-open { display: flex; }
  .site-nav > nav { margin: 0; }
  .site-nav__links { flex-direction: column; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line-soft); }
  .nav-link { flex: 1 1 auto; }
  .sub-toggle { width: 44px; }
  .subnav, .subnav--wide { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 10px 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; display: none; }
  .has-sub.is-open .subnav { display: block; }
  .subnav--wide .subnav__list { grid-template-columns: 1fr; }
  .subnav__text { display: none; }
  .subnav__list a { padding: 10px 12px; min-height: 44px; justify-content: center; }
  .site-nav .btn { justify-content: center; }
  .lang-switch { justify-content: center; }
}

/* Hero */
.hero__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: clamp(48px, 8vw, 112px); }
.hero__inner--career { align-items: flex-end; padding-block: clamp(48px, 7vw, 96px); }
.hero__inner--detail { padding-block: 32px 0; }
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__visual { flex: 1 1 420px; min-width: 0; position: relative; }
.hero__img { width: 100%; height: 460px; object-fit: cover; border: 1px solid var(--line-strong); }
.hero__img--short { height: 340px; }
.hero__tag { position: absolute; left: 24px; bottom: 24px; background: #fff; border: 1px solid var(--line-strong); padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.detail-hero { padding-block: clamp(32px, 5vw, 64px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font: 400 13px/1.4 var(--mono); color: var(--muted); }
.breadcrumb a { color: var(--muted); }

.grid-bg { background-color: var(--bg-alt); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; }
.placeholder { position: relative; height: 460px; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.placeholder--short { height: 340px; }
.placeholder__label { display: flex; flex-direction: column; gap: 8px; max-width: 320px; color: var(--text); font-size: 15px; }
.crop { position: absolute; width: 16px; height: 16px; border: 0 solid var(--brand); }
.crop--tl { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; }
.crop--tr { top: 12px; right: 12px; border-top-width: 2px; border-right-width: 2px; }
.crop--bl { bottom: 12px; left: 12px; border-bottom-width: 2px; border-left-width: 2px; }
.crop--br { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; }

/* Fakten */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.facts__item { padding: 32px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.facts__item:first-child { padding-left: 0; }
.facts__item:last-child { border-right: 0; }
.facts__item dd { color: var(--muted); font-size: 15px; }
.facts__num { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }

/* Kunden */
.clients__inner { padding-block: 48px; display: flex; flex-direction: column; gap: 24px; }
.clients__inner h2 { text-transform: uppercase; }
.clients__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
/* Logos: im Ruhezustand grau, beim Überfahren farbig mit leichtem Anheben */
.client { position: relative; height: 96px; display: flex; align-items: center; justify-content: center; padding: 18px 22px; background: #fff; border: 1px solid var(--line); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; }
.client::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.client img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .55; transition: filter .35s, opacity .35s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.client__name { font-weight: 700; font-size: 18px; color: #66768A; text-align: center; transition: color .3s; }
.client:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 12px 24px -16px rgba(11, 31, 51, .35); }
.client:hover::after { transform: scaleX(1); }
.client:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.client:hover .client__name { color: var(--ink); }
/* Touch-Geräte ohne Hover: Logos direkt farbig */
@media (hover: none) {
  .client img { filter: none; opacity: 1; }
}

/* Abschnittsköpfe */
.section-head--split { display: flex; flex-wrap: wrap; gap: 16px 64px; align-items: flex-end; justify-content: space-between; }
.section-head--split > .stack-s { max-width: 680px; }
.section-head__text { font-size: 17px; line-height: 1.6; color: var(--text); max-width: 440px; }
.section-head { max-width: 760px; }
.section-head--split { max-width: none; }

/* Karten */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 20px; color: inherit; text-decoration: none; transition: border-color .15s; }
.card:hover { border-color: var(--accent); color: inherit; }
.card__num { font: 400 13px/1 var(--mono); color: var(--accent); }
.card__title { font-size: 24px; }
.card__more { margin-top: auto; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.ruled-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--text); }
.ruled-list li { border-top: 1px solid var(--line-soft); padding-top: 10px; }
.ruled-list--small { font-size: 15px; }
.ruled-list--large { font-size: 19px; max-width: 760px; }
.ruled-list--large li { padding-block: 14px 4px; border-color: var(--line); }

/* Vorschaubilder in Karten: randlos oben, leichter Zoom beim Überfahren */
.media-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .6s; filter: saturate(.85); }
.media-thumb--card { margin: -32px -32px 4px; }
.media-thumb--tile { margin: -28px -28px 4px; }
.card:hover .media-thumb img, a.tile:hover .media-thumb img { transform: scale(1.05); filter: saturate(1); }

.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile { background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
a.tile:hover { background: var(--bg-alt); color: inherit; }
.tile h3 { font-size: 21px; }
.tile p { font-size: 15px; line-height: 1.6; color: var(--text); }
.tile__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tile__more { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--accent); }

/* Zeitleiste & Standorte */
.timeline { list-style: none; padding: 0; border-left: 2px solid var(--brand); display: flex; flex-direction: column; gap: 22px; }
.timeline li { padding-left: 24px; display: flex; gap: 20px; color: var(--text); }
.timeline__year { font: 400 14px/1.6 var(--mono); color: var(--accent); flex: 0 0 48px; }
.location-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.location { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 8px; color: var(--text); font-size: 15px; line-height: 1.5; transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; }
.location__name { font-size: 22px; color: var(--ink); font-weight: 600; transition: color .3s; }
.location--hq { background: var(--dark); border-color: var(--dark); color: var(--dark-text); }
.location--hq .location__name { color: #fff; }
.location--hq .mono-label { color: var(--dark-muted); text-transform: uppercase; }
/* Standort-Kacheln: Anheben, Akzentlinie und Ortsmarke beim Überfahren */
.location::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); transform: scaleY(0); transform-origin: top; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.location::after { content: ""; position: absolute; right: 20px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(60, 164, 220, .5); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s; }
.location:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 14px 28px -18px rgba(11, 31, 51, .4); }
.location:hover::before { transform: scaleY(1); }
.location:hover::after { opacity: 1; transform: scale(1); animation: location-pulse 1.6s ease-out infinite; }
.location:hover .location__name { color: var(--accent); }
.location--hq:hover .location__name { color: #fff; }
@keyframes location-pulse {
  0% { box-shadow: 0 0 0 0 rgba(60, 164, 220, .55); }
  100% { box-shadow: 0 0 0 12px rgba(60, 164, 220, 0); }
}

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }

/* Querverweise Branchen ↔ Leistungen */
.link-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.link-card { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px 52px 20px 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .25s, transform .25s; }
.link-card:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.link-card__title { font-weight: 600; font-size: 17px; }
.link-card__text { font-size: 14px; color: var(--muted); line-height: 1.45; }
.link-card__arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--accent); transition: transform .25s; }
.link-card:hover .link-card__arrow { transform: translate(4px, -50%); }

/* Sprachumschalter */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1 var(--mono); color: var(--muted); }
.lang-switch a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }
.lang-switch a:hover { color: var(--accent); }
.lang-switch__current { color: var(--accent); padding-inline: 4px; }

/* Jobs */
.job-teaser { list-style: none; padding: 0; border-top: 1px solid var(--dark-line); }
.job-teaser a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--dark-line); color: #fff; text-decoration: none; font-size: 18px; }
.job-teaser a:hover strong { text-decoration: underline; }
.job-teaser__note { margin-top: 16px; }

.career-stats { flex: 1 1 360px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.career-stats > div { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); }
.career-stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.career-stats > div:nth-last-child(-n+2) { border-bottom: 0; }
.career-stats dt { font-size: 14px; color: var(--muted); }
.career-stats dd { margin-top: 4px; font-size: 17px; font-weight: 600; }
.career-stats__num { font-size: 36px !important; font-weight: 700 !important; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding-block: 56px; }

.filters { display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: 500 14px/1.2 var(--sans); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip__count { font: 400 12px/1 var(--mono); opacity: 0.8; }

.job-list { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.job-list li { border-bottom: 1px solid var(--line); }
.job { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 22px 8px; color: inherit; text-decoration: none; }
.job:hover { background: var(--bg-alt); color: inherit; }
.job__main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.job__title { font-size: 19px; font-weight: 600; line-height: 1.35; }
.job__tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.pill { border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--text); }
.job__cta { font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }

/* Tabelle, Fallbeispiel, CTA */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.table th { text-align: left; font: 400 12px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 14px 20px; border-bottom: 1px solid var(--ink); }
.table td { padding: 16px 20px; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.table tr:last-child td { border-bottom: 0; }
.table__strong { font-weight: 600; color: var(--ink) !important; }
.table__mono { font-family: var(--mono); }
.case { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.case__col { border-top: 2px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.case__col--accent { border-top-color: var(--accent); }
.case__num { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.cta-band { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center; justify-content: space-between; }
.cta-band > .stack-s { flex: 1 1 520px; min-width: 0; }
.cta-band__action { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.avatar { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }

/* Formular */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full, .form .notice, .form > .btn { grid-column: 1 / -1; }
.form > .btn { justify-self: start; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea { font: inherit; font-size: 16px; border: 1px solid #8C9AAA; border-radius: var(--radius); padding: 12px 14px; min-height: 48px; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; }
.field--hp { position: absolute; left: -9999px; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text); }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 20px; }
.contact-lines { display: flex; flex-direction: column; gap: 6px; font-size: 17px; font-weight: 600; }
.contact-lines__phone { color: var(--ink); text-decoration: none; }

.notice { border: 1px dashed #8C9AAA; padding: 20px 24px; color: var(--text); background: var(--bg-alt); }
.notice--ok { border-style: solid; border-color: #2F7D4F; background: #EEF7F1; color: #1D5234; }
.notice--error { border-style: solid; border-color: #B42318; background: #FDF0EF; color: #8A1A12; }
.notice--empty { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.notice--empty[hidden] { display: none; }

/* Fließtext (Impressum, Datenschutz) */
.prose { color: var(--text); font-size: 17px; line-height: 1.7; }
.prose h1 { color: var(--ink); margin-bottom: 32px; }
.prose h2 { color: var(--ink); font-size: 22px; margin: 36px 0 10px; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.4em; margin-top: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 32px 56px; padding-block: 48px 24px; }
.site-footer__brand { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; max-width: 420px; line-height: 1.6; }
.site-footer__address { line-height: 1.7; color: var(--text); }
.site-footer__links { display: flex; flex-direction: column; gap: 4px; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--accent); }
.site-footer__links a { min-height: 32px; display: inline-flex; align-items: center; }
.site-footer__copy { padding-block: 16px 32px; border-top: 1px solid var(--line-soft); }

@media (max-width: 640px) {
  .facts__item { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .facts__item:last-child { border-bottom: 0; }
  .hero__img, .placeholder { height: 320px; }
  .hero__tag { left: 12px; bottom: 12px; }
  .timeline li { flex-direction: column; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
