/* styles.css (M01 – FÜHRUNGSDESIGN · Farbschema nach Referenzbild)
   Look: Deep Plum UI · Clay-Band · Ochre Headlines · Olive CTA
   Replace: komplette Datei 1:1
*/
:root{
  /* =========================
     M01 – FÜHRUNGSDESIGN
     Referenz-Look (Plum/Clay/Ochre/Olive)
     ========================= */

  /* Core */
  --bg: #140f18;             /* tiefes Plum-Black (Seitenhintergrund) */
  --fg: #f3efe9;             /* warmes Off-White */
  --muted: rgba(243,239,233,.72);

  /* Palette (aus Referenz) */
  --plum:  #4e2a55;          /* Deep Plum UI */
  --plum2: #6a3a76;          /* Plum Highlight */
  --clay:  #8a6240;          /* Clay Brown Band */
  --ochre: #c66a2e;          /* Rusty Ochre (Headlines/Icons) */
  --olive: #6b7a3a;          /* Olive Green (CTA / Success) */

  /* Roles */
  --accent:  var(--ochre);   /* Headlines / Akzent */
  --accent2: var(--olive);   /* CTA */
  --earth:   var(--clay);    /* Flächen/Band */
  --signal:  var(--plum2);   /* Glows/Marker */

  /* UI tokens */
  --panel:  rgba(78,42,85,.28);
  --panel2: rgba(138,98,64,.22);
  --stroke: rgba(243,239,233,.12);
  --stroke2:rgba(198,106,46,.30);

  --radius: 18px;
  --shadow: 0 18px 60px rgba(0,0,0,.52);
  --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;

  /* Referenz-Feeling: plum UI + clay band vibes */
  background:
    radial-gradient(900px 720px at 22% 10%, rgba(106,58,118,.28), transparent 58%),
    radial-gradient(880px 720px at 86% 14%, rgba(198,106,46,.18), transparent 60%),
    radial-gradient(980px 820px at 60% 118%, rgba(138,98,64,.22), transparent 62%),
    linear-gradient(180deg, rgba(78,42,85,.22), transparent 42%),
    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: var(--fg);
  color: #0b0b0b;
  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(78,42,85,.60), rgba(138,98,64,.22));
  border: 1px solid rgba(243,239,233,.14);
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.brandtext{ display:flex; flex-direction:column; gap:2px; }
.brand{ font-weight: 900; 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 rgba(243,239,233,.14);
  background: linear-gradient(145deg, rgba(78,42,85,.30), rgba(255,255,255,.04));
  cursor: pointer;
  user-select: none;
}
.ghost:hover{ filter: brightness(1.03); text-decoration:none; }
.ghostText{ font-weight: 800; font-size: .95rem; }

.dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(198,106,46,.14);
}

/* HERO */
.hero{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 14px 0 10px;
}

.kicker{
  margin:0 0 8px;
  color: rgba(243,239,233,.70);
  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: var(--accent);
  text-shadow: 0 20px 90px rgba(198,106,46,.18);
}

.lead{
  margin: 0;
  font-size: var(--lead);
  color: rgba(243,239,233,.72);
  max-width: 62ch;
}
.lead strong{ color: var(--fg); font-weight: 900; }

