/* ===========================================================
   Seán Hörtling Rechtsanwalt — BW Editorial / Minimal
   ===========================================================
   Schwarz/Weiß · Inter Sans · viel White-Space · seriös
=========================================================== */

:root {
  --black:        #111111;
  --black-90:     #1A1A1A;
  --black-80:     #2A2A2A;   /* Body-Text */
  --grey-60:      #6B6B6B;   /* Sekundärtext */
  --grey-40:      #9A9A96;   /* Meta — AA auf Schwarz */
  --hairline:     #E5E5E2;
  --paper:        #F7F7F5;   /* Card / Section-BG */
  --white:        #FFFFFF;

  --container:    1160px;
  --gutter:       clamp(1.25rem, 4vw, 2.5rem);
  --section-y:    clamp(4rem, 8vw, 7rem);

  --radius:       4px;
  --radius-lg:    8px;

  --shadow-sm:    0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 12px 32px -16px rgba(0,0,0,0.18);

  --font-sans:    'Inter', system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --t-display:    clamp(2.5rem, 5.3vw, 4.6rem);
  --t-h1:         clamp(2.1rem, 4.3vw, 3.4rem);
  --t-h2:         clamp(1.75rem, 3vw, 2.4rem);
  --t-h3:         1.25rem;
  --t-lead:       clamp(1.05rem, 1.5vw, 1.25rem);
  --t-body:       1rem;
  --t-meta:       0.8125rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--black-80);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Anker-Offset unter Sticky-Header */
:target { scroll-margin-top: 90px; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--black); color: var(--white);
  padding: 0.75rem 1rem; z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---- Layout ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
section.tight { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
section.paper { background: var(--paper); }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-sans); color: var(--black); margin: 0 0 0.4em; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; overflow-wrap: break-word; hyphens: manual; }
h1 { font-size: var(--t-display); }
h2 { font-size: var(--t-h1); }
h3 { font-size: var(--t-h2); font-weight: 600; }
h4 { font-size: var(--t-h3); font-weight: 600; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: var(--t-lead); color: var(--grey-60); max-width: 60ch; }
.plate {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-60);
  font-weight: 500;
  margin-bottom: 1.4rem;
}
.plate strong { color: var(--black); font-weight: 600; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem; font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid var(--black);
  background: var(--black); color: var(--white);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  min-height: 44px;
  line-height: 1.2;
}
.btn:hover { background: var(--white); color: var(--black); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.txt-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--black); font-weight: 500; font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  min-height: 44px;
  line-height: 1.4;
}
.txt-link:hover { color: var(--grey-60); border-color: var(--grey-60); }
.txt-link svg { flex-shrink: 0; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.masthead {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  height: 72px;
  position: relative;
}
.brand { display: flex; flex-direction: column; gap: 1px; text-decoration: none; color: var(--black); line-height: 1; }
.brand-name { font-weight: 700; letter-spacing: 0.18em; font-size: 0.98rem; text-transform: uppercase; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.26em; color: var(--grey-60); font-weight: 500; text-transform: uppercase; margin-top: 3px; }

.nav-main { display: none; }
@media (min-width: 920px) {
  .nav-main { display: flex; align-items: center; gap: 1.9rem; }
  .nav-main a {
    font-size: 0.92rem; font-weight: 500; color: var(--black-80);
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
  }
  .nav-main a:hover { color: var(--black); border-color: var(--black); }
  .nav-main a.active { color: var(--black); border-color: var(--black); }
}

.header-cta { display: none; align-items: baseline; gap: 1.4rem; }
@media (min-width: 920px) { .header-cta { display: inline-flex; } }
.header-cta .tel-inline { line-height: 1; font-size: 0.92rem; font-weight: 500; color: var(--black-80); }
.header-cta .tel-inline:hover { color: var(--black); }

/* Burger */
.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--hairline);
  border-radius: var(--radius);
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
}
@media (min-width: 920px) { .burger { display: none; } }
.burger svg { width: 20px; height: 20px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--white);
  display: flex; flex-direction: column;
  padding: 6rem var(--gutter) 3rem;
  transform: translateY(-100%); transition: transform 0.32s ease;
  visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu nav a {
  display: block; padding: 1rem 0;
  font-size: 1.4rem; font-weight: 600; color: var(--black);
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu .menu-meta {
  margin-top: auto; padding-top: 2rem;
  font-size: 0.9rem; color: var(--grey-60);
}
.mobile-menu .menu-meta a { color: var(--black); font-weight: 500; }
body.menu-open { overflow: hidden; }

/* ---- Hero ---- */
.hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  border-bottom: 1px solid var(--hairline);
}
.hero-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; }
}
.hero h1 { letter-spacing: -0.025em; font-size: clamp(2.1rem, 4.6vw, 4rem); }
.hero .lead { margin-top: 1.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; align-items: center; }
.hero-meta {
  margin-top: 2.5rem; display: grid; gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  padding-top: 1.5rem;
}
.hero-meta .stat { display: flex; flex-direction: column; min-width: 0; }
.hero-meta .num { font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 700; color: var(--black); white-space: nowrap; line-height: 1.1; }
.hero-meta .lbl { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-60); margin-top: 0.4rem; }
.hero-image { position: relative; }
.hero-image img {
  width: 100%; border-radius: var(--radius-lg);
  filter: grayscale(100%) contrast(1.05);
  aspect-ratio: 4 / 5; object-fit: cover;
}

