/* ShopmaticsIO site styles — shared by all pages (built by tools/build.py) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/inter-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;
}

/* ============================================================
   TOKENS — Shopmatics brand colours; dark stages + light reading sections
   ============================================================ */
:root {
  --green: #23d18b;          /* brand accent */
  --green-ink: #0a7d4f;      /* green text on light backgrounds (AA) */
  --amber: #b7791f;
  --dark: #0d1714;           /* brand dark */
  --dark-2: #111f1a;
  --dark-3: #162620;
  --dark-line: rgba(232,245,240,0.09);
  --on-dark: #e8f5f0;        /* brand light text */
  --on-dark-muted: #7ca89a;  /* brand muted */
  --light: #f4f8f6;
  --white: #ffffff;
  --line: #dfe8e3;
  --text: #0d1714;
  --muted: #4f625a;
  --dim: #7a8a83;
  --max-w: 1180px;
  --pad: clamp(18px, 5vw, 48px);
  --gap: clamp(80px, 10vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--green); color: var(--dark); }
img, svg { display: block; }
a { color: inherit; }

/* Language toggle: one URL, both languages; the inactive one is hidden */
body:not(.lang-en) [data-lang="en"],
body.lang-en [data-lang="de"] { display: none !important; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--gap) 0; }
.dark { background: var(--dark); color: var(--on-dark); }
.dark p { color: var(--on-dark-muted); }

/* Display type: heavy and tight */
h1, h2 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; font-size: 1.15rem; }
p { color: var(--muted); }
.accent { color: var(--green-ink); }
.dark .accent { color: var(--green); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.7; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim);
}
.kicker::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.dark .kicker { color: var(--on-dark-muted); }

