/* ============================================================
   GenehmigungsOS — Landing page styles
   Loads on top of ../colors_and_type.css
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Container ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.site-header__logo img { height: 40px; width: auto; }
.site-header__nav {
  display: flex; gap: 20px; align-items: center;
  font-size: 14px; color: var(--color-text-muted);
}
.site-header__nav a { text-decoration: none; transition: color 150ms var(--ease-standard); }
.site-header__nav a:hover { color: var(--color-text-strong); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--color-text-muted); font-weight: 500;
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--color-accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; height: 48px; padding: 0 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font: 500 15px/1 var(--font-sans);
  text-decoration: none;
  transition: background 150ms var(--ease-standard), color 150ms, border-color 150ms;
}
.btn--primary { background: var(--color-accent); color: var(--color-text-on-accent); }
.btn--primary:hover { background: var(--color-accent-hover); }
.btn--secondary {
  background: var(--color-surface); color: var(--color-text-strong);
  border-color: var(--color-border);
}
.btn--secondary:hover { border-color: var(--color-border-strong); }
.btn--ghost { background: transparent; color: var(--color-text-strong); }
.btn--ghost:hover { color: var(--color-accent); }
.btn--on-dark { background: #FFFFFF; color: var(--color-primary); }
.btn--on-dark:hover { background: #F1F0EA; }
.btn__arrow { font-size: 16px; line-height: 1; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 32px; }
@media (min-width: 880px) { .hero { padding: 96px 0 48px; } }
.hero__grid {
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.15fr 1fr; gap: 72px; }
}
.hero__headline {
  margin: 16px 0 20px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--color-text-strong);
  text-wrap: balance;
}
.hero__subline {
  margin: 0 0 32px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.55;
  color: var(--color-text);
  max-width: 560px;
  text-wrap: pretty;
}
.hero__subline strong { color: var(--color-text-strong); font-weight: 600; }
.hero__cta-block { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero__illustration {
  display: flex; justify-content: center; align-items: center;
  min-height: 260px;
}
.hero__illustration img { width: 100%; max-width: 440px; height: auto; }

/* ---------- Trust row ---------- */
.trust {
  display: flex; flex-wrap: wrap; gap: 18px; row-gap: 10px;
  font-size: 14px; color: var(--color-text);
}
.trust__item { display: inline-flex; align-items: center; gap: 8px; }
.trust__check {
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--color-accent-soft); color: var(--color-accent);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---------- Section ---------- */
.section { padding: 48px 0; }
@media (min-width: 880px) { .section { padding: 72px 0; } }
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__title {
  margin: 12px 0 12px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600; color: var(--color-text-strong);
  line-height: 1.25; letter-spacing: -0.01em;
}
.section__lede {
  font-size: 16px; line-height: 1.6; color: var(--color-text);
  max-width: 560px;
}

/* ---------- Feature strip ---------- */
.features {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.feature__icon {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  background: var(--color-accent-soft); color: var(--color-accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature__title {
  font-size: 17px; font-weight: 600; color: var(--color-text-strong);
  margin: 0 0 6px;
}
.feature__body {
  font-size: 14.5px; line-height: 1.55; color: var(--color-text); margin: 0;
}

/* ---------- Agenda / Topics list ---------- */
.agenda { margin-bottom: 40px; }
a.topic {
  text-decoration: none; color: inherit;
  transition: background 150ms var(--ease-standard);
  padding-left: 12px; padding-right: 12px;
}
a.topic:hover { background: var(--color-surface-2); }
a.topic:hover .topic__label { color: var(--color-accent); }
a.topic:hover .topic__hint { color: var(--color-text); }
/* offset for sticky header when jumping to a section */
.field-set { scroll-margin-top: 92px; }
#umfrage { scroll-margin-top: 80px; }
.topics {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.topic {
  display: grid; grid-template-columns: 32px 1fr auto; gap: 18px; align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.topic:last-child { border-bottom: none; }
.topic__num {
  font-family: var(--font-mono); font-size: 13px; color: var(--color-text-muted);
}
.topic__label {
  font-size: 17px; font-weight: 500; color: var(--color-text-strong); margin: 0;
}
.topic__hint {
  font-size: 14px; color: var(--color-text-muted); text-align: right; white-space: nowrap;
}

/* ---------- Founder note ---------- */
.founder {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 720px) { .founder { grid-template-columns: 64px 1fr; padding: 40px; } }
.founder__avatar {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent); font-weight: 600; font-size: 20px;
}
.founder__body { font-size: 16px; line-height: 1.6; color: var(--color-text); }
.founder__body p { margin: 0 0 12px; }
.founder__sig {
  font-size: 14px; color: var(--color-text-muted); margin-top: 14px;
}
.founder__sig strong { color: var(--color-text-strong); font-weight: 600; }

/* ---------- CTA band (navy) ---------- */
.cta-band {
  background: var(--color-primary); color: var(--color-text-on-dark);
}
.cta-band__inner {
  padding: 64px 0;
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 720px) {
  .cta-band__inner { grid-template-columns: 1.4fr auto; gap: 48px; padding: 80px 0; }
}
.cta-band__title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600; line-height: 1.3;
  text-wrap: balance;
}
.cta-band__title em { font-style: normal; color: var(--color-accent-lime); }
.cta-band__sub {
  margin: 10px 0 0; font-size: 15px; line-height: 1.55;
  color: rgba(250, 250, 247, 0.75);
  max-width: 560px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 0 48px;
  background: var(--color-bg);
}
.site-footer__row {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--color-text-muted);
}
.site-footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__links a { text-decoration: none; transition: color 150ms; }
.site-footer__links a:hover { color: var(--color-text-strong); }
.site-footer__legal {
  margin-top: 16px;
  font-size: 12.5px; line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 820px;
}

/* ---------- Reveal-on-load (subtle, no JS dependency in CSS) ---------- */
.fade-in {
  animation: fadeUp 480ms var(--ease-standard) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in.delay-1 { animation-delay: 80ms; }
.fade-in.delay-2 { animation-delay: 160ms; }
.fade-in.delay-3 { animation-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { animation: none; }
}
