/* ============ TOKENS ============ */
:root{
  --ink:#12171C;
  --ink-soft:#2A333B;
  --paper:#F5F6F2;
  --paper-raised:#FFFFFF;
  --steel:#5C6773;
  --steel-line:#DBDDD4;
  --accent:#0E9C93;
  --accent-deep:#0B7D76;
  --accent-tint:#E3F3F1;
  --signal:#D97A34;
  --radius:2px;
  --maxw:1200px;
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}
body{
  margin:0;
  font-family:var(--body);
  background:var(--paper);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:var(--display);
  color:var(--ink);
  margin:0 0 .5em 0;
  font-weight:600;
  letter-spacing:-0.01em;
}
p{margin:0 0 1em 0;}
a{color:var(--accent-deep);}
img{max-width:100%;display:block;}
.container{max-width:var(--maxw); margin:0 auto; padding:0 24px;}
.mono{font-family:var(--mono);}
.visually-hidden{position:absolute; width:1px;height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap;}

/* focus visibility */
a:focus-visible, button:focus-visible, .accordion-trigger:focus-visible{
  outline:2px solid var(--accent); outline-offset:2px;
}

/* language content: text swap is handled in JS (applyStaticTranslations).
   No CSS display:none/inline toggling here — that approach previously hid
   content by default because most elements carry BOTH data-de and data-en
   attributes on the same node. Fixed during production QA. */

/* ============ EYEBROW / LABELS ============ */
.eyebrow{
  font-family:var(--mono);
  font-size:12.5px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--accent-deep);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
}
.eyebrow::before{
  content:"";
  width:22px;height:1px;background:var(--accent);
  display:inline-block;
}

/* ============ HEADER ============ */
header.site{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(245,246,242,.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--steel-line);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  height:68px;
}
.brand{
  font-family:var(--display); font-weight:700; font-size:18px; letter-spacing:-.01em;
  display:flex; align-items:center; gap:9px; color:var(--ink); text-decoration:none;
}
.brand .mark{
  width:26px;height:26px; position:relative; flex:none;
}
.brand small{
  display:block; font-family:var(--mono); font-weight:400; font-size:10px; letter-spacing:.08em; color:var(--steel); text-transform:uppercase; margin-top:1px;
}
nav.primary{display:flex; align-items:center; gap:28px;}
nav.primary a{
  font-size:14.5px; color:var(--ink-soft); text-decoration:none; font-weight:500;
  position:relative; padding:4px 0;
}
nav.primary a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:var(--accent);
  transform:scaleX(0); transform-origin:left; transition:transform .25s ease;
}
nav.primary a:hover::after{transform:scaleX(1);}
.header-actions{display:flex; align-items:center; gap:14px;}
.lang-toggle{
  display:flex; border:1px solid var(--steel-line); border-radius:20px; overflow:hidden; font-family:var(--mono); font-size:12px;
}
.lang-toggle button{
  border:none; background:transparent; padding:6px 12px; cursor:pointer; color:var(--steel); font-family:var(--mono); font-size:12px; letter-spacing:.04em;
}
.lang-toggle button.active{background:var(--ink); color:#fff;}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--body); font-weight:600; font-size:14.5px;
  padding:11px 20px; border-radius:2px; text-decoration:none; cursor:pointer; border:1px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--ink); color:#fff;}
