/* Referenzen · Karriere · Impressum · Datenschutz · 404 */

/* =========================================================================
   Split page hero – the photo sits on the right at a crisp size and fades
   into the forest background (keeps the cut-out photos from being upscaled)
   ========================================================================= */
.page-hero__media > picture { height: 100%; }   /* main.css sizes only the img – without this a wide photo stops short of the hero's bottom */
@media (min-width: 721px) {
  .page-hero--split .page-hero__media {
    left: auto; width: min(62%, 1000px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 20%, #000 44%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 20%, #000 44%);
  }
  .page-hero--split .page-hero__media::after {
    background:
      linear-gradient(0deg, rgba(3, 18, 10, .78) 0%, rgba(3, 18, 10, .2) 38%, transparent 60%),
      linear-gradient(180deg, rgba(3, 18, 10, .55), transparent 28%);
  }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .page-hero--split .page-hero__media { width: 72%; }
  .page-hero--split .page-hero__media::after {
    background:
      linear-gradient(90deg, rgba(3, 18, 10, .88), rgba(3, 18, 10, .55) 55%, rgba(3, 18, 10, .25)),
      linear-gradient(0deg, rgba(3, 18, 10, .75), transparent 55%);
  }
  .page-hero--split .page-hero__content { max-width: 560px; }
}

/* =========================================================================
   REFERENZEN
   ========================================================================= */

/* ---------- object cards ("Objektkartei") ---------- */
.objects { padding-bottom: clamp(56px, 7vw, 100px); }
.obj-grid {
  --stagger: clamp(0px, 4vw, 64px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px);
  align-items: start; padding-bottom: var(--stagger);
}
.obj-grid > .obj:nth-child(even) { margin-top: var(--stagger); margin-bottom: calc(var(--stagger) * -1); }
.obj {
  position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 26px);
  padding: 10px clamp(18px, 2vw, 26px) 10px 10px; border-radius: 38px;
  background: var(--white); box-shadow: var(--shadow-1);
  transition: box-shadow .5s var(--ease-out);
}
.obj:hover { box-shadow: var(--shadow-2); }
.obj__media {
  position: relative; min-height: 300px; border-radius: var(--radius-l); overflow: hidden;
  background: var(--forest-900);
}
.obj__media > picture, .obj__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.obj__media > picture { border-radius: var(--radius-l); overflow: hidden; }
.obj__media img { object-fit: cover; object-position: right center; transition: transform 1.4s var(--ease-out); }
.obj:hover .obj__media img { transform: scale(1.05); }

/* key tag: facility people carry the keys to the buildings they look after */
.obj__tag {
  position: absolute; left: 14px; top: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 2px 14px 2px 10px;
  border-radius: 8px 18px 18px 8px; background: var(--lime-300); color: var(--forest-950);
  font-family: var(--font-hand); font-size: 1.4rem; font-weight: 700; line-height: 1.2;
  box-shadow: 0 8px 16px -8px rgba(3, 18, 10, .7);
  rotate: -7deg; transform-origin: 14px 50%;
}
.obj__tag::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--forest-900); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5), 0 0 0 2px rgba(255, 255, 255, .35);
}
.js .obj__media .obj__tag { opacity: 0; translate: -6px -10px; }
.js .obj__media.is-in .obj__tag { opacity: 1; translate: 0 0; transition: opacity .5s var(--ease-out) 1s, translate .8s var(--ease-spring) 1s; }
@media (prefers-reduced-motion: no-preference) {
  .obj:hover .obj__tag { animation: tag-swing 1.1s var(--ease-out); }
}
@keyframes tag-swing { 25% { rotate: 4deg; } 55% { rotate: -12deg; } 80% { rotate: -4deg; } }

.obj__body { display: grid; align-content: start; gap: 12px; padding-block: clamp(14px, 1.6vw, 22px) 14px; }
.obj__title { font-size: clamp(1.3rem, 1.1rem + .55vw, 1.6rem); font-weight: 700; hyphens: manual; }
.obj__body > p:not([class]) { color: var(--muted); font-size: .98rem; line-height: 1.55; }
.obj__label {
  margin-top: 4px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
}
.obj__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.obj__chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--paper-3); color: var(--forest-800);
  font-size: .9rem; font-weight: 650; line-height: 1.2; text-decoration: none;
  transition: background-color .25s, border-color .25s, transform .35s var(--ease-spring);
}
.obj__chips a:hover { background: var(--lime-200); border-color: var(--lime-300); transform: translateY(-2px); }

