/* Layout: eine Seite, Abschnitte im Wechsel Anthrazit / Off-White, große Überschriften, viel Luft.
   Die Seite ist bewusst festgelegt (nicht vom System-Theme abhängig): Hell und Dunkel wechseln je Abschnitt. */
:root {
  color-scheme: dark;
  --anthracite: #15171b;
  --anthracite-2: #1c1f24;
  --anthracite-line: #2b2f36;
  --paper: #f1eee8;
  --paper-2: #e6e1d8;
  --on-dark: #ece9e3;
  --on-dark-muted: #aeb1b8;
  --on-light: #17191c;
  --on-light-muted: #4f535a;
  --accent: #93c0de;
  --accent-ink: #2b6489;

  --display: "Gabarito", "Helvetica Neue", Arial, sans-serif;
  --body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: max(20px, 5vw);
  --section-y: clamp(96px, 13vw, 176px);
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--anthracite);
  color: var(--on-dark);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
code { font-family: var(--mono); font-size: .86em; padding: .1em .35em; border-radius: 4px; background: var(--code-bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Abschnitte ---------- */
.band { padding-block: var(--section-y); }
.band.dark  { background: var(--anthracite); color: var(--on-dark);  --muted: var(--on-dark-muted);  --line: var(--anthracite-line); --raised: var(--anthracite-2); --acc: var(--accent);     --code-bg: #262a31; }
.band.light { background: var(--paper);      color: var(--on-light); --muted: var(--on-light-muted); --line: var(--paper-2);         --raised: #f8f6f2;             --acc: var(--accent-ink); --code-bg: #e3ded4; color-scheme: light; }
.inner {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--acc, var(--accent));
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(48px, 8.5vw, 112px);
  line-height: .95;
  font-weight: 700;
  letter-spacing: -.035em;
}
.lead {
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.5;
  max-width: 40ch;
  color: var(--muted);
  margin-top: 28px;
}

/* ---------- Kopfzeile ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 11; background: var(--anthracite);
}
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--anthracite) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--anthracite-line) 70%, transparent);
}
.topbar-inner {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: 14px max(var(--gutter), env(safe-area-inset-right, 0px)) 14px max(var(--gutter), env(safe-area-inset-left, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { font-family: var(--display); font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: -.01em; }
.topbar nav { display: flex; gap: 26px; font-size: 14.5px; }
.topbar nav a { text-decoration: none; color: var(--on-dark-muted); transition: color .2s; }
.topbar nav a:hover, .topbar nav a.active { color: var(--on-dark); }
@media (max-width: 720px) { .topbar nav { display: none; } }

/* ---------- Einstieg ---------- */
.hero { padding-block: clamp(80px, 12vw, 150px) clamp(72px, 10vw, 130px); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto -10% -40% 40%; height: 80%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 12%, transparent), transparent);
  pointer-events: none;
}
.hero-name {
  font-size: clamp(72px, 15vw, 210px);
  line-height: .86;
  font-weight: 800;
  letter-spacing: -.05em;
}
.hero-foot {
  margin-top: clamp(48px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 64px; align-items: end;
  position: relative; z-index: 1;
}
.hero-text { font-size: clamp(19px, 2vw, 24px); line-height: 1.45; max-width: 34ch; }

.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line, var(--anthracite-line)); }
.facts div:last-child { border-bottom: 1px solid var(--line, var(--anthracite-line)); }
.facts dt { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.facts a { text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.facts a:hover { text-decoration-color: var(--acc); }
@media (max-width: 820px) { .hero-foot { grid-template-columns: 1fr; } }

/* ---------- Übersicht ---------- */
.cards { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: 14px; text-decoration: none;
  background: var(--raised); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(23, 25, 28, .45); border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); }
.card-top, .card-foot { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.card h3 { font-size: 36px; font-weight: 700; letter-spacing: -.025em; line-height: 1; margin-top: 18px; }
.card p { color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.more { color: var(--acc); }
.more::after { content: " →"; display: inline-block; transition: transform .3s var(--ease); }
.card:hover .more::after { transform: translateX(4px); }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.tags-lg { gap: 10px; font-size: 13.5px; margin-top: clamp(40px, 5vw, 64px); }
.tags-lg li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: inherit; }

/* ---------- Projektköpfe ---------- */
.project-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 64px; align-items: end; }
.project-head .eyebrow, .project-head .section-title { grid-column: 1 / -1; }
.project-head .lead { grid-column: 1; }
.project-head .facts { grid-column: 2; align-self: end; }
@media (max-width: 860px) { .project-head { grid-template-columns: 1fr; } .project-head .facts { grid-column: 1; margin-top: 32px; } }

/* ---------- Scroll-Geschichte (CaseFinder) ---------- */
.story { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; }
.story-visual { position: relative; }
.pipeline { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 8px; }
.lane-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 14px 0 2px; }
.lane-label:first-child { margin-top: 0; }
.node {
  position: relative; font-family: var(--mono); font-size: 13.5px;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--raised);
  color: var(--muted);
  transition: color .4s, border-color .4s, background .4s, transform .4s var(--ease);
}
.node + .node::before {
  content: ""; position: absolute; left: 22px; top: -9px; width: 1px; height: 8px; background: var(--line);
}
.node.store { border-style: dashed; }
.node.side { margin-top: 14px; }
.node.side::before { display: none; }
.node.on { color: var(--on-dark); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--anthracite-2)); transform: translateX(6px); }

