/* ==========================================================================
   Physio Jobs Niedersachsen 2026 - Design System
   Sister theme to gutepflege-2026 (modern, warm, slightly playful)
   ========================================================================== */

/* §0 - Self-hosted fonts (GDPR-compliant) */

@font-face {
  font-family: 'Lora';
  src: url('../fonts/Lora-Variable.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('../fonts/Lora-Italic-Variable.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* §1 - Design tokens */
:root {
  /* Niedersachsen-red - Akzent / CTA (Bewerbungsbutton, Aktion, Hervorhebungen) */
  --color-primary:      #B51E2E;
  --color-primary-dark: #8F1724;
  --color-primary-soft: #F7E1E4;
  --color-primary-rgb:  181, 30, 46;

  /* Gold - Premium / Gehalt (Gehaltskachel, Badges, Highlights) */
  --color-accent:       #D9A441;
  --color-accent-dark:  #B8842B;
  --color-accent-soft:  #F8ECD0;

  /* Dunkelblau - Hauptfarbe (große Hintergrundflächen, Hero overlay, dark sections) */
  --color-deep:         #17324D;
  --color-deep-soft:    #EEF3F6;  /* Hellgrau-Blau für helle Abschnitte + Footer */

  /* Neutrals */
  --color-cream:  #FAF8F4;  /* Warmweiß - Grundhintergrund */
  --color-text:   #1F2933;  /* Anthrazit */
  --color-muted:  #667085;  /* Sekundärtext */
  --color-border: #E5E7EB;  /* Hellgrau - Linien / Rahmen */
  --color-white:  #FFFFFF;

  /* Brand: WhatsApp green (only place this color is allowed) */
  --color-whatsapp:      #25D366;
  --color-whatsapp-dark: #1EBE57;

  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Fluid type scale */
  --step--1: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
  --step-0:  clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.1875rem, 1.13rem + 0.25vw, 1.3125rem);
  --step-2:  clamp(1.3125rem, 1.23rem + 0.35vw, 1.5rem);
  --step-3:  clamp(1.5rem, 1.38rem + 0.55vw, 1.8125rem);
  --step-4:  clamp(1.75rem, 1.5rem + 1.1vw, 2.375rem);
  --step-5:  clamp(2rem, 1.7rem + 1.5vw, 2.875rem);
  --step-6:  clamp(2.375rem, 1.95rem + 2.1vw, 3.5rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  --container-xl: 1280px;
  --container-lg: 1100px;
  --container-md:  820px;
  --container-sm:  640px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-card:    0 2px 12px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-hover:   0 8px 28px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.08);
  --shadow-sticky:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-primary: 0 6px 20px rgba(var(--color-primary-rgb), 0.2);

  --header-h: 84px;
}

/* §2 - Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-cream);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  hyphens: auto;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
/* Subtle warm filter on photos - makes the site feel less stock-clinical */
.section img:not(.site-header__logo img):not(.site-footer__logo):not([alt=""][role="presentation"]),
.block-hero img,
.hero-overlay__img,
.block-feature-split__image img { filter: saturate(1.05) contrast(1.02); }
a { color: inherit; text-decoration: none; }

/* §3 - Headings */
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.6em; font-weight: 500; line-height: 1.2; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.018em; color: var(--color-text); }
h1 { font-size: var(--step-5); line-height: 1.15; letter-spacing: -0.02em; max-width: 24ch; }
h2 { font-size: var(--step-4); line-height: 1.2; letter-spacing: -0.015em; max-width: 28ch; }
h3 { font-family: var(--font-body); font-size: var(--step-3); font-weight: 600; line-height: 1.3; }
h4 { font-family: var(--font-body); font-size: var(--step-2); font-weight: 600; line-height: 1.35; }
h1, h2, h3, h4, .btn, .eyebrow { hyphens: manual; }

/* §4 - Layout containers */
.container, .container-xl { max-width: var(--container-xl); margin: 0 auto; padding: 0 1.5rem; }
.container-lg { max-width: var(--container-lg); margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: var(--container-md); margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
@media (min-width: 1024px) { .section { padding: var(--space-2xl) 0; } }
.section--cream { background: var(--color-deep-soft); }
.section--dark  { background: var(--color-deep); color: var(--color-white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--color-white); }

/* §5 - Eyebrow labels - gold dot, slightly bolder than gutepflege */
.eyebrow {
  position: relative;
  display: inline-block;
  padding-left: 1.85rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* §6 - Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--step-0);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.25); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-ghost:hover { background: var(--color-primary); color: #fff; }
.btn-accent { background: var(--color-accent); color: var(--color-text); border-color: var(--color-accent); }
.btn-accent:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; border-color: var(--color-whatsapp); }
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); border-color: var(--color-whatsapp-dark); transform: translateY(-1px); }
.btn-large { padding: 1.125rem 2.25rem; font-size: var(--step-1); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; border-radius: var(--radius-sm); }

