/* ============================================================
   hartmann Steuerberatung — Dachau
   Design: „Kanzlei-Editorial" — Marineblau, Brand-Orange, Fraunces
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/fraunces.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/instrument-sans.woff2') format('woff2');
}

:root {
  --navy-950: #071A36;
  --navy-900: #0A2450;
  --navy: #0F3473;
  --navy-soft: #2C4E8F;
  --orange: #EB6309;
  --orange-bright: #FF7A1F;
  --orange-soft: #F08A46;
  --paper: #F8F5EF;
  --paper-deep: #F1ECE2;
  --mist: #E4EBF4;
  --ink: #101F38;
  --ink-soft: #43526B;
  --white: #FFFFFF;
  --line: rgba(15, 52, 115, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);
  --gold-hair: rgba(235, 99, 9, 0.35);
  --display: 'Fraunces', Georgia, serif;
  --body: 'Instrument Sans', 'Helvetica Neue', sans-serif;
  --shadow-lift: 0 24px 60px -24px rgba(7, 26, 54, 0.35);
  --radius: 18px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: var(--orange); color: #fff; }

.wrap {
  width: min(1180px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 10px 0; text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(7, 26, 54, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: #fff;
}
.brand img { height: 40px; width: auto; }
.brand-name {
  font-family: var(--display); font-weight: 600;
  font-size: 1.22rem; letter-spacing: .01em; line-height: 1.05;
}
.brand-name small {
  display: block; font-family: var(--body); font-weight: 500;
  font-size: .68rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--orange-soft); margin-top: .18rem;
}
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.main-nav a {
  color: rgba(255,255,255,.85); text-decoration: none;
  font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  transition: color .2s;
}
.main-nav a:hover { color: var(--orange-bright); }
.nav-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--orange); color: #fff !important;
  padding: .62rem 1.15rem; border-radius: 999px;
  font-weight: 600 !important; white-space: nowrap;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--orange-bright); transform: translateY(-1px); }
.nav-cta svg { width: 16px; height: 16px; }

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none; cursor: pointer; width: 44px; height: 44px;
  align-items: center; justify-content: center; border-radius: 10px;
}
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
  content: ''; display: block; width: 24px; height: 2px;
  background: #fff; position: relative; transition: transform .25s, opacity .25s;
}
.nav-toggle-label span::before { position: absolute; top: -7px; }
.nav-toggle-label span::after { position: absolute; top: 7px; }

@media (max-width: 860px) {
  .nav-toggle-label { display: flex; }
  .main-nav {
    position: fixed; top: 74px; right: 0; left: 0;
    background: var(--navy-950);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
    transform: translateY(-130%); transition: transform .3s ease;
    border-bottom: 1px solid var(--line-light);
  }
  .main-nav a { padding: .85rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.07); }
  .main-nav a:last-child { border-bottom: 0; }
  .nav-cta { justify-content: center; margin-top: .75rem; border-radius: 12px; }
  .nav-toggle:checked ~ .main-nav { transform: translateY(0); }
  .nav-toggle:checked ~ .nav-toggle-label span { transform: rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span::before { transform: rotate(-90deg); top: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span::after { opacity: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(44, 78, 143, 0.55), transparent 60%),
    radial-gradient(900px 600px at -15% 110%, rgba(235, 99, 9, 0.18), transparent 55%),
    linear-gradient(168deg, var(--navy-950) 0%, var(--navy-900) 58%, #0D2B5E 100%);
  color: #fff;
  padding: calc(74px + clamp(4rem, 10vw, 7.5rem)) 0 clamp(4rem, 9vw, 7rem);
}
.hero::before {
  content: '§';
  position: absolute; right: -4rem; top: 45%; transform: translateY(-50%);
  font-family: var(--display); font-weight: 600;
  font-size: clamp(22rem, 44vw, 44rem); line-height: 1;
  color: rgba(255, 255, 255, 0.035);
  pointer-events: none; user-select: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 120px);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--orange-soft);
  animation: rise .8s cubic-bezier(.2,.7,.2,1) both;
}
.hero-eyebrow::before {
  content: ''; width: 42px; height: 1px; background: var(--gold-hair);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.9rem, 8.2vw, 6.4rem);
  font-weight: 600; line-height: 1.02; letter-spacing: -0.015em;
  margin: 1.4rem 0 0; max-width: 15ch;
  font-variation-settings: 'opsz' 144;
  animation: rise .8s .12s cubic-bezier(.2,.7,.2,1) both;
}
.hero h1 em {
  font-style: italic; color: var(--orange-bright); font-weight: 500;
}

.hero-lede {
  max-width: 46ch; margin-top: 1.75rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7;
  color: rgba(255,255,255,.78);
  animation: rise .8s .24s cubic-bezier(.2,.7,.2,1) both;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem;
  animation: rise .8s .36s cubic-bezier(.2,.7,.2,1) both;
}
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-family: var(--body); font-size: 1rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 14px 34px -12px rgba(235, 99, 9, .55);
}
.btn-primary:hover { background: var(--orange-bright); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.btn-ghost:hover { border-color: var(--orange-bright); color: var(--orange-bright); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); transform: translateY(-2px); }

/* Stat band overlapping hero bottom */
.stat-band {
  position: relative; z-index: 5;
  margin-top: clamp(-3.4rem, -5vw, -2.6rem);
}
.stat-band .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
  overflow: hidden;
}
.stat {
  padding: 1.7rem 1.5rem 1.5rem;
  border-left: 1px solid var(--line);
  animation: rise .7s .5s both;
}
.stat:first-child { border-left: 0; }
.stat b {
  display: block; font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; line-height: 1;
  color: var(--navy);
}
.stat b sup { font-size: .55em; color: var(--orange); }
.stat span {
  display: block; margin-top: .45rem; font-size: .88rem;
  color: var(--ink-soft); letter-spacing: .02em;
}
@media (max-width: 780px) {
  .stat-band .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
section { padding-top: var(--section); }
section:last-of-type { padding-bottom: var(--section); }

.section-head { max-width: 720px; }
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--orange);
}
.kicker::before { content: ''; width: 34px; height: 1px; background: var(--gold-hair); }
h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  font-weight: 600; line-height: 1.08; letter-spacing: -0.01em;
  color: var(--navy-950); margin-top: 1rem;
  font-variation-settings: 'opsz' 100;
}
.section-head p { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Leistungen ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem; margin-top: 3.2rem;
}
.service {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem 1.9rem;
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s;
  overflow: hidden;
}
.service::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.service:hover::after { transform: scaleX(1); }
.service-num {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: .95rem; color: var(--orange); letter-spacing: .05em;
}
.service h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 1.42rem; line-height: 1.2; color: var(--navy-950);
  margin: .7rem 0 .8rem;
}
.service p { font-size: .97rem; color: var(--ink-soft); }
.service p + p { margin-top: .6rem; }
.service p a { color: var(--navy); font-weight: 600; text-decoration-color: var(--gold-hair); }
@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Zielgruppen ---------- */
.audience {
  margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .7rem;
}
.audience li {
  list-style: none;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--white);
  padding: .6rem 1.25rem; font-size: .95rem; font-weight: 500;
  color: var(--navy); display: inline-flex; align-items: center; gap: .5rem;
  transition: border-color .2s, background .2s;
}
.audience li:hover { border-color: var(--orange); background: #FFF7F0; }
.audience li::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
}

