.career-page .private-hero-photo > img {
  object-position: center;
}
.career-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.career-role-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  scroll-margin-top: 120px;
}
.career-role-card > .eyebrow {
  margin-bottom: 15px;
}
.career-role-card > h3 {
  margin-bottom: 19px;
  overflow-wrap: break-word;
}
.career-role-card > h3::after {
  /* rote Marke unter dem Rollentitel, wächst beim Drüberfahren */
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 16px;
  background: var(--red);
  transition: width 0.3s;
}
@media (hover: hover) {
  .career-role-card:hover > h3::after {
    width: 64px;
  }
}
.career-role-facts {
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.career-role-facts strong {
  font-weight: 600;
}
.career-role-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: auto;
  padding-top: 26px;
}
.career-role-actions .button {
  max-width: 100%;
}
.career-source-note {
  margin-top: 24px;
  max-width: 850px;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--muted);
}
.career-contact p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.career-contact p a:hover {
  text-decoration-thickness: 2px;
}
.career-contact p a {
  color: var(--white);
}
.career-page #miteinander {
  padding-top: 0;
}
.career-page .trust-portrait img {
  /* Büro: Schreibtische und der Laptop mit dem Antwerker-Logo bleiben im Bild */
  object-position: right center;
}
/* TEAMWORK als Wortmarke in der Logo-Schrift, das W aus dem Logo in Rot */
.career-teamwork {
  color: var(--ink);
  overflow-wrap: normal;
}
.career-teamwork .logo-w {
  color: var(--red);
}
/* Grundsätze ohne Ameisen-Marker (Daniels Entwurf) */
.career-page .trust-principles article > div {
  padding-left: 0;
}
.career-page .trust-principles article > div::before {
  content: none;
}
.career-contact {
  scroll-margin-top: 120px;
}
.career-contact .cost-mark {
  /* Bewerbungskarte: Profil mit Kopf und Schultern, zwei Textzeilen, Klammer */
  transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.apply-mark svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.apply-mark .apply-red {
  stroke: var(--red);
}
.apply-mark .apply-clip {
  fill: var(--red);
  stroke: none;
}
@media (hover: hover) {
  .career-contact:hover .cost-mark {
    transform: rotate(0deg) translateY(-3px);
  }
}
@media (max-width: 980px) {
  .career-role-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 850px) {
  .career-page .private-hero-photo {
    height: auto;
    aspect-ratio: 3 / 2;
  }
}
@media (max-width: 600px) {
  .career-role-card {
    padding: 25px;
  }
  .career-role-actions .button {
    padding-inline: 14px;
    gap: 12px;
  }
}

.application-privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.application-dialog {
  width: min(740px, calc(100vw - 40px));
  height: min(780px, calc(100dvh - 48px));
  max-width: none;
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 100px #282c2940;
  overflow: hidden;
}
.application-dialog::backdrop {
  background: #282c2980;
  backdrop-filter: blur(3px);
}
.application-dialog [hidden] {
  display: none !important;
}
.application-shell {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.application-header {
  padding: 20px 28px 0;
}
.application-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.application-header-line p {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: var(--fs-small);
}
.application-header-line strong {
  color: var(--red-text);
  font-size: var(--fs-text);
  font-variant-numeric: tabular-nums;
}
.application-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: var(--fs-text);
  line-height: 1;
}
.application-close:hover {
  border-color: var(--red);
  color: var(--red-text);
}
.application-header progress {
  display: block;
  appearance: none;
  width: 100%;
  height: 4px;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--line);
  color: var(--red);
}
.application-header progress::-webkit-progress-bar {
  background: var(--line);
}
.application-header progress::-webkit-progress-value {
  background: var(--red);
}
.application-header progress::-moz-progress-bar {
  background: var(--red);
}
.application-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  min-height: 0;
  padding: 28px 36px 36px;
  scrollbar-gutter: stable;
}
.application-kicker {
  color: var(--red-text);
  font-size: var(--fs-small);
  font-weight: 600;
  margin-bottom: 13px;
}
#application-step-hint {
  margin-top: 16px;
  font-size: var(--fs-small);
  line-height: 1.6;
}
#application-form {
  margin-top: 26px;
}
.application-choices {
  display: grid;
  gap: 12px;
}
.application-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 67px;
  padding: 18px 20px;
  text-align: left;
  line-height: 1.5;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    border-color 160ms,
    background 160ms;
}
.application-choice:hover {
  border-color: var(--red-line);
}
.application-choice[aria-pressed="true"] {
  border-color: var(--red);
  background: var(--red-tint);
  box-shadow: inset 3px 0 var(--red);
}
.application-choice[aria-disabled="true"] {
  cursor: default;
}
.application-choice-arrow {
  flex: 0 0 auto;
  font-size: var(--fs-text);
  color: var(--red);
}
.application-field {
  margin-bottom: 18px;
}
.application-field label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-small);
  font-weight: 600;
}
.application-field input,
.application-field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-text);
  line-height: 1.6;
}
.application-field textarea {
  resize: vertical;
}
.application-dialog input:focus-visible,
.application-dialog textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.application-field [aria-invalid="true"] {
  border-color: var(--red);
}
.application-error {
  color: #a41b31;
  font-size: var(--fs-small);
  margin-top: 6px;
}
.application-error:empty {
  display: none;
}
.application-privacy,
.application-status {
  font-size: var(--fs-small);
  line-height: 1.6;
  margin-top: 20px;
}
.application-status:empty {
  display: none;
}
.application-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 28px;
  padding-bottom: max(18px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.application-footer > p {
  margin-left: auto;
  font-size: var(--fs-small);
}
.application-footer .button {
  margin-left: auto;
  min-height: 48px;
}
.application-secondary {
  min-height: 48px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  font-size: var(--fs-small);
  font-weight: 600;
}
.application-secondary:hover {
  border-color: var(--red);
  color: var(--red-text);
}
.application-summary {
  margin: 20px 0;
}
.application-summary > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.application-summary dt {
  color: var(--muted);
  font-size: var(--fs-small);
  margin-bottom: 5px;
}
.application-summary dd {
  margin: 0;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.application-receipt {
  margin-block: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 9px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.application-dialog button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
@media (max-width: 600px) {
  .application-dialog {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 12px;
  }
  .application-header {
    padding: 12px 18px 0;
  }
  .application-header-line {
    margin-bottom: 28px;
  }
  .application-body {
    padding: 24px 20px;
  }
  .application-choice {
    padding: 15px;
  }
  .application-footer {
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    gap: 8px;
  }
  .application-footer .button,
  .application-footer .application-secondary {
    padding-inline: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .application-dialog *,
  .application-dialog *::before,
  .application-dialog *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
