/* ============================================================
   CHARISMA DECODED — Marken-Seite
   Dunkles Editorial-Design im Look der Funnel-Seiten:
   Schwarz + Electric Blue + Violett-Verläufe, Raster-Struktur
   im Hero, dunkle Programm-Karten mit Glow, Pill-Buttons.
   ============================================================ */

:root {
  --bg: #05060a;            /* Seitengrund (wie Funnel-Seiten) */
  --bg-soft: #0a0c14;
  --card: #10121d;          /* Programm-Karten */
  --card-border: rgba(139, 92, 246, 0.18);
  --ink: #ffffff;
  --muted: #a6aec3;
  --muted-2: #78819a;
  --blue: #2764ff;          /* Flächen: Buttons, Announce */
  --blue-soft: #7ea2ff;     /* Text-Akzent auf Dunkel */
  --violet: #7c3aed;
  --accent-grad: linear-gradient(100deg, #5b8cff, #8b5cf6);
  --line: rgba(255, 255, 255, 0.12);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* feines Korn über der ganzen Seite */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 5px 5px;
  z-index: 1;
}

.wrap {
  position: relative;
  z-index: 2;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 48px);
}

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; }

em { font-style: italic; }

.kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

/* ---- Pill-Buttons (wie .btn der Funnel-Seiten) -------------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.pill--white { background: #fff; color: #0b0d16; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4); }
.pill--blue { background: var(--blue); color: #fff; box-shadow: 0 14px 34px rgba(39, 100, 255, 0.35); }
.pill:hover { transform: translateY(-2px); }
.pill--blue:hover { background: #1e51d8; }

/* ---- Announce (wie Funnel-Seiten) --------------------------- */

.announce {
  position: relative;
  z-index: 3;
  background: var(--blue);
  color: #fff;
}
.announce__inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 12px clamp(22px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
}
.announce__inner b { font-weight: 700; }
.announce .pill { padding: 8px 18px; font-size: 13.5px; flex-shrink: 0; }
@media (max-width: 640px) { .announce__inner span .hide-m { display: none; } }

/* ---- Topbar ------------------------------------------------ */

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 26px 0;
}
.topbar__mark {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}
.topbar__mark span { color: var(--blue-soft); }

/* ---- Hero -------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(64px, 10vw, 130px) 0 clamp(56px, 8vw, 104px);
}

/* Struktur 1: Blau/Violett-Glow, läuft über die volle Breite und
   weich über die Sektionsgrenze hinaus in die Karten-Section hinein */
.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  bottom: -420px;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(58% 44% at 16% 4%, rgba(124, 58, 237, 0.34), transparent 62%),
    radial-gradient(52% 41% at 88% 32%, rgba(39, 100, 255, 0.28), transparent 62%),
    radial-gradient(78% 40% at 44% 64%, rgba(192, 38, 211, 0.15), transparent 70%),
    radial-gradient(60% 34% at 82% 78%, rgba(39, 100, 255, 0.12), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, rgba(0, 0, 0, 0.45) 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 60%, rgba(0, 0, 0, 0.45) 82%, transparent 100%);
}

/* Struktur 2: technisches Raster, nach unten ausgeblendet */
.hero::after {
  content: "";
  position: absolute;
  top: -140px;
  bottom: -220px;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 74px 74px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(120% 92% at 30% 18%, #000 0%, rgba(0, 0, 0, 0.5) 52%, transparent 80%);
  mask-image: radial-gradient(120% 92% at 30% 18%, #000 0%, rgba(0, 0, 0, 0.5) 52%, transparent 80%);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(42px, 8.4vw, 100px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 11em;
  margin: 26px 0 34px;
  text-wrap: balance;
}
.hero h1 em {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 36em;
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--muted);
}
.hero .lead b { color: var(--ink); font-weight: 600; }

/* sanftes Einblenden beim Laden */
.rise { opacity: 0; transform: translateY(18px); animation: rise 0.9s cubic-bezier(0.2, 0.6, 0.2, 1) forwards; }
.rise--2 { animation-delay: 0.12s; }
.rise--3 { animation-delay: 0.24s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---- Manifest (Prinzipien) --------------------------------- */

.manifest { border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0; }

.manifest__grid {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  gap: clamp(34px, 5vw, 52px);
}

.principle {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px 0;
  align-items: baseline;
}
.principle__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-soft);
}
.principle h3 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.principle p {
  grid-column: 2;
  max-width: 34em;
  margin-top: 8px;
  color: var(--muted);
}
@media (max-width: 640px) {
  .principle { grid-template-columns: 1fr; }
  .principle p { grid-column: 1; }
}

