/* ==========================================================================
   Netzwerk für Menschen im Wandel — Landingpage
   ========================================================================== */

/* ---- Lokale Schriften ----
   Dateien selbst besorgen und hier ablegen:
   ./fonts/Fraunces-Regular.woff2, ./fonts/Fraunces-Italic.woff2,
   ./fonts/Fraunces-SemiBold.woff2, ./fonts/Inter-Regular.woff2,
   ./fonts/Inter-Medium.woff2, ./fonts/Inter-SemiBold.woff2
   Bis dahin greifen die Systemschrift-Fallbacks unten automatisch. */

@font-face {
  font-family: "Fraunces";
  src: url("./fonts/Fraunces-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("./fonts/Fraunces-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("./fonts/Fraunces-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("./fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("./fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("./fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --bg: #0e1c15;
  --bg-alt: #142a1f;
  --bg-alt-2: #0a140e;
  --panel: #17301f;

  --ink: #f3ede0;
  --ink-muted: #c9c0aa;
  --ink-faint: rgba(243, 237, 224, 0.55);

  --gold: #c9a24a;
  --gold-bright: #e3c073;
  --gold-deep: #8a6a2c;

  --line: rgba(243, 237, 224, 0.14);
  --line-strong: rgba(243, 237, 224, 0.24);

  --font-heading: "Fraunces", Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --wrap-narrow: 700px;
}

/* ---- Reset & base ---- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
}
h3 {
  font-size: 1.2rem;
  color: var(--gold-bright);
}
p {
  margin: 0 0 1.1em;
}
em {
  font-style: italic;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding: clamp(56px, 8vw, 100px) 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--gold);
  color: var(--bg-alt-2);
  padding: 12px 18px;
  border-radius: 6px;
  z-index: 100;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---- Eyebrow / small caps label ---- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 1em;
}
.eyebrow--on-alt {
  color: var(--gold);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--gold);
  color: #241a08;
}
.btn--primary:hover {
  background: var(--gold-bright);
  transform: translateY(-1px);
}
.btn--secondary {
  background: transparent;
  color: var(--gold-bright);
  border-color: var(--line-strong);
}
.btn--secondary:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 74, 0.08);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}
.btn--small {
  padding: 9px 20px;
  font-size: 0.88rem;
}
.btn--text {
  background: none;
  border: none;
  color: var(--ink-muted);
  padding: 14px 6px;
}
.btn--text:hover {
  color: var(--gold-bright);
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 20, 14, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  row-gap: 8px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.wordmark {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.wordmark__dot {
  color: var(--gold);
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-header__link {
  font-size: 0.92rem;
  color: var(--ink-muted);
  text-decoration: none;
}
.site-header__link:hover {
  color: var(--gold-bright);
}
.site-header__link[aria-current="page"] {
  color: var(--gold-bright);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(120% 90% at 18% -10%, rgba(227, 192, 115, 0.16), transparent 55%),
    linear-gradient(180deg, #0a1610 0%, #0e1c15 55%, #0b1a12 100%);
}
.hero__beam {
  position: absolute;
  inset: -10% -10% -10% -10%;
  background:
    conic-gradient(from 205deg at 15% 5%,
      rgba(227, 192, 115, 0.22) 0deg,
      rgba(227, 192, 115, 0.10) 10deg,
      transparent 24deg,
      transparent 336deg,
      rgba(227, 192, 115, 0.14) 350deg,
      rgba(227, 192, 115, 0.22) 360deg);
  filter: blur(18px);
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(96px, 16vw, 168px);
  padding-bottom: clamp(90px, 12vw, 140px);
  max-width: 760px;
}
.hero__title {
  font-size: clamp(2.4rem, 1.6rem + 4vw, 4rem);
  margin-bottom: 0.55em;
}
.hero__claim {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  color: var(--ink);
  max-width: 34ch;
  margin-bottom: 2em;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.4em;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.98rem;
  color: var(--ink);
}
.hero__meta-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.hero__treeline {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: clamp(70px, 12vw, 150px);
  margin-top: -4px;
}
.treeline__back {
  fill: #10241a;
}
.treeline__front {
  fill: var(--bg-alt);
}

/* ---- Impuls (Manifest-Text) ---- */
.impuls {
  background: var(--bg-alt);
}
.lede {
  font-size: 1.12rem;
  color: var(--ink);
}
.pull-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-bright);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  line-height: 1.35;
  margin: 1em 0 1em;
}
.pull-quote--small {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  color: var(--gold);
}
.impuls p:not(.lede):not(.pull-quote) {
  color: var(--ink-muted);
}
.closing-lines {
  margin-top: 2em;
  padding-top: 1.6em;
  border-top: 1px solid var(--line);
  font-family: var(--font-heading);
  font-size: 1.2rem;
}
.closing-lines p {
  margin: 0 0 0.3em;
}

/* ---- Konzept ---- */
.konzept {
  background: var(--bg);
}
.konzept p {
  color: var(--ink-muted);
}

/* ---- Ablauf / Timeline ---- */
.ablauf {
  background: var(--bg-alt);
}
.section-head {
  max-width: 640px;
  margin: 0 0 3em;
}
.section-head__text {
  color: var(--ink-muted);
  margin-bottom: 0;
}
.h2--center {
  text-align: center;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 27px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-deep), var(--line) 90%);
}
.timeline__item {
  position: relative;
  display: flex;
  gap: 24px;
  padding-bottom: 2.6em;
}
.timeline__item:last-child {
  padding-bottom: 0;
}
.timeline__marker {
  position: relative;
  z-index: 1;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-alt-2);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gold-bright);
  font-size: 1rem;
}
.timeline__content {
  padding-top: 6px;
}
.timeline__content h3 {
  margin-bottom: 0.3em;
}
.timeline__content p {
  color: var(--ink-muted);
  margin-bottom: 0;
  max-width: 56ch;
}

