/* ---------------------------------------------------------------------------
   Interprex — Website
   Bewusst ohne Framework und ohne CDN: Die Seite trägt Werbung, also zählt
   Ladezeit, und ein externer Font-Aufruf wäre schon vor der Einwilligung eine
   Datenübertragung an Dritte. Schrift kommt daher vom System — bei
   Apple-Geräten SF Pro, sonst der jeweilige Systemschnitt.
--------------------------------------------------------------------------- */

:root {
  --ink:        #0b0b12;
  --ink-2:      #12121c;
  --line:       rgba(255, 255, 255, 0.09);
  --text:       #ecebf2;
  --text-dim:   #9a99ab;
  --text-faint: #63637a;

  --brand-1: #5c6bfa;
  --brand-2: #9e5af2;
  --brand-3: #eb61b8;
  --brand: linear-gradient(120deg, var(--brand-1), var(--brand-2) 52%, var(--brand-3));

  --ok:   #46c07a;
  --warn: #e2a33c;

  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", var(--sans);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --page: 1120px;
  --r: 14px;
}

@media (prefers-color-scheme: light) {
  :root {
    --ink:        #fbfbfd;
    --ink-2:      #ffffff;
    --line:       rgba(10, 10, 25, 0.10);
    --text:       #16161f;
    --text-dim:   #55556a;
    --text-faint: #8a8a9c;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Der Verlauf ist Interprex’ Markenzeichen (App-Icon, Kopfzeile in der App) —
   deshalb hier gezielt als Lichtquelle oben links, nicht als Dekor-Blob. */
body::before {
  content: "";
  position: fixed;
  inset: -30vh -20vw auto -20vw;
  height: 90vh;
  background:
    radial-gradient(52% 60% at 22% 0%, rgba(92, 107, 250, 0.22), transparent 70%),
    radial-gradient(46% 55% at 78% 8%, rgba(235, 97, 184, 0.14), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 26px; position: relative; z-index: 1; }

a { color: inherit; text-decoration-color: color-mix(in srgb, var(--brand-2) 55%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--brand-2); }

/* --- Kopfzeile ---------------------------------------------------------- */

.top {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: saturate(150%) blur(16px);
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 26px; height: 62px; }

.brand { display: flex; align-items: center; gap: 10px; font: 700 19px/1 var(--round); text-decoration: none; letter-spacing: -0.01em; }
.brand .mark {
  width: 27px; height: 27px; border-radius: 8px; background: var(--brand);
  display: grid; place-items: center; color: #fff; font: 800 15px/1 var(--round);
  box-shadow: 0 3px 12px rgba(120, 90, 250, 0.4);
}

.top nav { margin-left: auto; display: flex; gap: 22px; font-size: 15px; }
.top nav a { color: var(--text-dim); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }

@media (max-width: 720px) {
  .top nav { gap: 14px; font-size: 14px; overflow-x: auto; }
}

/* --- Schaltflächen ------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 11px; border: 1px solid transparent;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 26px rgba(120, 90, 250, 0.34); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(120, 90, 250, 0.44); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--brand-2) 50%, transparent); }
.btn:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; }

/* --- Hero: bewusst asymmetrisch, Text links, Faktenkarte rechts versetzt - */

.hero { padding: 78px 0 54px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 48px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--sans); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-dim); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

h1 {
  font: 700 clamp(38px, 6vw, 62px)/1.04 var(--round);
  letter-spacing: -0.028em; margin: 22px 0 18px; max-width: 15ch;
}
h1 em {
  font-style: normal;
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lede { font-size: 20px; line-height: 1.55; color: var(--text-dim); max-width: 48ch; margin: 0 0 30px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 14px; color: var(--text-faint); margin-top: 14px; }

/* Faktenkarte statt Screenshot-im-Browser-Mockup. */
.facts { border: 1px solid var(--line); border-radius: var(--r); background: color-mix(in srgb, var(--ink-2) 70%, transparent); overflow: hidden; }
.facts h2 { font: 600 13px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.facts dl { margin: 0; }
.facts .row { display: flex; justify-content: space-between; gap: 18px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts .row:last-child { border-bottom: 0; }
.facts dt { color: var(--text-dim); margin: 0; }
.facts dd { margin: 0; text-align: right; font-weight: 600; }

/* --- Abschnitte --------------------------------------------------------- */

section { padding: 58px 0; border-top: 1px solid var(--line); }
section > .wrap > h2 { font: 700 clamp(26px, 3.4vw, 36px)/1.15 var(--round); letter-spacing: -0.02em; margin: 0 0 10px; }
section > .wrap > .sub { color: var(--text-dim); margin: 0 0 34px; max-width: 62ch; }

/* Ablauf in drei Schritten, versetzt statt gleichförmig nebeneinander. */
.steps { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step { display: grid; grid-template-columns: 62px 1fr; gap: 20px; padding: 24px 24px; background: color-mix(in srgb, var(--ink-2) 55%, transparent); }
.step + .step { border-top: 1px solid var(--line); }
.step .n { font: 700 34px/1 var(--round); background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin: 0 0 5px; font: 600 19px/1.3 var(--sans); }
.step p { margin: 0; color: var(--text-dim); font-size: 16px; }
@media (max-width: 620px) { .step { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 18px; } }

/* Ehrlichkeitsabschnitt: was funktioniert, was nicht — zwei Spalten. */
.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .honest { grid-template-columns: 1fr; } }
.honest ul { list-style: none; margin: 0; padding: 0; }
.honest li { display: grid; grid-template-columns: 22px 1fr; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.honest li:last-child { border-bottom: 0; }
.honest .k { font-weight: 700; }
.honest .yes .k { color: var(--ok); }
.honest .no .k { color: var(--warn); }
.honest h3 { font: 600 17px/1 var(--sans); margin: 0 0 8px; color: var(--text-dim); }

/* --- Werbeplätze -------------------------------------------------------- */

.adslot { margin: 34px 0; text-align: center; min-height: 100px; }
.adslot > .label {
  display: block; font: 600 11px/1 var(--sans); letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px;
}
.adslot .placeholder {
  border: 1px dashed var(--line); border-radius: var(--r); padding: 30px 18px;
  color: var(--text-faint); font-size: 14px;
}

/* --- Fließtext (Rechtsseiten, Hilfe) ------------------------------------ */

.prose { max-width: 74ch; padding: 46px 0 20px; }
.prose h1 { font-size: clamp(30px, 4.5vw, 42px); max-width: none; margin-bottom: 8px; }
.prose h2 { font: 600 24px/1.3 var(--round); letter-spacing: -0.015em; margin: 40px 0 12px; }
.prose h3 { font: 600 18px/1.35 var(--sans); margin: 28px 0 8px; }
.prose p, .prose li { color: var(--text-dim); }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose code { font: 400 0.9em var(--mono); background: color-mix(in srgb, var(--text) 9%, transparent); padding: 2px 6px; border-radius: 5px; }
.prose pre { overflow-x: auto; background: color-mix(in srgb, var(--text) 6%, transparent); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.prose .stand { color: var(--text-faint); font-size: 15px; }

.table-scroll { overflow-x: auto; margin: 18px 0; }
.prose table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.prose td { color: var(--text-dim); }

/* Fehlt eine Pflichtangabe, soll das sofort auffallen — nicht erst, wenn
   eine Abmahnung kommt. */
.todo { background: rgba(226, 163, 60, 0.16); color: var(--warn); border: 1px solid rgba(226, 163, 60, 0.4); border-radius: 6px; padding: 1px 7px; font-weight: 600; }

/* --- Fußzeile ----------------------------------------------------------- */

footer { border-top: 1px solid var(--line); padding: 40px 0 60px; margin-top: 40px; font-size: 15px; color: var(--text-dim); }
footer .cols { display: flex; flex-wrap: wrap; gap: 34px 60px; justify-content: space-between; }
footer h4 { font: 600 13px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; color: var(--text-dim); }
footer a:hover { color: var(--text); }
footer .fine { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-faint); font-size: 14px; max-width: 78ch; }

/* --- Einwilligungsbanner ------------------------------------------------ */

.consent {
  position: fixed; inset: auto 16px 16px 16px; z-index: 90;
  max-width: 540px; margin-inline: auto;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: rise 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }
.consent[hidden] { display: none; }
.consent h2 { font: 600 17px/1.3 var(--sans); margin: 0 0 7px; }
.consent p { margin: 0 0 15px; font-size: 14.5px; color: var(--text-dim); }
.consent .buttons { display: flex; flex-wrap: wrap; gap: 9px; }
.consent .btn { padding: 11px 18px; font-size: 15px; flex: 1 1 auto; justify-content: center; }

/* ===========================================================================
   Screenshot-Fächer
   ---------------------------------------------------------------------------
   Überlappende Karten statt eines Browser-Mockups: Man sieht auf einen Blick,
   dass die App mehrere Bereiche hat, und beim Überfahren rückt der jeweilige
   nach vorn. Ohne Zeiger (Touch, Tastatur) liegen sie nebeneinander und
   scrollen — dort wäre ein Stapel unbedienbar.
   ======================================================================== */

.shots {
  /* Eine Kartenbreite, aus der sich alles andere ableitet. Die Karten
     überlappen um 55 % — so bleibt der Fächer bei jeder Fensterbreite
     innerhalb der Seite, statt an den Rändern abgeschnitten zu werden. */
  --w: clamp(190px, 25vw, 330px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0 50px;
}

.shot {
  position: relative;
  flex: 0 0 auto;
  width: var(--w);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.5);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.42s ease, filter 0.42s ease;
  cursor: zoom-in;
  transform-origin: bottom center;
}
.shot + .shot { margin-left: calc(var(--w) * -0.55); }
.shot img { display: block; width: 100%; height: auto; }

.shot:nth-child(1) { transform: rotate(-7deg)   translateY(16px); z-index: 1; }
.shot:nth-child(2) { transform: rotate(-3.5deg) translateY(5px);  z-index: 2; }
.shot:nth-child(3) { transform: none;                             z-index: 4; }
.shot:nth-child(4) { transform: rotate(3.5deg)  translateY(5px);  z-index: 2; }
.shot:nth-child(5) { transform: rotate(7deg)    translateY(16px); z-index: 1; }

.shots:hover .shot { filter: saturate(0.75) brightness(0.6); }
.shot:hover,
.shot:focus-visible,
.shot.is-open {
  z-index: 9;
  filter: none !important;
  transform: rotate(0deg) translateY(-10px) scale(1.28) !important;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.62);
}
.shot:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 4px; }

.shot .caption {
  position: absolute; inset: auto 0 0 0;
  padding: 30px 12px 9px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  color: #fff; font: 600 11px/1.3 var(--sans);
  opacity: 0; transition: opacity 0.3s ease;
}
.shot:hover .caption, .shot:focus-visible .caption, .shot.is-open .caption { opacity: 1; }

/* Ohne Zeiger (Touch) wäre ein Stapel unbedienbar — dort nebeneinander
   und wischbar. */
@media (hover: none) {
  .shots {
    display: grid; grid-auto-flow: column; grid-auto-columns: 80vw;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-inline: 20px;
  }
  .shot { width: auto; transform: none !important; margin-left: 0 !important;
          scroll-snap-align: center; }
  .shot .caption { opacity: 1; font-size: 13px; }
}

/* Einzelner, hervorgehobener Screenshot in Fließtextabschnitten. */
.shot-solo {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38); margin: 22px 0;
}
.shot-solo img { display: block; width: 100%; height: auto; }
.shot-solo figcaption {
  padding: 11px 15px; font-size: 14px; color: var(--text-dim);
  border-top: 1px solid var(--line); background: color-mix(in srgb, var(--ink-2) 60%, transparent);
}

/* ===========================================================================
   Auftauchen beim Scrollen
   Ein einziger, kurzer Effekt — kein Stakkato auf jedem Element.
   ======================================================================== */

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ===========================================================================
   Werbeplätze
   ---------------------------------------------------------------------------
   Regel: Werbung verdeckt nie Inhalt. Auf breiten Bildschirmen läuft sie in
   einer Spalte rechts mit, sonst steht sie ruhig zwischen zwei Abschnitten.
   Keine Overlays, keine Anker-Leisten, keine Interstitials.
   ======================================================================== */

.adslot { margin: 34px 0; text-align: center; }
.adslot > .label {
  display: block; font: 600 11px/1 var(--sans); letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 8px;
}
.adslot .placeholder {
  border: 1px dashed var(--line); border-radius: var(--r); padding: 26px 18px;
  color: var(--text-faint); font-size: 14px;
}

/* Mitlaufende Spalte — erst ab 1500 px, damit sie nie mit dem Text konkurriert. */
.ad-rail { display: none; }
@media (min-width: 1500px) {
  .ad-rail {
    display: block; position: fixed; top: 96px; right: 26px; width: 300px;
    z-index: 5; max-height: calc(100vh - 130px); overflow: hidden;
  }
  .ad-rail .adslot { margin: 0; }
  .ad-rail .label { text-align: left; }
  /* Inhalt weicht aus, statt überdeckt zu werden. */
  body.has-rail .wrap { margin-right: 300px; }
}

/* ===========================================================================
   Dokumentation
   ======================================================================== */

.docs { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 46px; padding: 42px 0 20px; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; gap: 20px; } }

.docs-toc { position: sticky; top: 86px; align-self: start; font-size: 15px; }
@media (max-width: 900px) { .docs-toc { position: static; } }
.docs-toc h4 {
  font: 600 12px/1 var(--sans); letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text-faint); margin: 0 0 11px;
}
.docs-toc a {
  display: block; padding: 6px 0 6px 12px; color: var(--text-dim);
  text-decoration: none; border-left: 2px solid var(--line);
}
.docs-toc a:hover { color: var(--text); border-left-color: var(--brand-2); }
.docs-toc a.is-active { color: var(--text); border-left-color: var(--brand-2); font-weight: 600; }

/* ===========================================================================
   Hilfe-Einträge, Hinweise, Schritte
   ======================================================================== */

.guide-list { display: grid; gap: 9px; margin: 20px 0 34px; }
.guide-link {
  display: grid; grid-template-columns: 30px 1fr; gap: 13px; align-items: start;
  padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; background: color-mix(in srgb, var(--ink-2) 45%, transparent);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.guide-link:hover {
  border-color: color-mix(in srgb, var(--brand-2) 55%, transparent);
  background: color-mix(in srgb, var(--ink-2) 85%, transparent);
  transform: translateX(3px);
}
.guide-icon { font-size: 19px; line-height: 1.35; }
.guide-link strong { display: block; color: var(--text); font-weight: 600; }
.guide-link em { display: block; font-style: normal; color: var(--text-dim); font-size: 14.5px; margin-top: 3px; }
.guide-link-hard { border-style: dashed; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 22px; }
.tag {
  font: 600 12px/1 var(--sans); letter-spacing: 0.02em;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-dim);
}

.notice {
  border-left: 3px solid var(--brand-2); border-radius: 0 9px 9px 0;
  background: color-mix(in srgb, var(--brand-2) 9%, transparent);
  padding: 13px 16px; margin: 20px 0;
}
.notice-warn {
  border-left-color: var(--warn);
  background: color-mix(in srgb, var(--warn) 11%, transparent);
}

ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 18px 0; }
ol.steps > li {
  counter-increment: step; position: relative;
  padding: 0 0 18px 42px; margin: 0;
  border-left: 1px solid var(--line); margin-left: 13px;
}
ol.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.steps > li::before {
  content: counter(step);
  position: absolute; left: -14px; top: -2px;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font: 700 13px/27px var(--sans); text-align: center;
}
ol.steps .step-action {
  display: inline-block; margin-top: 7px;
  font-size: 14px; color: var(--text-dim);
  border: 1px solid var(--line); border-radius: 7px; padding: 5px 10px;
  text-decoration: none;
}
ol.steps a.step-action:hover { border-color: var(--brand-2); color: var(--text); }

