/* ==========================================================================
   Gute Pflege 2026 — Design System
   Design tokens, typography, components, layout
   ========================================================================== */

/* --------------------------------------------------------------------------
   §0 — Font-face declarations (self-hosted, 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;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@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;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@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 (CSS custom properties)
   -------------------------------------------------------------------------- */

:root {
  /* Brand colors */
  --color-primary:      #c51230;
  --color-primary-dark: #9E0E26;
  --color-primary-soft: #FDE9EC;
  --color-primary-rgb:  197, 18, 48;

  --color-accent:       #feae22;
  --color-accent-dark:  #D9931A;
  --color-accent-soft:  #FFF4DD;

  /* Neutrals */
  --color-cream:  #FBF7F2;
  --color-text:   #1F1F1F;
  --color-muted:  #5A5A5A;
  --color-border: #EAE4DA;
  --color-white:  #FFFFFF;

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

  /* Fluid type scale — ivydentist-style: airy body, restrained display */
  --step--1: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);         /* 15→16px   small / meta */
  --step-0:  clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);        /* 17→18px   body */
  --step-1:  clamp(1.1875rem, 1.13rem + 0.25vw, 1.3125rem);   /* 19→21px   lede / larger body */
  --step-2:  clamp(1.3125rem, 1.23rem + 0.35vw, 1.5rem);      /* 21→24px   h4 / card title */
  --step-3:  clamp(1.5rem, 1.38rem + 0.55vw, 1.8125rem);      /* 24→29px   h3 */
  --step-4:  clamp(1.75rem, 1.5rem + 1.1vw, 2.375rem);        /* 28→38px   h2 */
  --step-5:  clamp(2rem, 1.7rem + 1.5vw, 2.875rem);           /* 32→46px   h1 */
  --step-6:  clamp(2.375rem, 1.95rem + 2.1vw, 3.5rem);        /* 38→56px   hero */

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

  /* Container widths */
  --container-xl: 1280px;
  --container-lg: 1100px;
  --container-md:  820px;
  --container-sm:  640px;

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

  /* Shadows */
  --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 height */
  --header-h: 72px;
}

/* --------------------------------------------------------------------------
   §2 — Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  font-size: 100%;
  -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-white);
  margin: 0;
  font-optical-sizing: auto;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-x: hidden;
}

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

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;
}

h1 {
  font-size: var(--step-5);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  max-width: 22ch;
}

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;
  letter-spacing: -0.005em;
}

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-cream); }
.section--dark  { background: var(--color-text); color: var(--color-white); }

/* --------------------------------------------------------------------------
   §5 — Eyebrow labels
   -------------------------------------------------------------------------- */

.eyebrow {
  position: relative;
  display: inline-block;
  padding-left: 1.75rem;
  font-size: var(--step--1);
  font-weight: 600;
  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: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   §6 — Button system
   -------------------------------------------------------------------------- */

.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;
  letter-spacing: -0.005em;
  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-large {
  padding: 1.125rem 2.25rem;
  font-size: var(--step-1);
}

.btn:active { transform: translateY(1px) scale(0.98); }

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   §7 — Prose / body copy styling
   -------------------------------------------------------------------------- */

.prose {
  max-width: 68ch;
}

.prose p {
  margin: 0 0 1.25em;
}

/* Inline links only — exclude .btn so primary/ghost buttons rendered inside
   page content keep their button colors (was causing red-on-red CTAs). */
.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: linear-gradient(180deg, transparent 60%, var(--color-accent-soft) 60%);
  padding: 0 0.15em;
  color: inherit;
}

/* Blockquote — pull quotes */
.prose blockquote {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.35;
  color: var(--color-text);
  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: "— "; }

/* Lists */
.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; }

/* Tables */
.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);
  letter-spacing: 0.02em;
  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; }
.prose tr.total td {
  font-weight: 700;
  background: var(--color-primary-soft);
}

/* Lede paragraph */
.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;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sticky);
  height: calc(var(--header-h) - 10px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom-color: var(--color-border);
}

.site-header__inner {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.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: 36px;
  width: auto;
  max-width: none;
  display: block;
  transition: height 0.25s ease;
}
.site-header.scrolled .site-header__logo img { height: 30px; }

