/* fonts: self-hosted in public/fonts, linked from src/routes/__root.tsx */

/* ------------------------------------------------------------------
   Theme tokens
   Every colour is a custom property. The page is light throughout; the
   values below are the bright state (studio.js holds the same table with a
   dark value per token and writes the bright ones at start).
   ------------------------------------------------------------------ */
:root {
  --dark: 0;
  --mid: 0;
  --pin: 0;
  --scroll: 0;
  --hero-top: 0px;
  --blue: #1058ef;
  --bg: #eef3fd;
  --ink: #1b2945;
  --muted: #5c6a80;
  --label: #54667f;
  --link: #4b6490;
  --accent: #1058ef;
  --dim-heading: #7e8da3;
  --hair: #aac1e4;
  --hair-soft: #aac1e438;
  --edge: #ffffff;
  --surface-a: #ffffff;
  --surface-b: #e4edfd;
  --sh-1: #bacded;
  --sh-2: #b4c8ea;
  --sh-3: #acbfe2;
  --sh-soft: #24447812;
  --blue-glow: #0b4ccd28;
  --chip-bg: #e4edfc;
  --chip-sh: #cad9f1;
  --h1-a: #2b6cf0;
  --h1-b: #5b95ff;
  --h1-c: #1a56e0;
  --ring-face: #edf4ff;
  --ring-top: #8ab3ff;
  --ring-sh1: #0b58eb;
  --ring-sh2: #0037a8;
  --sheet-sh1: #97bbf5;
  --sheet-sh2: #0756ef;
  --mock-block: #d0dffc;
  --mock-bar: #9bbcff;
  --mock-title: #336df1;
  --dots: #9bb8ec;
  --dots-line: #cbdaef;
  --card-shadow: #1f4eab35;
  --watermark: #6c93d009;
  --end-word: #86a5d72b;
  --halo: #ffffff88;
  --footer-bg: #e6effc80;
  --dialog-ink: #243e6b;
  --dialog-sh: #5181d4;
  --input-bg: #ffffff;
  --input-border: #d4e0f5;
  --input-inset: #c9d8f2;
  --fibre: #2f6fe8;
  --fibre-dim: #9dbcf5;
  --fibre-glow: #2f6fe866;
  --id-glow: #4fb3ec; /* the cyan-blue edge of "ID" in the hero wordmark */
  --veil-rgb: 243, 247, 255;
  --error: #c0303d; /* form messages: 5:1 and more on the dialog */
  /* The type floor (the user found the small text too small, November
     2026): the real text below the headings takes one of these steps, one
     pixel less on phones (below). K caps labels (tracked 0.12em), S small
     text, A actions (AH the header button), SB small body, B body; inputs
     are 16px everywhere (iOS zooms into anything smaller). The mock-ups
     (Branchen device, deck stage, business card, drone) are pictures and
     keep their own sizes. */
  --t-k: 12px;
  --t-s: 14px;
  --t-a: 15px;
  --t-ah: 14px;
  --t-sb: 16px;
  --t-b: 17px;
}
@media (max-width: 740px) {
  :root {
    --t-k: 11px;
    --t-s: 13px;
    --t-a: 14px;
    --t-ah: 13px;
    --t-sb: 15px;
    --t-b: 16px;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  isolation: isolate;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
/* Thin line icons replace the arrow glyphs (which render as emoji on phones) */
.ico {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------------
   World: fixed background with the 3D fibre network canvas
   ------------------------------------------------------------------ */
#world {
  position: fixed;
  inset: 0;
  z-index: -2;
  /* the light world */
  background:
    radial-gradient(ellipse at 50% 14%, #ffffff, transparent 58%),
    radial-gradient(ellipse at 88% 78%, #d6e3fb, transparent 48%),
    radial-gradient(ellipse at 10% 92%, #dde8fc, transparent 45%), linear-gradient(#eef3fd, #e8effc);
  pointer-events: none;
  overflow: hidden;
}
#network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* Soft focus while the chapter scene is in view (studio.js sets --net-k/--net-blur) */
html.net-soft #network {
  filter: blur(var(--net-blur, 0px));
  opacity: calc(1 - var(--net-k, 0) * 0.22);
}
.world-light {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at var(--light-x, 60%) var(--light-y, 45%),
    #fff9,
    transparent 55%
  );
  mix-blend-mode: soft-light;
  opacity: calc(1 - var(--dark));
}
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath d='M0 0h160v160H0z' fill='%23839ac3' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Lens flare overlay: above the page, below the reading line and the veil */
.lg-flare {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  pointer-events: none;
  mix-blend-mode: multiply; /* blue light on the light page */
  opacity: 0;
  transition: opacity 0.3s;
}
.reading-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--scroll, 0));
  transform-origin: 0 0;
  background: linear-gradient(90deg, #003dbe, #7eacff);
  z-index: 50;
}

/* ------------------------------------------------------------------
   Header: one for every studio page, before <main>. On the homepage it
   docks through studio.js (html.brand-fly/-docked, below with the hero);
   on the service pages it stands docked from the start (.site-header--docked)
   ------------------------------------------------------------------ */
.site-header {
  height: 112px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.3px;
}
.brand img {
  width: 44px;
  height: 40px;
  object-fit: contain;
}
.brand small {
  display: block;
  font-size: 6px;
  font-weight: 500;
  letter-spacing: 2.6px;
  color: var(--label);
  margin-top: 5px;
}
nav {
  display: flex;
  gap: 40px;
  font-size: var(--t-s);
  color: var(--muted);
}
/* every other <nav> (breadcrumb, menu, footer, part index) sets its own
   display, gap, size and colour */
.site-header .header-nav {
  color: var(--ink);
  font-weight: 500;
}
.site-header .header-nav a {
  white-space: nowrap;
}
.site-header .header-nav a.is-current {
  color: var(--accent);
}
/* tablets get the links closer together and a step smaller */
@media (max-width: 900px) {
  .site-header .header-nav {
    gap: 20px;
    font-size: 13px;
  }
}
@media (max-width: 780px) {
  .site-header .header-nav {
    gap: 12px;
  }
}
/* below that there is no room beside the brand and the button: the menu takes over */
@media (max-width: 740px) {
  .site-header .header-nav {
    display: none;
  }
}
/* In the light world the header button carries a blue outline */
.site-header .header-cta {
  color: var(--ink);
  font-size: var(--t-ah);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border-color: color-mix(in oklab, var(--accent) 55%, var(--edge));
}
.site-header .brand-emblem {
  display: block;
  width: clamp(96px, 8vw, 124px);
  height: auto;
  overflow: visible;
}
@media (max-width: 740px) {
  .site-header {
    gap: 12px;
  }
  /* brand on the left, the button and the menu on the right */
  .site-header .header-cta {
    margin-left: auto;
  }
  .site-header .brand-emblem {
    width: 96px;
  }
}
/* the narrowest phones: the button waits in the menu (and in every hero) */
@media (max-width: 374px) {
  .site-header .header-cta {
    display: none;
  }
}

/* Phone menu: a <details> in the header, so it works without the script
   (studio.js closes it after a choice, on Escape and on a tap outside).
   Shown up to 740px, where the header's own links are hidden. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.nav-menu {
  display: none;
  position: relative;
}
@media (max-width: 740px) {
  .nav-menu {
    display: block;
  }
}
/* centred absolutely: older Safari ignores grid and flex on <summary> itself */
.nav-menu-toggle {
  list-style: none;
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--chip-bg);
  border: 1px solid var(--edge);
  box-shadow: 0 2px 0 var(--chip-sh);
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-menu-toggle::-webkit-details-marker {
  display: none;
}
.nav-menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
/* on whole pixels (a fixed top, no -50% of its height): at 1x the 1.5px bars
   become 1px, and centred by transform they fell between two pixel rows and
   all but vanished */
.nav-menu-icon {
  position: absolute;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  display: grid;
  gap: 4px;
  width: 18px;
}
/* the bars are borders, so they stay visible in forced colours too. They turn
   into the X in two steps, each its own property with its own delay: opening,
   the outer bars meet in the middle while the middle one shrinks away, then
   they turn; closing (.is-closing while the menu plays out, studio.js), they
   turn back first, then part. */
.nav-menu-icon i {
  display: block;
  height: 0;
  border-top: 1.5px solid currentColor;
  border-radius: 2px;
  transition:
    rotate 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    translate 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) 0.16s,
    scale 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) 0.16s,
    opacity 0.12s linear 0.18s;
}
.nav-menu[open]:not(.is-closing) .nav-menu-icon i {
  transition:
    translate 0.18s cubic-bezier(0.4, 0, 0.2, 1),
    scale 0.18s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.1s linear 0.08s,
    rotate 0.34s cubic-bezier(0.3, 0.8, 0.3, 1) 0.16s;
}
.nav-menu[open]:not(.is-closing) .nav-menu-icon i:nth-child(1) {
  translate: 0 5.5px;
  rotate: 45deg;
}
.nav-menu[open]:not(.is-closing) .nav-menu-icon i:nth-child(2) {
  scale: 0 1;
  opacity: 0;
}
.nav-menu[open]:not(.is-closing) .nav-menu-icon i:nth-child(3) {
  translate: 0 -5.5px;
  rotate: -45deg;
}
/* a soft veil over the page while the menu is open: a plain layer that only
   fades (no blur), larger than the window wherever the header stands (fixed
   would place it against the docked header's transformed content). With the
   script (.is-bound) a tap on it only closes the menu, also while it fades,
   so nothing beneath it is hit by accident; without, it lets taps through. */
.nav-menu[open]::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: calc(100vw + 240px);
  height: calc(100vh + 320px);
  height: calc(100lvh + 320px);
  background: color-mix(in oklab, var(--ink) 10%, transparent);
  pointer-events: none;
  animation: menu-fade 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.nav-menu.is-bound[open]::before {
  pointer-events: auto;
}
/* the homepage's header before the script has fixed it (or without the
   script) scrolls with the page and nothing in it is transformed: there the
   veil is fixed to the window, an absolute one would widen the page */
html:not(.brand-fly) .site-header:not(.site-header--docked) .nav-menu[open]::before {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
}
.nav-menu.is-out::before {
  animation: menu-fade-out 0.24s cubic-bezier(0.4, 0, 1, 1) forwards;
}
@media (forced-colors: active) {
  .nav-menu[open]::before {
    display: none;
  }
}
/* in the header's stacking context, above the page; its own ground keeps it
   readable. A phone held sideways cannot show the whole list: it scrolls. */
.nav-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(340px, 88vw);
  max-height: calc(100vh - 120px);
  max-height: calc(100svh - 120px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 22px 22px;
  border-radius: 18px;
  border: 1px solid var(--edge);
  background: rgba(var(--veil-rgb), 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    0 2px 0 var(--chip-sh),
    0 22px 36px var(--sh-soft);
  /* it unfolds from the toggle: grows out of a round drop just below it,
     the clip a little slower than the fade and the lift */
  transform-origin: calc(100% - 22px) -34px;
  animation:
    menu-in 0.46s cubic-bezier(0.16, 1, 0.3, 1) backwards,
    menu-unfold 0.56s cubic-bezier(0.3, 0.75, 0.2, 1) backwards;
}
@keyframes menu-in {
  from {
    opacity: 0;
    translate: 0 -8px;
    scale: 0.94;
  }
}
/* the open clip reaches past the shadow; after the animation there is none */
@keyframes menu-unfold {
  from {
    clip-path: inset(0 0 calc(100% - 44px) calc(100% - 44px) round 22px);
  }
  to {
    clip-path: inset(-24px -48px -72px -48px round 18px);
  }
}
/* closing (studio.js): .is-closing lets taps through to the veil, .is-out
   swaps in the closing animations; the closed menu keeps .is-out until the
   next opening, so the opening's names always come back new */
.nav-menu.is-closing .nav-menu-panel {
  pointer-events: none;
}
.nav-menu.is-out .nav-menu-panel {
  animation: menu-out 0.24s cubic-bezier(0.4, 0, 1, 1) forwards;
}
@keyframes menu-out {
  from {
    clip-path: inset(-24px -48px -72px -48px round 18px);
  }
  to {
    opacity: 0;
    translate: 0 -6px;
    scale: 0.96;
    clip-path: inset(0 0 calc(100% - 44px) calc(100% - 44px) round 22px);
  }
}
/* the links come in one after another (--i: their place), the button last;
   closing, they fade together before the panel folds away */
.nav-menu-list > li > a,
.nav-menu-sub a,
.nav-menu .nav-menu-cta {
  animation: menu-item 0.42s cubic-bezier(0.16, 1, 0.3, 1) calc(0.08s + var(--i, 0) * 0.035s)
    backwards;
}
/* Startseite (0), Leistungen (1) and its five services (2-6), Unser Ansatz
   (7), the button (8) */
.nav-menu-list > li:nth-child(2) > a {
  --i: 1;
}
.nav-menu-sub li:nth-child(1) a {
  --i: 2;
}
.nav-menu-sub li:nth-child(2) a {
  --i: 3;
}
.nav-menu-sub li:nth-child(3) a {
  --i: 4;
}
.nav-menu-sub li:nth-child(4) a {
  --i: 5;
}
.nav-menu-sub li:nth-child(n + 5) a {
  --i: 6;
}
.nav-menu-list > li:nth-child(n + 3) > a {
  --i: 7;
}
.nav-menu .nav-menu-cta {
  --i: 8;
}
/* from above, like the panel: a shift down would overflow the scrolling
   panel for a moment and could flash a scrollbar */
@keyframes menu-item {
  from {
    opacity: 0;
    translate: 0 -6px;
  }
}
/* the services' hairline draws down while their links arrive */
.nav-menu-sub {
  animation: menu-line 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s backwards;
}
@keyframes menu-line {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0);
  }
}
/* a closed <details> may keep its panel's last style, and an animation only
   runs again when its name changed: the closing style drops the line's
   (it is drawn by then), so it draws again on the next opening */
.nav-menu.is-out .nav-menu-sub {
  animation: none;
}
.nav-menu.is-out .nav-menu-panel :is(a, .nav-menu-cta) {
  animation: menu-fade-out 0.14s cubic-bezier(0.4, 0, 1, 1) forwards;
}
@keyframes menu-fade {
  from {
    opacity: 0;
  }
}
@keyframes menu-fade-out {
  to {
    opacity: 0;
  }
}
.nav-menu-panel nav {
  display: block;
  font-size: inherit;
  color: inherit;
}
.nav-menu-list,
.nav-menu-sub {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu-list > li > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.nav-menu-sub {
  margin: 0 0 6px 14px;
  padding-left: 12px;
  border-left: 1px solid var(--hair-soft);
}
.nav-menu-sub a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 14px;
  color: var(--link);
}
.nav-menu-panel a:hover {
  color: var(--accent);
}
.nav-menu-panel a:focus-visible {
  outline-offset: 2px;
}
.nav-menu-panel a.is-current {
  color: var(--accent);
}
/* the calmer fill of the hero's button; sized here, not by the phone .solid */
.nav-menu .nav-menu-cta {
  width: 100%;
  margin-top: 14px;
  font-size: var(--t-a);
  font-weight: 600;
  padding: 15px 22px;
  gap: 16px;
  background: linear-gradient(135deg, var(--h1-a), var(--accent));
}

/* ------------------------------------------------------------------
   Page transitions. Every link between the site's pages is a full page
   load (studio pages and legal pages all load this file); browsers with
   cross-document view transitions fade the old page out with a slight
   lift and let the new one rise in, the others simply navigate. The
   page's picture in a view transition is opaque (its ground included),
   so the fixed fibre world travels in it: a world of its own would sit
   hidden under that picture or cover the page. It barely shows: its
   ground is a soft gradient, the old net fades within a quarter second
   and the new one is drawn by the script into the rising page. The
   header stands still and only cross-fades between its states; it is
   named only while a transition runs, because a named element is a
   backdrop root and would cut its frosted bar off from the page. Same
   page fragments (#kontakt) are no navigation and stay as they were.
   ------------------------------------------------------------------ */
@view-transition {
  navigation: auto;
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}
/* the homepage's header only once the script has fixed it (html.brand-fly).
   Its bar, logo, links, button and menu toggle each travel on their own, so
   between the homepage's top state and the docked header the content glides
   up by --dock while the bar and the logo fade in. Not while the contact
   dialog is open (its privacy link, a swipe back): named, the header would
   be lifted out of the page's picture and drawn over the dialog and its veil,
   so it leaves with the page beneath them. */
html:active-view-transition:not(:has(dialog[open])) .site-header--docked,
html:active-view-transition.brand-fly:not(:has(dialog[open])) .site-header {
  view-transition-name: site-header;
  view-transition-class: site-header;
}
html:active-view-transition:not(:has(dialog[open])) .site-header--docked .brand,
html:active-view-transition.brand-fly:not(:has(dialog[open])) .site-header .brand {
  view-transition-name: header-brand;
  view-transition-class: site-header;
}
html:active-view-transition:not(:has(dialog[open])) .site-header--docked .header-nav,
html:active-view-transition.brand-fly:not(:has(dialog[open])) .site-header .header-nav {
  view-transition-name: header-nav;
  view-transition-class: site-header;
}
html:active-view-transition:not(:has(dialog[open])) .site-header--docked .header-cta,
html:active-view-transition.brand-fly:not(:has(dialog[open])) .site-header .header-cta {
  view-transition-name: header-cta;
  view-transition-class: site-header;
}
html:active-view-transition:not(:has(dialog[open])) .site-header--docked .nav-menu,
html:active-view-transition.brand-fly:not(:has(dialog[open])) .site-header .nav-menu {
  view-transition-name: header-menu;
  view-transition-class: site-header;
}
/* what shows through while both pictures are partly faded: the page's ground */
::view-transition {
  background: var(--bg);
}
::view-transition-old(root) {
  animation: page-out 0.26s cubic-bezier(0.3, 0, 0.5, 1) both;
}
::view-transition-new(root) {
  animation: page-in 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}