.story-steps { list-style: none; margin: 0; padding: 0; }
.step { padding: 8vh 0; border-top: 1px solid var(--line); min-height: 52vh; display: grid; grid-template-columns: 52px 1fr; gap: 6px 8px; align-content: start; transition: opacity .4s; }
.step:first-child { padding-top: 0; border-top: 0; }
.step-n { font-family: var(--mono); font-size: 13px; color: var(--acc); padding-top: 9px; }
.step h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.step p { grid-column: 2; color: var(--muted); max-width: 52ch; margin-top: 10px; }
.js .step { opacity: .5; }
.js .step.on { opacity: 1; }
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; gap: 40px; }
  .pipeline { position: static; }
  .step { min-height: 0; padding: 40px 0; }
  .js .step { opacity: 1; }
}

/* ---------- Bausteine in Projekten ---------- */
.split { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: minmax(0, 1fr); } }
.split > *, .story > *, .cards > *, .tools > * { min-width: 0; }
.note { padding: 32px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); }
.note h3, .part h3 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 14px; }
.note p + p { margin-top: 12px; }
.note > p:not(.eyebrow) { color: var(--muted); }
.wide-note { margin-top: 32px; }
.wide-note > p:not(.eyebrow) { max-width: 72ch; }

.stack-list { list-style: none; margin: 0; padding: 0; }
.stack-list li { display: grid; grid-template-columns: minmax(0, 11em) 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--muted); }
.stack-list li:first-child { border-top: 0; padding-top: 0; }
.stack-list span { font-family: var(--mono); font-size: 14px; color: inherit; }
.band.dark .stack-list span { color: var(--on-dark); }

.work { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.work li { padding-left: 22px; position: relative; color: var(--muted); }
.work li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--acc); }
.work b { color: var(--on-light); font-weight: 600; }
.band.dark .work b { color: var(--on-dark); }

.model { margin: 22px 0 0; padding: 18px 20px; border-radius: 10px; background: var(--code-bg); overflow-x: auto; font-size: 13px; line-height: 1.6; }
.model code { background: none; padding: 0; font-size: inherit; }

/* Galerie */
.gallery {
  margin-top: clamp(56px, 8vw, 104px);
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 24px;
  overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.phone { margin: 0; scroll-snap-align: start; }
.phone img {
  width: 100%; border-radius: 26px; border: 6px solid #101215;
  box-shadow: 0 28px 50px -30px rgba(23, 25, 28, .55);
  transition: transform .45s var(--ease);
}
.phone:hover img { transform: translateY(-8px); }
.phone figcaption { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }
@media (min-width: 1100px) { .gallery .phone:nth-child(even) { margin-top: 48px; } }

/* BookBuddy */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: f; display: grid; gap: 10px; }
.flow li {
  counter-increment: f; display: grid; grid-template-columns: 36px 1fr; gap: 2px 10px;
  padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--raised);
}
.flow li::before { content: counter(f); grid-row: span 2; font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 2px; }
.flow b { font-weight: 600; }
.flow span { color: var(--muted); font-size: 15px; }
.flow li.mine { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.flow li.mine::before { color: var(--accent); }
.legend { margin-top: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--accent); display: inline-block; }
.parts { display: grid; gap: 20px; }
.part { padding: 28px; border-radius: 14px; border: 1px solid var(--line); }
.mine-part { background: var(--raised); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.part > p:not(.eyebrow) { color: var(--muted); }

/* Werkzeuge */
.tools { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.tools h3 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.tools .tags-lg { margin-top: 20px; }
@media (max-width: 760px) { .tools { grid-template-columns: 1fr; } }

/* Fuß */
.footer { padding-block: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; font-size: 14.5px; color: var(--on-dark-muted); }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--on-dark); }

