/* The look comes from @zyxworks/ui (repo ZyxWorks/ui): /ui/zyx/fonts.css and
   /ui/zyx/zyx-ui.css load before this file and bring the tokens (--z-*), the
   base and every shared part (zyx-*). ui/ is a copy written by
   `npm run ship -- <this repo> --static ui` in the library repo: never edit it
   here. This file holds only what is this site's own: its layout, its type
   sizes, the wordmark, the intro counter, the reveals, the sticky nav, the
   cursor dot, and a few small overrides of a part, each saying why. Every
   colour, shadow, edge, font and press time reads a --z-* token; the site's
   own long motions (the intro, the wordmark, the letter reveals) keep their
   own times, each marked zyx-ui-allow. The site is light only: no page sets
   data-theme. */

/* ============ own identity ============ */
/* What is this site's own and not Zyx's: the page padding, and the long ease
   of its reveals and its wordmark. The huge wordmark and every type size
   further down belong here too. The two faces are the library's
   (--z-font-text, the body default, and --z-font-mono). */
:root{
  --pad:clamp(1.25rem,4vw,3.5rem);
  --ease:cubic-bezier(.22,1,.36,1);
}
/* The reset sits in the library's base layer, under its parts. Unlayered, a
   `*{padding:0}` or an `a{text-decoration:none}` would beat every zyx-* part,
   because plain CSS wins over any cascade layer. box-sizing is the library's. */
@layer zyx-base{
  *{margin:0;padding:0}
  a{color:inherit;text-decoration:none}
  img{max-width:100%;display:block}
}
html{scroll-behavior:smooth}
body{
  font-size:clamp(1rem,1.15vw,1.0625rem);line-height:1.55;
  overflow-x:hidden;
}

/* ============ skip link ============ */
/* Above the intro counter and the sticky nav, so a keyboard user who tabs in
   during the intro still sees it. */
/* zyx-ui-allow: the library's skip link sits at z-index 100, under this site's intro (9500) and nav */
.zyx-skip{z-index:9600}

/* ============ intro counter ============ */
.load{
  position:fixed;inset:0;z-index:9500;background:var(--z-ground);
  display:none;align-items:flex-end;justify-content:space-between;
  padding:var(--pad);
}
.js .load{display:flex}
/* zyx-ui-allow: the site's own intro, longer than any motion token; site.js waits the same 900ms */
.load.gone{transform:translateY(-100%);transition:transform .9s var(--ease)}
.load b{
  font-family:var(--z-font-mono);font-weight:400;font-size:clamp(3rem,14vw,9rem);
  line-height:.8;letter-spacing:-.04em;font-variant-numeric:tabular-nums;
}
.load span{font-family:var(--z-font-mono);font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--z-muted);padding-bottom:.6rem}

/* ============ sticky nav ============ */
/* A solid bar on a hard rule, no blur. The right side is a zyx-nav of cells:
   each one fills the full height of the bar, a line between them, no gap. */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:8000;
  display:flex;align-items:center;justify-content:space-between;
  min-height:3.25rem;padding-left:var(--pad);
  font-family:var(--z-font-mono);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;
  background:var(--z-ground);border-bottom:var(--z-bw-rule) solid var(--z-ink);
  /* zyx-ui-allow: the site's own nav slide, longer than any motion token */
  transform:translateY(-101%);transition:transform .5s var(--ease);
}
.nav.on{transform:none}
.nav-right{align-self:stretch;border-left:var(--z-bw-rule) solid var(--z-ink)}

/* ============ cells ============ */
/* The nav and the footer are rows of library cells: the language pair is a
   zyx-lang (two square mono cells, the current one a zyx-cell-ink), the rest
   are zyx-nav cells. The slash between the two languages is for a screen
   reader and for no CSS; as cells a line parts them. */
:is(.nav,.foot) s{display:none}
/* A narrow phone: tighter cells, so the wordmark and all three still fit on one line. */
@media(max-width:400px){
  .nav{padding-left:1rem;letter-spacing:.06em}
  .nav .nav-right .pill{padding:0 .7rem}
}

/* ============ buttons ============ */
/* zyx-btn + zyx-main (the one main press a view) and zyx-push (every other),
   all zyx-btn-lg: 48px high for a thumb. The site's buttons speak in its mono
   capitals, like the nav and the claim. The arrow is an svg, not the
   library's text arrow, so it gets a size. */
/* zyx-ui-allow: the library has no mono capitals button; this site's buttons speak like its nav */
.zyx-btn{font-family:var(--z-font-mono);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase}
/* zyx-ui-allow: the library arrow is a text glyph; an svg arrow needs a size */
svg.zyx-arrow{width:.85em;height:.85em;overflow:visible}

/* ============ icons move in steps ============ */
/* One short hop per hover, the library's zyx-hop. The library only sets it
   off inside a cell or a push; these two are this site's own rows and card. */
@media(hover:hover){
  .rows summary:hover::before,.me .zyx:hover img{animation:zyx-hop var(--z-d1) step-end 1}
}

/* ============ blocks stand, and land ============ */
/* The main blocks of the page (the numbers, the steps, the Zyx card, the
   footer) stand on the 4px block shadow and land on it once, with the
   library's zyx-land, when they scroll in rather than on first paint. The
   numbers and the steps are zyx-stand blocks with data-zyx-reveal, so
   ui/reveal.js does it. The Zyx card is no zyx-stand, and the footer sits too
   low on the page to ever cross the library's reveal line, so these two wait
   paused until site.js sets .in. Without JavaScript nothing moves. */
