/* ==========================================================================
   Starkgrey Technologies – Stylesheet
   Farben: Schwarz · Anthrazit · Weiß · Türkis aus dem Logo (einziger, sparsamer Akzent)
   ========================================================================== */

:root {
  --black: #0a0a0b;
  --ink: #111113;
  --anthracite: #1c1c1e;
  --graphite: #2a2a2d;
  --steel: #3a3a3f;
  --grey-600: #6b6b72;
  --grey-500: #85858c;
  --grey-400: #a1a1a8;
  --grey-300: #c2c2c8;
  --grey-200: #dcdce0;
  --grey-150: #e8e8eb;
  --grey-100: #f3f3f5;
  --grey-50: #f7f7f8;
  --white: #ffffff;

  --accent: #40e0d0;        /* Türkis aus dem Logo – Akzent auf dunklen Flächen */
  --accent-deep: #1da596;   /* dunkleres Türkis für kleine Punkte auf hellen Flächen */

  --line: rgba(10, 10, 11, 0.1);
  --line-dark: rgba(255, 255, 255, 0.1);

  --r-xs: 2px;
  --r-sm: 3px;
  --r: 5px;
  --r-lg: 8px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;

  --container: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  --header-h: 76px;
  --pill-h: 58px;
  --pill-r: 18px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.77, 0, 0.18, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; border-radius: var(--r-xs); }
.section--dark :focus-visible, .footer :focus-visible, .menu :focus-visible, .hero-x :focus-visible, .header--on-dark:not(.is-pill) :focus-visible, .header.is-menu :focus-visible, .header--invert :focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent); color: var(--black); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--black); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--black);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent-deep); }
.eyebrow--light { color: var(--grey-400); }
.eyebrow--light::before { background: var(--accent); }

.display {
  font-size: clamp(42px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 400;
}
.display .mark { color: var(--grey-400); }
.h2 {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 400;
}
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--grey-600); max-width: 38em; }
.lead--light { color: var(--grey-400); }
.gradient-text {
  background: linear-gradient(180deg, #ffffff 35%, #8d8d94 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Status-Kennzeichnung (Live / In Entwicklung) */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-style: normal;
  color: var(--grey-600); white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border: 1px solid currentColor; }
.status--live { color: var(--black); }
.status--live::before { background: var(--accent-deep); border-color: var(--accent-deep); }

/* Label links / Inhalt rechts (STARK-Raster) */
.split-x { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; }
.label-x { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding-top: .9em; }
.title-x { font-size: clamp(30px, 3.3vw, 50px); line-height: 1.08; letter-spacing: -0.032em; font-weight: 400; max-width: 17em; }
.cols-x { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: clamp(40px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); }
.cols-x p { font-size: 17px; line-height: 1.6; color: #2c2c31; }
.link-x { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; font-size: 16px; font-weight: 500; }
.link-x .arrow { transition: transform .35s var(--ease-out); }
.link-x:hover .arrow { transform: translateX(5px); }
.strip-x { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(72px, 9vw, 128px) 0 0; border-top: 1px solid var(--black); }
.strip-x > div { padding: 18px 24px 0 0; }
.strip-x dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.strip-x dd { margin: 6px 0 0; color: var(--grey-600); font-size: 15px; line-height: 1.5; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--black); --fg: var(--white); --bd: var(--black); --hover: var(--graphite); --hover-fg: var(--white); --hover-bd: var(--graphite);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 50px; padding: 0 24px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.005em;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  border-radius: var(--r-xs);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--hover); color: var(--hover-fg); border-color: var(--hover-bd); }
.btn .arrow { transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--outline { --bg: transparent; --fg: var(--black); --bd: rgba(10,10,11,.3); --hover: var(--black); --hover-bd: var(--black); }
.btn--white { --bg: var(--white); --fg: var(--black); --bd: var(--white); --hover: var(--grey-200); --hover-fg: var(--black); --hover-bd: var(--grey-200); }
.btn--ghost-light { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.35); --hover: var(--white); --hover-fg: var(--black); --hover-bd: var(--white); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.arrow { width: 16px; height: 16px; flex: none; }

/* ==========================================================================
   Header — transparent, beim Scrollen wird er zur schwebenden Pille
   ========================================================================== */
.header {
  --fg: var(--black); --inv: var(--white);
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: var(--fg); pointer-events: none;
}
.header--on-dark:not(.is-pill), .header.is-menu { --fg: var(--white); --inv: var(--black); }
/* Live: die Elemente wechseln automatisch Farbe, je nachdem was gerade hinter der Leiste liegt */
.header--invert { --fg: var(--white); --inv: var(--black); }

.header__bar {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px);
  width: 100%; max-width: var(--container); height: var(--header-h);
  margin: 0 auto; padding: 0 var(--gutter);
  border: 1px solid transparent; border-radius: 0;
  background-color: rgba(255, 255, 255, 0);
  transition:
    width .8s var(--ease-out), max-width .8s var(--ease-out), height .6s var(--ease-out),
    margin-top .6s var(--ease-out), padding .6s var(--ease-out), border-radius .6s var(--ease-out),
    background-color .45s ease, border-color .45s ease, box-shadow .6s var(--ease-out);
}
.header.is-pill .header__bar {
  width: calc(100% - 24px); max-width: 600px; height: var(--pill-h);
  margin-top: 12px; padding: 0 8px 0 24px;
  border-radius: var(--pill-r);
  background-color: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-color: rgba(10, 10, 11, 0.07);
  box-shadow: 0 18px 40px -22px rgba(10, 10, 11, .38);
  transition: background-color .5s ease, border-color .5s ease, box-shadow .5s ease,
    width .8s var(--ease-out), max-width .8s var(--ease-out), height .6s var(--ease-out),
    margin-top .6s var(--ease-out), padding .6s var(--ease-out), border-radius .6s var(--ease-out);
}
/* Über dunklen Abschnitten wird das Glas dunkel getönt statt weiß */
.header.is-pill:not(.is-menu).header--invert .header__bar {
  background-color: rgba(10, 10, 11, 0.4);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6);
}
/* Offenes Menü: Leiste wieder flach und transparent über dem dunklen Overlay */
.header.is-menu .header__bar {
  width: 100%; max-width: var(--container); height: var(--header-h);
  margin-top: 0; padding: 0 var(--gutter); border-radius: 0;
  background-color: rgba(255, 255, 255, 0); border-color: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}