.btn-primary:hover{background:var(--accent-deep); transform:translateY(-1px);}
.btn-accent{background:var(--accent); color:#fff;}
.btn-accent:hover{background:var(--accent-deep); transform:translateY(-1px);}
.btn-ghost{background:transparent; border-color:var(--ink); color:var(--ink);}
.btn-ghost:hover{background:var(--ink); color:#fff;}
.btn-sm{padding:8px 14px; font-size:13px;}
.nav-cta{display:inline-flex;}
.burger{display:none;}

@media (max-width: 980px){
  nav.primary{display:none;}
  .burger{
    display:flex; width:38px;height:38px; align-items:center; justify-content:center;
    border:1px solid var(--steel-line); background:transparent; cursor:pointer; border-radius:2px;
  }
  .burger span{display:block; width:16px; height:1.5px; background:var(--ink); position:relative;}
  .burger span::before,.burger span::after{content:""; position:absolute; left:0; width:16px; height:1.5px; background:var(--ink);}
  .burger span::before{top:-5px;} .burger span::after{top:5px;}
  .nav-cta.desktop-only{display:none;}
  #mobileMenu{
    position:fixed; inset:68px 0 0 0; background:var(--paper); transform:translateX(100%);
    transition:transform .3s ease; z-index:99; overflow-y:auto; border-top:1px solid var(--steel-line);
  }
  #mobileMenu.open{transform:translateX(0);}
  #mobileMenu .container{padding-top:28px; padding-bottom:40px;}
  #mobileMenu a{
    display:block; padding:16px 0; border-bottom:1px solid var(--steel-line);
    font-family:var(--display); font-size:20px; text-decoration:none; color:var(--ink);
  }
}

/* logo mark: three pore rings */
.mark svg{width:26px;height:26px;display:block;}

/* ============ HERO ============ */
.hero{
  padding:150px 0 90px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(1100px 480px at 82% -10%, var(--accent-tint) 0%, transparent 60%),
    var(--paper);
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;
}
.hero h1{
  font-size:clamp(34px,4.6vw,58px);
  line-height:1.06;
  margin-bottom:22px;
}
.hero h1 .accent-word{color:var(--accent-deep);}
.hero .lede{
  font-size:18px; color:var(--ink-soft); max-width:52ch; margin-bottom:34px;
}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:38px;}
.hero-stats{
  display:flex; gap:0; border-top:1px solid var(--steel-line);
}
.hero-stats div{
  flex:1; padding:16px 18px 0; border-right:1px solid var(--steel-line);
}
.hero-stats div:last-child{border-right:none;}
.hero-stats .num{font-family:var(--mono); font-size:13px; color:var(--accent-deep); letter-spacing:.02em;}
.hero-stats .lab{font-size:12.5px; color:var(--steel); margin-top:4px;}

