/* ═══════════════════════════════════════════════════════════════════════════
   Malbau AG — malbau.ch (M00201)
   Markenfarben aus dem Kundenlogo: Orange #ED6C2B auf Stein-/Anthrazittönen.
   Die Palette entspricht bewusst der Vorgängerseite (#ED6C2B / #D45A1F /
   #FAFAF9 / #1C1917) — der Auftritt wird neu gebaut, nicht neu erfunden.

   Ein Stylesheet für alle Seiten. Kein Framework, keine externen Quellen
   (keine Google Fonts, kein CDN) — CSP-freundlich, schnell, datenschutzkonform.
   Mobile-first.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --brand: #ed6c2b;
  --brand-dark: #d45a1f;
  --brand-soft: #fdf0e9;
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --bg: #fafaf9;
  --surface: #ffffff;
  --line: #e7e5e4;
  --dark: #1c1917;
  --dark-soft: #292524;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(28, 25, 23, 0.09);
  --shadow-lg: 0 22px 50px rgba(28, 25, 23, 0.16);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* Muss VOR allen Klassen stehen und !important tragen: jede Regel mit eigenem
   `display` (z. B. .btn { display: inline-flex }) würde das hidden-Attribut sonst
   überstimmen — der Knopf «Auswahl speichern» war dadurch immer sichtbar. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 16.5px; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.18; font-weight: 700; letter-spacing: -0.015em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 18px; font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

/* ─────────────────────────── Kopfzeile ─────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 76px;
}
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a {
  color: var(--ink-soft); font-weight: 600; font-size: 0.95rem;
  padding: 9px 13px; border-radius: 9px; white-space: nowrap;
}
.nav a:hover { background: var(--brand-soft); color: var(--brand-dark); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand-dark); background: var(--brand-soft); }
.nav a.cta {
  background: var(--brand); color: #fff; margin-left: 8px; box-shadow: 0 4px 14px rgba(237, 108, 43, 0.32);
}
.nav a.cta:hover { background: var(--brand-dark); color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 12px; cursor: pointer; color: var(--ink); line-height: 0;
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 16px 18px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px; }
  .nav a.cta { margin-left: 0; text-align: center; margin-top: 6px; }
}

/* ─────────────────────────── Schaltflächen ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 11px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(237, 108, 43, 0.34); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); }

/* ─────────────────────────── Hero ─────────────────────────── */
.hero {
  position: relative; color: #fff; background: var(--dark);
  min-height: 82vh; display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.04);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(28, 25, 23, 0.93) 12%, rgba(28, 25, 23, 0.72) 52%, rgba(28, 25, 23, 0.42));
}
.hero .wrap { position: relative; z-index: 2; padding-top: 76px; padding-bottom: 90px; }
.kicker {
  display: inline-block; color: var(--brand); font-weight: 800;
  letter-spacing: 0.17em; text-transform: uppercase; font-size: 0.8rem;
}
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.7rem); margin: 16px 0 20px; max-width: 15ch; }
.hero h1 .accent { color: var(--brand); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: rgba(255, 255, 255, 0.9); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Kopfband der Unterseiten */
.pagehead {
  position: relative; color: #fff; background: var(--dark); overflow: hidden;
  padding: 68px 0 60px;
}
.pagehead-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; }
.pagehead::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28, 25, 23, .66), rgba(28, 25, 23, .86));
}
.pagehead .wrap { position: relative; z-index: 2; }
.pagehead h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 14px 0 14px; }
.pagehead p { color: rgba(255, 255, 255, 0.86); max-width: 62ch; font-size: 1.08rem; }
.crumbs { font-size: .88rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 4px; }
.crumbs a { color: rgba(255, 255, 255, 0.78); }

/* ─────────────────────────── Abschnitte ─────────────────────────── */
section { padding: clamp(48px, 7vw, 88px) 0; }
section.tight { padding: clamp(36px, 5vw, 60px) 0; }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 12px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--dark); color: #fff; }
.band-dark .section-head p { color: rgba(255, 255, 255, 0.78); }