.js :is(.me .zyx,.foot){animation:zyx-land var(--z-d2) step-end 1 backwards paused}
.js .me .zyx{animation-delay:.45s} /* zyx-ui-allow: its column fades in first, over the site's own reveal time */
.js :is(.me .zyx,.foot).in{animation-play-state:running}

/* ============ rules draw, squares stamp, markers wipe ============ */
/* Every section is a data-zyx-reveal: it waits until it scrolls into view,
   then ui/reveal.js plays the library's draw-in once. A section break is a
   zyx-rule, and its bar draws in from the left; a marker wipes in behind its
   words. Without JavaScript or with less motion all of it is simply there. */
/* The close clips its watermark (overflow:hidden), and that would clip the
   library's bar too, which stands in the section's top border. Here the bar
   stands inside the box instead, with no border, so it is drawn the same. */
/* zyx-ui-allow: the library rule stands in the top border, which the close's overflow would clip */
.close.zyx-rule{border-top:0}
/* zyx-ui-allow: the library rule stands in the top border, which the close's overflow would clip */
.close.zyx-rule::before{top:0}
/* The label's square stamps in after the rule, as the library does for a
   numbered label (zyx-eyebrow-n); this site's labels carry no number. */
@media(prefers-reduced-motion:no-preference){
  /* zyx-ui-allow: the library reveal stamps only the numbered label's square */
  html.zyx-js [data-zyx-reveal]:not([data-zyx-reveal="on"])>.zyx-eyebrow::before{scale:0}
  /* zyx-ui-allow: the library reveal stamps only the numbered label's square */
  html.zyx-js [data-zyx-reveal="on"]>.zyx-eyebrow::before{animation:zyx-square var(--z-d1) step-end var(--z-d2) 1 backwards}
}

/* ============ letter wave on hover ============ */
/* Each letter is its own inline-block with a stagger keyed off --i, so one
   hover sends a ripple across the word. Pure CSS, no per-frame work. */
/* zyx-ui-allow: the site's own letter wave, slower than any motion token */
.wave i,.wave u{display:inline-block;font-style:normal;text-decoration:none;transition:transform .45s var(--ease),color .45s var(--ease);transition-delay:calc(var(--i) * 26ms)}
.wave:hover i,.wave:focus-visible i,.wave:hover u,.wave:focus-visible u{transform:translateY(-.16em)}
/* A tap on a phone leaves :hover stuck on the element until you tap somewhere
   else, so this cancels the lift for a pointer that cannot really hover. The
   <u> belongs in it as much as the letters do, and was left out: a tap sent
   the whole word up, the letters came back down when the press wave ended,
   and the full stop - with the entire smiley hanging off it - stayed up at
   the top of the line. The press wave (.mark.wink) still lifts both, so they
   rise and fall together, which is the only thing that ever moves the face. */
@media(hover:none){.wave:hover i,.wave:hover u{transform:none}}

/* the nav logo swaps its two colours as the ripple passes */
.brand{display:inline-block}
.brand .g{color:var(--z-ink)}
.brand:hover i,.brand:focus-visible i{color:var(--z-ink)}
.brand:hover .g,.brand:focus-visible .g{color:var(--z-ink)}

/* The hero carries the nav's two tones, and swaps them on hover the same way
   the nav wordmark does. The face stays gold through the swap: it sits past
   the last S, on the page background, so it never has the word behind it. */
.mark .b{color:var(--z-ink)}
/* hover:hover, because iOS leaves :hover stuck on whatever was last tapped:
   unguarded, one tap swapped the wordmark's colours for good, and further
   down it kept a stale face half-alive after the tap show ended. Every
   .mark:hover rule in this file lives behind this guard. */
@media(hover:hover){
  .mark:hover .a i{color:var(--z-ink)}
  .mark:hover .b i{color:var(--z-ink)}
}

/* The full stop is the fifteenth letter of the wave, and at the top of its
   lift it turns into a face: a second eye above it, a mouth to the right.
   Both extras are pseudo-elements, absolutely positioned, so the line keeps
   the exact width the sizing comment further down measured it for.

   It says hello first: the lower eye holds shut on its own for a beat, which
   is a wink, and only then does the pair settle into blinking. A comma glyph
   swapped in for a literal semicolon was tried and dropped; at this size the
   tail read as a smudge on the wordmark rather than as a face.

   The parts are siblings, not nested. A blink is a scaleY and a transform
   scales every descendant: nested, the two eyes collapsed into one dash and
   the mouth flattened with them. As siblings each squashes about its own
   centre. The upper eye fades in without moving, so its entrance and its
   blink drive different properties and can run at the same time. */
.mark .b u{position:relative;display:inline-block}
.mark .b u b{display:inline-block;font-weight:inherit}
.mark .b u::before,.mark .b u::after{position:absolute;opacity:0;pointer-events:none}
.mark .b u::before{content:".";left:0;top:-.30em;transition:opacity .28s var(--ease)} /* zyx-ui-allow: the hero face, its own timing */
.mark .b u::after{content:")";font-size:.56em;left:.42em;top:.46em;transform:translateX(-.3em) rotate(-6deg);transition:opacity .28s var(--ease),transform .5s var(--ease)} /* zyx-ui-allow: the hero face, its own timing */
.mark .b u b,.mark .b u::before{transform-origin:50% 84%}
/* The wordmark is sized to leave only ~4% headroom, and the mouth spends
   what is left. A ≤420px override used to shrink and shift the mouth as an
   overflow guard for the always-on phone face; with the face transient now
   the guard bought a permanently off-model smiley against a fallback-font
   edge case, so the phone keeps the desktop proportions. */
