/* Weingartner GmbH Baldegg – Entwurf von Seetalwebsites
   Farben aus dem Logo (Orange #F3930D, Schiefer #596B79), dazu Blechgrau.
   Typisches Detail aus dem Stelleninserat: der orange Schrägstrich „/“. */

:root {
  --blech: #f2f4f5;
  --blech-2: #e6eaed;
  --weiss: #fbfcfc;
  --linie: #d2d9de;
  --schiefer: #596b79;
  --schiefer-hell: #8b9aa6;
  --tinte: #1d252c;
  --nacht: #242e36;
  --nacht-2: #2c3842;
  --nacht-text: #b8c3cb;
  --orange: #f3930d;
  --orange-hell: #ffa834;
  --orange-tief: #b36400;

  --schrift: "Overpass", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --breite: 1240px;
  --rand: clamp(16px, 4vw, 40px);
  --kopf-h: 72px;
  --abstand: clamp(80px, 10vw, 136px);
  --fase: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--blech);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 740; color: var(--tinte); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button, input, textarea { font: inherit; color: inherit; }

.rahmen {
  width: 100%;
  max-width: calc(var(--breite) + var(--rand) * 2);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.skip {
  position: absolute; left: -999px; top: 12px; z-index: 200;
  background: var(--tinte); color: var(--weiss);
  padding: 10px 16px; text-decoration: none;
}
.skip:focus { left: 12px; }

:focus-visible { outline: 3px solid var(--orange-tief); outline-offset: 3px; }

/* Icons */
.kopf-tel svg, .knopf-text svg, .kontakt-liste svg, .teilen svg,
.dialog-zu svg, .handy-leiste svg {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Knöpfe: unten rechts abgekantet wie ein gefalztes Blech ---------- */
.knopf {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 28px 12px;
  border: 0; background: none; cursor: pointer;
  color: var(--tinte); font-size: 17px; font-weight: 720; letter-spacing: -0.005em;
  text-decoration: none;
  transition: transform 120ms ease-out;
}
.knopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--fase)), calc(100% - var(--fase)) 100%, 0 100%);
  transition: background-color 150ms ease-out;
}
.knopf:hover::before { background: var(--orange-hell); }
.knopf:active { transform: scale(0.98); }

.knopf-text {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 12px 4px 10px;
  font-weight: 680; text-decoration: none;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(currentColor, currentColor) left calc(100% - 10px) / 0 1.5px no-repeat;
  transition: background-size 200ms ease-out;
}
.knopf-text:hover { background-size: 100% 1.5px; }
.knopf-text svg { color: var(--orange-tief); }
.knopf-text-hell { color: var(--weiss); }
.knopf-text-hell svg { color: var(--orange); }

.knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 100;
  height: var(--kopf-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 250ms ease-out, border-color 250ms ease-out;
}
.kopf.gescrollt {
  background: rgba(242, 244, 245, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--linie);
}
.kopf-innen { height: 100%; display: flex; align-items: center; gap: 40px; }
.marke { display: block; margin-right: auto; }
.marke img { height: 54px; width: auto; }
.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 15.5px; font-weight: 620; text-decoration: none; color: var(--tinte);
  padding: 8px 0;
  background: linear-gradient(var(--orange), var(--orange)) left bottom / 0 2px no-repeat;
  transition: background-size 200ms ease-out;
}
.nav a:hover { background-size: 100% 2px; }
.kopf-tel {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px 8px 14px;
  color: var(--weiss); font-size: 15.5px; font-weight: 700; text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.kopf-tel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--tinte);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: background-color 150ms ease-out;
}
.kopf-tel:hover::before { background: var(--schiefer); }
.kopf-tel svg { color: var(--orange); width: 18px; height: 18px; }

/* ---------- Einstieg ---------- */
.held { padding-top: clamp(28px, 5vw, 64px); }
.held-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.held-text { padding-bottom: clamp(8px, 3vw, 44px); }

.stelle-pille {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 6px 12px; margin-bottom: 28px;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: 999px;
  font-size: 15px; font-weight: 650; text-decoration: none;
  transition: border-color 150ms ease-out;
}
.stelle-pille:hover { border-color: var(--orange); }
.puls {
  position: relative; width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange); margin-top: -2px;
}
.puls::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--orange);
  animation: puls 2.4s ease-out infinite;
}
@keyframes puls {
  0% { transform: scale(1); opacity: .55; }
  70%, 100% { transform: scale(3); opacity: 0; }
}

