/* ============================================================
   Kneffel Steuerberatung — Redesign 2026
   Schweizer Kanzlei-Modernismus · Cyan #00a7e5 aus dem Logo
   ============================================================ */

@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-Variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: oklch(99% 0.002 240);
  --bg-raised: oklch(96.5% 0.004 240);
  --ink: oklch(30% 0.005 260);
  --ink-deep: oklch(22% 0.005 260);
  --ink-soft: oklch(45% 0.008 260);
  --ink-faint: oklch(50% 0.008 260);
  --line: oklch(88% 0.006 240);
  --line-dark: oklch(38% 0.008 260);
  --accent: oklch(66% 0.152 232);
  --accent-ink: oklch(47% 0.118 232);
  --accent-wash: oklch(95.5% 0.022 232);
  --white: oklch(99.5% 0 0);

  --font: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 4vw, 3rem);
  --maxw: 76rem;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { overflow-x: clip; scroll-behavior: smooth; }

body {
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 430;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

::selection { background: var(--accent); color: var(--white); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--white); padding: 0.6rem 1rem;
}
.skip-link:focus { left: 0; }

/* ---------- Typo-Helfer ---------- */
.kicker {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 540; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.kicker::before {
  content: ""; width: 9px; height: 9px; background: var(--accent); flex: none;
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; color: var(--ink-deep); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.3; }

.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 46rem; text-wrap: pretty; }

p + p { margin-top: 1em; }

.prose { max-width: 44rem; }
.prose p { color: var(--ink-soft); }
.prose strong { color: var(--ink-deep); font-weight: 560; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--accent); }

/* Quadrat-Listen */
.sq-list li {
  position: relative; padding-left: 1.4rem; margin-top: 0.65rem; color: var(--ink-soft);
}
.sq-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; background: var(--accent);
}

.meta-line {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; font-weight: 500; color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.meta-line::before { content: ""; width: 9px; height: 9px; background: var(--accent); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 1.5rem;
  font-weight: 540; font-size: 0.98rem; letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn .arr { transition: translate 0.25s var(--ease); }
.btn:hover .arr { translate: 4px 0; }
.btn-primary { background: var(--ink-deep); color: var(--white); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink-deep); }
.btn-ghost:hover { border-color: var(--ink-deep); }
.btn-light { background: var(--white); color: var(--ink-deep); }
.btn-light:hover { background: var(--accent-ink); color: var(--white); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 540; color: var(--accent-ink); text-decoration: none;
}
.text-link .arr { transition: translate 0.25s var(--ease); }
.text-link:hover { color: var(--accent); }
.text-link:hover .arr { translate: 4px 0; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

section { border-top: 1px solid var(--line); }
section.no-line { border-top: 0; }

.section-pad { padding-top: clamp(3.5rem, 8vw, 6.5rem); padding-bottom: clamp(3.5rem, 8vw, 6.5rem); }

.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 50rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  height: 4.5rem;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 2.6rem; width: auto; }

.main-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.main-nav a {
  text-decoration: none; font-size: 0.95rem; font-weight: 480; color: var(--ink-soft);
  padding-top: 0.4rem; padding-bottom: 0.4rem; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink-deep); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { margin-left: 1.5rem; }
.header-cta .btn { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

.nav-toggle { display: none; width: 2.6rem; height: 2.6rem; position: relative; z-index: 120; }
.nav-toggle span {
  position: absolute; left: 0.55rem; right: 0.55rem; height: 2px; background: var(--ink-deep);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 0.95rem; }
.nav-toggle span:nth-child(2) { top: 1.3rem; }
.nav-toggle span:nth-child(3) { top: 1.65rem; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(0.35rem) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-0.35rem) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: 110;
    background: var(--bg);
    display: grid; place-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  body.nav-open .main-nav { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .main-nav ul { flex-direction: column; gap: 1.4rem; text-align: center; }
  .main-nav a { font-size: 1.5rem; font-weight: 560; color: var(--ink-deep); }
}

/* ---------- Hero (Startseite) ---------- */
.hero { border-top: 0; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero-copy { display: grid; gap: 1.6rem; justify-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.4rem; }
.hero-note { font-size: 0.9rem; color: var(--ink-faint); }
.hero-note a { color: var(--ink-soft); text-decoration: none; font-weight: 520; font-variant-numeric: tabular-nums; }
.hero-note a:hover { color: var(--accent-ink); }

.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; filter: saturate(0.92); }
.hero-media::after {
  content: ""; position: absolute; left: -14px; bottom: -14px;
  width: clamp(3.5rem, 6vw, 5rem); height: clamp(3.5rem, 6vw, 5rem);
  background: var(--accent);
}
.hero-media figcaption {
  position: absolute; right: 0; bottom: -2rem;
  font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.02em;
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .hero-media figcaption { position: static; margin-top: 0.6rem; }
}

/* ---------- Faktenleiste ---------- */
.facts { border-top: 1px solid var(--line); }
.facts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.fact {
  padding: clamp(1.4rem, 3vw, 2.2rem) var(--pad) clamp(1.4rem, 3vw, 2.2rem) clamp(1rem, 2vw, 2rem);
  border-left: 1px solid var(--line);
  display: grid; gap: 0.3rem; align-content: start;
}
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink-deep); font-variant-numeric: tabular-nums; }
.fact span { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.4; }
@media (max-width: 820px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); padding-left: 1.2rem; }
}

