/* =========================================================
   Schüttgüter Stadtallendorf – Stylesheet
   Fonts: Bricolage Grotesque (Headlines), Instrument Sans (Text)
   Farben aus dem Logo: Anthrazit #302c28, Gold #b28a4b
   ========================================================= */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/InstrumentSans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #f7f4ee;
  --paper: #eee8dc;
  --card: #fffdf9;
  --fg: #26221f;
  --fg-soft: #4a433d;
  --muted: #6f665c;
  --primary: #302c28;
  --primary-2: #221f1c;
  --primary-fg: #f7f4ee;
  --border: #e2dacc;
  --border-strong: #c8bda9;
  --accent: #b28a4b;
  --accent-strong: #9a7439;
  --accent-fg: #7a5a2a;
  --accent-soft: #f1e7d3;
  --accent-light: #d2b47a;
  --danger: #b4261f;
  --ok: #2f8f4a;

  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .6), 0 18px 40px -24px rgba(38, 34, 31, .35);
  --shadow-soft: 0 24px 48px -32px rgba(38, 34, 31, .3);
  --shadow-lift: 0 30px 60px -30px rgba(38, 34, 31, .42);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --container: 74rem;
  --gutter: clamp(1rem, 4vw, 1.5rem);
  --section-y: clamp(4rem, 9vw, 7rem);
  --header-h: 4.75rem;

  /* Körnung-Rasterpapier und Stein-Silhouette als wiederverwendbare Motive */
  --stone-clip: polygon(18% 0, 82% 6%, 100% 48%, 84% 100%, 20% 94%, 0 46%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 5rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--border-strong); text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--accent-strong); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: .3em; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.hidden { display: none !important; }
[hidden] { display: none !important; }
.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;
}
::selection { background: var(--accent-light); color: var(--primary); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.018em;
  margin: 0 0 .5em;
  color: var(--fg);
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); letter-spacing: -.03em; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.7vw, 2.85rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.0625rem; letter-spacing: 0; }
h1 em, h2 em { font-style: normal; color: var(--accent-fg); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--fg-soft); max-width: 40rem; text-wrap: pretty; }
.measure { max-width: 42rem; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.num, .tabular { font-variant-numeric: tabular-nums; }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-fg); margin: 0 0 1rem;
}
.kicker::before { content: ""; width: .8rem; height: .8rem; background: var(--accent); clip-path: var(--stone-clip); flex: none; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 48rem); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; max-width: none; }
.section-head--row > div { max-width: 46rem; }
.section-head h2 { margin-bottom: .4em; }
.section-head p { margin-bottom: 0; color: var(--fg-soft); }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56em) { .split { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); } .split--text-wide { grid-template-columns: 1.2fr 1fr; } .split--reverse > :first-child { order: 2; } }
.split img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.split .frame, .frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.frame img { border: 0; border-radius: 0; box-shadow: none; width: 100%; height: 100%; object-fit: cover; }
.split--top { align-items: start; }

