/* ==========================================================================
   components.css — components & section styles
   ========================================================================== */

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* opaque so dark hero sections behind the sticky bar never bleed through and
     hurt nav-link contrast */
  background: var(--c-bg);
  border-bottom: var(--bd);
  transition: box-shadow var(--dur-2) var(--ease-out), background var(--dur-2);
}
.site-header.is-scrolled { box-shadow: var(--shadow-1); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: var(--sp-2xs); }
.brand svg { height: 34px; width: auto; }

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: clamp(0.5rem, 1.6vw, 1.5rem); }
.nav a {
  position: relative;
  font-size: var(--step--1);
  font-weight: 600;
  padding: var(--sp-2xs) 2px;
  color: var(--c-ink-2);
  transition: color var(--dur-1);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 100%;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav a:hover { color: var(--c-ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--c-ink); }

.header-cta { display: none; }

/* hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  margin-right: -8px;
}
.nav-toggle span {
  height: 2px; width: 100%;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  background: var(--c-dark);
  color: var(--c-on-dark);
  padding: var(--sp-xl) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur-3) var(--ease-out), visibility var(--dur-3);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-3);
  color: var(--c-on-dark);
  padding: var(--sp-2xs) 0;
  border-bottom: var(--bd-dark);
  display: flex;
  align-items: baseline;
  gap: var(--sp-sm);
}
.mobile-menu a .idx {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--c-accent);
}
.mobile-menu .btn { margin-top: var(--sp-md); }
.menu-meta {
  margin-top: auto;
  padding-top: var(--sp-lg);
  font-size: var(--step--1);
  color: var(--c-on-dark-muted);
}
.menu-meta a { font: inherit; border: 0; padding: 0; color: var(--c-accent); display: inline; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--c-accent);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2xs);
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--r-md);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2);
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: var(--c-accent-600);
  transform: translateY(101%);
  transition: transform var(--dur-2) var(--ease-out);
}
.btn:hover { box-shadow: var(--shadow-accent); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(1px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-ink);
  border: 1px solid var(--c-line);
}
.btn--ghost::before { background: var(--c-ink); }
.btn--ghost:hover { --btn-fg: #fff; border-color: var(--c-ink); box-shadow: var(--shadow-2); }

.on-dark .btn--ghost { --btn-fg: var(--c-on-dark); border-color: var(--c-dark-line); }
.on-dark .btn--ghost::before { background: #fff; }
.on-dark .btn--ghost:hover { --btn-fg: var(--c-ink); }

.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2xs);
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--c-ink);
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow .accent { color: var(--c-accent); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3rem, 9vw, 6.5rem);
}
.hero__copy { max-width: 38rem; }
.hero h1 {
  /* ch-measure lives on the heading itself, never on a wrapper */
  max-width: 16ch;
  font-size: var(--step-6);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  color: var(--c-on-dark);
}
.hero h1 .accent { color: var(--c-accent); }
.hero__lead {
  margin-top: var(--sp-md);
  max-width: 42ch;
  font-size: var(--step-1);
  color: var(--c-on-dark-muted);
}
.hero__actions { margin-top: var(--sp-lg); }
.hero__meta {
  margin-top: var(--sp-xl);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-lg) var(--sp-xl);
  padding-top: var(--sp-md);
  border-top: var(--bd-dark);
}
.hero__meta .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-3);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero__meta .num .accent { color: var(--c-accent); }
.hero__meta .lbl {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-on-dark-muted);
}

/* hero visual — real work photo with duotone treatment */
.hero__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  border: var(--bd-dark);
}
.hero__media .frame {
  aspect-ratio: 4 / 5;
}
.media-duotone {
  position: relative;
  width: 100%; height: 100%;
}
.media-duotone img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(0.92);
}
.media-duotone::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--c-accent) 26%, transparent) 0%,
    transparent 38%,
    color-mix(in srgb, var(--c-dark) 72%, transparent) 100%);
  mix-blend-mode: multiply;
}
.hero__tag {
  position: absolute;
  left: var(--sp-md); bottom: var(--sp-md);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: color-mix(in srgb, var(--c-dark) 60%, transparent);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-pill);
}

/* circuit trace decoration in hero */
.hero__trace {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}
.hero__inner { position: relative; z-index: 1; }

