:root {
  --forest-950: #0f2a24;
  --forest-900: #173d33;
  --forest-800: #235247;
  --forest-700: #2f6658;
  --burgundy-800: #6f2334;
  --burgundy-700: #852b3f;
  --burgundy-600: #9a3650;
  --gold-500: #c9a85d;
  --gold-300: #e2ca91;
  --cream-100: #f7f1e6;
  --cream-50: #fcf9f3;
  --paper: #fffefa;
  --ink-900: #1e2824;
  --ink-800: #303b36;
  --ink-700: #47544f;
  --ink-600: #59645f;
  --ink-500: #6c7772;
  --line: rgba(23, 61, 51, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --success: #176b4d;
  --whatsapp: #128c4c;
  --danger: #a12a3c;
  --shadow-xs: 0 4px 14px rgba(16, 41, 34, 0.055);
  --shadow-sm: 0 10px 28px rgba(16, 41, 34, 0.08);
  --shadow-md: 0 24px 60px rgba(12, 36, 30, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --header-height: 82px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, Cambria, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink-900);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 18%, rgba(201, 168, 93, 0.08), transparent 28%),
    radial-gradient(circle at 92% 74%, rgba(23, 61, 51, 0.06), transparent 30%),
    var(--paper);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3rem, 6.6vw, 6.35rem);
}

h2 {
  font-size: clamp(2.35rem, 4.25vw, 4.4rem);
}

h3 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 12px 16px;
  color: #fff;
  background: var(--burgundy-700);
  border-radius: 8px;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--burgundy-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eyebrow-light {
  color: var(--gold-300);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.92rem;
}

.button-primary {
  color: #fff;
  background: var(--burgundy-700);
  box-shadow: 0 10px 24px rgba(111, 35, 52, 0.18);
}

.button-primary:hover {
  background: var(--burgundy-800);
  box-shadow: 0 14px 30px rgba(111, 35, 52, 0.24);
}

.button-accent {
  color: var(--forest-950);
  background: var(--gold-300);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.button-accent:hover {
  background: #ead8aa;
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.button-light {
  color: var(--forest-950);
  background: var(--cream-100);
}

.button-secondary {
  color: var(--forest-900);
  background: transparent;
  border-color: rgba(23, 61, 51, 0.24);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--cream-100);
  border-color: rgba(23, 61, 51, 0.36);
}

.button-home {
  color: var(--forest-900);
  background: #fff;
  border-color: rgba(23, 61, 51, 0.24);
  box-shadow: 0 8px 20px rgba(16, 41, 34, 0.08);
}

.button-home:hover {
  color: var(--burgundy-800);
  background: var(--cream-100);
  border-color: rgba(111, 35, 52, 0.3);
  box-shadow: 0 12px 26px rgba(16, 41, 34, 0.12);
}

.button-home span[aria-hidden="true"] {
  font-size: 1.08em;
  line-height: 1;
}

.button-whatsapp {
  width: 100%;
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 12px 26px rgba(18, 140, 76, 0.2);
}

.button-whatsapp:hover {
  background: #0f7d43;
}

.button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  color: var(--forest-950);
  background: rgba(252, 249, 243, 0.94);
  border-bottom: 1px solid rgba(23, 61, 51, 0.1);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  color: var(--burgundy-700);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--ink-500);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav > a:not(.button) {
  color: var(--ink-700);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav > a:not(.button):hover {
  color: var(--burgundy-700);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--forest-950);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(9, 31, 25, 0.98) 0%, rgba(12, 42, 34, 0.92) 48%, rgba(15, 49, 41, 0.68) 100%),
    linear-gradient(0deg, rgba(9, 31, 25, 0.74), rgba(9, 31, 25, 0.1)),
    url("../../assets/images/emminger-hof-header.webp");
  background-size: cover;
  background-position: center;
}

.hero-backdrop::before,
.hero-backdrop::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-backdrop::before {
  width: 520px;
  height: 520px;
  right: -120px;
  top: -170px;
  background: radial-gradient(circle, rgba(201, 168, 93, 0.22), transparent 68%);
}