/* ─────────────────────────── Kennzahlen ─────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 780px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px; text-align: center;
}
.band-dark .stat { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
.stat .num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--brand); line-height: 1; }
.stat .lbl { font-size: .93rem; color: var(--muted); margin-top: 9px; font-weight: 600; }
.band-dark .stat .lbl { color: rgba(255, 255, 255, 0.72); }

/* ─────────────────────────── Karten-Raster ─────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dcd8d5; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .99rem; }
.icon {
  width: 52px; height: 52px; border-radius: 13px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--brand-dark);
}
.icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card ul { list-style: none; margin-top: 14px; display: grid; gap: 7px; }
.card ul li { padding-left: 22px; position: relative; color: var(--ink-soft); font-size: .96rem; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
}
.card .more { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--brand-dark); }

/* ─────────────────────────── Projektkacheln ─────────────────────────── */
.tiles { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 660px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  background: var(--dark); aspect-ratio: 4 / 3; box-shadow: var(--shadow);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.07); }
.tile:hover { text-decoration: none; }
/* Der Verlauf muss auch unter HELLEN Bildern (weisse Küche, helle Treppe) und bei
   dreizeiligen Beschriftungen tragen — sonst steht weisse Schrift auf Weiss. */
.tile .meta {
  position: absolute; inset: auto 0 0 0; padding: 54px 18px 16px; color: #fff;
  background: linear-gradient(180deg, rgba(28, 25, 23, 0) 0%, rgba(28, 25, 23, .62) 38%, rgba(28, 25, 23, .93) 100%);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
.tile .meta strong { display: block; font-size: 1.08rem; line-height: 1.3; }
.tile .meta span {
  font-size: .86rem; color: rgba(255, 255, 255, 0.82);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ─────────────────────────── Galerie ─────────────────────────── */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery button {
  padding: 0; border: 0; background: var(--dark); cursor: zoom-in; border-radius: 12px;
  overflow: hidden; aspect-ratio: 4 / 3; display: block;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, opacity .2s ease; }
.gallery button:hover img { transform: scale(1.06); opacity: .93; }

/* Vorher/Nachher */
.ba { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .ba { grid-template-columns: repeat(2, 1fr); } }
.ba figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
/* Vorher und Nachher stammen aus verschiedenen Kameras (Hoch-/Querformat).
   Ohne festes Seitenverhältnis stehen die beiden Bilder eines Paares
   unterschiedlich hoch nebeneinander und darunter klafft eine weisse Fläche. */
.ba figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.ba figcaption {
  padding: 10px 14px; font-weight: 700; font-size: .9rem; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: .08em;
}
.ba figure.after figcaption { color: var(--brand-dark); }

/* Leuchtkasten */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20, 18, 17, .95);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 10px; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: .9rem; }

