/* ============================================================
   BetreuerOS Landing · Vom Brief zur Frist
   Brand-System: Geist + Instrument Serif, #1a4a3a / #f5f4f0
   ============================================================ */

:root {
  --accent: #1a4a3a;
  --accent-hover: #153d30;
  --accent-mid: #2d7a5f;
  --accent-light: #e8f0ed;
  --bronze: #b8a474;
  --bg: #f5f4f0;
  --surface: #ffffff;
  --surface2: #f0efeb;
  --surface3: #e8e6de;
  --border: #e2e0da;
  --border2: #d0cec7;
  --text: #1a1917;
  --text2: #6b6860;
  --text3: #9b9890;
  --amber: #92520f;
  --amber-light: #fdf3e7;
  --red: #7a1f1f;
  --red-light: #fdeaea;

  --radius: 10px;
  --radius-sm: 7px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --shadow-xxl: 0 60px 140px rgba(0,0,0,0.22), 0 30px 60px rgba(0,0,0,0.12);

  --duration: 180ms;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  --container: 1180px;
  --nav-h: 64px;

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ===== Type ===== */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-mid);
  display: inline-block;
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text);
}
.h2 em { font-style: italic; color: var(--accent); }
.h2-light { color: #fff; }
.h2-light em { color: rgba(255,255,255,0.95); font-style: italic; }

.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text2);
  max-width: 640px;
}
.lead-center { margin-left: auto; margin-right: auto; text-align: center; }

.section { padding: 112px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 72px; padding: 0 28px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head .h2 { margin-bottom: 20px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 7px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 15px; height: 15px; }
.btn-lg { padding: 14px 22px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(26,74,58,0.22); }
.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border2); }
.btn-ghost:hover { background: var(--surface); border-color: var(--text3); }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(245,244,240,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color 140ms var(--ease), background 140ms var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(245,244,240,0.95); }

.nav-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; color: var(--text); }
.nav-mark { width: 32px; height: 32px; flex-shrink: 0; display: block; }
.nav-mark svg { width: 100%; height: 100%; display: block; }

/* Wortmarke: lowercase betreuer + hochgestelltes os (Brand-Skill) */
.nav-wordmark, .footer-wordmark, .page-wordmark {
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text);
  display: inline-flex;
  align-items: flex-start;
}
.nav-wordmark sup, .footer-wordmark sup, .page-wordmark sup {
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-left: 1px;
  margin-top: 0.05em;
  color: var(--bronze);
  vertical-align: baseline;
  line-height: 1;
}
.footer-wordmark { color: #fff; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text2); margin-left: auto; }
.nav-links a { transition: color 140ms; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-login { font-size: 14px; color: var(--text2); padding: 8px 12px; transition: color 140ms; }
.nav-login:hover { color: var(--text); }
.nav-cta { padding: 8px 16px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; border-radius: 7px; transition: background 140ms; }
.nav-cta:hover { background: var(--accent-hover); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--border2); border-radius: 7px; padding: 8px; color: var(--text); margin-left: auto; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(245,244,240,0.98);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 20px 28px;
  flex-direction: column;
  gap: 8px;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 16px;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile-cta {
  margin-top: 8px;
  background: var(--accent);
  color: #fff !important;
  padding: 12px 16px !important;
  border-radius: 7px;
  text-align: center;
  border-bottom: none !important;
  font-weight: 500;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 96px;
  overflow: hidden;
  background: linear-gradient(180deg, #f5f4f0 0%, #f0efeb 100%);
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(420px, 540px) 1fr;
  gap: 72px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.hero-eyebrow { margin-bottom: 24px; }
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text2);
  margin-bottom: 32px;
  max-width: 460px;
}

/* Status-Zeile unter der CTA-Row: dezent, informativ, kein Marketing-Aufkleber */
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  margin-top: 24px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text2);
  max-width: 100%;
}
.hero-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bronze);
  flex-shrink: 0;
  position: relative;
}
.hero-status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--bronze);
  opacity: 0.25;
  animation: heroStatusPulse 2.6s ease-in-out infinite;
}
@keyframes heroStatusPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.25; }
  50% { transform: scale(1.4); opacity: 0; }
}
.hero-status-text {
  white-space: normal;
}

/* ===== Workflow Card (shared) ===== */
.flow { display: flex; flex-direction: column; gap: 14px; }

.flow-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 18px;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 240ms var(--ease);
}
.flow-step.is-active {
  border-color: var(--accent-mid);
  box-shadow: 0 14px 40px rgba(26,74,58,0.12);
  transform: translateX(4px);
}
.flow-step.is-done {
  background: var(--accent-light);
  border-color: rgba(45,122,95,0.3);
}

.flow-num {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--text3);
  text-align: center;
  line-height: 1;
}
.flow-step.is-active .flow-num,
.flow-step.is-done .flow-num { color: var(--accent); }

.flow-body { min-width: 0; }
.flow-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 4px;
}
.flow-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
  word-break: break-word;
}
.flow-detail {
  font-size: 12px;
  color: var(--text2);
  font-family: var(--mono);
  letter-spacing: 0.02em;
  word-break: break-word;
}

.flow-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--surface2);
  color: var(--text2);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.flow-icon svg { width: 18px; height: 18px; }
.flow-step.is-active .flow-icon { background: var(--accent-light); color: var(--accent); }
.flow-step.is-done .flow-icon { background: var(--accent); color: #fff; }

.flow-ticker {
  position: absolute;
  top: 14px; right: 16px;
  display: none;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--accent-mid);
  text-transform: uppercase;
}
.flow-step.is-active .flow-ticker { display: flex; }
.flow-ticker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-mid);
  animation: flowPulse 1.6s ease-in-out infinite;
}
@keyframes flowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.flow-output {
  margin-top: 6px;
  background: var(--accent);
  color: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 18px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(26,74,58,0.25);
  transition: opacity 300ms var(--ease);
  opacity: 0.65;
}
.flow-output.is-active { opacity: 1; }
.flow-output-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  display: grid; place-items: center;
}
.flow-output-icon svg { width: 18px; height: 18px; color: #fff; }
.flow-output-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 4px;
}
.flow-output-title { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.flow-output-detail {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-family: var(--mono);
}
.flow-output-time-wrap { text-align: right; }
.flow-output-time {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}
.flow-output-time small {
  font-size: 14px; font-style: italic; margin-left: 2px;
}
.flow-output-time-unit {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ============================================================
   SEKTION · Liefert (5 Punkte)
   ============================================================ */
.section-liefert {
  padding: 36px 0 40px;
  background: rgba(184, 164, 116, 0.18);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.liefert-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.liefert-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  align-items: start;
}
.liefert-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}
.liefert-check {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.liefert-check svg { width: 14px; height: 14px; }
.liefert-text { min-width: 0; }
.liefert-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.3;
}
.liefert-sub {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.45;
}

/* ============================================================
   SEKTION · Für wen wir bauen (Personas, weich)
   ============================================================ */
.section-fuerwen {
  background: var(--bg);
  padding: 96px 0 88px;
  border-top: 1px solid var(--border);
}
.section-fuerwen .section-head {
  max-width: var(--container);
  margin: 0 auto 56px;
  padding: 0 28px;
  text-align: center;
}
.fuerwen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 28px;
}
.fuerwen-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px 32px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.fuerwen-card:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 28px rgba(26,74,58,0.06);
  transform: translateY(-2px);
}
.fuerwen-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--bronze);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.fuerwen-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fuerwen-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 14px;
}
.fuerwen-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text2);
  margin: 0 0 20px;
}
.fuerwen-list {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
  border-top: 1px solid var(--border);
}
.fuerwen-list li {
  position: relative;
  padding: 5px 0 5px 24px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
}
.fuerwen-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l4 4 10-10'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l4 4 10-10'/></svg>") no-repeat center / contain;
}
.fuerwen-foot {
  max-width: 980px;
  margin: 40px auto 0;
  padding: 0 28px;
  text-align: center;
}
.fuerwen-foot-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--border2);
  transition: border-color 140ms, color 140ms;
}
.fuerwen-foot-link:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent);
}
.fuerwen-foot-link svg {
  width: 16px;
  height: 16px;
  transition: transform 140ms;
}
.fuerwen-foot-link:hover svg { transform: translateX(3px); }

/* ============================================================
   SEKTION · Drei Momente
   ============================================================ */
.section-momente {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.momente-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  align-items: stretch;
}
.moment {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all var(--duration) var(--ease);
  height: 100%;
}
.moment > .flow { margin-top: auto; }
.moment-intro { min-height: 96px; }
.moment:hover { border-color: var(--border2); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.moment-head { display: flex; align-items: center; gap: 12px; }
.moment-num {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--accent);
  width: 32px;
}
.moment-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
}
.moment-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
.moment-title em { font-style: italic; color: var(--accent); }
.moment-sub { font-size: 13px; color: var(--text2); line-height: 1.55; }

/* compact flow inside moment */
.moment .flow { gap: 8px; }
.moment .flow-step {
  padding: 12px 14px;
  border-radius: 10px;
  grid-template-columns: 24px 1fr 28px;
  gap: 12px;
  background: var(--surface);
}
.moment .flow-num { font-size: 16px; }
.moment .flow-icon { width: 28px; height: 28px; border-radius: 6px; }
.moment .flow-icon svg { width: 14px; height: 14px; }
.moment .flow-title { font-size: 13px; }
.moment .flow-detail { font-size: 11px; }

