/* Werkano v2 — Basis + gemeinsame Komponenten (das Design-System) */
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--page); color:var(--ink); font-family:var(--font); font-size:16px; line-height:1.55;
  -webkit-font-smoothing:antialiased; letter-spacing:-.006em}
h1,h2,h3,h4{margin:0; letter-spacing:-.02em; line-height:1.2}
a{color:var(--accent-ink); text-decoration:none}
button{font-family:inherit}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 20px}
.hidden{display:none !important}
.muted{color:var(--muted)}

/* ---------- Topbar ---------- */
.topbar{position:sticky; top:0; z-index:20; background:color-mix(in srgb,var(--page) 86%, transparent);
  backdrop-filter:saturate(1.4) blur(10px); border-bottom:1px solid var(--border)}
.topbar-in{max-width:var(--maxw); margin:0 auto; height:64px; padding:0 20px; display:flex; align-items:center; gap:16px}
.brand{display:flex; align-items:center; gap:11px; cursor:pointer; background:none; border:0; padding:0}
.brand .logo{width:34px; height:34px; border-radius:10px; background:var(--accent); color:#fff; display:grid; place-items:center; font-weight:800; font-size:19px}
.brand .logo-img{width:34px; height:34px; display:block; flex:none}
.foot-logo-img{width:26px; height:26px; display:block; flex:none}
.brand b{font-size:21px; font-weight:750; color:var(--ink)}
.brand span{display:block; font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.07em; margin-top:-3px}
.top-spacer{flex:1}
.xp{display:flex; align-items:center; gap:9px; background:var(--surface-2); border:1px solid var(--border); border-radius:999px; padding:4px 6px 4px 12px}
.xp .lvl{font-size:12px; font-weight:800; color:var(--accent-ink)}
.xp .pts{font-size:13px; font-weight:700; font-variant-numeric:tabular-nums}
.xp .pts small{color:var(--muted); font-weight:600}
.xp .ring2{width:26px; height:26px}
.iconbtn{width:38px; height:38px; border:1px solid var(--border); background:var(--surface); color:var(--ink-2); border-radius:999px; cursor:pointer; display:grid; place-items:center; font-size:15px}
.iconbtn:hover{border-color:var(--accent); color:var(--ink)}

/* ---------- Suche im Header (Konzept C) ---------- */
.topsearch{flex:0 1 500px; min-width:0; margin:0 auto; height:40px; display:flex; align-items:center; gap:9px;
  padding:0 8px 0 14px; border:1px solid var(--border); background:var(--surface); border-radius:999px;
  transition:border-color .15s, box-shadow .15s}
.topsearch:focus-within{border-color:color-mix(in srgb,var(--accent) 55%,var(--border)); box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 14%,transparent)}
.topsearch .ts-ic{flex:none; font-size:14px; line-height:1; opacity:.8}
.topsearch input{flex:1; min-width:0; border:0; background:none; outline:0; color:var(--ink); font:inherit; font-size:14px; padding:0}
.topsearch input::placeholder{color:var(--muted)}
.topsearch .ts-kbd{flex:none; border:1px solid var(--border); border-radius:7px; padding:2px 7px; font-size:11px; font-weight:650; color:var(--muted); background:var(--surface-2)}
.topsearch .ts-clear{flex:none; width:24px; height:24px; border:0; border-radius:999px; background:var(--surface-2); color:var(--ink-2); cursor:pointer; font-size:12px; display:grid; place-items:center}
.topsearch .ts-clear:hover{color:var(--ink)}
.topsearch:not(.has) .ts-clear{display:none}
.topsearch.has .ts-kbd{display:none}
@media(max-width:760px){ .topsearch .ts-kbd{display:none} }
@media(max-width:560px){ .brand .brand-name{display:none} .topbar-in{gap:10px} }

/* ---------- Suchergebnis-Kopf ---------- */
.searchhead{display:flex; align-items:center; justify-content:space-between; gap:14px; margin:22px 0 18px}
.searchhead .sh-l{font-size:15.5px; color:var(--ink-2)}
.searchhead .sh-l b{color:var(--ink); font-weight:770}
.sh-clear{flex:none; border:1px solid var(--border); background:var(--surface); color:var(--ink-2); border-radius:999px; height:34px; padding:0 14px; font-size:13px; font-weight:650; cursor:pointer; font-family:inherit}
.sh-clear:hover{border-color:var(--accent); color:var(--ink)}