/* ─────────────────────────── Zwei-Spalten-Inhalt ─────────────────────────── */
.split { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split .prose p { margin-bottom: 16px; color: var(--ink-soft); font-size: 1.06rem; }
.rule { width: 64px; height: 4px; background: var(--brand); border-radius: 2px; margin: 22px 0; }

/* ─────────────────────────── Zeitstrahl ─────────────────────────── */
.timeline { position: relative; display: grid; gap: 26px; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 7px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 3px solid var(--bg);
}
.tl-item .yr { font-weight: 800; color: var(--brand-dark); font-size: 1.05rem; }
.tl-item strong { display: block; margin-top: 2px; }
.tl-item p { color: var(--ink-soft); font-size: .98rem; }

/* ─────────────────────────── Kundenstimmen ─────────────────────────── */
.quotes { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: var(--radius); padding: 26px;
}
.quote p { color: var(--ink-soft); font-style: italic; }
.quote .who { margin-top: 16px; font-weight: 700; }
.quote .who span { display: block; font-weight: 500; color: var(--muted); font-size: .9rem; font-style: normal; }

/* ─────────────────────────── Ablauf ─────────────────────────── */
.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.step strong { display: block; margin-bottom: 6px; font-size: 1.06rem; }
.step p { color: var(--ink-soft); font-size: .97rem; }
.band-dark .step p { color: rgba(255, 255, 255, 0.75); }

/* ─────────────────────────── Aufruf-Band ─────────────────────────── */
.cta-band { background: var(--brand); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 54px); }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.94); max-width: 60ch; }
.cta-band .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.cta-band .btn-primary:hover { background: #fff7f2; color: var(--brand-dark); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ─────────────────────────── Kontakt ─────────────────────────── */
.contact-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; } }
.contact-list { list-style: none; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; margin: 0; flex-shrink: 0; border-radius: 11px; }
.contact-list .icon svg { width: 21px; height: 21px; }
.contact-list strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.contact-list a, .contact-list span.val { font-size: 1.06rem; color: var(--ink); font-weight: 600; }
.contact-list a:hover { color: var(--brand-dark); }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 700; font-size: .93rem; margin-bottom: 7px; }
form input, form textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: 1rem; background: var(--surface); color: var(--ink);
}
form input:focus, form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(237, 108, 43, .13); }
form textarea { min-height: 148px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.form-msg { display: none; padding: 15px 18px; border-radius: 11px; margin-bottom: 18px; font-weight: 600; }
.form-msg.ok { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-msg.err { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); }

/* ─────────────────────────── Fliesstext (Recht) ─────────────────────────── */
.legal { max-width: 78ch; }
.legal h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 20px 0; }

/* ─────────────────────────── Fusszeile ─────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.72); padding: 60px 0 26px; }
.site-footer .cols { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .site-footer .cols { grid-template-columns: 1.6fr 1fr 1.2fr; gap: 44px; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: var(--brand); text-decoration: none; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.footer-logo { background: #fff; border-radius: 10px; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 34px; }
.site-footer .fine {
  border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: .88rem;
  color: rgba(255, 255, 255, 0.55);
}
.site-footer .fine nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ─────────────────────────── Nach-oben-Knopf ─────────────────────────── */
.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; box-shadow: var(--shadow-lg);
  display: none; align-items: center; justify-content: center;
}
.totop.show { display: flex; }
.totop:hover { background: var(--brand-dark); }

/* ─────────────────────────── Einwilligung (Cookies) ───────────────────────────
   Erscheint nur, wenn in MOS.Pixel ein einwilligungspflichtiger Dienst für diese
   Domain hinterlegt ist. Ohne solche Dienste bleibt die Seite bannerfrei. */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  padding: 16px; display: flex; justify-content: center;
}
.consent[hidden] { display: none; }
.consent-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px 24px; max-width: 720px; width: 100%;
}
.consent-box h2 { font-size: 1.15rem; margin-bottom: 8px; }
.consent-box p { color: var(--ink-soft); font-size: .96rem; }
.consent-detail { margin-top: 16px; display: grid; gap: 12px; }
.consent-detail[hidden] { display: none; }
.consent-opt { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; }
.consent-opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex-shrink: 0; }
.consent-opt strong { display: block; font-size: .97rem; }
.consent-opt em { font-style: normal; color: var(--muted); font-size: .88rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.consent-actions .btn { padding: 11px 20px; font-size: .95rem; }
.consent-link {
  background: none; border: 0; color: var(--brand-dark); font: inherit; font-size: .93rem;
  font-weight: 700; cursor: pointer; text-decoration: underline; padding: 6px 4px;
}
@media (max-width: 560px) {
  .consent { padding: 10px; }
  .consent-box { padding: 18px; }
  .consent-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ─────────────────────────── Einblenden beim Scrollen ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ─────────────────────────── Druck ─────────────────────────── */
@media print {
  .site-header, .site-footer, .totop, .hero-actions, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .hero, .pagehead { color: #000; background: #fff; min-height: 0; padding: 0 0 18px; }
  .hero::after, .pagehead::after, .hero-bg, .pagehead-bg { display: none; }
}
