/* Trittsteine × Wein & Salbei — component layer.
   Every colour, font, radius, space and shadow comes from tokens.css (var(--…)).
   Only dimensions that tokens.css cannot express as usable values are set here. */

/* ===== Local dimension tokens ===== */
:root {
  --mk-w: 72px; --mk-h: 60px; --mk-sm-w: 52px; --mk-sm-h: 44px;
  --ib-w: 64px; --ib-h: 56px; --ib-sm-w: 52px; --ib-sm-h: 44px;
  --header-h: 88px;
  --gap-page: var(--space-margin-desktop);
  --panel-radius: var(--radius-xl);
  --panel-pad: var(--space-panel-pad);
  --sec-gap: var(--section-gap);
  --dur-1: .18s; --dur-2: .24s; --dur-3: .32s; --dur-path: 1.2s;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--space-sm)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface-base); color: var(--text-body);
  font-family: var(--font-body); font-size: var(--type-body-size); line-height: var(--type-body-line);
  hyphens: auto; -webkit-font-smoothing: antialiased;
}
html.menu-open body { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); color: var(--text-heading); hyphens: manual; text-wrap: balance; }
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
.is-dark :focus-visible { outline-color: var(--inverse-primary); }
main, .site-footer { overflow-x: clip; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--space-sm); top: -80px; z-index: 100; background: var(--surface-base); color: var(--primary); padding: 12px 20px; border-radius: var(--radius-full); box-shadow: var(--shadow-float); font-weight: 600; }
.skip-link:focus { top: var(--space-sm); }
.nw { white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; hyphens: manual; }
.icon { width: 24px; height: 24px; display: inline-block; flex: none; vertical-align: middle; }

/* ===== Layout ===== */
.container { width: 100%; max-width: calc(var(--container-max) + 2 * var(--gap-page)); margin-inline: auto; padding-inline: var(--gap-page); }
.panel { width: min(var(--container-panel), 100% - 2 * var(--gap-page)); margin-inline: auto; border-radius: var(--panel-radius); padding: var(--panel-pad); position: relative; }
.panel--muted { background: var(--surface-muted); }
.panel--stone { background: var(--tint-stone); }
.panel--dark { background: var(--inverse-surface); color: var(--inverse-on-surface); }
main > section + section { margin-top: var(--sec-gap); }

/* ===== Type ===== */
.h1 { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: var(--type-display-lg-tracking); font-weight: var(--type-display-lg-weight); }
.h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: var(--type-headline-lg-tracking); font-weight: var(--type-headline-lg-weight); }
.h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: var(--type-headline-md-weight); }
.h-step { font-size: var(--type-headline-sm-size); line-height: var(--type-headline-sm-line); font-weight: var(--type-headline-sm-weight); }
.h1 em, .h2 em { font-family: var(--font-quote); font-style: italic; font-weight: 500; color: var(--primary); }
.lead { font-size: var(--type-body-lg-size); line-height: var(--type-body-lg-line); }
.h1 + .lead, .h2 + .lead, .h2 + p { margin-top: var(--space-md); }
.helper { font-size: var(--type-helper-size); line-height: var(--type-helper-line); color: var(--on-surface-variant); }
.term { font-family: var(--font-quote); font-style: italic; font-weight: 500; }
.term--line { text-decoration: underline dotted var(--tertiary); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fig { font-family: var(--font-heading); font-size: var(--fs-numeral); line-height: 1.1; font-weight: var(--type-numeral-weight); letter-spacing: var(--type-numeral-tracking); font-variant-numeric: tabular-nums lining-nums; color: var(--text-heading); white-space: nowrap; hyphens: manual; }
.list-h { font-family: var(--font-label); font-size: var(--type-label-uppercase-size); line-height: var(--type-label-uppercase-line); font-weight: 600; color: var(--text-heading); margin-bottom: var(--space-sm); }
.is-dark h2, .is-dark h3, .is-dark .h-step { color: var(--inverse-on-surface); }
.is-dark .h2 em { color: var(--inverse-primary); }

/* Placeholder for facts the client still has to deliver */
.ph { background: var(--surface-container-high); color: var(--on-surface-variant); border-radius: var(--radius-sm); padding: 1px 6px; font-style: normal; font-size: .94em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.panel--stone .ph { background: var(--surface-container-highest); }
.is-dark .ph { background: var(--anchor-line); color: var(--inverse-on-surface); }

/* ===== KV3 · Pebble eyebrow ===== */
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-sm); font-family: var(--font-label); font-size: var(--type-label-uppercase-size); line-height: var(--type-label-uppercase-line); font-weight: 600; letter-spacing: var(--type-label-uppercase-tracking); text-transform: none; color: var(--tertiary); }
.eyebrow::before { content: ""; flex: none; width: 14px; height: 11px; border-radius: var(--pebble-c); background: var(--tertiary); transform: rotate(-8deg); }
.panel--muted .eyebrow, .panel--stone .eyebrow { color: var(--on-tertiary-fixed-variant); }
.is-dark .eyebrow { color: var(--tertiary-fixed-dim); }
.is-dark .eyebrow::before { background: var(--inverse-primary); }

