/* Uebergabefaehigkeit · shared design system. Orange brand, no decoration for its own sake. */

:root {
  --orange: #E0641E;
  --orange-dark: #B84F12;
  --orange-soft: #FBEDE3;
  --ink: #1E2229;
  --ink-soft: #4A5160;
  --line: #E6E2DC;
  --bg: #FFFFFF;
  --bg-warm: #FAF7F3;
  --green: #2E7D4F;
  --red: #B3402E;
  --radius: 10px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: 1.9rem; font-weight: 750; margin-bottom: 0.6rem; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p + p { margin-top: 1rem; }
a { color: var(--orange-dark); }
strong { font-weight: 700; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Header / nav */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px;
}
.logo { font-weight: 800; font-size: 1.05rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--orange); }
nav.main { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
nav.main a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
nav.main a:hover { color: var(--ink); }

.btn {
  display: inline-block; background: var(--orange); color: #fff !important;
  padding: 12px 22px; border-radius: var(--radius); text-decoration: none;
  font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
}
.btn:hover { background: var(--orange-dark); }
.btn.secondary { background: transparent; color: var(--ink) !important; border: 2px solid var(--line); }
.btn.secondary:hover { border-color: var(--ink-soft); background: var(--bg-warm); }
.btn.small { padding: 8px 16px; font-size: 0.9rem; }

/* Sections */
section { padding: 72px 0; }
section.warm { background: var(--bg-warm); }
.kicker {
  display: inline-block; color: var(--orange-dark); font-weight: 700;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.center { text-align: center; }

.hero { padding: 96px 0 80px; }
.hero h1 { max-width: 720px; margin-bottom: 20px; }
.hero .lead { max-width: 640px; margin-bottom: 32px; }
.reassure { font-size: 0.9rem; color: var(--ink-soft); margin-top: 14px; }

/* Cards & grids */
.grid { display: grid; gap: 20px; margin-top: 36px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .grid.cols-3, .grid.cols-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid.cols-2, .grid.cols-3, .grid.cols-5 { grid-template-columns: 1fr; } h1 { font-size: 2rem; } }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px;
  box-shadow: 0 10px 28px rgba(224, 100, 30, 0.06), 0 2px 6px rgba(30, 34, 41, 0.04);
}
.card h3 { margin-bottom: 8px; }
.card .tag {
  display: inline-block; background: var(--orange-soft); color: var(--orange-dark);
  font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; margin-bottom: 12px;
}
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .price { font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.card.featured { border-color: var(--orange); border-width: 2px; }
.card ul, .card ol { margin: 16px 0 16px 20px; color: var(--ink-soft); font-size: 0.95rem; }

/* Tables */
table.compare { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 0.97rem; }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare th { background: var(--bg-warm); font-weight: 700; }
table.compare td.yes { color: var(--green); font-weight: 600; }
table.compare td.no { color: var(--red); }
table.compare .hl { background: var(--orange-soft); }

/* Nummerierte Schritte (z.B. Gespraechsseite) */
.steps { list-style: none; padding: 0; margin: 18px 0 0; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li + li { margin-top: 16px; }
.steps .n {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.9rem; margin-top: 1px;
  transition: transform .2s ease;
}
.steps li:hover .n { transform: translateY(-3px); }

/* Scroll-Reveal: zurueckhaltendes Einblenden + leichtes Aufsteigen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.grid > .reveal:nth-child(2) { transition-delay: .10s; }
.grid > .reveal:nth-child(3) { transition-delay: .20s; }
.grid > .reveal:nth-child(4) { transition-delay: .30s; }
.steps li.reveal:nth-child(2) { transition-delay: .09s; }
.steps li.reveal:nth-child(3) { transition-delay: .18s; }
.steps li.reveal:nth-child(4) { transition-delay: .27s; }
.steps li.reveal:nth-child(5) { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* Article / guide layout */
article.guide { padding: 64px 0; }
article.guide h1 { margin-bottom: 16px; }
article.guide h2 { margin-top: 44px; }
article.guide ul, article.guide ol { margin: 16px 0 16px 24px; }
article.guide li { margin-bottom: 8px; }
.callout {
  background: var(--orange-soft); border-left: 4px solid var(--orange);
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0;
}

/* Testimonials */
.quote { display: flex; flex-direction: column; gap: 14px; }
.quote .stars { color: var(--orange); letter-spacing: 3px; font-size: 0.9rem; }
.quote .qt { color: var(--ink); font-size: 1.02rem; line-height: 1.55; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.quote .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.quote .who b { display: block; font-size: 0.95rem; }
.quote .who span { color: var(--ink-soft); font-size: 0.85rem; }

/* FAQ-Akkordeon */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.5rem; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-a { padding: 0 0 18px; color: var(--ink-soft); max-width: 64ch; }

.cta-box {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 40px; margin-top: 56px; text-align: center;
}
.cta-box h2 { color: #fff; }
.cta-box p { color: #C9CDD6; max-width: 540px; margin: 12px auto 24px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 0.9rem; color: var(--ink-soft); }
footer.site a { color: var(--ink-soft); text-decoration: none; margin-right: 18px; }
footer.site a:hover { color: var(--ink); }

/* ===================== APP ===================== */

.app-shell { display: flex; min-height: calc(100vh - 64px); }
.app-nav {
  width: 230px; flex-shrink: 0; border-right: 1px solid var(--line);
  padding: 28px 16px; background: var(--bg-warm);
}
.app-nav button {
  display: block; width: 100%; text-align: left; background: none; border: none;
  padding: 11px 14px; border-radius: 8px; font-size: 0.98rem; color: var(--ink-soft);
  cursor: pointer; font-weight: 500; margin-bottom: 4px; font-family: inherit;
}
.app-nav button:hover { background: #F1EBE3; color: var(--ink); }
.app-nav button.active { background: var(--orange-soft); color: var(--orange-dark); font-weight: 700; }
.app-nav .navlabel { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin: 20px 14px 8px; }
.app-main { flex: 1; padding: 40px 48px; max-width: 920px; }
@media (max-width: 760px) {
  .app-shell { flex-direction: column; }
  .app-nav { width: 100%; display: flex; overflow-x: auto; padding: 10px; border-right: none; border-bottom: 1px solid var(--line); }
  .app-nav button { white-space: nowrap; width: auto; }
  .app-nav .navlabel { display: none; }
  .app-main { padding: 24px 20px; }
}

/* Score gauge */
.score-hero { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; margin: 28px 0; }
.score-ring { position: relative; width: 168px; height: 168px; }
.score-ring svg { transform: rotate(-90deg); }
.score-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-num b { font-size: 2.6rem; line-height: 1; }
.score-num span { font-size: 0.78rem; color: var(--ink-soft); }

.bar { background: var(--line); border-radius: 99px; height: 10px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--orange); border-radius: 99px; }
.pillar-row { margin-bottom: 16px; }
.pillar-row .lbl { display: flex; justify-content: space-between; font-size: 0.92rem; font-weight: 600; }

/* Stages strip */
.stages { display: flex; gap: 6px; margin: 18px 0; flex-wrap: wrap; }
.stage-chip {
  flex: 1; min-width: 110px; text-align: center; padding: 10px 6px; border-radius: 8px;
  border: 1px solid var(--line); font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); background: var(--bg);
}
.stage-chip.current { background: var(--orange); border-color: var(--orange); color: #fff; }
.stage-chip.passed { background: var(--orange-soft); border-color: var(--orange-soft); color: var(--orange-dark); }

/* Diagnostic */
.diag-q { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 14px; }
.diag-q .dq-pillar { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange-dark); }
.diag-q p { font-weight: 600; margin: 6px 0 14px; }
.likert { display: flex; gap: 8px; flex-wrap: wrap; }
.likert label {
  flex: 1; min-width: 86px; text-align: center; border: 1.5px solid var(--line); border-radius: 8px;
  padding: 8px 6px; font-size: 0.8rem; cursor: pointer; color: var(--ink-soft); user-select: none;
}
.likert input { display: none; }
.likert label:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-dark); font-weight: 700; }

/* Roadmap */
.rm-stage { margin-bottom: 36px; }
.rm-stage h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rm-stage h3 .lock { font-size: 0.8rem; color: var(--ink-soft); font-weight: 500; }
.move {
  display: flex; gap: 14px; align-items: flex-start; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 10px;
}
.move.locked { opacity: 0.45; }
.move input[type=checkbox] { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange); cursor: pointer; }
.move .mv-driver { font-size: 0.76rem; font-weight: 700; color: var(--orange-dark); text-transform: uppercase; letter-spacing: 0.05em; }
.move b { display: block; }
.move small { color: var(--ink-soft); }
.move.done b { text-decoration: line-through; color: var(--ink-soft); }
.move .mv-actions { margin-left: auto; flex-shrink: 0; }

/* Forms */
input[type=text], input[type=number], input[type=email], select, textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: 1rem; font-family: inherit; background: var(--bg);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.field .hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; }

/* Metrics */
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 24px 0; }
.metric { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.metric .m-val { font-size: 1.9rem; font-weight: 800; }
.metric .m-lbl { font-size: 0.84rem; color: var(--ink-soft); }
.metric .m-delta { font-size: 0.8rem; font-weight: 700; }
.m-delta.up { color: var(--green); } .m-delta.down { color: var(--red); }

.empty {
  border: 2px dashed var(--line); border-radius: var(--radius); padding: 40px;
  text-align: center; color: var(--ink-soft); margin-top: 24px;
}

.checkin { border-left: 3px solid var(--orange); padding: 10px 16px; margin-bottom: 12px; background: var(--bg-warm); border-radius: 0 8px 8px 0; }
.checkin small { color: var(--ink-soft); }

hr.soft { border: none; border-top: 1px solid var(--line); margin: 36px 0; }
.muted { color: var(--ink-soft); }
.mt { margin-top: 24px; }

/* ===================== V2: Schritt-Module ===================== */

.step {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 14px; overflow: hidden;
}
.step.focus { border-color: var(--orange); border-width: 2px; }
.step summary {
  list-style: none; cursor: pointer; padding: 18px 20px;
  display: flex; gap: 14px; align-items: center;
}
.step summary::-webkit-details-marker { display: none; }
.step summary .st-dim {
  font-size: 0.74rem; font-weight: 700; color: var(--orange-dark);
  text-transform: uppercase; letter-spacing: 0.05em; display: block;
}
.step summary b { font-size: 1.05rem; }
.step summary .st-meta { margin-left: auto; font-size: 0.8rem; color: var(--ink-soft); white-space: nowrap; }
.step .st-body { padding: 0 20px 20px; border-top: 1px solid var(--line); }
.st-block { margin-top: 18px; }
.st-block h4 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--ink-soft); margin-bottom: 8px;
}
.st-block p { font-size: 0.96rem; }
.check-item { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 0.96rem; }
.check-item input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); cursor: pointer; flex-shrink: 0; }
.check-item.done span { text-decoration: line-through; color: var(--ink-soft); }
.prompt-box {
  background: var(--ink); color: #E8EAEF; border-radius: 8px; padding: 14px 16px;
  font-size: 0.88rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin-bottom: 10px; position: relative; line-height: 1.5;
}
.prompt-box button {
  position: absolute; top: 8px; right: 8px; background: #3A4150; color: #fff;
  border: none; border-radius: 6px; padding: 4px 10px; font-size: 0.75rem;
  cursor: pointer; font-family: inherit;
}
.prompt-box button:hover { background: var(--orange); }
.tool-chip {
  display: inline-block; background: var(--bg-warm); border: 1px solid var(--line);
  border-radius: 99px; padding: 5px 14px; font-size: 0.85rem; margin: 0 6px 6px 0;
}
.milestone {
  background: var(--orange-soft); border-radius: 8px; padding: 12px 16px;
  font-size: 0.94rem; display: flex; gap: 10px; align-items: flex-start;
}
.milestone input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); cursor: pointer; }