/* ---------- Fusszeile ---------- */
.site-foot{border-top:1px solid var(--border); margin-top:48px; background:var(--surface)}
.foot-in{max-width:var(--maxw); margin:0 auto; padding:22px 20px; display:flex; align-items:center; gap:16px 22px; flex-wrap:wrap}
.foot-brand{display:flex; align-items:center; gap:9px; font-size:15px; font-weight:750; color:var(--ink)}
.foot-logo{width:26px; height:26px; border-radius:8px; background:var(--accent); color:#04211a; display:grid; place-items:center; font-weight:800; font-size:14px}
.foot-nav{display:flex; gap:20px; flex-wrap:wrap}
.foot-nav a{color:var(--ink-2); font-size:13.5px; font-weight:600; text-decoration:none}
.foot-nav a:hover{color:var(--accent-ink)}
.foot-copy{margin-left:auto; color:var(--muted); font-size:12.5px}
@media(max-width:640px){ .foot-copy{margin-left:0; width:100%} }

/* ---------- Rechtsseiten (Datenschutz / Impressum / AGB) ---------- */
.legal{max-width:760px; margin:6px auto 0; padding:0 2px 48px; color:var(--ink-2); line-height:1.62}
.legal h2{color:var(--ink); font-size:19px; margin:26px 0 8px; letter-spacing:-.01em}
.legal p{margin:0 0 12px}
.legal ul{margin:0 0 12px; padding-left:20px}
.legal li{margin:5px 0}
.legal a{color:var(--accent-ink)}
.legal .draft-note{background:var(--warn-soft); border:1px solid color-mix(in srgb,var(--warn) 32%,var(--border)); color:var(--warn-ink); padding:12px 14px; border-radius:var(--radius-sm); font-size:13.5px; margin:0 0 22px}
.legal .ph{color:var(--accent-ink); font-weight:650}

/* ---------- Buttons ---------- */
.btn{border:0; border-radius:var(--radius-sm); height:48px; padding:0 22px; font-size:15.5px; font-weight:700; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center; gap:8px; transition:transform .08s, filter .12s, background .12s; color:#fff; background:var(--accent)}
.btn:hover{filter:brightness(1.05)} .btn:active{transform:translateY(1px)}
.btn.ghost{background:var(--surface-2); color:var(--ink); border:1px solid var(--border)}
.btn.ghost:hover{border-color:var(--accent); filter:none}
.btn.line{background:transparent; color:var(--ink-2); border:1px solid var(--border)}
.btn.block{width:100%}
.btn.sm{height:38px; padding:0 15px; font-size:13.5px; border-radius:9px}

/* ---------- Card ---------- */
.card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); padding:22px}

/* ---------- Tags ---------- */
.tag{font-size:10.5px; font-weight:800; letter-spacing:.03em; padding:2px 8px; border-radius:999px; text-transform:uppercase; display:inline-block}
.tag.new{background:var(--good-soft); color:var(--good-ink)}
.tag.deep{background:color-mix(in srgb,var(--violet) 16%,transparent); color:var(--violet)}
.tag.soon{background:var(--surface-3); color:var(--muted)}
.tag.free{background:var(--accent-soft); color:var(--accent-ink)}
.tag.plus,.tag.pro{background:color-mix(in srgb,var(--gold) 18%,transparent); color:var(--gold)}

/* ---------- Stats / Streak / Ring ---------- */
.stats{display:flex; gap:10px}
.stat{flex:1; background:var(--surface-2); border:1px solid var(--border); border-radius:var(--radius-sm); padding:11px 12px; text-align:center}
.stat .v{font-size:21px; font-weight:800; font-variant-numeric:tabular-nums}
.stat .v.fire{color:var(--gold)}
.stat .l{font-size:11.5px; color:var(--muted); font-weight:600; margin-top:2px}
.streak-pill{display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:800; color:var(--gold);
  background:color-mix(in srgb,var(--gold) 14%,transparent); border:1px solid color-mix(in srgb,var(--gold) 30%,transparent); border-radius:999px; padding:3px 11px}
.ring-wrap{position:relative; display:grid; place-items:center}
.ring-svg{transform:rotate(-90deg)}
.ring-track{fill:none; stroke:var(--surface-3)}
.ring-fill{fill:none; stroke:var(--accent); stroke-linecap:round; transition:stroke-dashoffset .35s}

/* ---------- Segmented control / options ---------- */
.seg{display:flex; gap:6px; background:var(--surface-2); border:1px solid var(--border); border-radius:12px; padding:5px}
.seg button{flex:1; border:0; background:none; color:var(--ink-2); border-radius:8px; height:38px; cursor:pointer; font-size:14px; font-weight:700}
.seg button.on{background:var(--surface); color:var(--ink); box-shadow:var(--shadow-sm)}
.opts{display:grid; gap:9px}
.opt{border:1px solid var(--border); background:var(--surface-2); color:var(--ink); border-radius:11px; padding:13px 15px; cursor:pointer; font-size:15px; text-align:left; transition:.12s}
.opt:hover:not(:disabled){border-color:var(--accent)}
.opt.right{border-color:var(--good); background:var(--good-soft); color:var(--good-ink); font-weight:700}
.opt.wrong{border-color:var(--bad); background:var(--bad-soft); color:var(--bad-ink)}

