/* World of Cacao: Aufbau nach treeming.org, Farben in Kakao */
:root {
  --ink: #1d130e;
  --cacao: #2b1a12;
  --cacao-2: #3a2419;
  --paper: #faf6f1;
  --paper-2: #f3ebe2;
  --cream: #fdfbf8;
  --line: #eadfd2;
  --line-dark: rgba(255,255,255,.17);
  --text: #54463d;
  --muted: #8a7d72;
  --primary: #a8693f;
  --primary-dark: #8d5530;
  --accent: #b9875a;
  --star: #e8b33c;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 17px/1.66 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 300; text-wrap: balance; }
h1 { font-size: clamp(46px, 7vw, 92px); line-height: 1.04; letter-spacing: -1.5px; }
h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.1; letter-spacing: -1px; }
h3 { font-size: 26px; line-height: 1.2; letter-spacing: -.4px; font-weight: 400; }
h1 em, h2 em { font-style: italic; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 40px; }
@media (max-width: 760px) { .wrap { padding-inline: 20px; } }
.label { display: block; font: 600 11px/1.2 var(--sans); letter-spacing: 2.1px; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.center { text-align: center; }
.center .intro { margin-inline: auto; }
.intro { max-width: 760px; margin-top: 20px; font-size: 17px; }
.section { padding-block: clamp(80px, 10vw, 130px); }
.paper { background: var(--paper); }
.paper-2 { background: var(--paper-2); }
.dark { background: var(--cacao); color: rgba(255,255,255,.78); }
.dark h2, .dark h3 { color: #fff; }
.dark .label { color: var(--accent); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .2s; }
.btn:active { transform: scale(.985); }
.btn-primary { background: linear-gradient(135deg, #bb7d4f 0%, var(--primary) 48%, var(--primary-dark) 100%); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.arrow { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 4px; border-bottom: 1px solid; font-weight: 600; font-size: 15px; text-decoration: none; opacity: .88; transition: gap .35s, opacity .35s; }
.arrow::after { content: "→"; }
.arrow:hover { gap: 14px; opacity: 1; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: 16px; transition: padding .35s; }
.header .bar { display: flex; align-items: center; gap: 28px; height: 72px; padding: 0 22px; border: 1px solid transparent; transition: background .45s, border-color .45s, box-shadow .45s; }
.header.solid { padding-top: 0; }
.header.solid .bar, .header.light .bar { background: rgba(253,251,248,.97); border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(29,19,14,.45); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font: 400 23px/1 var(--serif); letter-spacing: -.3px; white-space: nowrap; }
.brand img { width: 38px; height: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; margin-right: 6px; }
.nav > div { position: relative; }
.nav a, .nav button { color: rgba(255,255,255,.88); font: 500 14.5px/1 var(--sans); text-decoration: none; background: none; border: 0; padding: 26px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav button::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-3px) rotate(45deg); }
.nav a:hover, .nav button:hover { color: #fff; }
.drop { position: absolute; top: 100%; left: -22px; min-width: 230px; background: var(--cream); border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(29,19,14,.45); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s; }
.drop a { display: block; padding: 11px 22px; color: var(--ink) !important; }
.drop a:hover { background: var(--paper-2); }
.nav > div:hover .drop, .nav > div:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.login { color: #fff; font-size: 14.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.header .btn { min-height: 42px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
.solid .brand, .light .brand, .solid .login, .light .login { color: var(--ink); }
.solid .nav a, .solid .nav button, .light .nav a, .light .nav button { color: var(--ink); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: .3s; }
.solid .burger span, .light .burger span, .open .burger span { background: var(--ink); }
.open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.open .burger span:nth-child(2) { opacity: 0; }
.open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu { display: none; }
@media (max-width: 1080px) {
  .nav, .header .login { display: none; }
  .header .bar { gap: 12px; padding: 0 12px 0 16px; height: 64px; }
  .header .btn { margin-left: auto; }
  .burger { display: block; margin-left: 0; }
  .header { padding: 10px 10px 0; }
  .header.solid { padding: 0; }
  .header.open .bar { background: var(--cream); border-color: var(--line); }
  .header.open .brand { color: var(--ink); }
  .mobile-menu { display: block; position: fixed; inset: 74px 10px auto; max-height: calc(100dvh - 90px); overflow: auto; background: var(--cream); border: 1px solid var(--line); padding: 8px 24px 24px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s; }
  .header.solid .mobile-menu { inset: 64px 0 auto; }
  .open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 400 21px/1.2 var(--serif); }
  .mobile-menu small { display: block; margin-top: 20px; font: 600 11px/1 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
  .mobile-menu .btn { width: 100%; margin-top: 20px; font-family: var(--sans); font-size: 15px; color: #fff; border: 0; }
}


/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); color: rgba(255,255,255,.86); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,12,8,.82) 0%, rgba(20,12,8,.5) 55%, rgba(20,12,8,.25) 100%), linear-gradient(180deg, rgba(20,12,8,.45) 0%, rgba(20,12,8,0) 30%, rgba(20,12,8,.55) 100%); }
.hero .wrap { position: relative; padding-top: 170px; padding-bottom: 70px; }
.hero h1 { color: #fff; max-width: 900px; }
.hero .label { color: rgba(255,255,255,.75); }
.hero p { max-width: 640px; margin-top: 26px; font-size: 18px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); background: rgba(20,12,8,.35); backdrop-filter: blur(6px); }
.facts > div { padding: 22px 40px; box-shadow: inset -1px 0 var(--line-dark); }
.facts > div:last-child { box-shadow: none; }
.facts span { display: block; font: 600 10px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 7px; }
.facts b { font: 300 19px/1.25 var(--serif); color: #fff; }
@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div { padding: 18px 20px; box-shadow: inset -1px -1px var(--line-dark); }
  .facts > div:nth-child(2n) { box-shadow: inset 0 -1px var(--line-dark); }
  .facts > div:nth-last-child(-n+2) { box-shadow: inset -1px 0 var(--line-dark); }
  .facts > div:last-child { box-shadow: none; }
  .hero .wrap { padding-top: 130px; padding-bottom: 44px; }
  .hero .actions .btn { flex: 1 1 100%; }
}

/* Google badge */
.gbadge { position: fixed; left: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 12px; padding: 11px 16px 11px 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(29,19,14,.4); text-decoration: none; color: var(--ink); transition: transform .35s, box-shadow .35s, opacity .4s; }
.gbadge:hover { transform: translateY(-2px); }
.gbadge.wait { opacity: 0; pointer-events: none; transform: translateY(14px); }
.gbadge svg.g { width: 26px; height: 26px; flex: none; }
.gbadge .t { font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.gbadge .row { display: flex; align-items: center; gap: 7px; margin-top: 3px; }
.gbadge .score { font-size: 17px; font-weight: 600; line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--star); line-height: 0; }
.stars svg { width: 15px; height: 15px; }
@media (max-width: 760px) { .gbadge { left: 12px; bottom: 12px; padding: 8px 12px 8px 10px; } .gbadge .t { font-size: 11.5px; } .gbadge .score { font-size: 15px; } .gbadge svg.g { width: 22px; height: 22px; } }

/* Why: image cells */
.cells { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; }
.cell { position: relative; aspect-ratio: 3 / 4.3; overflow: hidden; background: var(--ink); }
.cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.cell:hover img { transform: scale(1.05); }
.cell .ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; background: linear-gradient(rgba(0,0,0,0) 42%, rgba(20,12,8,.88) 100%); color: rgba(255,255,255,.82); transition: background .5s; }
.cell:hover .ov { background: linear-gradient(rgba(20,12,8,.2) 0%, rgba(20,12,8,.92) 70%); }
.cell .ov svg { width: 36px; height: 36px; stroke: #fff; fill: none; stroke-width: 1.2; margin-bottom: 14px; }
.cell h3 { color: #fff; font-weight: 300; font-size: 27px; }
.cell p { font-size: 15px; line-height: 1.55; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(10px); transition: max-height .6s cubic-bezier(.16,1,.3,1), opacity .45s, transform .55s; }
.cell:hover p, .cell:focus-within p { max-height: 160px; opacity: 1; transform: none; margin-top: 8px; }
@media (max-width: 900px) { .cells { grid-template-columns: 1fr 1fr; } .cell .ov { padding: 16px; } .cell h3 { font-size: 22px; } .cell p { max-height: none; opacity: 1; transform: none; margin-top: 6px; font-size: 13.5px; } }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split .media { position: relative; }
.split .media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split .copy p + p { margin-top: 16px; }
.split .copy .arrow { margin-top: 30px; }
.split .copy h2 + p { margin-top: 26px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev .media { order: -1; } }
.dark .media::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(185,135,90,.45); z-index: -1; }
.dark .split .media { z-index: 0; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: baseline; }
.timeline b { color: var(--ink); font-weight: 600; }
.timeline li::marker { content: ""; }

/* Faculty */
.faculty { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; outline: 1px solid var(--line); outline-offset: -1px; }
.person { box-shadow: inset -1px 0 var(--line); background: var(--cream); }
.person:last-child { box-shadow: none; }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: grayscale(.12); }
.person .who { padding: 20px 18px 22px; text-align: center; border-top: 1px solid var(--line); }
.person h3 { font-size: 22px; }
.person span { display: block; margin-top: 6px; font: 600 10.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.person p { margin-top: 10px; font-size: 14.5px; line-height: 1.55; }
.person.grads { display: flex; flex-direction: column; }
.person.grads .map { aspect-ratio: 1 / 1; background: #3f6b4a url("img/graduate-map.jpg") center / cover; }
@media (max-width: 760px) { .faculty { grid-template-columns: 1fr; } .person { box-shadow: inset 0 -1px var(--line); } .person img, .person.grads .map { aspect-ratio: 16 / 11; } }

/* Explore grid */
.explore { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; outline: 1px solid var(--line); outline-offset: -1px; background: var(--cream); }
.explore a { display: flex; flex-direction: column; gap: 10px; padding: 34px 32px 36px; box-shadow: inset -1px -1px var(--line); text-decoration: none; transition: background .35s; }
.explore a:hover { background: #fff; }
.explore .n { font: 400 15px/1 var(--serif); color: var(--accent); }
.explore h3 { margin-top: 6px; }
.explore p { font-size: 15.5px; line-height: 1.6; }
.explore .arrow { margin-top: auto; padding-top: 12px; align-self: flex-start; border: 0; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 900px) { .explore { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .explore { grid-template-columns: 1fr; } .explore a { padding: 26px 22px; } }

/* Certification */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; outline: 1px solid var(--line); outline-offset: -1px; background: var(--cream); }
.path { display: flex; flex-direction: column; padding: 38px 34px; box-shadow: inset -1px 0 var(--line); }
.path:last-child { box-shadow: none; }
.path.pro { background: var(--cacao); color: rgba(255,255,255,.8); box-shadow: none; position: relative; }
.path.pro h3, .path.pro .price { color: #fff; }
.path .tag { font: 600 11px/1 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.path h3 { margin-top: 16px; }
.path > p { margin-top: 12px; font-size: 15.5px; }
.price { margin-top: 26px; font: 300 46px/1 var(--serif); color: var(--ink); letter-spacing: -1px; }
.price small { font: 400 14px/1.4 var(--sans); color: var(--muted); letter-spacing: 0; display: block; margin-top: 8px; }
.path.pro .price small { color: rgba(255,255,255,.6); }
.path ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 11px; font-size: 15px; }
.path li { display: flex; gap: 11px; }
.path li::before { content: ""; flex: none; width: 15px; height: 8px; margin-top: 6px; border-left: 1.6px solid var(--primary); border-bottom: 1.6px solid var(--primary); transform: rotate(-45deg); }
.path.pro li::before { border-color: var(--accent); }
.path .btn { margin-top: auto; }
.path.pro .ribbon { position: absolute; top: 0; right: 0; background: var(--primary); color: #fff; font: 600 11px/1 var(--sans); letter-spacing: 1.6px; text-transform: uppercase; padding: 9px 14px; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; margin-top: 34px; font-size: 15px; }
.assure span { display: inline-flex; align-items: center; gap: 9px; }
.assure span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } .path { box-shadow: inset 0 -1px var(--line); padding: 32px 24px; } }

/* Curriculum */
.weeks { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; outline: 1px solid var(--line); outline-offset: -1px; }
.week { padding: 30px 30px 32px; box-shadow: inset -1px -1px var(--line); }
.week .n { font: 600 11px/1 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.week h3 { margin: 12px 0 10px; font-size: 23px; }
.week p { font-size: 15px; line-height: 1.6; }
.includes { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 40px; text-align: center; }
.includes div { padding: 8px 10px; }
.includes b { display: block; font: 300 44px/1 var(--serif); color: var(--ink); }
.includes span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .weeks { grid-template-columns: 1fr; } .includes { grid-template-columns: repeat(3, 1fr); row-gap: 20px; } }

/* Graduates map */
.mapwrap { margin-top: 50px; position: relative; }
.mapwrap img { width: 100%; }
.countries { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 26px; font-size: 15px; }
.countries b { color: var(--ink); font-weight: 600; }

/* Certificate */
.cert img { width: min(420px, 100%); margin-inline: auto; box-shadow: 0 30px 60px -30px rgba(29,19,14,.55); transform: rotate(-2deg); }

/* Magazine */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 50px; outline: 1px solid var(--line); outline-offset: -1px; }
.post { display: flex; flex-direction: column; text-decoration: none; box-shadow: inset -1px 0 var(--line); background: var(--cream); transition: background .3s; }
.post:hover { background: #fff; }
.post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post div { padding: 24px 26px 28px; }
.post small { font: 600 11px/1 var(--sans); letter-spacing: 1.8px; text-transform: uppercase; color: var(--accent); }
.post h3 { font-size: 22px; margin-top: 12px; }
.post p { font-size: 15px; margin-top: 10px; line-height: 1.6; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } .post { box-shadow: inset 0 -1px var(--line); } }

/* Reviews */
.rev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.rev-sum { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); }
.rev-sum .big { font: 300 50px/1 var(--serif); color: var(--ink); }
.rev-sum .stars svg { width: 18px; height: 18px; }
.rev-sum small { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.review { background: #fff; border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review .head { display: flex; align-items: center; gap: 12px; }
.review .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--primary); font: 400 19px/1 var(--serif); flex: none; }
.review .name { font-weight: 600; color: var(--ink); font-size: 15px; line-height: 1.2; }
.review .meta { font-size: 13px; color: var(--muted); }
.review .head svg.g { width: 20px; height: 20px; margin-left: auto; }
.review p { font-size: 15.5px; line-height: 1.62; }
.review .stars svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* Mini course CTA */
.cta { position: relative; overflow: hidden; background: linear-gradient(135deg, #4a2c1d 0%, var(--cacao) 55%, var(--ink) 100%); color: rgba(255,255,255,.8); }
.cta .split { align-items: center; }
.cta h2 { color: #fff; }
.form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); padding: 34px; display: grid; gap: 12px; }
.form input { width: 100%; height: 52px; padding: 0 16px; background: #fff; border: 1px solid transparent; color: var(--ink); font: 400 16px var(--sans); border-radius: 0; }
.form input:focus { outline: 2px solid var(--accent); }
.form .btn { width: 100%; border: 0; }
.form small { font-size: 13px; color: rgba(255,255,255,.6); text-align: center; }
.form ul { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 9px; color: #fff; font-size: 15px; }
.form li { display: flex; gap: 10px; }
.form li::before { content: ""; flex: none; width: 13px; height: 7px; margin-top: 6px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: rotate(-45deg); }

/* FAQ */
.faq { max-width: 860px; margin: 50px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 400 21px/1.3 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 28px/1 var(--sans); color: var(--primary); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 70ch; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.62); font-size: 15px; }
.footer .top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 80px 60px; }
.footer .brand { color: #fff; margin-bottom: 20px; }
.footer h4 { font: 600 11px/1 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.footer nav a { display: block; text-decoration: none; padding: 5px 0; transition: color .25s; }
.footer nav a:hover { color: #fff; }
.footer .about p { max-width: 380px; line-height: 1.65; }
.footer .about a { display: inline-block; margin-top: 16px; color: #fff; }
.footer .bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
@media (max-width: 900px) { .footer .top { grid-template-columns: 1fr 1fr; padding-block: 60px 40px; } .footer .about { grid-column: 1 / -1; } }

/* Popup */
.popup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(20,12,8,.6); opacity: 0; visibility: hidden; transition: .35s; }
.popup.show { opacity: 1; visibility: visible; }
.popup .card { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; width: min(880px, 100%); max-height: calc(100dvh - 40px); overflow: auto; background: var(--cream); transform: translateY(16px); transition: transform .35s; }
.popup.show .card { transform: none; }
.popup .photo { background: url("img/card-integration.jpg") center / cover; min-height: 420px; }
.popup .body { padding: 44px 40px; }
.popup h3 { font-size: 32px; font-weight: 300; margin-bottom: 18px; }
.popup .form { background: none; border: 0; padding: 0; }
.popup .form ul { color: var(--text); }
.popup .form input { border-color: var(--line); }
.popup .form small { color: var(--muted); }
.popup .x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 20px; cursor: pointer; z-index: 2; }
@media (max-width: 700px) { .popup .card { grid-template-columns: 1fr; } .popup .photo { min-height: 160px; } .popup .body { padding: 28px 22px; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Subpage hero */
.page-hero { min-height: 72vh; min-height: 72svh; }
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin-top: 70px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 20px; font-size: 18px; line-height: 1.75; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; outline: 1px solid var(--line); outline-offset: -1px; background: var(--cream); }
.steps div { counter-increment: s; padding: 32px 30px; box-shadow: inset -1px -1px var(--line); }
.steps div::before { content: counter(s, upper-roman); display: block; font: 400 15px/1 var(--serif); color: var(--accent); margin-bottom: 14px; }
.steps h3 { font-size: 23px; margin-bottom: 10px; }
.steps p { font-size: 15.5px; line-height: 1.6; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Fixes */
.footer .about a.brand { display: flex; margin-top: 0; }
@media (min-width: 901px) {
  .hero:not(.page-hero) > img { left: auto; right: 0; width: 72%; object-position: 50% 40%; }
  .hero:not(.page-hero)::before { background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 29%, rgba(29,19,14,.6) 42%, rgba(29,19,14,.1) 62%, rgba(29,19,14,.2) 100%), linear-gradient(180deg, rgba(20,12,8,.5) 0%, rgba(20,12,8,0) 25%, rgba(20,12,8,0) 70%, rgba(20,12,8,.5) 100%); }
}
@media (max-width: 1080px) {
  .brand { font-size: 19px; gap: 8px; }
  .brand img { width: 30px; }
  .header .btn { min-height: 38px; padding: 0 12px; font-size: 13px; }
}
@media (max-width: 420px) { .brand span { display: inline; } .header .bar { gap: 8px; } }
@media (max-width: 360px) { .brand span { display: none; } }
@media (max-width: 900px) {
  .hero::before { background: linear-gradient(180deg, rgba(20,12,8,.6) 0%, rgba(20,12,8,.62) 45%, rgba(20,12,8,.85) 100%); }
  .dark .media::after { display: none; }
}
.prose .label + h2 { margin-top: 0; }
.page-hero::before { background: linear-gradient(90deg, rgba(20,12,8,.88) 0%, rgba(20,12,8,.7) 50%, rgba(20,12,8,.45) 100%) !important; }
@media (max-width: 1080px) {
  .header .wrap { padding-inline: 0; }
}
@media (max-width: 440px) {
  .brand span { display: none; }
  .brand img { width: 40px; }
}
@media (max-width: 900px) {
  .page-hero::before { background: linear-gradient(180deg, rgba(20,12,8,.72) 0%, rgba(20,12,8,.78) 60%, rgba(20,12,8,.9) 100%) !important; }
}
.hero::before { z-index: 1; }
.hero .wrap, .hero .facts { z-index: 2; }
.mobile-menu a.btn { display: flex; padding: 0 20px; border-bottom: 0; font: 600 15px/1 var(--sans); }

/* === Version 2: festes dunkles Menü, kompakter Hero === */
.header, .header.solid { padding: 0; background: rgba(29,19,14,.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header .bar, .header.solid .bar, .header.light .bar { background: none !important; border: 0 !important; box-shadow: none !important; height: 72px; }
.header.solid .brand, .header.solid .login, .header.solid .nav a, .header.solid .nav button { color: #fff; }
.header.solid .nav .drop a { color: var(--ink) !important; }
.header.solid .burger span { background: #fff; }
.header.open .burger span { background: #fff; }
.header.open .bar { background: none !important; }
.header.open .brand { color: #fff; }
@media (max-width: 1080px) { .header .bar { height: 64px; } .mobile-menu, .header.solid .mobile-menu { inset: 64px 0 auto; border-left: 0; border-right: 0; } }
.hero { min-height: 0 !important; }
.hero .wrap { padding-top: 150px; padding-bottom: 64px; }
@media (min-width: 901px) { .hero { min-height: 720px !important; } }
@media (max-width: 900px) { .hero .wrap { padding-top: 110px; padding-bottom: 40px; } }

/* Preiszeile im Hero */
.price-line { margin-top: 22px; font-size: 17px; color: #fff; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.price-line b { font: 300 30px/1 var(--serif); }
.price-line span { opacity: .8; }
.online-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.3); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.online-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7bc47f; }

/* Logo-Leiste */
.logos { background: var(--ink); padding: 34px 0 38px; border-top: 1px solid rgba(255,255,255,.08); }
.logos .label { text-align: center; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 48px; }
.logo-row img { height: 40px; width: auto; max-width: 130px; object-fit: contain; filter: brightness(0) invert(1); opacity: .7; }
.logo-row .sep { width: 1px; height: 34px; background: rgba(255,255,255,.18); }
@media (max-width: 700px) { .logo-row { gap: 20px 28px; } .logo-row img { height: 28px; max-width: 96px; } .logo-row .sep { display: none; } }

/* Was du bekommst */
.gets { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 50px; outline: 1px solid var(--line); outline-offset: -1px; background: var(--cream); }
.gets div { padding: 30px 26px; box-shadow: inset -1px -1px var(--line); }
.gets b { display: block; font: 300 46px/1 var(--serif); color: var(--ink); letter-spacing: -1px; }
.gets h3 { font-size: 20px; margin-top: 12px; }
.gets p { font-size: 15px; line-height: 1.55; margin-top: 6px; }
@media (max-width: 900px) { .gets { grid-template-columns: 1fr 1fr; } .gets div { padding: 22px 18px; } .gets b { font-size: 38px; } }

/* Lernreise als Aufklapper */
.journey { max-width: 900px; margin: 46px auto 0; border-top: 1px solid var(--line); }
.journey details { border-bottom: 1px solid var(--line); }
.journey summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; padding: 22px 0; }
.journey summary::-webkit-details-marker { display: none; }
.journey summary span { font: 600 11px/1 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.journey summary b { font: 400 22px/1.3 var(--serif); color: var(--ink); }
.journey summary::after { content: "+"; font: 300 28px/1 var(--sans); color: var(--primary); transition: transform .3s; }
.journey details[open] summary::after { transform: rotate(45deg); }
.journey ul { margin: 0 0 22px 106px; padding-left: 18px; display: grid; gap: 6px; font-size: 15.5px; }
@media (max-width: 600px) { .journey summary { grid-template-columns: 1fr auto; } .journey summary span { grid-column: 1 / -1; } .journey ul { margin-left: 0; } }

/* Für wen */
.forwho { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 46px; outline: 1px solid var(--line); outline-offset: -1px; background: var(--cream); }
.forwho div { padding: 30px 30px; box-shadow: inset -1px -1px var(--line); display: flex; gap: 16px; }
.forwho div::before { content: ""; flex: none; width: 22px; height: 12px; margin-top: 8px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.forwho h3 { font-size: 21px; }
.forwho p { font-size: 15.5px; margin-top: 6px; }
.forwho-note { text-align: center; margin-top: 24px; font-size: 16px; }
@media (max-width: 760px) { .forwho { grid-template-columns: 1fr; } .forwho div { padding: 24px 20px; } }

/* Garantie und Bezahlarten */
.guarantee { display: flex; gap: 22px; align-items: center; max-width: 860px; margin: 34px auto 0; padding: 24px 28px; background: #fff; border: 1px solid var(--line); }
.guarantee .seal { flex: none; width: 76px; height: 76px; border-radius: 50%; border: 2px solid var(--primary); display: grid; place-items: center; text-align: center; font: 600 11px/1.15 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.guarantee .seal b { display: block; font: 400 26px/1 var(--serif); letter-spacing: 0; }
.guarantee h3 { font-size: 21px; }
.guarantee p { font-size: 15px; margin-top: 4px; }
.pay { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.path .inst { display: block; margin-top: 8px; font: 600 14px/1.3 var(--sans); color: var(--primary); }
.path.pro .inst { color: var(--accent); }
@media (max-width: 600px) { .guarantee { flex-direction: column; text-align: center; } }

/* Du bist genug */
.enough-quote { font: 300 clamp(26px, 3vw, 36px)/1.3 var(--serif); color: #fff; font-style: italic; margin-top: 26px; }
.enough-quote small { display: block; margin-top: 10px; font: 400 14px/1.4 var(--sans); font-style: normal; color: rgba(255,255,255,.6); }
.enough-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.enough-points li { display: flex; gap: 12px; }
.enough-points li::before { content: ""; flex: none; width: 15px; height: 8px; margin-top: 7px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: rotate(-45deg); }
.enough-points b { color: #fff; }
.stat-big { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.stat-big div b { display: block; font: 300 48px/1 var(--serif); color: #fff; }
.stat-big div span { font-size: 14px; color: rgba(255,255,255,.65); }

/* Gemeinschaft */
.community-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Schluss */
.final { text-align: center; }
.final h2 { max-width: 820px; margin-inline: auto; }
.final p { max-width: 640px; margin: 22px auto 0; font-size: 18px; }
.final .btn { margin-top: 34px; }
.forwho div div { padding: 0; box-shadow: none; display: block; }
.forwho div div::before { display: none; }
.logos { background: var(--cream); border-top: 0; border-bottom: 1px solid var(--line); }
.logos .label { color: var(--muted); }
.logo-row img { filter: grayscale(1); opacity: .72; }
.logo-row img.inv { filter: invert(1) grayscale(1); }
.logo-row .sep { background: var(--line); }
.nav { gap: 24px; }
.nav a, .nav button, .brand, .login { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 1081px) { .header .login { display: none; } .nav { gap: 20px; } }

/* Hero wie Treeming: ein Button, Preis daneben, Sterne darunter */
.hero-cta { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-price { margin: 0 !important; font-size: 14.5px !important; line-height: 1.5; color: rgba(255,255,255,.78); }
.hero-price b { color: #fff; font-weight: 600; }
.hero-stars { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; font-size: 14.5px; color: rgba(255,255,255,.78); }
.hero-stars b { color: #fff; font-weight: 600; }
.hero-stars .stars svg { width: 17px; height: 17px; }
@media (max-width: 900px) { .hero-cta { gap: 14px; } .hero-cta .btn { flex: 1 1 100%; } }

/* Mini-Kurs als One-Pager */
.mini-hero { min-height: calc(100vh - 72px) !important; min-height: calc(100svh - 72px) !important; justify-content: center; }
.mini-hero .wrap.split { align-items: center; }
.mini-hero h1 { font-size: clamp(40px, 5.4vw, 70px); }
.mini-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; color: #fff; }
.mini-points li { display: flex; gap: 12px; }
.mini-points li::before { content: ""; flex: none; width: 15px; height: 8px; margin-top: 8px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: rotate(-45deg); }
.mini-form { background: var(--cream) !important; border: 0 !important; padding: 36px !important; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.mini-form h2 { font-size: 30px; margin-bottom: 8px; }
.mini-form input { border: 1px solid var(--line) !important; }
.mini-form small { color: var(--muted) !important; }
.seite-free-mini-course .footer .top { display: none; }
.seite-free-mini-course .gbadge { display: none; }
@media (max-width: 900px) { .mini-form { padding: 26px 20px !important; } }
.review .meta { margin-top: auto; }

/* === Version 3: Korrekturen nach Design-Prüfung === */
:root { --muted: #6f6258; }
.label { font-size: 12px; color: var(--primary-dark); }
.dark .label, .cta .label, .hero .label { color: var(--accent); }
.hero .label { color: rgba(255,255,255,.8); }
.facts span { font-size: 11.5px; }
.gbadge { left: auto; right: 20px; padding: 9px 14px 9px 12px; gap: 10px; }
.gbadge .t { font-size: 11.5px; } .gbadge .score { font-size: 15px; } .gbadge svg.g { width: 22px; height: 22px; }
@media (max-width: 760px) { .gbadge { display: none; } }
@media (min-width: 901px) and (max-width: 1200px) { .path h3 { min-height: 2.4em; } }
.cell .ov { background: linear-gradient(rgba(20,12,8,0) 30%, rgba(20,12,8,.88) 100%); }
.cell p { max-height: none; opacity: 1; transform: none; margin-top: 8px; }
.page-hero::before { background: linear-gradient(90deg, rgba(20,12,8,.9) 0%, rgba(20,12,8,.78) 50%, rgba(20,12,8,.6) 100%) !important; }
.cert img { width: min(380px, 100%); }
.split .media.cert { align-self: center; }
@media (min-width: 1081px) and (max-width: 1250px) { .brand span { display: none; } }
.footer .bottom a { color: inherit; text-decoration: none; } .footer .bottom a:hover { color: #fff; }
.footer-schmal .bottom { border-top: 0; padding-block: 28px; }
.paths a.path { color: inherit; }
.paths a.path:hover { background: #fff; } .paths a.path.pro:hover { background: var(--cacao-2); }
.paths a.path .price { margin-top: 18px; }
body.menu-offen { overflow: hidden; }
@media (max-width: 900px) {
  .mini-hero .wrap.split { display: flex; flex-direction: column; gap: 22px; }
  .mini-hero .copy { display: contents; }
  .mini-hero .copy .label { order: 1; margin-bottom: 0; } .mini-hero .copy h1 { order: 2; }
  .mini-hero .mini-form { order: 3; } .mini-hero .copy p { order: 4; margin-top: 0; }
  .mini-hero .mini-points { order: 5; margin-top: 0; } .mini-hero .hero-stars { order: 6; margin-top: 0; }
}
@media (max-width: 900px) { .mini-hero .mini-form { align-self: stretch; width: 100%; } }