@media (max-width: 1020px) {
  .obj-grid { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; padding-bottom: 0; }
  .obj-grid > .obj:nth-child(even) { margin: 0; }
}
@media (max-width: 600px) {
  .obj { grid-template-columns: 1fr; gap: 6px; padding: 8px 8px 12px; border-radius: 34px; }
  .obj__media { min-height: 0; aspect-ratio: 16 / 11; }
  .obj__body { padding: 12px 12px 6px; }
}

/* ---------- promise: clipboard checklist ---------- */
.promise__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.promise__text { display: grid; gap: 22px; justify-items: start; }
.promise__hand { font-size: clamp(1.6rem, 1.3rem + .8vw, 2.1rem); color: var(--lime-300); rotate: -3deg; }

.clipboard { position: relative; width: 100%; max-width: 560px; justify-self: center; padding: 30px 14px 14px; border-radius: 26px; rotate: 1.6deg;
  background: linear-gradient(160deg, var(--forest-600), var(--forest-700) 55%, var(--forest-800));
  box-shadow: 0 2px 0 rgba(255, 255, 255, .08) inset, 0 40px 70px -30px rgba(0, 0, 0, .75);
}
.clipboard__clip {
  position: absolute; top: -16px; left: 50%; translate: -50% 0; width: 150px; height: 46px; z-index: 2;
  border-radius: 14px 14px 8px 8px;
  background: linear-gradient(180deg, #f1f3ee 0%, #c9cfc6 55%, #9ea69c 100%);
  box-shadow: 0 6px 12px -4px rgba(0, 0, 0, .5), inset 0 1px 0 #fff;
}
.clipboard__clip::before {
  content: ""; position: absolute; left: 50%; top: 8px; translate: -50% 0; width: 34px; height: 14px; border-radius: 999px;
  background: var(--forest-800); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .6);
}
.clipboard__paper {
  position: relative; padding: 34px clamp(20px, 3vw, 34px) 26px; border-radius: 6px 6px 14px 14px;
  background: #fffdf6; color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 12px 24px -16px rgba(0, 0, 0, .5);
}
.clipboard__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 2px solid var(--paper-3); }
.clipboard__head .hand { font-size: 2.2rem; color: var(--forest-800); }
.clipboard__meta { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.clipboard__list { display: grid; }
.clipboard__list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 13px 0; border-bottom: 1px dashed rgba(15, 28, 20, .14); line-height: 1.45; }
.clipboard__list strong { font-weight: 650; }
.tick { width: 32px; height: 32px; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tick__box { stroke: var(--ink-2); stroke-width: 1.6; opacity: .7; }
.tick__mark { stroke: var(--lime-600); stroke-width: 3.4; }
.clipboard__sign { display: grid; justify-items: end; margin-top: 16px; }
.clipboard__sign .hand { font-size: 1.8rem; color: var(--green-ink); rotate: -3deg; }
.clipboard__sign svg { width: 150px; height: 18px; margin-top: -4px; fill: none; stroke: var(--lime-500); stroke-width: 2.6; stroke-linecap: round; }

@media (max-width: 900px) {
  .promise__grid { grid-template-columns: 1fr; }
  .clipboard { rotate: .8deg; }
}
@media (max-width: 480px) {
  .clipboard { padding: 26px 8px 8px; border-radius: 20px; }
  .clipboard__clip { width: 120px; height: 40px; }
  .clipboard__paper { padding: 30px 16px 20px; }
  .clipboard__list li { grid-template-columns: 28px 1fr; gap: 12px; font-size: .98rem; }
  .tick { width: 28px; height: 28px; }
  .clipboard__head .hand { font-size: 1.9rem; }
}

/* ---------- references on request ---------- */
.ondemand__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.ondemand__text { display: grid; gap: 20px; justify-items: start; }
.ondemand__text > p:not([class]) { max-width: 58ch; color: var(--ink-2); }
.ondemand__sketch { position: relative; width: 100%; max-width: 440px; justify-self: center; padding-bottom: 70px; }
.building-sketch { width: 100%; height: auto; overflow: visible; fill: none; stroke: var(--forest-700); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.building-sketch__clean { fill: var(--lime-300); stroke: var(--forest-700); }
.building-sketch__spark { fill: var(--lime-500); stroke: none; }
.js .building-sketch__clean, .js .building-sketch__spark { opacity: 0; }
.js .is-in .building-sketch__clean { opacity: 1; transition: opacity .6s var(--ease-out) 1.4s; }
.js .is-in .building-sketch__spark { opacity: 1; transition: opacity .5s var(--ease-out) 1.8s; }
@media (prefers-reduced-motion: no-preference) {
  .is-in .building-sketch__spark { transform-box: fill-box; transform-origin: center; animation: spark-pop 2.8s var(--ease-out) 2s infinite; }
}
@keyframes spark-pop { 0%, 70%, 100% { scale: 1; } 80% { scale: 1.35; } }
.ondemand__note { position: absolute; right: -6px; bottom: 0; max-width: 270px; font-size: 1.65rem; rotate: 3deg; }
@media (max-width: 900px) {
  .ondemand__grid { grid-template-columns: 1fr; }
  .ondemand__sketch { max-width: 380px; }
}
@media (max-width: 480px) {
  .ondemand__note { right: 0; max-width: 230px; font-size: 1.45rem; }
}

/* =========================================================================
   KARRIERE
   ========================================================================= */
.career-hero__note {
  position: absolute; right: clamp(230px, 20vw, 330px); top: calc(var(--header-h) + clamp(40px, 9vh, 96px));
  display: flex; align-items: flex-end; gap: 6px;
  font-size: clamp(1.5rem, 1.1rem + .8vw, 2rem); color: var(--lime-300); rotate: -4deg;
  text-shadow: 0 2px 14px rgba(3, 18, 10, .9), 0 0 4px rgba(3, 18, 10, .6); pointer-events: none;
  opacity: 0; animation: misc-rise .8s var(--ease-out) 1.8s forwards;
}
.career-hero__note svg { width: 76px; height: 42px; margin-bottom: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(3, 18, 10, .8)); }
@keyframes misc-rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 1100px) { .career-hero__note { display: none; } }

