/* styles.css (M08 – STRATEGIEDESIGN · Referenz-Farbwelt)
   Look: soft floral haze (rosé / mauve / cream) + warm gold accent
*/
:root{
  /* Core */
  --bg: #120b12;
  --fg: #f6f1ee;
  --muted: rgba(246,241,238,.76);

  /* Palette (aus Referenzbild abgeleitet) */
  --rose:   #d7a6b2;   /* rosé haze */
  --mauve:  #9b6d86;   /* mauve depth */
  --plum:   #6b3f59;   /* plum shadow */
  --cream:  #f3e2d7;   /* warm cream */
  --gold:   #cfa55a;   /* heart accent */
  --peach:  #e7b2a1;   /* soft peach */

  --ink:    #2a1823;
  --glass:  rgba(255,255,255,.12);
  --glass2: rgba(255,255,255,.08);

  /* Roles */
  --accent:  var(--mauve);  /* primary */
  --accent2: var(--gold);   /* action */
  --signal:  var(--peach);  /* highlight */
  --soft:    var(--rose);

  /* UI tokens */
  --panel:  rgba(255,255,255,.12);
  --panel2: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.16);
  --stroke2:rgba(215,166,178,.22);

  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --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;

  /* floral haze */
  background:
    radial-gradient(820px 720px at 18% 18%, rgba(215,166,178,.36), transparent 64%),
    radial-gradient(860px 760px at 78% 22%, rgba(155,109,134,.30), transparent 66%),
    radial-gradient(920px 820px at 70% 82%, rgba(243,226,215,.20), transparent 68%),
    radial-gradient(780px 680px at 30% 80%, rgba(231,178,161,.22), transparent 66%),
    radial-gradient(520px 520px at 52% 40%, rgba(255,255,255,.10), transparent 70%),
    linear-gradient(180deg, rgba(10,8,12,.72), rgba(10,8,12,.92)),
    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(--accent2);
  box-shadow: 0 0 0 7px rgba(207,165,90,.16);
}

/* HERO */
.hero{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 14px 0 10px;
}

