/* ------------------------------------------------------------------ *
 * bewerbung.pomberger.com — Styles
 * Ruhig, sachlich, kontrastreich. POMBERGER-Blau + viel Weiß.
 * Kein Framework, keine externen Fonts.
 * ------------------------------------------------------------------ */

:root {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-alt: #f4f6fa;
  --color-ink: #1a1f2b;
  --color-ink-muted: #3f4757;
  --color-ink-soft: #6b7383;
  --color-accent: #1a4a86;          /* POMBERGER Blau */
  --color-accent-strong: #123566;
  --color-accent-soft: #dfe8f4;
  --color-line: #e2e6ee;
  --color-line-strong: #b2bccc;
  --color-focus: #0d3a70;

  --radius-s: 0.25rem;
  --radius-m: 0.5rem;
  --radius-l: 1rem;

  --shadow-s: 0 1px 2px rgba(18, 53, 102, 0.06), 0 1px 3px rgba(18, 53, 102, 0.04);
  --shadow-m: 0 10px 24px rgba(18, 53, 102, 0.10);

  --font-body: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", "Noto Sans", sans-serif;
  --font-head: "Iowan Old Style", "Palatino", Georgia, serif;

  --container-max: 72rem;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a {
  color: var(--color-accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-thickness: 2px; }
:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: var(--radius-s);
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; margin: 0 0 0.5em; color: var(--color-ink); }
h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p  { margin: 0 0 1rem; color: var(--color-ink-muted); }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.25rem; }

/* Kopfbereich ------------------------------------------------------- */
.site-header {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: var(--color-ink);
}
.brand-logo {
  height: 2.4rem; width: auto; max-width: 12rem;
  display: block;
}
.brand-context {
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  color: var(--color-ink-muted);
  padding-left: 0.75rem; border-left: 1px solid var(--color-line);
}
.nav { display: flex; align-items: center; gap: 1.15rem; flex-wrap: wrap; }
.nav a { color: var(--color-ink-muted); text-decoration: none; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--color-accent-strong); }
.nav .btn { margin-left: 0.25rem; }

/* Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.15rem; border-radius: 999px; text-decoration: none; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; background: var(--color-accent); color: white;
  transition: background 120ms ease, transform 120ms ease;
}
.btn:hover { background: var(--color-accent-strong); }
.btn:focus-visible { outline-offset: 3px; }
.btn.btn-secondary { background: transparent; color: var(--color-accent-strong); border-color: var(--color-accent); }
.btn.btn-secondary:hover { background: var(--color-accent-soft); }
.btn.btn-ghost { background: transparent; color: var(--color-ink-muted); border-color: var(--color-line); }
.btn.btn-block { display: flex; width: 100%; }

/* Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(22rem, 60vh, 32rem);
  display: flex; align-items: stretch;
  overflow: hidden;
  background: var(--color-surface-alt);
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(115deg, rgba(18, 53, 102, 0.78) 0%, rgba(18, 53, 102, 0.55) 45%, rgba(18, 53, 102, 0.15) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.35) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  color: white;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  display: flex; align-items: center;
  width: 100%;
}
.hero .lede { max-width: 44rem; }
.hero .eyebrow {
  margin: 0 0 0.5rem; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.hero h1 { color: white; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.hero p.lede-text { font-size: 1.15rem; color: rgba(255, 255, 255, 0.94); }
.hero .cta-row { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.hero .cta-row .btn.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white; border-color: rgba(255, 255, 255, 0.85);
}
.hero .cta-row .btn.btn-secondary:hover { background: rgba(255, 255, 255, 0.3); }

/* Stats-Strip unter dem Hero -------------------------------------- */
.stats-strip { padding: 2rem 0; background: var(--color-surface); border-bottom: 1px solid var(--color-line); }
.hero-highlights {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
}
.hero-highlights .stat {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-l); padding: 1.25rem; box-shadow: var(--shadow-s);
}
.hero-highlights .stat .n { font-family: var(--font-head); font-size: 2.4rem; color: var(--color-accent-strong); }
.hero-highlights .stat .n.placeholder { color: var(--color-ink-soft); opacity: 0.55; }
.hero-highlights .stat .l { color: var(--color-ink-muted); font-size: 0.95rem; }
.hero-highlights .stat .h { font-size: 0.85rem; color: var(--color-ink-soft); margin-top: 0.25rem; }

