/* ============================================================
   Reden hilft. – Kampagnen-Website
   Farbwelt: gedecktes Petrol/Salbei auf warmem Off-White,
   Gold-Akzent ausschließlich für Call-to-Actions.
   Typografie: Fraunces (Überschriften), Libre Franklin (Fließtext),
   beide selbst gehostet (keine Anfragen an Google-Server).
   ============================================================ */

/* ---------- Fonts (variable, latin) ---------- */

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

@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/LibreFranklin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/LibreFranklin-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Grundgerüst ---------- */

:root {
  --paper: #faf6ee;
  --paper-deep: #f1eadc;
  --ink: #26332f;
  --ink-soft: #51605b;
  --petrol: #1f4e49;
  --petrol-deep: #16332f;
  --petrol-line: #d9d2c0;
  --sage: #a9bfa8;
  --sage-ink: #7e997f;
  --sage-bright: #cbdcc9;
  --sage-soft: #e6ebdf;
  /* Gold ausschließlich für Call-to-Actions (Konzept, Abschnitt 5).
     Bewusst gelbstichig gehalten — kein Kupfer-/Bronzeton. */
  --gold: #c2a452;
  --gold-deep: #9c8130;
  --on-gold: #221a08;

  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --container: 71.25rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--petrol);
  margin: 0 0 1rem;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--petrol);
  text-decoration-color: color-mix(in srgb, var(--petrol) 40%, transparent);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Auf dunklen Flächen braucht der Fokus-Ring eine helle Farbe. */
.finder :focus-visible,
.site-footer :focus-visible,
.opener :focus-visible {
  outline-color: var(--sage);
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -100vw;
  top: 0;
  z-index: 100;
  background: var(--petrol);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
}

.skip-link:focus {
  left: 0;
}

.kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 0.75rem;
}

.kicker--light {
  color: var(--sage);
}

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 0.9em 1.8em;
  cursor: pointer;
  transition:
    background-color 240ms cubic-bezier(0.33, 1, 0.68, 1),
    color 240ms cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 240ms cubic-bezier(0.33, 1, 0.68, 1),
    transform 240ms cubic-bezier(0.33, 1, 0.68, 1);
}

.button--gold {
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: 0 2px 10px rgba(34, 26, 8, 0.12);
}

.button--gold:hover {
  background: var(--gold-deep);
  color: var(--on-gold);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(34, 26, 8, 0.2);
}

.button--gold:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(34, 26, 8, 0.16);
}

.button--large {
  font-size: 1.125rem;
  padding: 1.05em 2em;
}

.button[aria-busy="true"] {
  opacity: 0.75;
  cursor: progress;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--petrol-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4rem;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--petrol);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.wordmark__dot {
  color: var(--sage-ink);
}

.wordmark--footer .wordmark__dot {
  color: var(--sage);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--petrol);
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.site-nav__cta {
  background: var(--petrol);
  color: var(--paper) !important;
  border-radius: 999px;
  padding: 0.55em 1.2em;
  transition:
    background-color 240ms cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 240ms cubic-bezier(0.33, 1, 0.68, 1),
    transform 240ms cubic-bezier(0.33, 1, 0.68, 1);
}

.site-nav__cta:hover {
  background: var(--petrol-deep);
  text-decoration: none !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(22, 51, 47, 0.22);
}

.site-nav__cta:active {
  transform: translateY(0);
  box-shadow: none;
}

@media (max-width: 45rem) {
  .site-nav a:not(.site-nav__cta) {
    display: none;
  }
}

/* ---------- Opener / Montage ---------- */

.opener {
  position: relative;
  min-height: min(88vh, 52rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--petrol-deep);
}

.opener__montage,
.opener__montage img,
.opener__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.opener__montage img {
  object-fit: cover;
  opacity: 0;
}

.opener__montage img.is-active {
  opacity: 1;
}

.opener__scrim {
  background:
    linear-gradient(to top,
      rgba(13, 30, 27, 0.82) 0%,
      rgba(13, 30, 27, 0.45) 38%,
      rgba(13, 30, 27, 0.12) 70%,
      rgba(13, 30, 27, 0.25) 100%);
}

.opener__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(3rem, 8vw, 5.5rem);
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 900ms ease, transform 900ms ease;
}

.opener.is-settled .opener__content {
  opacity: 1;
  transform: none;
}

.opener__claim {
  font-size: clamp(3rem, 9vw, 6.25rem);
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.claim-dot {
  color: var(--sage);
}

.opener__sub {
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  color: color-mix(in srgb, var(--paper) 88%, transparent);
  max-width: 34em;
  margin-bottom: 2rem;
}

/* ---------- Story ---------- */

.story {
  padding-block: var(--section);
}

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.story__text p {
  max-width: 36em;
}

.story__lead {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--petrol);
  margin-top: 1.5rem;
}

.story__stats {
  display: grid;
  gap: 2.25rem;
  border-left: 3px solid var(--sage);
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
}

