/* Stack Sans Notch — dieselbe Datei, die flocta.com ausliefert (gekerbte Fassung).
   Die gleichnamige Google-Fonts-Familie ist NICHT gekerbt und darf nicht benutzt werden. */
@font-face {
  font-family: "Stack Sans Notch";
  src: url("assets/fonts/stack-sans-notch-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Stack Sans Notch";
  src: url("assets/fonts/stack-sans-notch-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+1E00-1EFF, U+2020, U+20A0-20AB, U+2113, U+A720-A7FF;
}

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-400.ttf") format("truetype");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Flocta Manifesto — Layout nachgebaut nach atoms.co/vision, Farbwelt invertiert auf Weiss.
   Messwerte der Vorlage: Spalte 912 px, Fliesstext 20/24, H1 44/44, Sektionstitel 24/33.6,
   Zitat 54/54 zentriert, Sektionsnummer 14 px rechtsbuendig, Haarlinie ueber jeder Sektion. */

:root {
  --bg: #ffffff;
  --ink: #24342b;          /* Tiefwald — Fliesstext */
  --ink-soft: rgba(36, 52, 43, 0.62);
  --accent: #5c7152;       /* Moos — Sektionstitel, Nummern, Zitat */
  --rule: rgba(36, 52, 43, 0.16);
  --ew: #52525b94;         /* Eckwinkel auf heller Flaeche, aus dem Live-CSS von flocta.com */
  --col: 912px;
  --pad: 56px;
  --font-display: "Stack Sans Notch", "Sora", system-ui, sans-serif;
  --font-sans: "Geist", system-ui, -apple-system, "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: -0.25px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--pad) 22px;
  border-bottom: 1px solid transparent;
}

.wordmark { display: block; }
.wordmark img { height: 26px; width: auto; }

.topnav { display: flex; gap: 46px; }

.topnav a {
  font-size: 16px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: -0.25px;
  color: var(--ink);
  opacity: 0.85;
  transition: opacity 0.18s ease;
}

.topnav a:hover,
.topnav a[aria-current="page"] { opacity: 1; color: var(--accent); }

/* ---------- Spalte ---------- */

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

/* ---------- Kopfbild ---------- */

.hero {
  margin-top: 104px;
}

.hero img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Die vier Eckwinkel — Floctas zweites Erkennungsmerkmal, Werte aus dem Live-CSS
   von flocta.com (.hero-corner-box): Armlaenge 10 px, Versatz -4 px nach aussen,
   Strichstaerke 1 px, Radius 0. Acht lineare Verlaeufe, zwei Arme je Ecke.
   Genau EINE Flaeche je Seite traegt sie — hier das Kopfbild, sonst nichts. */
.hero .shot { position: relative; display: block; }

.hero .shot::after {
  content: "";
  position: absolute;
  inset: -4px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--ew), var(--ew)), linear-gradient(var(--ew), var(--ew)),
    linear-gradient(var(--ew), var(--ew)), linear-gradient(var(--ew), var(--ew)),
    linear-gradient(var(--ew), var(--ew)), linear-gradient(var(--ew), var(--ew)),
    linear-gradient(var(--ew), var(--ew)), linear-gradient(var(--ew), var(--ew));
  background-size: 10px 1px, 1px 10px, 10px 1px, 1px 10px,
                   10px 1px, 1px 10px, 10px 1px, 1px 10px;
  background-position:
    left top, left top, right top, right top,
    left bottom, left bottom, right bottom, right bottom;
}

.hero figcaption {
  margin-top: 14px;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Titel ---------- */

.masthead { padding: 74px 0 0; text-align: center; }

.masthead h1 {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 44px;
  font-weight: 400;
  letter-spacing: -0.36px;
  text-transform: uppercase;
  color: var(--ink);
}

.deck {
  margin-left: auto;
  margin-right: auto;
  margin-top: 26px;
  font-size: 24px;
  line-height: 31px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--accent);
  max-width: 760px;
}

.masthead { padding-bottom: 92px; }

/* ---------- Sektionen ---------- */

.section {
  border-top: 1px solid var(--rule);
  padding: 44px 0 88px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 33.6px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--accent);
  max-width: 780px;
}

.section-head .num {
  flex: none;
  margin-top: 10px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  color: var(--accent);
}