.held-titel {
  font-size: clamp(2.55rem, 1.2rem + 4.4vw, 5.25rem);
  font-weight: 780;
  line-height: 0.98;
  letter-spacing: -0.032em;
}
.zeile { display: block; overflow: hidden; padding: 0.04em 0 0.08em; margin-bottom: -0.08em; }
.zeile > span { display: inline-block; }
.zeile + .zeile > span { color: var(--schiefer); }
.nowrap { white-space: nowrap; }

.held-lead {
  margin: 26px 0 34px;
  max-width: 34em;
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.22rem);
  line-height: 1.55;
  color: var(--schiefer);
}

.held-bild { position: relative; margin: 0; }
.held-bild img {
  width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; object-position: 72% 50%;
  clip-path: polygon(0 17%, 50% 0, 100% 17%, 100% 100%, 0 100%);
}
/* Ortblech: die orange Blechkante über dem Giebel */
.held-bild::before {
  content: ""; position: absolute; left: -2.5%; right: -2.5%; top: -18px;
  aspect-ratio: 1 / 0.19;
  background: var(--orange);
  clip-path: polygon(0 89.5%, 50% 0, 100% 89.5%, 100% 100%, 50% 12%, 0 100%);
}

.fakten {
  display: flex; flex-wrap: wrap; gap: 6px 0;
  list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--linie);
  font-size: 15.5px; font-weight: 640; color: var(--schiefer);
}
.fakten li + li::before {
  content: "/"; color: var(--orange); font-weight: 800; margin: 0 14px;
}

/* Einstiegs-Bewegung (nur einmal beim Laden) */
.js .zeile > span { animation: hoch 900ms var(--ease) both; }
.js .zeile + .zeile > span { animation-delay: 90ms; }
.js .held-teil { animation: auf 700ms var(--ease-out) both; animation-delay: 260ms; }
.js .held-lead { animation-delay: 320ms; }
.js .knoepfe.held-teil { animation-delay: 380ms; }
.js .held-bild img { animation: giebel 1100ms var(--ease) 120ms both; }
.js .held-bild::before { animation: kante 700ms var(--ease) 900ms both; }

@keyframes hoch { from { transform: translateY(105%); } to { transform: none; } }
@keyframes auf { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes giebel {
  from { clip-path: polygon(0 100%, 50% 100%, 100% 100%, 100% 100%, 0 100%); }
  to { clip-path: polygon(0 17%, 50% 0, 100% 17%, 100% 100%, 0 100%); }
}
@keyframes kante {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Abschnitte allgemein ---------- */
.abschnitt { padding-block: var(--abstand); }
.abschnitt-kopf {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.abschnitt-kopf h2, .ueber-text h2, .kontakt-text h2, .stelle h2 {
  font-size: clamp(2rem, 1.25rem + 2.5vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: -0.028em;
}
.abschnitt-kopf h2 { max-width: 15ch; }
.abschnitt-kopf p { color: var(--schiefer); max-width: 40ch; font-size: 1.08rem; }

/* ---------- Leistungen ---------- */
.leist-raster {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 88px); align-items: start;
}
.leist-bild {
  position: sticky; top: calc(var(--kopf-h) + 24px);
  aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--blech-2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0 100%);
}
.leist-bild img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 400ms ease-out, transform 900ms var(--ease);
}
.leist-bild img.aktiv { opacity: 1; transform: none; }

.leist-liste { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); }
.leist-liste li {
  display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 6px;
  padding: 26px 0 27px;
  border-top: 1px solid var(--linie);
  cursor: default;
}
.leist-liste li::before {
  content: "/"; grid-row: span 2;
  color: var(--orange); font-size: 1.55rem; font-weight: 800; line-height: 1;
  transition: transform 250ms var(--ease);
}
.leist-liste h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); line-height: 1.2; letter-spacing: -0.015em;
  transition: transform 250ms var(--ease);
}
.leist-liste p { margin-top: 6px; color: var(--schiefer); max-width: 46ch; }
.leist-liste li.aktiv::before { transform: translateX(6px); }
.leist-liste li.aktiv h3 { transform: translateX(6px); }

