/* AMASO shared header: one header for every AMASO page (the homepage, /werk/, the case, dienst and other template pages).
   Source: site-puller/output/amaso-shared/header/. Each build copies this folder to <web root>/amaso/header/
   (install.mjs) and loads amaso-header.css in <head> and amaso-header.js at the start of <body>. The script renders
   the markup (outside any framework root) and runs it. All links are root-relative: one AMASO site.

   Design: the homepage's language (the premiercs design at / and /en/), with its own tokens: Outfit 400, the violet
   button with its separate arrow square (premierViolet30 #5400e9, hover #5941ff, active #4600bb, 14px radius, 44px
   high), black and #171717 surfaces, #b3b3b3 for quiet text, #8d6bff for violet on dark, 24px card radius.
   The accent is a token (--amh-accent*): violet by default, AMASO red on pages that ask for it (data-amh-accent).
   The bar: four 44px chips (the AMASO wordmark, NL/EN, the call button, the menu button), fixed, hides on scroll down
   and comes back on scroll up. Each end of the bar takes a light or a dark variant from the page right under it (the
   script samples it as you scroll): light = white glass, black type and wordmark; dark = #171717 glass, white type and
   wordmark. The call button is the homepage's violet button in both. The glass keeps every label at AA contrast even
   on a background that would suit the other variant. The menu: the homepage's dark theme, full screen.

   The fonts are the site's own files; the stacks try the pages' family names first (the homepage's Outfit, the
   template pages' AMASO Outfit), so there they come from the page's own @font-face and nothing loads twice. */
/* Outfit (SIL OFL), the Latin variable subset of the homepage's Next build (as amaso/tpl/restyle/), for pages without it,
   with a metric-matched fallback so the swap does not move anything */