/* ---------- Leistungen ---------- */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.service {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  display: grid; gap: 0.9rem; align-content: start;
  text-decoration: none;
  transition: background-color 0.3s var(--ease);
}
.service:hover { background: var(--bg-raised); }
.service .sq { width: 10px; height: 10px; background: var(--accent); transition: scale 0.3s var(--ease); }
.service:hover .sq { scale: 1.35; }
.service p { color: var(--ink-soft); font-size: 0.98rem; }
.service .text-link { margin-top: 0.2rem; font-size: 0.95rem; }
@media (max-width: 720px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Zielgruppen-Split ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.split-card { text-decoration: none; display: grid; gap: 1.1rem; align-content: start; }
.split-card figure { overflow: hidden; }
.split-card img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(0.92);
  transition: scale 0.6s var(--ease);
}
.split-card:hover img { scale: 1.04; }
.split-card p { color: var(--ink-soft); }
@media (max-width: 720px) { .split-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Bild-Text-Sektion (Büro) ---------- */
.media-split {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.media-split.rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.media-split.rev .media-copy { order: -1; }
.media-split figure { position: relative; }
.media-split img { width: 100%; object-fit: cover; filter: saturate(0.92); }
.media-copy { display: grid; gap: 1.2rem; justify-items: start; }
.media-copy p { color: var(--ink-soft); }
@media (max-width: 820px) {
  .media-split, .media-split.rev { grid-template-columns: 1fr; }
  .media-split.rev .media-copy { order: 0; }
}

/* Fotoleiste */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 1.5vw, 1.4rem); }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.92); }
@media (max-width: 720px) { .photo-strip { grid-template-columns: 1fr; } .photo-strip img { aspect-ratio: 16 / 9; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.team-card { text-decoration: none; display: grid; gap: 0.9rem; align-content: start; }
.team-card figure { overflow: hidden; }
.team-card img {
  width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 20%;
  filter: saturate(0.92); transition: scale 0.6s var(--ease);
}
.team-card:hover img { scale: 1.04; }
.team-card h3 { font-size: 1.2rem; }
.team-card .role { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.15rem; }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } .team-card img { aspect-ratio: 4 / 3.4; } }

/* ---------- Dunkle Kontakt-Sektion ---------- */
.band-dark { background: var(--ink-deep); color: oklch(92% 0.004 240); border-top: 0; }
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark .kicker { color: oklch(78% 0.01 240); }
.band-dark .loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); }
.loc { display: grid; gap: 0.5rem; align-content: start; border-top: 1px solid var(--line-dark); padding-top: 1.4rem; }
.loc h3 { font-size: 1.15rem; }
.loc .addr { color: oklch(78% 0.008 240); }
.loc dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.2rem; margin-top: 0.7rem; font-size: 0.95rem; }
.loc dt { color: oklch(72% 0.01 240); }
.loc dd { color: oklch(88% 0.006 240); font-variant-numeric: tabular-nums; }
.loc a { color: var(--white); text-decoration: none; }
.loc a:hover { color: var(--accent); }
.loc .maps { margin-top: 0.8rem; }
.loc .maps a { color: var(--accent); font-weight: 520; text-decoration: none; display: inline-flex; gap: 0.45rem; align-items: center; }
.loc .maps a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .band-dark .loc-grid { grid-template-columns: 1fr; } }

.band-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: clamp(2rem, 4vw, 3rem); }
.band-cta .mail { color: oklch(84% 0.008 240); font-size: 0.95rem; }
.band-cta .mail a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.band-cta .mail a:hover { color: var(--accent); }

/* ---------- Unterseiten-Hero ---------- */
.page-hero { border-top: 0; }
.page-hero-in {
  padding-top: clamp(2.8rem, 6vw, 5rem); padding-bottom: clamp(2.8rem, 6vw, 5rem);
  display: grid; gap: 1.3rem; max-width: 52rem;
}
.breadcrumb { font-size: 0.85rem; color: var(--ink-faint); display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-ink); }