@media(hover:hover){
  .mark:hover u::before{opacity:1;transition-delay:.34s} /* zyx-ui-allow: the hero face, its own timing */
  .mark:hover u::after{opacity:1;transform:none;transition-delay:.34s} /* zyx-ui-allow: the hero face, its own timing */
}

/* A real eyelid slams shut and opens slowly, so the close takes 84ms and the
   open 228ms, each with its own curve. The gaps are uneven on purpose: a quick
   double, then one on its own, then a long wait, over a twenty second loop.
   That is a blink about every seven seconds. Faster than that and the wordmark
   looked nervous; evenly spaced, it read as a spinner. The double sits early in
   the loop so a phone, which gets one pass and then folds the face away, still
   sees it. */
@keyframes blink{
  0%,6%,9.2%,55%{transform:scaleY(1);animation-timing-function:cubic-bezier(.4,0,1,1)}
  6.42%,9.62%,55.42%{transform:scaleY(.05);animation-timing-function:cubic-bezier(0,0,.25,1)}
  7.56%,10.76%,56.56%,100%{transform:scaleY(1)}
}
/* The wink is the same shape as a blink, held. Shut for a quarter second is
   deliberate; a blink at that length would just look like a stall. */
@keyframes wink{
  0%,16%{transform:scaleY(1);animation-timing-function:cubic-bezier(.4,0,1,1)}
  26%,46%{transform:scaleY(.05);animation-timing-function:cubic-bezier(0,0,.25,1)}
  62%,100%{transform:scaleY(1)}
}

@media(hover:hover){
  .mark:hover .b u b{animation:wink 1.3s linear .95s 1 both,blink 20s linear 2.5s infinite} /* zyx-ui-allow: the hero face, its own timing */
  .mark:hover .b u::before{animation:blink 20s linear 2.5s infinite} /* zyx-ui-allow: the hero face, its own timing */
}

/* On touch the face is a PERFORMANCE, not a state: site.js puts .hello on
   the wordmark once after the intro and again on every tap, and the face
   winks and folds back into a full stop over four seconds - the
   desktop hover gimmick, translated. The class leaves between shows, so
   every animation name leaves the list with it, which is what lets the next
   tap restart the show (an animation whose name never leaves the list never
   restarts). The always-on phone face this replaces fought iOS's sticky
   :hover: after a tap its blink came back broken, and it sat on the text
   permanently, which read as noise rather than a wink.

   The show does NOT lift the whole <u>. It used to (a hi-lift keyframe worth
   -.16em), and that moved the full stop off the baseline with it: instead of
   a second dot appearing ABOVE the period, the pair floated up and read as a
   colon parked in the middle of the line. Desktop hover never moved it, so
   the two surfaces drew a different face. Only the extras animate now, and
   the press wave (.wink, on the letters and the <u> together) is the one
   thing that still lifts it. */
.mark.hello .b u::before{animation:hi-fade 4s var(--ease) 1 both} /* zyx-ui-allow: the hero face, its own timing */
.mark.hello .b u::after{animation:hi-show 4s var(--ease) 1 both} /* zyx-ui-allow: the hero face, its own timing */
.mark.hello .b u b{animation:wink 1.3s linear .7s 1 both} /* zyx-ui-allow: the hero face, its own timing */
@keyframes hi-fade{0%,100%{opacity:0}14%,78%{opacity:1}}
@keyframes hi-show{0%,100%{opacity:0;transform:translateX(-.3em) rotate(-6deg)}14%,78%{opacity:1;transform:none}}

/* Press the wordmark and it waves back: the same ripple and colour swap as
   hover, driven by a class so a phone gets it too. On desktop the wink
   rides in from site.js via the Web Animations API (a script animation
   always restarts and outranks the hover blink); on touch the tap plays
   the .hello show above instead. Nothing advertises the press; whoever
   pokes it finds it. */
.mark.wink i,.mark.wink u{transform:translateY(-.16em)}
.mark.wink .a i{color:var(--z-ink)}
.mark.wink .b i{color:var(--z-ink)}


/* ============ language switch ============ */
/* The plain one under the hero buttons; the nav and the footer make it cells. */
.lang{
  display:inline-flex;align-items:center;gap:.4rem;
  font-family:var(--z-font-mono);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--z-muted);
}
.lang a:hover{color:var(--z-ink)}
.lang [aria-current]{color:var(--z-ink)}
.lang s{text-decoration:none;opacity:.4}

/* ============ the HR mark ============ */
/* Inline with the wordmark, so it rides the same baseline as the letters.
   The file is the white mark; inverted it prints in ink on the light ground. */
.mk{display:inline-block;width:1.6rem;height:auto;vertical-align:-.42em;margin-right:.55rem;filter:invert(1)}
.foot .mk{flex:none;width:2.1rem;margin-right:.7rem}
@media(max-width:560px){.nav .mk{display:none}} /* the wordmark alone fits; the mark would wrap it */

/* ============ the price reveal ============ */
/* Deliberately late on the page: the number only excites once the value is sold. */
/* "für jede Seite" / "flat" rides inside the number, not as a kicker above it. A
   small mono line over a display figure loses every race: the eye reads 500 and stops. */
.price .tick{margin-top:clamp(2rem,5vh,3rem)}
.price .tick b{display:block;font-variant-numeric:tabular-nums;font-weight:800;letter-spacing:-.05em;line-height:.88;font-size:clamp(4rem,17vw,12rem);color:var(--z-ink)}
.price .tick b em{font-style:normal;font-size:.44em;letter-spacing:-.03em;color:var(--z-ink);margin-right:.14em;white-space:nowrap}
.price .tick b i{font-style:normal;color:var(--z-ink)}
.price .lede{margin-top:1.75rem}

