/* ============================================================
   Therapeutisches Boxen Jena — Design-System „Ruhige Stärke"
   Basis: Soft UI Evolution (WCAG AA+), eigenständige Palette:
   Tannengrün/Petrol (Ruhe, Tiefe) × Kupfer (Erdung, Kraft)
   auf salbeigetöntem Weiß. Typo: Bricolage Grotesque + Inter,
   selbst gehostet. Signature: Fokus-Ringe (Pratzen-Zielscheibe,
   Atemkreis, Boxring in einem Motiv).
   Motion: nur transform/opacity, 150–450 ms, reduced-motion safe.
   ============================================================ */

/* ---------- Fonts (selbst gehostet, variabel, latin) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Farbwelt „Ruhige Stärke" */
  --tanne: #16332e;          /* Tiefengrün — Headlines, Ink */
  --petrol: #24534c;         /* Tannengrün/Petrol — Leitfarbe */
  --petrol-deep: #173b36;
  --petrol-soft: #e3ece7;
  --kupfer: #8f4e2a;         /* Kupfer — CTAs, Signature-Akzent */
  --kupfer-deep: #75401f;
  --kupfer-soft: #f1e4da;
  --bg: #f4f4ee;             /* Salbeiweiß */
  --surface: #ffffff;
  --mist: #e9eee6;           /* Nebelgrün — Wechsel-Sections */
  --line: #dce1d6;
  --ink: var(--tanne);
  --body-color: #3e5651;
  --ok: #3e7a54;

  /* Typografie */
  --font-display: "Bricolage Grotesque", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Geometrie & Tiefe (Soft UI Evolution) */
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-soft: 0 1px 2px rgba(22, 51, 46, 0.05), 0 10px 28px -14px rgba(22, 51, 46, 0.18);
  --shadow-lift: 0 2px 4px rgba(22, 51, 46, 0.06), 0 20px 40px -18px rgba(22, 51, 46, 0.24);
  --shadow-cta: 0 1px 2px rgba(117, 64, 31, 0.2), 0 12px 26px -12px rgba(143, 78, 42, 0.55);

  /* Abstände (8-px-Raster) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;

  /* Motion-Token: ein Rhythmus für alles */
  --ease-out: cubic-bezier(0.22, 0.7, 0.3, 1);
  --dur-fast: 180ms;
  --dur: 260ms;
  --dur-reveal: 450ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--body-color);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
::selection { background: var(--petrol); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.6vw, 3.5rem); font-weight: 720; line-height: 1.05; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.55rem, 4vw, 2.3rem); margin-bottom: var(--space-2); }
h3 { font-size: 1.22rem; margin-bottom: var(--space-1); }

p { max-width: 68ch; }
strong { color: var(--ink); }

a { color: var(--petrol); text-underline-offset: 3px; }
a, button, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: min(1120px, 100% - 2 * var(--space-3));
  margin-inline: auto;
}

section { padding-block: var(--space-6); }
@media (min-width: 900px) { section { padding-block: var(--space-7); } }

.section-alt { background: var(--mist); }

.section-head { max-width: 760px; margin-bottom: var(--space-4); }
.section-head p { color: var(--body-color); }

/* Eyebrow mit Signature-Ring */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 2.5px solid var(--kupfer);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--kupfer); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--kupfer-deep); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }

.btn-secondary { background: rgba(255, 255, 255, 0.6); color: var(--petrol); border-color: var(--petrol); }
.btn-secondary:hover { background: var(--petrol-soft); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--petrol); color: var(--petrol); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 244, 238, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -12px rgba(22, 51, 46, 0.18); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: 12px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 720;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}
.logo span { display: block; font-family: var(--font-body); font-weight: 550; font-size: 0.7rem; letter-spacing: 0.06em; color: var(--petrol); }

.main-nav { display: none; }
.main-nav a {
  color: var(--body-color);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  margin-inline: 12px;
  transition: color var(--dur-fast) var(--ease-out);
}
.main-nav a:hover { color: var(--ink); }
.header-cta { display: none; min-height: 44px; padding: 10px 22px; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 12px;
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: var(--space-2) var(--space-3) var(--space-3);
}
.nav-open .mobile-nav { display: block; }
.mobile-nav a {
  display: block;
  padding: 13px 4px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: var(--space-2); border-bottom: none; }

@media (min-width: 900px) {
  .main-nav, .header-cta { display: inline-flex; }
  .nav-toggle, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-5) var(--space-6); overflow: hidden; }
