/* Schriften lokal (SIL Open Font License 1.1, siehe fonts/LIZENZ.txt), nur Zeichensatz Latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/fraunces-variabel.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ibm-plex-mono-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/instrument-sans-variabel.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/instrument-sans-variabel.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/instrument-sans-variabel.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   nurHTML — Landingpage
   Identität: Papier/Print. Feste Haarrules, keine Schattenbälle.
   Fraunces (Display) + Instrument Sans (UI) + Mono für Dateinamen.
   ============================================================ */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --paper:      #f4f2ec;
  --paper-2:    #efece4;
  --card:       #fbfaf6;
  --ink:        #17150f;
  --ink-soft:   #3b382f;
  --muted:      #6f6c62;
  --rule:       rgba(23, 21, 15, 0.14);
  --rule-2:     rgba(23, 21, 15, 0.07);
  --accent:     #b4462a;
  --accent-ink: #8e3722;
  --pine:       #245c4c;
  --amber:      #97691d;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-ui: "Instrument Sans", system-ui, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r: 6px;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --out: 700ms;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambiente: feines Lineal-Raster, kein Blob, kein Glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 27px, var(--rule-2) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, var(--rule-2) 27px 28px);
  opacity: 0.6;
  mask-image: radial-gradient(120% 90% at 50% 0, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0, #000 30%, transparent 78%);
}

main { position: relative; z-index: 1; }

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.narrow { max-width: 760px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--r);
}
.skip:focus { left: var(--gutter); top: 10px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Fortschrittslinie */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 40;
}

/* ============================================================ Header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.head-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 120, "wght" 700;
  font-size: 21px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  color: var(--accent);
  font-size: 17px;
  animation: spin-mark 14s linear infinite;
}
@keyframes spin-mark { to { transform: rotate(360deg); } }
.brand-accent { color: var(--accent); }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
}
.site-nav .btn::after { display: none; }

/* Hamburger-Knopf: nur auf dem Handy sichtbar */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--card);
  cursor: pointer;
  position: relative;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-toggle-bar {
  top: 50%;
  margin: -1px 0 0 -10px;
  transition: background 0.1s var(--ease);
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  left: 0;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-offen .nav-toggle-bar { background: transparent; }
.nav-offen .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-offen .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }
.site-nav a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease);
}
.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn):focus-visible::after { transform: scaleX(1); }

/* ============================================================ Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--accent-ink);
  background: var(--accent);
  color: #fff7f2;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 12px 20px;
  border-radius: var(--r);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 320ms var(--ease), background 320ms var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-ink);
  transform: translateY(101%);
  transition: transform 420ms var(--ease);
  z-index: -1;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(0); }
.btn-small { padding: 9px 15px; font-size: 14px; }
.btn-light { background: var(--paper); border-color: rgba(244, 242, 236, 0.35); color: var(--ink); }
.btn-light::after { background: #fffdf7; }
.btn-light:hover { color: var(--accent-ink); }

/* ============================================================ Hero */
.hero {
  padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: line-in 800ms var(--ease) 200ms forwards;
}
@keyframes line-in { to { transform: scaleX(1); } }

h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "wght" 640;
  font-size: clamp(2.1rem, 4.1vw + 0.7rem, 4.05rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
h1 em,
h1 em .wi {
  font-style: normal;
  color: var(--accent-ink);
  text-decoration: underline 2px var(--accent);
  text-decoration-skip-ink: none;
  text-underline-offset: 0.07em;
}

.lede {
  margin: 0 0 30px;
  max-width: 58ch;
  font-size: 17px;
  color: var(--ink-soft);
}

/* Formular */
.analyse-form { max-width: 520px; }
.analyse-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.form-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
input[type="url"],
input[type="email"] {
  flex: 1 1 260px;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  color: var(--ink);
  transition: border-color 260ms var(--ease), box-shadow 260ms var(--ease);
}
input[type="url"]::placeholder,
input[type="email"]::placeholder { color: var(--muted); opacity: 0.75; }
input[type="url"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180, 70, 42, 0.14);
}
.field { display: block; margin-bottom: 12px; }
.field input { width: 100%; }
input[aria-invalid="true"] {
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 3px rgba(180, 70, 42, 0.12);
}
.field-help {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 54ch;
}
.field-help code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  background: var(--paper-2);
  border: 1px solid var(--rule-2);
  padding: 2px 6px;
  border-radius: 4px;
}