/* §7 - Prose */
.prose { max-width: 68ch; }
.prose p { margin: 0 0 1.25em; }
.prose a:not(.btn) {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-soft);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
.prose a:not(.btn):hover { text-decoration-color: var(--color-primary); }
.prose strong { font-weight: 600; color: var(--color-text); }
.prose em { font-style: italic; }
.prose mark { background: transparent; color: inherit; padding: 0; font-weight: 600; }
.prose blockquote {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.35;
  border-left: 3px solid var(--color-accent);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
}
.prose blockquote cite { display: block; margin-top: 0.75rem; font-size: var(--step-0); font-style: normal; color: var(--color-muted); font-family: var(--font-body); }
.prose blockquote cite::before { content: "- "; }
.prose ul { list-style: none; padding-left: 0; margin: 0 0 1.25em; }
.prose ul li { position: relative; padding-left: 1.75rem; margin-bottom: 0.5rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
.prose ul.checks li::before {
  content: "✓"; background: transparent; width: auto; height: auto;
  color: var(--color-primary); font-weight: 700; font-size: 1rem; top: 0.05em;
}
.prose ol { padding-left: 1.5rem; margin: 0 0 1.25em; }
.prose ol li { margin-bottom: 0.5rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 2rem 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.prose th { background: var(--color-cream); padding: 1rem; text-align: left; font-weight: 600; font-size: var(--step--1); color: var(--color-text); border-bottom: 2px solid var(--color-border); }
.prose td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--color-border); }
.prose tr:nth-child(even) td { background: var(--color-cream); }
.prose tr:last-child td { border-bottom: none; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--color-muted); max-width: 60ch; }
small, .meta { font-size: var(--step--1); color: var(--color-muted); }

/* §8 - Sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: box-shadow 0.25s ease, height 0.25s ease, background 0.25s ease, color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sticky);
  height: calc(var(--header-h) - 8px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom-color: var(--color-border);
}

/* Transparent header at top of homepage; fills in once .scrolled fires (>10px scroll) */
body.has-transparent-header .site-header:not(.scrolled) {
  background: transparent;
  box-shadow: none;
  border-bottom-color: transparent;
}
body.has-transparent-header .site-header:not(.scrolled) .site-nav__link { color: var(--color-white); }
body.has-transparent-header .site-header:not(.scrolled) .site-nav__link:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.18);
}
body.has-transparent-header .site-header:not(.scrolled) .site-nav__link.active { color: var(--color-white); }
body.has-transparent-header .site-header:not(.scrolled) .site-nav__link.active::after { background: var(--color-white); }
body.has-transparent-header .site-header:not(.scrolled) .site-header__phone {
  color: var(--color-white);
  background: rgba(255,255,255,0.18);
}
body.has-transparent-header .site-header:not(.scrolled) .site-header__whatsapp {
  color: var(--color-white);
  background: rgba(37, 211, 102, 0.30);
}
body.has-transparent-header .site-header:not(.scrolled) .hamburger span { background: var(--color-white); }
@media (min-width: 1440px) {
  body.has-transparent-header .site-header:not(.scrolled) .site-header__phone,
  body.has-transparent-header .site-header:not(.scrolled) .site-header__whatsapp {
    color: var(--color-white);
    background: transparent;
  }
}
.site-header__inner { display: grid; grid-template-columns: max-content 1fr max-content; align-items: center; gap: 1.25rem; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; }
.site-header__nav { display: flex; justify-content: center; min-width: 0; }
.site-header__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-header__logo img { height: 60px; width: auto; max-width: none; transition: height 0.25s ease; }
.site-header.scrolled .site-header__logo img { height: 48px; }
@media (max-width: 1024px) { .site-header__logo img { height: 52px; } .site-header.scrolled .site-header__logo img { height: 44px; } }
.site-nav { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav__item { position: relative; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.55rem 0.85rem; font-weight: 500;
  font-size: 1.0625rem; color: var(--color-text);
  border-radius: var(--radius-sm); transition: color 0.2s, background 0.2s; white-space: nowrap; position: relative;
}
@media (min-width: 1380px) { .site-nav__link { padding: 0.65rem 1rem; font-size: 1.125rem; } }
.site-nav__link:hover { color: var(--color-primary); background: var(--color-primary-soft); }
.site-nav__link.active { color: var(--color-primary); }
.site-nav__link.active::after { content: ''; position: absolute; left: 0.875rem; right: 0.875rem; bottom: 0.25rem; height: 2px; background: var(--color-primary); border-radius: 2px; }

.site-header__actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.site-header__actions .btn { padding: 0.65rem 1.2rem; font-size: 0.9375rem; }
.site-header__phone, .site-header__whatsapp {
  display: inline-flex; align-items: center; gap: 0.45rem;
  width: 40px; height: 40px; padding: 0; justify-content: center;
  border-radius: var(--radius-sm); transition: color 0.2s, background 0.2s, transform 0.2s; white-space: nowrap;
}
.site-header__phone { color: var(--color-primary); background: var(--color-primary-soft); }
.site-header__phone:hover { transform: scale(1.05); }
.site-header__whatsapp { color: var(--color-whatsapp); background: rgba(37, 211, 102, 0.1); }
.site-header__whatsapp:hover { transform: scale(1.05); }
.site-header__phone-text, .site-header__whatsapp-text { display: none; font-weight: 600; font-size: var(--step--1); }
@media (min-width: 1440px) {
  .site-header__phone-text, .site-header__whatsapp-text { display: inline; }
  .site-header__phone, .site-header__whatsapp { width: auto; height: auto; padding: 0.5rem 0.85rem; background: transparent; }
  .site-header__phone { color: var(--color-text); }
  .site-header__whatsapp { color: var(--color-whatsapp-dark); }
  .site-header__phone:hover { color: var(--color-primary); background: var(--color-primary-soft); transform: none; }
  .site-header__whatsapp:hover { background: rgba(37, 211, 102, 0.1); transform: none; }
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; background: none; border: none; cursor: pointer; padding: 0; }
.hamburger span { display: block; height: 2px; background: var(--color-text); border-radius: 2px; transition: all 0.25s ease; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; background: var(--color-white); z-index: 200; display: flex; flex-direction: column; padding: 2rem 1.5rem; transform: translateX(100%); transition: transform 0.25s ease; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__close { align-self: flex-end; background: none; border: none; cursor: pointer; color: var(--color-text); padding: 0.5rem; margin-bottom: 1.5rem; }
.mobile-menu__close svg { width: 22px; height: 22px; }
.mobile-menu__nav { list-style: none; padding: 0; margin: 0; flex: 1; }
.mobile-menu__nav li a {
  display: flex; align-items: center; padding: 1rem 0;
  font-size: var(--step-1); font-weight: 500;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text); min-height: 56px;
}
.mobile-menu__nav li a:hover { color: var(--color-primary); }
.mobile-menu__cta { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }

@media (max-width: 1279px) { .site-nav { display: none; } .hamburger { display: flex; } }
@media (max-width: 1024px) { .site-header__phone, .site-header__whatsapp { display: none; } }
@media (max-width: 768px) { :root { --header-h: 60px; } .site-header__logo img { height: 48px; } .site-header.scrolled .site-header__logo img { height: 40px; } }

/* §9 - Hero (full-bleed image with text overlay) */
.block-hero {
  position: relative; overflow: hidden; isolation: isolate;
  /* Lock hero height to exactly the visible viewport (progressive units) */
  height: 100vh;          /* fallback for older browsers */
  height: 100svh;         /* small viewport — Safari iOS w/ address bar shown */
  height: 100dvh;         /* dynamic — adapts as Safari chrome collapses */
  min-height: 580px;      /* never shorter than this on tiny screens */
  display: flex; align-items: flex-start;   /* anchor to top — never overlaps header */
  padding: 0 0 2rem;
}
.block-hero__bg { position: absolute; inset: 0; z-index: 0; }
.block-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.block-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(15,30,50,0.78) 0%, rgba(15,30,50,0.55) 45%, rgba(15,30,50,0.30) 100%),
    linear-gradient(180deg, rgba(15,30,50,0.45) 0%, rgba(15,30,50,0) 30%, rgba(15,30,50,0.55) 100%);
}
.block-hero__inner { position: relative; z-index: 2; padding: 0 1.5rem; width: 100%; }
.block-hero__text { display: flex; flex-direction: column; justify-content: center; max-width: 56rem; }
.block-hero .eyebrow { color: var(--color-accent); margin-bottom: 0.5rem; }
.block-hero h1 {
  font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.625rem);
  line-height: 1.12;
  max-width: 22ch;
  color: var(--color-white);
  margin: 0 0 0.5em;
}
.block-hero h1 .salary-strong { color: var(--color-accent); white-space: nowrap; }
.block-hero__lede {
  font-size: var(--step-0);
  color: rgba(255,255,255,0.92);
  max-width: 38rem;
  margin: 0.5rem 0 1rem;
  line-height: 1.5;
}
.block-hero__checks { list-style: none; padding: 0; margin: 0 0 1.25rem; max-width: 38rem; }
.block-hero__checks li {
  position: relative; padding-left: 1.65rem; margin-bottom: 0.2rem;
  font-size: var(--step--1); line-height: 1.45;
  color: rgba(255,255,255,0.94);
}
.block-hero__checks li::before { content: "✓"; position: absolute; left: 0; top: 0.05em; color: var(--color-accent); font-weight: 700; }
.block-hero__checks li strong { color: var(--color-white); }
.block-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
/* Slightly more compact CTAs in the hero (override .btn / .btn-large) */
.block-hero__ctas .btn { padding: 0.7rem 1.3rem; font-size: var(--step--1); }
.block-hero__ctas .btn-large { padding: 0.85rem 1.65rem; font-size: var(--step-0); }
.block-hero__sub { margin-top: 0.6rem; font-size: var(--step--1); color: rgba(255,255,255,0.78); }