.hero-backdrop::after {
  width: 620px;
  height: 620px;
  left: 38%;
  bottom: -430px;
  background: radial-gradient(circle, rgba(133, 43, 63, 0.24), transparent 68%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 76px;
  padding-top: 90px;
  padding-bottom: 90px;
}

.hero-copy {
  max-width: 740px;
}

.hero h1 {
  max-width: 830px;
  margin-bottom: 26px;
}

.hero h1 span {
  color: var(--gold-300);
  font-style: italic;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.65;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero-points span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--gold-300);
  border-radius: 50%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.microcopy {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

.team-board {
  position: relative;
  padding: 24px;
  background: rgba(247, 241, 230, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transform: rotate(1.2deg);
}

.team-board::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(23, 61, 51, 0.14);
  border-radius: 22px;
}

.board-topline {
  display: grid;
  gap: 3px;
  margin-bottom: 20px;
  padding: 4px 3px 18px;
  color: var(--ink-900);
  border-bottom: 1px solid rgba(23, 61, 51, 0.14);
}

.board-topline span {
  color: var(--burgundy-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.board-topline strong {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 500;
}

.board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.board-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 17px;
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
}

.board-card span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: auto;
  color: var(--forest-950);
  background: var(--cream-100);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 850;
}

.board-card strong {
  font-size: 0.98rem;
}

.board-card small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.board-card-kitchen {
  background: linear-gradient(135deg, #173d33, #2c6456);
}

.board-card-service {
  background: linear-gradient(135deg, #6f2334, #9a3d52);
}

.board-card-house {
  color: var(--forest-950);
  background: linear-gradient(135deg, #d9be7f, #ecdbae);
}

.board-card-house small {
  color: rgba(15, 42, 36, 0.68);
}

.board-card-all {
  background: linear-gradient(135deg, #39423e, #69736e);
}

.board-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  padding: 12px 14px;
  color: var(--ink-700);
  background: #fff;
  border: 1px solid rgba(23, 61, 51, 0.1);
  border-radius: 15px;
}

.board-badge span {
  padding: 4px 9px;
  color: #fff;
  background: var(--burgundy-700);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-badge strong {
  color: var(--forest-900);
  font-size: 0.88rem;
}

.board-badge small {
  margin-left: auto;
  font-size: 0.72rem;
}

.trust-strip {
  position: relative;
  z-index: 2;
  color: var(--forest-950);
  background: var(--gold-300);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  display: grid;
  gap: 2px;
  padding: 25px 24px;
  border-right: 1px solid rgba(15, 42, 36, 0.18);
}

.trust-grid > div:last-child {
  border-right: 0;
}

.trust-grid strong {
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 600;
}

.trust-grid span {
  color: rgba(15, 42, 36, 0.7);
  font-size: 0.84rem;
  font-weight: 650;
}

.section-heading {
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--forest-950);
}

.heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  align-items: end;
  gap: 64px;
}

.heading-split > p {
  margin-bottom: 7px;
  color: var(--ink-700);
  font-size: 1.04rem;
}

.centered-heading {
  max-width: 770px;
  margin-inline: auto;
  text-align: center;
}

.centered-heading .eyebrow {
  justify-content: center;
}

.centered-heading .eyebrow::before {
  display: none;
}

.centered-heading h2 {
  margin-bottom: 20px;
}

.centered-heading > p:last-child {
  color: var(--ink-700);
  font-size: 1.05rem;
}

.jobs-section {
  background: var(--cream-50);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.job-card {
  position: relative;
  min-height: 345px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 25px rgba(23, 61, 51, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.job-card:hover,
.job-card.is-selected {
  transform: translateY(-5px);
  border-color: rgba(133, 43, 63, 0.38);
  box-shadow: var(--shadow-sm);
}

.job-card.is-selected::after {
  content: "Ausgew\00e4hlt";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 9px;
  color: #fff;
  background: var(--success);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.job-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 26px;
  color: var(--burgundy-700);
  background: rgba(133, 43, 63, 0.08);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
}

.job-area {
  margin-bottom: 8px;
  color: var(--forest-700);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.job-card h3 {
  margin-bottom: 15px;
  color: var(--forest-950);
  font-size: 1.72rem;
}

.job-card h3 span {
  color: var(--ink-500);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
}

.job-card > p:not(.job-area) {
  margin-bottom: 20px;
  color: var(--ink-700);
  line-height: 1.6;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  margin-bottom: 17px;
}

.job-tags span {
  padding: 5px 9px;
  color: var(--forest-800);
  background: rgba(23, 61, 51, 0.06);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 0;
  color: var(--burgundy-700);
  background: none;
  border: 0;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.text-button:hover {
  color: var(--burgundy-800);
}

.benefits-section {
  overflow: hidden;
  color: #fff;
  background: var(--forest-950);
}

.benefits-section::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  left: -360px;
  bottom: -360px;
  background: radial-gradient(circle, rgba(201, 168, 93, 0.16), transparent 68%);
  border-radius: 50%;
}

.benefits-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: 74px;
}

.benefits-copy {
  position: sticky;
  top: calc(var(--header-height) + 34px);
}

.benefits-copy h2 {
  margin-bottom: 24px;
  color: #fff;
}

.benefits-copy > p:not(.eyebrow) {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.04rem;
}

.benefit-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.benefit-cards article {
  min-height: 238px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-light);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.benefit-cards article:nth-child(2),
.benefit-cards article:nth-child(5) {
  background: rgba(201, 168, 93, 0.11);
}

.benefit-cards span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 25px;
  color: var(--forest-950);
  background: var(--gold-300);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 850;
}

.benefit-cards h3 {
  margin-bottom: 12px;
  color: #fff;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.benefit-cards p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.process-section {
  background: var(--paper);
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 12%, var(--gold-500) 88%, transparent);
}

.process-list li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.process-list li > span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 22px;
  color: #fff;
  background: var(--forest-900);
  border: 8px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold-500);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--forest-950);
  font-size: 1rem;
}

.process-list p {
  margin-bottom: 0;
  color: var(--ink-700);
  font-size: 0.88rem;
}

.application-section {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--forest-950), var(--forest-900));
}