.moment .flow-output {
  padding: 12px 14px;
  border-radius: 10px;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  opacity: 1;
}
.moment .flow-output-icon { width: 28px; height: 28px; }
.moment .flow-output-icon svg { width: 14px; height: 14px; }
.moment .flow-output-title { font-size: 13px; }
.moment .flow-output-detail { font-size: 11px; }
.moment .flow-output-time { font-size: 22px; }


/* ============================================================
   SEKTION · Stellen (Vier Stellen, die Zeit fressen)
   ============================================================ */
.section-stellen {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stellen-list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 140px;
}
.stelle-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.stelle-row.is-in { opacity: 1; transform: none; }
.stelle-row.is-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.stelle-row.is-flip .stelle-visual { order: 2; }
.stelle-row.is-flip .stelle-text { order: 1; }

.stelle-visual { position: relative; }
.stelle-visual-frame { position: relative; z-index: 1; }
.stelle-visual-shadow {
  position: absolute;
  inset: 16px -20px -28px 16px;
  background: radial-gradient(ellipse at center, rgba(26,74,58,0.18) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.stelle-text { padding: 8px 0; }
.stelle-num {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.stelle-num span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.stelle-eyebrow { display: inline-block; margin-bottom: 16px; }
.stelle-h3 {
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 20px;
  text-wrap: balance;
}
.stelle-h3 em { font-style: italic; color: var(--accent); }
.stelle-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text2);
  margin-bottom: 24px;
  max-width: 460px;
  text-wrap: pretty;
}
.stelle-bullets {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.stelle-bullets li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
}
.stelle-bullets li svg { color: var(--accent); margin-top: 4px; }

/* ---------- Visualisierungen: gemeinsamer Rahmen ---------- */
.vis {
  width: 100%;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 30px 80px -50px rgba(20,28,24,0.18);
}
.vis-frame { display: flex; flex-direction: column; }
.vis-frame-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: #1a1917;
  position: relative;
}
.vis-frame-bar > span:nth-child(-n+3) {
  width: 10px; height: 10px; border-radius: 50%;
}
.vis-frame-bar > span:nth-child(1) { background: #ff5f57; }
.vis-frame-bar > span:nth-child(2) { background: #febc2e; }
.vis-frame-bar > span:nth-child(3) { background: #28c840; }
.vis-frame-tag {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.vis-frame-body {
  background: var(--bg);
  padding: 28px;
}

/* ---------- Visual 01: Posteingang ---------- */
.vis-post .vis-frame-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  min-height: 360px;
}
.vp-doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 10px 30px -20px rgba(0,0,0,0.15);
}
.vp-doc-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.vp-doc-stamp {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 4px 8px;
  border: 1px solid var(--border2);
  color: var(--text2);
  border-radius: 3px;
}
.vp-doc-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text3);
}
.vp-doc-lines { display: flex; flex-direction: column; gap: 8px; }
.vp-line {
  height: 9px;
  background: #ebe9e3;
  border-radius: 3px;
  position: relative;
  transition: background 320ms var(--ease), box-shadow 320ms var(--ease);
}
.vp-line.w-40 { width: 40%; } .vp-line.w-50 { width: 50%; } .vp-line.w-60 { width: 60%; }
.vp-line.w-70 { width: 70%; } .vp-line.w-80 { width: 80%; } .vp-line.w-85 { width: 85%; }
.vp-line.w-90 { width: 90%; } .vp-line.w-95 { width: 95%; }
.vp-mark.is-on { background: rgba(45,122,95,0.18); box-shadow: 0 0 0 1px rgba(45,122,95,0.35); }
.vp-mark-frist.is-on { background: rgba(184,164,116,0.30); box-shadow: 0 0 0 1px rgba(184,164,116,0.55); }
.vp-mark-tag {
  position: absolute;
  right: -50px; top: 50%;
  transform: translateY(-50%) translateX(8px);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 280ms var(--ease), transform 280ms var(--ease);
  white-space: nowrap;
}
.vp-mark.is-on .vp-mark-tag {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.vp-mark-frist.is-on .vp-mark-tag { background: var(--bronze); }

.vp-cal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  display: flex; flex-direction: column;
}
.vp-cal-head {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.vp-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  flex: 1;
}
.vp-cal-cell {
  aspect-ratio: 1;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text3);
  background: var(--bg);
  border-radius: 4px;
  position: relative;
  transition: background 320ms var(--ease), color 320ms var(--ease);
}
.vp-cal-cell.is-empty { background: transparent; }
.vp-cal-cell.is-frist {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.vp-cal-note {
  margin-top: 12px;
  padding: 8px 10px;
  background: var(--accent-light);
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--accent);
  display: flex; align-items: center; gap: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}
.vp-cal-note.is-on { opacity: 1; transform: none; }
.vp-cal-note-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- Visual 02: Finanzen ---------- */
.vis-fin .vis-frame-body { padding: 0; min-height: 360px; }
.vf-body { display: flex; flex-direction: column; }
.vf-table { display: flex; flex-direction: column; }
.vf-row {
  display: grid;
  grid-template-columns: 60px 1fr 110px 120px;
  gap: 14px;
  padding: 10px 24px;
  font-size: 13px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}
.vf-row.is-in { opacity: 1; transform: none; }
.vf-row.vf-head {
  opacity: 1;
  transform: none;
  background: #f0efe9;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
  padding: 8px 24px;
  border-bottom: 1px solid var(--border2);
}
.vf-d {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text3);
}
.vf-t { color: var(--text); font-weight: 500; }
.vf-tag {
  font-size: 10.5px;
  padding: 2px 7px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 3px;
  color: var(--text2);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.vf-r { text-align: right; }
.vf-a {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.vf-a.is-pos { color: var(--accent); }
.vf-a.is-neg { color: var(--text); }
.vf-saldo {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px;
  background: #1a1917;
  color: #fff;
  margin-top: auto;
}
.vf-saldo-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.vf-saldo-val {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ---------- Visual 03: Vergütung ---------- */
.vis-ver .vis-frame-body { padding: 24px; }
.vv-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 360px;
}
.vv-head {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}
.vv-head-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-mid);
  background: var(--accent-light);
  padding: 5px 10px;
  border-radius: 5px;
}
.vv-head-q {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
}
.vv-head-range {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text3);
  letter-spacing: 0.04em;
}
.vv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.vv-stats {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.vv-stat-k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 4px;
}
.vv-stat-v {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.vv-sum {
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.vv-sum::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.06), transparent 50%);
  pointer-events: none;
}
.vv-sum-k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}
.vv-sum-v {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.vv-sum-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.85);
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 10px;
}
.vv-sum-foot svg { color: rgba(255,255,255,0.85); flex-shrink: 0; }
.vv-months {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.vv-month {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}
.vv-month:last-child { border-bottom: none; }
.vv-month-m {
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 2px;
}
.vv-month-r {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text3);
  letter-spacing: 0.02em;
}
.vv-month-a {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ---------- Visual 04: Jahresabschluss ---------- */
.vis-jah .vis-frame-body { min-height: 360px; }
.vj-body {
  display: flex; flex-direction: column;
  gap: 30px;
  padding: 36px 28px 28px;
}
.vj-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 4px;
}
.vj-line, .vj-line-fill {
  position: absolute;
  left: 6%; right: 6%;
  top: 14px;
  height: 2px;
  border-radius: 2px;
}
.vj-line { background: var(--border2); }
.vj-line-fill {
  background: var(--accent);
  width: 0%;
  transition: width 800ms var(--ease);
}
.vj-node {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  z-index: 1;
}
.vj-node-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border2);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  margin-bottom: 14px;
  transition: background 320ms var(--ease), border-color 320ms var(--ease), color 320ms var(--ease);
}
.vj-node-check { display: none; color: #fff; }
.vj-node.is-active .vj-node-dot {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 4px rgba(45,122,95,0.15);
}
.vj-node.is-done .vj-node-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.vj-node.is-done .vj-node-num { display: none; }
.vj-node.is-done .vj-node-check { display: block; }
.vj-node-label {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
}
.vj-node-detail {
  font-size: 11.5px;
  color: var(--text3);
  line-height: 1.4;
  max-width: 130px;
}
.vj-export {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: #1a1917;
  color: #fff;
  border-radius: 8px;
  margin-top: auto;
  transition: background 320ms var(--ease);
}
.vj-export-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.7);
}
.vj-export.is-ready .vj-export-icon {
  background: rgba(45,122,95,0.4);
  color: #fff;
}
.vj-export-name {
  font-family: var(--mono);
  font-size: 12.5px;
  margin-bottom: 2px;
}
.vj-export-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}
.vj-export-state {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  color: rgba(255,255,255,0.6);
  transition: all 320ms var(--ease);
}
.vj-export.is-ready .vj-export-state {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* ============================================================
   SEKTION · Praxis
   ============================================================ */
.section-praxis { padding: 128px 0; }
.praxis-grid {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}
.praxis-text { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.praxis-text .h2 { margin-bottom: 8px; }
.praxis-text p {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text2);
  text-wrap: pretty;
}

/* ============================================================
   SEKTION · Mobil-Störer
   ============================================================ */
.section-mobil {
  padding: 128px 0;
  background: #1a4a3a;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mobil-bg { position: absolute; inset: 0; pointer-events: none; }
.mobil-bg-glow {
  position: absolute;
  top: -200px; left: -100px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(122,212,175,0.18) 0%, transparent 60%);
  filter: blur(40px);
}
.mobil-bg-grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
}
.mobil-wrap {
  position: relative; z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.1fr);
  gap: 64px;
  align-items: center;
}
.mobil-eyebrow { color: rgba(255,255,255,0.65) !important; margin-bottom: 24px; display: inline-block; }
.mobil-text .h2 { margin-bottom: 24px; }
.mobil-text .h2 em { color: #b0e0c8 !important; }
.mobil-lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  max-width: 460px;
  text-wrap: pretty;
}