/* Pull the hero up under the transparent header so the image goes edge-to-edge.
   padding-top ensures content sits clearly below the floating header (header-h + breathing room). */
body.has-transparent-header .block-hero--overlay {
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + 2rem);
}

@media (max-width: 768px) {
  .block-hero { padding: 0 0 1.5rem; }
  .block-hero h1 { font-size: clamp(1.625rem, 1.3rem + 1.6vw, 2rem); }
  .block-hero__lede { font-size: var(--step--1); margin: 0.4rem 0 0.85rem; }
  .block-hero__checks { margin-bottom: 1rem; }
  .block-hero__ctas .btn { padding: 0.65rem 1.15rem; }
  .block-hero__ctas .btn-large { padding: 0.75rem 1.4rem; font-size: var(--step--1); }
  .block-hero__scrim {
    background:
      linear-gradient(180deg, rgba(15,30,50,0.55) 0%, rgba(15,30,50,0.40) 40%, rgba(15,30,50,0.75) 100%);
  }
  body.has-transparent-header .block-hero--overlay { padding-top: calc(var(--header-h) + 1rem); }
}

/* Short viewports (laptops 13"–14", landscape phones): drop the lede paragraph
   so heading + checks + CTAs always fit. Lede content is duplicated under the hero
   in nearby blocks, so SEO/keyword density isn't lost. */
@media (max-height: 800px) {
  .block-hero__lede { display: none; }
  .block-hero__checks { margin-bottom: 1rem; }
  .block-hero h1 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); }
}

/* §10 - Trust badges */
.block-trust-badges { padding: 2rem 0; background: var(--color-white); border-bottom: 1px solid var(--color-border); }
.block-trust-badges__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-badge {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem; background: var(--color-white);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  text-decoration: none; color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) { .trust-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--color-primary); } }
.trust-badge__icon {
  flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-white); color: var(--color-primary);
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
}
.trust-badge__icon--accent { background: var(--color-white); color: var(--color-primary); }
.trust-badge__icon svg { width: 22px; height: 22px; }
.trust-badge__text strong { display: block; font-size: var(--step-0); font-weight: 700; margin-bottom: 0.2rem; }
.trust-badge__text span { font-size: var(--step--1); color: var(--color-muted); line-height: 1.4; }
@media (max-width: 768px) { .block-trust-badges__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .block-trust-badges__grid { grid-template-columns: 1fr; } }