/* ---------- Offene Stelle ---------- */
.stelle {
  --falz: 76px;
  position: relative;
  padding-block: clamp(84px, 11vw, 150px);
  background-color: var(--nacht);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%),
    repeating-linear-gradient(90deg, transparent 0 calc(var(--falz) - 2px), rgba(255, 255, 255, 0.04) calc(var(--falz) - 2px) var(--falz));
  color: var(--nacht-text);
}
.stelle h2, .stelle h3 { color: var(--weiss); }
.stelle-raster {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 104px); align-items: center;
}
.stelle-marke {
  display: flex; flex-wrap: wrap; margin-bottom: 22px;
  font-size: 16px; font-weight: 700; color: var(--orange);
}
.stelle-marke span + span::before { content: "/"; margin: 0 12px; font-weight: 800; }
.stelle-sub {
  margin: 14px 0 22px;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.25;
  font-weight: 700; letter-spacing: -0.015em; color: var(--orange);
}
.stelle-text > p:not([class]) { max-width: 40ch; font-size: 1.08rem; }
.stelle-text .knoepfe { margin-top: 34px; }

.woche {
  padding: clamp(24px, 3.4vw, 44px);
  background: var(--nacht-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%);
}
.woche-zahl { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); }
.zahl-fenster {
  display: block; height: 0.86em; overflow: hidden;
  font-size: clamp(7rem, 4.5rem + 8vw, 11.5rem); font-weight: 800; line-height: 0.86;
  letter-spacing: -0.04em; color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.zahl-rolle { display: flex; flex-direction: column; transform: translateY(-0.86em); transition: transform 800ms var(--ease) 1250ms; }
.zahl-rolle span { display: block; height: 0.86em; padding-top: 0.1em; }
.woche-text { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem); font-weight: 700; line-height: 1.2; color: var(--weiss); letter-spacing: -0.015em; }