/* Below full-desktop: slightly smaller logo so nav + actions fit comfortably */
@media (max-width: 1439px) {
  .site-header__logo img { height: 32px; }
  .site-header.scrolled .site-header__logo img { height: 28px; }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  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.5rem 0.65rem;
  font-weight: 500;
  font-size: 0.9375rem;
  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.55rem 0.85rem; font-size: 1rem; }
}
.site-nav__link:hover,
.site-nav__item:focus-within > .site-nav__link {
  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-nav__caret {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-top: 1px;
}
.site-nav__item.has-dropdown:hover > .site-nav__link .site-nav__caret,
.site-nav__item.has-dropdown:focus-within > .site-nav__link .site-nav__caret {
  transform: rotate(180deg);
}

/* Dropdown */
.site-nav__item.has-dropdown:hover > .site-nav__dropdown,
.site-nav__item.has-dropdown:focus-within > .site-nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav__dropdown {
  position: absolute;
  /* Zero top gap + invisible hover-bridge so moving from link→dropdown never dismisses it */
  top: 100%;
  left: 50%;
  transform: translate(-50%, -8px);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  min-width: 260px;
  padding: 0.5rem;
  margin: 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 110;
}
/* Hover bridge — invisible triangle above dropdown keeps hover state alive while moving cursor */
.site-nav__dropdown::before {
  content: '';
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}
.site-nav__item.has-dropdown:hover > .site-nav__dropdown,
.site-nav__item.has-dropdown:focus-within > .site-nav__dropdown {
  transform: translate(-50%, 0);
}

.site-nav__dropdown li { list-style: none; margin: 0; }
.site-nav__dropdown a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: var(--step--1);
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.site-nav__dropdown a:hover,
.site-nav__dropdown a:focus-visible {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  outline: none;
}

.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 {
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.site-header__phone:hover {
  color: var(--color-primary);
  background: var(--color-primary-soft);
}
/* Phone link: icon-only by default, full number only on truly wide screens
   where everything comfortably fits (1440px+). */
.site-header__phone-text { display: none; }
.site-header__phone {
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
  color: var(--color-primary);
  background: var(--color-primary-soft);
}
@media (min-width: 1440px) {
  .site-header__phone-text { display: inline; }
  .site-header__phone {
    width: auto;
    height: auto;
    padding: 0.5rem 0.85rem;
    background: transparent;
    color: var(--color-text);
  }
  .site-header__phone:hover {
    color: var(--color-primary);
    background: var(--color-primary-soft);
  }
}

/* Mobile 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 overlay */
.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;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.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: block;
  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;
  display: flex;
  align-items: center;
}
.mobile-menu__nav li a:hover { color: var(--color-primary); }

.mobile-menu__cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Below 1280, the 5-item German nav + logo + phone + CTA gets too tight.
   Switch to the hamburger menu. Phone icon stays visible until tablet. */
@media (max-width: 1279px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 1024px) {
  .site-header__phone { display: none; }
  :root { --header-h: 60px; }
}

/* --------------------------------------------------------------------------
   §9 — Hero block
   -------------------------------------------------------------------------- */

.block-hero {
  padding: 5rem 0 6rem;
  background: linear-gradient(135deg, var(--color-cream) 0%, #fff 60%);
  overflow: hidden;
}

.block-hero__inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: stretch;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.block-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.block-hero h1 {
  font-size: var(--step-6);
  line-height: 1.1;
  max-width: 18ch;
}

.block-hero h1 span {
  color: var(--color-primary);
}

.block-hero__lede {
  font-size: var(--step-1);
  color: var(--color-muted);
  max-width: 34rem;
  margin: 1.5rem 0 2rem;
  line-height: 1.65;
}

.block-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.block-hero__image {
  position: relative;
  height: 100%;
  min-height: 100%;
}

.block-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% top;
  border-radius: var(--radius-lg);
  display: block;
}

@media (max-width: 768px) {
  .block-hero {
    padding: 3rem 0 4rem;
  }
  .block-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .block-hero h1 {
    font-size: var(--step-5);
  }
  .block-hero__image { display: none; }
}

/* --------------------------------------------------------------------------
   §10 — Trust badge row
   -------------------------------------------------------------------------- */

.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: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-soft);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}
.trust-badge__icon svg { width: 22px; height: 22px; }

.trust-badge__text strong {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  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;
  }
}

/* --------------------------------------------------------------------------
   §11 — Service card grid
   -------------------------------------------------------------------------- */

.block-services .section-header {
  margin-bottom: 3rem;
}

