/* ==========================================================================
   Job placement with JuicyLemons: /jobvermittlung/ and /jobvermittlung/<slug>/.
   LAYOUT FILE. Loaded only on these pages (ah_is_jobvermittlung()). Design of
   2 Dec 2026: yellow hero, cream key figures, pink for everything that goes to Maria.
   Colours in tokens.css (--ah-jv-*). Breakpoint 900 px like the rest of the content.
   ========================================================================== */

/* ---------- shared ---------- */

.ah-jv-h2 {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.1;
  color: var(--ah-jv-ink);
}

.ah-jv-h2--s {
  font-size: 34px;
  line-height: 1.15;
}

.ah-jv-h3 {
  margin: 36px 0 12px;
  font-size: 24px;
  line-height: 1.25;
  color: var(--ah-jv-ink);
}

.ah-jv-h3:first-child {
  margin-top: 0;
}

.ah-jv-muted {
  margin: 0 0 14px;
  color: var(--ah-jv-muted);
}

.ah-jv-link {
  font-weight: 800;
  color: var(--ah-jv-pink);
}

.ah-jv-link:hover {
  color: var(--ah-jv-pink-hover);
}

.ah-jv-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ah-jv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--ah-btn-m);
  padding: 0 26px;
  border: 0;
  border-radius: var(--ah-radius-pill);
  font-family: var(--ah-font);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.ah-jv-btn--l {
  min-height: var(--ah-btn-l);
  padding: 0 28px;
  font-size: 17px;
}

.ah-jv-btn--s {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.ah-jv-btn--block {
  width: 100%;
}

.ah-jv-btn--pink,
.ah-jv-btn--pink:visited {
  background: var(--ah-jv-pink);
  color: var(--ah-white);
}

.ah-jv-btn--pink:hover {
  background: var(--ah-jv-pink-hover);
  color: var(--ah-white);
}

.ah-jv-btn--white,
.ah-jv-btn--white:visited {
  background: var(--ah-white);
  color: var(--ah-jv-ink);
}

.ah-jv-btn--white:hover {
  color: var(--ah-jv-pink);
}

.ah-jv-btn--outline,
.ah-jv-btn--outline:visited {
  background: var(--ah-white);
  border: 1px solid var(--ah-jv-pink-line);
  color: var(--ah-jv-ink);
}

.ah-jv-btn--outline:hover {
  border-color: var(--ah-jv-pink);
}

.ah-jv-btn:focus-visible {
  outline: 3px solid var(--ah-jv-ink);
  outline-offset: 2px;
}

.ah-jv-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--ah-jv-pink);
}

.ah-jv-brand img {
  width: 24px;
  height: 24px;
}

.ah-jv-brand--l {
  margin-bottom: 18px;
  font-size: 28px;
}

.ah-jv-brand--l img {
  width: 34px;
  height: 34px;
}

.ah-jv-tag {
  display: inline-block;
  padding: 2px 12px;
  border-radius: var(--ah-radius-pill);
  background: var(--ah-jv-tag);
  color: var(--ah-jv-hint);
  font-weight: 800;
}

/* ---------- hero ---------- */

.ah-jv-hero {
  overflow: hidden;
  background: var(--ah-jv-yellow);
  color: var(--ah-jv-ink);
}

.ah-jv-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: stretch;
  padding-top: 56px;
  padding-bottom: 64px;
}

.ah-jv-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 10px 22px 10px 20px;
  border-radius: var(--ah-radius-pill);
  background: var(--ah-white);
  box-shadow: var(--ah-shadow-card);
}

.ah-logo--pill {
  gap: 9px;
  font-size: 17px;
}

.ah-logo--pill .ah-logo__mark {
  width: 28px;
  height: 25px;
}

.ah-jv-pill__x {
  font-size: 18px;
  font-weight: 400;
  color: var(--ah-jv-muted);
}

.ah-jv-hero__title {
  margin: 28px 0;
  font-size: var(--ah-h1);
  line-height: 1.3;
  color: var(--ah-jv-ink);
}