.status {
  margin-top: 14px;
  font-size: 14.5px;
  min-height: 24px;
  color: var(--ink-soft);
}
.status[data-state="error"] { color: var(--accent-ink); }
.status[data-state="busy"] { color: var(--muted); }
.status-line { display: block; }
.status-note {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}
.status code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--paper-2);
  border: 1px solid var(--rule-2);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink);
}
.status .num-hit {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--pine);
  font-weight: 600;
}
.status .spin {
  display: inline-block;
  width: 11px; height: 11px;
  border: 1.5px solid var(--muted);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: -1px;
  animation: spin 900ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.trust {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  color: var(--muted);
}
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--pine);
  transform: rotate(45deg);
}

/* Panel im Hero */
.visual { position: sticky; top: 84px; }
.panel {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 20px;
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.panel-title {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 3px;
  border: 1px solid currentColor;
}
.tag-risk { color: var(--accent-ink); }
.tag-safe { color: var(--pine); }

.flag-list, .file-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.flag-list li, .file-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  padding: 7px 8px;
  border-bottom: 1px solid var(--rule-2);
  transition: background 250ms var(--ease), padding-left 250ms var(--ease);
}
.flag-list li:hover, .file-list li:hover {
  background: var(--paper-2);
  padding-left: 12px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot-risk { background: var(--accent); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.file-ico { font-size: 12px; color: var(--pine); flex: none; }
.file-list li:hover .file-ico { color: var(--accent-ink); }

.convert {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.convert-line {
  flex: 1;
  height: 1px;
  background-image: linear-gradient(90deg, var(--accent) 60%, transparent 60%);
  background-size: 12px 1px;
  animation: march 1.4s linear infinite;
}
@keyframes march { to { background-position: 12px 0; } }
.convert-label { white-space: nowrap; }

.panel-foot {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}

/* ============================================================ Bänder */
.band {
  position: relative;
  z-index: 1;
  padding: clamp(52px, 7vw, 92px) 0;
  border-top: 1px solid var(--rule);
}
.band-lede {
  margin: 0 0 32px;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 16.5px;
}
h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 110, "wght" 600;
  font-size: clamp(1.5rem, 1.9vw + 0.6rem, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
}
h3 {
  margin: 0 0 10px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.band-problem { background: var(--paper-2); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
}
.card {
  background: var(--paper);
  padding: 24px 22px;
  position: relative;
  transition: background 320ms var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 460ms var(--ease);
}
.card:hover { background: var(--card); }
.card:hover::before { transform: scaleY(1); }
.card p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
.num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-ink);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

/* Split-Sektion */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.split-reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.split-copy p { margin: 0 0 20px; color: var(--ink-soft); }

.check-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.check-list li {
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid var(--rule-2);
  position: relative;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 17px;
  width: 12px; height: 8px;
  border-left: 2px solid var(--pine);
  border-bottom: 2px solid var(--pine);
  transform: rotate(-45deg);
}
.note {
  font-size: 14.5px;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
}

/* Baum-Ansicht */
.tree {
  background: var(--ink);
  color: #f2efe6;
  border-radius: var(--r);
  padding: 18px 20px;
}
.tree-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(242, 239, 230, 0.18);
  margin-bottom: 14px;
}
.tree-name {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #f6f2e8;
}
.tree-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(242, 239, 230, 0.55);
}
.tree-body {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.85;
  white-space: pre-wrap;
  color: rgba(242, 239, 230, 0.82);
}
.tree-comment { color: var(--accent); }

/* Ablauf: gleiche Kästen wie im Problem-Bereich (.cards / .card) */
.band-steps { background: var(--paper-2); }
ol.cards { list-style: none; margin: 0; padding: 0; }
.cards-5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* Editor */
.paths { display: grid; gap: 14px; }
.path {
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 18px 20px;
  background: var(--card);
  transition: border-color 300ms var(--ease), transform 300ms var(--ease);
}
.path:hover { transform: translateY(-3px); }
.path-a { border-color: var(--accent); }
.path p { margin: 0; font-size: 14.5px; color: var(--muted); }
.path-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 10px;
}
.path-tag-plain { color: var(--muted); }