/* ---- Trust strip ---- */
.trust-strip { border-bottom: 1px solid var(--hairline); background: var(--paper); }
.trust-strip .container {
  display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; justify-content: center;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey-60); font-weight: 500;
  padding-top: 1.4rem; padding-bottom: 1.4rem;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 0.6rem; }
.trust-strip span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--black); display: inline-block; }
.trust-strip span:first-child::before { display: none; }

/* ---- Section header ---- */
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

/* ---- Service Grid ---- */
.service-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex; flex-direction: column; min-width: 0;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--black); }
.service-icon { width: 30px; height: 30px; margin-bottom: 1rem; color: var(--black); }
.service-icon svg { width: 100%; height: 100%; }
.service-num { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-60); font-weight: 500; margin-bottom: 0.4rem; }
.service-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.95rem; color: var(--grey-60); margin: 0 0 1.2rem; }
.service-card .txt-link { margin-top: auto; align-self: flex-start; font-size: 0.85rem; }

/* ---- Pull quote ---- */
.pullquote {
  border-left: 2px solid var(--black);
  padding: 0.5rem 0 0.5rem 1.6rem;
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  line-height: 1.4;
  color: var(--black);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 62ch;
  overflow-wrap: break-word;
  hyphens: manual;
}
.pullquote cite {
  display: block; font-style: normal;
  font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey-60); margin-top: 1rem; font-weight: 500;
}

/* ---- Split / Steps ---- */
.split {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
@media (min-width: 980px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split.reverse > :first-child { order: 2; }
}
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { padding: 1.4rem 0; border-bottom: 1px solid var(--hairline); position: relative; padding-left: 3rem; counter-increment: step; }
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1.4rem;
  font-size: 0.85rem; letter-spacing: 0.18em; color: var(--grey-60); font-weight: 600;
}
.steps li h3 { margin: 0 0 0.4rem; font-size: 1.1rem; font-weight: 600; }
.steps li p { margin: 0; color: var(--grey-60); font-size: 0.95rem; }

.split-image img {
  width: 100%; border-radius: var(--radius-lg);
  filter: grayscale(100%) contrast(1.04);
  aspect-ratio: 4 / 5; object-fit: cover;
}
.split-image.wide img { aspect-ratio: 3 / 4; }