.woche-leiste {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px;
  height: clamp(120px, 14vw, 170px);
  list-style: none; margin: 30px 0 0; padding: 0;
  perspective: 700px;
}
.tag {
  position: relative; border-radius: 2px;
  transform-origin: 50% 100%;
  transition: transform 520ms var(--ease);
}
/* Stehfalz-Blech: dunkle Kante links, Lichtkante rechts */
.arbeit, .kippt .vorne {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 3px, transparent 3px calc(100% - 3px), rgba(255, 255, 255, 0.32) calc(100% - 3px)),
    linear-gradient(180deg, var(--orange-hell), var(--orange));
}
.frei, .kippt .hinten {
  border: 1.5px dashed rgba(255, 255, 255, 0.24);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 12px;
  font-size: 14px; font-weight: 700; color: var(--nacht-text);
}
.frei span, .kippt .hinten span { writing-mode: vertical-rl; transform: rotate(180deg); }
.kippt { perspective: 600px; }
.dreh {
  position: absolute; inset: 0; display: block;
  transform-style: preserve-3d; transform: rotateY(180deg);
  transition: transform 1100ms var(--ease) 950ms;
}
.kippt .vorne, .kippt .hinten {
  position: absolute; inset: 0; border-radius: 2px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.kippt .hinten { transform: rotateY(180deg); }
.woche-notiz { margin-top: 22px; font-size: 15.5px; }

/* Vorher-Zustand, bis die Woche ins Bild scrollt */
.js .woche:not(.an) .tag { transform: scaleY(0); }
.js .woche:not(.an) .dreh { transform: none; }
.js .woche:not(.an) .zahl-rolle { transform: none; }
.js .woche .tag:nth-child(2) { transition-delay: 60ms; }
.js .woche .tag:nth-child(3) { transition-delay: 120ms; }
.js .woche .tag:nth-child(4) { transition-delay: 180ms; }
.js .woche .tag:nth-child(6) { transition-delay: 300ms; }
.js .woche .tag:nth-child(7) { transition-delay: 360ms; }
.js .woche .tag:nth-child(5) { transition-delay: 240ms; }

.stelle-listen {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px clamp(32px, 4vw, 64px);
  margin-top: clamp(64px, 8vw, 104px); padding-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stelle-listen h3 { font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 14px; }
.strich { list-style: none; margin: 0; padding: 0; }
.strich li { position: relative; padding-left: 24px; margin: 9px 0; color: #d6dde2; }
.strich li::before { content: "/"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }

.stelle-teilen {
  align-self: start;
  padding: 26px 26px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stelle-teilen p { margin-bottom: 20px; }
.teilen {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 18px 8px;
  background: transparent; color: var(--weiss); cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, 0.32); border-radius: 2px;
  font-weight: 700;
  transition: border-color 150ms ease-out, background-color 150ms ease-out;
}
.teilen:hover { border-color: var(--orange); background: rgba(243, 147, 13, 0.08); }
.teilen svg { color: var(--orange); }

/* ---------- Ablauf ---------- */
.schritte {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.schritte li { position: relative; padding: 34px 28px 0 0; border-top: 2px solid var(--tinte); }
.schritte li::before {
  content: ""; position: absolute; top: -7px; left: 0;
  width: 12px; height: 12px; background: var(--orange);
}
.schritte .nr {
  display: block; margin-bottom: 12px;
  font-size: 1rem; font-weight: 800; color: var(--orange-tief);
  font-variant-numeric: tabular-nums;
}
.schritte h3 { font-size: 1.28rem; letter-spacing: -0.015em; }
.schritte p { margin-top: 8px; color: var(--schiefer); font-size: 16px; }

/* ---------- Über uns ---------- */
.ueber { border-top: 1px solid var(--linie); }
.ueber-raster {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 104px); align-items: center;
}
.team-platz {
  margin: 0; aspect-ratio: 5 / 4.4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  padding: 32px; text-align: center;
  background-color: var(--blech-2);
  background-image: repeating-linear-gradient(90deg, transparent 0 50px, rgba(89, 107, 121, 0.13) 50px 52px);
  border: 1.5px dashed var(--schiefer-hell);
}
.team-w { width: 104px; height: 72px; }
.team-platz figcaption { font-size: 15.5px; font-weight: 650; color: var(--schiefer); line-height: 1.5; }
.ueber-text .gross {
  margin: 24px 0 18px;
  font-size: clamp(1.18rem, 1.05rem + 0.5vw, 1.4rem); line-height: 1.5; font-weight: 520;
}
.ueber-text > p:not(.gross) { color: var(--schiefer); max-width: 48ch; }
.eckdaten {
  display: flex; flex-wrap: wrap; gap: 20px 48px;
  margin: 34px 0 0; padding-top: 24px; border-top: 1px solid var(--linie);
}
.eckdaten dt { font-size: 14.5px; font-weight: 650; color: var(--schiefer); }
.eckdaten dd { margin: 2px 0 0; font-size: 1.6rem; font-weight: 760; letter-spacing: -0.02em; }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--blech-2); }
.kontakt-raster {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 104px); align-items: start;
}
.kontakt-text > p { margin-top: 18px; color: var(--schiefer); font-size: 1.08rem; }
.gross-tel {
  display: inline-block; margin: 30px 0 22px;
  font-size: clamp(2.3rem, 1.4rem + 3vw, 3.7rem); font-weight: 780;
  letter-spacing: -0.025em; line-height: 1.1;
  text-decoration: none; font-variant-numeric: tabular-nums;
  border-bottom: 4px solid var(--orange);
  transition: color 150ms ease-out;
}
.gross-tel:hover { color: var(--orange-tief); }
.kontakt-liste { list-style: none; margin: 0; padding: 0; }
.kontakt-liste li { display: flex; align-items: center; gap: 12px; padding: 7px 0; }
.kontakt-liste svg { color: var(--schiefer); }
.kontakt-liste a { text-decoration-color: var(--orange); text-underline-offset: 3px; }

.formular {
  padding: clamp(24px, 3.2vw, 40px);
  background: var(--weiss);
  border: 1px solid var(--linie);
  box-shadow: 0 30px 50px -34px rgba(29, 37, 44, 0.35);
}
.formular h3 { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 20px; }

.chips { border: 0; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 12px; font-size: 15px; font-weight: 680; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 9px 15px 7px;
  border: 1.5px solid var(--linie); border-radius: 999px;
  font-size: 15px; font-weight: 640; color: var(--schiefer);
  transition: background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}
.chips label:hover span { border-color: var(--schiefer-hell); }
.chips input:checked + span { background: var(--tinte); border-color: var(--tinte); color: var(--weiss); }
.chips input:focus-visible + span { outline: 3px solid var(--orange-tief); outline-offset: 2px; }

.felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feld { display: grid; gap: 6px; }
.feld-breit { grid-column: 1 / -1; }
.feld > span { font-size: 14.5px; font-weight: 660; color: var(--schiefer); }
.feld input, .feld textarea {
  width: 100%; padding: 13px 14px 11px;
  background: var(--blech); border: 1.5px solid var(--linie); border-radius: 2px;
  font-size: 16px; resize: vertical;
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}
.feld input:focus, .feld textarea:focus {
  outline: none; border-color: var(--tinte);
  box-shadow: 0 0 0 3px rgba(243, 147, 13, 0.35);
}
.feld textarea::placeholder { color: var(--schiefer-hell); }
.formular .knopf, .dialog-form .knopf { margin-top: 22px; }
.formular-danke {
  margin-top: 16px; padding: 14px 16px 12px;
  background: #fff3e0; border-left: 3px solid var(--orange);
  font-size: 15.5px; line-height: 1.5; color: var(--tinte);
}