.hero .container { display: grid; gap: var(--space-5); }
.hero-copy .eyebrow { color: var(--kupfer-deep); }
.hero-copy .eyebrow::before { border-color: var(--petrol); }
.hero-copy h1 { margin-bottom: var(--space-2); }
.hero-sub { font-size: 1.12rem; color: var(--body-color); margin-bottom: var(--space-3); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-2); }
.hero-note { font-size: 0.85rem; color: var(--body-color); max-width: 52ch; }

/* Sanfte Entrance-Sequenz beim Laden (CSS-only, gestaffelt) */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.hero-copy > * { animation: rise 0.55s var(--ease-out) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.07s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.14s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.21s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.34s; }
.hero-media { animation: rise 0.7s 0.25s var(--ease-out) both; }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-3); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--petrol-deep);
  background: var(--petrol-soft);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
}
.badge--accent { color: var(--kupfer-deep); background: var(--kupfer-soft); }

/* Signature: Fokus-Ringe (Pratzen-Zielscheibe × Atemkreis × Ring) */
.focus-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.focus-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.focus-rings circle { transform-origin: 50% 50%; }
.focus-rings .ring { fill: none; stroke: var(--petrol); }
.focus-rings .r1 { stroke-opacity: 0.14; stroke-width: 1.5; animation: breathe 9s var(--ease-out) infinite alternate; }
.focus-rings .r2 { stroke-opacity: 0.22; stroke-width: 1.5; animation: breathe 9s 1.2s var(--ease-out) infinite alternate-reverse; }
.focus-rings .r3 { stroke-opacity: 0.34; stroke-width: 2; }
.focus-rings .dot { fill: var(--kupfer); }
@keyframes breathe {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

.hero-photo {
  position: relative;
  width: 62%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(150deg, var(--petrol-soft), var(--kupfer-soft));
  box-shadow: var(--shadow-lift);
  display: grid;
  place-items: end center;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.media-caption {
  font-size: 0.8rem;
  color: var(--body-color);
  text-align: center;
  max-width: 40ch;
  margin: var(--space-2) auto 0;
}

@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.12fr 0.88fr; align-items: center; gap: var(--space-6); }
}

/* ---------- Karten & Grids ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
}
.card h3 { color: var(--ink); }
.card p { color: var(--body-color); font-size: 0.95rem; }

.grid { display: grid; gap: var(--space-2); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.icon-dot {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--petrol-soft);
  color: var(--petrol);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}
.icon-dot svg { width: 23px; height: 23px; }

/* Inline-Icons (Faktenzeilen) */
.fact-line svg, .offer-facts svg { width: 17px; height: 17px; color: var(--petrol); flex-shrink: 0; }

/* Checkliste */
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--body-color); }
.checklist li::before { content: "✓"; color: var(--ok); font-weight: 700; flex-shrink: 0; }
.checklist--x li::before { content: "→"; color: var(--kupfer-deep); }

/* ---------- Angebote ---------- */
.offer-card { display: flex; flex-direction: column; gap: var(--space-2); position: relative; }
.offer-card .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kupfer-deep);
  background: var(--kupfer-soft);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}
.offer-card .tag--petrol { color: var(--petrol-deep); background: var(--petrol-soft); }
.offer-facts { list-style: none; display: grid; gap: 8px; font-size: 0.92rem; color: var(--body-color); border-top: 1px solid var(--line); padding-top: var(--space-2); }
.offer-facts strong { color: var(--ink); }
.price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 720; letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; letter-spacing: 0; color: var(--body-color); display: block; }
.offer-card .btn { margin-top: auto; }

/* Detailblöcke Anti-Stress */
.detail-block { border-left: 4px solid var(--kupfer); }
.detail-block--petrol { border-left-color: var(--petrol); }
.fact-line { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.9rem; color: var(--body-color); }
.fact-line span { display: inline-flex; align-items: center; gap: 7px; background: var(--mist); border-radius: var(--radius-sm); padding: 7px 13px; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: var(--space-2); }
.steps li {
  counter-increment: step;
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  box-shadow: var(--shadow-soft);
}
.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 720;
  font-size: 1.05rem;
  color: var(--kupfer-deep);
  border: 2.5px solid var(--kupfer);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 17px 52px 17px 20px;
  list-style: none;
  position: relative;
  min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--petrol);
  border-bottom: 2px solid var(--petrol);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--dur) var(--ease-out);
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list details p { padding: 0 20px 18px; color: var(--body-color); font-size: 0.95rem; }
.faq-list details[open] p { animation: rise 0.3s var(--ease-out) both; }