.ah-jv-hero__title mark {
  padding: 1px 12px;
  border-radius: 10px;
  background: var(--ah-jv-pink);
  color: var(--ah-white);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.ah-jv-hero__intro {
  max-width: 540px;
  margin: 0 0 32px;
  font-size: 19px;
  color: var(--ah-jv-ink-soft);
}

.ah-jv-hero__media {
  position: relative;
  min-height: 420px;
  margin: 0;
}

.ah-jv-hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  object-position: 68% 62%;
  background: var(--ah-image-bg);
  box-shadow: var(--ah-shadow-raised);
}

.ah-jv-person {
  position: absolute;
  bottom: -22px;
  left: -20px;
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 330px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--ah-white);
  box-shadow: var(--ah-shadow-raised);
}

.ah-jv-person img {
  flex: none;
  width: 56px;
  height: 56px;
  border: 3px solid var(--ah-jv-portrait);
  border-radius: 50%;
  object-fit: cover;
}

.ah-jv-person strong {
  display: block;
  font-size: 16px;
}

.ah-jv-person span span {
  font-size: 14px;
  color: var(--ah-jv-muted);
}

/* ---------- key figures ---------- */

.ah-jv-facts {
  background: var(--ah-jv-cream);
}

.ah-jv-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 40px;
  margin: 0 auto;
  padding-top: 44px;
  padding-bottom: 48px;
}

.ah-jv-facts dt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ah-jv-ink);
}

.ah-jv-facts dd {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ah-jv-ink-soft);
}

.ah-jv-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--ah-star-google);
}

/* ---------- vacancies ---------- */

.ah-jv-jobs {
  padding-top: 80px;
}

.ah-jv-jobs__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.ah-jv-jobs__head .ah-jv-muted {
  margin: 0;
}

.ah-jv-jobs__after {
  margin: 24px 0 0;
  font-size: 15px;
}

/* Application box */
.ah-jv-apply {
  margin: 0 0 36px;
  padding: 30px 32px 26px;
  border-radius: 28px;
  background: var(--ah-jv-yellow);
  color: var(--ah-jv-ink);
}

.ah-jv-jobs__after + .ah-jv-apply,
.ah-jv-empty + .ah-jv-apply {
  margin: 32px 0 0;
}

.ah-jv-apply__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin: 0 4px 16px;
}

.ah-jv-apply__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  color: var(--ah-jv-ink);
}

.ah-jv-apply__note {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ah-jv-ink-soft);
}

.ah-jv-form {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  padding: 10px;
  border-radius: 22px;
  background: var(--ah-white);
  box-shadow: var(--ah-shadow-raised);
}

.ah-jv-form[hidden] {
  display: none;
}

.ah-jv-form__field {
  display: flex;
  flex: 1 1 250px;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ah-jv-muted);
}

.ah-jv-form__field--select {
  flex-basis: 230px;
  border-left: 1px solid var(--ah-jv-card-line);
}

.ah-jv-form__field input,
.ah-jv-form__field select {
  width: 100%;
  min-width: 0;
  padding: 4px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-family: var(--ah-font);
  font-size: 17px;
  font-weight: 600;
  color: var(--ah-jv-ink);
  outline: none;
}

.ah-jv-form__field select {
  cursor: pointer;
}

.ah-jv-form__field input:focus-visible,
.ah-jv-form__field select:focus-visible {
  border-bottom-color: var(--ah-jv-pink);
}

.ah-jv-form__field [aria-invalid="true"] {
  border-bottom-color: var(--ah-con);
}

.ah-jv-form__error,
.ah-jv-apply__error {
  font-size: 13px;
  font-weight: 700;
  color: var(--ah-con);
}

.ah-jv-apply__error {
  margin: 10px 4px 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--ah-white);
}

.ah-jv-form__submit {
  flex: 0 0 auto;
  min-height: 60px;
  padding: 0 30px;
  border-radius: 16px;
  font-size: 17px;
}