/* ---------- areas of work ---------- */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.area {
  position: relative; display: grid; align-content: start; gap: 12px; padding: 24px 22px 26px; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-1);
  transition: box-shadow .5s var(--ease-out), translate .5s var(--ease-out);
}
.area::after {                       /* a quick "wipe" shine on hover */
  content: ""; position: absolute; top: -20%; left: -40%; width: 30%; height: 140%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(124, 194, 46, .16), transparent);
  transform: skewX(-24deg); transition: left .9s var(--ease-out);
}
.area:not(.area--note):hover { translate: 0 -4px; box-shadow: var(--shadow-2); }
.area:not(.area--note):hover::after { left: 120%; }
.area:hover .badge-icon { animation: wiggle .6s var(--ease-out); }
.area .badge-icon { margin-bottom: 4px; }
.area__title { font-size: 1.24rem; font-weight: 700; hyphens: manual; }
.area p { font-size: .96rem; line-height: 1.5; color: var(--muted); }
.area--note {
  align-content: center; background: #fffdf4; rotate: -1.6deg; border-radius: 6px 18px 8px 16px;
  box-shadow: 0 18px 30px -18px rgba(3, 18, 10, .5);
}
.area--note::after { display: none; }
.area--note p.hand { font-size: 1.65rem; line-height: 1.12; color: var(--forest-800); }
.area--note svg { width: 62px; height: 42px; margin-left: auto; fill: none; stroke: var(--lime-600); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; rotate: 30deg; }
@media (max-width: 1080px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .areas { grid-template-columns: 1fr; gap: 12px; }
  .area { grid-template-columns: 48px 1fr; column-gap: 16px; row-gap: 4px; padding: 18px 18px 20px; }
  .area .badge-icon { grid-row: span 2; margin: 0; }
  .area--note { grid-template-columns: 1fr; padding: 22px; margin-top: 8px; }
}

/* ---------- what matters to us ---------- */
.cv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.cv {
  position: relative; padding: 26px 24px 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line-light);
  transition: background-color .35s, border-color .35s;
}
.cv:hover { background: rgba(124, 194, 46, .08); border-color: rgba(183, 224, 122, .35); }
.cv__no { display: block; margin-bottom: 14px; font-family: var(--font-hand); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--lime-400); }
.cv__title { font-size: 1.3rem; margin-bottom: 8px; }
.cv p { color: var(--on-dark-muted); font-size: .98rem; line-height: 1.55; }
.career-values__bar { margin-top: clamp(48px, 6vw, 80px); padding-top: 26px; border-top: 1px solid var(--line-light); }
.career-values__label { margin-bottom: 18px; font-size: 1.6rem; color: var(--lime-300); rotate: -1.5deg; }
@media (max-width: 1080px) { .cv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cv-grid { grid-template-columns: 1fr; } }