/* ---- Werdegang / Credentials ---- */
.creds { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0; }
.creds li {
  display: grid; grid-template-columns: minmax(110px, 150px) 1fr; gap: 1rem;
  padding: 1.1rem 0; border-top: 1px solid var(--hairline); align-items: baseline;
}
.creds li:last-child { border-bottom: 1px solid var(--hairline); }
.creds .when { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey-60); font-weight: 600; }
.creds .what { color: var(--black-80); font-size: 0.97rem; }
.creds .what strong { color: var(--black); font-weight: 600; }
@media (max-width: 600px) {
  .creds li { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ---- Service detail (Leistungen page) ---- */
.service-detail { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr); align-items: center; padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--hairline); }
.service-detail:first-of-type { border-top: none; padding-top: 0; }
@media (min-width: 980px) {
  .service-detail.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .service-detail.has-image.reverse > :first-child { order: 2; }
}
.service-detail .image img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(100%) contrast(1.04); }
.service-detail h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 1rem; }
.service-detail .num { font-size: 0.78rem; letter-spacing: 0.18em; color: var(--grey-60); font-weight: 500; margin-bottom: 0.6rem; display:block; }
.service-detail ul.bullets { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.65rem; }
.service-detail ul.bullets li { padding-left: 1.4rem; position: relative; font-size: 0.95rem; color: var(--black-80); }
.service-detail ul.bullets li::before { content: ""; position: absolute; left: 0; top: 0.6rem; width: 14px; height: 1px; background: var(--black); }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--hairline); padding: 1.2rem 0; }
.faq details:first-of-type { border-top: 1px solid var(--hairline); }
.faq summary { font-weight: 600; color: var(--black); font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--grey-60); font-weight: 400; line-height: 1; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 1rem 0 0; color: var(--grey-60); font-size: 0.97rem; }

/* ---- CTA Band ---- */
.cta-band { background: var(--black); color: var(--white); }
.cta-band .container {
  display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start;
}
@media (min-width: 720px) {
  .cta-band .container { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cta-band h2 { color: var(--white); margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 24ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---- Footer ---- */
.site-footer { background: var(--black); color: var(--grey-40); padding-top: clamp(3.5rem, 6vw, 5rem); padding-bottom: 2rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-label { color: var(--white); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 1rem; font-weight: 500; display:block; }
.site-footer p, .site-footer a, .site-footer address { color: var(--grey-40); font-size: 0.9rem; line-height: 1.7; font-style: normal; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-sub { color: var(--grey-40); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.78rem; color: var(--grey-40);
}
.footer-socials { display: flex; gap: 0.7rem; }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.18); color: var(--white);
}
.footer-socials a:hover { background: var(--white); color: var(--black); }
.footer-socials svg { width: 16px; height: 16px; }

/* ---- Forms ---- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .form .row.cols-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field label { display: block; font-size: 0.85rem; color: var(--black); font-weight: 500; margin-bottom: 0.4rem; letter-spacing: 0.02em; }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; font: inherit; color: var(--black);
  background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius);
  transition: border-color 0.18s ease, box-shadow 0.18s ease; min-height: 44px;
}
.field input:not([type="radio"]):not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,0.06); }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field .hint { font-size: 0.78rem; color: var(--grey-60); margin-top: 0.35rem; }
.field-radio { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.field-radio label { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 400; margin: 0; cursor: pointer; min-height: 44px; }
.field-radio input[type="radio"] { -webkit-appearance: radio; appearance: radio; width: 16px; height: 16px; min-height: 16px; margin: 0; padding: 0; border: 0; background: none; flex-shrink: 0; accent-color: var(--black); }
.field-checkbox { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.85rem; color: var(--grey-60); line-height: 1.5; cursor: pointer; }
.field-checkbox input[type="checkbox"] { -webkit-appearance: checkbox; appearance: checkbox; margin: 0 0 0 0; margin-top: 3px; width: 18px; height: 18px; min-height: 18px; padding: 0; border: 0; background: none; flex-shrink: 0; accent-color: var(--black); }
.honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; pointer-events: none; }
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form .btn { width: 100%; justify-content: center; }
@media (min-width: 720px) { .form .btn { width: auto; } }
.form-status { font-size: 0.9rem; min-height: 1.4em; }
.form-status.success { color: #047857; }
.form-status.error { color: #B91C1C; }

.contact-aside {
  background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: 1.8rem; display: grid; gap: 1.4rem; align-content: start;
}
.contact-aside h2 { font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey-60); margin: 0 0 0.6rem; font-weight: 500; }
.contact-aside .item p { margin: 0; font-size: 0.95rem; }
.contact-aside .item a { color: var(--black); font-weight: 500; }
.contact-aside .item a:hover { color: var(--grey-60); }

/* ---- Map (consent-gated Google Maps) ---- */
.map-wrap { margin-top: 2.5rem; }
.map-embed {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--hairline); height: 400px; position: relative; background: var(--paper);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(70%) contrast(1.05); }
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  gap: 0.9rem; padding: 2rem; background: var(--paper);
}
.map-consent .mc-icon { width: 34px; height: 34px; color: var(--grey-60); }
.map-consent p { margin: 0; max-width: 42ch; font-size: 0.9rem; color: var(--grey-60); }
.map-credit { font-size: 0.8rem; color: var(--grey-60); margin-top: 0.6rem; }
.map-credit a { color: var(--black); border-bottom: 1px solid var(--black); }

/* ---- Page header (Sub-Pages) ---- */
.page-header {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--hairline);
}
.page-header h1 { max-width: 20ch; font-size: clamp(2rem, 5vw, 3.6rem); }
.page-header .lead { margin-top: 0.4rem; }
.page-header.center-legal { text-align: center; }
.page-header.center-legal h1 { margin-left: auto; margin-right: auto; }