.ah-jv-form__submit[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.ah-jv-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ah-jv-apply__hint {
  margin: 12px 4px 0;
  font-size: 13px;
  color: var(--ah-jv-hint);
}

.ah-jv-apply__hint a {
  color: var(--ah-jv-hint);
}

.ah-jv-apply__thanks {
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--ah-white);
  font-size: 18px;
  font-weight: 800;
  color: var(--ah-jv-ink);
}

/* Filter */
.ah-jv-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 26px;
}

.ah-jv-filter__areas .ah-chip.is-active {
  border-color: var(--ah-jv-ink);
  background: var(--ah-jv-ink);
  color: var(--ah-white);
}

.ah-jv-filter__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ah-jv-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 16px;
  border: 1px solid var(--ah-jv-pink-line);
  border-radius: var(--ah-radius-pill);
  background: var(--ah-white);
  color: var(--ah-jv-pink);
}

.ah-jv-select select {
  padding: 10px 8px;
  border: 0;
  background: transparent;
  font-family: var(--ah-font);
  font-size: 15px;
  font-weight: 800;
  color: var(--ah-jv-ink);
  cursor: pointer;
}

.ah-jv-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ah-jv-pink-line);
  border-radius: var(--ah-radius-pill);
  background: var(--ah-white);
  font-family: var(--ah-font);
  font-size: 15px;
  font-weight: 800;
  color: var(--ah-jv-ink);
  cursor: pointer;
}

.ah-jv-toggle__dot {
  width: 12px;
  height: 12px;
  border: 2px solid var(--ah-jv-pink);
  border-radius: 50%;
}

.ah-jv-toggle.is-active {
  border-color: var(--ah-jv-pink);
  background: var(--ah-jv-pink-soft);
}

.ah-jv-toggle.is-active .ah-jv-toggle__dot {
  background: var(--ah-jv-pink);
}

.ah-jv-count {
  margin: -10px 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ah-jv-muted);
}

.ah-jv-empty {
  margin: 0 0 16px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--ah-jv-cream);
  font-weight: 700;
}

.ah-jv-empty[hidden] {
  display: none;
}

/* Cards */
.ah-jv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ah-jv-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--ah-jv-card-line);
  border-radius: 18px;
  background: var(--ah-white);
  color: var(--ah-jv-ink);
  box-shadow: var(--ah-shadow-card);
}

.ah-jv-card[hidden] {
  display: none;
}

.ah-jv-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.ah-jv-card__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.ah-jv-card__title a {
  color: var(--ah-jv-ink);
  text-decoration: none;
}

.ah-jv-card__title a:hover {
  color: var(--ah-jv-pink);
}

.ah-jv-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0;
  font-size: 14px;
  color: var(--ah-jv-muted);
}

.ah-jv-card__place {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ah-jv-card__actions {
  display: flex;
  flex: none;
  gap: 8px;
}

/* ---------- steps ---------- */

.ah-jv-steps {
  background: var(--ah-jv-cream-light);
}

.ah-jv-steps__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  padding-top: 88px;
  padding-bottom: 88px;
}

.ah-jv-steps__intro {
  display: flex;
  flex-direction: column;
}

.ah-jv-steps__intro .ah-jv-muted {
  max-width: 420px;
  margin-bottom: 28px;
  color: var(--ah-jv-hint);
}

.ah-jv-steps__image {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: 0;
  min-height: 240px;
  border-radius: 24px;
  object-fit: cover;
  object-position: 35% 50%;
}

.ah-jv-steps__list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ah-jv-ink);
  list-style: none;
}

.ah-jv-steps__list li {
  display: flex;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--ah-jv-yellow-line);
}

.ah-jv-steps__num {
  flex: none;
  width: 72px;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: var(--ah-jv-pink);
}

.ah-jv-steps__list li > div {
  flex: 1 1 auto;
  min-width: 0;
}

.ah-jv-steps__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ah-jv-steps__head h3 {
  margin: 0;
  font-size: 21px;
}