.microProof{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.pill{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(243,239,233,.14);
  background: linear-gradient(145deg, rgba(78,42,85,.28), rgba(255,255,255,.04));
  color: rgba(243,239,233,.78);
  font-weight: 800;
  font-size: .92rem;
}

.ctaRow{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Buttons (Referenz: Olive CTA) */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(107,122,58,.60);
  background: linear-gradient(145deg, rgba(107,122,58,.34), rgba(255,255,255,.06));
  box-shadow: var(--shadow);
  font-weight: 900;
}
.btn:hover{ filter: brightness(1.04); text-decoration:none; }

.btn.secondary{
  border-color: rgba(198,106,46,.52);
  background: linear-gradient(145deg, rgba(198,106,46,.22), rgba(255,255,255,.05));
}

/* TOC */
.toc{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.toc a{
  padding: 10px 12px;
  border: 1px solid rgba(243,239,233,.14);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(78,42,85,.22), rgba(255,255,255,.04));
  color: rgba(243,239,233,.78);
  font-weight: 900;
  font-size: .92rem;
}
.toc a:hover{ text-decoration:none; filter: brightness(1.04); color: var(--fg); }

/* Sections */
.main{ padding-bottom: 44px; }
.section{ padding: 34px 0; }

/* Clay band feel like the tablet background stripe */
.section.alt{
  background:
    linear-gradient(180deg, transparent, rgba(138,98,64,.18), 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: 900; }

.big{
  font-size: 1.08rem;
  color: rgba(243,239,233,.72);
  margin: 10px 0 0;
  max-width: 70ch;
}
.muted{ color: rgba(243,239,233,.70); font-weight: 650; }

.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(243,239,233,.14);
  background: linear-gradient(145deg, rgba(78,42,85,.42), rgba(0,0,0,.18));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

/* Clay cards (Band / Fläche) */
.card.earth{
  border-color: rgba(138,98,64,.38);
  background: linear-gradient(145deg, rgba(138,98,64,.34), rgba(78,42,85,.20));
}

/* Softer cards */
.card.soft{
  border-color: rgba(243,239,233,.12);
  background: linear-gradient(145deg, rgba(106,58,118,.26), rgba(78,42,85,.22));
}

.glow{ position: relative; overflow:hidden; }
.glow::before{
  content:"";
  position:absolute;
  inset:-140px -140px auto auto;
  width: 420px; height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(198,106,46,.22), transparent 64%);
  transform: rotate(16deg);
  pointer-events:none;
}

.divider{ height: 1px; background: rgba(243,239,233,.12); margin: 14px 0; }

.chip{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(198,106,46,.34);
  color: rgba(243,239,233,.80);
  width: fit-content;
  background: linear-gradient(145deg, rgba(198,106,46,.16), rgba(255,255,255,.04));
  font-weight: 900;
  font-size: .86rem;
}
.chip.is-hook{
  border-color: rgba(107,122,58,.40);
  background: linear-gradient(145deg, rgba(107,122,58,.16), rgba(255,255,255,.04));
}

.cardText{ margin: 10px 0 0; color: rgba(243,239,233,.72); font-weight: 650; }

.metric{ display:flex; gap: 12px; align-items:flex-start; }
.metricNum{
  font-weight: 950;
  font-size: 1.8rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.metricTxt{ color: rgba(243,239,233,.74); font-weight: 650; }

.miniGrid{ display:grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.mini{
  border: 1px solid rgba(243,239,233,.14);
  background: linear-gradient(145deg, rgba(78,42,85,.26), rgba(0,0,0,.14));
  border-radius: 16px;
  padding: 12px;
}
.mini.earth{
  border-color: rgba(138,98,64,.34);
  background: linear-gradient(145deg, rgba(138,98,64,.22), rgba(78,42,85,.18));
}
.miniTitle{ font-weight: 950; margin-bottom: 6px; }
.miniText{ margin:0; color: rgba(243,239,233,.74); font-weight: 700; }

.bullets{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(243,239,233,.74);
  font-weight: 650;
}
.bullets li{ margin: 8px 0; }

/* Steps */
.steps{ margin-top: 10px; display:grid; gap: 10px; }
.step{
  border: 1px solid rgba(243,239,233,.14);
  background: linear-gradient(145deg, rgba(78,42,85,.22), rgba(0,0,0,.12));
  border-radius: 14px;
  padding: 12px;
}
.stepTitle{ font-weight: 950; margin-bottom: 6px; color: var(--fg); }
.step p{ margin:0; color: rgba(243,239,233,.74); font-weight: 700; }

/* Rows */
.stack{ display:flex; flex-direction:column; gap: 10px; }
.row{
  display:grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  border: 1px solid rgba(243,239,233,.14);
  background: linear-gradient(145deg, rgba(78,42,85,.26), rgba(0,0,0,.14));
  border-radius: 16px;
  padding: 12px;
}
.num{
  width: 48px; height: 48px;
  border-radius: 16px;
  display:grid; place-items:center;
  border: 1px solid rgba(198,106,46,.34);
  background: linear-gradient(145deg, rgba(198,106,46,.16), rgba(255,255,255,.04));
  font-weight: 950;
  color: var(--fg);
}
.rowBody p{ margin: 6px 0 0; color: rgba(243,239,233,.74); font-weight: 650; }
.rowMeta{ margin-top: 10px; color: rgba(243,239,233,.74); font-weight: 750; font-size: .92rem; }

.badge{
  display:inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(198,106,46,.34);
  background: linear-gradient(145deg, rgba(198,106,46,.16), rgba(255,255,255,.04));
  font-weight: 950;
}

/* Examples / Callouts */
.example{
  margin-top: 10px;
  border: 1px dashed rgba(198,106,46,.40);
  border-radius: 14px;
  padding: 10px;
  background: rgba(0,0,0,.10);
}
.exampleLabel{
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
  color: rgba(243,239,233,.72);
  margin-bottom: 6px;
}
.example p{ margin:0; color: var(--fg); font-weight: 850; }

.callout{
  margin-top: 12px;
  border: 1px solid rgba(107,122,58,.34);
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(107,122,58,.16), rgba(78,42,85,.16));
}
.callout.signal{
  border-color: rgba(198,106,46,.34);
  background: linear-gradient(145deg, rgba(198,106,46,.14), rgba(78,42,85,.16));
}
.calloutTitle{ font-weight: 950; margin-bottom: 6px; color: var(--fg); }
.calloutText{ margin: 0 0 8px; color: rgba(243,239,233,.74); font-weight: 650; }
.calloutText:last-child{ margin-bottom:0; }

/* Checklist */
.checkGrid{ display:grid; grid-template-columns: 1fr; gap: 12px; }
.tick{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(243,239,233,.14);
  background: linear-gradient(145deg, rgba(78,42,85,.22), rgba(0,0,0,.12));
  margin: 8px 0;
  cursor: pointer;
  user-select: none;
}
.tick input{ margin-top: 3px; accent-color: var(--olive); }
.tick span{ color: rgba(243,239,233,.74); font-weight: 750; }

/* 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(243,239,233,.14);
  background: linear-gradient(145deg, rgba(78,42,85,.30), rgba(0,0,0,.14));
  text-decoration:none;
}
.module-list a:hover{ filter: brightness(1.04); }
.module-list strong{ font-weight: 950; color: var(--fg); }
.module-list span{ display:block; margin-top:2px; color: rgba(243,239,233,.72); font-size:.95rem; font-weight:700; }
.module-list .is-current a{
  border-color: rgba(107,122,58,.42);
  background: linear-gradient(145deg, rgba(107,122,58,.18), rgba(78,42,85,.22));
}

/* Bundle */
.bundleCard{
  border: 1px solid rgba(243,239,233,.14);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(138,98,64,.20), rgba(78,42,85,.26));
  box-shadow: var(--shadow);
  padding: 16px;
  display:grid;
  gap: 14px;
}
.bundleBullets{ margin: 12px 0 0; padding-left: 18px; color: rgba(243,239,233,.74); font-weight: 750; }
.bundleCTA{
  border: 1px solid rgba(198,106,46,.34);
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(198,106,46,.14), rgba(78,42,85,.22));
}
.bundleTitle{ font-weight: 950; color: var(--fg); }
.bundleNote{ color: rgba(243,239,233,.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(243,239,233,.72); font-weight: 650; font-size: .95rem; }

/* Footer (gleich lassen – wird überall reused) */
.foot{ padding: 28px 0 10px; }
.footGrid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px 0 10px;
  border-top: 1px solid rgba(243,239,233,.12);
}
.footTitle{ font-weight: 950; color: var(--fg); }
.footText{ color: rgba(243,239,233,.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(243,239,233,.14);
  background: linear-gradient(145deg, rgba(78,42,85,.40), rgba(138,98,64,.18));
}
.footerLine{ font-weight: 900; color: var(--fg); }
.footerLinks{
  margin-top: 4px;
  color: rgba(243,239,233,.74);
  font-weight: 800;
  font-size: .95rem;
}
.footerLinks a{ text-decoration: underline; text-underline-offset: 3px; }
.sep{ margin: 0 10px; opacity: .6; }

.tiny{
  color: rgba(243,239,233,.70);
  font-size: .9rem;
  padding: 10px 0 0;
  border-top: 1px solid rgba(243,239,233,.10);
}

/* Layout */
@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); }
  .checkGrid{ grid-template-columns: 1fr 1fr; }
  .footGrid{ grid-template-columns: 1fr 1fr 1fr; }
  .bundleCard{ grid-template-columns: 1.05fr .95fr; align-items:center; }
}