/* ===== Buttons & links ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 1.5px solid transparent; border-radius: var(--radius-button); font-family: var(--font-body); font-size: var(--type-button-size); line-height: var(--type-button-line); font-weight: var(--type-button-weight); text-decoration: none; cursor: pointer; hyphens: manual; transition: background-color var(--dur-1) ease, border-color var(--dur-1) ease, color var(--dur-1) ease, transform var(--dur-1) ease, box-shadow var(--dur-1) ease; }
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--secondary-container); color: var(--on-secondary); }
.btn--primary:hover { background: var(--secondary); transform: translateY(-1px); box-shadow: var(--shadow-marker); }
.btn--primary:active { transform: translateY(0); }
.btn--secondary { background: var(--surface-base); color: var(--text-heading); border-color: var(--outline); }
.btn--secondary .icon { color: var(--tertiary); }
.btn--secondary:hover { background: var(--tint-stone); border-color: var(--text-heading); }
.btn--soft { background: var(--tint-rose); color: var(--primary); }
.btn--soft:hover { background: var(--primary-fixed); }
.btn--compact { min-height: 48px; padding: 0 22px; }
.is-dark .btn--primary { background: var(--inverse-primary); color: var(--text-heading); }
.is-dark .btn--primary:hover { background: var(--primary-fixed); }
.is-dark .btn--secondary { background: transparent; color: var(--inverse-on-surface); border-color: var(--inverse-on-surface); }
.is-dark .btn--secondary .icon { color: var(--inverse-on-surface); }
.is-dark .btn--secondary:hover { background: var(--anchor-line); }
.cta-pair { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-thickness var(--dur-1) ease; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur-2) var(--ease-soft); }
.link-arrow:hover { text-decoration-thickness: 2px; }
.link-arrow:hover .icon { transform: translateX(4px); }
.is-dark .link-arrow { color: var(--inverse-primary); }

/* ===== KV1 · Trittsteine-Pfad (markers + dotted path) ===== */
.mk { flex: none; position: relative; z-index: 1; width: var(--mk-w); height: var(--mk-h); display: grid; place-items: center; border-radius: var(--pebble-a); background: var(--tertiary); color: var(--on-tertiary); font-family: var(--font-heading); font-size: var(--type-headline-sm-size); line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums lining-nums; transition: transform var(--dur-2) var(--ease-soft), box-shadow var(--dur-2) var(--ease-soft); }
.mk .icon { width: 28px; height: 28px; }
li:nth-child(3n+2) > .mk, li:nth-child(3n+2) > a > .mk { border-radius: var(--pebble-b); }
li:nth-child(3n) > .mk, li:nth-child(3n) > a > .mk { border-radius: var(--pebble-c); }
.mk--sm { width: var(--mk-sm-w); height: var(--mk-sm-h); font-size: var(--type-body-size); }
.mk--sm .icon { width: 24px; height: 24px; }
.mk--first { background: var(--secondary-container); color: var(--on-secondary); }
.is-tint .mk { background: var(--surface-base); color: var(--tertiary); box-shadow: var(--shadow-marker); }
.is-tint .mk--first { background: var(--secondary-container); color: var(--on-secondary); }
.is-dark .mk { background: var(--tertiary-fixed-dim); color: var(--inverse-surface); }
.is-dark .mk--first { background: var(--inverse-primary); color: var(--text-heading); }

.trail { position: relative; }
.trail-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
.trail-list { position: relative; z-index: 1; }
.trail-dots { fill: none; stroke: var(--tertiary); stroke-opacity: .55; stroke-width: 3; stroke-dasharray: 0 11; stroke-linecap: round; }
.is-tint .trail-dots { stroke-opacity: 1; }
.is-dark .trail-dots { stroke: var(--tertiary-fixed-dim); stroke-opacity: .55; }
.trail-mask.is-on { transition: stroke-dashoffset var(--dur-path) var(--ease-soft); }

/* ===== KV2 · Pebble mask with offset tint stone ===== */
.pm { position: relative; isolation: isolate; display: block; }
.pm::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--pebble-a); background: var(--tertiary-fixed); transform: var(--pebble-offset); }
.pm-img { border-radius: var(--pebble-a); overflow: hidden; background: var(--surface-container-high); }
.pm-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-3) var(--ease-soft); }
.pm--b::before, .pm--b .pm-img { border-radius: var(--pebble-b); }
.pm--c::before, .pm--c .pm-img { border-radius: var(--pebble-c); }
.pm--sm::before { transform: translate(12px, 10px) rotate(-6deg); }
.pm--portrait .pm-img { aspect-ratio: 4 / 5; }
.pm--square .pm-img { aspect-ratio: 1 / 1; }
.pm--wide .pm-img { aspect-ratio: 16 / 10; }
.panel--muted .pm::before { background: var(--tint-rose); }
.panel--stone .pm::before { background: var(--tertiary-fixed); }
.is-dark .pm::before { background: var(--anchor-line); }
.plate { position: absolute; left: -24px; bottom: 24px; z-index: 2; background: var(--surface-base); border-radius: var(--radius-full); padding: 12px 24px; box-shadow: var(--shadow-marker); }
.plate b { display: block; font-family: var(--font-heading); font-size: var(--type-headline-sm-size); line-height: var(--type-headline-sm-line); color: var(--text-heading); }
.plate small { display: block; font-size: var(--type-helper-size); line-height: var(--type-helper-line); color: var(--on-surface-variant); }

