/* AKWA-BELL – Demo-Entwurf. Eigenes Stylesheet, keine externen Ressourcen.
   Palette und Regeln: 03_design/concept.md §5. Mobile-first. */

/* ---------- 1. Design-Tokens ---------- */
:root {
  /* Palette (concept §5.2) */
  --creme: #FBF7F1;
  --sand: #F1E4D1;
  --ebenholz: #1F1A17;
  --rinde: #5C524A;
  --waldgruen: #1E5E4E;
  --waldgruen-dunkel: #174A3E;
  --terrakotta: #9C3D22;
  --ocker: #D9A441;
  --weiss: #FFFFFF;

  /* Typografie (concept §5.3) */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --fs-body: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);   /* 17 -> 18 px */
  --fs-small: 0.9375rem;                                   /* 15 px */
  --fs-eyebrow: 0.875rem;                                  /* 14 px */
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.375rem);      /* 20 -> 22 px */
  --fs-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem);        /* 28 -> 36 px */
  --fs-h1: clamp(2rem, 0.8rem + 4.5vw, 3.25rem);           /* 32 px bis ~427 px Breite -> 52 px ab ~870 px (review-03b R1) */

  /* Abstände (concept §5.4) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: 20px;
  --section-space: var(--s8);
  --container: 1120px;
  --measure: 38rem;

  --radius-card: 12px;
  --radius-btn: 10px;
  --shadow: 0 1px 2px rgb(31 26 23 / .08);

  --header-h: 56px;
  --sticky-h: 73px;   /* Sticky-Leiste: 1 px Rand + 8 + 56 (Button) + 8 (review-03b R4) */
  --demo-h: 44px;     /* Reserve für die Demo-Leiste über der Kopfzeile (1 Zeile ≈ 26 px, bei Umbruch ≈ 44 px) */
}

@media (min-width: 37.5em) { :root { --gutter: 32px; --demo-h: 57px; } }  /* >= 600 px; Demo-Leiste 15 px, bis 2 Zeilen */
@media (min-width: 60em)   { :root { --section-space: var(--s9); --header-h: 76px; } } /* >= 960 px */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
  scroll-padding-bottom: calc(var(--sticky-h) + 8px);
}
@media (min-width: 60em) { html { scroll-padding-bottom: 0; } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ebenholz);
  background: var(--creme);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ebenholz);
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.1; }
h2 { font-size: var(--fs-h2); line-height: 1.2; }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; }
h4 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; }

p { margin: 0 0 var(--s4); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

a {
  color: var(--waldgruen);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--waldgruen-dunkel); text-decoration-thickness: 2px; }

/* Fokus: auf hellem Grund Terrakotta, auf dunklem Ocker (concept §5.2) */
:focus-visible {
  outline: 3px solid var(--terrakotta);
  outline-offset: 2px;
  border-radius: 4px;
}
.on-dark :focus-visible { outline-color: var(--ocker); }