/* Stats band - animated counters */
.block-stats { padding: 3.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat__label { font-size: var(--step--1); color: var(--color-muted); font-weight: 500; line-height: 1.4; max-width: 18ch; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }

/* §11 - Service cards */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  padding: 2rem; background: #fff;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none; color: inherit; display: block;
}
@media (hover: hover) { .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--color-primary); } }
.service-card__icon {
  width: 52px; height: 52px;
  background: var(--color-white); color: var(--color-primary);
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card__icon--accent { background: var(--color-white); color: var(--color-primary); }
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: var(--step-2); margin-bottom: 0.75rem; }
.service-card p { color: var(--color-muted); font-size: var(--step-0); line-height: 1.65; margin: 0 0 1rem; }
.service-card__link { display: inline-block; color: var(--color-primary); font-weight: 600; font-size: var(--step-0); }

/* §12 - Feature split */
.block-feature-split { container-type: inline-size; }
.block-feature-split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.block-feature-split--reverse .block-feature-split__inner { direction: rtl; }
.block-feature-split--reverse .block-feature-split__inner > * { direction: ltr; }
.block-feature-split__image { position: relative; }
.block-feature-split__image::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.block-feature-split--reverse .block-feature-split__image::before { inset: 16px 16px -16px -16px; background: var(--color-accent-soft); }
.block-feature-split__image img { border-radius: var(--radius-lg); width: 100%; height: auto; }
.block-feature-split__text .eyebrow { display: block; }
.block-feature-split__text h2 { margin-top: 0.5rem; }
.block-feature-split__text p { color: var(--color-muted); margin-bottom: 1.5rem; }
@media (max-width: 768px) {
  .block-feature-split__inner { grid-template-columns: 1fr; gap: 2rem; direction: ltr !important; }
  .block-feature-split__image { order: -1; }
  /* Decorative offset uses negative outsets - pull it inside the viewport on mobile to prevent horizontal overflow. */
  .block-feature-split__image::before,
  .block-feature-split--reverse .block-feature-split__image::before { inset: 12px -8px -8px 12px; }
}

/* §13 - Process tabs */
.block-process { background: var(--color-deep-soft); }
.block-process__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.process-tabs { list-style: none; padding: 0; margin: 2rem 0 0; }
.process-tab { border-bottom: 1px solid var(--color-border); }
.process-tab__btn {
  display: flex; align-items: center; gap: 1rem;
  width: 100%; padding: 1.25rem 0;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-size: var(--step-0); font-weight: 500;
  color: var(--color-muted); transition: color 0.2s;
}
.process-tab__btn:hover { color: var(--color-primary); }
.process-tab.active .process-tab__btn { color: var(--color-primary); border-bottom: 2px solid var(--color-primary); margin-bottom: -1px; }
.process-tab__num { font-family: var(--font-body); font-size: 1.5rem; font-weight: 600; color: var(--color-border); min-width: 2rem; transition: color 0.2s; }
.process-tab.active .process-tab__num { color: var(--color-primary); }
.process-content { display: none; }
.process-content.active { display: block; }
.process-content__body { padding: 2rem 0; }
.process-content__step { font-size: var(--step-5); font-family: var(--font-display); font-weight: 700; color: var(--color-primary-soft); line-height: 1; margin-bottom: 0.5rem; }
.process-content h3 { font-size: var(--step-3); margin: 0.5rem 0 1rem; }
.process-content p { color: var(--color-muted); max-width: 38ch; }
@media (max-width: 768px) { .block-process__inner { grid-template-columns: 1fr; gap: 2rem; } .process-content__step { font-size: var(--step-4); } }

/* §14 - Why grid */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
.why-grid--wide { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 960px) { .why-grid--wide { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid--wide { grid-template-columns: 1fr; } .why-grid { grid-template-columns: 1fr; } }
.why-card { padding: 2rem; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.why-card__icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-white); border: 1.5px solid var(--color-border); margin-bottom: 1rem; color: var(--color-primary); }
.why-card__icon svg { width: 22px; height: 22px; }
.why-card h3 { font-size: var(--step-2); margin-bottom: 0.5rem; }
.why-card p { color: var(--color-muted); font-size: var(--step-0); line-height: 1.65; margin: 0; }

.block-cost-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .block-cost-summary { grid-template-columns: 1fr; gap: 2.5rem; } .block-cost-summary .pricing-card { margin: 0 auto; } }

