/* ==========================================================================
   Schuck Insektenschutz – Stylesheet
   Designsystem: siehe DESIGN.md
   ========================================================================== */

/* ---------- 1. Design-Tokens ---------- */
:root {
  /* Marke */
  --brand: #291e62;          /* Logo-Indigo */
  --brand-2: #3c4382;        /* Sekundär-Indigo der Altseite */
  --brand-soft: #e7e5f4;     /* zarter Indigo-Ton für Flächen */
  --accent: #6f9b2c;         /* Chamäleon-Grün (Text-tauglich) */
  --accent-bright: #9bcb4b;  /* Chamäleon-Grün (Flächen / Akzente) */
  --warn: #f4b522;           /* Hinweis-Gelb */
  --warn-ink: #3a2a00;

  /* Flächen & Text (Light) */
  --bg: #f6f5fb;
  --surface: #ffffff;
  --surface-2: #efedf8;
  --text: #1d1838;
  --muted: #5d587a;
  --line: rgba(41, 30, 98, .14);
  --mesh: rgba(41, 30, 98, .07);       /* Linienfarbe des Gitter-Motivs */
  --mesh-strong: rgba(41, 30, 98, .16);
  --frame: #d9d6e8;                    /* "Alu-Rahmen" */
  --shadow: 0 1px 2px rgba(29, 24, 56, .06), 0 12px 32px -12px rgba(29, 24, 56, .22);
  --photo-tint: rgba(41, 30, 98, .38);

  /* Typografie */
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.15rem, 1rem + .6vw, 1.35rem);
  --fs-xl: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  --fs-hero: clamp(2rem, 1.3rem + 3.2vw, 3.6rem);

  /* Raster */
  --radius: 14px;
  --radius-sm: 8px;
  --gap: clamp(1rem, .6rem + 1.5vw, 1.75rem);
  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);
  --container: 1160px;
  --mesh-size: 7px;

  color-scheme: light;
}

/* Dark-Mode: per System (solange keine manuelle Wahl) oder per Umschalter (data-theme) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #b9b0f0;
    --brand-2: #9a93d8;
    --brand-soft: #241d52;
    --accent: #a7d65a;
    --accent-bright: #a7d65a;
    --bg: #110c2b;
    --surface: #1a1440;
    --surface-2: #211a4d;
    --text: #ece9f8;
    --muted: #aaa4cc;
    --line: rgba(220, 214, 255, .14);
    --mesh: rgba(220, 214, 255, .05);
    --mesh-strong: rgba(220, 214, 255, .12);
    --frame: #3a3270;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 36px -14px rgba(0, 0, 0, .7);
    --photo-tint: rgba(17, 12, 43, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #b9b0f0;
  --brand-2: #9a93d8;
  --brand-soft: #241d52;
  --accent: #a7d65a;
  --accent-bright: #a7d65a;
  --bg: #110c2b;
  --surface: #1a1440;
  --surface-2: #211a4d;
  --text: #ece9f8;
  --muted: #aaa4cc;
  --line: rgba(220, 214, 255, .14);
  --mesh: rgba(220, 214, 255, .05);
  --mesh-strong: rgba(220, 214, 255, .12);
  --frame: #3a3270;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 36px -14px rgba(0, 0, 0, .7);
  --photo-tint: rgba(17, 12, 43, .55);
  color-scheme: dark;
}

/* ---------- 2. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.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;
}
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- 3. Das Gitter-Motiv ---------- */
/* Feines Fliegengitter-Raster als wiederverwendbare Fläche */
.mesh {
  background-image:
    linear-gradient(var(--mesh) 1px, transparent 1px),
    linear-gradient(90deg, var(--mesh) 1px, transparent 1px);
  background-size: var(--mesh-size) var(--mesh-size);
}

