/* 
  JetztAberPROMPT! landing page
  Static site for GitHub Pages.
  Replace contact links and legal pages before publishing.
*/

:root {
  --bg: #f7f5ef;
  --bg-soft: #fbfaf7;
  --ink: #1f1f1d;
  --muted: #6e6a62;
  --line: #dedbd2;
  --card: rgba(255, 255, 255, 0.72);
  --card-solid: #fffefb;
  --accent: #0f6b4f;
  --accent-soft: #dff2e9;
  --accent-ink: #073d2e;
  --shadow: 0 24px 80px rgba(36, 31, 21, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 4%, rgba(15, 107, 79, 0.15), transparent 34rem),
    radial-gradient(circle at 85% 12%, rgba(160, 132, 88, 0.16), transparent 30rem),
    var(--bg);
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(31, 31, 29, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(31, 31, 29, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.35), transparent 65%);
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.section {
  padding: 92px 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 245, 239, 0.74);
  border-bottom: 1px solid rgba(222, 219, 210, .7);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: background .2s ease, color .2s ease;
}

.nav a:hover {
  background: rgba(255,255,255,.75);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.65);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform .2s ease;
}

/* Hero */

.hero {
  padding-top: 86px;
  padding-bottom: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: 56px;
}

.eyebrow,
.section-kicker,
.tiny-label {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: .98;
}

h1 {
  max-width: 820px;
  margin-top: 16px;
  font-size: clamp(58px, 8vw, 112px);
}

h2 {
  font-size: clamp(38px, 5vw, 70px);
}

h3 {
  font-size: 30px;
}

.lead {
  max-width: 720px;
  margin-top: 28px;
  color: #3c3933;
  font-size: clamp(20px, 2.2vw, 27px);
  letter-spacing: -0.025em;
  line-height: 1.24;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 650;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 32px rgba(31,31,29,.18);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255,255,255,.66);
  color: var(--ink);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(222, 219, 210, .85);
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  position: relative;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.55);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(15,107,79,.18), rgba(255,255,255,0), rgba(31,31,29,.08));
}

.panel-top {
  display: flex;
  gap: 7px;
  padding: 6px 8px 14px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d7d2c8;
}

.path-card {
  padding: 20px;
  border-radius: 22px;
  background: var(--card-solid);
  border: 1px solid rgba(222,219,210,.72);
}

.path-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  counter-reset: item;
}

.path-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfaf7;
}

.path-list span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 13px;
}

.path-list strong,
.path-list small {
  display: block;
}

.path-list small {
  margin-top: 1px;
  color: var(--muted);
}

/* Sections */

.intro {
  padding-top: 46px;
}

.intro h2,
.section-head h2 {
  margin-top: 12px;
}

.intro p:not(.section-kicker),
.section-head p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 19px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.course-card,
.format-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 14px 54px rgba(36,31,21,.05);
}

.course-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 28px;
  backdrop-filter: blur(12px);
}

.course-card.featured {
  background:
    linear-gradient(145deg, rgba(223,242,233,.88), rgba(255,255,255,.72));
}

.course-card.premium {
  background:
    linear-gradient(145deg, rgba(31,31,29,.94), rgba(31,31,29,.84));
  color: #fff;
  border-color: rgba(255,255,255,.14);
}

.course-card.premium p,
.course-card.premium li,
.course-card.premium .course-subtitle,
.course-card.premium .course-level {
  color: rgba(255,255,255,.74);
}

.course-card.premium .outcome {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
}

.course-card.premium .outcome span {
  color: rgba(255,255,255,.6);
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.course-number {
  color: var(--accent);
  font-weight: 800;
}

.premium .course-number {
  color: #a7e6cc;
}

.course-level {
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.course-card h3 {
  max-width: 430px;
}

.course-subtitle {
  margin-top: 10px;
  color: var(--accent);
  font-weight: 650;
}

.course-card p:not(.course-subtitle) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

.course-card ul {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.course-card li {
  position: relative;
  padding-left: 22px;
  color: #4c4840;
}

.course-card li::before {
  content: "↳";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.outcome {
  margin-top: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.6);
}

.outcome span,
.outcome strong {
  display: block;
}

.outcome span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
}

.outcome strong {
  margin-top: 4px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 750;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform .2s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* Method */

.method-grid,
.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.method-list {
  display: grid;
  gap: 14px;
}

.method-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.method-item:first-child {
  border-top: 1px solid var(--line);
}

.method-item span {
  color: var(--accent);
  font-weight: 800;
}

.method-item p {
  color: var(--muted);
  font-size: 18px;
}

.method-item strong {
  color: var(--ink);
}

/* Formats */

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

.format-card {
  padding: 24px;
  min-height: 210px;
}

.format-card h3 {
  font-size: 25px;
}

.format-card p {
  margin-top: 14px;
  color: var(--muted);
}

/* Quote */

.quote-section {
  padding-top: 50px;
  padding-bottom: 50px;
}

blockquote {
  margin: 0;
  padding-left: 28px;
  border-left: 3px solid var(--accent);
  font-size: clamp(30px, 4vw, 54px);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

/* Why */

.rich-text p {
  color: var(--muted);
  font-size: 19px;
}

.rich-text p + p {
  margin-top: 18px;
}

.signature {
  color: var(--ink) !important;
  font-weight: 700;
}

/* Contact */

.contact-card {
  padding: clamp(28px, 6vw, 64px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,255,255,.58)),
    radial-gradient(circle at 80% 10%, rgba(15,107,79,.16), transparent 28rem);
}

.contact-card h2 {
  margin-top: 12px;
}

.contact-card p:not(.section-kicker) {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 20px;
}

.fineprint {
  font-size: 13px !important;
  color: #89847a !important;
}

/* Footer */

.site-footer {
  padding: 30px 0 46px;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 14px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand strong {
  color: var(--ink);
  font-weight: 700;
}

.footer-brand span {
  color: var(--muted);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-meta a {
  color: var(--muted);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legal pages: Impressum & Datenschutz */

.legal-page .rich-text {
  max-width: 820px;
}

.legal-page .rich-text > * + * {
  margin-top: 18px;
}

.legal-page h1 {
  margin-bottom: 36px !important;
}

.legal-page h2 {
  margin-top: 56px;
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.legal-page h3 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.legal-page p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.legal-page p + p {
  margin-top: 18px;
}

.legal-page h2 + h3,
.legal-page h2 + p,
.legal-page h3 + p {
  margin-top: 12px;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page .text-link {
  display: inline-flex;
  margin-top: 40px;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}

/* Responsive */

@media (max-width: 940px) {
  .hero-grid,
  .method-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-panel {
    max-width: 560px;
  }

  .course-grid,
  .format-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 64px 0;
  }

  .brand-text {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 80px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px 14px;
  }

  body.nav-open {
    overflow: hidden;
  }

  h1 {
    font-size: clamp(48px, 15vw, 76px);
  }

  .lead {
    font-size: 20px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .footer-grid {
    flex-direction: column;
  }
}