/* Drei Türen */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
@media (max-width: 620px) { .doors { grid-template-columns: 1fr; } }
.door {
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center;
}
.door b { display: block; margin-bottom: 4px; }
.door h3 { font-size: 1.1rem; margin: 0 0 6px; }
.door small { color: var(--ink-soft); }
.door.open { border-color: var(--green); background: #F0F7F2; }
.door.closed { opacity: 0.55; }

/* ===================== V2: Roadmap-Arbeitsbereich ===================== */

.app-main.wide { max-width: 1180px; }

/* Stufen-Unternavigation im linken Rail */
.app-nav .substage { margin: 2px 0 8px; border-left: 2px solid var(--line); padding-left: 8px; }
.app-nav .substage button {
  font-size: 0.84rem; padding: 7px 12px; color: var(--ink-soft);
}
.app-nav .substage button.active { background: var(--orange-soft); color: var(--orange-dark); font-weight: 700; }

.ws-top { margin-bottom: 20px; }
.ws-top h2 { margin-bottom: 4px; }

/* Zwei-Spalten-Layout: Meilensteinliste + Detail */
.ws { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
@media (max-width: 880px) { .ws { grid-template-columns: 1fr; } }

/* Meilensteinliste (Mitte) */
.ws-list { }
.ws-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ws-head h3 { margin: 0; }
.ws-stage-n { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--orange-dark); }
.ws-count { font-size: 0.8rem; color: var(--ink-soft); white-space: nowrap; padding-top: 4px; }
.ws-zustand { font-size: 0.9rem; margin: 8px 0 10px; }
.ws-bar { margin-bottom: 16px; }
.ms-cards { display: flex; flex-direction: column; gap: 10px; }

.ms-card {
  display: flex; gap: 12px; align-items: flex-start; text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; cursor: pointer; font-family: inherit; width: 100%;
}
.ms-card:hover { border-color: var(--ink-soft); }
.ms-card.sel { border-color: var(--orange); border-width: 2px; padding: 13px 15px; }
.ms-circle {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line); margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: #fff;
}
.ms-circle.on { background: var(--orange); border-color: var(--orange); }
.ms-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ms-title { font-weight: 700; font-size: 0.98rem; line-height: 1.25; }
.ms-card.done .ms-title { text-decoration: line-through; color: var(--ink-soft); }
.ms-desc { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.3; }
.ms-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.78rem; color: var(--ink-soft); margin-top: 4px; }
.ms-foc { color: var(--orange-dark); font-weight: 700; }