.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: 48px;
  height: 48px;
  background: var(--color-cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  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);
  transition: gap 0.2s;
}


/* --------------------------------------------------------------------------
   §12 — Feature split (50/50 with offset frame)
   -------------------------------------------------------------------------- */

.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__image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  display: block;
}

.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: 2.5rem;
    direction: ltr !important;
  }
  .block-feature-split__image { display: none; }
}

/* --------------------------------------------------------------------------
   §13 — Process / "So funktioniert's" tabbed block
   -------------------------------------------------------------------------- */

.block-process {
  background: var(--color-cream);
}

.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;
  letter-spacing: -0.01em;
  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 choose us 2×2 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-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-primary-soft);
  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;
}

@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .reasons-grid { grid-template-columns: 1fr; }
}
.reason-card {
  margin: 0;
  padding: 1.5rem 1.75rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-card);
}
.reason-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text);
}

.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; }
}

.block-whyus {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}
.block-whyus__illustration img {
  width: 100%;
  height: auto;
  max-width: 560px;
  margin: 0 auto;
  display: block;
  mix-blend-mode: multiply;
}

@media (max-width: 960px) {
  .block-whyus { grid-template-columns: 1fr; gap: 2rem; }
  .block-whyus__illustration { order: -1; max-width: 440px; margin: 0 auto; }
}

/* --------------------------------------------------------------------------
   Typische Aufgaben — standalone task-tile strip (SEO-indexable day-to-day
   activities, replaces former decorative tasks.png).
   -------------------------------------------------------------------------- */

.block-tasks { background: var(--color-white); }
.block-tasks .section-header { margin-bottom: 2.5rem; }
.block-tasks .lede { max-width: 46rem; }

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

.tasks-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
  padding: 1.75rem 0.75rem;
  background: var(--color-cream);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
@media (hover: hover) {
  .tasks-grid__item:hover {
    border-color: var(--color-primary);
    background: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
  }
}

.tasks-grid__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.tasks-grid__icon svg { width: 26px; height: 26px; }

.tasks-grid__label {
  font-weight: 500;
  font-size: var(--step-0);
  color: var(--color-text);
  line-height: 1.3;
  letter-spacing: -0.005em;
}

@media (max-width: 960px) {
  .tasks-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .tasks-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .tasks-grid__item { padding: 1.5rem 0.5rem; }
}

/* --------------------------------------------------------------------------
   §15 — Pricing highlight card
   -------------------------------------------------------------------------- */

