/* ==========================================================================
   AllVital Alltagsbegleitung & Betreuung zu Hause
   Design system + page styles
   Palette derived from the AllVital logo (sage #7A875C / forest #536444 /
   charcoal #504F4D). Deliberately single-theme: a warm, high-legibility
   light identity, sized up for older readers.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light only;

  /* Brand */
  --forest-900: #26331D;
  --forest-800: #32421F;
  --forest-700: #3F5232;
  --forest-600: #4E6640;
  --sage-500:   #7A875C;
  --sage-400:   #93A177;
  --sage-200:   #C6CFB4;
  --sage-100:   #E4EAD8;
  --sage-50:    #EFF2E8;

  /* Warm secondary, used sparingly, never as a second "brand colour" */
  --oat-200: #E6DCC2;
  --oat-100: #F1EADA;

  /* Neutrals, biased green so they read as chosen, not inherited */
  --ink:        #2B2E27;
  --ink-soft:   #575D50;
  --ink-faint:  #7C8274;
  --rule:       #DEDFD5;
  --rule-soft:  #EAEBE2;
  --paper:      #F7F7F2;
  --paper-warm: #F2F2EA;
  --surface:    #FFFFFF;

  /* Feedback */
  --error: #A5442E;

  /* Type scale */
  --step--2: 0.78rem;
  --step--1: 0.9rem;
  --step-0:  1.0625rem;
  --step-1:  1.2rem;
  --step-2:  clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
  --step-3:  clamp(1.7rem, 1.4rem + 1.3vw, 2.3rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.4vw, 3.1rem);
  --step-5:  clamp(2.5rem, 1.7rem + 3.6vw, 4.05rem);

  /* Layout */
  --header-h: 104px;
  --header-h-stuck: 84px;
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.25rem, 3rem + 5.5vw, 7.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --arch: 999px 999px var(--radius-lg) var(--radius-lg);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 340ms;

  --shadow-sm: 0 1px 2px rgba(38, 51, 29, 0.05), 0 4px 14px rgba(38, 51, 29, 0.05);
  --shadow-md: 0 2px 6px rgba(38, 51, 29, 0.06), 0 18px 40px rgba(38, 51, 29, 0.09);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Figtree", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* All UI icons are stroked line art driven by currentColor */
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

h1, h2, h3, h4 {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--forest-900);
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }

p { margin: 0; }

a { color: inherit; }

em, .em {
  font-style: italic;
  color: var(--forest-700);
}

strong { font-weight: 600; }

::selection { background: var(--sage-200); color: var(--forest-900); }

:focus-visible {
  outline: 3px solid var(--forest-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--forest-700);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top 200ms var(--ease);
}
.skip-link:focus { top: 0; }

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 860px; }

/* In-page anchors must clear the sticky header */
section[id], header[id] { scroll-margin-top: calc(var(--header-h-stuck) + 12px); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 2rem + 3.5vw, 4.75rem); }

.section-head {
  display: grid;
  gap: 1.1rem;
  max-width: 62ch;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-500);
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.lead {
  font-size: var(--step-1);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 58ch;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--forest-700);
  --btn-fg: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  background: var(--forest-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }

.btn svg { width: 20px; height: 20px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--forest-900);
  border-color: var(--rule);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--sage-400);
}

.btn--light {
  --btn-bg: #FFFFFF;
  --btn-fg: var(--forest-900);
}
.btn--light:hover { background: var(--sage-50); }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Text link with a rule that grows on hover */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--forest-700);
  text-decoration: none;
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1.5px;
  transition: background-size var(--dur) var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 247, 242, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--rule);
  background: rgba(247, 247, 242, 0.94);
  box-shadow: 0 6px 24px rgba(38, 51, 29, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height var(--dur) var(--ease);
}
.site-header.is-stuck .header-inner { min-height: var(--header-h-stuck); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex: none;
}
.brand img {
  height: 76px;
  width: auto;
  transition: height var(--dur) var(--ease);
}
.site-header.is-stuck .brand img { height: 60px; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: var(--step--1);
  letter-spacing: 0.01em;
  padding: 0.4rem 0;
  position: relative;
  transition: color var(--dur) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--sage-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover { color: var(--forest-900); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--forest-900);
  font-size: var(--step--1);
  white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--sage-500); }