/* Sections --------------------------------------------------------- */
.section { padding: 3rem 0; }
.section.alt { background: var(--color-surface-alt); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.section h2 { margin-bottom: 0.75rem; }
.section .lead { font-size: 1.1rem; color: var(--color-ink-muted); max-width: 44rem; margin-bottom: 2rem; }
.section .footnote { color: var(--color-ink-soft); font-size: 0.95rem; margin-top: 1rem; }

/* Unternehmen + Team zweispaltig ---------------------------------- */
.two-col {
  display: grid; gap: 2rem;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
}
.two-col .prose { max-width: none; }
.team-card {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-l); padding: 1rem; box-shadow: var(--shadow-s);
  display: grid; gap: 0.75rem;
}
.team-card figure { margin: 0; }
.team-card img { border-radius: var(--radius-m); width: 100%; height: auto; }
.team-card figcaption { color: var(--color-ink-soft); font-size: 0.9rem; margin-top: 0.4rem; text-align: center; }
.kununu-line {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  margin: 0.25rem 0 0.5rem 0.25rem;
}
.kununu-line a { display: inline-flex; }
.kununu-line img { width: 195px; max-width: 100%; height: auto; }
.external-hint {
  font-size: 0.8rem; color: var(--color-ink-soft);
}
.external-hint::before { content: "↗ "; }

/* Video-Karten ----------------------------------------------------- */
.video-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.video-card { margin: 0; }
.video-card > a {
  display: grid; gap: 0.5rem;
  color: var(--color-ink); text-decoration: none;
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-l); padding: 0.6rem; box-shadow: var(--shadow-s);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.video-card > a:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.video-card .thumb {
  position: relative; display: block;
  border-radius: var(--radius-m); overflow: hidden;
  aspect-ratio: 16 / 9; background: #0b1a30;
}
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card .thumb .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: white; font-size: 2.4rem;
  background: rgba(18, 53, 102, 0.35);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  transition: background 120ms ease;
}
.video-card > a:hover .thumb .play { background: rgba(18, 53, 102, 0.5); }
.video-label {
  display: grid; gap: 0.15rem; padding: 0.25rem 0.35rem 0.35rem;
}
.video-title { font-weight: 600; }

/* Werte-Grid ------------------------------------------------------- */
.values-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.value {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-l); padding: 1.25rem 1.25rem 1rem; box-shadow: var(--shadow-s);
}
.value h3 { color: var(--color-accent-strong); font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 0.35rem; }
.value p { margin: 0 0 0.75rem; color: var(--color-ink-muted); font-size: 0.98rem; }
.value p:last-child { margin-bottom: 0; }
.value .value-claim { font-weight: 600; color: var(--color-ink); }
.value .value-defn {
  margin: 0.25rem 0 0.75rem; padding: 0.35rem 0.85rem;
  border-left: 3px solid var(--color-accent-soft);
  color: var(--color-ink-soft); font-size: 0.9rem; font-style: italic;
  background: var(--color-surface-alt);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

/* Praxis-Accordion ------------------------------------------------- */
.praxis-list { display: grid; gap: 0.6rem; }
.praxis-item {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-m); padding: 0.15rem 1rem;
}
.praxis-item[open] { box-shadow: var(--shadow-s); }
.praxis-item > summary {
  cursor: pointer; padding: 0.75rem 0; list-style: none;
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 600; color: var(--color-ink);
}
.praxis-item > summary::-webkit-details-marker { display: none; }
.praxis-item > summary::before {
  content: "+"; font-family: var(--font-body); color: var(--color-accent);
  font-weight: 700; width: 1.25rem; text-align: center;
  transition: transform 120ms ease;
}
.praxis-item[open] > summary::before { content: "−"; }
.praxis-item .praxis-body { padding: 0 0 0.75rem 1.75rem; }
.praxis-item .praxis-body p { margin: 0 0 0.5rem; }
.praxis-item .praxis-body p:last-child { margin-bottom: 0; }
.praxis-title { flex: 1; }

/* Jobkarten -------------------------------------------------------- */
.jobs-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.job-card {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-l); padding: 1.25rem; display: flex; flex-direction: column;
  gap: 0.75rem; box-shadow: var(--shadow-s); transition: transform 120ms ease, box-shadow 120ms ease;
  position: relative;
}
.job-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.job-card h3 { margin: 0; font-size: 1.2rem; }
.job-card h3 a { color: var(--color-ink); text-decoration: none; }
.job-card h3 a:hover { color: var(--color-accent-strong); text-decoration: underline; }
.job-card .meta { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.9rem; color: var(--color-ink-soft); }
.job-card .meta .tag {
  background: var(--color-accent-soft); color: var(--color-accent-strong); border-radius: 999px;
  padding: 0.15rem 0.6rem; font-weight: 500;
}
.job-card .excerpt { color: var(--color-ink-muted); font-size: 0.95rem; margin: 0; }
.job-card .actions { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.job-card .initiative-flag {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--color-accent-strong);
}

