.job-page {
  background: #f2f2f4;
  padding: 84px 0 112px;
}

.job-copy {
  max-width: 1100px;
  margin: 0 auto;
}

.job-intro {
  max-width: 760px;
}

.job-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 66%);
  gap: 48px;
  align-items: start;
  margin-top: 62px;
  min-width: 0;
}

.application-section {
  position: relative;
  margin-top: 62px;
}

.application-section--with-copy {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 66%);
  gap: 48px;
  align-items: start;
}

.application-panel {
  min-width: 0;
}

.job-intro-title,
.job-section-title {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: #151327;
}

.application-title {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #151327;
}

.job-section-title {
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
}

html[lang="en"] .job-section,
html[lang="de"] .job-section {
  grid-template-columns: minmax(360px, 42%) minmax(0, 58%);
}

html[lang="en"] .job-section-title,
html[lang="de"] .job-section-title {
  font-size: clamp(38px, 4vw, 58px);
}

.job-intro-copy {
  color: #1f1f29;
  max-width: 760px;
}

.job-intro-copy p {
  margin: 0 0 18px;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.45;
  color: #2e2d3a;
}

.job-intro-copy .job-intro-lead {
  margin: 0 0 18px;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #1f1f29;
}

.job-intro-copy p:last-child {
  margin-bottom: 0;
}

.job-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.job-list li {
  position: relative;
  padding-left: 18px;
  color: #2f2e3b;
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.job-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f56ff;
  transform: translateY(-50%);
}

.job-apply-copy {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.job-apply-copy .job-list {
  margin-top: 2px;
}

.job-apply-copy h2 {
  margin: 0 0 6px;
  color: #151327;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.32;
}

.job-apply-copy p {
  margin: 0;
  color: #2f2e3b;
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.45;
}

.application-form {
  max-width: 100%;
}

.application-field-error {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: #be314f;
  font-weight: 600;
}

.job-input--error {
  border-color: #be314f !important;
}

.application-error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff0f3;
  border: 1px solid #f5c2cc;
  color: #8b1a2f;
  font-size: 14px;
  font-weight: 600;
}

.application-success {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 6px;
  align-items: start;
  max-width: 560px;
  padding: 26px;
  border: 1px solid rgba(74, 30, 70, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(21, 19, 39, 0.07);
}

.application-success-icon {
  grid-row: 1 / span 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(61, 158, 94, 0.12);
  font-size: 34px;
  color: #3d9e5e;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.application-success-title {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #151327;
}

.application-success-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #4a4a5b;
  max-width: 430px;
}

.job-input,
.job-textarea {
  width: 100%;
  border: 1px solid #daddea;
  background: #fff;
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 16px;
  color: #1f1f29;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  font-family: inherit;
}

.job-input::placeholder,
.job-textarea::placeholder {
  color: #8a8a9a;
}

.job-input:focus,
.job-textarea:focus {
  border-color: #87689a;
  box-shadow: 0 0 0 3px rgba(125, 69, 124, 0.14);
}

.file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  align-items: stretch;
}

.file-row .job-input {
  border-radius: 10px 0 0 10px;
  border-right: 0;
  cursor: pointer;
}

.file-row.is-dragging .job-input {
  border-color: #87689a;
  background: rgba(74, 30, 70, 0.05);
}

.file-button {
  border: 0;
  background: var(--primary);
  color: #fff;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 0 10px 10px 0;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.file-row.has-file .file-button {
  display: none;
}

.file-row.is-dragging .file-button,
.file-row.is-dragging .file-clear-button {
  border-color: #87689a;
}

.file-button-mobile-text { display: none; }

.file-clear-button {
  min-width: 64px;
  border: 0;
  border-radius: 0 10px 10px 0;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.file-clear-button[hidden] {
  display: none;
}

.file-clear-button:hover {
  background: #5a2756;
  color: #fff;
}

.application-file-status {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid #daddea;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #5a5968;
  font-size: 14px;
  line-height: 1.35;
}

.application-file-status span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.application-file-status.has-file {
  border-color: rgba(74, 30, 70, 0.22);
  background: rgba(74, 30, 70, 0.07);
  color: #2f2e3b;
  font-weight: 600;
}

.application-file-clear {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(74, 30, 70, 0.16);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.application-file-clear:hover {
  border-color: rgba(74, 30, 70, 0.32);
  background: #fff;
  color: #be314f;
}

.file-button:hover {
  background: #5a2756;
}

.btn-aventail.application-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
}

@media (max-width: 1080px) {
  .job-page { padding-top: 64px; }
  .job-section,
  .application-section { grid-template-columns: 1fr; gap: 22px; }
  html[lang="en"] .job-section,
  html[lang="de"] .job-section {
    grid-template-columns: minmax(0, 1fr);
  }
  .application-section--with-copy { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .about-hero { padding: 92px 0 54px; }
  .about-hero h1 { font-size: clamp(38px, 13vw, 58px); }
  .job-section { margin-top: 52px; }
  .application-section { margin-top: 56px; }
  .form-check { font-size: 14px; }
}

@media (max-width: 560px) {
  .about-hero { padding: 82px 0 44px; }
  .job-page { padding-top: 52px; padding-bottom: 80px; }
  .job-intro-title,
  .job-section-title,
  .job-apply-copy h2 {
    font-size: clamp(34px, 9vw, 46px);
    letter-spacing: -0.045em;
    line-height: 1.02;
  }
  html[lang="en"] .job-section-title,
  html[lang="de"] .job-section-title { font-size: clamp(34px, 9vw, 46px); }
  .application-title { font-size: clamp(30px, 8vw, 40px); }
  .job-list { gap: 10px; }
  .job-input,
  .job-textarea { padding: 13px 14px; font-size: 16px; }
  .file-row { grid-template-columns: 1fr; gap: 0; }
  .file-row .job-input { display: none; }
  .file-clear-button { display: none; }
  .file-button,
  .btn-aventail.application-submit {
    min-height: 52px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1;
  }
  .file-button {
    width: 100%;
    border-radius: 12px;
    padding: 14px 18px;
  }
  .file-row.has-file .file-button {
    border-radius: 12px;
    display: inline-flex;
  }
  .file-button-desktop-text { display: none; }
  .file-button-mobile-text { display: inline; }
  .application-file-status.has-file { display: flex; }
  .application-success {
    grid-template-columns: 1fr;
    row-gap: 12px;
    padding: 22px;
  }
  .application-success-icon { grid-row: auto; }
}
