:root {
  --ink: #29222d;
  --primary: #a822ff;
  --primary-hover: #7700c6;
  --dark: #382044;
  --mint: #f9f2ee;
  --rule: #e7dee7;
  --paper: #faf7fb;
  --width: 76rem;
  --progress-height: 3px;
  --header: calc(74px + var(--progress-height));
  color: #29222d;
  font: 100%/1.65 system-ui, sans-serif;
  scroll-padding-top: calc(var(--header) + 4.5rem);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: var(--dark); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #157566; outline-offset: 4px; }
.wrap { width: min(var(--width), calc(100% - 3rem)); margin-inline: auto; }
.header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--rule); background: color-mix(in srgb, var(--mint) 12.5%, white); }
.header-inner, nav { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; }
.header::before {
  content: "";
  display: block;
  height: var(--progress-height);
  background: linear-gradient(to right, #1D584C var(--scroll-progress, 0%), var(--rule) var(--scroll-progress, 0%));
}
.header-inner { min-height: calc(var(--header) - var(--progress-height) - 1px); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 750; text-decoration: none; }
nav a { font-weight: 600; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.menu-button { display: none; }
h1, h2, h3 { font-family: Georgia, serif; color: var(--ink); line-height: 1.14; text-wrap: balance; }
p, li { text-wrap: pretty; }
h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.5rem); letter-spacing: -.05em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.45rem); }
h3 { font-size: 1.32rem; }
.hero, .articlehead { background: linear-gradient(142deg, #fff 35.6%, #f9f2ee 80.12%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2rem, 6vw, 5rem); }
.hero p { max-width: 39rem; font-size: clamp(1.06rem, 1.6vw, 1.25rem); }
figure { margin: 0; position: relative; }
figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 1.25rem; }
figcaption { position: absolute; bottom: .7rem; left: .7rem; padding: .22rem .55rem; background: var(--dark); color: white; font-size: .75rem; border-radius: .25rem; }
.actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-top: 1.75rem; }
.button, .back-top { display: inline-flex; justify-content: center; align-items: center; text-align: center; padding: .72rem .9rem; background: var(--primary); color: white; border: 1px solid transparent; border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.35; }
.button:hover, .back-top:hover { background: var(--primary-hover); color: white; }
.secondary { background: transparent; color: #202020; border-color: #00000026; }
.secondary:hover { background: #0000000a; color: #202020; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 26%); gap: 2rem; align-items: start; padding-block: 3rem 4rem; }
article > section { margin-top: 2.5rem; }
.contents, .article-layout > aside, .cards section { background: var(--paper); border: 1px solid var(--rule); border-radius: .8rem; padding: 1.2rem; }
summary { color: var(--dark); font-weight: 700; }
.article-layout > aside { position: sticky; top: calc(var(--header) + 4.5rem); }
.article-layout > aside h2 { font-size: 1.45rem; margin-top: 0; }
.article-layout > aside ul { padding-inline-start: 1.15rem; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.cards h3 { margin: 0 0 .45rem; }
.cards p { margin: 0; }
#fragen details { border-bottom: 1px solid var(--rule); padding: .75rem 0; }
.floating-contents { position: fixed; top: var(--header); left: 0; right: 0; z-index: 4; pointer-events: none; }
.floating-contents details { background: white; border: 1px solid var(--rule); padding: .7rem 1rem; border-radius: 0 0 .6rem .6rem; box-shadow: 0 .3rem .8rem #08443718; pointer-events: auto; }
footer { background: #1D584C; color: white; padding-block: 2.5rem 1.5rem; }
footer h2, footer a, footer summary { color: white; }
footer h2 { margin-top: 0; font-size: 1.4rem; }
.footer-columns { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.4rem; }
footer details, .footer-links { padding-block: .9rem; border-top: 1px solid #ffffff50; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.buy-bar { position: fixed; right: 1rem; bottom: 1rem; z-index: 6; }
.buy-bar .button, .top-text { display: none; }
.back-top { width: 3rem; height: 3rem; border-radius: 50%; }
.cookie { position: fixed; inset-inline-start: max(1rem, env(safe-area-inset-left)); bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 7; width: min(21rem, calc(100% - 2rem)); padding: .85rem 1rem 1rem; background: white; border: 1px solid var(--rule); border-radius: .9rem; box-shadow: 0 4px 18px #38204421; font-size: .9rem; line-height: 1.5; }
.cookie h2 { margin: 0 2.75rem .4rem 0; font: 750 1rem/1.35 system-ui, sans-serif; }
.cookie p { margin: 0 0 .45rem; }
.cookie a { font-weight: 650; }
.cookie button { position: absolute; inset: .45rem .45rem auto auto; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--rule); background: white; color: var(--ink); font: 1.45rem/1 system-ui, sans-serif; }
.cookie button:hover { background: var(--paper); }
.menu-button { border: 0; background: none; color: var(--dark); font-size: 1.5rem; min-width: 44px; min-height: 44px; }
.articlehead { padding-block: 3rem; }
.legal { padding-block: 1rem 4rem; }
.legal p { max-width: 70ch; }
@media (max-width: 900px) {
  :root { --header: calc(64px + var(--progress-height)); }
  .wrap { width: calc(100% - 2rem); }
  .menu-button { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem; background: white; border-bottom: 1px solid var(--rule); }
  nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .hero-inner, .actions, .article-layout { grid-template-columns: 1fr; }
  .article-layout > aside { position: static; }
  .buy-bar { left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: .55rem; padding: .6rem; background: white; border-top: 1px solid var(--rule); }
  .buy-bar .button, .top-text { display: inline-flex; }
  .back-top { width: auto; height: auto; border-radius: .55rem; gap: .25rem; background: var(--mint); color: var(--dark); }
  .buy-bar:not([hidden]) + .cookie { bottom: calc(var(--buy-height, 4rem) + .5rem); }
  footer { padding-bottom: 5.5rem; }
}
@media (max-width: 560px) {
  .cards, .footer-columns { grid-template-columns: 1fr; }
}

.brand span { display: grid; line-height: 1.15; gap: .15rem; }
.brand strong { font-weight: 800; }
.brand small { font-size: .83rem; font-weight: 500; }
.course-menu { position: relative; }
.course-menu ul { list-style: none; margin: 0; padding: .5rem; border: 1px solid var(--rule); border-radius: .7rem; background: white; }
.course-menu[open] ul { position: absolute; top: calc(100% + .45rem); left: -.5rem; width: max-content; min-width: 16rem; box-shadow: 0 .4rem 1rem #38204420; }
.course-menu ul a { display: block; padding: .35rem .55rem; }
.topics-cta { color: #7700c6; font-weight: 750; }
.cookie { width: min(19.5rem, calc(100% - 2rem)); padding: .55rem .7rem .6rem; }
.cookie h2 { margin-bottom: .12rem; }
.cookie p { margin: 0; padding-right: 1.45rem; }
.cookie button { inset: .28rem .3rem auto auto; width: 2rem; height: 2rem; font-size: 1.18rem; }
.buy-bar .back-top { box-shadow: 0 4px 16px #38204433; }
@media (max-width: 900px) {
  nav.is-open { max-height: calc(100dvh - var(--header)); overflow: auto; }
  .course-menu[open] ul { position: static; width: auto; min-width: 0; box-shadow: none; }
  .buy-bar { gap: .75rem; align-items: center; padding: .6rem max(1rem, env(safe-area-inset-right)) calc(.6rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); box-shadow: 0 -4px 16px #38204414; }
  .buy-bar .button { flex: 1; min-height: 3rem; }
  .buy-bar .back-top { width: 3rem; height: 3rem; padding: 0; border-radius: 50%; background: var(--dark); color: white; }
  .buy-bar .top-text { display: none; }
}
@media (max-width: 900px) {
  body:has(nav.is-open) .cookie { visibility: hidden; }
  nav.is-open { justify-content: flex-start; }
}

.footer-columns { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem; }
footer h2, footer h3 { font-family: system-ui, sans-serif; color: white; }
footer h3 { font-size: 1rem; text-wrap: initial; }
.footer-courses { padding-left: 1.2rem; }
.footer-courses li { margin-block: .2rem; }
footer .footer-privacy { margin-block: 1.6rem; padding: 1rem; border: 1px solid #ffffff45; border-radius: .7rem; background: #ffffff0c; }
.footer-privacy summary { font-size: 1.1rem; }
.footer-privacy p { margin: .75rem 0 0; }
.footer-links span { margin-right: auto; }
@media (max-width: 900px) {
  .menu-button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .45rem .75rem; border: 1px solid var(--rule); border-radius: .6rem; background: white; font: inherit; font-weight: 700; }
  .menu-icon { position: relative; display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; }
  .menu-icon::before, .menu-icon::after, .menu-icon span { position: absolute; width: 100%; height: 2px; border-radius: 2px; background: currentColor; }
  .menu-icon::before, .menu-icon::after { content: ""; }
  .menu-icon::before { transform: translateY(-5px); }
  .menu-icon::after { transform: translateY(5px); }
  .menu-button[aria-expanded="true"] .menu-icon::before { transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-icon::after { transform: rotate(-45deg); }
  .menu-button[aria-expanded="true"] .menu-icon span { opacity: 0; }
  .header nav.is-open { gap: .35rem; padding: .5rem 1rem 1rem; }
  .header nav > a, .header nav summary { display: flex; width: 100%; align-items: center; min-height: 44px; padding: .45rem .65rem; }
  .header nav summary::before { content: "▸"; margin-right: .55rem; }
  .header nav details[open] summary::before { content: "▾"; }
  .header nav .button { margin-top: .35rem; }
}
@media (max-width: 560px) {
  .footer-columns { grid-template-columns: 1fr; gap: 1rem; }
  .footer-links span { width: 100%; }
}
@media (max-width: 900px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1rem; }
  .header nav.is-open { position: static; grid-column: 1 / -1; display: grid; max-height: 60dvh; padding: .2rem .25rem .7rem; border: 0; background: transparent; }
  .header nav .button { width: auto; justify-self: start; padding-inline: 1rem; }
}