/* ---------- Marquee strip ---------- */
.marquee {
  --speed: 38s;
  overflow: hidden;
  border-block: var(--bd);
  background: var(--c-surface);
  padding-block: var(--sp-sm);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: var(--sp-2xl);
  animation: marquee var(--speed) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  white-space: nowrap;
}
.marquee__item svg { width: 1.1em; height: 1.1em; color: var(--c-accent); }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--sp-2xl) / 2)); } }

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  gap: 1px;
  background: var(--c-line);
  border: var(--bd);
  border-radius: var(--r-lg);
  overflow: hidden;
  grid-template-columns: 1fr;
}
.service {
  position: relative;
  background: var(--c-surface);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  transition: background var(--dur-2);
}
.service::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 3px; height: 0;
  background: var(--c-accent);
  transition: height var(--dur-3) var(--ease-out);
}
.service:hover { background: var(--c-accent-tint); }
.service:hover::before { height: 100%; }
.service__idx {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  color: var(--c-muted);
}
.service__icon {
  width: 48px; height: 48px;
  color: var(--c-ink);
  display: grid; place-items: center;
}
.service__icon svg { width: 100%; height: 100%; stroke: currentColor; }
.service:hover .service__icon { color: var(--c-accent-600); }
.service h3 { font-size: var(--step-2); }
.service p { color: var(--c-muted); font-size: var(--step--1); }
.service .link-arrow { margin-top: auto; }

/* ---------- Editorial split (image + text) ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  position: relative;
}
.split__media .frame { aspect-ratio: 5 / 4; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media .frame.is-product { background: var(--c-surface-2); }
.split__media .frame.is-product img { object-fit: contain; padding: 7%; }
.split__media .credit {
  position: absolute; right: 8px; bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: color-mix(in srgb, var(--c-dark) 55%, transparent);
  padding: 2px 7px;
  border-radius: var(--r-pill);
}
.checklist { display: grid; gap: var(--sp-sm); margin-top: var(--sp-md); }
.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-sm);
  align-items: start;
}
.checklist .tick {
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--c-accent-tint);
  color: var(--c-accent-600);
}
.checklist .tick svg { width: 15px; height: 15px; }
.checklist b { display: block; }
.checklist span.muted { color: var(--c-muted); font-size: var(--step--1); }

/* ---------- Stat strip ---------- */
.stats {
  display: grid;
  gap: 1px;
  background: var(--c-dark-line);
  grid-template-columns: 1fr;
  border-block: var(--bd-dark);
}
.stat {
  background: var(--c-dark);
  padding: clamp(1.75rem, 5vw, 2.75rem) var(--gutter);
  text-align: center;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-5);
  line-height: 1;
  color: var(--c-on-dark);
  font-variant-numeric: tabular-nums;
}
.stat .num .accent { color: var(--c-accent); }
.stat .lbl {
  margin-top: var(--sp-2xs);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-on-dark-muted);
}

/* ---------- Process timeline ---------- */
.steps { display: grid; gap: var(--sp-lg); counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-md);
  padding-bottom: var(--sp-lg);
  border-bottom: var(--bd);
}
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step__no {
  font-family: var(--font-mono);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--c-accent-600);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: var(--step-1); }
.step p { color: var(--c-muted); font-size: var(--step--1); margin-top: 4px; }

/* ---------- Reviews ---------- */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-md) var(--sp-xl);
  justify-content: space-between;
  margin-bottom: var(--sp-xl);
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-md);
}
.rating-badge .score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-4);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stars { display: inline-flex; gap: 2px; color: var(--c-accent); }
.stars svg { width: 1.05em; height: 1.05em; }
.stars .half { position: relative; }
.rating-badge .meta { font-size: var(--step--1); color: var(--c-muted); }
.rating-badge .meta b { color: var(--c-ink); }
.g-mark { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.g-mark svg { width: 1.1em; height: 1.1em; }

.review-grid {
  display: grid;
  gap: var(--sp-md);
  grid-template-columns: 1fr;
}
.review {
  background: var(--c-surface);
  border: var(--bd);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  box-shadow: var(--shadow-1);
}
.review__top { display: flex; align-items: center; gap: var(--sp-sm); }
.avatar {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--c-ink-2);
}
.review__who b { display: block; font-size: var(--step-0); }
.review__who .when { font-size: var(--step--2); color: var(--c-muted); font-family: var(--font-mono); }
.review__body { color: var(--c-ink-2); font-size: var(--step--1); }
.review .stars { font-size: var(--step--1); }

/* ---------- Contact / location ---------- */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
}
.info-card {
  background: var(--c-surface);
  border: var(--bd);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-1);
}
.info-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-sm);
  align-items: start;
  padding-block: var(--sp-sm);
  border-bottom: var(--bd);
}
.info-row:last-child { border-bottom: 0; }
.info-row .ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--c-surface-2);
  color: var(--c-ink);
}
.info-row .ico svg { width: 20px; height: 20px; }
.info-row .k { font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.info-row .v { font-size: var(--step-0); font-weight: 600; }
.info-row a.v:hover { color: var(--c-accent-600); }

/* opening hours table */
.hours { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: var(--bd); }
.hours th { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.04em; color: var(--c-muted); font-size: var(--step--2); text-transform: uppercase; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.today th, .hours tr.today td { color: var(--c-ink); font-weight: 700; }
.hours tr.today { background: var(--c-accent-tint); }
.hours tr.closed td { color: var(--c-muted); }
.hours-now {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: var(--sp-md);
  font-size: var(--step--1); font-weight: 700;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c-muted); }
.hours-now.open .dot { background: var(--c-ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-ok) 22%, transparent); }
.hours-now.shut .dot { background: var(--c-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 20%, transparent); }