.application-section::before,
.application-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.application-section::before {
  width: 500px;
  height: 500px;
  right: -220px;
  top: -260px;
  background: radial-gradient(circle, rgba(201, 168, 93, 0.22), transparent 70%);
}

.application-section::after {
  width: 560px;
  height: 560px;
  left: -300px;
  bottom: -330px;
  background: radial-gradient(circle, rgba(133, 43, 63, 0.28), transparent 70%);
}

.application-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(560px, 1.05fr);
  align-items: start;
  gap: 70px;
}

.application-intro {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  padding-top: 18px;
}

.application-intro h2 {
  margin-bottom: 22px;
  color: #fff;
}

.application-intro > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.application-promises {
  display: grid;
  gap: 10px;
  margin: 30px 0;
}

.application-promises > div {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.application-promises strong {
  color: var(--gold-300);
  font-size: 0.87rem;
}

.application-promises span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.83rem;
}

.contact-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-shortcuts a {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  column-gap: 10px;
  padding: 13px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  text-decoration: none;
}

.contact-shortcuts a > span {
  grid-row: 1 / span 2;
  font-size: 1.2rem;
}

.contact-shortcuts a:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(201, 168, 93, 0.48);
}

.contact-shortcuts strong {
  font-size: 0.8rem;
}

.contact-shortcuts small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
}

.application-card {
  color: var(--ink-900);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 72px rgba(4, 20, 16, 0.28);
  overflow: hidden;
}

.form-progress {
  padding: 24px 28px 20px;
  background: var(--cream-100);
  border-bottom: 1px solid var(--line);
}

.progress-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.progress-copy span {
  color: var(--burgundy-700);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-copy strong {
  color: var(--forest-900);
  font-size: 0.92rem;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  background: rgba(23, 61, 51, 0.1);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: linear-gradient(90deg, var(--burgundy-700), var(--gold-500));
  border-radius: inherit;
  transition: width 220ms ease;
}

.form-alert {
  margin: 22px 28px 0;
  padding: 12px 14px;
  color: #7a1829;
  background: #fff0f2;
  border: 1px solid rgba(161, 42, 60, 0.24);
  border-radius: 10px;
  font-size: 0.87rem;
  font-weight: 700;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-step {
  padding: 32px 28px 30px;
}

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

.step-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 28px;
}

.step-heading > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--forest-900);
  border-radius: 50%;
  font-size: 0.74rem;
  font-weight: 850;
}