/* ---- Legal ---- */
.legal { max-width: 74ch; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; margin-top: 2.5rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.6rem; font-weight: 600; }
.legal p, .legal li { font-size: 0.95rem; color: var(--black-80); }
.legal ul { padding-left: 1.4rem; }
.legal a { color: var(--black); border-bottom: 1px solid var(--black); padding-bottom: 1px; word-break: break-word; }
.legal .note { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: 0.9rem; color: var(--grey-60); }

/* ---- 404 ---- */
.notfound { padding: clamp(5rem, 12vw, 8rem) 0; text-align: center; }
.notfound .big-num { font-size: clamp(7rem, 18vw, 12rem); font-weight: 700; color: var(--black); line-height: 1; letter-spacing: -0.04em; margin-bottom: 0.5rem; }
.notfound h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.2rem; }
.notfound .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ---- Reveal animation (transform only — a11y safe) ---- */
.reveal { opacity: 1; transform: translateY(20px); transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.reveal.in { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 560px; margin: 0 auto;
  background: var(--black); color: var(--white);
  padding: 1.2rem 1.4rem; border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  display: flex; flex-direction: column; gap: 0.8rem;
  z-index: 120;
  transform: translateY(160%); transition: transform 0.32s ease; visibility: hidden;
}
.cookie-banner.show { transform: translateY(0); visibility: visible; }
.cookie-banner p { margin: 0; font-size: 0.85rem; line-height: 1.5; color: var(--white); }
.cookie-banner p a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.5); }
.cookie-banner .actions { display: flex; gap: 0.7rem; }
.cookie-banner .btn { padding: 0.7rem 1.2rem; font-size: 0.85rem; min-height: 44px; }

/* ---- Mobile overrides ---- */
@media (max-width: 700px) {
  .hero-meta { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 1.2rem; }
  .hero-meta .stat { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 0.75rem 0; border-bottom: 1px solid var(--hairline); }
  .hero-meta .stat:last-child { border-bottom: none; }
  .hero-meta .num { font-size: 1.3rem; }
  .hero-meta .lbl { margin: 0; text-align: right; }
  .pullquote { font-size: 1.25rem; padding-left: 1rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-band .actions { width: 100%; }
  .cta-band .actions .btn { flex: 1 1 auto; justify-content: center; }
}