.logo { position: relative; display: inline-flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; transition: opacity .35s ease, height .6s var(--ease-out); }
.header .logo__light { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.header--on-dark:not(.is-pill) .logo__dark, .header.is-menu .logo__dark, .header--invert .logo__dark { opacity: 0; }
.header--on-dark:not(.is-pill) .logo__light, .header.is-menu .logo__light, .header--invert .logo__light { opacity: 1; }
.header.is-pill:not(.is-menu) .logo img { height: 30px; }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 42px; color: var(--fg); background: transparent;
  border: 1px solid var(--fg); border-radius: var(--r-xs);
  font-size: 14.5px; font-weight: 500; white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, border-radius .6s var(--ease-out);
}
.hbtn:hover { background: var(--fg); color: var(--inv); }
.hbtn--cta { padding: 0 24px; min-width: 164px; }
.hbtn--icon { position: relative; width: 42px; padding: 0; }
.header.is-pill:not(.is-menu) .hbtn { border-radius: 11px; }
.header.is-pill:not(.is-menu) .hbtn--cta { background: var(--black); color: var(--white); border-color: var(--black); }
.header.is-pill:not(.is-menu) .hbtn--cta:hover { background: var(--graphite); border-color: var(--graphite); }
.header.is-pill:not(.is-menu).header--invert .hbtn--cta { background: var(--white); color: var(--black); border-color: var(--white); }
.header.is-pill:not(.is-menu).header--invert .hbtn--cta:hover { background: var(--grey-200); border-color: var(--grey-200); }

.menu-toggle i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out), top .45s var(--ease-out), opacity .3s ease; }
.menu-toggle i:nth-child(1) { top: 14px; }
.menu-toggle i:nth-child(2) { top: 19.5px; }
.menu-toggle i:nth-child(3) { top: 25px; }
.menu-toggle[aria-expanded="true"] i:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-child(3) { top: 19.5px; transform: rotate(-45deg); }

/* ==========================================================================
   Vollbild-Menü (Palantir-Stil)
   ========================================================================== */
.menu {
  position: fixed; inset: 0; z-index: 99;
  background: #0c0c0e; color: var(--white);
  overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--header-h) + clamp(24px, 4vw, 56px)) 0 48px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s var(--ease-inout), visibility 0s linear .7s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-inout), visibility 0s; }
.menu__inner { display: grid; grid-template-columns: 1.15fr 1fr .85fr; gap: 24px clamp(24px, 3vw, 48px); }
.menu__col { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 16px; }
.menu__label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-400); }
.menu__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.menu__head a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-200); }
.menu__head a .arrow { width: 12px; height: 12px; }
.menu__head a:hover { color: var(--white); }

.menu__nav { margin-top: 28px; }
.menu__nav a {
  display: inline-flex; align-items: baseline; gap: 16px;
  font-size: clamp(34px, 3.8vw, 58px); line-height: 1.24; letter-spacing: -0.035em; font-weight: 400;
  color: var(--white); transition: color .25s ease;
}
.menu__nav a:hover { color: var(--grey-400); }
.menu__nav a[aria-current="page"] { color: var(--grey-400); }
.menu__sub { font-size: .7em; color: var(--grey-500); }

.menu__products { margin-top: 16px; }
.menu__products a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px;
  padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.menu__products small { grid-column: 1; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500); }
.menu__products b { grid-column: 1; font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }
.menu__products .arrow { grid-column: 2; grid-row: 1 / span 2; color: var(--grey-500); transition: transform .35s var(--ease-out), color .25s ease; }
.menu__products a:hover .arrow { transform: translateX(5px); color: var(--white); }

.menu__contact { display: block; margin-top: 18px; font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.01em; word-break: break-word; }
.menu__label + .menu__contact { margin-top: 28px; }
.menu__contact:hover { color: var(--grey-400); }
.menu__address { margin-top: 18px; color: var(--grey-400); font-size: 15px; line-height: 1.55; }
.menu__col .btn { margin-top: 28px; }
.menu__legal { display: flex; gap: 20px; margin-top: 40px; font-size: 13px; color: var(--grey-500); }
.menu__legal a:hover { color: var(--white); }

/* Einblenden der Menüinhalte */
.menu__col > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.menu.is-open .menu__col > * { opacity: 1; transform: none; transition-delay: .3s; }
.menu.is-open .menu__col:nth-child(2) > * { transition-delay: .38s; }
.menu.is-open .menu__col:nth-child(3) > * { transition-delay: .46s; }