/* ---------- Bewegung ---------- */
.js .reveal { transform: translateY(18px); transition: transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Weitere Projekte */
.more-list { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: clamp(56px, 7vw, 96px); }
.more-item { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
.more-item:nth-child(even) .shots { order: 2; }
.more-item > * { min-width: 0; }
.shot-frame {
  margin: 0; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: var(--raised);
  box-shadow: 0 30px 60px -40px rgba(23, 25, 28, .5);
}
.shot-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.shot-frame:hover img { transform: scale(1.03); }
.shot-empty { display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; color: var(--muted); border-style: dashed; box-shadow: none; }
.more-text { display: grid; gap: 16px; }
.more-text h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.025em; line-height: 1; }
.more-text > p { color: var(--muted); max-width: 52ch; }
.more-text .work { gap: 10px; font-size: 15.5px; }
@media (max-width: 860px) {
  .more-item { grid-template-columns: minmax(0, 1fr); }
  .more-item:nth-child(even) .shots { order: 0; }
}

.shots { display: grid; gap: 12px; min-width: 0; }
.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.thumbs .shot-frame { box-shadow: none; }

/* Architektur (CaseFinder) */
.arch { margin: clamp(56px, 8vw, 104px) 0 0; }
.arch-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--raised); padding: 20px; }
.arch svg { display: block; width: 100%; min-width: 640px; height: auto; }
.arch figcaption { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.a-zone { fill: none; stroke: var(--line); stroke-dasharray: 6 6; stroke-width: 1.5; }
.a-zone-label { fill: var(--on-dark-muted); font-family: var(--mono); font-size: 12px; }
.a-ext rect { fill: var(--anthracite); stroke: var(--anthracite-line); stroke-width: 1.5; }
.a-box rect { fill: color-mix(in srgb, var(--accent) 9%, var(--anthracite)); stroke: color-mix(in srgb, var(--accent) 55%, var(--anthracite-line)); stroke-width: 1.5; }
.a-store rect { stroke-dasharray: 5 4; }
.a-t { fill: var(--on-dark); font-family: var(--display); font-weight: 700; font-size: 17px; text-anchor: middle; }
.a-s { fill: var(--on-dark-muted); font-family: var(--mono); font-size: 12px; text-anchor: middle; }
.a-line { stroke: var(--on-dark-muted); stroke-width: 1.4; fill: none; }
.a-head { fill: var(--on-dark-muted); }

/* Ergebnisse (CaseFinder) */
.results { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.results > * { min-width: 0; }
.results h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.muted-p { color: var(--muted); font-family: var(--mono); font-size: 12.5px; margin: 14px 0 18px; }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 7.5em 1fr 3em; align-items: center; gap: 14px; font-size: 15px; }
.bar span { color: var(--muted); }
.bar i { display: block; height: 10px; border-radius: 99px; background: var(--line); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); background: var(--on-dark-muted); border-radius: inherit; transition: width 1s var(--ease); }
.bar.hi i::after { background: var(--accent); }
.bar.hi span, .bar.hi b { color: var(--on-dark); }
.bar b { font-family: var(--mono); font-weight: 400; font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.js .results:not(.in) .bar i::after { width: 0; }
.deltas { margin: 0; display: grid; gap: 0; }
.deltas div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.deltas dt { color: var(--muted); }
.deltas dd { margin: 0; font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums; }
.deltas dd span { color: var(--accent); padding: 0 4px; }
@media (max-width: 860px) { .results { grid-template-columns: minmax(0, 1fr); } }


/* ===== Überarbeitung: Produktdarstellung ===== */
.intro-p { color: var(--muted); margin-bottom: 18px; }
.block-head { margin-top: clamp(64px, 8vw, 104px); }
.source { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.results-card h3 { font-size: 26px; }
.results-card .bars { margin-top: 22px; }

/* Fenster (Slack-Demo, BookBuddy) */
.window, .browser { margin: clamp(56px, 8vw, 96px) 0 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0f1114; box-shadow: 0 40px 80px -48px rgba(0,0,0,.7); }
.window-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #20242a; border-bottom: 1px solid #2b2f36; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3c424c; display: block; }
.window-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: #aeb1b8; }
.window-media { display: block; width: 100%; height: auto; aspect-ratio: 2206 / 1434; background: #0f1114; }
.window figcaption { font-family: var(--mono); font-size: 12.5px; color: var(--on-dark-muted); padding: 14px 18px; background: var(--anthracite-2); border-top: 1px solid var(--anthracite-line); }

/* Vier Schritte */
.steps4 { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps4 li { padding: 26px 24px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.steps4 span { font-family: var(--mono); font-size: 13px; color: var(--acc); }
.steps4 h3 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
.steps4 p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps4 { grid-template-columns: minmax(0, 1fr); } }

/* Aufklappbare Details */
.more-details { margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more-details summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--display); font-weight: 600; font-size: 20px;
}
.more-details summary::-webkit-details-marker { display: none; }
.more-details summary::after { content: "+"; font-family: var(--mono); font-size: 22px; color: var(--acc); transition: transform .3s var(--ease); }
.more-details[open] summary::after { transform: rotate(45deg); }
.more-details summary:hover { color: var(--acc); }
.details-body { padding: 8px 0 36px; display: grid; gap: 32px; }
.details-body .arch { margin: 0; }
.details-body.split { margin-top: 0; }
.work-notes { display: grid; gap: 14px; color: var(--muted); }
.work-notes b { color: var(--on-dark); font-weight: 600; }

/* TripTracker-Funktionen */
.features { margin-top: clamp(64px, 9vw, 120px); display: grid; gap: clamp(72px, 10vw, 140px); }
.feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 72px; align-items: center; }
.feature:nth-child(even) .feature-text { order: 2; }
.feature-text h3 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-bottom: 18px; }
.feature-text p:not(.eyebrow) { color: var(--muted); font-size: 18px; max-width: 38ch; }
.phones { display: flex; justify-content: center; align-items: center; min-width: 0; }
.phones .phone { margin: 0; flex: 0 1 220px; min-width: 0; }
.phones-3 .phone:nth-child(1) { transform: translateX(18%) rotate(-5deg) scale(.88); z-index: 1; }
.phones-3 .phone:nth-child(2) { z-index: 2; }
.phones-3 .phone:nth-child(3) { transform: translateX(-18%) rotate(5deg) scale(.88); z-index: 1; }
.phones .phone img { width: 100%; border-radius: 28px; border: 7px solid #101215; box-shadow: 0 30px 60px -32px rgba(23,25,28,.6); transition: transform .5s var(--ease); }
.phones .phone:hover img { transform: translateY(-10px); }
.phones-1 .phone { flex-basis: 250px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-child(even) .feature-text { order: 0; }
}
.summary { margin-top: clamp(72px, 10vw, 128px); max-width: 860px; }
.summary-text { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; }
.summary .tags-lg { margin-top: 28px; }

/* BookBuddy */
.browsers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: start; margin-top: clamp(56px, 8vw, 96px); }
.browsers .browser { margin: 0; background: #fff; }
.browsers .browser img { width: 100%; display: block; }
.browsers .browser:hover { transform: translateY(-4px); }
.browser { transition: transform .4s var(--ease); }
@media (max-width: 860px) { .browsers { grid-template-columns: minmax(0, 1fr); } }
.flow li { counter-increment: f; }

/* Entenhausen im Laptop */
.showcase { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.showcase > * { min-width: 0; }
.laptop-screen { border: 12px solid #1b1d21; border-bottom-width: 16px; border-radius: 18px 18px 6px 6px; overflow: hidden; background: #1b1d21; aspect-ratio: 16 / 10; }
.laptop-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.laptop-base { height: 16px; margin: 0 -4%; background: linear-gradient(#d6d3cd, #b9b5ae); border-radius: 0 0 16px 16px; position: relative; }
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); background: #a7a39c; border-radius: 0 0 8px 8px; }
.showcase-side { display: grid; gap: 16px; }
.showcase-side h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.025em; line-height: 1; }
.showcase-side > p { color: var(--muted); }
.showcase .shot-frame { aspect-ratio: 16 / 10; }
.shot-frame figcaption { display: none; }
@media (max-width: 960px) { .showcase { grid-template-columns: minmax(0, 1fr); } }
.showcase + .more-list { margin-top: clamp(72px, 9vw, 120px); }

/* Drucken / PDF */
@media print {
  .topbar, video { display: none !important; }
  .band { padding-block: 40px; }
  .js .reveal { transform: none; }
  .window { display: none; }
  .phones-3 .phone { transform: none !important; }
  .js .results:not(.in) .bar i::after, .bar i::after { width: calc(var(--v) * 100%) !important; }
}
.details-body > *, .details-body { min-width: 0; }
.details-body { grid-template-columns: minmax(0, 1fr); }
.details-body.split-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
@media (max-width: 860px) { .details-body.split-wide { grid-template-columns: minmax(0, 1fr); } }


/* ===== Einstieg mit Projektverzeichnis ===== */
.hero { border-bottom: 1px solid var(--anthracite-line); }
.hero .hero-name { font-size: clamp(64px, 12vw, 168px); }
.hero .hero-text { margin-top: 28px; max-width: 44ch; position: relative; z-index: 1; }
.index-label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); }
/* A · Verzeichnis */
.va { margin-top: clamp(56px, 7vw, 88px); display: grid; gap: 40px; position: relative; z-index: 1; }
.va-group { display: grid; }
.va-group .index-label { margin-bottom: 10px; }
.a-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) 32px; align-items: baseline; gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--anthracite-line); text-decoration: none; transition: padding .35s var(--ease), color .3s; }
.va-group .a-row:last-child { border-bottom: 1px solid var(--anthracite-line); }
.a-name { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.025em; line-height: 1; }
.va-group:last-child .a-name { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; }
.a-cat, .a-meta { font-family: var(--mono); font-size: 13px; color: var(--on-dark-muted); }
.a-arrow { color: var(--accent); justify-self: end; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .35s var(--ease); }
.a-row:hover { padding-left: 12px; }
.a-row:hover .a-name { color: var(--accent); }
.a-row:hover .a-arrow { opacity: 1; transform: none; }
@media (max-width: 720px) { .a-row { grid-template-columns: minmax(0, 1fr) auto; } .a-meta { display: none; } .a-arrow { display: none; } }