/* ===== KV8 · Icon pebbles ===== */
.ib { flex: none; width: var(--ib-w); height: var(--ib-h); display: grid; place-items: center; border-radius: var(--pebble-b); background: var(--surface-muted); color: var(--tertiary); transition: transform var(--dur-2) var(--ease-soft), background-color var(--dur-1) ease; }
.ib .icon { width: 28px; height: 28px; }
.ib--a { border-radius: var(--pebble-a); }
.ib--c { border-radius: var(--pebble-c); }
.ib--sm { width: var(--ib-sm-w); height: var(--ib-sm-h); }
.ib--sm .icon { width: 24px; height: 24px; }
.is-tint .ib { background: var(--surface-base); box-shadow: var(--shadow-marker); }
.is-tint .card .ib { background: var(--surface-muted); box-shadow: none; }
.is-dark .ib { background: var(--anchor-line); color: var(--tertiary-fixed-dim); }
.badge-pebble { display: grid; place-items: center; width: 28px; height: 24px; border-radius: var(--pebble-a); background: var(--tertiary); color: var(--on-tertiary); }
.badge-pebble .icon { width: 16px; height: 16px; }

/* ===== Cards, chips, lists ===== */
.card { background: var(--surface-base); border: 1px solid var(--outline-variant); border-radius: var(--radius-card); padding: var(--space-card-pad); min-width: 0; }
.is-tint .card { border-color: transparent; box-shadow: var(--shadow-card); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px; border-radius: var(--radius-full); background: var(--tertiary-fixed); color: var(--on-tertiary-fixed-variant); font-size: var(--type-label-uppercase-size); line-height: var(--type-label-uppercase-line); font-weight: 600; }
.chip::before { content: ""; flex: none; width: 10px; height: 8px; border-radius: var(--pebble-c); background: currentColor; }
.chip--date { background: var(--tint-rose); color: var(--primary); font-variant-numeric: tabular-nums lining-nums; }
.is-dark .chip { background: var(--tertiary-fixed-dim); color: var(--inverse-surface); }

.chk { list-style: none; display: grid; gap: var(--space-sm); }
.chk li { position: relative; padding-left: 36px; }
.chk li::before { content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 20px; border-radius: var(--pebble-b); background: var(--tertiary-fixed); }
.chk li::after { content: ""; position: absolute; left: 5px; top: 6px; width: 14px; height: 14px; background: var(--on-tertiary-fixed-variant);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.chk--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-md); }
.chk--rows li { padding-block: 14px; border-top: 1px solid var(--outline-variant); }
.chk--rows li::before { top: 17px; }
.chk--rows li::after { top: 20px; }

/* ===== KV5 · Quotes ===== */
.qm { width: 56px; height: 42px; display: block; margin-bottom: 12px; color: var(--primary); transform: rotate(-4deg); }
.qm--sm { width: 40px; height: 30px; }
.is-dark .qm { color: var(--inverse-primary); }
.quote { max-width: 680px; font-family: var(--font-quote); font-style: italic; font-weight: 400; font-size: var(--fs-quote); line-height: 1.43; color: var(--text-heading); hyphens: manual; }
.quote--sm { font-size: var(--type-quote-sm-size); line-height: var(--type-quote-sm-line); font-weight: 500; }
.is-dark .quote { color: var(--inverse-on-surface); }
figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: var(--space-md); }

/* ===== KV4 · Phone number as typography ===== */
.phone-big { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); max-width: 100%; color: var(--text-heading); text-decoration: none; }
.ib-phone { flex: none; width: 56px; height: 48px; display: grid; place-items: center; border-radius: var(--pebble-b); background: var(--secondary-container); color: var(--on-secondary); transition: transform var(--dur-1) ease; }
.ib-phone .icon { width: 24px; height: 24px; }
.phone-num { font-family: var(--font-heading); font-size: var(--fs-numeral); line-height: 1.1; font-weight: var(--type-numeral-weight); letter-spacing: var(--type-numeral-tracking); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; hyphens: manual; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: transparent; text-underline-offset: 6px; transition: text-decoration-color var(--dur-1) ease; }
.phone-big:hover .phone-num { text-decoration-color: var(--primary); }
.phone-big:hover .ib-phone { transform: translateY(-2px); }
.is-dark .phone-big { color: var(--inverse-on-surface); }
.is-dark .ib-phone { background: var(--inverse-primary); color: var(--text-heading); }
.is-dark .phone-big:hover .phone-num { text-decoration-color: var(--inverse-primary); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface-base); border-bottom: 1px solid transparent; transition: border-color var(--dur-1) ease; }
.site-header.is-scrolled, html.menu-open .site-header { border-bottom-color: var(--outline-variant); }
.hd-inner { max-width: calc(var(--container-panel) + 2 * var(--gap-page)); margin-inline: auto; padding-inline: var(--gap-page); height: var(--header-h); display: flex; align-items: center; gap: var(--space-lg); }
.brand { display: inline-flex; flex-direction: column; flex: none; text-decoration: none; }
.brand-owner { font-family: var(--font-label); font-size: var(--type-label-uppercase-size); line-height: var(--type-label-uppercase-line); font-weight: 600; color: var(--on-surface-variant); }
.brand-name { font-family: var(--font-heading); font-size: var(--type-headline-sm-size); line-height: var(--type-headline-sm-line); font-weight: 700; color: var(--primary); margin-top: -2px; }
.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 32px; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: 48px; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--font-body); font-size: var(--type-body-size); font-weight: 600; color: var(--text-heading); text-decoration: none; white-space: nowrap; hyphens: manual; transition: color var(--dur-1) ease; }
.nav-link:hover { color: var(--primary); }
.nav-link .icon { width: 18px; height: 18px; transition: transform var(--dur-3) var(--ease-soft); }
.nav-sub-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-link.is-active::after, .nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 10px; height: 8px; margin-left: -5px; border-radius: var(--pebble-c); background: var(--primary); }
.nav-sub-btn.is-active::after { margin-left: -14px; }
.has-sub { position: relative; }
.submenu { position: absolute; top: calc(100% + 12px); left: -32px; width: 600px; padding: var(--space-card-pad); background: var(--surface-base); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.submenu ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); }
.submenu a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--radius-md); color: var(--text-heading); font-weight: 600; text-decoration: none; transition: background-color var(--dur-1) ease; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--surface-muted); }
.submenu a:hover .ib, .submenu a[aria-current="page"] .ib { background: var(--surface-base); }
.hd-actions { display: flex; align-items: center; gap: var(--space-md); }
.hd-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--text-heading); text-decoration: none; font-size: var(--type-button-size); line-height: var(--type-button-line); font-weight: 600; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.hd-phone .icon { width: 20px; height: 20px; color: var(--tertiary); }
.hd-phone:hover span { text-decoration: underline; text-underline-offset: 4px; }
.hd-call { display: none; width: 48px; height: 48px; place-items: center; border-radius: var(--pebble-b); background: var(--secondary-container); color: var(--on-secondary); }
.hd-call .icon { width: 22px; height: 22px; }
.burger { display: none; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 12px; border: 1.5px solid var(--outline); border-radius: var(--radius-full); background: var(--surface-base); color: var(--text-heading); cursor: pointer; }
.burger .burger-close { display: none; }
.burger[aria-expanded="true"] .burger-open { display: none; }
.burger[aria-expanded="true"] .burger-close { display: inline-block; }