/* ---------- Inhaltsblöcke Unterseiten ---------- */
.content-cols {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.content-cols > h2, .content-cols > h3 { position: sticky; top: 6rem; align-self: start; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.3; }
@media (max-width: 820px) {
  .content-cols { grid-template-columns: 1fr; gap: 1.2rem; }
  .content-cols > h2, .content-cols > h3 { position: static; }
}

/* Vita / Profil */
.profil {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.profil-side { display: grid; gap: 1.1rem; align-content: start; position: sticky; top: 6rem; align-self: start; }
.profil-side img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 20%; filter: saturate(0.92); }
.profil-side .role { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.2rem; }
.profil-main { display: grid; gap: 1.8rem; align-content: start; }
.vita-block h4 { font-size: 0.82rem; font-weight: 560; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.7rem; }
.vita { border-top: 1px solid var(--line); }
.vita li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.2rem; padding-top: 0.65rem; padding-bottom: 0.65rem; border-bottom: 1px solid var(--line); }
.vita .jahr { font-family: var(--mono); font-size: 0.85rem; color: var(--accent-ink); padding-top: 0.15rem; font-variant-numeric: tabular-nums; }
.vita .was { color: var(--ink-soft); }
@media (max-width: 820px) {
  .profil { grid-template-columns: 1fr; }
  .profil-side { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; }
  .profil-side img { aspect-ratio: 1; }
  .vita li { grid-template-columns: 5rem 1fr; gap: 0.8rem; }
}

/* ---------- Downloads ---------- */
.dl-list { border-top: 1px solid var(--line); }
.dl-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.2rem;
  padding: 0.9rem 0.2rem; border-bottom: 1px solid var(--line);
  text-decoration: none; transition: background-color 0.25s var(--ease);
}
.dl-item:hover { background: var(--bg-raised); }
.dl-type {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--accent-ink); border: 1px solid var(--line); padding: 0.3rem 0.5rem; min-width: 3.2rem; text-align: center;
}
.dl-name { font-weight: 500; color: var(--ink-deep); }
.dl-meta { font-size: 0.85rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Karriere ---------- */
.job-panel { border: 1px solid var(--line); padding: clamp(1.6rem, 4vw, 3rem); display: grid; gap: 1.6rem; }
.job-roles { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.job-roles span { border: 1px solid var(--line); padding: 0.45rem 0.9rem; font-size: 0.92rem; font-weight: 510; color: var(--ink-deep); }

/* ---------- Kontaktseite ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.contact-card { border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.2rem); display: grid; gap: 0.5rem; align-content: start; }
.contact-card h3 { font-size: 1.15rem; }
.contact-card .addr { color: var(--ink-soft); }
.contact-card dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.2rem; margin-top: 0.7rem; font-size: 0.95rem; }
.contact-card dt { color: var(--ink-faint); }
.contact-card dd { font-variant-numeric: tabular-nums; }
.contact-card a { color: var(--ink-deep); text-decoration: none; }
.contact-card a:hover { color: var(--accent-ink); }
.contact-card .maps { margin-top: 0.9rem; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 46rem; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.6rem; }
.legal p, .legal li { color: var(--ink-soft); font-size: 0.98rem; }
.legal p { margin-top: 0.8rem; }
.legal ul { margin-top: 0.6rem; }
.legal a { color: var(--accent-ink); }
.legal .stand { font-size: 0.85rem; color: var(--ink-faint); margin-top: 2.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: oklch(78% 0.008 240); border-top: 0; }
.footer-in {
  max-width: var(--maxw); margin-inline: auto; padding: clamp(3rem, 6vw, 4.5rem) var(--pad) 2rem;
  display: grid; gap: clamp(2rem, 4vw, 3rem);
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); }
.footer-brand { display: grid; gap: 1rem; align-content: start; justify-items: start; }
.footer-brand img { height: 2.4rem; width: auto; }
.footer-brand p { font-size: 0.92rem; max-width: 22rem; }
.footer-col .footer-h { color: var(--white); font-size: 0.82rem; font-weight: 560; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer-col li { margin-top: 0.45rem; }
.footer-col a { color: oklch(78% 0.008 240); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--white); }
.footer-col address { font-style: normal; font-size: 0.95rem; line-height: 1.6; }
.footer-col .tel { font-variant-numeric: tabular-nums; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between;
  font-size: 0.85rem; color: oklch(72% 0.01 240);
}
.footer-bottom ul { display: flex; gap: 1.4rem; }
.footer-bottom a { color: oklch(76% 0.01 240); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr; } }


/* ---------- Reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: 0.08s; }
  .reveal-d2 { transition-delay: 0.16s; }
  .reveal-d3 { transition-delay: 0.24s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
