/* GHP-Designsystem v2.0: lizenzierte Webfonts (nur GHP-Websites, nur per @font-face). */
@font-face {
  font-family: "TT Ramillas";
  src: url("../fonts/tt_ramillas_regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "TT Ramillas";
  src: url("../fonts/tt_ramillas_medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Metro Sans";
  src: url("../fonts/metrosans_regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Metro Sans";
  src: url("../fonts/metrosans_medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Metro Sans";
  src: url("../fonts/metrosans_semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Metro Sans";
  src: url("../fonts/metrosans_bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --font-display: "TT Ramillas", Georgia, serif;
  --font-body: "Metro Sans", "Helvetica Neue", Arial, sans-serif;
  --teal: #01545c;
  --teal-dark: #00383e;
  --teal-deep: #001f24;
  --lime: #daf80a;
  --lime-soft: #ecff78;
  --cream: #f9fed6;
  --paper: #fffef9;
  --ink: #111716;
  --muted: #5f6e6d;
  --line: rgba(1, 84, 92, 0.16);
  --shadow: 0 18px 52px rgba(0, 41, 46, 0.11);
  --radius: 24px;
  --container: 1180px;
  --section-space: clamp(4rem, 7.5vw, 6.75rem);
}

/* Designsystem: alle Überschriften (auch Karten-Titel) in TT Ramillas Medium.
   :where() hält die Spezifität bei null, damit Komponenten wie die Footer-Labels ihre Schrift behalten. */
:where(h3, h4) {
  font-family: var(--font-display);
  font-weight: 500;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.975rem + 0.12vw, 1.0625rem);
  line-height: 1.68;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

main,
section,
article,
aside,
nav,
div {
  min-width: 0;
}

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

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

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

p {
  margin-bottom: 1.1em;
}

li + li {
  margin-top: 0.28em;
}

h1,
h2,
.serif {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.75rem, 1.7rem + 4.5vw, 5.65rem);
  line-height: 1.01;
  -webkit-hyphens: manual;
  hyphens: manual;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 1.55rem + 2.25vw, 3.5rem);
  line-height: 1.07;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.16rem, 1.08rem + 0.4vw, 1.38rem);
  line-height: 1.3;
  text-wrap: balance;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

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

.narrow {
  width: min(calc(100% - 3rem), 790px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  padding: 0.8rem 1.2rem;
  font-weight: 700;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.2rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: #fff;
  transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease, min-height 220ms ease;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: transparent;
  content: "";
}

.site-header.is-scrolled {
  background: rgba(255, 254, 249, 0.96);
  box-shadow: 0 8px 28px rgba(0, 31, 36, 0.09);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled::after {
  background: var(--line);
}

.header-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: min-height 220ms ease;
}

.is-scrolled .header-inner {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 28%;
  filter: drop-shadow(0 7px 14px rgba(0, 24, 28, 0.2));
}

.brand-logo {
  display: block;
  width: 140px;
  height: auto;
  transition: width 220ms ease;
}

.brand-logo--dark,
.is-scrolled .brand-logo--light {
  display: none;
}

.is-scrolled .brand-logo--dark {
  display: block;
}

.is-scrolled .brand-logo {
  width: 112px;
}

.footer-logo {
  display: block;
  width: 160px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1vw, 1.1rem);
}

.main-nav a {
  position: relative;
  padding-block: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 50%;
  height: 2px;
  background: var(--lime);
  content: "";
  transition: right 180ms ease, left 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  right: 0;
  left: 0;
}

.nav-cta {
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  padding: 0.74rem 1.1rem !important;
  box-shadow: 0 8px 20px rgba(218, 248, 10, 0.2);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-caret {
  display: inline-block;
  margin-left: 0.4em;
}

.nav-caret::after {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.75;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 110;
  min-width: 250px;
  padding-top: 0.65rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-item.has-children:hover .nav-dropdown,
.nav-item.has-children:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown ul {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  border-radius: 16px;
  background: var(--paper);
  padding: 0.5rem;
  list-style: none;
  box-shadow: 0 20px 44px rgba(0, 41, 46, 0.16);
}

.nav-dropdown a {
  display: block;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: normal;
}

.nav-dropdown a::after {
  content: none;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: rgba(1, 84, 92, 0.08);
}

.nav-dropdown-group {
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.35rem;
  padding-bottom: 0.35rem;
}

.nav-dropdown-group ul {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-dropdown-group ul a {
  padding-left: 1.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.85;
}

.nav-dropdown-group--collapsible details {
  margin: 0;
}

.nav-dropdown-group-label {
  display: block;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: normal;
}

.nav-dropdown-item--pending {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  color: var(--ink);
  opacity: 0.45;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: normal;
  cursor: default;
}

.nav-dropdown-group--collapsible summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.nav-dropdown-group--collapsible summary:hover {
  background: rgba(1, 84, 92, 0.08);
}

.nav-dropdown-group--collapsible summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-group--collapsible summary::after {
  color: var(--teal);
  content: "+";
  font-size: 1.1rem;
  font-weight: 400;
}

.nav-dropdown-group--collapsible details[open] summary::after {
  content: "–";
}

.nav-dropdown-item--pending small {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.menu-toggle,
.mobile-panel {
  display: none;
}

.page-hero {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: clamp(620px, 78svh, 740px);
  overflow: hidden;
  align-items: end;
  background: var(--teal-deep);
  color: #fff;
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--hero-image, url("../images/ghp-team-2026.webp"));
  background-position: var(--hero-position, center 34%);
  background-size: cover;
  content: "";
  transform: scale(1.035);
  animation: hero-drift 16s ease-out both;
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 22, 26, 0.96) 0%, rgba(0, 35, 39, 0.82) 43%, rgba(0, 35, 39, 0.28) 75%, rgba(0, 35, 39, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 20, 23, 0.74) 0%, transparent 48%);
  content: "";
}

.hero-content {
  min-width: 0;
  padding-top: 10.25rem;
  padding-bottom: clamp(4rem, 7vw, 6.25rem);
}

.page-hero .eyebrow {
  color: var(--lime);
}

.page-hero h1 em {
  color: var(--lime);
  font-style: normal;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 0.96rem + 0.45vw, 1.24rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button--lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(218, 248, 10, 0.22);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.54);
  color: #fff;
}

.button--teal {
  background: var(--teal);
  color: #fff;
}

.button--outline {
  border-color: var(--teal);
  color: var(--teal);
}

.button svg {
  width: 1.1rem;
  height: 1.1rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  margin: 0 0 1.55rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.83rem;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 0.7rem;
  color: var(--lime);
  content: "/";
}

.breadcrumbs a {
  color: inherit;
}

.section {
  padding-block: var(--section-space);
}

/* Zwei gleichfarbige Abschnitte hintereinander: Innenabstände würden sich sonst auf ~190–250px addieren.
   Der zweite verzichtet auf den oberen Abstand, sichtbar bleibt ein normaler Abschnittsabstand. */
.section:not(.section--cream, .section--dark, .section--teal, .section--lime) + .section:not(.section--cream, .section--dark, .section--teal, .section--lime),
.section--cream + .section--cream,
.section--dark + .section--dark,
.section--teal + .section--teal {
  padding-top: 0;
}

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

.section--teal {
  background: var(--teal);
  color: #fff;
}

.section--dark {
  background: var(--teal);
  color: #fff;
}

.section--lime {
  background: var(--lime);
}

.section--teal .eyebrow,
.section--dark .eyebrow {
  color: var(--lime);
}

.section-intro {
  max-width: 770px;
  margin: 0 auto clamp(2.25rem, 4vw, 3.5rem);
  text-align: center;
}

.section-intro h2 {
  margin-inline: auto;
}

.section-intro > p:last-child {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.section--teal .section-intro > p:last-child,
.section--dark .section-intro > p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.grid-2 {
  display: grid;
  align-items: center;
  gap: clamp(2.25rem, 5vw, 4.75rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Vier Karten als 2 × 2 statt 3 + 1; die mobilen .grid-3-Regeln weiter unten greifen weiterhin. */
.cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 1.5rem;
}

.grid-4 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.story-copy h2 {
  max-width: 13ch;
}

.story-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.image-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 650ms ease;
}

.image-card figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  border-radius: 14px;
  background: rgba(0, 31, 36, 0.86);
  color: #fff;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  backdrop-filter: blur(8px);
}

.cards > article,
.service-card,
.person-card,
.fact-card,
.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 41, 46, 0.07);
}

.service-card,
.fact-card,
.article-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
}

.card-number {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.85rem;
  border-radius: 50%;
  background: var(--lime);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 700;
  place-items: center;
}

.service-card p,
.fact-card p,
.article-card p {
  color: var(--muted);
}

/* Weiße Karten behalten dunkle Schrift, auch in dunklen Abschnitten (section--dark erbt sonst #fff). */
.cards > article,
.service-card,
.fact-card,
.article-card {
  color: var(--ink);
}

.service-card .text-link,
.article-card .text-link {
  margin-top: auto;
  padding-top: 1.2rem;
}

/* Hervorgehobenes Thema je Säulen-Kachel auf der Startseite: in einer Zeile mit dem Übersichts-Link */
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: auto;
  padding-top: 1.2rem;
}