.section p { margin-bottom: 36px; }
.section p:last-child { margin-bottom: 0; }

/* hervorgehobener Absatz innerhalb einer Sektion */
.section p.lead {
  font-size: 22px;
  line-height: 29px;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 22px;
}

/* ---------- Founder-CTA ---------- */

#the-price { scroll-margin-top: 100px; }
.join-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 12px;
}
.join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 58px;
  padding: 17px 27px;
  border: 1px solid #42722a;
  background: #355c23;
  color: #ffffff;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  animation: founder-glow 3.6s ease-in-out infinite;
}
.join-button:hover { animation-play-state: paused; background: #29491b; }
.join-button:focus-visible { outline: 2px solid #42722a; outline-offset: 6px; }
.founder-note {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 440px;
  color: #355c23;
  font-size: 17px;
  line-height: 25px;
}
.founder-note span { max-width: 300px; text-wrap: pretty; }
.founder-arrow { width: 88px; height: 56px; flex: none; }
/* Nur die gruene Flaeche leuchtet: Beschriftung und Hinweis verschwinden nie. */
@keyframes founder-glow {
  0%, 100% { background-color: #355c23; box-shadow: 0 0 0 0 rgba(66, 114, 42, 0); }
  50% { background-color: #42722a; box-shadow: 0 0 26px 5px rgba(66, 114, 42, 0.25); }
}
@media (max-width: 640px) {
  .join-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .join-button { width: 100%; }
  .founder-note { gap: 14px; padding-left: 10px; font-size: 16px; line-height: 23px; }
  .founder-arrow { width: 52px; height: 60px; transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .join-button { animation: none; background: #42722a; }
}
/* Ende Founder-CTA */

/* ---------- Zitat ---------- */

.pullquote {
  padding: 92px 24px 84px;
  text-align: center;
}

.pullquote blockquote {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 54px;
  font-weight: 400;
  letter-spacing: -0.36px;
  color: var(--accent);
}

/* ---------- Bild in der Spalte ---------- */

.plate { margin: 68px auto 60px; max-width: 600px; }

.plate img { width: 100%; height: auto; }

.plate figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Signatur ---------- */

.signoff {
  border-top: 1px solid var(--rule);
  padding: 46px 0 150px;
}

.signoff .name {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Fusszeile ---------- */

.foot {
  border-top: 1px solid var(--rule);
  padding: 92px var(--pad) 46px;
  text-align: center;
}

.foot .big {
  display: block;
  width: min(460px, 100%);
  height: auto;
  margin: 0 auto;
}

.foot nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 52px;
  margin-top: 54px;
  font-size: 16px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: -0.25px;
}

.foot nav a:hover { color: var(--accent); }

/* ---------- Schmale Fenster ---------- */

@media (max-width: 1000px) {
  :root { --pad: 24px; }
  body { font-size: 18px; line-height: 23px; }
  .topnav { gap: 26px; }
  .topnav a { font-size: 15px; }
  .hero { margin-top: 72px; }
  .hero img { height: 260px; }
  .masthead { padding: 52px 0 64px; }
  .masthead h1 { font-size: 34px; line-height: 34px; }
  .deck { font-size: 20px; line-height: 27px; }
  .section { padding: 36px 0 64px; }
  .section-head h2 { font-size: 20px; line-height: 27px; }
  .section-head .num { margin-top: 6px; }
  .section p { margin-bottom: 28px; }
  .pullquote { padding: 64px 0 60px; }
  .pullquote blockquote { font-size: 32px; line-height: 36px; }
  .foot nav { gap: 14px 26px; margin-top: 36px; }
  .foot .big { width: min(300px, 100%); }
}

@media (max-width: 640px) {
  .topnav a:not(:last-child) { display: none; }
}

/* ---------- Einblenden beim Scrollen ----------
   An atoms.co/vision gemessen: Textblock startet bei opacity 0 und translateY(50px)
   und faehrt beim Eintritt in den Blick auf 0/1. Ueberschriften und Linien bleiben dort
   statisch, deshalb tragen hier nur die Absaetze, Bilder und das Zitat die Bewegung. */

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Ohne JavaScript und bei reduzierter Bewegung steht alles sofort sichtbar da. */
.no-js .reveal { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
