:root {
  color-scheme: light;
  --ink: #162a25;
  --muted: #4b6059;
  --paper: #f8f7f1;
  --green: #164a3d;
  --line: #dce2d9;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #b45a23; outline-offset: 4px; }
.shell { width: min(1152px, calc(100% - 36px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.topbar, .nav, .footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar { min-height: 60px; }
.brand {
  position: relative;
  flex: 0 0 auto;
  width: clamp(104px, 21vw, 166px);
  aspect-ratio: 5.8;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.brand img {
  position: absolute;
  top: 49%;
  left: 50%;
  width: 113%;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
}
.nav a { text-decoration: none; }
.program-link { font-weight: 600; }
.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-label { display: inline-flex; align-items: center; gap: 8px; }
.nav .icon, .button-small .icon, .field-label .icon, dt .icon { width: 17px; height: 17px; }
.languages > .icon, .field-label .icon, dt .icon { color: var(--green); }
.languages { display: flex; align-items: center; gap: 3px; }
.languages a { font-size: .75rem; font-weight: 700; padding: 7px; border-radius: 6px; }
.languages [aria-current] { background: #dfeae1; }
.button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: var(--green); color: white; border: 0; border-radius: 8px; cursor: pointer; font-weight: 650; text-decoration: none; }
.button:hover { background: #23614f; }
.button-small { padding: 7px 10px; font-size: .9rem; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 38px); align-items: center; padding-block: 26px; }
.hero-graphic {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  background: #163b31 url("photos/berlin.jpg") center / cover no-repeat;
  color: #f5e6be;
}
.hero-graphic span { display: none; }
.hero-graphic i { position: absolute; left: 7%; bottom: 7%; width: 42px; height: 27px; background: linear-gradient(#201e1b 0 33.33%, #cb443e 33.33% 66.66%, #f0bd4c 66.66%); border-radius: 3px; box-shadow: 0 2px 10px #0005; }
.eyebrow { margin: 0 0 6px; color: var(--green); font-size: .93rem; font-weight: 700; }
h2, h3, h4 { margin: 0; line-height: 1.12; }
h2 { font-size: clamp(2.2rem, 4.8vw, 4.15rem); letter-spacing: -.055em; }
h3 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); letter-spacing: -.035em; }
h4 { font-size: 1.18rem; }
p { margin-block: 8px 0; line-height: 1.55; color: var(--muted); }
.lead { font-size: 1.13rem; max-width: 43ch; margin-block: 12px 15px; }
.band { background: #e6eee6; }
.section { padding-block: 26px; }
.band + .band > .section { padding-top: 7px; }
.section p { max-width: 68ch; }
.card { background: white; border: 1px solid var(--line); border-radius: 12px; }
.program-overview { background: var(--green); color: white; }
.program-overview p { color: #e0ece4; }
.overview-links, .roadmap, .experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 13px 0 0;
  padding: 0;
}
.overview-links, .roadmap { list-style: none; }
.overview-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #ffffff42;
  border-radius: 8px;
  background: #ffffff12;
  text-decoration: none;
  font-weight: 650;
}
.overview-links a:hover { background: #ffffff25; }
.overview-links .icon { color: #f5e6be; }
.roadmap li { position: relative; padding-top: 3px; }
.roadmap li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 48px;
  right: 0;
  border-top: 1px solid #a9c2b3;
}
.roadmap-marker {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: #dfeae1;
  color: var(--green);
}
.experience-grid article { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.experience-grid img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.experience-grid article > div { padding: 10px 12px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 13px; }
.info-grid article { padding: 14px; background: white; border: 1px solid var(--line); border-radius: 15px; }
.info-grid p { margin-bottom: 0; }
.program-highlights, .document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 13px 0 0;
}
.program-highlights { list-style: none; }
.program-highlights li, .document-grid > div {
  padding: 10px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.program-highlights li { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.program-highlights .icon {
  width: 32px;
  height: 32px;
  padding: 6px;
  background: #f5e6be;
  color: var(--green);
  border-radius: 8px;
}
.document-grid dt { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 650; color: var(--ink); }
.document-grid dd { margin-top: 4px; color: var(--muted); line-height: 1.5; }
section:not(.band) .info-grid article { overflow: hidden; }
section:not(.band) .info-grid article::before {
  content: "";
  display: block;
  aspect-ratio: 2 / 1;
  margin: -14px -14px 11px;
  background: #dce2d9 var(--job-photo) center / cover no-repeat;
}
section:not(.band) .info-grid article:nth-child(1) { --job-photo: url("photos/hotel.jpg"); }
section:not(.band) .info-grid article:nth-child(2) { --job-photo: url("photos/kitchen.jpg"); }
section:not(.band) .info-grid article:nth-child(3) { --job-photo: url("photos/warehouse.jpg"); }
.faq { max-width: 760px; margin-top: 10px; }
.faq details { border-bottom: 1px solid #b9c8bb; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 9px 0; font-weight: 650; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq summary:focus-visible { outline: 3px solid #b45a23; outline-offset: 4px; }
.faq details p { margin: 0 0 11px; }
.home-cta { background: #173e32; color: #fff; }
.home-cta p { margin-bottom: 12px; color: #e0ece4; }
.home-cta .button { background: #f5e6be; color: var(--ink); }
.home-cta .button:hover { background: #fff3d1; }
.account { padding-block: 24px; }
.card { max-width: 540px; margin: auto; padding: clamp(16px, 3vw, 24px); }
.card h2 { font-size: clamp(1.8rem, 4vw, 2.65rem); margin-bottom: 10px; }
.card > p { margin-bottom: 11px; }
.field { margin-bottom: 10px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field-label { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.field-label label { margin: 0; }
.field input { width: 100%; border: 1px solid #8f9e96; border-radius: 8px; min-height: 44px; padding: 8px 10px; }
.error { color: #992b25; margin: 5px 0 12px; }
.secondary-link { display: inline-block; margin-top: 10px; color: var(--green); text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }
.secondary-link.icon-label { display: inline-flex; }
dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 13px 0; }
dt { color: var(--muted); font-size: .9rem; }
dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.notice { background: #e6eee6; padding: 8px 10px; border-radius: 8px; }
footer { border-top: 1px solid var(--line); }
.footer { padding-block: 12px; color: var(--muted); font-size: .9rem; }

@media (max-width: 700px) {
  .shell { width: calc(100% - 24px); }
  .topbar, .nav { gap: 8px; }
  .program-link { display: none; }
  .languages > .icon { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 16px; }
  .section { padding-block: 19px; }
  .hero-graphic { aspect-ratio: 16 / 9; }
  .overview-links, .roadmap, .experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap li:nth-child(2)::after { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .program-highlights, .document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 460px) {
  .nav { flex-wrap: wrap; justify-content: flex-end; gap: 4px 8px; padding-block: 4px; }
  .program-highlights, .document-grid { grid-template-columns: 1fr; }
}