main:focus { outline: none; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.measure { max-width: var(--measure); }

/* ---------- 3. Markierung [ZUR BESTÄTIGUNG] (concept §5.5) ---------- */
mark.tbc {
  background: var(--ocker);
  color: var(--ebenholz);
  border: 1px dashed var(--ebenholz);
  border-radius: 4px;
  padding: 0.05em 0.35em;
  font-size: 0.85em;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  hyphens: manual;
}

/* ---------- 4. Demo-Hinweis oben ---------- */
.demo-bar {
  background: var(--ebenholz);
  color: var(--creme);
  font-size: 0.8125rem;
  line-height: 1.35;
  text-align: center;
  padding: 4px var(--gutter);
  /* Querformat mit Notch: nicht unter die Aussparung (wirkt nur bei viewport-fit=cover, sonst 0) */
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
/* Mobil einzeilig: zweiter Satz erst ab 600 px (review-03b R1) */
.demo-bar__more { display: none; }
@media (min-width: 37.5em) {
  .demo-bar { font-size: var(--fs-small); padding-block: var(--s2); }
  .demo-bar__more { display: inline; }
}
.demo-bar strong { color: var(--ocker); }

/* ---------- 5. Skip-Link ---------- */
.skip-link {
  position: absolute;
  left: var(--s4);
  top: -100px;
  z-index: 100;
  background: var(--waldgruen);
  color: var(--weiss);
  padding: var(--s3) var(--s4);
  border-radius: var(--radius-btn);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: var(--s3); color: var(--weiss); }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  min-height: 52px;
  padding: var(--s3) var(--s5);
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

.btn--primary { background: var(--waldgruen); color: var(--weiss); }
.btn--primary:hover { background: var(--waldgruen-dunkel); color: var(--weiss); text-decoration: none; }

.btn--secondary { background: transparent; color: var(--waldgruen); border-color: var(--waldgruen); }
.btn--secondary:hover { background: var(--sand); color: var(--waldgruen-dunkel); border-color: var(--waldgruen-dunkel); text-decoration: none; }

/* Noch nicht bestätigter Kanal (WhatsApp): sichtbar inaktiv, kein Link */
.btn--pending {
  background: var(--sand);
  color: var(--ebenholz);
  border: 2px dashed var(--rinde);
  cursor: not-allowed;
  flex-wrap: wrap;
  row-gap: var(--s1);
}
.btn--pending mark.tbc { font-size: 0.75rem; }
a.btn--pending { cursor: pointer; }
a.btn--pending:hover { color: var(--ebenholz); text-decoration: none; border-color: var(--ebenholz); }

.btn-row {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.btn-row .btn { width: 100%; }
@media (min-width: 37.5em) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .btn-row .btn { width: auto; }
}

/* Textlink mit ausreichender Zielgröße */
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 700;
  color: var(--waldgruen);
}

/* ---------- 7. Kopfbereich ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--creme);
  border-bottom: 1px solid var(--sand);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  color: var(--ebenholz);
  text-decoration: none;
  line-height: 1.1;
}
.wordmark:hover { color: var(--ebenholz); }
.wordmark__name {
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.wordmark__sub {
  margin-top: 2px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rinde);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-width: 48px;
  min-height: 48px;
  padding: 0 var(--s4);
  border: 2px solid var(--ebenholz);
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--ebenholz);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.menu-toggle:hover { background: var(--sand); color: var(--ebenholz); }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--creme);
  border-bottom: 1px solid var(--sand);
  box-shadow: 0 12px 24px rgb(31 26 23 / .10);
  padding: var(--s2) var(--gutter) var(--s5);
  /* Kopfzeile + 1 px Rand + Demo-Leiste (oben auf der Seite sichtbar) abziehen (review-03b R3) */
  max-height: calc(100vh - var(--header-h) - 1px - var(--demo-h));
  max-height: calc(100dvh - var(--header-h) - 1px - var(--demo-h));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.site-nav ul { list-style: none; }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 var(--s2);
  border-bottom: 1px solid var(--sand);
  color: var(--ebenholz);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}
.site-nav a:hover { color: var(--waldgruen); text-decoration: underline; }

.header-call { display: none; }

@media (min-width: 60em) {
  .menu-toggle { display: none !important; }
  .site-nav,
  .site-nav.is-open {
    display: block;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
    max-height: none;
    overflow: visible;
  }
  .site-nav ul { display: flex; gap: var(--s1); }
  .site-nav a {
    min-height: 48px;
    padding: 0 var(--s3);
    border: 0;
    border-radius: 8px;
    font-size: 1rem;
  }
  .site-nav a:hover { background: var(--sand); color: var(--ebenholz); text-decoration: none; }
  .header-call { display: inline-flex; min-height: 48px; padding-inline: var(--s4); }
}

/* ---------- 8. Sektionen ---------- */
.section { padding-block: var(--section-space); }
.section--sand { background: var(--sand); }

.section-head { margin-bottom: var(--s6); }
.section-head h2 { margin-bottom: var(--s3); }
.section-head .status-line { margin-bottom: var(--s4); }
.section-head .intro { color: var(--rinde); max-width: var(--measure); }
@media (min-width: 60em) { .section-head { margin-bottom: var(--s7); } }