/* ---- Programme: große Karten mit Beweis-Bild ---------------- */

.programs { position: relative; padding: clamp(56px, 8vw, 96px) 0; }
/* Trennlinie, die an den Rändern ausläuft statt hart abzuschneiden */
.programs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16) 18%, rgba(255, 255, 255, 0.16) 82%, transparent);
}

.programs h2 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -0.012em;
  line-height: 1.08;
  margin-top: 22px;
  text-wrap: balance;
}
.programs h2 em { color: var(--blue-soft); }

.programs__grid {
  margin-top: clamp(34px, 5vw, 50px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
@media (max-width: 900px) {
  .programs__grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}

.portal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--card);
  color: #fff;
  border: 1px solid var(--card-border);
  border-radius: 28px;
  text-decoration: none;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
/* Glow wie auf den Funnel-Seiten: Violett + Electric Blue */
.portal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 88% -12%, rgba(139, 31, 245, 0.34), transparent 55%),
    radial-gradient(120% 90% at -5% 112%, rgba(39, 100, 255, 0.30), transparent 55%);
}
.portal:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.42);
  box-shadow: 0 38px 84px rgba(0, 0, 0, 0.6);
}

/* Beweis-Bild */
.portal__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0b0d16;
}
.portal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portal:hover .portal__media img { transform: scale(1.04); }
/* weicher Übergang ins Karten-Dunkel */
.portal__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0) 45%, rgba(16, 18, 29, 0.55) 82%, rgba(16, 18, 29, 0.96) 100%);
}
/* anonymisiertes Gesicht — wie auf den Funnel-Seiten */
.blur-spot {
  position: absolute;
  border-radius: 50%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.02);
  z-index: 2;
}

.portal__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  padding: clamp(26px, 3.6vw, 40px);
}

.portal__num {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.62);
}
.portal__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
/* Verlaufs-Akzent wie .accent-text der Funnel-Seiten */
.portal__title span {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.portal__desc {
  color: rgba(235, 238, 248, 0.75);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 30em;
}
.portal .pill { margin-top: auto; }

/* ---- Über -------------------------------------------------- */

.about { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 80px) 0 clamp(56px, 8vw, 96px); }
.about p {
  max-width: 40em;
  margin-top: 20px;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--muted);
}
.about p b { color: var(--ink); font-weight: 600; }

/* ---- Footer: dunkel, wie auf den Funnel-Seiten -------------- */

.sitefooter {
  position: relative;
  z-index: 2;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  color: #fff;
  margin-top: clamp(40px, 6vw, 80px);
  padding: 44px 0 52px;
}
.sitefooter__inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: baseline;
  justify-content: space-between;
}
.sitefooter__logo { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.sitefooter__logo span { color: var(--blue-soft); }
.sitefooter nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.sitefooter nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}
.sitefooter nav a:hover { color: #fff; }
.sitefooter__legal {
  flex-basis: 100%;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

/* ---- Interner Marketing-Block (aktuell ausgeblendet) -------- */

.intern {
  margin: 84px 0 10px;
  padding: 22px 26px;
  border: 1.5px dashed rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}
.intern__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.intern__badge {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #fff;
  color: var(--bg);
  padding: 4px 11px;
  border-radius: 999px;
}
.intern__hint { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.intern__links { display: flex; flex-direction: column; gap: 9px; }
.intern__links a {
  width: fit-content;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}
.intern__links a:hover { color: var(--blue-soft); text-decoration: underline; }
.intern__links a.intern__sub { font-size: 13.5px; color: var(--muted); padding-left: 16px; }
.intern__links a.intern__sub:hover { color: var(--blue-soft); }