.step-heading h3 {
  margin-bottom: 5px;
  color: var(--forest-950);
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.step-heading p {
  margin-bottom: 0;
  color: var(--ink-500);
  font-size: 0.86rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
}

.field label,
.choice-fieldset legend {
  color: var(--forest-950);
  font-size: 0.84rem;
  font-weight: 800;
}

.field small {
  color: var(--ink-500);
  font-size: 0.73rem;
}

.field small a {
  color: var(--burgundy-700);
  font-weight: 800;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="month"],
input[type="datetime-local"],
select,
textarea {
  width: 100%;
  min-height: 51px;
  padding: 11px 13px;
  color: var(--ink-900);
  background: #fff;
  border: 1px solid rgba(23, 61, 51, 0.2);
  border-radius: 11px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(23, 61, 51, 0.34);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest-700);
  box-shadow: 0 0 0 4px rgba(47, 102, 88, 0.1);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fff9fa;
}

.choice-fieldset {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.choice-fieldset legend {
  margin-bottom: 9px;
}

.choice-grid {
  display: grid;
  gap: 8px;
}

.choice-grid-jobs {
  grid-template-columns: repeat(2, 1fr);
}

.choice-grid-channels {
  grid-template-columns: repeat(2, 1fr);
}

.choice-grid label {
  position: relative;
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-grid label span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 10px 13px;
  color: var(--ink-700);
  background: #fff;
  border: 1px solid rgba(23, 61, 51, 0.17);
  border-radius: 11px;
  font-size: 0.83rem;
  font-weight: 750;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.choice-grid label span::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-right: 9px;
  background: #fff;
  border: 1.5px solid rgba(23, 61, 51, 0.36);
  border-radius: 5px;
  box-shadow: inset 0 0 0 4px #fff;
}

.choice-grid-channels label span::before {
  border-radius: 50%;
}

.choice-grid input:checked + span {
  color: var(--forest-950);
  background: rgba(201, 168, 93, 0.16);
  border-color: var(--gold-500);
  box-shadow: 0 0 0 2px rgba(201, 168, 93, 0.08);
}

.choice-grid input:checked + span::before {
  background: var(--burgundy-700);
  border-color: var(--burgundy-700);
}

.choice-grid input:focus-visible + span {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

.field-error {
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 750;
}

.conditional-field {
  padding: 14px;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.step-actions-end {
  justify-content: flex-end;
}

.step-actions-back-only {
  justify-content: flex-start;
  margin-top: 24px;
}

.application-summary {
  margin: 16px 0;
  padding: 14px 15px;
  color: var(--forest-950);
  background: var(--cream-100);
  border-left: 4px solid var(--gold-500);
  border-radius: 9px;
}

.application-summary strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.application-summary p {
  margin: 4px 0 0;
  color: var(--ink-700);
  font-size: 0.82rem;
}

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-700);
  font-size: 0.79rem;
  line-height: 1.45;
}

.check-line input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--burgundy-700);
}

.check-line a {
  color: var(--burgundy-700);
  font-weight: 750;
}

.privacy-check {
  margin: 18px 0;
}

.submit-options {
  padding: 18px;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.button-submit {
  width: 100%;
}

.submit-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 0;
  color: var(--ink-500);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.submit-divider::before,
.submit-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.whatsapp-check {
  margin-bottom: 12px;
}

.whatsapp-dot {
  width: 11px;
  height: 11px;
  background: #fff;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.form-legal {
  margin: 14px 0 0;
  color: var(--ink-500);
  font-size: 0.72rem;
}

.faq-section {
  background: var(--cream-50);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.5fr) minmax(0, 1fr);
  align-items: start;
  gap: 75px;
}