/* Stage */
.mobil-stage {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Laptop (Hintergrund) */
.device-laptop {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-58%, -52%) rotate(-3deg);
  width: 540px;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.4));
}
.laptop-screen {
  background: #f5f4f0;
  border: 8px solid #2a2a28;
  border-radius: 14px 14px 4px 4px;
  overflow: hidden;
  height: 320px;
  display: flex;
  flex-direction: column;
}
.laptop-base {
  height: 14px;
  background: linear-gradient(180deg, #2a2a28 0%, #1a1a18 100%);
  border-radius: 0 0 18px 18px;
  margin: 0 -16px;
  position: relative;
}
.laptop-base::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 4px;
  background: #1a1a18;
  border-radius: 0 0 6px 6px;
}
.laptop-bar {
  background: #e8e6de;
  border-bottom: 1px solid #d0cec7;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.laptop-dots { display: flex; gap: 5px; }
.laptop-dots span { width: 9px; height: 9px; border-radius: 50%; background: #ccc; }
.laptop-dots span:nth-child(1) { background: #ed6a5e; }
.laptop-dots span:nth-child(2) { background: #f4be4f; }
.laptop-dots span:nth-child(3) { background: #61c554; }
.laptop-url {
  flex: 1;
  background: #fff;
  font-family: var(--mono);
  font-size: 10px;
  color: #6b6860;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #d0cec7;
}
.laptop-content {
  flex: 1;
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 0;
}
.laptop-side {
  background: #f0efeb;
  border-right: 1px solid #e2e0da;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.laptop-side-title {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9b9890;
  margin-bottom: 6px;
  padding: 0 8px;
}
.laptop-side-row {
  font-size: 11px;
  color: #1a1917;
  padding: 5px 8px;
  border-radius: 5px;
}
.laptop-side-row.is-active { background: #1a4a3a; color: #fff; }
.laptop-main { padding: 14px 16px; min-width: 0; }
.laptop-main-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e0da;
  margin-bottom: 12px;
}
.laptop-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 14px;
}
.laptop-main-name { font-size: 12px; font-weight: 500; color: #1a1917; }
.laptop-main-az { font-family: var(--mono); font-size: 9px; color: #9b9890; margin-top: 2px; letter-spacing: 0.04em; }
.laptop-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.laptop-tile {
  background: #fff;
  border: 1px solid #e2e0da;
  border-radius: 7px;
  padding: 10px 12px;
}
.laptop-tile.span-2 { grid-column: 1 / -1; }
.laptop-tile-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9b9890;
  margin-bottom: 4px;
}
.laptop-tile-num {
  font-family: var(--serif);
  font-size: 18px;
  color: #1a1917;
  line-height: 1;
}
.laptop-tile-sub { font-size: 10px; color: #6b6860; margin-top: 4px; }
.laptop-tile-row {
  display: flex; justify-content: space-between;
  font-size: 10px;
  padding: 3px 0;
}
.laptop-tile-row span { color: #1a1917; }
.laptop-tile-row strong { font-family: var(--mono); color: #7a1f1f; font-weight: 500; }
.laptop-tile-row strong.pos { color: #1a4a3a; }

/* Phone (Vordergrund) */
.device-phone {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(45%, -45%) rotate(4deg);
  width: 240px;
  z-index: 2;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45));
}
.phone-frame {
  background: #1a1a18;
  border-radius: 36px;
  padding: 8px;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 22px;
  background: #1a1a18;
  border-radius: 12px;
  z-index: 3;
}
.phone-screen {
  background: #f5f4f0;
  border-radius: 28px;
  overflow: hidden;
  height: 480px;
  display: flex;
  flex-direction: column;
  color: #1a1917;
}
.phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 6px;
  font-size: 12px;
  font-weight: 600;
  color: #1a1917;
}
.phone-status-icons { display: flex; gap: 4px; align-items: center; }
.phone-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
  border-bottom: 1px solid #e2e0da;
}
.phone-app-back { font-size: 24px; color: var(--accent); line-height: 1; width: 24px; }
.phone-app-title { font-size: 15px; font-weight: 600; }
.phone-app-action {
  width: 28px; height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
}
.phone-app-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.phone-card {
  background: #fff;
  border: 1px solid #e2e0da;
  border-radius: 12px;
  padding: 12px 14px;
}
.phone-card-amber { border-color: rgba(146,82,15,0.3); background: #fdf3e7; }
.phone-card-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9b9890;
  margin-bottom: 4px;
}
.phone-card-title { font-size: 13px; font-weight: 500; color: #1a1917; margin-bottom: 2px; }
.phone-card-meta { font-family: var(--mono); font-size: 10px; color: #6b6860; letter-spacing: 0.02em; }
.phone-card-frist {
  margin-top: 8px;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px;
  color: #92520f;
  font-weight: 500;
}
.phone-frist-dot { width: 6px; height: 6px; border-radius: 50%; background: #92520f; }
.phone-card-status {
  margin-top: 6px;
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface2);
  color: #6b6860;
}
.phone-card-status.green { background: var(--accent-light); color: var(--accent); }
.phone-tabbar {
  background: #fff;
  border-top: 1px solid #e2e0da;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px 18px;
}
.phone-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  color: #9b9890;
  padding: 4px 0;
}
.phone-tab.is-active { color: var(--accent); }

/* ============================================================
   SEKTION · Funktionen
   ============================================================ */
.section-funktionen { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ============================================================
   ZYKLUS — Mandats-Zeitstrahl (sechs Funktions-Stationen)
   ============================================================ */
.zyklus-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}
.zyklus {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.zyklus-station {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 0 0 56px;
  position: relative;
}
.zyklus-station:last-child {
  padding-bottom: 0;
}
.zyklus-marker {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.zyklus-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--bronze);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.zyklus-station.is-active .zyklus-dot {
  background: var(--bronze);
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(184, 164, 116, 0.15);
}
.zyklus-station::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 22px;
  bottom: -12px;
  width: 0;
  border-left: 1px dashed var(--bronze);
  opacity: 0.4;
  z-index: 1;
}
.zyklus-station.is-active::before {
  opacity: 0.8;
}
.zyklus-station:last-child::before {
  display: none;
}
.zyklus-content {
  padding-top: 0;
}
.zyklus-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 8px;
}
.zyklus-phase {
  color: var(--bronze);
  font-weight: 500;
}
.zyklus-norm {
  color: var(--text3);
}
.zyklus-sep {
  color: var(--text3);
  opacity: 0.5;
}
.zyklus-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 16px;
}
.zyklus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zyklus-list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text2);
}
.zyklus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a4a3a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l4 4 10-10'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 760px) {
  .zyklus-wrap {
    padding: 0 20px;
  }
  .zyklus-station {
    grid-template-columns: 36px 1fr;
    gap: 16px;
    padding-bottom: 40px;
  }
  .zyklus-station::before {
    left: 17px;
  }
  .zyklus-list li {
    font-size: 15px;
  }
}

.funktionen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.funktion {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--duration) var(--ease);
}
.funktion:hover { border-color: var(--border2); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.funktion-text { padding: 28px 32px 24px; }
.funktion-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 12px;
}
.funktion-title {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 400;
}
.funktion-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text2);
  margin-bottom: 18px;
}
.funktion-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.funktion-list li {
  font-size: 13px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}
.funktion-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 11px; height: 6px;
  border-left: 1.5px solid var(--accent-mid);
  border-bottom: 1.5px solid var(--accent-mid);
  transform: rotate(-45deg);
}

.funktion-ui {
  margin: 0 24px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  font-size: 12px;
  position: relative;
  overflow: hidden;
}