/* Mobile menu panel (sibling after </header>) */
.mnav { position: fixed; inset: 0; z-index: 40; overflow-y: auto; padding: calc(var(--header-h) + var(--space-xs)) var(--gap-page) var(--space-xl); background: var(--surface-base); box-shadow: var(--shadow-float); }
.mnav-list { list-style: none; }
.mnav-list > li { border-bottom: 1px solid var(--outline-variant); }
.mnav-link, .mnav-group { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--font-heading); font-size: var(--type-headline-sm-size); line-height: var(--type-headline-sm-line); font-weight: 700; color: var(--text-heading); text-decoration: none; text-align: left; }
.mnav-group .icon { width: 20px; height: 20px; color: var(--primary); transition: transform var(--dur-3) var(--ease-soft); }
.mnav-group[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mnav-sub { list-style: none; display: grid; gap: 4px; padding-bottom: var(--space-sm); }
.mnav-sub a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 6px 12px 6px 0; color: var(--text-heading); font-weight: 600; text-decoration: none; border-radius: var(--radius-md); }
.mnav-sub a[aria-current="page"] { background: var(--surface-muted); padding-left: 8px; }
.mnav .cta-pair { margin-top: var(--space-lg); flex-direction: column; align-items: stretch; }
.mnav-addr { margin-top: var(--space-lg); color: var(--on-surface-variant); }

/* ===== 1 · Hero homepage ===== */
.hero-home { padding-top: var(--space-xl); }
.hh-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-xl); }
.hh-head { grid-column: 1 / span 10; grid-row: 1; }
.hh-body { grid-column: 7 / span 6; grid-row: 2; align-self: center; min-width: 0; }
.hh-body .lead { margin-bottom: var(--space-lg); }
.hh-photo { grid-column: 1 / span 5; grid-row: 2; padding-right: 24px; }
.hh-hints { margin-top: var(--space-lg); }
.hints { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.hints li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; font-size: var(--type-label-uppercase-size); line-height: var(--type-label-uppercase-line); font-weight: 600; color: var(--text-heading); }
.hints li:nth-child(2) { margin-top: 28px; }

/* ===== 2 · Soforthilfe (dark) ===== */
.urgent-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.urgent-main { grid-column: 1 / span 6; }
.urgent-trail { margin-top: var(--space-lg); }
.urgent-side { grid-column: 8 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); padding: var(--space-lg) var(--space-md); border: 1px solid var(--anchor-line); border-radius: var(--radius-card); }
.steps-v { list-style: none; display: grid; gap: var(--space-md); }
.steps-v > li { display: grid; grid-template-columns: var(--mk-w) minmax(0, 1fr); column-gap: var(--space-md); align-items: start; }
.steps-v .h-step { margin: 16px 0 6px; }
.steps-v--long { gap: var(--space-lg); }
.is-dark p { color: var(--inverse-on-surface); }

/* ===== 3 · Was Sie selbst tun können ===== */
.diy-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.diy-intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + var(--space-lg)); }
.diy-photo { margin: var(--space-lg) 12px 0 0; }
.diy-body { grid-column: 7 / span 6; min-width: 0; }
.diy-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); align-items: start; }
.diy-cards > :nth-child(even) { margin-top: var(--space-lg); }
.diy-card { display: flex; flex-direction: column; gap: 12px; }
.diy-card .ib { margin-bottom: 4px; }
.diy-close { align-self: center; padding: var(--space-md) 0; }
.note-free { position: relative; padding-left: 44px; font-family: var(--font-quote); font-style: italic; font-weight: 500; font-size: var(--type-quote-sm-size); line-height: var(--type-quote-sm-line); color: var(--text-heading); hyphens: manual; }
.note-free::before { content: ""; position: absolute; left: 0; top: 4px; width: 28px; height: 24px; border-radius: var(--pebble-a); background: var(--tertiary); }
.diy-cta { margin-top: var(--space-lg); }