.faq-heading {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.faq-heading h2 {
  margin-bottom: 18px;
  color: var(--forest-950);
}

.faq-heading > p:last-child {
  color: var(--ink-700);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  color: var(--forest-950);
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 16px;
  height: 2px;
  background: var(--burgundy-700);
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.faq-list summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-list details p {
  max-width: 760px;
  margin: -4px 0 23px;
  padding-right: 42px;
  color: var(--ink-700);
  font-size: 0.94rem;
}

.closing-cta {
  padding: 78px 0;
  color: #fff;
  background: var(--burgundy-800);
}

.closing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
}

.closing-grid h2 {
  max-width: 760px;
  margin-bottom: 13px;
  color: #fff;
}

.closing-grid p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  padding: 42px 0 22px;
  color: rgba(255, 255, 255, 0.72);
  background: #0b211c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 35px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand div {
  display: grid;
  gap: 3px;
}

.footer-brand strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
}

.footer-brand span {
  font-size: 0.78rem;
}

.footer-contact,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-contact a,
.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-nav a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
}

.floating-apply {
  display: none;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
    gap: 44px;
  }

  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .application-layout {
    grid-template-columns: minmax(260px, 0.52fr) minmax(520px, 1fr);
    gap: 42px;
  }

  .contact-shortcuts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .main-nav {
    gap: 10px;
  }

  .section {
    padding: 86px 0;
  }

  .main-nav > a:not(.button) {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 78px;
    padding-bottom: 76px;
  }

  .hero-copy {
    max-width: 790px;
  }

  .team-board {
    max-width: 650px;
    transform: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid > div:nth-child(2) {
    border-right: 0;
  }

  .trust-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(15, 42, 36, 0.18);
  }

  .heading-split,
  .benefits-grid,
  .application-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .heading-split {
    gap: 18px;
  }

  .benefits-grid,
  .application-layout,
  .faq-layout {
    gap: 42px;
  }

  .benefits-copy,
  .application-intro,
  .faq-heading {
    position: static;
  }

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

  .contact-shortcuts {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 38px;
  }

  .process-list::before {
    display: none;
  }

  .closing-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 26px), var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .site-header {
    min-height: 66px;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand img {
    width: 43px;
    height: 43px;
  }

  .brand-copy strong {
    font-size: 1.12rem;
  }

  .brand-copy small {
    font-size: 0.62rem;
  }

  .main-nav {
    gap: 8px;
  }

  .main-nav .button {
    min-height: 39px;
    padding: 9px 13px;
    font-size: 0.8rem;
  }

  .main-nav .nav-apply {
    display: none;
  }

  .button-home {
    white-space: nowrap;
  }

  .hero-grid {
    gap: 45px;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero-backdrop {
    background-image:
      linear-gradient(180deg, rgba(9, 31, 25, 0.97) 0%, rgba(12, 42, 34, 0.94) 62%, rgba(15, 49, 41, 0.82) 100%),
      url("../../assets/images/emminger-hof-header-mobile.webp");
    background-position: center;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 14.5vw, 4.6rem);
  }

  .hero-lead {
    font-size: 1.03rem;
  }

  .button-row {
    display: grid;
  }

  .button-row .button {
    width: 100%;
  }

  .team-board {
    padding: 17px;
    border-radius: 22px;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }

  .board-card {
    min-height: 132px;
  }

  .board-badge {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .board-badge small {
    grid-column: 1 / -1;
    margin-left: 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 42, 36, 0.18);
  }

  .trust-grid > div:last-child {
    border-bottom: 0;
  }

  .jobs-grid,
  .benefit-cards,
  .process-list,
  .form-row,
  .choice-grid-jobs,
  .choice-grid-channels,
  .contact-shortcuts {
    grid-template-columns: 1fr;
  }

  .job-card {
    min-height: auto;
  }

  .benefit-cards article {
    min-height: auto;
  }

  .application-card {
    border-radius: 22px;
  }

  .form-progress {
    padding: 20px 18px 16px;
  }

  .form-step {
    padding: 25px 18px 22px;
  }

  .form-alert {
    margin: 18px 18px 0;
  }

  .step-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .step-actions .button {
    width: 100%;
  }

  .step-actions .prev-step {
    order: 2;
  }

  .progress-copy {
    display: grid;
    gap: 2px;
  }

  .closing-cta {
    padding: 62px 0;
  }

  .footer-bottom {
    display: grid;
  }

  .floating-apply {
    position: fixed;
    left: 13px;
    right: 13px;
    bottom: max(13px, env(safe-area-inset-bottom));
    z-index: 900;
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--burgundy-700);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(16, 35, 29, 0.26);
    font-weight: 800;
    text-decoration: none;
  }

  .site-footer {
    padding-bottom: 90px;
  }
}