/* map */
.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: var(--bd);
  box-shadow: var(--shadow-1);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

/* ---------- Form ---------- */
.form { display: grid; gap: var(--sp-md); }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.field .req { color: var(--c-accent-600); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font-size: 16px;            /* prevents iOS zoom */
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 22%, transparent);
}
.field--row { display: grid; gap: var(--sp-md); grid-template-columns: 1fr; }
.form__note { font-size: var(--step--2); color: var(--c-muted); }
.form__note a { color: var(--c-accent-600); text-decoration: underline; }

.form-success {
  display: none;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-md);
  background: var(--c-accent-tint);
  border: 1px solid var(--c-accent-200);
  border-radius: var(--r-md);
}
.form-success.is-visible { display: flex; }
.form-success svg { flex: none; width: 24px; height: 24px; color: var(--c-accent-600); }
.form-success b { display: block; }
.form-success p { font-size: var(--step--1); color: var(--c-ink-2); margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner {
  display: grid;
  gap: var(--sp-lg);
  align-items: center;
  padding-block: clamp(2.5rem, 7vw, 5rem);
}
.cta-band h2 { font-size: var(--step-4); color: var(--c-on-dark); max-width: 18ch; }
.cta-band p { color: var(--c-on-dark-muted); max-width: 46ch; margin-top: var(--sp-sm); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-dark);
  color: var(--c-on-dark-muted);
  padding-block: var(--sp-2xl) var(--sp-lg);
  font-size: var(--step--1);
}
.footer-grid {
  display: grid;
  gap: var(--sp-xl);
  grid-template-columns: 1fr;
  padding-bottom: var(--sp-xl);
  border-bottom: var(--bd-dark);
}
.footer-brand svg { height: 36px; width: auto; margin-bottom: var(--sp-md); }
.footer-brand p { max-width: 34ch; }
.footer-col h4 {
  color: var(--c-on-dark);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--sp-sm);
}
.footer-col ul { display: grid; gap: var(--sp-2xs); }
.footer-col a:hover { color: var(--c-accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm) var(--sp-md);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-md);
  font-size: var(--step--2);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--sp-md); }
.footer-bottom a:hover { color: var(--c-accent); }
.cookie-note {
  margin-top: var(--sp-md);
  font-size: var(--step--2);
  color: var(--c-on-dark-muted);
  opacity: 0.8;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3.5rem); }
/* smaller floor than --step-5 so long German compounds (e.g. „Datenschutzerklärung")
   fit the column at 360px without forced mid-word hyphenation */
.page-hero h1 { font-size: clamp(1.5rem, 0.85rem + 3.3vw, 4.4rem); max-width: 20ch; color: var(--c-on-dark); }
.page-hero p { color: var(--c-on-dark-muted); max-width: 52ch; margin-top: var(--sp-md); font-size: var(--step-1); }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-on-dark-muted);
  margin-bottom: var(--sp-md);
}
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb span { color: var(--c-accent); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { border-top: var(--bd); }
.acc-item { border-bottom: var(--bd); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  text-align: left;
  padding: var(--sp-md) 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
}
.acc-trigger .pm {
  flex: none;
  width: 30px; height: 30px;
  position: relative;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
}
.acc-trigger .pm::before, .acc-trigger .pm::after {
  content: ""; position: absolute; inset: 50% 7px;
  height: 2px; background: var(--c-accent);
  transform: translateY(-50%);
  transition: transform var(--dur-2) var(--ease-out);
}
.acc-trigger .pm::after { transform: translateY(-50%) rotate(90deg); }
.acc-trigger[aria-expanded="true"] .pm::after { transform: translateY(-50%) rotate(0); }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-3) var(--ease-out);
}
.acc-trigger[aria-expanded="true"] + .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { min-height: 0; overflow: hidden; }
.acc-panel p { color: var(--c-muted); padding-bottom: var(--sp-md); max-width: 62ch; }

/* ---------- Misc ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-2);
  background: var(--c-surface);
  border: var(--bd);
  border-radius: var(--r-pill);
  padding: 0.4rem 0.85rem;
}
.pill .dot { background: var(--c-accent); }
.demo-note {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  color: var(--c-muted);
  letter-spacing: 0.02em;
}
.prose p { color: var(--c-ink-2); }
.prose p + p { margin-top: var(--sp-md); }
.prose h2 { font-size: var(--step-2); margin-top: var(--sp-xl); margin-bottom: var(--sp-sm); }
.prose h3 { font-size: var(--step-1); margin-top: var(--sp-lg); margin-bottom: var(--sp-2xs); }
.prose a { color: var(--c-accent-600); text-decoration: underline; }
.prose ul { display: grid; gap: var(--sp-2xs); margin-top: var(--sp-sm); }
.prose ul li { position: relative; padding-left: 1.4rem; color: var(--c-ink-2); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; background: var(--c-accent); }