/* mini ui : klientenakte */
.ui-akte-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.ui-akte-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  flex-shrink: 0;
}
.ui-akte-name { font-size: 13px; font-weight: 500; color: var(--text); }
.ui-akte-az { font-family: var(--mono); font-size: 10px; color: var(--text3); margin-top: 2px; letter-spacing: 0.04em; }
.ui-akte-tag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 8px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.ui-akte-rows { display: flex; flex-direction: column; gap: 6px; }
.ui-akte-row { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.ui-akte-row span:first-child {
  font-family: var(--mono);
  color: var(--text3);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.ui-akte-row span:last-child { color: var(--text); font-weight: 500; text-align: right; }
.ui-akte-tasks { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); display: flex; flex-wrap: wrap; gap: 6px; }
.ui-akte-task {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 8px;
  background: var(--surface2);
  color: var(--text2);
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* mini ui : posteingang */
.ui-post-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.ui-post-row:last-child { border-bottom: none; }
.ui-post-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--surface2);
  color: var(--text2);
  display: grid; place-items: center;
}
.ui-post-icon svg { width: 13px; height: 13px; }
.ui-post-row.is-new .ui-post-icon { background: var(--accent-light); color: var(--accent); }
.ui-post-title { font-size: 12px; color: var(--text); font-weight: 500; }
.ui-post-meta { font-family: var(--mono); font-size: 10px; color: var(--text3); margin-top: 1px; letter-spacing: 0.02em; }
.ui-post-frist {
  font-family: var(--mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ui-post-frist.amber { background: var(--amber-light); color: var(--amber); }
.ui-post-frist.green { background: var(--accent-light); color: var(--accent); }
.ui-post-frist.neutral { background: var(--surface2); color: var(--text3); }

/* mini ui : finanzen */
.ui-fin-bal {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 12px;
  gap: 12px;
}
.ui-fin-bal-right { text-align: right; }
.ui-fin-bal-label { font-family: var(--mono); font-size: 10px; color: var(--text3); letter-spacing: 0.08em; text-transform: uppercase; }
.ui-fin-bal-num { font-family: var(--serif); font-size: 22px; color: var(--text); margin-top: 4px; }
.ui-fin-bal-date { font-family: var(--mono); font-size: 11px; color: var(--text2); margin-top: 4px; }
.ui-fin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 6px 0;
  font-size: 12px;
  align-items: center;
}
.ui-fin-row-name { color: var(--text); }
.ui-fin-row-cat { font-family: var(--mono); font-size: 10px; color: var(--text3); margin-top: 1px; letter-spacing: 0.02em; }
.ui-fin-amount { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.ui-fin-amount.pos { color: var(--accent-mid); }
.ui-fin-amount.neg { color: var(--red); }

/* mini ui : kalender */
.ui-cal-month {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 10px;
}
.ui-cal-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.ui-cal-row:last-child { border-bottom: none; }
.ui-cal-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--surface2);
  border-radius: 8px;
}
.ui-cal-date.is-soon { background: var(--accent-light); }
.ui-cal-date.is-soon .ui-cal-day { color: var(--accent); }
.ui-cal-day { font-family: var(--serif); font-size: 18px; color: var(--text); line-height: 1; }
.ui-cal-mon { font-family: var(--mono); font-size: 9px; color: var(--text2); margin-top: 2px; letter-spacing: 0.08em; text-transform: uppercase; }
.ui-cal-title { font-size: 12px; color: var(--text); font-weight: 500; }
.ui-cal-meta { font-family: var(--mono); font-size: 10px; color: var(--text3); margin-top: 2px; letter-spacing: 0.02em; }

/* ============================================================
   SEKTION · Zugang / CTA
   ============================================================ */
.section-cta {
  background: var(--accent);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(45,122,95,0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(26,74,58,0.6) 0%, transparent 50%);
  pointer-events: none;
}
.section-cta::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.cta-wrap {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.cta-text .eyebrow { color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.cta-text h2 { margin-bottom: 24px; }
.cta-text p { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.85); margin-bottom: 24px; max-width: 460px; }

.cta-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.cta-features li {
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  color: rgba(255,255,255,0.92);
}
.cta-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 13px; height: 7px;
  border-left: 1.5px solid rgba(255,255,255,0.85);
  border-bottom: 1.5px solid rgba(255,255,255,0.85);
  transform: rotate(-45deg);
}

.cta-form-wrap { position: relative; min-width: 0; }
.cta-form {
  background: var(--surface);
  color: var(--text);
  padding: 36px 36px 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-xxl);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-field { display: flex; flex-direction: column; gap: 6px; }
.cta-field label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text2);
}
.cta-field label .opt { color: var(--text3); margin-left: 6px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.cta-field input,
.cta-field select,
.cta-field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
  transition: all 140ms var(--ease);
  font-family: inherit;
}
.cta-field input:focus,
.cta-field select:focus,
.cta-field textarea:focus {
  outline: none;
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(45,122,95,0.1);
}
.cta-field textarea { min-height: 80px; resize: vertical; }
.cta-hint { font-size: 11px; color: var(--text3); line-height: 1.5; margin-top: 4px; }
.cta-hint a { color: var(--accent-mid); text-decoration: underline; }

.cta-success {
  background: var(--surface);
  color: var(--text);
  padding: 48px 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-xxl);
  text-align: center;
}
.cta-success svg { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--accent); }
.cta-success h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 12px; font-weight: 400; }
.cta-success p { font-size: 14px; color: var(--text2); line-height: 1.6; }

.cta-form[hidden], .cta-success[hidden] { display: none !important; }

/* Honeypot, sichtbar im DOM, unsichtbar im Viewport.
   Display:none würde Bots auch davon abhalten es auszufüllen, deshalb absolutes Off-Screen-Positioning. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.footer-tag { font-size: 14px; color: rgba(255,255,255,0.5); max-width: 280px; line-height: 1.5; }
.footer-col-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col a { display: block; padding: 6px 0; font-size: 14px; color: rgba(255,255,255,0.7); transition: color 140ms; }
.footer-col a:hover { color: #fff; }
.footer-loc { padding: 6px 0; font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.4);
}

/* ============================================================
   LEGAL PAGES (Impressum, Datenschutz, AGB)
   Nutzt Nav + Footer der Landing, eigener Content-Block dazwischen.
   ============================================================ */
.legal-page {
  padding: calc(var(--nav-h) + 64px) 0 96px;
  background: var(--bg);
  min-height: calc(100vh - var(--nav-h));
}
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}
.legal-eyebrow { margin-bottom: 16px; }
.legal-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}
.legal-sub {
  font-size: 14px;
  color: var(--text3);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}
.legal-note {
  background: var(--amber-light);
  border: 1px solid rgba(146,82,15,0.2);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--amber);
  margin-bottom: 32px;
  line-height: 1.5;
}
.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 44px;
  box-shadow: var(--shadow);
}
.legal-card .section-head {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-top: 28px;
  margin-bottom: 12px;
}
.legal-card .section-head:first-child { margin-top: 0; }
.legal-card .section-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}
.legal-card .section-body p { margin-bottom: 8px; }
.legal-card .section-body p:last-child { margin-bottom: 0; }
.legal-card .section-body ul { margin: 8px 0 8px 20px; }
.legal-card .section-body li { margin-bottom: 4px; }
.legal-card .section-body a {
  color: var(--accent-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-card .section-body a:hover { color: var(--accent); }

.placeholder {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text3);
  background: var(--bg);
  border: 1px dashed var(--border2);
  border-radius: 6px;
  padding: 6px 10px;
  margin: 4px 0;
  display: inline-block;
}

@media (max-width: 600px) {
  .legal-page { padding: calc(var(--nav-h) + 32px) 0 64px; }
  .legal-wrap { padding: 0 22px; }
  .legal-card { padding: 28px 22px; }
  .legal-title { font-size: 36px; }
}

/* ============================================================
   MAGAZIN · Übersichtsseite
   ============================================================ */
.magazin-header {
  padding: calc(var(--nav-h) + 64px) 0 32px;
  background: var(--bg);
}
.magazin-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
}
.magazin-wrap-wide {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.magazin-header .eyebrow {
  margin-bottom: 16px;
}
.magazin-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}
.magazin-title em {
  font-style: italic;
  color: var(--accent);
}
.magazin-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text2);
  max-width: 720px;
}
.magazin-lead-link {
  color: var(--accent-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.magazin-lead-link:hover {
  color: var(--accent);
}

/* Filter-Section */
.magazin-filter-section {
  padding: 24px 0 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(245,244,240,0.92);
}
.magazin-filter-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.magazin-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.magazin-pill {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text2);
  cursor: pointer;
  transition: all 140ms var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.magazin-pill:hover:not(.is-empty) {
  border-color: var(--accent-mid);
  color: var(--text);
}
.magazin-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.magazin-pill.is-active .magazin-pill-count {
  color: rgba(255,255,255,0.7);
}
.magazin-pill.is-empty {
  opacity: 0.4;
  cursor: not-allowed;
}
.magazin-pill-count {
  font-size: 11px;
  color: var(--text3);
  font-weight: 400;
}

.magazin-search {
  position: relative;
  flex-shrink: 0;
}
.magazin-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text3);
  pointer-events: none;
}
.magazin-search input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 9px 14px 9px 36px;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--text);
  width: 240px;
  transition: all 140ms var(--ease);
}
.magazin-search input::placeholder {
  color: var(--text3);
}
.magazin-search input:focus {
  outline: none;
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(45,122,95,0.1);
}

/* Posts-Liste */
.magazin-posts-section {
  padding: 48px 0 96px;
  background: var(--bg);
  min-height: 50vh;
}
.magazin-posts-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.magazin-post-item {
  border-bottom: 1px solid var(--border);
}
.magazin-post-item:last-child {
  border-bottom: none;
}
.magazin-post-link {
  display: block;
  padding: 32px 0;
  color: var(--text);
  transition: all var(--duration) var(--ease);
}
.magazin-post-link:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, var(--surface) 0%, transparent 100%);
}
.magazin-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  gap: 16px;
}
.magazin-post-strang {
  color: var(--accent-mid);
  font-weight: 500;
}
.magazin-post-date {
  color: var(--text3);
  white-space: nowrap;
}
.magazin-post-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
}
.magazin-post-link:hover .magazin-post-title {
  color: var(--accent);
}
.magazin-post-deck {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--text2);
  font-style: italic;
  margin-bottom: 16px;
  max-width: 640px;
}
.magazin-post-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text3);
  letter-spacing: 0.02em;
}
.magazin-post-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  display: grid;
  place-items: center;
  transition: all var(--duration) var(--ease);
}
.magazin-post-arrow svg {
  width: 14px;
  height: 14px;
}
.magazin-post-link:hover .magazin-post-arrow {
  background: var(--accent);
  color: #fff;
  transform: translateX(4px);
}