/* ---------- Inputs ---------- */
.input,input.input,textarea.input{width:100%; border:1px solid var(--border); background:var(--surface-2); color:var(--ink);
  border-radius:var(--radius-sm); padding:11px 13px; font-size:15px; font-family:inherit}
.input:focus{outline:none; border-color:var(--accent); box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent)}

/* ---------- Toast ---------- */
.toast{position:fixed; left:50%; bottom:26px; transform:translateX(-50%) translateY(20px); background:var(--ink); color:var(--page);
  padding:12px 20px; border-radius:999px; font-size:14px; font-weight:700; box-shadow:0 12px 30px -8px rgba(0,0,0,.4);
  opacity:0; pointer-events:none; transition:opacity .3s, transform .3s; z-index:60; max-width:88%; text-align:center}
.toast.show{opacity:1; transform:translateX(-50%) translateY(0)}

/* ---------- Marktplatz / Hero (2-spaltig, linksbündig) ---------- */
.hero{display:grid; grid-template-columns:1.06fr .94fr; gap:40px; align-items:center; text-align:left; padding:60px 0 50px}
@media(max-width:860px){.hero{grid-template-columns:1fr; gap:24px; padding:40px 0 32px}}
.hero .kick{font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--accent-ink)}
.hero h1{font-size:clamp(31px,4.6vw,48px); margin:10px 0 0; max-width:none; line-height:1.08; letter-spacing:-.018em}
.hero p{color:var(--ink-2); font-size:15.5px; max-width:50ch; margin:13px 0 0}
.trust{display:flex; gap:10px 14px; justify-content:flex-start; flex-wrap:wrap; margin-top:20px; font-size:13px; color:var(--ink-2); font-weight:600}
.trust span{display:inline-flex; align-items:center; gap:7px}
.trust span::before{content:'✓'; display:grid; place-items:center; width:18px; height:18px; flex:none; border-radius:999px; background:var(--accent-soft); color:var(--accent-ink); font-size:11px; font-weight:800}
.trust b{color:var(--ink); font-weight:750}
.catbar{display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin:26px 0 22px}
.catbar button{border:1px solid var(--border); background:var(--surface); color:var(--ink-2); border-radius:999px; height:36px; padding:0 15px; cursor:pointer; font-size:13.5px; font-weight:650}
.catbar button.on{background:var(--accent); color:#fff; border-color:transparent}
.grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; padding-bottom:60px}
@media(max-width:1040px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:780px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.grid{grid-template-columns:1fr}}
.tcard{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow-sm); padding:17px; cursor:pointer;
  display:flex; flex-direction:column; gap:11px; transition:transform .1s, border-color .12s, box-shadow .12s; text-align:left}