/* ===== TripTracker kompakt ===== */
#triptracker .gallery { grid-auto-columns: minmax(150px, 1fr); gap: 18px; }
#triptracker .gallery .phone img { border-width: 5px; border-radius: 22px; }
.trio { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 48px; }
.trio > div { padding-top: 18px; border-top: 2px solid var(--acc); min-width: 0; }
.trio h3 { font-size: 24px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; }
.trio p { color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .trio { grid-template-columns: minmax(0, 1fr); } }

/* ===== Spiele-Showcases ===== */
.games { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 28px; }
.game {
  --g-accent: #ff8a3d; --g-bg: #17110e; --g-glow: rgba(255, 110, 40, .22);
  position: relative; border-radius: 20px; overflow: hidden; color: #efe9e2;
  background: radial-gradient(120% 90% at 0% 0%, var(--g-glow), transparent 60%), var(--g-bg);
  padding: clamp(14px, 2vw, 22px); display: grid; gap: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(255,255,255,.06);
}
.game--shadow { --g-accent: #d8ad6a; --g-bg: #0b0a09; --g-glow: rgba(216, 160, 90, .13);
  background: radial-gradient(80% 70% at 100% 0%, var(--g-glow), transparent 65%), radial-gradient(60% 60% at 0% 100%, rgba(0,0,0,.9), transparent), var(--g-bg); }