.editor-mock {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.mock-title { font-family: var(--font-mono); font-size: 13px; }
.mock-tools { display: flex; gap: 6px; }
.mock-tools span {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid var(--rule-2);
  border-radius: 4px;
  background: var(--paper);
  color: var(--muted);
  transition: color 250ms var(--ease), border-color 250ms var(--ease);
}
.editor-mock:hover .mock-tools span { color: var(--accent-ink); border-color: var(--rule); }
.mock-body { padding: 20px 18px; }
.mock-h {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 90, "wght" 600;
  font-size: 19px;
}
.mock-text { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
.caret {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
  animation: caret-blink 1.6s steps(2, end) infinite;
}
@keyframes caret-blink { 50% { border-color: transparent; } }
.mock-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
}
.mock-btn {
  font-size: 13.5px;
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-soft);
}
.mock-btn-solid { background: var(--accent); border-color: var(--accent-ink); color: #fff7f2; }
.mock-status { margin-left: auto; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }

/* Grenzen / Tabelle */
.band-limits { background: var(--paper-2); }
.limits-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
}
.limits-table th, .limits-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--rule-2);
  font-size: 15px;
}
.limits-table th {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--card);
}
.limits-table tbody tr { transition: background 240ms var(--ease); }
.limits-table tbody tr:hover { background: var(--card); }
.pill {
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 3px;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.pill.ok { color: var(--pine); }
.pill.no { color: var(--accent-ink); }
.pill.warn { color: var(--amber); }

/* Für wen */
.two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.fit { border: 1px solid var(--rule); border-radius: var(--r); padding: 24px; background: var(--card); }
.fit p { margin: 0 0 14px; color: var(--muted); }
.fit ul { margin: 0; padding: 0; list-style: none; }
.fit li {
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid var(--rule-2);
  position: relative;
  font-size: 15px;
  color: var(--ink-soft);
}
.fit li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 10px; height: 2px;
  background: currentColor;
}
.fit-yes li::before { background: var(--pine); }
.fit-no li::before { background: var(--accent); }