.eyebrow {
  display: block;
  margin: 0 0 var(--s2);
  font-size: var(--fs-eyebrow);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terrakotta);
}

.status-line {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ebenholz);
}

/* Flechtlinie als Trenner (dekorativ) */
.flechtlinie {
  height: 20px;
  background: url("../img/flechtlinie.svg") repeat-x left center / 48px 20px;
}
.flechtlinie--short { width: 144px; }

/* Info-Box (concept §5.5) */
.info-box {
  margin-top: var(--s6);
  padding: var(--s4) var(--s5);
  background: var(--sand);
  border-left: 4px solid var(--terrakotta);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  max-width: 48rem;
}
.section--sand .info-box { background: var(--creme); }

/* ---------- 9. Hero ---------- */
.hero { padding-block: var(--s3) var(--s7); }
.hero__grid { display: grid; gap: var(--s6); }
/* Mobil kompakt, damit H1, Buttons und Öffnungszeiten über der Sticky-Leiste bleiben (review-03b R1) */
.hero .eyebrow { margin-bottom: var(--s1); }
.hero h1 { margin-bottom: var(--s2); hyphens: manual; -webkit-hyphens: manual; }
.hero__lead {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.25rem);
  line-height: 1.45;
  color: var(--rinde);
  max-width: 34rem;
  margin-bottom: var(--s3);
}
.hero .btn-row { margin-bottom: var(--s4); }
.hero .info-list { gap: var(--s1); }
@media (min-width: 60em) {
  .hero .eyebrow { margin-bottom: var(--s2); }
  .hero h1 { margin-bottom: var(--s4); }
  .hero__lead { line-height: 1.5; }
  .hero__lead, .hero .btn-row { margin-bottom: var(--s5); }
  .hero .info-list { gap: var(--s2); }
}

.info-list { list-style: none; display: grid; gap: var(--s2); font-size: var(--fs-small); }
.info-list li { display: flex; align-items: flex-start; gap: var(--s2); }
.info-list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--terrakotta); }

.hero__media { position: relative; }
.hero__media picture,
.hero__media img {
  width: 100%;
  border-radius: var(--radius-card);
}
.hero__media img { aspect-ratio: 4 / 5; object-fit: cover; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: 14px -8px -14px 14px;
  border: 2px solid var(--ocker);
  border-radius: var(--radius-card);
  z-index: -1;
}
.hero__media { z-index: 0; margin-right: 8px; }

@media (min-width: 37.5em) {
  .hero__media img { aspect-ratio: 3 / 2; }
}
@media (min-width: 60em) {
  .hero { padding-block: var(--s8) var(--s9); }
  .hero__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s7); }
  .hero__media img { aspect-ratio: 4 / 5; }
}
@media (min-width: 75em) {
  .hero__media img { aspect-ratio: 1 / 1; }
}

/* ---------- 10. Leistungen ---------- */
.services { display: grid; gap: var(--s7) 24px; }
.services .info-box { margin-top: 0; }
@media (min-width: 60em) {
  /* ab 960 px: Einheit = 3 von 12 Spalten, 4 gleich breite Karten pro Reihe (≈ 206 px bei 960, ≈ 262 px ab 1200).
     Jede Gruppe hat nur eine Kartenreihe -> keine über zwei Reihen gestreckte Karte (review-03b R2). */
  .services { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .service-group { grid-column: span 12; display: flex; flex-direction: column; }
  .service-group .card-grid { flex: 1 1 auto; }
  .service-group .card-grid { gap: 24px; }
  .service-group--flecht { grid-column: span 9; }
  .service-group--flecht .card-grid { grid-template-columns: repeat(3, 1fr); }
  .service-group--locs { grid-column: span 3; }
  .service-group--locs .card-grid { grid-template-columns: 1fr; }
  .service-group--verl { grid-column: span 12; }
  .service-group--verl .card-grid { grid-template-columns: repeat(4, 1fr); }
  .service-group--glaetten { grid-column: span 6; }
  .service-group--glaetten .card-grid { grid-template-columns: repeat(2, 1fr); }
  .service-group--anlass { grid-column: span 3; }
  .service-group--anlass .card-grid { grid-template-columns: 1fr; }
  .services__note { grid-column: span 3; align-self: end; }
}
@media (min-width: 60em) and (max-width: 74.99em) {
  /* 960–1199 px: schmalere Karten (≈ 206 px) -> 20 px Innenabstand, Textbreite ≈ 166 px */
  .services .card { padding: 20px; }
}
.service-group__title {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-bottom: var(--s4);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terrakotta);
}
.service-group__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sand);
  min-width: 24px;
}
.section--sand .service-group__title::after { background: var(--creme); }