.ah-jv-steps__time {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ah-jv-hint);
}

.ah-jv-steps__list p {
  margin: 8px 0 0;
  color: var(--ah-jv-hint);
}

/* ---------- JuicyLemons and Maria ---------- */

.ah-jv-agency {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
  padding-top: 88px;
  padding-bottom: 88px;
}

.ah-jv-agency__text .ah-jv-muted {
  color: var(--ah-jv-hint);
}

.ah-jv-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ah-jv-areas li {
  padding: 7px 16px;
  border: 1px solid var(--ah-jv-yellow-line);
  border-radius: var(--ah-radius-pill);
  background: var(--ah-jv-cream-light);
  font-size: 15px;
  font-weight: 700;
}

.ah-jv-maria {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 38px;
  border-radius: 28px;
  background: var(--ah-jv-pink-soft);
}

.ah-jv-maria__head {
  display: flex;
  gap: 20px;
  align-items: center;
}

.ah-jv-maria__head img {
  flex: none;
  width: 128px;
  height: 128px;
  border: 4px solid var(--ah-white);
  border-radius: 50%;
  object-fit: cover;
  object-position: 58% 22%;
  box-shadow: var(--ah-shadow-card);
}

.ah-jv-maria__head p {
  margin: 0;
}

.ah-jv-maria__kicker {
  font-size: 14px;
  font-weight: 800;
  color: var(--ah-jv-pink-text);
}

.ah-jv-maria__name {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.ah-jv-maria__role {
  font-size: 15px;
  color: var(--ah-jv-muted);
}

.ah-jv-maria__bio {
  margin: 0;
}

.ah-jv-maria__quote {
  margin: 0;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--ah-white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.ah-jv-maria .ah-jv-buttons {
  margin-top: auto;
}

/* ---------- AbfindungsHero notice (orange: the lawyer CTA) ---------- */

.ah-jv-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 48px;
  border-radius: var(--ah-radius-box);
  background: var(--ah-peach);
}

.ah-jv-notice__text {
  flex: 1 1 520px;
  min-width: 0;
}

.ah-jv-notice__kicker {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ah-orange-text);
}

.ah-jv-notice__title {
  margin: 0 0 10px;
  font-size: var(--ah-h2);
  line-height: 1.25;
}

.ah-jv-notice__text p:last-child {
  margin: 0;
  color: var(--ah-grey);
}

.ah-jv-notice__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ah-jv-notice__second {
  background: var(--ah-white);
}

/* ---------- contact ---------- */

.ah-jv-contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ah-jv-contact__links a {
  display: flex;
  gap: 14px;
  align-items: center;
  font-weight: 800;
  color: var(--ah-jv-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ah-jv-contact__links a:hover {
  color: var(--ah-jv-pink);
}

.ah-jv-contact__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ah-jv-pink-soft);
  color: var(--ah-jv-pink);
}

/* ---------- vacancy page ---------- */

.ah-jv-dhead {
  background: var(--ah-jv-yellow);
  color: var(--ah-jv-ink);
}

.ah-jv-dhead .ah-container {
  padding-top: 28px;
  padding-bottom: 44px;
}

.ah-jv-dhead .ah-breadcrumb,
.ah-jv-dhead .ah-breadcrumb a,
.ah-jv-dhead .ah-breadcrumb__current {
  color: var(--ah-jv-ink);
}

.ah-jv-dhead .ah-breadcrumb a {
  text-decoration: underline;
}

.ah-jv-dhead .ah-breadcrumb__sep {
  color: var(--ah-jv-ink-soft);
}

.ah-jv-dhead__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ah-jv-dhead__labels li {
  padding: 4px 14px;
  border-radius: var(--ah-radius-pill);
  background: var(--ah-white);
  font-size: 14px;
  font-weight: 800;
}

.ah-jv-dhead__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
}

.ah-jv-dhead__row > div:first-child {
  flex: 1 1 560px;
  min-width: 0;
}

