/* Senda · Brand Guideline V3.2 + Bildwelt V1.0
   Kontrastregeln: nie Tinte auf Senda Grün; auf Grün 70 nur Weiß ab 14 px fett; auf Grün 40 nur Dunkelgrün.
   Grün und Blau nie auf derselben Fläche. Risiko nur im Risiko-Block. */
:root {
  --paper: #F6F5F0;
  --green: #1F5C3D;
  --green-dark: #123A26;
  --ink: #1C1C1A;
  --blue: #1F3D5C;
  --blue-light: #DCE4EC;
  --risk: #8A3A2A;
  --gruen-10: #E1E6DE;
  --gruen-20: #CBD6CC;
  --gruen-40: #A0B8A8;
  --gruen-70: #608A73;
  --muted: #5A5A56;
  --serif: 'Literata', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --container: 1120px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.is-intro { overflow: hidden; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; }
h3 { font-size: 21px; line-height: 1.2; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
strong.num { font-weight: 600; font-variant-numeric: tabular-nums; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); line-height: 1.5;
}
.label--green { color: var(--green); }
.label--dark { color: var(--green-dark); }
.label--risk { color: var(--risk); }
.label--src { font-size: 11px; }
.muted { font-size: 14px; color: var(--muted); }
.thesis {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45;
  padding-left: 20px; border-left: 3px solid var(--green); max-width: 620px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 28px; border-radius: 2px; border: 1.5px solid transparent;
  font-family: var(--sans); font-size: 16px; font-weight: 500; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn--sm { height: 44px; padding: 0 22px; font-size: 15px; }
.btn--primary { background: var(--green); color: var(--paper); border-color: var(--green); }
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--paper); }
.btn--outline { background: transparent; border-color: var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--paper); }
.btn--ink { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--green); border-color: var(--paper); }
.btn--paper:hover { background: #fff; color: var(--green-dark); }

/* Sprachumschalter DE | EN | ES */
.lang { display: inline-flex; align-items: center; }
.lang__btn {
  position: relative; padding: 8px 10px; border: 0; background: transparent; cursor: pointer;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; line-height: 1.5; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s ease;
}
.lang__btn + .lang__btn::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; background: var(--gruen-40); transform: translateY(-50%);
}
.lang__btn:hover { color: var(--green); }
.lang__btn[aria-pressed="true"] { color: var(--green); cursor: default; }
.lang__btn[aria-pressed="true"]::after {
  content: ""; position: absolute; left: 10px; right: calc(10px + 0.14em); bottom: 5px; height: 2px; background: var(--green);
}
.lang__btn:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }

/* ---------- INTRO ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper); color: var(--green);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity 0.9s ease 0.8s, visibility 0s linear 1.8s;
}
.intro__corner { position: absolute; top: 32px; }
.intro__corner--left { left: 40px; }
.intro__corner--right { top: 24px; right: 30px; }
.intro__emblem {
  height: min(300px, 34vh, 60vw); aspect-ratio: 1000 / 948; flex-shrink: 0;
  transform-origin: 56% 6%;
  transition: transform 1.7s cubic-bezier(0.7, 0, 0.3, 1), opacity 1.1s ease 0.5s;
}
.intro__emblem .emblem {
  display: block; width: 100%; height: 100%;
  clip-path: polygon(0 100%, 0 100%, 0 100%);
  animation: senda-reveal 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}
.intro__text {
  display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2.4vh, 26px); margin-top: clamp(16px, 4vh, 36px);
  text-align: center; padding: 0 var(--gutter);
  transition: opacity 0.6s ease, transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.intro__word { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 9vh, 84px); line-height: 1; letter-spacing: -0.01em; opacity: 0; animation: senda-rise 1s ease-out 1.5s forwards; }
.intro__claim { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(17px, 2.4vh, 24px); line-height: 1.2; opacity: 0; animation: senda-rise 1s ease-out 1.9s forwards; }
.intro__cta {
  margin-top: clamp(28px, 7vh, 64px); padding: 0 var(--gutter); width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: 0; animation: senda-rise 0.8s ease-out 2.2s forwards;
}

.intro.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.intro.is-leaving .intro__emblem { transform: scale(11); opacity: 0; }
.intro.is-leaving .intro__text { opacity: 0; transform: translateY(-40px); }
.intro.is-leaving .intro__cta { opacity: 0; transition: opacity 0.4s ease; animation: none; }

.page.is-entered { animation: senda-walk 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s both; }

/* Der Weg wird von unten links zum Fluchtpunkt oben rechts freigelegt */
@keyframes senda-reveal {
  0%   { clip-path: polygon(0 100%, 0 100%, 0 100%); }
  100% { clip-path: polygon(0 100%, 0 -120%, 220% 100%); }
}
@keyframes senda-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes senda-walk { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .intro__emblem .emblem { animation: none; clip-path: none; }
  .intro__word, .intro__claim, .intro__cta { animation: none; opacity: 1; }
  .intro { transition: opacity 0.4s ease; }
  .intro.is-leaving .intro__emblem { transform: none; }
  .page.is-entered { animation: none; }
}

