/* ============================================================
   Decidas — shared stylesheet
   Direction: strategist's dossier. Ink + parchment + brass.
   Type: Spectral (display) · IBM Plex Sans (body) · IBM Plex Mono (labels/tool codes)
   ============================================================ */

:root{
  --ink:      #14181f;   /* base background — slate-black */
  --ink-2:    #0e1116;   /* deeper wells */
  --ink-3:    #1b212b;   /* raised dark cards */
  --bone:     #ece7da;   /* primary text on dark */
  --bone-2:   #f5f1e7;   /* bright parchment panel */
  --bone-3:   #ffffff;   /* legal sheet */
  --slate:    #98a1ad;   /* secondary text on dark */
  --slate-2:  #5b6472;   /* secondary text on parchment */
  --brass:    #c9a24b;   /* accent */
  --brass-dp: #a8842f;   /* accent, deeper */
  --line:     rgba(236,231,218,.14);
  --line-2:   rgba(236,231,218,.28);
  --line-ink: rgba(20,24,31,.16);

  --maxw: 68rem;
  --pad: clamp(1.25rem, 5vw, 3rem);

  --f-display: "Spectral", Georgia, serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4:  clamp(2.6rem, 1.9rem + 3.4vw, 4.6rem);
}

*{ box-sizing: border-box; }

html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation: none !important; transition: none !important; }
}