/* Sticky-Layouts */
.sticky-split { display: grid; gap: 2rem; }
.sticky-split__head > :last-child { margin-bottom: 0; }
@media (min-width: 56em) {
  .sticky-split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .sticky-split__head { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

.with-toc { display: grid; gap: 2rem; }
@media (min-width: 60em) {
  .with-toc { grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
  .with-toc > .toc { position: sticky; top: calc(var(--header-h) + 2rem); max-height: calc(100vh - var(--header-h) - 4rem); overflow-y: auto; }
}
.toc { font-size: .9375rem; }
.toc__title { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.toc li { margin: 0; }
.toc a { display: block; padding: .45rem 0 .45rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.toc a:hover { color: var(--fg); }
.toc a.is-active { color: var(--fg); font-weight: 600; border-left-color: var(--accent); }
.toc__cta { margin-top: 1.5rem; padding: 1.1rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }
.toc__cta p { margin: 0 0 .75rem; font-size: .9rem; color: var(--fg-soft); }
@media (max-width: 59.99em) {
  .with-toc > .toc { position: sticky; top: var(--header-h); z-index: 20; margin-inline: calc(-1 * var(--gutter)); padding: .6rem var(--gutter); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
  .with-toc > .toc::-webkit-scrollbar { display: none; }
  .toc__title, .toc__cta { display: none; }
  .toc ul { display: flex; gap: .4rem; border: 0; min-width: max-content; }
  .toc a { padding: .4rem .8rem; margin: 0; border: 1px solid var(--border); border-radius: 999px; background: var(--card); white-space: nowrap; font-size: .875rem; }
  .toc a.is-active { border-color: var(--fg); background: var(--primary); color: var(--primary-fg); }
}
.toc-block + .toc-block { margin-top: clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 39.99em) { nav.toc-block .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } nav.toc-block .card { padding: .9rem 1rem; } }
.toc-block > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.toc-block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: .75rem; }
.toc-block__head h2 { margin: 0; }
.toc-block__head .text-link { font-size: .9375rem; }

.stack > * + * { margin-top: 1rem; }
.flow > * + * { margin-top: 1.25em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.35rem; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; line-height: 1.15; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .25s var(--ease), box-shadow .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent-strong); color: #fff; border-color: var(--accent-strong); text-shadow: 0 1px 1px rgba(0, 0, 0, .15); }
.toc .btn--primary, .mobile-nav .btn--primary, .site-footer .btn--primary, .prose .btn--primary { color: #fff; }
.btn--primary:hover { background: var(--accent-fg); border-color: var(--accent-fg); box-shadow: 0 12px 26px -14px rgba(122, 90, 42, .9); }
.btn--dark { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.btn--dark:hover { background: #443d37; }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--light { background: var(--card); color: var(--fg); border-color: var(--border-strong); }
.btn--light:hover { border-color: var(--fg); }
.btn--sm { padding: .55rem .95rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--spaced { margin-top: 1.75rem; }
.btn__sub { display: block; font-size: .75rem; font-weight: 500; opacity: .75; margin-top: .15rem; }
.btn--stacked { flex-direction: column; gap: 0; line-height: 1.1; }

.text-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.text-link svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Öffnungsstatus ---------- */
.status { display: inline-flex; align-items: center; gap: .55rem; }
.status__dot { position: relative; width: .55rem; height: .55rem; flex: none; border-radius: 50%; background: #b9aea0; }
[data-state="open"] .status__dot, .status__dot[data-state="open"] { background: var(--ok); }
[data-state="open"] .status__dot::after, .status__dot[data-state="open"]::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: status-ping 2.4s var(--ease) infinite; }
[data-state="soon"] .status__dot, [data-state="break"] .status__dot, .status__dot[data-state="soon"], .status__dot[data-state="break"] { background: var(--accent); }
@keyframes status-ping { 0% { transform: scale(.6); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Topbar ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .6rem 1rem; background: var(--primary); color: var(--primary-fg); border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.topbar { background: var(--primary); color: rgba(247, 244, 238, .78); font-size: .8125rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.5rem; }
.topbar a { color: inherit; text-decoration: none; transition: color .15s ease; }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; align-items: center; gap: 1.5rem; min-width: 0; }
.topbar__status { color: #fff; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__item { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.topbar__item svg { width: 1em; height: 1em; color: var(--accent-light); }
.topbar__links { display: none; }
@media (min-width: 48em) { .topbar__links { display: flex; } }
@media (max-width: 47.99em) { .topbar__address { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
  view-transition-name: site-header;
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom-color: var(--border); box-shadow: 0 10px 30px -24px rgba(38, 34, 31, .45); }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: 0 50%;
}
@supports (animation-timeline: scroll()) {
  .site-header::after { animation: scroll-progress linear both; animation-timeline: scroll(root); }
}
@keyframes scroll-progress { to { transform: scaleX(1); } }

.site-header > .container { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; flex: none; }
.brand__logo { height: 2.7rem; width: auto; transition: transform .4s var(--ease); }
.brand:hover .brand__logo { transform: translateY(-1px); }
@media (max-width: 39.99em) { .brand__logo { height: 2.2rem; } }
/* Fallback für alte Markup-Reste */
.brand__mark { width: 2.4rem; height: 2.4rem; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.brand__sub { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-fg); }

.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; margin: 0; }
.nav__link, .nav__trigger {
  position: relative; display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .75rem; border-radius: var(--radius); border: 0; background: none;
  font-weight: 500; font-size: .96rem; color: var(--fg-soft); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.nav__link:hover, .nav__trigger:hover, .nav__item.is-open > .nav__trigger { color: var(--fg); background: var(--paper); }
.nav__link[aria-current="page"], .nav__item.is-active > .nav__trigger { color: var(--fg); }
.nav__link[aria-current="page"]::after, .nav__item.is-active > .nav__trigger::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--accent);
}
.nav__trigger svg { width: .9em; height: .9em; transition: transform .25s var(--ease); }
.nav__item.is-open > .nav__trigger svg { transform: rotate(180deg); }

.submenu {
  position: absolute; left: -1rem; top: 100%; z-index: 60; padding-top: .65rem;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px) scale(.985); transform-origin: 2rem 0;
  transition: opacity .18s ease, transform .3s var(--ease), visibility 0s linear .3s;
}
.nav__item.is-open > .submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.submenu__panel {
  width: 37rem; padding: .6rem; background: var(--card);
  border: 1px solid var(--border); border-radius: calc(var(--radius-lg) + 4px); box-shadow: var(--shadow-lift);
}
.submenu__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.submenu__grid li { margin: 0; }
.submenu__item {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: .85rem; align-items: center;
  padding: .55rem; border-radius: var(--radius); text-decoration: none; color: var(--fg);
  transition: background-color .15s ease;
}
.submenu__item:hover, .submenu__item:focus-visible { background: var(--paper); }
.submenu__item[aria-current="page"] { background: var(--accent-soft); }
.submenu__item img { width: 3.5rem; height: 3.5rem; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); transition: transform .35s var(--ease); }
.submenu__item:hover img { transform: scale(1.06); }
.submenu__item strong { display: block; font-size: .95rem; font-weight: 600; line-height: 1.25; }
.submenu__item small { display: block; font-size: .8125rem; color: var(--muted); margin-top: .1rem; }
.submenu__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin: .5rem -.6rem -.6rem; padding: .8rem 1.15rem; border-top: 1px solid var(--border);
  background: var(--bg); border-radius: 0 0 calc(var(--radius-lg) + 3px) calc(var(--radius-lg) + 3px); font-size: .9rem;
}
.submenu__foot a { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.submenu__foot a:hover { color: var(--accent-fg); }
.submenu__foot a svg { width: 1em; height: 1em; }
.submenu__foot .muted-link { font-weight: 500; color: var(--muted); }

.header-actions { display: none; align-items: center; gap: 1rem; }
.header-phone { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--fg); line-height: 1.15; }
.header-phone strong { display: block; font-weight: 600; font-size: .98rem; white-space: nowrap; }
.header-phone small { display: block; font-size: .75rem; color: var(--muted); white-space: nowrap; }
.header-phone__icon { position: relative; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--paper); color: var(--accent-fg); flex: none; transition: background-color .2s ease; }
.header-phone:hover .header-phone__icon { background: var(--accent-soft); }
.header-phone__icon svg { width: 1rem; height: 1rem; }
.header-phone__icon .status__dot { position: absolute; right: 0; top: 0; border: 2px solid var(--bg); width: .7rem; height: .7rem; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .8rem; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--card);
  font-weight: 600; cursor: pointer;
}
.menu-toggle svg { width: 1.25rem; height: 1.25rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }

@media (min-width: 48em) { .header-actions { display: flex; } }
@media (max-width: 59.99em) { .header-phone__text { display: none; } }
@media (min-width: 72em) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}
@media (min-width: 72em) and (max-width: 79.99em) { .header-phone__text { display: none; } }

/* Mobile menu */
.mobile-nav { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.mobile-nav[data-open="true"] { grid-template-rows: 1fr; border-top: 1px solid var(--border); }
.mobile-nav__inner { overflow: hidden; min-height: 0; }
.mobile-nav[data-open="true"] .mobile-nav__inner { max-height: calc(100svh - var(--header-h) - 2.5rem); overflow-y: auto; overscroll-behavior: contain; }
.menu-open .mobile-bar { transform: translateY(110%); }
.mobile-bar { transition: transform .35s var(--ease); }
.mobile-nav ul { list-style: none; margin: 0; padding: .5rem 0 1rem; }
.mobile-nav li { margin: 0; }
.mobile-nav a { display: block; padding: .8rem 0; font-weight: 600; font-size: 1.05rem; text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-nav ul ul { padding: .25rem 0 .75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; border-bottom: 1px solid var(--border); }
.mobile-nav ul ul a { font-weight: 500; font-size: .9375rem; color: var(--fg-soft); padding: .6rem .75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.mobile-nav a[aria-current="page"] { color: var(--accent-fg); }
.mobile-nav__actions { display: grid; gap: .6rem; padding: .25rem 0 1.25rem; }
.mobile-nav__hours { font-size: .875rem; color: var(--muted); margin: 0 0 1rem; }
@media (min-width: 72em) { .mobile-nav { display: none !important; } }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(86svh, 56rem); display: flex; align-items: center; color: var(--primary-fg);
}
.hero__media { position: absolute; inset: -8% 0 0; z-index: -3; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 2.6s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(34, 31, 28, .92) 0%, rgba(34, 31, 28, .74) 45%, rgba(34, 31, 28, .32) 100%), linear-gradient(0deg, rgba(34, 31, 28, .5), transparent 40%);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .14; mix-blend-mode: overlay; pointer-events: none; }
.hero__mark { position: absolute; right: -4%; bottom: -14%; width: clamp(18rem, 36vw, 34rem); z-index: -1; opacity: .13; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .hero__mark { animation: mark-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
}
@keyframes mark-drift { to { transform: translateY(-12%) rotate(-4deg); } }
.hero .container { padding-block: clamp(4rem, 10vw, 7rem); }
.hero__inner { max-width: 48rem; }
.hero .kicker { color: var(--accent-light); }
.hero .kicker::before { background: var(--accent-light); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.2vw, 4.8rem); line-height: .97; letter-spacing: -.035em; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.hero h1 em { color: var(--accent-light); }
.hero .lead { color: rgba(247, 244, 238, .88); max-width: 36rem; }
.hero .btn-row { margin-top: 1.75rem; }
.hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.hero .chips { margin-top: 2.25rem; }
.hero .chips li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: rgba(247, 244, 238, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__status { display: inline-flex; margin-bottom: 1.5rem; padding: .45rem .9rem .45rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: .875rem; font-weight: 500; color: #fff; text-decoration: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__status:hover { background: rgba(255, 255, 255, .16); }

/* Ladeanimation Hero-Inhalte */
.hero__inner > *, .page-hero__copy > *, .page-hero__media, .page-hero__aside, .breadcrumbs {
  animation: rise .9s var(--ease) both;
}
.hero__inner > :nth-child(2), .page-hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__inner > :nth-child(3), .page-hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__inner > :nth-child(4), .page-hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__inner > :nth-child(5), .page-hero__copy > :nth-child(5) { animation-delay: .32s; }
.hero__inner > :nth-child(n+6), .page-hero__copy > :nth-child(n+6) { animation-delay: .4s; }
.page-hero__media, .page-hero__aside { animation-name: rise-media; animation-duration: 1.2s; animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise-media { from { opacity: 0; clip-path: inset(8% 6% 8% 6% round var(--radius-lg)); transform: scale(.98); } to { opacity: 1; clip-path: inset(0 round var(--radius-lg)); transform: none; } }

/* Laufband */
.strip { background: var(--primary); color: var(--primary-fg); border-block: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.strip .container { display: flex; align-items: center; gap: 2rem; padding-block: 1rem; }
.strip__label { flex: none; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-light); }
.strip__track { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.5rem; width: max-content; }
.strip li { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: rgba(247, 244, 238, .9); white-space: nowrap; display: inline-flex; align-items: center; gap: 2.5rem; }
.strip li::after { content: ""; width: .5rem; height: .5rem; background: var(--accent); clip-path: var(--stone-clip); }
.strip.is-marquee ul { animation: marquee 42s linear infinite; }
.strip.is-marquee:hover ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (Unterseiten) ---------- */
.page-hero { position: relative; padding-block: clamp(1.75rem, 4vw, 2.5rem) clamp(3.5rem, 7vw, 5.5rem); background: var(--bg); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -8rem; top: -6rem; width: 30rem; height: 30rem; background: radial-gradient(circle, var(--accent-soft), transparent 62%); opacity: .9; pointer-events: none; }
.page-hero > .container { position: relative; }
.page-hero .breadcrumbs { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.page-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56em) { .page-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 5.5rem); } }
.page-hero__copy { max-width: 40rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: 1; }
.page-hero .lead { margin: 0; }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero .chips { margin-top: 1.75rem; }
.page-hero__media { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-soft); view-transition-name: page-hero-media; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .08; mix-blend-mode: multiply; pointer-events: none; }
.page-hero__aside { min-width: 0; }
.page-hero--solo .page-hero__grid { grid-template-columns: 1fr; }
.page-hero--solo .page-hero__copy { max-width: 46rem; }
.page-hero + .section:not(.section--paper):not(.band-dark) { padding-top: clamp(2.75rem, 5vw, 4rem); border-top: 1px solid var(--border); }
.page-hero__facts { display: flex; flex-wrap: wrap; gap: 1.25rem 2.25rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.page-hero__facts li { margin: 0; display: grid; gap: .1rem; }
.page-hero__facts strong { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.page-hero__facts strong .p__unit { font-size: .55em; color: var(--muted); font-weight: 500; margin-left: .2em; }
.page-hero__facts small { font-size: .8125rem; color: var(--muted); }

/* Chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { margin: 0; display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .85rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card); font-size: .875rem; font-weight: 500; color: var(--fg-soft); }
.chips svg { width: 1em; height: 1em; color: var(--accent-fg); flex: none; }
.hero .chips svg { color: var(--accent-light); }

.breadcrumbs { font-size: .875rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: .35rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--fg); font-weight: 500; }

/* Subnav */
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--border); }
.subnav .container { overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav ul { list-style: none; margin: 0; padding: .6rem 0; display: flex; gap: .35rem; min-width: max-content; }
.subnav li { margin: 0; }
.subnav a { display: inline-block; padding: .5rem .95rem; border-radius: 999px; font-weight: 500; font-size: .92rem; color: var(--fg-soft); text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.subnav a:hover { color: var(--fg); background: var(--paper); }
.subnav a[aria-current="page"] { color: var(--primary-fg); background: var(--primary); font-weight: 600; }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem); box-shadow: 0 1px 0 rgba(255, 255, 255, .7);
  display: flex; flex-direction: column; gap: .5rem;
}
.card h3 { margin: 0; }
.card h3 a, .product-card h3 a, .steps h3 a { text-decoration: none; }
.card h3 a:hover, .product-card h3 a:hover { text-decoration: underline; }
.card p { margin: 0; color: var(--fg-soft); }
.card > .btn, .card .card__link { margin-top: auto; align-self: flex-start; }
.card .card__link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; padding-top: .5rem; }
.card .card__link svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.card--link:hover .card__link svg { transform: translateX(4px); }
.card--link { position: relative; transition: border-color .25s ease, transform .4s var(--ease), box-shadow .4s var(--ease); }
.card--link:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card--link a.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card .icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent-fg); margin-bottom: .5rem; }
.card .icon svg { width: 1.35rem; height: 1.35rem; }
.card img { border-radius: var(--radius); border: 1px solid var(--border); margin: -.25rem 0 .5rem; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card--image { padding: 0; overflow: hidden; }
.card--image .card__img { overflow: hidden; border-bottom: 1px solid var(--border); position: relative; }
.card--image img { margin: 0; border: 0; border-radius: 0; transition: transform .8s var(--ease); }
.card--image > img { border-bottom: 1px solid var(--border); }
.card--link.card--image:hover img { transform: scale(1.05); }
.card--image .card__body { position: relative; background: var(--card); padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card--image .card__price { margin-top: auto; padding-top: .5rem; }
.card--image .card__body .btn, .card--image .card__body .card__link { margin-top: auto; }
.card__price { font-size: .875rem; color: var(--muted); }
.card > .card__price { margin-top: auto; padding-top: .5rem; }
.card__price strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--fg); }
.card__count { position: absolute; left: .85rem; top: .85rem; z-index: 2; padding: .3rem .6rem; border-radius: 999px; background: rgba(34, 31, 28, .78); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .04em; backdrop-filter: blur(6px); }

/* Gruppenkarten der Produktübersicht: Bild + großer Startpreis */
.group-card .card__price { display: flex; align-items: baseline; gap: .35rem; font-size: .9rem; }
.group-card .card__price strong { font-size: 1.35rem; letter-spacing: -.02em; }
.group-card .card__price .p__unit { color: var(--muted); }

.product-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .25s ease, transform .4s var(--ease), box-shadow .4s var(--ease); }
.product-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-soft); }
.product-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 1px solid var(--border); transition: transform .8s var(--ease); }
.product-card:hover img { transform: scale(1.04); }
.product-card__media { overflow: hidden; }
.product-card__body { position: relative; padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; background: var(--card); }
.product-card h3 { font-size: 1.1rem; margin: 0; }
.product-card .grain { font-size: .85rem; color: var(--muted); }
.product-card .prices { list-style: none; margin: .6rem 0 0; padding: .75rem 0 0; border-top: 1px dashed var(--border); display: grid; gap: .25rem; font-size: .9375rem; }
.product-card .prices li { display: flex; justify-content: space-between; gap: 1rem; margin: 0; }
.product-card .prices li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.product-card .prices li.main span:last-child { font-family: var(--font-display); font-size: 1.15rem; }