/* Jobdetail --------------------------------------------------------- */
.job-detail-header { padding: 2.5rem 0 1rem; }
.job-detail-header .breadcrumb { color: var(--color-ink-soft); font-size: 0.95rem; margin-bottom: 0.5rem; }
.job-detail-header .breadcrumb a { color: inherit; }
.job-detail-facts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); margin: 1.5rem 0; }
.job-detail-facts .fact {
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-m);
  padding: 0.9rem 1rem; font-size: 0.95rem;
}
.job-detail-facts .fact .label { color: var(--color-ink-soft); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.job-detail-facts .fact .value { color: var(--color-ink); font-weight: 500; }

.prose { max-width: 44rem; color: var(--color-ink-muted); }
.prose h2, .prose h3, .prose h4 { color: var(--color-ink); margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose p { margin: 0 0 1rem; }
.prose a { color: var(--color-accent-strong); }

/* Info-/Fallback-Banner --------------------------------------------- */
.notice {
  border-left: 4px solid var(--color-accent); background: var(--color-accent-soft);
  padding: 0.85rem 1rem; border-radius: var(--radius-m); color: var(--color-ink);
}
.notice.subtle { border-left-color: var(--color-line-strong); background: var(--color-surface-alt); }

.dev-strip {
  background: repeating-linear-gradient(45deg, #fff3cd, #fff3cd 10px, #ffe69c 10px, #ffe69c 20px);
  color: #664d03; text-align: center; padding: 0.35rem 0.6rem; font-size: 0.85rem; font-weight: 600;
}

/* Formulare --------------------------------------------------------- */
.form-card {
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius-l); padding: 1.5rem; box-shadow: var(--shadow-s);
  max-width: 26rem; margin: 2rem auto;
}
.form-card h1 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
label { font-weight: 600; color: var(--color-ink); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; padding: 0.7rem 0.9rem; border-radius: var(--radius-m);
  border: 1px solid var(--color-line-strong); background: var(--color-surface);
  color: var(--color-ink); font-size: 1rem; font-family: inherit;
}
textarea { min-height: 6rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--color-accent); outline: none; box-shadow: 0 0 0 3px rgba(26, 74, 134, 0.15); }
.form-row .hint { color: var(--color-ink-soft); font-size: 0.9rem; }
.form-row .err { color: #a52530; font-size: 0.9rem; }
.form-actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; margin-top: 0.5rem; }
fieldset { border: 0; margin: 0; padding: 0; }
.check {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.6rem 0.75rem; border: 1px solid var(--color-line); border-radius: var(--radius-m);
  background: var(--color-surface); cursor: pointer;
}
.check input { margin-top: 0.2rem; }
.scale {
  display: flex; gap: 0.35rem; flex-wrap: wrap;
}
.scale label {
  display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.4rem 0.65rem;
  border: 1px solid var(--color-line); border-radius: var(--radius-m); background: var(--color-surface);
  font-weight: 500;
}

/* Portal ------------------------------------------------------------ */
.portal-wrap { max-width: 52rem; margin: 2rem auto; padding: 0 1.25rem; }
.portal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--color-accent-soft); color: var(--color-accent-strong);
  padding: 0.25rem 0.6rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
}
.status-badge {
  display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
  background: var(--color-surface-alt); color: var(--color-ink);
}
.status-badge.draft { background: #e7e3d8; color: #4d4536; }
.status-badge.submitted { background: #e8ecf5; color: #26437a; }
.status-badge.in_review { background: #f7ecd2; color: #7a5a1a; }
.status-badge.in_interview { background: #dcecdb; color: #305e2f; }
.status-badge.offer { background: #ecdcf3; color: #6b2f7e; }
.status-badge.hired { background: #d4efd8; color: #1e5a2b; }
.status-badge.withdrawn, .status-badge.closed { background: #eeded9; color: #7a3625; }

.progress { display: flex; gap: 0.5rem; margin: 1.25rem 0 1.5rem; flex-wrap: wrap; }
.progress .step {
  padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--color-surface-alt);
  color: var(--color-ink-soft); font-size: 0.9rem; font-weight: 600;
}
.progress .step[data-active="true"] {
  background: var(--color-accent-soft); color: var(--color-accent-strong);
}
.progress .step[data-done="true"] {
  background: #dcecdb; color: #305e2f;
}
.wizard-step { display: none; }
.wizard-step.is-active { display: block; }

.docs-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.5rem; }
.docs-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-m);
  padding: 0.5rem 0.85rem;
}

/* Footer ------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--color-line);
  background: var(--color-surface-alt);
  padding: 2rem 0;
  color: var(--color-ink-soft);
  font-size: 0.95rem;
  margin-top: 3rem;
}
.site-footer .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: var(--color-ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent-strong); }

/* A11y-Helfer ------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--color-ink); color: white; padding: 0.5rem 0.75rem; z-index: 1000; }
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

@media (prefers-color-scheme: dark) {
  /* Wir bleiben absichtlich hell — POMBERGER-Blau vor viel Weiß. */
}

/* ------------------------------------------------------------------ *
 * Mobile-Härtung
 * Ziel: keine horizontale Scrollbar auf 320 px, verlässliche Umbrüche
 * bei Header/Nav, Job-Grid, Job-Facts, Wizard-Steps, Dateiliste,
 * Hero-Bild, Videos, Team+Kununu.
 * ------------------------------------------------------------------ */
@media (max-width: 720px) {
  .site-header .container {
    flex-wrap: wrap;
    row-gap: 0.75rem;
    align-items: center;
  }
  .nav { width: 100%; justify-content: flex-start; }
  .brand-logo { height: 2rem; max-width: 10rem; }
  .brand-context {
    font-size: 0.9rem; padding-left: 0.6rem;
  }

  .hero { min-height: auto; }
  .hero-media img { object-position: center 55%; }
  .hero-inner { padding: 2.5rem 0; }
  .hero-highlights { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }

  .two-col { grid-template-columns: minmax(0, 1fr); }
  /* auto-fit + minmax(0,1fr) darf NICHT genutzt werden: repeat(auto-fit,
   * minmax(0,1fr)) erzeugt beliebig viele Null-Breit-Spalten und rendert
   * mobil wie 4/5 winzige Spalten. Fix: explizit eine Spalte. */
  .values-grid { grid-template-columns: minmax(0, 1fr); }
  .jobs-grid { grid-template-columns: minmax(0, 1fr); }
  .video-grid { grid-template-columns: minmax(0, 1fr); }
  .job-detail-facts { grid-template-columns: minmax(0, 1fr); }

  .job-card { padding-top: 2.25rem; }
  .job-card .initiative-flag { position: static; display: inline-block; margin-bottom: 0.25rem; }

  .site-footer .container { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  .portal-head { flex-direction: column; align-items: flex-start; }
  .progress { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .progress .step { white-space: nowrap; }
  .docs-list li { flex-wrap: wrap; row-gap: 0.35rem; }
}

@media (max-width: 420px) {
  html, body { max-width: 100vw; overflow-x: hidden; }
  .container { padding-left: 1rem; padding-right: 1rem; }
  .form-card { margin: 1rem auto; padding: 1rem; }
  .section { padding: 2rem 0; }
  h1 { font-size: clamp(1.5rem, 5vw, 1.9rem); word-wrap: break-word; overflow-wrap: anywhere; }
  h2 { font-size: clamp(1.25rem, 4.5vw, 1.6rem); }
  .site-header { padding: 0.6rem 0; }
  .site-header .container { gap: 0.5rem; }
  .btn { padding: 0.65rem 1rem; }
  .brand-logo { height: 1.75rem; max-width: 8.5rem; }
  .brand-context {
    font-size: 0.85rem; padding-left: 0.5rem;
  }
  .hero .lede { padding-right: 0; }
  .video-card > a { padding: 0.5rem; }
  .praxis-item { padding: 0.15rem 0.75rem; }
  .praxis-item .praxis-body { padding-left: 1.5rem; }
  /* Wizard: Basisdaten-PLZ+Ort-Grid auf eine Spalte */
  .form-row [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { width: 100%; }
}

@media (max-width: 340px) {
  /* 320-px-Sicherheit: extrem enge Displays. */
  .brand-context { display: none; }
  h1 { font-size: 1.4rem; }
  .hero h1 { font-size: 1.5rem; }
  .btn { padding: 0.6rem 0.85rem; font-size: 0.95rem; }
  .value { padding: 1rem; }
  .job-card { padding: 1rem; padding-top: 2.25rem; }
}
