/* ============================================================
   CODE HIVE ACADEMY — Unterseite "Für Eltern"
   Eigenes Layout, gleiches Design-System (Tokens aus style.css)
   ============================================================ */

/* ---------- Page-Intro (kompakt, kein Vollbild-Hero) ---------- */
.phero {
  position: relative;
  padding: 150px 0 84px;
  border-bottom: var(--border);
  overflow: hidden;
  background:
    radial-gradient(120% 85% at 86% 0%, rgba(42,181,185,0.10), transparent 55%),
    var(--bg);
}
/* Technisches Grid im Hintergrund — Signatur, anders als Landing-Hero */
.phero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.6;
  background-image:
    linear-gradient(rgba(42,181,185,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,181,185,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 95% at 72% 0%, #000, transparent 72%);
          mask-image: radial-gradient(120% 95% at 72% 0%, #000, transparent 72%);
}
.phero .wrap { position: relative; z-index: 1; }

.breadcrumb {
  font-family: var(--font-body); font-weight: 600;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 28px;
}
.breadcrumb a { color: var(--grey); transition: color .2s; }
.breadcrumb a:hover { color: var(--teal-light); }
.breadcrumb .sep { margin: 0 9px; color: var(--teal-dark); }
.breadcrumb .cur { color: var(--teal-light); }

.phero__grid {
  display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 56px; align-items: center;
}
.phero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(33px, 5vw, 60px); line-height: 1.0; letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.phero h1 .grad {
  background: linear-gradient(120deg, var(--teal-light), var(--teal-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.phero__lead { color: #d6dad5; font-size: 18px; line-height: 1.62; max-width: 56ch; margin-bottom: 30px; }
.phero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Promise-"Siegel" rechts im Intro */
.seal {
  position: relative; background: var(--card);
  border: 1px solid rgba(42,181,185,0.40); padding: 36px 34px 34px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  box-shadow: var(--glow);
}
.seal::before, .seal::after {
  content: ""; position: absolute; width: 22px; height: 22px;
  border: 2px solid var(--teal-light); opacity: 0.85;
}
.seal::before { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.seal::after { bottom: 10px; right: 10px; border-left: none; border-top: none; }
.seal__tag {
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 11.5px; color: var(--teal-light); margin-bottom: 16px;
  display: block;
}
.seal__text { font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 1.22; }
.seal__sub { color: var(--grey); font-size: 13.5px; margin-top: 14px; line-height: 1.5; }

@media (max-width: 880px) {
  .phero { padding: 128px 0 64px; }
  .phero__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Compare: Reiner Konsum vs. Code Hive ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.cmp {
  padding: 32px 32px 34px; position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.cmp__tag {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 11.5px;
  padding: 5px 12px; margin-bottom: 18px;
}
.cmp__h { font-family: var(--font-head); font-weight: 800; font-size: 22px; line-height: 1.15; margin-bottom: 20px; }
.cmp__list { list-style: none; display: grid; gap: 13px; }
.cmp__list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.45; }
.cmp__list li::before {
  position: absolute; left: 0; top: 0; font-weight: 800; font-size: 16px;
}
/* Ohne — gedämpft */
.cmp--off { background: var(--card); border: 1px solid rgba(150,160,150,0.16); }
.cmp--off .cmp__tag { color: var(--grey); background: rgba(150,160,150,0.12); }
.cmp--off .cmp__h { color: #aab0aa; }
.cmp--off .cmp__list li { color: #9aa09a; }
.cmp--off .cmp__list li::before { content: "\00d7"; color: #7c827c; }
/* Mit — hervorgehoben */
.cmp--on {
  background: linear-gradient(150deg, rgba(42,181,185,0.14), rgba(0,133,123,0.06));
  border: 1px solid rgba(42,181,185,0.45); box-shadow: var(--glow);
}
.cmp--on::before {
  content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(var(--teal-light), var(--teal-dark));
}
.cmp--on .cmp__tag { color: #04120f; background: var(--teal-light); }
.cmp--on .cmp__h { color: var(--white); }
.cmp--on .cmp__list li { color: #d6dad5; }
.cmp--on .cmp__list li::before { content: "\2713"; color: var(--teal-light); }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Manifest: featured Pull-Quote ---------- */
.manifest {
  background: var(--bg-2); border-top: var(--border); border-bottom: var(--border);
  position: relative; overflow: hidden;
}
.manifest::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 18% 50%, rgba(42,181,185,0.08), transparent 60%);
  pointer-events: none;
}
.manifest .wrap { position: relative; }
.manifest__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; }
.manifest__mark {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(56px, 9vw, 120px); color: var(--teal-light); line-height: 0.8; opacity: 0.9;
}
.manifest__mark small { display: block; font-size: 0.18em; letter-spacing: 0.2em; color: var(--grey);
  font-family: var(--font-body); text-transform: uppercase; margin-top: 18px; }
.manifest__quote {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(24px, 3.4vw, 40px); line-height: 1.16;
}
.manifest__quote .grad {
  background: linear-gradient(120deg, var(--teal-light), var(--teal-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.manifest__note { color: var(--grey); font-size: 16px; line-height: 1.6; margin-top: 22px; max-width: 52ch; }
@media (max-width: 760px) { .manifest__grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Learn: Checklisten-Reihen statt Karten ---------- */
.learn { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.learn__row {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px;
  padding: 22px 0; border-bottom: var(--border); align-items: start;
}
.learn__ico {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #04120f; font-weight: 800; font-size: 18px;
  background: var(--teal-light);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.learn__row h3 { font-family: var(--font-head); font-weight: 700; font-size: 17px; margin-bottom: 5px; }
.learn__row p { color: var(--grey); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 720px) { .learn { grid-template-columns: 1fr; } }

/* ---------- Credibility-Strip (Felix) ---------- */
.credo {
  display: grid; grid-template-columns: 168px 1fr; gap: 38px; align-items: center;
  background: var(--card); border: var(--border); border-left: 3px solid var(--teal-light);
  padding: 38px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.credo__photo img {
  width: 168px; height: 200px; object-fit: cover; display: block;
  filter: grayscale(0.25) contrast(1.05); border: 1px solid rgba(42,181,185,0.4);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.credo__name { font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1; }
.credo__role { font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 12px; color: var(--teal-light); margin: 8px 0 18px; }
.credo__logos { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip {
  font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #c3cdc5;
  border: var(--border); background: var(--bg-2); padding: 9px 14px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.credo__quote {
  font-style: italic; color: #d6dad5; font-size: 16px; line-height: 1.5;
  border-left: 2px solid var(--teal-light); padding-left: 18px; max-width: 60ch;
}
@media (max-width: 720px) {
  .credo { grid-template-columns: 1fr; gap: 24px; }
  .credo__photo img { width: 140px; height: 168px; }
}

/* ---------- Quick-Facts (Format) ---------- */
.facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.fact {
  display: flex; align-items: center; gap: 12px;
  border: var(--border); background: var(--card); padding: 16px 20px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.fact b { font-family: var(--font-display); font-weight: 800; color: var(--teal-light); font-size: 20px; line-height: 1; }
.fact span { color: var(--grey); font-size: 13.5px; line-height: 1.3; }

/* ---------- Eltern-Stimmen (asymmetrisch) ---------- */
.voices { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; align-items: stretch; }
.voice--big {
  background: linear-gradient(150deg, rgba(42,181,185,0.16), rgba(0,133,123,0.05));
  border: 1px solid rgba(42,181,185,0.42); box-shadow: var(--glow); padding: 44px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  display: flex; flex-direction: column; justify-content: center;
}
.voice--big .voice__q { font-family: var(--font-head); font-weight: 700; font-style: normal;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; color: #eaf2f0; }
.voice__col { display: grid; gap: 20px; }
.voice {
  background: var(--card); border: var(--border); padding: 28px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  display: flex; flex-direction: column; gap: 14px;
}
.voice__q { font-style: italic; color: #d6dad5; font-size: 15.5px; line-height: 1.5; flex: 1; }
.voice__who { display: flex; align-items: center; gap: 12px; }
.voice__av {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; color: var(--teal-light);
  background: var(--card-2); border: 1px solid var(--teal-dark);
}
.voice__name { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; }
.voice__role { color: var(--grey); font-size: 12.5px; }
.voice__stars { color: var(--teal-light); letter-spacing: 2px; font-size: 14px; }
@media (max-width: 820px) { .voices { grid-template-columns: 1fr; } }

/* ---------- Section-Intro kompakt (linksbündig, schmaler) ---------- */
.lead-narrow { max-width: 620px; }
