/* Fercho Webdesign — neovf.com
 *
 * One typeface (Outfit), a warm near-black page with bone-white type, the blue of the logo used
 * sparingly, photographs in black and white that warm up under the pointer, and one light chapter
 * at the end, where the page asks for the message.
 */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0b0c;
  --card: #151517;
  --card-2: #1c1c1f;
  --well: #0e0e10;          /* the screens set into the tiles: one step darker than the tile */
  --line: rgba(239, 236, 230, .09);
  --line-2: rgba(239, 236, 230, .18);
  --ink: #efece6;
  --ink-2: #aaa69e;
  --ink-3: #7e7a73;
  --paper: #ebe7df;         /* the light chapter at the end */
  --paper-ink: #111112;
  --paper-ink-2: #57534c;
  --paper-line: rgba(17, 17, 18, .18);
  --blue: #4c7dff;          /* the logo's rule */
  --blue-solid: #2a50e0;    /* fills that carry white text, and the blue on paper */
  --ok: #3ddc84;
  --bad: #b42318;

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --chapter: 8rem;          /* space above and below every section; 12rem from tablets up */
  --radius: clamp(20px, 2vw, 28px);
  --inset: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* Photographs are shown in black and white, slightly harder, so they read as one set. */
  --photo: grayscale(1) contrast(1.18) brightness(.8);
  --photo-warm: grayscale(.2) contrast(1.06) brightness(.88);
  --dots: radial-gradient(circle, rgba(239, 236, 230, .07) 1px, transparent 1.3px) 0 0 / 16px 16px;

  color-scheme: dark;
}
@media (min-width: 768px) { :root { --chapter: 12rem; } }

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  /* Clipped here as well as on body and main: with html left at "visible" the body's value only
     reaches the viewport, and phone browsers still let a page that is too wide be panned sideways. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

/* Film grain over the whole page, so the dark surfaces never look like flat screen black. One fixed
   layer that never moves or repaints; the speckle is an SVG filter inside the style sheet. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .11;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .9 0 0 0 -.4'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Everything between header and footer; nothing in it may widen the page. "clip" rather than
   "hidden" where supported, so main does not become a scroll container of its own. */
.page { display: block; width: 100%; max-width: 100%; overflow-x: hidden; overflow-x: clip; outline: none; }

h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
svg { display: block; }
img { display: block; max-width: 100%; }
::selection { background: var(--blue-solid); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: fixed; left: 16px; top: -64px; z-index: 100;
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg);
  font-size: .9375rem; font-weight: 500; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 16px; }

.fw-logo__ink { fill: var(--ink); }
.fw-logo__grey { fill: var(--ink-2); }
.fw-logo__rule { fill: var(--blue); }

/* ── Type ─────────────────────────────────────────────────── */

h2 {
  font-size: clamp(2.25rem, 1.2rem + 3.4vw, 4.25rem); font-weight: 500;
  line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; overflow-wrap: break-word;
}
h3 { font-size: clamp(1.375rem, 1.25rem + .45vw, 1.625rem); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }

/* A small photograph set into a headline like a word of its own. Never taller than the letters,
   so it cannot push the lines apart. */