/* ---- Featured Post (oberster, neuester) ---- */
.magazin-post-item.is-featured {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 40px;
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}
.magazin-post-item.is-featured:hover {
  border-color: var(--accent-mid);
}
.magazin-post-item.is-featured .magazin-post-link {
  padding: 32px 36px;
}
.magazin-post-item.is-featured .magazin-post-link:hover {
  padding-left: 36px;
  background: none;
}
.magazin-post-flag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-right: 4px;
}
.magazin-post-item.is-featured .magazin-post-meta {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.magazin-post-item.is-featured .magazin-post-meta .magazin-post-strang {
  flex: 1;
}

/* ---- Divider zwischen Featured und Liste ---- */
.magazin-list-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
}
.magazin-list-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---- Kompakte Post-Reihe (alle Posts außer Featured) ---- */
.magazin-post-row {
  border-bottom: 1px solid var(--border);
}
.magazin-post-row:last-child {
  border-bottom: none;
}
.magazin-post-row-link {
  display: grid;
  grid-template-columns: 110px minmax(230px, auto) 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 18px 16px;
  color: var(--text);
  transition: background var(--duration) var(--ease);
}
.magazin-post-row-link:hover {
  background: var(--surface);
}
.magazin-post-row-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text3);
  white-space: nowrap;
}
.magazin-post-row-strang {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-mid);
  font-weight: 500;
  white-space: nowrap;
}
.magazin-post-row-title {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.005em;
  transition: color var(--duration) var(--ease);
}
.magazin-post-row-link:hover .magazin-post-row-title {
  color: var(--accent);
}
.magazin-post-row-time {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text3);
  white-space: nowrap;
}
.magazin-post-row-arrow {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--text3);
  transition: color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.magazin-post-row-arrow svg {
  width: 16px;
  height: 16px;
}
.magazin-post-row-link:hover .magazin-post-row-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ---- Mobile: Featured padding kleiner, Liste auf zwei Zeilen ---- */
@media (max-width: 760px) {
  .magazin-post-item.is-featured .magazin-post-link {
    padding: 24px 20px;
  }
  .magazin-post-item.is-featured .magazin-post-link:hover {
    padding-left: 20px;
  }
  .magazin-post-row-link {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "strang time"
      "title arrow"
      "date date";
    gap: 6px 16px;
    padding: 18px 0;
  }
  .magazin-post-row-strang { grid-area: strang; }
  .magazin-post-row-title {
    grid-area: title;
    white-space: normal;
    font-size: 17px;
    line-height: 1.35;
  }
  .magazin-post-row-date { grid-area: date; }
  .magazin-post-row-time { grid-area: time; text-align: right; }
  .magazin-post-row-arrow { grid-area: arrow; }
  .magazin-post-row-link:hover {
    background: transparent;
  }
}

.magazin-empty {
  padding: 64px 0;
  text-align: center;
  color: var(--text3);
  font-style: italic;
}

/* ============================================================
   ARTICLE · Einzel-Post-Layout
   ============================================================ */
.article-page {
  padding: calc(var(--nav-h) + 64px) 0 96px;
  background: var(--bg);
  min-height: calc(100vh - var(--nav-h));
}
.article-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Breadcrumb */
.article-breadcrumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  margin: 0 auto 32px;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.article-breadcrumb a {
  color: var(--accent-mid);
  transition: color 140ms;
}
.article-breadcrumb a:hover {
  color: var(--accent);
}
.article-breadcrumb span.sep {
  color: var(--text3);
}

/* Header */
.article-header {
  max-width: 760px;
  margin: 0 auto 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.article-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-mid);
  margin-bottom: 20px;
  display: inline-block;
}
.article-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 24px;
}
.article-title em {
  font-style: italic;
  color: var(--accent);
}
.article-deck {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
  color: var(--text2);
  font-style: italic;
  letter-spacing: -0.005em;
}

/* Meta-Zeile */
.article-meta {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text3);
  letter-spacing: 0.04em;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-meta-item svg {
  width: 13px;
  height: 13px;
}

/* Body */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.article-body p {
  margin-bottom: 20px;
  text-wrap: pretty;
}
.article-body p strong {
  font-weight: 600;
  color: var(--text);
}
.article-body em {
  font-style: italic;
}
.article-body p a,
.article-body li a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 140ms;
}
.article-body p a:hover,
.article-body li a:hover {
  color: var(--accent-mid);
}
.article-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: 56px;
  margin-bottom: 20px;
}
.article-body h2:first-child {
  margin-top: 0;
}
.article-body h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 12px;
}
.article-body ul {
  margin: 20px 0 20px 0;
  padding: 0;
  list-style: none;
}
.article-body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  line-height: 1.6;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--accent-mid);
  border-bottom: 1.5px solid var(--accent-mid);
  transform: rotate(-45deg);
}

/* Blockquote */
.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--surface2);
  border-left: 3px solid var(--accent-mid);
  border-radius: 0 8px 8px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
}
.article-body blockquote p {
  margin-bottom: 0;
}

.article-body code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--surface2);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text);
}

/* Tabellen im Magazin-Body */
.article-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
.article-table thead th {
  text-align: left;
  font-weight: 500;
  font-size: 13px;
  color: var(--text2, #555);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--accent-mid);
  background: var(--surface2);
}
.article-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border, #e5e3dd);
  color: var(--text);
}
.article-table tbody td:nth-child(2),
.article-table tbody td:nth-child(3) {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 500;
}
.article-table tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  .article-table { font-size: 14px; }
  .article-table thead th,
  .article-table tbody td { padding: 10px 10px; }
}

/* Hinweis-Box */
.article-note {
  margin: 32px 0;
  padding: 18px 22px;
  background: var(--amber-light);
  border: 1px solid rgba(146,82,15,0.2);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--amber);
}
.article-note strong {
  color: var(--amber);
}
.article-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Tool-Pointer-Box im Magazin: dezenter Hinweis auf zugehöriges Werkzeug */
.article-tool-pointer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 28px 0;
  padding: 16px 20px;
  background: var(--surface2);
  border-left: 3px solid var(--bronze);
  border-radius: 6px;
}
.article-tool-pointer-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bronze);
}
.article-tool-pointer-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}
.article-tool-pointer-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.article-tool-pointer-text a:hover {
  color: var(--accent-hover);
}

/* CTA-Box */
.article-cta {
  margin: 48px 0 0;
  padding: 32px 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.article-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(45,122,95,0.5) 0%, transparent 60%);
  pointer-events: none;
}
.article-cta-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.article-cta-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.article-cta-title em {
  font-style: italic;
  color: #b0e0c8;
  text-decoration: none;
  border-bottom: none;
}
.article-cta-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  max-width: 540px;
  position: relative;
  z-index: 1;
}
.article-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 7px;
  transition: all 140ms var(--ease);
  position: relative;
  z-index: 1;
}
.article-cta-link:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.article-cta-link svg {
  width: 14px;
  height: 14px;
}

/* Article-Footer (Quellen) */
.article-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.article-sources {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text3);
  letter-spacing: 0.02em;
  line-height: 1.7;
}
.article-sources strong {
  display: block;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text2);
  margin-bottom: 8px;
  font-size: 11px;
}

/* Aktive Nav-Link Highlighting (kein font-weight-Change → kein Layout-Shift) */
.nav-links a.is-active {
  color: var(--text);
}