/* ============ shared bits ============ */
.pad{padding-left:var(--pad);padding-right:var(--pad)}
/* A quiet mono line (a number, a note). A section's label is the library's
   zyx-eyebrow; both keep the site's bracket pair as plain letters. */
.tag{
  font-family:var(--z-font-mono);font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--z-muted);display:block;
}
/* zyx-ui-allow: the site's bracket pair inside a label stands upright, in ink */
:is(.tag,.zyx-eyebrow) i{font-style:normal;color:var(--z-ink)}
.big{
  font-weight:800;letter-spacing:-.035em;line-height:.94;text-wrap:balance;
  font-size:clamp(2.1rem,6.6vw,5.5rem);
}
.big em{font-style:normal;color:var(--z-ink)}
.lede{color:var(--z-muted);max-width:34ch;text-wrap:pretty;font-size:clamp(1.05rem,1.7vw,1.3rem)}

/* reveal */
/* zyx-ui-allow: the site's own fade-up, longer than any motion token */
.js .r{opacity:0;transform:translateY(28px);transition:opacity .9s var(--ease),transform .9s var(--ease);transition-delay:var(--d,0s)}
.js .r.in{opacity:1;transform:none}

/* page to page */
/* Going from one page to another (DE, EN, Impressum) the old page lifts away and the new one rises in, as a
   cross-document View Transition. A browser without it just loads the page.
   With less motion there is no transition. */
@media(prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  /* zyx-ui-allow: the site's own page change, longer than any motion token */
  ::view-transition-old(root){animation:hw-out .28s cubic-bezier(.4,0,1,1) both}
  /* zyx-ui-allow: the site's own page change, longer than any motion token */
  ::view-transition-new(root){animation:hw-in .55s var(--ease) both}
}
@keyframes hw-out{to{opacity:0;transform:translateY(-12px)}}
@keyframes hw-in{from{opacity:0;transform:translateY(18px)}}

/* headings break whole words */
/* A heading breaks a word only when it is a long compound (13 letters or
   more), at a real hyphenation point, with at least 6 letters before and 7
   after the break. Short words never split; a word too long for the line
   still wraps instead of running out of the frame. */
h1,h2,h3{hyphenate-limit-chars:13 6 7;-webkit-hyphenate-limit-before:6;-webkit-hyphenate-limit-after:7;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}

/* ============ hero: the wordmark fills the frame ============ */
.hero{min-height:100svh;display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:var(--pad)}
/* On a phone the wordmark caps at 22.5vw and cannot fill the frame: forcing
   a full screen left about half the viewport as dead black above it, and
   pinned the mail and language links to a bottom edge the browser's own bar
   then sat on. Under 760px the hero stacks from the top instead and takes
   only the height it needs; the marquee peeking in below is the scroll cue. */
@media(max-width:760px){.hero{min-height:0;padding-top:clamp(4.5rem,14svh,8rem)}}
/* The one print ornament of the hero: the library's crop marks (zyx-crop).
   The wordmark's box runs edge to edge with the page padding inside it, so
   the marks move in by that padding to sit just outside the letters (the
   library sets them 14px outside the box, off screen here). */