.header-phone:hover { color: var(--forest-700); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--rule);
  background: var(--surface);
  border-radius: 12px;
  cursor: pointer;
  color: var(--forest-900);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5rem);
  overflow: hidden;
}
.hero::before {
  /* soft sage bloom behind the headline */
  content: "";
  position: absolute;
  top: -22%;
  left: -12%;
  width: 60vw;
  max-width: 720px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(198, 207, 180, 0.5) 0%, rgba(247, 247, 242, 0) 68%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 1rem + 5vw, 4rem);
  align-items: center;
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.02fr 0.98fr; }
}

.hero-copy { display: grid; gap: 1.5rem; justify-items: start; }
.hero-copy h1 { max-width: 15ch; }
.hero-copy .lead { max-width: 46ch; }

.hero-points {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.hero-points svg {
  width: 20px; height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--sage-500);
}

/* Arched portrait, echoes the roofline in the AllVital mark */
.hero-media { position: relative; }
.hero-figure {
  position: relative;
  margin: 0;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--sage-100);
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-md);
}
.hero-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(38, 51, 29, 0.07);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  left: clamp(-0.5rem, -2vw, -2.25rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  padding: 0.9rem 1.15rem;
  box-shadow: var(--shadow-md);
  max-width: 275px;
}
.hero-badge-icon {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-50);
  color: var(--forest-700);
}
.hero-badge-icon svg { width: 21px; height: 21px; }
.hero-badge b {
  display: block;
  font-size: var(--step--1);
  color: var(--forest-900);
  font-weight: 700;
  line-height: 1.3;
}
.hero-badge span {
  font-size: var(--step--2);
  color: var(--ink-faint);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   7. Trust strip
   -------------------------------------------------------------------------- */
.trust {
  border-block: 1px solid var(--rule-soft);
  background: var(--paper-warm);
}
.trust-list {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0;
  display: grid;
  gap: 1.25rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
}
.trust-list svg { width: 26px; height: 26px; color: var(--sage-500); flex: none; }

/* --------------------------------------------------------------------------
   8. Services, hairline grid, not stamped cards
   -------------------------------------------------------------------------- */
.services-grid {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.75rem);
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 680px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service {
  background: var(--paper);
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.4rem);
  display: grid;
  gap: 0.8rem;
  align-content: start;
  position: relative;
  transition: background-color var(--dur) var(--ease);
}
.service:hover { background: var(--surface); }

.service-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--sage-50);
  color: var(--forest-700);
  margin-bottom: 0.35rem;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.service-icon svg { width: 23px; height: 23px; }
.service:hover .service-icon {
  background: var(--forest-700);
  color: #fff;
  transform: translateY(-3px);
}

.service h3 { font-size: var(--step-2); }
.service p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.62; }

.service-tags {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.service-tags li {
  font-size: var(--step--2);
  color: var(--ink-faint);
  background: var(--sage-50);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  line-height: 1.5;
}

/* Captioned photo band, concrete moments, not decoration */
.gallery {
  margin-top: clamp(2.25rem, 1.75rem + 2vw, 3.25rem);
  display: grid;
  gap: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
}
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

.gallery figure {
  margin: 0;
  display: grid;
  gap: 0.95rem;
  align-content: start;
  transition: transform var(--dur) var(--ease);
}
.gallery figure:hover { transform: translateY(-4px); }

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--sage-100);
  box-shadow: var(--shadow-sm);
}

.gallery figcaption {
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--ink-soft);
  padding-left: 0.9rem;
  border-left: 2px solid var(--sage-200);
}
.gallery figcaption b { color: var(--forest-900); font-weight: 700; }