/* ===== Shared: split section head ===== */
.split-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-md); align-items: end; margin-bottom: var(--space-xl); }
.split-head > div { grid-column: 1 / span 6; }
.split-head > .lead { grid-column: 8 / span 5; }

/* ===== Shared: markers over nesting cards (phases, Das Wichtigste) ===== */
.stone-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); align-items: start; }
.stone-cards > li { display: flex; flex-direction: column; min-width: 0; }
.stone-cards > li:nth-child(even) { margin-top: 28px; }
.stone-cards .mk { margin: 0 0 calc(var(--mk-sm-h) / -2) var(--space-md); }
.stone-cards--lead .mk { margin-bottom: calc(var(--mk-h) / -2); }
.stone-card { display: flex; flex-direction: column; gap: 12px; padding: calc(var(--mk-sm-h) / 2 + var(--space-md)) var(--space-md) var(--space-md); }
.stone-cards--lead .stone-card { padding-top: calc(var(--mk-h) / 2 + var(--space-md)); }
.stone-card .h3 { hyphens: auto; }
.stone-card .link-arrow { margin-top: 4px; }

/* ===== 5 · Ablauf homepage (horizontal path) ===== */
.steps-h { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps-h > li { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 0 var(--space-sm); text-align: center; }
.steps-h > li:nth-child(even) { margin-top: 28px; }
.steps-h .mk { margin-bottom: var(--space-sm); }
.steps-h .h-step { margin-bottom: 6px; }
.process-foot { margin-top: var(--space-xl); text-align: center; }

/* ===== 6 · Über uns ===== */
.about-head { margin-bottom: var(--space-xl); }
.about-head > * { max-width: var(--container-narrow); }
.aq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.aq-photo { grid-column: 1 / span 4; }
.aq-photo .pm { max-width: 300px; margin-right: 24px; }
.aq-figure { grid-column: 6 / span 7; }
.team { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gutter); margin-block: var(--space-xl); }
.team > li { min-width: 0; }
.team > li:nth-child(3n+2) { margin-top: var(--space-lg); }
.team .pm { width: 200px; margin-bottom: var(--space-md); }
.team .h-step { margin-bottom: 4px; }
.team p { max-width: 320px; }
.about-values { margin-top: var(--space-xl); }
.values-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-md); align-items: center; }
.values-side { grid-column: 1 / span 4; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.values { grid-column: 5 / span 8; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; }
.values > li { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-card-pad); min-width: 0; }
.values > li + li { border-left: 1px solid var(--outline-variant); }
.values .h3 { hyphens: auto; }

/* ===== 7 · Belege ===== */
.trust-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-xl); }
.trust-intro { grid-column: 1 / span 4; }
.proofs { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.proof { min-width: 0; }
.proof:nth-child(2) { margin-top: var(--space-lg); }
.proof dt { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.proof dd { margin-top: var(--space-xs); }
.fig--word { font-size: var(--fs-h3); }
.members-wrap { grid-column: 1 / -1; }
.members { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.members li { display: flex; align-items: center; gap: 14px; max-width: 100%; min-height: 72px; padding: 8px 28px 8px 16px; border: 1px solid var(--outline-variant); border-radius: var(--radius-full); }
.members img { height: 40px; width: auto; border-radius: var(--radius-full); filter: grayscale(1); opacity: .85; transition: filter var(--dur-1) ease, opacity var(--dur-1) ease; }
.members li:hover img { filter: none; opacity: 1; }
.members span { font-size: var(--type-label-uppercase-size); line-height: var(--type-label-uppercase-line); font-weight: 600; color: var(--text-heading); }

/* ===== 8 · Kundenstimme ===== */
.voices-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-lg); align-items: start; }
.voices-head { grid-column: 1 / span 4; }
.voices-main { grid-column: 6 / span 7; margin-top: calc(-1 * (var(--panel-pad) + var(--space-lg))); min-width: 0; }
.voice-card { padding: var(--space-lg); }
.voice-card figcaption { margin-top: var(--space-md); }
.voice-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-md); }
.ph-slot { display: grid; place-items: center; min-height: 120px; padding: var(--space-md); border: 1.5px dashed var(--outline); border-radius: var(--radius-card); text-align: center; font-size: var(--type-helper-size); line-height: var(--type-helper-line); color: var(--on-surface-variant); }

/* ===== Kosten (shared) ===== */
.costs-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-lg); align-items: start; }
.costs-main { grid-column: 1 / span 6; min-width: 0; }
.costs-extra { margin-top: var(--space-lg); }
.costs-side { grid-column: 8 / span 5; min-width: 0; }
.price-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-xs); }
.price-card .ib { margin-bottom: var(--space-sm); }
.price-hint { margin: var(--space-sm) 0; }
.costs-cta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-xs); margin-top: var(--space-md); }

