/* ==========================================================================
   Rechtsanwalt Jörg Berger, Insolvenzrecht, Nürnberg
   Haltung: modern und sachlich. Serifenlose Schrift, Grafit und Bordeaux,
   Vollbild-Auftakt, Karten, dunkler Fristenblock, Zeitstrahl, Akkordeon.
   Schrift lokal (DSGVO): Archivo.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f3f3f1;
  --dark: #1f2023;
  --dark-2: #2a2b2f;
  --ink: #1b1c1f;
  --ink-2: #4a4d54;
  --ink-3: #6a6d75;
  --line: #dededb;
  --red: #7a1f2e;             /* Bordeaux */
  --red-deep: #641826;
  --on-dark: #f5f5f3;
  --on-dark-2: rgba(245, 245, 243, 0.72);
  --on-dark-line: rgba(245, 245, 243, 0.18);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --inline: max(var(--pad), calc((100% - var(--max)) / 2));
  --sec-y: clamp(4rem, 9vw, 7.5rem);
  --r: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 50; background: var(--red); color: #fff; padding: 0.8rem 1.1rem; font-weight: 600; text-decoration: none; border-radius: var(--r); }
.skip:focus { top: 1rem; }

/* ---------- Kopf ---------- */
.head { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); padding: 0 var(--inline); min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; transition: box-shadow 240ms ease; }
.head.is-scrolled { box-shadow: 0 12px 30px -24px rgba(0, 0, 0, 0.55); }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; flex: none; }
.brand img { width: 2.75rem; height: 2.75rem; }
.brand__text { display: grid; line-height: 1.15; }
.brand__text b { font-weight: 650; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand__text span { font-size: 0.75rem; font-weight: 500; font-stretch: 110%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-top: 0.15rem; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav a { font-weight: 500; font-size: 0.9688rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; padding: 0.5rem 0; position: relative; transition: color 160ms ease; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav .nav__cta { background: var(--red); color: #fff; padding: 0.7rem 1.2rem; border-radius: var(--r); font-weight: 600; transition: background-color 180ms ease; }
.nav .nav__cta:hover { background: var(--red-deep); color: #fff; }
.menu { display: none; }

/* ---------- Auftakt ---------- */
.hero { position: relative; background: var(--dark); color: var(--on-dark); min-height: min(46rem, calc(100dvh - 4.75rem)); display: grid; align-items: center; padding: clamp(4rem, 9vw, 7rem) var(--inline) clamp(6.5rem, 11vw, 9rem); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 25, 28, 0.94) 0%, rgba(24, 25, 28, 0.84) 38%, rgba(24, 25, 28, 0.28) 68%, rgba(24, 25, 28, 0) 100%); }
.hero__in { position: relative; z-index: 1; max-width: 39rem; display: grid; gap: clamp(1.25rem, 2.4vw, 1.9rem); justify-items: start; }
.kicker { font-size: 0.8125rem; font-weight: 600; font-stretch: 110%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.hero .kicker, .sec--dark .kicker, .contact .kicker { color: #e0a4ad; }
.hero h1 { font-weight: 620; font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.03; letter-spacing: -0.035em; text-wrap: balance; }
.hero__lede { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--on-dark-2); max-width: 34em; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.4rem; }
.hero__in > * { animation: rise 900ms var(--ease) both; }
.hero__in > :nth-child(2) { animation-delay: 90ms; }
.hero__in > :nth-child(3) { animation-delay: 180ms; }
.hero__in > :nth-child(4) { animation-delay: 270ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.75rem 1.5rem; background: var(--red); color: #fff; border: 1px solid var(--red); border-radius: var(--r); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms ease; }
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; border-color: rgba(245, 245, 243, 0.5); color: var(--on-dark); }
.btn--ghost:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--dark); }
.btn--light { background: #fff; border-color: #fff; color: var(--red); }
.btn--light:hover { background: var(--dark); border-color: var(--dark); color: #fff; }

/* Faktenleiste, überlappt den Auftakt */
.facts { position: relative; z-index: 2; margin: clamp(-3.75rem, -5vw, -2.75rem) var(--inline) 0; background: var(--bg); border-radius: var(--r); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts > div { padding: clamp(1.25rem, 2.4vw, 1.9rem) clamp(1.25rem, 2.6vw, 2.25rem); border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; }
.facts dt { font-size: 0.75rem; font-weight: 600; font-stretch: 110%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.3rem; }
.facts dd { font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.25rem); letter-spacing: -0.012em; line-height: 1.3; }
.facts a { text-decoration: none; color: var(--red); }
.facts a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Abschnitte ---------- */
.sec { padding: var(--sec-y) var(--inline); }
.sec--soft { background: var(--soft); }
.sec--dark { background: var(--dark); color: var(--on-dark); }
.sec__head { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 0.9fr); gap: 1rem clamp(1.25rem, 3vw, 2.75rem); align-items: end; margin-bottom: clamp(2.25rem, 5vw, 4rem); }
.num { font-weight: 300; font-stretch: 88%; font-size: clamp(3.25rem, 7vw, 6rem); line-height: 0.82; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.sec--dark .num, .contact .num { -webkit-text-stroke-color: #c8707d; }
h2 { font-weight: 620; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; margin-top: 0.5rem; text-wrap: balance; }
.sec__intro { color: var(--ink-2); max-width: 30em; text-wrap: pretty; }
.sec--dark .sec__intro { color: var(--on-dark-2); }

/* ---------- 01 Leistungen ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms ease; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 900ms var(--ease); }
.card__body { padding: clamp(1.25rem, 2vw, 1.75rem); display: grid; gap: 0.7rem; align-content: start; }
.card h3 { font-weight: 620; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.02em; }
.card p { color: var(--ink-2); font-size: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.35rem; }
.tags span { font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); background: var(--soft); border-radius: 3px; padding: 0.2rem 0.55rem; }
.card--cta { background: var(--red); border-color: var(--red); color: #fff; grid-template-rows: 1fr; }
.card--cta .card__body { align-content: center; gap: 1rem; padding: clamp(1.5rem, 2.6vw, 2.5rem); }
.card--cta h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.card--cta p { color: rgba(255, 255, 255, 0.82); }
.card--cta .btn { justify-self: start; margin-top: 0.4rem; }
@media (hover: hover) and (pointer: fine) {
  .card:not(.card--cta):hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(0, 0, 0, 0.5); border-color: #c9c9c5; }
  .card:hover img { transform: scale(1.04); }
}

/* ---------- 02 Fristen ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--on-dark-line); border-bottom: 1px solid var(--on-dark-line); }
.stats li { padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem); border-left: 1px solid var(--on-dark-line); display: grid; gap: 0.5rem; align-content: start; }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats .stats__num { color: var(--on-dark); font-weight: 620; font-size: clamp(3.5rem, 7.5vw, 6.25rem); line-height: 0.9; letter-spacing: -0.05em; }
.stats .stats__num small { font-size: 0.24em; font-weight: 500; letter-spacing: 0; color: var(--on-dark-2); margin-left: 0.1em; }
.stats h3 { font-weight: 620; font-size: 1.25rem; letter-spacing: -0.02em; margin-top: 0.6rem; }
.stats p { color: var(--on-dark-2); font-size: 1rem; }
.stats .stats__norm { font-size: 0.875rem; font-weight: 500; color: #e0a4ad; margin-top: 0.2rem; }

.calc { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); background: var(--dark-2); border-radius: var(--r); overflow: hidden; }
.calc__img { width: 100%; height: 100%; object-fit: cover; min-height: 16rem; }
.calc__form { padding: clamp(1.5rem, 3.4vw, 3rem); display: grid; gap: 1.2rem; align-content: start; }
.calc h3 { font-weight: 620; font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.02em; }
.calc fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.calc legend, .field { padding: 0; font-size: 0.9063rem; font-weight: 500; color: var(--on-dark-2); }
.field { display: grid; gap: 0.55rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.4rem 0.75rem; border: 1px solid var(--on-dark-line); border-radius: var(--r); font-weight: 500; font-size: 0.9688rem; text-align: center; line-height: 1.2; color: var(--on-dark); transition: background-color 160ms ease, border-color 160ms ease; }
.seg input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid #e0a4ad; outline-offset: 3px; }
.calc input[type="date"] { width: 100%; min-height: 3rem; padding: 0.4rem 0.85rem; background: var(--on-dark); color: var(--ink); border: 1px solid var(--on-dark); border-radius: var(--r); font-weight: 500; font-size: 1.0625rem; font-variant-numeric: tabular-nums; accent-color: var(--red); }
.calc__out { border-top: 1px solid var(--on-dark-line); padding-top: 1.1rem; min-height: 8.5rem; color: var(--on-dark-2); font-size: 1rem; }
.calc__out strong { display: block; color: var(--on-dark); font-weight: 620; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; margin: 0.25rem 0 0.6rem; text-wrap: balance; animation: rise 500ms var(--ease) both; }
.calc__out a { color: var(--on-dark); font-weight: 600; white-space: nowrap; text-underline-offset: 0.2em; }
.fine { margin-top: 1.5rem; font-size: 0.875rem; line-height: 1.55; color: var(--on-dark-2); max-width: 54em; }
.sec--dark :focus-visible, .contact :focus-visible, .hero :focus-visible { outline-color: #e0a4ad; }

/* ---------- 03 Ablauf ---------- */
.sec__head:not(:has(.sec__intro)) { grid-template-columns: auto minmax(0, 1fr); }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.timeline { counter-reset: s; display: grid; }
.timeline li { counter-increment: s; position: relative; padding: 0 0 clamp(1.75rem, 3vw, 2.5rem) 4.25rem; }
.timeline li::before { content: counter(s); position: absolute; left: 0; top: -0.2rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px solid var(--red); color: var(--red); background: var(--bg); display: grid; place-items: center; font-weight: 620; font-size: 1.0625rem; z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: calc(1.375rem - 0.75px); top: 2.6rem; bottom: 0; width: 1.5px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-weight: 620; font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.timeline p { color: var(--ink-2); max-width: 30em; }
.flow__img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; position: sticky; top: 6.5rem; }

/* ---------- 04 Kanzlei ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about__portrait img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
figcaption { font-size: 0.875rem; color: var(--ink-3); padding-top: 0.6rem; }
.about__text { display: grid; gap: 1rem; }
.about__lead { font-weight: 550; font-size: clamp(1.3rem, 2.1vw, 1.8rem); line-height: 1.28; letter-spacing: -0.022em; text-wrap: balance; }
.about__text p:not(.about__lead) { color: var(--ink-2); max-width: 34em; }
.about__room { border-radius: var(--r); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-top: 1rem; }
.team__title { font-weight: 620; font-size: 1.3rem; letter-spacing: -0.02em; margin: clamp(3rem, 6vw, 4.5rem) 0 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2.1fr); gap: clamp(1rem, 2vw, 1.75rem); align-items: start; }
.team li { display: grid; gap: 0.1rem; }
.team img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; width: 100%; margin-bottom: 0.7rem; }
.team b { font-weight: 620; letter-spacing: -0.012em; }
.team span { font-size: 0.9063rem; color: var(--ink-3); }
.team .team__wide img { aspect-ratio: auto; height: 100%; }
.team .team__wide { align-self: stretch; }
.team .team__wide img { height: calc(100% - 3.3rem); }

/* ---------- 05 Fragen ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq__head { position: sticky; top: 6.5rem; display: grid; gap: 0.6rem; justify-items: start; }
.faq__head .num { margin-bottom: 0.6rem; }
.faq__head p:last-child { color: var(--ink-2); margin-top: 0.6rem; }
.faq__head a { color: var(--red); font-weight: 600; white-space: nowrap; text-underline-offset: 0.2em; }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; padding: 1.3rem 0; font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.3; letter-spacing: -0.015em; transition: color 160ms ease; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1.5px solid var(--line); background: linear-gradient(var(--ink), var(--ink)) center / 0.8rem 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 0.8rem no-repeat; transition: transform 320ms var(--ease), border-color 200ms ease, background-color 200ms ease; }
summary:hover { color: var(--red); }
summary:hover::after { border-color: var(--red); }
details[open] summary::after { transform: rotate(45deg); border-color: var(--red); }
details p { padding: 0 3.4rem 1.5rem 0; color: var(--ink-2); max-width: 44em; }
details[open] p { animation: rise 420ms var(--ease) both; }

/* ---------- 06 Kontakt ---------- */
.contact { background: var(--dark); color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.contact__text { padding: var(--sec-y) clamp(1.5rem, 5vw, 5rem) var(--sec-y) var(--inline-l, max(var(--pad), calc((100vw - var(--max)) / 2))); display: grid; gap: 0.9rem; justify-items: start; align-content: center; }
.contact__text > p:not(.num):not(.kicker) { color: var(--on-dark-2); max-width: 30em; }
.contact__phone { font-weight: 620; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.04em; text-decoration: none; white-space: nowrap; margin: 0.5rem 0 0.3rem; background: linear-gradient(#c8707d, #c8707d) left bottom / 0 2px no-repeat; transition: background-size 380ms var(--ease); }
.contact__phone:hover { background-size: 100% 2px; }
.contact__list { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 1.5rem clamp(1.5rem, 3vw, 3rem); margin-top: 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--on-dark-line); width: 100%; }
.contact__list dt { font-size: 0.75rem; font-weight: 600; font-stretch: 110%; letter-spacing: 0.14em; text-transform: uppercase; color: #e0a4ad; margin-bottom: 0.35rem; }
.contact__list dd { font-size: 0.9688rem; line-height: 1.5; color: var(--on-dark-2); }
.contact__list a { color: var(--on-dark); text-underline-offset: 0.2em; }
.contact__img { width: 100%; height: 100%; object-fit: cover; min-height: 22rem; }

/* ---------- Fuß ---------- */
.foot { background: var(--soft); padding: clamp(2.25rem, 4vw, 3rem) var(--inline) 1.75rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem 2.5rem; align-items: center; }
.foot p { font-size: 0.9063rem; color: var(--ink-3); max-width: 38em; }
.foot nav { display: flex; gap: 1.5rem; font-weight: 500; font-size: 0.9688rem; }
.foot nav a { text-underline-offset: 0.25em; text-decoration-color: var(--line); }
.foot nav a:hover { text-decoration-color: currentColor; color: var(--red); }
.foot .foot__line { grid-column: 1 / -1; max-width: none; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.8438rem; }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(3rem, 6vw, 5rem) var(--inline) clamp(4rem, 8vw, 6rem); }
.legal__body { max-width: 46em; }
.legal h1 { font-weight: 620; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.035em; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); hyphens: auto; }
.legal h2 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.25; margin: 2.4rem 0 0.6rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 0.8rem; }
.legal ul { list-style: disc; padding-left: 1.2rem; margin-top: 0.5rem; display: grid; gap: 0.25rem; }
.legal a { color: var(--red); text-underline-offset: 0.22em; }
.todo { background: #f0dd8c; color: #1b1c1f; padding: 0.05em 0.35em; }
.legal__back { margin-top: 3rem; font-weight: 600; }

/* ---------- Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Anpassung ---------- */
@media (max-width: 1000px) {
  .menu { display: grid; gap: 6px; place-content: center; width: 2.9rem; height: 2.9rem; background: none; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
  .menu span:not(.sr) { display: block; width: 1.25rem; height: 1.5px; background: var(--ink); transition: transform 300ms var(--ease); }
  .menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -30px rgba(0, 0, 0, 0.5); flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--pad) 1.25rem; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.9rem 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.nav__cta)::after { display: none; }
  .nav .nav__cta { margin-top: 1rem; text-align: center; border-bottom: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec__head { grid-template-columns: auto minmax(0, 1fr); }
  .sec__intro { grid-column: 1 / -1; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team .team__wide { grid-column: 1 / -1; }
  .team .team__wide img { height: auto; aspect-ratio: 16 / 9; margin-bottom: 0; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__text { padding-right: var(--pad); }
  .contact__img { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 760px) {
  .hero { min-height: 0; padding-bottom: 6.5rem; }
  .hero__img { object-position: 82% 30%; }
  .hero::after { background: linear-gradient(180deg, rgba(24, 25, 28, 0.72) 0%, rgba(24, 25, 28, 0.9) 100%); }
  .facts { grid-template-columns: minmax(0, 1fr); margin-top: -3rem; }
  .facts > div { border-left: 0; border-top: 1px solid var(--line); padding-block: 1rem; }
  .facts > div:first-child { border-top: 0; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats li, .stats li:first-child { border-left: 0; padding: 1.5rem 0; border-top: 1px solid var(--on-dark-line); }
  .stats li:first-child { border-top: 0; }
  .calc, .flow, .about, .faq { grid-template-columns: minmax(0, 1fr); }
  .calc__img { min-height: 0; aspect-ratio: 16 / 9; }
  .flow__img, .faq__head { position: static; }
  .flow__img { order: -1; aspect-ratio: 16 / 9; }
  .contact__list { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  details p { padding-right: 0; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .hero__actions { flex-direction: column; align-self: stretch; width: 100%; }
  .team { grid-template-columns: 1fr 1fr; }
  .brand__text b { font-size: 1.15rem; }
  .timeline li { padding-left: 3.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__in > *, .calc__out strong, details[open] p { animation: none; }
  .card, .card img { transition: none; }
}
@media print { .head, .skip, .menu { display: none; } .reveal { opacity: 1; transform: none; } }