.mark{--zyx-crop-inset:-.75rem calc(var(--pad) - .75rem);padding:0 var(--pad);margin-top:auto;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.mark span{display:block;font-weight:800;letter-spacing:-.05em;line-height:.78;white-space:nowrap}
/* Sized so each line fills the frame without ever clipping: measured glyph
   widths in Atkinson Hyperlegible Next at weight 800 are 3.81em (HANNES) and
   4.93em (WEBSITES.; 4.76em in Helvetica Neue), and the usable width is ~89vw
   at the narrowest padding, with ~4% headroom for fallback fonts that run
   wider. Remeasure if the words ever change. */
.mark .a{font-size:clamp(3rem,22.5vw,30rem)}
.mark .b{font-size:clamp(2.3rem,17.2vw,23rem)}
.mark .b u{text-decoration:none;color:var(--z-ink)}
/* zyx-ui-allow: the wordmark's own rise, longer than any motion token */
.js .mark span{opacity:0;transform:translateY(.14em);animation:rise 1.1s var(--ease) forwards}
.js .mark .a{animation-delay:.1s} /* zyx-ui-allow: the wordmark's own rise */
.js .mark .b{animation-delay:.22s} /* zyx-ui-allow: the wordmark's own rise */
@keyframes rise{to{opacity:1;transform:none}}

.herofoot{
  margin-top:clamp(2rem,6vh,4rem);padding:0 var(--pad);
  display:flex;flex-wrap:wrap;gap:1.5rem 2.5rem;align-items:flex-end;justify-content:space-between;
}
.claim{font-family:var(--z-font-mono);font-size:clamp(.8rem,1.3vw,.95rem);letter-spacing:.06em;line-height:1.7;text-transform:uppercase;font-weight:400}
.claim i{font-style:normal;color:var(--z-ink)}
/* Above the wordmark: the line boxes of its huge letters reach down over the buttons
   on a wide screen and would take the click. */
.herolinks{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:.9rem}
.herobtns{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center}

/* ============ text links ============ */
/* The mail links and LinkedIn are zyx-link (a thick underline that thickens
   under the pointer); they keep the site's own type. */
.inline-mail{font-family:var(--z-font-mono);font-size:.78rem;letter-spacing:.06em;color:var(--z-ink)}

/* ============ marquee ============ */
/* One track holding six identical groups, shifted by exactly one group width,
   so the reset lands on a pixel-identical frame. The five groups still on
   screen at the end of a cycle are what stop a gap ever scrolling into view;
   five group widths clear any display. Keep the copy count and the translate
   percentage in step: translate = 100% / groups.

   Speed is set by the duration, and the duration is the whole loop, not the
   visible travel: the band only ever moves trackWidth/6 in it. At 66s that was
   17px a second, which on a phone is 52px in a three second glance and reads
   as a still image. 34s is about 34px a second, slow enough to stay calm and
   fast enough to be obviously moving. */
.mq{overflow:hidden;border-top:var(--z-bw-rule) solid var(--z-ink);border-bottom:var(--z-bw-rule) solid var(--z-ink);padding:1.1rem 0}
/* zyx-ui-allow: the marquee loop, see the speed note above */
.mq-track{display:flex;width:max-content;animation:slide 34s linear infinite}
.mq-track p{
  flex:none;font-family:var(--z-font-mono);
  font-size:clamp(.85rem,1.6vw,1.05rem);letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;
}
.mq-track p i{font-style:normal;color:var(--z-ink);padding:0 1.6rem}
@keyframes slide{from{transform:translateX(0)}to{transform:translateX(-16.6667%)}}

/* ============ numbers ============ */
/* A zyx-stand (3px ink edge, white, the 4px block shadow) ruled into cells by
   zyx-cells-x. It sits inside the page padding, so the shadow has room on a
   phone too. On a phone the cells stack, so the line between them turns. */
.nums{display:grid;grid-template-columns:repeat(3,1fr);margin:0 var(--pad)}
.nums>div{padding:clamp(1.75rem,3.5vw,3rem) clamp(1.25rem,2.5vw,2.25rem)}
.nums b{display:block;font-variant-numeric:tabular-nums;margin-top:1.5rem;font-weight:800;letter-spacing:-.04em;line-height:.95;font-size:clamp(1.9rem,5.2vw,4.2rem)}
.nums span{display:block;margin-top:.6rem;color:var(--z-muted);font-size:.95rem;text-wrap:pretty}
@media(max-width:760px){.nums{grid-template-columns:1fr}.nums>div+div{border-left:0;border-top:var(--z-bw-hair) solid var(--z-edge)}}

/* ============ section frame ============ */
/* Was clamp(5rem,14vh,10rem) each side: two adjacent sections stacked up to
   20rem of nothing, which read as the page having ended (operator, on the
   gap under "Alles inklusive"). */
.sec{padding-top:clamp(3.5rem,10vh,7rem);padding-bottom:clamp(3.5rem,10vh,7rem)}
/* Lines carry the layout: every section break is one full-width 2px rule
   (zyx-rule in the HTML, or the bottom edge of a tinted section). Two plain
   sections in a row share one, and split a smaller gap around it, so the
   rule does not bring the old double gap back. */
.sec:not(.tinted)+.sec:not(.tinted){padding-top:clamp(2.5rem,7vh,4.5rem)}
.sec:not(.tinted):has(+.sec:not(.tinted)){padding-bottom:clamp(2.5rem,7vh,4.5rem)}
/* A label (zyx-eyebrow) keeps the library's room under it; a quiet line gets the site's. */
.sec .tag{margin-bottom:clamp(1.75rem,4vh,3rem)}
.tinted{background:var(--z-surface);border-bottom:var(--z-bw-rule) solid var(--z-ink)}

/* the word that assembles letter by letter */
.word{display:flex;flex-wrap:wrap;line-height:.8;margin-bottom:clamp(1.5rem,4vh,2.5rem)}
.word .sp{width:.26em} /* the gap between two words: an empty letter with a real width */
.word i{font-style:normal;font-weight:800;letter-spacing:-.045em;font-size:clamp(3.4rem,16vw,11rem);display:block}
/* zyx-ui-allow: the word's own letter-by-letter reveal, slower than any motion token */
.js .word i{opacity:0;transform:translateY(.3em) rotate(6deg);transition:opacity .7s var(--ease),transform .7s var(--ease);transition-delay:calc(var(--i) * 70ms)}
.js .word.in i{opacity:1;transform:none}

/* ============ the list ============ */
/* The six rows open like the questions further down and are built from the
   same parts: the wrapper is .faq as well as .rows, and everything a row
   shares with a question (lines, fill, sign, answer) is in the faq section.
   What differs is below it, under "the list, on top of the faq". */
.count{margin-top:1.75rem;font-family:var(--z-font-mono);font-size:.78rem;letter-spacing:.14em;color:var(--z-muted);text-transform:uppercase}
.count i{font-style:normal;color:var(--z-ink)}

/* ============ faq ============ */
/* Native <details>, so it works with no JavaScript and the answers stay in
   the DOM for crawlers and AI assistants even while collapsed. The list is a
   zyx-faq of zyx-fold rows: the ink rules, the press, the open piece on white
   that presses in as one, the square plus that turns into an ink minus, and
   the muted answer (zyx-faq-a). The site lays the head out as a grid: its own
   number, question, sign, where the sign is the fold's own ::after. The
   number is a CSS counter in ::before, so the text of a summary is the
   question alone and matches the FAQPage JSON-LD word for word. */
.faq{counter-reset:faq}
.faq summary{counter-increment:faq;
  display:grid;grid-template-columns:4.5rem 1fr 2rem;gap:1rem 2rem;align-items:baseline;
  padding:clamp(1.2rem,2.6vw,1.8rem) .9rem;
}
.faq summary::after{justify-self:end}
.faq summary::before{content:counter(faq,decimal-leading-zero);justify-self:start;padding:.1rem .4rem;margin-left:-.4rem;font-family:var(--z-font-mono);font-size:.78rem;font-weight:400;color:var(--z-muted);letter-spacing:.1em}
.faq summary:hover::before,.faq details[open]:not([data-closing]) summary::before{color:var(--z-ink);background:var(--z-signal)}
/* A closing fold stays [open] until its height has shrunk (site.js) and
   carries data-closing meanwhile: it shows the closed state at once, the
   plus sign and no white piece, like the library's closed zyx-fold. */
/* zyx-ui-allow: the frozen 0.2.2 fold, its closed state while it closes */
.zyx-fold[data-closing]>summary::after{content:"+";background:var(--z-surface);color:var(--z-ink)}
/* zyx-ui-allow: the frozen 0.2.2 fold, its closed state while it closes */
.zyx-faq>.zyx-fold[data-closing]{background:none}
/* zyx-ui-allow: the frozen 0.2.2 fold, its closed state while it closes */
@media(hover:hover){.zyx-fold:not(.zyx-fold-list)[data-closing]:hover{box-shadow:none}.zyx-fold:not(.zyx-fold-list)[data-closing]>summary:hover{box-shadow:var(--z-shadow-in)}}
.faq summary h3{font-weight:700;letter-spacing:-.02em;font-size:clamp(1.05rem,2vw,1.45rem);line-height:1.2;text-wrap:balance}
/* The answer starts under the question, past the number column. */
.faq .a{padding:0 .9rem clamp(1.4rem,3vw,2rem) calc(.9rem + 6.5rem)}
@media(max-width:760px){
  .faq summary{grid-template-columns:3.2rem 1fr 1.75rem;gap:.4rem 1rem}
  .faq .a{padding-left:calc(.9rem + 4.2rem)}
}
/* the list, on top of the faq: a bigger title, more air, and the one-line
   text as a third column (on a phone it drops under the title). */
.rows summary{grid-template-columns:4.5rem 1fr 1.2fr 2rem;padding-top:clamp(1.4rem,3vw,2.1rem);padding-bottom:clamp(1.4rem,3vw,2.1rem)}
.rows summary h3{font-size:clamp(1.25rem,2.8vw,2rem);line-height:1.1}
/* The one-line text is body text, not part of the question's bold head. */
.rows .t{color:var(--z-muted);font-weight:400;line-height:var(--z-lead);text-wrap:pretty}
@media(max-width:760px){
  .rows summary{grid-template-columns:3.2rem 1fr 1.75rem}
  .rows summary::after{grid-column:3;grid-row:1}
  .rows .t{grid-column:2;grid-row:2}
}

/* ============ the deal ============ */
/* One zyx-stand of three cells, ruled by zyx-cells-x; on a phone they stack. */
.steps{display:grid;grid-template-columns:repeat(3,1fr);margin-top:clamp(2.5rem,6vh,4rem)}
.steps div{padding:clamp(1.25rem,3vw,2rem)}
.steps b{display:block;font-family:var(--z-font-mono);font-size:.75rem;letter-spacing:.14em;color:var(--z-ink);margin-bottom:.7rem}
.steps p{color:var(--z-muted);text-wrap:pretty}
@media(max-width:760px){.steps{grid-template-columns:1fr}.steps>div+div{border-left:0;border-top:var(--z-bw-hair) solid var(--z-edge)}}

/* ============ care ============ */
/* What the yearly care holds: one zyx-stand of four cells in two rows, ruled
   by hairlines like zyx-cells-x (which rules only one row). Each cell is a
   heading and a short list with the site's square as its bullet. On a phone
   the cells stack. */
.care-lede{margin-top:1.75rem}
.care{display:grid;grid-template-columns:repeat(2,1fr);margin-top:clamp(2.5rem,6vh,4rem)}
.care>div{padding:clamp(1.25rem,3vw,2.25rem)}
.care>div:nth-child(even){border-left:var(--z-bw-hair) solid var(--z-edge)}
.care>div:nth-child(n+3){border-top:var(--z-bw-hair) solid var(--z-edge)}
.care h3{font-weight:700;letter-spacing:-.02em;font-size:clamp(1.2rem,2.2vw,1.6rem);line-height:1.15;color:var(--z-ink);margin-bottom:1rem}
.care ul{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.care li{position:relative;padding-left:1.15rem;color:var(--z-muted);text-wrap:pretty}
.care li::before{content:"";position:absolute;left:0;top:.6em;width:.4rem;height:.4rem;background:var(--z-ink)}
@media(max-width:760px){.care{grid-template-columns:1fr}.care>div:nth-child(even){border-left:0}.care>div+div{border-top:var(--z-bw-hair) solid var(--z-edge)}}

/* ============ me ============ */
.me{display:grid;grid-template-columns:minmax(0,16rem) minmax(0,1fr);gap:clamp(2rem,5vw,5rem);align-items:center}
/* height:auto is load-bearing: the width/height attributes make both axes
   definite, and aspect-ratio is ignored until one of them is auto.
   16rem is also the largest hannes.jpg (320x308) renders without upscaling. */
.me img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;max-width:16rem}
.me>img{border:var(--z-bw) solid var(--z-ink)}
.me p{color:var(--z-muted);margin-top:1.25rem;text-wrap:pretty;max-width:42ch}
/* The one other thing Hannes builds: a quiet card, not an ad. It stands on
   the ink shadow; as a link it presses 2px into it on hover and lands fully
   on press, like the main button. The library has no card that is a link and
   presses into its own shadow, so this one is the site's. */
.me .zyx{display:flex;align-items:flex-start;gap:1rem;margin-top:1.25rem;padding:1rem 1.1rem;max-width:42ch;border:var(--z-bw) solid var(--z-ink);background:var(--z-surface);color:var(--z-muted);font-size:.92em;line-height:1.5;box-shadow:var(--z-shadow-block);transition:transform var(--z-d-press) ease-out,box-shadow var(--z-d-press) ease-out}
@media(hover:hover){.me .zyx:hover{--h:calc(var(--z-block-travel) / 2);transform:translate(var(--h),var(--h));box-shadow:var(--h) var(--h) 0 var(--z-ink)}}
.me .zyx:active{transform:translate(var(--z-block-travel),var(--z-block-travel));box-shadow:0 0 0 var(--z-ink)}
.me .zyx img{flex:none;width:2.75rem;height:2.75rem;max-width:none;aspect-ratio:auto}
.me .zyx b{display:block;color:var(--z-ink);font-weight:600;margin-bottom:.15rem}
.me .zyx i{display:block;font-style:normal;font-family:var(--z-font-mono);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--z-ink);margin-top:.5rem}
.me .li{display:inline-flex;align-items:center;margin-top:1.5rem;font-family:var(--z-font-mono);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--z-ink)}
.me .li svg{width:.8em;height:.8em}
@media(max-width:820px){.me{grid-template-columns:1fr}.me img{max-width:11rem}}

