/* B.E.S.L.E.R. Steuerberatungsgesellschaft mbH — site styles
   Art direction: editorial, paper-toned, one navy accent, hairline structure. */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap;
  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; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-ext.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+FEFF,U+FFFD; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic-ext.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  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; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-ext.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --paper: #f4f2ed;
  --paper-2: #ebe8e1;
  --white: #fbfaf7;
  --ink: #16202b;
  --ink-2: #47505b;
  --ink-3: #6b727b;
  --navy: #1a5479;
  --navy-2: #123d59;
  --on-navy: #f1efe9;
  --on-navy-2: #b9c3d0;
  --line: rgba(22, 32, 43, 0.14);
  --line-strong: rgba(22, 32, 43, 0.32);
  --line-on-navy: rgba(241, 239, 233, 0.2);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem);
  --step-4: clamp(2.125rem, 1.5rem + 2.4vw, 3.5rem);
  --step-5: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 82rem;
  --section: clamp(4.5rem, 9vw, 9rem);
  --radius: 3px;
  --header-h: 4.75rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Lock horizontal movement on phones; clip (unlike hidden) keeps position: sticky working */
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--step-0); font-weight: 350; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
/* Long German compounds on very narrow phones */
@media (max-width: 24rem) { p, li, address { hyphens: auto; } }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.12; letter-spacing: -0.012em; margin: 0; text-wrap: balance; font-optical-sizing: auto; hyphens: auto; overflow-wrap: break-word; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: 400; line-height: 1.25; }
em, i { font-style: italic; }
h1 em, h2 em, blockquote em { font-style: italic; font-weight: 300; }
::selection { background: var(--navy); color: var(--on-navy); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.on-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--on-navy); }
.visually-hidden { 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-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: var(--on-navy); padding: .6rem 1rem; text-decoration: none; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section.rule { border-top: 1px solid var(--line); }
.label {
  display: block; font-family: var(--sans); font-size: var(--step--1); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.25rem;
}
.crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.crumbs a:hover { border-color: currentColor; }
.lede { font-family: var(--serif); font-size: var(--step-2); font-weight: 300; line-height: 1.45; color: var(--ink); max-width: 38ch; }
.prose { max-width: 62ch; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 500; }
.muted { color: var(--ink-3); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .65rem; min-height: 2.875rem; padding: .7rem 1.35rem;
  font: 450 .9375rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  border: 1px solid var(--navy); border-radius: var(--radius); background: var(--navy); color: var(--on-navy);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-navy .btn { background: var(--on-navy); color: var(--navy); border-color: var(--on-navy); }
.on-navy .btn:hover { background: #fff; }
.on-navy .btn--ghost { background: transparent; color: var(--on-navy); border-color: var(--line-on-navy); }
.on-navy .btn--ghost:hover { background: var(--on-navy); color: var(--navy); }
.arrow-link {
  display: inline-flex; align-items: center; gap: .55rem; font-weight: 450; text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding-bottom: .2rem; transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.arrow-link:hover { border-color: currentColor; }
@media (hover: hover) { .arrow-link:hover { gap: .8rem; } }
.arrow { width: 1em; height: 1em; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(244, 242, 237, .94);
  border-bottom: 1px solid transparent; transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
@supports (backdrop-filter: blur(1px)) { .site-header { background: rgba(244, 242, 237, .82); backdrop-filter: saturate(1.4) blur(14px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header-h); }
.brand { display: inline-flex; text-decoration: none; line-height: 1; }
.brand img { display: block; width: auto; height: clamp(2.5rem, 3.6vw, 3.25rem); }
.brand-sub { font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: .35rem; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-list { display: flex; gap: clamp(1rem, 1.8vw, 1.9rem); list-style: none; margin: 0; padding: 0; }
.nav-list a { font-size: .9375rem; text-decoration: none; padding-block: .4rem; border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: currentColor; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-actions .btn { min-height: 2.5rem; padding: .55rem 1.05rem; font-size: .875rem; }
.menu-toggle { display: none; }

@media (max-width: 68rem) {
  .nav-list, .nav-actions .btn--ghost { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: 0 .25rem 0 .75rem;
    background: none; border: 0; font: 450 .9375rem var(--sans); color: var(--ink); cursor: pointer;
  }
  .menu-toggle .bars { width: 1.4rem; height: .7rem; position: relative; }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease); }
  .menu-toggle .bars::before { top: 0; } .menu-toggle .bars::after { top: calc(100% - 1.5px); }
  .menu-toggle[aria-expanded="true"] .bars::before { top: calc(50% - .75px); transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { top: calc(50% - .75px); transform: rotate(-45deg); }
}
@media (max-width: 30rem) { .nav-actions .btn { display: none; } }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--paper);
  padding: 1.5rem var(--gutter) 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 2rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mobile-nav li a { display: flex; justify-content: space-between; align-items: baseline; padding: .95rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 1.75rem; font-weight: 300; }
.mobile-nav li a span { font: 400 .75rem var(--sans); color: var(--ink-3); letter-spacing: .1em; }
.mobile-nav .mobile-contact { display: grid; gap: .35rem; color: var(--ink-2); }
body.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); }
.hero h1 { max-width: 16ch; }
.hero-meta { display: grid; gap: 1.75rem; align-content: end; }
.hero-meta p { max-width: 44ch; color: var(--ink-2); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-figure { margin: clamp(2.5rem, 5vw, 4rem) 0 0; position: relative; }
.hero-figure img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.hero-figure figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .85rem; font-size: var(--step--1); color: var(--ink-3); }
@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: 1.55fr 1fr; align-items: end; }
}
@media (max-width: 40rem) {
  .hero-figure img { aspect-ratio: 3 / 2; object-position: 50% 50%; }
}

/* ---------- Page intro (subpages) ---------- */
.page-intro { padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-intro-grid { display: grid; gap: 2rem; }
.page-intro h1 { max-width: 18ch; }
.page-intro .lede { margin: 0; }
@media (min-width: 60rem) { .page-intro-grid { grid-template-columns: 1.4fr 1fr; align-items: end; } }

/* ---------- Generic split ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 56rem) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .split > .span-4 { grid-column: span 4; }
  .split > .span-5 { grid-column: span 5; }
  .split > .span-6 { grid-column: span 6; }
  .split > .span-7 { grid-column: span 7; }
  .split > .span-8 { grid-column: span 8; }
  .split > .push-1 { grid-column-start: auto; margin-left: calc(100% / 12 * 0); }
  .split.center { align-items: center; }
  .split.end { align-items: end; }
}
.figure { margin: 0; }
.figure img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.figure figcaption { margin-top: .75rem; font-size: var(--step--1); color: var(--ink-3); }
.ratio-portrait img { aspect-ratio: 4 / 5; }
.ratio-tall img { aspect-ratio: 3 / 4; }
.ratio-land img { aspect-ratio: 3 / 2; }
.ratio-wide img { aspect-ratio: 16 / 9; }

/* ---------- Statement ---------- */
.statement { max-width: 30ch; font-size: var(--step-4); font-weight: 300; line-height: 1.16; }
.statement-wrap { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .statement-wrap { grid-template-columns: 14rem 1fr; } }

/* ---------- Service index (numbered list, no cards) ---------- */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); counter-reset: idx; }
.index-list > li { border-bottom: 1px solid var(--line); }
.index-row {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: baseline;
  padding: 1.6rem 0; text-decoration: none; color: inherit;
}
.index-row .num { font: 400 var(--step--1) var(--sans); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.index-row h3 { font-size: var(--step-3); font-weight: 300; transition: transform .35s var(--ease); }
.index-row p { grid-column: 2 / 3; margin: 0; max-width: 56ch; color: var(--ink-2); }
.index-row .arrow { width: 1.4rem; height: 1.4rem; color: var(--ink-3); transition: transform .3s var(--ease), color .3s var(--ease); }
@media (hover: hover) {
  a.index-row:hover h3 { transform: translateX(.35rem); }
  a.index-row:hover .arrow { transform: translateX(.3rem); color: var(--navy); }
}
@media (min-width: 56rem) {
  .index-row { grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.1fr) 2rem; padding: 2rem 0; }
  .index-row p { grid-column: auto; }
}

/* ---------- Navy band ---------- */
.on-navy { background: var(--navy); color: var(--on-navy); }
.on-navy .label, .on-navy .muted { color: var(--on-navy-2); }
.on-navy .prose { color: var(--on-navy-2); }
.on-navy .prose strong { color: var(--on-navy); }
.on-navy .lede { color: var(--on-navy); }

/* ---------- Method circles ---------- */
.method { display: grid; gap: 3rem; }
.circles { display: flex; justify-content: center; padding-block: 1rem; }
.circles svg { width: 100%; max-width: 40rem; height: auto; overflow: visible; }
.circles circle { fill: none; stroke: var(--navy); stroke-width: 1; opacity: .55; }
.circles text { font-family: var(--serif); font-size: 22px; font-weight: 400; fill: var(--ink); text-anchor: middle; }
.method-steps { display: grid; gap: 2rem; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.method-steps li { border-top: 1px solid var(--line-strong); padding-top: 1.25rem; }
.method-steps h3 { margin-bottom: .6rem; }
.method-steps p { color: var(--ink-2); margin: 0; }
@media (min-width: 52rem) { .method-steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Values ---------- */
.values { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.values li { padding: 1.75rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .5rem; }
.values h3 { font-size: var(--step-2); }
.values p { margin: 0; color: var(--ink-2); max-width: 46ch; }
@media (min-width: 52rem) {
  .values { grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem, 5vw, 5rem); }
}
.on-navy .values { border-color: var(--line-on-navy); }
.on-navy .values li { border-color: var(--line-on-navy); }
.on-navy .values p { color: var(--on-navy-2); }

/* ---------- Team ---------- */
.team-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.75rem); grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
@media (min-width: 48rem) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .team-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.member { margin: 0; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: var(--radius); background: var(--paper-2); filter: grayscale(1) contrast(1.02); transition: filter .5s var(--ease); }
.member:hover img, .member:focus-within img { filter: none; }
.member figcaption { margin-top: .85rem; }
.member .name { font-family: var(--serif); font-size: var(--step-1); font-weight: 400; display: block; line-height: 1.3; }
.member .role { font-size: var(--step--1); color: var(--ink-3); }
@media (hover: none) { .member img { filter: none; } }

.lead-profile { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 56rem) { .lead-profile { grid-template-columns: 1fr 1fr; } }

/* ---------- Mosaic (villa details) ---------- */
.mosaic { display: grid; gap: clamp(.75rem, 1.5vw, 1.25rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.mosaic .m-a { grid-column: span 2; aspect-ratio: 16 / 9; }
.mosaic .m-b, .mosaic .m-c { aspect-ratio: 3 / 4; }
@media (min-width: 56rem) {
  .mosaic { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto; }
  .mosaic .m-a { grid-column: auto; aspect-ratio: auto; }
  .mosaic .m-b, .mosaic .m-c { aspect-ratio: 3 / 4.4; }
}

/* ---------- Quote ---------- */
.quote-block { display: grid; gap: 2.5rem; align-items: end; }
.quote-block blockquote { margin: 0; font-family: var(--serif); font-size: var(--step-4); font-weight: 300; line-height: 1.15; }
.quote-block cite { display: block; margin-top: 1.5rem; font: 400 var(--step--1) var(--sans); letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: var(--on-navy-2); }
@media (min-width: 56rem) { .quote-block { grid-template-columns: 1.3fr 1fr; gap: 5rem; } }

/* ---------- Service detail (Leistungen page) ---------- */
.service { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem 3rem; padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-strong); }
.service:first-of-type { border-top: 0; }
.service-head .num { display: block; font-size: var(--step--1); color: var(--ink-3); margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.service-head h2 { font-size: var(--step-4); }
.service-body .lede { margin-bottom: 1.5rem; }
.checklist { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li { padding: .75rem 0 .75rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: .75rem; height: 1px; background: var(--navy); }
@media (min-width: 56rem) {
  .service { grid-template-columns: 5fr 7fr; }
  .service-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .checklist { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}
.subnav { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.subnav a { display: inline-block; padding: .45rem .85rem; font-size: .875rem; text-decoration: none; border: 1px solid var(--line-strong); border-radius: 999px; transition: background-color .2s, color .2s; }
.subnav a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Jobs ---------- */
.jobs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.jobs li { border-bottom: 1px solid var(--line); }
.jobs details { padding: 0; }
.jobs summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.5rem 0; }
.jobs summary::-webkit-details-marker { display: none; }
.jobs summary h3 { font-size: var(--step-2); }
.jobs summary .meta { display: block; font-size: var(--step--1); color: var(--ink-3); margin-top: .35rem; }
.jobs .plus { width: 1.75rem; height: 1.75rem; position: relative; border: 1px solid var(--line-strong); border-radius: 50%; flex: none; }
.jobs .plus::before, .jobs .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: .7rem; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.jobs .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.jobs details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.jobs .job-body { padding: 0 0 1.75rem; max-width: 62ch; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.contact-list li { display: grid; grid-template-columns: clamp(5.5rem, 22vw, 7rem) minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list .k { font-size: var(--step--1); color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; padding-top: .2rem; }
.contact-list a { text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }

.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label { font-size: .875rem; font-weight: 450; }
.field label .opt { color: var(--ink-3); font-weight: 350; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .8rem .9rem; min-height: 3rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26, 84, 121, .16); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a1312a; }
.field .error { font-size: .8125rem; color: #a1312a; min-height: 0; }
.check { display: grid; grid-template-columns: 1.25rem 1fr; gap: .75rem; align-items: start; font-size: .875rem; color: var(--ink-2); }
.check input { width: 1.125rem; height: 1.125rem; margin: .2rem 0 0; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 1rem 1.1rem; border-left: 2px solid var(--navy); background: var(--white); font-size: .9375rem; }
.form-status[hidden] { display: none; }
.form-status.is-error { border-color: #a1312a; }

.map-box {
  position: relative; aspect-ratio: 16 / 9; background: var(--paper-2); border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; text-align: center; border: 1px solid var(--line);
}
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); }
.map-consent { max-width: 34rem; padding: 1.5rem; display: grid; gap: 1rem; justify-items: center; }
.map-consent p { margin: 0; font-size: .875rem; color: var(--ink-2); }
@media (max-width: 40rem) { .map-box { aspect-ratio: 4 / 5; } }

/* ---------- CTA band ---------- */
.cta-band { display: grid; gap: 2rem; align-items: end; }
.cta-band h2 { max-width: 20ch; }
.cta-band .cta-side { display: grid; gap: 1.5rem; }
.cta-band .big-phone { font-family: var(--serif); font-size: var(--step-3); font-weight: 300; text-decoration: none; }
.cta-band .big-phone:hover { text-decoration: underline; text-decoration-thickness: 1px; }
@media (min-width: 56rem) { .cta-band { grid-template-columns: 1.4fr 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: var(--on-navy-2); padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: 2rem; font-size: .9375rem; }
.site-footer a { text-decoration: none; color: var(--on-navy); }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-on-navy); }
.footer-logo { display: block; width: auto; height: 3.5rem; }
.footer-brand .brand-sub { display: block; margin-top: .9rem; color: var(--on-navy-2); }
.footer-brand p { margin-top: 1.5rem; max-width: 32ch; }
.footer-col h2 { font: 500 .75rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-2); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-col address { font-style: normal; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.75rem; font-size: .8125rem; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; }
.footer-bottom button { background: none; border: 0; padding: 0; font: inherit; color: var(--on-navy); cursor: pointer; }
.footer-bottom button:hover { text-decoration: underline; }
@media (min-width: 56rem) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: var(--step-3); margin: 3rem 0 1rem; }
.legal h3 { font-size: var(--step-1); font-family: var(--sans); font-weight: 500; margin: 2rem 0 .5rem; letter-spacing: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2rem; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.7; margin-bottom: 1em; }
.legal .todo { background: #fff4c7; color: #5b4500; padding: .05em .3em; border-radius: 2px; }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; z-index: 90; left: var(--gutter); right: var(--gutter); bottom: 1rem;
  max-width: 36rem; margin-left: auto; background: var(--white); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 4px; box-shadow: 0 18px 50px -18px rgba(10, 36, 67, .35);
  padding: 1.5rem; display: grid; gap: 1rem;
}
.consent[hidden] { display: none; }
.consent h2 { font-size: var(--step-2); }
.consent h2:focus { outline: none; }
.consent p { margin: 0; font-size: .875rem; color: var(--ink-2); }
.consent .consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.consent .btn { min-height: 2.6rem; padding: .55rem 1rem; font-size: .875rem; }
.consent fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.consent fieldset[hidden] { display: none; }
.consent .opt-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.consent .opt-row strong { font-weight: 500; font-size: .9375rem; }
.consent .opt-row span { display: block; font-size: .8125rem; color: var(--ink-3); }
.switch { position: relative; width: 2.5rem; height: 1.4rem; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; border-radius: 999px; background: var(--line-strong); transition: background-color .2s; pointer-events: none; }
.switch .track::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1rem; height: 1rem; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input:checked + .track { background: var(--navy); }
.switch input:checked + .track::after { transform: translateX(1.1rem); }
.switch input:disabled + .track { opacity: .55; }
.switch input:focus-visible + .track { outline: 2px solid var(--navy); outline-offset: 2px; }
.consent .small-links { font-size: .8125rem; }

/* ---------- Reveal (subtle, images only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Utility spacing ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.mb-0 { margin-bottom: 0; }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 56rem) { .section-head { grid-template-columns: 1.3fr 1fr; align-items: end; } .section-head .prose { justify-self: end; } }

@media print {
  .site-header, .consent, .mobile-nav, .site-footer .footer-top { display: none !important; }
  body { background: #fff; }
}