/* ===========================================================================
   Unterstützer-Seite
   ======================================================================== */

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 26px 0; }
.plan {
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
  background: color-mix(in srgb, var(--ink-2) 55%, transparent);
  display: flex; flex-direction: column; gap: 9px;
}
.plan.featured {
  border-color: color-mix(in srgb, var(--brand-2) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand-2) 22%, transparent),
              0 18px 44px rgba(120, 90, 250, 0.16);
}
.plan h3 { margin: 0; font: 600 16px/1 var(--sans); }
.plan .price {
  font: 700 30px/1 var(--round); letter-spacing: -0.02em;
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan p { margin: 0; color: var(--text-dim); font-size: 15px; }
.plan .btn { margin-top: auto; justify-content: center; }

.checklist { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
/* Der Haken sitzt absolut, nicht als eigene Rasterzelle: Sonst rutscht jeder
   weitere Textknoten im <li> in eine neue Zeile. */
.checklist li { position: relative; padding-left: 30px; color: var(--text-dim); }
.checklist li::before {
  content: "✓"; position: absolute; left: 4px; top: 0;
  color: var(--ok); font-weight: 700;
}
.checklist li strong { color: var(--text); }

/* ===========================================================================
   Entwickler-Website (hnbdev)
   ---------------------------------------------------------------------------
   Ruhiger und dunkler als die Produktseite: Hier steht die Arbeit im
   Vordergrund, nicht ein einzelnes Produkt. Deshalb zentriert, ohne
   Markenverlauf im Hintergrund und mit nummerierten Abschnitten.
   ======================================================================== */

body.dev-site { --ink: #08080c; --page: 1000px; }
@media (prefers-color-scheme: light) { body.dev-site { --ink: #fbfbfd; } }

/* Kein Farbverlauf-Schleier — der gehört zum Produkt, nicht zur Person. */
body.dev-site::before { display: none; }

.dev-hero { padding: 96px 0 62px; text-align: center; }
@media (max-width: 700px) { .dev-hero { padding: 62px 0 40px; } }

.dev-h1 {
  font: 700 clamp(34px, 5.6vw, 58px)/1.1 var(--round);
  letter-spacing: -0.03em;
  margin: 0 auto 20px;
  max-width: 18ch;
}
.dev-h1 .dim { color: var(--text-faint); }

.dev-lede {
  font-size: 18px; line-height: 1.6; color: var(--text-dim);
  max-width: 60ch; margin: 0 auto 30px;
}
.dev-lede a { color: var(--text); text-decoration-thickness: 1px; }

.dev-cta { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; }

/* Heller Hauptknopf statt Verlauf — auf der Personenseite wirkt der Verlauf
   wie Produktwerbung. */
.btn-light { background: var(--text); color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); }

/* Nummerierte Abschnittsüberschrift wie im Inhaltsverzeichnis eines Hefts. */
/* Muss die allgemeine Regel `section > .wrap > h2` überstimmen — die ist
   durch zwei Elementselektoren spezifischer als eine einzelne Klasse. */
section > .wrap > h2.dev-section,
.dev-section {
  display: flex; align-items: center; gap: 12px;
  font: 600 15px/1 var(--sans); letter-spacing: 0.01em;
  color: var(--text-dim); margin: 0 0 24px;
}
.dev-section .num {
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 7px;
  border: 1px solid var(--line); color: var(--text);
  font: 600 12px/1 var(--mono);
}

/* --- Projektkarten ------------------------------------------------------ */

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--r);
  background: color-mix(in srgb, var(--ink-2) 55%, transparent);
  text-decoration: none; color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
a.card:hover {
  border-color: color-mix(in srgb, var(--brand-2) 55%, transparent);
  background: color-mix(in srgb, var(--ink-2) 90%, transparent);
  transform: translateY(-2px);
}

.card-head { display: flex; align-items: center; gap: 12px; }
.card-head h3 { margin: 0; font: 600 21px/1.2 var(--round); letter-spacing: -0.015em; }
.card-icon { display: grid; place-items: center; flex: 0 0 auto; }
.card-icon-empty {
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px dashed var(--line); color: var(--text-faint);
  font: 600 16px/1 var(--sans);
}
.card-arrow {
  margin-left: auto; color: var(--text-faint); font-size: 18px;
  transition: transform 0.2s ease, color 0.2s ease;
}
a.card:hover .card-arrow { transform: translateX(3px); color: var(--text); }

.card p { margin: 0; color: var(--text-dim); font-size: 15.5px; }

.card-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--text-faint);
}
.card-tags { margin-left: auto; display: flex; gap: 6px; }
.pill {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 9px; font-size: 12px; color: var(--text-dim);
}
.card-soon { border-style: dashed; opacity: 0.7; }

/* --- Arbeitsweise ------------------------------------------------------- */

.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 34px; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }
.principle h3 { margin: 0 0 6px; font: 600 17px/1.3 var(--sans); }
.principle p { margin: 0; color: var(--text-dim); font-size: 15.5px; }
.principle a { color: var(--text); }