/* Responsive für Magazin und Article */
@media (max-width: 980px) {
  .magazin-filter-section { position: relative; top: 0; }
  .magazin-search input { width: 100%; }
  .magazin-search { flex: 1; }
  .magazin-post-title { font-size: 26px; }
  .magazin-post-deck { font-size: 16px; }
  .article-wrap { padding: 0 22px; }
}
@media (max-width: 600px) {
  .magazin-header { padding: calc(var(--nav-h) + 32px) 0 24px; }
  .magazin-wrap { padding: 0 20px; }
  .magazin-wrap-wide { padding: 0 20px; }
  .magazin-title { font-size: 36px; }
  .magazin-lead { font-size: 16px; }
  .magazin-filter-bar { flex-direction: column; align-items: stretch; gap: 12px; }
  .magazin-pills { gap: 6px; }
  .magazin-pill { font-size: 11px; padding: 7px 12px; }
  .magazin-post-link { padding: 24px 0; }
  .magazin-post-link:hover { padding-left: 0; background: none; }
  .magazin-post-title { font-size: 22px; }
  .magazin-post-deck { font-size: 15px; }
  .article-page { padding: calc(var(--nav-h) + 32px) 0 64px; }
  .article-wrap { padding: 0 20px; }
  .article-title { font-size: 32px; }
  .article-deck { font-size: 18px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 26px; margin-top: 40px; }
  .article-body blockquote { padding: 16px 18px; font-size: 16px; }
  .article-cta { padding: 24px 22px; }
  .article-cta-title { font-size: 24px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: calc(var(--nav-h) + 56px) 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 0 22px; }
  .liefert-list { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .liefert-wrap { padding: 0 22px; }
  .section-fuerwen { padding: 64px 0 56px; }
  .fuerwen-grid { grid-template-columns: 1fr; gap: 20px; }
  .fuerwen-card { padding: 28px 24px 24px; }
  .fuerwen-title { font-size: 22px; }
  .hero-status { font-size: 12px; padding: 7px 12px; }
  .momente-grid { grid-template-columns: 1fr; gap: 16px; padding: 0 22px; }
  .stellen-list { gap: 96px; padding: 56px 22px 0; }
  .stelle-row,
  .stelle-row.is-flip { grid-template-columns: 1fr; gap: 36px; }
  .stelle-row.is-flip .stelle-visual { order: 1; }
  .stelle-row.is-flip .stelle-text { order: 2; }
  .stelle-h3 { font-size: 32px; }
  .vis-post .vis-frame-body { grid-template-columns: 1fr; min-height: auto; }
  .vp-mark-tag { right: 4px; transform: translateY(-50%); background: rgba(45,122,95,0.85); }
  .vp-mark.is-on .vp-mark-tag { transform: translateY(-50%); }
  .vf-row { grid-template-columns: 60px 1fr 100px; gap: 8px; padding: 8px 16px; }
  .vf-row > div:nth-child(3) { display: none; }
  .vis-ver .vis-frame-body { padding: 20px 16px; }
  .vv-head { grid-template-columns: 1fr; gap: 6px; }
  .vv-grid { grid-template-columns: 1fr; }
  .vv-sum-v { font-size: 28px; }
  .vj-body { padding: 28px 16px 20px; }
  .vj-track { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .vj-node-detail { display: none; }
  .vj-export { grid-template-columns: 36px 1fr; gap: 10px; }
  .vj-export-state { grid-column: 2; justify-self: start; margin-top: 4px; }
  .praxis-grid { padding: 0 22px; }
  .funktionen-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 22px; }
  .mobil-wrap { grid-template-columns: 1fr; gap: 40px; padding: 0 22px; }
  .mobil-stage { height: 480px; }
  .device-laptop { width: 440px; transform: translate(-58%, -55%) rotate(-3deg); }
  .device-phone { transform: translate(40%, -40%) rotate(4deg); }
  .cta-wrap { grid-template-columns: 1fr; gap: 48px; padding: 0 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 600px) {
  .nav-inner { padding-left: 20px; padding-right: 20px; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 64px; }
  .hero-title { font-size: 40px; }
  .liefert-list { grid-template-columns: 1fr; gap: 18px; }
  .section-liefert { padding: 28px 0 32px; }
  .section-fuerwen { padding: 56px 0 48px; }
  .section-fuerwen .section-head { margin-bottom: 36px; }
  .fuerwen-card { padding: 24px 22px 22px; }
  .fuerwen-title { font-size: 20px; }
  .fuerwen-text { font-size: 14px; }
  .hero-status {
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 12px;
    align-items: flex-start;
    line-height: 1.5;
  }
  .section-mobil { padding: 88px 0; }
  .section-stellen { padding: 80px 0; }
  .mobil-stage { height: 420px; }
  .device-laptop { width: 360px; }
  .device-phone { width: 200px; }
  .phone-screen { height: 400px; }
  .funktion-text { padding: 24px 22px 18px; }
  .funktion-title { font-size: 26px; }
  .funktion-ui { margin: 0 16px 18px; padding: 14px; }
  .moment { padding: 22px; }
  .moment-title { font-size: 22px; }
  .cta-form { padding: 28px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   WERKZEUGE · Hub-Übersichtsseite
   ============================================================ */
.werkzeuge-header {
  padding: calc(var(--nav-h) + 64px) 0 32px;
  background: var(--bg);
}
.werkzeuge-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
}
.werkzeuge-header .eyebrow {
  margin-bottom: 16px;
}
.werkzeuge-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}
.werkzeuge-title em {
  font-style: italic;
  color: var(--accent);
}
.werkzeuge-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text2);
  max-width: 720px;
}
.werkzeuge-lead-link {
  color: var(--accent-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.werkzeuge-lead-link:hover {
  color: var(--accent);
}

.werkzeuge-list-section {
  background: var(--surface2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 64px;
  margin: 40px 0 0;
}
.werkzeuge-list-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.werkzeuge-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 20px;
}
.werkzeug-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all var(--duration) var(--ease);
  overflow: hidden;
}
.werkzeug-item:hover {
  border-color: var(--accent-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 74, 58, 0.08);
}
.werkzeug-link {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 28px 24px;
  color: var(--text);
  height: 100%;
}
.werkzeug-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  gap: 16px;
}
.werkzeug-typ {
  color: var(--accent-mid);
  font-weight: 500;
}
.werkzeug-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}
.werkzeug-item:hover .werkzeug-title {
  color: var(--accent);
}
.werkzeug-deck {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text2);
  font-style: italic;
  margin: 0;
  flex-grow: 1;
}
.werkzeug-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text3);
  letter-spacing: 0.02em;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.werkzeug-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  display: grid;
  place-items: center;
  transition: all var(--duration) var(--ease);
  border: 1px solid var(--border);
}
.werkzeug-arrow svg {
  width: 14px;
  height: 14px;
}
.werkzeug-item:hover .werkzeug-arrow {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateX(4px);
}
.werkzeuge-empty {
  padding: 64px 32px;
  text-align: center;
  color: var(--text3);
  font-style: italic;
  max-width: 720px;
  margin: 32px auto 0;
  line-height: 1.6;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
}

/* ============================================================
   WERKZEUGE · Einzel-Tool-Seite
   ============================================================ */

.tool-page {
  padding: calc(var(--nav-h) + 64px) 0 64px;
  background: var(--bg);
}
.tool-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
.tool-header {
  max-width: 760px;
  margin: 0 auto 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.tool-header .eyebrow {
  margin-bottom: 20px;
}
.tool-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}
.tool-title em {
  font-style: italic;
  color: var(--accent);
}
.tool-deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text2);
  margin-bottom: 24px;
}
.tool-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text3);
  text-transform: uppercase;
  border-top: 1px solid var(--border);
  padding: 14px 0 0;
}
.tool-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tool-meta-item strong {
  color: var(--text2);
  font-weight: 500;
}

/* DSGVO-Hinweis */
.tool-dsgvo-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--surface);
  border-left: 3px solid var(--accent-mid);
  border-radius: 4px;
  margin: 32px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text2);
}
.tool-dsgvo-note svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent-mid);
}

/* Tool-Body (Eingaben) */
.tool-body {
  margin: 40px 0;
}
.tool-step {
  margin-bottom: 32px;
}
.tool-step-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.tool-step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tool-step-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
}
.tool-step-help {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text2);
  margin-bottom: 16px;
}
.tool-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.tool-input-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text2);
}
.tool-input-hint {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.5;
}
.tool-input,
.tool-textarea,
.tool-select {
  font-family: var(--sans);
  font-size: 15px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--duration) var(--ease);
}
.tool-textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.5;
}
.tool-input:focus,
.tool-textarea:focus,
.tool-select:focus {
  outline: none;
  border-color: var(--accent);
}
.tool-radio-group,
.tool-check-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tool-radio,
.tool-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.tool-radio:hover,
.tool-check:hover {
  border-color: var(--accent-mid);
  background: var(--surface);
}
.tool-radio input,
.tool-check input {
  margin-top: 2px;
}
.tool-radio-text,
.tool-check-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

/* Tool-Output */
.tool-output {
  margin: 40px 0;
  padding: 28px 24px;
  border-radius: 8px;
  background: var(--surface);
  border-left: 4px solid var(--accent);
}
.tool-output-success {
  border-left-color: var(--accent);
}
.tool-output-warning {
  border-left-color: var(--bronze);
}
.tool-output-info {
  border-left-color: var(--accent-mid);
}
.tool-output-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 8px;
}
.tool-output-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.tool-output-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text2);
}
.tool-output-body p + p {
  margin-top: 12px;
}

.tool-recommendation {
  margin: 32px 0;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.tool-recommendation-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 8px;
}
.tool-recommendation-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}
.tool-recommendation-reason {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text2);
}

/* Buttons innerhalb von Tools */
.tool-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 22px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.tool-button[hidden] {
  display: none;
}
.tool-button:hover {
  background: #143a2d;
  transform: translateY(-1px);
}
.tool-button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.tool-button-secondary:hover {
  background: var(--surface);
  border-color: var(--accent-mid);
  transform: translateY(-1px);
}
.tool-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Quellen-Box */
.tool-sources {
  margin: 48px 0 24px;
  padding: 24px;
  background: var(--surface);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text2);
}
.tool-sources-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 12px;
}
.tool-sources ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tool-sources li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.tool-sources li:last-child {
  border-bottom: none;
}
.tool-sources a {
  color: var(--accent-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tool-sources a:hover {
  color: var(--accent);
}

/* Mobile-Anpassungen */
@media (max-width: 720px) {
  .werkzeuge-list { grid-template-columns: 1fr; gap: 16px; }
  .werkzeug-link { padding: 24px 22px 20px; gap: 12px; }
  .werkzeug-title { font-size: 24px; }
  .werkzeug-deck { font-size: 16px; }
  .tool-output { padding: 22px 18px; }
  .tool-output-title { font-size: 22px; }
  .tool-radio,
  .tool-check { padding: 12px; }
}

/* ============================================================
   WERKZEUG · Vermögensverzeichnis-Generator
   ============================================================ */

/* Werkzeug-Sektion: visuell abgesetzte Werkzeug-Welt */
.vv-werkzeug-section {
  background: var(--surface2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 64px;
  margin: 40px 0;
}

.vv-wizard-wrap {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Step Indicator */
.vv-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.vv-step {
  flex: 1 1 0;
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
  background: transparent;
}
.vv-step:hover {
  background: var(--bg);
}
.vv-step.is-active {
  background: var(--accent);
  color: #fff;
}
.vv-step.is-done .vv-step-num {
  background: var(--accent-mid);
  color: #fff;
}
.vv-step-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.vv-step.is-active .vv-step-num {
  background: #fff;
  color: var(--accent);
}
.vv-step-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text2);
  font-weight: 500;
}
.vv-step.is-active .vv-step-label {
  color: #fff;
}

/* Two-Column Grid */
.vv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.vv-input-col {
  min-width: 0;
}

.vv-preview-col {
  min-width: 0;
}
.vv-preview-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  max-height: calc(100vh - var(--nav-h) - 32px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.vv-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.vv-preview-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-mid);
  font-weight: 500;
}
.vv-preview-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text2);
}
.vv-preview-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}
.vv-preview-empty {
  color: var(--text3);
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  padding: 32px 0;
}

