/* ==========================================================================
   Druckerei Heiming — shared stylesheet
   Fonts are self-hosted (no request to Google = no DSGVO issue).
   ========================================================================== */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ----------
   The pure process colours are for surfaces and decoration.
   The "-ink" / "-strong" variants pass WCAG AA (≥ 4.5:1) where text is involved. */
:root {
  --c: #00b7e8;        /* cyan surface */
  --c-ink: #0077a3;    /* cyan text on white (5.0:1) */
  --m: #f0148c;        /* magenta decoration */
  --m-strong: #e0117f; /* magenta surface behind white text (4.6:1) */
  --m-ink: #d6097c;    /* magenta text on white (5.0:1) */
  --y: #ffd400;        /* yellow surface */
  --y-ink: #806a00;    /* yellow text on white (5.3:1) */
  --k: #141414;
  --paper: #fff;
  --ink-2: #3c3c3c;
  --ink-3: #6b6b6b;
  --rule: #e4e4e4;
  --dark-muted: #9a9a9a;
  --focus: var(--c-ink);
  --accent: var(--k);
  --accent-ink: var(--k);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--k);
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--m-ink); }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .ph-dark :focus-visible { --focus: var(--y); }

.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--k); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- Layout helpers ---------- */
.shell { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.sec { padding: 110px 0; }
.sec-tight-top { padding-top: 0; }
.fx { display: flex; } .jb { justify-content: space-between; } .ac { align-items: center; }
.wrap { flex-wrap: wrap; } .gap24 { gap: 24px; }

/* ---------- Type ---------- */
.kick { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.h2 { font-size: 52px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-top: 14px; }
.sub .h2, .h2-sm { font-size: 44px; line-height: 1.08; }
.cy { color: var(--c-ink); } .mg { color: var(--m-ink); } .yl { color: var(--y-ink); }
.dark .cy { color: var(--c); } .dark .mg { color: var(--m); } .dark .yl { color: var(--y); }

/* ---------- Buttons ---------- */
.cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px;
  font-weight: 700; font-size: 16px; line-height: 1.2; border-radius: 999px; border: 0;
  background: var(--k); color: #fff; cursor: pointer; font-family: inherit;
  transition: background-color .2s, color .2s;
}
.cta:hover { color: #fff; background: var(--m-strong); }
.cta-w { background: #fff; color: var(--k); }
.cta-w:hover { background: var(--y); color: var(--k); }
.cta[disabled] { opacity: .6; cursor: progress; }
.star { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--k);
}
.nvi { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 48px; max-width: 1280px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.sqs { display: flex; gap: 6px; }
.sq { width: 13px; height: 13px; flex: none; }
.nvl { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; margin: 0; padding: 0; list-style: none; }
.nvl a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
.nvtel { font-weight: 700; border: 2px solid var(--k); border-radius: 999px; padding: 8px 18px; white-space: nowrap; }
.nvtel:hover { background: var(--k); color: #fff; }
.nvbtn, .nvtel-m { display: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: 90px 0 0; }
.hw { font-weight: 700; font-size: min(10vw, 128px); line-height: .95; letter-spacing: -.04em; text-transform: uppercase; margin-top: 30px; }
.hw-line { display: block; position: relative; }
.ghost { visibility: hidden; }
.ly { position: absolute; top: 0; left: 0; mix-blend-mode: multiply; }
.lc { color: var(--c); } .lm { color: var(--m); } .lyw { color: var(--y); } .lk { color: var(--k); }
.h-sub { margin-top: 34px; font-size: 19px; line-height: 1.55; max-width: 600px; }
.h-row { display: flex; align-items: center; gap: 26px; margin-top: 36px; padding-bottom: 80px; }
.tickw { border-top: 1px solid var(--k); border-bottom: 1px solid var(--k); padding: 14px 0; overflow: hidden; background: #fff; }
.tick { display: flex; gap: 48px; white-space: nowrap; font-size: 15px; font-weight: 500; width: max-content; }

/* ---------- Home: product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.pc {
  border-radius: 18px; padding: 34px 30px; min-height: 420px;
  display: flex; flex-direction: column; transition: transform .25s;
}
.pc:hover, .pc:focus-visible { transform: translateY(-8px); }
.pc-c { background: var(--c); color: #06212b; }
.pc-m { background: var(--m-strong); color: #fff; }
.pc-y { background: var(--y); color: var(--k); }
.pc-k { background: var(--k); color: #fff; }
.pc:hover { color: inherit; }
.pc-c:hover { color: #06212b; } .pc-m:hover, .pc-k:hover { color: #fff; } .pc-y:hover { color: var(--k); }
.pnum { font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.ph3 { font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin-top: 14px; }
.plist { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; line-height: 1.4; font-weight: 500; }
.parr { margin-top: auto; font-weight: 700; font-size: 15px; padding-top: 26px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin: 56px 0 0; padding: 0; list-style: none; }
.st { display: flex; flex-direction: column; gap: 14px; }
.stn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.st-c { background: var(--c); color: #06212b; }
.st-m { background: var(--m-strong); color: #fff; }
.st-y { background: var(--y); color: var(--k); }
.st-k { background: var(--k); color: #fff; }
.sth { font-size: 20px; font-weight: 700; }
.stp { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Dark band / thesis teaser ---------- */
.dark { background: var(--k); color: #fff; }
.dark a:hover { color: var(--y); }
.dark .cta-w:hover { color: var(--k); }
.th-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
.th-list { margin: 30px 0 0; padding: 0; list-style: none; }
.th-li { display: flex; gap: 16px; align-items: baseline; font-size: 18px; line-height: 1.5; padding: 16px 0; border-bottom: 1px solid #333; }
.th-b { font-weight: 700; flex: none; }
.th-q { font-size: 24px; line-height: 1.5; border-left: 4px solid var(--y); padding-left: 26px; margin: 0; }
.th-q + .th-q { border-color: var(--c); margin-top: 44px; }
.th-q p { margin: 0; }
.th-qs, .rs-dark { display: block; font-size: 14px; color: var(--dark-muted); margin-top: 16px; }
.bandp { font-size: 18px; line-height: 1.6; max-width: 620px; margin: 22px 0 34px; color: #ddd; }

/* ---------- Reviews ---------- */
.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.rc { position: relative; overflow: hidden; border: 1px solid var(--k); border-radius: 18px; padding: 36px 30px 30px; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.rc::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--bar, var(--k)); }
.rc-c { --bar: var(--c); } .rc-m { --bar: var(--m); } .rc-y { --bar: var(--y); }
.rq { font-size: 16.5px; line-height: 1.6; margin: 0; }
.rq p { margin: 0; }
.rs { font-size: 13.5px; font-weight: 700; margin-top: auto; }
.rdim { color: var(--ink-3); font-weight: 500; }
.rmeta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 14px; font-weight: 500; text-align: right; }
.rmeta a { text-decoration: underline; text-underline-offset: 3px; }
.rstand { color: var(--ink-3); font-size: 13px; }

/* ---------- Home footer ---------- */
.ft { padding: 110px 0 60px; }
.ft-h { font-size: min(6vw, 72px); font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-top: 14px; }
.ft-tel { display: inline-block; margin-top: 34px; font-size: min(4.4vw, 50px); font-weight: 700; letter-spacing: -.02em; color: var(--y); }
.ft-tel:hover { color: #fff; }
.ft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 70px; padding-top: 44px; border-top: 1px solid #333; font-size: 15.5px; line-height: 1.7; }
.ft-k, .ftk { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dark-muted); display: block; margin-bottom: 10px; }
.ft-k + .ft-k, .ft-k.mt { margin-top: 22px; }
.ft-grid a, .ftg a { text-decoration: underline; text-decoration-color: #555; text-underline-offset: 3px; }
.ft-bot, .ftb { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; margin-top: 70px; padding-top: 24px; border-top: 1px solid #333; font-size: 13px; color: var(--dark-muted); }
.ft-bl, .ftbl { display: flex; gap: 24px; }
address { font-style: normal; }

/* ---------- Sub pages ---------- */
.ftr { padding: 70px 0 50px; }
.ftg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; font-size: 15.5px; line-height: 1.7; }
.ftr .ftb { margin-top: 60px; }
.ftr-min .ftb { margin-top: 0; padding-top: 0; border-top: 0; }

.ph { padding: 80px 0 76px; background: var(--ph-bg, var(--k)); color: var(--ph-fg, #fff); }
.ph .lead { color: var(--ph-lead, inherit); }
.pt {
  position: relative; display: block; font-weight: 700; font-size: min(9vw, 108px); line-height: .95;
  letter-spacing: -.04em; text-transform: uppercase; margin-top: 18px; max-width: 100%;
}
.pt-art { position: relative; display: inline-block; }
.pt .g { visibility: hidden; }
.pt .u, .pt .f { position: absolute; top: 0; left: 0; }
.pt .u { color: var(--ph-u, var(--m)); }
.pt .f { color: var(--ph-fg, #fff); }
.pt-long { font-size: min(8vw, 96px); line-height: .98; }
.lead { font-size: 19px; line-height: 1.6; max-width: 660px; margin-top: 28px; }

.t-c { --accent: var(--c); --accent-ink: var(--c-ink); --ph-bg: var(--c); --ph-fg: #06212b; --ph-u: var(--m); }
.t-m { --accent: var(--m); --accent-ink: var(--m-ink); --ph-bg: var(--m-strong); --ph-fg: #fff; --ph-u: var(--y); }
.t-y { --accent: var(--y-ink); --accent-ink: var(--y-ink); --ph-bg: var(--y); --ph-fg: var(--k); --ph-u: var(--m); }
.t-k { --accent: var(--k); --accent-ink: var(--k); --ph-bg: var(--k); --ph-fg: #fff; --ph-u: var(--y); --ph-lead: #ddd; }
.t-kc { --accent: var(--k); --accent-ink: var(--k); --ph-bg: var(--k); --ph-fg: #fff; --ph-u: var(--c); --ph-lead: #ddd; }
.ph-dark .kick-accent { color: var(--ph-u); }
.ph-dark .yl { color: var(--y); } .ph-dark .cy { color: var(--c); } .ph-dark .mg { color: var(--m); }

.two { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.two-r { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.lis { margin: 26px 0 0; padding: 0; list-style: none; }
.li { display: flex; gap: 18px; align-items: baseline; font-size: 26px; font-weight: 700; letter-spacing: -.01em; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.li-sm .li { font-size: 24px; padding: 18px 0; }
.ln { font-size: 13px; font-weight: 700; color: var(--accent-ink); letter-spacing: .1em; flex: none; width: 36px; }
.lsub { font-size: 15px; font-weight: 500; color: var(--ink-3); display: block; margin-top: 4px; }

/* Photos — placeholders from Unsplash until the client supplies its own */
.pic { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.16); margin: 0; background: #eee; }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic figcaption {
  position: absolute; left: 10px; top: 10px; max-width: calc(100% - 20px);
  background: rgba(0,0,0,.6); color: #fff; font-size: 11px; line-height: 1.3;
  padding: 4px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pic figcaption a { text-decoration: underline; }
.pic figcaption a:hover { color: var(--y); }
.p1 { height: 440px; }
.p2 { height: 280px; width: 68%; margin: -70px 32px 0 auto; transform: rotate(2deg); z-index: 2; }
.p2-left { margin: -64px auto 0 32px; transform: rotate(-2deg); }

/* Thesis */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.fc { border: 1px solid var(--k); border-radius: 18px; padding: 28px 26px; }
.fn { font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.fh { font-size: 22px; font-weight: 700; margin-top: 10px; }
.fp { font-size: 15.5px; line-height: 1.55; margin-top: 10px; color: var(--ink-2); }
.qgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-top: 48px; }
.qgrid .th-q { font-size: 22px; line-height: 1.55; margin: 0; }
.qgrid .th-q:nth-child(2) { border-color: var(--c); }
.qgrid .th-q:nth-child(3) { border-color: var(--m); }
.qgrid .th-q:nth-child(4) { border-color: #fff; }

/* ---------- Contact ---------- */
.fld { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.flb { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.flb .opt { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.in {
  border: 1px solid var(--k); border-radius: 10px; padding: 14px 16px; font-size: 16px; font-family: inherit;
  background: #fff; color: var(--k); width: 100%;
}
.in:focus { outline: 3px solid var(--c); outline-offset: -1px; }
.in:user-invalid { border-color: #b00020; }
.ta { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); margin-bottom: 26px; }
.chk input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--m-strong); }
.chk a { text-decoration: underline; }
.fstatus { margin-top: 18px; font-size: 15px; line-height: 1.5; font-weight: 500; }
.fstatus:empty { display: none; }
.fstatus.ok { padding: 14px 16px; border-radius: 10px; background: #e6f6ec; color: #0b5a2a; }
.fstatus.err { padding: 14px 16px; border-radius: 10px; background: #fde8ec; color: #8a0020; }
.fstatus a { text-decoration: underline; }

.ib { display: flex; gap: 16px; align-items: baseline; font-size: 17px; line-height: 1.6; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.ik { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); flex: none; width: 110px; }
.ivb { font-weight: 700; } .iv { font-weight: 500; }
.ib a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #bbb; }
.map { margin-top: 36px; border: 1px solid var(--k); border-radius: 18px; padding: 30px; background: repeating-linear-gradient(45deg, #f4f2ec 0 10px, #fff 10px 20px); }
.map.is-loaded { padding: 0; overflow: hidden; background: #eee; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
.mp { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0 0 18px; }
.mp a { text-decoration: underline; }
.mrow { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.mbtn { display: inline-flex; padding: 12px 22px; font-weight: 700; font-size: 14px; border: 2px solid var(--k); border-radius: 999px; background: #fff; color: var(--k); cursor: pointer; font-family: inherit; }
.mbtn:hover { background: var(--k); color: #fff; }
.mlink { font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Legal pages ---------- */
.legal > * { max-width: 760px; }
.legal h2 { font-size: 26px; font-weight: 700; letter-spacing: -.01em; margin: 52px 0 14px; }
.legal h3 { font-size: 19px; font-weight: 700; margin: 30px 0 10px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; margin: 12px 0; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--k); }
.legal .stand { margin-top: 52px; font-size: 14px; color: var(--ink-3); }
/* Highlighted placeholders — must be replaced before go-live (search for "TODO") */
.todo { background: #fff3a0; outline: 2px dashed #c7a600; padding: 0 4px; border-radius: 3px; color: var(--k); }

/* ==========================================================================
   Motion — only when the visitor hasn't asked for reduced motion.
   Without these rules every element simply sits in its final state.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .hero .lc  { animation: ec 1s .3s cubic-bezier(.2,.8,.2,1) both; }
  .hero .lm  { animation: em 1s .8s cubic-bezier(.2,.8,.2,1) both; }
  .hero .lyw { animation: ey 1s 1.3s cubic-bezier(.2,.8,.2,1) both; }
  .hero .lk  { animation: ek .8s 2s both; }
  .h-fade { animation: hf .8s 2.4s both; }
  .tick { animation: mq 24s linear infinite; }
  .tickw:hover .tick { animation-play-state: paused; }
  .pt .u { animation: su .9s .2s cubic-bezier(.2,.8,.2,1) both; }
  .pt .f { animation: sf .5s .9s both; }
  @supports (animation-timeline: view()) {
    .rev { animation: rvl both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pc, .pc:hover { transition: none; transform: none; }
}
@keyframes ec { from { transform: translate(-46px,-26px); } to { transform: none; } }
@keyframes em { from { transform: translate(42px,18px); } to { transform: none; } }
@keyframes ey { from { transform: translate(-18px,36px); } to { transform: none; } }
@keyframes ek { from { opacity: 0; } to { opacity: 1; } }
@keyframes hf { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes su { from { transform: translate(-14px,10px); } to { transform: none; } }
@keyframes sf { from { opacity: 0; } to { opacity: 1; } }
@keyframes rvl { from { opacity: .01; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1100px) {
  .pgrid, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc { min-height: 340px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nvl { gap: 20px; }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 820px) {
  .shell { padding: 0 22px; }
  .nvi { padding: 12px 20px; gap: 10px; flex-wrap: wrap; }
  .logo { font-size: 15px; }
  .nvl { width: 100%; gap: 8px 14px; font-size: 13px; flex-wrap: wrap; }
  .nvtel { padding: 6px 12px; }

  /* With JS: compact header + menu button */
  .js .nvi { flex-wrap: nowrap; }
  .js .nvbtn {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
    padding: 8px 14px; border: 2px solid var(--k); border-radius: 999px; background: #fff;
    font-weight: 700; font-size: 14px; color: var(--k); cursor: pointer;
  }
  .nvbtn-ic { position: relative; width: 16px; height: 2px; background: currentColor; }
  .nvbtn-ic::before, .nvbtn-ic::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; transition: transform .2s; }
  .nvbtn-ic::before { top: -5px; } .nvbtn-ic::after { top: 5px; }
  .nvbtn[aria-expanded="true"] .nvbtn-ic { background: transparent; }
  .nvbtn[aria-expanded="true"] .nvbtn-ic::before { transform: translateY(5px) rotate(45deg); }
  .nvbtn[aria-expanded="true"] .nvbtn-ic::after { transform: translateY(-5px) rotate(-45deg); }
  .js .nvl {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    background: #fff; border-bottom: 1px solid var(--k); font-size: 18px; font-weight: 700;
  }
  .js .nav.is-open .nvl { display: flex; }
  .js .nvl li a:not(.nvtel) { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .js .nvl a[aria-current="page"] { box-shadow: none; color: var(--accent-ink); }
  .js .nvl .nvtel { display: inline-block; margin-top: 16px; padding: 12px 20px; }
  .nvtel-m { display: none; }
  .js .nvtel-m { display: inline-flex; font-size: 13px; }

  .sec { padding: 56px 0; }
  .sec-tight-top { padding-top: 0; }
  .h2, .h2-sm { font-size: 32px; }
  .ph { padding: 52px 0 46px; overflow: hidden; }
  .pt, .pt-long { font-size: min(10vw, 44px); letter-spacing: -.03em; }
  .hw { font-size: min(13vw, 60px); }
  .h-row { flex-wrap: wrap; gap: 16px; padding-bottom: 56px; }
  .h-sub, .lead { font-size: 17px; }
  .two, .two-r { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pgrid, .facts, .steps, .rgrid, .qgrid, .th-grid { grid-template-columns: minmax(0, 1fr); }
  .pgrid, .facts { gap: 16px; }
  .steps { gap: 24px; }
  .rgrid { gap: 20px; }
  .qgrid { gap: 32px; }
  .th-grid { gap: 32px; }
  .pc { min-height: 0; }
  .rmeta { align-items: flex-start; text-align: left; margin-top: 12px; }
  .ftg, .ft-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ft-bot, .ftb { flex-direction: column; align-items: flex-start; }
  .ft-h { font-size: 44px; }
  .ft-tel { font-size: 32px; }
  .p1 { height: 300px; }
  .p2, .p2-left { width: 100%; height: auto; aspect-ratio: 16 / 10; margin: 18px 0 0; transform: none; }
  .li, .li-sm .li { font-size: 21px; }
  .rq, .th-q, .qgrid .th-q { font-size: 20px; }
  .th-li { flex-direction: column; gap: 2px; }
  .ib { flex-direction: column; gap: 2px; }
  .map iframe { height: 300px; }
  .legal h2 { font-size: 22px; margin-top: 40px; }
}

@media (max-width: 820px) {
  .js .logo { gap: 8px; font-size: 14px; white-space: nowrap; }
  .js .logo .sqs { gap: 4px; }
  .js .logo .sq { width: 10px; height: 10px; }
  .js .nvbtn { padding: 9px 11px; }
  .js .nvbtn-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .js .nvbtn-ic { margin: 7px 0; }
}
@media (max-width: 340px) {
  .js .nvtel-m { display: none; }
}

/* ---------- Doxa Digital credit badge ----------
   Badge markup sits in each footer; it inherits the footer's colour and font. */
.ftbl { flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.ftbl-legal { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.doxa-credit:hover .doxa-credit-name,.doxa-credit:focus-visible .doxa-credit-name{text-decoration:underline;text-underline-offset:.2em}.doxa-credit:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:2px}