@keyframes page-out {
  to {
    opacity: 0;
    translate: 0 -10px;
  }
}
@keyframes page-in {
  from {
    opacity: 0;
    translate: 0 14px;
  }
}
::view-transition-group(*.site-header),
::view-transition-old(*.site-header),
::view-transition-new(*.site-header) {
  animation-duration: 0.4s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
/* a header on one side only (to the homepage, whose header the script fixes
   after the page has appeared; from or to a legal page) travels with its page */
::view-transition-old(*.site-header):only-child {
  animation: page-out 0.26s cubic-bezier(0.3, 0, 0.5, 1) both;
}
::view-transition-new(*.site-header):only-child {
  animation: page-in 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

/* ------------------------------------------------------------------
   Buttons: glass pills with a slow flowing light inside
   ------------------------------------------------------------------ */
.solid,
.mini-solid {
  --sx: 0px;
  --sy: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: linear-gradient(160deg, var(--surface-a), var(--surface-b));
  border: 1px solid var(--edge);
  border-radius: 40px;
  padding: 15px 23px;
  font-size: var(--t-a);
  letter-spacing: 0.01em;
  position: relative;
  box-shadow:
    0 1px 0 var(--edge) inset,
    0 2px 0 var(--sh-1),
    0 12px 28px var(--sh-soft);
  transform: translate3d(var(--sx), var(--sy), 0);
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s;
  overflow: hidden;
  touch-action: manipulation;
}
.solid .ico {
  width: 15px;
  height: 15px;
}
.solid::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 32%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 68%
  );
  background-size: 220% 100%;
  animation: flowglow 9s ease-in-out infinite alternate;
  opacity: 0.22;
  transition: opacity 0.6s;
}
.solid:hover::after {
  opacity: 0.6;
  animation-duration: 4s;
}
.solid:hover,
.mini-solid:hover {
  transform: translate3d(var(--sx), calc(var(--sy) - 2px), 0);
  box-shadow:
    0 1px 0 var(--edge) inset,
    0 2px 0 var(--sh-1),
    0 18px 36px var(--sh-soft);
}
.solid:active,
.mini-solid:active {
  transform: translateY(1px) scale(0.985);
  transition-duration: 0.15s;
}
.blue-solid {
  color: #fff;
  border-color: #8ab6ff99;
  background: linear-gradient(
    115deg,
    #1b5df6 0%,
    #4f8dff 28%,
    #1a53e6 52%,
    #62a0ff 76%,
    #1b5df6 100%
  );
  background-size: 220% 100%;
  animation:
    flowglow 10s ease-in-out infinite alternate,
    glowbreathe 6s ease-in-out infinite alternate;
  box-shadow:
    0 1px 0 #ffffff66 inset,
    0 -1px 0 #0a3ab5 inset,
    0 10px 26px var(--blue-glow),
    0 0 0 1px #3b78ff33;
}
.blue-solid::after {
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 70%
  );
  background-size: 220% 100%;
  filter: blur(3px);
  opacity: 0.35;
}
.blue-solid:hover {
  box-shadow:
    0 1px 0 #ffffff77 inset,
    0 -1px 0 #0a3ab5 inset,
    0 16px 38px var(--blue-glow),
    0 0 0 1px #5b90ff66;
}
.blue-solid:active {
  box-shadow:
    0 1px 0 #ffffff44 inset,
    0 6px 16px var(--blue-glow);
}
.mini-solid {
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 20px;
  flex: none;
}
@keyframes flowglow {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 100% 0;
  }
}
@keyframes glowbreathe {
  from {
    filter: saturate(1);
  }
  to {
    filter: saturate(1.2) brightness(1.05);
  }
}
/* A light runs once around the edge while hovered or focused */
@property --fibre-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.solid::before,
.mini-solid::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: conic-gradient(
    from var(--fibre-angle),
    transparent 0 66%,
    var(--fibre) 84%,
    #fff 88%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.5s;
}
.solid:hover::before,
.solid:focus-visible::before,
.mini-solid:hover::before,
.mini-solid:focus-visible::before {
  opacity: 0.8;
  animation: fibretrace 2.6s linear infinite;
}
@keyframes fibretrace {
  to {
    --fibre-angle: 360deg;
  }
}
/* A faint ring of light spreads from the pressed point */
.lg-ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  border: 1px solid var(--fibre);
  box-shadow: 0 0 10px var(--fibre-glow);
  pointer-events: none;
  opacity: 0.5;
  animation: lgripple 1.2s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes lgripple {
  to {
    width: 260px;
    height: 260px;
    margin: -130px 0 0 -130px;
    opacity: 0;
  }
}

/* ------------------------------------------------------------------
   Hero: pinned while the world turns dark ("in place" scrolling)
   ------------------------------------------------------------------ */
.hero-pin {
  position: relative;
}
.hero {
  position: relative;
  min-height: 680px;
  height: 100vh;
  height: 100svh;
  max-height: 1200px;
  overflow: hidden;
  overflow: clip;
  padding: 161px 7% 75px;
}
.hero-heading {
  position: relative;
  z-index: 3;
  margin-top: 65px;
  max-width: 700px;
  pointer-events: none;
  transform: translateY(calc(var(--pin) * -18px));
}
.hero-heading > a {
  pointer-events: auto;
}
h1 {
  font-family: Manrope, sans-serif;
  font-weight: 500;
  font-size: clamp(50px, 5.4vw, 88px);
  letter-spacing: -4px;
  line-height: 1.05;
}
.line {
  display: block;
  animation: resolve 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.line.blue {
  background: linear-gradient(130deg, var(--h1-a), var(--h1-b) 45%, var(--h1-c));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation-delay: 0.15s;
}
.hero-heading p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: min(700px, 41vw); /* clear of the card on narrower desktops */
  margin: 28px 0 30px;
  animation: resolve 1.5s 0.25s both;
}
.hero-heading > a {
  animation: resolve 1.5s 0.4s both;
}

/* The business card: turns with the scroll while the hero is pinned */
.object-stage {
  position: absolute;
  width: 47%;
  max-width: 900px; /* on very wide screens the card would otherwise outgrow the stage */
  height: 490px;
  right: 3%;
  top: 30%;
  perspective: 1800px;
  z-index: 2;
  touch-action: pan-y;
  /* --cdx/--cdy/--cs: the intro parks the card at the viewport centre */
  transform: translate(var(--cdx, 0px), calc(var(--cdy, 0px) + var(--pin) * -30px))
    scale(var(--cs, 1));
}
.object-rig {
  width: 83%;
  height: auto;
  aspect-ratio: 1.62;
  position: absolute;
  top: 80px;
  left: 8%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform: translateY(var(--float, 0px)) rotateX(var(--rx, 16deg)) rotateY(var(--ry, -23deg))
    rotateZ(var(--rz, -12deg));
  will-change: transform;
}
#identity {
  display: block;
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  cursor: pointer;
  outline-offset: 18px;
}
.slab {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform: rotateY(var(--flip, 0deg));
  /* the flip angle is eased in studio.js; no CSS transition on top */
  will-change: transform;
  backface-visibility: visible;
}
/* Blue edge layers: a hollow rim so nothing blue can show through the face
   even if the browser mis-sorts the 3D layers. */
.edge {
  position: absolute;
  inset: 0;
  border-radius: 17px;
  background: linear-gradient(135deg, #a9cbff, #075eff 35%, #003aaf 80%, #3a88ff);
  will-change: transform;
  backface-visibility: visible;
  padding: 7px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
}
.e1 {
  transform: translateZ(-4px);
}
.e2 {
  transform: translateZ(-2px);
}
.e3 {
  transform: translateZ(0);
}
.e4 {
  transform: translateZ(2px);
}
.e5 {
  transform: translateZ(4px);
}
.card-side {
  position: absolute;
  inset: 0;
  border-radius: 17px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  overflow: hidden;
  border: 1px solid #fff;
  background:
    radial-gradient(ellipse at var(--shine-x, 50%) var(--shine-y, 30%), #fff 0%, transparent 65%),
    linear-gradient(135deg, #fff, #ebf1fc 45%, #cddcf5);
  box-shadow:
    0 1px 1px #fff inset,
    0 0 2px #fff;
  transform: translateZ(11px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: flat;
  contain: paint;
  will-change: transform;
}
.card-side:after {
  content: "";
  position: absolute;
  inset: -150%;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 44%, #fff7 49%, transparent 54%);
  transform: translateX(var(--sweep, -20%));
  opacity: 0.8;
  will-change: transform;
  backface-visibility: hidden;
}
.card-side.back {
  transform: rotateY(180deg) translateZ(11px);
  background: linear-gradient(140deg, #fbfdff, #dfeaff);
}
.card-label {
  font-size: 7px;
  letter-spacing: 2.5px;
  color: #6f87ac;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-label > span,
.card-label > .ico {
  font-size: 16px;
  color: #2564cd;
}
.card-label > .ico {
  width: 14px;
  height: 14px;
}
.logo-space {
  position: absolute;
  inset: 12% 17% 16%;
  display: grid;
  place-items: center;
}
.logo-space img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 11px 9px #2c599e32);
}
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 9px;
  color: #607ba5;
  line-height: 1.4;
}
.card-footer > span:last-child {
  font-size: 6px;
  letter-spacing: 1.2px;
  text-align: right;
}
.back strong {
  font-family: Manrope;
  font-size: clamp(20px, 2.6vw, 38px);
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.15;
  color: #244d92;
}
.back-contact {
  font-size: 10px;
  line-height: 1.9;
  color: #5d7ba9;
}
.legal {
  font-size: 6px;
  letter-spacing: 0.5px;
  color: #8b9fbc;
}
.object-shadow {
  position: absolute;
  inset: 60% -5% 0;
  background: radial-gradient(ellipse, var(--card-shadow), transparent 65%);
  filter: blur(18px);
  transform: rotateX(65deg) translateX(var(--shadow, 0px));
  will-change: transform;
}
.hero-bottom {
  position: absolute;
  bottom: 38px;
  left: 7%;
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 6px;
  letter-spacing: 1.5px;
  color: var(--label);
  z-index: 4;
  opacity: calc(1 - var(--pin) * 0.85);
}
.scroll-track {
  width: 1px;
  height: 34px;
  background: var(--hair-soft);
  position: relative;
}
.scroll-track i {
  position: absolute;
  top: 0;
  width: 1px;
  height: 10px;
  background: var(--accent);
  box-shadow: 0 0 6px var(--fibre-glow);
  animation: scrollmark 2.6s ease-in-out infinite;
}
/* Watermark: the word mark, embossed on the light surface, at the bottom
   right. Sized by the viewport height too, so it stays below the card on
   short screens. */
.hero-watermark {
  position: absolute;
  right: 3%;
  bottom: 59px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  z-index: -1;
}
.wm-word {
  font-family: Manrope;
  font-weight: 800;
  font-size: min(4.2vw, 7vh, 64px);
  line-height: 1;
  letter-spacing: 0.1em;
  color: #fff;
  opacity: 0.75;
  text-shadow:
    0 2px 0 #cfddf5,
    0 10px 22px rgba(23, 62, 150, 0.16);
}

/* ------------------------------------------------------------------
   Dimension: three chapters that flow with the page; the logo with its
   halo of light rings keeps them company (sticky beside the copy)
   ------------------------------------------------------------------ */
.dimension {
  position: relative;
  overflow: clip; /* the halo canvas is wider than the sculpture; never widen the page */
  padding: 120px 8% 110px;
  background: linear-gradient(
    90deg,
    rgba(var(--veil-rgb), 0.92),
    rgba(var(--veil-rgb), 0.33) 55%,
    rgba(var(--veil-rgb), 0.02)
  );
}
.dimension-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}
.section-kicker {
  display: flex;
  justify-content: space-between;
  font-size: var(--t-k);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.45;
  color: var(--label);
}
.narrative {
  display: flex;
  flex-direction: column;
  gap: clamp(80px, 12vh, 140px);
  padding: 40px 0 80px;
}
.thought {
  max-width: 560px;
}
/* The Branchen scene swaps in place (by time, not by the scroll): the block
   that has passed sits above, the one still to come below; the active block
   drifts a little with the cycle (--drift). */
.industry {
  position: relative;
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  filter: blur(6px);
  transform: translateY(56px);
  transition:
    opacity 0.7s,
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s,
    visibility 0.95s;
}
.industry.above {
  transform: translateY(-56px);
}
.industry.active {
  opacity: 1;
  visibility: visible;
  filter: none;
  transform: translateY(var(--drift, 0px));
}
.tiny {
  font-size: var(--t-k);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.45;
  color: var(--label);
}
.thought h2 {
  font-size: clamp(42px, 5vw, 76px);
  font-family: Manrope;
  font-weight: 400;
  letter-spacing: -3px;
  line-height: 1.13;
  margin: 25px 0;
}
.thought p {
  font-size: var(--t-b);
  line-height: 1.7;
  color: var(--muted);
  /* where a narrow column breaks a line, no word is left alone */
  text-wrap: pretty;
}
/* The logo and its halo of light rings are drawn by studio.js on #rings;
   the hidden image is the canvas's source. */
.sculpture-wrap {
  position: sticky;
  top: calc(50vh - 190px);
  display: flex;
  justify-content: center;
}
.sculpture {
  position: relative;
  width: 380px;
  height: 380px;
}
#rings {
  position: absolute;
  inset: -35%;
  width: 170%;
  height: 170%;
  display: block;
}
.sculpture-core {
  display: none;
}

/* ------------------------------------------------------------------
   Expertise: a deck of four swipeable cards; the mock-up stands in the
   window of the current card and stays put while the cards slide beneath
   it (the sheets take a different pose per card)
   ------------------------------------------------------------------ */
.expertise {
  position: relative;
  padding: 110px 8% 110px;
  background: rgba(var(--veil-rgb), 0.85);
  border-top: 1px solid var(--edge);
}
.expertise-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 30px;
}
.expertise-title h2 {
  font-size: clamp(36px, 4vw, 60px);
  font-family: Manrope;
  font-weight: 400;
  letter-spacing: -2.5px;
  line-height: 1.18;
}
.expertise-title h2 span {
  color: var(--dim-heading);
}
.expertise-title p {
  font-size: var(--t-sb);
  line-height: 1.65;
  color: var(--muted);
  text-align: right;
}
/* A deck of wide cards, each with a window beside its copy. The mock-up
   stage floats over the window of the card at the start of the track and
   does not scroll: the cards slide beneath it and it re-poses to the new
   card. The track is a native scroll-snap scroller (touch, trackpad);
   studio.js adds mouse drag, the arrow buttons and the arrow keys. */
.service-deck {
  margin-top: 70px;
}
.deck-frame {
  --peek: 56px; /* how much of the next card shows */
  --bleed: 18px; /* room on the left for the soft shadow: one gap wide, so the previous card stays out of sight; the mask fades it out */
  --gap: 18px;
  --win: 0.46; /* the window column's share of a card */
  --win-m: 14px; /* the window's inset from the card edge */
  position: relative;
  display: flow-root; /* keeps the track's negative margins inside, so the frame is exactly one card tall */
}
.service-track {
  position: relative;
  display: flex;
  gap: var(--gap);
  list-style: none;
  margin: -20px 0 -60px calc(-1 * var(--bleed));
  padding: 20px 0 60px var(--bleed);
  scroll-padding-left: var(--bleed);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  /* both ends fade: on the left the shadow strip runs out softly instead of
     ending in a hard line (opaque again before the focus ring, 4-6px out) */
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 calc(var(--bleed) - 7px),
    #000 calc(100% - var(--peek) + 8px),
    transparent
  );
}
.service-track:focus-visible {
  outline: none; /* the ring goes round the current card instead */
}
.service-track::-webkit-scrollbar {
  display: none;
}
/* a spacer after the last card so it, too, can rest at the start */
.service-track::after {
  content: "";
  flex: 0 0 calc(var(--peek) - var(--gap));
}
.service-track.dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}
/* .service is the snap target; the visible card is a child so that its
   scale does not move the snap position */