/* Step Panels */
.vv-step-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 28px 24px;
  margin-bottom: 16px;
}
.vv-step-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 8px;
}
.vv-step-help {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text2);
  margin-bottom: 24px;
}

/* Row 2-Spalten innerhalb Wizard */
.vv-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Kategorien innerhalb der Schritte */
.vv-cat {
  margin: 24px 0 0;
  padding: 18px 20px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.vv-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.vv-cat-head h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--text);
  margin: 0;
}
.vv-cat-help {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.5;
  margin-top: 8px;
  font-style: italic;
}
.vv-add-btn {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.vv-add-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* List Items */
.vv-list-empty {
  padding: 12px;
  font-size: 13px;
  color: var(--text3);
  font-style: italic;
}
.vv-list-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}
.vv-list-item:last-child {
  margin-bottom: 0;
}
.vv-list-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.vv-list-item-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text2);
  font-weight: 500;
}
.vv-remove-btn {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  color: var(--text3);
  cursor: pointer;
  border-radius: 4px;
  transition: all var(--duration) var(--ease);
}
.vv-remove-btn:hover {
  background: var(--surface3);
  color: #c44;
}
.vv-remove-btn svg {
  width: 14px;
  height: 14px;
}
.vv-list-item-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
}
.vv-list-item-body .vv-wide {
  grid-column: 1 / -1;
}

/* Warnings & Info */
.vv-warn {
  margin: 16px 0;
  padding: 12px 16px;
  background: #fff8e8;
  border-left: 3px solid var(--bronze);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.55;
  color: #6b5a30;
}
.vv-info {
  margin: 16px 0;
  padding: 12px 16px;
  background: var(--surface);
  border-left: 3px solid var(--accent-mid);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text2);
  font-style: italic;
}

/* Versicherung-Box in Step 5 */
.vv-versicherung-box {
  margin-top: 24px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.vv-versicherung-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-mid);
  font-weight: 500;
  margin-bottom: 8px;
}
.vv-versicherung-box blockquote {
  margin: 12px 0;
  padding: 12px 16px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--text);
}
.vv-versicherung-hint {
  font-size: 13px;
  color: var(--text3);
  font-style: italic;
}

/* Wizard Navigation */
.vv-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  position: sticky;
  bottom: 16px;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.vv-nav .tool-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.vv-nav-info {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text2);
  letter-spacing: 0.04em;
}
.vv-reset-row {
  text-align: center;
  margin-top: 16px;
}
.vv-reset-btn {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text3);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 8px;
}
.vv-reset-btn:hover {
  color: #c44;
}

/* Praxis-Hinweise */
.vv-praxis {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.vv-praxis-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 12px;
  color: var(--text);
}
.vv-praxis ul {
  margin: 0;
  padding-left: 22px;
}
.vv-praxis li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 10px;
}
.vv-praxis li strong {
  color: var(--accent);
}
.vv-praxis-magazin {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text2);
}
.vv-praxis-magazin a {
  color: var(--accent-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.vv-praxis-magazin a:hover {
  color: var(--accent);
}

/* Doc-Vorschau */
.vv-doc {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}
.vv-doc-head {
  border-bottom: 1.5px solid var(--text);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.vv-doc-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}
.vv-doc-meta {
  font-size: 12px;
  color: var(--text2);
}
.vv-doc-meta div {
  margin-bottom: 2px;
}
.vv-doc-section {
  margin-bottom: 18px;
}
.vv-doc-h {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.vv-doc-subhead {
  font-size: 12px;
  font-style: italic;
  color: var(--text2);
  margin: 8px 0 4px;
}
.vv-doc-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0 3px 12px;
  font-size: 12px;
  color: var(--text);
  border-bottom: 1px dotted var(--border);
}
.vv-doc-row span:first-child {
  flex: 1;
}
.vv-doc-row span:last-child {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
}
.vv-doc-sum {
  display: flex;
  justify-content: space-between;
  padding: 6px 0 4px;
  margin-top: 4px;
  font-weight: 600;
  border-top: 1.5px solid var(--text);
  font-size: 13px;
}
.vv-doc-sum span:last-child {
  font-family: var(--mono);
}
.vv-doc-rein {
  font-weight: 600;
  border: none;
  background: var(--bg);
  padding: 8px 12px;
  margin: 4px 0;
  border-radius: 4px;
}
.vv-doc-rein span:last-child {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
}
.vv-doc-pre {
  white-space: pre-wrap;
  font-size: 12px;
  color: var(--text2);
  padding: 4px 0 4px 12px;
}
.vv-doc-versicherung p {
  margin: 8px 0;
  font-size: 12px;
}
.vv-doc-sig {
  margin-top: 24px;
}
.vv-doc-sig-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  font-size: 11px;
  color: var(--text3);
}
.vv-doc-sig-line {
  border-bottom: 1px solid var(--text2);
  height: 24px;
}

/* Mobile-Anpassungen für Wizard */
@media (max-width: 1023px) {
  .vv-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .vv-preview-sticky {
    position: static;
    max-height: none;
  }
  .vv-preview-body {
    max-height: 60vh;
  }
}
@media (max-width: 720px) {
  .vv-wizard-wrap { padding: 0 16px; }
  .vv-step-panel { padding: 20px 18px 18px; }
  .vv-step-title { font-size: 22px; }
  .vv-row-2 { grid-template-columns: 1fr; }
  .vv-list-item-body { grid-template-columns: 1fr; }
  .vv-steps { padding: 8px; gap: 4px; }
  .vv-step { min-width: 0; flex: 1 1 auto; padding: 8px; }
  .vv-step-label { display: none; }
  .vv-step.is-active .vv-step-label { display: inline; }
  .vv-cat { padding: 14px; }
  .vv-nav { gap: 8px; padding: 12px; flex-wrap: wrap; }
  .vv-nav .tool-button { padding: 10px 16px; font-size: 13px; }
}

/* ============================================================
   ARTIKEL · Werkzeug-Hinweis im Magazin-Post
   ============================================================ */
.article-werkzeug {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--surface);
  border-left: 3px solid var(--accent-mid);
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.55;
}
.article-werkzeug-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-mid);
  font-weight: 500;
  flex-shrink: 0;
  padding-top: 4px;
}
.article-werkzeug-body p {
  margin: 0;
  color: var(--text);
}
.article-werkzeug-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-werkzeug-body a:hover {
  color: var(--accent-mid);
}

/* ============================================================
   Article Weiterlesen — Topic-Cluster-Verlinkung am Ende eines
   Magazin-Posts. Konsistent zu .article-werkzeug, aber breiter
   und mit Liste statt Fließtext.
   ============================================================ */
.article-weiterlesen {
  margin: 40px 0 32px;
  padding: 24px 26px;
  background: var(--surface);
  border-left: 3px solid var(--accent-mid);
  border-radius: 6px;
}
.article-weiterlesen-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-mid);
  font-weight: 500;
  margin-bottom: 14px;
}
.article-weiterlesen-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-weiterlesen-list li {
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.55;
}
.article-weiterlesen-list a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.article-weiterlesen-list a:hover {
  color: var(--accent-mid);
}
.article-weiterlesen-list-meta {
  display: block;
  margin-top: 2px;
  color: var(--text2);
  font-size: 14px;
  font-weight: 400;
}
@media (max-width: 640px) {
  .article-weiterlesen { padding: 20px 18px; }
}

/* ============================================================
   ZYKLUS — Description + Proof-Element
   ============================================================ */
.zyklus-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text2);
  margin: 0 0 16px;
  max-width: 62ch;
}
.zyklus-proof {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 12px 6px 10px;
  background: rgba(26, 74, 58, 0.06);
  border: 1px solid rgba(26, 74, 58, 0.18);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.zyklus-proof-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}
.zyklus-proof-text {
  color: var(--text);
  font-weight: 500;
}

.zyklus-station-end .zyklus-dot {
  background: var(--surface);
  border: 2px solid var(--text3);
  position: relative;
}
.zyklus-station-end .zyklus-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--text3);
  border-radius: 50%;
  opacity: 0.5;
}

@media (max-width: 760px) {
  .zyklus-desc {
    font-size: 15px;
  }
  .zyklus-proof {
    font-size: 11px;
  }
}

/* ============================================================
   SECTION OUTPUTS — Was BetreuerOS produziert
   ============================================================ */
.section-outputs {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outputs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.output-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.output-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}