h1,h2,h3{ font-family: var(--f-display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p{ margin: 0; }
a{ color: inherit; }

/* ---------- layout ---------- */
.wrap{ width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.section{ padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight{ padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.eyebrow{
  font-family: var(--f-mono);
  font-size: var(--step--1);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.1rem;
  display: block;
}
.eyebrow--ink{ color: var(--brass-dp); }

.lede{ color: var(--slate); font-size: var(--step-1); line-height: 1.5; max-width: 40ch; }

/* ---------- header ---------- */
.site-head{
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head__row{
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem;
}
.brand{
  font-family: var(--f-display);
  font-weight: 600; font-size: 1.28rem;
  letter-spacing: .04em;
  text-decoration: none; color: var(--bone);
}
.brand::before{ content: "◆"; color: var(--brass); font-size: .62em; margin-right: .5em; vertical-align: .18em; }
.site-head__cta{
  font-family: var(--f-mono); font-size: var(--step--1);
  letter-spacing: .04em; text-decoration: none;
  color: var(--bone); border: 1px solid var(--line-2);
  padding: .5rem .9rem; border-radius: 2px;
  transition: border-color .2s, color .2s;
}
.site-head__cta:hover{ border-color: var(--brass); color: var(--brass); }
@media (max-width: 34rem){ .site-head__cta{ display: none; } }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-weight: 500;
  font-size: var(--step-0); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  padding: .95rem 1.6rem; border-radius: 2px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s;
}
.btn--primary{ background: var(--brass); color: #1a1508; border-color: var(--brass); }
.btn--primary:hover{ background: #d9b25e; transform: translateY(-1px); }
.btn--ghost{ background: transparent; color: var(--bone); border-color: var(--line-2); }
.btn--ghost:hover{ border-color: var(--brass); color: var(--brass); }
.btn__price{ font-variant-numeric: tabular-nums; }

/* ---------- hero ---------- */
.hero{ position: relative; overflow: hidden; padding-block: clamp(4rem, 12vw, 8.5rem) clamp(3.5rem,9vw,6.5rem); }
.hero__map{
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; opacity: .5;
  -webkit-mask-image: linear-gradient(to left, #000 20%, transparent 78%);
          mask-image: linear-gradient(to left, #000 20%, transparent 78%);
}
.hero__inner{ position: relative; z-index: 1; max-width: 46rem; }
.hero__claim{
  font-size: var(--step-4); font-weight: 500;
  letter-spacing: -.02em; text-wrap: balance; margin: 0 0 1.4rem;
}
.hero__claim em{ font-style: italic; color: var(--brass); }
.hero__sub{ color: var(--slate); font-size: var(--step-1); line-height: 1.5; max-width: 34ch; margin: 0 0 2.2rem; }
.hero__actions{ display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: center; }
.hero__scroll{
  font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .04em;
  color: var(--slate); text-decoration: none; border-bottom: 1px solid var(--line-2);
  padding-bottom: .15rem; transition: color .2s, border-color .2s;
}
.hero__scroll:hover{ color: var(--brass); border-color: var(--brass); }

.fade-up{ animation: fadeUp .7s ease both; }
.fade-up--2{ animation-delay: .08s; }
.fade-up--3{ animation-delay: .16s; }
.fade-up--4{ animation-delay: .24s; }
@keyframes fadeUp{ from{ opacity: 0; transform: translateY(14px); } to{ opacity: 1; transform: none; } }

/* ---------- for-whom ---------- */
.forwho{ border-top: 1px solid var(--line); }
.forwho__h{ font-size: var(--step-2); max-width: 20ch; margin: 0 0 1.1rem; }
.forwho__p{ color: var(--slate); max-width: 52ch; }
.forwho__p + .forwho__p{ margin-top: 1rem; }

/* ---------- contrast (offiziell / tatsächlich) ---------- */
.contrast{ background: var(--ink-2); border-block: 1px solid var(--line); }
.contrast__grid{ display: grid; gap: 1.6rem; }
@media (min-width: 46rem){ .contrast__grid{ grid-template-columns: 1fr 1fr; gap: 2.4rem; } }
.contrast__col{ padding: 1.7rem 1.7rem 1.9rem; border: 1px solid var(--line); border-radius: 3px; background: color-mix(in srgb, var(--ink-3) 60%, transparent); }
.contrast__label{ font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin: 0 0 .7rem; }
.contrast__col--real .contrast__label{ color: var(--brass); }
.contrast__line{ font-family: var(--f-display); font-size: var(--step-1); line-height: 1.3; }
.contrast__note{ color: var(--slate); max-width: 60ch; margin: 2rem auto 0; text-align: center; font-size: var(--step-1); line-height: 1.5; }
.contrast__note b{ color: var(--bone); font-weight: 500; }

/* ---------- system panel (the light dossier lifted out of the dark) ---------- */
.system{ padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.system__panel{
  background: var(--bone-2); color: #23272e;
  border-radius: 6px;
  padding: clamp(1.7rem, 5vw, 3.4rem);
  box-shadow: 0 2px 0 rgba(0,0,0,.4), 0 40px 80px -40px rgba(0,0,0,.7);
  border-top: 3px solid var(--brass);
}
.system__panel .eyebrow{ color: var(--brass-dp); }
.system__h{ font-size: var(--step-3); color: #1a1d23; margin: 0 0 .8rem; }
.system__intro{ color: var(--slate-2); max-width: 54ch; margin: 0 0 2.4rem; }

.comp{ border-top: 1px solid var(--line-ink); padding-block: 1.8rem; }
.comp:last-of-type{ padding-bottom: .4rem; }
.comp__head{ display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.comp__idx{ font-family: var(--f-mono); font-size: var(--step--1); color: var(--brass-dp); letter-spacing: .1em; }
.comp__name{ font-family: var(--f-display); font-size: var(--step-2); color: #1a1d23; font-weight: 500; }
.comp__do{ color: var(--slate-2); margin: .55rem 0 0; max-width: 58ch; }

/* tool grid W1–W8 */
.tools{ list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: .1rem; }
@media (min-width: 40rem){ .tools{ grid-template-columns: 1fr 1fr; gap: .1rem 2.4rem; } }
.tool{ display: grid; grid-template-columns: 2.6rem 1fr; gap: .1rem .7rem; padding: .7rem 0; border-top: 1px dotted var(--line-ink); }
.tool__code{ font-family: var(--f-mono); font-weight: 500; color: var(--brass-dp); font-size: var(--step--1); padding-top: .12rem; }
.tool__name{ font-weight: 600; color: #23272e; font-size: var(--step-0); }
.tool__do{ grid-column: 2; color: var(--slate-2); font-size: var(--step--1); line-height: 1.45; }

/* ---------- price ---------- */
.price{ text-align: center; }
.price__anchor{ font-family: var(--f-mono); color: var(--slate); font-size: var(--step-1); }
.price__anchor s{ text-decoration-color: var(--brass); text-decoration-thickness: 2px; }
.price__now{ font-family: var(--f-display); font-size: var(--step-4); color: var(--bone); line-height: 1; margin: .6rem 0 .3rem; }
.price__now span{ color: var(--brass); }
.price__tag{ font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.price__reader{ margin: 2rem auto 0; max-width: 50ch; color: var(--slate); }
.price__reader code{ font-family: var(--f-mono); color: var(--brass); background: rgba(201,162,75,.1); border: 1px solid rgba(201,162,75,.3); padding: .1rem .45rem; border-radius: 3px; letter-spacing: .06em; }
.price__actions{ margin-top: 2.4rem; display: flex; justify-content: center; }

/* ---------- guarantee seal ---------- */
.guarantee{ background: var(--ink-2); border-block: 1px solid var(--line); }
.seal{
  border: 1px solid var(--brass); border-radius: 4px;
  padding: clamp(1.6rem, 5vw, 2.8rem);
  max-width: 46rem; margin-inline: auto; text-align: center;
  background: color-mix(in srgb, var(--brass) 6%, transparent);
}
.seal__badge{ font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin: 0 0 1rem; }
.seal__h{ font-size: var(--step-2); margin: 0 0 1rem; }
.seal__p{ color: var(--slate); max-width: 52ch; margin-inline: auto; }
.seal__p b{ color: var(--bone); font-weight: 500; }

/* ---------- faq ---------- */
.faq__h{ font-size: var(--step-3); margin: 0 0 2rem; }
.qa{ border-top: 1px solid var(--line); }
.qa:last-of-type{ border-bottom: 1px solid var(--line); }
.qa summary{
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--f-display); font-size: var(--step-1); color: var(--bone);
}
.qa summary::-webkit-details-marker{ display: none; }
.qa summary::after{ content: "+"; font-family: var(--f-mono); color: var(--brass); font-size: 1.3em; line-height: 1; transition: transform .2s; }
.qa[open] summary::after{ content: "–"; }
.qa summary:hover{ color: var(--brass); }
.qa__a{ color: var(--slate); padding: 0 0 1.4rem; max-width: 62ch; line-height: 1.65; }
.qa__a code{ font-family: var(--f-mono); color: var(--brass); }

/* ---------- footer ---------- */
.site-foot{ border-top: 1px solid var(--line); background: var(--ink-2); }
.site-foot__row{ display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-block: 2.2rem; }
.site-foot__brand{ font-family: var(--f-display); font-size: 1.1rem; letter-spacing: .04em; color: var(--bone); }
.site-foot__nav{ display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem; }
.site-foot__nav a{ font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .04em; color: var(--slate); text-decoration: none; transition: color .2s; }
.site-foot__nav a:hover{ color: var(--brass); }
.site-foot__fine{ color: var(--slate-2); font-size: var(--step--1); margin-top: .4rem; width: 100%; }

/* ---------- legal / delivery sheet ---------- */
.sheet-page{ padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.sheet{
  background: var(--bone-3); color: #23272e;
  border-radius: 6px; border-top: 3px solid var(--brass);
  padding: clamp(1.6rem, 5vw, 3.4rem);
  max-width: 46rem; margin-inline: auto;
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.7);
}
.sheet h1{ font-size: var(--step-3); color: #1a1d23; margin: 0 0 .4rem; }
.sheet h2{ font-family: var(--f-display); font-size: var(--step-1); color: #1a1d23; font-weight: 600; margin: 2rem 0 .6rem; }
.sheet h3{ font-family: var(--f-body); font-size: var(--step-0); font-weight: 600; color: #23272e; margin: 1.3rem 0 .3rem; }
.sheet p, .sheet li{ color: #3c424c; line-height: 1.6; }
.sheet p{ margin: .5rem 0; }
.sheet ul{ margin: .5rem 0; padding-left: 1.2rem; }
.sheet li{ margin: .3rem 0; }
.sheet a{ color: var(--brass-dp); }
.sheet__kicker{ font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-dp); margin: 0 0 1.4rem; display: block; }
.sheet__note{ background: #f4f1e7; border-left: 3px solid var(--brass); padding: .9rem 1.1rem; margin: 1.4rem 0; font-size: var(--step--1); color: #5b6472; border-radius: 0 3px 3px 0; }
.sheet .ph{ background: #fff4d6; border: 1px dashed var(--brass-dp); padding: .08rem .4rem; border-radius: 3px; font-family: var(--f-mono); font-size: .9em; color: #6b551e; }
.sheet__back{ display: inline-block; margin-top: 2rem; font-family: var(--f-mono); font-size: var(--step--1); color: var(--brass-dp); text-decoration: none; }
.sheet__back:hover{ text-decoration: underline; }

/* ---------- thank-you ---------- */
.thanks__seal{ text-align: center; margin-bottom: 2rem; }
.thanks__badge{ font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-dp); }
.dl{ list-style: none; margin: 1.2rem 0; padding: 0; }
.dl li{ display: flex; align-items: baseline; gap: .7rem; padding: .85rem 0; border-top: 1px solid var(--line-ink); }
.dl li::before{ content: "↓"; color: var(--brass-dp); font-family: var(--f-mono); }
.dl b{ color: #1a1d23; }

/* ---------- a11y ---------- */
:where(a,button,summary,input):focus-visible{ outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

::selection{ background: var(--brass); color: #17130a; }

/* Benachrichtigungs-Formular */
.nf-form{
  display:flex; flex-wrap:wrap; gap:.75rem;
  margin:1.75rem 0 1rem; max-width:34rem;
}
.nf-label{
  flex:0 0 100%; margin-bottom:-.25rem;
  font-size:.9rem; opacity:.75;
}
.nf-input{
  flex:1 1 16rem; min-width:0;
  padding:.85rem 1rem;
  font:inherit; color:inherit;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(201,162,75,.45);
  border-radius:6px;
}
.nf-input::placeholder{ color:currentColor; opacity:.45; }
.nf-input:focus{
  outline:2px solid #c9a24b; outline-offset:2px;
  border-color:#c9a24b;
}
.nf-btn{
  flex:0 0 auto; padding:.85rem 1.6rem;
  font:inherit; font-weight:600; cursor:pointer;
  color:#14181f; background:#c9a24b;
  border:0; border-radius:6px;
}
.nf-btn:hover{ filter:brightness(1.08); }
.nf-btn:focus-visible{ outline:2px solid #c9a24b; outline-offset:3px; }
.nf-fineprint{ max-width:34rem; font-size:.85rem; opacity:.7; }

@media (max-width:480px){
  .nf-input, .nf-btn{ flex:1 1 100%; }
}