.tag { display: inline-block; padding: .2rem .55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-fg); font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tag--neutral { background: var(--paper); color: var(--muted); }
.tag--neu { background: var(--primary); color: var(--accent-light); vertical-align: middle; }
.tag--mini { padding: .1rem .45rem; font-size: .65rem; background: var(--paper); color: var(--muted); margin-left: .35rem; vertical-align: middle; }

/* ---------- Körnung / Stein-Glyph ---------- */
.grain { display: inline-block; font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em; color: var(--fg); }
.pf__table .grain, .price-table--katalog .grain { padding: .18rem .55rem; border: 1px solid var(--border-strong); border-radius: 4px; font-size: .9rem; background: var(--bg); white-space: nowrap; }
.stone-glyph { display: inline-block; width: 2.6rem; height: 2.2rem; background: var(--accent); clip-path: var(--stone-clip); }

/* ---------- Produktfamilie (Karte mit Varianten-Tabelle) ---------- */
.pf-grid { display: grid; gap: 1.25rem; }
@media (min-width: 48em) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 80em) { .pf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pf {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .25s ease, transform .45s var(--ease), box-shadow .45s var(--ease), opacity .3s ease;
}
.pf:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.pf:target { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.pf__media { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--paper); aspect-ratio: 3 / 1.45; }
.pf__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pf:hover .pf__media img { transform: scale(1.04); }
.pf__media--none { display: flex; align-items: center; justify-content: center; gap: .9rem; aspect-ratio: auto; min-height: 4.25rem; background: linear-gradient(135deg, var(--paper), var(--accent-soft)); }
.pf__media--none::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .25; mix-blend-mode: multiply; pointer-events: none; }
.pf__media--none .stone-glyph { width: 1.9rem; height: 1.6rem; opacity: .8; }
.pf__nophoto { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-fg); }
.pf__body { display: flex; flex-direction: column; gap: .9rem; padding: 1.15rem 1.25rem 1.15rem; flex: 1; }
.pf__head { display: grid; gap: .3rem; }
.pf__kind { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.pf__name { font-size: 1.3rem; margin: 0; letter-spacing: -.015em; }
.pf__short { margin: 0; font-size: .92rem; color: var(--fg-soft); line-height: 1.5; }
.pf__table { font-size: .9rem; margin-top: auto; }
.pf__table thead th { font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 .4rem .45rem 0; text-align: left; border-bottom: 1px solid var(--border); vertical-align: bottom; line-height: 1.2; }
.pf__table thead th small { display: block; font-size: .62rem; letter-spacing: .04em; text-transform: none; font-weight: 500; color: var(--muted); opacity: .85; }
.pf__table th, .pf__table td { padding: .55rem .4rem .55rem 0; vertical-align: middle; }
.pf__table tbody th { font-weight: 500; text-align: left; white-space: nowrap; }
.pf__table tbody th small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; margin-top: .2rem; letter-spacing: .02em; }
.pf__table tbody tr + tr th, .pf__table tbody tr + tr td { border-top: 1px dashed var(--border); }
.pf__table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--fg-soft); }
.pf__table .num:last-child, .pf__table thead th:last-child { padding-right: 0; }
.pf__table .is-main { color: var(--fg); font-weight: 700; font-family: var(--font-display); font-size: 1.08rem; letter-spacing: -.01em; }
.pf__table .p--none { color: var(--border-strong); }
.pf__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 -1.25rem -1.15rem; padding: .75rem 1.25rem; background: var(--bg); border-top: 1px solid var(--border); font-size: .85rem; }
.pf__bigbag { display: inline-flex; align-items: center; gap: .45rem; color: var(--fg-soft); font-weight: 500; }
.pf__bigbag svg { width: 1.05rem; height: 1.05rem; color: var(--accent-fg); flex: none; }
.pf__bigbag .p { font-weight: 700; color: var(--fg); }
.pf__bigbag--muted { color: var(--muted); }
.pf__cta { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; color: var(--fg); white-space: nowrap; }
.pf__cta svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.pf__cta:hover { color: var(--accent-fg); }
.pf__cta:hover svg { transform: translateX(4px); }
.pf__specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.pf__specs > div { margin: 0; }
.pf__specs dt { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pf__specs dd { margin: .15rem 0 0; font-weight: 500; font-size: .95rem; }
.pf--findling .pf__media { aspect-ratio: 3 / 2; }
.pf.is-filtered { display: none; }
@media (max-width: 39.99em) {
  .pf__table { font-size: .84rem; }
  .pf__table .is-main { font-size: 1rem; }
  .pf__foot { flex-wrap: wrap; }
}

/* Filterleiste (Produktseiten) */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.filter-bar__label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: .25rem; }
.filter-bar button { padding: .45rem .9rem; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--card); font-size: .9rem; font-weight: 500; color: var(--fg-soft); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.filter-bar button:hover { border-color: var(--fg); color: var(--fg); }
.filter-bar button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }
.filter-bar__count { margin-left: auto; font-size: .875rem; color: var(--muted); }