/* ---------- NAV (nur Wortmarke: Emblem erst ab 48 px) ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(246, 245, 240, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--gruen-10); }
.nav__inner { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.nav__word { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: -0.01em; color: var(--green); }
.nav__right { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; align-items: center; gap: 40px; }
.nav__links > a { font-size: 15px; font-weight: 500; color: var(--ink); }
.nav__links > a:hover { color: var(--green); }
.nav__links > a.btn { color: var(--green); }
.nav__links > a.btn:hover { color: var(--paper); }
.nav__burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

/* ---------- HERO (Fluchtpunkt als Grund, Text davor) ---------- */
.hero { position: relative; padding: 96px 0 88px; overflow: hidden; }
.hero__field { position: absolute; right: 0; bottom: 0; width: 100%; height: 100%; color: var(--gruen-20); pointer-events: none; }
.hero__copy { position: relative; display: flex; flex-direction: column; gap: 32px; }
.hero__copy > * { max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.hero { min-height: calc(100vh - 81px); display: flex; align-items: center; }
.hero > .container { width: 100%; }

/* ---------- IN BEARBEITUNG ---------- */
.wip { align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px; border-radius: 999px; background: var(--green); color: var(--paper); font-family: var(--sans); font-weight: 600; font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; }
.wip__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--paper); animation: wip-pulse 1.6s ease-in-out infinite; }
@keyframes wip-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.intro__cta .wip { align-self: center; margin-bottom: 10px; }
@media (prefers-reduced-motion: reduce) { .wip__dot { animation: none; } }
@media (max-width: 640px) { .wip { font-size: 17px; padding: 12px 20px; } }

