/* ============================================================
   jhn-dienstleistungen.de
   Editorial + clinical premium · Fraunces × Inter Tight
   Ink / Bone / Ember palette
   ============================================================ */

:root {
  /* Palette */
  --bone:   #f4f0e8;       /* paper */
  --bone-2: #ebe5d8;       /* paper warm */
  --ink:    #0d1117;       /* near-black */
  --ink-2:  #1b232e;
  --ink-3:  #2e3a48;
  --mute:   #5a6573;
  --mute-2: #8a93a0;
  --on-dark-soft: #d8d1c1;   /* warm-bone für Fließtext auf Dunkel — AA garantiert */
  --on-dark-mute: #b9b3a4;   /* matter für Sekundär-Hinweise auf Dunkel */
  --line:   rgba(13,17,23,0.12);
  --line-2: rgba(13,17,23,0.06);
  --ember:  #b3502a;       /* warm signal */
  --ember-d:#8a3a1a;
  --gold:   #b48a3a;
  --leaf:   #2e6347;
  --white:  #ffffff;

  /* Type */
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif:"Fraunces", "Times New Roman", Georgia, serif;
  --fs-xs: 12px;
  --fs-s:  14px;
  --fs-m:  16px;
  --fs-l:  19px;
  --fs-xl: 22px;
  --fs-h3: clamp(22px, 2.2vw, 30px);
  --fs-h2: clamp(28px, 3.4vw, 46px);
  --fs-h1: clamp(36px, 5.2vw, 76px);
  --fs-display: clamp(44px, 8vw, 120px);

  /* Geometry */
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --gut: clamp(16px, 3vw, 32px);
  --container: 1240px;
  --shadow-1: 0 1px 0 rgba(13,17,23,.04), 0 8px 28px rgba(13,17,23,.06);
  --shadow-2: 0 20px 60px rgba(13,17,23,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-m);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,svg,video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ember); }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bone); padding: 12px 18px; z-index: 999;
  border-radius: 0 0 var(--r-s) 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* Type helpers */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ember);
  margin: 0 0 14px;
}
.lead {
  font-size: var(--fs-l);
  color: var(--ink-2);
  max-width: 62ch;
}
.muted { color: var(--mute); }
.small { font-size: var(--fs-s); }

h1,h2,h3,h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
.serif-italic { font-family: var(--serif); font-style: italic; }

/* ──────────────────────── Header ──────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,240,232,0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gut);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink);
}
.brand img { width: 44px; height: 44px; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 4px;
}
.brand--foot { color: var(--bone); }
.brand--foot .brand-sub { color: var(--mute-2); }
.brand--foot .brand-mark { color: var(--bone); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a { font-weight: 500; padding: 8px 0; position: relative; }
.nav > a:hover,
.nav-services > summary:hover { color: var(--ember); }
.nav .cta-phone {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bone);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-feature-settings: "tnum" 1;
  transition: background .2s var(--ease);
}
.nav .cta-phone:hover { background: var(--ember); color: var(--bone); }

.nav-services { position: relative; }
.nav-services > summary {
  list-style: none; cursor: pointer; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 0;
}
.nav-services > summary::-webkit-details-marker { display: none; }
.nav-services > summary::after {
  content: ""; width: 8px; height: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px,-2px);
  transition: transform .25s var(--ease);
}
.nav-services[open] > summary::after { transform: rotate(-135deg) translate(-2px,-2px); }
.nav-services-menu {
  position: absolute; top: calc(100% + 6px); left: -16px;
  background: var(--bone); border: 1px solid var(--line);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-2);
  padding: 14px;
  display: grid; gap: 4px;
  width: min(540px, 80vw);
}
.nav-services-menu a {
  display: block; padding: 12px 14px; border-radius: var(--r-s);
}
.nav-services-menu a:hover { background: var(--bone-2); color: var(--ink); }
.nav-services-menu .nm-title { font-weight: 600; display: block; }
.nav-services-menu .nm-teaser {
  font-size: var(--fs-s); color: var(--mute); display: block; margin-top: 2px;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0;
  flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 0 auto;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  padding: 16px var(--gut) 24px;
  border-top: 1px solid var(--line);
  background: var(--bone);
}
.mobile-nav a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line-2);
  font-size: var(--fs-l);
}
.mobile-nav a.mobile-call {
  margin-top: 14px;
  background: var(--ink); color: var(--bone);
  border-radius: var(--r-s);
  text-align: center;
  padding: 14px 20px;
  border-bottom: none;
}
@media (max-width: 880px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  body[data-menu-open] .mobile-nav { display: block; }
}

/* ──────────────────────── Buttons ──────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--fs-m);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  min-height: 48px;
}
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: var(--ember); color: var(--bone); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bone); }
.btn-on-dark { background: var(--bone); color: var(--ink); }
.btn-on-dark:hover { background: var(--ember); color: var(--bone); }
.btn-link { background: none; color: var(--ink); padding-left: 0; padding-right: 0; }
.btn-link::after {
  content: "→"; margin-left: 6px; transition: transform .25s var(--ease);
}
.btn-link:hover::after { transform: translateX(4px); color: var(--ember); }

/* ──────────────────────── Hero ──────────────────────── */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 120px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
}
.hero-eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ember);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 1.5px; background: var(--ember);
}
.hero h1 {
  font-size: var(--fs-h1);
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
  color: var(--ember-d);
}
.hero .lead {
  margin: 22px 0 30px;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-2);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-img-wrap {
  position: relative;
  aspect-ratio: 16/12;
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.hero-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
}
.hero-trust {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.hero-trust-item {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-trust-item b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.01em;
}
.hero-trust-item span { font-size: var(--fs-s); color: var(--mute); }

/* ──────────────────────── Sections ──────────────────────── */
.section {
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
}
.section--ink { background: var(--ink); color: var(--on-dark-soft); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--bone); }
.section--ink p, .section--ink li { color: var(--on-dark-soft); }
.section--ink .lead { color: var(--on-dark-soft); }
.section--ink .muted { color: var(--on-dark-mute); }
.section--bone { background: var(--bone-2); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head .lead { margin: 0; }
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
}