/* --------------------------------------------------------------------------
   9. Audience band
   -------------------------------------------------------------------------- */
.audience {
  background: var(--surface);
  border-block: 1px solid var(--rule-soft);
}
.audience-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.75rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}
.audience-item {
  display: grid;
  gap: 0.5rem;
  padding-top: 1.15rem;
  border-top: 2px solid var(--sage-200);
}
.audience-item h3 { font-size: var(--step-1); font-family: "Figtree", sans-serif; font-weight: 700; letter-spacing: 0; }
.audience-item p { font-size: var(--step--1); color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   10. Process, full-bleed forest band (the page's one bold move)
   -------------------------------------------------------------------------- */
.process {
  background: var(--forest-900);
  color: #EDEFE6;
  position: relative;
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 55vw;
  max-width: 640px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(122, 135, 92, 0.4) 0%, rgba(38, 51, 29, 0) 70%);
  pointer-events: none;
}
.process > .container { position: relative; z-index: 1; }
.process h2 { color: #FFFFFF; }
/* the global em colour is forest green, which disappears on this dark ground */
.process em, .process .em { color: var(--sage-200); }
.process .eyebrow { color: var(--sage-400); }
.process .lead { color: rgba(237, 239, 230, 0.76); }

.steps {
  list-style: none;
  margin: clamp(2.75rem, 2rem + 2vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  gap: 2.25rem;
  counter-reset: step;
}
@media (min-width: 760px)  { .steps { grid-template-columns: repeat(2, 1fr); gap: 2.75rem 3rem; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.step {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(237, 239, 230, 0.22);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: var(--step-3);
  line-height: 1;
  color: var(--sage-400);
  margin-bottom: 0.15rem;
}
.step::after {
  /* the dot that rides the rule */
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--sage-400);
  transition: transform var(--dur) var(--ease);
}
.step:hover::after { transform: scale(1.5); }
.step h3 { color: #FFFFFF; font-size: var(--step-1); font-family: "Figtree", sans-serif; font-weight: 700; letter-spacing: 0; }
.step p { color: rgba(237, 239, 230, 0.72); font-size: var(--step--1); }

.process-cta {
  margin-top: clamp(2.75rem, 2rem + 2vw, 3.75rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(237, 239, 230, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.process-cta p {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: var(--step-2);
  color: #FFFFFF;
  max-width: 30ch;
}

/* --------------------------------------------------------------------------
   11. Why us / values
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  align-items: center;
}
@media (min-width: 940px) {
  .why-grid { grid-template-columns: 0.92fr 1.08fr; }
}

.why-media { position: relative; }
.why-figure {
  margin: 0;
  border-radius: var(--arch);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sage-100);
  box-shadow: var(--shadow-md);
}
.why-figure img { width: 100%; height: 100%; object-fit: cover; }

.why-stat {
  position: absolute;
  right: clamp(-0.5rem, -1.5vw, -1.75rem);
  bottom: 2rem;
  background: var(--oat-200);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  max-width: 230px;
  box-shadow: var(--shadow-md);
}
.why-stat b {
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-size: var(--step-3);
  line-height: 1;
  color: var(--forest-900);
  margin-bottom: 0.3rem;
}
.why-stat span { font-size: var(--step--2); color: var(--forest-700); line-height: 1.45; display: block; }

.values {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
}
.values li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.15rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--rule);
  transition: padding-left var(--dur) var(--ease);
}
.values li:last-child { border-bottom: 1px solid var(--rule); }
.values li:hover { padding-left: 0.5rem; }
.values .values-icon {
  grid-row: span 2;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-50);
  color: var(--forest-700);
  margin-top: 2px;
}
.values .values-icon svg { width: 19px; height: 19px; }
.values h3 { font-size: var(--step-1); font-family: "Figtree", sans-serif; font-weight: 700; letter-spacing: 0; }
.values p { font-size: var(--step--1); color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   12. Relatives highlight
   -------------------------------------------------------------------------- */
.relief {
  background: var(--oat-100);
  border-block: 1px solid var(--oat-200);
}
.relief-grid {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .relief-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.relief h2 { max-width: 18ch; }
.relief-copy { display: grid; gap: 1.35rem; justify-items: start; }
.relief-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sage-100);
  box-shadow: var(--shadow-md);
}
.relief-figure img { width: 100%; height: 100%; object-fit: cover; }

.relief-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.relief-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: var(--step-0);
  color: var(--ink-soft);
}
.relief-list svg { width: 21px; height: 21px; color: var(--forest-700); flex: none; margin-top: 3px; }

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  margin-top: clamp(2.25rem, 2rem + 1.5vw, 3.25rem);
  border-top: 1px solid var(--rule);
}
.faq-item { border-bottom: 1px solid var(--rule); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  font: inherit;
  font-family: "Newsreader", Georgia, serif;
  font-size: var(--step-2);
  line-height: 1.28;
  color: var(--forest-900);
  text-align: left;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.faq-q:hover { color: var(--forest-600); }

.faq-mark {
  flex: none;
  width: 34px; height: 34px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--rule);
  color: var(--forest-700);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.faq-mark svg { width: 16px; height: 16px; }
.faq-q:hover .faq-mark { border-color: var(--sage-400); background: var(--sage-50); }
.faq-q[aria-expanded="true"] .faq-mark {
  background: var(--forest-700);
  border-color: var(--forest-700);
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.faq-a[data-collapsed="true"] { grid-template-rows: 0fr; }
.faq-a > div {
  overflow: hidden;
  min-height: 0;
}
.faq-a p {
  max-width: 68ch;
  color: var(--ink-soft);
  padding-bottom: 1.65rem;
}
.faq-a p + p { padding-top: 0.9rem; }

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
.contact { background: var(--surface); border-top: 1px solid var(--rule-soft); }

.contact-grid {
  margin-top: clamp(2.25rem, 2rem + 1.5vw, 3.25rem);
  display: grid;
  gap: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.45rem; }
.field-row { display: grid; gap: 1.15rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--forest-900);
}
.field .req { color: var(--sage-500); }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  min-height: 52px;
  width: 100%;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23575D50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 2.75rem;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--sage-400); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--forest-600);
  box-shadow: 0 0 0 3px rgba(122, 135, 92, 0.22);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--error); }

.field-error {
  font-size: var(--step--2);
  color: var(--error);
  min-height: 1.2em;
}

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: var(--step--1);
  color: var(--ink-soft);
  line-height: 1.55;
}
.check input {
  width: 22px; height: 22px;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--forest-700);
  border-radius: 5px;
}
.check a { color: var(--forest-700); }