.ah-jv-dhead__title {
  margin: 18px 0 12px;
  font-size: 48px;
  line-height: 1.15;
  color: var(--ah-jv-ink);
  overflow-wrap: anywhere;
}

.ah-jv-dhead__teaser {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  color: var(--ah-jv-ink-soft);
}

.ah-jv-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  align-items: start;
}

.ah-jv-detail__main .ah-jv-muted {
  color: var(--ah-jv-hint);
}

.ah-jv-detail__empty {
  margin: 0;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--ah-jv-cream);
  font-size: 18px;
  font-weight: 700;
}

.ah-jv-dots {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ah-jv-dots li {
  position: relative;
  padding-left: 22px;
}

.ah-jv-dots li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ah-jv-pink);
}

.ah-jv-filled {
  padding: 28px;
  border-radius: 22px;
  background: var(--ah-jv-cream);
}

.ah-jv-filled p {
  margin: 0 0 18px;
}

.ah-jv-detail__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ah-jv-side {
  padding: 24px;
  border: 1px solid var(--ah-jv-card-line);
  border-radius: 22px;
  background: var(--ah-white);
  box-shadow: var(--ah-shadow-raised);
  text-align: center;
}

.ah-jv-side__person {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  text-align: left;
}

.ah-jv-side__person img {
  flex: none;
  width: 64px;
  height: 64px;
  border: 3px solid var(--ah-jv-portrait);
  border-radius: 50%;
  object-fit: cover;
}

.ah-jv-side__person strong {
  display: block;
  font-size: 17px;
}

.ah-jv-side__person span {
  font-size: 14px;
  color: var(--ah-jv-muted);
}

.ah-jv-side p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ah-jv-hint);
  text-align: left;
}

.ah-jv-side__mail {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ah-jv-ink);
}

.ah-jv-hint {
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--ah-jv-cream);
  font-size: 15px;
}

.ah-jv-hint p {
  margin: 0 0 8px;
  color: var(--ah-jv-hint);
}

.ah-jv-hint .ah-jv-hint__title {
  font-weight: 800;
  color: var(--ah-jv-ink);
}

.ah-jv-hint a {
  font-weight: 800;
  color: var(--ah-orange-text);
}

.ah-jv-detail__apply {
  padding-bottom: var(--ah-section-gap);
}

.ah-jv-detail__apply .ah-jv-apply {
  margin: 0;
}

.ah-jv-more {
  padding: 72px 0;
  background: var(--ah-jv-cream-light);
}

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

/* ---------- mobile ---------- */