/* ---------- Netto/Brutto-Schalter ---------- */
.vat-toggle { display: inline-flex; align-items: center; gap: .6rem; font-size: .875rem; color: var(--fg-soft); }
.vat-toggle__switch { display: inline-flex; padding: .2rem; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--card); position: relative; }
.vat-toggle__switch button { position: relative; z-index: 1; flex: 1 1 0; min-width: 6.5rem; padding: .4rem .85rem; white-space: nowrap; border: 0; border-radius: 999px; background: none; font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: color .2s ease; }
.vat-toggle__switch button[aria-pressed="true"] { color: var(--primary-fg); }
.vat-toggle__switch::before { content: ""; position: absolute; top: .2rem; bottom: .2rem; left: .2rem; width: var(--w, 50%); transform: translateX(var(--x, 0)); background: var(--primary); border-radius: 999px; transition: transform .35s var(--ease), width .35s var(--ease); }
.vat-toggle__switch[data-mode="gross"]::before { transform: translateX(100%); }
.vat-toggle__hint { font-size: .8125rem; color: var(--muted); }
.vat-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: .85rem 1.1rem; margin-bottom: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }
.vat-bar p { margin: 0; font-size: .9rem; color: var(--fg-soft); }
.p { font-variant-numeric: tabular-nums; white-space: nowrap; transition: opacity .2s ease; }
.p.is-switching { opacity: .35; }
.p__unit { color: var(--muted); font-weight: 500; }