/* §15 - Salary card (pricing card) - gold accent for premium/Gehalt */
.pricing-card {
  background: linear-gradient(135deg, var(--color-accent-soft) 0%, #fff 60%);
  border: 2px solid var(--color-accent-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  max-width: 560px;
  position: relative;
}
.pricing-card__eyebrow {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.pricing-card__price {
  font-family: var(--font-display);
  font-size: var(--step-6);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  line-height: 1;
  letter-spacing: -0.025em;
}
.pricing-card__sub { color: var(--color-muted); font-size: var(--step--1); margin-bottom: 1.5rem; line-height: 1.5; }
.pricing-card__benefits { list-style: none; padding: 0; margin: 0 0 2rem; }
.pricing-card__benefits li { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.6rem 0; border-bottom: 1px solid var(--color-border); font-size: var(--step-0); }
.pricing-card__benefits li:last-child { border-bottom: none; }
.pricing-card__benefits li::before { content: "✓"; color: var(--color-primary); font-weight: 700; flex-shrink: 0; }

/* §16 - Testimonials placeholder */
.block-testimonials { background: var(--color-deep-soft); }
.testimonials-placeholder {
  max-width: 640px; margin: 1.5rem auto 0;
  padding: 2.5rem 2rem;
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-card);
}
.testimonials-placeholder__stars { color: var(--color-accent); font-size: 1.5rem; letter-spacing: 0.12em; margin-bottom: 0.75rem; }
.testimonials-placeholder__text { margin: 0; color: var(--color-muted); line-height: 1.6; }

/* §17 - FAQ accordion */
.faq-list { list-style: none; padding: 0; margin: 2rem auto 0; max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer;
  font-weight: 600; font-size: var(--step-1);
  list-style: none; transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--color-primary); }
.faq-item details[open] > summary { color: var(--color-primary); }
.faq-item summary::after {
  content: "+";
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1;
  display: inline-block;
  transform-origin: center center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
}
.faq-item details[open] > summary::after {
  transform: rotate(135deg);
}
.faq-answer { padding: 0 0 1.25rem; color: var(--color-muted); line-height: 1.7; }
.faq-answer a { color: var(--color-primary); text-decoration: underline; }

/* §18 - Recruiter card (single-person team strip) */
.recruiter-card {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 2rem; align-items: center;
  max-width: 720px; margin: 2.5rem auto 0;
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  padding: 2rem;
}
.recruiter-card__photo {
  width: 100%; aspect-ratio: 3/4;
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--color-cream);
}
.recruiter-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.recruiter-card__name { font-family: var(--font-display); font-size: var(--step-3); margin: 0 0 0.25rem; }
.recruiter-card__role { color: var(--color-muted); font-weight: 600; margin: 0 0 1rem; font-size: var(--step-0); }
.recruiter-card__contacts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.recruiter-card__contacts a { font-size: var(--step--1); }
@media (max-width: 720px) {
  .recruiter-card { grid-template-columns: 1fr; text-align: center; }
  .recruiter-card__photo { max-width: 200px; margin: 0 auto; }
  .recruiter-card__contacts { justify-content: center; }
}

/* §20 - Contact block */
.block-contact { background: var(--color-deep-soft); }
.block-contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-details { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.contact-details li {
  display: flex; align-items: flex-start; gap: 0.875rem;
  padding: 0.875rem 0; border-bottom: 1px solid var(--color-border); font-size: var(--step-0);
}
.contact-details li:last-child { border-bottom: none; }
.contact-details__icon { color: var(--color-primary); font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1em; }
.contact-details__icon--whatsapp { color: var(--color-whatsapp); }
@media (max-width: 768px) { .block-contact__inner { grid-template-columns: 1fr; gap: 2rem; } }

/* §21 - CTA strip */
.block-cta-strip { background: var(--color-deep-soft); text-align: center; }
.block-cta-strip h2 { margin: 0 auto 0.75rem; }
.block-cta-strip p { color: var(--color-muted); max-width: 50ch; margin: 0 auto 2rem; }
.block-cta-strip__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* §22 - Info box */
.info-box { background: var(--color-accent-soft); border-left: 4px solid var(--color-accent); border-radius: var(--radius-md); padding: 1.5rem 2rem; margin: 2rem 0; }
.info-box h2, .info-box h3 { font-size: var(--step-2); margin-bottom: 1rem; }
.info-box ul { list-style: none; padding: 0; margin: 0; }
.info-box ul li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  /* explicit reset of .prose ul li (padding-left:1.75rem; position:relative) */
  padding: 0.5rem 0;
  position: static;
  font-size: var(--step-0);
  border-bottom: 1px solid var(--color-border);
}
.info-box ul li:last-child { border-bottom: none; }
.info-box ul li::before {
  /* Full reset of .prose ul li::before so the ✓ doesn't sit on a yellow dot */
  content: "✓";
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  top: auto;
  left: auto;
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* §24 - Inline CTA */
.inline-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; background: var(--color-primary-soft);
  border: 1px solid var(--color-primary); border-radius: var(--radius-lg);
  padding: 1.5rem 2rem; margin: 3rem 0; flex-wrap: wrap;
}
.inline-cta p { margin: 0; font-weight: 500; }

/* §25 - Footer - same hellgrau-blau as alternate sections, anthracite text */
.site-footer { background: var(--color-deep-soft); color: var(--color-text); padding: 4rem 0 2rem; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.site-footer__logo { height: 64px; width: auto; margin-bottom: 1rem; display: block; }
.site-footer__tagline { font-size: var(--step--1); color: var(--color-muted); margin-bottom: 1.5rem; line-height: 1.6; max-width: 36ch; }
.site-footer__contact { list-style: none; padding: 0; margin: 0; }
.site-footer__contact li { margin-bottom: 0.5rem; }
.site-footer__contact a, .site-footer__contact span {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--color-text); font-size: var(--step--1);
  transition: color 0.15s;
}
.site-footer__contact a:hover { color: var(--color-primary); }
.footer-col h4 {
  color: var(--color-text); font-size: var(--step--1);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--color-muted); font-size: var(--step--1); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--color-primary); }