/* ---- Was dich erwartet ---- */
.erwartet {
  background: var(--bg);
}
.feature-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 480px;
  display: grid;
  gap: 14px;
}
.feature-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-muted);
  font-size: 1.02rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 16px;
  height: 1px;
  background: var(--gold);
}

/* ---- Zitat ---- */
.zitat {
  position: relative;
  background: var(--bg-alt-2);
  overflow: hidden;
  text-align: center;
}
.zitat__beam {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, rgba(227, 192, 115, 0.16), transparent 70%);
  pointer-events: none;
}
.zitat blockquote {
  position: relative;
  margin: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 1.3rem + 2vw, 2.6rem);
  color: var(--gold-bright);
}

/* ---- Ort ---- */
.ort {
  background: var(--bg-alt);
}
.ort__address {
  font-size: 1.15rem;
  color: var(--ink);
}
.ort p:not(.ort__address) {
  color: var(--ink-muted);
}

/* ---- Anmeldung ---- */
.anmeldung {
  background: var(--bg);
}
.anmeldung > .wrap > p {
  color: var(--ink-muted);
}
.consent-note {
  margin-top: 2em;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.consent-note p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-bottom: 0.9em;
}
.consent-note p:last-child {
  margin-bottom: 0;
}

.brevo-form-wrap {
  margin-top: 2.2em;
  padding: clamp(20px, 4vw, 32px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}

/* ---- Unterseiten: Page-Hero ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 18% -10%, rgba(227, 192, 115, 0.14), transparent 55%),
    linear-gradient(180deg, #0a1610 0%, #0e1c15 65%, #0e1c15 100%);
  padding: clamp(88px, 14vw, 136px) 0 clamp(40px, 6vw, 64px);
}
.page-hero__inner {
  max-width: 760px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--ink-muted);
  text-decoration: none;
  margin-bottom: 1.8em;
}
.back-link:hover {
  color: var(--gold-bright);
}
.page-hero h1 {
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem);
  margin-bottom: 0.3em;
}
.page-hero__subtitle {
  color: var(--ink-muted);
  font-size: 1.02rem;
  margin: 0;
  max-width: 56ch;
}

/* ---- Unterseiten: Rechtstexte ---- */
.legal-content {
  background: var(--bg);
}
.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2.4em;
}
.legal-content > .wrap > h2:first-of-type {
  margin-top: 0;
}
.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 1.6em;
}
.legal-content p,
.legal-content li {
  color: var(--ink-muted);
}
.legal-content strong {
  color: var(--ink);
}
.legal-content ul,
.legal-content ol {
  padding-left: 1.3em;
  margin: 0 0 1.1em;
}
.legal-content li {
  margin-bottom: 0.45em;
}
.legal-content a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content address {
  font-style: normal;
  color: var(--ink);
  margin: 0 0 1.1em;
  line-height: 1.6;
}

.table-scroll {
  overflow-x: auto;
  margin: 1.4em 0;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 480px;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  color: var(--ink-muted);
}
.legal-table th {
  color: var(--gold-bright);
  font-family: var(--font-heading);
  font-weight: 600;
}

/* ---- Unterseiten: Wer wir sind ---- */
.about-content {
  background: var(--bg);
}
.about-content h2 {
  font-size: 1.5rem;
  margin-top: 2.2em;
}
.about-content > .wrap > h2:first-of-type {
  margin-top: 0;
}
.about-content p {
  color: var(--ink-muted);
}
.about-cta {
  margin-top: 2.4em;
  padding-top: 2em;
  border-top: 1px solid var(--line);
  text-align: center;
}
.about-cta p {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--ink);
  font-size: 1.15rem;
  margin-bottom: 1em;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-alt-2);
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 44px 24px;
}
.wordmark--footer {
  font-size: 1.1rem;
}
.site-footer__tagline {
  margin: 10px 0 0;
  font-size: 0.86rem;
  color: var(--ink-faint);
  max-width: 42ch;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.site-footer__links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.site-footer__links a:hover {
  color: var(--gold-bright);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .hero__inner {
    padding-top: 88px;
  }
  .site-header__nav {
    gap: 12px;
  }
  .timeline__item {
    gap: 16px;
  }
  .timeline__marker {
    width: 46px;
    height: 46px;
    font-size: 0.88rem;
  }
  .timeline::before {
    left: 22px;
  }
  .site-footer__inner {
    flex-direction: column;
  }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