/* ============ close ============ */
/* One huge, faint mark bleeding off the right edge of the close. isolate makes
   .close its own stacking context, so z-index:-1 sits behind the text but still
   above the page background. Cropped on purpose: a stamp reads as a watermark,
   a crop reads as art direction. It is the ::after, because the ::before is
   the section's zyx-rule. */
.close{padding-top:clamp(6rem,18vh,12rem);padding-bottom:clamp(4rem,10vh,7rem);position:relative;isolation:isolate;overflow:hidden}
.close::after{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  right:-6%;top:50%;transform:translateY(-50%);
  width:min(56vw,36rem);aspect-ratio:467/422;
  background:url("/logo-mark-white.png") center/contain no-repeat;
  opacity:.055;filter:invert(1); /* white file, light page: invert like .mk */
}
/* On a phone the close has no empty column, so the mark drops to the dead
   space under the mail link instead of sitting behind the copy. */
@media(max-width:760px){.close::after{top:auto;bottom:-8%;transform:none;right:-14%;width:64vw}}
.close :is(h1,h2){font-weight:800;letter-spacing:-.045em;line-height:.86;font-size:clamp(3rem,14vw,11rem);text-wrap:balance}
/* The close has NO face any more (operator call, 2026-09-01, after two
   rounds of trying to tame it): a face beside the page's one button always
   competed with it, and every hidden-until-asked variant read as buggy on a
   phone. The headline ends in a plain marked full stop; the face lives in the
   hero only, where it is earned. */