.pill {
  display: inline-block; width: 1.9em; height: .76em; margin: 0 .03em;
  border-radius: 999px; vertical-align: middle; position: relative; top: -.04em;
  background: var(--card-2) 50% 50% / cover no-repeat;
  filter: grayscale(1) contrast(1.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  transform-origin: 50% 50%;
}

/* ── Buttons ──────────────────────────────────────────────── */

/* Light buttons carry near-black text, dark and outlined ones bone white. */
.btn {
  --h: 3.25rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--h); padding: 0 1.55rem;
  border: 1px solid transparent; border-radius: 999px;
  font: 500 1rem/1 var(--font); letter-spacing: -.005em; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .35s, border-color .35s, color .35s, transform .35s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn__icon { flex: none; width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.btn:hover .btn__icon, .btn:focus-visible .btn__icon { transform: translateX(3px); }
.btn--light { background: var(--ink); color: #0b0b0c; }
.btn--light:hover { background: #fff; }
.btn--ghost { background: rgba(11, 11, 12, .25); border-color: rgba(239, 236, 230, .3); color: var(--ink); }
.btn--ghost:hover { background: rgba(239, 236, 230, .08); border-color: rgba(239, 236, 230, .55); }
.btn--dark { background: var(--paper-ink); color: var(--ink); }
.btn--dark:hover { background: #2a2a2e; }
.btn--s { --h: 2.625rem; padding: 0 1.15rem; font-size: .9375rem; }

/* ── Navigation: a floating glass pill ────────────────────── */

.nav {
  position: fixed; z-index: 50; top: 14px; left: 0; right: 0; margin-inline: auto;
  width: min(100% - 24px, 940px);
  display: flex; align-items: center; gap: 6px;
  padding: 7px 7px 7px 20px;
  border: 1px solid rgba(239, 236, 230, .1); border-radius: 999px;
  background: rgba(18, 18, 20, .56);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: background-color .4s;
}
/* Denser once the page moves under it, so it stays legible over the light chapter as well. */
.nav.is-scrolled { background: rgba(18, 18, 20, .84); }
.nav__logo { display: block; margin-right: auto; padding: 4px 2px; border-radius: 8px; }
.nav__logo svg, .nav__logo img { display: block; height: 26px; width: auto; }

.nav__links { display: flex; gap: 2px; }
.nav__links a {
  padding: 11px 15px; border-radius: 999px;
  font-size: .9375rem; font-weight: 450; line-height: 1; color: var(--ink-2); text-decoration: none;
  transition: color .25s, background-color .25s;
}
/* The link of the section on screen stays lit (set by main.js as the page scrolls). */
.nav__links a:hover, .nav__links a:focus-visible { color: var(--ink); background: rgba(239, 236, 230, .06); }
.nav__links a[aria-current] { color: var(--ink); background: rgba(239, 236, 230, .1); }

.lang { display: flex; margin-left: 4px; padding: 3px; border-radius: 999px; background: rgba(239, 236, 230, .05); }
.lang button {
  min-width: 38px; height: 32px; padding: 0 10px;
  border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 500 .8125rem/1 var(--font); letter-spacing: .03em; color: var(--ink-2);
  transition: color .25s, background-color .25s;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: rgba(239, 236, 230, .13); color: var(--ink); }
.nav__cta { margin-left: 4px; }

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  position: relative; isolation: isolate;
  display: grid; align-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: 136px 0 112px;
  overflow: hidden; text-align: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  filter: grayscale(1) contrast(1.3) brightness(.74);
  transform-origin: 50% 40%;
}
/* The wash: darkest at the edges, a little lighter behind the words, then the photograph sinks
   into the page below. A faint blue from the top is the only colour. */
.hero__wash {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(42% 46% at 50% 0%, rgba(76, 125, 255, .16), transparent 100%),
    radial-gradient(ellipse 64% 60% at 50% 50%, rgba(11, 11, 12, .52) 0%, rgba(11, 11, 12, .84) 60%, rgba(11, 11, 12, .97) 100%),
    linear-gradient(180deg, rgba(11, 11, 12, .5) 0%, rgba(11, 11, 12, 0) 24%, rgba(11, 11, 12, 0) 64%, var(--bg) 100%);
}
.hero__inner { position: relative; }
/* Wide on purpose (max-w-6xl): the headline runs across the page in two lines, three on a phone. */
.hero__title {
  width: 100%; max-width: 72rem; margin-inline: auto;
  font-size: clamp(2.25rem, 1rem + 5vw, 5.5rem); font-weight: 500;
  line-height: 1; letter-spacing: -.045em; text-wrap: balance;
}
.hero__title .w { display: inline-block; }
.hero__lead {
  max-width: 35rem; margin: clamp(24px, 3vw, 36px) auto 0;
  font-size: clamp(1.0625rem, .98rem + .4vw, 1.3125rem); line-height: 1.55;
  color: var(--ink-2); text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(32px, 4vw, 44px); }

/* ── Sections ─────────────────────────────────────────────── */

.section { position: relative; isolation: isolate; padding-block: var(--chapter); }

.head { max-width: 62rem; }
.head__intro { max-width: 34rem; margin-top: 24px; font-size: 1.125rem; color: var(--ink-2); text-wrap: pretty; }

/* Wide screens: a section's introduction sits to the right of its headline, level with its last line. */
@media (min-width: 1041px) {
  .head--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; column-gap: clamp(48px, 6vw, 96px); max-width: none; }
  .head--split .head__intro { margin: 0 0 .4em; }
}

/* Deep, slow light behind some chapters: large soft radial fields rather than flat colour. */
.services::before, .process::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* faded out towards the top and bottom, so no field is ever cut off by the edge of its section */
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.services::before {
  background:
    radial-gradient(46rem 30rem at 6% 14%, rgba(76, 125, 255, .1), transparent 70%),
    radial-gradient(40rem 30rem at 96% 92%, rgba(214, 186, 150, .06), transparent 70%);
}
.process::before {
  background:
    radial-gradient(42rem 34rem at 0% 40%, rgba(214, 186, 150, .07), transparent 70%),
    radial-gradient(36rem 28rem at 100% 90%, rgba(76, 125, 255, .07), transparent 70%);
}

/* ── Services: the bento ──────────────────────────────────── */

/* Four columns, two rows, and every cell filled: maintenance 2×2, automation 2×1, devices and
   the start tile 1×1 each (4 + 2 + 1 + 1 = 8 = 4 × 2). Tablets: 2 + 2 + 1 + 1 = 6 = 2 × 3. */
.bento {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(21rem, auto);
  grid-auto-flow: dense; gap: 14px; margin-top: clamp(56px, 6vw, 88px);
}
.tile {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.tile--care { grid-column: span 2; grid-row: span 2; }
.tile--auto { grid-column: span 2; }

.tile__body { display: flex; flex-direction: column; padding: 24px 28px 30px; }
.tile__price { margin-top: 8px; font-size: .9375rem; line-height: 1.2; color: var(--ink-3); }
.tile__num { margin-right: .15em; font-size: 1.75rem; font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.tile__text { margin-top: 14px; color: var(--ink-2); text-wrap: pretty; }

.ticks { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .52em; width: 11px; height: 6px;
  border-left: 1.75px solid var(--blue); border-bottom: 1.75px solid var(--blue);
  transform: rotate(-45deg);
}

/* Maintenance: Conway's Game of Life on the tile's dot grid (see initLife in main.js). The canvas
   only holds the cells; the dots under them are the screen's own background, and the cells are
   spaced so that every other one sits exactly on a dot. */
.life {
  position: relative; flex: 1 1 auto; min-height: 15rem; margin: var(--inset) var(--inset) 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: calc(var(--radius) - var(--inset));
  background: var(--well) var(--dots);
}
.life__grid { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
@media (hover: hover) and (pointer: fine) { .anim .life { cursor: crosshair; } }

/* The sites and whether they are online. A row only says so once status.php (or the address the
   page itself was loaded from) has confirmed it; until then it is just the link. */
.status { padding-top: 6px; }
.status__cap {
  display: flex; justify-content: space-between; gap: 16px; padding: 14px 28px 10px;
  font-size: .875rem; color: var(--ink-3); white-space: nowrap;
}
.sites { margin: 0; padding: 0; list-style: none; }
.site { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 28px; border-top: 1px solid var(--line); }
.site a { color: var(--ink); text-decoration: none; }
.site a:hover { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.site__state { display: none; }
.site.is-up .site__state { display: block; }
.site__state i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(61, 220, 132, .14); }

/* Automation: a small workflow whose nodes can be pulled around; the wires follow. */
.flow {
  position: relative; flex: none; height: 230px; margin: var(--inset) var(--inset) 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: calc(var(--radius) - var(--inset));
  background: var(--well) var(--dots);
  --dir: row;
}
.flow__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow__wires path { fill: none; stroke: rgba(239, 236, 230, .2); stroke-width: 1.5; }
.flow__dot {
  position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 50%; background: var(--blue); opacity: 0; pointer-events: none;
  will-change: transform, opacity;
}
.flow.is-dragging .flow__dot { visibility: hidden; }
/* Centred on their spot; main.js takes the centring over (xPercent/yPercent), so a drag can move
   them without losing it. */
.node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); z-index: 1;
  padding: 10px 15px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--card-2); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .9);
  font-size: .8125rem; font-weight: 500; line-height: 1; white-space: nowrap;
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none;
}
.node:active { cursor: grabbing; }
.node--hub { background: var(--ink); border-color: transparent; color: #0b0b0c; }
.node__ring {
  position: absolute; inset: -5px; border: 1.5px solid var(--blue); border-radius: 999px;
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.node[data-node="site"]  { --x: 12%; --y: 50%; }
.node[data-node="n8n"]   { --x: 36%; --y: 50%; }
.node[data-node="ai"]    { --x: 64%; --y: 23%; }
.node[data-node="inv"]   { --x: 64%; --y: 77%; }
.node[data-node="inbox"] { --x: 89%; --y: 50%; }
.flow__hint { position: absolute; left: 16px; bottom: 12px; font-size: .8125rem; color: var(--ink-3); }
html:not(.js) .flow__hint { display: none; }

/* Devices: a photograph with the words over it. */
.tile--devices { justify-content: flex-end; border: 0; }
.tile__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: var(--photo); transition: transform .9s var(--ease), filter .9s var(--ease);
}
.tile--devices::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(11, 11, 12, .94) 0%, rgba(11, 11, 12, .45) 55%, rgba(11, 11, 12, .08) 100%);
}
.tile__over { position: relative; z-index: 1; padding: 24px 26px 28px; }
.tile__over p { margin-top: 8px; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.tile--devices:hover .tile__img { transform: scale(1.05); filter: var(--photo-warm); }

/* The start tile: the one solid colour in the grid, and a way straight to the form. */
.tile--start {
  justify-content: space-between; gap: 28px; padding: 26px;
  border-color: transparent; background: var(--blue-solid); color: #fff; text-decoration: none;
  transition: background-color .45s;
}
.tile--start p { margin-top: 12px; font-size: .9375rem; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.tile--start:hover { background: #3259ea; }
.tile--start:focus-visible { outline-color: #fff; }
/* May wrap onto two lines where the tile is narrow (the four-column grid just above tablet size). */
.tile__go {
  display: inline-flex; align-items: center; gap: .55em; align-self: flex-start;
  min-height: 2.75rem; padding: .6rem 1.15rem; border-radius: 1.375rem;
  background: #fff; color: #0b0b0c; font-size: .9375rem; font-weight: 500; line-height: 1.2;
}
.tile--start:hover .btn__icon { transform: translateX(3px); }

/* ── Statement: the words light up as the page scrolls ───── */

.statement__text {
  max-width: 60rem; margin-inline: auto;
  font-size: clamp(1.75rem, 1.05rem + 2.6vw, 3.375rem); font-weight: 500;
  line-height: 1.16; letter-spacing: -.03em; text-align: center; text-wrap: balance;
}

/* ── Process: the headline stays, the steps scroll past it ─ */

.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 112px); align-items: start; }
.process__head .btn { margin-top: 32px; }
.process__steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.step { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.step__media { aspect-ratio: 16 / 10; margin: var(--inset) var(--inset) 0; overflow: hidden; border-radius: calc(var(--radius) - var(--inset)); }
.step__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo); transition: transform .9s var(--ease), filter .9s var(--ease); }
.step:hover .step__media img { transform: scale(1.05); filter: var(--photo-warm); }
.step__body { padding: 24px 28px 30px; }
.step__body p { max-width: 36em; margin-top: 10px; color: var(--ink-2); text-wrap: pretty; }

/* ── Answers: a small deck of photographs and one answer at a time ── */

.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.faq__stack { position: relative; width: min(100%, 25rem); aspect-ratio: 4 / 5; margin-inline: auto; touch-action: pan-y; }
.faq__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius); filter: var(--photo);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06);
  transform-origin: 50% 100%;
}
html:not(.js) .faq__img:not(:first-child) { display: none; }
.faq__body h2 { max-width: 13em; }
.faq__slides { margin-top: clamp(40px, 5vw, 64px); touch-action: pan-y; }
.js .faq__slides { display: grid; }
.js .faq__slide { grid-area: 1 / 1; }
.js .faq__slide:not(.is-active) { visibility: hidden; }
html:not(.js) .faq__slide + .faq__slide { margin-top: 40px; }
.faq__q { font-size: 1.0625rem; color: var(--ink-3); }
.faq__a {
  max-width: 24em; margin-top: 14px;
  font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.375rem); font-weight: 450;
  line-height: 1.2; letter-spacing: -.022em; text-wrap: pretty;
}
.faq__nav { display: flex; align-items: center; gap: 10px; margin-top: 44px; }
html:not(.js) .faq__nav { display: none; }
.faq__arrow {
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.faq__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.faq__arrow:hover { background: rgba(239, 236, 230, .08); border-color: rgba(239, 236, 230, .42); }
.faq__arrow:active { transform: scale(.94); }
.faq__dots { display: flex; gap: 6px; margin-left: 16px; }
.faq__dot { width: 22px; height: 3px; border-radius: 2px; background: var(--line-2); transition: background-color .4s, width .6s var(--ease); }
.faq__dot.is-active { width: 40px; background: var(--ink); }

/* ── Packages: three slices, the one in use opens up ─────── */

.sizes { display: flex; gap: 12px; height: clamp(34rem, 74vh, 42rem); margin-top: clamp(56px, 6vw, 88px); }
.size {
  position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; overflow: hidden;
  border-radius: var(--radius); background: var(--card);
  transition: flex-grow .9s var(--ease);
}
.size.is-open { flex-grow: 3.2; }
.size__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(.55);
  transition: transform .9s var(--ease), filter .9s var(--ease);
}
.size::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(11, 11, 12, .95) 0%, rgba(11, 11, 12, .62) 42%, rgba(11, 11, 12, .1) 100%);
}
.size:hover .size__img { transform: scale(1.05); }
.size.is-open .size__img { filter: grayscale(.15) contrast(1.05) brightness(.66); }
.size__inner { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.4vw, 34px); }
.size__name { font-size: clamp(1.75rem, 1.1rem + 1.4vw, 2.625rem); line-height: 1.02; letter-spacing: -.035em; }
.size__price { margin-top: 8px; color: var(--ink-2); }
.size__price strong { margin-left: .1em; font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
/* The details open downwards from nothing. The text keeps one width while the slice widens, so it
   never re-wraps during the movement; a closed slice simply cuts it off. */
.size__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.size.is-open .size__more { grid-template-rows: 1fr; }
.size__clip {
  width: 27rem; min-height: 0; margin: 0 -6px; padding: 0 6px 6px;
  overflow: hidden; overflow: clip;
  opacity: 0; transform: translateY(14px);
  transition: opacity .4s, transform .8s var(--ease);
}
.size.is-open .size__clip { opacity: 1; transform: none; transition-delay: .18s; }
.size__desc { padding-top: 18px; color: var(--ink-2); text-wrap: pretty; }
.size .btn { margin-top: 26px; }

/* ── Contact: the light chapter ───────────────────────────── */

.cta {
  position: relative; margin-inline: clamp(8px, 1.4vw, 20px); padding-block: var(--chapter);
  border-radius: clamp(28px, 4vw, 56px); background: var(--paper); color: var(--paper-ink);
  color-scheme: light;
}
.cta :focus-visible { outline-color: var(--blue-solid); }
.cta__title {
  max-width: 80rem;
  font-size: clamp(2.75rem, .9rem + 7.2vw, 8.25rem); font-weight: 500;
  line-height: .96; letter-spacing: -.055em; text-wrap: balance;
}
.cta .pill { filter: grayscale(1) contrast(1.1); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); margin-top: clamp(56px, 7vw, 104px); align-items: start; }
.cta__intro { max-width: 22em; font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); line-height: 1.5; }
.cta__direct { margin-top: 24px; color: var(--paper-ink-2); }
.cta__direct a, .form__privacy a {
  color: var(--paper-ink);
  text-decoration-line: underline; text-decoration-color: var(--blue-solid); text-decoration-thickness: 2px;
  text-underline-offset: .28em;
}