/* ---------- Testimonials (Muster) ---------- */
.testimonial-card { position: relative; padding-top: var(--space-4); }
.testimonial-card::before {
  content: "Musterbeispiel – keine echte Kundenstimme";
  position: absolute;
  top: 12px;
  left: var(--space-3);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--kupfer-deep);
  background: var(--kupfer-soft);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}
.testimonial-card blockquote { font-style: italic; color: var(--body-color); font-size: 0.95rem; }
.testimonial-card cite { display: block; margin-top: var(--space-2); font-style: normal; font-size: 0.85rem; color: var(--ink); font-weight: 600; }

/* ---------- Buchung ---------- */
.booking-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: var(--space-4) var(--space-3);
}
@media (min-width: 900px) { .booking-panel { padding: var(--space-5); } }
.booking-options { display: grid; gap: var(--space-2); margin-block: var(--space-3); }
@media (min-width: 900px) { .booking-options { grid-template-columns: repeat(2, 1fr); } }
.booking-option {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .booking-option:hover { border-color: var(--petrol); box-shadow: var(--shadow-soft); }
}
.booking-option .price { font-size: 1.4rem; }
.availability { font-size: 0.8rem; font-weight: 650; color: var(--kupfer-deep); }
.availability--open { color: var(--ok); }
.booking-legal { font-size: 0.82rem; color: var(--body-color); border-top: 1px solid var(--line); padding-top: var(--space-2); }
.pretix-widget-slot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3) var(--space-3);
  background: var(--surface);
  margin-top: var(--space-3);
}
.pretix-widget-slot h3 { margin-bottom: var(--space-2); }
/* Widget an das Design-System angleichen */
.pretix-widget .pretix-widget-clickable,
.pretix-widget button { border-radius: var(--radius-sm) !important; }

/* ---------- Über Helena ---------- */
.about .container { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .about .container { grid-template-columns: 0.8fr 1.2fr; align-items: start; gap: var(--space-6); } }
.about-media figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--kupfer-soft), var(--petrol-soft));
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-lift);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }

/* Standort-Foto */
.location-photo { margin-top: var(--space-4); }
.location-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.location-photo figcaption { font-size: 0.8rem; color: var(--body-color); padding-top: 10px; }
.cred-list { list-style: none; display: grid; gap: 10px; margin-top: var(--space-3); }
.cred-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.cred-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 2px solid var(--kupfer);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: var(--space-2); }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.contact-card .icon-dot { margin: 0 auto var(--space-1); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--petrol-deep);
  color: #c3d4ce;
  padding-block: var(--space-5) var(--space-4);
  font-size: 0.9rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: var(--space-4); margin-bottom: var(--space-4); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: var(--space-2); }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-disclaimer { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: var(--space-3); font-size: 0.8rem; color: #93aaa2; max-width: 90ch; }

/* ---------- Sticky Mobile-CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -16px rgba(22, 51, 46, 0.3);
  padding: 10px var(--space-3) calc(10px + env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
  transform: translateY(110%);
  transition: transform var(--dur) var(--ease-out);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; min-height: 46px; padding: 10px 16px; font-size: 0.92rem; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (max-width: 899px) { .site-footer { padding-bottom: 110px; } }

/* ---------- Scroll-Reveals (nur wenn JS + Motion erlaubt) ---------- */
html.anim-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
html.anim-ready .reveal.in { opacity: 1; transform: none; }

/* ---------- Rechtsseiten ---------- */
.legal-page { padding-block: var(--space-5); }
.legal-page .container { max-width: 820px; }
.legal-page h1 { margin-bottom: var(--space-3); }
.legal-page h2 { font-size: 1.35rem; margin-top: var(--space-4); }
.legal-page h3 { font-size: 1.05rem; margin-top: var(--space-3); }
.legal-page p, .legal-page li { color: var(--body-color); margin-bottom: var(--space-1); }
.legal-page ul, .legal-page ol { padding-left: 1.4em; margin-bottom: var(--space-2); }
.legal-page mark { background: #fdf0c2; padding: 2px 6px; border-radius: 4px; font-weight: 600; }
.legal-note {
  background: var(--petrol-soft);
  border-left: 4px solid var(--petrol);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  font-size: 0.9rem;
  margin-block: var(--space-3);
}

/* ---------- Utilities ---------- */
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.center { text-align: center; }
.muted { color: var(--body-color); }
.small { font-size: 0.85rem; }
[data-demo="hidden"] { display: none !important; }

/* ---------- Reduced Motion: alles ruhigstellen ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html.anim-ready .reveal { opacity: 1; transform: none; }
  .focus-rings .r1, .focus-rings .r2 { animation: none; }
}