.service-card .card-foot .text-link {
  display: inline;
  margin-top: 0;
  padding-top: 0;
}

.card-foot .text-link::after {
  margin-left: 0.5rem;
}

.card-highlight {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  gap: 0.05rem;
  max-width: 60%;
  padding: 0.4rem 0.8rem;
  border-left: 3px solid var(--lime);
  border-radius: 8px;
  background: rgba(218, 248, 10, 0.12);
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 220ms ease;
}

.card-highlight small {
  color: rgba(1, 84, 92, 0.7);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-highlight span::after {
  content: " →";
}

.card-highlight:hover {
  background: rgba(218, 248, 10, 0.28);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  font-size: 0.93rem;
  font-weight: 700;
}

.text-link::after {
  content: "→";
}


.trust-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.team-photo {
  overflow: hidden;
  min-height: 500px;
  border-radius: var(--radius);
  background: var(--teal-dark);
}

.team-photo img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.trust-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(2rem, 5vw, 4.5rem);
  box-shadow: var(--shadow);
}

.trust-copy h2 {
  max-width: 10ch;
}

.trust-copy strong {
  color: var(--teal);
}

.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  left: 1.3rem;
  width: 2px;
  background: rgba(1, 84, 92, 0.24);
  content: "";
}

.timeline li {
  position: relative;
  display: grid;
  min-height: 7.2rem;
  padding: 0 0 1.2rem 5.2rem;
  align-content: start;
}