.pricing-card {
  background: var(--color-white);
  border: 2px solid var(--color-primary-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  max-width: 560px;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: var(--step-5);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.pricing-card__sub {
  color: var(--color-muted);
  font-size: var(--step--1);
  margin-bottom: 1.5rem;
}

.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 block
   -------------------------------------------------------------------------- */

.block-testimonials {
  background: var(--color-cream);
}

.testimonials__rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.google-logo {
  height: 24px;
  width: auto;
}

.stars {
  color: #FBB41A;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}

.testimonials__score {
  font-weight: 700;
  font-size: var(--step-1);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: var(--step-0);
}
.testimonial-card__date {
  font-size: var(--step--1);
  color: var(--color-muted);
}

.testimonial-card__stars {
  color: #FBB41A;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.testimonial-card__text {
  font-size: var(--step-0);
  color: var(--color-text);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

.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: #FBB41A;
  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
   -------------------------------------------------------------------------- */

.block-faq {
  background: var(--color-white);
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 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-answer {
  font-size: var(--step-0);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--color-primary); }

.faq-item[open] summary { color: var(--color-primary); }

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.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 — Team strip / grid
   -------------------------------------------------------------------------- */

.team-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.team-card {
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0.875rem;
  background: var(--color-cream);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}
@media (hover: hover) {
  .team-card:hover .team-card__photo {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
  }
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-card__name {
  font-weight: 600;
  font-size: var(--step-0);
  margin-bottom: 0.2rem;
}

.team-card__role {
  font-size: var(--step--1);
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .team-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .team-strip { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   §19 — Blog teaser grid
   -------------------------------------------------------------------------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.blog-card {
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
}
@media (hover: hover) {
  .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
}

.blog-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.blog-card:hover .blog-card__image img { transform: scale(1.03); }

.blog-card__body {
  padding: 1.25rem;
}

.blog-card__tag {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.blog-card__excerpt {
  font-size: var(--step-0);
  color: var(--color-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   §20 — Contact / "Visit us" block
   -------------------------------------------------------------------------- */

.block-contact {
  background: var(--color-cream);
}

.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;
}

.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;
}

@media (max-width: 768px) {
  .block-contact__inner { grid-template-columns: 1fr; gap: 2rem; }
  .map-container { min-height: 240px; }
}

/* --------------------------------------------------------------------------
   §21 — CTA strip
   -------------------------------------------------------------------------- */

.block-cta-strip {
  background: var(--color-cream);
  text-align: center;
}

.block-cta-strip h2 {
  margin: 0 auto 0.75rem;
}

.block-cta-strip p {
  color: var(--color-muted);
  max-width: 44ch;
  margin: 0 auto 2rem;
}

.block-cta-strip__btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   §22 — "Das Wichtigste in Kürze" info box
   -------------------------------------------------------------------------- */

.info-box {
  background: var(--color-cream);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

.info-box h2 {
  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;
  padding: 0.5rem 0;
  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 {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   §23 — Table of contents (pillar pages)
   -------------------------------------------------------------------------- */

.toc-wrapper {
  position: relative;
}

.toc {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.toc h2 {
  font-size: var(--step-0);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.875rem;
}

.toc ol {
  padding-left: 1.25rem;
  margin: 0;
  counter-reset: toc;
}

.toc li {
  margin-bottom: 0.35rem;
  font-size: var(--step--1);
}

.toc a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s;
}
.toc a:hover { color: var(--color-primary); }

/* --------------------------------------------------------------------------
   §24 — Inline CTA card (within pillar page body)
   -------------------------------------------------------------------------- */

.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
   -------------------------------------------------------------------------- */

.site-footer {
  background: #2A2320;
  color: rgba(255,255,255,0.85);
  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 {
  filter: brightness(0) invert(1);
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
}

.site-footer__tagline {
  font-size: var(--step--1);
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.site-footer__contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.9);
  font-size: var(--step-0);
  margin-bottom: 0.5rem;
  transition: color 0.15s;
}
.site-footer__contact a:hover { color: var(--color-accent); }

.footer-col h4 {
  color: var(--color-white);
  font-size: var(--step--1);
  font-weight: 600;
  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: rgba(255,255,255,0.78);
  font-size: var(--step-0);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--color-accent); }

.footer-hours {
  font-size: var(--step--1);
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--step--1);
  color: rgba(255,255,255,0.5);
}

.site-footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-footer__legal a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer__legal a:hover { color: rgba(255,255,255,0.85); }

@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 call button
   -------------------------------------------------------------------------- */

.float-call {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-primary);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.float-call.visible { opacity: 1; }
.float-call:hover { transform: scale(1.08); }

@media (max-width: 1024px) {
  .float-call { display: flex; }
}

/* --------------------------------------------------------------------------
   §27 — Section header helper
   -------------------------------------------------------------------------- */

.section-header {
  margin-bottom: 3rem;
}
.section-header--center {
  text-align: center;
}
.section-header--center h2 { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   §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); text-decoration: none; }
.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);
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* Stagger children */
[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-stagger] > * { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   §31 — Utility classes
   -------------------------------------------------------------------------- */

.text-primary { color: var(--color-primary); }
.text-muted    { color: var(--color-muted); }
.text-center   { text-align: center; }
.text-balance  { text-wrap: balance; }

/* --------------------------------------------------------------------------
   §28 — Overlay hero (image-backed, text on top)
   -------------------------------------------------------------------------- */

.hero-overlay {
  position: relative;
  width: 100%;
  min-height: 460px;
  overflow: hidden;
  background: var(--color-text);
  isolation: isolate;
}

.hero-overlay__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 0;
}

.hero-overlay__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20,14,10,0.72) 0%, rgba(20,14,10,0.45) 45%, rgba(20,14,10,0.15) 100%),
    linear-gradient(180deg, rgba(20,14,10,0.25) 0%, rgba(20,14,10,0) 30%, rgba(20,14,10,0.35) 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: 22ch;
}

.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;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost--onimg:hover {
  background: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-white);
}

/* Breadcrumbs on top of overlay — translucent white */
.hero-overlay .breadcrumb {
  color: rgba(255, 255, 255, 0.78);
  padding-top: 0;
  padding-bottom: 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); }
}

/* Table tick marks — used in comparison tables to replace ✅/❌ emoji */
.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); }

