.head .brand img { width: 155px; }
.head .nav a:focus-visible, .portal-card a:focus-visible, .filters button:focus-visible {
  outline: 3px solid #946521;
  outline-offset: 4px;
}
.hero.portal-hero { min-height: 460px; background: linear-gradient(120deg, #132633 0%, #234555 100%); }
.portal-hero .hero-copy { padding-block: clamp(42px, 5vw, 75px); }
.portal-hero .hero-copy .btn { background: #e6c48c; }
.portal-hero .hero-copy .btn:hover { background: #f6dcb2; }
.portal-hero .hero-image { background-position: center; }
.portal-hero .hero-image, .card-image { position: relative; }
.portal-hero .fleet-hero { margin: 0; background: #172b38; }
.fleet-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.image-credit { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 3px; background: #172b38; color: #fff; font-size: .75rem; }
.portal-hero h1 { font-size: clamp(2.2rem, 4vw, 3.65rem); }
.portal-section { scroll-margin-top: 110px; }
.portal-section h2 { margin-top: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.filters button {
  color: #172b38;
  background: white;
  border: 1px solid #c4d0d2;
  padding: 8px 15px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}
.filters button[aria-pressed="true"] { background: #172b38; color: white; border-color: #172b38; }
.job-count { margin: 20px 0 12px; font-size: .95rem; }
.portal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.portal-card {
  background: white;
  border: 1px solid #dfe5e6;
  border-radius: 5px;
  overflow: clip;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 28px -22px #26425085, 0 2px 5px #2037420d;
  transition: box-shadow .2s ease;
}
.portal-card:hover, .portal-card:focus-within { box-shadow: 0 16px 30px -17px #2642508a, 0 3px 8px #20374212; }
.portal-card[hidden] { display: none; }
.portal-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.portal-card .team-crop { width: 100%; aspect-ratio: 16 / 9; }
#buerokraft img, #ausbildung-bueromanagement img, .contact img { object-position: center top; }
.portal-card .portal-card-copy { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.portal-card .eyebrow { color: #79571f; }
.portal-card h3 { font-size: 23px; margin: 10px 0; }
.portal-card .portal-pay { color: #214457; font-weight: 700; margin: 5px 0 18px; }
.portal-card a { margin-top: auto; align-self: flex-start; color: #172b38; font-weight: 700; text-underline-offset: 4px; }
.dark .benefits span { color: #fff; }

#bewerben { scroll-margin-top: 86px; background: radial-gradient(ellipse at top right, #e0ecea, #f5f3ee 72%); }
.wizard { max-width: 920px; }
.wizard-header {
  padding: clamp(24px, 5vw, 42px);
  color: white;
  background: linear-gradient(120deg, #172b38, #294e5e);
  border-radius: 12px 12px 0 0;
}
.wizard-header .eyebrow { color: #e6c48c; margin: 19px 0 8px; }
.wizard-header h2 { margin: 0; font-size: clamp(1.9rem, 4.5vw, 3rem); overflow-wrap: anywhere; }
.wizard-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 700;
  cursor: pointer;
}
.wizard-link:hover { text-decoration: underline; }
.step-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: #eaf1f1;
  margin: 0;
  padding: 16px clamp(20px, 5vw, 42px);
  list-style: none;
}
.step-progress li { color: #415d69; font-size: .9rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.step-progress span { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; border: 1px solid #8198a1; }
.step-progress [aria-current="step"] { color: #172b38; }
.step-progress [aria-current="step"] span { background: #172b38; color: white; border-color: #172b38; }
.step-progress .complete span { background: #d5e5e6; }
#application {
  padding: clamp(20px, 5vw, 42px);
  background: white;
  border: 1px solid #e0e8e8;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 25px 55px -27px #172b3870;
}
.wizard [hidden] { display: none; }
.wizard-panel h3 { margin: 0 0 8px; }
.wizard-panel h3:focus { outline: 0; }
#job-questions, .contact-fields { display: grid; gap: 19px; margin: 22px 0; }
.wizard fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.wizard legend { padding: 0 0 8px; font-weight: 700; line-height: 1.35; }
.answer-options { display: flex; flex-wrap: wrap; gap: 8px; }
.answer-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  color: #172b38;
  background: #f4f7f7;
  border: 1px solid #c5d4d9;
  border-radius: 6px;
  cursor: pointer;
}
.answer-options label:has(:checked) { background: #e7f1f1; border-color: #27586a; box-shadow: inset 0 0 0 1px #27586a; }
.answer-options input { margin: 0; flex: 0 0 auto; accent-color: #27586a; }
.wizard :is(button, input):focus-visible { outline: 2px solid #478298; outline-offset: 3px; }
.contact-fields label { display: grid; gap: 5px; font-weight: 700; }
.contact-fields input { width: 100%; border: 1px solid #a8bdc4; border-radius: 5px; padding: 10px 12px; }
.contact-fields small, .cv-field small { display: block; font-weight: 400; color: #405965; }
.cv-field { display: grid; gap: 6px; margin: 17px 0; padding: 15px; background: #f3f7f7; border: 1px dashed #819ca7; border-radius: 6px; }
.cv-field label { font-weight: 700; }
.cv-field label span { font-weight: 400; }
.cv-field input { max-width: 100%; }
#application-review { margin: 18px 0; }
#application-review div { display: grid; grid-template-columns: 3fr 2fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid #e0e8e8; }
#application-review dt { font-weight: 700; }
#application-review dd { margin: 0; overflow-wrap: anywhere; }
.wizard-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.wizard-actions .btn { margin-left: auto; background: linear-gradient(110deg, #193747, #2c5668); border-radius: 6px; box-shadow: 0 8px 17px -8px #172b387f; }
.wizard-note { font-size: .86rem; color: #405965; margin: 16px 0 0; }
.wizard-result { margin-bottom: 0; padding: 10px 13px; border-radius: 4px; background: #e5f1ed; color: #193b32; }
@media (max-width: 920px) {
  .portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 610px) {
  .head .wrap { flex-wrap: wrap; gap: 8px; }
  .head .nav { display: flex; gap: 14px; }
  .head .nav .cta { display: none; }
  .portal-grid { grid-template-columns: 1fr; }
  .hero.portal-hero { grid-template-columns: 1fr; }
  .portal-hero .hero-copy { padding: 30px 25px; }
  .portal-hero .hero-image { min-height: 185px; order: 1; }
  .portal-hero .fleet-hero { aspect-ratio: 3 / 2; min-height: 0; }
  .step-progress { gap: 5px; padding-inline: 12px; }
  .step-progress li { gap: 4px; font-size: .78rem; }
  #application-review div { grid-template-columns: 1fr; gap: 2px; }
}