.timeline-marker {
  position: absolute;
  top: 0.2rem;
  left: 0;
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  border: 6px solid var(--paper);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px rgba(1, 84, 92, 0.18);
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 700;
  place-items: center;
}

.section--cream .timeline-marker {
  border-color: var(--cream);
}

.timeline h3 {
  margin-bottom: 0.25rem;
}

.timeline p {
  color: var(--muted);
}

.journey-wrap {
  position: relative;
  z-index: 5;
  margin-top: -2.4rem;
}

.journey {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(1, 84, 92, 0.14);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.journey > a {
  display: flex;
  min-height: 126px;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  text-decoration: none;
}

.journey > a + a {
  border-left: 1px solid var(--line);
}

.journey b {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cream);
  color: var(--teal);
  font-size: 0.72rem;
  place-items: center;
}

.journey span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journey strong {
  display: block;
  margin-top: 0.2rem;
  line-height: 1.25;
}

.journey-mobile {
  display: none;
}

.focus-band {
  position: relative;
  overflow: hidden;
}

.focus-band .grid-2 {
  position: relative;
  z-index: 1;
}

.statement {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.55rem + 2.5vw, 3.75rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.statement em {
  color: var(--lime);
  font-style: normal;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 2rem;
}

.check-list li::before {
  position: absolute;
  top: 0.45rem;
  left: 0;
  color: var(--lime);
  content: "✓";
  font-weight: 700;
}

.offer-card {
  display: grid;
  align-items: center;
  gap: 2rem;
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow);
  grid-template-columns: 1.4fr 0.6fr;
}

/* Abstand, wenn ein Inhaltsblock direkt vor der Angebotsbox im selben Abschnitt steht (Startseite: KI-Vorteile). */
.container + .offer-card {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.offer-price {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}

.offer-price strong {
  display: block;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

/* Weiß statt Petrol: Die Fußzeile ist Petrol (nie zwei dunkle Abschnitte aufeinander), und davor steht meist
   der Softlime-Abschnitt „Nächster Schritt“. Die feine Linie trennt, falls der Abschnitt davor ebenfalls hell ist. */
.cta-band {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--teal);
  padding-block: clamp(3.25rem, 6vw, 5.25rem);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2rem, 1.55rem + 2.3vw, 3.45rem);
}

/* Lime als Schrift wäre auf Softlime unlesbar: Hervorhebung als Lime-Unterstreichung (Marker). */
.cta-band h2 em {
  background: linear-gradient(transparent 68%, var(--lime) 68%, var(--lime) 92%, transparent 92%);
  color: inherit;
  font-style: normal;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.site-footer {
  background: var(--teal);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.75rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
}

.site-footer .brand {
  color: #fff;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-contact {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 1.35rem;
}

.footer-meta {
  display: flex;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

.people-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.person-card {
  overflow: hidden;
}

.person-card img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  object-position: center top;
}

.person-card__body {
  padding: 1.35rem;
}

.person-card__body p {
  color: var(--muted);
  font-size: 0.93rem;
}

.team-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.team-jump a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--teal);
  padding: 0.62rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.team-payroll .section-intro {
  color: #fff;
}

.team-payroll .section-intro > p:last-child {
  color: rgba(255, 255, 255, 0.76);
}

.team-lead-callout {
  display: grid;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: 2rem;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--teal);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
}

/* Softlime-Box im Petrol-Abschnitt: Petrol-Schrift statt der hellen Schrift des Abschnitts. */
.team-lead-callout .eyebrow {
  color: var(--teal);
}

.team-lead-callout h3 {
  margin: 0;
  color: var(--teal);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 500;
}

.team-lead-callout > p {
  margin: 0;
  color: var(--teal);
  line-height: 1.7;
}

/* Variante mit Porträt: Foto links, Name, Funktion und Text rechts. */

.team-lead-callout--photo {
  grid-template-columns: minmax(200px, 0.55fr) minmax(0, 1.45fr);
}

.team-lead-callout--photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
}

.team-payroll .team-lead-callout--photo .person-card__role,
.contact-person .person-card__role {
  margin: 0.55rem 0 1.1rem;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
}