@font-face { font-family: "AMH Outfit"; src: url(/amaso/header/fonts/outfit-latin.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: "AMH Outfit Fallback"; src: local(Arial), local("Helvetica Neue"), local(Helvetica); ascent-override: 100.18%; descent-override: 26.05%; line-gap-override: 0%; size-adjust: 99.82%; }

:root {
  --amh-ink: #000;
  --amh-top: max(clamp(12px, 1.4vw, 24px), calc(env(safe-area-inset-top, 0px) + 6px));
  --amh-left: max(clamp(14px, 1.8vw, 32px), calc(env(safe-area-inset-left, 0px) + 8px));
  --amh-right: max(clamp(14px, 1.8vw, 32px), calc(env(safe-area-inset-right, 0px) + 8px));
  --amh-h: 44px;
  /* the bottom of the header: pages that must keep something clear of it can use this */
  --amh-space: calc(var(--amh-top) + var(--amh-h));
}
@media (max-width: 767px) { :root { --amh-h: 40px; } }

/* ---- isolation: nothing of the host site's CSS reaches the header, so it renders the same everywhere */
.amh, .amh *, .amh *::before, .amh *::after {
  box-sizing: border-box; margin: 0; padding: 0; border: 0; background: none; color: inherit;
  font: inherit; letter-spacing: inherit; line-height: inherit; text-transform: none; text-decoration: none;
  text-align: left; text-indent: 0; text-shadow: none; word-spacing: normal; white-space: inherit;
  list-style: none; float: none; max-width: none; min-width: 0; min-height: 0; opacity: 1; filter: none;
  vertical-align: baseline; outline: 0; box-shadow: none; border-radius: 0; transform: none;
  -webkit-appearance: none; appearance: none;
}
/* the accent: the homepage violet everywhere (premierViolet30/20/40, and its violet type on dark); a page can ask for
   AMASO red instead (data-amh-accent="red": /werk/ and /en/work/, whose own red is #cf1830). White on the button:
   violet 8.2:1 (hover 5.8), red 5.5:1 (hover 4.8, active 7.0); the on-dark tone on #070707: violet 5.4:1, red 5.6:1. */
.amh {
  /* since 2026-10-20 the brand palette (amaso-shared/brand/tokens.css): periwinkle with ink type (4.9:1, hover 6.5:1),
     #9ea3f5 on dark (7.7:1 on #070707); one accent on every page */
  --amh-accent: var(--amaso-accent, #7179ef); --amh-accent-hover: var(--amaso-accent-hover, #8e92f1); --amh-accent-active: var(--amaso-accent-active, #7d84f0);
  --amh-accent-on-dark: var(--amaso-accent-text-dark, #9ea3f5); --amh-on-accent: var(--amaso-ink, #16151c);
  --amh-glow: 113, 121, 239; --amh-dot: 158, 163, 245;
}
.amh[data-amh-accent="red"] {
  /* (the red accent is retired: /werk/ uses the same palette accent; the attribute stays harmless) */
}
/* one colour per service (tokens.css --svc-*), the same as the homepage tabs, the hub cards and the dienst pages */
.amh-svc a[data-mockup="website-design"] { --amh-svc: var(--svc-website-design, #7179ef); }
.amh-svc a[data-mockup="webshops"] { --amh-svc: var(--svc-webshops, #f4c263); }
.amh-svc a[data-mockup="apps"] { --amh-svc: var(--svc-apps, #b6d3f4); }
.amh-svc a[data-mockup="3d-vr"] { --amh-svc: var(--svc-3d-vr, #b14bd3); }
.amh-svc a[data-mockup="dashboards"] { --amh-svc: var(--svc-dashboards, #d9a0e8); }
.amh-svc a[data-mockup="marketing"] { --amh-svc: var(--svc-marketing, #dc7ac7); }
.amh-svc a[data-mockup="ai-automatisering"] { --amh-svc: var(--svc-ai-automatisering, #e0652c); }
.amh {
  position: fixed; top: 0; left: 0; width: 0; height: 0; z-index: 2147483600; pointer-events: none;
  --amh-sans: "Outfit", "AMASO Outfit", "AMH Outfit", "Outfit Fallback", "AMASO Outfit Fallback", "AMH Outfit Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--amh-sans);
  font-size: 16px; font-weight: 400; font-style: normal; line-height: 1.2; letter-spacing: 0; white-space: normal;
  color: var(--amh-ink); direction: ltr; text-rendering: optimizeLegibility; font-kerning: normal;
  font-feature-settings: normal; font-variation-settings: normal; font-synthesis: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
.amh svg { display: block; overflow: visible; }
.amh a, .amh button { cursor: pointer; touch-action: manipulation; }

/* ---- the bar */
.amh-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: var(--amh-top) calc(var(--amh-right) + var(--amh-sbw, 0px)) 0 var(--amh-left);
  pointer-events: none;
  transform: translate3d(0, var(--amh-dy, 0px), 0);
  transition: transform .55s cubic-bezier(.22, 1, .36, 1), opacity .5s ease, visibility 0s;
}
.amh.is-hidden:not(.is-open) .amh-bar { transform: translate3d(0, calc(-100% - 16px), 0); transition-duration: .45s; }
html.amh-defer .amh-bar { opacity: 0; visibility: hidden; transform: translate3d(0, -14px, 0); transition: none; }

/* the two variants, per end of the bar (data-amh-l / data-amh-r on .amh, set by the script; the open menu is dark) */
.amh-logo, .amh-right {
  --amh-glass: rgba(255, 255, 255, .78); --amh-fg: #000; --amh-quiet: rgba(0, 0, 0, .66); --amh-line: rgba(0, 0, 0, .08);
  --amh-seg: #000; --amh-seg-fg: #fff; --amh-tint: rgba(0, 0, 0, .06); --amh-lift: 0 10px 30px -18px rgba(0, 0, 0, .35);
}
.amh[data-amh-l="dark"] .amh-logo, .amh[data-amh-r="dark"] .amh-right, .amh.is-open .amh-logo, .amh.is-open .amh-right {
  --amh-glass: rgba(23, 23, 23, .7); --amh-fg: #fff; --amh-quiet: rgba(255, 255, 255, .74); --amh-line: rgba(255, 255, 255, .1);
  --amh-seg: #fff; --amh-seg-fg: #000; --amh-tint: rgba(255, 255, 255, .1); --amh-lift: 0 10px 30px -18px rgba(0, 0, 0, .6);
}
.amh-pill, .amh-burger {
  pointer-events: auto; position: relative; display: inline-flex; align-items: center; height: var(--amh-h);
  border-radius: 14px; background: var(--amh-glass); color: var(--amh-fg);
  box-shadow: inset 0 0 0 1px var(--amh-line), var(--amh-lift);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  transition: background-color .35s ease, color .35s ease, box-shadow .35s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.amh-logo { padding: 0 18px; }
.amh-logo svg { width: 76px; height: 16.45px; }
@media (hover: hover) { .amh-logo:hover { transform: translateY(-1px); } }

/* the call button: the homepage's violet button, label and arrow square, the arrow leaving top right on hover */
.amh-cta { pointer-events: auto; display: inline-flex; height: var(--amh-h); color: var(--amh-on-accent); border-radius: 14px; transition: box-shadow .4s ease; }
.amh-cta-l, .amh-cta-a { display: flex; align-items: center; height: 100%; border-radius: 14px; background: var(--amh-accent); transition: background-color .2s cubic-bezier(.4, 0, .2, 1); }
.amh-cta-l { padding: 0 22px; font-size: 16px; font-weight: 400; line-height: 1; white-space: nowrap; }
.amh-cta-a { position: relative; flex: none; width: var(--amh-h); justify-content: center; overflow: hidden; }
.amh-cta-a i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .35s ease; }
.amh-cta-a i + i { transform: translate(-100%, 100%); opacity: 0; }
.amh-cta-a svg { width: 60%; height: 60%; }
@media (hover: hover) {
  .amh-cta:hover .amh-cta-l, .amh-cta:hover .amh-cta-a { background: var(--amh-accent-hover); }
  /* the Siri glow on hover: the ribbon colours as a soft light around the button */
  .amh-cta:hover { box-shadow: -8px 0 22px -6px rgba(224, 101, 44, .55), 0 0 22px -4px rgba(220, 122, 199, .5), 8px 0 22px -6px rgba(113, 121, 239, .6); }
  .amh-cta:hover .amh-cta-a i:first-child { transform: translate(100%, -100%); opacity: 0; }
  .amh-cta:hover .amh-cta-a i + i { transform: none; opacity: 1; }
}
.amh-cta:active .amh-cta-l, .amh-cta:active .amh-cta-a { background: var(--amh-accent-active); }
/* the page's own call button is right under the bar (amaso-header.js watchPageCta): the bar's steps aside meanwhile */
.amh-cta { transition: box-shadow .4s ease, opacity .25s ease, transform .35s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
.amh[data-amh-cta-hide]:not(.is-open) .amh-cta { opacity: 0; transform: translate3d(0, -8px, 0); visibility: hidden; pointer-events: none;
  transition: box-shadow .4s ease, opacity .2s ease, transform .3s ease, visibility 0s .2s; }
/* over a section in the accent colour itself (e.g. /werk/'s red band) the button inverts: white, accent type (red on
   white 5.5:1, violet on white 8.2:1) */
.amh[data-amh-cta="invert"]:not(.is-open) .amh-cta { color: var(--amh-on-accent); }
.amh[data-amh-cta="invert"]:not(.is-open) .amh-cta-l, .amh[data-amh-cta="invert"]:not(.is-open) .amh-cta-a { background: #fff; }
@media (hover: hover) { .amh[data-amh-cta="invert"]:not(.is-open) .amh-cta:hover .amh-cta-l, .amh[data-amh-cta="invert"]:not(.is-open) .amh-cta:hover .amh-cta-a { background: #f1f1ed; } }

/* the menu button: a chip with AMASO's two bars of unequal length; they cross into an X when the menu is open */
.amh-burger {
  --bar: 18px; --bar2: 11px; --th: 2px; --gap: 6px;
  flex: none; width: var(--amh-h); justify-content: center;
}
.amh-burger-bar {
  position: absolute; left: 50%; top: 50%; height: var(--th); border-radius: 999px; background: currentColor;
  transition: transform .45s cubic-bezier(.65, 0, .35, 1), width .4s cubic-bezier(.65, 0, .35, 1);
}
.amh-burger-bar:nth-child(1) { width: var(--bar); transform: translate(-50%, calc(-50% - var(--gap) / 2)); }
.amh-burger-bar:nth-child(2) { width: var(--bar2); transform: translate(calc(-50% + (var(--bar) - var(--bar2)) / 2), calc(-50% + var(--gap) / 2)); }
@media (hover: hover) {
  .amh-burger:hover { background: var(--amh-tint); }
  .amh-burger:hover .amh-burger-bar:nth-child(2) { width: var(--bar); transform: translate(-50%, calc(-50% + var(--gap) / 2)); }
}
.amh-burger:active { transform: scale(.95); }
.amh.is-open .amh-burger-bar:nth-child(1) { width: var(--bar); transform: translate(-50%, -50%) rotate(45deg); }
.amh.is-open .amh-burger-bar:nth-child(2) { width: var(--bar); transform: translate(-50%, -50%) rotate(-45deg); }

/* keyboard focus: a white and a black ring, so it shows on light and on dark backgrounds */
.amh-logo:focus-visible, .amh-cta:focus-visible, .amh-burger:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000; }

.amh-right { display: flex; align-items: flex-start; gap: 8px; pointer-events: none; }
@media (max-width: 767px) {
  .amh-logo { padding: 0 15px; }
  .amh-logo svg { width: 69.3px; height: 15px; }
  .amh-right { gap: 6px; }
  .amh-cta-l { padding: 0 15px; font-size: 15px; }
  .amh-burger { --bar: 16px; --bar2: 10px; --gap: 5.5px; }
}
@media (max-width: 419px) { .amh-cta-a { display: none; } }
@media (max-width: 339px) { .amh-cta { display: none; } }

/* ---- the menu (v3, dark): the homepage's dark theme, on one grid that uses the whole height.
   From 1100px: three columns with one top line and one bottom line. The sections (Outfit, numbered); the seven
   services, each with its short tag; and a media panel (a #171717 card with the homepage hero's hairline orbit rings and
   dot grid, glowing in the violet) with the service's <amaso-laptop> mockup and its one-liner: the tour through all
   seven, or the current service, until a service is hovered or focused. The footer (mail, place line, clock, open for
   projects) is the bottom row of the two text columns, under a hairline.
   992-1099px: the two text columns without the panel. Below 992px: one column; sections as rows, services as chips.
   The NL/EN switch: the bar's chip from 768px, the menu's own below that (the bar has no room for it there). */
.amh-menu {
  position: fixed; inset: 0; z-index: 1; pointer-events: auto; color: #fff;
  background:
    radial-gradient(circle, rgba(228, 231, 242, .07) 0 1px, transparent 1.4px) 0 0 / 26px 26px,
    radial-gradient(70% 60% at 0% 0%, rgba(var(--amh-glow), .22), rgba(var(--amh-glow), 0) 70%),
    radial-gradient(45% 40% at 100% 0%, rgba(220, 122, 199, .14), rgba(220, 122, 199, 0) 70%),
    radial-gradient(60% 50% at 100% 100%, rgba(224, 101, 44, .16), rgba(244, 194, 99, 0) 70%),
    radial-gradient(50% 45% at 0% 100%, rgba(177, 75, 211, .14), rgba(177, 75, 211, 0) 70%) #070707;
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  clip-path: circle(0px at var(--amh-cx, 100%) var(--amh-cy, 0px));
  transition: clip-path .62s cubic-bezier(.65, 0, .35, 1);
  --amh-fs: clamp(34px, min(3.6vw, calc((100vh - 300px) / 7.6)), 58px);
  --amh-fs: clamp(34px, min(3.6vw, calc((100dvh - 300px) / 7.6)), 58px);
  --amh-gap: clamp(28px, 2.6vw, 48px);
  --amh-lists: calc(var(--amh-fs) * 12); /* both lists at most about two lines per item apart, ending on the same line */
  --amh-quiet: #b3b3b3;
}
.amh-menu[hidden] { display: none; }
.amh:not(.is-open) .amh-menu { pointer-events: none; }
.amh.is-open .amh-menu { clip-path: circle(var(--amh-r, 150vmax) at var(--amh-cx, 100%) var(--amh-cy, 0px)); transition-duration: .8s; transition-timing-function: cubic-bezier(.76, 0, .24, 1); }
.amh-menu-inner {
  display: grid; min-height: 100%;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: minmax(0, 1fr) auto; column-gap: var(--amh-gap);
  padding: calc(var(--amh-top) + var(--amh-h) + clamp(22px, 4vh, 44px)) var(--amh-right) max(var(--amh-top), calc(env(safe-area-inset-bottom, 0px) + 12px)) var(--amh-left);
}
.amh-col { grid-row: 1; display: flex; flex-direction: column; min-width: 0; padding-bottom: clamp(22px, 4vh, 44px); }
.amh-col-main { grid-column: 1; }
.amh-col-svc { grid-column: 2; }
.amh-kicker { flex: none; margin-bottom: clamp(14px, 2.4vh, 26px); font-size: 12px; font-weight: 500; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; color: var(--amh-quiet); }

/* the sections: spread over the column, so their first and last lines meet the services' */
.amh-list { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; max-height: var(--amh-lists); }
.amh-item { display: block; }
.amh-link { position: relative; display: inline-flex; align-items: flex-start; color: #fff; font-size: var(--amh-fs); font-weight: 400; line-height: 1.08; letter-spacing: -.024em; }
.amh-num { flex: none; width: 38px; margin-top: calc(var(--amh-fs) * .18); font-size: 13px; font-weight: 400; line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--amh-quiet); transition: color .3s ease; }
.amh-label { position: relative; display: inline-block; padding-bottom: .05em; }
.amh-go { display: none; font-style: normal; }
.amh-label::after, .amh-svc-name > span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: max(1.5px, .04em); background: currentColor;
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .55s cubic-bezier(.65, 0, .35, 1);
}
/* the current page: a violet underline and number */
.amh-link[aria-current="page"] .amh-label::after, .amh-svc a[aria-current="page"] .amh-svc-name > span::after { transform: scaleX(1); background: var(--amh-accent-on-dark); }
.amh-svc a[data-mockup] .amh-svc-name > span::after { background: var(--amh-svc); }
.amh-link[aria-current="page"] .amh-num { color: var(--amh-accent-on-dark); }

/* the services: name and short tag, spread over the same height */
.amh-svc { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; max-height: var(--amh-lists); }
.amh-svc a { display: flex; flex-direction: column; gap: 3px; color: #fff; transition: opacity .3s ease; }
.amh-svc-name { position: relative; display: inline-flex; align-items: baseline; gap: .45em; font-size: clamp(18px, 1.5vw, 23px); font-weight: 400; line-height: 1.2; letter-spacing: -.012em; }
.amh-svc-name > span { position: relative; }
.amh-svc-tag { font-size: 13px; line-height: 1.3; letter-spacing: 0; color: var(--amh-quiet); }
.amh-svc-all a { color: var(--amh-quiet); transition: color .3s ease, opacity .3s ease; }
.amh-svc-all i { font-style: normal; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
@media (hover: hover) {
  .amh-link:hover .amh-label::after, .amh-svc a:hover .amh-svc-name > span::after { transform: scaleX(1); transform-origin: 0 50%; }
  .amh-link:hover .amh-num { color: #fff; }
  .amh-svc:hover a { opacity: .5; }
  .amh-svc:hover a:hover { opacity: 1; }
  .amh-svc-all a:hover { color: #fff; }
  .amh-svc-all a:hover i { transform: translateX(4px); }
}

/* the media panel: a homepage card */
.amh-media {
  grid-column: 3; grid-row: 1 / 3; position: relative; display: flex; flex-direction: column; min-height: 0; overflow: hidden;
  border-radius: 24px; container-type: inline-size; color: #e4e7f2;
  background: radial-gradient(130% 85% at 50% 0%, #1d1d22 0%, #171717 48%, #0f0f10 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 40px 80px -36px rgba(0, 0, 0, .8);
}
.amh-field { position: absolute; inset: 0; --cy: 40%; }
.amh-field i, .amh-field b { position: absolute; display: block; }
.amh-glow { left: 50%; top: calc(var(--cy) + 14cqw); width: 150cqw; height: 150cqw; margin: -75cqw 0 0 -75cqw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--amh-glow), .4), rgba(var(--amh-glow), .12) 40%, rgba(var(--amh-glow), 0) 72%); }
.amh-grid { inset: 0; background: radial-gradient(circle, rgba(228, 231, 242, .2) 0 1px, transparent 1.4px) 0 0 / 26px 26px; opacity: .55;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 40%, #000, transparent); mask-image: radial-gradient(80% 60% at 50% 40%, #000, transparent); }
.amh-ring { left: 50%; top: var(--cy); width: calc(var(--r) * 2); height: calc(var(--r) * 2); margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1);
  border: 1px solid rgba(228, 231, 242, .11); border-radius: 50%; }
.amh-orb { left: 50%; top: var(--cy); width: 0; height: 0; animation: amh-turn 100s linear infinite; will-change: transform; }
.amh-ccw { animation-direction: reverse; }
.amh-arm { left: 0; top: 0; width: 0; height: 0; }
.amh-arm b { left: var(--r); top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: var(--amh-accent-on-dark); box-shadow: 0 0 0 3px rgba(var(--amh-dot), .16), 0 0 12px rgba(var(--amh-dot), .6); }
.amh-beige .amh-arm b { background: #e4e7f2; opacity: .85; box-shadow: 0 0 0 3px rgba(228, 231, 242, .1), 0 0 10px rgba(228, 231, 242, .35); }
@keyframes amh-turn { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.amh-shot { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 6cqw 6cqw 0; }
.amh-shot amaso-laptop { display: block; flex: none; width: 100%; max-width: 680px; aspect-ratio: 100 / 58; }
.amh-cap { position: relative; flex: none; height: 148px; padding: 0 8cqw 7cqw; display: flex; flex-direction: column; justify-content: flex-end; box-sizing: content-box; }
.amh-cap p { transition: opacity .2s ease, transform .35s cubic-bezier(.22, 1, .36, 1); }
.amh-cap.is-swap p { opacity: 0; transform: translate3d(0, 6px, 0); transition-duration: .15s; }
.amh-cap-n { font-size: 13px; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--amh-quiet); margin-bottom: 10px; }
.amh-cap-n span { color: var(--amh-accent-on-dark); }
.amh-cap-t { font-size: clamp(22px, 2vw, 28px); font-weight: 400; line-height: 1.15; letter-spacing: -.015em; color: #fff; margin-bottom: 8px; }
.amh-cap-l { font-size: 15px; line-height: 1.45; color: var(--amh-quiet); max-width: 34em; min-height: 4.35em; }

/* the footer: the bottom row of the two text columns */
.amh-foot { grid-column: 1 / 3; grid-row: 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); column-gap: var(--amh-gap); align-items: end; }
.amh-cut { grid-column: 1 / -1; height: 1px; margin-bottom: clamp(16px, 2.6vh, 26px); background: rgba(255, 255, 255, .14); }
.amh-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.amh-mail { color: #fff; font-size: clamp(20px, 1.8vw, 26px); font-weight: 400; line-height: 1.15; letter-spacing: -.01em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s cubic-bezier(.65, 0, .35, 1); }
@media (hover: hover) { .amh-mail:hover { background-size: 100% 1.5px; } }
.amh-place { font-size: 14px; line-height: 1.35; color: var(--amh-quiet); }
.amh-status { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.amh-clock, .amh-open { font-size: 14px; line-height: 1.35; color: var(--amh-quiet); white-space: nowrap; }
.amh-clock time { color: #fff; font-variant-numeric: tabular-nums; }
.amh-open { display: inline-flex; align-items: center; gap: 9px; color: #fff; }
.amh-open i { width: 7px; height: 7px; border-radius: 50%; background: var(--amh-accent-on-dark); box-shadow: 0 0 0 3px rgba(var(--amh-dot), .22); }

/* 992-1099px: the two text columns, no panel */
@media (max-width: 1099px) {
  .amh-menu-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .amh-media { display: none; }
  .amh-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* phones and tablets: one column; the sections as full-width rows, the services as tap chips, sized to fit the screen */
@media (max-width: 991px) {
  .amh-menu { --amh-fs: clamp(26px, min(7.8vw, calc((100vh - 470px) / 5.6)), 40px); --amh-fs: clamp(26px, min(7.8vw, calc((100dvh - 470px) / 5.6)), 40px); }
  .amh-menu-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; padding-top: calc(var(--amh-top) + var(--amh-h) + clamp(12px, 2.4vh, 24px)); }
  .amh-col { grid-column: 1; padding-bottom: 0; }
  .amh-col-main { grid-row: 1; }
  .amh-col-main .amh-kicker { display: none; }
  .amh-col-svc { grid-row: 2; margin-top: clamp(18px, 3vh, 30px); }
  .amh-list { justify-content: flex-start; align-items: stretch; max-height: none; }
  .amh-item + .amh-item { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
  .amh-link { display: flex; align-items: center; min-height: max(48px, calc(var(--amh-fs) * 1.38)); line-height: 1.15; }
  .amh-num { width: 32px; margin-top: 0; font-size: 12px; }
  .amh-go { display: block; margin-left: auto; padding-left: 12px; font-size: 18px; line-height: 1; color: var(--amh-quiet); }
  .amh-link[aria-current="page"] .amh-go { color: var(--amh-accent-on-dark); }
  .amh-svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: none; }
  .amh-svc li { display: flex; min-width: 0; }
  .amh-svc a {
    flex: 1; flex-direction: row; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 14px;
    background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .25s ease, color .25s ease;
  }
  .amh-svc-name { min-width: 0; font-size: 15px; font-weight: 400; letter-spacing: 0; line-height: 1.1; white-space: nowrap; justify-content: space-between; width: 100%; }
  .amh-svc-name > span { overflow: hidden; text-overflow: ellipsis; }
  .amh-svc-name > span::after, .amh-svc-tag { display: none; }
  .amh-svc a[aria-current="page"] { background: var(--amh-svc, var(--amh-accent)); color: var(--amh-on-accent); box-shadow: none; }
  .amh-svc a[data-mockup]:not([aria-current="page"]) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 3px 0 0 var(--amh-svc); }
  .amh-svc-all a { color: #fff; }
  .amh-media { display: none; }
  .amh-foot { grid-column: 1; grid-row: 4; grid-template-columns: minmax(0, 1fr) auto; row-gap: 12px; align-items: center; margin-top: clamp(18px, 3vh, 28px); }
  .amh-cut { margin-bottom: 4px; }
  .amh-mail { font-size: 20px; }
  .amh-place { display: none; }
  .amh-status { grid-column: 1 / -1; grid-row: 3; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
}
@media (max-width: 991px) and (hover: hover) {
  .amh-svc:hover a { opacity: 1; }
  .amh-svc a:not([aria-current]):hover { background: rgba(255, 255, 255, .13); }
}
@media (min-width: 600px) and (max-width: 991px) { .amh-svc { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* short phones: a little tighter, so it still fits without scrolling */
@media (max-width: 991px) and (max-height: 720px) {
  .amh-link { min-height: 42px; }
  .amh-svc a { min-height: 38px; }
  .amh-col-svc { margin-top: 14px; }
  .amh-kicker { margin-bottom: 10px; }
  .amh-foot { margin-top: 14px; row-gap: 8px; }
}
@media (max-width: 991px) and (max-height: 660px) {
  .amh-link { min-height: 38px; }
  .amh-svc a { min-height: 36px; }
}

.amh-menu a:focus-visible, .amh-menu button:focus-visible { outline: 2px solid #fff; outline-offset: 5px; border-radius: 4px; }
@media (max-width: 991px) {
  .amh-svc a:focus-visible { outline-offset: 3px; border-radius: 14px; }
  .amh-link:focus-visible { outline-offset: -2px; }
}

/* entrance: once the dark has covered the screen, the lines of every column rise in one after the other, the panel with
   them; the hairline draws from the left */
.amh-kicker, .amh-item, .amh-svc li, .amh-media, .amh-contact, .amh-status, .amh-lang-menu { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .25s ease, transform .25s ease; }
.amh-cut { transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s ease; }
.amh.is-open .amh-kicker, .amh.is-open .amh-item, .amh.is-open .amh-svc li, .amh.is-open .amh-media,
.amh.is-open .amh-contact, .amh.is-open .amh-status, .amh.is-open .amh-lang-menu {
  opacity: 1; transform: none;
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(.24s + var(--i, 0) * .04s);
}
.amh.is-open .amh-media { transition-duration: .8s, 1s; transition-delay: .3s; }
.amh.is-open .amh-cut { transform: none; transition: transform .9s cubic-bezier(.65, 0, .35, 1) .42s; }
.amh.is-open .amh-contact, .amh.is-open .amh-status, .amh.is-open .amh-lang-menu { transition-delay: .52s; }

/* while the menu is open the page does not scroll */
html.amh-lock, html.amh-lock body { overflow: hidden !important; }
/* the script's probe of the page under the bar: hit-testing reaches every layer of the page, never the header */
html.amh-probe body * { pointer-events: auto !important; }
html.amh-probe #amaso-header, html.amh-probe #amaso-header * { pointer-events: none !important; }

/* reduced motion: no movement at all; the menu is there or it is not, the orbits stand still */
@media (prefers-reduced-motion: reduce) {
  .amh-bar, .amh-pill, .amh-burger, .amh-burger-bar, .amh-cta-l, .amh-cta-a, .amh-cta-a i, .amh-label::after, .amh-svc-name > span::after, .amh-svc a, .amh-svc-all i, .amh-mail, .amh-cap p { transition-duration: .01s !important; }
  .amh-menu, .amh.is-open .amh-menu { clip-path: none; opacity: 0; transition: none; }
  .amh.is-open .amh-menu { opacity: 1; }
  .amh-kicker, .amh-item, .amh-svc li, .amh-media, .amh-contact, .amh-status, .amh-lang-menu, .amh-cut,
  .amh.is-open .amh-kicker, .amh.is-open .amh-item, .amh.is-open .amh-svc li, .amh.is-open .amh-media,
  .amh.is-open .amh-contact, .amh.is-open .amh-status, .amh.is-open .amh-lang-menu, .amh.is-open .amh-cut { opacity: 1; transform: none; transition: none; }
  .amh-orb { animation-play-state: paused; }
}
@media print { .amh { display: none; } }

/* ---- the NL/EN switch: the bar's chip from 768px (next to the call button); below that the menu's own, in its footer */
.amh-lang { display: inline-flex; align-items: center; gap: 2px; }
.amh-lang.amh-pill { padding: 4px; }
.amh-lang a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 100%; padding: 0 10px; border-radius: 10px;
  font-size: 14px; font-weight: 500; letter-spacing: .03em; line-height: 1; color: var(--amh-quiet); transition: background-color .25s ease, color .25s ease;
}
.amh-lang a[aria-current] { background: var(--amh-seg); color: var(--amh-seg-fg); }
@media (hover: hover) { .amh-lang a:not([aria-current]):hover { background: var(--amh-tint); color: var(--amh-fg); } }
.amh-lang a:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000; }
.amh-lang-menu { display: none; }
.amh-lang-menu a { min-width: 46px; height: 38px; color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.amh-lang-menu a[aria-current] { background: #fff; color: #000; box-shadow: none; }
@media (hover: hover) { .amh-lang-menu a:not([aria-current]):hover { background: rgba(255, 255, 255, .14); color: #fff; } }
.amh-lang-menu a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: none; }
@media (max-width: 767px) {
  .amh-lang.amh-pill { display: none; }
  .amh-lang-menu { display: inline-flex; gap: 6px; grid-column: 2; grid-row: 2; justify-self: end; }
}