.service {
  flex: 0 0 calc(100% - var(--peek));
  display: flex;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.service-body {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 400px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: calc(var(--win) * 100%) 1fr;
  border-radius: 18px;
  background: linear-gradient(150deg, var(--surface-a), var(--surface-b));
  /* the edge is an inset shadow, not a border, so the window lines up with the stage */
  box-shadow:
    inset 0 0 0 1px var(--edge),
    0 4px 0 var(--sheet-sh1),
    0 7px 0 var(--sheet-sh2),
    0 22px 36px var(--sh-soft);
  position: relative;
  transform: scale(0.96);
  transform-origin: 0 50%; /* the next card keeps its left edge, so it still peeks in */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service.active .service-body {
  transform: none;
}
/* A card that is not the current one is veiled in the page's ground (it
   used to fade to opacity 0.55), but its text stays above the veil: the
   peeking cards' text is on screen and keeps 4.5:1 (WCAG 1.4.3; at 0.55
   the tags fell to 2.2:1) */
.service-body::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgb(var(--veil-rgb));
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.5s;
}
.service.active .service-body::after {
  opacity: 0;
}
/* the window slides with its card; its dot grid shows the motion under the stage */
.service-window {
  position: relative;
  margin: var(--win-m) 0 var(--win-m) var(--win-m);
  border-radius: 12px;
  background: linear-gradient(160deg, var(--chip-bg), var(--surface-a));
  box-shadow:
    inset 0 0 0 1px var(--edge),
    inset 0 2px 12px var(--sh-soft);
}
/* the dot grid sits on its own layer above the window's inset shading */
.service-window::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle, var(--dots-line) 1px, transparent 1.6px) 0 0 / 20px 20px;
}
.service-copy {
  position: relative;
  z-index: 1; /* above its card's veil */
  align-self: center;
  padding: 40px 46px 38px 44px;
}
.service-track:focus-visible .service.active .service-body {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.deck-nav {
  position: relative;
  z-index: 1; /* above the track's shadow room, which reaches down to here */
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.deck-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--link);
  background: var(--chip-bg);
  border: 1px solid var(--edge);
  border-radius: 50%;
  box-shadow: 0 2px 0 var(--chip-sh);
  cursor: pointer;
  transition:
    color 0.4s,
    opacity 0.4s,
    transform 0.4s;
}
.deck-btn:hover:not(:disabled) {
  color: var(--ink);
  transform: translateY(-1px);
}
.deck-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.deck-dots {
  display: flex;
  gap: 2px;
}
.deck-dot {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.deck-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--chip-sh);
  transition:
    background 0.4s,
    transform 0.4s;
}
.deck-dot[aria-current="true"]::before {
  background: var(--accent);
  transform: scale(1.3);
}
/* High contrast drops the shadows and backgrounds that draw the deck:
   outline the cards and windows, and draw the dots in system colours */
@media (forced-colors: active) {
  .service-body,
  .service-window {
    outline: 1px solid CanvasText;
    outline-offset: -1px;
  }
  .deck-dot::before {
    forced-color-adjust: none;
    box-sizing: border-box;
    border: 1px solid ButtonText;
    background: Canvas;
  }
  .deck-dot[aria-current="true"]::before {
    border-color: Highlight;
    background: Highlight;
  }
}
/* The stage covers the window of the card at the start of the track */
.service-art {
  position: absolute;
  z-index: 2;
  top: var(--win-m);
  bottom: var(--win-m);
  left: var(--win-m);
  width: calc((100% - var(--peek)) * var(--win) - var(--win-m));
  pointer-events: none; /* drags and swipes reach the track beneath */
  perspective: 1200px;
  --art-rotate: -25deg;
}
/* --art-dy centres each pose's projected stack (with its edges) in the window */
.art-stack {
  position: absolute;
  width: 240px;
  height: 175px;
  --art-dy: -6px;
  top: calc(50% - 88px + var(--art-dy));
  left: calc(50% - 120px);
  transform-style: preserve-3d;
  transform: rotateX(52deg) rotateZ(var(--art-rotate));
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.sheet {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, var(--surface-a), var(--surface-b));
  border: 1px solid var(--edge);
  border-radius: 10px;
  box-shadow:
    0 4px 0 var(--sheet-sh1),
    0 7px 0 var(--sheet-sh2),
    0 20px 30px var(--sh-soft);
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.sheet-1 {
  transform: translateZ(55px);
  padding: 16px;
}
.sheet-2 {
  transform: translateZ(5px);
}
.sheet-3 {
  transform: translateZ(-45px);
}
/* The sheet's dots and bars are fibres with slow running light */
.window-dots {
  font-size: 13px;
  color: var(--fibre);
  text-shadow: 0 0 6px var(--fibre-glow);
  letter-spacing: 3px;
  display: block;
  border-bottom: 1px solid var(--fibre-dim);
  padding-bottom: 5px;
}
.mock-bar,
.mock-title {
  position: relative;
  overflow: hidden;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--fibre), var(--fibre-dim));
  box-shadow: 0 0 6px var(--fibre-glow);
}
.mock-bar {
  width: 35%;
  margin-top: 18px;
}
.mock-title {
  width: 68%;
  height: 3px;
  margin-top: 12px;
}
.mock-title.short {
  width: 42%;
}
.mock-bar::after,
.mock-title::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  animation: fibrepulse 7s ease-in-out infinite;
}
.mock-title::after {
  animation-delay: 1.4s;
}
.mock-title.short::after {
  animation-delay: 3s;
}
.mock-blocks {
  display: flex;
  position: relative;
  width: 72%;
  height: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.mock-blocks::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 1px;
  background: var(--fibre-dim);
}
.mock-blocks i {
  display: block;
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fibre);
  box-shadow: 0 0 8px var(--fibre-glow);
}
@keyframes fibrepulse {
  0% {
    left: -30%;
  }
  45%,
  100% {
    left: 100%;
  }
}
.art-orbit {
  position: absolute;
  inset: 20% 5%;
  border: 1px solid var(--hair);
  border-radius: 50%;
  transform: rotateX(65deg);
  box-shadow: 0 1px 0 var(--edge);
}
.service-no {
  display: block;
  font-size: var(--t-s);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--label);
  margin-bottom: 14px;
}
.service h3 {
  font-family: Manrope;
  font-weight: 500;
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 18px 0;
}
.service p {
  font-size: var(--t-sb);
  line-height: 1.65;
  color: var(--muted);
}
.tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 20px 0 0;
}
.tags span {
  font-size: var(--t-s);
  border: 1px solid var(--edge);
  border-radius: 20px;
  background: var(--chip-bg);
  padding: 8px 12px;
  box-shadow: 0 2px 0 var(--chip-sh);
  color: var(--link);
}
.expertise-cta {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}
.service-art[data-mode="1"] .art-stack {
  --art-dy: 5px;
  transform: rotateX(58deg) rotateZ(25deg);
}
.service-art[data-mode="1"] .sheet-1 {
  transform: translateZ(85px) translateX(20px);
}
.service-art[data-mode="1"] .sheet-2 {
  transform: translateZ(5px) translateX(-20px);
}
.service-art[data-mode="2"] .art-stack {
  --art-dy: 8px;
  transform: rotateX(20deg) rotateY(-25deg) rotateZ(-8deg);
}
.service-art[data-mode="2"] .sheet-1 {
  transform: translateZ(80px) translateY(-15px);
}
.service-art[data-mode="2"] .sheet-3 {
  transform: translateZ(-65px) translateY(15px);
}
.service-art[data-mode="3"] .art-stack {
  --art-dy: 10px;
  transform: rotateX(55deg) rotateZ(-45deg);
}
.service-art[data-mode="3"] .sheet-1 {
  transform: translateZ(95px) translateX(30px);
}
.service-art[data-mode="3"] .sheet-2 {
  transform: translateZ(35px);
}
.service-art[data-mode="3"] .sheet-3 {
  transform: translateZ(-35px) translateX(-30px);
}
/* ------------------------------------------------------------------
   Foto & Video: a drone flies a route down the section as the page scrolls
   (not pinned: it keeps a little below the middle of the screen while the
   page moves) and "takes" the two aerial shots it passes, then lands
   beside the photo offers. The images are colourful flat illustrations.
   ------------------------------------------------------------------ */
.flight {
  position: relative;
  padding: 110px 8% 110px;
  background: rgba(var(--veil-rgb), 0.82);
  border-top: 1px solid var(--edge);
  /* the drone's shadow and ring may reach past the edge on narrow screens */
  overflow: hidden;
  overflow: clip;
}
.flight-zone {
  --drone-size: 118px;
  position: relative;
  margin-top: 76px;
}
/* The route: a dotted line through the shots down to the landing pad; the
   part already flown is drawn solid. studio.js writes the path. */
.flight-route {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.flight-route path {
  fill: none;
  stroke-linecap: round;
}
.route-line {
  stroke: var(--hair);
  stroke-width: 1.5;
  stroke-dasharray: 1 9;
}
.route-done {
  stroke: var(--fibre);
  stroke-width: 1.5;
  opacity: 0.5;
}
.shots {
  display: flex;
  flex-direction: column;
  gap: 90px;
}
.shot {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}
.shot:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}
.shot:nth-child(even) .shot-frame {
  order: 2;
}
/* a photo print: white mat, blue edge like the cards */
.shot-frame,
.ground-photo {
  position: relative;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(150deg, var(--surface-a), var(--surface-b));
  box-shadow:
    inset 0 0 0 1px var(--edge),
    0 4px 0 var(--sheet-sh1),
    0 7px 0 var(--sheet-sh2),
    0 22px 36px var(--sh-soft);
}
.shot-frame img,
.ground-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: var(--mock-block);
}
.shot-frame img {
  /* never taller than the screen (a phone held sideways, a very wide window): the picture is cropped instead */
  max-height: 72vh;
  transition:
    opacity 0.7s,
    filter 0.7s,
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
/* viewfinder corners over a shot the drone has not taken yet */
.shot-frame::before {
  content: "";
  position: absolute;
  inset: 26px;
  z-index: 1;
  --c: var(--accent);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 22px 2px,
    linear-gradient(var(--c), var(--c)) 0 0 / 2px 22px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 22px 2px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 2px 22px,
    linear-gradient(var(--c), var(--c)) 0 100% / 22px 2px,
    linear-gradient(var(--c), var(--c)) 0 100% / 2px 22px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 22px 2px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 2px 22px;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.7s;
  pointer-events: none;
}
.shot-flash {
  position: absolute;
  inset: 10px;
  z-index: 1;
  border-radius: 10px;
  background: radial-gradient(
    circle at 50% 45%,
    var(--surface-a),
    color-mix(in oklab, var(--surface-a), transparent 35%) 55%,
    transparent
  );
  opacity: 0;
  pointer-events: none;
}
.shot-copy {
  max-width: 400px;
  transition:
    opacity 0.7s 0.1s,
    transform 0.9s 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.shot:nth-child(even) .shot-copy {
  justify-self: end;
}
.shot-copy h3 {
  font-family: Manrope;
  font-weight: 500;
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 18px 0;
}
/* the shot has no kicker line above its heading (the user had it removed) */
.shot-copy > :first-child {
  margin-top: 0;
}
.shot-copy p,
.ground-head p,
.ground-tile p {
  font-size: var(--t-sb);
  line-height: 1.65;
  color: var(--muted);
}
/* Armed by studio.js: until the drone has passed, a picture waits dim
   behind its viewfinder; taking it flashes and sharpens the picture. The
   text does not wait for the drone: it comes in like every other block,
   as soon as it is on screen (.in). Without the script (and with reduced
   motion) every shot simply shows. */
.flight-zone.armed .shot:not(.taken) img {
  opacity: 0.42;
  filter: blur(6px) saturate(0.6);
  transform: scale(1.03);
}
.flight-zone.armed .shot:not(.taken) .shot-frame::before {
  opacity: 0.75;
}
.flight-zone.armed .shot:not(.taken) .shot-copy:not(.in) {
  opacity: 0;
  transform: translateY(26px);
}
.shot.taken .shot-flash {
  animation: shotflash 1s ease-out;
}
@keyframes shotflash {
  0% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
  }
}
/* The landing row: the heading of the ground photos, the pad beside it */
.flight-landing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  margin-top: 120px;
}
.ground-head {
  max-width: 560px;
}
.ground-head h3 {
  font-family: Manrope;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.2;
  letter-spacing: -1.6px;
  margin: 18px 0;
}
.ground-head h3 span {
  color: var(--dim-heading);
}
.flight-pad {
  flex: none;
  position: relative;
  width: 168px;
  aspect-ratio: 1;
  margin-right: 6%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in oklab, var(--surface-a), transparent 20%) 0 58%,
    transparent 59%
  );
  box-shadow: inset 0 0 0 1px var(--hair);
  transition: box-shadow 0.9s;
}
.flight-pad::before,
.flight-pad::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.flight-pad::before {
  inset: 16%;
  border: 1px dashed var(--hair);
}
.flight-pad::after {
  inset: calc(50% - 3px);
  background: var(--accent);
  box-shadow: 0 0 10px var(--fibre-glow);
}
.flight-pad.on {
  box-shadow:
    inset 0 0 0 1px var(--fibre-dim),
    0 0 0 8px color-mix(in oklab, var(--accent), transparent 90%);
}
/* The drone: studio.js sets --dx/--dy (place on the route), --heading and
   --alt (1 in the air, 0 on the pad). Hidden until the script has placed it. */
.drone {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: var(--drone-size);
  aspect-ratio: 1;
  margin: calc(var(--drone-size) / -2) 0 0 calc(var(--drone-size) / -2);
  transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s;
}
.flight-zone.armed .drone {
  opacity: 1;
}
/* a soft light under the drone lifts it off a busy picture */
.drone::before {
  content: "";
  position: absolute;
  inset: -16%;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    color-mix(in oklab, var(--surface-a), transparent 38%),
    transparent 74%
  );
}
.drone-craft {
  position: absolute;
  inset: 0;
  rotate: var(--heading, 180deg);
  scale: calc(0.84 + var(--alt, 1) * 0.16);
}
.drone-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* the shadow falls to the lower right; the higher the drone, the further away */
.drone-shadow {
  position: absolute;
  inset: 0;
  transform: translate(calc(4px + var(--alt, 1) * 20px), calc(6px + var(--alt, 1) * 28px));
  opacity: calc(0.85 - var(--alt, 1) * 0.35);
}
.drone-shadow i {
  position: absolute;
  inset: 0;
  rotate: var(--heading, 180deg);
  scale: calc(0.84 + var(--alt, 1) * 0.16);
  --s: var(--card-shadow);
  background:
    radial-gradient(circle at 21% 21%, var(--s) 0 13%, transparent 15%),
    radial-gradient(circle at 79% 21%, var(--s) 0 13%, transparent 15%),
    radial-gradient(circle at 21% 79%, var(--s) 0 13%, transparent 15%),
    radial-gradient(circle at 79% 79%, var(--s) 0 13%, transparent 15%),
    radial-gradient(ellipse 15% 21% at 50% 50%, var(--s) 0 98%, transparent);
  filter: blur(5px);
}
/* a ring that studio.js lets expand from the drone when it takes a shot */
.drone-ping {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0;
}
/* rotors spin only while the section is on screen and the drone is in the air */
.rotor-blades {
  transform-box: fill-box;
  transform-origin: center;
}
.flight.live .rotor-blades {
  animation: rotor 0.22s linear infinite;
}
.flight.live .rotor:nth-of-type(even) .rotor-blades {
  animation-direction: reverse;
}
.flight.live .drone-svg {
  animation: dronebob 3.4s ease-in-out infinite alternate;
}
.flight.live .drone-led {
  animation: droneled 1.8s ease-in-out infinite;
}
.rotor-disc {
  transition: opacity 0.8s;
}
.drone.landed .rotor-blades,
.drone.landed .drone-svg {
  animation-play-state: paused;
}
/* on the pad nothing animates any more: the light stays on */
.drone.landed .drone-led {
  animation: none;
}
.drone.landed .rotor-disc {
  opacity: 0;
}
@keyframes rotor {
  to {
    rotate: 360deg;
  }
}
@keyframes dronebob {
  from {
    translate: 0 -2px;
  }
  to {
    translate: 0 3px;
  }
}
@keyframes droneled {
  50% {
    opacity: 0.25;
  }
}
/* The photo offers */
.ground-grid {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.ground-photo {
  padding: 8px;
  border-radius: 16px;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.ground-photo img {
  aspect-ratio: 4 / 5;
  max-height: 70vh;
}
.ground-tile:nth-child(2) {
  transition-delay: 0.08s;
}
.ground-tile:nth-child(3) {
  transition-delay: 0.16s;
}
.ground-tile:nth-child(4) {
  transition-delay: 0.24s;
}
.ground-tile h4 {
  font-family: Manrope;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.3px;
  margin: 22px 0 6px;
  /* long words break at their soft hyphen, or anywhere before they leave the tile */
  overflow-wrap: break-word;
}
@media (hover: hover) and (pointer: fine) {
  .ground-tile:hover .ground-photo {
    transform: translateY(-5px);
  }
}
@media (max-width: 1050px) {
  .flight-zone {
    --drone-size: 100px;
  }
  .shot {
    gap: 44px;
  }
  .shot-copy h3 {
    font-size: 25px;
  }
}
/* stacked: picture above its text, the route weaves over the pictures */
@media (max-width: 860px) {
  .flight-zone {
    --drone-size: 92px;
    margin-top: 56px;
  }
  .shots {
    gap: 64px;
  }
  .shot,
  .shot:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .shot:nth-child(even) .shot-frame {
    order: 0;
  }
  /* the texts leave a lane at the right edge free for the drone */
  .shot .shot-copy,
  .shot:nth-child(even) .shot-copy {
    justify-self: start;
    max-width: none;
    padding-right: calc(var(--drone-size) + 12px);
  }
  .flight-landing {
    margin-top: 90px;
    gap: 24px;
  }
  .flight-pad {
    width: 120px;
    margin-right: 0;
  }
  .ground-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }
}
@media (max-width: 650px) {
  .flight {
    padding: 80px 7%;
  }
  .flight-zone {
    --drone-size: 78px;
    margin-top: 36px;
  }
  .shot-frame {
    padding: 8px;
    border-radius: 14px;
  }
  .shot-frame::before {
    inset: 20px;
  }
  .shot-flash {
    inset: 8px;
  }
  .shot-copy h3 {
    font-size: 24px;
    margin: 14px 0;
  }
  .flight-landing {
    align-items: flex-start;
    margin-top: 70px;
  }
  .ground-head h3 {
    font-size: 26px;
    letter-spacing: -1.1px;
    margin: 14px 0;
  }
  .flight-pad {
    width: 88px;
    margin-top: 6px;
  }
  .ground-grid {
    margin-top: 36px;
    gap: 26px 14px;
  }
  .ground-photo {
    padding: 6px;
    border-radius: 12px;
  }
  .ground-tile h4 {
    font-size: 15px;
    margin: 16px 0 4px;
  }
}

/* ------------------------------------------------------------------
   Branchen: one site mock-up, restyled per industry (not pinned). The
   three styles differ in layout, type and corners only; all of them use
   the page's light blue palette (the user wants no other colours here).
   ------------------------------------------------------------------ */
.branchen {
  position: relative;
  background: rgba(var(--veil-rgb), 0.78);
  border-top: 1px solid var(--edge);
  /* mock-up tokens, mapped onto the page tokens; studio.js sets data-industry */
  --si-bg: var(--bg);
  --si-surface: var(--surface-a);
  --si-ink: var(--ink);
  --si-muted: var(--muted);
  --si-accent: var(--accent);
  --si-deep: color-mix(in oklab, var(--accent), var(--ink) 35%); /* shadows */
  /* small blue text: the accent a little darker, so it stays above 4.5:1 even
     inside the mock-up's blue shadow on phones */
  --si-strong: color-mix(in oklab, var(--accent), var(--ink) 20%);
  /* per style (default: Gastronomie) */
  --si-font: Fraunces, Georgia, serif;
  --si-head-weight: 500;
  --si-radius: 6px;
}
.branchen[data-industry="praxis"] {
  --si-font: "DM Sans", sans-serif;
  --si-head-weight: 500;
  --si-radius: 14px;
}
.branchen[data-industry="immo"] {
  --si-font: Fraunces, Georgia, serif;
  --si-head-weight: 400;
  --si-radius: 3px;
}
.branchen-inner {
  padding: 110px 8% 96px;
  display: flex;
  flex-direction: column;
}
.branchen-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 30px;
}
.branchen-title h2 {
  font-size: clamp(36px, 4vw, 60px);
  font-family: Manrope;
  font-weight: 400;
  letter-spacing: -2.5px;
  line-height: 1.18;
}
.branchen-title h2 span {
  color: var(--dim-heading);
}
.branchen-panel {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 60px;
}
.industry-copy {
  max-width: 380px;
}
.branchen-panel > * {
  min-width: 0; /* a grid track never grows past the viewport for the mock-up */
}
/* the three texts share one grid cell: the stack takes the tallest one's
   height, the same for every tab, and no text runs out of it */