/* ==========================================================================
   Intro (Logo-Splash, dunkel wie der Hero)
   ========================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--black);
  display: grid; place-items: center;
  transition: opacity .75s var(--ease-inout), visibility .75s;
}
.intro.is-leaving { opacity: 0; visibility: hidden; }
.intro__logo { display: grid; place-items: center; }
.intro__mark { display: block; width: 120px; height: 120px; }
.intro__mark svg, .intro__mark img { display: block; width: 100%; height: 100%; opacity: 0; }
.intro__mark img { opacity: 1; animation: introFallback 1s var(--ease-out); }
@keyframes introFallback { from { opacity: 0; } }

/* ---------- Titel-Einblendung (Maske) ---------- */
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.intro-done .hero__title .line > span { transform: none; }
.intro-done .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.intro-done .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.hero__fade { opacity: 0; filter: blur(10px); transform: translateY(16px); transition: opacity 1s var(--ease-out), filter 1s var(--ease-out), transform 1s var(--ease-out); }
.intro-done .hero__fade { opacity: 1; filter: blur(0); transform: none; }
.intro-done .hero__fade:nth-child(2) { transition-delay: .35s; }
.intro-done .hero__fade:nth-child(3) { transition-delay: .5s; }
.intro-done .hero__fade:nth-child(4) { transition-delay: .65s; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Startseite · Hero (Palantir / PhysicsX)
   ========================================================================== */
.hero-x {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  background: var(--black); color: var(--white);
  display: flex; align-items: flex-end;
}
.hero-x__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-x__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.6) 26%, rgba(10,10,11,0) 55%),
    linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,0) 18%);
}
.hero-x__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 32px 64px; align-items: end;
  padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(40px, 7vh, 80px);
}
.hero-x__title { font-size: clamp(42px, 6.3vw, 112px); line-height: 1; letter-spacing: -0.048em; font-weight: 400; }
.hero-x__side { padding-bottom: .5em; }
.hero-x__side p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: rgba(255,255,255,.72); max-width: 30em; }
.hero-x__side .hero__actions { margin-top: 28px; }

/* ==========================================================================
   Startseite · Wer wir sind
   ========================================================================== */
.intro-x { padding-top: clamp(96px, 12vw, 170px); }

/* ==========================================================================
   Startseite · Unsere Software (Palantir „Our Software“)
   ========================================================================== */
.software { padding-top: clamp(24px, 4vw, 56px); }
.software__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 72px); }
.software__title { font-size: clamp(42px, 5.4vw, 84px); line-height: 1; letter-spacing: -0.045em; font-weight: 400; }
.software__note { max-width: 25em; color: var(--grey-600); font-size: 16px; }

