/* =========================================================
   GASTCON – Website v2
   Reference lock: "rounded portal" (Flecto) – white page canvas,
   big rounded colour portals inset from the viewport edge, compact
   pill controls. Borrowed: 32–40px radius colour cards as
   content blocks (Clay). Brand: coral C + new partner colour petrol.
   Coral = brand mark, primary CTA, one poster portal, one card.
   Petrol = dominant brand surface. Mist = quiet light surface.
   ========================================================= */

/* Lexend lokal eingebunden (SIL OFL) – keine Verbindung zu Google beim Seitenaufruf */
@font-face {
  font-family: "Lexend"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/lexend-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lexend"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/lexend-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --white: #fff;
  --ink: #0b1415;          /* text on light – 18.9:1 on white */
  --mute: #4f6061;         /* secondary text – 6.7:1 white, 5.6:1 mist */
  --petrol: #0c3b3d;       /* brand surface – white text 12.3:1 */
  --petrol-2: #154c4f;
  --on-petrol: #c9dcdc;    /* secondary text on petrol – 8.4:1 */
  --mist: #e6efef;         /* light surface */
  --line: #d3e0e0;         /* decorative borders */
  --control: #6f8586;      /* form control borders – 3.8:1 on white */
  --coral: #ff5757;        /* brand – ink text on coral 6.4:1 */
  --coral-hi: #ff6d6d;
  --err: #b42318;

  --font: "Lexend", "Helvetica Neue", Arial, sans-serif;
  --gap: clamp(8px, 1vw, 12px);
  --radius: clamp(24px, 3vw, 40px);
  --pad: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55; font-weight: 300;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, blockquote, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--coral); color: var(--ink); }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 6px; }
.portal--petrol :focus-visible, .pk__card--petrol :focus-visible, .menu :focus-visible { outline-color: var(--coral); }
.portal--coral :focus-visible, .pk__card--coral :focus-visible { outline-color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 100px; }
.skip:focus { left: 8px; }

