/* ============================================================
   Self-hosted fonts (no third-party CDN -> no visitor IP sent
   to Google; GDPR-clean for a German site). Latin + latin-ext
   subsets cover German umlauts and eszett. font-display: swap.
   ============================================================ */
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/space-grotesk-latin-400-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/space-grotesk-latin-ext-400-normal.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:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/space-grotesk-latin-500-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/space-grotesk-latin-ext-500-normal.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:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/space-grotesk-latin-600-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/space-grotesk-latin-ext-600-normal.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:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/space-grotesk-latin-700-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/space-grotesk-latin-ext-700-normal.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:400;font-display:swap;src:url('../fonts/inter-latin-400-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-latin-ext-400-normal.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:500;font-display:swap;src:url('../fonts/inter-latin-500-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-latin-ext-500-normal.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:600;font-display:swap;src:url('../fonts/inter-latin-600-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-latin-ext-600-normal.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:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-mono-latin-400-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-mono-latin-ext-400-normal.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:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-mono-latin-500-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-mono-latin-ext-500-normal.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;}
/* ============================================================
   Autarkis - Energy Infrastructure Intelligence
   Design system. One source of truth, no late overrides.

   Brand ground: Navy #1C1C4A. Accent (used sparingly):
   Transition green #0E9A74. The signature motif - a radial
   node lattice and a capacity-allocation diagram - is derived
   from the Autarkis logomark: scarce grid capacity at a site,
   allocated across storage, compute, hydrogen and industry.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Navy ground family */
  --ink-900: #0D0F1F;   /* deepest ground, dark sections */
  --ink-800: #14162E;
  --ink:     #1C1C4A;   /* brand navy */
  --ink-700: #2A2C63;   /* hover / lift on navy */

  /* Light surfaces */
  --paper:   #F5F7FB;   /* page ground, cool */
  --surface: #FFFFFF;
  --mist:    #EAEFF6;   /* quiet cool tint (not green) */

  /* Text */
  --text:        #1B1E3A;  /* body on light */
  --text-soft:   #51566E;  /* secondary on light */
  --text-faint:  #7A8099;  /* captions / meta on light */
  --on-dark:     #F2F5FA;  /* body on navy */
  --on-dark-soft:#C2CADD;  /* secondary on navy */
  --on-dark-faint:#8C93AE;

  /* Accent - functional only */
  --steel:        #0E9A74;
  --steel-text:   #0A7A5B;  /* accent text on light, AA */
  --steel-dark:   #5FE0BC;  /* accent on navy */

  /* Lines */
  --line:    #E0E5EF;
  --line-2:  #CDD4E2;
  --line-dk: rgba(255,255,255,0.13);
  --line-dk-2: rgba(255,255,255,0.22);

  /* Type */
  --f-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-body:    "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --t-mono:   0.74rem;
  --t-small:  0.92rem;
  --t-body:   clamp(1rem, 0.97rem + 0.16vw, 1.08rem);
  --t-lead:   clamp(1.14rem, 1.04rem + 0.5vw, 1.4rem);
  --t-h4:     clamp(1.02rem, 0.98rem + 0.2vw, 1.16rem);
  --t-h3:     clamp(1.24rem, 1.1rem + 0.7vw, 1.62rem);
  --t-h2:     clamp(1.75rem, 1.34rem + 1.7vw, 2.7rem);
  --t-h1:     clamp(2.5rem, 1.7rem + 3.5vw, 4.4rem);

  /* Space (8pt-ish) */
  --sp-1: .5rem; --sp-2: .75rem; --sp-3: 1rem; --sp-4: 1.5rem;
  --sp-5: 2rem;  --sp-6: 3rem;   --sp-7: 4.5rem; --sp-8: 6.5rem;

  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow:      0 1px 2px rgba(13,15,31,.05), 0 14px 38px rgba(13,15,31,.07);
  --shadow-lift: 0 2px 8px rgba(13,15,31,.07), 0 28px 60px rgba(13,15,31,.14);
  --ease: cubic-bezier(.22,1,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.62;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: rgba(14,154,116,.18); }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; border-radius: 3px; }
/* Offset in-page anchor jumps for the sticky header */
[id] { scroll-margin-top: 90px; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-4); }
.section { padding-block: clamp(3.5rem, 2.6rem + 4vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink-900 { background: var(--ink-900); color: var(--on-dark); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.08; letter-spacing: -.018em; color: var(--text); }
h1 { font-size: var(--t-h1); font-weight: 600; letter-spacing: -.032em; }
h2 { font-size: var(--t-h2); letter-spacing: -.024em; }
h3 { font-size: var(--t-h3); }
h4 { font-size: var(--t-h4); }
.section--ink :is(h1,h2,h3,h4), .section--ink-900 :is(h1,h2,h3,h4), .cta-band :is(h1,h2,h3,h4) { color: var(--surface); }

.lede { font-size: var(--t-lead); line-height: 1.5; color: var(--text-soft); max-width: 58ch; }
.section--ink .lede, .section--ink-900 .lede, .cta-band .lede { color: var(--on-dark-soft); }

.eyebrow {
  font-family: var(--f-mono); font-size: var(--t-mono); font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--steel-text);
  display: inline-flex; align-items: center; gap: .65em; margin-bottom: var(--sp-3);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .8; }
.section--ink .eyebrow, .section--ink-900 .eyebrow { color: var(--steel-dark); }

.section-head { max-width: 64ch; margin-bottom: var(--sp-6); }
.section-head h2 + .lede, .section-head h2 + p { margin-top: var(--sp-3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--f-display); font-weight: 500; font-size: var(--t-small);
  letter-spacing: .005em; padding: .82em 1.5em; border-radius: 100px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: var(--surface); }
.btn--primary:hover { background: var(--ink-700); box-shadow: 0 10px 24px rgba(28,28,74,.22); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--ink); }