.sw__row { display: block; position: relative; border-top: 1px solid var(--line); transition: background-color .35s ease; }
.sw__row:last-child { border-bottom: 1px solid var(--line); }
.sw__row:nth-child(odd) { background: var(--grey-50); }
.sw__inner {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.35fr) minmax(0, 2.7fr);
  gap: 32px; min-height: clamp(260px, 27vw, 420px);
  padding-top: 30px; padding-bottom: 32px;
}
.sw__meta { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.sw__claim { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.32; letter-spacing: -0.01em; max-width: 14em; }
.sw__index { font-size: clamp(17px, 1.4vw, 21px); color: var(--grey-400); }
.sw__visual { display: flex; align-items: center; justify-content: flex-start; min-width: 0; }
.sw__name { display: flex; flex-direction: column; justify-content: center; gap: 18px; min-width: 0; }
.sw__name .sw__title {
  font-size: clamp(46px, 8vw, 118px); line-height: .95; letter-spacing: -0.052em; font-weight: 400;
  white-space: nowrap; transition: transform .45s var(--ease-out);
}
.sw__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.sw__go { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; transition: color .25s ease; }
.sw__go .arrow { transition: transform .35s var(--ease-out), color .25s ease; }
/* Deutlich spürbarer Hover: Titel und Pfeil rücken nach rechts, der Pfeil färbt sich ein – zeigt "hier ist ein Link" */
.sw__row.is-live { cursor: pointer; }
.sw__row.is-live:hover { background: var(--grey-150); }
.sw__row.is-live:hover .sw__go .arrow { transform: translateX(9px); color: var(--accent-deep); }
.sw__row.is-live:hover .sw__title { transform: translateX(10px); }
/* Weitere Branchen: eine Zeile ohne Grafik, als Link zum Kontakt */
.sw__row.is-next .sw__inner { grid-template-columns: minmax(0, .95fr) minmax(0, 4.05fr); min-height: clamp(220px, 20vw, 320px); }
.sw__row.is-next .sw__title { white-space: normal; }
.sw__row.is-next { cursor: pointer; }
.sw__row.is-next:hover { background: var(--grey-150); }
.sw__row.is-next:hover .sw__go .arrow { transform: translateX(9px); color: var(--accent-deep); }
.sw__row.is-next:hover .sw__title { transform: translateX(10px); }

/* Dashboard-Miniatur (Gastronomie) */
.dash {
  position: relative; width: 100%; max-width: 440px;
  background: var(--ink); color: var(--white); border: 1px solid #2a2a2e; border-radius: var(--r);
  box-shadow: 0 40px 60px -34px rgba(10, 10, 11, .55);
  font-size: 11px; overflow: hidden;
}
.dash__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #242428; }
.dash__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: .01em; }
.dash__brand img { width: 14px; height: 14px; }
.dash__loc { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; color: var(--grey-400); letter-spacing: .04em; }
.dash__loc i { width: 5px; height: 5px; background: var(--accent); }
.dash__body { display: grid; grid-template-columns: 36px minmax(0, 1fr); }
.dash__side { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; border-right: 1px solid #242428; }
.dash__side i { width: 14px; height: 14px; border: 1px solid #3a3a40; border-radius: 2px; }
.dash__side i.on { background: var(--white); border-color: var(--white); }
.dash__main { min-width: 0; padding: 14px 14px 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dash__kpis > div { min-width: 0; }
.dash__kpis > div { border: 1px solid #26262a; border-radius: var(--r-sm); padding: 8px 10px; }
.dash__kpis small { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__kpis b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; margin-top: 2px; }
.dash__chart { height: 58px; display: flex; align-items: flex-end; gap: 5px; padding-bottom: 1px; border-bottom: 1px solid #2c2c31; }
.dash__chart i { flex: 1; height: var(--h); background: #3b3b41; transform-origin: bottom; }
.dash__chart i:nth-child(10) { background: var(--accent); }
.dash__rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.dash__rows span { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid #26262a; border-radius: var(--r-xs); }
.dash__rows b { font-weight: 500; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__rows em { font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: var(--r-xs); background: #2a2a2e; color: var(--grey-200); }
.dash__rows em.new { background: var(--accent); color: var(--black); }
.dash__note { position: absolute; right: 10px; bottom: 6px; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; color: #55555c; }
.dash__chart i { transform: scaleY(0); transition: transform .9s var(--ease-out); transition-delay: var(--bd, .5s); }
.is-in .dash__chart i { transform: none; }

/* ==========================================================================
   Startseite · Call to Action (Palantir / STARK)
   ========================================================================== */
.cta-x { padding: clamp(80px, 10vw, 140px) 0; }
.cta-x__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.cta-x__grid--single { grid-template-columns: 1fr; }
.cta-x__card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: clamp(220px, 19vw, 290px); padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r-sm); transition: background-color .3s ease;
}
.cta-x__card--light { background: var(--grey-150); color: var(--black); }
.cta-x__card--light:hover { background: var(--grey-200); }
.cta-x__card--dark { background: var(--anthracite); color: var(--white); }
.cta-x__card--dark:hover { background: var(--graphite); }
.cta-x__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cta-x__title { font-size: clamp(34px, 4.2vw, 64px); line-height: 1; letter-spacing: -0.045em; font-weight: 400; }
.cta-x__card .arrow { width: clamp(30px, 3vw, 44px); height: auto; margin-top: .3em; transition: transform .45s var(--ease-out); }
.cta-x__card:hover .arrow { transform: translateX(6px); }
.cta-x__text { font-size: 16px; line-height: 1.5; max-width: 26em; color: var(--grey-600); }
.cta-x__card--dark .cta-x__text { color: var(--grey-400); }

/* ==========================================================================
   Gastronomie · Hero mit drei Systemen (STARK-Systemübersicht)
   ========================================================================== */
.ghero { padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(80px, 9vw, 130px); }
.ghero__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 24px 48px; align-items: end; margin: clamp(20px, 3vw, 36px) 0 clamp(36px, 4.4vw, 60px); }
.ghero__title { font-size: clamp(56px, 11vw, 188px); line-height: .92; letter-spacing: -0.058em; font-weight: 400; margin-left: -0.05em; }
.ghero__side { padding-bottom: 1.2em; }
.ghero__side p { margin-top: 14px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--grey-600); max-width: 24em; }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.6vw, 24px); }
.product { position: relative; display: flex; flex-direction: column; min-width: 0; }
.product__kicker { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.product__name { font-size: clamp(34px, 3.4vw, 52px); line-height: 1; letter-spacing: -0.04em; font-weight: 400; margin-top: 6px; }
.product__media {
  position: relative; display: grid; place-items: center; overflow: hidden;
  margin-top: 18px; aspect-ratio: 1 / 1.02; padding: 28px;
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, #f5f5f7 0%, #e3e3e7 100%);
  transition: background-color .35s ease;
}
.product__media::after { content: ""; position: absolute; inset: 0; background: rgba(10,10,11,.035); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.product:hover .product__media::after { opacity: 1; }
.product__media .ui { box-shadow: 0 34px 50px -30px rgba(10, 10, 11, .6); }
.product__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 15px; font-weight: 500; }
.product__more .arrow { transition: transform .35s var(--ease-out); }
.product:hover .product__more .arrow { transform: translateX(5px); }

/* Einblendung der Systemkarten: wachsen & werden scharf */
.product__media { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-inout); }
.product.is-in .product__media { clip-path: inset(0 0 0 0); }
.product__media > * { filter: blur(18px); opacity: .3; transform: scale(1.08); transition: filter 1.3s var(--ease-out), opacity 1.3s var(--ease-out), transform 1.5s var(--ease-out); }
.product.is-in .product__media > * { filter: blur(0); opacity: 1; transform: none; transition-delay: .45s; }
.product:nth-child(2).is-in .product__media { transition-delay: .12s; }
.product:nth-child(3).is-in .product__media { transition-delay: .24s; }
.product:nth-child(4).is-in .product__media { transition-delay: .36s; }
.product:nth-child(2).is-in .product__media > * { transition-delay: .57s; }
.product:nth-child(3).is-in .product__media > * { transition-delay: .69s; }
.product:nth-child(4).is-in .product__media > * { transition-delay: .81s; }
.product > :not(.product__media) { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.product.is-in > :not(.product__media) { opacity: 1; transform: none; }
.product:nth-child(2).is-in > :not(.product__media) { transition-delay: .12s; }
.product:nth-child(3).is-in > :not(.product__media) { transition-delay: .24s; }
.product:nth-child(4).is-in > :not(.product__media) { transition-delay: .36s; }

/* ==========================================================================
   Produkt-Grafiken
   ========================================================================== */
.ui { display: block; width: 100%; max-width: 280px; }
.ui-card { border: 1px solid var(--steel); background: var(--black); color: var(--white); padding: 18px; border-radius: var(--r); }
.ui-card__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; }
.ui-card__head span { font-family: var(--mono); font-size: 11px; color: var(--grey-400); font-weight: 400; }
.ui-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 18px 0; }
.ui-stamps i { aspect-ratio: 1; border: 1px dashed var(--steel); border-radius: var(--r-xs); display: grid; place-items: center; }
.ui-stamps i.on { background: var(--white); border: 0; }
.ui-stamps i.on::after { content: ""; width: 40%; height: 22%; border-left: 2px solid var(--black); border-bottom: 2px solid var(--black); transform: rotate(-45deg) translate(1px, -1px); }
.ui-stamps i.next { border: 1px solid var(--accent); animation: pulseSq 1.8s ease-in-out infinite; }
@keyframes pulseSq { 50% { background: rgba(64, 224, 208, .18); } }
.ui-progress { display: block; height: 4px; background: var(--graphite); border-radius: 2px; overflow: hidden; }
.ui-progress span { display: block; height: 100%; width: 70%; background: var(--white); }
.ui-card__foot { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--grey-400); }

/* Bestellungen – mit Symbol für das Bestellte oben links */
.ui-orders { display: grid; gap: 8px; max-width: 300px; }
.ui-order {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 2px 12px; align-items: center;
  border: 1px solid var(--steel); background: var(--black); color: var(--white);
  padding: 12px 14px 12px 12px; border-radius: var(--r-sm);
}
.ui-order__icon {
  grid-row: 1 / span 2; align-self: start;
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: var(--r-xs); background: var(--graphite);
}
.ui-order__icon svg { width: 21px; height: 21px; fill: none; stroke: var(--white); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ui-order b { grid-column: 2; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-order small { grid-column: 2; font-size: 12px; color: var(--grey-400); }
.ui-order em { grid-column: 3; grid-row: 1 / span 2; font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; padding: 4px 8px; border-radius: var(--r-xs); text-transform: uppercase; }
.ui-order em.new { background: var(--accent); color: var(--black); }
.ui-order em.work { background: var(--graphite); color: var(--grey-200); }
.ui-order em.done { background: var(--white); color: var(--black); }
.ui-order.is-new { border-color: rgba(64, 224, 208, .5); }
.ui-order.is-new .ui-order__icon { background: var(--accent); }
.ui-order.is-new .ui-order__icon svg { stroke: var(--black); }

/* Reserve: Tischplan mit freien, reservierten und besetzten Tischen */
.ui-plan { display: block; max-width: 300px; border: 1px solid var(--steel); background: var(--black); color: var(--white); padding: 16px; border-radius: var(--r); }
.ui-plan__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; }
.ui-plan__head span { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .06em; color: var(--grey-400); text-transform: uppercase; }
.ui-plan__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.ui-plan__t { aspect-ratio: 1; display: grid; place-items: center; font-style: normal; border: 1px dashed var(--steel); border-radius: var(--r-xs); font-family: var(--mono); font-size: 11px; color: var(--grey-400); }
.ui-plan__t.is-booked { border: 1px solid var(--steel); background: var(--graphite); color: var(--grey-200); }
.ui-plan__t.is-seated { border: 0; background: var(--white); color: var(--black); }
.ui-plan__t.is-pick { border: 1px solid var(--accent); background: rgba(64, 224, 208, .14); color: var(--accent); }
.ui-plan__gap { aspect-ratio: 1; }
.ui-plan__foot { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--grey-400); }

/* Menü: QR-Karten wie Buchseiten, fächern nach rechts auf */
.qrfan { position: relative; display: block; width: 148px; height: 200px; margin: 0 92px 36px 0; }
.qrfan__page {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px;
  padding: 12px 12px 10px;
  background: var(--white); color: var(--black);
  border: 1px solid rgba(10, 10, 11, .1); border-radius: 4px;
  box-shadow: 0 1px 1px rgba(10,10,11,.05), 0 16px 26px -18px rgba(10, 10, 11, .55);
  transform-origin: 14px calc(100% - 14px);
  transform: rotate(calc(var(--i) * 1.4deg));
  backface-visibility: hidden;
}
.qrfan__top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.qrfan__top b { font-size: 11.5px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap; }
.qrfan__top span { font-family: var(--mono); font-size: 9px; color: var(--grey-500); }
.qrfan__qr { display: block; }
.qrfan__qr svg { width: 100%; height: auto; }
.qrfan__foot { margin-top: auto; padding-left: 16px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-500); }
.qrfan__pin {
  position: absolute; left: 8px; bottom: 8px; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8ff0e6, var(--accent-deep));
  box-shadow: 0 1px 2px rgba(0,0,0,.35);
}
@keyframes qrfan {
  0%, 8% { transform: rotate(calc(var(--i) * 1.4deg)); }
  34%, 70% { transform: rotate(calc(var(--i) * 9deg)); }
  94%, 100% { transform: rotate(calc(var(--i) * 1.4deg)); }
}
.is-in .qrfan__page, .intro-done .page-hero__visual .qrfan__page {
  animation: qrfan 7s var(--ease-inout) infinite;
  animation-delay: calc(.9s + (4 - var(--i)) * .09s);
}
.page-hero__visual .qrfan { transform: scale(1.12); }