/* ---------- 4. 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(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: clamp(150px, 22vw, 210px); }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-contact { display: flex; gap: .25rem; }
.header-contact a {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .8rem; border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
}
.header-contact a:hover { background: var(--surface-2); color: var(--brand); }
.header-contact svg { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 760px) { .header-contact { display: none; } }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--brand);
  cursor: pointer; transition: transform .2s ease;
}
.theme-toggle:hover { transform: rotate(-15deg); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: var(--fs-base); text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #291e62; color: #fff; box-shadow: 0 10px 24px -10px rgba(41, 30, 98, .7); }
.btn-primary:hover { background: #3c4382; color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
:root[data-theme="dark"] .btn-primary { background: var(--accent-bright); color: #14200a; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-primary { background: var(--accent-bright); color: #14200a; }
}

/* ---------- 6. Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3rem, 1rem + 6vw, 6rem); }
.hero::before { /* großflächiges, ausgeblendetes Gitter */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--mesh-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--mesh-strong) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 40%, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse 70% 80% at 75% 40%, #000 10%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { font-size: var(--fs-hero); font-weight: 800; color: var(--brand); max-width: 16ch; }
.hero h1 .kicker { display: flex; font-size: var(--fs-sm); letter-spacing: .08em; }
.punchline { font-size: var(--fs-lg); color: var(--muted); margin-bottom: 2rem; }
.punchline strong {
  display: block; font-size: var(--fs-xl); font-weight: 800; color: var(--accent);
  letter-spacing: -.01em; margin-top: .15em;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-meta { margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent); }