/* ===== 10 · Abschiedskultur ===== */
.teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); align-items: start; }
.teasers > :nth-child(2) { margin-top: var(--space-lg); }
.teaser { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.teaser .pm { align-self: stretch; margin: 0 12px 10px 0; }
.teaser .h3 { hyphens: auto; }
.memorial { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); margin-top: var(--space-xl); }
.memorial p { flex: 1 1 320px; }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-lg); align-items: start; }
.faq-side { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + var(--space-lg)); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
.faq { grid-column: 7 / span 6; border-top: 1px solid var(--outline-variant); min-width: 0; }
.faq-item { border-bottom: 1px solid var(--outline-variant); }
.faq-q button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: 24px 0; border: 0; background: none; cursor: pointer; text-align: left; font-family: var(--font-heading); font-size: var(--type-headline-sm-size); line-height: var(--type-headline-sm-line); font-weight: 700; color: var(--text-heading); }
.faq-tg { flex: none; width: 48px; height: 40px; display: grid; place-items: center; border-radius: var(--pebble-b); background: var(--surface-muted); color: var(--primary); transition: background-color var(--dur-3) var(--ease-soft); }
.faq-tg .icon { width: 20px; height: 20px; transition: transform var(--dur-3) var(--ease-soft); }
.faq-q button[aria-expanded="true"] .faq-tg { background: var(--tint-rose); }
.faq-q button[aria-expanded="true"] .faq-tg .icon { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows var(--dur-3) var(--ease-soft), visibility var(--dur-3); }
.faq-a > div { overflow: hidden; }
.faq-a p { max-width: var(--container-narrow); padding-bottom: 24px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; visibility: visible; }

/* ===== Kontakt (shared) ===== */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-xl); align-items: start; }
.contact-info { grid-column: 1 / span 5; min-width: 0; }
.contact-info .cta-pair { margin-top: var(--space-lg); }
.contact-phone { margin-top: var(--space-lg); }
.contact-phone .helper { margin-bottom: var(--space-xs); }
.contact-rows { list-style: none; display: grid; gap: var(--space-sm); margin-top: var(--space-lg); }
.contact-rows li { display: flex; align-items: center; gap: var(--space-sm); min-width: 0; }
.map { position: relative; isolation: isolate; margin: var(--space-lg) 24px 0 0; }
.map::before { content: ""; position: absolute; right: -24px; bottom: -20px; z-index: -1; width: 45%; height: 60%; border-radius: var(--pebble-a); background: var(--tertiary-fixed); transform: rotate(-6deg); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-container-high); }
.map-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.contact-form { grid-column: 7 / span 6; margin-top: calc(-1 * (var(--panel-pad) + var(--space-lg))); padding: var(--space-lg); }
.form { display: grid; gap: var(--space-md); }
.form[hidden], .form-done[hidden] { display: none; }
.form-intro { font-size: var(--type-body-lg-size); line-height: var(--type-body-lg-line); color: var(--text-heading); }
.form-error { display: flex; align-items: center; gap: 8px; color: var(--status-error); font-size: var(--type-helper-size); line-height: var(--type-helper-line); font-weight: 600; }
.form-error[hidden] { display: none; }
.form-error .icon { width: 16px; height: 16px; }
.form-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.fld { display: grid; gap: var(--space-xs); min-width: 0; }
.fld label { font-weight: 600; color: var(--text-heading); }
.opt { font-weight: 400; font-size: var(--type-helper-size); color: var(--on-surface-variant); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 52px; padding: 0 24px; border: 1.5px solid var(--outline); border-radius: var(--radius-input); background: var(--surface-base); color: var(--text-heading); font: inherit; transition: border-color var(--dur-1) ease, box-shadow var(--dur-1) ease; }
.fld textarea { min-height: 144px; padding: 16px 24px; border-radius: var(--radius-md); resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 56px; cursor: pointer; }
.select .icon { position: absolute; right: 24px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--tertiary); pointer-events: none; }
.fld.is-error input { border-color: var(--status-error); }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 1px 0 0; display: grid; place-items: center; border: 2px solid var(--outline); border-radius: var(--radius-sm); background: var(--surface-base); cursor: pointer; }
.check input:checked { background: var(--tertiary); border-color: var(--tertiary); }
.check input:checked::after { content: ""; width: 14px; height: 14px; background: var(--on-tertiary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.check.is-error input { border-color: var(--status-error); }
.check label { cursor: pointer; }
.form-submit { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.form-done { display: grid; justify-items: center; gap: var(--space-sm); padding: var(--space-lg) 0; text-align: center; }
.form-done .mk { border-radius: var(--pebble-b); }
.form-done .h3:focus { outline: none; }

/* ===== Topic page · 1 · Hero ===== */
.hero-topic { padding-top: var(--space-lg); }
.ht-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-xl); }
.ht-text { grid-column: 1 / span 7; grid-row: 1; align-self: center; min-width: 0; }
.ht-text .lead { margin-bottom: var(--space-lg); }
.ht-photo { grid-column: 8 / span 5; grid-row: 1; padding: 0 24px 20px var(--space-lg); }
.ht-toc { grid-column: 1 / -1; grid-row: 2; }
.ht-toc .eyebrow { margin-bottom: var(--space-md); }
.toc-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-md); }
.toc-steps > li { min-width: 0; }
.toc-steps > li:nth-child(even) { margin-top: 28px; }
.toc-steps a { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--text-heading); font-weight: 600; text-decoration: none; }
.toc-steps a span:last-child { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color var(--dur-1) ease; }
.toc-steps a:hover span:last-child { text-decoration-color: var(--primary); }
.toc-steps a:hover .mk { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: var(--space-md); font-size: var(--type-label-uppercase-size); line-height: var(--type-label-uppercase-line); font-weight: 600; }
.crumbs li { display: inline-flex; align-items: center; gap: 12px; color: var(--text-heading); }
.crumbs li + li::before { content: ""; width: 6px; height: 5px; border-radius: var(--pebble-c); background: var(--outline); }
.crumbs a { color: var(--primary); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ===== Topic · 2 · Das Wichtigste ===== */
.kf-h { margin-bottom: var(--space-xl); }

/* ===== Topic · 3 · Ablauf (ten steps) ===== */
.flow-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-xl); align-items: start; }
.flow-side { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + var(--space-lg)); }
.merk { display: flex; align-items: flex-start; gap: var(--space-sm); margin-top: var(--space-lg); padding: var(--space-md); }
.flow-trail { grid-column: 7 / span 6; min-width: 0; }