.close :is(h1,h2) em{font-style:normal;color:var(--z-ink)}
.close .cta{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:clamp(2rem,5vh,3rem)}
.mail{display:inline-block;margin-top:2rem;font-weight:700;letter-spacing:-.02em;font-size:clamp(1.15rem,3.4vw,2.2rem);color:var(--z-ink)}

footer{border-top:var(--z-bw-rule) solid var(--z-ink);padding-top:1.75rem;padding-bottom:2.5rem;font-family:var(--z-font-mono);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--z-muted)}
footer a:hover{color:var(--z-ink)}
/* The homepage footer is a zyx-stand ruled as a zyx-nav: the mark and the
   year, the language pair (zyx-lang), the two legal links, each a cell on its
   own (zyx-cell-box), every row 48px for a thumb. The legal links are parted
   by a slash in the HTML; as cells a line parts them, so the slash is sized
   away, not removed. */
footer:not(.doc){border-top:0;padding:0 var(--pad) clamp(2rem,5vh,3rem)}
.foot{flex-wrap:wrap}
.foot>span{display:flex;align-items:center;min-height:3rem}
.foot>span+span{align-items:stretch}
.foot>span:first-child{flex:1 1 auto;padding:.75rem 1rem}
.foot>span:last-child{font-size:0;letter-spacing:0}
.foot>span:last-child a{justify-content:center;font-size:.72rem;letter-spacing:.1em}
@media(max-width:640px){
  .foot>span:first-child{flex-basis:100%;border-bottom:var(--z-bw-rule) solid var(--z-ink)}
  .foot>span:nth-child(2){border-left:0}
  .foot>span:last-child,.foot>span:last-child a{flex:1 1 auto}
}
/* The consent cell (data-consent-open, opens the bar of consent.js) sits
   between the language pair and the legal links and reads like them. Up to
   900px the row is too short for all five: the mark takes the first row, the
   language pair and the consent cell the second, the legal links the third. */
.foot>.consent-cell a{justify-content:center;font-size:.72rem;letter-spacing:.1em}
@media(max-width:900px){
  .foot>span:first-child{flex-basis:100%;border-bottom:var(--z-bw-rule) solid var(--z-ink)}
  .foot>span:nth-child(2){border-left:0}
  .foot>.consent-cell,.foot>.consent-cell a{flex:1 1 auto}
  .foot>span:last-child{flex-basis:100%;border-left:0;border-top:var(--z-bw-rule) solid var(--z-ink)}
  .foot>span:last-child a{flex:1 1 auto}
}

