/* exsos Landingpage Bewerber Polen
   Gestaltung angelehnt an exsos.com und das exsos Identitets- og designmanual:
   - Überschriften und Bedienelemente Sharp Sans No1 (Book und Bold), Fließtext Adobe Caslon Pro
   - Tan als heller Grund, große Flächen in Flat Green und Dark Green, Text darauf in Tan
   - eckige Buttons, eng gesetzte Überschriften, schräge Abschnittskanten
   - Icons weiß in Flat-Green-Kreisen
   Schriften lokal ausgeliefert (DSGVO), Untermenge Latin + Latin Extended-A (Polnisch). */

@font-face {
  font-family: 'Sharp Sans';
  src: url('/assets/fonts/sharpsans-book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sharp Sans';
  src: url('/assets/fonts/sharpsans-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Caslon';
  src: url('/assets/fonts/caslon-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Caslon';
  src: url('/assets/fonts/caslon-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Caslon';
  src: url('/assets/fonts/caslon-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --dark: #00302f;
  --darker: #031d1c; /* Fußleiste wie auf exsos.com */
  --flat: #0f9f7e;
  --flat-hover: #0b8669;
  --light-green: #aac9ab;
  --sand: #f8f7ec;
  --tan: #f2e4d2;
  --white: #ffffff;
  --text: #00302f;
  --muted: #2f5150;
  --line: rgba(0, 48, 47, 0.16);
  --error: #b3261e;

  --font: 'Sharp Sans', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Caslon', Georgia, 'Times New Roman', serif;
  --surface: var(--sand); /* Karten und Formular auf Tan */
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --slant: clamp(28px, 5vw, 72px); /* Höhe der schrägen Kante */
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px; /* Höhe des festen Headers plus Luft */
}

body {
  margin: 0;
  background: var(--tan);
  color: var(--text);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px; /* wie exsos.com: Caslon 19 px */
  line-height: 1.45;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

h1,
h2,
h3,
.btn,
.lang-switch,
.chips,
.hero-sub,
.tile-label,
.after,
.since,
.step-list .num,
.points li::before,
.apply-form,
.site-footer,
.sticky-cta {
  font-family: var(--font);
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(30px, 1.1rem + 2.6vw, 50px); /* exsos.com 55 px, unsere H1 ist länger */
}
h2 {
  font-size: clamp(28px, 1.2rem + 1.8vw, 44px);
}
h3 {
  font-size: clamp(18px, 1rem + 0.3vw, 21px);
  line-height: 1.15;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: inherit;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
/* schmale Spalte, aber linksbündig mit den anderen Abschnitten */
.wrap.narrow > * {
  max-width: 820px;
}

.section {
  padding: var(--section) 0;
}

.intro {
  font-size: 1.05em;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2em;
}

/* Abschnitt mit schräger Oberkante wie auf exsos.com: links tiefer, rechts höher */
.slant {
  position: relative;
  margin-top: calc(var(--slant) * -1);
  padding-top: calc(var(--section) + var(--slant));
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 56px;
  padding: 0.85em 1.7em;
  border: 2px solid transparent;
  border-radius: 0;
  font: 700 1em/1.2 var(--font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn-primary {
  background: var(--flat);
  color: var(--tan);
}
.btn-primary:hover {
  background: var(--flat-hover);
}
.btn-primary:active {
  transform: translateY(1px);
}
.btn-primary[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.btn-dark {
  background: var(--dark);
  color: var(--tan);
}
.btn-dark:hover {
  background: var(--darker);
}
.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: rgba(0, 48, 47, 0.35);
}
.btn-ghost:hover {
  border-color: var(--dark);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--tan);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img {
  width: clamp(140px, 14vw, 180px);
  height: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
}
.btn-header {
  min-height: 46px;
  padding: 0.6em 1.3em;
  font-size: 0.9em;
}
/* Sprachumschalter: nur Icon und Sprache, ohne Rahmen */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.9em;
  text-decoration: none;
  color: var(--dark);
  line-height: 1;
  padding: 0.4em 0;
}
.lang-switch svg {
  flex: none;
  display: block;
}
/* Textbox auf Versalhöhe bis Grundlinie zuschneiden: Sharp Sans hat eine hohe Oberlänge,
   sonst sitzt das Wort sichtbar über der Mitte des Icons */
.lang-switch span {
  display: block;
  line-height: 1;
  text-box: trim-both cap alphabetic;
}
@supports not (text-box: trim-both cap alphabetic) {
  .lang-switch span {
    transform: translateY(0.08em);
  }
}
.lang-switch:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Handy: Platz reicht nicht für Logo, Button und Sprache; dort gibt es den festen Button unten */
@media (max-width: 640px) {
  .btn-header {
    display: none;
  }
}

/* ---------- Hero: klares Bild mit schräger Unterkante, Textblock sitzt auf der Kante ---------- */

.hero {
  position: relative;
  background: var(--dark);
  color: var(--tan);
}
.hero picture {
  display: block;
}
.hero-img {
  width: 100%;
  height: clamp(300px, 52vw, 640px);
  object-fit: cover;
  object-position: 60% 55%;
  /* gleiche Schräge wie bei den Abschnitten: links tiefer, rechts höher */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
.hero-panel {
  position: relative;
  margin-top: clamp(-220px, -14vw, -64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.hero-box {
  position: relative;
  max-width: 720px;
  padding: clamp(28px, 4vw, 52px);
  background: var(--flat);
  color: var(--tan);
}
.hero h1 {
  color: var(--tan);
  max-width: 17ch;
}
.hero-sub {
  font-size: clamp(18px, 1rem + 0.4vw, 22px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--dark);
  max-width: 34ch;
  margin-bottom: 1.4em;
}

/* Die vier Fakten: schlichte Zeile unter dem Block, ohne Kästen */
.chips {
  list-style: none;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0 clamp(28px, 4vw, 52px); /* gleiche Einrückung wie der Text im grünen Block */
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 14px 48px;
}
.chips li {
  display: flex;
  align-items: flex-start;
  gap: 0.55em;
  font-size: 0.95em;
  font-weight: 700;
  line-height: 1.25;
}
/* Punkt auf Höhe der ersten Zeile, nicht mittig zum ganzen Eintrag */
.chips li::before {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: calc((1.25em - 9px) / 2);
  border-radius: 50%;
  background: var(--flat);
}
.nowrap {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 32px;
    font-size: 0.86em;
  }
}
/* sehr schmale Handys: Einrückung zurücknehmen, damit der Betrag in seiner Spalte bleibt */
@media (max-width: 360px) {
  .chips {
    padding: 0 12px;
    gap: 14px 24px;
  }
}

/* ---------- Vier Fragen: nur Text, wie die Textblöcke auf exsos.com ---------- */

.cards {
  display: grid;
  gap: clamp(16px, 2vw, 24px) clamp(32px, 5vw, 72px);
}
/* Zwei Spalten, die von oben nach unten laufen: kurze Karten lassen so keine Lücke neben
   langen Karten (Dirk, LEA-79). In der Quelle bleibt die Reihenfolge erhalten. */
@media (min-width: 760px) {
  .cards {
    display: block;
    columns: 2;
    column-gap: clamp(32px, 5vw, 72px);
  }
  .cards > .card {
    break-inside: avoid;
    margin-bottom: clamp(20px, 2.5vw, 32px);
  }
}
.card h3 {
  color: var(--flat);
}
.card p {
  margin: 0;
}

/* ---------- Berufe: wie exsos.com/de/jobs – Flat Green, dunkle Kreise, Icons in Tan ---------- */

.jobs {
  background: var(--flat);
  color: var(--tan);
}
.jobs h2 {
  color: var(--tan);
}
.jobs .intro {
  color: var(--tan);
}
.tiles {
  list-style: none;
  margin: 0 0 2.5em;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 16px;
}
@media (min-width: 760px) {
  .tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px 24px;
  }
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.tile-icon {
  display: grid;
  place-items: center;
  width: clamp(104px, 12vw, 140px);
  height: clamp(104px, 12vw, 140px);
  border-radius: 50%;
  background: var(--dark);
  color: var(--tan);
}
.tile-icon svg {
  width: 56%;
  height: 56%;
  stroke-width: 1.6;
}
.tile-label {
  font-weight: 700;
  font-size: 1em;
  line-height: 1.25;
  hyphens: auto;
}
.after {
  max-width: 52ch;
  font-weight: 700;
  margin: 0;
}
/* Team-Bewerbung (LEA-120): Gewerke, die exsos nur als ganzes Team sucht */
.team-block {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 2px solid rgba(242, 228, 210, 0.35);
}
.team-block h3 {
  color: var(--tan);
  font-size: clamp(1.4em, 3vw, 1.8em);
  margin: 0 0 0.5em;
}
.team-block p {
  max-width: 60ch;
  margin: 0 0 2em;
}
.tiles-team {
  margin-bottom: 2em;
}
/* Teamgröße im Formular nur zeigen, wenn eine Team-Option angehakt ist */
.field.team-size {
  display: none;
  margin: 24px 0 0;
}
.apply-form:has(input[value$='_team']:checked) .field.team-size {
  display: block;
}
/* Zwischenzeile „Oder als Team:“ im Formular: eigener Abstand, sonst zieht
   .step > .hint (margin-top -10px, steht weiter unten) sie über die Trennlinie der Antwort darüber.
   Deshalb höhere Spezifität, die Reihenfolge allein reicht nicht. */
.step > .hint.hint-team {
  margin: 28px 0 12px;
  font-family: var(--font);
  font-size: 1em;
  font-weight: 700;
  color: var(--text);
}

/* ---------- Über exsos ---------- */

.about-grid {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}
.about-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-text p {
  max-width: 44ch;
}
.about-text .since {
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.1;
  color: var(--flat);
}
.video {
  margin-top: clamp(32px, 5vw, 56px);
}
.video video {
  width: 100%;
  background: var(--dark);
}

/* ---------- Wo ist der Haken: ruhige Liste auf Flat Green ---------- */

.catch {
  background: var(--flat);
  color: var(--tan);
}
.catch h2,
.catch h3,
.catch .intro {
  color: var(--tan);
}
.points {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: p;
}
.points li {
  counter-increment: p;
  position: relative;
  padding: 28px 0 24px 72px;
  border-top: 1px solid rgba(242, 228, 210, 0.35);
}
.points li:last-child {
  border-bottom: 1px solid rgba(242, 228, 210, 0.35);
}
.points li::before {
  content: counter(p, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 26px;
  font-weight: 700;
  font-size: 1.35em;
  line-height: 1;
  color: var(--dark);
}
.points p {
  margin: 0;
}

/* ---------- Bildband zwischen Haken und Ablauf (Parallax) ---------- */

.photo-band {
  height: clamp(260px, 38vw, 520px);
  background: var(--dark) url('/assets/img/band-holzrohbau.jpg') center / cover no-repeat;
}
/* Parallax nur auf Geräten mit Maus: iOS und viele Android-Browser ignorieren
   background-attachment: fixed oder skalieren das Bild dabei unscharf */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .photo-band {
    background-attachment: fixed;
  }
}

/* ---------- Ablauf (Dark Green) ---------- */

.steps {
  background: var(--dark);
  color: var(--tan);
}
.steps h2 {
  color: var(--tan);
}
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 32px;
}
@media (min-width: 760px) {
  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .step-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.step-list li {
  border-top: 2px solid rgba(242, 228, 210, 0.3);
  padding-top: 20px;
}
.step-list .num {
  display: block;
  font-size: clamp(52px, 2.6rem + 2vw, 76px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--flat);
  margin-bottom: 14px;
}
.step-list h3 {
  color: var(--tan);
}
.step-list p {
  margin: 0;
  color: rgba(242, 228, 210, 0.85);
}

/* ---------- Formular: ohne Kasten, ruhig wie eine Liste ---------- */

.apply-form {
  position: relative;
}
.progress {
  display: none;
  height: 4px;
  background: rgba(0, 48, 47, 0.12);
  margin-bottom: 32px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--flat);
  transition: width 0.3s ease;
}
.is-stepped .progress {
  display: block;
}

.step {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.apply-form:not(.is-stepped) .step + .step {
  margin-top: 48px;
}
.apply-form:not(.is-stepped) .step-nav {
  display: none;
}
.apply-form:not(.is-stepped) .step:last-child .step-nav {
  display: flex;
}
.apply-form:not(.is-stepped) .step:last-child [data-back] {
  display: none;
}
.step legend {
  padding: 0;
  margin-bottom: 20px;
  outline: none;
}
.step-count {
  margin: 0 0 8px;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--flat);
}
.step .q {
  display: block;
  font-size: clamp(20px, 1.1rem + 0.5vw, 26px);
  font-weight: 700;
  line-height: 1.08;
}
.hint {
  font-size: 0.88em;
  color: var(--muted);
  margin: 6px 0 0;
}
.step > .hint {
  margin: -10px 0 16px;
}

/* Antworten als Liste mit Trennlinien, kein Kasten je Antwort */
.options {
  display: grid;
  column-gap: 40px;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) {
  .options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.option {
  position: relative;
  display: block;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}
.option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.option span {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 12px 0;
  font-weight: 400;
  line-height: 1.3;
}
.option span::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(0, 48, 47, 0.45);
  transition: border-color 0.12s, box-shadow 0.12s, background-color 0.12s;
}
.option:hover span::before {
  border-color: var(--flat);
}
.option input:checked + span {
  font-weight: 700;
}
.option input:checked + span::before {
  border-color: var(--flat);
  background: var(--flat);
  box-shadow: inset 0 0 0 4px var(--tan);
}
.option input:focus-visible + span {
  outline: 3px solid var(--flat);
  outline-offset: 2px;
}
/* Mehrfachauswahl: eckiges Kästchen statt Kreis */
.option-check span::before {
  border-radius: 4px;
}
.option-check input:checked + span::before {
  box-shadow: inset 0 0 0 3px var(--tan);
}
/* Zusatz-Häkchen unter einer Frage und beim Telefon */
.extra-check {
  margin: 20px 0 0;
}
.check-small {
  margin-top: 12px;
  font-size: 0.9em;
}
.field input[type='file'][multiple] {
  margin-top: 0;
}

/* Anrufzeit: drei Antworten nebeneinander */
.options-inline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 16px;
  border-top: 0;
}
.options-inline .option {
  border-bottom: 2px solid var(--line);
}

.step-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}
.step-nav .btn-primary {
  margin-left: auto;
}
.btn-submit {
  flex: 1 1 auto;
  max-width: 480px;
}

.field {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.field > label,
.field > legend {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  padding: 0;
}
.opt {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.9em;
}
/* Eingabefelder nur mit Unterstrich */
.field input[type='text'],
.field input[type='tel'],
.field input[type='email'] {
  width: 100%;
  min-height: 52px;
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid rgba(0, 48, 47, 0.35);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font: 400 1.05em/1.3 var(--font);
}
.field input:focus {
  outline: none;
  border-bottom-color: var(--flat);
}
.field input[aria-invalid='true'] {
  border-bottom-color: var(--error);
}
.field input[type='file'] {
  width: 100%;
  padding: 10px 0;
  font: 400 0.95em var(--font);
}
.field input[type='file']::file-selector-button {
  margin-right: 14px;
  padding: 10px 18px;
  border: 0;
  background: var(--dark);
  color: var(--tan);
  font: 700 0.9em var(--font);
  cursor: pointer;
}

.check,
.field > label.check {
  display: flex;
  font-weight: 400;
  margin-bottom: 0;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92em;
  line-height: 1.45;
  cursor: pointer;
}
.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--flat);
}
.check a {
  color: var(--flat-hover);
}

.error {
  color: var(--error);
  font-size: 0.9em;
  font-weight: 700;
  margin: 10px 0 0;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Danke / Absage / Rechtliches ---------- */

.message-main,
.legal-main {
  padding: clamp(48px, 10vw, 120px) 0;
  min-height: 55vh;
}
.message-main p {
  font-size: 1.05em;
  max-width: 46ch;
}
.message-main .btn {
  margin-top: 1em;
}
.prose h1 {
  font-size: clamp(28px, 1.4rem + 1.4vw, 40px);
  hyphens: auto;
  overflow-wrap: break-word;
}
.prose h2 {
  font-size: 1.2em;
  line-height: 1.2;
  margin-top: 2em;
}

/* ---------- Footer (wie exsos.com: Dark Green mit großem Icon, dunkle Fußleiste) ---------- */

.site-footer {
  background: var(--dark);
  color: var(--tan);
  font-size: 0.95em;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(40px, 6vw, 64px);
}
.footer-logo {
  width: clamp(96px, 10vw, 128px);
  height: auto;
}
.site-footer address {
  font-style: normal;
  line-height: 1.5;
}
.site-footer address strong {
  font-weight: 700;
}
.footer-bottom {
  background: var(--darker);
  font-size: 0.85rem;
  color: rgba(242, 228, 210, 0.75);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  text-align: left;
}
.footer-bottom-inner p {
  margin: 0;
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.footer-bottom a {
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.credit {
  font-size: 0.82rem;
  opacity: 0.85;
}
@media (max-width: 640px) {
  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
}

/* ---------- Sticky-Button (Handy) ---------- */

.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  background: var(--flat);
  color: var(--tan);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(0, 48, 47, 0.55);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.sticky-cta.is-hidden {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}
@media (max-width: 899px) {
  .home .footer-bottom {
    padding-bottom: 76px;
  }
}

/* ---------- Nach oben (wie exsos.com: weißer Kreis mit Pfeil) ---------- */

.to-top {
  position: fixed;
  right: 50px;
  bottom: 50px;
  z-index: 19;
  display: grid;
  place-items: center;
  width: 59px;
  height: 59px;
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  /* auf hellem Grund sonst kaum sichtbar */
  filter: drop-shadow(0 0 1.5px rgba(0, 48, 47, 0.45));
  transition: opacity 0.25s ease, transform 0.15s ease;
}
.to-top:hover {
  transform: translateY(-2px);
}
.to-top.is-hidden {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 899px) {
  .to-top {
    right: 16px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }
  .to-top svg {
    width: 21px;
    height: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* ---------- Hinweis Meta-Pixel (nur sichtbar, wenn META_PIXEL_ID gesetzt ist) ---------- */

.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px;
  background: var(--sand);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0, 48, 47, 0.18);
  font-family: var(--font);
  font-size: 0.95rem;
  line-height: 1.45;
}
.consent-banner p {
  margin: 0 0 16px;
}
.consent-banner a {
  color: inherit;
}
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.consent-actions .btn {
  flex: 1 1 140px;
}

.team-size input[type='text'] {
  max-width: 120px;
}