/* ===== Topic · 4 · Selbst tun (dark) ===== */
.own-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-xl); align-items: center; }
.own-main { grid-column: 1 / span 7; min-width: 0; }
.own-trail { margin-top: var(--space-lg); }
.poss { list-style: none; display: grid; gap: var(--space-sm); }
.poss > li { display: grid; grid-template-columns: var(--mk-sm-w) minmax(0, 1fr); column-gap: var(--space-md); align-items: center; min-height: 56px; }
.own-frame { margin-top: var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--anchor-line); }
.own-frame p + p { margin-top: var(--space-sm); }
.own-quote { grid-column: 9 / span 4; }
.own-avatar { width: 96px; margin-bottom: var(--space-lg); }

/* ===== Topic · 5 · Bestattungsart ===== */
.burial-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-lg); align-items: center; }
.burial-text { grid-column: 1 / span 6; min-width: 0; }
.burial-photo { grid-column: 8 / span 5; margin-right: 12px; }
.term-card { margin-top: var(--space-md); padding: var(--space-md); border-radius: var(--radius-md); background: var(--surface-base); }
.term-label { display: block; margin-bottom: 4px; font-size: var(--type-label-uppercase-size); line-height: var(--type-label-uppercase-line); font-weight: 600; color: var(--tertiary); }
.forms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); align-items: start; margin-top: var(--space-xl); }
.forms-list { display: contents; list-style: none; }
.forms-list > li:nth-child(3n+2) { margin-top: var(--space-lg); }
.form-card { display: flex; flex-direction: column; gap: var(--space-md); }
.form-card .h3 { hyphens: auto; }
.forms-note { align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); padding: var(--space-md); }

/* ===== Topic · 6 · Lebensfest ===== */
.fest-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-xl); align-items: center; }
.fest-text { grid-column: 7 / span 6; grid-row: 1; min-width: 0; }
.fest-text p + p { margin-top: var(--space-md); }
.fest-visual { grid-column: 1 / span 5; grid-row: 1; min-width: 0; }
.fest-visual .pm { margin-right: 24px; }
.speech { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; margin: -56px 0 0 var(--space-lg); border-color: transparent; box-shadow: var(--shadow-card); }

/* ===== Topic · 7 · Kinder ===== */
.kids-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-lg); align-items: center; }
.kids-text { grid-column: 1 / span 6; min-width: 0; }
.kids-text p + p { margin-top: var(--space-md); }
.kids-photo { grid-column: 8 / span 5; margin-right: 12px; }

/* ===== Topic · 9 · Nach der Bestattung (dark) ===== */
.after-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-xl); align-items: center; }
.after-text { grid-column: 7 / span 6; grid-row: 1; min-width: 0; }
.after-text p + p { margin-top: var(--space-md); }
.after-photo { grid-column: 1 / span 5; grid-row: 1; margin-right: 24px; }
.link-list { list-style: none; margin-top: var(--space-lg); border-top: 1px solid var(--anchor-line); }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 56px; padding-block: 12px; border-bottom: 1px solid var(--anchor-line); color: var(--inverse-on-surface); font-weight: 600; text-decoration: none; }
.link-list .icon { width: 18px; height: 18px; color: var(--inverse-primary); transition: transform var(--dur-2) var(--ease-soft); }
.link-list a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.link-list a:hover .icon { transform: translateX(4px); }

/* ===== Footer ===== */
.site-footer { margin-top: var(--sec-gap); padding: var(--space-xl) 0 var(--space-lg); border-radius: var(--radius-xl) var(--radius-xl) 0 0; background: var(--inverse-surface); color: var(--inverse-on-surface); }
.ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: var(--space-lg); }
.ft-col { min-width: 0; }
.ft-h { margin-bottom: var(--space-sm); font-size: var(--type-headline-sm-size); line-height: var(--type-headline-sm-line); color: var(--inverse-on-surface); }
.brand--inverse { margin-bottom: var(--space-md); }
.brand--inverse .brand-owner, .brand--inverse .brand-name { color: var(--inverse-on-surface); }
.ft-addr { margin-bottom: var(--space-sm); }
.ft-tel { margin-bottom: 4px; }
.site-footer a:not(.btn) { color: var(--inverse-on-surface); text-decoration: none; }
.site-footer a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .ft-phone { font-family: var(--font-heading); font-size: var(--type-headline-md-size); line-height: var(--type-headline-md-line); font-weight: 700; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.site-footer .ft-mail { color: var(--inverse-primary); text-decoration: underline; text-underline-offset: 4px; }
.ft-list { list-style: none; display: grid; gap: 10px; }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm) var(--space-lg); margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--anchor-line); font-size: var(--type-helper-size); line-height: var(--type-helper-line); }
.ft-claim { max-width: 720px; }

/* ===== Responsive ===== */
@media (max-width: 1379px) {
  .hd-phone { display: none; }
}

@media (max-width: 1279px) {
  .stone-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diy-intro { grid-column: 1 / -1; position: static; }
  .diy-photo { max-width: 560px; }
  .diy-body { grid-column: 1 / -1; margin-top: var(--space-xl); }
  .trust-intro, .proofs { grid-column: 1 / -1; }
  .toc-steps { gap: var(--space-sm); }
  .values-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .values { grid-column: 1 / -1; }
}