/* ---------- primitives ---------- */
.portal { margin: var(--gap); border-radius: var(--radius); padding: var(--pad); position: relative; overflow: hidden; }
.portal--petrol { background: var(--petrol); color: #fff; }
.portal--coral { background: var(--coral); color: var(--ink); }
.portal--mist { background: var(--mist); color: var(--ink); }

.pill-label {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px;
  border: 1.5px solid currentColor; border-radius: 100px; font-size: 14px; font-weight: 400; line-height: 1.2;
}
.pill-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.pill-label--light { color: #fff; }

.h2 { font-size: clamp(36px, 5vw, 76px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; max-width: 16ch; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; text-wrap: pretty; }
.num {
  display: inline-grid; place-items: center; min-width: 40px; height: 28px; padding: 0 10px;
  border-radius: 100px; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums;
  background: var(--white); color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px;
  padding: 0 24px; border-radius: 100px; font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--coral { background: var(--coral); color: var(--ink); }
.btn--coral:hover { background: var(--coral-hi); }
.btn--line { border: 1.5px solid #fff; color: #fff; }
.btn--line:hover { background: #fff; color: var(--petrol); }
.btn--dark { background: var(--petrol); color: #fff; }
.btn--dark:hover { background: var(--petrol-2); }
.arr {
  width: 20px; height: 14px; flex: none; display: block; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h17M12 1l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 7h17M12 1l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .35s var(--ease);
}
.btn:hover .arr, .pk__link:hover .arr { transform: translateX(4px); }

/* ---------- NAV ---------- */
.nav { position: fixed; z-index: 100; top: 14px; left: 0; right: 0; display: flex; justify-content: center; padding-inline: 14px; pointer-events: none; transition: transform .5s var(--ease); }
.nav.is-hidden { transform: translateY(-140%); }
.nav__pill {
  pointer-events: auto; width: min(1120px, 100%); display: flex; align-items: center; gap: 16px;
  padding: 6px 6px 6px 18px; border-radius: 100px; background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: 0 8px 28px rgba(12, 59, 61, .08);
}
.nav__logo img { height: 52px; width: auto; }
.nav__links { display: flex; gap: 2px; margin-inline: auto; }
.nav__links a { font-size: 15px; font-weight: 400; text-decoration: none; padding: 10px 16px; border-radius: 100px; transition: background .25s, color .25s; }
.nav__links a:hover { background: var(--mist); }
.nav__links a.is-active { background: var(--petrol); color: #fff; }
.nav__burger { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--petrol); color: #fff;
  padding: 120px 24px 32px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 52px) 46px); transition: clip-path .7s var(--ease-io);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 52px) 46px); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-size: clamp(36px, 11vw, 64px); font-weight: 500; letter-spacing: -.045em; line-height: 1.15; text-decoration: none; padding: 4px 0; }
.menu nav a:hover { color: var(--coral); }
.menu p { color: var(--on-petrol); line-height: 1.8; }
.menu p a { text-decoration: none; }

/* ---------- HERO ---------- */
.hero { min-height: calc(100svh - 2 * var(--gap)); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 130px; }
.hero__mark {
  position: absolute; z-index: 0; right: clamp(-80px, -4vw, -20px); top: 50%; translate: 0 -46%;
  width: min(48vw, 72vh); aspect-ratio: 980 / 1000; pointer-events: none;
  animation: slowspin 140s linear infinite;
}
@keyframes slowspin { to { rotate: 360deg; } }
.cmark { width: 100%; height: 100%; overflow: visible; transform: rotate(var(--rot, 0deg)); transition: transform .2s linear; }
.cmark .px {
  transform-box: fill-box; transform-origin: center;
  transform: translate(
    calc(var(--ox) * var(--spread, 0) * 1px + var(--mx, 0) * var(--d) * 1px),
    calc(var(--oy) * var(--spread, 0) * 1px + var(--my, 0) * var(--d) * 1px));
  transition: transform 1.1s var(--ease);
}
.cmark .seg { fill: var(--coral); transform-box: fill-box; transform-origin: center; }
.js .cmark .seg { animation: segIn 1.5s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 250ms); }
@keyframes segIn { from { opacity: 0; transform: translate(calc(var(--ox) * 2.4px), calc(var(--oy) * 2.4px)) rotate(var(--r)) scale(.5); } }

.hero__inner { position: relative; z-index: 2; max-width: 980px; }
.hero__kicker { margin-bottom: clamp(24px, 4vh, 40px); }
.hero__title { font-size: clamp(44px, 7.2vw, 124px); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { animation: lineUp 1.2s var(--ease) both; }
.js .hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { from { transform: translateY(110%); } }
.hero__lead { margin-top: clamp(24px, 4vh, 36px); max-width: 34ch; font-size: clamp(18px, 1.5vw, 21px); color: var(--on-petrol); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.js .hero__kicker, .js .hero__lead, .js .hero__ctas { animation: fadeUp 1s var(--ease) both .6s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }

.motion-toggle {
  position: absolute; z-index: 3; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px);
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 14px 6px 10px; border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, .6); color: #fff; font-size: 13px; transition: background .25s, color .25s;
}
.motion-toggle:hover { background: #fff; color: var(--petrol); }
.motion-toggle__icon { width: 18px; height: 18px; border-radius: 50%; background: currentColor; position: relative; flex: none; }
.motion-toggle__icon::before, .motion-toggle__icon::after { content: ""; position: absolute; top: 5px; width: 2px; height: 8px; background: var(--petrol); }
.motion-toggle__icon::before { left: 6px; }
.motion-toggle__icon::after { right: 6px; }
.motion-toggle:hover .motion-toggle__icon::before, .motion-toggle:hover .motion-toggle__icon::after { background: #fff; }
.motion-toggle[aria-pressed="true"] .motion-toggle__icon::before { left: 7px; top: 5px; width: 0; height: 0; background: none; border-left: 6px solid var(--petrol); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.motion-toggle[aria-pressed="true"]:hover .motion-toggle__icon::before { border-left-color: #fff; }
.motion-toggle[aria-pressed="true"] .motion-toggle__icon::after { display: none; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(88px, 11vw, 160px); }
.head { margin-bottom: clamp(40px, 5vw, 64px); }
.head .h2 { margin-top: 20px; }

/* name key: GAST + CON */
.namekey { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 3vw, 40px); align-items: start; padding-bottom: clamp(56px, 7vw, 96px); margin-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.namekey__item { display: grid; gap: 14px; }
.namekey__word { font-size: clamp(56px, 8vw, 128px); font-weight: 600; letter-spacing: -.05em; line-height: .9; }
.namekey__word--con { color: var(--petrol); }
.namekey__word--con::after { content: ""; display: inline-block; width: .16em; height: .16em; margin-left: .06em; border-radius: 50%; background: var(--coral); }
.namekey__txt { color: var(--mute); max-width: 34ch; font-size: clamp(17px, 1.4vw, 19px); }
.namekey__plus { font-size: clamp(40px, 5vw, 80px); font-weight: 300; color: var(--coral); line-height: 1; padding-top: .2em; }

/* manifest */
.manifest { margin-top: 28px; font-size: clamp(30px, 4.3vw, 64px); font-weight: 500; line-height: 1.1; letter-spacing: -.045em; max-width: 21em; text-wrap: balance; }
.js .manifest .w { color: #c9d4d4; transition: color .3s; }
.js .manifest .w.on { color: var(--ink); }
.manifest .w.hl { background: linear-gradient(var(--coral), var(--coral)) 0 92% / 0 .14em no-repeat; transition: color .3s, background-size .7s var(--ease); }
.manifest .w.hl.on { background-size: 100% .14em; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(56px, 7vw, 104px); }
.value { background: var(--mist); border-radius: 28px; padding: 24px 26px 28px; min-height: 230px; display: flex; flex-direction: column; transition: background .45s var(--ease), color .45s var(--ease); }
.value h3 { margin-top: auto; padding-top: 40px; font-size: clamp(21px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.value p { margin-top: 8px; color: var(--mute); transition: color .45s; }
.value .num { align-self: flex-start; transition: background .45s, color .45s; }
.value:hover { background: var(--petrol); color: #fff; }
.value:hover p { color: var(--on-petrol); }
.value:hover .num { background: var(--coral); color: var(--ink); }

/* ---------- HUB ---------- */
.hub { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hub .h2 { margin: 24px 0 20px; }
.hub .lead { color: var(--on-petrol); max-width: 38ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tags li { font-size: 14px; padding: 7px 14px; border-radius: 100px; background: var(--petrol-2); }

.net { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: center; }
.net__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.net__svg .ring { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1.5; stroke-dasharray: 2 10; }
.net__svg .ring--spin { transform-origin: 400px 400px; animation: spin 90s linear infinite; }
.net__svg .link { stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; fill: none; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke .3s, stroke-width .3s; }
.net.in .net__svg .link { animation: draw 1.2s var(--ease) forwards; animation-delay: calc(var(--k) * 90ms + 300ms); }
.net__svg .link.hot { stroke: var(--coral); stroke-width: 3; }
.net__svg .pulse { fill: var(--coral); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.net__node {
  position: absolute; translate: -50% -50%; z-index: 2; cursor: default;
  font-size: clamp(11px, 1vw, 14px); font-weight: 400; line-height: 1.15; text-align: center; max-width: 13ch;
  padding: 8px 14px; border-radius: 100px; background: var(--petrol-2); border: 1.5px solid rgba(255, 255, 255, .35); color: #fff;
  opacity: 0; scale: .6; transition: opacity .5s var(--ease), scale .6s var(--ease), background .25s, color .25s, border-color .25s;
  transition-delay: calc(var(--k) * 90ms + 700ms), calc(var(--k) * 90ms + 700ms), 0s, 0s, 0s;
}
.net.in .net__node { opacity: 1; scale: 1; }
.net__node:hover, .net__node.hot { background: var(--coral); border-color: var(--coral); color: var(--ink); transition-delay: 0s; }
.net__core { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; translate: -50% -50%; z-index: 3; display: grid; place-items: center; border-radius: 50%; background: var(--petrol); }
.net__core svg { width: 82%; }
.net__core path { fill: var(--coral); }
.net.in .net__core svg { animation: coreSpin 14s var(--ease-io) infinite; }
@keyframes coreSpin { 0%, 18% { transform: rotate(0); } 25%, 43% { transform: rotate(90deg); } 50%, 68% { transform: rotate(180deg); } 75%, 93% { transform: rotate(270deg); } 100% { transform: rotate(360deg); } }

/* ---------- PAKETE (expanding cards) ---------- */
.pk { display: flex; gap: 12px; min-height: clamp(460px, 58vh, 580px); container-type: inline-size; }
.pk__card { flex: 1 1 0; min-width: 0; position: relative; overflow: hidden; border-radius: 32px; padding: 28px; display: flex; flex-direction: column; transition: flex-grow .8s var(--ease-io); }
.pk__card.is-active { flex-grow: 2.4; }
.pk__card--coral { background: var(--coral); color: var(--ink); }
.pk__card--petrol { background: var(--petrol); color: #fff; }
.pk__card--mist { background: var(--mist); color: var(--ink); }
.pk__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; text-align: left; width: 100%; }
.pk__card.is-active .pk__head { cursor: default; }
.pk__card--petrol .num { background: var(--petrol-2); color: #fff; }
.pk__title { font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; max-width: 9ch; }
/* .pk__card prefix beats the glyph's own position:relative (.glyph--plus) */
.pk__card .pk__glyph { position: absolute; left: 28px; bottom: 28px; transition: opacity .3s; }
.pk__card.is-active .pk__glyph { left: auto; bottom: auto; top: 28px; right: 28px; }
.pk__card .pk__glyph.is-swapping { opacity: 0; transition: none; }
.pk__body {
  /* in flow, so the card always grows with its content; fixed width = width of an
     open card, so the text never reflows while the card animates */
  margin-top: auto; padding-top: 28px; flex: none;
  /* open card = 56px padding + share of free space (3 × 56px padding + 2 × 12px gap taken out first) */
  width: calc((100cqw - 192px) * 2.4 / 4.4);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s, transform .5s var(--ease), visibility 0s .3s;
}
.pk__card.is-active .pk__body { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .35s, transform .7s var(--ease) .35s, visibility 0s; }
.pk__claim { font-size: clamp(19px, 1.6vw, 23px); font-weight: 400; line-height: 1.3; letter-spacing: -.02em; max-width: 26ch; margin-bottom: 20px; text-wrap: pretty; }
.pk__list li { padding: 10px 0 10px 28px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); position: relative; }
.pk__list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; }
.pk__card--petrol .pk__list li::before { background: var(--coral); border-color: var(--coral); }
.pk__link { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; min-height: 44px; font-weight: 500; text-decoration: none; padding: 0 18px; border-radius: 100px; border: 1.5px solid currentColor; transition: background .25s, color .25s, border-color .25s; }
.pk__card--coral .pk__link:hover { background: var(--ink); color: var(--coral); border-color: var(--ink); }
.pk__card--petrol .pk__link:hover { background: #fff; color: var(--petrol); }
.pk__card--mist .pk__link:hover { background: var(--petrol); color: #fff; border-color: var(--petrol); }

/* glyphs */
.glyph--pulse { width: 120px; height: 46px; }
.glyph--pulse svg { width: 100%; height: 100%; overflow: visible; }
.glyph--pulse path { fill: none; stroke-width: 7; stroke-linejoin: round; stroke-linecap: round; }
.g-base { stroke: rgba(11, 20, 21, .18); }
.g-run { stroke: var(--ink); stroke-dasharray: 120 520; animation: pulseRun 2.2s linear infinite; }
@keyframes pulseRun { from { stroke-dashoffset: 120; } to { stroke-dashoffset: -520; } }
.glyph--plus { position: relative; width: 64px; height: 64px; animation: plusTurn 4s var(--ease-io) infinite; }
.glyph--plus i { position: absolute; width: 20px; height: 20px; border-radius: 5px; background: #fff; left: 22px; top: 22px; }
.glyph--plus i:nth-child(1) { background: var(--coral); }
.glyph--plus i:nth-child(2) { animation: pl-t 4s var(--ease-io) infinite; }
.glyph--plus i:nth-child(3) { animation: pl-r 4s var(--ease-io) infinite; }
.glyph--plus i:nth-child(4) { animation: pl-b 4s var(--ease-io) infinite; }
.glyph--plus i:nth-child(5) { animation: pl-l 4s var(--ease-io) infinite; }
@keyframes pl-t { 0%, 10% { transform: none; } 30%, 80% { transform: translateY(-22px); } 100% { transform: none; } }
@keyframes pl-r { 0%, 15% { transform: none; } 35%, 80% { transform: translateX(22px); } 100% { transform: none; } }
@keyframes pl-b { 0%, 20% { transform: none; } 40%, 80% { transform: translateY(22px); } 100% { transform: none; } }
@keyframes pl-l { 0%, 25% { transform: none; } 45%, 80% { transform: translateX(-22px); } 100% { transform: none; } }
@keyframes plusTurn { 0%, 50% { transform: rotate(0); } 70%, 100% { transform: rotate(90deg); } }
.glyph--grid { display: grid; grid-template-columns: repeat(3, 18px); gap: 5px; }
.glyph--grid i { width: 18px; height: 18px; border-radius: 5px; background: rgba(12, 59, 61, .14); animation: cell 3.6s steps(1) infinite; }
.glyph--grid i:nth-child(2) { animation-delay: .4s; }
.glyph--grid i:nth-child(3) { animation-delay: .8s; }
.glyph--grid i:nth-child(6) { animation-delay: 1.2s; }
.glyph--grid i:nth-child(5) { animation-delay: 1.6s; }
.glyph--grid i:nth-child(4) { animation-delay: 2s; }
.glyph--grid i:nth-child(7) { animation-delay: 2.4s; }
.glyph--grid i:nth-child(8) { animation-delay: 2.8s; }
.glyph--grid i:nth-child(9) { animation-delay: 3.2s; }
@keyframes cell { 0% { background: var(--coral); } 50% { background: var(--petrol); } }

/* ---------- ABLAUF: build the C ---------- */
.build { position: relative; height: 520vh; }
.build__sticky { position: sticky; top: 0; height: 100svh; padding: var(--gap); }
.build__portal {
  margin: 0; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 6vw, 100px); row-gap: clamp(24px, 4vh, 48px); padding-top: clamp(96px, 13vh, 124px);
}
.build__head .h2 { margin-top: 18px; font-size: clamp(30px, 3.8vw, 58px); max-width: 15ch; }
.build__stage { display: contents; }
.build__steps { grid-column: 1; grid-row: 2; align-self: start; }
.build__mark { grid-column: 2; grid-row: 1 / span 2; align-self: center; position: relative; height: min(68vh, 42vw); aspect-ratio: 980 / 1000; }
.bmark { width: 100%; height: 100%; overflow: visible; }
.bmark .ghost { fill: none; stroke: rgba(12, 59, 61, .35); stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-dasharray: 5 6; }
.bmark .solid {
  fill: var(--coral); transform-box: fill-box; transform-origin: center;
  opacity: 0; transform: translate(calc(var(--ox) * 1.5px), calc(var(--oy) * 1.5px)) rotate(var(--r)) scale(.6);
  transition: opacity .5s var(--ease), transform .9s var(--ease);
}
.bmark .solid.on { opacity: 1; transform: none; }
.build__count { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font-size: clamp(36px, 5vh, 64px); font-weight: 500; letter-spacing: -.05em; color: var(--petrol); font-variant-numeric: tabular-nums; line-height: 1; display: flex; align-items: baseline; }
.build__count small { font-size: .38em; letter-spacing: 0; color: var(--mute); margin-left: 4px; }
.build__steps { max-width: 560px; }
.bstep { border-top: 1px solid rgba(12, 59, 61, .2); padding: 12px 0; }
.bstep:last-child { border-bottom: 1px solid rgba(12, 59, 61, .2); }
.bstep h3 { font-size: clamp(20px, 2vw, 30px); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; color: var(--mute); display: flex; align-items: center; gap: 14px; transition: color .4s; }
.bstep h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; transition: background .4s, border-color .4s, transform .4s var(--ease); }
.bstep.is-active h3, .bstep.is-done h3 { color: var(--ink); }
.bstep.is-done h3::before { background: var(--petrol); border-color: var(--petrol); }
.bstep.is-active h3::before { background: var(--coral); border-color: var(--coral); transform: scale(1.3); }
.bstep__d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.bstep__d p { overflow: hidden; color: var(--mute); padding-left: 26px; max-width: 42ch; }
.bstep.is-active .bstep__d { grid-template-rows: 1fr; }
.bstep.is-active .bstep__d p { padding-top: 6px; }

/* ---------- POSTER ---------- */
.poster { padding-block: clamp(72px, 10vw, 150px); }
.poster__big { font-size: clamp(44px, 9vw, 176px); font-weight: 500; line-height: .95; letter-spacing: -.06em; }
.poster__big span { display: block; width: fit-content; }
.poster__big span:nth-child(2) { font-weight: 300; }
.poster__big span:nth-child(3) { margin-left: auto; }
.poster__quote { margin: clamp(40px, 6vw, 80px) 0 0 auto; max-width: 560px; border-top: 1.5px solid var(--ink); padding-top: 18px; }
.poster__quote p { font-size: clamp(19px, 1.7vw, 24px); font-weight: 400; line-height: 1.35; letter-spacing: -.01em; text-wrap: pretty; }
.poster__quote footer { margin-top: 12px; font-size: 14px; font-weight: 500; }

/* ---------- ÜBER NIKLAS ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__photo { position: sticky; top: 110px; margin: 0; border-radius: 32px; overflow: hidden; background: var(--mist); aspect-ratio: 1; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.about__photo.in img { transform: none; }
.js .about__photo { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round 32px); transition: clip-path 1.2s var(--ease-io); }
.js .about__photo.in { clip-path: inset(0 0 0 0 round 32px); }
.about__photo figcaption {
  position: absolute; left: 16px; bottom: 16px; display: grid; gap: 2px; padding: 12px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 14px; line-height: 1.3;
}
.about__photo figcaption strong { font-size: 16px; font-weight: 500; }
.about__photo figcaption span { color: var(--mute); }
.about__photo::after {
  content: ""; position: absolute; top: 18px; right: 18px; width: 54px; aspect-ratio: 980 / 1000;
  background: url("assets/favicon.svg") center / contain no-repeat;
}
.about__copy .h2 { margin: 20px 0 20px; }
.about__copy .lead { color: var(--mute); max-width: 52ch; }
.mini-label { font-size: 14px; font-weight: 500; margin: 40px 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 15px; padding: 8px 15px; border-radius: 100px; background: var(--mist); transition: background .25s, color .25s; }
.chips li:hover { background: var(--petrol); color: #fff; }
.cv { border-radius: 28px; background: var(--mist); padding: 8px 24px; }
.cv li { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(12, 59, 61, .14); }
.cv li:last-child { border-bottom: 0; }
.cv__y { font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }
.cv__r { font-weight: 500; letter-spacing: -.01em; }
.cv__c { font-size: 15px; color: var(--mute); text-align: right; }
.cv__now .cv__y { color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.cv__now .cv__y::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 87, 87, .25); }
.about__li { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 24px; padding: 0 20px; border-radius: 100px; border: 1.5px solid var(--ink); font-weight: 500; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.about__li:hover { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.about__li:hover .arr { transform: translateX(4px); }

/* ---------- EXTRAS ---------- */
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.extra { border: 1.5px solid var(--line); border-radius: 28px; padding: 24px 26px 28px; min-height: 220px; display: flex; flex-direction: column; transition: background .4s var(--ease), border-color .4s, transform .5s var(--ease); }
.extra__k { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: var(--ink); font-weight: 500; transition: background .4s, color .4s, transform .6s var(--ease); }
.extra h3 { margin-top: auto; padding-top: 36px; font-size: clamp(21px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.extra p { margin-top: 8px; color: var(--mute); }
.extra:hover { background: var(--mist); border-color: var(--mist); transform: translateY(-4px); }
.extra:hover .extra__k { background: var(--petrol); color: #fff; transform: rotate(-12deg); }

/* ---------- CONTACT ---------- */
.contact__big { font-size: clamp(56px, 12vw, 200px); font-weight: 500; line-height: .92; letter-spacing: -.065em; margin-bottom: clamp(40px, 6vw, 80px); }
.contact__big span { display: inline-block; }
.contact__big span:nth-child(2) { color: var(--coral); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.person__name { font-size: clamp(28px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; }
.person__role { color: var(--on-petrol); margin-bottom: 24px; }
.person__links li { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.person__links a { text-decoration: none; font-weight: 400; background: linear-gradient(var(--coral), var(--coral)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.person__links a:hover { background-size: 100% 2px; }
.person__hours { margin-top: 20px; display: inline-block; font-size: 14px; padding: 8px 14px; border-radius: 100px; background: var(--petrol-2); }

.brief { background: var(--white); color: var(--ink); border-radius: 28px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.brief__topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brief__topics legend { font-size: 15px; color: var(--mute); margin-bottom: 12px; padding: 0; }
.brief__topics label { cursor: pointer; position: relative; }
.brief__topics input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.brief__topics span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--control); border-radius: 100px; font-size: 14px; transition: background .25s, border-color .25s; }
.brief__topics label:hover span { border-color: var(--ink); }
.brief__topics input:checked + span { background: var(--coral); border-color: var(--coral); }
.brief__topics input:focus-visible + span { outline: 3px solid var(--petrol); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; color: var(--mute); }
.field input, .field textarea { font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--control); padding: 8px 0; border-radius: 0; resize: vertical; transition: border-color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--petrol); box-shadow: 0 1.5px 0 var(--petrol); }
.field input[aria-invalid="true"] { border-bottom-color: var(--err); }
.field__err { color: var(--err); font-size: 14px; margin-top: -10px; }
.brief__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.brief__hint { font-size: 14px; color: var(--mute); }

/* ---------- FOOTER ---------- */
.foot { padding-block: 8px 28px; }
.foot__row { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-top: 20px; font-size: 14px; color: var(--mute); }
.foot__row nav { display: flex; gap: 24px; }
.foot__row a { text-decoration: none; }
.foot__row a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- LEGAL PAGES ---------- */
.legal { padding-block: clamp(120px, 14vw, 170px) clamp(64px, 8vw, 110px); }
.legal__wrap { max-width: 820px; }
.legal__title { margin: 20px 0 28px; font-size: clamp(40px, 6vw, 80px); font-weight: 500; letter-spacing: -.05em; line-height: 1; hyphens: manual; }
.legal h2 { margin: 40px 0 10px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.legal p { margin-bottom: 12px; max-width: 68ch; text-wrap: pretty; }
.legal a { color: var(--petrol); text-underline-offset: 3px; }
.legal__stand { margin-top: 48px; color: var(--mute); font-size: 15px; }
.foot__row a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--dl, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .poster__big .rv, .js .contact__big .rv { transform: translateY(50%); }
.js .poster__big .rv.in, .js .contact__big .rv.in { transform: none; }

/* ---------- motion pause (toggle) ---------- */
.is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .hub { grid-template-columns: 1fr; }
  .values, .extras { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pk { flex-direction: column; height: auto; }
  .pk__card, .pk__card.is-active { flex: none; }
  .pk__head { pointer-events: none; }
  .pk__card .pk__glyph, .pk__card.is-active .pk__glyph { left: auto; bottom: auto; top: 28px; right: 28px; }
  .pk__card .pk__body { width: auto; padding-top: 24px; opacity: 1; visibility: visible; transform: none; }
  .pk__card .pk__title { max-width: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { position: relative; top: 0; max-width: 520px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { top: 10px; padding-inline: 10px; }
  .nav__pill { padding-left: 14px; }
  .nav__logo img { height: 44px; }
  .nav__cta { display: none; }
  .nav__burger { display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; padding: 0 20px; border-radius: 100px; background: var(--petrol); color: #fff; font-size: 15px; font-weight: 500; }
  .nav__burger[aria-expanded="true"] { background: var(--coral); color: var(--ink); }

  .hero { min-height: 0; justify-content: flex-start; padding-top: calc(100px + 76vw); }
  .hero__mark { top: 74px; translate: none; right: -14vw; width: 76vw; }
  .hero__title { font-size: clamp(38px, 11.4vw, 60px); }
  .hero__ctas .btn { flex: 1 1 100%; }
  .motion-toggle { position: static; margin-top: 28px; align-self: flex-start; }

  .values, .extras { grid-template-columns: 1fr; }
  .namekey { grid-template-columns: 1fr; gap: 20px; }
  .namekey__plus { padding: 0; }
  .value, .extra { min-height: 0; }
  .value h3, .extra h3 { padding-top: 24px; }

  .build { height: 480vh; }
  .build__portal { padding: 84px 20px 20px; row-gap: 14px; }
  .build__portal { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; align-content: start; }
  .build__head .pill-label { display: none; }
  .build__head .h2 { font-size: 28px; margin-top: 0; }
  .build__mark { grid-column: 1; grid-row: 2; height: auto; width: min(58vw, 34vh); justify-self: center; }
  .build__steps { grid-row: 3; }
  .build__count { font-size: 28px; }
  .bstep { padding: 8px 0; }
  .bstep h3 { font-size: 18px; }
  .bstep__d p { font-size: 15px; }

  .poster__big { font-size: 12.4vw; }
  .cv { padding: 4px 18px; }
  .cv li { grid-template-columns: 1fr; gap: 2px; }
  .cv__c { text-align: left; }
  .poster__big span:nth-child(3) { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .manifest .w { color: var(--ink); }
  .motion-toggle { display: none; }
}