/* --- signature visual: membrane cross-section with filtration animation --- */
.membrane-visual{
  position:relative; background:var(--paper-raised); border:1px solid var(--steel-line);
  border-radius:4px; padding:26px 22px 22px; box-shadow:0 30px 60px -30px rgba(18,23,28,.25);
}
.membrane-visual .cap{
  font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--steel);
  display:flex; justify-content:space-between; margin-bottom:14px;
}
.mv-stage{
  position:relative; height:280px; border:1px solid var(--steel-line); overflow:hidden; background:
    linear-gradient(90deg, #EEF1EC 0%, #EEF1EC 44%, var(--accent-tint) 58%, #F5FAF9 100%);
}
.mv-lane{position:absolute; left:0; right:0; height:1px; background:rgba(92,103,115,.14);}
.membrane-bar{
  position:absolute; top:0; bottom:0; left:48%; width:14px; background:
    repeating-linear-gradient(180deg, var(--ink) 0 3px, var(--accent-deep) 3px 4px, transparent 4px 10px);
  opacity:.9;
}
.membrane-bar::before,.membrane-bar::after{
  content:""; position:absolute; top:0; bottom:0; width:2px; background:var(--ink); opacity:.5;
}
.membrane-bar::before{left:-2px;} .membrane-bar::after{right:-2px;}
.particle{
  position:absolute; border-radius:50%; background:var(--steel);
  animation-timing-function:linear; animation-iteration-count:infinite;
}
.particle.blocked{background:var(--signal);}
.particle.passes{background:var(--accent);}
.mv-labels{
  position:absolute; bottom:8px; left:10px; right:10px; display:flex; justify-content:space-between;
  font-family:var(--mono); font-size:10.5px; color:var(--steel); text-transform:uppercase; letter-spacing:.06em;
}
.mv-labels span:last-child{color:var(--accent-deep);}
.mv-foot{
  display:flex; justify-content:space-between; margin-top:14px; font-family:var(--mono); font-size:11px; color:var(--steel);
}
.mv-foot b{color:var(--ink); font-weight:500;}

@media (max-width: 880px){
  .hero{padding:120px 0 60px;}
  .hero-grid{grid-template-columns:1fr; gap:40px;}
  .hero-stats{flex-wrap:wrap;}
  .hero-stats div{flex:1 1 45%; border-right:none; border-bottom:1px solid var(--steel-line); padding-bottom:14px; margin-bottom:14px;}
}

/* ============ REVEAL ON SCROLL ============ */
[data-reveal]{opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease;}
[data-reveal].in{opacity:1; transform:translateY(0);}

/* ============ SECTION SHELL ============ */
section.block{padding:88px 0;}
section.block.tight{padding:70px 0;}
section.block.on-dark{background:var(--ink); color:#EDEFEA;}
section.block.on-dark .eyebrow{color:#6FE0D6;}
section.block.on-dark .eyebrow::before{background:#6FE0D6;}
section.block.on-dark h2{color:#fff;}
section.block.alt{background:var(--paper-raised); border-top:1px solid var(--steel-line); border-bottom:1px solid var(--steel-line);}
.section-head{max-width:680px; margin-bottom:48px;}
.section-head h2{font-size:clamp(26px,3vw,38px);}
.section-head p{color:var(--steel); font-size:16px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}

/* generic grids */
.grid{display:grid; gap:20px;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
@media (max-width:980px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr);} .grid-2{grid-template-columns:1fr;}}
@media (max-width:620px){.grid-3,.grid-4,.grid-2{grid-template-columns:1fr;}}

/* card */
.card{
  background:var(--paper-raised); border:1px solid var(--steel-line); border-radius:2px;
  padding:26px 24px; transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover{border-color:var(--accent); transform:translateY(-3px); box-shadow:0 20px 40px -28px rgba(18,23,28,.35);}
.card .icon{width:38px;height:38px; margin-bottom:16px; color:var(--accent-deep);}
.card h3{font-size:17px; margin-bottom:8px;}
.card p{font-size:14.5px; color:var(--steel); margin-bottom:0;}
.on-dark .card{background:#1B2229; border-color:#2C363E;}
.on-dark .card p{color:#A9B2AC;}
.on-dark .card h3{color:#fff;}
.on-dark .card:hover{border-color:var(--accent);}

/* numbered process */
.process{display:grid; grid-template-columns:repeat(4,1fr); gap:0; counter-reset:step; position:relative;}
.process::before{content:""; position:absolute; top:19px; left:5%; right:5%; height:1px; background:var(--steel-line);}
.process .step{position:relative; padding:0 18px 0 0;}
.process .step .idx{
  width:38px; height:38px; border-radius:50%; background:var(--paper-raised); border:1.5px solid var(--ink);
  display:flex; align-items:center; justify-content:center; font-family:var(--mono); font-size:13px; margin-bottom:18px; position:relative; z-index:1;
}
.process .step:nth-child(4) .idx{background:var(--accent); border-color:var(--accent); color:#fff;}
.process .step h3{font-size:16px; margin-bottom:6px;}
.process .step p{font-size:14px; color:var(--steel);}
@media (max-width:880px){
  .process{grid-template-columns:1fr; gap:28px;}
  .process::before{display:none;}
}

/* pill / tag */
.tag{
  display:inline-block; font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:.06em;
  padding:4px 9px; border:1px solid var(--steel-line); border-radius:20px; color:var(--steel); margin:0 6px 6px 0;
}

/* note / disclaimer box */
.note{
  border-left:3px solid var(--signal); background:#FBF3EA; padding:16px 18px; font-size:14px; color:#6B4A26; border-radius:0 2px 2px 0;
}
.note b{color:#4A3013;}
.note.teal{border-left-color:var(--accent); background:var(--accent-tint); color:#0B5C56;}
.note.teal b{color:#0B4640;}

/* table */
.mtable{width:100%; border-collapse:collapse; font-size:14.5px;}
.mtable th,.mtable td{text-align:left; padding:14px 16px; border-bottom:1px solid var(--steel-line); vertical-align:top;}
.mtable th{font-family:var(--mono); font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--steel); font-weight:500;}
.mtable td strong{display:block; font-family:var(--display); font-size:15px; margin-bottom:3px;}
.mtable-wrap{overflow-x:auto; border:1px solid var(--steel-line); background:var(--paper-raised);}
.mtable-wrap .mtable{min-width:640px;}

/* accordion (FAQ) */
.accordion-item{border-bottom:1px solid var(--steel-line);}
.accordion-trigger{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  padding:22px 0; font-family:var(--display); font-size:17px; color:var(--ink);
}
.accordion-trigger .plus{font-family:var(--mono); font-size:20px; color:var(--accent-deep); transition:transform .25s ease; flex:none;}
.accordion-item.open .plus{transform:rotate(45deg);}
.accordion-panel{max-height:0; overflow:hidden; transition:max-height .3s ease;}
.accordion-panel p{padding-bottom:22px; color:var(--steel); font-size:15px; max-width:70ch;}

/* CTA band */
.cta-band{
  background:linear-gradient(120deg, var(--ink) 0%, #1C3A38 100%);
  color:#fff; padding:80px 0; text-align:center; position:relative; overflow:hidden;
}
.cta-band::before{
  content:""; position:absolute; inset:0;
  background-image:radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size:22px 22px; opacity:.5;
}
.cta-band .container{position:relative;}
.cta-band h2{color:#fff; font-size:clamp(26px,3.4vw,40px); max-width:720px; margin:0 auto 16px;}
.cta-band p{color:#C7D3D0; max-width:560px; margin:0 auto 34px; font-size:16.5px;}
.cta-band .btn-accent{font-size:16px; padding:15px 30px;}
.cta-note{font-family:var(--mono); font-size:11.5px; color:#8FA6A2; margin-top:22px; letter-spacing:.03em;}

/* footer */
/* ============ ILLUSTRATIONS (lokale SVG-Grafiken) ============ */
.illustration-card{
  margin:0 0 24px 0; background:var(--paper-raised); border:1px solid var(--steel-line);
  border-radius:2px; padding:20px; text-align:center;
}
.illustration-card img{
  max-width:100%; height:auto; margin:0 auto; display:block;
}
.illustration-card figcaption{
  margin-top:14px; font-size:12.5px; color:var(--steel); font-family:var(--mono);
  letter-spacing:.02em; text-align:left; border-top:1px solid var(--steel-line); padding-top:12px;
}
.illustration-card.wide{max-width:100%; margin:32px 0 44px;}
.illustration-card.wide img{width:100%;}
@media (max-width:620px){
  .illustration-card{padding:14px;}
}

footer.site{background:#0F1317; color:#9AA5A0; padding:64px 0 28px; font-size:14px;}
footer.site h4{color:#fff; font-size:14px; font-family:var(--body); font-weight:600; margin-bottom:16px;}
footer.site a{color:#C4CDC8; text-decoration:none;}
footer.site a:hover{color:#6FE0D6;}
.foot-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px;}
.foot-grid ul{list-style:none; margin:0; padding:0;}
.foot-grid li{margin-bottom:10px;}
.foot-brand{font-family:var(--display); font-weight:700; font-size:19px; color:#fff; margin-bottom:12px;}
.foot-bottom{border-top:1px solid #262D31; padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:12.5px;}
@media (max-width:880px){.foot-grid{grid-template-columns:1fr 1fr; row-gap:32px;}}
@media (max-width:560px){.foot-grid{grid-template-columns:1fr;}}
