/* KaranCode — Bold Brand. Derived from the KC monogram: indigo + near-black, geometric grotesque.
   Shared by every page; page-specific blocks are at the end. */
/* Self-hosted fonts (SIL OFL), variable weights. Served from our own domain so no visitor IP goes to Google. */
/* DM Sans latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/dmsans-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;
}
/* DM Sans latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/dmsans-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;
}
/* Outfit latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(../fonts/outfit-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;
}
/* Outfit latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url(../fonts/outfit-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 {
  --indigo: #5B52EE;
  --indigo-deep: #4136D6;
  --indigo-soft: #ECEBFE;
  --ink: #121216;
  --ink-soft: #4A4A55;
  --ink-muted: #75757F;
  --paper: #FAFAF7;
  --white: #FFFFFF;
  --line: #E4E3EC;
  --display: "Outfit", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.025em; word-spacing: 0.04em; line-height: 0.98; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .contact :focus-visible { outline-color: #fff; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(1200px, 100% - 64px); } }

.ind { color: var(--indigo); }
.ind-light { color: #A9A4FF; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { top: 12px; }

/* Visitors resolving to EN get the body hidden until i18n.js has swapped the
   copy (see the inline head script); it removes the attribute when done. */
html[data-i18n-pending] body { visibility: hidden; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 1rem/1 var(--display); letter-spacing: -0.01em;
  padding: 18px 26px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--brand { background: var(--indigo); color: #fff; }
.btn--brand:hover { background: var(--indigo-deep); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--indigo); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 12px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

.eyebrow {
  font: 700 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 18px;
}
.eyebrow--light { color: #A9A4FF; }
.h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 52px; height: auto; mix-blend-mode: multiply; }
.brand__word { font: 800 1.35rem/1 var(--display); letter-spacing: -0.03em; }
.brand__word--sm { font-size: 1.1rem; }
.nav__links { display: none; gap: 32px; }
.nav__links a { font: 600 .95rem/1 var(--display); text-decoration: none; color: var(--ink-soft); }
.nav__links a:hover { color: var(--indigo); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__actions .lang-toggle, .nav__actions .btn { display: none; }
@media (min-width: 820px) {
  .nav__links { display: flex; }
  .nav__actions .lang-toggle, .nav__actions .btn { display: inline-flex; }
  .nav__actions .nav-toggle--open { display: none; }
}
@media (max-width: 420px) { .brand__word { display: none; } }

/* DE / EN switch */
.lang-toggle { display: inline-flex; padding: 3px; border: 2px solid var(--line); border-radius: 999px; }
.lang-btn {
  font: 700 .78rem/1 var(--display); letter-spacing: .04em; color: var(--ink-muted);
  background: none; border: 0; padding: 8px 11px; border-radius: 999px; cursor: pointer;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active { background: var(--ink); color: #fff; }

/* Hamburger + mobile overlay (driven by nav.js) */
.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px;
  background: none; border: 0; border-radius: 12px; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-mobile {
  position: fixed; inset: 0; z-index: 60; background: var(--paper);
  display: flex; flex-direction: column; padding: 14px 16px 28px;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile__top { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.nav-mobile__top .nav-toggle { margin-left: auto; }
.nav-mobile__links { margin-top: 40px; display: grid; }
.nav-mobile__links a {
  font: 800 2rem/1.1 var(--display); letter-spacing: -0.03em; text-decoration: none;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.nav-mobile__links a:hover { color: var(--indigo); }
.nav-mobile__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 820px) { .nav-mobile { display: none !important; } }

/* Hero */
.hero { padding: 48px 0 0; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.15fr 1fr; gap: 48px; } .hero { padding-top: 72px; } }
.hero__copy { padding-bottom: 8px; }
@media (min-width: 960px) { .hero__copy { padding-bottom: 96px; } }
.hero__title { font-size: clamp(2.75rem, 8.4vw, 6.1rem); font-weight: 900; letter-spacing: -0.03em; }
.hero__lead { margin-top: 28px; max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 480px) { .hero__ctas .btn { width: 100%; } }

.hero__visual { position: relative; margin: 0; min-height: 420px; display: flex; justify-content: center; align-items: flex-end; }
@media (min-width: 960px) { .hero__visual { min-height: 640px; } }
.slab {
  position: absolute; inset: 12% 0 0 0;
  background: var(--indigo);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
/* Riesige Monogramm-Buchstaben als Hintergrund-Textur auf der Indigo-Fläche. */
.slab__k, .slab__c {
  position: absolute; font: 900 clamp(14rem, 34vw, 26rem)/.8 var(--display); letter-spacing: -0.08em;
  user-select: none;
}
.slab__k { left: -4%; bottom: -6%; color: rgb(255 255 255 / .12); }
.slab__c { right: -8%; top: 4%; color: rgb(18 18 22 / .28); }
.hero__portrait {
  position: relative; z-index: 1;
  width: min(100%, 470px); height: auto;
  filter: drop-shadow(0 30px 40px rgb(18 18 22 / .25));
}
.tag {
  position: absolute; z-index: 2; left: 0; bottom: 28px;
  background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 18px;
  display: grid; gap: 2px; box-shadow: 0 12px 30px rgb(0 0 0 / .2);
}
.tag strong { font: 700 1rem/1.2 var(--display); }
.tag span { font-size: .8rem; color: #C9C7FF; }
@media (min-width: 960px) { .tag { left: -32px; bottom: 64px; } }

/* Stats */
.stats { background: var(--ink); color: #fff; }
.stats__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 720px) { .stats__grid { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: 32px 0; display: grid; gap: 6px; border-bottom: 1px solid rgb(255 255 255 / .12); }
.stat:last-child { border-bottom: 0; }
@media (min-width: 720px) {
  .stat { padding: 44px 28px; border-bottom: 0; border-left: 1px solid rgb(255 255 255 / .12); }
  .stat:first-child { border-left: 0; padding-left: 0; }
}
.stat__num { font: 900 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); letter-spacing: -0.04em; }
.stat .ind { color: #A9A4FF; }
.stat__label { color: #B5B5C0; font-size: .95rem; }

/* Logos */
.logos { padding: 44px 0; border-bottom: 1px solid var(--line); }
.logos__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; }
.logos .eyebrow { margin: 0; color: var(--ink-muted); }
.logos__list { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.logos__list img { height: 34px; width: auto; display: block; }
.logos__list img.logo--wide { height: 22px; }
.logos__list a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logos__list img.logo--tile { height: 34px; border-radius: 8px; }
.logos__list img.logo--sabai { height: 30px; mix-blend-mode: multiply; }
.logo__name { font: 800 1.1rem/1 var(--display); letter-spacing: -0.02em; }

/* Sections */
.section { padding: 96px 0; }
@media (min-width: 960px) { .section { padding: 136px 0; } }
.section--dark { background: var(--ink); color: #fff; }
.section--tint { background: var(--indigo-soft); }

/* Process: a project schedule. Text column on the left, a four-column
   time track on the right (Tag 0 / W1 / W2 / W3+). Phones drop the track. */
.plan { margin-top: 56px; --label: minmax(0, 1fr); --track: minmax(0, 1.35fr); }
.plan__ruler { display: none; }
.plan__rows { border-top: 2px solid var(--ink); }
.plan__row { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.plan__when {
  font: 700 .78rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted);
  display: flex; gap: 12px; align-items: baseline;
}
.plan__no { color: var(--indigo); }
.plan__title { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; margin-top: 14px; }
.plan__body { margin-top: 12px; color: var(--ink-soft); max-width: 30rem; }
.plan__track { display: none; }
.plan__note { margin-top: 20px; font-size: .92rem; color: var(--ink-muted); }

@media (min-width: 900px) {
  .plan__ruler, .plan__row { display: grid; grid-template-columns: var(--label) var(--track); column-gap: 48px; }
  .plan__ruler span {
    font: 700 .78rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted);
    padding-bottom: 14px;
  }
  .plan__ruler span { grid-row: 1; grid-column: 2; }
  .plan__ruler span:nth-child(2) { margin-left: 25%; }
  .plan__ruler span:nth-child(3) { margin-left: 50%; }
  .plan__ruler span:nth-child(4) { margin-left: 75%; }
  .plan__row { padding: 36px 0 40px; align-items: center; }
  .plan__track {
    display: block; position: relative; align-self: stretch; min-height: 96px; margin: -36px 0 -40px;
    background: repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px 25%);
  }
  .plan__bar, .plan__launch, .plan__support, .plan__label { position: absolute; top: 50%; }
  .plan__bar { height: 16px; margin-top: -8px; border-radius: 999px; }
  .plan__bar--call { left: 0; width: 7%; background: var(--ink); }
  .plan__bar--build {
    left: 25%; width: 50%; background: var(--ink);
    display: flex; justify-content: space-evenly; align-items: center;
  }
  .plan__bar--build i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
  .plan__launch {
    left: 75%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
    background: var(--indigo); transform: rotate(45deg); border-radius: 4px;
  }
  .plan__support { left: calc(75% + 18px); right: 0; border-top: 2px dashed var(--indigo); }
  .plan__label {
    margin-top: 18px; font: 600 .85rem/1.2 var(--display); color: var(--ink-soft); white-space: nowrap;
  }
  .plan__label--call { left: 0; }
  .plan__label--build { left: 25%; }
  .plan__label--launch { left: 75%; color: var(--indigo); transform: translateX(-11px); }
}

/* Projects */
.projects { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 900px) { .projects { grid-template-columns: 1.4fr 1fr; } }
.project { background: #1D1D24; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.project__media { aspect-ratio: 16 / 10; background: var(--indigo); display: grid; place-items: center; overflow: hidden; }
.project__media--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover .project__media--photo img { transform: scale(1.04); }
/* GridMaster tile uses the GridMaster brand (navy + green glow, as on gridmaster.app). */
.project__media--gm { background: radial-gradient(120% 90% at 50% -10%, #1f7a5a55, transparent 70%), linear-gradient(180deg, #161a33 0%, #10132a 100%); }
.project__media--gm img { width: min(72%, 360px); height: auto; object-fit: contain; }
.project__media--icon { background: linear-gradient(140deg, var(--indigo) 0%, var(--indigo-deep) 100%); }
.project__media--icon img { width: 38%; max-width: 180px; height: auto; border-radius: 22%; box-shadow: 0 20px 40px rgb(0 0 0 / .3); }
.project__media--motix { background: #000; }
.project__media--motix img { width: min(56%, 300px); height: auto; }
.project__media--cc4u { background: #000; }
.project__media--cc4u img { width: min(70%, 360px); height: auto; }
/* Sabai Jai logo is gold on white: keep it on a warm paper tile. */
.project__media--sabai { background: radial-gradient(90% 80% at 50% 40%, #fffdf6, #f3ecd9); }
.project__media--sabai img { width: min(66%, 340px); height: auto; mix-blend-mode: multiply; }
@media (min-width: 900px) {
  .project--wide { grid-column: 1 / -1; flex-direction: row; }
  .project--wide .project__media { aspect-ratio: auto; flex: 0 0 42%; min-height: 320px; }
  .project--wide .project__body { align-content: center; }
}
.badge.badge--wip { background: #FDC93A; color: #3A2A00; }

/* Frog Jump mini round (js/frogjump.js). Colours follow the app icon. */
.fj {
  position: relative; place-items: stretch; aspect-ratio: 16 / 11;
  background: linear-gradient(180deg, #13a3b8 0%, #0b6f86 100%);
  user-select: none; -webkit-user-select: none;
}
@media (min-width: 900px) {
  .project--game .project__media.fj { flex: 0 0 58%; min-height: 400px; }
}
.fj__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.fj.is-playing .fj__canvas { touch-action: none; }
.fj.is-aiming .fj__canvas { cursor: grabbing; }
.fj__canvas:focus-visible { outline: 3px solid #fff; outline-offset: -6px; border-radius: 0; }
.fj__hud {
  position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 12px;
  font: 600 .85rem/1 var(--display); color: #fff; pointer-events: none;
}
.fj__hud > span { background: rgb(6 40 52 / .55); padding: 8px 12px; border-radius: 999px; }
.fj__hud b { font-weight: 800; font-variant-numeric: tabular-nums; }
.fj__shark.is-close { background: #C93A3A; }
.fj:not(.is-playing) .fj__hud { visibility: hidden; }
.fj__toast {
  position: absolute; left: 50%; top: 22%; translate: -50% 0; pointer-events: none;
  font: 900 clamp(1.4rem, 3.6vw, 2.2rem)/1 var(--display); color: #FDC93A;
  text-shadow: 0 3px 0 #7a5200; opacity: 0; transition: opacity .2s, translate .6s ease-out;
}
.fj__toast.is-on { opacity: 1; translate: -50% -14px; }
.fj__card {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px;
  padding: 24px; text-align: center; color: #fff;
  background: radial-gradient(80% 70% at 50% 45%, rgb(6 40 52 / .55), rgb(6 40 52 / .85));
}
.fj__card[hidden] { display: none; }
.fj__icon { width: 88px; height: 88px; border-radius: 22%; box-shadow: 0 14px 30px rgb(0 0 0 / .35); }
.fj__title { font: 900 clamp(1.6rem, 3.4vw, 2.3rem)/1.05 var(--display); letter-spacing: -0.025em; }
.fj__score { font: 700 1.1rem/1.3 var(--display); color: #FDC93A; }
.project__body .fj__hint, .fj__hint { color: #E2F4F7; max-width: 30rem; font-size: .98rem; line-height: 1.45; }
.fj__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.btn--ghost-light { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
@media (max-width: 480px) {
  .fj { aspect-ratio: 4 / 5; }
  .fj__icon { width: 72px; height: 72px; }
}

.project__body { padding: 28px 28px 32px; display: grid; gap: 14px; flex: 1; align-content: start; }
/* External site as a small link pinned to the bottom-left of the card. */
.project__body { display: flex; flex-direction: column; align-items: flex-start; }
.project--wide .project__body { justify-content: center; }
.project__url {
  margin-top: auto; padding-top: 10px; font-size: .88rem; color: #8E8E9A;
  text-decoration: underline; text-decoration-color: rgb(255 255 255 / .25); text-underline-offset: 3px;
}
.project__url:hover { color: #fff; text-decoration-color: currentColor; }
.project__title { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; }
.project__body p:not(.badge) { color: #B5B5C0; }
.badge {
  justify-self: start; font: 700 .8rem/1 var(--display); padding: 9px 14px; border-radius: 999px;
  background: var(--indigo); color: #fff;
}
.badge--muted { background: rgb(255 255 255 / .1); color: #D4D1FF; }
.link { justify-self: start; font: 700 1rem/1 var(--display); color: #fff; text-decoration: none; border-bottom: 2px solid var(--indigo); padding-bottom: 6px; margin-top: 6px; }
.link:hover { color: #A9A4FF; }

/* Quotes */
.quotes { display: grid; gap: 20px; }
@media (min-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { margin: 0; border-radius: var(--radius); padding: 40px 32px; background: #fff; border: 2px solid var(--ink); display: grid; gap: 28px; align-content: space-between; }
.quote--brand { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.quote blockquote { margin: 0; font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.15 var(--display); letter-spacing: -0.025em; }
.quote figcaption { display: grid; gap: 2px; }
.quote figcaption strong { font: 700 1rem/1.3 var(--display); }
.quote figcaption span { font-size: .9rem; color: var(--ink-muted); }
.quote--brand figcaption span { color: #D4D1FF; }
.quote--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 900px) { .quote--wide { grid-column: 1 / -1; } }
.quote--wide blockquote { font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.22; max-width: 52rem; }

/* FAQ */
.faq { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1.6fr; gap: 64px; } }
.faq__list { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 20px; border: 2px solid transparent; transition: border-color .2s; }
.faq details[open] { border-color: var(--indigo); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 64px 24px 24px; position: relative;
  font: 700 clamp(1.1rem, 1.8vw, 1.35rem)/1.25 var(--display); letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%;
  width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font: 600 1.2rem/1 var(--display); transition: rotate .2s, background-color .2s;
}
.faq details[open] summary::after { rotate: 45deg; background: var(--indigo); }
.faq details p { padding: 0 24px 24px; color: var(--ink-soft); }

/* Contact */
.contact { background: var(--indigo); color: #fff; padding: 96px 0; overflow: hidden; }
@media (min-width: 960px) { .contact { padding: 136px 0; } }
.contact__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.contact__copy { display: grid; gap: 24px; justify-items: start; position: relative; }
.contact__title { font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 900; letter-spacing: -0.03em; }
.contact__copy p { font-size: 1.15rem; color: #E6E4FF; max-width: 30rem; }
.contact__face { width: 96px; height: 96px; border-radius: 50%; border: 4px solid #fff; object-fit: cover; }

.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px 24px; display: grid; gap: 16px; }
@media (min-width: 600px) { .form { padding: 40px; } }
.form__title { font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 8px; font: 600 .9rem/1.2 var(--display); min-width: 0; }
.form input, .form select, .form textarea {
  font: 400 1rem/1.4 var(--body); color: var(--ink); width: 100%;
  background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px;
  transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--indigo); }
.form textarea { resize: vertical; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.form__status { border-radius: 14px; padding: 14px 16px; font: 600 .95rem/1.4 var(--body); }
.form__status[hidden] { display: none; }
.form__status--ok { background: #E7F8EE; color: #136C3A; }
.form__status--error { background: #FDECEC; color: #A42020; }

/* Footer */
.footer { background: var(--ink); color: #B5B5C0; padding: 36px 0; font-size: .9rem; }
.footer .brand__word { color: #fff; }
.footer .ind { color: #A9A4FF; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: #fff; }

/* ── Subpages ───────────────────────────────────────────────────────────── */
/* Short pages (404, meeting) keep the footer at the bottom of the viewport. */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1; }
.page { padding: 64px 0 96px; }
@media (min-width: 960px) { .page { padding: 96px 0 136px; } }
.page__title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 900; letter-spacing: -0.03em; }

/* Meeting */
.meeting { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .meeting { grid-template-columns: 1fr 1.9fr; gap: 56px; } }
.meeting__intro { display: grid; gap: 24px; justify-items: start; }
.meeting__intro .page__title { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.meeting__lead { color: var(--ink-soft); font-size: 1.15rem; }
.meeting__facts { display: grid; gap: 12px; width: 100%; }
.meeting__facts li { background: #fff; border: 2px solid var(--ink); border-radius: 20px; padding: 16px 18px; display: grid; gap: 2px; }
.meeting__facts strong { font: 800 1.15rem/1.2 var(--display); letter-spacing: -0.02em; }
.meeting__facts span { color: var(--ink-soft); font-size: .95rem; }
.meeting__mail { display: grid; gap: 4px; color: var(--ink-soft); font-size: .95rem; }
.meeting__mail a { font: 700 1.05rem/1.2 var(--display); color: var(--indigo); text-decoration: none; border-bottom: 2px solid var(--indigo); justify-self: start; padding-bottom: 3px; }
.meeting__cal { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 8px; min-width: 0; }
.meeting__cal > div { min-height: 680px; border-radius: 20px; overflow: hidden; }
.meeting__cal > .cal-gate {
  min-height: 520px; display: grid; align-content: center; justify-items: start; gap: 18px;
  padding: 40px clamp(20px, 5vw, 56px); background: var(--indigo-soft);
}
.cal-gate__eyebrow { font: 700 .8rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
.cal-gate__title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; }
.cal-gate__text { color: var(--ink-soft); max-width: 30rem; }
.cal-gate__text a { color: var(--indigo); }
.cal-gate__alt { font-size: .92rem; color: var(--ink-soft); }
.cal-gate__alt:hover { color: var(--indigo); }
#my-cal-inline-beratungsgesprach { width: 100%; height: 100%; overflow: auto; }

/* App screens showcase */
.screens__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; }
.screens__tabs { display: inline-flex; gap: 6px; padding: 6px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; }
/* Four tabs do not fit a phone: the pill scrolls sideways instead of widening the page. */
.screens__tabs { max-width: 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.screens__tabs::-webkit-scrollbar { display: none; }
.screens__tab { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 480px) { .screens__tabs .screens__tab { padding: 11px 16px; font-size: .92rem; } }
.screens__tab {
  font: 700 1rem/1 var(--display); letter-spacing: -0.01em; color: var(--ink);
  background: transparent; border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.screens__tab:hover { background: var(--indigo-soft); }
.screens__tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.screens__nav { display: none; gap: 10px; }
@media (min-width: 720px) { .screens__nav { display: flex; } }
.screens__arrow {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; color: var(--ink);
  font: 700 1.25rem/1 var(--display); cursor: pointer; transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.screens__arrow:hover:not(:disabled) { background: var(--ink); color: #fff; }
.screens__arrow:disabled { opacity: .3; cursor: default; }
.screens__panel { margin-top: 32px; border-radius: var(--radius); }
.screens__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px;
  padding: 8px 4px 24px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.phone { flex: 0 0 auto; width: min(62vw, 240px); scroll-snap-align: start; display: grid; gap: 14px; }
@media (min-width: 960px) { .phone { width: 248px; } }
.phone__frame {
  aspect-ratio: 9 / 19.5; border-radius: 40px; border: 10px solid var(--ink); background: var(--ink);
  overflow: hidden; box-shadow: 0 24px 48px -20px rgb(18 18 22 / .45);
}
.phone__frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
.phone__label { font: 700 1rem/1.2 var(--display); color: var(--ink); padding-left: 4px; }
/* Desktop screens (admin dashboards) in a browser-window frame. */
.desk { flex: 0 0 auto; width: min(86vw, 760px); scroll-snap-align: start; display: grid; gap: 14px; }
.desk__frame {
  border: 2px solid var(--ink); border-radius: 18px; background: var(--ink); overflow: hidden;
  padding-top: 26px; position: relative; box-shadow: 0 24px 48px -20px rgb(18 18 22 / .45);
}
.desk__frame::before {
  content: ""; position: absolute; top: 9px; left: 12px; width: 8px; height: 8px; border-radius: 50%;
  background: #FF5F57; box-shadow: 14px 0 0 #FEBC2E, 28px 0 0 #28C840;
}
.desk__frame img { width: 100%; height: auto; display: block; }

/* 404 */
.notfound { text-align: center; display: grid; justify-items: center; gap: 20px; }
.notfound__code { font: 900 clamp(7rem, 26vw, 15rem)/.85 var(--display); letter-spacing: -0.06em; color: var(--indigo); }
.notfound p:not(.eyebrow):not(.notfound__code) { color: var(--ink-soft); font-size: 1.15rem; max-width: 34rem; }
.notfound .hero__ctas { justify-content: center; margin-top: 16px; }

/* Legal text (Impressum, Datenschutz) */
.legal { max-width: 46rem; }
.legal h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; line-height: 1.15; margin: 56px 0 18px; }
.legal h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; margin: 32px 0 10px; }
.legal p, .legal ul { color: var(--ink-soft); margin-bottom: 16px; }
.legal ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 6px; }
.legal a { color: var(--indigo); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__rule { height: 4px; width: 72px; background: var(--indigo); border-radius: 4px; margin-top: 28px; }

/* ── App pages (apps/*.html): a store-style listing per app ─────────────── */
.app-page { padding: 28px 0 96px; }
@media (min-width: 960px) { .app-page { padding: 40px 0 136px; } }
.app-back { display: inline-flex; gap: 8px; font: 600 .95rem/1 var(--display); color: var(--ink-soft); text-decoration: none; padding: 8px 0; }
.app-back:hover { color: var(--indigo); }

.app-head { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 20px; }
@media (min-width: 720px) { .app-head { gap: 36px; margin-top: 28px; } }
.app-icon {
  width: 112px; height: 112px; border-radius: 22.5%; background: #fff;
  box-shadow: 0 0 0 1px rgb(18 18 22 / .08), 0 18px 40px -12px rgb(18 18 22 / .35);
}
@media (min-width: 720px) { .app-icon { width: 160px; height: 160px; } }
.app-head__text { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.app-title { font-size: clamp(2rem, 5.4vw, 3.6rem); font-weight: 900; letter-spacing: -0.03em; }
.app-sub { font: 600 clamp(1.05rem, 1.8vw, 1.3rem)/1.25 var(--display); color: var(--ink-soft); }
.app-dev { font-size: .95rem; color: var(--indigo); font-weight: 600; }
.app-head__cta { margin-top: 14px; }
.app-head .badge { margin-bottom: 4px; }
@media (max-width: 559px) {
  .app-head { align-items: start; }
  .app-head__cta { grid-column: 1 / -1; margin-top: 4px; }
  .app-head__text { display: contents; }
  .app-head__text > :not(.app-head__cta) { grid-column: 2; }
  .app-head__cta .btn { width: 100%; }
}
@media (max-width: 559px) { .app-head { grid-template-columns: 88px 1fr; row-gap: 4px; } .app-icon { width: 88px; height: 88px; grid-row: 1 / span 4; } }

.app-facts {
  display: flex; margin-top: 36px; padding: 18px 0; border-block: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.app-facts::-webkit-scrollbar { display: none; }
.app-facts li { flex: 1 0 auto; min-width: 112px; display: grid; justify-items: center; gap: 4px; padding: 0 18px; text-align: center; }
.app-facts li + li { border-left: 1px solid var(--line); }
.app-facts__v b { font: 800 1.35rem/1.1 var(--display); color: var(--ink); white-space: nowrap; }
.app-facts__l { font-size: .82rem; color: var(--ink-muted); white-space: nowrap; }
.app-stars { color: var(--indigo); }

.app-layout { display: grid; gap: 48px; margin-top: 12px; }
@media (min-width: 1024px) { .app-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; } }
.app-main { min-width: 0; }
.app-sec { padding-top: 40px; }
.app-sec__h { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; }
.app-sec__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.app-muted { color: var(--ink-muted); font-size: .92rem; }

.app-shots {
  display: flex; gap: 14px; margin-top: 20px; padding-bottom: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.app-shot { flex: 0 0 auto; width: min(58vw, 230px); scroll-snap-align: start; }
.app-shot img {
  width: 100%; height: auto; border-radius: 26px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgb(18 18 22 / .45);
}
.app-shot--mkt img { border-radius: 22px; }

.app-desc { margin-top: 16px; display: grid; gap: 12px; color: var(--ink-soft); max-width: 44rem; }
.app-desc__h { font: 800 1.02rem/1.2 var(--display); color: var(--ink); letter-spacing: 0; margin-top: 10px; }
.app-desc ul { display: grid; gap: 6px; padding-left: 1.1em; list-style: disc; }
.app-desc li::marker { color: var(--indigo); }
.app-desc.is-clamped { max-height: 13.5em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.app-more-btn { margin-top: 10px; background: none; border: 0; padding: 6px 0; font: 700 1rem/1 var(--display); color: var(--indigo); cursor: pointer; }
.app-more-btn:hover { color: var(--indigo-deep); text-decoration: underline; }

.app-info { margin-top: 16px; display: grid; max-width: 44rem; }
.app-info > div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.app-info dt { color: var(--ink-muted); }
.app-info dd { margin: 0; text-align: right; font-weight: 500; }

.app-built {
  margin-top: 40px; background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 30px 28px 32px; display: grid; gap: 14px; justify-items: start;
}
@media (min-width: 1024px) { .app-built { position: sticky; top: 104px; } }
.app-built__h { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 900; }
.app-built > p:not(.badge) { color: #B5B5C0; }
.app-built__links { display: grid; gap: 18px; justify-items: start; margin-top: 8px; }
.app-quote { margin: 4px 0 0; padding: 16px 0 0; border-top: 1px solid rgb(255 255 255 / .14); display: grid; gap: 8px; }
.app-quote p { font: 700 1.1rem/1.35 var(--display); color: #fff; }
.app-quote footer { font-size: .9rem; color: #B5B5C0; }
.app-quote b { color: #fff; }

.app-more { margin-top: 32px; }
.app-more__list { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 720px) { .app-more__list { grid-template-columns: repeat(3, 1fr); } }
.app-more__item {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.app-more__item:hover { border-color: var(--indigo); transform: translateY(-2px); }
.app-more__item img { width: 56px; height: 56px; border-radius: 22.5%; box-shadow: 0 0 0 1px rgb(18 18 22 / .08); }
.app-more__item span { display: grid; gap: 2px; font-size: .9rem; color: var(--ink-muted); }
.app-more__item b { font: 800 1.1rem/1.15 var(--display); color: var(--ink); }

.app-game { margin-top: 20px; border-radius: var(--radius); }
@media (min-width: 720px) { .app-game { aspect-ratio: 16 / 10; } }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}