.game-media { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 10px; }
.game--shadow .game-media { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.game-media figure { margin: 0; border-radius: 12px; overflow: hidden; position: relative; min-height: 0; }
.game-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.game-media figure:hover img { transform: scale(1.04); }
.g-main { grid-row: 1 / 3; aspect-ratio: 16 / 9; }
.game--shadow .g-main { grid-column: 2; }
.game--shadow .g-side { grid-column: 1; }
.g-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.75)); }
.g-title { position: absolute; left: clamp(16px, 2.4vw, 28px); bottom: clamp(14px, 2.2vw, 24px); z-index: 1; }
.g-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--g-accent); }
.g-title h3 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: .95; color: #fff; margin-top: 6px; }
.game-info { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 48px; padding: 0 clamp(6px, 1.4vw, 14px) clamp(6px, 1vw, 10px); align-items: start; }
.g-pitch { font-size: 18px; line-height: 1.5; color: #f1ece6; max-width: 40ch; }
.g-feats { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.g-feats li { font-size: 13.5px; padding: 6px 12px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--g-accent) 45%, transparent); color: #f1ece6; background: color-mix(in srgb, var(--g-accent) 9%, transparent); }
.g-specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.g-specs div { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); }
.g-specs dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #b8b0a6; }
.g-specs dd { margin: 3px 0 0; font-size: 15.5px; color: #fff; }
@media (max-width: 860px) {
  .game-media, .game--shadow .game-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; }
  .g-main, .game--shadow .g-main { grid-column: 1 / -1; grid-row: 1; }
  .game--shadow .g-side { grid-column: auto; }
  .g-side { aspect-ratio: 16 / 10; }
  .game-info { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Entenhausen kompakt ===== */
.web { margin-top: clamp(64px, 8vw, 104px); display: grid; gap: 24px; }
.web-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px 56px; align-items: end; }
.web-head .eyebrow { margin-bottom: 10px; }
.web-head h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.025em; line-height: 1; }
.web-head > p { color: var(--muted); max-width: 56ch; }
.web .laptop { max-width: 780px; width: 100%; justify-self: center; margin-top: 12px; }
.web .laptop-screen { border-width: 8px 8px 10px; border-radius: 14px 14px 4px 4px; }
.web .laptop-base { height: 12px; }
.web-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 780px; width: 100%; justify-self: center; }
.web-pages .shot-frame { aspect-ratio: 16 / 9; box-shadow: none; }
.web .tags { justify-self: center; }
@media (max-width: 760px) { .web-head { grid-template-columns: minmax(0, 1fr); } }