.footer-hours { font-size: var(--step--1); color: var(--color-muted); margin-bottom: 1.5rem; line-height: 1.8; }
.site-footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: var(--step--1); color: var(--color-muted);
}
.site-footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer__legal a { color: var(--color-muted); transition: color 0.15s; }
.site-footer__legal a:hover { color: var(--color-text); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* §26 - Floating mobile actions (call + WhatsApp) */
.float-actions { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90; display: none; flex-direction: column; gap: 0.75rem; }
.float-call, .float-whatsapp {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  transition: transform 0.2s, opacity 0.3s ease;
  opacity: 0;
}
.float-actions.visible .float-call,
.float-actions.visible .float-whatsapp { opacity: 1; }
.float-call { background: var(--color-primary); color: #fff; }
.float-whatsapp { background: var(--color-whatsapp); color: #fff; }
.float-call:hover, .float-whatsapp:hover { transform: scale(1.08); }
@media (max-width: 1024px) { .float-actions { display: flex; } }

/* §27 - Section header */
.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; }
.section-header--center h2 { margin-left: auto; margin-right: auto; }

/* §28 - Overlay hero */
.hero-overlay { position: relative; width: 100%; min-height: 460px; overflow: hidden; background: var(--color-deep); isolation: isolate; }
.hero-overlay__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.hero-overlay__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20,14,10,0.78) 0%, rgba(20,14,10,0.5) 45%, rgba(20,14,10,0.2) 100%),
              linear-gradient(180deg, rgba(20,14,10,0.25) 0%, rgba(20,14,10,0) 30%, rgba(20,14,10,0.4) 100%);
}
.hero-overlay__inner { position: relative; z-index: 2; padding: 2.5rem 1.5rem 3rem; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-overlay__text { max-width: 44rem; color: var(--color-white); }
.hero-overlay__title { font-family: var(--font-display); font-size: var(--step-6); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: var(--color-white); margin: 0 0 1rem; max-width: 24ch; }
.hero-overlay__lede { font-size: var(--step-1); line-height: 1.55; color: rgba(255,255,255,0.92); margin: 0 0 1.5rem; max-width: 38rem; }
.hero-overlay__ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-ghost--onimg { color: var(--color-white); border-color: rgba(255,255,255,0.55); background: transparent; }
.btn-ghost--onimg:hover { background: var(--color-white); color: var(--color-text); border-color: var(--color-white); }
.hero-overlay .breadcrumb { color: rgba(255,255,255,0.78); padding: 0; margin-bottom: auto; }
.hero-overlay .breadcrumb a, .hero-overlay .breadcrumb li:last-child { color: rgba(255,255,255,0.78); }
.hero-overlay .breadcrumb a:hover { color: var(--color-white); }
@media (max-width: 768px) {
  .hero-overlay, .hero-overlay__inner { min-height: 380px; }
  .hero-overlay__scrim { background: linear-gradient(180deg, rgba(20,14,10,0.35) 0%, rgba(20,14,10,0.65) 60%, rgba(20,14,10,0.82) 100%); }
  .hero-overlay__inner { padding: 2rem 1.25rem 2.25rem; }
  .hero-overlay__title { font-size: var(--step-5); }
}

/* §29 - Breadcrumb */
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 1rem 0; margin: 0; font-size: var(--step--1); color: var(--color-muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 0.35rem; }
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb li:last-child { color: var(--color-text); }

/* §30 - Scroll animations */
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
[data-animate-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-animate-stagger].is-visible > *:nth-child(1) { transition-delay: 0s;   opacity: 1; transform: none; }
[data-animate-stagger].is-visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: none; }
[data-animate-stagger].is-visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: none; }
[data-animate-stagger].is-visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: none; }
[data-animate-stagger].is-visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: none; }
[data-animate-stagger].is-visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-animate], [data-animate-stagger] > * { opacity: 1; transform: none; transition: none; }
}

/* §31 - Utility classes */
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent-dark); }
.text-muted { color: var(--color-muted); }
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -99px; left: 1rem; background: var(--color-primary); color: #fff; padding: 0.5rem 1rem; border-radius: var(--radius-sm); font-weight: 600; z-index: 999; }
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   Forms - pj-form (mirrors gp-form, namespaced for this theme)
   ========================================================================== */
.pj-form { display: grid; gap: 1.25rem; margin: 0; padding: 0; border: 0; }
.pj-form__notice { padding: 1.25rem 1.5rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; font-size: var(--step-0); line-height: 1.55; }
.pj-form__notice--ok { background: var(--color-accent-soft); border: 1px solid var(--color-accent); color: var(--color-text); }
.pj-form__notice--err { background: var(--color-primary-soft); border: 1px solid var(--color-primary); color: var(--color-text); }
.pj-form__row { display: grid; gap: 1.25rem; }
.pj-form__row--2col { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .pj-form__row--2col { grid-template-columns: 1fr; gap: 1rem; } }
.pj-field { display: grid; gap: 0.4rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.pj-field__label { font-size: var(--step--1); font-weight: 600; color: var(--color-text); }
.pj-field__label--optional::after { content: " (optional)"; color: var(--color-muted); font-weight: 400; }
.pj-field__req { color: var(--color-primary); font-weight: 700; }
.pj-form input[type="text"],
.pj-form input[type="email"],
.pj-form input[type="tel"],
.pj-form input[type="date"],
.pj-form input[type="number"],
.pj-form input[type="file"],
.pj-form select,
.pj-form textarea {
  width: 100%; font-family: inherit; font-size: var(--step-0);
  color: var(--color-text); background: var(--color-white);
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem; line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none; appearance: none;
}
.pj-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23667085' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 12px 8px; padding-right: 2.5rem; cursor: pointer;
}
.pj-form textarea { resize: vertical; min-height: 120px; }
.pj-form input:focus, .pj-form select:focus, .pj-form textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}
.pj-choice { display: grid; gap: 0.5rem; grid-template-columns: 1fr 1fr; }
.pj-choice--stack { grid-template-columns: 1fr; }
.pj-choice--row { grid-template-columns: repeat(6, 1fr); }
.pj-choice label {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: var(--color-white); border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm); cursor: pointer;
  font-weight: 500; font-size: var(--step-0); color: var(--color-text); line-height: 1.3;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  min-height: 52px;
}
.pj-choice label:hover { border-color: var(--color-primary); }
.pj-choice label:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 15%, transparent);
}
.pj-choice input[type="radio"], .pj-choice input[type="checkbox"] { margin: 0; accent-color: var(--color-primary); flex-shrink: 0; }
@media (max-width: 640px) {
  .pj-choice { grid-template-columns: 1fr; }
  .pj-choice--row { grid-template-columns: repeat(3, 1fr); }
}
.pj-field--check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: flex-start; font-size: var(--step--1); line-height: 1.55; color: var(--color-muted); }
.pj-field--check input { margin-top: 0.3rem; accent-color: var(--color-primary); }
.pj-field--check a { color: var(--color-primary); text-decoration: underline; }
.pj-form__actions { display: flex; justify-content: flex-start; gap: 0.75rem; margin-top: 0.5rem; flex-wrap: wrap; }