/* Detailbereich (rechts) */
.ws-detail { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); background: var(--bg-warm); padding: 0 8px; }
.tab {
  background: none; border: none; padding: 14px 16px; font-size: 0.92rem; font-weight: 600;
  color: var(--ink-soft); cursor: pointer; font-family: inherit; border-bottom: 2px solid transparent;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--orange-dark); border-bottom-color: var(--orange); }
.dt-body { padding: 24px 26px; }
.dt-title { margin: 4px 0 14px; }
.dt-progress { margin-bottom: 18px; }
.dt-date { max-width: 220px; }
.dt-notes { width: 100%; font-family: inherit; line-height: 1.5; }
.file-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; font-size: 0.94rem;
}
.file-act { font-size: 0.8rem; font-weight: 700; color: var(--orange-dark); }

/* Dashboard: Continue, Feed, Fälligkeiten */
.continue {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--bg-warm); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin: 24px 0;
}
.continue .cont-label { display: block; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange-dark); margin-bottom: 3px; }
.continue b { display: block; font-size: 1.05rem; }
.continue small { color: var(--ink-soft); }

.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 8px; }
@media (max-width: 760px) { .dash-grid { grid-template-columns: 1fr; } }

.due-list, .feed { display: flex; flex-direction: column; gap: 8px; }
.due-item {
  display: flex; gap: 12px; align-items: baseline; cursor: pointer;
  padding: 10px 12px; border-left: 3px solid var(--orange); background: var(--bg-warm); border-radius: 0 8px 8px 0;
}
.due-item:hover { background: #F1EBE3; }
.due-when { font-size: 0.78rem; font-weight: 700; color: var(--orange-dark); white-space: nowrap; min-width: 88px; }
.due-title { font-size: 0.92rem; }
.feed-item {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem;
}
.feed-item small { color: var(--ink-soft); white-space: nowrap; }

/* ===================== Reicher Footer (4 Spalten) ===================== */
footer.site .foot-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.5fr 1.2fr 1.7fr;
  gap: 30px; align-items: start;
}
@media (max-width: 920px) { footer.site .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer.site .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .logo { font-size: 1.15rem; }
.foot-brand p { font-size: 0.9rem; color: var(--ink-soft); margin-top: 10px; max-width: 300px; }
.foot-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink); margin-bottom: 12px; }
.foot-col a { display: block; color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; margin: 0 0 9px; }
.foot-col a:hover { color: var(--orange-dark); }
footer.site .foot-base {
  display: block; margin-top: 30px; padding-top: 18px;
  border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-soft);
}