.industry-stack {
  position: relative;
  display: grid;
}
.industry h3 {
  font-family: Manrope;
  font-weight: 500;
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 18px 0;
}
.industry p {
  font-size: var(--t-sb);
  line-height: 1.65;
  color: var(--muted);
}
/* beside the mock-up on tablets the column is too narrow for the drawn
   breaks ("über" stood alone): the heading is set a step smaller and breaks
   evenly (each <br> follows a space) */
@media (min-width: 741px) and (max-width: 999px) {
  .industry h3 {
    font-size: 24px;
    text-wrap: balance;
  }
  .industry h3 br {
    display: none;
  }
}
.industry .service-no {
  color: var(--si-strong);
  transition: color 0.9s;
}
/* The device: a browser frame with a small site inside, themed by --si-* */
.device {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  perspective: 1600px;
  --seg: 0.5;
}
.site {
  font-size: clamp(6.5px, 0.72vw, 10.5px);
  font-family: "DM Sans", sans-serif;
  /* one frame for all three layouts (the menu page needs the most room), so
     nothing below the device moves when the style changes; the explicit
     width keeps the min-height from turning into a min-width via the ratio */
  width: 100%;
  aspect-ratio: 16 / 12.2;
  min-height: 43em;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--si-bg);
  color: var(--si-ink);
  border: 1px solid color-mix(in oklab, var(--si-ink), transparent 86%);
  box-shadow:
    0 40px 90px color-mix(in oklab, var(--si-deep), transparent 70%),
    0 0 0 1px color-mix(in oklab, var(--si-ink), transparent 88%),
    0 0 60px color-mix(in oklab, var(--si-accent), transparent 82%);
  transform: rotateY(calc(-9deg + var(--seg) * 5deg)) rotateX(calc(3deg - var(--seg) * 2deg));
  transition:
    background 0.9s,
    color 0.9s,
    box-shadow 0.9s,
    border-color 0.9s;
}
.site-bar {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.95em 1.3em;
  background: var(--si-surface);
  border-bottom: 1px solid color-mix(in oklab, var(--si-ink), transparent 90%);
}
.site-bar i {
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  background: color-mix(in oklab, var(--si-ink), transparent 72%);
}
.site-url {
  margin-left: 0.9em;
  flex: 1;
  font-size: 0.85em;
  padding: 0.4em 1.1em;
  border-radius: 2em;
  background: var(--si-bg);
  color: var(--si-muted);
}
.site-body {
  flex: 1;
  padding: 1.5em 2.1em 2.1em;
  display: flex;
  flex-direction: column;
  gap: 1.7em;
  transition:
    opacity 0.24s,
    transform 0.24s;
}
.site-body.out-up {
  opacity: 0;
  transform: translateY(-14px);
}
.site-body.out-down {
  opacity: 0;
  transform: translateY(14px);
}
.site-body.in-down {
  opacity: 0;
  transform: translateY(14px);
  transition: none;
}
.site-body.in-up {
  opacity: 0;
  transform: translateY(-14px);
  transition: none;
}
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  font-family: var(--si-font);
  font-size: 1.3em;
  font-weight: 600;
}
.site-links {
  display: flex;
  gap: 1.5em;
  font-size: 0.9em;
  color: var(--si-muted);
}
.site-links b {
  font-weight: 500;
}
.site-hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.9em;
  align-items: center;
}
.site-kicker {
  display: block;
  font-size: 0.7em;
  letter-spacing: 0.22em;
  color: var(--si-accent);
  margin-bottom: 0.9em;
}
.site-head {
  font-family: var(--si-font);
  font-size: 2.35em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  font-weight: var(--si-head-weight);
  letter-spacing: -0.02em;
}
.site-sub {
  font-size: 0.95em;
  color: var(--si-muted);
  margin: 0 0 1.4em;
  line-height: 1.6;
}
.site-btn {
  display: inline-block;
  padding: 0.85em 1.6em;
  border-radius: var(--si-radius);
  background: var(--si-accent);
  color: var(--si-surface);
  font-size: 0.85em;
  font-weight: 600;
  transition:
    background 0.9s,
    color 0.9s,
    border-radius 0.9s;
}
/* The visual is a small working widget: each style brings its own gimmick */
.site-visual {
  aspect-ratio: 4 / 3;
  border-radius: min(calc(var(--si-radius) * 1.4), 14px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 20% 0%,
      color-mix(in oklab, var(--si-accent), transparent 72%),
      transparent 55%
    ),
    linear-gradient(160deg, color-mix(in oklab, var(--si-surface), #fff 4%), var(--si-surface));
  border: 1px solid color-mix(in oklab, var(--si-ink), transparent 88%);
  transition:
    background 0.9s,
    border-radius 0.9s;
}
.gim {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2em 1.3em;
}
.branchen[data-industry="gastro"] .gim-gastro,
.branchen[data-industry="praxis"] .gim-praxis,
.branchen[data-industry="immo"] .gim-immo {
  display: flex;
}
.gim-title {
  font-size: 0.7em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--si-muted);
}
/* Gastronomie: a reservation that books itself, over and over */
.gim-pills {
  display: flex;
  gap: 0.6em;
}
.gim-pills i {
  flex: 1;
  text-align: center;
  font-style: normal;
  font-size: 0.85em;
  font-weight: 600;
  padding: 0.7em 0;
  border-radius: var(--si-radius);
  border: 1px solid color-mix(in oklab, var(--si-ink), transparent 80%);
  color: var(--si-ink);
  animation: gimPill 7s infinite;
}
.gim-pills i:nth-child(2) {
  animation-name: gimPillPick;
}
.gim-pills i:nth-child(3) {
  animation-delay: 0.45s;
}
@keyframes gimPill {
  0%,
  12%,
  20%,
  100% {
    background: transparent;
    border-color: color-mix(in oklab, var(--si-ink), transparent 80%);
  }
  15% {
    background: color-mix(in oklab, var(--si-accent), transparent 70%);
    border-color: var(--si-accent);
  }
}
@keyframes gimPillPick {
  0%,
  16%,
  100% {
    background: transparent;
    border-color: color-mix(in oklab, var(--si-ink), transparent 80%);
    color: var(--si-ink);
  }
  22%,
  88% {
    background: var(--si-accent);
    border-color: var(--si-accent);
    color: var(--si-surface);
  }
}
.gim-status {
  position: relative;
  height: 1.6em;
  font-size: 0.85em;
}
.gim-status span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--si-muted);
  animation: gimS1 7s infinite;
}
.gim-status .gim-s2 {
  color: var(--si-accent);
  font-weight: 600;
  opacity: 0; /* the keyframes bring it in; with reduced motion only the first line shows */
  animation-name: gimS2;
}
@keyframes gimS1 {
  0%,
  30% {
    opacity: 1;
  }
  38%,
  88% {
    opacity: 0;
  }
  96%,
  100% {
    opacity: 1;
  }
}
@keyframes gimS2 {
  0%,
  36% {
    opacity: 0;
  }
  44%,
  86% {
    opacity: 1;
  }
  92%,
  100% {
    opacity: 0;
  }
}
.gim-check {
  width: 1.3em;
  height: 1.3em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 20;
  animation: gimCheck 7s infinite;
}
@keyframes gimCheck {
  0%,
  40% {
    stroke-dashoffset: 20;
  }
  52%,
  100% {
    stroke-dashoffset: 0;
  }
}
/* Arztpraxis: a live trace and the next free slot */
.gim-ecg {
  width: 100%;
  height: 34%;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ecg-base {
  stroke: color-mix(in oklab, var(--si-ink), transparent 82%);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.ecg-live {
  stroke: var(--si-accent);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 70 260;
  stroke-dashoffset: 330;
  filter: drop-shadow(0 0 4px var(--si-accent));
  animation: gimEcg 3.2s linear infinite;
}
@keyframes gimEcg {
  to {
    stroke-dashoffset: 0;
  }
}
.gim-slot {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.7em;
  align-items: center;
  padding: 0.8em 1em;
  border-radius: var(--si-radius);
  background: color-mix(in oklab, var(--si-bg), #fff 3%);
  border: 1px solid color-mix(in oklab, var(--si-ink), transparent 86%);
}
.gim-slot b {
  font-size: 0.95em;
}
.gim-slot span {
  grid-column: 2;
  font-size: 0.72em;
  color: var(--si-muted);
}
.gim-dot {
  grid-row: 1 / span 2;
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: var(--si-accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--si-accent), transparent 40%);
  animation: gimPulse 1.6s ease-out infinite;
}
@keyframes gimPulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in oklab, var(--si-accent), transparent 30%);
  }
  100% {
    box-shadow: 0 0 0 0.9em color-mix(in oklab, var(--si-accent), transparent 100%);
  }
}
/* Immobilien: a value calculator whose slider moves by itself (values set by studio.js) */
.gim-immo {
  --k: 0.5;
}
.gim-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8em;
  color: var(--si-muted);
}
.gim-row b {
  color: var(--si-ink);
  font-size: 1.1em;
  font-variant-numeric: tabular-nums;
}
.gim-val b {
  font-family: var(--si-font);
  font-size: 1.7em;
  color: var(--si-accent);
}
.gim-slider {
  position: relative;
  height: 0.35em;
  border-radius: 1em;
  background: color-mix(in oklab, var(--si-ink), transparent 85%);
}
.gim-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--k) * 100%);
  border-radius: inherit;
  background: var(--si-accent);
}
.gim-knob {
  position: absolute;
  top: 50%;
  left: calc(var(--k) * 100%);
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
  background: var(--si-surface);
  border: 0.22em solid var(--si-accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0.2em 0.8em color-mix(in oklab, var(--si-deep), transparent 65%);
}
.site-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
}
.site-card {
  padding: 1em 1.15em;
  border-radius: min(var(--si-radius), 10px);
  background: var(--si-surface);
  border-left: 2px solid var(--si-accent);
  transition:
    background 0.9s,
    border-color 0.9s;
}
.site-card b {
  display: block;
  font-size: 0.9em;
  font-weight: 600;
}
.site-card span {
  font-size: 0.75em;
  color: var(--si-muted);
}
/* Categories: three pills above the scene, the active one in the accent blue */
.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.industry-tabs button {
  font: inherit;
  font-size: var(--t-a);
  letter-spacing: 0.01em;
  color: var(--link);
  background: var(--chip-bg);
  border: 1px solid var(--edge);
  border-radius: 40px;
  padding: 12px 22px;
  box-shadow: 0 2px 0 var(--chip-sh);
  cursor: pointer;
  transition:
    background 0.5s,
    color 0.5s,
    border-color 0.5s,
    box-shadow 0.5s,
    transform 0.4s;
}
.industry-tabs button:hover {
  color: var(--ink);
  transform: translateY(-1px);
}
.industry-tabs button.on {
  color: #fff;
  background: var(--si-accent);
  border-color: transparent;
  box-shadow:
    0 2px 0 color-mix(in oklab, var(--si-accent) 70%, var(--ink)),
    0 10px 24px color-mix(in oklab, var(--si-accent), transparent 70%);
}

/* ------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------ */
.contact-section {
  position: relative;
  text-align: center;
  overflow: hidden;
  overflow: clip;
  padding: 140px 6% 0;
  min-height: 650px;
  background: radial-gradient(ellipse at 50% 60%, var(--halo), transparent 65%);
}
.contact-section h2 {
  font-family: Manrope;
  font-size: clamp(40px, 5.3vw, 78px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -3px;
  margin: 30px 0 40px;
}
.contact-section h2 span {
  color: var(--accent);
}
.contact-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
}
.contact-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.phone {
  font-size: var(--t-a);
  color: var(--muted);
}
.end-word {
  font-family: Manrope;
  font-weight: 600;
  font-size: 13vw;
  line-height: 1.05;
  letter-spacing: -0.8vw;
  white-space: nowrap;
  color: var(--end-word);
  margin-top: 100px;
}
/* Footer: the tiny tracked row of the design on top; below it the service
   links in a readable row (label column, then the list). The photo credits
   are on the Impressum (.legal-credits). */
.site-footer {
  padding: 30px 5% 32px;
  color: var(--label);
  border-top: 1px solid var(--hair-soft);
  background: var(--footer-bg);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: var(--t-k);
  font-weight: 500;
  letter-spacing: 0.12em;
}
/* the links are 44px high: tap targets */
.footer-top a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.footer-legal {
  display: inline-flex;
  gap: 18px;
}
.footer-legal a {
  color: color-mix(in oklab, var(--link), var(--ink) 45%);
}
/* the one entry in mixed case */
.footer-up {
  font-size: var(--t-s);
  font-weight: 400;
  letter-spacing: 0.01em;
}
/* up to 1100px the row breaks in two: the company on its own line, the
   legal links and the way up below it; the claim goes */
@media (max-width: 1100px) {
  .footer-top {
    flex-wrap: wrap;
    row-gap: 0;
  }
  .footer-top > * {
    white-space: nowrap;
  }
  .footer-copy {
    flex-basis: 100%;
  }
  .footer-claim {
    display: none;
  }
}
.footer-top a:hover {
  color: var(--ink);
}
.footer-nav {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 26px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--hair-soft);
  font-size: inherit;
  color: inherit;
}
.footer-label {
  font-size: var(--t-k);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--label);
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
  color: var(--link);
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-links a:focus-visible {
  outline-offset: 3px;
}
/* Impressum and Datenschutz on the start screen only (the user wants them out
   of the hero): before the card has turned they sit in the screen's corner
   above the intro (the hero is above it then) and stay clickable. The page
   itself carries them in the footer. */
.legal-corner {
  display: none;
  position: fixed;
  left: 7%;
  bottom: 12px;
  z-index: 5;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 0.6px;
  /* darker than --link, so fibres passing behind the small text keep it above 4.5:1 */
  color: color-mix(in oklab, var(--link), var(--ink) 45%);
  transition: opacity 0.5s;
}
.legal-corner a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* On desktops the hero is at least 680px tall; on a lower screen the scroll
   hint moves up so it stays on the first screen */