@media (max-width: 1199px) {
  .nav, .hd-cta { display: none; }
  .hd-actions { margin-left: auto; gap: 12px; }
  .hd-call { display: grid; }
  .burger { display: inline-flex; }
}
@media (min-width: 1200px) {
  .mnav { display: none !important; }
}

@media (max-width: 1023px) {
  .hh-grid, .urgent-grid, .diy-grid, .split-head, .aq-grid, .values-grid, .trust-grid, .voices-grid, .costs-grid,
  .faq-grid, .contact-grid, .ht-grid, .flow-grid, .own-grid, .burial-top, .fest-grid, .kids-grid, .after-grid {
    grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg);
  }
  .hh-grid > *, .urgent-grid > *, .diy-grid > *, .split-head > *, .aq-grid > *, .values-grid > *, .trust-grid > *, .voices-grid > *,
  .costs-grid > *, .faq-grid > *, .contact-grid > *, .ht-grid > *, .flow-grid > *, .own-grid > *, .burial-top > *, .fest-grid > *,
  .kids-grid > *, .after-grid > * {
    grid-column: 1 / -1; grid-row: auto;
  }
  .split-head { margin-bottom: var(--space-lg); }
  .split-head > div, .split-head > .lead { grid-column: 1 / -1; }
  .diy-body { margin-top: var(--space-md); }
  .flow-side, .faq-side { position: static; }
  .voices-main, .contact-form { margin-top: 0; }
  .hh-photo, .ht-photo { max-width: 460px; padding: 0 24px 20px 0; }
  .steps-h { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .steps-h > li { display: grid; grid-template-columns: var(--mk-w) minmax(0, 1fr); column-gap: var(--space-md); align-items: start; padding: 0; text-align: left; }
  .steps-h > li:nth-child(even) { margin-top: 0; }
  .steps-h .mk { margin: 0; }
  .steps-h .h-step { margin-top: 16px; }
  .process-foot { text-align: left; margin-top: var(--space-lg); }
  .toc-steps { grid-template-columns: minmax(0, 1fr); }
  .toc-steps > li:nth-child(even) { margin-top: 0; }
  .toc-steps a { flex-direction: row; align-items: center; gap: var(--space-sm); min-height: 48px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team > li:nth-child(3n+2) { margin-top: 0; }
  .team > li:nth-child(even) { margin-top: var(--space-lg); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .values > li + li { border-left: 0; border-top: 1px solid var(--outline-variant); }
  .teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teasers > :nth-child(2) { margin-top: 0; }
  .forms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .forms-list > li:nth-child(3n+2) { margin-top: 0; }
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aq-photo .pm { max-width: 240px; }
  .fest-visual, .after-photo, .kids-photo, .burial-photo { max-width: 560px; }
  .own-quote { max-width: 520px; }
  .urgent-side { padding: var(--space-md); }
}

@media (max-width: 767px) {
  :root {
    --gap-page: var(--space-margin-mobile);
    --panel-radius: var(--radius-lg);
    --panel-pad: var(--space-panel-pad-mobile);
    --sec-gap: var(--space-section-gap-mobile);
    --header-h: 72px;
  }
  .btn { white-space: normal; text-align: center; }
  .cta-pair { flex-direction: column; align-items: stretch; }
  .stone-cards, .diy-cards, .teasers, .team, .proofs, .forms, .voice-slots, .form-row2, .ft-grid, .hints, .chk--rows {
    grid-template-columns: minmax(0, 1fr);
  }
  .stone-cards > li:nth-child(even), .diy-cards > :nth-child(even), .team > li:nth-child(even), .proof:nth-child(2) { margin-top: 0; }
  .hints { gap: var(--space-sm); }
  .hints li { flex-direction: row; align-items: center; gap: var(--space-sm); }
  .hints li:nth-child(2) { margin-top: 0; }
  .card, .voice-card, .contact-form { padding: var(--space-md); }
  .stone-card { padding: calc(var(--mk-sm-h) / 2 + var(--space-md)) var(--space-md) var(--space-md); }
  .stone-cards--lead .stone-card { padding-top: calc(var(--mk-h) / 2 + var(--space-md)); }
  .phone-big { gap: 12px; }
  .phone-num { font-size: var(--type-headline-md-size); }
  .plate { left: -8px; bottom: 12px; padding: 10px 18px; }
  .team .pm { width: 180px; }
  .members li { min-height: 64px; padding: 8px 20px 8px 12px; }
  .speech { margin: -32px 0 0 var(--space-sm); }
  .form-submit .btn, .costs-cta .btn { width: 100%; }
  .select select { padding: 0 40px 0 16px; }
  .select .icon { right: 14px; }
  .btn--soft { width: 100%; }
  .memorial { flex-direction: column; align-items: flex-start; }
  .memorial p { flex: none; }
  .ft-bottom { flex-direction: column; }
  .hero-home { padding-top: var(--space-lg); }
  .hero-topic { padding-top: var(--space-md); }
  .faq-q button { padding: 20px 0; }
  .urgent-side { padding: var(--space-md) 0 0; border: 0; border-top: 1px solid var(--anchor-line); border-radius: 0; }
  .diy-close { padding: 0; }
  .site-footer { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-property: color, background-color, border-color, text-decoration-color !important; }
  .btn:hover, .toc-steps a:hover .mk, .phone-big:hover .ib-phone, .link-arrow:hover .icon, .link-list a:hover .icon { transform: none !important; }
  .faq-a { transition: none; }
}
