/* Klarschliff – gemeinsames Stylesheet */
:root{
  --bg:#F4F6F5; --surface:#FFFFFF; --surface-2:#EFF2F1;
  --ink:#12181A; --ink-soft:#525C60; --ink-faint:#8A9498;
  --line:#DCE2E0; --line-soft:#E7EBEA;
  --accent:#0B8C9B; --accent-deep:#076974; --accent-tint:#E1F0F1;
  --amber:#B8712A;
  --shadow:0 1px 2px rgba(18,24,26,.04), 0 12px 34px -18px rgba(18,24,26,.22);
  --radius:14px; --maxw:1120px;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0D1113; --surface:#151B1D; --surface-2:#1B2225;
    --ink:#ECF0EE; --ink-soft:#9AA4A6; --ink-faint:#6A7477;
    --line:#26302F; --line-soft:#1F2729;
    --accent:#2DBFCE; --accent-deep:#7FE0EA; --accent-tint:#122A2D;
    --amber:#D8974E;
    --shadow:0 1px 2px rgba(0,0,0,.3), 0 18px 44px -22px rgba(0,0,0,.65);
  }
}
:root[data-theme="dark"]{
  --bg:#0D1113; --surface:#151B1D; --surface-2:#1B2225;
  --ink:#ECF0EE; --ink-soft:#9AA4A6; --ink-faint:#6A7477;
  --line:#26302F; --line-soft:#1F2729;
  --accent:#2DBFCE; --accent-deep:#7FE0EA; --accent-tint:#122A2D;
  --amber:#D8974E;
  --shadow:0 1px 2px rgba(0,0,0,.3), 0 18px 44px -22px rgba(0,0,0,.65);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:"Newsreader", Georgia, serif; font-size:18px; line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto} *{transition:none!important; animation:none!important} }
img{max-width:100%; display:block}

.wrap{max-width:var(--maxw); margin:0 auto; padding:0 28px}
.mono{font-family:"IBM Plex Mono", ui-monospace, monospace}
.eyebrow{font-family:"IBM Plex Mono", monospace; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--accent-deep)}
h1,h2,h3{font-family:"Schibsted Grotesk", system-ui, sans-serif; margin:0; text-wrap:balance; letter-spacing:-.01em}
a{color:inherit}
:focus-visible{outline:2px solid var(--accent); outline-offset:2px; border-radius:4px}

/* top bar */
header.bar{position:sticky; top:0; z-index:20; backdrop-filter:saturate(1.4) blur(10px);
  background:color-mix(in srgb, var(--bg) 82%, transparent); border-bottom:1px solid var(--line-soft)}
.bar .wrap{display:flex; align-items:center; justify-content:space-between; height:64px}
.brand{display:flex; align-items:center; gap:10px; font-family:"Schibsted Grotesk",sans-serif; font-weight:800; font-size:19px; letter-spacing:-.02em; text-decoration:none; color:var(--ink)}
.brand .glyph{width:22px; height:22px; flex:0 0 auto}
.nav{display:flex; align-items:center; gap:26px}
.nav a{font-family:"IBM Plex Mono",monospace; font-size:13px; color:var(--ink-soft); text-decoration:none}
.nav a:hover{color:var(--ink)}
.toggle{display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px;
  border:1px solid var(--line); border-radius:9px; background:var(--surface); color:var(--ink-soft); cursor:pointer}
.toggle:hover{color:var(--ink); border-color:var(--accent)}
@media (max-width:720px){ .nav a.hide-sm{display:none} }

/* buttons */
.btn{font-family:"Schibsted Grotesk",sans-serif; font-weight:600; font-size:15px; padding:13px 22px; border-radius:11px;
  text-decoration:none; cursor:pointer; border:1px solid transparent; display:inline-flex; align-items:center; gap:9px;
  transition:transform .12s ease, box-shadow .12s ease, background .12s}