/* Preis */
.band-price { background: var(--paper-2); }
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 24px;
  transition: transform 320ms var(--ease), border-color 320ms var(--ease);
}
.price-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.price-amount {
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "wght" 640;
  font-size: 34px;
  letter-spacing: -0.02em;
}
.price-note { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.price-card ul { margin: 0 0 18px; padding: 0; list-style: none; }
.price-card li {
  padding: 7px 0;
  border-bottom: 1px solid var(--rule-2);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.price-card-feature {
  background: var(--ink);
  color: #f2efe6;
  border-color: var(--ink);
}
.price-card-feature h3 { color: #f6f2e8; }
.price-card-feature .price-note { color: rgba(242, 239, 230, 0.6); }
.price-card-feature li { border-color: rgba(242, 239, 230, 0.16); color: rgba(242, 239, 230, 0.82); }

/* FAQ */
details { border-bottom: 1px solid var(--rule); }
details summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 500;
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: baseline;
  transition: color 240ms var(--ease);
}
details summary::-webkit-details-marker { display: none; }
details summary::before {
  content: "+";
  font-family: var(--font-mono);
  color: var(--accent-ink);
  transition: transform 300ms var(--ease);
}
details[open] summary::before { transform: rotate(45deg); }
details summary:hover { color: var(--accent-ink); }
details p { margin: 0 0 16px 22px; color: var(--ink-soft); font-size: 15.5px; }

/* Finale */
.band-final {
  background: var(--ink);
  color: #f2efe6;
  border-top-color: var(--ink);
}
.band-final h2 { color: #f6f2e8; }
.band-final p { margin: 0 0 24px; color: rgba(242, 239, 230, 0.66); max-width: 58ch; }
.final-form { max-width: 560px; }
.final-form label { color: rgba(242, 239, 230, 0.5); }
.final-form input[type="url"],
.final-form input[type="email"] {
  background: rgba(242, 239, 230, 0.06);
  border-color: rgba(242, 239, 230, 0.22);
  color: #f2efe6;
}
.final-form input[type="url"]:focus,
.final-form input[type="email"]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(180, 70, 42, 0.25); }
.band-final .status { color: rgba(242, 239, 230, 0.66); }
.band-final .status[data-state="error"] { color: #e8a48c; }
.band-final .status .num-hit { color: #a9d4c1; }
.band-final .status .status-note { color: rgba(242, 239, 230, 0.55); }
.band-final .status code {
  background: rgba(242, 239, 230, 0.08);
  border-color: rgba(242, 239, 230, 0.22);
  color: #f2efe6;
}

/* Footer */
.site-foot {
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
  padding: 24px 0;
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
.foot-nav { display: flex; gap: 18px; }
.foot-nav a { color: var(--ink-soft); text-decoration: none; }
.foot-nav a:hover { color: var(--accent-ink); }
.foot-brand { margin: 0; font-family: var(--font-display); font-variation-settings: "opsz" 90, "wght" 600; }

/* ============================================================ Bewegung */
/* Ohne JS bleibt alles sichtbar: Animation nur, wenn das Kopfstück html.js setzt. */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 620ms var(--ease) calc(var(--i, 0) * 70ms),
    transform 620ms var(--ease) calc(var(--i, 0) * 70ms);
}
html.js .reveal.in { opacity: 1; transform: none; }

.w { display: inline-block; overflow: hidden; padding-bottom: 0.14em; }
.w .wi {
  display: inline-block;
  transform: translateY(110%);
  animation: word-in 760ms var(--ease) both;
  animation-delay: calc(var(--wi, 0) * 55ms);
}
@keyframes word-in { to { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .w .wi { transform: none; }
  .progress { display: none; }
  body::before { opacity: 0.4; }
}

/* ============================================================ Responsive */
@media (max-width: 900px) {
  .hero, .split, .split-reverse { grid-template-columns: 1fr; }
  .visual { position: static; }
  .head-inner { height: 58px; position: relative; }
  .nav-toggle { display: block; }
  /* Navigation wird zum Ausklappmenü unter dem Kopf */
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 4px var(--gutter) 18px;
    box-shadow: 0 14px 26px rgba(23, 21, 15, 0.09);
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav-offen .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav a:not(.btn) {
    padding: 14px 2px;
    border-bottom: 1px solid var(--rule-2);
  }
  .nav-cta {
    margin-top: 14px;
    border-bottom: none;
  }
  .tree-body { font-size: 12.5px; }
  .limits-table th, .limits-table td { padding: 11px 12px; font-size: 14px; }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .form-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================ Unterseiten */
.legal { padding: clamp(40px, 6vw, 76px) 0 70px; }
.legal h1 { margin-bottom: 24px; }
.legal h2 {
  font-family: var(--font-ui);
  font-size: 17px;
  letter-spacing: 0.02em;
  margin: 32px 0 10px;
}
.legal p, .legal ul { max-width: 70ch; }
.legal ul { padding-left: 20px; }
.legal .placeholder {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--accent-ink);
  background: var(--paper-2);
  border: 1px dashed var(--rule);
  border-radius: 4px;
  padding: 2px 7px;
}
.legal .note {
  font-size: 14px;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin: 22px 0;
}
.legal .back {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  color: var(--accent-ink);
}

/* ---------- Ergebnis der kostenlosen Prüfung ---------- */
.status ul { margin: 8px 0 10px; padding-left: 20px; }
.status li { margin: 2px 0; }
.status .ergebnis-ja { color: var(--pine); font-weight: 600; font-size: 18px; }
.status .ergebnis-nein { color: var(--accent-ink); font-weight: 600; font-size: 18px; }
.status[data-state="ok"], .status[data-state="nein"] {
  margin-top: 16px; padding: 14px 18px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card);
}
.status[data-state="ok"] { border-left: 3px solid var(--pine); }
.status[data-state="nein"] { border-left: 3px solid var(--accent); }
.weiter { margin-top: 18px; }
.weiter[hidden], .btn[hidden] { display: none; }