/* ---------- Ablauf ---------- */
.process {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(235,99,9,.06), transparent 60%),
    var(--paper-deep);
  border-block: 1px solid var(--line);
  padding-bottom: var(--section);
  margin-top: var(--section);
}
.process { padding-top: var(--section); }
.steps {
  counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 3.2rem;
}
.step { position: relative; padding-top: 1.4rem; }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: 2.5rem; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.2px var(--orange);
  display: block; margin-bottom: 1rem;
}
.step::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--gold-hair), transparent);
}
.step h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 1.25rem; color: var(--navy-950); margin-bottom: .55rem;
}
.step p { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem; margin-top: 3.2rem; align-items: start;
}
.person {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.person:nth-child(2) { transform: translateY(2.2rem); }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.person:nth-child(2):hover { transform: translateY(calc(2.2rem - 6px)); }
.person figure { position: relative; overflow: hidden; aspect-ratio: 3 / 2.15; }
.person figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.person:hover figure img { transform: scale(1.045); }
.person-body { padding: 1.5rem 1.6rem 1.7rem; }
.person-body h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 1.4rem; color: var(--navy-950); line-height: 1.15;
}
.person-role {
  display: inline-block; margin-top: .4rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange);
}
.person-body p { margin-top: .75rem; font-size: .94rem; color: var(--ink-soft); }
.person-contact {
  margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .35rem; font-size: .92rem;
}
.person-contact a {
  color: var(--navy); text-decoration: none; font-weight: 500;
  display: inline-flex; align-items: center; gap: .55rem;
}
.person-contact a:hover { color: var(--orange); }
.person-contact svg { width: 15px; height: 15px; color: var(--orange); flex: none; }
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; max-width: 480px; }
  .person:nth-child(2) { transform: none; }
  .person:nth-child(2):hover { transform: translateY(-6px); }
}