/* ──────────────────────── Service cards ──────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.svc-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.svc-card .img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.svc-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.svc-card:hover .img img { transform: scale(1.05); }
.svc-card .body {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.svc-card h3 { font-size: 22px; margin: 0; }
.svc-card .teaser { color: var(--mute); margin: 0; }
.svc-card .more {
  margin-top: auto;
  font-weight: 600;
  color: var(--ink);
  font-size: var(--fs-s);
}
.svc-card .more::after { content: "  →"; }

/* On dark sections */
.section--ink .svc-card { background: var(--ink-2); border-color: rgba(255,255,255,.10); }
.section--ink .svc-card h3 { color: var(--bone); }
.section--ink .svc-card .teaser { color: var(--on-dark-soft); }
.section--ink .svc-card .more { color: var(--bone); }

/* ──────────────────────── Feature snippet ──────────────────────── */
.snippet {
  background: var(--bone);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ember);
  border-radius: var(--r-m);
  padding: clamp(22px,2.5vw,36px) clamp(24px,2.8vw,40px);
  max-width: 800px;
}
.snippet p { margin-bottom: 0; }
.snippet h3 { font-size: 22px; margin-bottom: .4em; }

/* ──────────────────────── Process / Numbered ──────────────────────── */
.process {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  counter-reset: step;
}
.process .step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--bone);
  position: relative;
}
.process .step::before {
  counter-increment: step;
  content: counter(step,decimal-leading-zero);
  font-family: var(--serif);
  font-size: 38px;
  color: var(--ember);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

/* ──────────────────────── Service detail page ──────────────────────── */
.svc-hero {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  padding: clamp(60px, 7vw, 120px) 0 clamp(80px, 9vw, 140px);
}
.svc-hero .bg {
  position: absolute; inset: 0; opacity: 0.35;
}
.svc-hero .bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
}
.svc-hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,17,23,0.55) 0%, rgba(13,17,23,0.85) 100%);
}
.svc-hero .container { position: relative; }
.svc-hero h1 { color: var(--bone); font-size: var(--fs-h1); max-width: 18ch; }
.svc-hero h1 em { color: #d99d6e; font-style: italic; }
.svc-hero .lead { color: var(--on-dark-soft); }
.svc-hero .eyebrow { color: #d99d6e; }
.crumbs {
  display: flex; gap: 8px; font-size: var(--fs-s);
  color: var(--on-dark-soft);
  margin-bottom: 24px;
}
.crumbs a { color: var(--on-dark-soft); }
.crumbs a:hover { color: var(--bone); }
.crumbs .sep { opacity: 0.5; color: var(--on-dark-mute); }

.svc-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  margin-top: -60px;
  position: relative; z-index: 2;
}
@media (max-width: 880px) {
  .svc-body { grid-template-columns: 1fr; margin-top: -40px; }
}
.svc-main {
  background: var(--bone);
  border-radius: var(--r-l);
  padding: clamp(28px, 3.5vw, 48px);
  box-shadow: var(--shadow-1);
}
.svc-main h2 { font-size: var(--fs-h3); margin-top: 1.4em; }
.svc-main h2:first-child { margin-top: 0; }
.svc-main .bullets {
  list-style: none; padding: 0; margin: 0 0 1em;
}
.svc-main .bullets li {
  position: relative; padding-left: 28px; margin-bottom: 10px;
}
.svc-main .bullets li::before {
  content: "";
  position: absolute; left: 0; top: .65em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--ember);
  border-bottom: 2px solid var(--ember);
  transform: rotate(-45deg);
}
.svc-side {
  display: flex; flex-direction: column; gap: 18px;
}
.fact-box {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 24px;
  box-shadow: var(--shadow-1);
}
.fact-box h3 {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 600;
  margin-bottom: 12px;
}
.fact-box dl { margin: 0; }
.fact-box dt { font-size: var(--fs-s); color: var(--mute); margin-top: 12px; }
.fact-box dt:first-of-type { margin-top: 0; }
.fact-box dd { margin: 2px 0 0; font-weight: 500; }
.fact-cta {
  background: var(--ink); color: var(--bone);
  border-radius: var(--r-m);
  padding: 24px;
  text-align: left;
}
.fact-cta h3 { color: var(--bone); font-family: var(--serif); font-size: 22px; margin-bottom: 6px; text-transform: none; letter-spacing: 0; }
.fact-cta p { color: var(--on-dark-soft); margin-bottom: 16px; }
.fact-cta .btn { width: 100%; }

