/* teilewacht.shop: the front page and /questions/ only. The signed-in pages keep site.css. */
:root{
  --red:#8E1F2F;--red-dark:#6c1622;--red-soft:#f7e3e1;--red-blush:#efc9c6;
  --cream:#fbf3e7;--sand:#f1e3cc;--sand-2:#e7d3b3;--card:#fffdf9;
  --ink:#2a1d19;--ink-2:#4d3c35;--mute:#6e5d55;--line:#e8dac6;
  --ok:#2c6a4b;--ok-soft:#e3f1e8;--warn:#7f5300;--warn-soft:#fbefd4;
  --round:"Nunito",ui-rounded,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--cream);color:var(--ink);font:17px/1.6 var(--round);overflow-x:hidden}
img,svg{display:block;max-width:100%}
p,li,dd{text-wrap:pretty}
h1,h2,h3{text-wrap:balance;font-family:var(--round);margin:0}
a{color:var(--red);text-underline-offset:3px}
a:hover{color:var(--red-dark)}
:focus-visible{outline:3px solid #c46a77;outline-offset:3px;border-radius:8px}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px}
@media(min-width:900px){.wrap{padding:0 40px}}
.skip{position:absolute;left:-999px;top:0;padding:12px 16px;min-height:44px}
.skip:focus{left:12px;top:12px;background:#fff;padding:8px 12px;z-index:10}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.small{font-size:.9rem}
.muted{color:var(--mute)}

/* buttons: chunky, pressable, like a machine's push button */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 24px;border:0;border-radius:16px;background:var(--red);color:#fff;font:800 1.02rem/1.2 var(--round);text-decoration:none;cursor:pointer;box-shadow:0 4px 0 var(--red-dark);transition:transform .12s,box-shadow .12s,background .12s}
.btn:hover{background:#9e2537;color:#fff}
.btn:active{transform:translateY(3px);box-shadow:0 1px 0 var(--red-dark)}
.btn.lg{min-height:56px;padding:15px 30px;font-size:1.1rem;border-radius:18px}
.btn.sm{min-height:44px;padding:8px 16px;font-size:.95rem;border-radius:14px;box-shadow:0 3px 0 var(--red-dark)}
.btn.light{background:#fff;color:var(--red);box-shadow:0 4px 0 #d8b9b4}
.btn.light:hover{background:#fff6f4;color:var(--red-dark)}

/* nav */
.nav{position:sticky;top:0;z-index:5;background:rgba(251,243,231,.93);backdrop-filter:blur(8px)}
.nav .wrap{display:flex;align-items:center;gap:12px;height:68px}
.brand{display:flex;align-items:center;gap:10px;min-height:44px;min-width:44px;color:var(--ink);text-decoration:none;font-weight:900;font-size:1.08rem}
.brand img{width:36px;height:36px;border-radius:11px}
.nav-right{margin-left:auto;display:flex;align-items:center;gap:6px}
.nav-login{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;color:var(--ink-2);font-weight:700;text-decoration:none;border-radius:12px}
.nav-login:hover{background:var(--sand);color:var(--ink)}
.nav .btn.sm{white-space:nowrap}
@media(max-width:439px){
  .brand-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .nav-login{padding:0 10px}
}

/* hero */
.hero{padding:20px 0 36px;position:relative}
.hero h1{font-weight:900;font-size:clamp(1.9rem,7.4vw,3.55rem);line-height:1.12;letter-spacing:-.015em;max-width:21em}
.hero h1 em{font-style:normal;color:var(--red)}
.hero-grid{display:grid;gap:22px}
.hero-text .sub{font-size:1.06rem;color:var(--ink-2);margin:0 0 20px;max-width:30em}
.cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
.cta-note{display:flex;align-items:center;gap:8px;font-weight:700;color:var(--ink-2);font-size:.95rem}
.cta-note svg{width:22px;height:22px;flex:none}
.hero-draw{display:none}
@media(min-width:900px){
  .hero{padding:36px 0 44px}
  .hero-grid{grid-template-columns:5fr 7fr;gap:28px 56px;align-items:start}
  .hero h1{grid-column:1/-1}
  .hero-text{padding-top:8px}
  .hero-draw{display:block;margin-top:26px;width:220px}
}

/* the product, in a soft card */
.shot-wrap{position:relative}
.shot-wrap::before{content:"";position:absolute;inset:18px -10px -10px 18px;background:var(--red-blush);border-radius:34px;z-index:0}
.shot{position:relative;z-index:1;background:var(--card);border-radius:28px;box-shadow:0 2px 0 var(--line),0 24px 50px -28px rgba(80,30,20,.45);max-height:500px;overflow:hidden;font-size:.9rem}
.shot::after{content:"";position:absolute;left:0;right:0;bottom:0;height:110px;background:linear-gradient(rgba(255,253,249,0),var(--card) 85%);pointer-events:none}
@media(min-width:900px){.shot{max-height:456px}}
.shot-top{display:flex;align-items:center;gap:10px;padding:14px 18px;background:var(--sand);border-bottom:2px dashed var(--sand-2)}
.shot-top .rail{display:flex;gap:5px}
.shot-top .rail i{display:block;width:10px;height:18px;border-radius:3px;background:#fff;border:2px solid var(--sand-2)}
.shot-top .rail i:first-child{background:var(--red)}
.shot-top span{font-weight:800;color:var(--ink-2);font-size:.85rem}
.shot-body{padding:16px 18px 20px}
.shot-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;margin-bottom:12px}
.shot-head b{font-size:1.08rem;font-weight:900}
.shot-head small{color:var(--mute);font-weight:600}
.sample{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:8px;background:var(--sand);color:var(--ink-2);font-size:.78rem;font-weight:800;vertical-align:2px}
.part{margin-top:12px}
.part-name{font-weight:800;margin-bottom:6px}
.part-name em{font-style:normal;font-weight:600;color:var(--mute);font-size:.82rem;margin-left:4px}
.hit{border-left:4px solid var(--sand-2);padding:2px 0 4px 12px}
.hit.ex{border-left-color:var(--red)}
.hit-top{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;font-size:.8rem;color:var(--mute)}
.hit-id{font-family:var(--mono);font-weight:700;color:var(--ink);font-size:.8rem}
.cvss{color:var(--ink)}
.hit-title{margin:6px 0 2px;font-weight:700;line-height:1.4}
.hit-meta{margin:0;font-size:.82rem;color:var(--ink-2)}
.tag{display:inline-block;padding:2px 9px;border-radius:8px;font-size:.78rem;font-weight:800}
.tag.red{background:var(--red);color:#fff}
.tag.soft{background:var(--red-soft);color:var(--red-dark)}
.tag.warn{background:var(--warn-soft);color:var(--warn)}

/* sections */
section{padding:42px 0}
@media(min-width:900px){section{padding:84px 0}}
h2{font-weight:900;font-size:clamp(1.6rem,5vw,2.4rem);line-height:1.15;letter-spacing:-.01em;margin-bottom:12px}
.lead{color:var(--ink-2);margin:0 0 26px;max-width:38em;font-size:1.04rem}

/* how: three steps, each with a drawing */
#how{background:var(--card);border-radius:40px 40px 0 0}
.steps{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.steps li{display:grid;grid-template-columns:96px 1fr;gap:16px;align-items:start;padding:16px;background:var(--cream);border-radius:28px}
.steps svg{width:96px;height:80px}
.steps h3{font-size:1.18rem;font-weight:900;line-height:1.25;margin:2px 0 6px}
.steps h3 span{display:inline-grid;place-items:center;width:28px;height:28px;margin-right:8px;border-radius:50%;background:var(--red);color:#fff;font-size:.9rem;vertical-align:2px}
.steps p{margin:0;color:var(--ink-2);font-size:.98rem}
@media(min-width:900px){
  .steps{grid-template-columns:repeat(3,1fr);gap:24px}
  .steps li{grid-template-columns:1fr;padding:26px;border-radius:34px}
  .steps svg{width:150px;height:118px;margin-bottom:6px}
}

/* what: the deadlines, on a folding rule */
#what{background:var(--cream)}
.what-grid{display:grid;gap:26px}
@media(min-width:900px){.what-grid{grid-template-columns:4fr 7fr;gap:56px;align-items:center}}
.rule{position:relative;height:46px;margin:6px 0 18px;border-radius:10px;background:
  repeating-linear-gradient(90deg,var(--ink) 0 2px,transparent 2px 14px) 0 0/100% 12px no-repeat,
  repeating-linear-gradient(90deg,var(--ink) 0 2px,transparent 2px 70px) 0 0/100% 20px no-repeat,
  #f3c64d;box-shadow:0 4px 0 #c99a22}
.rule::before,.rule::after{content:"";position:absolute;top:26px;width:10px;height:10px;border-radius:50%;background:#c99a22}
.rule::before{left:33%}.rule::after{left:66%}
.marks{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.marks li{display:grid;grid-template-columns:104px 1fr;gap:14px;align-items:center;padding:14px 16px;border-radius:22px;background:var(--card)}
.marks b{display:block;font-weight:900;font-size:1.65rem;line-height:1;color:var(--red)}
.marks p{margin:0;font-size:.97rem;color:var(--ink-2)}
.marks strong{color:var(--ink)}
@media(min-width:900px){.marks{grid-template-columns:repeat(3,1fr)}.marks li{grid-template-columns:1fr;gap:8px;padding:20px}.marks b{font-size:2rem}}
.what-note{margin:18px 0 0;font-size:.92rem;color:var(--mute)}

/* price beside its questions */
#price{background:var(--card);border-radius:40px 40px 0 0}
#price + .band{background:var(--card);padding-top:0}
.price-grid{display:grid;gap:28px}
@media(min-width:900px){.price-grid{grid-template-columns:5fr 6fr;gap:56px;align-items:start}}
.plan{background:var(--red);color:#fff;border-radius:36px;padding:28px 24px;position:relative;overflow:hidden}
.plan::after{content:"";position:absolute;right:-50px;top:-50px;width:170px;height:170px;border-radius:50%;background:rgba(255,255,255,.08)}
.plan h2{color:#fff;font-size:1.35rem;margin:0 0 6px}
.plan .amount{font-size:3.2rem;font-weight:900;line-height:1.05;margin:4px 0 2px}
.plan .amount small{font-size:1.05rem;font-weight:700;opacity:.9}
.plan ul{list-style:none;padding:0;margin:16px 0 22px;display:grid;gap:8px}
.plan li{display:flex;gap:10px;align-items:flex-start}
.plan li svg{width:20px;height:20px;flex:none;margin-top:3px}
.plan .fine{margin:14px 0 0;font-size:.88rem;opacity:.9}
@media(min-width:900px){.plan{padding:40px 38px}}
.faq h2{font-size:1.5rem}
.faq dl{margin:0}
.faq dt{font-weight:900;font-size:1.06rem;margin-top:16px}
.faq dt:first-child{margin-top:4px}
.faq dd{margin:4px 0 0;color:var(--ink-2);font-size:.98rem}
.faq .more{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;font-weight:800}

/* band */
.band{padding:0 0 56px;background:var(--cream)}
.band-box{display:grid;gap:18px;align-items:center;background:var(--sand);border-radius:40px;padding:30px 24px}
.band-box h2{margin:0}
.band-box svg{width:84px;height:84px}
@media(min-width:900px){.band{padding-bottom:84px}.band-box{grid-template-columns:auto 1fr auto;gap:32px;padding:40px 48px}.band-box svg{width:104px;height:104px}}

/* footer */
footer.site{padding:28px 0 40px;font-size:.92rem;color:var(--ink-2);background:var(--cream)}
footer.site .wrap{display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between}
footer.site a{color:var(--ink-2)}
footer.site a:hover{color:var(--red)}
footer.site .links a{display:inline-block;padding:10px 6px;min-width:44px;text-align:center}

/* /questions/ */
.page-head{padding:28px 0 8px}
.page-head h1{font-weight:900;font-size:clamp(1.9rem,6vw,3rem);line-height:1.12;margin-bottom:10px}
.qa{display:grid;gap:14px}
@media(min-width:900px){.qa{grid-template-columns:1fr 1fr;gap:18px}}
.qa div{background:var(--card);border-radius:24px;padding:20px 22px}
.qa h3{font-size:1.1rem;font-weight:900;margin-bottom:6px}
.qa p{margin:0;color:var(--ink-2)}
.panel{background:var(--card);border-radius:32px;padding:24px 22px}
@media(min-width:900px){.panel{padding:32px 34px}}
.two{display:grid;gap:20px}
@media(min-width:900px){.two{grid-template-columns:1fr 1fr;gap:24px}}
.two>*{min-width:0}
.list,.row-top,.row-title{overflow-wrap:anywhere}
.row-title a{display:inline-block;padding:10px 0;margin:-10px 0}
.panel h2{font-size:1.5rem}
.list{list-style:none;margin:0;padding:0}
.list li{padding:12px 0;border-top:2px dashed var(--line)}
.list li:first-child{border-top:0}
.row-top{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;font-size:.82rem;color:var(--mute)}
.row-title{margin:4px 0 0;font-weight:700;line-height:1.4}
.search{display:flex;gap:8px;margin:0 0 12px}
.search input{flex:1;min-width:0;min-height:48px;padding:10px 16px;border:2px solid var(--line);border-radius:14px;font:inherit;background:#fff;color:var(--ink)}
.search input:focus{border-color:var(--red);outline:none}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.chip{min-height:44px;padding:8px 14px;border:0;border-radius:12px;background:var(--sand);color:var(--ink);font:700 .9rem var(--round);cursor:pointer}
.chip:hover{background:var(--sand-2)}
.msg{padding:12px 16px;border-radius:14px;margin:0}
.msg.info{background:var(--warn-soft);color:var(--warn)}
.msg.ok{background:var(--ok-soft);color:var(--ok)}
.facts{display:grid;gap:14px}
@media(min-width:900px){.facts{grid-template-columns:repeat(3,1fr);gap:18px}}
.fact{background:var(--card);border-radius:24px;padding:20px 22px}
.fact b{display:block;font-size:1.6rem;font-weight:900;color:var(--red);line-height:1.1}
.fact p{margin:8px 0;color:var(--ink-2)}
.sources{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:10px 0 14px}
.sources a{display:inline-flex;align-items:center;min-height:44px;padding:6px 14px;border-radius:12px;background:var(--cream);font-weight:700;text-decoration:none}