/* Über uns: Symbol zeichnet sich wie im Intro der Startseite */
.page-hero__visual--mark { position: relative; min-height: 420px; }
.page-hero__visual--mark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 50%, transparent 40%, rgba(12, 12, 14, .75) 100%);
}
.page-hero__mark { position: relative; display: block; width: min(40%, 190px); }
.page-hero__mark svg { display: block; width: 100%; height: auto; }
html:not(.no-js) .page-hero__mark svg { opacity: 0; }

/* ==========================================================================
   Sektionen allgemein
   ========================================================================== */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--grey { background: var(--grey-100); }
.section--dark { background: var(--black); color: var(--white); }
.section__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head > p, .section__head > .btn { justify-self: end; }
.section__head > div > * + * { margin-top: 18px; }

/* Dunkle Sektion mit ruhigen Linien */
.silk-section { position: relative; overflow: hidden; background: var(--black); color: var(--white); }
.silk-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; pointer-events: none; }
.silk-section::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, transparent 40%, var(--black) 100%);
}
.silk-section > .container { position: relative; z-index: 1; }

/* Ablauf / Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 36px 32px 8px 0; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step__num { font-family: var(--mono); font-size: 13px; color: var(--grey-600); letter-spacing: .1em; }
.step h3 { margin: 18px 0 10px; }
.step p { color: var(--grey-600); }
.section--dark .steps { border-top-color: rgba(255,255,255,.22); }
.section--dark .step + .step { border-left-color: var(--line-dark); }
.section--dark .step p, .section--dark .step__num { color: var(--grey-400); }

/* CTA-Band (Unterseiten) */
.cta-wrap { padding: clamp(56px, 7vw, 96px) 0; }
.section:not(.section--dark):not(.silk-section):not(.section--grey):has(+ .cta-wrap) { padding-bottom: 0; }
.cta-band { background: var(--anthracite); color: var(--white); border-radius: var(--r-sm); padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.cta-band__inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band .h2 { max-width: 14em; }

/* ==========================================================================
   Unterseiten: Page-Hero, Features, FAQ, Related
   ========================================================================== */
.page-hero { padding: calc(var(--header-h) + clamp(32px, 6vw, 88px)) 0 clamp(56px, 7vw, 96px); background: var(--white); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero__text > * + * { margin-top: 24px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-600); }
.breadcrumb a:hover { color: var(--black); }
.page-hero__visual {
  background: var(--anthracite); border-radius: var(--r-sm); min-height: 420px; display: grid; place-items: center; padding: 40px;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 32px 32px;
  overflow: hidden;
}
.page-hero__visual .ui { max-width: 320px; }
.page-hero__visual > img { width: min(38%, 170px); height: auto; }
.page-hero--simple .page-hero__grid { grid-template-columns: 1fr; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 30px 30px 34px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); position: relative; transition: border-color .35s; }
.feature:hover { border-color: rgba(10,10,11,.3); }
.feature__num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-xs); background: var(--grey-100); font-family: var(--mono); font-size: 12px; color: var(--black); transition: background .35s, color .35s; }
.feature:hover .feature__num { background: var(--black); color: var(--white); }
.feature h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 24px 0 10px; line-height: 1.25; }
.feature p { color: var(--grey-600); font-size: 16px; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-xs); border: 1px solid var(--line-dark); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-400); }
.chip.is-live { color: var(--white); }
.chip.is-live::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
.usecases { display: flex; flex-wrap: wrap; gap: 8px; }
.usecases .chip { border-color: var(--line); color: var(--grey-600); height: 30px; }
.usecases .chip.is-live { color: var(--black); border-color: rgba(10,10,11,.3); }
.usecases .chip.is-live::before { background: var(--accent-deep); }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__sticky { position: sticky; top: 112px; }
.split__sticky > * + * { margin-top: 18px; }