.card-grid {
  list-style: none;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 37.5em) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60em)   { .card-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--s5);
  background: var(--sand);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.card h4, .card h3 { margin-bottom: var(--s2); }
.card__text { margin-bottom: var(--s4); }
.card__meta {
  margin-top: auto;
  padding-top: var(--s3);
  border-top: 1px solid rgb(92 82 74 / .25);
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--rinde);
}
.card .text-link { margin-top: var(--s2); align-self: flex-start; }

/* ---------- 11. Termin ---------- */
.steps {
  list-style: none;
  display: grid;
  gap: 20px;
  counter-reset: step;
}
@media (min-width: 60em) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  position: relative;
  padding: var(--s5);
  padding-top: calc(var(--s5) + 4px);
  background: var(--creme);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--s3);
  border-radius: 50%;
  background: var(--waldgruen);
  color: var(--weiss);
  font-weight: 800;
  font-size: 1.125rem;
}
.step h3 { margin-bottom: var(--s2); }
.termin__actions { margin-top: var(--s6); }

/* ---------- 12. Im Laden ---------- */
.shop-card { padding: 0; overflow: hidden; }
.shop-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shop-card__body { padding: var(--s5); }
.shop-card h3 { margin-bottom: var(--s2); }
@media (min-width: 60em) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.laden__actions { margin-top: var(--s5); }

/* ---------- 13. Einblicke ---------- */
.gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
}
@media (min-width: 60em) { .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-card); }

/* ---------- 14. FAQ ---------- */
.faq { max-width: 48rem; border-top: 1px solid var(--sand); }
.faq details { border-bottom: 1px solid var(--sand); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 56px;
  padding: var(--s3) 0;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--waldgruen);
  background:
    linear-gradient(var(--waldgruen), var(--waldgruen)) center / 12px 2px no-repeat,
    linear-gradient(var(--waldgruen), var(--waldgruen)) center / 2px 12px no-repeat;
}
.faq details[open] summary::after {
  background: linear-gradient(var(--waldgruen), var(--waldgruen)) center / 12px 2px no-repeat;
}
.faq summary:hover { color: var(--waldgruen); }
.faq__answer { padding: 0 0 var(--s5); color: var(--ebenholz); max-width: var(--measure); }

/* ---------- 15. Kontakt ---------- */
.contact-grid { display: grid; gap: var(--s6); }
@media (min-width: 60em) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; } }

.contact-block + .contact-block { margin-top: var(--s5); }
.contact-block h3 { margin-bottom: var(--s2); }
.contact-block address { font-style: normal; }

.contact-list { list-style: none; display: grid; gap: var(--s2); }
.contact-list li { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--s2); }
.contact-list .label { font-weight: 700; min-width: 6.5rem; }
.contact-list a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }

.panel {
  padding: var(--s5);
  background: var(--creme);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.hours caption { text-align: left; font-weight: 700; font-size: var(--fs-h3); line-height: 1.3; padding-bottom: var(--s3); }
.hours th, .hours td { text-align: left; padding: var(--s2) 0; border-bottom: 1px solid var(--sand); vertical-align: top; }
.hours th { font-weight: 600; padding-right: var(--s4); width: 45%; }

.contact-actions { margin-top: var(--s5); }
.contact-actions .btn-row { flex-direction: column; }
.contact-actions .btn { width: 100%; }
@media (min-width: 37.5em) { .contact-actions .btn { max-width: 26rem; } }

.small-note { margin-top: var(--s2); font-size: var(--fs-small); color: var(--rinde); line-height: 1.5; }
.map-links { display: flex; flex-wrap: wrap; column-gap: var(--s4); margin-top: var(--s2); }
.map-links a { display: inline-flex; align-items: center; min-height: 48px; font-size: var(--fs-small); font-weight: 600; }

/* ---------- 16. Footer (dunkle Sektion, concept §5.2) ---------- */
.site-footer {
  background: var(--ebenholz);
  color: var(--creme);
  padding-block: var(--s7) var(--s6);
  font-size: var(--fs-small);
}
.site-footer a { color: var(--ocker); text-decoration: underline; }
.site-footer a:hover { color: var(--creme); }
.site-footer .footer-name { font-weight: 800; font-size: 1.125rem; color: var(--creme); margin-bottom: var(--s2); }
.site-footer p { color: var(--sand); }
.footer-grid { display: grid; gap: var(--s6); }
@media (min-width: 60em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .footer-heading {
  margin: 0 0 var(--s2);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--creme);
}
.footer-links { list-style: none; display: grid; }
.footer-links a { display: inline-flex; align-items: center; min-height: 48px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid rgb(241 228 209 / .25);
}
.footer-bottom p { margin: 0; }
.site-footer .demo-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4);
  border: 2px dashed var(--ocker);
  border-radius: var(--radius-btn);
  color: var(--creme);
  font-weight: 700;
}
.site-footer .demo-badge strong {
  background: var(--ocker);
  color: var(--ebenholz);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: .04em;
}
.site-footer .flechtlinie { margin-bottom: var(--s6); }

/* ---------- 17. Sticky-Leiste (nur < 960 px) ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s2);
  padding: var(--s2) var(--s3) calc(var(--s2) + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--s3), env(safe-area-inset-left, 0px));
  padding-right: max(var(--s3), env(safe-area-inset-right, 0px));
  background: var(--creme);
  border-top: 1px solid var(--sand);
  box-shadow: 0 -4px 16px rgb(31 26 23 / .08);
}
.sticky-cta .btn {
  min-height: 56px;
  padding: var(--s2) var(--s3);
  font-size: 1rem;
  gap: var(--s2);
}
.sticky-cta .btn--pending { flex-direction: column; gap: 2px; padding-block: 4px; }
.sticky-cta .btn--pending .btn__line { display: inline-flex; align-items: center; gap: var(--s2); }
.sticky-cta .btn--pending mark.tbc { font-size: 0.75rem; padding: 0 0.2em; white-space: nowrap; }
.sticky-cta .btn--pending { padding-inline: var(--s2); flex-wrap: nowrap; }
/* Kurzer sichtbarer Marker nur in der Leiste; voller Text bleibt für Screenreader (review-03b R4) */
.tbc__short { display: none; }
@media (max-width: 22.49em) {   /* < 360 px */
  .sticky-cta .tbc__full {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .sticky-cta .tbc__short { display: inline; }
}
.has-sticky { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px)); }

@media (min-width: 60em) {
  .sticky-cta { display: none; }
  .has-sticky { padding-bottom: 0; }
}

/* ---------- 18. Rechtliche Seiten / 404 ---------- */
.legal { padding-block: var(--s7) var(--section-space); }
.legal h1 { margin-bottom: var(--s5); }
.legal .lead-note { color: var(--rinde); margin-bottom: var(--s6); }
.legal section + section { margin-top: var(--s6); }
.legal h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.3; margin-bottom: var(--s2); }
.legal address { font-style: normal; }

.notfound { padding-block: var(--s8) var(--section-space); }
.notfound h1 { margin-bottom: var(--s4); max-width: 18ch; }
.notfound .link-list { list-style: none; display: grid; gap: var(--s2); margin-top: var(--s5); }
.notfound .link-list a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; font-size: 1.125rem; }

/* ---------- 19. Druck ---------- */
@media print {
  .site-header, .sticky-cta, .skip-link, .menu-toggle { display: none !important; }
  .has-sticky { padding-bottom: 0; }
  body { background: #fff; }
}