/* ---------- Fuss ---------- */
.fuss { background: var(--nacht); color: var(--nacht-text); padding: 56px 0 36px; font-size: 15.5px; }
.fuss-innen { display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-start; }
.fuss-innen img { width: 170px; margin-right: auto; }
.fuss a { color: var(--weiss); text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; }
.entwurf { margin-top: 44px; }
.entwurf p { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; color: var(--schiefer-hell); }

/* ---------- Handy-Leiste ---------- */
.handy-leiste { display: none; }

/* ---------- Dialog Bewerbung ---------- */
.dialog {
  width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 2px;
  background: var(--weiss); color: var(--tinte);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
}
.dialog[open] { animation: dialog-auf 400ms var(--ease); }
.dialog::backdrop { background: rgba(20, 26, 31, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes dialog-auf { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.dialog-form { position: relative; display: grid; gap: 14px; padding: 36px 32px 32px; }
.dialog-form h2 { font-size: 1.75rem; line-height: 1.1; letter-spacing: -0.02em; padding-right: 40px; }
.dialog-form > p { color: var(--schiefer); margin-bottom: 6px; }
.dialog-form .chips { margin: 6px 0 0; }
.dialog-zu {
  position: absolute; top: 12px; right: 12px;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: var(--schiefer);
  border-radius: 50%; transition: background-color 150ms ease-out;
}
.dialog-zu:hover { background: var(--blech-2); }

/* ---------- Tablet ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .stelle-listen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stelle-teilen { grid-column: 1 / -1; }
  .schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
}

/* ---------- Handy ---------- */
@media (max-width: 820px) {
  :root { --kopf-h: 64px; }
  body { font-size: 16.5px; padding-bottom: 76px; }
  .marke img { height: 44px; }
  .stelle-pille { font-size: 14.5px; margin-bottom: 22px; }

  .held-raster, .abschnitt-kopf, .leist-raster, .stelle-raster, .ueber-raster, .kontakt-raster {
    grid-template-columns: minmax(0, 1fr);
  }
  .held-text { padding-bottom: 0; }
  .held-bild { margin-top: 20px; }
  .held-bild img { aspect-ratio: 4 / 3.3; }
  .fakten { gap: 8px 18px; font-size: 14.5px; }
  .fakten li::before, .fakten li + li::before { content: "/"; color: var(--orange); font-weight: 800; margin: 0 8px 0 0; }

  .leist-bild { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .leist-liste li { padding: 22px 0 23px; }

  .stelle-raster { gap: 44px; }
  .stelle-listen { grid-template-columns: minmax(0, 1fr); }

  .schritte { grid-template-columns: minmax(0, 1fr); row-gap: 0; border-left: 2px solid var(--tinte); margin-left: 5px; }
  .schritte li { border-top: 0; padding: 0 0 28px 26px; }
  .schritte li::before { top: 4px; left: -7px; }
  .schritte li { padding-bottom: 22px; }
  .schritte .nr { display: inline; margin: 0 10px 0 0; font-size: 1.2rem; }
  .schritte h3 { display: inline; }
  .schritte p { margin-top: 4px; }

  .team-platz { aspect-ratio: 4 / 3; }
  .felder { grid-template-columns: minmax(0, 1fr); }
  .formular .knopf { width: 100%; }

  .fuss { padding-bottom: 28px; }

  .handy-leiste {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(242, 244, 245, 0.9);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--linie);
  }
  .handy-leiste a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 50px; font-weight: 720; text-decoration: none;
    border: 1.5px solid var(--tinte); border-radius: 2px;
  }
  .handy-leiste .handy-offerte { background: var(--orange); border-color: var(--orange); }
}

@media (max-width: 420px) {
  .kopf-tel span { display: none; }
  .kopf-tel { padding: 11px 14px 11px 13px; }
  .kopf-tel::before { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
  .woche-leiste { gap: 5px; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important;
    transition-duration: 1ms !important; transition-delay: 0ms !important;
  }
  .puls::after { display: none; }
}