@media (min-width: 651px) and (min-height: 560px) {
  .hero-bottom {
    bottom: max(38px, calc(100% - 100svh + 38px));
  }
}
html.intro-wait .legal-corner,
html.intro-show .legal-corner,
html.intro-land .legal-corner {
  display: flex;
  pointer-events: auto;
}
/* when the intro ends they fade out with it and stay away */
html.intro-land .legal-corner {
  opacity: 0;
  pointer-events: none;
}
/* on low screens the start hint reaches the bottom: the links wait at the top */
@media (max-height: 720px) {
  .legal-corner {
    top: 14px;
    bottom: auto;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
  transition:
    opacity 1.2s,
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s;
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ------------------------------------------------------------------
   Contact dialog + form (on the light veil)
   ------------------------------------------------------------------ */
dialog {
  margin: auto; /* Tailwind's preflight zeroes margins, which would un-centre the dialog */
  width: min(490px, 90%);
  max-height: 92vh;
  overflow: auto;
  border: 1px solid var(--edge);
  border-radius: 20px;
  padding: 45px;
  background: linear-gradient(135deg, var(--surface-a), var(--surface-b));
  color: var(--dialog-ink);
  box-shadow:
    0 7px 0 var(--dialog-sh),
    0 40px 100px #0a1f4a33;
}
dialog::backdrop {
  /* the .lg-veil layer carries tint, blur and the net */
  background: #1f3f8a14;
}
dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fibre), transparent);
  box-shadow: 0 0 10px var(--fibre-glow);
}
.close {
  position: absolute;
  top: 17px;
  right: 18px;
}
/* the kicker keeps clear of the close button */
dialog > .tiny {
  display: block;
  padding-right: 40px;
}
dialog h2 {
  font-family: Manrope;
  font-weight: 500;
  font-size: 31px;
  letter-spacing: -1px;
  margin: 26px 0 18px;
  line-height: 1.2;
}
dialog p {
  font-size: var(--t-sb);
  line-height: 1.65;
  color: var(--label);
  margin-bottom: 25px;
}
.dialog-phone,
.save-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-a);
  margin-top: 25px;
  color: var(--link);
}
.contact-actions .dialog-phone {
  margin-top: 0;
}
.save-contact {
  font-size: var(--t-s);
  color: var(--label);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--t-k);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--link);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 2px 0 var(--input-inset) inset;
  resize: vertical;
  transition:
    border-color 0.4s,
    box-shadow 0.4s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--fibre);
  box-shadow:
    0 2px 0 var(--input-inset) inset,
    0 0 0 1px var(--fibre),
    0 0 18px var(--fibre-glow);
}
.contact-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.contact-form button {
  align-self: flex-start;
  margin-top: 6px;
  border: 0;
}
/* Cloudflare Turnstile (only with a site key): it shows itself only when
   Cloudflare needs the visitor (.is-open from its callback); until then the
   empty box hands the form's gap back */
.form-turnstile {
  margin-top: -14px;
}
.form-turnstile.is-open {
  margin-top: 0;
}
.form-privacy {
  margin: 0; /* not the 25px of dialog p: the note belongs to the button below */
  font-size: var(--t-s);
  line-height: 1.6;
  color: var(--label);
}
.form-privacy a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-form button[disabled] {
  opacity: 0.6;
  cursor: wait;
}
/* one line is kept free, so a message does not move what follows */
.form-status {
  font-size: var(--t-s);
  line-height: 1.5;
  min-height: 1.5em;
  color: var(--accent);
}
.form-status.error {
  color: var(--error);
}
.dialog-or {
  display: block;
  margin-top: 26px;
  font-size: var(--t-k);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
}
.dialog-or + .dialog-phone {
  margin-top: 10px;
}
/* Laptops: the dialog (with the privacy note, its Turnstile sentence and the
   Betreff field, at the type floor's sizes) fits without scrolling in windows
   from about 895px high: 861px at 1440x900 with Turnstile on and a one-line
   status (measure again when the form grows); up to 1199px: the full spacing
   (1101px with Turnstile on) fits under 92vh only from about 1197px */
@media (min-width: 651px) and (max-height: 1199px) {
  dialog {
    max-height: calc(100vh - 32px);
    max-height: calc(100svh - 32px);
    padding-top: 20px;
    padding-bottom: 20px;
  }
  dialog h2 {
    margin: 10px 0 8px;
  }
  dialog p {
    margin-bottom: 12px;
    line-height: 1.5;
  }
  .contact-form {
    gap: 8px;
  }
  .contact-form label {
    gap: 4px;
  }
  .contact-form input,
  .contact-form textarea {
    padding-block: 9px;
  }
  .contact-form textarea {
    height: 6.2em;
  }
  .form-privacy {
    line-height: 1.5;
  }
  /* the form's gap, handed back while the box is empty */
  .form-turnstile {
    margin-top: -8px;
  }
  .dialog-phone,
  .save-contact {
    margin-top: 8px;
  }
  .dialog-or {
    margin-top: 10px;
  }
  .dialog-or + .dialog-phone {
    margin-top: 6px;
  }
}
/* Entrance: the dialog settles out of the blur, its light line draws on,
   fields and links follow one after another */
dialog[open] {
  animation: dialogin 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
dialog[open]::before {
  animation: lineon 1.2s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
dialog[open] > :not(form),
dialog[open] .contact-form > * {
  animation: fieldin 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
dialog[open] > :nth-child(2) {
  animation-delay: 0.1s;
}
dialog[open] > :nth-child(3) {
  animation-delay: 0.18s;
}
dialog[open] > :nth-child(4) {
  animation-delay: 0.26s;
}
dialog[open] .contact-form > :nth-child(1) {
  animation-delay: 0.34s;
}
dialog[open] .contact-form > :nth-child(2) {
  animation-delay: 0.42s;
}
dialog[open] .contact-form > :nth-child(3) {
  animation-delay: 0.5s;
}
/* 4: the message; 5 is the hidden honeypot; 6 the Turnstile box (with the
   note), 7 the privacy note, 8 the button, 9 its status line (it keeps a
   message from an earlier try when the dialog opens again, so it comes with
   the button, not first) */
dialog[open] .contact-form > :nth-child(4) {
  animation-delay: 0.58s;
}
dialog[open] .contact-form > :nth-child(6),
dialog[open] .contact-form > :nth-child(7) {
  animation-delay: 0.66s;
}
dialog[open] .contact-form > :nth-child(8),
dialog[open] .contact-form > :nth-child(9) {
  animation-delay: 0.72s;
}
dialog[open] > :nth-child(6) {
  animation-delay: 0.76s;
}
dialog[open] > :nth-child(7) {
  animation-delay: 0.82s;
}
dialog[open] > :nth-child(8) {
  animation-delay: 0.88s;
}
dialog[open] > :nth-child(9) {
  animation-delay: 0.94s;
}
@keyframes dialogin {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    filter: blur(10px);
  }
}
@keyframes lineon {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
}
@keyframes fieldin {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }
}
/* The veil: blur and tint under the dialog; the network comes forward on top */
.lg-veil {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s;
  background: rgba(var(--veil-rgb), 0.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.lg-veil.open {
  opacity: 1;
}
.lg-veil canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ------------------------------------------------------------------
   Keyframes
   ------------------------------------------------------------------ */
@keyframes resolve {
  from {
    opacity: 0;
    transform: translateY(25px) rotateX(-8deg);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes scrollmark {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(24px);
    opacity: 1;
  }
}

/* ------------------------------------------------------------------
   Breakpoints
   ------------------------------------------------------------------ */
@media (min-width: 1600px) {
  .hero-heading {
    margin-top: 100px;
  }
  .object-stage {
    top: 28%;
    right: 6%;
    width: 43%;
    height: 550px;
  }
}
/* Flat desktop viewports: keep the card and its caption clear of the hero footer */
@media (min-width: 651px) and (max-height: 820px) {
  .hero-heading {
    margin-top: 40px;
  }
  .object-stage {
    top: 33%;
    height: 420px;
  }
  .wm-word {
    font-size: 2.2vw;
  }
}
@media (max-width: 1050px) {
  .hero-heading {
    margin-top: 60px;
  }
  h1 {
    font-size: 60px;
    letter-spacing: -3px;
  }
  .object-stage {
    top: 39%;
    right: 1%;
    width: 50%;
  }
  .hero-heading p {
    font-size: 12px;
  }
  .sculpture {
    width: 290px;
    height: 290px;
  }
  .sculpture-wrap {
    top: calc(50vh - 145px);
  }
  .thought h2 {
    font-size: 49px;
  }
  .service h3 {
    font-size: 25px;
  }
  .deck-frame {
    --win: 0.5;
  }
}
/* Narrow tablets: the window sits above the copy */
@media (max-width: 960px) {
  .deck-frame {
    --win-h: 380px;
  }
  .service-body {
    grid-template-columns: 1fr;
    grid-template-rows: var(--win-h) auto;
    min-height: 0;
  }
  .service-window {
    margin: var(--win-m) var(--win-m) 0;
  }
  .service-copy {
    align-self: start;
    padding: 30px 36px 34px;
  }
  .service-art {
    bottom: auto;
    height: calc(var(--win-h) - var(--win-m));
    width: calc(100% - var(--peek) - 2 * var(--win-m));
  }
}
@media (max-width: 650px) {
  .site-header {
    padding: 0 6%;
  }
  .brand {
    font-size: 10px;
    gap: 9px;
  }
  .brand img {
    width: 32px;
  }
  .brand small {
    font-size: 5px;
    letter-spacing: 1.5px;
  }
  .site-header .header-cta {
    padding: 11px 17px;
    gap: 14px;
  }
  /* The hero flows on phones (card below the heading) and pins once its
     bottom edge reaches the viewport bottom; studio.js sets --hero-top. */
  .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    max-height: none;
    padding: 120px 7% 84px;
  }
  .hero-heading {
    margin-top: 36px;
    transform: translateY(calc(var(--pin) * -10px));
  }
  h1 {
    font-size: clamp(40px, 10.6vw, 86px);
    letter-spacing: -2.4px;
    line-height: 1.08;
  }
  .hero-heading p {
    max-width: none;
    font-size: 12px;
    margin: 20px 0 22px;
  }
  .solid {
    padding: 13px 18px;
    gap: 18px;
  }
  .solid .ico {
    width: 14px;
    height: 14px;
  }
  .object-stage {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    height: 330px;
    margin-top: 30px;
    transform: translate(var(--cdx, 0px), calc(var(--cdy, 0px) + var(--pin) * -16px))
      scale(var(--cs, 1));
  }
  .object-rig {
    top: 42px;
    width: 88%;
    left: 6%;
  }
  .card-side {
    padding: 21px;
    border-radius: 13px;
  }
  .edge {
    border-radius: 13px;
  }
  .card-label {
    font-size: 6px;
  }
  .card-footer {
    font-size: 8px;
  }
  .card-footer > span:last-child {
    font-size: 5px;
  }
  .back strong {
    font-size: 25px;
  }
  .back-contact {
    font-size: 9px;
  }
  .legal {
    font-size: 5px;
  }
  .hero-bottom {
    display: none; /* the phone scrolls anyway; the stack ends the hero as in the design */
  }
  .hero-bottom > span:first-child {
    max-width: 120px;
    line-height: 1.8;
  }
  .hero-watermark {
    left: 7%;
    right: 5%;
    bottom: 67px;
  }
  .wm-word {
    font-size: 10.6vw;
  }
  .dimension {
    padding: 80px 7% 70px;
    background: linear-gradient(rgba(var(--veil-rgb), 0.8), rgba(var(--veil-rgb), 0.15));
  }
  .dimension-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
  }
  .section-kicker {
    gap: 20px;
  }
  .narrative {
    gap: 60px;
    padding: 24px 0 0;
  }
  .thought h2 {
    font-size: 36px;
    letter-spacing: -1.8px;
    margin: 18px 0;
  }
  .sculpture-wrap {
    position: static;
    order: -1;
  }
  .sculpture {
    width: 230px;
    height: 230px;
  }
  .expertise {
    padding: 80px 7%;
  }
  .expertise-title {
    display: block;
    margin-top: 18px;
  }
  .expertise-title h2 {
    font-size: 28px;
    letter-spacing: -1.3px;
    line-height: 1.15;
  }
  .expertise-title p {
    display: none;
  }
  .service-deck {
    margin-top: 36px;
  }
  .deck-frame {
    --peek: 36px;
    --bleed: 12px;
    --gap: 12px;
    --win-h: 290px;
    --win-m: 10px;
  }
  .service-body {
    border-radius: 14px;
  }
  .service-window {
    border-radius: 10px;
  }
  .service-copy {
    padding: 22px 22px 24px;
  }
  .deck-nav {
    margin-top: 20px;
  }
  .art-stack {
    width: 160px;
    height: 116px;
    left: calc(50% - 80px);
    top: calc(50% - 58px + var(--art-dy));
    --art-dy: -2px;
  }
  .service-art[data-mode="1"] .art-stack {
    --art-dy: 9px;
  }
  .service-art[data-mode="2"] .art-stack {
    --art-dy: 5px;
  }
  .service-art[data-mode="3"] .art-stack {
    --art-dy: 15px;
  }
  .sheet-1 {
    padding: 12px;
  }
  .window-dots {
    font-size: 11px;
  }
  .mock-bar {
    margin-top: 12px;
  }
  .mock-title {
    margin-top: 9px;
  }
  .mock-blocks {
    margin-top: 12px;
    height: 16px;
  }
  .mock-blocks i {
    width: 6px;
    height: 6px;
  }
  .art-orbit {
    inset: 30% 14%;
  }
  .service h3 {
    font-size: 24px;
    margin: 14px 0;
  }
  .tags {
    margin-top: 14px;
  }
  .expertise-cta {
    margin-top: 50px;
    justify-content: flex-start;
  }
  .branchen-inner {
    padding: 70px 7% 60px;
  }
  .branchen-title {
    display: block;
    margin-top: 18px;
  }
  .branchen-title h2 {
    font-size: 28px;
    letter-spacing: -1.3px;
    line-height: 1.15;
  }
  .branchen-panel {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 10px;
  }
  .device {
    order: 0;
    max-width: none;
    margin: 26px 0 34px;
  }
  .site {
    font-size: 6.6px;
    transform: rotateY(calc(-5deg + var(--seg) * 3deg)) rotateX(2deg);
  }
  .industry-copy {
    order: 1;
    max-width: none;
  }
  .industry h3 {
    font-size: 24px;
    margin: 14px 0;
  }
  .industry-tabs {
    gap: 8px;
    margin-top: 24px;
  }
  /* one row of pills from 360px (narrower padding below 375px) */
  .industry-tabs button {
    font-size: 13px;
    padding: 10px 14px;
  }
  .contact-section {
    padding-top: 95px;
    min-height: 500px;
  }
  .contact-section h2 {
    font-size: 36px;
    letter-spacing: -1.8px;
    margin: 25px 0 30px;
  }
  .contact-actions {
    flex-direction: column;
    gap: 27px;
  }
  .end-word {
    margin-top: 80px;
    font-size: 13vw;
    letter-spacing: -0.8vw;
  }
  .site-footer {
    padding: 25px 7%;
  }
  /* the company's line may break on a phone */
  .footer-copy {
    white-space: normal;
  }
  /* the label above its list */
  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    margin-top: 20px;
  }
  .footer-links {
    gap: 0 18px;
  }
  dialog {
    padding: 40px 27px;
  }
  dialog h2 {
    font-size: 28px;
  }
}
/* the three category pills stay one row down to 360px */
@media (max-width: 374px) {
  .industry-tabs button {
    padding: 10px 12px;
  }
}
/* Narrow phones: the window shrinks with the screen, the sheet stack does
   not, so the stack scales down to keep every pose inside the window */
@media (max-width: 370px) {
  .art-stack {
    scale: 0.92 0.92 0.92;
  }
}
@media (max-width: 345px) {
  .art-stack {
    scale: 0.84 0.84 0.84;
  }
}

/* ------------------------------------------------------------------
   Reduced motion: no pinning, no chapter choreography, still network
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .line,
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .hero-pin::after {
    display: none;
  }
  .hero {
    position: relative;
    top: auto;
  }
  .hero-heading,
  .object-stage {
    transform: none;
  }
  .hero-bottom {
    opacity: 1;
  }
  .sculpture-wrap {
    position: static;
  }
}

/* ------------------------------------------------------------------
   Legal pages (/impressum, /datenschutz): the text from IT-Recht Kanzlei
   in the page's light look. The markup is plain HTML from the firm, so
   the rules style elements inside .legal-text.
   ------------------------------------------------------------------ */
.legal-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 50% -10%, var(--halo), transparent 60%), var(--bg);
}
.legal-page a:focus-visible {
  outline-offset: 3px;
}
.legal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 34px 7% 0;
}
.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2.4px;
}
.legal-brand img {
  width: 34px;
  height: auto;
}
.legal-back,
.legal-foot a {
  font-size: var(--t-s);
  color: var(--link);
}
.legal-back:hover,
.legal-foot a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-main {
  flex: 1;
  width: min(760px, 86%);
  margin: 0 auto;
  padding: 72px 0 96px;
}
.legal-kicker {
  display: block;
  font-size: var(--t-k);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--label);
}
.legal-page .legal-title {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.15;
  margin: 18px 0 42px;
  overflow-wrap: break-word; /* the title carries a soft hyphen where it may break */
}
/* long German words hyphenate; only what still does not fit (URLs) breaks */
.legal-text {
  font-size: var(--t-b);
  line-height: 1.7;
  color: var(--muted);
  overflow-wrap: break-word;
  hyphens: auto;
}
.legal-text > :first-child {
  margin-top: 0;
}
.legal-text :is(h2, h3, h4, h5, h6) {
  font-family: Manrope, sans-serif;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin: 2.2em 0 0.7em;
}
.legal-text h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
}
.legal-text h3 {
  font-size: 19px;
}
.legal-text h4 {
  font-size: 16px;
}
.legal-text :is(h5, h6) {
  font-size: 16px;
}
.legal-text :is(p, ul, ol, dl, address, blockquote, pre, figure) {
  margin: 0 0 1em;
}
.legal-text ul {
  list-style: disc;
  padding-left: 1.4em;
}
.legal-text ol {
  list-style: decimal;
  padding-left: 1.6em;
}
.legal-text li {
  margin: 0.3em 0;
}
.legal-text :is(strong, b) {
  font-weight: 600;
  color: var(--ink);
}
.legal-text address {
  font-style: normal;
}
/* only real links look like links (anchors and emptied links stay text) */
.legal-text a[href] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-text table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-sb);
  margin: 0 0 1.4em;
}
/* cells keep their words whole: a wide table scrolls sideways instead */
.legal-text :is(th, td) {
  text-align: left;
  vertical-align: top;
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--hair-soft);
  overflow-wrap: normal;
  hyphens: manual;
}
.legal-text img {
  max-width: 100%;
  height: auto;
}
.legal-text hr {
  border: 0;
  border-top: 1px solid var(--hair-soft);
  margin: 2em 0;
}
/* the photo credits on the Impressum (#bildnachweise, moved there from the
   footer): set like the firm's text, the hairline of its hr above them */