.kicker{
  margin:0 0 8px;
  color: rgba(246,241,238,.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(243,226,215,.96);
  text-shadow: 0 22px 90px rgba(215,166,178,.18);
}

.lead{
  margin: 0;
  font-size: var(--lead);
  color: rgba(246,241,238,.78);
  max-width: 62ch;
}
.lead strong{ color: rgba(246,241,238,.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(246,241,238,.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(207,165,90,.55);
  background: linear-gradient(145deg, rgba(207,165,90,.26), rgba(255,255,255,.06));
  box-shadow: var(--shadow);
  font-weight: 950;
  color: rgba(246,241,238,.94);
}
.btn:hover{ filter: brightness(1.05); text-decoration:none; }

.btn.secondary{
  border-color: rgba(155,109,134,.55);
  background: linear-gradient(145deg, rgba(155,109,134,.26), rgba(255,255,255,.06));
  color: rgba(246,241,238,.96);
}

/* 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(246,241,238,.90);
  font-weight: 950;
  font-size: .92rem;
}
.toc a:hover{ text-decoration:none; filter: brightness(1.05); color: rgba(246,241,238,1); }

/* 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(246,241,238,.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(215,166,178,.22);
  background: linear-gradient(145deg, rgba(215,166,178,.14), rgba(255,255,255,.06));
}

.card.soft{
  border-color: rgba(155,109,134,.22);
  background: linear-gradient(145deg, rgba(155,109,134,.14), 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(215,166,178,.18), 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(155,109,134,.26);
  color: rgba(246,241,238,.92);
  width: fit-content;
  background: linear-gradient(145deg, rgba(155,109,134,.12), rgba(255,255,255,.06));
  font-weight: 950;
  font-size: .86rem;
}
.chip.is-hook{
  border-color: rgba(207,165,90,.34);
  background: linear-gradient(145deg, rgba(207,165,90,.18), rgba(255,255,255,.06));
}

.cardText{ margin: 10px 0 0; color: rgba(246,241,238,.78); font-weight: 650; }

.metric{ display:flex; gap: 12px; align-items:flex-start; }
.metricNum{
  font-weight: 1000;
  font-size: 1.8rem;
  color: rgba(246,241,238,.96);
  letter-spacing: -0.02em;
}
.metricTxt{ color: rgba(246,241,238,.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(243,226,215,.22);
  background: linear-gradient(145deg, rgba(243,226,215,.12), rgba(255,255,255,.06));
}
.miniTitle{ font-weight: 950; margin-bottom: 6px; }
.miniText{ margin:0; color: rgba(246,241,238,.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(207,165,90,.26);
  background: linear-gradient(145deg, rgba(207,165,90,.20), rgba(255,255,255,.06));
  font-weight: 1000;
  color: rgba(246,241,238,.98);
}
.rowBody p{ margin: 6px 0 0; color: rgba(246,241,238,.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(246,241,238,.74);
  margin-bottom: 6px;
}
.example p{ margin:0; color: rgba(246,241,238,.92); font-weight: 850; }

.callout{
  margin-top: 12px;
  border: 1px solid rgba(155,109,134,.22);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(155,109,134,.12), rgba(255,255,255,.06));
}
.callout.signal{
  border-color: rgba(207,165,90,.28);
  background: linear-gradient(145deg, rgba(207,165,90,.14), rgba(255,255,255,.06));
}
.calloutTitle{ font-weight: 950; margin-bottom: 6px; color: rgba(246,241,238,.98); }
.calloutText{ margin: 0; color: rgba(246,241,238,.78); font-weight: 650; }

/* Fields */
.field{ display:block; margin: 12px 0; }
.field span{ display:block; font-weight: 900; color: rgba(246,241,238,.86); margin-bottom: 6px; }

input, textarea{
  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(246,241,238,.96);
}
textarea{ resize: vertical; min-height: 120px; }

input:focus, textarea:focus{
  border-color: rgba(207,165,90,.46);
  box-shadow:
    0 0 0 6px rgba(207,165,90,.12),
    0 16px 40px rgba(0,0,0,.22);
}

.hint{
  margin: 10px 0 0;
  color: rgba(246,241,238,.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(246,241,238,.92);
  margin-bottom: 6px;
}
.q{
  margin: 8px 0;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(155,109,134,.18);
  background: linear-gradient(145deg, rgba(155,109,134,.10), rgba(255,255,255,.04));
  font-weight: 800;
}
.q small{
  display:block;
  margin-top: 6px;
  font-weight: 700;
  color: rgba(246,241,238,.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(246,241,238,.96); }
.module-list span{ display:block; margin-top:2px; color: rgba(246,241,238,.74); font-size:.95rem; font-weight:700; }
.module-list .is-current a{
  border-color: rgba(207,165,90,.22);
  background: linear-gradient(145deg, rgba(207,165,90,.12), rgba(255,255,255,.06));
}

/* Bundle */
.bundleCard{
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(215,166,178,.14), rgba(255,255,255,.06));
  box-shadow: var(--shadow);
  padding: 16px;
  display:grid;
  gap: 14px;
}
.bundleBullets{ margin: 12px 0 0; padding-left: 18px; color: rgba(246,241,238,.78); font-weight: 750; }
.bundleCTA{
  border: 1px solid rgba(207,165,90,.22);
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(207,165,90,.12), rgba(255,255,255,.06));
}
.bundleTitle{ font-weight: 950; color: rgba(246,241,238,.96); }
.bundleNote{ color: rgba(246,241,238,.74); font-weight: 750; margin-top: 4px; }
.bigBtn{ width: 100%; margin-top: 12px; padding: 14px 16px; border-radius: 16px; }
.bundleFine{ margin-top: 10px; color: rgba(246,241,238,.74); font-weight: 650; font-size: .95rem; }

/* 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(246,241,238,.96); }
.footText{ color: rgba(246,241,238,.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(246,241,238,.96); }
.footerLinks{
  margin-top: 4px;
  color: rgba(246,241,238,.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(246,241,238,.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; }
  .bundleCard{ grid-template-columns: 1.05fr .95fr; align-items:center; }
}

/* Light theme (optional) */
[data-theme="light"]{
  --bg: #f6f0ef;
  --fg: #14151b;
  --muted: rgba(20,21,27,.70);

  body{
    background:
      radial-gradient(820px 720px at 18% 18%, rgba(215,166,178,.34), transparent 64%),
      radial-gradient(860px 760px at 78% 22%, rgba(155,109,134,.26), transparent 66%),
      radial-gradient(920px 820px at 70% 82%, rgba(243,226,215,.36), transparent 68%),
      radial-gradient(780px 680px at 30% 80%, rgba(231,178,161,.26), transparent 66%),
      radial-gradient(520px 520px at 52% 40%, rgba(255,255,255,.52), transparent 70%),
      linear-gradient(180deg, rgba(255,255,255,.90), rgba(246,240,239,.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,.bundleCard,.bundleCTA{
    border-color: rgba(20,21,27,.14);
    background: linear-gradient(145deg, rgba(255,255,255,.82), rgba(255,255,255,.56));
  }

  input, textarea{
    color: var(--fg);
    background: rgba(255,255,255,.86);
    border-color: rgba(20,21,27,.14);
  }
}