/* Kennzahlen-Zeile (Über uns): große Zahl, kurze Beschriftung. */
.facts-row {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.fact-card strong {
  color: var(--teal);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.1;
}

.fact-card p {
  margin: 0.4rem 0 0;
}

.team-lead-callout--photo p:last-child {
  margin: 0;
  color: var(--teal);
  line-height: 1.7;
}

.team-directory > .section-intro {
  margin-bottom: 1rem;
}

.team-directory .people-grid,
.team-payroll .people-grid {
  row-gap: clamp(1.5rem, 3vw, 2.25rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Lohnteam: 6 Personen im Raster (Leitung steht im Block darüber), daher 3 + 3. */
.team-payroll .payroll-people {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-group {
  padding-top: clamp(3.25rem, 6vw, 5.25rem);
  scroll-margin-top: 5.5rem;
}

.team-group__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.team-group__header h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 3.15rem);
}

.team-group__header > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.team-directory .person-card img,
.team-payroll .person-card img {
  aspect-ratio: 4 / 5;
}

.team-directory .person-card__body,
.team-payroll .person-card__body {
  padding: 1.1rem;
}

.team-directory .person-card__body h3,
.team-payroll .person-card__body h3 {
  margin-bottom: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.team-payroll .person-card__name {
  display: block;
  color: var(--teal-deep);
  font-size: clamp(1.12rem, 1.7vw, 1.34rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.team-payroll .person-card__role {
  margin-top: 0.55rem;
  margin-bottom: 0;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.process-grid {
  display: grid;
  gap: 1rem;
  counter-reset: process;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Vier Ablaufschritte in einer Reihe statt 3 + 1; Tablet/Mobil übernehmen die .process-grid-Regeln weiter unten. */
.process-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid article {
  position: relative;
  min-height: 250px;
  border-radius: var(--radius);
  background: #fff;
  padding: 2rem;
  box-shadow: 0 12px 34px rgba(0, 41, 46, 0.07);
  counter-increment: process;
}

.process-grid article h3 {
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Gleiche Zahlen-Kreise wie .card-number (inkl. Ausgleich für die hoch sitzenden Metro-Sans-Ziffern). */
.process-grid article::before {
  display: grid;
  box-sizing: border-box;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.85rem;
  border-radius: 50%;
  background: var(--lime);
  color: var(--teal-dark);
  content: "0" counter(process);
  font-size: 0.92rem;
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 700;
  line-height: 1;
  padding-top: 0.2em;
  place-items: center;
}

.scope-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scope-card {
  border: 1px solid rgba(1, 84, 92, 0.14);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  box-shadow: 0 12px 32px rgba(0, 41, 46, 0.06);
}

.scope-card--pending {
  border-style: dashed;
  box-shadow: none;
  opacity: 0.7;
}

.scope-card__badge {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.scope-card__label,
.deadline-card__time {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scope-card h3,
.deadline-card h3,
.responsibility-card h3,
.payroll-cycle h3 {
  margin-bottom: 0.85rem;
}

.scope-card ul,
.responsibility-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-card li,
.responsibility-card li {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 0.72rem 0 0.72rem 1.25rem;
  color: var(--muted);
  line-height: 1.55;
}

.scope-card li::before,
.responsibility-card li::before {
  position: absolute;
  top: 1.08rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.cluster-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cluster-card {
  border: 1px solid rgba(1, 84, 92, 0.14);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  box-shadow: 0 12px 32px rgba(0, 41, 46, 0.06);
}

.cluster-card__badge {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--lime);
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 700;
  place-items: center;
}

.cluster-card h3 {
  font-size: clamp(1.32rem, 1.16rem + 0.6vw, 1.62rem);
  margin-bottom: 0.5rem;
}

.cluster-card__lead {
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}

.cluster-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cluster-item {
  display: block;
  padding: 0.9rem 0;
}

.cluster-item:first-child {
  padding-top: 0;
}

.cluster-item + .cluster-item {
  border-top: 1px solid var(--line);
}

.cluster-item a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.cluster-item a:hover {
  color: var(--teal);
}

.cluster-item--pending {
  opacity: 0.6;
}

.cluster-item--pending > span:first-child {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.cluster-item--pending small {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.cluster-card__process {
  margin: 1.2rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: cluster-step;
}

.cluster-card__process li {
  position: relative;
  margin-bottom: 0.85rem;
  padding-left: 2rem;
  color: var(--muted);
  line-height: 1.55;
  counter-increment: cluster-step;
}

.cluster-card__process li:last-child {
  margin-bottom: 0;
}

.cluster-card__process li::before {
  content: counter(cluster-step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  place-items: center;
}

.cluster-card__process strong {
  color: var(--ink);
}

.cluster-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--teal);
  /* Metro Sans wirkt kleiner als Poppins: 0.82rem statt 0.7rem. */
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.deadline-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.deadline-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 1.5rem;
}

.deadline-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.payroll-source-box {
  max-width: 920px;
  margin: clamp(2.25rem, 5vw, 4rem) auto 0;
}

.payroll-source-box p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.responsibility-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.responsibility-card {
  border-radius: var(--radius);
  padding: clamp(1.65rem, 3.5vw, 2.75rem);
}

.responsibility-card--client {
  border: 1px solid var(--line);
  background: var(--cream);
}

.responsibility-card--staffup {
  background: var(--teal-dark);
  color: #fff;
}

.responsibility-card--staffup .eyebrow {
  color: var(--lime);
}

.responsibility-card--staffup li {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

.payroll-cycle {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.payroll-cycle li {
  display: grid;
  min-height: 220px;
  border: 1px solid rgba(1, 84, 92, 0.14);
  border-radius: 20px;
  background: #fff;
  padding: 1.5rem;
  grid-template-rows: auto 1fr;
}

.payroll-cycle li > span {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 2.25rem;
  border-radius: 50%;
  background: var(--lime);
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 700;
  place-items: center;
}

.payroll-cycle p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.evidence-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.evidence-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.evidence-card > strong {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.evidence-card h3 {
  color: #fff;
}

.evidence-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.62;
}

/* Variante ohne Kennzahl: die Aussage selbst trägt den Lime-Akzent. */
.evidence-card--text h3 {
  color: var(--lime);
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  line-height: 1.25;
}

.hr-signals {
  align-items: start;
}

.signal-card {
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: #fff;
  padding: clamp(1.65rem, 3.5vw, 2.75rem);
}

.signal-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-card li {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.78rem 0 0.78rem 1.35rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.signal-card li::before {
  position: absolute;
  top: 1.12rem;
  left: 0;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.hr-source-box {
  max-width: 920px;
  margin: 0 auto;
}

.hr-source-box p:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.hr-rhythm {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hr-rhythm li {
  min-height: 250px;
}

.outsourcing-benefits .scope-card {
  position: relative;
  overflow: hidden;
}

.outsourcing-benefits .scope-card::after {
  position: absolute;
  right: -2.5rem;
  bottom: -3.5rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(1, 84, 92, 0.09);
  border-radius: 50%;
  content: "";
}

.outsourcing-benefits .scope-card > p:last-child {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.outsourcing-source-box {
  max-width: 920px;
  margin: clamp(2.25rem, 5vw, 4rem) auto 0;
}

.outsourcing-source-box p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.agenda {
  max-width: 930px;
  margin: 0 auto;
}

.agenda-item {
  display: grid;
  align-items: start;
  gap: 1.4rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 3rem 4.2rem 1fr;
}

.agenda-item__number {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.agenda-icon {
  display: grid;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: var(--lime);
  place-items: center;
}

.agenda-icon img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.agenda-item .eyebrow {
  margin-bottom: 0.4rem;
}

.agenda-item .eyebrow::before {
  display: none;
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq-list summary::after {
  color: var(--teal);
  content: "+";
  font-size: 1.8rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details > div {
  max-width: 740px;
  padding: 0 0 1.7rem;
  color: var(--muted);
}

.form-layout {
  display: grid;
  align-items: start;
  gap: 2rem;
  grid-template-columns: 0.72fr 1.28fr;
}

.contact-card {
  position: sticky;
  top: 7rem;
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: #fff;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.contact-card .eyebrow {
  display: flex;
  width: 100%;
  color: var(--lime);
}

.contact-brand {
  width: fit-content;
  margin-bottom: 2rem;
}

.contact-brand .brand-mark {
  width: 84px;
  height: 84px;
}

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

.contact-card a {
  color: #fff;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0, rgba(218, 248, 10, 0.11), transparent 28%),
    #fff;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

.form-intro {
  position: relative;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  padding: 0 8rem 1.75rem 0;
}

.form-intro h2 {
  max-width: 12ch;
  margin-bottom: 0.75rem;
}

.form-intro > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.form-required {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 999px;
  background: var(--cream);
  color: var(--teal-dark);
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-section {
  min-width: 0;
  margin: 0 0 2rem;
  border: 0;
  padding: 0;
}

.form-section legend {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  padding: 0;
  color: var(--teal-dark);
  font-size: 1rem;
  font-weight: 700;
}

.form-section legend span {
  display: grid;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--lime);
  color: var(--teal-deep);
  font-size: 0.7rem;
  place-items: center;
}

.form-grid {
  display: grid;
  gap: 1.15rem 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label,
.fieldset-label {
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.field label span {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(1, 84, 92, 0.24);
  border-radius: 14px;
  background: #fbfcf8;
  padding: 0.9rem 1rem;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #788281;
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(1, 84, 92, 0.5);
  background: #fff;
}

.field textarea {
  min-height: 180px;
  line-height: 1.6;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(218, 248, 10, 0.48);
}

.field-hint {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--cream);
  padding: 1rem;
  font-size: 0.86rem;
}

.privacy-check input {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  margin-top: 0.12rem;
  accent-color: var(--teal);
}

.privacy-check a {
  color: var(--teal);
  font-weight: 700;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.form-submit p {
  display: grid;
  gap: 0.2rem;
  margin: 0;
}

.form-submit p span {
  color: var(--muted);
  font-size: 0.8rem;
}

.form-submit .button {
  flex: 0 0 auto;
  min-width: 190px;
}

.form-submit .button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.form-status {
  min-height: 1.7rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status[data-state="success"] {
  color: #12602d;
}

.form-status[data-state="error"] {
  color: #a32a2a;
}

.ai-check {
  max-width: 850px;
  margin: 0 auto;
}

.check-question {
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.check-question legend {
  width: 100%;
  padding-top: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.check-options {
  display: grid;
  gap: 0.65rem;
}

.check-options label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  border: 1px solid rgba(1, 84, 92, 0.2);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
}

.check-options label:has(input:checked) {
  border-color: var(--teal);
  background: var(--cream);
}

.check-options label:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(218, 248, 10, 0.45);
}

.check-options input {
  margin-top: 0.35rem;
  accent-color: var(--teal);
}

.check-result {
  margin-top: 2rem;
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: #fff;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.check-result[hidden] {
  display: none;
}

.check-result .eyebrow {
  color: var(--lime);
}

.article-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.prose {
  font-size: 1.02rem;
}

.prose h2 {
  margin-top: 3.5rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.prose h3 {
  margin-top: 2.2rem;
}

.prose p,
.prose li {
  color: #43504f;
}

.prose a {
  color: var(--teal);
}

.answer-box,
.source-box,
.legal-note {
  margin-block: 2rem;
  border-radius: 18px;
  background: var(--cream);
  padding: 1.5rem;
}

/* Allein im Abschnitt: kein zusätzlicher Außenabstand zum Abschnitts-Innenabstand. */
.section > .container > .source-box:only-child {
  margin-block: 0;
}

/* Als letztes Element eines Abschnitts: unten nichts zusätzlich (sonst ~128px statt ~96px Luft). */
.section > .container > .source-box:last-child {
  margin-bottom: 0;
}

/* Die Varianten unter einem Raster wollen oben mehr Abstand; .source-box (weiter oben definiert,
   aber hier im Quelltext später) hatte deren margin bisher überschrieben. */
.source-box.payroll-source-box,
.source-box.outsourcing-source-box {
  margin-top: clamp(2.25rem, 5vw, 4rem);
}

.answer-box h2,
.source-box h2,
.legal-note h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

.source-list {
  padding-left: 1.2rem;
}

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

.legal-toc {
  position: sticky;
  top: 7rem;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.legal-content address {
  color: #43504f;
  font-style: normal;
}

.legal-content dl > div {
  display: grid;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 190px 1fr;
}

.legal-content dt {
  font-weight: 700;
}

.legal-content dd {
  margin: 0;
  color: #43504f;
}

.route-map {
  display: grid;
  align-items: stretch;
  gap: 1rem;
  margin-top: -2.4rem;
  border-radius: var(--radius);
  background: #fff;
  padding: 1.2rem;
  box-shadow: var(--shadow);
  grid-template-columns: 0.8fr 2fr 0.8fr;
}

.route-place {
  display: grid;
  border-radius: 18px;
  background: var(--cream);
  padding: 1.2rem;
  place-content: center;
  text-align: center;
}

.route-place strong,
.route-place span {
  display: block;
}

.route-place span {
  color: var(--muted);
  font-size: 0.8rem;
}

.route-track {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.route-track li {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 0.8rem;
  place-content: center;
  text-align: center;
}

.route-track strong,
.route-track span {
  display: block;
}

.route-track strong {
  color: var(--teal);
  font-size: 0.84rem;
}

.route-track span {
  color: var(--muted);
  font-size: 0.76rem;
}

.notice {
  margin-top: 1.5rem;
  border-left: 4px solid var(--lime);
  background: rgba(249, 254, 214, 0.7);
  padding: 1rem 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-drift {
  from { transform: scale(1.035); }
  to { transform: scale(1.09); }
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 30px rgba(0, 41, 46, 0.16);
  }

  .service-card,
  .article-card,
  .person-card,
  .process-grid article {
    transition: transform 200ms ease, box-shadow 200ms ease;
  }

  .service-card:hover,
  .article-card:hover,
  .person-card:hover,
  .process-grid article:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(0, 41, 46, 0.12);
  }

  .image-card:hover img {
    transform: scale(1.045);
  }
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 0.7rem;
  }

  .main-nav a {
    font-size: 0.88rem;
  }
}

@media (max-width: 1060px) {
  html {
    scroll-padding-top: 5rem;
  }

  .site-header,
  .site-header.is-scrolled {
    background: rgba(255, 254, 249, 0.98);
    color: var(--ink);
    box-shadow: 0 5px 22px rgba(0, 31, 36, 0.08);
  }

  .header-inner,
  .is-scrolled .header-inner {
    min-height: 72px;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
  }

  .brand-logo--light {
    display: none;
  }

  .brand-logo--dark {
    display: block;
  }

  .brand-logo,
  .is-scrolled .brand-logo {
    width: 104px;
  }

  .main-nav {
    display: none;
  }

  .team-directory .people-grid,
  .team-payroll .people-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-toggle {
    display: grid;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: var(--lime);
    cursor: pointer;
    place-items: center;
  }

  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    content: "";
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle span {
    position: relative;
  }

  .menu-toggle span::before {
    position: absolute;
    transform: translateY(-7px);
  }

  .menu-toggle span::after {
    position: absolute;
    transform: translateY(7px);
  }

  .menu-toggle[aria-expanded="true"] span {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] span::before {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span::after {
    transform: rotate(-45deg);
  }

  .mobile-panel {
    position: fixed;
    z-index: 90;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    overflow-y: auto;
    visibility: hidden;
    background: var(--paper);
    opacity: 0;
    padding: 1.25rem max(1.5rem, calc((100vw - 700px) / 2)) calc(1.5rem + env(safe-area-inset-bottom));
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .mobile-panel.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav {
    display: grid;
  }

  .mobile-nav a {
    border-bottom: 1px solid var(--line);
    padding: 0.95rem 0.35rem;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-nav a.nav-cta {
    margin-block: 0.7rem;
    border: 0;
    text-align: center;
  }

  .mobile-nav-group {
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 0.35rem;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
  }

  .mobile-nav-group > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav-group > summary::after {
    color: var(--teal);
    content: "+";
    font-size: 1.4rem;
  }

  .mobile-nav-group[open] > summary::after {
    content: "–";
  }

  .mobile-nav-group nav {
    display: grid;
    padding: 0 0.35rem 0.9rem;
  }

  .mobile-nav-group nav a {
    border-top: 1px solid var(--line);
    padding: 0.8rem 0.5rem;
    color: var(--teal);
    font-weight: 600;
  }

  .mobile-nav-group nav a.mobile-nav-subitem {
    padding-left: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.85;
  }

  .mobile-nav-group nav span.mobile-nav-group-label {
    display: block;
    border-top: 1px solid var(--line);
    padding: 0.8rem 0.5rem;
    color: var(--teal);
    font-weight: 600;
  }

  .mobile-nav-group nav span.mobile-nav-item--pending {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-top: 1px solid var(--line);
    padding: 0.8rem 0.5rem;
    color: var(--teal);
    opacity: 0.45;
    font-weight: 600;
  }

  .mobile-nav-subgroup {
    display: grid;
    border-top: 1px solid var(--line);
  }

  .mobile-nav-subgroup > a.mobile-nav-subitem {
    display: block;
  }

  .mobile-nav-subgroup summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0.5rem;
    color: var(--teal);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav-subgroup summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav-subgroup summary::after {
    color: var(--teal);
    content: "+";
    font-size: 1.2rem;
  }

  .mobile-nav-subgroup[open] summary::after {
    content: "–";
  }

  .mobile-nav-item--pending small {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.9;
  }

  .page-hero {
    min-height: 680px;
    min-height: min(720px, 100svh);
    padding-top: 72px;
  }

  .hero-content {
    padding-top: clamp(6rem, 14vh, 7.5rem);
    padding-bottom: clamp(4rem, 9vh, 5.5rem);
  }

  .page-hero::after {
    background: linear-gradient(90deg, rgba(0, 24, 28, 0.94), rgba(0, 37, 42, 0.52)), linear-gradient(0deg, rgba(0, 20, 23, 0.72), transparent 50%);
  }

  .page-hero::before {
    background-image: var(--hero-image-tablet, var(--hero-image));
  }

  .grid-3,
  .grid-4,
  .people-grid,
  .cluster-grid,
  .process-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hr-rhythm {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .journey-wrap {
    margin-top: 0;
  }

  .journey-desktop {
    display: none;
  }

  .journey-mobile {
    display: block;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .journey-mobile details {
    border-top: 1px solid var(--line);
  }

  .journey-mobile summary {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem max(1.25rem, env(safe-area-inset-left));
    cursor: pointer;
    font-weight: 700;
    list-style: none;
  }

  .journey-mobile summary::-webkit-details-marker {
    display: none;
  }

  .journey-mobile summary::after {
    color: var(--teal);
    content: "+";
    font-size: 1.5rem;
  }

  .journey-mobile details[open] summary::after {
    content: "–";
  }

  .journey-mobile nav {
    display: grid;
    padding: 0 max(1.25rem, env(safe-area-inset-left)) 1rem;
  }

  .journey-mobile nav a {
    border-top: 1px solid var(--line);
    padding: 0.8rem 0;
    color: var(--teal);
    font-weight: 600;
  }

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

  .legal-toc {
    position: static;
    border-radius: 18px;
    background: var(--cream);
    padding: 1.2rem;
  }
}

@media (max-width: 720px) {
  :root {
    --section-space: 3.75rem;
    --radius: 20px;
  }

  body {
    font-size: 1rem;
  }

  .container,
  .narrow {
    width: min(calc(100% - 2.25rem), var(--container));
  }

  h1 {
    font-size: clamp(2.5rem, 10.8vw, 3.65rem);
  }

  h2 {
    font-size: clamp(2rem, 8.5vw, 2.85rem);
  }

  .page-hero {
    min-height: 620px;
    min-height: min(700px, 100svh);
  }

  .page-hero::before {
    background-image: var(--hero-image-mobile, var(--hero-image-tablet, var(--hero-image)));
    background-position: var(--hero-position-mobile, 58% center);
  }

  .hero-content {
    padding-top: clamp(5.25rem, 16vw, 6.5rem);
    padding-bottom: 3.5rem;
  }

  .hero-lead {
    margin-bottom: 1.5rem;
    line-height: 1.58;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .trust-grid,
  .people-grid,
  .process-grid,
  .article-grid,
  .form-layout,
  .offer-card,
  .scope-grid,
  .deadline-grid,
  .responsibility-grid,
  .payroll-cycle,
  .evidence-grid,
  .cluster-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    gap: 2.25rem;
  }

  .grid-3,
  .grid-4,
  .people-grid,
  .process-grid,
  .article-grid,
  .scope-grid,
  .deadline-grid,
  .responsibility-grid,
  .payroll-cycle,
  .evidence-grid,
  .cluster-grid,
  .footer-grid {
    gap: 1.25rem;
  }

  .image-card,
  .image-card img,
  .team-photo,
  .team-photo img {
    min-height: 330px;
  }

  .section-intro {
    margin-bottom: 2.35rem;
  }

  .service-card,
  .fact-card,
  .article-card,
  .scope-card,
  .deadline-card,
  .responsibility-card,
  .payroll-cycle li,
  .evidence-card,
  .signal-card,
  .cluster-card {
    padding: 1.4rem;
  }

  .payroll-cycle li {
    min-height: 0;
  }

  .payroll-cycle li > span,
  .cluster-card__badge {
    margin-bottom: 1.4rem;
  }

  .card-number {
    margin-bottom: 1.4rem;
  }

  .timeline li {
    padding-left: 4.4rem;
  }

  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band .button {
    width: 100%;
  }

  .offer-price {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 1.5rem;
    padding-left: 0;
  }

  .agenda-item {
    gap: 0.9rem;
    grid-template-columns: 2.2rem 3.6rem 1fr;
  }

  .agenda-icon {
    width: 3.6rem;
    height: 3.6rem;
  }

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

  .team-directory .people-grid,
  .team-payroll .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .team-lead-callout {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .team-lead-callout--photo picture {
    max-width: 280px;
  }

  .team-group__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .form-intro {
    padding-right: 0;
  }

  .form-required {
    position: static;
    display: inline-flex;
    margin-top: 1rem;
  }

  .form-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit .button {
    width: 100%;
  }

  .contact-card {
    position: static;
  }

  .route-map,
  .route-track {
    grid-template-columns: 1fr;
  }

  .route-map {
    margin-top: 0;
  }

  .route-track li {
    min-height: 82px;
  }

  .legal-content dl > div {
    gap: 0.2rem;
    grid-template-columns: 1fr;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding-top: 3.25rem;
  }
}

@media (max-width: 480px) {
  .container,
  .narrow {
    width: min(calc(100% - 2rem), var(--container));
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  h1 {
    font-size: clamp(2.35rem, 11.3vw, 3rem);
  }

  h2 {
    font-size: clamp(1.9rem, 8.5vw, 2.45rem);
  }

  .breadcrumbs {
    margin-bottom: 1.25rem;
    font-size: 0.78rem;
  }

  .eyebrow {
    gap: 0.55rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }

  .eyebrow::before {
    width: 1.6rem;
  }

  .hero-actions {
    gap: 0.65rem;
  }

  .button {
    min-height: 50px;
    padding-inline: 1.15rem;
  }

  .agenda-item {
    grid-template-columns: 3.25rem minmax(0, 1fr);
  }

  .agenda-item__number {
    grid-column: 1;
    grid-row: 1;
  }

  .agenda-icon {
    width: 3.25rem;
    height: 3.25rem;
    grid-column: 1;
    grid-row: 2;
  }

  .agenda-item > div {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .contact-form,
  .contact-card,
  .offer-card {
    padding: 1.35rem;
  }

  .team-directory .person-card__body,
  .team-payroll .person-card__body {
    padding: 0.85rem;
  }

  .team-directory .person-card__body h3,
  .team-payroll .person-card__body h3 {
    font-size: 0.94rem;
    line-height: 1.35;
  }

  .team-payroll .person-card__name {
    font-size: 1rem;
  }

  .team-payroll .person-card__role {
    font-size: 0.7rem;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-panel,
  .cta-band,
  .site-footer,
  .hero-actions,
  .journey-wrap {
    display: none !important;
  }

  .page-hero {
    min-height: 0;
    background: #fff;
    color: #000;
  }

  .page-hero::before,
  .page-hero::after {
    display: none;
  }

  .hero-content {
    padding: 2rem 0;
  }

  .page-hero .eyebrow,
  .page-hero h1 em {
    color: #000;
  }
}

/* Zahlen in Kreisen (Metro Sans): Die Ziffern sitzen in dieser Schrift ca. 0,1em zu hoch.
   padding-top: 0.2em gleicht das bei zentriertem Grid aus (gemessen: Abweichung <= 1px bei 64px).
   Zusätzlich etwas größer als bei Poppins, damit die Zahlen im Kreis nicht verloren wirken. */
.card-number,
.timeline-marker,
.payroll-cycle li > span,
.journey b,
.cluster-card__process li::before {
  box-sizing: border-box;
  padding-top: 0.2em;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
}

.card-number,
.payroll-cycle li > span {
  font-size: 0.92rem;
}

.journey b {
  font-size: 0.88rem;
}

.timeline-marker {
  font-size: 0.8rem;
}

.cluster-card__process li::before {
  font-size: 0.74rem;
}