/* ===================================================================
   Öffentliche Seite

   Gleiche Werte wie die App — wer von hier in den Planer wechselt, soll
   nicht merken, dass er das Produkt gewechselt hat. Lauter ist nur der
   Kopfbereich, und dort trägt die Zeitschiene die Aussage: ein Tag, drei
   Termine, ein Strich für jetzt. Das ist die These der Seite, nicht ein
   Bild von jemandem am Laptop.
   =================================================================== */

body.site { background: var(--paper); }

/* ---------- Kopfzeile ---------- */

.site-head {
  display: flex; align-items: center; gap: 34px;
  max-width: 1060px; margin: 0 auto; padding: 22px 26px;
}
.site-head .wordmark { font-size: 18px; }
.site-head .logo { height: 28px; width: auto; display: block; }
.site-head nav { display: flex; gap: 4px; margin-right: auto; }
.site-head nav a {
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 7px 12px; border-radius: var(--r-sm); transition: background .15s var(--ease);
}
.site-head nav a:hover { color: var(--ink); background: var(--surface); }
.site-head-actions { display: flex; align-items: center; gap: 12px; }
.site-head-actions a:not(.btn) {
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500;
}
.site-head-actions a:not(.btn):hover { color: var(--ink); }

.btn.big  { padding: 13px 24px; font-size: 15px; border-radius: var(--r); }
.btn.wide { display: block; text-align: center; }

.eyebrow {
  display: inline-block;
  font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--signal); background: var(--signal-2);
  padding: 5px 11px; border-radius: var(--r-pill); margin: 0 0 20px;
}

/* ---------- Kopfbereich ---------- */

.hero {
  position: relative;
  max-width: 1060px; margin: 0 auto; padding: 40px 26px 88px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center;
}
/* Ein einziger weicher Lichtschein hinter der Schiene, sonst nichts. */
.hero::after {
  content: ''; position: absolute; right: 4%; top: 10%;
  width: 460px; height: 460px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--signal) 16%, transparent) 0%, transparent 68%);
  pointer-events: none;
}
.hero-text, .hero-rail { position: relative; z-index: 1; }

.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 5.8vw, 66px);
  line-height: .98; letter-spacing: -.045em; margin: 0 0 22px;
}
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 44ch; margin: 0; }
.lead.center { margin: 0 auto 36px; text-align: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 0; }

.hero-rail { padding-left: 6px; }
.hero-rail::before {
  content: ''; position: absolute; left: 68px; top: 10px; bottom: 10px;
  width: 1px; background: var(--line-2);
}
.hero-slot { display: grid; grid-template-columns: 56px 1fr; gap: 26px; align-items: center; margin: 16px 0; }
.hero-slot b {
  font: 600 16px var(--mono); letter-spacing: -.05em; text-align: right;
  font-variant-numeric: tabular-nums;
}
.hero-card {
  position: relative; background: var(--surface); border-radius: var(--r);
  padding: 15px 17px; font-size: 14px; font-weight: 500; box-shadow: var(--sh-2);
}
.hero-card::before {
  content: ''; position: absolute; left: -30.5px; top: 50%; margin-top: -4.5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 4px var(--paper);
}
.hero-card .kind { background: var(--signal-2); color: var(--signal); }

/* Der Jetzt-Strich: das einzige bewegte Element der Seite. */
.hero-rail .now {
  position: absolute; left: 68px; right: 0; height: 1px; z-index: 2;
  background: repeating-linear-gradient(90deg, var(--stop) 0 5px, transparent 5px 10px);
  transition: top .8s var(--ease);
}
.hero-rail .now-label {
  position: absolute; left: -62px; top: -10px;
  font: 600 11px var(--mono); letter-spacing: -.02em;
  color: var(--stop); font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) { .hero-rail .now { transition: none; } }

/* ---------- Abschnitte ---------- */