.legal-credits {
  margin-top: 2em;
  padding-top: 2em;
  border-top: 1px solid var(--hair-soft);
}
.legal-credits h2 {
  scroll-margin-top: 32px;
}
/* a photographer's name stays whole */
.legal-credits a {
  hyphens: manual;
}
.legal-foot {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 30px 5%;
  border-top: 1px solid var(--hair-soft);
  background: var(--footer-bg);
}
.legal-foot a[aria-current="page"] {
  color: var(--ink);
}
@media (max-width: 650px) {
  .legal-top {
    padding-top: 26px;
  }
  .legal-main {
    padding: 52px 0 72px;
  }
  .legal-text h2 {
    font-size: 20px;
  }
}

/* ------------------------------------------------------------------
   Intro: "tap to start". Built by studio.js; without JS the page is plain.
   html.intro-wait  → start screen, the card at the centre, page hidden
   html.intro-show  → card spins, flare + reveal + camera move, page hidden
   html.intro-land  → card glides to its hero position (transition)
   html.intro-done  → page fades in
   ------------------------------------------------------------------ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  margin: 0;
  padding: var(--intro-top, 62vh) 0 0;
  border: 0;
  background: rgba(238, 243, 253, 0.88);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    background 1s,
    opacity 1s;
}
.intro:focus-visible {
  outline: none;
}
.intro > * {
  transition:
    opacity 0.6s,
    transform 0.6s;
}
.intro-brand {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-align: center;
}
.intro-brand small {
  display: block;
  font-size: 6px;
  font-weight: 500;
  letter-spacing: 2.6px;
  color: var(--label);
  margin-top: 7px;
}
.intro-hint {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 7px;
  letter-spacing: 2.4px;
  color: var(--label);
}
.intro-ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--hair);
  position: relative;
  display: grid;
  place-items: center;
}
.intro-ring::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fibre);
  box-shadow: 0 0 12px var(--fibre-glow);
}
.intro-ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: introping 3.2s ease-out infinite;
}
@keyframes introping {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}
.intro-click {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .intro-tap {
    display: none;
  }
  .intro-click {
    display: inline;
  }
}
html.intro-wait,
html.intro-show {
  overflow: hidden;
}
/* Everything but the business card waits behind the intro; the card itself
   floats above the start screen at the viewport centre and glides to its
   hero position when the page appears (html.intro-land). */
header,
.hero-heading,
.hero-bottom,
.hero-watermark,
.dimension,
.expertise,
.contact-section,
footer {
  transition: opacity 1.4s;
}
html.intro-wait
  :is(
    header,
    .hero-heading,
    .hero-bottom,
    .hero-watermark,
    .dimension,
    .expertise,
    .contact-section,
    footer,
    .reading-line
  ),
html.intro-show
  :is(
    header,
    .hero-heading,
    .hero-bottom,
    .hero-watermark,
    .dimension,
    .expertise,
    .contact-section,
    footer,
    .reading-line
  ) {
  opacity: 0;
}
html.intro-wait .hero,
html.intro-show .hero {
  z-index: 101;
  pointer-events: none;
}
html.intro-show .lg-flare {
  z-index: 102;
}
html.intro-land .object-stage {
  transition: transform 1.7s cubic-bezier(0.16, 1, 0.3, 1);
}
html.intro-show .intro {
  background: transparent;
}
html.intro-show .intro > *,
.intro.out > * {
  opacity: 0;
  transform: translateY(-12px);
}
.intro.out {
  opacity: 0;
  pointer-events: none;
}
/* the hero's entrance animations wait for the page to appear */
html.intro-wait .line,
html.intro-wait .hero-heading p,
html.intro-wait .hero-heading > a,
html.intro-show .line,
html.intro-show .hero-heading p,
html.intro-show .hero-heading > a {
  animation-play-state: paused;
}

/* ------------------------------------------------------------------
   Branchen: each style has its own layout on the same mock-up DOM
   ------------------------------------------------------------------ */
/* Gastronomie: an editorial menu page. Centred brand over a double rule,
   tracked uppercase navigation, dishes as a list with dotted leaders. */
.branchen[data-industry="gastro"] .site-nav {
  flex-direction: column;
  align-items: center;
  gap: 0.7em;
  padding-bottom: 1em;
  border-bottom: 3px double color-mix(in oklab, var(--si-accent), transparent 45%);
}
.branchen[data-industry="gastro"] .site-logo {
  font-size: 1.75em;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.branchen[data-industry="gastro"] .site-links {
  font-size: 0.7em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  gap: 2.2em;
}
.branchen[data-industry="gastro"] .site-hero {
  grid-template-columns: 1fr 0.9fr;
  gap: 2.4em;
}
.branchen[data-industry="gastro"] .site-head {
  font-size: 2.6em;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.branchen[data-industry="gastro"] .site-btn {
  background: transparent;
  color: var(--si-accent);
  border: 1px solid var(--si-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75em;
  padding: 0.9em 1.6em;
}
.branchen[data-industry="gastro"] .site-cards {
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: -0.2em;
}
.branchen[data-industry="gastro"] .site-card {
  display: flex;
  align-items: baseline;
  gap: 0.8em;
  padding: 0.75em 0;
  background: transparent;
  border-left: 0;
  border-radius: 0;
  border-bottom: 1px solid color-mix(in oklab, var(--si-ink), transparent 85%);
}
.branchen[data-industry="gastro"] .site-card b {
  font-family: var(--si-font);
  font-weight: 500;
  font-size: 1.05em;
}
.branchen[data-industry="gastro"] .site-card b::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted color-mix(in oklab, var(--si-ink), transparent 60%);
  margin: 0 0.6em;
  transform: translateY(-0.25em);
}
.branchen[data-industry="gastro"] .site-card b {
  display: flex;
  flex: 1;
  align-items: baseline;
}
.branchen[data-industry="gastro"] .site-card span {
  color: var(--si-accent);
  font-size: 0.85em;
}

/* Arztpraxis: a light, app-like interface. Pill navigation with a highlighted
   action, the appointment widget first, rounded tiles with status dots. */
.branchen[data-industry="praxis"] .site-links {
  gap: 0.5em;
  font-size: 0.8em;
}
.branchen[data-industry="praxis"] .site-links b {
  padding: 0.45em 1em;
  border-radius: 2em;
  background: color-mix(in oklab, var(--si-ink), transparent 94%);
  color: var(--si-ink);
}
.branchen[data-industry="praxis"] .site-links b:last-child {
  background: var(--si-accent);
  color: var(--si-surface);
}
.branchen[data-industry="praxis"] .site-hero {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.2em;
}
.branchen[data-industry="praxis"] .site-visual {
  order: -1;
  aspect-ratio: 5 / 4;
  background: var(--si-surface);
  border-color: color-mix(in oklab, var(--si-ink), transparent 90%);
  box-shadow: 0 1.4em 3em color-mix(in oklab, var(--si-deep), transparent 86%);
}
.branchen[data-industry="praxis"] .site-head {
  font-size: 2.2em;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.branchen[data-industry="praxis"] .site-btn {
  color: var(--si-surface);
  box-shadow: 0 0.6em 1.4em color-mix(in oklab, var(--si-accent), transparent 65%);
}
.branchen[data-industry="praxis"] .site-card {
  border-left: 0;
  border-radius: 14px;
  padding: 1.1em 1.2em 1.1em 2.4em;
  position: relative;
  box-shadow: 0 0.5em 1.4em color-mix(in oklab, var(--si-deep), transparent 92%);
}
.branchen[data-industry="praxis"] .site-card::before {
  content: "";
  position: absolute;
  left: 1.1em;
  top: 1.35em;
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--si-accent);
}
.branchen[data-industry="praxis"] .gim-slot {
  background: var(--si-bg);
}

/* Immobilien: a magazine page. Serif brand, tracked navigation, headline and
   lead side by side, the value calculator as a wide band, listings with a
   blue rule and the price set large. */
.branchen[data-industry="immo"] .site-logo {
  font-size: 1.5em;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.branchen[data-industry="immo"] .site-links {
  font-size: 0.7em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  gap: 2em;
}
.branchen[data-industry="immo"] .site-hero {
  grid-template-columns: 1fr;
  gap: 1.6em;
}
.branchen[data-industry="immo"] .site-hero-copy {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  column-gap: 2.4em;
  align-items: end;
}
.branchen[data-industry="immo"] .site-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0.6em;
}
.branchen[data-industry="immo"] .site-head {
  grid-column: 1;
  grid-row: 2 / span 2;
  font-size: 3em;
  line-height: 1.02;
  margin: 0;
  font-weight: 400;
}
.branchen[data-industry="immo"] .site-sub {
  grid-column: 2;
  grid-row: 2;
  margin: 0 0 0.9em;
}
.branchen[data-industry="immo"] .site-btn {
  grid-column: 2;
  grid-row: 3;
  justify-self: start;
  background: transparent;
  color: var(--si-ink);
  border-bottom: 1px solid var(--si-accent);
  border-radius: 0;
  padding: 0 0 0.3em;
  font-size: 0.8em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.branchen[data-industry="immo"] .site-visual {
  aspect-ratio: 16 / 3.4;
  border-radius: 3px;
}
.branchen[data-industry="immo"] .gim-immo {
  flex-direction: row;
  align-items: center;
  gap: 2.2em;
  padding: 1.1em 1.6em;
}
.branchen[data-industry="immo"] .gim-title {
  width: 11em;
  line-height: 1.5;
}
.branchen[data-industry="immo"] .gim-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15em;
}
.branchen[data-industry="immo"] .gim-slider {
  flex: 1;
}
.branchen[data-industry="immo"] .gim-val b {
  font-size: 1.9em;
}
.branchen[data-industry="immo"] .site-cards {
  gap: 1.6em;
}
.branchen[data-industry="immo"] .site-card {
  background: transparent;
  border-left: 0;
  border-radius: 0;
  border-top: 1px solid var(--si-accent);
  padding: 0.9em 0 0;
}
.branchen[data-industry="immo"] .site-card b {
  font-weight: 500;
  color: var(--si-muted);
  font-size: 0.8em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.branchen[data-industry="immo"] .site-card span {
  display: block;
  margin-top: 0.25em;
  font-family: var(--si-font);
  font-size: 1.45em;
  color: var(--si-ink);
}

.branchen[data-industry="gastro"] .site-nav {
  padding-bottom: 0.8em;
}
.branchen[data-industry="gastro"] .site-logo {
  font-size: 1.55em;
}
.branchen[data-industry="gastro"] .site-head {
  font-size: 2.3em;
}
.branchen[data-industry="gastro"] .site-body {
  gap: 1.3em;
}
.branchen[data-industry="gastro"] .site-visual {
  aspect-ratio: 4 / 2.9;
}
.branchen[data-industry="gastro"] .site-card {
  padding: 0.55em 0;
}
.branchen[data-industry="immo"] .site-body {
  gap: 1.4em;
}
.branchen[data-industry="immo"] .site-head {
  font-size: 2.7em;
}
.branchen[data-industry="immo"] .site-visual {
  aspect-ratio: 16 / 3.2;
}
.branchen[data-industry="immo"] .site-card span {
  font-size: 1.3em;
}

/* ------------------------------------------------------------------
   Direct entry: the wordmark, existing introduction and a photographic
   service rail. Scoped to the new hero so legacy intro styles stay separate.
   ------------------------------------------------------------------ */
.hero--services {
  height: auto;
  min-height: 100svh;
  max-height: none;
  /* a light veil: the fibres show only faintly behind the start screen, as in the design */
  background: linear-gradient(
    rgba(var(--veil-rgb), 0.68),
    rgba(var(--veil-rgb), 0.6) 78%,
    rgba(var(--veil-rgb), 0)
  );
  padding: clamp(118px, 14vh, 170px) 0 50px;
}
.hero--services .hero-heading {
  width: 86%;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  transform: none;
  pointer-events: auto;
}
.hero-actions .blue-solid {
  background: linear-gradient(135deg, var(--h1-a), var(--accent));
  animation: none;
}
/* The header logo (studio.js, html.brand-fly): hidden at the very top. Once
   the page has moved a little (html.brand-docked) the large AD flies into the
   header's corner and the header stays fixed and frosted, its content a
   little higher; back at the top it all returns. Only transforms and opacity
   move, which the browser's compositor runs: smooth while the page scrolls,
   also on iOS. Without the script none of this applies.
   The service pages show the docked state from the start, in CSS alone
   (.site-header--docked: no script, so nothing jumps while it loads). */
html.brand-fly {
  scroll-padding-top: 96px; /* anchors land below the fixed header */
}
html:has(.site-header--docked) {
  scroll-padding-top: 96px; /* the flight reads it too (its anchor place) */
}
.brand-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 40px;
  visibility: hidden;
  pointer-events: none;
}
html.brand-fly .site-header,
.site-header--docked {
  --dock: -15px; /* how far the header's content rises when docked */
  position: fixed;
  pointer-events: none;
}
html.brand-fly .site-header > *,
.site-header--docked > * {
  pointer-events: auto;
}
html.brand-fly .site-header > * {
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}
/* the frosted bar (as high as the header minus twice the rise) and its hairline */
html.brand-fly .site-header::before,
html.brand-fly .site-header::after,
.site-header--docked::before,
.site-header--docked::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 0;
  height: calc(100% + 2 * var(--dock));
  pointer-events: none;
}
html.brand-fly .site-header::before,
html.brand-fly .site-header::after {
  opacity: 0;
  transition: opacity 0.45s 0.2s;
}
html.brand-fly .site-header::before,
.site-header--docked::before {
  /* nearly solid, so it meets the solid tint above it on iOS (.top-tint) */
  background: rgba(var(--veil-rgb), 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
html.brand-fly .site-header::after,
.site-header--docked::after {
  top: calc(100% + 2 * var(--dock) - 1px);
  height: 1px;
  background: var(--hair-soft);
}
/* The colour behind the status bar on iOS 26 Safari, which ignores
   theme-color: it hit-tests the middle of the window's top edge, 4px down
   (first ignoring pointer-events), walks up to the first fixed element and
   takes that element's own background-color, if its box is more than 10px
   high and nearly as wide as the window. The header (transparent; its bar is
   a pseudo-element with a blur) gives it nothing, so the page showed through.
   This strip is that element: 12px of padding with the colour clipped to its
   empty content box, so it paints nothing. It lies above every fixed layer
   that covers the top edge: the transparent contact veil (60) and lens flare
   (40) would otherwise be hit first, and as they let taps through Safari
   would search again honouring pointer-events and skip this strip too (the
   dialog's top layer still comes first, Safari tints for its backdrop).
   Present from the first paint on every studio page: never fade, move or
   hide it. */
.top-tint {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 0;
  padding-top: 12px;
  box-sizing: content-box;
  background-color: rgb(var(--veil-rgb));
  background-clip: content-box;
  pointer-events: none;
}
/* (doubled class: above .solid:hover, whose lift would undo the rise) */
html.brand-docked .site-header > *,
.site-header.site-header--docked > * {
  transform: translateY(var(--dock));
  transition-delay: 0s;
}
html.brand-docked .site-header::before,
html.brand-docked .site-header::after {
  opacity: 1;
  transition-delay: 0s;
}
/* the logo's place in the header; the logo inside is drawn four times larger
   and shown at a quarter, so it stays sharp while it flies large (homepage
   only: on the service pages it simply stands at its slot size) */
html.brand-fly .site-header .brand {
  position: relative;
  display: block;
  width: clamp(96px, 8vw, 124px);
  aspect-ratio: 1536 / 760;
}
html.brand-fly .site-header .brand-emblem {
  position: absolute;
  left: 0;
  top: 0;
  width: 400%;
  max-width: none;
  transform-origin: 0 0;
  transform: scale(0.25);
  opacity: 0;
  transition: opacity 0.2s;
  will-change: transform;
}
html.brand-docked .site-header .brand-emblem {
  opacity: 1;
  transition: none;
}
html.brand-fly .hero-emblem {
  transition: opacity 0.2s;
}
html.brand-fly.emblem-away .hero-emblem {
  opacity: 0;
  transition: none;
}
/* The lockup of the design: the AD emblem above ADVANCED ID. The emblem is
   sized by the window's width and height, so the text and the buttons stay
   on a laptop's first screen. */
.hero--services .hero-brand {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
  line-height: 0;
}
.hero-emblem {
  /* the vector's viewBox already crops the frame around the emblem */
  --emblem: clamp(150px, min(40vw, 46vh), 600px);
  display: block;
  width: var(--emblem);
  height: auto;
  /* air between the AD and the wordmark, in step with the AD's size */
  margin: 0 auto calc(var(--emblem) * 0.06);
  overflow: visible;
}
/* a calm, light ground behind the lockup, so the fibres do not run through the letters */
.hero--services .hero-brand::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 6%;
  width: min(92vw, 1100px);
  height: 88%;
  translate: -50% 0;
  background: radial-gradient(
    closest-side,
    rgba(var(--veil-rgb), 0.92) 40%,
    rgba(var(--veil-rgb), 0.6) 72%,
    transparent
  );
  filter: blur(10px);
  pointer-events: none;
}
.hero-wordmark {
  display: block;
  width: clamp(min(100%, 520px), 56vw, 780px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 9px 10px var(--card-shadow));
}
/* the closing sentence stands on its own line, as in the design, in the
   accent like the second line of the contact heading */
.hero-coda {
  display: block;
  color: var(--accent);
}
.hero-brand-fallback {
  display: none;
}
@media (forced-colors: active) {
  .hero-wordmark {
    display: none;
  }
  .hero-brand-fallback {
    display: block;
    color: CanvasText;
    font-family: Manrope, sans-serif;
    font-size: clamp(30px, 9.8vw, 136px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.05em;
    white-space: nowrap;
  }
}
.hero--services .hero-heading p {
  position: relative;
  isolation: isolate;
  /* in em, so the design's line breaks hold at every size */
  max-width: 31.5em;
  /* the text follows the wordmark directly, with a little more air than the
     emblem has above the wordmark, so the lockup reads as one headline */
  margin: clamp(24px, 4.4vh, 44px) auto 0;
  color: var(--ink);
  /* the face of the section headings (Manrope 400, tight tracking) at lead size,
     so the start screen speaks like the rest of the page */
  font-family: Manrope, sans-serif;
  font-size: clamp(18px, min(1.75vw, 3.1vh), 26px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.5;
  text-wrap: pretty;
  animation: none;
}
.hero--services .hero-heading p::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12px -16px;
  background: radial-gradient(
    ellipse,
    rgba(var(--veil-rgb), 0.96) 25%,
    rgba(var(--veil-rgb), 0.65) 65%,
    transparent 100%
  );
  filter: blur(16px);
  pointer-events: none;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px 32px;
  margin-top: 30px;
}
/* the buttons speak like the header button (DM Sans 600, light tracking), a step larger */
.hero-actions .solid {
  font-size: var(--t-a);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 16px 26px;
}
.hero-discover {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: var(--t-a);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.hero-discover:hover {
  color: var(--accent);
}
.hero-services {
  position: relative;
  z-index: 3;
  margin-top: clamp(42px, 6vh, 72px);
}
.hero-services-heading {
  width: 86%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
}
.hero-services-heading h2 {
  font-size: var(--t-k);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.12em;
  color: var(--ink);
  /* on the narrowest phones it breaks evenly, never with BLICK alone */
  text-wrap: balance;
}
.hero-services-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-shrink: 0;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--hair-soft);
  border-radius: 24px;
  background: var(--surface-a);
  font-size: var(--t-s);
  color: var(--label);
}
.hero-services-toggle[hidden] {
  display: none;
}
/* Below about 400px the heading needs two lines beside the button, which
   studio.js shows only once it runs: it is set in two lines from the start
   there, so it does not move when the button comes (a layout shift) */
@media (max-width: 400px) {
  .hero-services-heading h2 {
    max-width: 15em;
  }
}
.hero-services-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hero-services-toggle .rail-play,
.hero-services-toggle[aria-pressed="true"] .rail-pause {
  display: none;
}
.hero-services-toggle[aria-pressed="true"] .rail-play {
  display: block;
}
.hero-service-viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 5px 0 30px;
  /* a tile focused by keyboard is brought in clear of the faded edges */
  scroll-padding-inline: 3%;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.hero-service-viewport::-webkit-scrollbar {
  display: none;
}
.hero-service-track {
  --rail-gap: 20px;
  display: flex;
  width: max-content;
}
.hero-service-group {
  display: flex;
  flex-shrink: 0;
  gap: var(--rail-gap);
  list-style: none;
  padding: 0 var(--rail-gap) 0 0;
  margin: 0;
}
/* The loop needs one group at least as wide as the window: seven 340px
   cards end at 2520px, so above that the cards grow just enough
   (7 × (w + 20px) = 100vw + 7px). --rail-n comes with the markup. */
.hero-service-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(230px, 22vw, max(340px, calc(100vw / var(--rail-n, 7) - 19px)));
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 18px;
  background: var(--surface-b);
  box-shadow: 0 10px 24px var(--sh-soft);
  isolation: isolate;
}
.hero-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65);
  transition:
    transform 0.8s,
    filter 0.8s;
}
.hero-service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 30%,
    color-mix(in srgb, var(--ink) 40%, transparent) 62%,
    var(--ink)
  );
}
.hero-service-card:hover img,
.hero-service-card:focus-within img {
  transform: scale(1.04);
  filter: saturate(0.9);
}
/* Each tile is a link over the whole card (the caption comes first, so its
   name leads the link's name). The focus ring is drawn inside the card, above
   the gradient, where neither the card, the rail nor its edge mask clips it. */