/* Document-Mockup (oberer Teil) */
.output-doc {
  position: relative;
  background: linear-gradient(180deg, #fafaf7 0%, #f5f5f0 100%);
  padding: 24px 22px 28px;
  height: 340px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.output-doc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}

.output-doc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.output-doc-az,
.output-doc-form {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--text3);
}
.output-doc-az-label {
  opacity: 0.7;
}
.output-doc-az-num {
  color: var(--text2);
  letter-spacing: 0.04em;
}
.output-doc-stamp {
  padding: 3px 8px;
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.output-doc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.output-doc-line {
  height: 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  margin-bottom: 6px;
}
.output-doc-line-strong {
  height: 9px;
  background: rgba(0, 0, 0, 0.2);
  width: 60%;
}
.output-doc-line-short {
  width: 40%;
}

.output-doc-spacer {
  height: 14px;
}
.output-doc-spacer-small {
  height: 8px;
}

.output-doc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.output-doc-row:last-child {
  border-bottom: none;
}
.output-doc-row-meta {
  font-size: 10.5px;
}
.output-doc-row-meta span:first-child {
  color: var(--text3);
}
.output-doc-row-sum {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  font-weight: 600;
  color: var(--text);
}

.output-doc-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 700;
}

.output-doc-signline {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  position: relative;
}
.output-doc-signline::before {
  content: "Unterschrift";
  position: absolute;
  top: 22px;
  left: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
}

/* Tabellen-Form (Vermögensverzeichnis) */
.output-doc-table-head {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 8px;
  padding: 6px 0;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  margin-bottom: 4px;
}
.output-doc-table-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 8px;
  padding: 5px 0;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.output-doc-table-row span:first-child {
  color: var(--text3);
}
.output-doc-table-row span:last-child {
  text-align: right;
  color: var(--text);
}
.output-doc-table-sum {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: auto;
  padding: 10px 0 0;
  border-top: 1.5px solid rgba(0, 0, 0, 0.3);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
}
.output-doc-table-sum span:last-child {
  text-align: right;
}

/* ZIP-Variante */
.output-doc-zip-name {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  word-break: break-word;
}
.output-doc-zip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.output-doc-zip-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text2);
}
.output-doc-zip-list li span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.output-doc-zip-tag {
  flex-shrink: 0;
  padding: 1px 6px;
  background: rgba(184, 164, 116, 0.15);
  color: var(--bronze);
  border-radius: 2px;
  font-size: 8.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Brief mit Platzhaltern */
.output-doc-letter {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text2);
  line-height: 1.5;
}
.output-doc-placeholder {
  background: rgba(26, 74, 58, 0.08);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 2px;
  align-self: flex-start;
  font-weight: 500;
}

/* Briefing */
.output-doc-briefing {
  min-height: 280px;
}
.output-doc-briefing-block {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.output-doc-briefing-block:last-child {
  border-bottom: none;
}
.output-doc-briefing-cat {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}
.output-doc-briefing-text {
  font-size: 11px;
  color: var(--text2);
  line-height: 1.5;
}

/* Info-Bereich unter Document */
.output-info {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.output-info-norm {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bronze);
}
.output-info-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}
.output-info-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text2);
  margin: 0;
}

@media (max-width: 980px) {
  .outputs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}
@media (max-width: 700px) {
  .outputs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }
  .output-doc {
    height: 320px;
  }
}

/* ============================================================
   SECTION SETUP — Einmal eingerichtet
   ============================================================ */
.section-setup {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.setup-card {
  padding: 28px 26px 30px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  position: relative;
  transition: border-color var(--duration) var(--ease);
}
.setup-card:hover {
  border-color: var(--border2);
}

.setup-card-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: 16px;
}

.setup-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 12px;
}

.setup-card-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text2);
  margin: 0;
}

@media (max-width: 980px) {
  .setup-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .setup-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .setup-card {
    padding: 24px 22px;
  }
}


/* =============================================================
   REAL-SCREEN-FRAME — MacOS-Browser-Rahmen für Vier-Stellen-Cards
   (Mai 2026: Ersetzt die vorher nachgemalten Visualisierungen)
   ============================================================= */

.real-screen-frame {
  background: #2a2a28;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 4px 12px rgba(20, 40, 30, 0.10),
    0 24px 48px rgba(20, 40, 30, 0.16),
    0 60px 100px -20px rgba(20, 40, 30, 0.20);
  position: relative;
  z-index: 1;
}

.real-screen-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px 10px;
  background: #2a2a28;
}

.real-screen-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.real-screen-dot.red { background: #ff5f57; }
.real-screen-dot.yellow { background: #febc2e; }
.real-screen-dot.green { background: #28c840; }

.real-screen-url {
  margin-left: 16px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #8a8a85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.real-screen-img {
  background: #f5f4f0;
  line-height: 0;
}

.real-screen-img img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .real-screen-bar {
    padding: 9px 12px 8px;
  }
  .real-screen-dot {
    width: 9px;
    height: 9px;
  }
  .real-screen-url {
    font-size: 10px;
    margin-left: 10px;
  }
}


/* =============================================================
   PHONE-PAIR — Zwei iPhones im Mobil-Störer (B1-Anordnung:
   Foto vorne links, Notiz hinten rechts — beide gut sichtbar
   ============================================================= */

.phone-pair {
  position: relative;
  width: 100%;
  height: 100%;
}

.phone-device {
  position: absolute;
  top: 50%;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,0.35))
          drop-shadow(0 36px 60px rgba(0,0,0,0.25));
}

.phone-device-frame {
  background: #0a1a14;
  padding: 8px;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
}

.phone-device-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 6px;
  background: #0a1a14;
  border-radius: 3px;
  z-index: 5;
}

.phone-device-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

/* B1-Anordnung — Foto vorne links, Notiz hinten rechts.
   Beide Phones sind absolut positioniert mit eigenem left/right-Anker
   damit sie nicht aneinander kleben sondern echte Distanz haben.
   Vorderes Phone: am linken Container-Rand, leicht nach links gekippt.
   Hinteres Phone: am rechten Container-Rand, leicht nach rechts gekippt.
   Überlappung nur in der Mitte (~30%). */

.phone-device-front {
  width: 240px;
  left: 4%;
  z-index: 2;
  transform: translateY(-50%) rotate(-4deg);
}

.phone-device-back {
  width: 220px;
  right: 4%;
  z-index: 1;
  opacity: 0.96;
  transform: translateY(-46%) rotate(5deg);
}

@media (max-width: 1100px) {
  .phone-device-front {
    width: 220px;
  }
  .phone-device-back {
    width: 200px;
  }
}

@media (max-width: 980px) {
  .phone-device-front {
    width: 195px;
  }
  .phone-device-back {
    width: 180px;
  }
}

@media (max-width: 720px) {
  /* Auf Mobile: ein Phone genügt — hinteres Phone ausblenden für
     bessere Lesbarkeit auf engen Screens */
  .phone-device-front {
    width: 200px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
  }
  .phone-device-back {
    display: none;
  }
}

/* =============================================================
   LIGHTBOX — Klickbare Screenshot-Vergroesserung
   Brand-Style: dunkles Overlay (#0a1a14), Bild zentriert,
   Pfeil-Navigation, Schliessen-Button, Tastatur-Steuerung
   ============================================================= */

/* Cursor: zeigt an dass die Screenshot-Frames klickbar sind */
.real-screen-frame {
  cursor: zoom-in;
  transition: transform 280ms cubic-bezier(.2, .8, .2, 1);
}
.real-screen-frame:hover {
  transform: translateY(-3px);
}

/* Lightbox-Container — initial unsichtbar */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 26, 20, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  padding: 40px 60px;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

/* Bildbuehne */
.lightbox-stage {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  background: #f5f4f0;
  opacity: 0;
  transition: opacity 180ms ease;
}

.lightbox-img.is-loaded {
  opacity: 1;
}

.lightbox-caption {
  color: rgba(245, 244, 240, 0.85);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 80vw;
}

/* Close-Button (oben rechts) */
.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 244, 240, 0.1);
  border: 1px solid rgba(245, 244, 240, 0.2);
  color: #f5f4f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease;
  z-index: 1001;
}

.lightbox-close:hover {
  background: rgba(245, 244, 240, 0.18);
  border-color: rgba(245, 244, 240, 0.35);
}

/* Pfeile (links / rechts) */
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(245, 244, 240, 0.1);
  border: 1px solid rgba(245, 244, 240, 0.2);
  color: #f5f4f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, border-color 180ms ease;
  z-index: 1001;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-nav:hover {
  background: rgba(245, 244, 240, 0.18);
  border-color: rgba(245, 244, 240, 0.35);
}

/* Counter (unten Mitte) */
.lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(245, 244, 240, 0.7);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* Mobile-Anpassung */
@media (max-width: 720px) {
  .lightbox {
    padding: 16px;
  }
  .lightbox-img {
    max-height: 70vh;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-counter {
    bottom: 12px;
    font-size: 11px;
  }
}

/* Body-Scroll-Lock wenn Lightbox offen */
body.lightbox-open {
  overflow: hidden;
}

/* =============================================================
   BACK TO TOP — Sanfter Pfeil-Button, erscheint beim Scrollen
   ============================================================= */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #f5f4f0;
  border: 1px solid rgba(245, 244, 240, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 12px rgba(20, 40, 30, 0.18),
    0 12px 32px rgba(20, 40, 30, 0.20);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 220ms ease, visibility 220ms ease, transform 220ms ease, background 180ms ease;
  z-index: 900;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #0f3a2c;
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: translateY(0);
}

/* Hide when lightbox is open to avoid stacking */
body.lightbox-open .back-to-top {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 720px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}