/* Button with leading icon — keeps svg aligned with the label */
.btn svg { flex-shrink: 0; }

.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 — unified native form system (replaces FluentForms)
   ========================================================================== */

.gp-form {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.gp-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;
}
.gp-form__notice--ok {
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent);
  color: var(--color-text);
}
.gp-form__notice--err {
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary);
  color: var(--color-text);
}

/* Rows & layout */
.gp-form__row { display: grid; gap: 1.25rem; }
.gp-form__row--2col  { grid-template-columns: 1fr 1fr; }
.gp-form__row--inline {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.gp-form__row--inline .btn { flex-shrink: 0; }

@media (max-width: 640px) {
  .gp-form__row--2col { grid-template-columns: 1fr; gap: 1rem; }
}

/* Field */
.gp-field {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.gp-field--grow { flex: 1; min-width: 220px; }

.gp-field__label {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--color-text);
}
.gp-field__label--optional::after {
  content: " (optional)";
  color: var(--color-muted);
  font-weight: 400;
}
.gp-field__label--sr {
  position: absolute;
  width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.gp-field__req { color: var(--color-primary); font-weight: 700; }

/* Inputs */
.gp-form input[type="text"],
.gp-form input[type="email"],
.gp-form input[type="tel"],
.gp-form input[type="date"],
.gp-form input[type="number"],
.gp-form select,
.gp-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;
}
.gp-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='%235a5a5a' 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;
}
.gp-form textarea { resize: vertical; min-height: 120px; }

.gp-form input:focus,
.gp-form select:focus,
.gp-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}
.gp-form input:invalid:not(:placeholder-shown):not(:focus),
.gp-form select:invalid:not(:focus) {
  /* don't paint red on untouched fields — browsers are aggressive here */
}

/* Radio/checkbox groups */
.gp-choice {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr 1fr;
}
.gp-choice--stack  { grid-template-columns: 1fr; }
.gp-choice--row    { grid-template-columns: repeat(6, 1fr); }
.gp-choice--inline {
  grid-template-columns: unset;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gp-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;
}
.gp-choice label:hover { border-color: var(--color-primary); }
.gp-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);
}
.gp-choice label:focus-within {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}
.gp-choice input[type="radio"],
.gp-choice input[type="checkbox"] {
  margin: 0;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.gp-choice__check {
  /* compact variant for long checkbox lists */
  padding: 0.55rem 0.85rem;
  min-height: 44px;
}

@media (max-width: 640px) {
  .gp-choice { grid-template-columns: 1fr; }
  .gp-choice--row { grid-template-columns: repeat(3, 1fr); }
}

/* Full-row checkbox (terms / consent) */
.gp-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);
}
.gp-field--check input { margin-top: 0.3rem; accent-color: var(--color-primary); }
.gp-field--check a { color: var(--color-primary); text-decoration: underline; text-decoration-color: var(--color-primary-soft); }