.addon-card {
  background: var(--bone-2);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: clamp(22px, 2.4vw, 32px);
  margin-top: 30px;
}
.addon-card h3 { font-size: var(--fs-h3); }

/* ──────────────────────── FAQ ──────────────────────── */
.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 880px;
}
.faq details {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 18px 22px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--serif);
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 500;
  gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--sans); font-weight: 400;
  font-size: 24px; color: var(--ember);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { box-shadow: var(--shadow-1); }
.faq .a { padding-top: 12px; color: var(--ink-2); }

/* ──────────────────────── CTA strip ──────────────────────── */
.cta-strip {
  position: relative;
  color: var(--bone);
  padding: clamp(56px, 7vw, 110px) 0;
  overflow: hidden;
}
.cta-strip-bg { position: absolute; inset: 0; }
.cta-strip-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.cta-strip-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,17,23,0.92) 0%, rgba(13,17,23,0.6) 100%);
}
.cta-strip-inner {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gut);
  max-width: 760px;
}
.cta-strip-inner .eyebrow { color: #d99d6e; }
.cta-strip-inner h2 { color: var(--bone); }
.cta-strip-inner .lead { color: var(--on-dark-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ──────────────────────── Footer ──────────────────────── */
.site-foot {
  background: var(--ink); color: var(--bone);
}
.foot-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--gut) 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 880px) {
  .foot-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .foot-inner { grid-template-columns: 1fr; }
}
.foot-col h3 {
  color: var(--bone);
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: 16px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { color: var(--bone); opacity: 0.86; }
.foot-col a:hover { opacity: 1; color: var(--ember); }
.foot-col .muted { color: var(--on-dark-mute); }
.foot-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gut) 28px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  color: var(--on-dark-mute);
  font-size: var(--fs-s);
}
.foot-bottom nav { display: flex; gap: 18px; }
.foot-bottom a { color: var(--on-dark-mute); }
.foot-bottom a:hover { color: var(--bone); }

/* ──────────────────────── Forms ──────────────────────── */
.form-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: clamp(28px, 3.5vw, 48px);
  box-shadow: var(--shadow-1);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: var(--fs-s);
  font-weight: 500;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 14px 14px;
  color: var(--ink);
  width: 100%;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ember);
  background: var(--white);
}
.field .req { color: var(--ember); }
.field-honey {
  position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0;
}
.form-actions { margin-top: 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-note { color: var(--mute); font-size: var(--fs-s); }

/* ──────────────────────── Legal pages ──────────────────────── */
.legal {
  max-width: 800px;
  padding: clamp(40px, 6vw, 80px) 0;
}
.legal h2 { font-size: var(--fs-h3); margin-top: 1.6em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal address {
  font-style: normal;
  padding: 16px 20px;
  background: var(--bone-2);
  border-left: 3px solid var(--ember);
  border-radius: 0 var(--r-s) var(--r-s) 0;
}

/* ──────────────────────── 404 ──────────────────────── */
.notfound {
  text-align: center;
  padding: clamp(80px, 12vw, 200px) var(--gut);
}
.notfound .big {
  font-family: var(--serif);
  font-size: clamp(80px, 18vw, 220px);
  font-weight: 500;
  color: var(--ember);
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ──────────────────────── Reveal ────────────────────────
   Nur aktiv, wenn JS die Klasse js-reveal am <html> setzt.
   No-JS / Print / Reduced-Motion / Crawler sehen alles sofort. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js-reveal [data-reveal].in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ──────────────────────── Utilities ──────────────────────── */
.divider {
  height: 1px; background: var(--line); border: 0;
  margin: clamp(40px, 5vw, 80px) auto;
  max-width: 200px;
}
.text-center { text-align: center; }
.hide-mobile { display: initial; }
.show-mobile { display: none; }
@media (max-width: 640px) {
  .hide-mobile { display: none; }
  .show-mobile { display: initial; }
}