.tcard:hover{transform:translateY(-2px); border-color:var(--accent); box-shadow:var(--shadow)}
.tcard .top{display:flex; align-items:center; gap:11px}
.tcard .tico{width:44px; height:44px; border-radius:12px; display:grid; place-items:center; font-size:22px; flex:none; color:#fff; background:var(--tico,#059669)}
.tcard .tname{font-size:15.5px; font-weight:750; display:flex; align-items:center; gap:7px; flex-wrap:wrap}
.tcard .tcat{font-size:12px; color:var(--muted); margin-top:1px}
.tcard .tdesc{font-size:13px; color:var(--ink-2); flex:1}
.tcard .tfoot{display:flex; align-items:center; justify-content:space-between; font-size:12.5px}
.tcard .price{font-weight:750; color:var(--accent-ink)}
.tcard .openhint{color:var(--muted); font-weight:600}

/* ---------- Tool-Seite ---------- */
.toolbar{display:flex; align-items:center; gap:12px; padding:16px 0 6px}
.backbtn{border:1px solid var(--border); background:var(--surface); color:var(--ink-2); border-radius:999px; height:38px; padding:0 15px; cursor:pointer; font-size:13.5px; font-weight:650; display:inline-flex; align-items:center; gap:6px}
.backbtn:hover{border-color:var(--accent); color:var(--ink)}
.toolbar .tt{flex:1; min-width:0}
.toolbar .tt b{font-size:16px; font-weight:750}
.toolbar .tt span{font-size:12.5px; color:var(--muted); margin-left:9px}
.toolstage{max-width:680px; margin:8px auto 60px}
.toolstage.wide{max-width:960px}

/* Share-Menü */
.sheet{position:fixed; inset:0; z-index:70; display:none; align-items:flex-end; justify-content:center; background:rgba(0,0,0,.5); backdrop-filter:blur(7px) saturate(.9); -webkit-backdrop-filter:blur(7px) saturate(.9)}
.sheet.on{display:flex}
.sheet-in{background:var(--surface); border:1px solid var(--border); border-radius:18px 18px 0 0; width:100%; max-width:440px; padding:18px 18px 26px}
@media(min-width:520px){ .sheet{align-items:center} .sheet-in{border-radius:18px} }
.sheet h3{font-size:16px; margin-bottom:12px}
.share-row{display:grid; grid-template-columns:repeat(4,1fr); gap:10px}
.share-row a,.share-row button{display:flex; flex-direction:column; align-items:center; gap:6px; border:1px solid var(--border); background:var(--surface-2); color:var(--ink); border-radius:12px; padding:12px 6px; font-size:11.5px; font-weight:650; cursor:pointer; text-decoration:none}
.share-row .ic{font-size:20px}

/* ---------- Favoriten-Herz / Marktplatz-Leerzustand ---------- */
.tcard{position:relative}
.favheart{position:absolute; top:9px; right:11px; z-index:2; font-size:17px; line-height:1; color:var(--muted); cursor:pointer; padding:3px 5px; border-radius:8px; transition:color .12s, transform .08s}
.favheart:hover{color:var(--gold)} .favheart.on{color:var(--gold)} .favheart:active{transform:scale(.9)}
.gridempty{grid-column:1/-1; text-align:center; color:var(--muted); padding:40px 10px; font-size:14.5px}

/* ---------- Pro / Upgrade-Sheet ---------- */
.pro-head{display:flex; align-items:baseline; justify-content:space-between; gap:12px}
.pro-price{text-align:right; white-space:nowrap}
.pro-price b{font-size:20px; color:var(--accent-ink)} .pro-price span{font-size:11.5px; color:var(--muted)}
.pro-note{background:var(--surface-2); color:var(--ink-2); border:1px solid var(--border); border-radius:10px; padding:9px 12px; font-size:12.5px; margin-bottom:12px}
.pro-note b{color:var(--ink)}
.pro-note.ok{border-color:color-mix(in srgb,var(--accent) 40%,var(--border))}
.pro-pillars{display:grid; grid-template-columns:1fr 1fr; gap:8px}
@media(max-width:480px){.pro-pillars{grid-template-columns:1fr}}
.pro-pillar{display:flex; gap:9px; align-items:flex-start; border:1px solid var(--border); border-radius:10px; padding:10px 11px; background:var(--surface-2)}
.pro-pillar .pi{font-size:16px; width:20px; text-align:center; flex:none}
.pro-pillar b{display:block; font-size:12.5px; margin-bottom:1px} .pro-pillar span{font-size:11.5px; color:var(--ink-2); line-height:1.35}
.pro-founder{margin-top:12px; font-size:12px; color:var(--ink-2); display:flex; gap:7px; align-items:flex-start; padding:0 2px}
.pro-founder .fs{color:var(--gold); flex:none}
.pro-founder b{color:var(--ink)}

/* Header Pro-Button */
.probtn{border:1px solid color-mix(in srgb,var(--gold) 45%,var(--border)); background:transparent; color:var(--gold); border-radius:999px; height:38px; padding:0 14px; font-size:13.5px; font-weight:750; cursor:pointer; display:inline-flex; align-items:center; gap:6px}
.probtn:hover{background:color-mix(in srgb,var(--gold) 10%,transparent)}
.probtn.ispro{color:var(--accent-ink); border-color:color-mix(in srgb,var(--accent) 45%,var(--border))}

/* Hero: hervorgehobenes Top-Werkzeug */
.topcard{display:flex; align-items:center; gap:14px; border:1px solid var(--accent); border-radius:16px; background:var(--surface); box-shadow:var(--shadow-sm); padding:14px 18px; max-width:450px; margin:24px auto 0; cursor:pointer; text-align:left; transition:transform .1s, box-shadow .12s}
.topcard:hover{box-shadow:var(--shadow); transform:translateY(-1px)}
.tico-wrap{position:relative; flex:none; padding-top:7px}
.tico-wrap .tico{width:46px; height:46px; border-radius:13px; display:grid; place-items:center; font-size:23px; color:#fff; background:var(--tico,#059669)}
.tico-wrap .fstar{position:absolute; top:-3px; left:50%; transform:translateX(-50%); color:var(--gold); font-size:17px; filter:drop-shadow(0 1px 1px rgba(0,0,0,.28))}
.topcard .tt{flex:1; min-width:0}
.topcard .topflag{font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--gold)}
.topcard .tt b{font-size:15.5px; font-weight:750; display:block; margin:1px 0}
.topcard .tt em{font-size:12.5px; color:var(--muted); display:block; line-height:1.35; font-style:normal}
.topcard .go{margin-left:auto; color:var(--accent-ink); font-weight:700; font-size:13.5px; white-space:nowrap; align-self:center}

/* Preis-Sektion (unter den Werkzeugen) */
.pricing{max-width:980px; margin:8px auto 46px; padding-top:30px; border-top:1px solid var(--line)}
.price-head{text-align:center; margin-bottom:20px}
.price-head h2{font-size:24px; letter-spacing:-.02em}
.price-head p{color:var(--muted); font-size:13.5px; margin-top:5px}
.tiers.two{grid-template-columns:repeat(2,1fr); max-width:680px}
.strike{color:var(--muted); text-decoration:line-through; font-weight:600; font-size:13.5px; margin-left:4px}

/* sauberer Pro-Test-Fortschritt (kein Farb-Fill) */
.protrial{margin-bottom:14px}
.protrial .bar{height:6px; background:var(--surface-3); border-radius:3px; overflow:hidden}
.protrial .bar span{display:block; height:100%; background:var(--accent); border-radius:3px}
.protrial .lab{font-size:12.5px; color:var(--ink-2); margin-top:7px}
.protrial .lab b{color:var(--ink)}

/* Hero: grosses Top-Werkzeug (rechte Spalte) mit Live-Vorschau */
.hero-feat{display:flex; justify-content:center; width:100%}
.topcard.big{flex-direction:column; align-items:stretch; text-align:left; gap:0; padding:17px 17px 16px; max-width:432px; width:100%; margin:0 auto;
  cursor:default; border:0; box-shadow:var(--shadow); transition:none}
.topcard.big:hover{transform:none; box-shadow:var(--shadow)}   /* ruhig: kein Rahmen, keine Bewegung, nur leichter 3D-Schatten */
.topcard.big .topflag{color:var(--gold); font-size:10.5px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; margin:0 0 11px}
.topcard.big .tc-top{display:flex; align-items:center; gap:12px; margin-bottom:13px}
.topcard.big .tc-top .tico-wrap{padding-top:6px}
.topcard.big .tc-top .tico{width:44px; height:44px; font-size:22px; border-radius:12px}
.topcard.big .tc-h b{font-size:16.5px; font-weight:750; display:block}
.topcard.big .tc-h em{font-size:12.5px; color:var(--muted); font-style:normal; line-height:1.35; display:block; margin-top:1px}
.feat-peek{position:relative; overflow:hidden; border:1px solid var(--border); border-radius:12px; background:var(--surface-2); min-height:120px}
.feat-peek .peek-scale{position:absolute; top:0; left:0; transform-origin:top left; pointer-events:none; display:block}
.feat-peek .peek-scale > *{display:block; width:100%}
.feat-peek::after{content:""; position:absolute; left:0; right:0; bottom:0; height:44px; background:linear-gradient(transparent, var(--surface-2)); pointer-events:none}
.topcard.big .go{align-self:flex-start; margin:14px 0 0; padding:9px 20px; border:1px solid var(--accent); border-radius:999px; font-size:13.5px; color:var(--accent-ink); font-weight:700; background:none; cursor:pointer; font-family:inherit}
.topcard.big .go:hover{background:var(--accent-soft)}

/* Hero-Demo (interaktiv, reagiert auf Eingaben) */
.feat-demo{border:1px solid var(--border); border-radius:12px; background:var(--surface-2); padding:14px}
.hd{display:flex; flex-direction:column; gap:12px}
.hd-row{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.hd-field{display:block}
.hd-field > span{display:block; font-size:11.5px; color:var(--muted); font-weight:600; margin-bottom:5px}
.hd-in{width:100%; height:40px; border:1px solid var(--border); background:var(--surface); color:var(--ink); border-radius:10px; padding:0 11px; font-size:15px; font-family:inherit; font-variant-numeric:tabular-nums}
.hd-in:focus{outline:none; border-color:var(--accent); box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent)}
select.hd-in{cursor:pointer}
.hd-out{text-align:center; padding:4px 0 2px}
.hd-big{font-size:33px; font-weight:790; color:var(--accent-ink); font-variant-numeric:tabular-nums; line-height:1.1; letter-spacing:-.01em}
.hd-cap{font-size:12px; color:var(--muted); margin-top:3px; font-variant-numeric:tabular-nums}
/* Meeting-Kosten Live-Ticker */
.hd-runrow{display:flex; align-items:center; gap:8px}
.hd-run{flex:1; height:44px; border:1px solid transparent; border-radius:11px; background:var(--accent); color:#04211a; font-family:inherit; font-size:14.5px; font-weight:760; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:8px}
.hd-run:hover{filter:brightness(1.06)}
.hd-run.on{background:var(--surface); color:var(--ink); border-color:var(--border)}
.hd-run #hdRunI{font-size:12px}
.hd-reset{width:44px; height:44px; flex:none; border:1px solid var(--border); background:var(--surface); color:var(--ink-2); border-radius:11px; cursor:pointer; font-size:17px; line-height:1}
.hd-reset:hover{border-color:var(--accent); color:var(--ink)}
/* dezenter Zweit-Link, wenn die Karte einen eigenen Aktions-Button hat */
.topcard.big .feat-open{align-self:center; margin:12px 0 0; padding:4px 6px; background:none; border:0; color:var(--muted); font-family:inherit; font-size:13px; font-weight:650; cursor:pointer}
.topcard.big .feat-open:hover{color:var(--accent-ink)}
.hd-swatches{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.hd-color{display:flex; align-items:center; gap:9px; font-size:12.5px; color:var(--ink-2); font-weight:600}
.hd-color input[type=color]{width:36px; height:36px; border:1px solid var(--border); background:none; padding:2px; border-radius:9px; cursor:pointer}
.hd-preview{border-radius:10px; padding:15px; text-align:center; font-weight:700; font-size:15.5px; border:1px solid var(--border); transition:background .12s, color .12s}
.hd-badge{display:inline-block; font-size:12.5px; font-weight:800; padding:3px 11px; border-radius:999px; vertical-align:middle}

/* Konto-Button mit Pro-Kennzeichnung */
.acctbtn{display:inline-flex; align-items:center; gap:7px; border:1px solid color-mix(in srgb,var(--gold) 48%,var(--border)); background:var(--surface); border-radius:999px; height:38px; padding:0 13px 0 5px; cursor:pointer; box-shadow:0 0 0 2px color-mix(in srgb,var(--gold) 10%,transparent)}
.acctbtn .acct-i{width:28px; height:28px; border-radius:999px; background:linear-gradient(145deg,var(--gold-hi),var(--gold) 50%,var(--gold-lo)); color:#3a2905; display:grid; place-items:center; font-weight:800; font-size:13px; box-shadow:inset 0 1px 1px rgba(255,255,255,.5), inset 0 -1px 2px rgba(0,0,0,.25)}
.acctbtn .acct-pro{font-size:11.5px; font-weight:800; color:var(--gold); letter-spacing:.04em; text-transform:uppercase}
.acctbtn:hover{border-color:var(--gold)}
.acctbtn.test{box-shadow:none; border-color:color-mix(in srgb,var(--gold) 32%,var(--border))}
.acctbtn.test .acct-i{background:linear-gradient(145deg,var(--gold-hi),var(--gold) 58%,var(--gold-lo))}

/* Konto-Avatar mit Status-Ring (Header B) */
.avatar-btn{position:relative; width:40px; height:40px; flex:none; border:0; background:none; padding:0; cursor:pointer}
.avatar-btn .av-ring{position:absolute; inset:0; width:40px; height:40px; display:block}
.avatar-btn .av-face{position:absolute; inset:4px; border-radius:999px; box-shadow:inset 0 0 0 1px rgba(0,0,0,.14)}
.avatar-btn .av-badge{position:absolute; right:-1px; bottom:-1px; width:15px; height:15px; border-radius:999px; background:linear-gradient(145deg,var(--gold-hi),var(--gold) 55%,var(--gold-lo)); color:#3a2905; font-size:9px; font-weight:800; display:grid; place-items:center; box-shadow:0 0 0 2px var(--page)}
.avatar-btn:hover .av-face{filter:brightness(1.06)}

/* ⋯-Menü */
.menupop{position:fixed; z-index:60; min-width:196px; background:var(--surface); border:1px solid var(--border); border-radius:12px; box-shadow:var(--shadow); padding:6px}
.menupop button{display:flex; align-items:center; gap:11px; width:100%; border:0; background:none; color:var(--ink); font:inherit; font-size:14px; font-weight:600; text-align:left; padding:9px 10px; border-radius:8px; cursor:pointer}
.menupop button:hover{background:var(--surface-2)}
.menupop .mi{width:18px; text-align:center; color:var(--ink-2); font-size:14px}
.menupop .mi.gold{color:var(--gold)}
.menupop .menu-sep{height:1px; background:var(--border); margin:5px 4px}
.acctbtn.test .acct-pro{opacity:.92}

/* Pro-Sheet etwas breiter für 2 Spalten */
#proSheet .sheet-in{max-width:500px}

/* ---------- Tarif-Karten (Startseite) ---------- */
.tiers{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; max-width:980px; margin:6px auto 30px; align-items:stretch}
@media(max-width:820px){.tiers{grid-template-columns:1fr; max-width:460px}}
.tier{position:relative; border:1px solid var(--border); border-radius:16px; background:var(--surface); padding:22px 20px; display:flex; flex-direction:column; box-shadow:var(--shadow-sm)}
.tier.hl{border-color:var(--accent); box-shadow:0 0 0 1.5px var(--accent), var(--shadow)}
.tier .tag2{position:absolute; top:15px; right:15px; font-size:10px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; padding:3px 9px; border-radius:999px}
.tier .tag2.rec{color:var(--accent-ink); background:var(--accent-soft)}
.tier .tag2.grow{color:var(--gold); background:color-mix(in srgb,var(--gold) 16%,transparent)}
.tier .tname{font-size:16px; font-weight:750}
.tier .price{font-size:29px; font-weight:820; letter-spacing:-.02em; margin:8px 0 2px; line-height:1}
.tier .price small{font-size:13px; font-weight:600; color:var(--muted)}
.tier .sub{font-size:12.5px; color:var(--muted); margin-bottom:15px; min-height:1.1em}
.tier ul{list-style:none; padding:0; margin:0 0 18px; display:flex; flex-direction:column; gap:9px; flex:1}
.tier li{font-size:13px; color:var(--ink-2); display:flex; gap:9px; align-items:flex-start; line-height:1.4}
.tier li i{color:var(--accent); font-weight:800; font-style:normal; flex:none}

/* ---------- Pro-Schranke: Karten-Lock + Sperrseite ---------- */
.tag.pro.lock{background:color-mix(in srgb,var(--gold) 15%,transparent)}
.tcard.locked{opacity:.94; transition:opacity .14s, transform .1s, border-color .12s, box-shadow .12s}
.tcard.locked .tico{position:relative}
.tcard.locked .tico::after{content:'🔒'; position:absolute; right:-5px; bottom:-5px; width:20px; height:20px; border-radius:50%; background:var(--surface); border:1px solid var(--line); display:grid; place-items:center; font-size:10px; line-height:1; box-shadow:0 1px 4px rgba(0,0,0,.35)}
.tcard.locked .openhint{color:var(--gold); font-weight:750}
.tcard.locked:hover{opacity:1; border-color:color-mix(in srgb,var(--gold) 55%,var(--border)); box-shadow:0 14px 32px -16px color-mix(in srgb,var(--gold) 55%,transparent)}

.lockstage{max-width:560px; margin:22px auto 60px}
.lockcard{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); padding:34px 28px; text-align:center}
.lockcard .tico.lg{width:64px; height:64px; border-radius:17px; display:inline-grid; place-items:center; font-size:32px; color:#fff; background:var(--tico,#059669)}
.lockcard .lockbadge{display:inline-block; margin:15px 0 4px; font-size:11px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--gold); background:color-mix(in srgb,var(--gold) 15%,transparent); padding:4px 11px; border-radius:999px}
.lockcard h2{font-size:23px; letter-spacing:-.02em; margin:8px 0 4px}
.lockcard .lock-tag{font-size:14.5px; color:var(--ink-2); margin:0 auto 10px; max-width:34ch; line-height:1.45}
.lockcard .muted{font-size:13px; line-height:1.5; margin:0 auto 20px; max-width:40ch}
.lockcard .btn{max-width:340px; margin-left:auto; margin-right:auto}
.toolbar-sp{flex:none; width:1px}

/* ---------- Login-Sheet: Zusatz-Elemente ---------- */
.linklike{background:none; border:0; padding:0; font:inherit; font-size:12.5px; font-weight:650; color:var(--accent-ink); cursor:pointer}
.linklike:hover{text-decoration:underline}
.authalt{display:flex; align-items:center; gap:10px; margin:15px 0 10px}
.authalt::before,.authalt::after{content:""; flex:1; height:1px; background:var(--border)}
.authalt span{color:var(--muted); font-size:12px}

/* ---------- Werkbank (persönliches Dashboard) ---------- */
.navbtn{border:1px solid var(--border); background:var(--surface); color:var(--ink-2); border-radius:999px; height:38px; padding:0 15px; cursor:pointer; font-size:13.5px; font-weight:700; font-family:inherit; white-space:nowrap}
.navbtn:hover{border-color:var(--accent); color:var(--ink)}
@media(max-width:620px){ .navbtn{padding:0 12px; font-size:0} .navbtn::first-letter{font-size:16px} }

.board-head{display:flex; align-items:flex-end; justify-content:space-between; gap:16px; padding:26px 0 6px; flex-wrap:wrap}
.board-title{font-size:26px; letter-spacing:-.02em}
.board-sub{color:var(--muted); font-size:14px; margin-top:4px}
.board{display:grid; grid-template-columns:repeat(2,1fr); gap:16px; align-items:start; padding:18px 0 60px}
@media(max-width:760px){ .board{grid-template-columns:1fr} }
.bcard{border:1px solid var(--border); border-radius:16px; background:var(--surface); box-shadow:var(--shadow-sm); overflow:hidden; display:flex; flex-direction:column}
.bhead{display:flex; align-items:center; gap:10px; padding:11px 13px; border-bottom:1px solid var(--border); background:var(--surface-2)}
.bhead .tico{width:30px; height:30px; border-radius:9px; display:grid; place-items:center; font-size:16px; color:#fff; background:var(--tico,#059669); flex:none}
.bhead b{font-size:14.5px; font-weight:750; flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.bh-actions{display:flex; gap:6px; flex:none}
.bh-btn{width:28px; height:28px; border:1px solid var(--border); background:var(--surface); color:var(--ink-2); border-radius:8px; cursor:pointer; font-size:13px; display:grid; place-items:center; font-family:inherit}
.bh-btn:hover{border-color:var(--accent); color:var(--ink)}
.bstage{padding:14px; max-height:500px; overflow:auto}
.bstage .card{border:none; box-shadow:none; background:transparent; padding:0}
.bstage .toolstage{margin:0; max-width:none}
.block-lock{text-align:center; padding:28px 14px; color:var(--ink-2)}
.block-lock .bl-ic{font-size:26px; margin-bottom:6px}
.block-lock b{display:block; margin-bottom:13px; color:var(--gold)}
.board-empty{text-align:center; max-width:460px; margin:56px auto; padding:40px 26px; border:1px dashed var(--border); border-radius:18px}
.be-ic{font-size:38px; color:var(--muted); margin-bottom:10px; letter-spacing:2px}
.board-empty h2{font-size:22px; margin-bottom:8px}
.board-empty p{font-size:14px; line-height:1.55}
.board-empty .btn{margin-top:18px}

/* Werkzeug-Picker */
.pick-list{display:flex; flex-direction:column; gap:6px; max-height:56vh; overflow:auto; margin:0 -2px; padding:2px}
.pick-item{display:flex; align-items:center; gap:11px; width:100%; text-align:left; border:1px solid var(--border); background:var(--surface-2); border-radius:11px; padding:9px 12px; cursor:pointer; font-family:inherit; color:var(--ink)}
.pick-item:hover{border-color:var(--accent)}
.pick-item.on{border-color:var(--accent); background:var(--accent-soft)}
.pick-item .tico.sm{width:30px; height:30px; border-radius:8px; font-size:15px; display:grid; place-items:center; color:#fff; background:var(--tico,#059669); flex:none}
.pick-name{flex:1; min-width:0; font-size:14px; font-weight:650; display:flex; flex-direction:column; line-height:1.3}
.pick-name small{font-size:11.5px; color:var(--muted); font-weight:500}
.pick-pro{font-size:9px; font-weight:800; color:var(--gold); text-transform:uppercase; letter-spacing:.03em}
.pick-x{flex:none; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; font-weight:800; font-size:14px; color:var(--accent-ink); background:var(--surface)}
.pick-item.on .pick-x{background:var(--accent); color:#fff}

/* Werkbank: Ziehen zum Umsortieren */
.bgrip{cursor:grab; color:var(--muted); font-size:15px; line-height:1; user-select:none; flex:none; padding:2px 1px}
.bgrip:hover{color:var(--ink-2)}
.bgrip:active{cursor:grabbing}
.bcard.dragging{opacity:.4}
.bcard.drop-before{box-shadow:inset 3px 0 0 0 var(--accent), var(--shadow-sm)}
.bcard.drop-after{box-shadow:inset -3px 0 0 0 var(--accent), var(--shadow-sm)}

/* Konto-Statistik (Level/Punkte/Streak — aus dem Header hierher verschoben) */
.acct-stats{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:2px 0 15px}
.acct-stats .asv{background:var(--surface-2); border:1px solid var(--border); border-radius:12px; padding:12px 8px; text-align:center}
.acct-stats .asv b{display:block; font-size:22px; font-weight:800; font-variant-numeric:tabular-nums; line-height:1; color:var(--accent-ink)}
.acct-stats .asv span{display:block; font-size:11.5px; color:var(--muted); font-weight:600; margin-top:5px}