/* Das "Fenster" mit dem Chamäleon – Rahmen + seitlich geschobenes Gitter */
.window {
  position: relative; justify-self: center; width: min(100%, 380px);
  aspect-ratio: 316 / 396;
  padding: 14px; border-radius: 18px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--frame) 70%, #fff), var(--frame));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .4);
  transform: rotate(2deg);
}
.window-pane { position: relative; height: 100%; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.window-pane img { width: 100%; height: 100%; object-fit: cover; object-position: right bottom; }
.window-screen { /* Schiebe-Fliegengitter */
  position: absolute; inset: 0 0 0 auto; width: 24%;
  background-color: rgba(41, 30, 98, .04);
  background-image:
    linear-gradient(rgba(41, 30, 98, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 30, 98, .2) 1px, transparent 1px);
  background-size: 5px 5px;
  border-left: 6px solid var(--frame);
  box-shadow: -4px 0 12px -4px rgba(0, 0, 0, .25);
  transition: width .9s cubic-bezier(.65, 0, .35, 1);
}
.window:hover .window-screen { width: 12%; }
:root[data-theme="dark"] .window-pane img { filter: brightness(.9); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .window-pane img { filter: brightness(.9); } }

/* Kleine Fliege, die vor dem Gitter kreist */
.fly {
  position: absolute; width: 22px; height: 22px; top: 18%; right: 4%;
  color: #1d1838; /* fest dunkel: die Fliege sitzt immer auf dem weißen Bild – auch im Dark Mode */
  opacity: .75; pointer-events: none;
  animation: buzz 9s ease-in-out infinite;
}
@keyframes buzz {
  0%   { transform: translate(0, 0) rotate(10deg); }
  15%  { transform: translate(-30px, -20px) rotate(-40deg); }
  30%  { transform: translate(-6px, 40px) rotate(20deg); }
  45%  { transform: translate(-45px, 70px) rotate(-60deg); }
  60%  { transform: translate(-10px, 110px) rotate(30deg); }
  80%  { transform: translate(4px, 40px) rotate(-15deg); }
  100% { transform: translate(0, 0) rotate(10deg); }
}
.fly .wing { transform-origin: 12px 11px; animation: flap .08s linear infinite alternate; }
@keyframes flap { to { transform: scaleY(.55); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* Mobil: Slogan → Chamäleon → Buttons → Fakten.
     .hero-copy löst sich auf, damit das Bild zwischen seine Kinder rutschen kann. */
  .hero-grid { row-gap: 0; }
  .hero-copy { display: contents; }
  .hero-cta, .hero-meta { order: 2; }
  .window { order: 1; width: min(62%, 260px); margin: .5rem auto 2.25rem; }
  .punchline { margin-bottom: 1.5rem; }
}

/* ---------- 7. Kein-Versand-Hinweis ---------- */
.notice {
  position: relative; display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem; border-radius: var(--radius);
  background: var(--warn); color: var(--warn-ink);
  box-shadow: 0 14px 30px -18px rgba(150, 100, 0, .8);
  margin-top: calc(-1 * clamp(1.5rem, 3vw, 2.5rem));
  overflow: hidden;
}
.notice::after { /* Warnstreifen am Rand */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 8px;
  background: repeating-linear-gradient(45deg, var(--warn-ink) 0 6px, transparent 6px 12px);
  opacity: .8;
}
.notice svg { width: 40px; height: 40px; flex-shrink: 0; margin-left: .4rem; }
.notice strong { display: block; font-size: var(--fs-lg); line-height: 1.25; }
.notice p { margin: 0; font-size: var(--fs-sm); }

/* ---------- 8. Sektionen ---------- */
.section { padding-block: var(--section-y); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: var(--fs-xl); color: var(--brand); font-weight: 800; }
.section-head p { color: var(--muted); font-size: var(--fs-lg); margin: 0; }

/* ---------- 9. Produktkarten ("Gitterrahmen") ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--gap); padding: 0; margin: 0; list-style: none; }
.product {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.product:hover { transform: translateY(-4px); }
.product-photo {
  position: relative; height: 150px;
  border-bottom: 6px solid var(--frame);
}
.product-photo-inner { position: absolute; inset: 0; overflow: hidden; }
.product-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.35);
  transition: filter .5s ease, transform .5s ease;
}
.product-photo::before { /* Farbschleier */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, var(--photo-tint), transparent 70%);
  mix-blend-mode: multiply;
}
.product-photo::after { /* Gitter über dem Bild */
  content: ""; position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .35) 1px, transparent 1px);
  background-size: 6px 6px;
}
.product:hover .product-photo img { filter: none; transform: scale(1.04); }
:root[data-theme="dark"] .product-photo img { filter: grayscale(.35) brightness(.75); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .product-photo img { filter: grayscale(.35) brightness(.75); } }
:root[data-theme="dark"] .product:hover .product-photo img { filter: brightness(.85); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .product:hover .product-photo img { filter: brightness(.85); } }
:root[data-theme="dark"] .product-photo::after { background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .product-photo::after { background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); } }

.product-icon {
  position: absolute; z-index: 3; left: 1.1rem; bottom: -1.4rem;
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); color: var(--brand); border: 1px solid var(--line);
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .35);
}
.product-icon svg { width: 28px; height: 28px; }
.product-body { padding: 2.1rem 1.25rem 1.4rem; }
.product h3 { font-size: 1.15rem; color: var(--brand); margin-bottom: .35rem; }
.product p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.tag {
  position: absolute; z-index: 3; top: .8rem; right: .8rem;
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--accent-bright); color: #14200a; padding: .25rem .6rem; border-radius: 999px;
}