/* ===== Überarbeitung: Entwürfe übernommen ===== */
/* Einstieg mit Eckdaten */
.hero .hero-name { font-size: clamp(64px, 12vw, 168px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-top: 28px; }
.hero-top .hero-text { margin: 0; }
@media (max-width: 820px) { .hero-top { grid-template-columns: minmax(0,1fr); } }

/* BookBuddy · Sicherheitsprozess */
.secflow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 10px; counter-reset: f; }
.secflow li { counter-increment: f; position: relative; padding: 18px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--raised); display: grid; gap: 6px; align-content: start; }
.secflow li::before { content: counter(f); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.secflow li.mine { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.secflow li.mine::before { color: var(--accent); }
.secflow b { font-family: var(--display); font-weight: 600; font-size: 17px; }
.secflow span { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
@media (max-width: 1000px) { .secflow { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 560px) { .secflow { grid-template-columns: minmax(0,1fr); } }

.sec-legend { margin-top: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sec-legend i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); display: inline-block; }
/* Entenhausen · scrollbarer Laptop */
.scroll-screen { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.scroll-screen img { width: 100%; height: auto !important; object-fit: initial !important; display: block; }
.web .laptop-screen.scroll-screen { aspect-ratio: 16 / 10; }
.pagepick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 780px; width: 100%; justify-self: center; }
.pagepick button { padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--raised); cursor: pointer; text-align: left; transition: border-color .3s, transform .3s var(--ease); }
.pagepick button img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; display: block; }
.pagepick button span { display: block; padding: 8px 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pagepick button[aria-pressed="true"] { border-color: var(--acc); }
.pagepick button[aria-pressed="true"] span { color: var(--acc); }
.pagepick button:hover { transform: translateY(-2px); }
.scroll-hint { justify-self: center; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Entenhausen · Mini-Laptops */
.pagepick button { border: 0; background: none; padding: 6px 6px 0; border-radius: 12px; }
.mini-laptop .mini-screen { border: 4px solid #1b1d21; border-bottom-width: 5px; border-radius: 8px 8px 2px 2px; overflow: hidden; aspect-ratio: 16 / 10; background: #1b1d21; }
.mini-laptop .mini-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; aspect-ratio: auto; }
.mini-laptop .mini-base { height: 6px; margin: 0 -5%; background: linear-gradient(#d6d3cd, #b9b5ae); border-radius: 0 0 6px 6px; }
.pagepick button span { text-align: center; padding: 10px 4px 4px; }
.pagepick button[aria-pressed="true"] .mini-screen { border-color: var(--acc); }

/* Einheitliche Stack-Zeile am Ende jedes Projekts */
.stackrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.stackrow > span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.stackrow ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stackrow li { font-family: var(--mono); font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.game .stackrow { border-top-color: rgba(255,255,255,.12); margin: 6px clamp(6px,1.4vw,14px) 4px; }
.game .stackrow > span { color: #b8b0a6; }
.game .stackrow li { border-color: rgba(255,255,255,.18); color: #f1ece6; }

/* Spiele: nur Video */
.game-media.solo { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; }
.game-media.solo .g-main { grid-row: auto; aspect-ratio: 16 / 9; }
.playbtn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 76px; height: 76px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.45); backdrop-filter: blur(6px); cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease), background .3s, opacity .3s; }
.playbtn svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.playbtn:hover { transform: translate(-50%, -50%) scale(1.06); background: rgba(255,138,61,.55); }
.playbtn.hide { opacity: 0; pointer-events: none; }

/* Highlights */
.highlights { list-style: none; margin: 0; padding: 0 clamp(6px,1.4vw,14px); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.highlights li { padding: 18px 18px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03); display: grid; gap: 6px; align-content: start; }
.highlights b { font-family: var(--display); font-weight: 700; font-size: 18px; color: #fff; letter-spacing: -.01em; }
.highlights span { font-size: 14px; color: #d9cfc6; line-height: 1.45; }
.highlights i { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--g-accent); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) { .highlights { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
@media (max-width: 560px) { .highlights { grid-template-columns: minmax(0,1fr); } }

/* Entenhausen: Seite scrollt mit, während der Abschnitt stehen bleibt */
.pin-wrap { position: relative; }
.pin-wrap.pinned { height: 230vh; }
.pin-wrap.pinned .pin { position: sticky; top: 64px; min-height: calc(100vh - 64px); display: grid; align-content: center; gap: 14px; }
.pin-wrap.pinned .scroll-screen { overflow: hidden; }
.pin-wrap.pinned .scroll-screen img { will-change: transform; }
.pin-progress { justify-self: center; width: 120px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.pin-progress i { display: block; height: 100%; width: 0; background: var(--acc); }
.pin-wrap:not(.pinned) .pin-progress { display: none; }

.game-media.duo { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); grid-template-rows: auto; }
.game-media.duo .g-main { grid-row: auto; aspect-ratio: 630 / 350; }
.game--shadow .game-media.duo .g-main { grid-column: 1; }
.game--shadow .game-media.duo .g-side { grid-column: 2; }
.game-media.duo .g-side img { object-position: 30% center; }
@media (max-width: 860px) { .game-media.duo { grid-template-columns: minmax(0,1fr); } .game--shadow .game-media.duo .g-side { grid-column: 1; } }

/* TripTracker: Tabs */
.tt-tabs { margin-top: clamp(48px, 6vw, 80px); }
.tt-tablist { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.tt-tablist button { font-family: var(--display); font-weight: 600; font-size: 17px; padding: 10px 22px; border-radius: 999px; border: 0; background: transparent; color: var(--on-light-muted); cursor: pointer; transition: background .25s, color .25s; }
.tt-tablist button[aria-selected="true"] { background: var(--on-light); color: var(--paper); }
.tt-tablist button:hover:not([aria-selected="true"]) { color: var(--on-light); }
.tt-panel { margin-top: 32px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 32px 56px; align-items: center; }
.tt-panel[hidden] { display: none !important; }
.tt-panel h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; margin-bottom: 14px; }
.tt-panel p { color: var(--muted); font-size: 17px; max-width: 40ch; }
.tt-phones { display: flex; justify-content: center; gap: 16px; min-width: 0; }
.tt-phones figure { margin: 0; flex: 0 1 180px; min-width: 0; animation: ttIn .5s var(--ease) both; }
.tt-phones figure:nth-child(2) { animation-delay: .06s; } .tt-phones figure:nth-child(3) { animation-delay: .12s; }
.tt-phones img { width: 100%; border-radius: 22px; border: 5px solid #101215; box-shadow: 0 24px 44px -30px rgba(23,25,28,.6); display: block; }
@keyframes ttIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.focus-note { margin-top: clamp(48px, 6vw, 72px); padding: 22px 26px; border-left: 3px solid var(--acc); background: var(--raised); border-radius: 0 12px 12px 0; max-width: 860px; }
.focus-note p { font-size: 17px; }
.focus-note p + p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .tt-panel { grid-template-columns: minmax(0, 1fr); } .tt-tablist button { padding: 9px 16px; font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .tt-phones figure { animation: none; } }
.band.light .stackrow li { color: var(--on-light); }
.project .stackrow { margin-top: clamp(40px, 5vw, 56px); }
.hero .facts { position: relative; z-index: 1; }
.band.light .game .stackrow li { color: #f1ece6; }
.pin-wrap.pinned { height: 200vh; }
.game-media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== CaseFinder: Architektur mit Ablauf ===== */
.archflow { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 20px; }
.archflow > * { min-width: 0; }
.archflow .arch { margin: 0; }
.a-num { fill: var(--accent); stroke: var(--anthracite-2); stroke-width: 3; }
.a-numt { fill: #0d1015; font-family: "Geist Mono", monospace; font-size: 17px; font-weight: 600; text-anchor: middle; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.steps3 li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.steps3 li > span { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #0d1015; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; }
.steps3 b { font-family: var(--display); font-size: 21px; }
.steps3 p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
@media (max-width: 960px) { .archflow { grid-template-columns: minmax(0,1fr); } }

/* Meine Rolle */
.rolestrip { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; counter-reset: r; }
.rl { position: relative; padding: 26px 24px 22px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, var(--anthracite-2)), var(--anthracite-2) 55%); display: grid; gap: 10px; align-content: start; overflow: hidden; transition: border-color .35s, transform .35s var(--ease); }
.rl::after { counter-increment: r; content: "0" counter(r); position: absolute; right: 18px; top: 14px; font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1; color: color-mix(in srgb, var(--on-dark) 7%, transparent); }
.rl:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); transform: translateY(-3px); }
.rl-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.rl-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rl b { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.015em; margin-top: 6px; }
.rl p { color: var(--muted); font-size: 15px; }
.rl ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rl ul li { font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--on-dark); background: var(--anthracite); }
@media (max-width: 900px) { .rolestrip { grid-template-columns: minmax(0,1fr); } }

/* ===== TripTracker: Reihe ===== */
.rowphones { display: flex; justify-content: center; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding: 30px 0; }
.rp { margin: 0; flex: 0 0 auto; position: relative; transition: transform .4s var(--ease); }
.rp img { width: 100%; display: block; border-radius: 18px; border: 4px solid #101215; box-shadow: 0 22px 40px -26px rgba(23,25,28,.55); }
.rp.s0 { width: clamp(120px, 15vw, 200px); z-index: 4; }
.rp.s1 { width: clamp(96px, 11.5vw, 154px); z-index: 3; margin: 0 -2.2%; }
.rp.s2 { width: clamp(80px, 9vw, 122px); z-index: 2; margin: 0 -1.6%; }
.rp.s3 { width: clamp(66px, 7vw, 96px); z-index: 1; }
.rp.s1 img, .rp.s2 img, .rp.s3 img { filter: saturate(.85); }
.rp.s2 { opacity: .92; } .rp.s3 { opacity: .8; }
.rp:hover { transform: translateY(-8px); z-index: 5; opacity: 1; }
@media (max-width: 640px) { .rp.s3 { display: none; } .rp.s0 { width: 32%; } .rp.s1 { width: 24%; } .rp.s2 { width: 19%; } }

.fcards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.fcard { padding: 24px 24px 22px; border-radius: 18px; background: #fbfaf7; border: 1px solid var(--paper-2); box-shadow: 0 20px 40px -34px rgba(23,25,28,.35); display: grid; gap: 8px; align-content: start; transition: transform .35s var(--ease), border-color .35s; }
.fcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent-ink) 40%, var(--paper-2)); }
.fc-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent-ink) 10%, transparent); margin-bottom: 6px; }
.fc-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fcard b { font-family: var(--display); font-size: 22px; font-weight: 700; }
.fcard p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .fcards { grid-template-columns: minmax(0,1fr); } }

/* BookBuddy: Mein Teil */
.mypart { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.mp { padding: 22px 20px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 9%, var(--anthracite-2)), var(--anthracite-2) 60%); display: grid; gap: 6px; align-content: start; }
.mp b { font-family: var(--display); font-size: 20px; }
.mp p { color: var(--muted); font-size: 15px; }
.partner-note { margin-top: 16px; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .mypart { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .mypart { grid-template-columns: minmax(0,1fr); } }
.highlights.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1000px) { .highlights.four { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .highlights.four { grid-template-columns: minmax(0,1fr); } }
.web-text { display: grid; gap: 8px; }
.web-text p { color: var(--muted); max-width: 56ch; }
.web-own { font-size: 15px; }

/* Entenhausen: Mausrad über dem Bildschirm scrollt die Seite weiter */
.pin-wrap.pinned .scroll-screen { overscroll-behavior: auto; }

/* TripTracker: Besonderheiten */
.specials { margin-top: clamp(40px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
.specials-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 48px; }
.specials b { font-family: var(--display); font-size: 19px; }
.specials p:not(.eyebrow) { color: var(--muted); font-size: 15.5px; margin-top: 4px; max-width: 52ch; }
@media (max-width: 760px) { .specials-grid { grid-template-columns: minmax(0,1fr); } }

/* CaseFinder: Rolle schlichter */
.rl { background: none; border: 0; border-top: 2px solid var(--accent); border-radius: 0; padding: 20px 0 0; gap: 8px; }
.rl::after { content: none; }
.rl:hover { transform: none; }
.rl-ic { width: auto; height: auto; background: none; border: 0; justify-content: start; }
.rl-ic svg { width: 22px; height: 22px; }
.rl b { margin-top: 2px; font-size: 22px; }
.rl ul li { background: none; }
.rolestrip { gap: 32px; }

/* Entenhausen: echte Seite im Laptop */
.live-screen { position: relative; aspect-ratio: 16 / 10; background: #fff; }
.live-screen iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #fff; display: block; }
.live-open { position: absolute; inset: 0; display: none; }
.live-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; max-width: 780px; width: 100%; justify-self: center; }
.live-bar .scroll-hint { justify-self: auto; }
.pin-wrap:not(.pinned) .live-bar .scroll-hint { display: none; }
.trybtn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--acc); border-radius: 999px; color: var(--acc); font-family: var(--mono); font-size: 12.5px; text-decoration: none; transition: background .25s, color .25s; }
.trybtn:hover, .trybtn:focus-visible { background: var(--acc); color: #fff; }
.pin-wrap:not(.pinned) .live-bar { justify-content: center; }

/* Werkzeuge: sechs Gruppen aus dem Lebenslauf */
.tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; }
.tools-grid h3 { font-size: 19px; }
.tools-grid .tags-lg { margin-top: 16px; gap: 8px; font-size: 13px; }
.tools-grid .tags-lg li { padding: 6px 12px; }
.tags-lg li.basic { border-style: dashed; color: var(--muted); }
.tags-lg li.basic small { font-size: 11px; margin-left: 4px; }
@media (max-width: 1000px) { .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tools-grid { grid-template-columns: 1fr; } }

