/* PelletPlan – Landingpage, Version E „Merkblatt“
 * Schriften werden selbst ausgeliefert (/fonts), keine Anfrage an Google (DSGVO).
 * Solange die Schriftdateien fehlen, greifen die Ersatzschriften unten. */

@font-face { font-family: "Archivo"; src: url("/fonts/archivo-variable-latin.woff2") format("woff2"); font-weight: 400 700; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/fonts/atkinson-hyperlegible-next-variable-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded-800-latin.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ink: #0E1A13;
  --text-2: #3E4A43;
  --muted: #4F5D55;
  --green: #134E35;
  --green-hover: #0B3322;
  --green-muted: #5E7468;
  --rust: #B5432A;
  --rust-text: #8F341F;
  --rule: rgba(14, 26, 19, 0.12);
  --rule-strong: rgba(14, 26, 19, 0.16);
  --tint: #F5F7F5;
  --dark: #0E1A13;
  --dark-text: #C9D6CD;
  --dark-muted: #A9B8AE;
  --dark-link: #DCE8DF;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Atkinson Hyperlegible Next", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --logo: "Unbounded", "Arial Black", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--dark); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2 { text-wrap: balance; }
a { color: var(--green); transition: color 150ms var(--ease), background-color 150ms var(--ease); }
a:hover { color: var(--green-hover); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.page { background: #fff; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 10; padding: 8px 16px; border-radius: 6px; background: var(--green); color: #fff; text-decoration: none; }
.skip-link:focus { top: 8px; color: #fff; }
.fn { font-size: 0.6em; line-height: 0; margin-left: 2px; }
.fn a { color: var(--green); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 6px; font-weight: 500; text-decoration: none; transition: background-color 150ms var(--ease), transform 120ms var(--ease); }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-hover); color: #fff; }
.btn--light { background: #EEF3EF; color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--small { min-height: 36px; padding: 0 16px; }
.text-link { color: var(--green); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-block: 16px; }
.logo { font-family: var(--logo); font-weight: 800; font-size: 20px; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: 16px; }
.nav a:not(.btn) { color: var(--text-2); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px 64px; align-items: center; padding-block: 80px 96px; }
.hero__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: clamp(40px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.02em; }
.hero h1 span { color: var(--green-muted); }
.hero__sub { max-width: 34rem; font-size: 20px; line-height: 1.5; color: var(--text-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; padding-top: 4px; }
.facts { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 24px; border-top: 2px solid var(--ink); }
.facts div { padding-top: 12px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin-top: 2px; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.facts .is-deadline { color: var(--rust-text); }
.hero__device { flex: 0 1 320px; min-width: 0; margin: 0 auto; display: flex; justify-content: center; }
@media (max-width: 760px) { .hero { padding-block: 48px 64px; gap: 48px; } }

/* Device mockup: the walk-through screen of the app */
.device { position: relative; width: 320px; max-width: 100%; aspect-ratio: 71.5 / 146.6; }
.device__key { position: absolute; width: 4px; background: #2C302E; }
.device__key--action { left: -3px; top: 17%; height: 4.4%; border-radius: 2px 0 0 2px; }
.device__key--up { left: -3px; top: 24.5%; height: 8.8%; border-radius: 2px 0 0 2px; }
.device__key--down { left: -3px; top: 35.5%; height: 8.8%; border-radius: 2px 0 0 2px; }
.device__key--power { right: -3px; top: 27%; height: 13.6%; border-radius: 0 2px 2px 0; }
.device__frame { position: absolute; inset: 0; padding: 4px; border-radius: 52px; background: linear-gradient(160deg, #4B504D 0%, #2A2E2C 40%, #3E4340 70%, #262A28 100%); box-shadow: inset 1px 1px 0 rgba(255,255,255,0.28), inset -1px -1px 0 rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.08), 0 2px 6px rgba(14,26,19,0.16), 12px 24px 40px rgba(14,26,19,0.24), 32px 56px 96px rgba(14,26,19,0.28); }
.device__bezel { height: 100%; padding: 7px; border-radius: 48px; background: #080B0A; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.device__screen { position: relative; height: 100%; border-radius: 41px; overflow: hidden; background: #fff; color: var(--ink); display: flex; flex-direction: column; }
.device__island { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 14px; background: #000; }
.device__lens { position: absolute; right: 10px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2B3A48 0%, #0B1016 65%); }
.device__status { flex: none; height: 44px; padding: 0 16px 0 36px; display: flex; align-items: center; justify-content: space-between; font-family: -apple-system, "SF Pro Text", system-ui, sans-serif; font-size: 14px; font-weight: 600; }
.device__status-icons { display: flex; align-items: center; gap: 4px; }
.device__home { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 108px; height: 4px; border-radius: 2px; background: var(--ink); }
.device__glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.22) 42%, rgba(255,255,255,0) 54%), linear-gradient(160deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.035) 100%); }
.app { flex: 1; min-height: 0; overflow: hidden; padding: 4px 16px 0; display: flex; flex-direction: column; gap: 12px; font-size: 13px; line-height: 1.45; }
.app__nav { height: 28px; display: flex; align-items: center; justify-content: space-between; }
.app__back { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: 15px; font-weight: 500; }
.app__muted { color: var(--muted); }
.app__progress { display: flex; gap: 4px; }
.app__progress span { flex: 1; height: 4px; border-radius: 2px; background: #E3EAE5; }
.app__progress .done { background: var(--green); }
.app__station { display: flex; flex-direction: column; gap: 4px; }
.app__station-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.app__risk { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: #FBEDE6; color: var(--rust-text); font-size: 12px; font-weight: 600; }
.app__risk::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rust); }
.app__title { font-size: 22px; font-weight: 600; line-height: 1.2; }
.app__question { font-size: 17px; font-weight: 600; line-height: 1.35; }
.app__answers { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.app__answer { height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--rule-strong); display: flex; align-items: center; justify-content: space-between; }
.app__answer--on { background: var(--green); border-color: var(--green); color: #fff; font-weight: 500; }
.app__why { border-radius: 10px; background: #E8F0F6; padding: 8px 12px; color: #22323C; }
.app__why b { display: block; font-weight: 600; color: #1F4E6B; }
.app__hint { border-radius: 10px; border: 1px solid var(--rule); padding: 8px 12px; color: var(--text-2); }
.app__hint b { display: block; font-weight: 600; color: var(--green); }
.app__bottom { flex: none; padding: 12px 16px 24px; }
.app__next { height: 40px; border-radius: 12px; background: var(--green); color: #fff; font-size: 15px; font-weight: 500; display: flex; align-items: center; justify-content: center; }

/* Sections with a margin column */
.section { border-top: 1px solid var(--rule); }
.section--tint { background: var(--tint); }
.section__inner { display: flex; flex-wrap: wrap; gap: 24px 48px; padding-block: 72px 88px; }
.section__inner--slim { padding-block: 64px 72px; }
.section__aside { flex: 0 0 240px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.section__main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 860px) { .section__aside { flex-basis: 100%; } .section__inner { padding-block: 56px 64px; } }
.label { font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.4; }
.label--rust { color: var(--rust-text); }
.meta { font-size: 14px; color: var(--muted); }
.h2 { font-family: var(--display); font-stretch: 112%; font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; }
.intro { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.lead { color: var(--text-2); }
.small { font-size: 17px; }

/* Statement */
.statement { max-width: 28em; font-family: var(--display); font-stretch: 112%; font-weight: 500; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; letter-spacing: -0.01em; }
.statement strong { color: var(--green); font-weight: 600; }
.statement + p { max-width: 38em; color: var(--text-2); }

/* Timeline */
.timeline-box { overflow-x: auto; }
.timeline { position: relative; min-width: 640px; height: 96px; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.timeline__axis { position: absolute; left: 0; right: 0; top: 48px; height: 2px; background: var(--rule); }
.timeline__progress { position: absolute; left: 0; top: 48px; height: 2px; width: 31.72%; background: var(--green); }
.timeline__tick { position: absolute; top: 44px; width: 1px; height: 10px; background: rgba(14, 26, 19, 0.24); }
.timeline__year { position: absolute; top: 64px; transform: translateX(-50%); color: var(--muted); }
.timeline__label { position: absolute; top: 12px; transform: translateX(-50%); white-space: nowrap; }
.timeline__label--end { transform: none; right: 0; }
.timeline__dot { position: absolute; top: 43px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 2px solid var(--muted); background: #fff; }
.timeline__dot--past { border-color: var(--green); background: var(--green); }
.timeline__dot--key { top: 40px; width: 18px; height: 18px; margin-left: -9px; border-color: var(--rust); }
.timeline__today { position: absolute; left: 31.72%; top: 36px; width: 2px; height: 26px; margin-left: -1px; background: var(--green); }
.timeline__today-label { left: 31.72%; font-weight: 600; color: var(--green); }
.timeline__key-label { font-weight: 600; color: var(--rust-text); }

/* Schedule */
.schedule { list-style: none; padding: 0; border-top: 1px solid var(--rule-strong); }
.schedule li { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.schedule__date { flex: 0 0 180px; display: flex; flex-direction: column; }
.schedule__kind { font-size: 14px; color: var(--muted); }
.schedule__kind--key { font-weight: 600; color: var(--rust-text); }
.schedule__day { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: 22px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.schedule__text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.schedule__text h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.schedule__text p { font-size: 17px; color: var(--text-2); }

/* Scope table */
.table-box { overflow-x: auto; }
.scope { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 17px; }
.scope thead tr { border-bottom: 2px solid var(--ink); }
.scope thead th { text-align: left; padding: 0 24px 8px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.scope thead th:first-child { width: 34%; }
.scope tbody tr { border-bottom: 1px solid var(--rule); }
.scope tbody th { text-align: left; vertical-align: top; padding: 14px 24px 14px 0; font-weight: 600; }
.scope tbody td { padding: 14px 0; color: var(--text-2); }

/* Quote */
.quote blockquote { max-width: 22em; font-family: var(--display); font-stretch: 112%; font-weight: 500; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; letter-spacing: -0.02em; }
.quote figcaption { margin-top: 16px; font-size: 16px; color: var(--muted); }

/* Four questions */
.questions { list-style: none; padding: 0; max-width: 760px; border-top: 1px solid var(--rule-strong); }
.questions li { display: flex; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.questions span:first-child { flex: 0 0 32px; font-family: var(--display); font-weight: 600; color: var(--green); }

/* Results and sample sheet */
.results { display: flex; flex-direction: row; flex-wrap: wrap; gap: 40px 48px; align-items: flex-start; }
.results__text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.docs { list-style: none; padding: 0; border-top: 1px solid var(--rule-strong); }
.docs li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.docs li span:last-child { color: var(--muted); }
.results__note { font-size: 17px; color: var(--text-2); }
.results__note b { font-weight: 600; color: var(--ink); }
.sample { flex: 0 1 300px; min-width: 0; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.sample figcaption { font-size: 14px; color: var(--muted); }
.sheet { width: 300px; max-width: 100%; aspect-ratio: 1 / 1.414; padding: 24px 22px; background: #fff; border: 1px solid var(--rule); box-shadow: 0 1px 2px rgba(14,26,19,0.06), 0 16px 32px rgba(14,26,19,0.10); display: flex; flex-direction: column; gap: 12px; font-size: 11px; line-height: 1.45; }
.sheet__top { display: flex; justify-content: space-between; align-items: baseline; }
.sheet__logo { font-family: var(--logo); font-weight: 800; font-size: 10px; }
.sheet__head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--rule-strong); }
.sheet__title { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: 17px; line-height: 1.2; }
.sheet__fields { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; }
.sheet__plan { position: relative; height: 64px; border: 1px solid var(--rule-strong); background: var(--tint); }
.sheet__plan span { position: absolute; }
.sheet__plan .bldg { background: #DCE3DE; }
.sheet__plan .silo { border-radius: 50%; background: #C9D2CB; aspect-ratio: 1; }
.sheet__plan .risk { border-radius: 50%; border: 1.5px solid var(--rust); aspect-ratio: 1; }
.sheet__toc { display: flex; flex-direction: column; gap: 4px; }
.sheet__toc b { font-weight: 600; }

/* Dark end: pilot and footer */
.dark { background: var(--dark); color: #fff; }
.pilot { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; padding-block: 96px 64px; }
.pilot__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pilot h2 { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.pilot__text p { max-width: 36rem; color: var(--dark-text); }
.pilot__action { flex: 0 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pilot__action p { font-size: 15px; color: var(--dark-muted); }
.site-footer .wrap { padding-bottom: 48px; }
.site-footer__inner { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; font-size: 15px; color: var(--dark-muted); }
.sources { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sources p { font-weight: 600; color: var(--dark-link); }
.sources ol { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.sources a { color: var(--dark-link); }
.site-footer__about { flex: 0 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__about .logo { font-size: 15px; color: #EEF3EF; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { color: var(--dark-link); }
.site-footer nav a:hover { color: #fff; }

/* Simple text pages: imprint, privacy, blog */
.doc { max-width: 760px; padding-block: 64px 96px; display: flex; flex-direction: column; gap: 20px; }
.doc h1 { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.doc h2 { font-family: var(--display); font-stretch: 112%; font-weight: 500; font-size: 22px; margin-top: 16px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 20px; }
.todo { background: #FBEDE6; color: #3A1A0C; padding: 2px 6px; border-radius: 4px; }