.hp { position: absolute; left: -9999px; opacity: 0; }

.form-note { font-size: var(--step--2); color: var(--ink-faint); }

.form-status {
  border-radius: 12px;
  padding: 1rem 1.15rem;
  font-size: var(--step--1);
  background: var(--sage-50);
  border: 1px solid var(--sage-200);
  color: var(--forest-900);
}
.form-status[hidden] { display: none; }
.form-status[data-art="hinweis"] {
  background: var(--oat-100);
  border-color: var(--oat-200);
}
.form .btn[disabled] { cursor: progress; }

.contact-aside {
  display: grid;
  gap: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.15rem);
}
.contact-aside h3 { font-size: var(--step-2); }
.contact-lines { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.contact-lines li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.contact-lines svg { width: 21px; height: 21px; color: var(--sage-500); margin-top: 4px; }
.contact-lines b { display: block; font-size: var(--step--2); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 700; }
.contact-lines a, .contact-lines span { color: var(--forest-900); font-weight: 600; text-decoration: none; font-size: var(--step-0); }
.contact-lines a:hover { color: var(--forest-600); }

.area-note {
  border-top: 1px solid var(--rule);
  padding-top: 1.15rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.area-note b { color: var(--forest-900); display: block; margin-bottom: 0.35rem; }

.area-tags {
  list-style: none;
  margin: 0.7rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.area-tags li {
  font-size: var(--step--2);
  color: var(--forest-700);
  background: var(--sage-50);
  border: 1px solid var(--sage-100);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--forest-900);
  color: rgba(237, 239, 230, 0.72);
  font-size: var(--step--1);
  padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(237, 239, 230, 0.16);
}
.footer-brand { display: grid; gap: 1rem; align-content: start; max-width: 34ch; }
.footer-brand img {
  height: 66px;
  width: auto;
  opacity: 0.95;
}
.site-footer h4 {
  font-family: "Figtree", sans-serif;
  font-size: var(--step--2);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { text-decoration: none; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: #FFFFFF; }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: var(--step--2);
  color: rgba(237, 239, 230, 0.55);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #FFFFFF; }

/* --------------------------------------------------------------------------
   16. Mobile call bar
   -------------------------------------------------------------------------- */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule);
}
.callbar .btn { flex: 1; padding-inline: 0.9rem; min-height: 50px; font-size: var(--step--1); }

/* --------------------------------------------------------------------------
   17. Legal subpages
   -------------------------------------------------------------------------- */
.legal { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.legal h1 { font-size: var(--step-4); margin-bottom: 2rem; }
.legal h2 { font-size: var(--step-2); margin-top: 2.75rem; margin-bottom: 0.85rem; }
.legal h3 { font-size: var(--step-1); margin-top: 1.75rem; margin-bottom: 0.5rem; font-family: "Figtree", sans-serif; font-weight: 700; }
.legal p, .legal li { color: var(--ink-soft); max-width: 72ch; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 0.9rem; }
.legal ul { padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.legal a { color: var(--forest-700); }
.legal .placeholder {
  background: var(--oat-100);
  border-left: 3px solid var(--oat-200);
  padding: 0.75rem 1rem;
  border-radius: 0 8px 8px 0;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   18. Motion, settle upward from a visible resting state
   -------------------------------------------------------------------------- */
.reveal {
  transform: translateY(14px);
  transition: transform 620ms var(--ease);
  will-change: transform;
}
.reveal.is-in { transform: none; }

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  :root { --header-h: 88px; --header-h-stuck: 76px; }
  .brand img { height: 64px; }
  .site-header.is-stuck .brand img { height: 54px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    /* anchored to the header itself, so it tracks the condensed height */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease),
                visibility var(--dur) var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a {
    font-size: var(--step-1);
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--rule-soft);
    color: var(--forest-900);
  }
  .nav a::after { display: none; }
  .header-phone { display: none; }
}

@media (max-width: 939px) {
  .hero-figure { aspect-ratio: 4 / 3.4; border-radius: 320px 320px var(--radius-lg) var(--radius-lg); }
  .why-figure { aspect-ratio: 4 / 3.4; border-radius: 320px 320px var(--radius-lg) var(--radius-lg); }
  .hero-badge { left: auto; right: 1rem; bottom: -1.25rem; }
  .why-stat { right: 1rem; bottom: -1.25rem; }
  .why-media { margin-bottom: 2rem; }
}

@media (max-width: 767px) {
  body { padding-bottom: 74px; }
  .callbar { display: flex; }
  /* the sticky call bar carries the CTA here, so the header one would duplicate it.
     Above 768px the bar is hidden, so the header button stays. */
  .header-actions > .btn { display: none; }
  .hero-badge { max-width: none; left: 0; right: 0; bottom: -2.5rem; }
  .hero-media { margin-bottom: 3.5rem; }
  .process-cta { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { transform: none; }
}

/* --------------------------------------------------------------------------
   20. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .callbar, .nav-toggle, .hero::before { display: none !important; }
  body { background: #fff; color: #000; }
  .process, .site-footer { background: #fff !important; color: #000 !important; }
  .process h2, .process h3, .process-cta p { color: #000 !important; }
}