/* On dark grounds */
.section--ink .btn--primary, .section--ink-900 .btn--primary, .hero .btn--primary, .cta-band .btn--primary {
  background: var(--surface); color: var(--ink);
}
.section--ink .btn--primary:hover, .section--ink-900 .btn--primary:hover, .hero .btn--primary:hover, .cta-band .btn--primary:hover {
  background: var(--mist); box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.section--ink .btn--ghost, .section--ink-900 .btn--ghost, .hero .btn--ghost, .cta-band .btn--ghost {
  border-color: var(--line-dk-2); color: var(--surface); background: rgba(255,255,255,.04);
}
.section--ink .btn--ghost:hover, .section--ink-900 .btn--ghost:hover, .hero .btn--ghost:hover, .cta-band .btn--ghost:hover {
  border-color: var(--surface); background: rgba(255,255,255,.1);
}

.textlink {
  display: inline-flex; align-items: center; gap: .5em; font-family: var(--f-display);
  font-weight: 500; color: var(--text); padding-bottom: 2px;
  border-bottom: 1px solid var(--steel); transition: gap .25s var(--ease), color .2s;
}
.textlink::after { content: "\2192"; transition: transform .25s var(--ease); }
.textlink:hover { color: var(--steel-text); }
.textlink:hover::after { transform: translateX(4px); }
.section--ink .textlink, .section--ink-900 .textlink { color: var(--surface); border-bottom-color: var(--steel-dark); }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; min-width: 0; }
.brand__symbol { width: 32px; height: 32px; object-fit: contain; flex: none; }
.brand__wordmark { width: 150px; height: auto; object-fit: contain; flex: none; }
.brand__name { display: none; }
.nav__links { display: flex; align-items: center; gap: var(--sp-5); }
.nav__links > li > a { font-size: var(--t-small); font-weight: 500; color: var(--text-soft); transition: color .2s; position: relative; }
.nav__links > li > a:hover, .nav__links > li > a[aria-current="page"] { color: var(--text); }
.nav__links > li > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--steel); border-radius: 2px;
}
.nav__right { display: flex; align-items: center; gap: var(--sp-4); }
.nav__links > .lang { display: none; }

.lang { display: inline-flex; font-family: var(--f-mono); font-size: .7rem; font-weight: 500;
  border: 1px solid var(--line-2); border-radius: 100px; overflow: hidden; }
.lang button { padding: .35em .72em; color: var(--text-faint); letter-spacing: .06em; transition: background .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }

.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease);
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav[data-open="true"] .nav__toggle span { background: transparent; }
.nav[data-open="true"] .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav[data-open="true"] .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   Hero - the thesis. Node lattice + allocation diagram.
   ============================================================ */