@media (max-width: 1100px) and (min-width: 901px) {
  .ah-jv-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .ah-jv-hero__inner,
  .ah-jv-steps__inner,
  .ah-jv-agency,
  .ah-jv-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ah-jv-hero__inner {
    padding-top: 32px;
    padding-bottom: 56px;
  }

  .ah-jv-pill {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px 14px;
  }

  .ah-logo--pill {
    gap: 6px;
    font-size: 13px;
  }

  .ah-logo--pill .ah-logo__mark {
    width: 20px;
    height: 18px;
  }

  .ah-jv-pill .ah-jv-brand {
    gap: 5px;
    font-size: 15px;
  }

  .ah-jv-pill .ah-jv-brand img {
    width: 18px;
    height: 18px;
  }

  .ah-jv-hero__title {
    margin: 22px 0 18px;
    font-size: var(--ah-h1-mobile);
  }

  .ah-jv-hero__intro {
    margin-bottom: 24px;
    font-size: var(--ah-body-mobile);
  }

  .ah-jv-hero__media {
    min-height: 240px;
    margin-right: 0;
  }

  .ah-jv-person {
    left: 12px;
    right: 12px;
    max-width: none;
    padding: 12px 14px;
  }

  .ah-jv-buttons .ah-jv-btn {
    flex: 1 1 auto;
  }

  .ah-jv-btn--l {
    min-height: var(--ah-btn-m);
    font-size: 16px;
  }

  .ah-jv-facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .ah-jv-facts dt {
    font-size: 26px;
  }

  .ah-jv-h2 {
    font-size: 28px;
  }

  .ah-jv-h2--s {
    font-size: 26px;
  }

  .ah-jv-h3 {
    font-size: 21px;
  }

  .ah-jv-jobs {
    padding-top: var(--ah-section-gap-mobile);
  }

  .ah-jv-apply {
    margin-left: calc(-1 * var(--ah-page-margin-mobile) + 8px);
    margin-right: calc(-1 * var(--ah-page-margin-mobile) + 8px);
    padding: 22px 14px 18px;
    border-radius: 22px;
  }

  .ah-jv-apply__title {
    font-size: 20px;
  }

  .ah-jv-form {
    flex-direction: column;
    padding: 8px;
  }

  .ah-jv-form__field {
    flex-basis: auto;
  }

  .ah-jv-form__field--select {
    border-top: 1px solid var(--ah-jv-card-line);
    border-left: 0;
  }

  .ah-jv-form__submit {
    width: 100%;
    min-height: var(--ah-btn-m);
  }

  .ah-jv-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .ah-jv-filter > * {
    min-width: 0;
    max-width: 100%;
  }

  .ah-jv-filter__more > * {
    flex: 1 1 auto;
  }

  .ah-jv-select select {
    width: 100%;
  }

  .ah-jv-grid,
  .ah-jv-more__grid {
    grid-template-columns: 1fr;
  }

  /* Compact list on phones (Timo, 2 Dec): small padding, one meta line, small buttons
     in one row under it instead of two full-width buttons. */
  .ah-jv-grid,
  .ah-jv-more__grid {
    gap: 10px;
  }

  /* Title links to the details, so phones keep only "Bewerben", right of the text. */
  .ah-jv-card {
    gap: 12px;
    padding: 14px 14px 14px 16px;
    border-radius: 14px;
  }

  .ah-jv-card__actions .ah-jv-btn--outline {
    display: none;
  }

  .ah-jv-card__title {
    margin-bottom: 6px;
    font-size: 16px;
  }

  .ah-jv-card__meta {
    gap: 4px 10px;
    font-size: 13px;
  }

  .ah-jv-card__meta .ah-jv-tag {
    padding: 1px 10px;
  }

  .ah-jv-card__actions {
    gap: 8px;
  }

  .ah-jv-card__actions .ah-jv-btn {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  .ah-jv-steps__inner {
    gap: 24px;
  }

  .ah-jv-steps__inner,
  .ah-jv-agency {
    padding-top: var(--ah-section-gap-mobile);
    padding-bottom: var(--ah-section-gap-mobile);
  }

  /* The lemon picture is decoration; on phones it only made a large gap (Timo, 2 Dec). */
  .ah-jv-steps__image {
    display: none;
  }

  .ah-jv-steps__intro .ah-jv-muted {
    margin-bottom: 0;
  }

  .ah-jv-steps__list li {
    gap: 16px;
    padding: 22px 0;
  }

  .ah-jv-steps__num {
    width: 48px;
    font-size: 32px;
  }

  .ah-jv-maria {
    padding: 24px 20px;
  }

  .ah-jv-maria__head img {
    width: 88px;
    height: 88px;
  }

  .ah-jv-maria__name {
    font-size: 23px;
  }

  .ah-jv-notice {
    padding: 28px 22px;
  }

  .ah-jv-notice__title {
    font-size: var(--ah-h2-mobile);
  }

  .ah-jv-notice__text {
    flex-basis: auto;
  }

  .ah-jv-notice__buttons .ah-btn {
    flex: 1 1 auto;
  }

  .ah-jv-dhead__title {
    font-size: var(--ah-h1-mobile);
  }

  .ah-jv-dhead__teaser {
    font-size: var(--ah-body-mobile);
  }

  .ah-jv-detail__aside {
    order: 2;
  }

  .ah-jv-more {
    padding: var(--ah-section-gap-mobile) 0;
  }
}