/* ---------- Preistabellen ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card); }
.price-table { width: 100%; min-width: 36rem; font-size: .975rem; }
.price-table caption { text-align: left; padding: 1rem 1.25rem .5rem; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.price-table th, .price-table td { padding: .8rem 1.25rem; text-align: left; border-top: 1px solid var(--border); vertical-align: top; }
.price-table thead th { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 0; background: var(--paper); vertical-align: bottom; }
.price-table thead th small { display: block; text-transform: none; letter-spacing: .02em; font-weight: 500; opacity: .8; }
.price-table th[scope="row"] { font-weight: 600; }
.price-table th[scope="row"] small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.price-table th[scope="row"] a { text-decoration: none; }
.price-table th[scope="row"] a:hover { text-decoration: underline; }
.price-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table thead .num { text-align: right; }
.price-table tbody tr { transition: background-color .15s ease; }
.price-table tbody tr:hover { background: color-mix(in srgb, var(--accent-soft) 45%, transparent); }
.price-table .grain { color: var(--fg); }
.price-table td small { color: var(--muted); }
.price-table .art { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .875rem; }
.price-table--katalog { min-width: 44rem; font-size: .95rem; }
.price-table--katalog th, .price-table--katalog td { padding: .65rem 1rem; }
.price-table--katalog tbody th[rowspan] { vertical-align: top; background: var(--card); }
.price-table--katalog tbody tr:not(.is-first) th[scope="row"] { border-top: 0; }
.price-table--katalog tbody tr:not(.is-first) td { border-top-style: dashed; }
.price-table--katalog .is-main { font-weight: 700; color: var(--fg); }
.price-table--katalog .p--none { color: var(--border-strong); }
.price-note { font-size: .875rem; color: var(--muted); margin-top: .9rem; }
.table-wrap + :not(.price-note), .price-note + *, .notice + *, .table-wrap + .price-note + * { margin-top: 1.75rem; }
* + .table-wrap, * + .notice { margin-top: 1.75rem; }
.section-head + .table-wrap, .toc-block > h2 + .table-wrap, .toc-block > p + .table-wrap, .toc-block__head + .table-wrap, .toc-block__head + p + .table-wrap { margin-top: 0; }
.toc-block__head + p { margin-bottom: 1rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 40em) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { margin: 0; counter-increment: step; padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--accent-fg); margin-bottom: .75rem; }
.steps h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--fg-soft); font-size: .975rem; }
.steps--vertical { grid-template-columns: 1fr !important; gap: 0; position: relative; }
.steps--vertical li { position: relative; display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 1.25rem; padding: 0 0 2.5rem; background: none; border: 0; border-radius: 0; }
.steps--vertical li:last-child { padding-bottom: 0; }
.steps--vertical li::before { grid-row: span 2; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin: 0; border-radius: 50%; background: var(--card); border: 1px solid var(--border); font-size: 1rem; position: relative; z-index: 1; }
.steps--vertical li:not(:last-child)::after { content: ""; position: absolute; left: calc(1.625rem - .5px); top: 3.25rem; bottom: 0; width: 1px; background: var(--border-strong); transform-origin: top; }
.steps--vertical h3 { font-size: 1.3rem; margin: .6rem 0 .35rem; }
.steps--vertical p { font-size: 1rem; max-width: 34rem; }

/* ---------- Dark band / stats ---------- */
.band-dark { position: relative; background: var(--primary); color: var(--primary-fg); overflow: hidden; }
.band-dark::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .12; mix-blend-mode: overlay; pointer-events: none; }
.band-dark > .container { position: relative; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark h2 em { color: var(--accent-light); }
.band-dark .kicker { color: var(--accent-light); }
.band-dark .kicker::before { background: var(--accent-light); }
.band-dark p { color: rgba(247, 244, 238, .8); }
.band-dark .lead { color: rgba(247, 244, 238, .85); }
.band-dark .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.band-dark .btn--ghost:hover { border-color: #fff; }
.stats { display: grid; gap: 1.5rem; }
@media (min-width: 40em) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-left: 2px solid var(--accent); padding-left: 1.25rem; }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat__label { margin: .6rem 0 0; font-size: .975rem; }
.band-dark .stats { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(255, 255, 255, .12); }

/* ---------- Features / Listen ---------- */
.feature { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.feature .icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent-fg); flex: none; }
.feature .icon svg { width: 1.4rem; height: 1.4rem; }
.feature h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.feature p { margin: 0; color: var(--fg-soft); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; margin: 0; }
.check-list svg { width: 1.2rem; height: 1.2rem; flex: none; color: var(--accent-fg); margin-top: .2rem; }

/* Stein-Aufzählung (Logo-Motiv als Bullet) */
.stone-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.stone-list li { position: relative; margin: 0; padding-left: 1.75rem; }
.stone-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: .95rem; height: .85rem; background: var(--accent); clip-path: var(--stone-clip); }
.band-dark .stone-list li::before { background: var(--accent-light); }

.badge-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.badge-list li { margin: 0; padding: .45rem .8rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card); font-size: .9rem; font-weight: 500; }

.spec-list { margin: 0; padding: 0; display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; font-size: .975rem; }
.spec-list dt { color: var(--muted); font-weight: 500; }
.spec-list dd { margin: 0; font-weight: 500; }

/* ---------- Notice ---------- */
.notice { display: flex; gap: .85rem; padding: 1rem 1.25rem; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); background: var(--card); font-size: .975rem; }
.notice svg { width: 1.25rem; height: 1.25rem; color: var(--accent-fg); flex: none; margin-top: .15rem; }
.notice p { margin: 0; }

/* ---------- Gebinde-Übersicht ---------- */
.gebinde { display: grid; gap: 1rem; }
@media (min-width: 40em) { .gebinde { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .gebinde { grid-template-columns: repeat(5, 1fr); } }
.gebinde__item { position: relative; padding: 1.35rem 1.25rem 1.25rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); display: grid; gap: .35rem; align-content: start; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .25s ease; }
.gebinde__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--border-strong); }
.gebinde__icon { height: 3.5rem; display: flex; align-items: flex-end; margin-bottom: .6rem; }
.gebinde__icon svg { height: 100%; width: auto; color: var(--primary); }
.gebinde__icon svg .gold { fill: var(--accent); }
.gebinde__item h3 { font-size: 1.1rem; margin: 0; }
.gebinde__item p { margin: 0; font-size: .9rem; color: var(--fg-soft); }
.gebinde__item strong.gebinde__size { font-family: var(--font-display); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-fg); }

/* ---------- Körnungs-Vergleich (interaktiv) ---------- */
.grain-viz { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
@media (min-width: 56em) { .grain-viz { grid-template-columns: minmax(0, 1fr) 18rem; align-items: start; } }
.grain-viz__stage { position: relative; min-height: 15rem; padding: 1.25rem; background: repeating-linear-gradient(0deg, transparent 0 calc(var(--mm, 2.2px) * 10 - 1px), var(--border) calc(var(--mm, 2.2px) * 10 - 1px) calc(var(--mm, 2.2px) * 10)), repeating-linear-gradient(90deg, transparent 0 calc(var(--mm, 2.2px) * 10 - 1px), var(--border) calc(var(--mm, 2.2px) * 10 - 1px) calc(var(--mm, 2.2px) * 10)), var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; gap: 1.25rem; flex-wrap: wrap; }
.grain-viz__item { display: grid; justify-items: center; gap: .5rem; text-align: center; }
.grain-viz__stone { width: calc(var(--size, 16) * var(--mm, 2.2px)); height: calc(var(--size, 16) * var(--mm, 2.2px) * .85); background: var(--stone-color, var(--accent)); clip-path: var(--stone-clip); transition: width .6s var(--ease), height .6s var(--ease), background-color .3s ease; position: relative; }
.grain-viz__stone::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .35; mix-blend-mode: multiply; }
.grain-viz__item.is-round .grain-viz__stone { clip-path: ellipse(50% 46% at 50% 50%); }
.grain-viz__item small { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.grain-viz__item strong { font-family: var(--font-display); font-size: .95rem; }
.grain-viz__coin { width: calc(23.25 * var(--mm, 2.2px)); height: calc(23.25 * var(--mm, 2.2px)); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e9d7a6, #b8963d 70%, #8a6a24); border: 2px solid #7a5a2a; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: calc(9 * var(--mm, 2.2px)); color: #4a3a12; transition: width .6s var(--ease), height .6s var(--ease); }
.grain-viz__panel { display: grid; gap: 1rem; }
.grain-viz__panel label { font-weight: 600; font-size: .9375rem; display: block; margin-bottom: .35rem; }
.grain-viz__panel select { width: 100%; padding: .7rem .9rem; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--card); }
.grain-viz__panel p { margin: 0; font-size: .9rem; color: var(--fg-soft); }
.grain-viz__scale { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--muted); }
.grain-viz__scale span { display: inline-block; width: calc(10 * var(--mm, 2.2px)); height: .5rem; border-inline: 2px solid var(--fg-soft); border-bottom: 1px solid var(--fg-soft); }
.grain-viz__pick { display: flex; flex-wrap: wrap; gap: .4rem; }
.grain-viz__pick button { padding: .4rem .7rem; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--card); font-size: .85rem; font-weight: 600; cursor: pointer; font-family: var(--font-display); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.grain-viz__pick button[aria-pressed="true"] { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }

/* ---------- Beton-Staffel (Slider) ---------- */
.beton-calc { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--primary); color: var(--primary-fg); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.beton-calc::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .12; mix-blend-mode: overlay; pointer-events: none; }
.beton-calc > * { position: relative; }
@media (min-width: 56em) { .beton-calc { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; } }
.beton-calc h3 { color: #fff; margin: 0 0 .35rem; }
.beton-calc p { color: rgba(247, 244, 238, .78); margin: 0; font-size: .95rem; }
.beton-calc__range { margin-top: 1.25rem; }
.beton-calc__range label { display: flex; justify-content: space-between; font-size: .85rem; color: rgba(247, 244, 238, .78); margin-bottom: .5rem; }
.beton-calc__range output { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; }
.beton-calc input[type="range"] { width: 100%; accent-color: var(--accent-light); cursor: pointer; }
.beton-calc__ticks { display: flex; justify-content: space-between; font-size: .72rem; color: rgba(247, 244, 238, .55); margin-top: .3rem; font-variant-numeric: tabular-nums; }
.beton-calc__opt { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem; font-size: .9rem; color: #fff; cursor: pointer; }
.beton-calc__opt input { accent-color: var(--accent-light); width: 1.05rem; height: 1.05rem; }
.beton-calc__result { padding: 1.25rem 1.35rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); display: grid; gap: .25rem; }
.beton-calc__result span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(247, 244, 238, .65); }
.beton-calc__result strong { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--accent-light); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.beton-calc__result small { color: rgba(247, 244, 238, .7); font-size: .85rem; }
.beton-calc__mix { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; }
.beton-calc__mix i { display: inline-block; height: .75rem; border-radius: 3px; }
.beton-calc__mix i.kies { width: 5rem; background: var(--accent-light); }
.beton-calc__mix i.zement { width: 1rem; background: #fff; }

/* ---------- Big-Bag-Rechner ---------- */
.bigbag-calc { display: grid; gap: 1.25rem; padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); }
@media (min-width: 48em) { .bigbag-calc { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.bigbag-calc label { font-weight: 600; font-size: .9375rem; display: block; margin-bottom: .35rem; }
.bigbag-calc select { width: 100%; padding: .7rem .9rem; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--card); }
.bigbag-calc__sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.bigbag-calc__size { padding: .8rem .9rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); display: grid; gap: .2rem; text-align: center; }
.bigbag-calc__size span { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bigbag-calc__size strong { font-family: var(--font-display); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.bigbag-calc__size i { display: block; margin: 0 auto .3rem; width: calc(1.1rem + var(--s, 0) * .5rem); height: calc(1.3rem + var(--s, 0) * .45rem); background: var(--accent); border-radius: 3px 3px 6px 6px; position: relative; }
.bigbag-calc__size i::before { content: ""; position: absolute; left: 25%; right: 25%; top: -.3rem; height: .3rem; border: 2px solid var(--accent-strong); border-bottom: 0; border-radius: 4px 4px 0 0; }
.bigbag-calc__note { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem;
  padding: 1.35rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.3;
  transition: color .2s ease;
}
.faq summary:hover { color: var(--accent-fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--border-strong);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  color: var(--fg); transition: transform .45s var(--ease), background-color .25s ease, border-color .25s ease, color .25s ease;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--primary); border-color: var(--primary); color: var(--primary-fg); }
.faq details > div { padding: 0 3.5rem 1.5rem 0; color: var(--fg-soft); }
.faq details > div p:last-child { margin-bottom: 0; }
.faq details > div.is-animating { overflow: hidden; }
.section--paper .faq summary::after { background-color: transparent; }
.section--paper .faq details[open] summary::after { background-color: var(--primary); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); color: var(--primary-fg); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -8rem; top: -10rem; width: 30rem; height: 30rem; border-radius: 50%; background: radial-gradient(circle, rgba(178, 138, 75, .22), transparent 65%); pointer-events: none; }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .1; mix-blend-mode: overlay; pointer-events: none; }
.cta-band .container { position: relative; z-index: 1; display: grid; gap: 1.75rem; align-items: center; padding-block: clamp(3.5rem, 8vw, 5.5rem); }
@media (min-width: 56em) { .cta-band .container { grid-template-columns: 1.4fr 1fr; } .cta-band .btn-row { justify-content: flex-end; } }
.cta-band h2 { margin-bottom: .35em; color: #fff; }
.cta-band .kicker { color: var(--accent-light); }
.cta-band .kicker::before { background: var(--accent-light); }
.cta-band p { margin: 0; color: rgba(247, 244, 238, .8); }
.cta-band .btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band .btn--light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band__hours { margin-top: 1.25rem !important; font-size: .9375rem; color: #fff !important; font-weight: 500; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 40em) { .form__row { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .35rem; }
.form label .opt { font-weight: 400; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="number"], .form input[type="date"], .form select, .form textarea {
  width: 100%; padding: .8rem .95rem; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--card);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--accent-soft); }
.form input:user-invalid, .form select:user-invalid, .form textarea:user-invalid { border-color: var(--danger); }
.form textarea { min-height: 9rem; resize: vertical; }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .9375rem; }
.form .check input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--accent-strong); flex: none; }
.form .form__hint { font-size: .875rem; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form legend { font-weight: 600; font-size: .9375rem; margin-bottom: .5rem; padding: 0; }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: calc(var(--radius-lg) + 4px); padding: clamp(1.25rem, 3.5vw, 2.25rem); box-shadow: var(--shadow-soft); }
.form__error { display: none; margin: 0; padding: .7rem .9rem; border-radius: var(--radius); background: #fbeae9; color: #7a1a15; font-size: .9rem; }
.form__error.is-visible { display: block; }
.form input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.form .input-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(8rem, .7fr); gap: .5rem; }