/* §Wizard */
.pj-form--bewerbung_kurz, .pj-form--bewerbung_lang { gap: 2rem; }
.pj-wizard__progress {
  list-style: none; margin: 0 0 0.5rem; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.35rem;
}
.pj-wizard__progress li {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: var(--color-cream); border-radius: var(--radius-sm);
  font-size: 0.8125rem; font-weight: 500; color: var(--color-muted);
  transition: background 0.2s ease, color 0.2s ease;
}
.pj-wizard__progress li span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-white); color: var(--color-muted);
  font-weight: 700; font-size: 0.8125rem; flex-shrink: 0;
}
.pj-wizard__progress li.is-current { background: var(--color-primary); color: #fff; }
.pj-wizard__progress li.is-current span { background: #fff; color: var(--color-primary); }
.pj-wizard__progress li.is-done { background: var(--color-primary-soft); color: var(--color-primary); }
.pj-wizard__progress li.is-done span { background: var(--color-primary); color: #fff; }
@media (max-width: 640px) {
  .pj-wizard__progress { grid-template-columns: repeat(4, 1fr); gap: 0.25rem; }
  .pj-wizard__progress li { flex-direction: column; gap: 0.25rem; padding: 0.5rem 0.25rem; font-size: 0.75rem; text-align: center; }
}
.pj-wizard__step { display: none; }
.pj-wizard__step.is-active { display: grid; gap: 1.25rem; }
.pj-wizard__q { font-family: var(--font-body); font-size: var(--step-3); font-weight: 600; margin: 0; line-height: 1.25; }
.pj-wizard__hint { color: var(--color-muted); margin: -0.5rem 0 0; font-size: var(--step-0); }
.pj-wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 0.5rem; flex-wrap: wrap; }
.pj-wizard__nav button[disabled] { opacity: 0.4; cursor: not-allowed; }
.pj-wizard__notice {
  padding: 1rem 1.25rem;
  background: var(--color-accent-soft);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: var(--step--1);
  line-height: 1.5;
}

/* §TOC */
.toc { background: var(--color-cream); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin: 0; }
.toc h2 { font-size: var(--step-0); font-family: var(--font-body); font-weight: 700; margin-bottom: 0.875rem; }
.toc ol { padding-left: 1.25rem; margin: 0; }
.toc li { margin-bottom: 0.35rem; font-size: var(--step--1); }
.toc a { color: var(--color-text); transition: color 0.15s; }
.toc a:hover { color: var(--color-primary); }

.pillar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 3rem; align-items: start; }
.pillar-toc { position: sticky; top: 6rem; }
@media (max-width: 900px) {
  .pillar-layout { grid-template-columns: 1fr; }
  .pillar-toc { position: static; order: -1; margin-bottom: 1.5rem; }
}

/* §Form-page two-column layout */
.form-page-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 900px) { .form-page-layout { grid-template-columns: 1fr; gap: 2.5rem; } .form-page-layout__trust { order: 2; } }
.form-page-layout__trust { background: var(--color-deep-soft); border-radius: var(--radius-lg); padding: 2rem; }
.form-page-layout__trust h3 { font-size: var(--step-2); margin: 0 0 1rem; }

/* Map placeholder */
.map-container { border-radius: var(--radius-lg); overflow: hidden; background: var(--color-border); min-height: 320px; display: flex; align-items: center; justify-content: center; }
.map-container iframe { width: 100%; height: 100%; min-height: 320px; border: none; }

/* Tick marks */
.tick { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5em; font-weight: 700; line-height: 1; }
.tick--yes { color: var(--color-primary); }
.tick--no { color: var(--color-muted); }

/* ==========================================================================
   Video swap (Therapie dort, wo Menschen leben)
   ========================================================================== */
.block-feature-split__video video {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

/* ==========================================================================
   Benefits section - decorative skeleton
   ========================================================================== */
.block-benefits { position: relative; overflow: hidden; }
.block-benefits__deco {
  position: absolute;
  right: -3rem;
  bottom: -2rem;
  width: clamp(180px, 22vw, 360px);
  height: auto;
  opacity: 0.10;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  filter: none;
}
.block-benefits .container-xl { position: relative; z-index: 1; }
@media (max-width: 768px) {
  .block-benefits__deco { right: -3rem; bottom: -3rem; opacity: 0.07; }
}

/* ==========================================================================
   Testimonial carousel
   ========================================================================== */
.testimonial-carousel { position: relative; margin-top: 1rem; }
.testimonial-carousel__viewport {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 1rem 0.25rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}
.testimonial-carousel__viewport::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 calc((100% - 3rem) / 3); /* 3 visible by default */
  min-width: 280px;
  max-width: 380px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  scroll-snap-align: start;
  display: grid;
  gap: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.testimonial-card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-cream);
}
.testimonial-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

.testimonial-card__stars {
  color: var(--color-accent);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  margin-bottom: -0.25rem;
}

.testimonial-card__name {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  margin: 0;
}

.testimonial-card__bio {
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0;
}

.testimonial-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.testimonial-carousel__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  color: var(--color-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.testimonial-carousel__btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}
.testimonial-carousel__btn[data-pj-carousel-prev] svg { transform: rotate(180deg); }