/* ---------- Qualität (dark quote) ---------- */
.quality {
  margin-top: var(--section);
  background:
    radial-gradient(900px 500px at 10% 120%, rgba(235,99,9,.16), transparent 55%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900));
  color: #fff;
  padding: var(--section) 0;
  position: relative; overflow: hidden;
}
.quality::before {
  content: '„';
  position: absolute; left: 2rem; top: -2rem;
  font-family: var(--display); font-size: 22rem; line-height: 1;
  color: rgba(255,255,255,.05); pointer-events: none;
}
.quality blockquote {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.25;
  max-width: 24ch; letter-spacing: -.01em;
  font-variation-settings: 'opsz' 100;
}
.quality blockquote em { color: var(--orange-bright); font-style: italic; }
.quality-cols {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem;
  align-items: start;
}
.quality-side { border-left: 1px solid var(--line-light); padding-left: 2rem; }
.quality-side p { color: rgba(255,255,255,.75); font-size: .98rem; }
.quality-side p + p { margin-top: 1rem; }
.quality-side strong { color: #fff; }
@media (max-width: 820px) {
  .quality-cols { grid-template-columns: 1fr; }
  .quality-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-light); padding-top: 1.6rem; }
}

/* ---------- Digital ---------- */
.digital-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; margin-top: 3rem;
}
.digital-card {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.digital-card::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(235,99,9,.35), transparent 70%);
}
.digital-card h3 {
  font-family: var(--display); font-weight: 600; font-size: 1.6rem;
  line-height: 1.2; margin-bottom: .9rem;
}
.digital-card p { color: rgba(255,255,255,.8); font-size: .97rem; }
.digital-card p + p { margin-top: .7rem; }
.digital-list { margin-top: .5rem; }
.digital-list li {
  list-style: none; display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
}
.digital-list li:last-child { border-bottom: 0; }
.digital-list svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: .15rem; }
.digital-list b { display: block; color: var(--navy-950); font-size: 1.02rem; }
.digital-list span { font-size: .93rem; color: var(--ink-soft); }
@media (max-width: 820px) { .digital-cols { grid-template-columns: 1fr; } }

/* ---------- Karriere-Teaser ---------- */
.career {
  margin-top: var(--section);
  border-block: 1px solid var(--line);
  background: var(--white);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.career .wrap {
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem;
  align-items: center; justify-content: space-between;
}
.career h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: .4rem; }
.career p { color: var(--ink-soft); max-width: 52ch; margin-top: .6rem; }

/* ---------- Kontakt ---------- */
.contact-cols {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); margin-top: 3rem; align-items: start;
}
.contact-block {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem);
}
.contact-rows { display: flex; flex-direction: column; }
.contact-row {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.contact-row:first-child { padding-top: 0; }
.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-row svg { width: 21px; height: 21px; color: var(--orange); flex: none; margin-top: .2rem; }
.contact-row b { display: block; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .25rem; }
.contact-row a { color: var(--navy); font-weight: 600; text-decoration: none; font-size: 1.08rem; }
.contact-row a:hover { color: var(--orange); }
.contact-row address { font-style: normal; font-weight: 500; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: .4rem; }
.hours-table td { padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--navy); }
.hours-note { margin-top: .9rem; font-size: .88rem; color: var(--ink-soft); }
.contact-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
@media (max-width: 720px) { .contact-cols { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950); color: rgba(255,255,255,.72);
  padding: 3.5rem 0 2.5rem; margin-top: var(--section);
}
.footer-cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem;
}
.site-footer .brand-name { color: #fff; }
.footer-about { margin-top: 1rem; font-size: .92rem; max-width: 38ch; }
.site-footer h4 {
  font-size: .78rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--orange-soft); margin-bottom: 1rem; font-weight: 600;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .95rem; transition: color .2s; }
.site-footer a:hover { color: var(--orange-bright); }
.footer-bottom {
  margin-top: 2.8rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,.45);
}
@media (max-width: 780px) { .footer-cols { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Floating call button ---------- */
.call-fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .98rem;
  padding: .9rem 1.4rem; border-radius: 999px;
  box-shadow: 0 16px 40px -10px rgba(235, 99, 9, .6);
  transition: transform .2s, background .2s;
}
.call-fab:hover { transform: translateY(-3px) scale(1.02); background: var(--orange-bright); }
.call-fab svg { width: 18px; height: 18px; }
@media (min-width: 861px) { .call-fab span { display: inline; } }
@media (max-width: 480px) {
  .call-fab { padding: 1rem; border-radius: 50%; }
  .call-fab span { display: none; }
}

/* ---------- Subpages (Impressum etc.) ---------- */
.subpage-hero {
  background: linear-gradient(165deg, var(--navy-950), var(--navy-900));
  color: #fff; padding: calc(74px + 4rem) 0 3.5rem;
}
.subpage-hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.01em;
}
.prose { max-width: 760px; padding: 3.5rem 0 1rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 2.4rem; }
.prose h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--navy-950); margin-top: 1.8rem; }
.prose p, .prose ul { margin-top: .9rem; color: var(--ink-soft); font-size: 1rem; }
.prose ul { padding-left: 1.3rem; }
.prose a { color: var(--navy); font-weight: 600; text-decoration-color: var(--gold-hair); }
.prose address { font-style: normal; }

/* ---------- Motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