.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tag {
  font-size: 12.5px; font-weight: 600; color: var(--on-dark);
  padding: 6px 14px; border-radius: 100px;
  background: rgba(232,245,240,0.06); border: 1px solid var(--dark-line); text-decoration: none; transition: border-color .2s, background .2s;
}
a.tag:hover { border-color: rgba(35,209,139,0.5); background: rgba(35,209,139,0.08); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 100px;
  font-family: inherit; font-size: 15px; font-weight: 650; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn-primary { background: var(--green); color: var(--dark); box-shadow: 0 10px 30px rgba(35,209,139,0.25); }
.btn-primary:hover { background: #3ee09e; }
.btn-ghost { border-color: rgba(232,245,240,0.2); color: var(--on-dark); }
.btn-ghost:hover { border-color: rgba(232,245,240,0.45); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; box-shadow: none; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* Reveal on scroll (content visible without JS) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============================================================
   NAV — floating pill, switches with the section underneath
   ============================================================ */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 12px; }
.nav-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; gap: 22px;
  padding: 8px 8px 8px 18px;
  background: rgba(13, 23, 20, 0.72);
  border: 1px solid var(--dark-line); border-radius: 100px;
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  color: var(--on-dark);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  transition: background .3s, color .3s, border-color .3s;
}
.nav-logo img { height: 24px; width: auto; }
.nav-main { flex: 1; display: flex; justify-content: center; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a { display: block; font-size: 13.5px; font-weight: 600; padding: 7px 13px; border-radius: 100px; color: inherit; opacity: .78; text-decoration: none; transition: background .2s, opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a[data-active="true"] { opacity: 1; background: rgba(232,245,240,0.1); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; padding: 3px; gap: 2px; border: 1px solid var(--dark-line); border-radius: 100px; }


/* light variant over light sections */
.nav.is-light .nav-inner { background: rgba(255,255,255,0.82); color: var(--text); border-color: rgba(13,23,20,0.08); box-shadow: 0 10px 30px rgba(13,23,20,0.08); }
.nav.is-light .nav-links a[data-active="true"] { background: rgba(13,23,20,0.07); }
.nav.is-light .lang { border-color: rgba(13,23,20,0.1); }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 100px; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.menu { display: none; }
@media (max-width: 980px) {
  .nav-main, .nav-right .btn { display: none; }
  .nav-right { margin-left: auto; }
  .burger { display: block; }
  .menu.open {
    display: block; max-width: 1080px; margin: 8px auto 0;
    background: rgba(13,23,20,0.97); color: var(--on-dark); border: 1px solid var(--dark-line); border-radius: 22px; padding: 10px 20px 20px;
  }
  .menu a:not(.btn) { display: block; padding: 13px 0; color: inherit; text-decoration: none; border-bottom: 1px solid var(--dark-line); font-weight: 600; }
  .menu .btn { margin-top: 16px; width: 100%; }
}

/* ============================================================
   HERO — centered, dark, with product panel
   ============================================================ */
.hero {
  position: relative; padding: 150px 0 0; text-align: center; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 40% at 50% 0%, rgba(35,209,139,0.16), transparent 70%),
    radial-gradient(ellipse 70% 60% at 50% 55%, rgba(35,209,139,0.06), transparent 70%),
    var(--dark);
}
/* Wordmark as text: "Shopmatics" + "IO" in a green ring, echoing the logo mark */
.hero .brand-word { display: inline-flex; align-items: center; gap: 0.12em; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; color: #fff; margin: 0 auto 26px; }
/* One wordmark everywhere (hero, nav, footer, cards): text, not an image */
.wordmark { display: inline-flex; align-items: center; gap: 0.12em; font-weight: 800; letter-spacing: -0.045em; line-height: 1; white-space: nowrap; color: inherit; }
.brand-word .io, .wordmark .io {
  display: inline-grid; place-items: center; line-height: 1; height: 1.08em; padding: 0 0.26em; margin-left: 0.06em;
  border: 0.075em solid var(--green); border-radius: 100px; color: var(--green);
  font-size: 0.78em; letter-spacing: 0.02em; box-shadow: 0 0 0.5em rgba(35,209,139,0.35), inset 0 0 0.35em rgba(35,209,139,0.25);
}
.nav-logo { text-decoration: none; color: inherit; }
.nav-logo .wordmark { font-size: 21px; }
.nav.is-light .wordmark .io { color: var(--green-ink); border-color: var(--green-ink); box-shadow: none; }
.foot-cols .wordmark { font-size: 22px; color: var(--on-dark); }
.brand-card .mark .io-only { display: inline-grid; place-items: center; font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: 0.02em; height: 1.08em; padding: 0 0.26em; border: 0.075em solid var(--green); border-radius: 100px; color: var(--green); box-shadow: 0 0 0.5em rgba(35,209,139,0.35); }
.brand-card b .wordmark { font-size: 18px; }
.hero h1 { max-width: 1100px; margin: 26px auto 22px; color: #fff; font-size: clamp(2.1rem, 3.9vw, 3.3rem); }
.nw { white-space: nowrap; }
.hero h1 .accent { color: var(--green); }
.hero .lead { max-width: 720px; margin: 0 auto; color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 34px 0 18px; }
.status { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; max-width: 760px; gap: 8px; font-size: 13px; color: var(--on-dark-muted); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #e0a43a; box-shadow: 0 0 0 3px rgba(224,164,58,.18); }
.hero-stage { position: relative; max-width: 940px; margin: 64px auto 0; z-index: 1; }
.hero-einvoice { max-width: 1040px; margin: 72px auto 0; padding-bottom: 70px; text-align: left; }
.hero-einvoice h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.3rem); text-align: center; max-width: 820px; margin: 0 auto 30px; }
.ei-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--dark-line); }
.ei-grid > div { padding: 24px 26px 0 0; }
.ei-grid > div + div { padding-left: 26px; border-left: 1px solid var(--dark-line); }
.ei-grid h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.ei-grid p { font-size: 0.92rem; line-height: 1.65; }

/* Product panel (illustration) */
.hp {
  text-align: left; border: 1px solid rgba(232,245,240,0.12); border-radius: 22px;
  background: linear-gradient(180deg, #15241f 0%, #101c18 100%);
  box-shadow: 0 50px 110px rgba(0,0,0,0.55), 0 0 0 6px rgba(232,245,240,0.03);
  overflow: hidden; font-size: 12.5px; color: var(--on-dark-muted);
}
.hp-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--dark-line); }
.hp-dots { display: flex; gap: 6px; }
.hp-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(232,245,240,0.14); }
.hp-title { color: var(--on-dark); font-weight: 650; }
.hp-body { display: grid; grid-template-columns: 170px 1fr; }
.hp-side { padding: 18px 16px; border-right: 1px solid var(--dark-line); }
.hp-main { padding: 18px 20px; min-width: 0; }
.hp-label { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #5f8277; margin-bottom: 8px; font-weight: 700; }
.hp-ch { display: flex; align-items: center; gap: 8px; padding: 5px 0; color: var(--on-dark); }
.hp-ch i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(35,209,139,.6); }
.hp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.hp-kpi { border: 1px solid var(--dark-line); border-radius: 12px; padding: 11px 13px; background: rgba(232,245,240,0.02); }
.hp-kpi > span { display: block; font-size: 11px; }
.hp-kpi b { display: block; margin-top: 4px; font-size: 21px; font-weight: 750; color: var(--on-dark); letter-spacing: -0.02em; }
.hp-kpi b.g { color: var(--green); } .hp-kpi b.a { color: #e0a43a; }
.hp-row { display: grid; grid-template-columns: 56px minmax(0,1fr) auto auto auto; gap: 12px; padding: 9px 0; border-top: 1px dashed rgba(232,245,240,0.08); color: var(--on-dark); font-variant-numeric: tabular-nums; align-items: center; }
.hp-row > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-st { color: var(--on-dark-muted); white-space: nowrap; }
.hp-st.g { color: var(--green); } .hp-st.a { color: #e0a43a; }
.hp-caption { margin-top: 12px; font-size: 11px; color: #5f8277; text-align: right; }

/* Soft U curve into the light section (CEDAR pattern) */
.curve { position: relative; height: 150px; margin-top: -60px; pointer-events: none; }
.curve svg { width: 100%; height: 100%; }

@media (max-width: 760px) {
  .hero { padding-top: 120px; }
  .ei-grid { grid-template-columns: 1fr; }
  .ei-grid > div, .ei-grid > div + div { padding: 18px 0 0; border-left: 0; }
  .hp-body { grid-template-columns: 1fr; }
  .hp-side { display: none; }
  .hp-row { grid-template-columns: 54px minmax(0,1fr) auto; }
  .hp-row .hp-st:not(:last-child) { display: none; }
  .hero-actions .btn { width: 100%; }
  .curve { height: 90px; margin-top: -30px; }
}

/* ============================================================
   STORY — problem narrative + sticky feature explorer
   ============================================================ */
.story-intro { max-width: 860px; }
.story-intro h2 { margin: 18px 0 22px; }
.story-intro p + p { margin-top: 14px; }
.story-intro .punch { color: var(--text); font-weight: 650; }

.story-h2 { margin-top: 96px; max-width: 900px; }
.story { margin-top: 48px; }
.story-stage { position: relative; }
.story-sticky { display: grid; grid-template-columns: 0.9fr 0.32fr 1.5fr; gap: 24px; align-items: center; }
.story-steps { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.story-step { cursor: pointer; opacity: .32; transition: opacity .35s; }
.story-step.is-active { opacity: 1; }
.story-step .st-t { display: block; font-size: 1.15rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; color: var(--text); }
.story-step p { font-size: 13px; margin-top: 4px; line-height: 1.5; }
.story-line { display: flex; justify-content: center; }
.story-line svg { height: min(78vh, 680px); width: 100%; max-width: 150px; }
.story-panels { position: relative; min-height: 470px; }
.story-panel {
  position: absolute; inset: 0; margin: auto 0; height: fit-content;
  background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  padding: 40px 42px; box-shadow: 0 20px 50px rgba(13,23,20,0.07);
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .45s, transform .45s;
}
.story-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.story-panel .num { font-size: 13px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }
.story-panel h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 750; letter-spacing: -0.03em; margin: 10px 0 14px; }
.story-panel p { font-size: 1rem; line-height: 1.7; }
.chipline { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chipline > span { font-size: 12.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); background: var(--light); border-radius: 100px; padding: 4px 12px; }
.mini { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--light); padding: 6px 16px; font-size: 13px; }
.mini-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--line); color: var(--text); }
.mini-row:first-child { border-top: 0; }
.mini-row em { font-style: normal; color: var(--green-ink); font-weight: 700; }
.mini-row em.a { color: var(--amber); }