.hero { position: relative; background: var(--ink-900); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero__field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; z-index: -2; }
.hero__grad {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(80% 60% at 82% 12%, rgba(14,154,116,.16), transparent 60%),
    radial-gradient(90% 80% at 8% 90%, rgba(28,28,74,.5), transparent 60%),
    linear-gradient(180deg, rgba(13,15,31,.2) 0%, rgba(13,15,31,.78) 100%);
}
.hero__inner { padding-block: clamp(3.5rem, 2.8rem + 5vw, 7rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(2rem,1rem + 4vw,5rem); align-items: center; }
.hero h1 {
  max-width: 15ch; color: var(--on-dark);
  background: linear-gradient(176deg, #FFFFFF 0%, #FFFFFF 38%, #C6D0E8 105%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lede { margin-top: var(--sp-4); font-size: var(--t-lead); color: var(--on-dark-soft); max-width: 48ch; }
.hero__actions { margin-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.hero__link { align-self: center; font-size: var(--t-small); color: var(--on-dark-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-dk-2); transition: color .2s; }
.hero__link:hover { color: var(--surface); }

/* Parameter tokens - real value drivers, set as data chips */
.params { margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid var(--line-dk); }
.params__label { font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: var(--sp-3); }
.params__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.param { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .02em; color: var(--on-dark);
  padding: .42em .85em; border: 1px solid var(--line-dk); border-radius: 100px; transition: border-color .25s, color .25s, background .25s; }
.param:hover { border-color: var(--steel-dark); color: var(--surface); background: rgba(95,224,188,.08); }

/* Allocation diagram - the signature visual */
.alloc { position: relative; }
.alloc svg { width: 100%; height: auto; overflow: visible; }
.alloc-mono { font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; }
.alloc__cap { margin-top: var(--sp-3); font-family: var(--f-mono); font-size: var(--t-mono);
  letter-spacing: .04em; color: var(--on-dark-faint); text-align: center; }

/* Hero proof band - the real, branded asset */
.hero-band { position: relative; }
.hero-band img { width: 100%; height: clamp(280px, 38vw, 520px); object-fit: cover; }
.hero-band__cap {
  position: absolute; left: clamp(var(--sp-4), 4vw, var(--sp-7)); bottom: clamp(var(--sp-4), 4vw, var(--sp-6));
  display: flex; flex-direction: column; gap: .4em;
  max-width: min(560px, calc(100% - var(--sp-4) * 2));
  padding: .95em 1.2em;
  background: rgba(13,15,31,.5); border: 1px solid var(--line-dk-2); border-radius: var(--radius-sm);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero-band__tag {
  font-family: var(--f-mono); font-weight: 500; font-size: var(--t-mono); line-height: 1;
  letter-spacing: .16em; text-transform: uppercase; color: var(--steel-dark);
}
.hero-band__text {
  font-family: var(--f-body); font-size: var(--t-small); line-height: 1.45; color: var(--on-dark);
  text-wrap: pretty;
}

/* ============================================================
   Grids, cards, features
   ============================================================ */
.grid { display: grid; gap: var(--sp-4); }
.grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }

.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,1rem + 4vw,4.5rem); align-items: center; }
.split--analytics { grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-5); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--line-2); }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--text-soft); font-size: var(--t-small); }

/* Feature with leading rule */
.feature { padding-left: var(--sp-4); border-left: 2px solid var(--mist); }
.feature h3 { margin-bottom: var(--sp-2); }
.feature p { color: var(--text-soft); font-size: var(--t-small); }
.section--ink .feature, .section--ink-900 .feature { border-left-color: var(--line-dk-2); }
.section--ink .feature p, .section--ink-900 .feature p { color: var(--on-dark-soft); }

/* Numbered marker inside features / cards */
.card__no {
  display: inline-block; margin-bottom: var(--sp-2);
  font-family: var(--f-mono); font-size: var(--t-mono); font-weight: 500;
  color: var(--text-faint); letter-spacing: .12em;
}
.section--ink .card__no, .section--ink-900 .card__no { color: var(--on-dark-soft); }

/* Numbered step (only where order is real) */
.step { position: relative; padding-top: var(--sp-4); border-top: 2px solid var(--ink); }
.step__no { font-family: var(--f-mono); font-size: var(--t-mono); font-weight: 500; color: var(--text-faint); letter-spacing: .12em; }
.step h3 { margin: var(--sp-2) 0; font-size: var(--t-h4); }
.step p { color: var(--text-soft); font-size: var(--t-small); }

/* ============================================================
   Infrastructure field cards - tinted photo tiles
   ============================================================ */