.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.field { position: relative; display: flex; flex-direction: column; }
.field--wide, .form__foot, .form__status { grid-column: 1 / -1; }
.field label { font-size: .9375rem; font-weight: 500; line-height: 1.2; color: var(--paper-ink-2); transition: color .25s; }
.field:focus-within label { color: var(--blue-solid); }
.field input, .field select, .field textarea {
  width: 100%; margin: 0; padding: 12px 0;
  font: inherit; font-size: 1.125rem; color: var(--paper-ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--paper-line); border-radius: 0;
  outline: none; transition: border-color .25s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: rgba(17, 17, 18, .42); }
.field textarea { min-height: 148px; resize: vertical; line-height: 1.5; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 28px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2357534c' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 2px center / 12px 8px;
}
.field select option { background: #fff; color: var(--paper-ink); }
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--paper-ink); caret-color: var(--paper-ink);
  box-shadow: 0 0 0 100px var(--paper) inset;
}
/* Focus draws a line under the field. */
.field__line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue-solid);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .55s var(--ease);
}
.field:focus-within .field__line { transform: scaleX(1); }
/* A field that was filled in wrongly keeps its line, in red, once the visitor has left it.
   Each in a rule of its own: a browser that does not know ":user-invalid" drops only these. */
.field input:user-invalid ~ .field__line { transform: scaleX(1); background: var(--bad); }
.field textarea:user-invalid ~ .field__line { transform: scaleX(1); background: var(--bad); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.form__privacy { max-width: 26em; font-size: .9375rem; line-height: 1.5; color: var(--paper-ink-2); }
.form__status { min-height: 1.6em; }
.form__status.is-error { color: var(--bad); }
.form .btn[disabled] { opacity: .6; cursor: default; }

/* ── Footer ───────────────────────────────────────────────── */

.foot { padding: 56px 0 64px; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.foot__logo { display: block; border-radius: 8px; }
.foot__logo svg, .foot__logo img { display: block; height: 36px; width: auto; }
.foot__meta { font-size: .9375rem; color: var(--ink-3); }
.foot__meta a { color: var(--ink-2); text-decoration-color: var(--line-2); text-underline-offset: .25em; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.foot__link {
  padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: 450 .9375rem/1 var(--font); color: var(--ink-2); text-decoration: none;
  transition: color .25s;
}
.foot__link:hover, .foot__link[aria-current] { color: var(--ink); }
html:not(.js) .foot__links li:has([data-motion]) { display: none; }

/* Frame-rate readout, only shown when the address contains ?fps (see main.js). */
.fps {
  position: fixed; left: 12px; bottom: 12px; z-index: 200; padding: 7px 10px;
  background: #000; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ok);
  font: 500 .75rem/1 var(--font); pointer-events: none;
}

/* ── Legal pages (impressum.html, datenschutz.html) ───────── */

/* Both languages are in the markup; the one matching <html lang> is shown (see legal.js). */
html[lang="de"] .only-en, html[lang="en"] .only-de { display: none; }

.nav--page .nav__links { margin-left: auto; }
.nav--page .nav__logo { margin-right: 0; }

.legal { padding: 168px 0 128px; }
.legal__body { max-width: 44em; }
.legal h1 {
  font-size: clamp(2.25rem, 1.3rem + 3.6vw, 3.75rem); font-weight: 500;
  line-height: 1.04; letter-spacing: -.04em; overflow-wrap: break-word;
}
.legal h2 { margin-top: 56px; font-size: 1.375rem; line-height: 1.25; letter-spacing: -.02em; text-wrap: wrap; }
.legal p, .legal ul, .legal address { margin-top: 16px; color: var(--ink-2); }
.legal address { font-style: normal; line-height: 1.75; color: var(--ink); }
.legal ul { margin-bottom: 0; padding-left: 1.25em; }
.legal li + li { margin-top: 6px; }
.legal strong { font-weight: 600; color: var(--ink); }
.legal a {
  color: var(--ink);
  text-decoration-line: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}
.legal__note { font-size: .9375rem; color: var(--ink-3) !important; }
.legal h1 + .legal__note { margin-top: 20px; }
.legal__body > .legal__note:last-child { margin-top: 56px; }
/* A detail that still has to be filled in. Loud on purpose: none of these may go live. */
.todo { padding: .05em .4em; border-radius: 4px; background: #ffd84d; color: #14120a; font-weight: 600; }

/* ── Start states (only while animations are enabled) ─────── */

.anim .nav, .anim .hero__title, .anim .hero__lead, .anim .hero__cta,
.anim [data-reveal] { opacity: 0; }

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 1099px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--care { grid-row: span 1; }
}

/* Tablets: the maintenance tile runs the full width, colony on the left, the rest beside it. */
@media (min-width: 768px) and (max-width: 1099px) {
  .tile--care { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .tile--care .life { grid-column: 1; grid-row: 1 / 3; min-height: 24rem; margin: var(--inset); }
  .tile--care .status { grid-column: 2; grid-row: 1; padding-top: 10px; }
  .tile--care .tile__body { grid-column: 2; grid-row: 2; }
}

@media (max-width: 1023px) {
  .process__grid, .faq__grid, .cta__grid { grid-template-columns: minmax(0, 1fr); }
  .process__steps { margin-top: 8px; }
  .faq__stack { width: min(78%, 22rem); margin: 0 auto 24px 0; }
}

/* Without a fine pointer, on narrow screens, or without the script that opens them, the slices
   are simply stacked, all open. */
@media (max-width: 899px), (hover: none) {
  .sizes { flex-direction: column; height: auto; gap: 14px; }
  .size { flex: none; min-height: 36rem; }
  .size .size__more { grid-template-rows: 1fr; }
  .size .size__clip { width: auto; max-width: 30rem; opacity: 1; transform: none; }
  .size .size__img { filter: grayscale(.15) contrast(1.05) brightness(.62); }
}
html:not(.js) .sizes { flex-direction: column; height: auto; gap: 14px; }
html:not(.js) .size { flex: none; min-height: 36rem; }
html:not(.js) .size .size__more { grid-template-rows: 1fr; }
html:not(.js) .size .size__clip { width: auto; max-width: 30rem; opacity: 1; transform: none; }

@media (max-width: 767px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--care, .tile--auto { grid-column: span 1; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .foot__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 759px) {
  .nav { padding-left: 16px; }
  .nav__links { display: none; }
  .nav--page .nav__links { display: flex; }
  .nav--page .nav__links a { padding-inline: 10px; }
}

@media (max-width: 560px) {
  .hero { padding: 120px 0 96px; }
  .tile__body { padding: 22px 22px 26px; }
  .status__cap, .site { padding-inline: 22px; }
  .status__cap [data-checked] { display: none; } /* no room for it next to the caption */
  .flow { height: 380px; --dir: column; }
  .node[data-node="site"]  { --x: 50%; --y: 11%; }
  .node[data-node="n8n"]   { --x: 50%; --y: 34%; }
  .node[data-node="ai"]    { --x: 25%; --y: 60%; }
  .node[data-node="inv"]   { --x: 68%; --y: 60%; }
  .node[data-node="inbox"] { --x: 50%; --y: 84%; }
  .faq__arrow { width: 48px; height: 48px; }
}

@media print {
  .nav, body::after { display: none; }
  .anim .hero__title, .anim .hero__lead, .anim .hero__cta, .anim [data-reveal] { opacity: 1 !important; }
}

/* Reduced mode (no "anim" class: the system asks for it, or the visitor chose it with the footer
   switch) drops what plays by itself or moves things across the page: the entrances, pinning,
   the word-by-word statement, the loops. Feedback to the visitor's own pointer (hover zooms,
   opening slices, colour fades) stays, but quicker. */
html:not(.anim) .size, html:not(.anim) .size__more, html:not(.anim) .size__clip { transition-duration: .3s; transition-delay: 0s; }
html:not(.anim) .size:hover .size__img,
html:not(.anim) .step:hover .step__media img,
html:not(.anim) .tile--devices:hover .tile__img { transform: none; }