.stat__figure {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 600;
  color: var(--petrol);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.stat__arrow {
  color: var(--sage-ink);
}

.stat__text {
  margin-bottom: 0.375rem;
}

.stat__source {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Finder ---------- */

.finder {
  background: var(--petrol-deep);
  color: var(--paper);
  padding-block: var(--section);
  text-align: center;
}

.finder__title {
  color: var(--paper);
}

.finder__text {
  max-width: 38em;
  margin-inline: auto;
  color: color-mix(in srgb, var(--paper) 88%, transparent);
}

.finder__action {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 17rem;
  margin-block: 1rem;
}

.finder__action .button {
  position: relative;
  z-index: 2;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

/* Signature-Element: langsam „atmender“ Doppelkreis hinter dem Button,
   im Rhythmus eines ruhigen Atemzugs (~6 s pro Zyklus). */

.breath {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.breath__ring {
  grid-area: 1 / 1;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--sage) 55%, transparent);
}

.breath__ring--outer {
  width: 16.5rem;
  height: 16.5rem;
  animation: breathe 6s ease-in-out infinite;
}

.breath__ring--inner {
  width: 12.5rem;
  height: 12.5rem;
  border-color: color-mix(in srgb, var(--sage) 35%, transparent);
  animation: breathe 6s ease-in-out -0.6s infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50%      { transform: scale(1.06); opacity: 1; }
}

.finder__status {
  min-height: 1.5em;
  font-size: 0.9375rem;
  color: var(--sage);
  margin: 0 0 0.75rem;
}

.finder__note {
  max-width: 40em;
  margin-inline: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--paper) 66%, transparent);
}

/* Krisen-Hinweis */

.crisis {
  max-width: 44rem;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  text-align: left;
  border: 1px solid color-mix(in srgb, var(--sage) 40%, transparent);
  border-radius: 6px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: color-mix(in srgb, var(--petrol) 55%, transparent);
}

.crisis__title {
  color: var(--paper);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.crisis__text {
  color: color-mix(in srgb, var(--paper) 85%, transparent);
  font-size: 0.9375rem;
}

.crisis__list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.crisis__list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.crisis__list a {
  font-family: var(--serif);
  font-size: 1.375rem;
  color: var(--sage-bright);
  text-decoration: none;
  min-width: 3.25rem;
}

.crisis__list a:hover {
  text-decoration: underline;
}

.crisis__list span {
  font-size: 0.9375rem;
  color: color-mix(in srgb, var(--paper) 80%, transparent);
}

/* ---------- Schritte ---------- */

.steps {
  padding-block: var(--section);
  background: var(--paper-deep);
}

.steps__list {
  list-style: none;
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}

.step {
  border-top: 3px solid var(--sage);
  padding-top: 1.25rem;
}

.step__number {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--petrol);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.step__title {
  font-size: 1.3125rem;
  margin-bottom: 0.5rem;
}

.step__text {
  font-size: 0.9375rem;
  margin: 0;
}

/* ---------- Team ---------- */

.team {
  padding-block: var(--section);
}

.team__intro {
  max-width: 38em;
}

.vision {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.vision__photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}

.vision__text p {
  max-width: 34em;
}

.vision__text p + p {
  margin-top: 1.1rem;
}

.vision__signature {
  margin-top: 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--petrol-deep);
  color: color-mix(in srgb, var(--paper) 80%, transparent);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  font-size: 0.9375rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.wordmark--footer {
  color: var(--paper);
  margin-bottom: 0.5rem;
}

.site-footer__tagline {
  max-width: 26em;
  margin: 0;
}

.site-footer__nav {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

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

.site-footer__crisis {
  margin-bottom: 1rem;
}

.site-footer__copy {
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--paper) 55%, transparent);
  margin: 0;
}

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */

.legal {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.legal .container {
  max-width: 46rem;
}

.legal h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
}

.legal h2 {
  font-size: 1.375rem;
  margin-top: 2.5rem;
}

.legal-draft-note {
  border-left: 3px solid var(--petrol);
  background: var(--paper-deep);
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  margin: 1.5rem 0 2.5rem;
}

.legal mark {
  background: var(--sage-soft);
  color: var(--ink);
  padding: 0.05em 0.25em;
  border-radius: 3px;
}

.legal-backlink {
  display: inline-block;
  margin-top: 3rem;
  font-weight: 500;
}

.legal address {
  font-style: normal;
}

/* ---------- Scroll-Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

/* Ohne JavaScript bleibt alles sichtbar. */
html:not(.js) .reveal,
html:not(.js) .opener__content {
  opacity: 1;
  transform: none;
}

html:not(.js) .opener__montage img:first-child {
  opacity: 1;
}

/* ---------- Responsiv ---------- */

@media (max-width: 56rem) {
  .story__grid,
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps__list,
  .vision {
    grid-template-columns: minmax(0, 1fr);
    max-width: 30rem;
  }
}

/* ---------- Reduzierte Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .breath__ring {
    animation: none;
    opacity: 0.8;
  }

  .reveal,
  .opener__content {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