.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; width: 9px; height: 9px; background: var(--black); margin-top: 8px; }
.checklist b { display: block; font-weight: 600; }
.checklist span { color: var(--grey-600); font-size: 16px; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 32px; height: 32px; flex: none; border-radius: var(--r-xs); border: 1px solid var(--line); transition: background .3s, border-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--black); transform: translate(-50%, -50%); transition: transform .35s var(--ease-out), background .35s; }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { background: var(--black); border-color: var(--black); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--white); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .faq__a { padding: 0 56px 26px 0; color: var(--grey-600); max-width: 52em; }
:root { interpolate-size: allow-keywords; }
.faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease-out), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { height: auto; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: 32px; background: var(--anthracite); color: var(--white); border-radius: var(--r-sm); transition: background .35s;
}
.related a:hover { background: var(--black); }
.related a:hover .arrow { transform: translateX(6px); }
.related .arrow { width: 22px; height: 22px; transition: transform .35s var(--ease-out); }
.related__num { font-family: var(--mono); font-size: 12px; color: var(--grey-400); }
.related b { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.related small { display: block; color: var(--grey-400); font-size: 14.5px; font-weight: 400; margin-top: 4px; }

/* About */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { position: relative; background: var(--anthracite); color: var(--white); border-radius: var(--r-sm); padding: 32px 28px 36px; display: flex; flex-direction: column; }
.value__num { font-family: var(--mono); font-size: 12px; color: var(--grey-400); }
.value h3 { margin-top: 96px; font-size: 24px; font-weight: 400; letter-spacing: -0.02em; }
.value p { color: var(--grey-400); font-size: 15.5px; margin-top: 10px; }
.big-quote { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 400; max-width: 22em; }
.big-quote em { font-style: normal; color: var(--grey-400); }

.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--black); }
.roadmap--two { grid-template-columns: repeat(2, 1fr); }
.roadmap li { padding: 28px 24px 0 0; position: relative; }
.roadmap li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--white); border: 1px solid var(--black); }
.roadmap li.is-live::before { background: var(--accent-deep); border-color: var(--accent-deep); }
.roadmap small { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-600); }
.roadmap li.is-live small { color: var(--black); }
.roadmap b { display: block; font-size: 20px; font-weight: 500; margin: 8px 0 6px; }
.roadmap p { color: var(--grey-600); font-size: 15.5px; }

/* Rechtstexte */
.legal { max-width: 820px; }
.legal h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; }
.legal p, .legal li { color: #333338; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: square; padding-left: 20px; margin: 10px 0; }
.legal li + li { margin-top: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--grey-600); }
.notice { border-left: 2px solid var(--accent-deep); background: var(--grey-100); padding: 16px 20px; font-size: 15px; color: var(--grey-600); margin-bottom: 32px; }
mark.ph { background: rgba(64, 224, 208, .2); color: inherit; padding: 0 4px; border-radius: 2px; }

/* ==========================================================================
   Footer · Kontakt · Karte
   ========================================================================== */