.fields { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-3); }
.field-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--sp-5); color: var(--on-dark);
  background-size: cover; background-position: center;
  border: 1px solid var(--line-dk); box-shadow: var(--shadow);
}
.field-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,15,31,.15) 0%, rgba(13,15,31,.5) 45%, rgba(13,15,31,.95) 100%);
  transition: background .35s var(--ease);
}
.field-card:hover::before { background: linear-gradient(180deg, rgba(13,15,31,.2) 0%, rgba(28,28,74,.55) 45%, rgba(13,15,31,.96) 100%); }
.field-card > * { position: relative; }
.field-card__tag { font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: var(--sp-2); }
.field-card h3 { color: var(--surface); margin-bottom: var(--sp-2); font-size: var(--t-h4); }
.field-card p { color: var(--on-dark-soft); font-size: var(--t-small); line-height: 1.5; }
.field-card--bess { background-image: url('../img/photo-bess.webp'); }
.field-card--dc   { background-image: url('../img/photo-dc.webp'); }
.field-card--h2   { background-image: url('../img/photo-h2.webp'); }
.field-card--grid { background-image: url('../img/photo-grid.webp'); }

/* ============================================================
   Layer stack - six integrated competences
   ============================================================ */
.layers { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.layer {
  display: grid; grid-template-columns: 210px minmax(0,1fr); gap: var(--sp-5);
  padding: var(--sp-5); border-top: 1px solid var(--line); transition: background .25s var(--ease);
}
.layer:first-child { border-top: none; }
.layer:hover { background: var(--mist); }
.layer__key { display: flex; align-items: baseline; gap: .7rem; }
.layer__no { font-family: var(--f-mono); font-size: var(--t-mono); color: var(--text-faint); }
.layer__title { font-family: var(--f-display); font-weight: 500; font-size: 1.16rem; color: var(--text); }
.layer__body { color: var(--text-soft); font-size: var(--t-small); align-self: center; max-width: 66ch; }

/* ============================================================
   Use case cards
   ============================================================ */
.usecase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.usecase__top { padding: var(--sp-5) var(--sp-5) var(--sp-4); border-bottom: 1px solid var(--line); }
.usecase__tag { font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.usecase__top h3 { margin-top: var(--sp-2); font-size: 1.2rem; }
.usecase__rows { padding: var(--sp-4) var(--sp-5) var(--sp-5); display: grid; gap: var(--sp-3); }
.uc-row { display: grid; grid-template-columns: 132px minmax(0,1fr); gap: var(--sp-3); align-items: baseline; }
.uc-row dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.uc-row dd { font-size: var(--t-small); color: var(--text-soft); }

/* ============================================================
   Analytics modules / integration slot (on navy)
   ============================================================ */
.modgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px,1fr)); gap: var(--sp-3); }
.module {
  border: 1px solid var(--line-dk); border-radius: var(--radius-sm); padding: var(--sp-4);
  background: rgba(255,255,255,.025); transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.module:hover { border-color: var(--steel-dark); background: rgba(14,154,116,.12); transform: translateY(-3px); }
.module__no { font-family: var(--f-mono); font-size: var(--t-mono); color: var(--on-dark-soft); }
.module h4 { font-family: var(--f-display); font-weight: 500; font-size: 1rem; color: var(--surface); margin-top: var(--sp-1); }
.module p { font-size: .85rem; color: var(--on-dark-soft); margin-top: .4rem; }

.slot { border: 1px dashed var(--line-dk-2); border-radius: var(--radius); padding: var(--sp-6); text-align: center; background: rgba(255,255,255,.025); }
.slot__badge { font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-soft); }
.slot h3 { margin-top: var(--sp-2); color: var(--surface); }
.slot p { color: var(--on-dark-soft); max-width: 52ch; margin: var(--sp-2) auto 0; }

/* ============================================================
   Proof / stat strip
   ============================================================ */
.proof { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-5); }
.proof__item { min-width: 0; }
.proof__k { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem,1.3rem + 1.8vw,2.7rem); letter-spacing: -.02em; color: var(--text); }
.section--ink .proof__k, .section--ink-900 .proof__k { color: var(--surface); }
.proof__v { font-size: var(--t-small); color: var(--text-soft); margin-top: .35rem; max-width: 32ch; }
.section--ink .proof__v, .section--ink-900 .proof__v { color: var(--on-dark-soft); }

/* ============================================================
   Investor lens (navy)
   ============================================================ */