/* ---------- team polaroids + the empty frame ---------- */
.career-team .polaroids { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1160px; margin-inline: auto; gap: clamp(18px, 2.6vw, 40px); }
.career-team .polaroid:nth-child(4) { --tilt: 2.6deg; margin-top: 16px; }
.polaroid--empty { display: block; text-decoration: none; color: var(--ink); }
.polaroid--empty > span { display: block; }
.polaroid--empty .polaroid__photo {
  display: grid; place-items: center; position: relative;
  background: repeating-linear-gradient(-45deg, var(--paper) 0 12px, #f0ede3 12px 24px);
  outline: 2px dashed rgba(47, 116, 20, .45); outline-offset: -10px;
  transition: background-color .4s;
}
.polaroid--empty .polaroid__photo svg { width: 64%; height: auto; overflow: visible; fill: none; stroke: var(--green-ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.polaroid--empty .polaroid__plus { stroke: var(--lime-600); stroke-width: 4; }
.polaroid--empty .polaroid__name { color: var(--green-ink); }
.polaroid--empty .polaroid__role { color: var(--forest-800); }
.polaroid--empty:hover .polaroid__photo, .polaroid--empty:focus-visible .polaroid__photo { background: var(--lime-200); }
@media (prefers-reduced-motion: no-preference) {
  .polaroid--empty:hover .polaroid__plus { transform-box: fill-box; transform-origin: center; animation: plus-spin .7s var(--ease-spring); }
}
@keyframes plus-spin { from { rotate: -90deg; scale: .6; } }
@media (max-width: 980px) { .career-team .polaroids { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; } }
@media (max-width: 560px) {
  .career-team .polaroids { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 22px 14px; }
  .career-team .polaroid { padding: 8px 8px 12px; }
  .career-team .polaroid__name { font-size: 1.45rem; margin-top: 8px; }
  .career-team .polaroid__role { font-size: .82rem; }
  .career-team .polaroid__place { font-size: .78rem; line-height: 1.35; }
  .career-team .polaroid .tape { width: 64px; height: 20px; top: -9px; }
}

/* ---------- how to apply ---------- */
.apply__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.apply__text { display: grid; gap: 20px; justify-items: start; }
.apply-steps { display: grid; width: 100%; margin-top: 10px; counter-reset: apply; }
.apply-steps li {
  display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; row-gap: 4px;
  padding: 22px 0; border-top: 1px solid var(--line); counter-increment: apply;
}
.apply-steps li:last-child { border-bottom: 1px solid var(--line); }
.apply-steps li::before {
  content: counter(apply, decimal-leading-zero); grid-row: span 2;
  font-family: var(--font-hand); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--lime-600);
}
.apply-steps h3 { font-size: 1.25rem; }
.apply-steps p { color: var(--muted); }
.apply-steps a { color: var(--green-ink); font-weight: 600; }

.apply-card {
  position: relative; display: grid; gap: 18px; justify-items: start; margin-top: 12px;
  padding: 40px clamp(22px, 3vw, 38px) 30px; border-radius: 8px 22px 12px 20px;
  background: #fffdf6; box-shadow: var(--shadow-2); rotate: -1.2deg;
}
.apply-card .tape { left: 34%; }
.apply-card__title { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.apply-card__mail { font-family: var(--font-display); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.85rem); font-weight: 720; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.apply-card__mail a { text-decoration-color: var(--lime-500); text-decoration-thickness: 3px; text-underline-offset: .2em; }
.apply-card__mail a:hover { color: var(--green-ink); }
.apply-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.apply-card__checks { font-size: .98rem; }
.apply-card__phone { font-size: .95rem; color: var(--muted); }
.apply-card__phone a { color: var(--ink); font-weight: 650; }
.apply-card__hand { position: relative; justify-self: end; margin-top: 4px; font-size: clamp(2rem, 1.6rem + 1vw, 2.6rem); color: var(--green-ink); rotate: -4deg; }
.apply-card__hand svg { display: block; width: 210px; height: 38px; margin: 0 0 0 auto; fill: none; stroke: var(--lime-500); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) {
  .apply__grid { grid-template-columns: 1fr; }
  .apply-card { rotate: -.6deg; max-width: 560px; }
}
@media (max-width: 480px) {
  .apply-card__actions .btn { width: 100%; }
  .apply-steps li { grid-template-columns: 48px 1fr; column-gap: 12px; }
  .apply-steps li::before { font-size: 2.2rem; }
}

/* =========================================================================
   IMPRESSUM · DATENSCHUTZ
   ========================================================================= */
.page-hero--short { min-height: 0; padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px)); padding-bottom: clamp(44px, 5vw, 72px); }
.page-hero--short .page-hero__content { gap: 16px; }
.page-hero--short .h1 { overflow-wrap: break-word; hyphens: manual; }

.legal { padding-top: clamp(40px, 5vw, 72px); }
.legal .container--narrow { max-width: calc(800px + var(--gutter) * 2); }
.draft-note {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: clamp(28px, 4vw, 44px);
  padding: 14px 18px; border-radius: 12px; background: #fff6d8; border: 1.5px dashed #c8a23a; color: #4a3a05;
  font-size: .95rem; line-height: 1.5;
}
.draft-note .i { margin-top: 2px; color: #8a6a10; }
mark.todo {
  padding: .05em .35em; border-radius: 4px; background: #ffefb8; color: #4a3a05;
  box-shadow: inset 0 -2px 0 #e2bf4f; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.legal-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-1); margin-bottom: clamp(28px, 4vw, 44px); }
.legal-card__title { font-size: 1.35rem; margin-bottom: 16px; }
.legal-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 28px; margin: 0; }
.legal-dl dt { font-weight: 650; color: var(--ink-2); }
.legal-dl dd { margin: 0; }
.legal-dl a { color: var(--green-ink); }
.legal-dl--plain { padding: 18px 20px; margin-top: 1em; border-radius: 14px; background: var(--paper-2); }
.legal-dl--plain dt { max-width: 22ch; }
@media (max-width: 600px) {
  .legal-dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-dl dd + dt { margin-top: 12px; }
}

.legal .prose { max-width: none; }
.legal .prose h2 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal .prose > :first-child { margin-top: 0; }
.legal__stand { margin-top: 2.4em !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }

.legal-summary {
  position: relative; padding: clamp(22px, 3vw, 30px); margin-bottom: clamp(28px, 4vw, 40px);
  border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-1);
  border-left: 5px solid var(--lime-500);
}
.legal-summary__title { font-size: 1.3rem; margin-bottom: 16px; }
.legal-summary__title .hand { font-size: 1.6em; color: var(--green-ink); font-weight: 700; margin-right: .1em; }
.legal-summary .checks { gap: 12px; }

.legal-toc { margin-bottom: clamp(32px, 4vw, 48px); padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper-2); }
.legal-toc__title { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.legal-toc ol { columns: 2; column-gap: 32px; padding-left: 2em; }
.legal-toc li { break-inside: avoid; }
.legal-toc li::marker { color: var(--green-ink); font-weight: 700; }
.legal-toc a { color: var(--ink); text-decoration: none; display: inline-block; padding: 10px 0; line-height: 1.4; }
.legal-toc a:hover { color: var(--green-ink); text-decoration: underline; }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }

/* =========================================================================
   404 – the page got wiped away
   ========================================================================= */
.nf { min-height: max(680px, 100vh); min-height: max(680px, 100svh); display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; }
.nf__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.nf__copy { order: -1; display: grid; gap: 22px; justify-items: start; }
.nf__copy .lead { max-width: 52ch; }

.nf__stage { position: relative; display: grid; justify-self: center; align-self: center; padding: 30px 0 70px; }
.nf__digits {
  grid-area: 1 / 1; padding-right: .05em;
  font-family: var(--font-display); font-size: clamp(7.5rem, 3.6rem + 15vw, 17rem); font-weight: 800;
  line-height: .9; letter-spacing: -.06em; font-variation-settings: "opsz" 96;
  user-select: none;
}
.nf__digits--fog { color: rgba(214, 228, 208, .2); filter: blur(5px); text-shadow: 0 0 36px rgba(214, 228, 208, .3); }
.nf__digits--clean {
  color: #fff;
  background: linear-gradient(172deg, #ffffff 30%, var(--lime-200) 62%, var(--lime-400) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0);
  animation: nf-clean 2.6s var(--ease-in-out) .5s forwards;
}
.nf__wiper {
  position: absolute; top: 10px; left: 0; height: calc(100% - 70px); aspect-ratio: 200 / 280;
  translate: -83.5% 0; transform-origin: 83.5% 50%; opacity: 0; pointer-events: none;
  animation: nf-wiper 2.6s var(--ease-in-out) .5s forwards;
}
.nf__wiper svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45)); }
.nf__handle { fill: none; stroke: #eef3ea; stroke-width: 12; stroke-linecap: round; }
.nf__grip { fill: none; stroke: var(--lime-500); stroke-width: 15; stroke-linecap: round; }
.nf__holder { fill: var(--forest-700); stroke: #eef3ea; stroke-width: 2.4; stroke-linejoin: round; }
.nf__rubber { fill: none; stroke: var(--lime-400); stroke-width: 6; stroke-linecap: round; }
.nf__drop { fill: rgba(216, 239, 181, .85); }
.nf__drop { animation: nf-drip 1.4s ease-in 1.2s both; }
.nf__drop--2 { animation-delay: 2s; }
@keyframes nf-clean {
  0%, 10% { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); }
  90%, 100% { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); }
}
@keyframes nf-wiper {
  0% { left: 0%; opacity: 0; rotate: -10deg; }
  10% { left: 0%; opacity: 1; rotate: -4deg; }
  90% { left: 100%; opacity: 1; rotate: 3deg; }
  100% { left: 110%; opacity: 1; rotate: 12deg; }
}
@keyframes nf-drip { 0% { opacity: 0; translate: 0 0; } 20% { opacity: 1; } 100% { opacity: 0; translate: 0 34px; } }

