/* styles.css (M09 – FARBDESIGN · Referenz-Farbwelt)
   Look: glossy red stage + gold brand + 3 emotion chips
*/
:root{
  /* Core */
  --bg: #0f0808;
  --fg: #fbf3ef;
  --muted: rgba(251,243,239,.76);

  /* Stage palette (aus Referenzbild abgeleitet) */
  --red1: #b10f12;  /* deep stage */
  --red2: #d0181c;  /* vivid */
  --red3: #8a0a0b;  /* shadow */
  --gold: #e0a43a;  /* brand heart / accent */
  --cream:#f4d7c8;  /* surfaces / soft text */

  /* Emotion chips */
  --warm:  #f08a2a; /* Wärme */
  --trust: #3a61b7; /* Vertrauen */
  --fun:   #d23a8c; /* Spaß */

  /* Roles */
  --accent:  var(--gold);
  --accent2: var(--warm);
  --focus:   var(--trust);
  --spark:   var(--fun);

  /* UI tokens */
  --panel:  rgba(255,255,255,.12);
  --panel2: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.16);
  --stroke2:rgba(224,164,58,.22);

  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --max: 1120px;

  --h1: clamp(2.2rem, 4.6vw, 3.35rem);
  --h2: clamp(1.55rem, 2.4vw, 2.1rem);
  --lead: clamp(1.05rem, 1.25vw, 1.2rem);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--fg);
  line-height: 1.5;

  background:
    radial-gradient(900px 800px at 75% 22%, rgba(224,164,58,.14), transparent 68%),
    radial-gradient(820px 720px at 30% 72%, rgba(242,166,120,.10), transparent 66%),
    radial-gradient(720px 620px at 18% 22%, rgba(210,24,28,.22), transparent 64%),
    linear-gradient(180deg, rgba(10,6,6,.58), rgba(10,6,6,.88)),
    radial-gradient(1200px 920px at 50% 0%, rgba(208,24,28,.70), rgba(138,10,11,.72)),
    var(--bg);
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.wrap{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip{
  position:absolute; left:-999px; top:10px;
  background:#fff; color:#000;
  padding:10px 12px;
  border-radius: 12px;
  z-index: 50;
}
.skip:focus{ left: 12px; }

/* TOP */
.top{ padding: 18px 0 26px; }

.brandline{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0 18px;
}

.brandLeft{ display:flex; gap: 12px; align-items:center; }

.mark{
  width: 44px; height: 44px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.brandtext{ display:flex; flex-direction:column; gap:2px; }
.brand{ font-weight: 950; letter-spacing: .02em; }
.tag{ font-size: .92rem; color: var(--muted); }

.topActions{ display:flex; gap:10px; align-items:center; flex-wrap: wrap; }

.ghost{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  backdrop-filter: blur(10px);
  cursor: pointer;
  user-select: none;
}
.ghost:hover{ filter: brightness(1.05); text-decoration:none; }
.ghostText{ font-weight: 900; font-size: .95rem; }

.dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(224,164,58,.14);
}

/* HERO */
.hero{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 14px 0 10px;
}

.kicker{
  margin:0 0 8px;
  color: rgba(251,243,239,.78);
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: .80rem;
}

h1{
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: var(--h1);
  line-height: 1.03;
}

.h1Accent{
  color: rgba(224,164,58,.96);
  text-shadow: 0 22px 90px rgba(224,164,58,.12);
}

.lead{
  margin: 0;
  font-size: var(--lead);
  color: rgba(251,243,239,.78);
  max-width: 62ch;
}
.lead strong{ color: rgba(251,243,239,.98); font-weight: 950; }

.microProof{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.pill{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  color: rgba(251,243,239,.88);
  font-weight: 950;
  font-size: .92rem;
}

.ctaRow{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(244,215,200,.46);
  background: linear-gradient(145deg, rgba(244,215,200,.20), rgba(255,255,255,.06));
  box-shadow: var(--shadow);
  font-weight: 950;
  color: rgba(251,243,239,.94);
}
.btn:hover{ filter: brightness(1.05); text-decoration:none; }

.btn.secondary{
  border-color: rgba(224,164,58,.44);
  background: linear-gradient(145deg, rgba(224,164,58,.18), rgba(255,255,255,.06));
}

/* TOC */
.toc{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.toc a{
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  color: rgba(251,243,239,.90);
  font-weight: 950;
  font-size: .92rem;
}
.toc a:hover{ text-decoration:none; filter: brightness(1.05); }

/* Sections */
.main{ padding-bottom: 44px; }
.section{ padding: 34px 0; }
.section.alt{
  background:
    linear-gradient(180deg, transparent, rgba(255,255,255,.04), transparent);
}

.sectionHead{ display:flex; flex-direction:column; gap: 8px; margin-bottom: 14px; }
h2{ margin: 0; font-size: var(--h2); line-height: 1.15; }
h3{ margin: 0 0 8px; font-size: 1.05rem; letter-spacing: .01em; font-weight: 950; }

.big{
  font-size: 1.08rem;
  color: rgba(251,243,239,.78);
  margin: 10px 0 0;
  max-width: 70ch;
}

.grid2{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items:start;
}
.cards3{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Cards */
.card{
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  backdrop-filter: blur(10px);
}

.card.mist{
  border-color: rgba(224,164,58,.20);
  background: linear-gradient(145deg, rgba(224,164,58,.12), rgba(255,255,255,.06));
}

.card.soft{
  border-color: rgba(244,215,200,.18);
  background: linear-gradient(145deg, rgba(244,215,200,.12), rgba(255,255,255,.06));
}

.glow{ position: relative; overflow:hidden; }
.glow::before{
  content:"";
  position:absolute;
  inset:-170px auto auto -170px;
  width: 520px; height: 520px;
  background: radial-gradient(circle at 35% 35%, rgba(224,164,58,.14), transparent 66%);
  transform: rotate(-10deg);
  pointer-events:none;
}

.divider{ height: 1px; background: rgba(255,255,255,.12); margin: 14px 0; }

.chip{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(224,164,58,.26);
  color: rgba(251,243,239,.92);
  width: fit-content;
  background: linear-gradient(145deg, rgba(224,164,58,.12), rgba(255,255,255,.06));
  font-weight: 950;
  font-size: .86rem;
}
.chip.is-hook{
  border-color: rgba(244,215,200,.26);
  background: linear-gradient(145deg, rgba(244,215,200,.16), rgba(255,255,255,.06));
}

.cardText{ margin: 10px 0 0; color: rgba(251,243,239,.78); font-weight: 650; }

.metric{ display:flex; gap: 12px; align-items:flex-start; }
.metricNum{
  font-weight: 1000;
  font-size: 1.8rem;
  color: rgba(251,243,239,.96);
  letter-spacing: -0.02em;
}
.metricTxt{ color: rgba(251,243,239,.78); font-weight: 650; }

.miniGrid{ display:grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.mini{
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border-radius: 16px;
  padding: 12px;
}
.mini.mist{
  border-color: rgba(224,164,58,.22);
  background: linear-gradient(145deg, rgba(224,164,58,.12), rgba(255,255,255,.06));
}
.miniTitle{ font-weight: 950; margin-bottom: 6px; }
.miniText{ margin:0; color: rgba(251,243,239,.78); font-weight: 700; }

/* Stack rows */
.stack{ display:flex; flex-direction:column; gap: 10px; }
.row{
  display:grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border-radius: 16px;
  padding: 12px;
}
.num{
  width: 48px; height: 48px;
  border-radius: 16px;
  display:grid; place-items:center;
  border: 1px solid rgba(224,164,58,.26);
  background: linear-gradient(145deg, rgba(224,164,58,.20), rgba(255,255,255,.06));
  font-weight: 1000;
  color: rgba(251,243,239,.98);
}
.rowBody p{ margin: 6px 0 0; color: rgba(251,243,239,.78); font-weight: 650; }

/* Example / Callout */
.example{
  margin-top: 10px;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255,255,255,.05);
}
.exampleLabel{
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
  color: rgba(251,243,239,.74);
  margin-bottom: 6px;
}
.example p{ margin:0; color: rgba(251,243,239,.92); font-weight: 850; }

.callout{
  margin-top: 12px;
  border: 1px solid rgba(224,164,58,.22);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(224,164,58,.12), rgba(255,255,255,.06));
}
.callout.signal{
  border-color: rgba(244,215,200,.24);
  background: linear-gradient(145deg, rgba(244,215,200,.14), rgba(255,255,255,.06));
}
.calloutTitle{ font-weight: 950; margin-bottom: 6px; color: rgba(251,243,239,.98); }
.calloutText{ margin: 0; color: rgba(251,243,239,.78); font-weight: 650; }

/* Palette grid */
.palette{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}
.swatch{
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.swatch span{ font-weight: 950; }
.swatch small{ opacity: .82; font-weight: 850; }
.s-red{ background: linear-gradient(145deg, rgba(208,24,28,.42), rgba(138,10,11,.30)); }
.s-gold{ background: linear-gradient(145deg, rgba(224,164,58,.32), rgba(255,255,255,.06)); }
.s-warm{ background: linear-gradient(145deg, rgba(240,138,42,.32), rgba(255,255,255,.06)); }
.s-trust{ background: linear-gradient(145deg, rgba(58,97,183,.30), rgba(255,255,255,.06)); }
.s-fun{ background: linear-gradient(145deg, rgba(210,58,140,.30), rgba(255,255,255,.06)); }

/* Tester chips */
.chipsRow{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.chipBtn{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(251,243,239,.94);
  font-weight: 950;
  cursor: pointer;
}
.chipBtn:hover{ filter: brightness(1.05); }
.chipBtn[aria-pressed="true"]{ outline: 0; box-shadow: 0 0 0 6px rgba(224,164,58,.12), var(--shadow); }

.chipBtn .icon{
  width: 26px; height: 26px;
  border-radius: 10px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}

.chipBtn.warm{ border-color: rgba(240,138,42,.40); background: linear-gradient(145deg, rgba(240,138,42,.26), rgba(255,255,255,.06)); }
.chipBtn.trust{ border-color: rgba(58,97,183,.40); background: linear-gradient(145deg, rgba(58,97,183,.22), rgba(255,255,255,.06)); }
.chipBtn.fun{ border-color: rgba(210,58,140,.40); background: linear-gradient(145deg, rgba(210,58,140,.22), rgba(255,255,255,.06)); }

/* Fields */
.field{ display:block; margin: 12px 0; }
.field span{ display:block; font-weight: 900; color: rgba(251,243,239,.86); margin-bottom: 6px; }

input{
  width: 100%;
  font: inherit;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  padding: 12px 12px;
  outline: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  color: rgba(251,243,239,.96);
}
input:focus{
  border-color: rgba(224,164,58,.46);
  box-shadow: 0 0 0 6px rgba(224,164,58,.12), 0 16px 40px rgba(0,0,0,.22);
}

.hint{
  margin: 10px 0 0;
  color: rgba(251,243,239,.74);
  font-weight: 650;
}

/* Output */
.output{ display:grid; gap: 10px; }
.block{
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 12px;
}
.blockTitle{
  font-weight: 950;
  color: rgba(251,243,239,.92);
  margin-bottom: 6px;
}
.q{
  margin: 8px 0;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  font-weight: 800;
}
.q small{
  display:block;
  margin-top: 6px;
  font-weight: 700;
  color: rgba(251,243,239,.74);
}

/* Module list */
.module-list{ list-style:none; padding:0; margin:0; display:grid; gap: 10px; }
.module-list a{
  display:block;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  text-decoration:none;
}
.module-list a:hover{ filter: brightness(1.05); }
.module-list strong{ font-weight: 950; color: rgba(251,243,239,.96); }
.module-list span{ display:block; margin-top:2px; color: rgba(251,243,239,.74); font-size:.95rem; font-weight:700; }
.module-list .is-current a{
  border-color: rgba(224,164,58,.22);
  background: linear-gradient(145deg, rgba(224,164,58,.12), rgba(255,255,255,.06));
}

/* Footer (reused überall) */
.foot{ padding: 28px 0 10px; }
.footGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px 0 10px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.footTitle{ font-weight: 950; color: rgba(251,243,239,.96); }
.footText{ color: rgba(251,243,239,.74); margin-top: 4px; font-weight: 850; }

.footerBrand{ display:flex; gap: 12px; align-items:center; margin-top: 12px; }
.footerMark{
  width: 44px; height: 44px;
  display:grid; place-items:center;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
}
.footerLine{ font-weight: 950; color: rgba(251,243,239,.96); }
.footerLinks{
  margin-top: 4px;
  color: rgba(251,243,239,.74);
  font-weight: 900;
  font-size: .95rem;
}
.footerLinks a{ text-decoration: underline; text-underline-offset: 3px; }
.sep{ margin: 0 10px; opacity: .6; }

.tiny{
  color: rgba(251,243,239,.74);
  font-size: .9rem;
  padding: 10px 0 0;
  border-top: 1px solid rgba(255,255,255,.12);
}

/* Desktop */
@media (min-width: 860px){
  .hero{ grid-template-columns: 1.05fr .95fr; gap: 18px; align-items:start; }
  .grid2{ grid-template-columns: 1.05fr .95fr; gap: 18px; }
  .cards3{ grid-template-columns: repeat(3, 1fr); }
  .footGrid{ grid-template-columns: 1fr 1fr 1fr; }
  .palette{ grid-template-columns: 1fr 1fr; }
  .chipsRow{ grid-template-columns: repeat(3, 1fr); }
}

/* Light theme (optional) */
[data-theme="light"]{
  --bg: #fff6f2;
  --fg: #14151b;
  --muted: rgba(20,21,27,.70);

  body{
    background:
      radial-gradient(900px 800px at 75% 22%, rgba(224,164,58,.18), transparent 68%),
      radial-gradient(920px 760px at 35% 25%, rgba(208,24,28,.22), transparent 66%),
      linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,246,242,.96)),
      var(--bg);
    color: var(--fg);
  }

  .tag,.lead,.big,.cardText,.hint,.tiny,.footText,.module-list span{ color: rgba(20,21,27,.72); }
  .pill,.toc a,.ghost,.card,.row,.module-list a,.bundleCTA,.swatch,.chipBtn{
    border-color: rgba(20,21,27,.14);
    background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,255,255,.62));
  }
  input{
    color: var(--fg);
    background: rgba(255,255,255,.92);
    border-color: rgba(20,21,27,.14);
  }
}