.hero-service-link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
}
.hero-service-link img {
  display: block;
}
.hero-service-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}
.hero-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 3px var(--accent),
    inset 0 0 0 5px var(--edge);
  opacity: 0;
  pointer-events: none;
}
@supports selector(:has(*)) {
  .hero-service-link:focus-visible {
    outline: none;
  }
  .hero-service-card:has(.hero-service-link:focus-visible)::before {
    opacity: 1;
  }
}
@media (forced-colors: active) {
  .hero-service-card:has(.hero-service-link:focus-visible) {
    outline: 3px solid Highlight;
    outline-offset: -3px;
  }
}
.hero-service-caption {
  position: absolute;
  z-index: 1;
  inset: auto 24px 26px;
  color: var(--edge);
}
.hero-service-caption > span {
  display: block;
  font-size: var(--t-s);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.5;
  margin-bottom: 9px;
}
/* like the card titles further down (Manrope 500, tight tracking); an h3 in
   the first group, a p in the duplicate */
.hero-service-caption .hero-service-title {
  font-family: Manrope, sans-serif;
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* The interactive business card now accompanies the contact details. */
.contact-section .contact-copy {
  width: 55%;
  position: relative;
  z-index: 3;
  text-align: left;
}
.contact-copy h2 {
  font-size: clamp(36px, 4.2vw, 64px);
}
.contact-copy .contact-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}
.contact-section .object-stage {
  top: 80px;
  right: 2%;
  width: 43%;
  max-width: 650px;
  height: 400px;
  margin: 0;
  transform: none;
}
@media (max-width: 740px) {
  .hero--services {
    padding-top: 104px;
    padding-bottom: 24px;
    min-height: auto;
  }
  .site-header {
    height: 100px;
  }
  html.brand-fly .site-header,
  .site-header--docked {
    --dock: -14px;
  }
  html.brand-fly .site-header .brand {
    width: 96px;
  }
  .hero--services .hero-heading {
    width: 90%;
  }
  .hero-emblem {
    --emblem: clamp(120px, min(74vw, 42vh), 320px);
  }
  .hero-wordmark {
    width: min(100%, 520px);
  }
  .hero--services .hero-heading p {
    font-size: clamp(16px, 4.6vw, 19px);
    line-height: 1.55;
    margin-top: 26px;
  }
  /* the two actions stay one row (12px below 375px, after this block) */
  .hero-actions {
    gap: 10px 14px;
    margin-top: 24px;
  }
  .hero-actions .solid {
    font-size: 13px;
    padding: 14px 15px;
    gap: 12px;
  }
  .hero-discover {
    font-size: 13px;
    gap: 7px;
  }
  .hero-services {
    margin-top: 32px;
  }
  .hero-service-track {
    --rail-gap: 14px;
  }
  .hero-service-card {
    width: 64vw;
    max-width: 300px;
  }
  .hero-service-caption {
    inset: auto 20px 22px;
  }
  .hero-service-caption .hero-service-title {
    font-size: 21px;
  }
  .contact-section .contact-copy {
    width: 100%;
    text-align: center;
  }
  .contact-copy .contact-actions {
    align-items: center;
  }
  .contact-section .object-stage {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 440px);
    height: 300px;
    margin: 30px auto 0;
  }
  .contact-section .end-word {
    margin-top: 20px;
  }
}
@media (max-width: 374px) {
  .hero-actions .solid,
  .hero-discover {
    font-size: 12px;
  }
}
/* The design's vertical rhythm from tablets up: a tighter top, the emblem
   closer to the wordmark, the rail close under the actions, so the first
   cards' titles are on the first screen of a tall window */
@media (min-width: 741px) {
  .hero--services {
    padding-top: clamp(100px, 8.8vh, 112px);
  }
  .hero-actions {
    margin-top: 24px;
  }
  .hero-services {
    margin-top: clamp(16px, 1.6vh, 22px);
  }
}
/* phones held sideways: less room above, so the text starts on the first screen */
@media (orientation: landscape) and (max-height: 500px) {
  .hero--services {
    padding-top: 84px;
  }
  .site-header {
    height: 84px;
  }
  html.brand-fly .site-header,
  .site-header--docked {
    --dock: -8px;
  }
  .hero--services .hero-heading p {
    margin-top: 16px;
  }
  .hero-actions {
    margin-top: 16px;
  }
}
/* ------------------------------------------------------------------
   Service pages (/leistungen and the five service pages): a hero with
   the breadcrumb (and a photo on three of them), then sections in the
   page's own voice: offers as cards, the approach as numbered steps, a
   prose focus, the other services and a contact band. The deck
   (#expertise) and the drone flight (#aufnahmen) moved here from the
   homepage; their rules above stay as they are, they only take the
   page's edges.
   ------------------------------------------------------------------ */
.page {
  --header-h: 112px; /* the header's box: the hero's text starts below it */
  --gutter: max(8%, calc((100% - 1400px) / 2));
}
@media (max-width: 740px) {
  .page {
    --header-h: 100px;
  }
}
@media (max-width: 650px) {
  .page {
    --gutter: 7%;
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  .page {
    --header-h: 84px;
  }
}
/* the moved sections share the page's edges */
.page .expertise,
.page .flight {
  padding-inline: var(--gutter);
}
/* on the service pages these intros are content, not decoration */
@media (max-width: 650px) {
  .page .expertise-title p {
    display: block;
    text-align: left;
    margin-top: 14px;
  }
}

/* The hero: the veil runs up under the fixed header, so no strip of fibres
   shows between the frosted bar and the text */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(14px, 2vw, 26px)) var(--gutter) clamp(64px, 8vw, 110px);
  background: linear-gradient(
    rgba(var(--veil-rgb), 0.74),
    rgba(var(--veil-rgb), 0.62) 80%,
    rgba(var(--veil-rgb), 0.3)
  );
}
.page-hero--photo {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  column-gap: clamp(40px, 5vw, 84px);
  align-items: center;
}
.page-hero > .breadcrumb {
  grid-column: 1 / -1;
}
.page-hero--text .page-hero-copy {
  max-width: 820px;
}
/* the path to the page: Startseite · Leistungen · the service; the
   separators are small chevrons (borders in currentColor, so they stay in
   forced colours), each after its item, so a path that wraps never starts
   a line with one */
.breadcrumb {
  display: block;
  margin-bottom: clamp(26px, 3.4vw, 48px);
  font-size: var(--t-s);
  letter-spacing: 0.01em;
  color: var(--label);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.breadcrumb li:not(:last-child)::after {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin: 0 12px 0 9px;
  color: var(--hair);
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.breadcrumb a,
.breadcrumb [aria-current] {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.breadcrumb a {
  color: var(--link);
}
.breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breadcrumb a:focus-visible {
  outline-offset: 2px;
}
.breadcrumb [aria-current] {
  color: var(--ink);
}
/* kickers: tracked DM Sans in --label, a size the eye can read */
.page-kicker {
  margin: 0 0 18px;
  font-size: var(--t-k);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.45;
  color: var(--label);
}
/* the section headings' face (Manrope 400, tight tracking), not the global h1 */
.page-title {
  font-family: Manrope, sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 68px);
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--ink);
  overflow-wrap: break-word;
  text-wrap: balance;
}
/* the second voice, in the accent like the hero's coda */
.page-slogan {
  margin-top: clamp(14px, 1.6vw, 22px);
  font-family: Manrope, sans-serif;
  font-weight: 400;
  font-size: clamp(21px, 2.3vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--accent);
}
/* the lead in the voice of the homepage's introduction */
.page-lead {
  max-width: 36em;
  margin-top: clamp(18px, 2.4vw, 30px);
  font-family: Manrope, sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 1.45vw, 21px);
  letter-spacing: -0.01em;
  line-height: 1.6;
  color: var(--ink);
  text-wrap: pretty;
}
.page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: 30px;
}
/* the buttons speak like the homepage hero's, with its calmer fill */
.page-actions .solid,
.contact-band .solid {
  font-size: var(--t-a);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 16px 26px;
}
.page-actions .blue-solid,
.contact-band .blue-solid {
  background: linear-gradient(135deg, var(--h1-a), var(--accent));
  animation: none;
}
/* the second action in the voice of "Leistungen entdecken" */
.page-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: var(--t-a);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  transition: color 0.4s;
}
.page-link:hover {
  color: var(--accent);
}
.page-link:focus-visible {
  outline-offset: 4px;
}
/* Foto & Video: the four parts as chips under the hero's actions */
.page-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  font-size: inherit;
  color: inherit;
}
.page-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  font-size: var(--t-s);
  letter-spacing: 0.01em;
  color: var(--link);
  background: var(--chip-bg);
  border: 1px solid var(--edge);
  border-radius: 22px;
  box-shadow: 0 2px 0 var(--chip-sh);
  transition:
    color 0.4s,
    transform 0.4s;
}
.page-chip:hover {
  color: var(--ink);
  transform: translateY(-1px);
}
.page-chip:focus-visible {
  outline-offset: 3px;
}
/* a photo print, like the flight's shots: white mat, blue edge */
.page-photo {
  position: relative;
  margin: 0;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(150deg, var(--surface-a), var(--surface-b));
  box-shadow:
    inset 0 0 0 1px var(--edge),
    0 4px 0 var(--sheet-sh1),
    0 7px 0 var(--sheet-sh2),
    0 22px 36px var(--sh-soft);
}
.page-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  /* never taller than a low window (a phone held sideways): cropped instead */
  max-height: 72vh;
  object-fit: cover;
  border-radius: 10px;
  background: var(--mock-block);
  filter: saturate(0.85);
}

/* Sections: the veil and the white edge of the homepage's sections */
.page-section {
  position: relative;
  padding: clamp(72px, 8vw, 120px) var(--gutter);
  background: rgba(var(--veil-rgb), 0.82);
  border-top: 1px solid var(--edge);
}
.page-section-head {
  max-width: 760px;
  margin-bottom: clamp(30px, 4vw, 56px);
}
.page-h2 {
  font-family: Manrope, sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 50px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ink);
  overflow-wrap: break-word;
  text-wrap: balance;
}
.page-prose {
  max-width: 40em;
  font-size: var(--t-b);
  line-height: 1.7;
  color: var(--muted);
  overflow-wrap: break-word;
}
.page-prose p + p {
  margin-top: 1em;
}

/* Offers: cards on the deck's surface, a short accent rule over each title */
.offer-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.offer-grid[data-count="4"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.offer-card {
  padding: 30px 28px 32px;
  border-radius: 18px;
  background: linear-gradient(150deg, var(--surface-a), var(--surface-b));
  box-shadow:
    inset 0 0 0 1px var(--edge),
    0 2px 0 var(--chip-sh),
    0 18px 30px var(--sh-soft);
}
.offer-card::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.offer-card h3 {
  margin: 16px 0 10px;
  font-family: Manrope, sans-serif;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  overflow-wrap: break-word;
}
.offer-card p,
.approach-step p {
  font-size: var(--t-sb);
  line-height: 1.65;
  color: var(--muted);
}

/* Approach: numbered steps (a CSS counter, no numbers in the markup); on
   wide screens a thin line runs from each number towards the next step */
.approach-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
}
.approach-steps[data-count="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.approach-step {
  counter-increment: step;
  position: relative;
  padding-top: 58px;
}
.approach-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: Manrope, sans-serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.approach-step::after {
  content: "";
  position: absolute;
}
.approach-step h3 {
  margin: 0 0 10px;
  font-family: Manrope, sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
}
@media (min-width: 961px) {
  .approach-step::after {
    top: 17px;
    left: 58px;
    right: -16px;
    border-top: 1px solid var(--hair);
  }
  /* no line out of the last step of a row */
  .approach-step:last-child::after,
  .approach-steps:not([data-count="4"]) .approach-step:nth-child(3n)::after {
    display: none;
  }
}
@media (min-width: 961px) and (max-width: 1050px) {
  .approach-steps[data-count="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .approach-steps[data-count="4"] .approach-step:nth-child(2n)::after {
    display: none;
  }
}

/* Focus: the heading beside its prose */
.page-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
}

/* Foto & Video parts and the overview's teaser: photo and copy side by
   side; every second part (a class from the markup) puts its photo right */
.page-part,
.foto-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 84px);
  align-items: center;
}
.page-part--flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}
.page-part--flip .part-photo {
  order: 2;
}
.part-copy .page-prose {
  margin-top: 18px;
}
.part-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.part-points li {
  position: relative;
  padding-left: 24px;
  font-size: var(--t-sb);
  line-height: 1.65;
  color: var(--ink);
}
.part-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(0.8em - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent), transparent 85%);
}
.foto-teaser-text {
  margin: 16px 0 20px;
  max-width: 34em;
  font-size: var(--t-b);
  line-height: 1.7;
  color: var(--muted);
}