/* Desktop (landscape): scroll-driven sticky stage; portrait tablets get the card grid */
@media (min-width: 1024px) and (orientation: landscape) {
  .js .story-stage { height: calc(10 * min(56vh, 520px)); }
  /* capped + centred, so tall screens (iPad portrait, 1440p) don't float the content in an empty band */
  .js .story-sticky { position: sticky; top: max(96px, calc(50vh - 340px)); height: min(calc(100vh - 120px), 720px); }
  .story-line svg { height: min(78vh, 640px); }
}
/* Mobile / no JS: plain stacked cards */
@media (max-width: 1023px), (orientation: portrait) {
  .story-sticky { display: block; }
  .story-steps, .story-line { display: none; }
  .story-panels { min-height: 0; display: grid; gap: 14px; }
  .story-panel { position: static; margin: 0; height: auto; opacity: 1; transform: none; pointer-events: auto; padding: 28px 24px; border-radius: 22px; }
}
@media (min-width: 760px) and (max-width: 1023px), (min-width: 760px) and (orientation: portrait) {
  .story-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
html:not(.js) .story-steps, html:not(.js) .story-line { display: none; }
html:not(.js) .story-sticky { display: block; }
html:not(.js) .story-panels { min-height: 0; display: grid; gap: 14px; }
html:not(.js) .story-panel { position: static; opacity: 1; transform: none; }

/* ============================================================
   POSITIONING
   ============================================================ */
.pos-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 64px; align-items: end; margin-bottom: 52px; }
.pos-head .kicker { grid-column: 1 / -1; }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat { border: 1px solid var(--line); border-radius: 24px; background: var(--white); padding: 30px; }
.cat .k { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.cat h3 { margin: 12px 0 10px; font-size: 1.25rem; }
.cat.us { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.cat.us p { color: var(--on-dark-muted); }
.cat.us .k { color: var(--green); }
@media (max-width: 900px) { .pos-head { grid-template-columns: 1fr; } .cats { grid-template-columns: 1fr; } }

/* ============================================================
   FLOW — dark numbered cards
   ============================================================ */
.center-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.center-head h2 { color: #fff; margin: 0 0 10px; }
.center-head .sub { font-size: 1.15rem; font-weight: 650; color: var(--on-dark); margin-bottom: 16px; }
.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.flow-card { border: 1px solid var(--dark-line); border-radius: 22px; background: linear-gradient(180deg, rgba(232,245,240,0.045), rgba(232,245,240,0.015)); padding: 22px 20px 24px; }
.flow-card .n { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(35,209,139,0.4); color: var(--green); font-weight: 750; font-size: 13.5px; }
.flow-card h3 { color: #fff; font-size: 1.02rem; margin: 16px 0 8px; }
.flow-card p { font-size: 0.9rem; line-height: 1.6; }
.flow-rules { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.flow-rules > div { border: 1px solid var(--dark-line); border-radius: 22px; padding: 22px 24px; }
.flow-rules b { color: #fff; display: block; font-weight: 650; margin-bottom: 6px; }
.flow-rules p { font-size: 0.92rem; }
@media (max-width: 1100px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .flow, .flow-rules { grid-template-columns: 1fr; } }

/* ============================================================
   INTEGRATIONS — list with status
   ============================================================ */
.int-head { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: 40px; }
.int-head .kicker { grid-column: 1 / -1; }
.int-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 14px 32px 26px; box-shadow: 0 20px 50px rgba(13,23,20,0.05); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 16px 0; font-size: 13px; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.st { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.st.t { background: var(--green); } .st.b { background: #8aa39a; } .st.p { background: transparent; border: 1.5px solid var(--amber); }
.int-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.int-row h3 { font-size: 0.95rem; color: var(--muted); font-weight: 650; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px; background: var(--light); }
.chip small { font-size: 11.5px; color: var(--dim); font-weight: 500; }
.int-foot { margin-top: 18px; font-size: 13px; color: var(--dim); max-width: 780px; }
@media (max-width: 900px) { .int-head { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .int-row { grid-template-columns: 1fr; gap: 10px; } .int-card { padding: 10px 20px 20px; border-radius: 22px; } }

/* ============================================================
   ABOUT + PARTNERS — light card + dark card
   ============================================================ */
.about-head { max-width: 860px; margin-bottom: 44px; }
.about-head h2 { margin: 18px 0 18px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 16px; }
.card { border-radius: 28px; padding: 36px; }
.card-light { background: var(--white); border: 1px solid var(--line); }
.card-dark { background: var(--dark); color: var(--on-dark); }
.card-dark p { color: var(--on-dark-muted); }
.card .k { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.card-dark .k { color: var(--green); }
.card h3 { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.03em; margin: 12px 0 12px; }
.dots { list-style: none; margin: 16px 0 24px; }
.dots li { position: relative; padding: 9px 0 9px 22px; font-size: 0.95rem; color: var(--muted); }
.dots li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.dots li b { color: var(--text); font-weight: 650; }
.card-dark .dots li { color: var(--on-dark-muted); }
.card-dark .dots li b { color: var(--on-dark); }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; border-top: 1px solid var(--line); }
.facts > div { padding: 15px 15px 15px 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(even) { padding-left: 15px; border-left: 1px solid var(--line); }
.facts small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.facts > div > span { font-size: 0.95rem; font-weight: 600; }
.card-dark .btn-primary { box-shadow: none; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .card { padding: 26px; border-radius: 22px; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 64px; }
.faq-layout h2 { margin: 18px 0 14px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-size: 1.08rem; font-weight: 650; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; font-weight: 500; color: var(--green-ink); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; max-width: 760px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 24px; } }

/* ============================================================
   CONTACT — dark, brand card + framed panel
   ============================================================ */
.contact { background: radial-gradient(ellipse 50% 60% at 15% 30%, rgba(35,209,139,0.08), transparent 70%), var(--dark); }
.contact-head { max-width: 760px; margin-left: calc(280px + 24px); }
.contact-head h2 { color: #fff; margin: 18px 0 16px; }
.contact-grid { display: grid; grid-template-columns: 280px 1fr; gap: 24px; margin-top: 40px; align-items: stretch; }
.brand-card { border: 1px solid var(--dark-line); border-radius: 26px; background: rgba(232,245,240,0.03); padding: 30px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.brand-card .mark { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: var(--dark-2); border: 1px solid var(--dark-line); }
.brand-card .mark img { width: 84px; height: auto; }
.brand-card b { color: var(--on-dark); font-weight: 700; }
.brand-card span { font-size: 13px; color: var(--on-dark-muted); }
.contact-panel { border: 1px solid var(--dark-line); border-radius: 26px; background: linear-gradient(180deg, rgba(232,245,240,0.05), rgba(232,245,240,0.02)); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-panel .k { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #5f8277; font-weight: 700; margin-bottom: 12px; display: block; }
.c-row { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; }
.c-row svg { flex-shrink: 0; margin-top: 3px; color: var(--green); }
.c-row a { color: var(--on-dark); text-decoration: none; font-weight: 600; }
.c-row a:hover { color: var(--green); }
.c-row small { color: var(--on-dark-muted); font-weight: 500; font-size: inherit; }
.demo-box h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.demo-box ol { list-style: none; counter-reset: s; margin: 14px 0 20px; }
.demo-box li { counter-increment: s; display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 7px 0; font-size: 0.9rem; color: var(--on-dark-muted); }
.demo-box li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(35,209,139,.45); color: var(--green); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.demo-box li b { color: var(--on-dark); font-weight: 650; }
@media (max-width: 900px) {
  .contact-head { margin-left: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
}

footer { background: var(--dark); color: var(--on-dark-muted); border-top: 1px solid var(--dark-line); padding: 34px 0 40px; font-size: 13px; }
.foot { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--on-dark-muted); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot img { height: 22px; width: auto; }

/* ============================================================
   LANGUAGE LINKS (separate DE / EN pages)
   ============================================================ */
.lang a { font-size: 12px; font-weight: 700; line-height: 1; padding: 6px 10px; border-radius: 100px; color: inherit; opacity: .7; text-decoration: none; letter-spacing: .05em; }
.lang a[aria-current="true"] { background: var(--green); color: var(--dark); opacity: 1; }

/* Links from home sections to topic pages */
.ei-more { text-align: center; margin-top: 26px; }
.ei-more a, .story-panel .more { color: var(--green); font-weight: 650; text-decoration: none; }
.story-panel .more { display: inline-block; margin-top: 18px; color: var(--green-ink); }
.ei-more a:hover, .story-panel .more:hover { text-decoration: underline; }

/* ============================================================
   TOPIC + LEGAL PAGES
   ============================================================ */
.page-hero { padding: 140px 0 70px; background: radial-gradient(ellipse 55% 60% at 50% 0%, rgba(35,209,139,0.14), transparent 70%), var(--dark); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.4rem); max-width: 900px; margin: 18px 0 18px; }
.page-hero .lead { max-width: 760px; color: var(--on-dark-muted); }
.page-hero .hero-actions { justify-content: flex-start; margin-bottom: 0; }
.crumbs { font-size: 13px; color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { margin: 0 8px; opacity: .6; }
.prose { max-width: 860px; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 64px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 30px 0 8px; }
.prose p, .prose li { font-size: 1.04rem; line-height: 1.75; color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { margin: 12px 0 0 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }
.prose a { color: var(--green-ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 6px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); background: var(--light); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 650; color: var(--text); }
.note { margin-top: 28px; padding: 16px 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.status-box { margin: 18px 0; padding: 18px 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.related a { display: block; padding: 22px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 650; transition: border-color .2s; }
.related a span { display: block; margin-top: 6px; font-size: .9rem; font-weight: 400; color: var(--muted); }
.related a:hover { border-color: var(--green); }
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band .hero-actions { margin-bottom: 0; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } .prose td:first-child { white-space: normal; } }

/* Footer columns */
.foot-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--dark-line); margin-bottom: 22px; }
.foot-cols b { display: block; color: var(--on-dark); font-size: 13px; margin-bottom: 10px; }
.foot-cols a { display: block; padding: 4px 0; }
.foot-cols p { font-size: 13px; color: var(--on-dark-muted); margin-top: 10px; max-width: 280px; }
@media (max-width: 860px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
/* prose pages: keep the container width (aligned with the hero), limit the reading column */
.container.prose { max-width: var(--max-w); }
.container.prose > * { max-width: 860px; }
.container.prose > .related { max-width: none; }

/* Hero: one quiet strip with all connected systems (keeps the H1 + intro short) */
.connects { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; max-width: 980px; margin: 30px auto 0; font-size: 13.5px; color: var(--on-dark-muted); }
.connects li { white-space: normal; }
.connects .g { color: var(--on-dark); font-weight: 650; margin-right: 6px; }
.connects em { font-style: normal; font-size: 11.5px; color: #5f8277; }
.hero .lead { max-width: 640px; }


/* forced line break only where the line is wide enough */
@media (max-width: 760px) { .br-lg { display: none; } }

/* ============================================================
   HERO: Merchant Panel dashboard (dark mode, sample data)
   ============================================================ */
.hero-stage { max-width: 1120px; }
.mp { display: grid; grid-template-columns: 196px 1fr; text-align: left; border: 1px solid rgba(232,245,240,0.12); border-radius: 18px; overflow: hidden;
  background: #0f1513; box-shadow: 0 50px 110px rgba(0,0,0,0.55), 0 0 0 6px rgba(232,245,240,0.03); font-size: 12px; color: #c9d6d0; }
.mp-side { background: #0b100e; border-right: 1px solid rgba(232,245,240,0.08); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.mp-brand { display: flex; align-items: center; gap: 8px; padding: 2px 6px 12px; }
.mp-s { width: 22px; height: 22px; border-radius: 6px; background: var(--green); color: var(--dark); font-weight: 800; display: grid; place-items: center; font-size: 12px; }
.mp-brand .wordmark { font-size: 14px; color: #fff; }
.mp-cap { font-size: 10.5px; color: #6f8279; padding: 6px 8px; }
.mp-nav { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; color: #b8c7c0; }
.mp-nav svg { opacity: .8; flex-shrink: 0; }
.mp-nav.on { background: rgba(232,245,240,0.07); color: #fff; }
.mp-user { margin-top: auto; display: flex; gap: 8px; align-items: center; padding: 10px 6px 2px; border-top: 1px solid rgba(232,245,240,0.08); }
.mp-av { width: 26px; height: 26px; border-radius: 8px; background: #1d3a30; color: var(--green); font-weight: 700; display: grid; place-items: center; font-size: 10.5px; }
.mp-user b { display: block; color: #e8f5f0; font-size: 11.5px; } .mp-user span { font-size: 10.5px; color: #6f8279; }
.mp-main { min-width: 0; }
.mp-top { display: flex; justify-content: space-between; align-items: center; padding: 11px 18px; border-bottom: 1px solid rgba(232,245,240,0.08); color: #e8f5f0; }
.mp-ti { color: #8aa39a; }
.mp-body { padding: 16px 18px 18px; }
.mp-h b { display: block; color: #fff; font-size: 18px; font-weight: 750; letter-spacing: -0.02em; }
.mp-h span { color: #7ca89a; font-size: 11.5px; }
.mp-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0 12px; }
.mp-kpi { border: 1px solid rgba(232,245,240,0.1); border-radius: 12px; padding: 11px 13px; }
.mp-kh { display: flex; justify-content: space-between; align-items: center; color: #9db0a8; font-size: 11px; }
.mp-kh svg { color: #7ca89a; }
.mp-kpi b { display: block; color: #fff; font-size: 20px; font-weight: 750; letter-spacing: -0.02em; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.mp-kpi > span { font-size: 10.5px; color: #6f8279; }
.mp .up { color: var(--green); } .mp .dn { color: #e0a43a; }
.mp-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 10px; }
.mp-card { border: 1px solid rgba(232,245,240,0.1); border-radius: 12px; padding: 12px 14px; min-width: 0; overflow: hidden; }
.mp-ct { display: flex; justify-content: space-between; align-items: baseline; color: #fff; font-weight: 650; font-size: 12.5px; margin-bottom: 8px; }
.mp-ct em { font-style: normal; font-weight: 500; font-size: 10.5px; color: #6f8279; }
.mp-ct em.lnk { color: var(--green); }
.mp-sum { display: flex; gap: 8px; align-items: baseline; } .mp-sum b { color: #fff; font-size: 16px; } .mp-sum span { font-size: 11px; }
.mp-chart { width: 100%; height: 118px; margin-top: 6px; display: block; }
.mp-chart .g line { stroke: rgba(232,245,240,0.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mp-ch { display: grid; grid-template-columns: 82px 1fr 34px; gap: 8px; align-items: center; padding: 6px 0; }
.mp-ch span { color: #dce8e3; } .mp-ch em { font-style: normal; color: #9db0a8; text-align: right; font-variant-numeric: tabular-nums; }
.mp-ch i { height: 6px; border-radius: 6px; background: rgba(232,245,240,0.07); overflow: hidden; }
.mp-ch i b { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #23d18b, #7ce8b9); }
.mp-row { display: grid; grid-template-columns: 50px 76px minmax(0,1fr) 70px 78px; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px dashed rgba(232,245,240,0.08); font-variant-numeric: tabular-nums; }
.mp-row:first-of-type { border-top: 0; }
.mp-row .no { color: #9db0a8; } .mp-row .cu { color: #e8f5f0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mp-row .am { color: #e8f5f0; text-align: right; }
.mp-row .mp-st { font-size: 10px; font-weight: 650; padding: 3px 8px; border-radius: 100px; white-space: nowrap; justify-self: end; }
.mp-st.ok { background: rgba(35,209,139,.14); color: #3fe0a0; } .mp-st.inv { background: rgba(124,168,154,.16); color: #b8d6cb; }
.mp-st.wait { background: rgba(224,164,58,.15); color: #f0b955; } .mp-st.ful { background: rgba(99,141,255,.15); color: #9db8ff; }
.mp-act { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px dashed rgba(232,245,240,0.08); }
.mp-act:first-of-type { border-top: 0; }
.mp-act svg { flex-shrink: 0; margin-top: 2px; }
.mp-act.a svg { color: #f0b955; } .mp-act.b svg { color: #9db8ff; } .mp-act.c svg { color: var(--green); }
.mp-act b { display: block; color: #e8f5f0; font-weight: 600; } .mp-act span { color: #7ca89a; font-size: 10.5px; }
@media (max-width: 980px) { .mp { grid-template-columns: 1fr; } .mp-side { display: none; } .mp-kpis { grid-template-columns: repeat(2, 1fr); } .mp-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mp-row { grid-template-columns: 50px minmax(0,1fr) 78px; } .mp-row > span:nth-child(2), .mp-row .am { display: none; } .mp-body { padding: 12px; } }

/* ============================================================
   INTEGRATIONS HUB v2 — curved animated spokes (JS-drawn), icons, rings
   ============================================================ */
.hub-section { background: radial-gradient(ellipse 45% 55% at 50% 62%, rgba(35,209,139,0.10), transparent 70%), var(--light); }
.hub { position: relative; display: grid; grid-template-columns: 1fr 260px 1fr; grid-template-rows: repeat(3, auto); gap: 26px 110px; align-items: stretch; margin-top: 10px; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.hub-lines .sp { fill: none; stroke: rgba(10,125,79,0.28); stroke-width: 2; }
.hub-lines .sp-flow { fill: none; stroke: var(--green); stroke-width: 2; stroke-dasharray: 2 14; stroke-linecap: round; animation: hubflow 1.4s linear infinite; }
.hub-lines .dot { fill: var(--green); filter: drop-shadow(0 0 6px rgba(35,209,139,.9)); }
.hub-lines .end { fill: #fff; stroke: var(--green); stroke-width: 2; }
@keyframes hubflow { to { stroke-dashoffset: -32; } }
.hub-node { position: relative; z-index: 1; background: rgba(255,255,255,0.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px 20px; box-shadow: 0 18px 44px rgba(13,23,20,0.07); transition: transform .3s, box-shadow .3s, border-color .3s; }
.hub-node:hover { transform: translateY(-3px); box-shadow: 0 24px 54px rgba(13,23,20,0.11); border-color: rgba(35,209,139,0.5); }
.hn-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hn-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #e3f7ee, #c9f0dd); color: var(--green-ink); flex-shrink: 0; }
.hn-head h3 { font-size: 1rem; flex: 1; }
.hn-count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 100px; display: grid; place-items: center; font-size: 12px; font-weight: 750; color: var(--green-ink); background: #e7f6ef; }
.hub-node ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.hub-node li { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 100px; background: var(--white); border: 1px solid var(--line); }
.hub-node li em { font-style: normal; font-weight: 500; font-size: 11px; color: var(--dim); }
.n1 { grid-column: 1; grid-row: 1; } .n2 { grid-column: 1; grid-row: 2; } .n3 { grid-column: 1; grid-row: 3; }
.n4 { grid-column: 3; grid-row: 1; } .n5 { grid-column: 3; grid-row: 2; } .n6 { grid-column: 3; grid-row: 3; }
.hub-core { position: relative; z-index: 1; grid-column: 2; grid-row: 1 / span 3; justify-self: center; width: 230px; aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: #fff;
  background: radial-gradient(circle at 50% 35%, #1d3a30, var(--dark) 72%); box-shadow: 0 30px 70px rgba(13,23,20,0.3), inset 0 0 0 1px rgba(35,209,139,0.25); }
.hub-core { container-type: inline-size; align-self: center; }
/* sized from the circle itself: the wordmark fills ~60% of the diameter at every breakpoint, never touching the rim */
.hub-core .wordmark { font-size: 9.2cqi; }
.hub-core small { font-size: max(9.5px, 4.6cqi); color: var(--on-dark-muted); max-width: 66%; line-height: 1.5; }
.hub-core .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(35,209,139,0.35); animation: ring 3.6s ease-out infinite; }
.hub-core .r2 { animation-delay: 1.2s; } .hub-core .r3 { animation-delay: 2.4s; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hub-lines .sp-flow, .hub-core .ring { animation: none; } .hub-lines .dot { display: none; } }
/* tablet + phone: core on top, cards on a vertical circuit line */
@media (min-width: 960px) and (max-width: 1180px) {
  .hub { grid-template-columns: 1fr 180px 1fr; gap: 22px 56px; }
  .hub-core { width: 180px; gap: 6px; }
}
@media (max-width: 959px) {
  .hub { grid-template-columns: 1fr; gap: 14px; padding-left: 26px; }
  .hub::before { content: ''; position: absolute; left: 8px; top: 120px; bottom: 30px; width: 2px; background: linear-gradient(var(--green), rgba(35,209,139,0.15)); }
  .hub-lines { display: none; }
  .hub-core { order: -1; grid-column: 1; grid-row: auto; justify-self: center; width: 200px; margin: 0 0 18px -26px; }
  .n1, .n2, .n3, .n4, .n5, .n6 { grid-column: 1; grid-row: auto; }
  .hub-node::before { content: ''; position: absolute; left: -24px; top: 26px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--green); box-shadow: 0 0 0 4px rgba(35,209,139,0.12); }
  .hub-node::after { content: ''; position: absolute; left: -12px; top: 32px; width: 12px; height: 2px; background: var(--green); }
}
/* tablet: same left/right sides as desktop, so rows pair cards of similar length (Shop|Marktplätze, ERP|E-Rechnung, Fulfillment|Zahlung) */
@media (min-width: 640px) and (max-width: 959px) { .hub { grid-template-columns: 1fr 1fr; align-items: stretch; } .hub-core { grid-column: 1 / -1; width: 170px; gap: 6px; margin-bottom: 30px; }
  .n1 { grid-column: 1; grid-row: 2; } .n2 { grid-column: 1; grid-row: 3; } .n3 { grid-column: 1; grid-row: 4; }
  .n4 { grid-column: 2; grid-row: 2; } .n5 { grid-column: 2; grid-row: 3; } .n6 { grid-column: 2; grid-row: 4; } .hub::before { display: none; } .hub-node::before, .hub-node::after { display: none; } .hub { padding-left: 0; } .hub-core { margin-left: 0; } }

.c-addr { display: flex; flex-direction: column; gap: 2px; }
.c-addr small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #5f8277; font-weight: 700; }

/* Typography polish: balanced headline breaks, no lone last words in paragraphs */
h1, h2, h3, .hp-title, .mp-ct { text-wrap: balance; }
p, li, .lead { text-wrap: pretty; }

/* Phones: tables become stacked cards; long German words may hyphenate in headings */
@media (max-width: 640px) {
  .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; width: 100%; }
  .prose thead { display: none; }
  .prose tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .prose tr:last-child { border-bottom: 0; }
  .prose td { border: 0; padding: 2px 0; }
  .prose td:first-child { font-size: .95rem; }
  h1, h2, h3 { overflow-wrap: break-word; }
  .page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); hyphens: auto; -webkit-hyphens: auto; }
}

@media (max-width: 480px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .facts > div:nth-child(even) { padding-left: 0; border-left: 0; }
}



/* Smallest phones (≤360 px): tighter top bar, long contact strings may wrap */
@media (max-width: 360px) {
  .nav { padding: 0 8px; }
  .nav-inner { gap: 10px; padding: 7px 6px 7px 14px; }
  .nav-logo .wordmark { font-size: 18px; }
  .lang a { padding: 6px 8px; }
  .burger { width: 36px; }
}
.c-row a, .c-addr a { overflow-wrap: anywhere; }
@media (max-width: 360px) { .hero .brand-word { font-size: 2.2rem; } }
.story-panel { min-width: 0; }
@media (max-width: 360px) { .story-panel h3, .hub-node h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } .story-panel { padding: 24px 18px; } }


/* Roadmap line under the hub (planned channels) — one slim, quiet pill */
.hub-next { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 10px; width: fit-content; max-width: 100%; margin: 30px auto 0;
  padding: 9px 18px 9px 10px; border: 1.5px dashed rgba(10,125,79,0.32); border-radius: 100px; background: rgba(255,255,255,0.55); font-size: 13.5px; color: var(--muted); }
.hx-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e7f6ef; color: var(--green-ink); flex-shrink: 0; }
.hx-badge { font-size: 10.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: #8a5a12; background: #fdf1dc; border: 1px solid #f3d9a8; padding: 2px 9px; border-radius: 100px; }
.hx-t b { color: var(--text); font-weight: 650; }
@media (max-width: 639px) {
  .hub-next { border-radius: 18px; justify-content: flex-start; padding: 12px 14px; margin-top: 16px; width: auto; }
  .hx-t { flex-basis: 100%; line-height: 1.55; }
}

/* ============================================================
   HUB ON PHONES — orbit v2: 7 satellites with names, amber = not complete yet
   ============================================================ */
.orbit, .orbit-legend { display: none; }
@media (max-width: 639px) {
  .hub, .hub-next { display: none; }
  .orbit { display: block; position: relative; width: min(100%, 380px); aspect-ratio: 1 / 1.36; margin: 18px auto 74px; }
  .orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .orbit-ring { fill: none; stroke: rgba(10,125,79,0.18); stroke-width: 1.2; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
  .orbit-lines line { stroke: var(--green); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 2 6; stroke-linecap: round; opacity: .75; animation: orbitflow 1.2s linear infinite; }
  .orbit-lines line.pl { stroke: #e0a43a; opacity: .75; }
  @keyframes orbitflow { to { stroke-dashoffset: -16; } }
  .orbit-core { position: absolute; left: 50%; top: 50%; width: 29%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
    display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #1d3a30, var(--dark) 72%); color: #fff;
    box-shadow: 0 18px 44px rgba(13,23,20,0.3), inset 0 0 0 1px rgba(35,209,139,0.3); }
  .orbit-core { container-type: inline-size; }
  .orbit-core .wordmark { font-size: 9.4cqi; gap: 0.08em; }
  .orbit-core .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(35,209,139,0.4); animation: ring 3.2s ease-out infinite; }
  .orbit-core .r2 { animation-delay: 1.6s; }
  .sat { position: absolute; transform: translate(-50%, -23px); width: 104px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; }
  .sat-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--green-ink);
    border: 1.5px solid rgba(35,209,139,0.55); box-shadow: 0 8px 20px rgba(13,23,20,0.10), 0 0 0 4px rgba(35,209,139,0.10); }
  .sat-l { font-size: 11.5px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; background: rgba(244,248,246,0.85); border-radius: 6px; padding: 0 4px; }
  .sat-n { font-size: 10px; line-height: 1.3; color: var(--muted); background: rgba(244,248,246,0.85); border-radius: 6px; padding: 0 3px; }
  .sat-n i.pl { font-style: normal; color: #b7791f; font-weight: 650; }
  .sat.is-planned .sat-ic { color: #b7791f; border: 1.5px dashed #e0a43a; background: #fffaf1; box-shadow: 0 8px 20px rgba(13,23,20,0.08); }
  .sat.is-planned .sat-l { color: #8a5a12; }
  .orbit-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; color: var(--muted); margin: 10px 0 0; }
  .orbit-legend span { display: inline-flex; align-items: center; gap: 6px; }
  .lg { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
  .lg.ok { background: var(--green); } .lg.pl { background: #e0a43a; }
}
@media (max-width: 639px) and (prefers-reduced-motion: reduce) { .orbit-lines line, .orbit-core .ring { animation: none; } }
@media (max-width: 400px) { .sat { width: 90px; transform: translate(-50%, -20px); } .sat-n { font-size: 9.5px; } .sat-ic { width: 40px; height: 40px; } }
@media (max-width: 340px) { .sat { width: 80px; transform: translate(-50%, -18px); } .sat-n { font-size: 9px; } .sat-l { font-size: 10.5px; } .sat-ic { width: 36px; height: 36px; }
  .orbit { aspect-ratio: 1 / 1.45; } }

/* Contact addresses: company name, then the address on one line (wraps only on small phones) */
.c-addr .c-name, .c-addr .c-line { display: block; }
.c-addr .c-line { font-weight: 500; color: var(--on-dark-muted); }
.c-addr a:hover .c-line { color: var(--green); }
@media (min-width: 1180px) { .c-addr .c-line { white-space: nowrap; overflow-wrap: normal; } }

/* AI section (planned features, amber = not available yet) */
.ai-section h2 { margin: 18px 0 14px; max-width: 900px; }
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.ai-card { background: var(--white); border: 1.5px dashed #e0a43a; border-radius: 22px; padding: 26px 26px 28px; }
.ai-card h4 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 8px; }
.ai-card p { font-size: .95rem; line-height: 1.6; }
.ai-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a5a12; background: #fff4e0; border-radius: 100px; padding: 4px 10px; }
@media (max-width: 1100px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .ai-grid, .ai-stats { grid-template-columns: 1fr; gap: 12px; } }
.ai-h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 0; }
.ai-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.ai-stat { background: var(--dark); color: var(--on-dark-muted); border-radius: 22px; padding: 24px 26px; }
.ai-stat b { display: block; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; color: var(--green); line-height: 1.05; margin-bottom: 8px; }
.ai-stat span { font-size: .92rem; line-height: 1.5; }
.ai-src { font-size: 12px; color: var(--muted); margin-top: 10px; }
.ai-src a { color: inherit; }
.ai-card.ai-now { border: 1.5px solid rgba(35,209,139,0.6); }
.ai-badge.now { color: var(--green-ink); background: rgba(35,209,139,0.14); }
@media (min-width: 1024px) and (orientation: landscape) and (max-height: 860px) { .story-step p { display: none; } .story-steps { gap: 14px; } }
@media (max-width: 639px) { .ai-stats { grid-template-columns: 1fr; gap: 10px; } .ai-stat { padding: 18px 20px; } }

/* Back-to-top button (bottom right; Cookiebot's widget sits bottom left) */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(35,209,139,0.45); background: var(--dark); color: var(--green);
  display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 26px rgba(13,23,20,0.28);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .18s, transform .18s; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) { .to-top:hover { background: #16302a; } }
.to-top { touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; }
.to-top::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; }
.to-top:active { transform: scale(.92); }
.to-top:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