/* ---------- 10. Fakten-Leiste ---------- */
.facts-wrap { background: var(--surface-2); border-block: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding: 0; margin: 0; list-style: none; }
.fact { position: relative; padding: 1.5rem 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.fact b { display: block; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 800; color: var(--brand); line-height: 1.1; margin-bottom: .35rem; }
.fact span { font-size: var(--fs-sm); color: var(--muted); }
.fact::after { /* Gitter-Ecke */
  content: ""; position: absolute; top: 10px; right: 10px; width: 46px; height: 46px; border-radius: 6px;
  background-image: linear-gradient(var(--mesh-strong) 1px, transparent 1px), linear-gradient(90deg, var(--mesh-strong) 1px, transparent 1px);
  background-size: 6px 6px;
  -webkit-mask-image: linear-gradient(225deg, #000, transparent 75%); mask-image: linear-gradient(225deg, #000, transparent 75%);
}
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }

/* ---------- 11. Kontakt ---------- */
.contact-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.75rem, 4vw, 3.25rem); border-radius: calc(var(--radius) + 6px);
  background: #291e62; color: #fff;
}
:root[data-theme="dark"] .contact-card { background: #231a58; border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .contact-card { background: #231a58; border: 1px solid var(--line); } }
.contact-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 9px 9px;
  -webkit-mask-image: linear-gradient(105deg, transparent 35%, #000 90%); mask-image: linear-gradient(105deg, transparent 35%, #000 90%);
}
.contact-card > * { position: relative; }
.contact-card h2 { font-size: var(--fs-xl); font-weight: 800; color: #fff; }
.contact-card p { color: rgba(255, 255, 255, .78); }
.contact-card .kicker { color: var(--accent-bright); }
.contact-lines { display: grid; gap: .75rem; align-content: center; }
.contact-line {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; text-decoration: none; transition: background .2s ease, transform .2s ease;
}
a.contact-line:hover { background: rgba(255, 255, 255, .15); color: #fff; transform: translateX(4px); }
.contact-line svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--accent-bright); }
.contact-line small { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
.contact-line span { font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); font-weight: 700; word-break: break-word; }
.contact-line address { font-style: normal; font-weight: 600; }
@media (max-width: 860px) { .contact-card { grid-template-columns: 1fr; } }

/* ---------- 12. Footer ---------- */
.site-footer { padding-block: 3rem 2rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.lost { display: grid; grid-template-columns: auto 1fr 1fr; gap: var(--gap); align-items: stretch; margin-bottom: 2.5rem; }
.lost-intro h2 { font-size: 1.1rem; color: var(--text); margin-bottom: .25rem; }
.lost-intro p { margin: 0; max-width: 28ch; }
.sister {
  display: block; padding: 1.1rem 1.25rem; border-radius: var(--radius);
  border: 1px dashed var(--mesh-strong); text-decoration: none; color: var(--text);
  transition: border-color .2s ease, background .2s ease;
}
.sister:hover { border-style: solid; border-color: var(--brand); background: var(--surface); color: var(--text); }
.sister b { display: flex; align-items: center; gap: .4rem; color: var(--brand); font-size: var(--fs-base); }
.sister b svg { width: 14px; height: 14px; }
.sister span { display: block; color: var(--muted); margin-top: .2rem; }
@media (max-width: 860px) { .lost { grid-template-columns: 1fr; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.footer-bottom nav { display: flex; gap: 1.25rem; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- 13. Mobile Kontaktleiste ---------- */
.quickbar { display: none; }
@media (max-width: 760px) {
  .quickbar {
    position: fixed; z-index: 60; left: .75rem; right: .75rem; bottom: max(.75rem, env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .5rem;
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  }
  .quickbar .btn { padding: .75rem 1rem; font-size: var(--fs-sm); }
  body { padding-bottom: 5.5rem; }
}

/* ---------- 14. Rechtsseiten ---------- */
.legal { padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--section-y); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: var(--fs-xl); color: var(--brand); font-weight: 800; }
.legal h2 { font-size: 1.25rem; color: var(--brand); margin-top: 2.25rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.2rem; }
.legal address { font-style: normal; }
.legal .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-block: 1rem 1.5rem; }
.legal .muted { color: var(--muted); font-size: var(--fs-sm); }
.back-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; margin-bottom: 1.5rem; text-decoration: none; }

/* ---------- 15. Scroll-Einblendung (nur mit JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 16. Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 17. Druck ---------- */
@media print {
  .site-header, .quickbar, .theme-toggle, .fly, .window-screen { display: none !important; }
  body { background: #fff; color: #000; }
}
