:root {
  --bg-app: #ececef;
  --bg-surface: #ffffff;
  --border-hairline: rgba(0, 0, 0, 0.09);
  --border-strong: rgba(0, 0, 0, 0.16);
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #a1a1a6;
  --accent: #2f6fed;
  --accent-hover: #2660d6;
  --brand-red: #c0272d;
  --brand-red-border: #8a1a1f;
  --radius-md: 9px;
  --radius-lg: 14px;
  --font-serif: ui-serif, "New York", Georgia, "Iowan Old Style", "Times New Roman", serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Nav --- */

.nav {
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-surface);
}

.navInner {
  max-width: 880px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navLinks {
  display: flex;
  gap: 24px;
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* --- Brand box (matches the in-app logo exactly) --- */

.brand {
  display: inline-block;
  padding: 10px 13px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--brand-red);
  border: 2px solid var(--brand-red-border);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

.brandLarge {
  font-size: 26px;
  padding: 15px 18px;
}

/* --- Hero --- */

.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.heroBrand {
  margin-bottom: 26px;
}

.heroTitle {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.heroSub {
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.heroActions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  justify-content: center;
}

.btnPrimary {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.btnPrimary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btnSecondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.heroVideo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 720px;
  margin: 48px auto 0;
  aspect-ratio: 16 / 9;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
}

.heroVideoPlay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

.heroVideoPlay svg {
  margin-left: 2px;
}

.heroVideoLabel {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --- Sections --- */

section {
  padding: 56px 0;
}

.sectionAlt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.sectionTitle {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.sectionSub {
  margin: 0 auto 40px;
  max-width: 520px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
}

/* --- Feature grid --- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  padding: 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
}

.sectionAlt .feature {
  background: var(--bg-app);
}

.featureTitle {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 700;
}

.featureText {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --- Pricing --- */

.pricingGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.pricingGridTwo {
  grid-template-columns: repeat(2, 1fr);
  max-width: 560px;
}

.studentDetails {
  margin: 14px 0 0;
  text-align: center;
}

.studentSummary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  list-style: none;
  padding: 4px 2px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.studentSummary::-webkit-details-marker {
  display: none;
}

.studentSummary:hover {
  color: var(--text-secondary);
}

.studentChevron {
  width: 11px;
  height: 11px;
  transition: transform 0.15s ease;
}

.studentDetails[open] .studentChevron {
  transform: rotate(180deg);
}

.studentBody {
  max-width: 260px;
  margin: 8px auto 0;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  text-align: left;
}

.studentBody .priceValue {
  margin: 0 0 6px;
  font-size: 17px;
}

.priceCard {
  padding: 26px 24px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  text-align: left;
}

.priceLabel {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}

.priceValue {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.priceValue span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.priceHint {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.priceHint a {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
}

.pricingNote {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-tertiary);
  text-align: center;
}

/* --- Contact / CTA --- */

.ctaBox {
  text-align: center;
}

/* --- Footer --- */

.footer {
  padding: 24px 0 32px;
  text-align: center;
  border-top: 1px solid var(--border-hairline);
}

.footerLinks {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.footerLinks a {
  color: var(--text-secondary);
}

.footerLinks a:hover {
  color: var(--accent);
}

.footerLinks .sep {
  margin: 0 8px;
  color: var(--border-strong);
}

.footerCopy {
  margin: 0;
  font-size: 12px;
  color: var(--text-tertiary);
}

/* --- Legal pages (Impressum/AGB/Widerruf/Datenschutz) --- */

.legalWrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.legalBack {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 600;
}

.legalNotice {
  margin: 0 0 32px;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.legalWrap h1 {
  font-size: 24px;
  margin: 0 0 24px;
}

.legalWrap h2 {
  font-size: 15px;
  margin: 28px 0 8px;
}

.legalWrap p,
.legalWrap li {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legalWrap ul {
  padding-left: 20px;
  margin: 8px 0;
}

.legalWrap .placeholder {
  color: var(--brand-red);
  font-weight: 600;
}

/* --- Standalone status pages (success / cancel) --- */

.statusPage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.statusCard {
  width: 100%;
  max-width: 440px;
  padding: 40px 34px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.statusIcon {
  width: 48px;
  height: 48px;
  margin: 4px auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.statusIconSuccess {
  background: rgba(48, 168, 82, 0.12);
  color: #1f8a45;
}

.statusIconCancel {
  background: rgba(160, 160, 165, 0.16);
  color: var(--text-secondary);
}

.statusTitle {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
}

.statusText {
  margin: 0 0 26px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .pricingGrid {
    grid-template-columns: 1fr;
  }
  .heroTitle {
    font-size: 27px;
  }
  .navLinks {
    gap: 14px;
  }
}