.band { max-width: 1060px; margin: 0 auto; padding: 76px 26px; }
.band + .band { border-top: 1px solid var(--line); }
.band h2 {
  font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.038em; margin: 0 0 32px;
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.steps li {
  background: var(--surface); border-radius: var(--r-lg); padding: 26px 24px 24px;
  box-shadow: var(--sh-1);
}
/* Nummeriert, weil hier tatsächlich eine Reihenfolge gilt. */
.steps .num {
  display: inline-block; font: 600 12px var(--mono); letter-spacing: .08em;
  color: var(--signal); margin-bottom: 14px;
}
.steps h3 { font-size: 18px; margin: 0 0 8px; }
.steps p { color: var(--ink-2); font-size: 15px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.feature {
  padding: 24px; background: var(--surface); box-shadow: var(--sh-1);
}
.features .feature:nth-child(1) { border-radius: var(--r-lg) 0 0 0; }
.features .feature:nth-child(2) { border-radius: 0 var(--r-lg) 0 0; }
.features .feature:nth-last-child(2) { border-radius: 0 0 0 var(--r-lg); }
.features .feature:last-child { border-radius: 0 0 var(--r-lg) 0; }
.feature h3 { font-family: var(--body); font-size: 16px; font-weight: 600; margin: 0 0 6px; letter-spacing: 0; }
.feature p  { color: var(--ink-2); font-size: 14px; margin: 0; line-height: 1.55; }

/* ---------- Preise ---------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan {
  position: relative; background: var(--surface); border-radius: var(--r-lg);
  padding: 30px 26px 26px; box-shadow: var(--sh-1);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.plan:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.plan.featured { box-shadow: 0 0 0 1.5px var(--signal), var(--sh-3); }
.plan-badge {
  position: absolute; top: -11px; left: 26px;
  font: 600 10px var(--mono); letter-spacing: .12em; text-transform: uppercase;
  background: var(--signal); color: #fff; padding: 5px 11px; border-radius: var(--r-pill);
}
.plan h3 { font-size: 21px; margin: 0 0 3px; }
.plan-tag { font-size: 13px; color: var(--ink-2); margin: 0 0 22px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.plan-price strong {
  font: 600 40px var(--mono); letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}
.plan-price span { font-size: 13px; color: var(--ink-2); }
.plan-note { font-size: 12px; color: var(--ink-3); margin: 6px 0 22px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 26px; }
.plan-features li {
  font-size: 14px; padding: 10px 0 10px 26px; position: relative;
  border-top: 1px solid var(--line); color: var(--ink-2);
}
.plan-features li::before {
  content: ''; position: absolute; left: 4px; top: 17px;
  width: 10px; height: 5px; border-left: 2px solid var(--signal);
  border-bottom: 2px solid var(--signal); transform: rotate(-45deg);
}

/* ---------- Fragen und Abschluss ---------- */

.faq { max-width: 760px; }
.faq details {
  background: var(--surface); border-radius: var(--r); margin-bottom: 8px;
  box-shadow: var(--sh-1); overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 22px; font-size: 16px; font-weight: 500;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font: 400 22px var(--mono); color: var(--ink-3); line-height: 1;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--ink-2); font-size: 15px; margin: 0; padding: 0 22px 20px; max-width: 66ch; }

.closing { text-align: center; }
.closing .lead { margin: 0 auto 32px; }

/* ---------- Fuß ---------- */

.site-foot {
  max-width: 1060px; margin: 0 auto; padding: 36px 26px 64px;
  border-top: 1px solid var(--line); display: flex; flex-wrap: wrap;
  gap: 16px 34px; align-items: baseline; font-size: 14px;
}
.site-foot strong { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
.site-foot span { color: var(--ink-2); margin-left: 9px; }
.site-foot nav {
  /* Fünf Links passen auf dem Handy nicht in eine Zeile — ohne Umbruch
     schiebt die Fußzeile die ganze Seite über den Rand. */
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-left: auto;
}
.site-foot nav a { color: var(--ink-2); text-decoration: none; }
.site-foot nav a:hover { color: var(--ink); }
.site-foot .fine { width: 100%; font-size: 12px; color: var(--ink-3); margin: 0; }

/* ---------- Rechtstexte ---------- */

.legal { max-width: 660px; margin: 0 auto; padding: 44px 26px 88px; }
.legal h1 {
  /* Ein Wort wie „Nutzungsbedingungen" ist bei fester Größe breiter als ein
     Handydisplay. Die Schrift wächst deshalb mit der Fläche mit. */
  font-size: clamp(27px, 7vw, 38px);
  letter-spacing: -.04em; margin: 0 0 26px;
  overflow-wrap: break-word; hyphens: auto;
}
.legal p {
  color: var(--ink-2); margin: 0 0 18px; line-height: 1.7;
  /* Rechtstexte stecken voller Wortungetüme wie
     „Verbraucherschlichtungsstelle". Ohne Trennung schieben die auf
     schmalen Bildschirmen die ganze Seite über den Rand. */
  overflow-wrap: break-word;
  hyphens: auto;
}
.legal p:first-of-type { color: var(--ink); font-size: 17px; }

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 20px 20px 64px; }
  .hero::after { display: none; }
  .band { padding: 52px 20px; }
  .steps, .plans { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .features .feature { border-radius: 0 !important; }
  .features .feature:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0 !important; }
  .features .feature:last-child  { border-radius: 0 0 var(--r-lg) var(--r-lg) !important; }
  .site-head { gap: 16px; padding: 16px 20px; }
  .site-head nav { display: none; }
  .site-head-actions { margin-left: auto; }
  .site-foot nav { margin-left: 0; }
}

/* Zwischenüberschriften in Rechtstexten */
.legal h2 {
  font-size: 19px; letter-spacing: -.02em;
  margin: 34px 0 10px; padding-top: 22px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 26px; }