/* Weitere Projekte · jedes Projekt über die volle Breite */
#weitere { overflow-x: clip; }
.v-full .games { gap: 0; }
.v-full .game, .v-full .web {
  margin-inline: calc(50% - 50vw); border-radius: 0; border: 0;
  padding: clamp(72px, 9vw, 128px) max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.v-full .web { margin-top: 0; padding-bottom: 0; }
.v-full .game .game-info, .v-full .game .stackrow { padding-inline: 0; margin-inline: 0; }

/* Sudoku: Android-App im gleichen Aufbau wie die Spiele */
.game--sudoku { --g-accent: #b6a4ff; --g-bg: #120f22; --g-glow: rgba(120, 90, 255, .2); }
.sud-banner { aspect-ratio: 2 / 1; background: radial-gradient(70% 90% at 75% 40%, rgba(120,90,255,.35), transparent 70%), #17132b; display: flex; justify-content: flex-end; align-items: flex-start; padding-right: 9%; }
.sud-banner::after { display: none; }
.sphone { width: 30%; margin-top: 7%; transform: rotate(-6deg); border-radius: 26px; border: 9px solid #08080c; background: #08080c; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }
.sphone img { display: block; width: 100%; height: auto; }
.game-media figure.sud-banner:hover img { transform: none; }
.ghlink { justify-self: start; font-family: var(--mono); font-size: 13px; color: var(--g-accent); text-decoration: none; border-bottom: 1px solid currentColor; }
.ghlink:hover { color: #fff; }
@media (max-width: 860px) { .sphone { width: 42%; } }

/* Werkzeuge: acht Gruppen in vier Spalten */