/* ---------- Multistep-Formular ---------- */
.msf { position: relative; }
.msf__progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-bottom: 1.75rem; counter-reset: msf; }
.msf__progress li { margin: 0; list-style: none; display: grid; gap: .45rem; font-size: .8rem; color: var(--muted); counter-increment: msf; }
.msf__progress li::before { content: ""; display: block; height: 4px; border-radius: 2px; background: var(--border); transition: background-color .4s ease, transform .4s var(--ease); transform-origin: left; }
.msf__progress li.is-done::before { background: var(--accent); }
.msf__progress li.is-current::before { background: var(--primary); }
.msf__progress li span::before { content: counter(msf, decimal-leading-zero) " "; font-family: var(--font-display); font-weight: 700; color: var(--fg); }
.msf__progress li.is-current { color: var(--fg); font-weight: 600; }
@media (max-width: 39.99em) { .msf__progress li span { display: none; } .msf__progress li.is-current span { display: block; grid-column: 1 / -1; } .msf__progress { grid-template-columns: repeat(4, 1fr); } }
.msf__steps { position: relative; }
.msf__step { display: grid; gap: 1.1rem; }
.msf.is-ready .msf__step { display: none; }
.msf.is-ready .msf__step.is-active { display: grid; animation: msf-in .5s var(--ease) both; }
.msf.is-ready .msf__step.is-active.is-back { animation-name: msf-in-back; }
@keyframes msf-in { from { opacity: 0; transform: translateX(28px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes msf-in-back { from { opacity: 0; transform: translateX(-28px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.msf__title { font-size: 1.35rem; margin: 0 0 .15rem; }
.msf__intro { margin: 0 0 .5rem; color: var(--fg-soft); font-size: .95rem; }
.msf__nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-top: .5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.msf__nav .btn--ghost { border-color: transparent; padding-inline: .6rem; }
.msf__nav .btn--ghost:hover { border-color: var(--border-strong); }
.msf:not(.is-ready) .msf__nav, .msf:not(.is-ready) .msf__progress, .msf:not(.is-ready) .msf__summary { display: none; }
.msf:not(.is-ready) .msf__step + .msf__step { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.msf__submit-row { display: none; }
.msf:not(.is-ready) .msf__submit-row { display: block; }

/* Auswahlkarten (Radio) */
.opt-grid { display: grid; gap: .6rem; }
@media (min-width: 40em) { .opt-grid { grid-template-columns: repeat(2, 1fr); } }
.opt-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 39.99em) { .opt-grid--3 { grid-template-columns: 1fr; } }
.optcard { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: center; padding: .95rem 1rem; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--card); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .3s var(--ease), box-shadow .3s ease; font-weight: 500; }
.optcard:hover { border-color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.optcard input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.optcard__icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent-fg); transition: background-color .2s ease, color .2s ease; }
.optcard__icon svg { width: 1.35rem; height: 1.35rem; }
.optcard__text { display: grid; gap: .1rem; }
.optcard__text small { font-weight: 400; font-size: .85rem; color: var(--muted); }
.optcard:has(input:checked) { border-color: var(--primary); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--primary); }
.optcard:has(input:checked) .optcard__icon { background: var(--primary); color: var(--accent-light); }
.optcard:has(input:focus-visible) { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.optcard--compact { padding: .7rem .9rem; grid-template-columns: 1fr; text-align: center; }

/* Zusammenfassung */
.msf__summary { display: grid; gap: .5rem; padding: 1.1rem 1.25rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.msf__summary h4 { margin: 0 0 .25rem; font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.msf__summary dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; font-size: .9375rem; }
.msf__summary dt { color: var(--muted); font-weight: 500; }
.msf__summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.msf__summary button { justify-self: start; margin-top: .35rem; background: none; border: 0; padding: 0; font-weight: 600; color: var(--accent-fg); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; font-size: .9rem; }

/* ---------- Contact blocks ---------- */
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; display: grid; gap: 1rem; }
.contact-card h3 { margin: 0; font-size: 1.15rem; }
.contact-card dl { margin: 0; display: grid; gap: .9rem; }
.contact-card dt { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-card dd { margin: .15rem 0 0; font-weight: 500; }
.contact-card a { text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.contact-card address { font-style: normal; }
.hours { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

.contact-layout { display: grid; gap: 2.5rem; }
.contact-layout__aside { display: grid; gap: 1.5rem; align-content: start; }
@media (min-width: 60em) {
  .contact-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
  .contact-layout__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
}

.status-card { display: grid; grid-template-columns: auto 1fr; gap: .25rem .9rem; align-items: center; padding: 1rem 1.15rem; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border); }
.status-card .status__dot { grid-row: span 2; width: .7rem; height: .7rem; margin-inline: .2rem; }
.status-card__title { font-weight: 600; line-height: 1.3; }
.status-card__text { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.status-card[data-state="open"] { border-color: color-mix(in srgb, var(--ok) 35%, var(--border)); background: color-mix(in srgb, var(--ok) 5%, var(--card)); }

.hours-list { margin: 0; display: grid; }
.hours-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .75rem; border-radius: var(--radius); font-size: .975rem; }
.hours-list > div + div { border-top: 1px dashed var(--border); }
.hours-list dt, .contact-card .hours-list dt { font-size: inherit; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--fg-soft); }
.contact-card .hours-list dd { margin: 0; }
.hours-list dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.hours-list > div.is-today { background: var(--accent-soft); border-top-color: transparent; }
.hours-list > div.is-today + div { border-top-color: transparent; }
.hours-list > div.is-today dt { color: var(--fg); font-weight: 600; }
.hours-list > div.is-today dt::after { content: " · heute"; font-weight: 500; color: var(--accent-fg); }
.hours-note { font-size: .875rem; color: var(--muted); margin: .75rem 0 0; }

.contact-rows { display: grid; border-top: 1px solid var(--border); }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--fg); transition: padding .3s var(--ease), color .2s ease; }
a.contact-row:hover { padding-inline: .5rem; color: var(--accent-fg); }
.contact-row__label { display: inline-flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .9375rem; }
.contact-row__label svg { width: 1.15rem; height: 1.15rem; color: var(--accent-fg); flex: none; }
.contact-row strong { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 39.99em) {
  .contact-row { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .contact-row strong { text-align: left; }
  .contact-row__label { white-space: nowrap; }
}

/* ---------- Standort ---------- */
.location { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 60em) { .location { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; } }
.location__info { display: flex; flex-direction: column; gap: 1.5rem; }
.location__info h2 { margin-bottom: 0; }
.location__info .btn-row { margin-top: auto; }
.map-card { position: relative; min-height: clamp(22rem, 42vw, 34rem); border-radius: calc(var(--radius-lg) + 4px); overflow: hidden; border: 1px solid var(--border); background: var(--paper); box-shadow: var(--shadow-soft); }
.map-canvas { position: absolute; inset: 0; }
.map-canvas--loading::before { content: "Karte wird geladen …"; position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: var(--paper); color: var(--muted); font-size: .9375rem; }
.map-link { position: absolute; z-index: 5; left: 50%; bottom: 1rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.15rem; border-radius: 999px; background: var(--primary); color: var(--primary-fg); font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55); transition: transform .3s var(--ease), background-color .2s ease; }
.map-link:hover { background: #443d37; transform: translateX(-50%) translateY(-2px); }
.map-link svg { width: 1.05em; height: 1.05em; color: var(--accent-light); }
.map-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem 2rem 5rem;
  background:
    radial-gradient(circle at 50% 46%, rgba(178, 138, 75, .25), transparent 11rem),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(48, 44, 40, .06) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(48, 44, 40, .06) 47px 48px),
    linear-gradient(160deg, #efe9dd, #e6dece);
}
.map-fallback__pin { width: 3.25rem; height: 3.25rem; margin: 0 auto .9rem; color: var(--primary); filter: drop-shadow(0 10px 14px rgba(48, 44, 40, .3)); animation: pin-bob 3s var(--ease) infinite; }
@keyframes pin-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.map-fallback strong { display: block; font-family: var(--font-display); font-size: 1.25rem; }
.map-fallback span { display: block; color: var(--fg-soft); font-size: .9375rem; margin-top: .2rem; }
.map-infowindow { font-family: var(--font-body); font-size: .9rem; line-height: 1.45; color: var(--fg); padding: .1rem .25rem; }
.map-infowindow strong { font-family: var(--font-display); font-size: 1rem; }
.map-pin { position: relative; display: grid; justify-items: center; gap: .35rem; transform: translateY(-14px) scale(.6); opacity: 0; transition: transform .6s var(--ease), opacity .4s ease; }
.map-pin.is-in { transform: none; opacity: 1; }
.map-pin__inner { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; padding: .45rem; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); background: var(--primary); border: 3px solid var(--accent-light); box-shadow: 0 12px 22px -8px rgba(0, 0, 0, .55); }
.map-pin__inner svg { width: 100%; height: 100%; transform: rotate(45deg); }
.map-pin__label { padding: .3rem .65rem; border-radius: 999px; background: var(--card); color: var(--fg); font: 600 .78rem/1.2 var(--font-body); white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .4); border: 1px solid var(--border); }
.map-fallback { transition: opacity .5s ease; }
.map-fallback.is-hidden { opacity: 0; pointer-events: none; }
.map-canvas--ready { animation: map-in .8s var(--ease) both; }
@keyframes map-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Calculator ---------- */
.calc { display: grid; gap: 1.5rem; }
@media (min-width: 56em) { .calc { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.calc__form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.calc__form .field { display: grid; gap: .35rem; }
.calc__form .field label { font-weight: 600; font-size: .9375rem; }
.calc__form input, .calc__form select { width: 100%; padding: .75rem .9rem; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--card); }
.calc__form input:focus, .calc__form select:focus { outline: none; border-color: var(--accent-strong); box-shadow: 0 0 0 3px var(--accent-soft); }
.calc__form .unit { font-size: .85rem; color: var(--muted); }
.calc__result { background: var(--primary); color: var(--primary-fg); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); position: sticky; top: calc(var(--header-h) + 1.5rem); overflow: hidden; }
.calc__result::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .12; mix-blend-mode: overlay; pointer-events: none; }
.calc__result > * { position: relative; }
.calc__result h2, .calc__result h3 { color: #fff; }
.calc__result .result-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-top: 1rem; }
.calc__result .result { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: .75rem; }
.calc__result .result span { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(247, 244, 238, .7); }
.calc__result .result strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; margin-top: .25rem; }
.calc__result .result--wide { grid-column: 1 / -1; }
.calc__result .result--wide strong { font-size: 2.2rem; color: var(--accent-light); }
.calc__result p.small { color: rgba(247, 244, 238, .7); margin: 1rem 0 0; }
.calc__result .btn { margin-top: 1.25rem; }
.calc__result .vat-toggle { margin-top: 1.25rem; color: rgba(247, 244, 238, .8); flex-wrap: wrap; }
.calc__result .vat-toggle__switch { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); }
.calc__result .vat-toggle__switch button { color: rgba(247, 244, 238, .75); }
.calc__result .vat-toggle__switch button[aria-pressed="true"] { color: var(--primary); }
.calc__result .vat-toggle__switch::before { background: var(--accent-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--border); font-size: .9375rem; }
.site-footer .footer-grid { display: grid; gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
@media (min-width: 40em) { .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .site-footer .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer li { margin: 0; }
.site-footer a { text-decoration: none; color: var(--fg-soft); }
.site-footer a:hover { color: var(--fg); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--fg-soft); }
.site-footer .footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.25rem; }
.site-footer .footer-brand img { height: 3rem; width: auto; }
.site-footer .footer-brand svg { width: 2.25rem; height: 2.25rem; }
.site-footer .footer-brand .brand__name { font-size: 1.15rem; }
.site-footer .footer-hours { margin: 1rem 0 0; display: grid; gap: .25rem; color: var(--fg-soft); }
.site-footer .footer-hours dt { font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.site-footer .footer-hours dd { margin: 0 0 .5rem; }
.site-footer .footer-bottom { border-top: 1px solid var(--border); padding-block: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; color: var(--muted); font-size: .875rem; }
.site-footer .footer-bottom p { margin: 0; }
.site-footer .footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer .footer-credit { padding-bottom: 1.25rem; font-size: .8125rem; color: var(--muted); }
.site-footer .footer-credit p { margin: 0; }
.site-footer .footer-credit a { color: var(--fg-soft); }
.site-footer .footer-credit strong { color: var(--fg); }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem var(--gutter);
  padding-bottom: calc(.6rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--border);
  view-transition-name: mobile-bar;
}
.mobile-bar .btn { padding: .65rem .5rem; font-size: .95rem; }
.mobile-bar .btn .status__dot { display: inline-block; margin-right: .25rem; vertical-align: .05em; }
.mobile-bar .btn small { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); }
@media (min-width: 72em) { .mobile-bar { display: none; } }
@media (max-width: 71.99em) { body { padding-bottom: 5.5rem; } }