@media (max-width: 430px) {
  .header-inner {
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .button-home {
    padding-inline: 11px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .floating-apply,
  .button,
  .application-section,
  .closing-cta {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding: 32px 0;
  }
}

/* Legal and confirmation pages */
.legal-hero,
.confirmation-main {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(211, 177, 107, 0.22), transparent 28%),
    linear-gradient(135deg, var(--forest-950), var(--forest-700));
}

.legal-hero {
  padding: 92px 0 76px;
}

.legal-hero::after,
.confirmation-main::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.025), 0 0 0 110px rgba(255, 255, 255, 0.018);
}

.legal-hero .container,
.confirmation-main .container {
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.06rem;
}

.legal-main {
  padding: 74px 0 100px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.legal-toc {
  position: sticky;
  top: 112px;
  padding: 23px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.legal-toc strong {
  display: block;
  margin-bottom: 13px;
  color: var(--forest-950);
  font-size: 0.92rem;
}

.legal-toc nav {
  display: grid;
  gap: 8px;
}

.legal-toc a {
  color: var(--ink-600);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--burgundy-700);
}

.legal-content {
  display: grid;
  gap: 17px;
}

.legal-card {
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  scroll-margin-top: 120px;
}

.legal-card h2 {
  margin-bottom: 16px;
  color: var(--forest-950);
  font-family: var(--sans);
  font-size: clamp(1.32rem, 2.4vw, 1.78rem);
  font-weight: 850;
  letter-spacing: -0.025em;
}

.legal-card h3 {
  margin: 24px 0 9px;
  color: var(--forest-900);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 850;
}

.legal-card p,
.legal-card li,
.legal-card address {
  color: var(--ink-700);
  font-size: 0.92rem;
  line-height: 1.72;
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  display: grid;
  gap: 7px;
  margin: 0 0 17px 20px;
}

.legal-card a {
  color: var(--burgundy-700);
  font-weight: 750;
}

.legal-card address {
  font-style: normal;
}

.legal-note {
  padding: 17px 18px;
  background: var(--cream-50);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 11px 11px 0;
}

.legal-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--forest-950);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.79rem;
}

.confirmation-main {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  padding: 84px 0;
}

.confirmation-card {
  width: min(780px, 100%);
  padding: clamp(30px, 6vw, 58px);
  color: var(--ink-800);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  box-shadow: 0 28px 75px rgba(9, 31, 25, 0.28);
}

.confirmation-icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 24px;
  place-items: center;
  color: #fff;
  background: var(--success);
  border-radius: 50%;
  font-size: 1.75rem;
  font-weight: 900;
}

.confirmation-card h1 {
  margin-bottom: 16px;
  color: var(--forest-950);
  font-size: clamp(2.2rem, 6vw, 4.1rem);
}

.confirmation-card > p {
  max-width: 630px;
  color: var(--ink-600);
  font-size: 1.02rem;
}

.confirmation-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin: 30px 0;
}

.confirmation-steps div {
  padding: 17px;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.confirmation-steps span {
  display: block;
  margin-bottom: 5px;
  color: var(--burgundy-700);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.confirmation-steps strong {
  color: var(--forest-950);
  font-size: 0.9rem;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 820px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc nav {
    grid-template-columns: 1fr 1fr;
  }

  .confirmation-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .legal-hero {
    padding: 66px 0 56px;
  }

  .legal-main {
    padding: 46px 0 70px;
  }

  .legal-toc nav {
    grid-template-columns: 1fr;
  }

  .confirmation-main {
    min-height: calc(100vh - 74px);
    padding: 46px 0;
  }

  .confirmation-actions .button {
    width: 100%;
  }
}

.choice-fieldset[aria-invalid="true"] .choice-grid {
  padding: 8px;
  background: #fff9fa;
  border: 1px solid var(--danger);
  border-radius: 13px;
}

.check-line input[aria-invalid="true"] + span {
  color: var(--danger);
}

button:disabled,
.button[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.68;
}

.job-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.job-detail-link {
  color: var(--forest-700);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.job-detail-link:hover,
.job-detail-link:focus-visible {
  color: var(--burgundy-700);
}

.job-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 78px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 39, 32, 0.96), rgba(23, 61, 51, 0.82)),
    url("../../assets/images/emminger-hof-header.webp") center 56% / cover no-repeat,
    var(--forest-950);
}