.footer { background: var(--black); color: var(--white); }
.contact { padding: clamp(80px, 10vw, 130px) 0 clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line-dark); }
.contact__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 24px 48px; margin-bottom: 48px; }
.contact__head > div > * + * { margin-top: 18px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.action { position: relative; background: var(--anthracite); border: 1px solid var(--line-dark); border-radius: var(--r-sm); padding: 24px; min-height: 176px; display: flex; flex-direction: column; transition: border-color .35s, background .35s; }
.action:hover { border-color: rgba(255,255,255,.3); background: #212124; }
.action__icon { width: 44px; height: 44px; border-radius: var(--r-xs); background: var(--white); display: grid; place-items: center; }
.action__icon svg { width: 20px; height: 20px; stroke: var(--black); }
.action__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-400); margin-top: auto; padding-top: 24px; }
.action__value { font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; letter-spacing: -0.01em; word-break: break-word; margin-top: 4px; }
.action__main { position: absolute; inset: 0; z-index: 1; border-radius: var(--r-sm); }
.action__copy {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 10px; border: 1px solid var(--line-dark); border-radius: var(--r-xs);
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-400);
  transition: color .25s, border-color .25s;
}
.action__copy:hover { color: var(--white); border-color: var(--white); }
.action__copy svg { width: 13px; height: 13px; }

.quickmail { grid-column: 1 / -1; background: var(--anthracite); border: 1px solid var(--line-dark); border-radius: var(--r-sm); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quickmail__title { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.quickmail__title b { font-size: 18px; font-weight: 500; }
.quickmail__title small { color: var(--grey-400); font-size: 13.5px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-400); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--black); border: 1px solid var(--steel); color: var(--white);
  padding: 14px 16px; border-radius: var(--r-xs); outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .25s;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--grey-400) 50%), linear-gradient(135deg, var(--grey-400) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--grey-600); }
.quickmail__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.quickmail__foot p { font-size: 13px; color: var(--grey-600); max-width: 34em; }
.quickmail__foot a { text-decoration: underline; text-underline-offset: 2px; }

.map { position: relative; background: var(--anthracite); border: 1px solid var(--line-dark); border-radius: var(--r-sm); overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }
.map__frame { position: relative; flex: 1; min-height: 360px; overflow: hidden;
  background:
    linear-gradient(var(--line-dark) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px) 0 0 / 28px 28px,
    #141416;
}
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.map__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 32px; }
.map__pin { width: 56px; height: 56px; border-radius: var(--r-sm); background: var(--white); display: grid; place-items: center; position: relative; }
.map__pin::after { content: ""; position: absolute; inset: -10px; border: 1px solid rgba(255,255,255,.5); border-radius: 8px; animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.map__pin svg { width: 24px; height: 24px; stroke: var(--black); }
.map__consent p { color: var(--grey-400); font-size: 14px; max-width: 30em; }
.map__consent a { text-decoration: underline; text-underline-offset: 2px; }
.map__info { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; border-top: 1px solid var(--line-dark); flex-wrap: wrap; }
.map__info address { line-height: 1.5; }
.map__info address small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-400); margin-bottom: 4px; }

.footer__main { padding: 56px 0 40px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer .logo img { height: 40px; }
.footer__about p { color: var(--grey-400); font-size: 15px; max-width: 26em; margin-top: 20px; }
.footer__col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-600); font-weight: 400; margin-bottom: 16px; }
.footer__col li + li { margin-top: 10px; }
.footer__col a { color: var(--grey-300); font-size: 15px; transition: color .25s; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid var(--line-dark); padding: 24px 0 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--grey-600); }
.footer__bottom nav { display: flex; gap: 24px; }
.footer__bottom a { transition: color .25s; }
.footer__bottom a:hover { color: var(--white); }
.footer__big { padding: 8px var(--gutter) 0; overflow: hidden; user-select: none; }
.footer__big img { display: block; width: 100%; max-width: 1320px; height: auto; margin: 0 auto; transform: translateY(18%); }
.footer__big[data-reveal] { filter: none; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  background: var(--white); color: var(--black); padding: 12px 18px; font-size: 14px; font-weight: 500;
  border-radius: var(--r-xs);
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.4);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease-out), opacity .4s var(--ease-out);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ==========================================================================
   Scroll-Reveal (Blur → Scharf) & Mikro-Animationen der Grafiken
   ========================================================================== */
[data-reveal] { opacity: 0; filter: blur(12px); transform: translateY(28px); transition: opacity 1.1s var(--ease-out), filter 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; filter: blur(0); transform: none; }
.cta-x__card[data-reveal], .feature[data-reveal], .action[data-reveal], .related a[data-reveal] {
  transition: opacity 1.1s var(--ease-out), filter 1.1s var(--ease-out), transform 1.1s var(--ease-out), background-color .3s ease, border-color .35s ease;
  transition-delay: var(--d, 0s), var(--d, 0s), var(--d, 0s), 0s, 0s;
}
.no-js [data-reveal], .no-js .product__media, .no-js .product__media > *, .no-js .product > * { opacity: 1; filter: none; transform: none; clip-path: none; }
[data-parallax] { translate: 0 var(--py, 0px); }

/* Stempelkarte: Stempel füllen sich nacheinander, Balken wächst */
.ui-stamps i.on { transform: scale(.4); opacity: 0; transition: transform .5s var(--ease-out), opacity .5s var(--ease-out); }
.ui-progress span { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out) 1.6s; }
.is-in .ui-stamps i.on, .intro-done .page-hero__visual .ui-stamps i.on { transform: none; opacity: 1; }
.is-in .ui-progress span, .intro-done .page-hero__visual .ui-progress span { transform: none; }
.ui-stamps i.on:nth-child(1) { transition-delay: 1.00s; } .ui-stamps i.on:nth-child(2) { transition-delay: 1.08s; }
.ui-stamps i.on:nth-child(3) { transition-delay: 1.16s; } .ui-stamps i.on:nth-child(4) { transition-delay: 1.24s; }
.ui-stamps i.on:nth-child(5) { transition-delay: 1.32s; } .ui-stamps i.on:nth-child(6) { transition-delay: 1.40s; }
.ui-stamps i.on:nth-child(7) { transition-delay: 1.48s; }