.investor-lens { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: var(--sp-6); align-items: start; }
.investor-points { display: grid; gap: var(--sp-3); }
.investor-point { border: 1px solid var(--line-dk); border-radius: var(--radius-sm); padding: var(--sp-4); background: rgba(255,255,255,.03); transition: border-color .25s, background .25s; }
.investor-point:hover { border-color: var(--line-dk-2); background: rgba(255,255,255,.05); }
.investor-point h3 { font-size: 1.02rem; margin-bottom: .4rem; color: var(--surface); display: flex; gap: .55em; }
.investor-point h3 span { color: var(--on-dark-soft); font-family: var(--f-mono); font-size: .85rem; }
.investor-point p { color: var(--on-dark-soft); font-size: var(--t-small); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: var(--ink); color: var(--on-dark); }
.cta-band__inner { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: var(--sp-5); align-items: end; }
.cta-band h2 { max-width: 18ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: flex-end; }

/* ============================================================
   Photo band (full-bleed tinted)
   ============================================================ */
.photo-band { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 2px; background: var(--ink-900); }
.photo-tile { position: relative; min-height: clamp(260px,32vw,460px); overflow: hidden; background: var(--ink-900); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,15,31,.1) 0%, rgba(13,15,31,.9) 100%); }
.photo-tile figcaption {
  position: absolute; left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4); z-index: 1;
  color: var(--surface); font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.02rem,.94rem + .42vw,1.3rem); line-height: 1.22; max-width: 24ch;
}

/* ============================================================
   Contact form
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: minmax(0,30rem) minmax(0,21rem); justify-content: center; gap: clamp(2.5rem,1.5rem + 3vw,5rem); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-meta { max-width: 34rem; }
.form { display: grid; gap: var(--sp-4); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: var(--t-small); color: var(--text);
  padding: .8em .95em; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface); transition: border-color .2s, box-shadow .2s; width: 100%; min-width: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(14,154,116,.16); }
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: .82rem; color: var(--text-faint); }
.form__status { font-size: var(--t-small); padding: .8em 1em; border-radius: var(--radius-sm); display: none; }
.form__status[data-state="ok"] { display: block; background: var(--mist); color: var(--text); }
.form__status[data-state="err"] { display: block; background: #FBE9E9; color: #8A1F1F; }

.contact-meta dl { display: grid; gap: var(--sp-4); }
.contact-meta dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: .25rem; }
.contact-meta dd { color: var(--text-soft); }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-5); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink-900); color: var(--on-dark-soft); padding-block: var(--sp-7) var(--sp-5); }
.footer__top { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr); gap: var(--sp-5); padding-bottom: var(--sp-6); border-bottom: 1px solid var(--line-dk); }
.footer__brand .brand__symbol { width: 36px; height: 36px; }
.footer__brand .brand__wordmark { width: 160px; }
.footer__tag { margin-top: var(--sp-3); max-width: 36ch; font-size: var(--t-small); color: var(--on-dark-soft); }
.footer__col h4 { font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 500; margin-bottom: var(--sp-3); }
.footer__col a { display: block; font-size: var(--t-small); padding: .26rem 0; color: var(--on-dark-soft); transition: color .2s; }
.footer__col a:hover { color: var(--surface); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); padding-top: var(--sp-4); font-size: .82rem; color: var(--on-dark-faint); }
.footer__bottom a { color: var(--on-dark-faint); } .footer__bottom a:hover { color: var(--surface); }

/* ============================================================
   Interior page hero
   ============================================================ */