.job-detail-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(255, 255, 255, 0.025), 0 0 0 116px rgba(255, 255, 255, 0.018);
}

.job-detail-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.77rem;
  font-weight: 750;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: #fff;
}

.job-detail-hero h1 {
  max-width: 930px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
  line-height: 0.98;
}

.job-detail-hero h1 span {
  color: var(--gold-300);
}

.job-detail-lead {
  max-width: 760px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.79);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.job-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.job-detail-tags span {
  padding: 7px 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.job-detail-main {
  padding: 76px 0 100px;
}

.job-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: start;
  gap: 28px;
}

.job-detail-content {
  display: grid;
  gap: 17px;
}

.detail-card {
  padding: clamp(25px, 4vw, 39px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.detail-card h2 {
  margin-bottom: 17px;
  color: var(--forest-950);
  font-family: var(--sans);
  font-size: clamp(1.35rem, 2.7vw, 1.9rem);
  font-weight: 870;
  letter-spacing: -0.025em;
}

.detail-card p,
.detail-card li {
  color: var(--ink-700);
  line-height: 1.72;
}

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

.detail-list li {
  position: relative;
  padding-left: 28px;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 9px;
  height: 9px;
  background: var(--gold-500);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(211, 177, 107, 0.14);
}

.job-detail-aside {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 14px;
}

.detail-facts,
.detail-apply-card {
  padding: 25px;
  border-radius: var(--radius-md);
}

.detail-facts {
  background: var(--cream-50);
  border: 1px solid var(--line);
}

.detail-facts h2,
.detail-apply-card h2 {
  margin-bottom: 17px;
  color: var(--forest-950);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 870;
}

.detail-facts dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.detail-facts div {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.detail-facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-facts dt {
  margin-bottom: 3px;
  color: var(--ink-500);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.detail-facts dd {
  margin: 0;
  color: var(--forest-950);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.45;
}

.detail-apply-card {
  color: #fff;
  background: var(--forest-950);
  box-shadow: var(--shadow-sm);
}

.detail-apply-card h2 {
  color: #fff;
}

.detail-apply-card p {
  margin-bottom: 19px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.87rem;
  line-height: 1.6;
}

.detail-apply-card .button {
  width: 100%;
}

.detail-contact-note {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 0.72rem !important;
  text-align: center;
}

.job-detail-bottom {
  margin-top: 28px;
  padding: 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--burgundy-800), var(--burgundy-600));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.job-detail-bottom h2 {
  margin-bottom: 10px;
  color: #fff;
}

.job-detail-bottom p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 900px) {
  .job-detail-layout {
    grid-template-columns: 1fr;
  }

  .job-detail-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .job-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .job-detail-hero {
    padding: 66px 0 58px;
    background:
      linear-gradient(180deg, rgba(12, 39, 32, 0.92), rgba(23, 61, 51, 0.9)),
      url("../../assets/images/emminger-hof-header-mobile.webp") center / cover no-repeat,
      var(--forest-950);
  }

  .job-detail-main {
    padding: 48px 0 72px;
  }

  .job-detail-aside {
    grid-template-columns: 1fr;
  }

  .job-detail-bottom {
    padding: 27px;
  }
}

/* Domain update and mobile hardening - 5 August 2026 */
html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

h1,
h2,
h3,
.legal-card a,
.legal-card address,
.footer-contact a,
.footer-nav a {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .main-nav .button {
    min-height: 44px;
  }

  .job-actions .text-button,
  .job-actions .job-detail-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding-block: 8px;
  }

  .footer-contact a,
  .footer-nav a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
  }
}

@media (max-width: 430px) {
  .job-detail-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.1rem);
  }
}