/* ===================== Über-Seite: Statistik-Kacheln ===================== */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0; }
@media (max-width: 720px) { .stat-grid { grid-template-columns: 1fr; } }
.stat {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; border-top: 3px solid var(--orange);
}
.stat .num { font-size: 2.1rem; font-weight: 800; line-height: 1.1; color: var(--ink); }
.stat .lbl { font-size: 0.95rem; color: var(--ink-soft); margin-top: 8px; }
.stat .src { font-size: 0.76rem; color: var(--ink-soft); margin-top: 10px; opacity: 0.8; }
.quellen { font-size: 0.82rem; color: var(--ink-soft); margin-top: 24px; }

/* ===================== Tools ===================== */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 28px; }
.tool-card { display: flex; flex-direction: column; }
.tool-card .btn { margin-top: auto; align-self: flex-start; }
.tool-result {
  background: var(--orange-soft); border: 1px solid var(--orange);
  border-radius: var(--radius); padding: 24px; margin-top: 24px;
}
.tool-result .big-num { font-size: 2.4rem; font-weight: 800; color: var(--orange-dark); }
.tool-box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 24px; }

/* ===================== Zukunftsplan: Ziel-Gruppen ===================== */
.ziel-group { margin-bottom: 18px; }
.ziel-head {
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-soft); margin: 4px 0 8px;
}
.ziel-group .ms-card { margin-bottom: 8px; }