.btn-primary{background:var(--accent); color:#fff; box-shadow:0 10px 24px -12px var(--accent)}
:root[data-theme="dark"] .btn-primary{color:#04191c}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .btn-primary{color:#04191c} }
.btn-primary:hover{transform:translateY(-1px)}
.btn-ghost{background:transparent; color:var(--ink); border-color:var(--line)}
.btn-ghost:hover{border-color:var(--accent); color:var(--accent-deep)}

/* hero (landing) */
.hero{padding:74px 0 40px}
.hero-grid{display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center}
.hero h1{font-size:clamp(38px, 6vw, 66px); font-weight:800; line-height:1.02; margin:16px 0 0}
.hero .lede{font-size:clamp(19px,2.4vw,22px); color:var(--ink-soft); max-width:34ch; margin:22px 0 30px}
.hero .lede b{color:var(--ink); font-weight:500}
.cta-row{display:flex; flex-wrap:wrap; gap:14px; align-items:center}
.optic{width:100%; height:auto}
@media (max-width:820px){ .hero-grid{grid-template-columns:1fr; gap:30px} .hero{padding:52px 0 26px} }

/* trust strip */
.strip{border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft)}
.strip .wrap{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; padding:0; background:var(--line-soft)}
.strip .cell{padding:20px 24px; background:var(--surface-2)}
.strip .k{font-family:"Schibsted Grotesk",sans-serif; font-weight:600; font-size:15px; display:flex; align-items:center; gap:9px}
.strip .k svg{color:var(--accent)}
.strip .v{font-size:15px; color:var(--ink-soft); margin-top:4px; line-height:1.4}
@media (max-width:760px){ .strip .wrap{grid-template-columns:repeat(2,1fr)} }

/* sections */
.section{padding:72px 0}
.section-head{display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:34px}
.section-head h2{font-size:clamp(26px,3.4vw,36px); font-weight:700}
.section-head p{margin:0; color:var(--ink-soft); font-size:16px; max-width:40ch; text-align:right}
@media (max-width:680px){ .section-head{flex-direction:column; gap:8px} .section-head p{text-align:left} }

/* product blocks (landing) */
.products{display:flex; flex-direction:column; gap:22px}
.product{display:grid; grid-template-columns:1fr auto; gap:28px 40px; align-items:start;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:30px 32px; box-shadow:var(--shadow);
  text-decoration:none; color:inherit; transition:border-color .14s, transform .14s}
a.product:hover{border-color:var(--accent); transform:translateY(-2px)}
.p-main{min-width:0}
.p-type{color:var(--accent-deep)}
.product h3{font-size:clamp(23px,2.6vw,29px); font-weight:700; margin:10px 0 0}
.product .desc{color:var(--ink-soft); margin:12px 0 0; max-width:56ch}
.chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; list-style:none; padding:0}
.chips li{font-family:"IBM Plex Mono",monospace; font-size:12px; letter-spacing:.02em; color:var(--ink-soft);
  background:var(--surface-2); border:1px solid var(--line); padding:5px 10px; border-radius:7px}
.p-buy{display:flex; flex-direction:column; align-items:flex-end; gap:12px; border-left:1px solid var(--line); padding-left:36px; min-width:210px}
.price{font-family:"Schibsted Grotesk",sans-serif; font-weight:800; font-size:38px; line-height:1; letter-spacing:-.02em}
.price small{font-family:"IBM Plex Mono",monospace; font-weight:400; font-size:13px; color:var(--ink-faint); display:block; margin-top:6px; letter-spacing:.02em}
.p-buy .btn{width:100%; justify-content:center}
.p-buy .demo{font-family:"IBM Plex Mono",monospace; font-size:12.5px; color:var(--ink-soft); text-decoration:none; border-bottom:1px dashed var(--line)}
.p-buy .demo:hover{color:var(--accent-deep); border-color:var(--accent)}
.more{font-family:"IBM Plex Mono",monospace; font-size:12px; color:var(--accent-deep); margin-top:16px; display:inline-block}
@media (max-width:760px){
  .product{grid-template-columns:1fr; padding:26px}
  .p-buy{align-items:flex-start; border-left:0; border-top:1px solid var(--line); padding-left:0; padding-top:22px; width:100%}
  .p-buy .btn{width:auto}
}

/* how / band */
.band{background:var(--surface-2); border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft)}
.how{display:grid; grid-template-columns:repeat(3,1fr); gap:30px}
.how .step .n{font-family:"IBM Plex Mono",monospace; font-size:13px; color:var(--accent-deep)}
.how .step h3{font-size:19px; font-weight:600; margin:8px 0 6px}
.how .step p{margin:0; color:var(--ink-soft); font-size:16px}
@media (max-width:760px){ .how{grid-template-columns:1fr; gap:24px} }