.testimonial-carousel__dots {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.testimonial-carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.testimonial-carousel__dot.is-active {
  background: var(--color-primary);
  transform: scale(1.3);
}

@media (max-width: 1024px) {
  .testimonial-card { flex-basis: calc((100% - 1.5rem) / 2); }
}
@media (max-width: 640px) {
  .testimonial-card { flex-basis: 86%; }
}

/* §31 - Pillar-page hero (split heading + image, mobile-collapsible) */
.pillar-hero {
  background: linear-gradient(135deg, var(--color-cream) 0%, #fff 60%);
  padding: 3rem 0 3.5rem;
}
.pillar-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.pillar-hero--has-image .pillar-hero__inner {
  grid-template-columns: 3fr 2fr;
}
.pillar-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
@media (max-width: 768px) {
  .pillar-hero { padding: 2rem 0 2.5rem; }
  .pillar-hero--has-image .pillar-hero__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .pillar-hero--has-image .block-feature-split__image { display: none; }
  .pillar-hero h1 { font-size: var(--step-5); }
}

/* §32 - Mobile safety belt: ensure all top-level sections have edge padding,
   even if a plugin-injected block bypasses the .container-* classes.
   Defend against horizontal overflow from oversized children. */
@media (max-width: 768px) {
  #main-content > section > .container,
  #main-content > section > .container-xl,
  #main-content > section > .container-lg,
  #main-content > section > .container-md,
  #main-content > section > .container-sm {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  body { overflow-x: hidden; }
}

/* Map figure caption - used on the planbarkeit cellemap */
.map-figure { margin: 0; }
.map-figure__caption {
  margin-top: 0.75rem;
  font-size: var(--step--1);
  color: var(--color-muted);
  font-style: italic;
  text-align: center;
}

/* ==========================================================================
   §32 - Complianz cookie-policy / consent UI
   Brings the Complianz auto-generated document and the footer revoke link
   in line with the rest of the site's typography and palette.
   ========================================================================== */

/* Cookie-Einstellungen link - inherits color from context (white in footer, red in document) */
.cmplz-manage-consent { cursor: pointer; }

/* When a page contains the Complianz document block, break out of .prose's
   68ch clamp so cookie tables can use the full container-lg width. */
.prose:has(.cmplz-document) { max-width: none; }

/* Generated cookie-policy document body */
.cmplz-document {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--color-text);
  max-width: none;
}
.cmplz-document h2 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin: 2.5rem 0 0.6em;
}
.cmplz-document h3 {
  font-family: var(--font-body);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.3;
  margin: 1.75rem 0 0.5em;
}
.cmplz-document h4 {
  font-family: var(--font-body);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.35;
  margin: 1.5rem 0 0.5em;
  color: var(--color-text);
}
.cmplz-document p { margin: 0 0 1.25em; }
.cmplz-document ul,
.cmplz-document ol { margin: 0 0 1.25em; padding-left: 1.5rem; }
.cmplz-document li { margin-bottom: 0.4em; }
.cmplz-document a { color: var(--color-primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--color-primary-soft); transition: text-decoration-color 0.2s ease; }
.cmplz-document a:hover { text-decoration-color: var(--color-primary); }
.cmplz-document strong { font-weight: 600; color: var(--color-text); }

/* Cookie list - service blocks */
.cmplz-document .cmplz-service,
.cmplz-document .cmplz-cookie-purpose {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
  box-shadow: var(--shadow-card);
}
.cmplz-document .cmplz-service h3,
.cmplz-document .cmplz-cookie-purpose h3 {
  margin-top: 0;
  font-size: var(--step-1);
}

/* Cookie tables */
.cmplz-document table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 2rem;
  font-size: var(--step--1);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--color-white);
}
.cmplz-document thead th,
.cmplz-document th {
  background: var(--color-deep-soft);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}
.cmplz-document td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  color: var(--color-text);
}
.cmplz-document tr:nth-child(even) td { background: color-mix(in srgb, var(--color-deep-soft) 50%, var(--color-white)); }
.cmplz-document tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .cmplz-document table,
  .cmplz-document thead,
  .cmplz-document tbody,
  .cmplz-document tr,
  .cmplz-document th,
  .cmplz-document td { display: block; }
  .cmplz-document thead { display: none; }
  .cmplz-document tr {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
  }
  .cmplz-document tr:nth-child(even) td { background: transparent; }
  .cmplz-document td {
    border-bottom: none;
    padding: 0.25rem 0;
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 0.5rem;
  }
  .cmplz-document td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--color-muted);
    font-size: var(--step--1);
  }
}

/* "Last updated" / timestamp line - usually a <p> with the date at the top or bottom */
.cmplz-document .cmplz-last-updated,
.cmplz-document time { color: var(--color-muted); font-size: var(--step--1); }

/* Manage-consent link inline within docs */
.cmplz-document .cmplz-manage-consent { color: var(--color-primary); cursor: pointer; text-decoration: underline; }
.cmplz-document .cmplz-manage-consent-container { margin: 1.5rem 0; }

/* Subtitle (sub-section heading inside the document) */
.cmplz-document .cmplz-subtitle {
  font-family: var(--font-body);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.35;
  margin: 1.5rem 0 0.5em;
  color: var(--color-text);
}

/* Contact info block - Complianz emits these as inline-spans, often run together */
.cmplz-document .cmplz-contact-organisation,
.cmplz-document .cmplz-contact-address,
.cmplz-document .cmplz-contact-country,
.cmplz-document .cmplz-contact-email,
.cmplz-document .cmplz-contact-telephone,
.cmplz-document .cmplz-contact-domain { display: inline; }
.cmplz-document .cmplz-contact-organisation { font-weight: 600; }