.page-hero { background: var(--ink-900); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.page-hero__field { position: absolute; inset: 0; opacity: .5; z-index: -2; }
.page-hero__grad { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 60% at 85% 10%, rgba(14,154,116,.12), transparent 60%), linear-gradient(180deg, rgba(13,15,31,.25), rgba(13,15,31,.82)); }
.page-hero__inner { padding-block: clamp(3.5rem, 2.6rem + 4vw, 6rem); }
.page-hero h1 {
  max-width: 20ch; color: var(--on-dark);
  background: linear-gradient(176deg, #FFFFFF 0%, #FFFFFF 42%, #C6D0E8 110%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero p { margin-top: var(--sp-3); color: var(--on-dark-soft); font-size: var(--t-lead); max-width: 56ch; }
.crumbs { font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: var(--sp-3); display: flex; gap: .55em; align-items: center; }
.crumbs a { color: var(--on-dark-faint); } .crumbs a:hover { color: var(--surface); }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

[data-lang-show] { display: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .alloc { max-width: 500px; }
  .fields { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 980px) {
  /* nav collapses to hamburger here, before items would wrap into the wordmark */
  .nav__links, .nav__right .lang { display: none; }
  .nav__right .btn--primary { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav[data-open="true"] .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4);
    position: absolute; top: 70px; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: var(--sp-5) var(--sp-4); box-shadow: var(--shadow);
  }
  .nav[data-open="true"] .nav__links .lang { display: inline-flex; }
  .alloc { max-width: 520px; }
  .split, .split--analytics, .contact-grid, .cta-band__inner, .investor-lens { grid-template-columns: 1fr; gap: var(--sp-5); }
  .cta-band__actions { justify-content: flex-start; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .fields { grid-template-columns: repeat(2,1fr); }
  .proof { grid-template-columns: 1fr; gap: var(--sp-4); }
  .photo-band { grid-template-columns: 1fr; }
  .photo-tile { min-height: 320px; }
}
@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4, .fields { grid-template-columns: 1fr; }
  .layer { grid-template-columns: 1fr; gap: var(--sp-2); }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .uc-row { grid-template-columns: 1fr; gap: .2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   BESS Opportunity Check  (Standort-Check Arbeitsoberflaeche)
   ============================================================ */
.check {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); text-align: left;
}
.check__head { margin-bottom: var(--sp-4); }
.check__eyebrow { font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.check__title { font-size: var(--t-h4); margin-top: var(--sp-2); color: var(--text); }
.check__hint { font-size: var(--t-small); color: var(--text-soft); margin-top: var(--sp-2); }
.check__col--out { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 1rem + 2vw, 3rem); }

/* Ergebnis: Platzhalter vs. Inhalt */
.check__placeholder { color: var(--text-faint); font-size: var(--t-small); display: flex; align-items: center; min-height: 100%; }
.check__result { display: none; }
.check.has-result .check__result { display: block; }
.check.has-result .check__placeholder { display: none; }

/* Eignungs-Indikator (3 Segmente, Markenpalette) */
.fitmeter { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.fitmeter__bars { display: flex; gap: 5px; }
.fitmeter__bar { width: 26px; height: 7px; border-radius: 3px; background: var(--line-2); }
.fitmeter__label { font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .1em; text-transform: uppercase; }
.fitmeter[data-fit="low"]    .fitmeter__bar:nth-child(-n+1) { background: var(--text-faint); }
.fitmeter[data-fit="low"]    .fitmeter__label { color: var(--text-faint); }
.fitmeter[data-fit="medium"] .fitmeter__bar:nth-child(-n+2) { background: var(--ink); }
.fitmeter[data-fit="medium"] .fitmeter__label { color: var(--ink); }
.fitmeter[data-fit="high"]   .fitmeter__bar:nth-child(-n+3) { background: var(--steel); }
.fitmeter[data-fit="high"]   .fitmeter__label { color: var(--steel-text); }

.check__line { display: grid; grid-template-columns: 9.5rem 1fr; gap: var(--sp-3); padding: .7rem 0; border-top: 1px solid var(--line); font-size: var(--t-small); }
.check__line:first-of-type { border-top: 0; }
.check__line dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.check__line dd { color: var(--text); font-weight: 500; }
.check__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.check__chip { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .04em; padding: .28rem .6rem; border-radius: 999px; background: var(--mist); color: var(--text-soft); }
.check__next { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.check__next-label { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--sp-2); }
.check__next-text { color: var(--text); font-weight: 500; margin-bottom: var(--sp-3); }
.check__disclaimer { font-size: .78rem; color: var(--text-faint); margin-top: var(--sp-3); line-height: 1.5; }

/* Stufe 2: qualifizierte Indikation (E-Mail-Gate) */
.check__gate { display: none; margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.check.show-gate .check__gate { display: block; }
.check.show-gate .check__next .btn--gateopen { display: none; }

@media (max-width: 820px) {
  .check { grid-template-columns: 1fr; }
  .check__col--out { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: var(--sp-4); }
  .check__placeholder { min-height: 0; }
}

.usecase__cta { margin-top: auto; padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-text); display: inline-flex; align-items: center; gap: .5rem; transition: gap .2s, color .2s; }
.usecase__cta::after { content: "\2192"; }
.usecase__cta:hover { gap: .8rem; color: var(--ink); }