/* ============ cursor ============ */
/* zyx-ui-allow: the cursor dot's own fade and grow */
.cur{position:fixed;top:0;left:0;width:9px;height:9px;background:var(--z-ink);z-index:9200;pointer-events:none;opacity:0;transition:opacity .3s,transform .25s var(--ease);will-change:transform}
@media(hover:hover) and (pointer:fine){.cur.on{opacity:1}.cur.big{transform:scale(4.5);opacity:.35}}

/* ============ legal page ============ */
.doc{max-width:46rem;margin:0 auto}
.doc-head{padding-top:1.5rem;padding-bottom:1rem;font-family:var(--z-font-mono);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;border-bottom:var(--z-bw-rule) solid var(--z-ink)}
.doc-head .brand b{color:var(--z-ink)}
/* The way back is a nav cell (zyx-cell): it presses in on hover. */
.doc-head .back{color:var(--z-ink);padding:.85rem .7rem;margin:-.85rem -.7rem}
.doc h1{font-weight:800;letter-spacing:-.045em;line-height:.9;font-size:clamp(2.6rem,10vw,5.5rem);margin-top:clamp(3rem,10vh,6rem)}
.doc h2{font-weight:800;letter-spacing:-.035em;line-height:1;font-size:clamp(1.6rem,4.5vw,2.6rem);margin-top:clamp(3.5rem,8vh,5.5rem);padding-top:2rem;border-top:var(--z-bw-rule) solid var(--z-ink)}
.doc h3{font-family:var(--z-font-mono);font-size:.78rem;font-weight:400;letter-spacing:.12em;text-transform:uppercase;color:var(--z-ink);margin-top:2.25rem;margin-bottom:.5rem}
.doc p,.doc ul{margin-top:.85rem;color:var(--z-muted);text-wrap:pretty}
/* Links in the legal text are zyx-link, in ink against the muted words. */
.doc a{color:var(--z-ink)}
.doc ul{padding-left:1.2rem}
.doc li{margin-top:.35rem}
.doc address{font-style:normal;margin-top:.85rem;color:var(--z-ink);line-height:1.75}
/* The privacy note is a zyx-card that stands (zyx-card-stand); this is its room. */
.stamp{margin-top:1.75rem;padding:1.25rem 1.4rem;border-left:var(--z-bw) solid var(--z-signal)}
.stamp p{margin-top:0}
.stamp strong{color:var(--z-ink)}

/* ============ markers ============ */
/* The accent words are zyx-marker: yellow text on a light ground is not
   readable, so they get a marker stroke in place of a colour. In a section
   the library wipes it in from the left, in four steps, when the section is
   in view (data-zyx-reveal). The hero's markers stay put: they are on screen
   from the start. */

/* ============ consent ============ */
/* The card consent.js shows until a visitor answers. Made like the small
   consent cards of well-made sites (Mobbin's own: one short line, two equal
   buttons beside it, low at the bottom): a short card bottom right on a wide
   screen, a compact sheet along the bottom edge on a phone. It sits above
   the nav (8000) and under the cursor dot (9200) and the intro (9500), so
   the intro still covers it on the first second. Both answers are the same
   button, side by side: no nudge towards yes. While it is open, consent.js
   sets .consent-open on <html> and its height as --consent-h, and the hero
   leaves that much room at its foot, so the card never covers the claim or
   the buttons on first load. */
.consent{
  position:fixed;z-index:9100;right:var(--pad);bottom:var(--pad);
  width:min(40rem,calc(100vw - 2 * var(--pad)));
  padding:var(--z-s3) var(--z-s4);display:grid;grid-template-columns:1fr auto;align-items:center;gap:var(--z-s2) var(--z-s4);
}
.consent p{color:var(--z-muted);text-wrap:pretty;font-size:.88rem;line-height:1.45}
.consent a{color:var(--z-ink)}
.consent-btns{display:grid;grid-template-columns:1fr 1fr;gap:var(--z-s2)}
.consent-btns .zyx-btn{justify-content:center}
.consent-open .hero{padding-bottom:calc(var(--pad) + var(--consent-h,0px) + var(--z-s4))}
@media(max-width:760px){
  .consent{
    left:0;right:0;bottom:0;width:auto;margin:0;
    grid-template-columns:1fr;gap:var(--z-s2);
    padding:var(--z-s2) var(--pad) calc(var(--z-s2) + env(safe-area-inset-bottom));
    box-shadow:none;border-left:0;border-right:0;border-bottom:0;border-radius:0;
  }
  .consent p{font-size:.82rem}
  /* the phone hero stacks from the top and ends above the fold */
  .consent-open .hero{padding-bottom:var(--pad)}
}

/* ============ less motion ============ */
/* The library switches every animation and transition off, keeps every part
   still and shows the drawn rule, the stamped square and the wiped marker at
   once; these are the end states of the site's own motion. */
@media(prefers-reduced-motion:reduce){
  .js .r{opacity:1;transform:none}
  .js .mark span{opacity:1;transform:none}
  .js .word i{opacity:1;transform:none}
  .cur{display:none}
  /* No lift: the Zyx card still changes its shadow, but it does not travel. */
  .me .zyx{transform:none!important}
  /* No motion means no face: a face that cannot blink reads as a typo, not
     a friend, so under reduced motion the hero's full stop stays a full
     stop. (This switch is also the answer to "no animation works on my
     phone": the OS motion setting stops everything here on purpose.)
     Browsers too old to know this query ignore the whole block and play the
     animations instead, so nobody ever gets a dead face. */
  .mark .b u::before,.mark .b u::after{content:none}
}