/* The overview's closing section: heading beside the prose like the focus
   sections, the five services below across both columns */
@media (min-width: 961px) {
  .page-onehand {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    column-gap: clamp(28px, 5vw, 90px);
    align-items: start;
  }
  .page-onehand > .page-section-head {
    margin-bottom: 0;
  }
  .page-onehand > .related-grid {
    grid-column: 1 / -1;
  }
}

/* The other services: one card each, the whole card is the link */
.related-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
/* the overview lists all five: three and two, every card the same width */
.related-grid--all {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(36px, 4vw, 56px);
}
.related-grid > li {
  display: flex;
}
.related-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border-radius: 18px;
  background: linear-gradient(150deg, var(--surface-a), var(--surface-b));
  box-shadow:
    inset 0 0 0 1px var(--edge),
    0 2px 0 var(--chip-sh),
    0 18px 30px var(--sh-soft);
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s;
}
.related-card:focus-visible {
  outline-offset: 4px;
}
.related-name {
  font-family: Manrope, sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  overflow-wrap: break-word;
}
.related-card p {
  flex: 1;
  margin: 10px 0 18px;
  font-size: var(--t-sb);
  line-height: 1.65;
  color: var(--muted);
}
.related-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-a);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--accent);
}
.related-more .ico {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (hover: hover) and (pointer: fine) {
  .related-card:hover {
    transform: translateY(-3px);
    box-shadow:
      inset 0 0 0 1px var(--edge),
      0 2px 0 var(--chip-sh),
      0 24px 38px var(--sh-soft);
  }
  .related-card:hover .related-more .ico {
    transform: translateX(3px);
  }
}

/* The contact band: the closing words of #kontakt, without the card */
.contact-band {
  position: relative;
  text-align: center;
  padding: clamp(90px, 10vw, 140px) var(--gutter) clamp(90px, 10vw, 130px);
  background: radial-gradient(ellipse at 50% 60%, var(--halo), transparent 65%);
  border-top: 1px solid var(--edge);
}
.contact-band-title {
  max-width: 18em;
  margin: 18px auto;
  font-family: Manrope, sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 60px);
  letter-spacing: -0.045em;
  line-height: 1.15;
  color: var(--ink);
  overflow-wrap: break-word;
  text-wrap: balance;
}
.contact-band-text {
  max-width: 36em;
  margin: 0 auto 34px;
  font-size: var(--t-b);
  line-height: 1.7;
  color: var(--label);
  text-wrap: pretty;
}
/* the band has no light veil behind it: the kicker's darker grey keeps the
   text and the phone link above 4.5:1 where the world light darkens */
.contact-band .phone {
  color: var(--label);
}
.contact-band .contact-actions {
  flex-wrap: wrap;
  gap: 20px 35px;
}

/* The deck's card link: to the service's own page */
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 14px;
  font-size: var(--t-a);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  transition: color 0.4s;
}
.service-more:hover {
  color: var(--accent);
}
.service-more:focus-visible {
  outline-offset: 3px;
}

@media (max-width: 1179px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .related-grid--all {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .page-hero--photo {
    display: block;
  }
  .page-hero-photo {
    max-width: 640px;
    margin-top: clamp(40px, 7vw, 56px);
  }
  .offer-grid,
  .offer-grid[data-count="4"],
  .related-grid--all {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* one column; the steps hang on a thin line, a dot at each number */
  .approach-steps,
  .approach-steps[data-count="4"] {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    max-width: 640px;
    padding-left: 28px;
    border-left: 1px solid var(--hair);
  }
  .approach-step {
    padding-top: 44px;
  }
  .approach-step::before {
    font-size: 28px;
  }
  .approach-step::after {
    top: 11px;
    left: -32px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent), transparent 85%);
  }
  .page-focus-grid,
  .page-part,
  .page-part--flip,
  .foto-teaser {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-part--flip .part-photo {
    order: 0;
  }
}
/* phones held sideways: the copy first, so a part's heading is on the
   first screen when a link lands on it */
@media (max-width: 960px) and (orientation: landscape) and (max-height: 500px) {
  .page-part .part-photo {
    order: 2;
  }
}
@media (max-width: 740px) {
  .page-actions .solid,
  .contact-band .solid {
    padding: 14px 18px;
    gap: 16px;
  }
  /* the hero's two actions stay one row, like the homepage's (12px below
     375px) */
  .page-actions {
    gap: 10px 14px;
    margin-top: 26px;
  }
  .page-actions .solid {
    font-size: 13px;
    padding: 14px 15px;
    gap: 12px;
  }
  .page-actions .page-link {
    font-size: 13px;
  }
  .page-link,
  .service-more {
    gap: 7px;
  }
  .breadcrumb li:not(:last-child)::after {
    margin: 0 10px 0 7px;
  }
}
@media (max-width: 374px) {
  .page-actions .solid,
  .page-actions .page-link {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  .page-kicker {
    margin-bottom: 14px;
  }
  /* from 28px, so the longest word of a title (Drohnenaufnahmen,) still
     fits a 320px screen: headings never hyphenate */
  .page-title {
    font-size: clamp(28px, 8.6vw, 40px);
    letter-spacing: -0.035em;
  }
  .page-h2 {
    font-size: 28px;
    letter-spacing: -0.03em;
  }
  .page-slogan {
    font-size: 21px;
  }
  .page-lead {
    font-size: 17px;
  }
  .page-photo {
    padding: 8px;
    border-radius: 14px;
  }
  .page-photo img {
    border-radius: 8px;
  }
  /* only the narrow phone column hyphenates (the rest of the site breaks
     at word ends); the limit keeps Chrome from breaking nearly every line */
  .page-lead,
  .page-prose,
  .offer-card p,
  .approach-step p,
  .foto-teaser-text,
  .related-card p {
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 10 4 4;
  }
  .offer-grid,
  .offer-grid[data-count="4"],
  .related-grid,
  .related-grid--all {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .offer-card {
    padding: 24px 22px 26px;
  }
  .related-card {
    padding: 22px 22px 20px;
  }
  .approach-steps,
  .approach-steps[data-count="4"] {
    padding-left: 22px;
  }
  .approach-step::after {
    left: -26px;
  }
  .contact-band .contact-actions {
    gap: 24px;
  }
  .service-more {
    margin-top: 10px;
  }
}
/* High contrast drops the shadows that draw the cards and prints */
@media (forced-colors: active) {
  .page-photo,
  .offer-card,
  .related-card {
    outline: 1px solid CanvasText;
    outline-offset: -1px;
  }
  .part-points li::before {
    forced-color-adjust: none;
    background: CanvasText;
    box-shadow: none;
  }
}
@media (forced-colors: active) and (max-width: 960px) {
  .approach-step::after {
    forced-color-adjust: none;
    background: CanvasText;
    box-shadow: none;
  }
}
/* The hero text as one block (Blocksatz, the user's wish): the letters of the
   wordmark set the measure, and the introduction runs flush to the same
   left and right edges, symmetric about the centre. The
   type is sized from that column, so the lines break the same at every width
   and fill it (in em: three lines from 741px and on phones held sideways,
   four from 441px, five below). The coda is centred, and so is a block's last
   line unless it all but fills the column (the drawn three lines): then
   studio.js sets it flush as well (.flush), so a short last line never
   stretches. Where text-justify works (Chrome, Edge, Firefox) a line's slack
   goes between the letters; Safari widens the word spaces, kept under about
   twice the normal space by the chosen measures. Browsers without container
   units keep the centred setting above. */
@supports (width: 1cqi) {
  .hero--services .hero-heading {
    container-type: inline-size;
    /* the wordmark's box, the one value everything below follows: 56vw
       between 640px (so the three lines are 20.8px, as large as the four
       lines below 741px end) and 780px, never wider than the column, and
       never wider than the window is high, so the whole block shrinks in
       low, wide windows and the actions stay on a laptop's first screen */
    --hero-wm: clamp(min(100cqi, 640px, 100vh), min(56vw, 100vh), 780px);
    /* its letters: the viewBox (buildHeroWordmark) is 1219.3 units wide and
       the letters fill 1205.3 of them (4 units of air on the left, 10 on the
       right for the extrusion); change these if the wordmark changes */
    --hero-col: calc(var(--hero-wm) * 1205.3 / 1219.3);
    --hero-shift: calc(var(--hero-wm) * -3 / 1219.3);
  }
  .hero--services .hero-wordmark {
    width: var(--hero-wm);
  }
  .hero--services .hero-heading p {
    position: relative;
    left: var(--hero-shift);
    width: var(--hero-col);
    max-width: 100%;
    margin-inline: auto;
  }
  /* the drawn three lines: 30.4em, so lines one and three (30.2em) all but
     fill the column; a little more word space than the font's own keeps the
     shorter second line from opening up */
  .hero--services .hero-heading p {
    font-size: calc(var(--hero-col) / 30.4);
    word-spacing: 0.06em;
    text-align: justify;
    text-align-last: center;
    text-justify: inter-character;
    text-wrap: wrap;
    -webkit-hyphens: manual;
    hyphens: manual;
  }
  /* a last line that all but fills the column (studio.js measures it) */
  .hero--services .hero-heading p.flush {
    text-align-last: justify;
  }
  .hero--services .hero-heading .hero-coda {
    text-align: center;
    text-align-last: center;
  }
  /* 496px: the four lines end at 20.7px, so the type never shrinks where
     the three lines take over at 741px */
  @media (max-width: 740px) {
    .hero--services .hero-heading {
      --hero-wm: min(100cqi, 496px);
    }
    /* four lines, no hyphen (the lines change below 23.47em, so 23.7 keeps
       a margin of 1% for differences in glyph widths) */
    .hero--services .hero-heading p {
      font-size: calc(var(--hero-col) / 23.7);
    }
  }
  /* phones held sideways: the drawn three lines in the phones' wordmark, so
     the intro stays short in a low window and alike on every phone (16.9px);
     below 560px wide three lines would fall under 16px */
  @media (orientation: landscape) and (max-height: 500px) {
    .hero--services .hero-heading {
      --hero-wm: min(100cqi, 520px);
    }
  }
  @media (orientation: landscape) and (max-height: 500px) and (min-width: 560px) {
    .hero--services .hero-heading p {
      font-size: calc(var(--hero-col) / 30.4);
    }
  }
  /* phones: five lines, one hyphen (Auf-tritte, a soft hyphen in the markup,
     so every browser breaks alike) */
  @media (max-width: 440px) {
    .hero--services .hero-heading p {
      font-size: calc(var(--hero-col) / 19.55);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-service-group[aria-hidden="true"] {
    display: none;
  }
  .hero-services-toggle {
    display: none;
  }
  /* nothing lifts or zooms: the ring and the colours mark focus and hover */
  .hero-service-card:focus-within img,
  .related-card,
  .related-card:hover,
  .related-card:hover .related-more .ico {
    transform: none;
  }
}

/* ------------------------------------------------------------------
   Phones: less text (the user's request, November 2026: on a phone the
   pages looked like too much text). Up to 740px the subpages show less;
   wider screens keep all of it, and all of it stays in the HTML.
   - Hidden on phones, repeats or decoration: the subpage hero's kicker, the
     desktop segments of the leads and approach steps (span.desktop-only,
     service-copy.ts), the AUS EINER HAND and IHR NÄCHSTES PROJEKT kickers,
     the contact band's text, the deck cards' kicker line and chips, the
     Foto & Video teaser's text, the flight's ground tile captions and the
     contact dialog's kicker and intro (its heading says the same).
   - Folded on phones: the offers become rows that open in place (an
     .offer-toggle over the heading, all closed at first), and the focus
     prose, the Foto & Video parts and the overview's "Aus einer Hand" show
     their first paragraph, the rest in .fold-more behind "Weiterlesen" (a
     .fold-toggle after it). The toggles are in the markup (page-markup.ts)
     and the inline head script binds them (seo.ts, one delegated click
     handler that flips aria-expanded); the folding needs its html.js, so
     without JavaScript phones show every folded text and no toggle.
   - "Weitere Leistungen" and the overview's five cards become compact rows
     (name and arrow; "Mehr erfahren" stays in the link's name).
   - The homepage keeps its text; a .thought paragraph's two lines flow as
     one (the <br> after a space in site-markup.ts).
   Mock-up and object texts (the Branchen device, the deck stage, the
   business card, the drone) are pictures and keep their own sizes.
   ------------------------------------------------------------------ */
/* the toggles exist only where they work: on phones, with the head script */
.offer-toggle,
.fold-toggle {
  display: none;
}
/* "Weiterlesen" while closed, "Weniger anzeigen" while open */
.fold-toggle[aria-expanded="true"] .fold-label-more,
.fold-toggle[aria-expanded="false"] .fold-label-less {
  display: none;
}
/* the wrapper keeps the paragraphs' rhythm (.page-prose p + p) everywhere */
.page-prose > .fold-more {
  margin-top: 1em;
}
/* an opened fold takes the focus for screen readers (seo.ts); it is text,
   not a control, so no ring */
.fold-more:focus {
  outline: none;
}
/* without JavaScript nothing would ever reveal (studio.js adds .in): show it */
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
  filter: none;
}
@keyframes fold-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
/* screens only: A4 with the usual margins prints about 718px wide, and a
   printout keeps every text and shows no toggle */
@media screen and (max-width: 740px) {
  .desktop-only,
  .page-hero .page-kicker,
  .page-related .page-kicker,
  .contact-band .page-kicker,
  .contact-band-text,
  .foto-teaser-text,
  .service .tiny,
  .service .tags,
  .ground-tile p,
  #contact-dialog > .tiny,
  #contact-dialog > h2 + p {
    display: none;
  }
  .thought p br {
    display: none;
  }
  .contact-band-title {
    margin: 0 auto 30px;
  }
  .foto-teaser .page-h2 {
    margin-bottom: 8px;
  }

  /* approach: number, title and the first sentence, closer together */
  .approach-steps,
  .approach-steps[data-count="4"] {
    gap: 26px;
  }
  .approach-step {
    padding-top: 40px;
  }
  .approach-step h3 {
    margin-bottom: 6px;
  }
  /* --label, like the open offer rows: --muted measured 4.39:1 on the
     offer cards' gradient */
  .approach-step p {
    color: var(--label);
  }

  /* the other services as rows: name and arrow */
  .related-grid,
  .related-grid--all {
    gap: 10px;
  }
  .page-onehand .related-grid--all {
    margin-top: 32px;
  }
  .related-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 18px 22px;
  }
  .related-card p {
    display: none;
  }
  .related-name {
    font-size: 18px;
  }
  .related-more .ico {
    width: 18px;
    height: 18px;
  }
  .related-more-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  /* offers: a row per card (accent bar, title, chevron) that opens in place;
     the toggle lies over the heading's row and takes its name from it. One
     column, as at 650px and below: between 651 and 740px two columns stretched
     a closed row to its open neighbour's height */
  html.js .offer-grid,
  html.js .offer-grid[data-count="4"] {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  html.js .offer-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
  }
  html.js .offer-card::before {
    display: none;
  }
  html.js .offer-card h3 {
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 60px;
    margin: 0;
    padding: 16px 56px 16px 22px;
    font-size: 18px;
  }
  html.js .offer-card h3::before {
    content: "";
    flex: none;
    width: 3px;
    height: 20px;
    border-radius: 2px;
    background: var(--accent);
  }
  /* above the heading (later in the same cell, and positioned), so a tap
     anywhere on the row reaches it */
  html.js .offer-toggle {
    grid-area: 1 / 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    min-height: 60px;
    padding: 0 20px;
    border: 0;
    border-radius: 18px;
    background: none;
    color: var(--accent);
    cursor: pointer;
  }
  html.js .offer-toggle .ico {
    width: 18px;
    height: 18px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  html.js .offer-toggle[aria-expanded="true"] .ico {
    transform: rotate(180deg);
  }
  html.js .offer-toggle:focus-visible {
    outline-offset: -3px;
  }
  html.js .offer-card > p {
    grid-area: 2 / 1;
    padding: 0 22px 20px 35px;
    color: var(--label);
  }
  html.js .offer-toggle[aria-expanded="false"] + p {
    display: none;
  }
  html.js .offer-toggle[aria-expanded="true"] + p {
    animation: fold-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
/* the folds key on the toggle after them (:has); a browser without :has
   shows everything and no toggle */
@supports selector(:has(+ *)) {
  @media screen and (max-width: 740px) {
    html.js .fold-more:has(+ .fold-toggle[aria-expanded="false"]) {
      display: none;
    }
    html.js .fold-more:has(+ .fold-toggle[aria-expanded="true"]) {
      animation: fold-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    html.js .fold-toggle {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 44px;
      margin-top: 6px;
      padding: 0;
      border: 0;
      background: none;
      font: inherit;
      font-size: var(--t-a, 14px);
      font-weight: 500;
      line-height: 1.2;
      letter-spacing: 0.01em;
      color: var(--accent);
      cursor: pointer;
    }
    html.js .fold-toggle .ico {
      width: 16px;
      height: 16px;
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    html.js .fold-toggle[aria-expanded="true"] .ico {
      transform: rotate(180deg);
    }
    html.js .fold-toggle:focus-visible {
      outline-offset: 4px;
    }
  }
}