/* ---------- SECTIONS ---------- */
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--gruen-10); }
.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 40px; }
.section__head--end { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }
.section__head--end > div { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.section__head--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; max-width: none; }
.section__head--split > div { display: flex; flex-direction: column; gap: 12px; }
.section__aside { white-space: nowrap; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card { background: var(--gruen-10); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 20px; }
.card p { font-size: 15px; }
.card--mx { background: var(--gruen-20); }

/* Zeitachse (Bildwelt): drei datierte Marken auf einer Linie */
.zeitachse { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.za__item { display: flex; flex-direction: column; }
.za__item h3 { font-size: 22px; }
.za__item p { font-size: 15px; margin-top: 16px; padding-right: 24px; }
.za__item .label--src { margin-top: 12px; }
.za__marker { position: relative; height: 40px; margin-top: 12px; }
.za__marker::before { content: ""; position: absolute; left: 7px; top: 0; width: 1px; height: 22px; background: var(--green); }
.za__marker::after { content: ""; position: absolute; left: 0; top: 20px; width: 15px; height: 15px; border-radius: 50%; background: var(--green); }
.za__line { position: absolute; left: 0; right: -32px; top: 27px; height: 1px; background: var(--gruen-40); }
.za__item:last-child .za__line { right: 0; }
.za__date { margin-top: 6px; }

/* Vorgehen */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 2px solid var(--green); }
.step__num { font-family: var(--serif); font-weight: 500; font-size: 13px; color: var(--green); }
.step p { font-size: 15px; }
.step--fill { background: var(--gruen-70); border-top: 0; padding: 24px; color: #fff; }
.step--fill .step__num, .step--fill h3, .step--fill p { color: #fff; }

/* Wegmarken (Bildwelt): der Auftrag als Weg */
.wegmarken { margin-top: 56px; display: flex; flex-direction: column; gap: 8px; }
.wm { position: relative; width: 100%; aspect-ratio: 1120 / 200; }
.wm__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wm__svg circle { fill: var(--paper); stroke: var(--green); stroke-width: 3; }
.wm__list li {
  position: absolute; width: 180px; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink);
  left: calc(var(--x) / 1120 * 100%); top: calc(var(--y) / 200 * 100%);
  transform: translate(-50%, calc(-100% - 22px));
}

/* Selbsttest */
.gates { margin-top: 0; }
.trennlinie { display: block; width: 100%; height: 40px; margin: 36px 0 28px; }
.score { display: flex; flex-direction: column; gap: 8px; }
.score__range { font-weight: 600; font-size: 28px; font-variant-numeric: tabular-nums; }
.score__range--green { color: var(--green); }
.score__range--mid { color: var(--gruen-70); }
.score__range--ink { color: var(--ink); }
.score__title { font-family: var(--serif); font-weight: 500; font-size: 18px; }
.rules { margin-top: 36px; gap: 24px; }
.rule { background: var(--gruen-20); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.rule p { font-size: 15px; }

/* Gründer: Fotos entsättigt, mit Ort und Jahr */
.founders { margin-top: 0; }
.founder { display: flex; gap: 28px; align-items: flex-start; }
.founder__media { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.founder__photo { width: 160px; height: 200px; background: var(--gruen-10); display: flex; align-items: center; justify-content: center; }
.founder__body { display: flex; flex-direction: column; gap: 10px; }
.founder__body h3 { font-size: 24px; }
.founder__body p { font-size: 15px; }

/* Risiko-Block (Bildwelt): feste Form, der einzige Ort für Rot */
.risiko { margin-top: 20px; border-left: 3px solid var(--risk); padding: 4px 0 4px 28px; display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.risiko h2 { font-size: 28px; }
.risiko__list { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.risiko__list li::before { content: "· "; }

/* Drei Ausgänge (Bildwelt, Brand Code) */
.fork { position: relative; width: 100%; }
.fork__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fork__node { position: absolute; left: calc(44 / 1120 * 100%); top: calc(96 / 280 * 100%); }
.fork__rows { margin-left: calc(420 / 1120 * 100%); display: flex; flex-direction: column; gap: 20px; }
.fork__row { position: relative; min-height: 80px; padding: 14px 20px; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.fork__row h3 { font-size: 22px; }
.fork__row p { font-size: 14px; }
.fork__row--1 { background: var(--gruen-20); border-left: 3px solid var(--green); }
.fork__row--2 { background: var(--gruen-10); border-left: 3px solid var(--gruen-40); }
.fork__row--3 { background: var(--gruen-10); border-left: 3px solid var(--gruen-20); }

/* ---------- CTA-Band ---------- */
.cta { background: var(--green); color: var(--paper); padding: 34px 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta__names { font-size: 14px; color: var(--paper); opacity: 0.85; }

/* ---------- FOOTER ---------- */
.footer { padding: 48px 0 32px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 6px; }
.footer__word { font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--green); letter-spacing: -0.01em; }
.footer__claim { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--green); }
.footer__cols { display: flex; gap: 64px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 15px; color: var(--ink); }
.footer__col a:hover { color: var(--green); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--gruen-10); font-size: 12px; }
.footer__bottom .lang { margin: -8px -10px -8px 0; }

/* ---------- RESPONSIVE ---------- */
/* Nav: mit Umschalter und längeren EN/ES-Texten reicht die Breite unter 1000 px nicht mehr */
@media (max-width: 1180px) {
  .nav__links { gap: 28px; }
  .nav__right { gap: 24px; }
}

@media (max-width: 1000px) {
  .nav__right { gap: 4px; }
  .nav__burger { display: flex; }
  .nav__links {
    display: none; position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--gruen-10); padding: 8px 0 16px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links > a { padding: 14px var(--gutter); }
  .nav__links > a.btn { margin: 8px var(--gutter) 0; }
  .nav__right .lang__btn { min-height: 44px; padding: 0 8px; }
  .nav__right .lang__btn + .lang__btn::before { height: 14px; }
  .nav__right .lang__btn[aria-pressed="true"]::after { left: 8px; right: calc(8px + 0.14em); bottom: 10px; }
}

@media (max-width: 960px) {
  .hero__field { width: 140%; }
  .grid--3, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zeitachse { grid-template-columns: 1fr; gap: 0; }
  .za__item { display: grid; grid-template-columns: 24px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .za__marker { grid-column: 1; grid-row: 1 / span 4; height: auto; margin: 0; }
  .za__line { display: none; }
  .za__marker::before { left: 7px; top: 4px; width: 1px; height: calc(100% + 28px); background: var(--gruen-40); }
  .za__item:last-child .za__marker::before { height: 100%; }
  .za__marker::after { top: 4px; width: 16px; height: 16px; }
  .za__date { grid-column: 2; order: 1; margin: 0; }
  .za__item h3 { grid-column: 2; order: 2; font-size: 20px; margin-top: 6px; }
  .za__item p { grid-column: 2; order: 3; margin-top: 8px; padding-right: 0; }
  .za__item .label--src { grid-column: 2; order: 4; margin-top: 8px; }
  .section__head--split { grid-template-columns: 1fr; }
  .founder__photo { width: 120px; height: 150px; }
}

@media (max-width: 720px) {
  .nav__inner { height: 64px; }
  .nav__word { font-size: 22px; }
  .nav__links { top: 64px; }
  .hero { padding: 48px 0 40px; }
  .hero__field { display: none; }
  .hero__copy { gap: 24px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 24px; }
  .section__head--end { flex-direction: column; align-items: stretch; gap: 20px; }
  .section__aside { white-space: normal; }
  .grid--2, .grid--3, .steps { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 24px; }
  .steps { margin-top: 28px; }
  .wegmarken { margin-top: 40px; }
  .wm { aspect-ratio: auto; padding-left: 36px; }
  .wm__svg { display: none; }
  .wm::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px; background: var(--gruen-40); }
  .wm__list { display: flex; flex-direction: column; gap: 18px; }
  .wm__list li { position: relative; width: auto; text-align: left; left: auto; top: auto; transform: none; }
  .wm__list li::before { content: ""; position: absolute; left: -36px; top: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 3px solid var(--green); }
  .founder { gap: 18px; }
  .founder__photo { width: 96px; height: 120px; }
  .founder__body h3 { font-size: 20px; }
  .risiko h2 { font-size: 24px; }
  .fork { padding-left: 36px; }
  .fork__svg { display: none; }
  .fork::before { content: ""; position: absolute; left: 8px; top: 9px; bottom: 50px; width: 2px; background: var(--gruen-40); }
  .fork__node { position: static; display: flex; align-items: center; gap: 12px; margin: 0 0 16px -36px; }
  .fork__node::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
  .fork__rows { margin-left: 0; gap: 16px; }
  .fork__row { min-height: 88px; padding: 14px 16px; }
  .fork__row::before { content: ""; position: absolute; left: -30px; top: 50%; width: 27px; height: 2px; background: var(--gruen-40); }
  .fork__row--1::before { background: var(--green); height: 3px; }
  .fork__row--3::before { background: var(--gruen-20); }
  .cta { padding: 40px 0; }
  .cta__inner { flex-direction: column-reverse; align-items: stretch; gap: 20px; text-align: center; }
  .cta .btn { width: 100%; }
  .footer__top { flex-direction: column; gap: 24px; }
  .footer__cols { gap: 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer__bottom .lang { margin: 0 0 -8px -10px; }
  .intro__corner { top: 24px; }
  .intro__corner--left { left: var(--gutter); }
  .intro__corner--right { top: 16px; right: calc(var(--gutter) - 10px); }
  .intro__cta .btn { width: 100%; }
}