/* Bestellungen: rutschen nacheinander herein */
.ui-order { opacity: 0; transform: translateY(-10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), border-color .4s; }
.is-in .ui-order, .intro-done .page-hero__visual .ui-order { opacity: 1; transform: none; }
.ui-order:nth-child(1) { transition-delay: 1.6s; } .ui-order:nth-child(2) { transition-delay: 1.35s; } .ui-order:nth-child(3) { transition-delay: 1.1s; }
.ui-order em.new { animation: chipPulse 2.4s ease-in-out 3s infinite; }
@keyframes chipPulse { 50% { box-shadow: 0 0 0 4px rgba(64, 224, 208, .22); } }

/* Tischplan: Tische erscheinen nacheinander, der gewählte Tisch pulsiert */
.ui-plan__t { opacity: 0; transform: scale(.82); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.is-in .ui-plan__t, .intro-done .page-hero__visual .ui-plan__t { opacity: 1; transform: none; }
.ui-plan__t:nth-child(1) { transition-delay: 1.0s; } .ui-plan__t:nth-child(2) { transition-delay: 1.07s; } .ui-plan__t:nth-child(4) { transition-delay: 1.14s; }
.ui-plan__t:nth-child(5) { transition-delay: 1.21s; } .ui-plan__t:nth-child(6) { transition-delay: 1.28s; } .ui-plan__t:nth-child(7) { transition-delay: 1.35s; }
.ui-plan__t:nth-child(10) { transition-delay: 1.42s; } .ui-plan__t:nth-child(11) { transition-delay: 1.49s; } .ui-plan__t:nth-child(12) { transition-delay: 1.56s; }
.ui-plan__t.is-pick { animation: planPick 2.4s ease-in-out 2.4s infinite; }
@keyframes planPick { 50% { box-shadow: 0 0 0 4px rgba(64, 224, 208, .22); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .products { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: repeat(3, 1fr); }
  .footer__about { grid-column: 1 / -1; }
  .contact__grid { grid-template-columns: 1fr; }
  .map__frame { min-height: 320px; }
  .menu__inner { grid-template-columns: 1fr 1fr; }
  .menu__col--nav { grid-column: 1 / -1; }
  .sw__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); grid-template-areas: "meta name" "meta visual"; row-gap: 28px; }
  .sw__meta { grid-area: meta; }
  .sw__name { grid-area: name; }
  .sw__visual { grid-area: visual; }
  .sw__row.is-next .sw__inner { grid-template-areas: "meta name"; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; --pill-h: 54px; }
  .logo img { height: 30px; }
  .header.is-pill:not(.is-menu) .logo img { height: 28px; }
  .header.is-pill:not(.is-menu) .header__bar { width: calc(100% - 20px); margin-top: 10px; padding-left: 20px; }
  .hero-x__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-x__side { padding-bottom: 0; }
  .hero-x__shade { background: linear-gradient(0deg, rgba(10,10,11,.96) 0%, rgba(10,10,11,.75) 38%, rgba(10,10,11,0) 64%); }
  .page-hero__grid, .split { grid-template-columns: 1fr; }
  .split-x, .ghero__head { grid-template-columns: 1fr; }
  .label-x { padding-top: 0; }
  .ghero__side { padding-bottom: 0; }
  .section__head, .contact__head { grid-template-columns: 1fr; }
  .section__head > p, .section__head > .btn { justify-self: start; }
  .software__head { flex-direction: column; align-items: flex-start; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .section--dark .step, .section--dark .step + .step { border-bottom-color: var(--line-dark); }
  .roadmap { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .related { grid-template-columns: 1fr; }
  .split__sticky { position: static; }
  .page-hero__visual { min-height: 340px; }
  .page-hero__visual--mark { min-height: 340px; }
  .strip-x { grid-template-columns: 1fr 1fr; }
  .strip-x > div:nth-child(n+3) { margin-top: 20px; }
  .cta-x__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hbtn--cta { display: none; }
  .sw__inner { grid-template-columns: 1fr; grid-template-areas: "name" "meta" "visual"; min-height: 0; gap: 18px; padding-top: 28px; padding-bottom: 32px; }
  .sw__meta { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .sw__row.is-next .sw__inner { grid-template-columns: 1fr; grid-template-areas: "name" "meta"; }
  .sw__claim { max-width: 20em; }
  .sw__name .sw__title { font-size: clamp(40px, 12.4vw, 64px); }
  .products { grid-template-columns: 1fr; }
  .product__media { padding: 16px; }
  .ui-orders { max-width: 320px; }
  .features { grid-template-columns: 1fr; }
  .values, .roadmap { grid-template-columns: 1fr; }
  .actions { grid-template-columns: 1fr; }
  .quickmail { grid-template-columns: 1fr; padding: 22px; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; }
  .related a { padding: 24px; gap: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .faq summary { font-size: 17px; }
  .faq .faq__a { padding-right: 0; }
  .cols-x { grid-template-columns: 1fr; gap: 16px; }
  .strip-x { grid-template-columns: 1fr; }
  .strip-x > div + div { margin-top: 18px; }
  .menu__inner { grid-template-columns: 1fr; gap: 36px; }
  .menu__nav { margin-top: 18px; }
  .menu__nav a { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal], .product__media, .product__media > *, .product > *, .hero__fade, .hero__title .line > span, .intro__mark svg,
  .ui-stamps i.on, .ui-order, .ui-plan__t, .ui-progress span, .dash__chart i, .menu__col > * { opacity: 1 !important; filter: none !important; transform: none !important; clip-path: none !important; }
  .qrfan__page { animation: none !important; transform: rotate(calc(var(--i) * 9deg)) !important; }
  [data-parallax] { translate: none; }
}
