/* Expertenhebel – Landingpage. Schrift liegt lokal, keine Anfragen an fremde Server. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --ink: #1c1f1d;
  --muted: #5d645e;
  --line: #e4ddd0;
  --brand: #c2410c;
  --brand-hover: #a8380a;
  --brand-ink: #ffffff;
  --brand-soft: #fbeadf;
  --dark: #18201c;
  --dark-surface: #222b26;
  --dark-ink: #f3efe7;
  --dark-muted: #b4bab4;
  --dark-line: #34403a;
  --ok: #15803d;
  --danger: #b42318;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121614;
    --surface: #1b201d;
    --ink: #ece9e2;
    --muted: #a3aaa4;
    --line: #2d3530;
    --brand: #f0743a;
    --brand-hover: #f58a56;
    --brand-ink: #1a0f08;
    --brand-soft: #2d1d14;
    --dark: #0c0f0d;
    --dark-surface: #171c19;
    --ok: #4ade80;
    --danger: #f87171;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 720px;
}

section {
  padding: 88px 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.1875rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--brand);
  color: var(--brand-ink);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn:hover {
  background: var(--brand-hover);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--surface);
}

/* Kopfzeile */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.logo svg {
  width: 28px;
  height: 28px;
  flex: none;
}

.site-header .btn {
  padding: 9px 16px;
  font-size: 0.9375rem;
}

/* Hero */
.hero {
  padding: 96px 0 72px;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  max-width: 14ch;
}

.hero .lead {
  max-width: 40em;
}

.promise {
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  font-weight: 700;
  margin: 28px 0 32px;
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.facts div {
  background: var(--surface);
  padding: 20px;
}

.facts strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.facts span {
  font-size: 0.875rem;
  color: var(--muted);
}

.audience {
  margin-top: 20px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.proof {
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--brand);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Beruf über einer Beispielkarte */
.role {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}

/* Warum jetzt */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.why .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

/* Zitate */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  font-size: 1.0625rem;
  font-weight: 500;
}

/* Karten-Raster */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.card h3 {
  margin-bottom: 6px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Dunkler Abschnitt: das Prinzip */
.dark {
  background: var(--dark);
  color: var(--dark-ink);
}

.dark .lead,
.dark .muted {
  color: var(--dark-muted);
}

.dark .eyebrow {
  color: #f0743a;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  counter-reset: step;
}

.step {
  background: var(--dark-surface);
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  padding: 24px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0743a;
  color: #1a0f08;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 14px;
}

.step p {
  margin: 0;
  color: var(--dark-muted);
  font-size: 0.9375rem;
}

.callout {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 3px solid #f0743a;
  background: var(--dark-surface);
  border-radius: 0 12px 12px 0;
}

.callout p {
  margin: 0;
}

/* Ablauf: zwei Phasen, fünf Tore */
.phase-labels {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 12px;
  margin-top: 40px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phase-labels div {
  border-bottom: 2px solid var(--line);
  padding-bottom: 8px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.gate {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.gate .when {
  font-size: 0.8125rem;
  color: var(--muted);
}

.gate h3 {
  margin: 4px 0 10px;
}

.gate ul {
  margin: 0 0 16px;
  padding-left: 18px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.gate .goal {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 600;
}

.gate.key {
  border: 2px solid var(--brand);
  background: var(--brand-soft);
}

.gate.key .goal {
  color: var(--brand);
  border-top-color: color-mix(in srgb, var(--brand) 30%, transparent);
}

.gate.phase2 {
  background: color-mix(in srgb, var(--surface) 60%, var(--line));
}

.mobile-phase {
  display: none;
}

/* Hackathon-Tag */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.schedule {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.schedule li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.schedule li:first-child {
  border-top: 0;
}

.schedule time {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Wochenrhythmus */
.rhythm {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  font-size: 0.9375rem;
}

.rhythm th,
.rhythm td {
  text-align: left;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.rhythm thead th {
  border-top: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
}

/* Liste mit Häkchen */
.checks {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}

.checks li {
  position: relative;
  padding-left: 30px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 1.5px solid var(--brand);
}

.checks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.3em + 4px);
  width: 5px;
  height: 8px;
  border: solid var(--brand);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Preise */
.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.price {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.price.main {
  border: 2px solid var(--brand);
}

.price .tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.price .amount {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 6px 0 4px;
}

.price .amount small {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.price .note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.price ul {
  margin: 0 0 24px;
  padding-left: 18px;
  font-size: 0.9375rem;
}

.price li {
  margin-bottom: 6px;
}

.price .btn {
  margin-top: auto;
}

.fineprint {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Garantie */
.guarantee {
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  border-radius: 24px;
  padding: 40px;
}

.guarantee h2 {
  margin-bottom: 16px;
}

/* Über Bernhard */
.about {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: start;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--dark-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* FAQ */
.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* Formular */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  margin-top: 32px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.field .hint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 6px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--muted);
  margin: 8px 0 22px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-msg {
  margin-top: 14px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-msg.error {
  color: var(--danger);
}

.success {
  text-align: center;
  padding: 24px 8px;
}

.success h3 {
  font-size: 1.5rem;
}

/* Fußzeile */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a {
  color: var(--muted);
}

/* Rechtsseiten */
.legal {
  padding: 56px 0 80px;
}

.legal h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 36px 0 8px;
}

.legal h3 {
  font-size: 1rem;
  margin: 20px 0 4px;
}

.legal p,
.legal li {
  font-size: 0.9875rem;
}

.legal ul {
  padding-left: 20px;
}

/* Handy und Tablet */
@media (max-width: 900px) {
  .timeline {
    grid-template-columns: 1fr;
  }
  .phase-labels {
    display: none;
  }
  .mobile-phase {
    display: block;
    margin-top: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  section {
    padding: 64px 0;
  }
  .hero {
    padding: 56px 0 48px;
  }
  .site-header .btn {
    display: none;
  }
  .facts,
  .quotes,
  .why,
  .grid,
  .steps,
  .split,
  .checks,
  .prices,
  .fineprint,
  .row {
    grid-template-columns: 1fr;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
  .split {
    gap: 28px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .avatar {
    width: 88px;
    height: 88px;
    font-size: 1.75rem;
  }
  .guarantee,
  .form-card {
    padding: 24px;
  }
}