.gp-form__actions {
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

/* Fieldset reset for radio groups */
.gp-field--group {
  margin: 0;
  padding: 0;
  border: 0;
}
.gp-field--group > legend { padding: 0; margin-bottom: 0.5rem; font-size: var(--step--1); font-weight: 600; color: var(--color-text); }

/* --------------------------------------------------------------------------
   Form wizard (Kurzform)
   -------------------------------------------------------------------------- */

.gp-form--kurzform { gap: 2rem; }

.gp-wizard__progress {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}
.gp-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);
  letter-spacing: 0;
  text-transform: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.gp-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;
}
.gp-wizard__progress li.is-current { background: var(--color-primary); color: #fff; }
.gp-wizard__progress li.is-current span { background: #fff; color: var(--color-primary); }
.gp-wizard__progress li.is-done { background: var(--color-primary-soft); color: var(--color-primary); }
.gp-wizard__progress li.is-done span { background: var(--color-primary); color: #fff; }

@media (max-width: 640px) {
  .gp-wizard__progress { grid-template-columns: repeat(4, 1fr); gap: 0.25rem; }
  .gp-wizard__progress li { flex-direction: column; gap: 0.25rem; padding: 0.5rem 0.25rem; font-size: 0.75rem; text-align: center; }
}

.gp-wizard__step { display: none; }
.gp-wizard__step.is-active { display: grid; gap: 1.25rem; }

.gp-wizard__q {
  font-family: var(--font-body);
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.25;
}
.gp-wizard__hint {
  color: var(--color-muted);
  margin: -0.5rem 0 0;
  font-size: var(--step-0);
}
.gp-wizard__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.gp-wizard__nav button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   Long form — sectioned
   -------------------------------------------------------------------------- */

.gp-form--langform { gap: 2rem; }

.gp-section {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: grid;
  gap: 1.25rem;
  box-shadow: var(--shadow-card);
}
.gp-section__title {
  font-family: var(--font-body);
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.gp-section__hint {
  color: var(--color-muted);
  font-size: var(--step-0);
  margin: -0.75rem 0 0;
  line-height: 1.55;
}

/* Nested per-person subsections within a larger step */
.gp-subsection {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 0 0.5rem;
  border-top: 1px dashed var(--color-border);
}
.gp-subsection:first-child { padding-top: 0; border-top: 0; }
.gp-subsection__title {
  font-family: var(--font-body);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.25rem;
  letter-spacing: -0.005em;
}

/* Conditional-visibility wrapper — shown/hidden via JS, with smooth reveal. */
.gp-cond {
  display: grid;
  gap: 1.25rem;
}
.gp-cond[hidden] { display: none; }

/* Indented detail fields that appear inline after a Ja/Nein question */
.gp-cond > .gp-field {
  margin-left: 1rem;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  border-left: 3px solid var(--color-accent);
  background: linear-gradient(90deg, var(--color-cream) 0%, transparent 90%);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Long-form progress bar — 8 steps stacked vertically so labels never wrap.
   Number chip on top, label underneath; the active pill fills red. */
.gp-wizard__progress--long {
  grid-template-columns: repeat(8, 1fr);
  gap: 0.4rem;
}
.gp-wizard__progress--long li {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  padding: 0.65rem 0.35rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  min-width: 0;
}
.gp-wizard__progress--long li span {
  width: 26px;
  height: 26px;
  font-size: 0.8125rem;
  font-weight: 700;
}
@media (max-width: 720px) {
  .gp-wizard__progress--long { gap: 0.25rem; }
  .gp-wizard__progress--long li {
    padding: 0.5rem 0.25rem 0;
    font-size: 0;           /* hide the label on small screens */
    gap: 0;
  }
  .gp-wizard__progress--long li span {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
}

@media (max-width: 640px) {
  .gp-section { padding: 1.5rem 1.25rem; }
  .gp-subsection { padding: 1rem 0 0.25rem; }
  .gp-cond > .gp-field { margin-left: 0.5rem; }
}

/* ==========================================================================
   Kosten-Check — single-question calculator
   ========================================================================== */
.kcheck {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.kcheck__card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-card);
}

/* Brutto headline card */
.kcheck__brutto {
  display: grid;
  gap: 0.35rem;
  text-align: center;
}
.kcheck__label {
  font-size: var(--step-0);
  color: var(--color-muted);
}
.kcheck__value--lg {
  font-family: var(--font-display);
  font-size: var(--step-6);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.kcheck__hint {
  font-size: var(--step--1);
  color: var(--color-muted);
}

/* Question card */
.kcheck__question {
  margin: 0;
  padding: 2rem 2.25rem;
}
.kcheck__question legend { padding: 0; margin-bottom: 1.25rem; }
.kcheck__q {
  font-family: var(--font-body);
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

/* Mode toggle — Einzelperson / Paar */
.kcheck__mode { padding: 1.5rem 2.25rem; }
.kcheck__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.kcheck__mode-opt {
  position: relative;
  cursor: pointer;
  display: block;
}
.kcheck__mode-opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.kcheck__mode-opt > span {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.kcheck__mode-opt:hover > span { border-color: var(--color-primary); }
.kcheck__mode-opt input:checked + span {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.kcheck__mode-opt strong { font-weight: 600; font-size: var(--step-0); color: inherit; }
.kcheck__mode-opt small { color: var(--color-muted); font-weight: 400; font-size: var(--step--1); }
.kcheck__mode-opt input:checked + span small { color: var(--color-primary); opacity: 0.8; }

/* Per-person grade row label */
.kcheck__grade-row { display: grid; gap: 0.5rem; }
.kcheck__grade-row[hidden] { display: none; }
.kcheck__grade-row + .kcheck__grade-row { margin-top: 1.25rem; }
.kcheck__grade-row-label {
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--color-primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.kcheck__grades {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}
.kcheck__grade {
  position: relative;
  cursor: pointer;
}
.kcheck__grade input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.kcheck__grade-label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 0.75rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.kcheck__grade:hover .kcheck__grade-label {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.kcheck__grade input:checked + .kcheck__grade-label {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.2);
}
.kcheck__grade input:focus-visible + .kcheck__grade-label {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .kcheck__grades { grid-template-columns: repeat(5, 1fr); gap: 0.35rem; }
  .kcheck__grade-label { font-size: 1.5rem; height: 60px; padding: 0 0.25rem; }
  .kcheck__card, .kcheck__question { padding: 1.5rem 1.25rem; }
}

/* Savings breakdown */
.kcheck__savings {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-card);
}
.kcheck__savings-title {
  font-family: var(--font-body);
  font-size: var(--step-3);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}
.kcheck__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  transition: opacity 0.2s ease;
}
.kcheck__row:last-child { border-bottom: none; }
.kcheck__row-text strong {
  display: block;
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--color-text);
  margin-bottom: 0.15rem;
}
.kcheck__row-text span {
  display: block;
  font-size: var(--step--1);
  color: var(--color-muted);
  line-height: 1.45;
}
.kcheck__row-value {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.kcheck__row--sum {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--color-text);
  border-bottom: none;
}
.kcheck__row--sum .kcheck__row-value {
  font-size: var(--step-3);
}

/* Final result card */
.kcheck__result {
  background: linear-gradient(135deg, var(--color-primary-soft) 0%, #fff 85%);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.25rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.kcheck__result-label {
  font-size: var(--step-0);
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}
.kcheck__result-value {
  font-family: var(--font-display);
  font-size: var(--step-6);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.kcheck__note {
  font-size: var(--step--1);
  color: var(--color-muted);
  max-width: 48ch;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
}
.kcheck__cta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Details/summary FAQ baseline */
details.faq-item > summary,
.prose details > summary {
  cursor:pointer; font-weight:600; padding:1rem 0;
  list-style:none;
  display:flex; justify-content:space-between; align-items:center;
  border-top:1px solid var(--color-border);
}
.prose details { border:0; }
.prose details > summary::after { content:"+"; color:var(--color-primary); font-size:1.5rem; line-height:1; }
.prose details[open] > summary::after { content:"−"; }
.prose details > *:not(summary) { padding:.5rem 0 1rem; }

/* Pillar layout with sidebar ToC */
.pillar-layout {
  display:grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap:3rem;
  align-items:start;
}
.pillar-toc {
  position:sticky; top:6rem;
  padding:1.5rem;
  border:1px solid var(--color-border);
  border-radius:var(--radius-md);
  background:#fff;
}
.pillar-toc h2 { font-size:var(--step-0); margin:0 0 .75rem; }
@media (max-width:900px) {
  .pillar-layout { grid-template-columns:1fr; }
  .pillar-toc { position:static; order:-1; margin-bottom:1.5rem; }
}

/* ==========================================================================
   Full team page bios (/ueber-uns/team/)
   ========================================================================== */
.team-bios { display:grid; gap:4rem; }
.team-bio {
  display:grid;
  grid-template-columns: 300px 1fr;
  gap:2.5rem;
  align-items:start;
}
.team-bio__photo {
  position:sticky; top:calc(var(--header-h) + 1.5rem);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/5;
  background: var(--color-cream);
}
.team-bio__photo img {
  width:100%; height:100%; object-fit:cover; object-position: top center; display:block;
  transition: transform .5s ease;
}
.team-bio:hover .team-bio__photo img { transform: scale(1.03); }
.team-bio__body h2 {
  font-size: var(--step-3);
  font-family: var(--font-display);
  margin:0 0 .25rem;
}
.team-bio__role {
  color: var(--color-primary);
  font-weight:600;
  margin:0 0 1.25rem;
  font-size: var(--step-0);
}
.team-bio__body p { margin: 0 0 1rem; color: var(--color-text); }
.team-bio__body blockquote {
  border-left: 3px solid var(--color-accent);
  padding: .25rem 0 .25rem 1.25rem;
  margin: 1rem 0 1.25rem;
  color: var(--color-muted);
  font-style: italic;
}
@media (max-width: 820px) {
  .team-bio { grid-template-columns: 1fr; gap:1.5rem; }
  .team-bio__photo { position:static; max-width:320px; }
}