/* product page */
.phero{padding:56px 0 8px}
.crumb{font-family:"IBM Plex Mono",monospace; font-size:13px; color:var(--ink-soft); text-decoration:none}
.crumb:hover{color:var(--accent-deep)}
.phero h1{font-size:clamp(32px,5vw,52px); font-weight:800; line-height:1.03; margin:18px 0 0}
.phero .lede{font-size:clamp(19px,2.3vw,22px); color:var(--ink-soft); max-width:46ch; margin:18px 0 26px}
.buybar{display:flex; align-items:center; gap:22px; flex-wrap:wrap}
.buybar .price{font-size:32px}
.buybar .price small{display:inline; margin:0 0 0 8px; font-size:12px}
.shot{margin:40px 0 8px}
.shot figure{margin:0; background:var(--surface-2); border:1px solid var(--line); border-radius:var(--radius); padding:16px; box-shadow:var(--shadow)}
.shot img{border-radius:8px; border:1px solid var(--line-soft)}
.shot figcaption{font-family:"IBM Plex Mono",monospace; font-size:12px; color:var(--ink-faint); margin-top:12px; text-align:center; letter-spacing:.02em}

.feat{display:grid; grid-template-columns:repeat(2,1fr); gap:26px 40px}
.feat .item h3{font-size:18px; font-weight:600; display:flex; align-items:center; gap:9px}
.feat .item h3 svg{color:var(--accent); flex:0 0 auto}
.feat .item p{margin:7px 0 0; color:var(--ink-soft); font-size:16px}
@media (max-width:680px){ .feat{grid-template-columns:1fr} }

.specs{list-style:none; padding:0; margin:0; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--surface)}
.specs li{display:flex; justify-content:space-between; gap:20px; padding:14px 20px; border-bottom:1px solid var(--line-soft); font-size:15px}
.specs li:last-child{border-bottom:0}
.specs .lab{color:var(--ink-soft)}
.specs .val{font-family:"IBM Plex Mono",monospace; font-size:13.5px; text-align:right}

.cta-band{background:var(--accent-tint); border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft)}
.cta-band .wrap{display:flex; align-items:center; justify-content:space-between; gap:24px; padding:44px 28px; flex-wrap:wrap}
.cta-band h2{font-size:26px; font-weight:700}
.cta-band p{margin:6px 0 0; color:var(--ink-soft)}

/* legal / prose */
.prose{max-width:70ch; padding:56px 0 20px}
.prose h1{font-size:clamp(28px,4vw,40px); font-weight:800; margin-bottom:8px}
.prose .updated{font-family:"IBM Plex Mono",monospace; font-size:12.5px; color:var(--ink-faint); letter-spacing:.03em}
.prose h2{font-family:"Schibsted Grotesk",sans-serif; font-size:21px; font-weight:600; margin:38px 0 10px}
.prose p{margin:0 0 14px; color:var(--ink); line-height:1.65}
.prose .muted{color:var(--ink-soft)}
.prose a{color:var(--accent-deep)}
.ph{background:var(--accent-tint); border:1px dashed var(--accent); color:var(--accent-deep); border-radius:6px; padding:1px 7px; font-family:"IBM Plex Mono",monospace; font-size:.82em}

/* footer */
footer.site{padding:52px 0 46px; border-top:1px solid var(--line-soft)}
.foot{display:flex; justify-content:space-between; gap:30px; flex-wrap:wrap; align-items:flex-start}
.foot .brand{font-size:17px; margin-bottom:10px}
.foot .meta{font-size:14.5px; color:var(--ink-soft); line-height:1.7}
.foot a{color:var(--ink-soft); text-decoration:none}
.foot a:hover{color:var(--accent-deep)}
.foot .links{display:flex; flex-direction:column; gap:6px; font-family:"IBM Plex Mono",monospace; font-size:13px}
.draft{font-family:"IBM Plex Mono",monospace; font-size:11.5px; letter-spacing:.06em; text-transform:uppercase;
  color:var(--amber); border:1px dashed var(--amber); border-radius:6px; padding:3px 9px; display:inline-block; margin-top:14px}