.nf__glint { position: absolute; width: clamp(20px, 2.4vw, 34px); height: auto; aspect-ratio: 1; fill: #fff; filter: drop-shadow(0 0 8px rgba(183, 224, 122, .95)); opacity: 0; pointer-events: none; animation: nf-glint 1.3s var(--ease-out) both; }
.nf__glint--1 { left: 14%; top: 14%; animation-delay: 1.35s; }
.nf__glint--2 { left: 55%; top: 48%; width: clamp(14px, 1.6vw, 22px); animation-delay: 2.05s; }
.nf__glint--3 { left: 82%; top: 8%; animation-delay: 2.7s; }
@keyframes nf-glint { 0% { opacity: 0; scale: 0; rotate: -60deg; } 45% { opacity: 1; scale: 1.2; } 100% { opacity: .9; scale: .75; rotate: 30deg; } }

.nf__hand {
  position: absolute; right: 0; bottom: 4px; font-size: clamp(1.45rem, 1.2rem + .6vw, 1.9rem); color: var(--lime-300); rotate: -4deg; text-align: right;
  animation: misc-rise .8s var(--ease-out) 3.1s both;
}

.nf__links { display: grid; gap: 10px; width: 100%; max-width: 540px; }
.nf-link {
  display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 12px 18px 12px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-light); color: var(--on-dark); text-decoration: none;
  transition: background-color .3s, border-color .3s, translate .45s var(--ease-spring);
}
.nf-link:hover { background: rgba(124, 194, 46, .1); border-color: rgba(183, 224, 122, .4); translate: 4px 0; }
.nf-link .badge-icon { box-shadow: none; }
.nf-link__text { display: grid; gap: 2px; min-width: 0; }
.nf-link__text strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 680; letter-spacing: -.01em; }
.nf-link__text small { font-size: .93rem; color: var(--on-dark-muted); line-height: 1.35; }
.nf-link__arrow { margin-left: auto; color: var(--lime-400); transition: translate .35s var(--ease-spring); }
.nf-link:hover .nf-link__arrow { translate: 4px 0; }
.nf__call { font-size: .98rem; color: var(--on-dark-muted); }
.nf__call a { color: #fff; font-weight: 650; text-decoration-color: var(--lime-500); text-decoration-thickness: 2px; }

@media (max-width: 900px) {
  .nf { min-height: 0; align-items: flex-start; }
  .nf__grid { grid-template-columns: 1fr; gap: 12px; }
  .nf__copy { order: 0; }
  .nf__stage { padding: 0 0 64px; }
}

/* reduced motion: main.css shortens durations – also drop the choreography delays so nothing pops in late */
@media (prefers-reduced-motion: reduce) {
  .nf__stage *, .career-hero__note, .obj__tag, .building-sketch__clean, .building-sketch__spark { animation-delay: 0s !important; transition-delay: 0s !important; }
}

/* review fixes: keep the person's head in the Karriere hero; hide the baked-in green fade/stripe on reference cards */
.page-career .page-hero__media img { object-position: 82% 18%; }
.obj__media img { object-position: 100% 40%; transform: scale(1.32); transform-origin: right center; }