/* ---------- Prose ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.25em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.75em; }
.prose p, .prose li { color: var(--fg-soft); }
.prose a { color: var(--fg); }
.prose address { font-style: normal; margin-bottom: 1em; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 1rem; }
@media (min-width: 40em) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: relative; padding: .75rem 1rem; font-size: .9rem; color: var(--fg-soft); background: var(--card); }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(5px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal--left { transform: translate3d(-32px, 0, 0); }
.reveal--right { transform: translate3d(32px, 0, 0); }
.reveal--scale { transform: scale(.96); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.reveal-media { clip-path: inset(9% 7% 9% 7% round var(--radius-lg)); transition: clip-path 1.3s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal-media img { transform: scale(1.12); transition: transform 1.6s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
.reveal-media.is-in { clip-path: inset(0 round var(--radius-lg)); }
.reveal-media.is-in img { transform: none; }
.steps--vertical li.reveal:not(:last-child)::after { transform: scaleY(0); transition: transform 1.2s var(--ease) .3s; }
.steps--vertical li.reveal.is-in::after { transform: scaleY(1); }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split-words .w > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1s var(--ease); transition-delay: calc(var(--wi, 0) * 35ms + var(--reveal-delay, 0ms)); }
.split-words.is-in .w > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-media, .reveal-media img, .split-words .w > span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
}

/* Scroll-getriebene Linie unter Abschnittsüberschriften (nur mit Unterstützung) */
@supports (animation-timeline: view()) {
  .section-head::after { content: ""; display: block; width: 4rem; height: 2px; margin-top: 1.25rem; background: linear-gradient(90deg, var(--accent), var(--accent-light)); transform-origin: left; animation: rule-grow linear both; animation-timeline: view(); animation-range: entry 10% entry 60%; }
  .section-head--row::after { display: none; }
}
@keyframes rule-grow { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* ---------- Seitenübergänge (View Transitions, dokumentübergreifend) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 220ms var(--ease-io) both vt-out; }
::view-transition-new(root) { animation: 420ms var(--ease) both vt-in; }
::view-transition-group(site-header), ::view-transition-group(mobile-bar) { animation-duration: 0s; }
::view-transition-old(site-header), ::view-transition-old(mobile-bar) { animation: none; }
::view-transition-new(site-header), ::view-transition-new(mobile-bar) { animation: none; }
::view-transition-group(page-hero-media) { animation-duration: 520ms; animation-timing-function: var(--ease); }
::view-transition-old(page-hero-media) { animation: 300ms ease-out both vt-fade-out; }
::view-transition-new(page-hero-media) { animation: 300ms ease-in both vt-fade-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }
/* Elemente, die bei Filterwechsel morphen (same-document) */
::view-transition-group(*) { animation-timing-function: var(--ease); }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
html.vt-no-hero .page-hero__media { view-transition-name: none; }

/* ---------- Print ---------- */
@media print {
  .site-header, .topbar, .mobile-bar, .mobile-nav, .cta-band, .skip-link, .subnav, .toc, .map-card, .vat-bar, .filter-bar, .pf__cta { display: none !important; }
  body { padding-bottom: 0; background: #fff; }
  .section { border: 0; padding-block: 1.5rem; }
  .table-wrap { border: 0; }
  a { text-decoration: none; }
  .reveal, .reveal-media, .split-words .w > span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .pf { break-inside: avoid; }
}

/* ---------- Overflow-Schutz ---------- */
.split > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .calc > *, .contact-layout > *, .page-hero__grid > *, .footer-grid > *, .sticky-split > *, .with-toc > *, .location > *, .pf-grid > * { min-width: 0; }
body { overflow-wrap: break-word; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
@media (max-width: 39.99em) {
  .btn { white-space: normal; text-align: center; }
  .btn-row > .btn { flex: 1 1 100%; }
  .faq details > div { padding-right: 0; }
  .hero__status { display: none; }
}
