:root {
  --paper: #f4f1ea;
  --ink: #171714;
  --muted: #69675f;
  --line: #d9d5ca;
  --lime: #c8ff43;
  --coral: #ff694d;
  --blue: #527bff;
  --gold: #ffbf3f;
  --dark: #171a17;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Manrope", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: white; padding: 12px 18px; }
.skip-link:focus { top: 16px; }

.site-header { height: 76px; max-width: var(--max); margin: auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--ink); background: var(--lime); font-family: "DM Mono", monospace; font-size: 13px; }
nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; }
nav a { transition: opacity .2s; }
nav a:hover { opacity: .55; }
.nav-cta { border: 1px solid var(--ink); padding: 10px 16px; }

.hero { max-width: var(--max); min-height: 720px; margin: auto; padding: 74px 28px 80px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: center; overflow: hidden; }
.eyebrow, .section-kicker { font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.eyebrow { display: flex; gap: 9px; align-items: center; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #38a454; box-shadow: 0 0 0 5px #38a4541c; }
h1, h2, blockquote { font-family: "Newsreader", serif; font-weight: 500; letter-spacing: -.05em; }
h1 { margin: 22px 0 24px; font-size: clamp(65px, 7vw, 104px); line-height: .83; }
.hero-lead { max-width: 590px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero-actions, .closing-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid var(--ink); font-size: 13px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--ink); }
.button.primary { background: var(--ink); color: white; }
.button.secondary { background: transparent; }
.hero-facts { display: flex; gap: 38px; margin: 55px 0 0; }
.hero-facts div { display: flex; flex-direction: column; gap: 6px; }
.hero-facts dt { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.hero-facts dd { margin: 0; font-family: "DM Mono", monospace; font-size: 12px; }

.hero-visual { position: relative; height: 580px; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { width: 530px; height: 530px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.orbit-two { width: 370px; height: 370px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-style: dashed; }
.phone { position: absolute; width: 205px; height: 420px; padding: 7px; border: 2px solid var(--ink); border-radius: 28px; background: var(--ink); box-shadow: 18px 24px 50px #20201822; }
.phone::before { content: ""; position: absolute; z-index: 2; width: 58px; height: 16px; top: 8px; left: 50%; transform: translateX(-50%); border-radius: 12px; background: var(--ink); }
.phone-main { z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(2deg); }
.phone-left { z-index: 1; left: 4%; top: 20%; transform: rotate(-11deg) scale(.84); }
.phone-right { z-index: 2; right: 2%; top: 19%; transform: rotate(11deg) scale(.84); }
.phone-screen { width: 100%; height: 100%; border-radius: 21px; overflow: hidden; background: #e8e4db; background-size: cover; background-position: top center; }
.screen-fallback { height: 100%; padding: 42px 18px 20px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(165deg, #f9f7f1 0 45%, #dcd7cb 45%); }
.screen-fallback span { font: 10px "DM Mono", monospace; text-transform: uppercase; }
.screen-fallback strong { font: 500 27px "Newsreader", serif; }
.visual-note { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; margin: 0; text-align: center; color: var(--muted); font-size: 10px; }

.section-pad { max-width: var(--max); margin: auto; padding: 110px 28px; }
.manifesto { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-kicker { margin: 0 0 26px; color: var(--muted); }
blockquote { max-width: 1080px; margin: 0; font-size: clamp(42px, 5.6vw, 76px); line-height: 1.04; }
blockquote em { font-style: normal; box-shadow: inset 0 -.28em var(--lime); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 80px; margin-bottom: 54px; }
.section-heading h2, .closing h2 { margin: 0; font-size: clamp(48px, 5vw, 72px); line-height: .95; }
.section-heading > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.section-heading.compact { margin-bottom: 38px; }
.evidence-legend, .row-legend { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font: 10px "DM Mono", monospace; text-transform: uppercase; }
.evidence-legend span, .row-legend span { display: inline-flex; align-items: center; gap: 8px; }
.objective-dot, .subjective-dot, .forecast-dot { width: 9px; height: 9px; display: inline-block; border-radius: 50%; }
.objective-dot { background: #38a454; }
.subjective-dot { background: #7659c7; }
.forecast-dot { background: var(--gold); }

.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.stack-card { min-height: 530px; padding: 28px; display: flex; flex-direction: column; border-right: 1px solid var(--ink); }
.stack-card:last-child { border: 0; }
.stack-card.expo { background: #fff7ed; }
.stack-card.flutter { background: #eef2ff; }
.stack-card.kotlin { background: #f1f8df; }
.stack-top { display: flex; justify-content: space-between; align-items: center; }
.stack-index { font: 11px "DM Mono", monospace; }
.status { padding: 7px 10px; border: 1px solid currentColor; border-radius: 20px; font: 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.stack-symbol { width: 84px; height: 84px; margin: 55px 0 28px; display: grid; place-items: center; background: var(--ink); color: white; border-radius: 50%; font: 500 21px "DM Mono", monospace; }
.stack-card h3 { margin: 0 0 8px; font: 600 42px "Newsreader", serif; letter-spacing: -.04em; }
.stack-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.stack-result { margin-top: 15px; font: 10px "DM Mono", monospace; }
.score-line { display: flex; align-items: baseline; gap: 7px; margin-top: auto; }
.score-line strong { font: 500 56px "Newsreader", serif; }
.score-line span { color: var(--muted); font: 11px "DM Mono", monospace; }
.score-track { height: 4px; margin: 5px 0 25px; background: #1717141a; }
.score-track i { display: block; width: var(--score); height: 100%; background: var(--ink); }
.stack-card > a { display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid #17171444; font-size: 11px; font-weight: 700; }
.ranking-stack-grid .stack-card { min-height: 800px; }
.ranking-stack-grid .score-line { margin-top: 34px; }
.ranking-stack-grid .stack-card > a { margin-top: auto; }
.stack-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 22px; border-top: 1px solid #17171444; border-left: 1px solid #17171444; }
.stack-metrics div { min-height: 59px; padding: 10px; border-right: 1px solid #17171444; border-bottom: 1px solid #17171444; }
.stack-metrics dt { color: var(--muted); font: 8px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }
.stack-metrics dd { margin: 7px 0 0; font: 500 10px "DM Mono", monospace; }
.stack-metrics div:nth-child(5) { grid-column: 1 / -1; }
.stack-evaluation { margin-bottom: 22px; }
.stack-evaluation p { margin: 0 0 10px; color: var(--ink); font-size: 10px; line-height: 1.55; }
.evidence-tag { display: inline-block; min-width: 56px; margin-right: 5px; padding: 4px 6px; color: white; font: 8px "DM Mono", monospace; text-align: center; text-transform: uppercase; }
.evidence-tag.objective { background: #287e3e; }
.evidence-tag.subjective { background: #6546b7; }
.ranking-note { max-width: 760px; margin: 28px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.ranking-note strong { color: var(--ink); }

.criteria-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.criterion { min-height: 220px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.criterion.wide { grid-column: span 2; background: var(--lime); }
.criterion.small { min-height: 155px; }
.criterion span { font: 11px "DM Mono", monospace; }
.criterion h3 { margin: 55px 0 10px; font: 500 28px "Newsreader", serif; }
.criterion p { max-width: 240px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.criterion.small h3 { margin-top: 35px; }

.process { max-width: none; padding-left: max(28px, calc((100vw - var(--max)) / 2 + 28px)); padding-right: max(28px, calc((100vw - var(--max)) / 2 + 28px)); background: var(--dark); color: white; }
.section-heading.light > p, .light .section-kicker { color: #b8bdb4; }
.phase-list { margin: 70px 0 0; padding: 0; list-style: none; border-top: 1px solid #ffffff38; }
.phase-list li { min-height: 190px; display: grid; grid-template-columns: 110px 1fr 70px; align-items: center; border-bottom: 1px solid #ffffff38; }
.phase-number { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid #fff; border-radius: 50%; font: 16px "DM Mono", monospace; }
.phase-list p { margin: 0 0 8px; color: var(--lime); font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.phase-list h3 { margin: 0 0 8px; font: 500 31px "Newsreader", serif; }
.phase-list div span { color: #aeb3aa; font-size: 12px; }
.phase-list strong { color: #ffffff15; font: 500 60px "Newsreader", serif; }

.gallery-tabs { display: flex; width: max-content; margin-bottom: 36px; border: 1px solid var(--ink); }
.gallery-tabs button { min-width: 110px; padding: 12px 18px; border: 0; border-right: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.gallery-tabs button:last-child { border: 0; }
.gallery-tabs button.active { background: var(--ink); color: white; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { margin: 0; }
.gallery-shot { aspect-ratio: 9 / 18.5; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: #ebe7dd; background-size: cover; background-position: top center; }
.gallery-shot::after { content: "Screenshot folgt"; padding: 8px 11px; border: 1px solid var(--muted); color: var(--muted); font: 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.gallery-shot.has-image::after { display: none; }
.gallery-item figcaption { display: flex; justify-content: space-between; margin-top: 11px; font-size: 11px; font-weight: 600; }
.gallery-item figcaption span { color: var(--muted); font: 9px "DM Mono", monospace; text-transform: uppercase; }

.closing { text-align: center; padding-top: 135px; padding-bottom: 135px; border-top: 1px solid var(--line); }
.closing .section-kicker { color: var(--muted); }
.closing-actions { justify-content: center; }
footer { min-height: 110px; max-width: var(--max); margin: auto; padding: 28px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
footer .brand { color: var(--ink); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Scoreboard */
.scoreboard-page { background: #ece9e1; }
.scoreboard-header { border-color: #cbc6ba; }
.score-hero { max-width: var(--max); min-height: 520px; margin: auto; padding: 80px 28px 70px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.score-hero h1 { margin: 20px 0 0; font-size: clamp(76px, 10vw, 150px); }
.score-hero-copy { padding-bottom: 14px; }
.score-hero-copy > p { max-width: 480px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.score-legend { display: flex; gap: 24px; margin-top: 36px; font: 10px "DM Mono", monospace; text-transform: uppercase; }
.score-legend span { display: flex; align-items: center; gap: 8px; }
.score-legend i { width: 10px; height: 10px; display: inline-block; border-radius: 50%; }
.legend-objective { background: #38a454; }
.legend-open { border: 1px solid var(--muted); }
.score-section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.score-section-title .section-kicker { margin: 0; }
.score-section-title > span { color: var(--muted); font: 10px "DM Mono", monospace; }
.ranking-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.rank-card { padding: 24px; border-right: 1px solid var(--ink); }
.rank-card:last-child { border: 0; }
.kotlin-rank { background: #f1f8df; }
.expo-rank { background: #fff7ed; }
.flutter-rank { background: #eef2ff; }
.rank-card-top { display: flex; justify-content: space-between; align-items: start; }
.rank-card-top span { font: 600 25px "Newsreader", serif; }
.rank-card-top strong { color: #17171422; font: 500 62px "Newsreader", serif; line-height: .75; }
.rank-device { width: 58%; aspect-ratio: 1080 / 2296; margin: 28px auto; overflow: hidden; border: 5px solid var(--ink); border-radius: 19px; background: var(--ink); box-shadow: 12px 16px 0 #17171416; }
.rank-device img { width: 100%; height: 100%; display: block; object-fit: cover; }
.rank-status { display: flex; flex-wrap: wrap; gap: 6px; }
.rank-status span { padding: 6px 8px; border: 1px solid #17171466; font: 9px "DM Mono", monospace; }
.rank-card > p { min-height: 62px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.rank-card > a { display: block; padding-top: 14px; border-top: 1px solid #17171444; font-size: 10px; font-weight: 700; }
.ranking-note { max-width: 710px; margin: 28px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.ranking-note strong { color: var(--ink); }
.metric-section { max-width: none; padding: 110px max(28px, calc((100vw - var(--max)) / 2 + 28px)); background: var(--dark); color: white; }
.metric-inner { max-width: var(--max); margin: auto; }
.metric-table { border-top: 1px solid #ffffff38; }
.metric-row { min-height: 68px; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); align-items: center; border-bottom: 1px solid #ffffff38; }
.metric-row span, .metric-row strong { padding: 0 14px; font-size: 12px; }
.metric-row strong { font-weight: 500; }
.metric-head { color: #9ea49b; font: 9px "DM Mono", monospace; text-transform: uppercase; }
.metric-row .best { color: var(--lime); }
.metric-section .section-heading h2 { color: white; }
.metric-caveat { max-width: 920px; margin: 28px 0 0; color: #aeb3aa; font-size: 10px; line-height: 1.7; }
.bar-comparison { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.bar-label { display: flex; justify-content: space-between; margin-bottom: 12px; font: 11px "DM Mono", monospace; }
.metric-bar { height: 9px; background: #ffffff18; }
.metric-bar i { width: var(--bar); height: 100%; display: block; background: var(--lime); }
.bar-comparison > p { grid-column: 1 / -1; color: #9ea49b; font-size: 10px; }
.breakdown-table { border: 1px solid var(--ink); }
.breakdown-row { min-height: 62px; display: grid; grid-template-columns: 2.4fr .6fr repeat(3, 1fr); align-items: center; border-bottom: 1px solid var(--line); }
.breakdown-row:last-child { border: 0; }
.breakdown-row > * { padding: 0 18px; font-size: 11px; }
.breakdown-row > span { text-align: center; font-family: "DM Mono", monospace; }
.breakdown-head { background: var(--ink); color: white; font: 9px "DM Mono", monospace; text-transform: uppercase; }
.breakdown-total { min-height: 78px; background: var(--lime); }
.breakdown-total strong, .breakdown-total span { font-size: 15px; font-weight: 700; }
.subjective-row { background: #eee8ff; }
.forecast-row { background: #fff2c9; }
.row-legend { margin-top: 20px; }
.next-phases { border-top: 1px solid var(--line); }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.next-grid article { min-height: 210px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.next-grid article:last-child { border: 0; }
.next-grid article > span { font: 500 50px "Newsreader", serif; color: #17171425; }
.next-grid h3 { margin: 0 0 8px; font: 500 25px "Newsreader", serif; }
.next-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.issue-grid article { min-height: 270px; padding: 26px; border-right: 1px solid var(--ink); }
.issue-grid article:last-child { border: 0; }
.issue-grid article.expo { background: #fff7ed; }
.issue-grid article.flutter { background: #eef2ff; }
.issue-grid article.kotlin { background: #f1f8df; }
.issue-grid article > span { font: 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .1em; }
.issue-grid h3 { margin: 72px 0 12px; font: 500 28px "Newsreader", serif; }
.issue-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.phase-done .phase-number { border-color: var(--lime); color: var(--lime); }
.result-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 30px; font: 10px "DM Mono", monospace; text-transform: uppercase; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-visual { height: 520px; }
  .section-heading { align-items: start; flex-direction: column; gap: 24px; }
  .stack-grid { grid-template-columns: 1fr; }
  .stack-card { min-height: 430px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .stack-card:last-child { border-bottom: 0; }
  .stack-symbol { margin-top: 35px; }
  .criteria-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .score-hero { grid-template-columns: 1fr; gap: 20px; }
  .ranking-grid { grid-template-columns: 1fr; }
  .rank-card { border-right: 0; border-bottom: 1px solid var(--ink); }
  .rank-card:last-child { border-bottom: 0; }
  .rank-device { width: 42%; }
  .bar-comparison, .next-grid { grid-template-columns: 1fr; }
  .next-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .next-grid article:last-child { border-bottom: 0; }
  .issue-grid { grid-template-columns: 1fr; }
  .issue-grid article { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .issue-grid article:last-child { border-bottom: 0; }
  .issue-grid h3 { margin-top: 42px; }
}

@media (max-width: 560px) {
  .site-header { height: 66px; padding: 0 18px; }
  .nav-cta { padding: 8px 11px; }
  .hero, .section-pad { padding-left: 18px; padding-right: 18px; }
  .hero { min-height: auto; padding-top: 48px; gap: 25px; }
  h1 { font-size: 61px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-facts { gap: 18px; justify-content: space-between; }
  .hero-facts dd { font-size: 10px; }
  .hero-visual { height: 435px; transform: scale(.9); margin: -15px -20px; }
  .phone { width: 180px; height: 370px; }
  .phone-left { left: -9%; }
  .phone-right { right: -9%; }
  .manifesto { padding-top: 80px; padding-bottom: 80px; }
  blockquote { font-size: 40px; }
  .section-pad { padding-top: 85px; padding-bottom: 85px; }
  .section-heading h2, .closing h2 { font-size: 45px; }
  .criteria-grid { grid-template-columns: 1fr; }
  .criterion.wide { grid-column: span 1; }
  .phase-list li { grid-template-columns: 65px 1fr; min-height: 170px; }
  .phase-list strong { display: none; }
  .phase-number { width: 45px; height: 45px; }
  .gallery-tabs { width: 100%; }
  .gallery-tabs button { min-width: 0; flex: 1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ranking-stack-grid .stack-card { min-height: 745px; }
  .evidence-legend { align-items: flex-start; flex-direction: column; gap: 9px; }
  .metric-table { overflow-x: auto; }
  .metric-row { min-width: 650px; }
  .result-links { align-items: center; flex-direction: column; gap: 14px; }
  footer { align-items: flex-start; flex-direction: column; gap: 18px; }
  .score-hero { min-height: 440px; padding: 60px 18px; }
  .score-hero h1 { font-size: 76px; }
  .score-legend { align-items: flex-start; flex-direction: column; gap: 10px; }
  .score-section-title { align-items: flex-start; flex-direction: column; gap: 10px; }
  .rank-device { width: 62%; }
  .metric-section { padding: 85px 18px; }
  .metric-row { grid-template-columns: 1.3fr repeat(3, .8fr); }
  .metric-row span, .metric-row strong { padding: 0 6px; font-size: 9px; }
  .breakdown-table { overflow-x: auto; }
  .breakdown-row { min-width: 650px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