/* Vier-Themen-Raster auf der Landing */
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid.cols-4 { grid-template-columns: 1fr; } }
.theme-card .tk { font-size: 0.78rem; font-weight: 800; color: var(--orange-dark); }

/* Visuell versteckt, aber für Screenreader/SEO vorhanden */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.prompt-box pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: inherit; }

/* dark footer (Spalten, dunkler Grund) */
footer.site { background: #0c0d0f; border-top: none; color: #C9CDD6; padding: 48px 0 36px; }
footer.site .logo { color: #fff; }
footer.site .foot-brand p { color: #9aa1ad; }
footer.site .foot-col h4 { color: #fff; }
footer.site .foot-col a { color: #c9cdd6; }
footer.site .foot-col a:hover { color: var(--orange); }
footer.site .foot-base { color: #9aa1ad; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 34px; padding-top: 20px; }
footer.site .foot-base a { color: var(--orange); }

/* Smooth hover micro-interactions */
.card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(224, 100, 30, 0.10), 0 3px 10px rgba(30, 34, 41, 0.06); border-color: var(--orange); }

.door { transition: transform .18s ease, box-shadow .18s ease; }
.door:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(30, 34, 41, 0.07); }

.btn { transition: background .18s ease, transform .12s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(224, 100, 30, 0.28); }
.btn.secondary:hover { box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .card, .door, .btn, .shot img { transition: none; }
  .card:hover, .door:hover, .btn:hover { transform: none; box-shadow: none; }
  .shot:hover img { transform: none; }
}

/* Product screenshots (framed) */
.shot { margin: 0; }
.shot img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 50px rgba(30, 34, 41, 0.12); transition: transform .22s ease, box-shadow .22s ease; }
.shot:hover img { transform: translateY(-5px); box-shadow: 0 28px 64px rgba(30, 34, 41, 0.20); }

/* alternating feature rows (text + screenshot) */
.feature { display: flex; align-items: center; gap: 48px; margin-top: 52px; flex-wrap: wrap; }
.feature.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1 1 300px; }
.feature-img { flex: 1.5 1 440px; }
@media (max-width: 820px) {
  .feature, .feature.reverse { flex-direction: column; gap: 18px; margin-top: 36px; }
}

/* Logo images (header orange, footer white) */
.logo-img { height: 38px; width: auto; display: block; }
footer.site .foot-brand .logo-img { height: 42px; margin-bottom: 6px; }

/* ── Tool-Vorlagen (optionen-raster, entscheidungs-logbuch, notfallkoffer) ── */
.tool-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:8px 0 4px}
.tool-actions .clear{color:var(--muted,#6b6b6b);font-size:.9rem;text-decoration:underline;cursor:pointer;background:none;border:0}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.fill-table{width:100%;border-collapse:collapse;margin:6px 0}
.fill-table th,.fill-table td{border:1px solid var(--line,#e3e0d8);padding:8px;vertical-align:top;text-align:left}
.fill-table th{background:var(--soft,#f6f4ef);font-weight:600;font-size:.92rem}
.fill-table td .rowlabel{font-weight:600}
.fill-table textarea,.fill-table input,.field input,.field textarea{width:100%;border:1px solid var(--line,#e3e0d8);border-radius:8px;padding:8px;font:inherit;background:#fff;box-sizing:border-box}
.fill-table textarea{min-height:64px;resize:vertical}
.field{margin:10px 0}
.field label{display:block;font-weight:600;margin-bottom:4px}
.checklist{list-style:none;padding:0;margin:6px 0}
.checklist li{display:flex;gap:10px;align-items:flex-start;padding:7px 0;border-bottom:1px solid var(--line,#eee)}
.checklist input[type=checkbox]{margin-top:3px;width:18px;height:18px;flex:0 0 auto}
.checklist-progress{position:sticky;top:0;background:#fff;padding:10px 0;z-index:5;font-weight:600}
.checklist-progress .bar{height:6px;border-radius:4px;background:var(--soft,#eee);margin-top:6px;overflow:hidden}
.checklist-progress .bar span{display:block;height:100%;width:0;background:var(--accent,#E0641E);transition:width .25s ease}

@media print{
  header.site,footer.site,.tool-actions,.cta-box{display:none!important}
  .reveal{opacity:1!important;transform:none!important}
  body{background:#fff;color:#000}
  .card{box-shadow:none;border:1px solid #bbb;break-inside:avoid}
  .fill-table textarea,.field textarea{height:auto;min-height:0;overflow:visible}
  a[href]::after{content:""}
}
