:root {
  --bg-paper: #ffffff;
  --bg-surface: #ffffff;
  --bg-linen: #f4f6f5;
  --header-bg: rgba(255, 255, 255, 0.95);
  --ink-primary: #111b18;
  --ink-secondary: #43554e;
  --ink-muted: #4e5d58;
  --ink-soft: #74827d;
  --accent-pine: #132a23;
  --pine-mid: #1a3b31;
  --accent-emerald: #1d5c46;
  --accent-brass: #b0833e;
  --accent-brass-soft: #f5ecd8;
  --status-ok: #1b6e4f;
  --status-warn: #9a6316;
  --status-err: #a32929;
  --accent-forest: #165940;
  --border-subtle: rgba(19, 42, 35, 0.12);
  --border-strong: rgba(19, 42, 35, 0.24);
  --dock-bg: #132a23;
  --dock-fg: #f5f7f6;
  --dock-panel-bg: #ffffff;
  --shadow-card: 0 8px 24px rgba(19, 42, 35, 0.06);
  --font-serif: Georgia, "Cambria", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}

html[data-theme="dark"] {
  --bg-paper: #0b110f;
  --bg-surface: #121c19;
  --bg-linen: #16231f;
  --header-bg: rgba(11, 17, 15, 0.93);
  --ink-primary: #f2f5f4;
  --ink-secondary: #c2cfca;
  --ink-muted: #a3b2ad;
  --ink-soft: #788883;
  --accent-pine: #18362d;
  --pine-mid: #21473b;
  --accent-emerald: #4fd1a5;
  --accent-brass: #cfa15a;
  --accent-brass-soft: #262219;
  --border-subtle: rgba(242, 245, 244, 0.12);
  --border-strong: rgba(242, 245, 244, 0.26);
  --dock-bg: #18362d;
  --dock-fg: #f2f5f4;
  --dock-panel-bg: #131d1a;
  --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg-paper);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.hidden,
[hidden] {
  display: none !important;
}

.mk-skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 6px;
  background: #132a23;
  color: #ffffff;
  border: 2px solid #f5ebd9;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: top 0.14s ease;
}

.mk-skip-link:focus,
.mk-skip-link:focus-visible {
  top: 10px;
  outline: 3px solid #9a6b2f;
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid #132a23;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(154, 107, 47, 0.28);
}

.topbar a:focus-visible,
.topbar button:focus-visible,
.site-footer a:focus-visible,
.site-footer button:focus-visible {
  outline: 2.5px solid #f5ebd9;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(245, 235, 217, 0.28);
}

#topbarKontorDeckLink,
.mk-topbar-deck-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  text-decoration: none !important;
  border-color: rgba(245, 235, 217, 0.55);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.01em;
}

#topbarKontorDeckLink:hover,
.mk-topbar-deck-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #f5ebd9;
  color: #ffffff;
  text-decoration: none !important;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  background: var(--accent-pine);
  color: #e9e4d8;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.topbar-quiet-link {
  background: none;
  border: none;
  padding: 2px 4px;
  color: #cfc8b8;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.14s ease;
}

.topbar-quiet-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.editorial-companion-drawer {
  margin: 22px 0;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--bg-linen);
  border: 1px solid var(--border-subtle);
}

.editorial-companion-drawer > summary {
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--accent-pine);
}

.software-subnav {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 8px;
  background: var(--bg-linen);
  border: 1px solid var(--border-subtle);
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
}

.lang-btn {
  background: transparent;
  color: #cfc8b8;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--accent-brass);
  border-color: var(--accent-brass);
  color: #ffffff;
}

.brand-masthead {
  background: var(--bg-surface);
  border-bottom: 2px solid var(--accent-pine);
}

.masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink-primary);
}

.brand-emblem {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: var(--accent-pine);
  color: #f3e8d2;
  border: 2px solid var(--accent-brass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.brand-wordmark strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.brand-wordmark small {
  display: block;
  color: var(--ink-secondary);
  font-size: 0.84rem;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-tab {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--ink-primary);
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nav-tab:hover {
  border-color: var(--accent-pine);
  background: var(--bg-linen);
}

.nav-tab.active {
  background: var(--accent-pine);
  border-color: var(--accent-pine);
  color: #ffffff;
}

.main-stage {
  padding-top: 28px;
  padding-bottom: 56px;
  min-height: 68vh;
}

.filter-ribbon {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  margin-right: 6px;
}

.search-input {
  flex: 1 1 260px;
  max-width: 420px;
  padding: 7px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #ffffff;
}

.chip {
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
}

.chip.active {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #ffffff;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 22px;
}

.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.article-card-padded {
  padding: 22px;
}

.article-card-clickable {
  cursor: pointer;
}

.card-headline-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.article-card-clickable:hover .card-headline-link {
  color: var(--accent-emerald);
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-brass);
  box-shadow: 0 12px 28px rgba(19, 42, 35, 0.11);
}

.card-cover-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-linen);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.article-card:hover .card-cover-img {
  transform: scale(1.02);
}

.card-body {
  padding: 20px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.76rem;
}

.badge-row-spaced {
  margin-top: 16px;
}

.badge {
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 600;
}

.badge-sector {
  background: var(--bg-linen);
  color: var(--accent-pine);
}

.badge-source {
  background: #e6f4ee;
  color: var(--status-ok);
}

.badge-tool {
  background: var(--accent-brass-soft);
  color: #784f1b;
}

.article-card h2 {
  font-family: var(--font-serif);
  font-size: 1.26rem;
  line-height: 1.32;
  margin: 0 0 10px 0;
}

.article-card p {
  color: var(--ink-secondary);
  font-size: 0.94rem;
  margin: 0 0 16px 0;
}

.desk-byline {
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.card-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.reader-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1.05fr);
  gap: 26px;
  align-items: start;
}

.reader-companion-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  align-self: start;
}

.reader-companion-column > .editorial-chart-figure,
.reader-companion-column > .mid-article-calc-card,
.reader-companion-column > .editorial-companion-drawer {
  margin: 0;
}

.reader-companion-column .form-grid {
  grid-template-columns: repeat(auto-fit, minmax(156px, 1fr));
}

.mk-methodik-inline-link {
  display: inline-block;
  margin-top: 6px;
  color: #16382b;
  font-weight: 700;
  font-size: 0.83rem;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .reader-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.reader-paper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  min-width: 0;
  max-width: 100%;
}

.reader-hero-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-linen);
  margin: 0 0 20px 0;
}

.reader-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reader-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.24;
  margin: 10px 0 12px 0;
}

.reader-subtitle {
  font-size: 1.08rem;
  color: var(--ink-secondary);
  margin: 0 0 18px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.audio-bar {
  background: var(--bg-linen);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.audio-bar-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-pine);
}

.audio-bar-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.reader-prose p {
  font-family: var(--font-serif);
  font-size: 1.07rem;
  line-height: 1.78;
  margin: 0 0 18px 0;
  color: #1c2d27;
}

.review-box {
  background: var(--accent-brass-soft);
  border-left: 4px solid var(--accent-brass);
  padding: 16px 20px;
  border-radius: 6px;
  margin: 24px 0;
}

.review-box strong {
  display: block;
  color: #654114;
  margin-bottom: 6px;
}

.source-box {
  background: #edf6f2;
  border: 1px solid #bfe0d2;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.source-box-title {
  display: block;
  margin-bottom: 4px;
}

.source-box a {
  color: var(--accent-emerald);
  font-weight: 600;
  word-break: break-all;
}

.tool-sidebar-card,
.tool-panel {
  background: var(--bg-surface);
  border: 2px solid var(--accent-pine);
  border-radius: 10px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.tool-panel {
  margin-bottom: 26px;
}

.tool-header {
  margin-bottom: 14px;
}

.tool-title {
  margin: 8px 0 4px 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.tool-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.section-heading-serif {
  margin-top: 0;
  font-family: var(--font-serif);
}

.sub-lead {
  margin-top: 0;
  color: var(--ink-secondary);
}

.block-label {
  display: block;
  margin: 12px 0 6px 0;
  font-size: 0.88rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.kpi-box {
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 14px;
  font-variant-numeric: tabular-nums;
}

.kpi-box span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.kpi-box strong {
  display: block;
  font-size: 1.24rem;
  margin-top: 2px;
}

.kpi-ok strong { color: var(--status-ok); }
.kpi-warn strong { color: var(--status-warn); }
.kpi-err strong { color: var(--status-err); }

.norm-banner {
  background: var(--bg-linen);
  border-left: 4px solid var(--accent-brass);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  margin-top: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.form-grid-spaced {
  margin-top: 12px;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink-secondary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.92rem;
  background: #ffffff;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.action-row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.status-feedback {
  font-size: 0.84rem;
  margin-top: 8px;
  color: var(--accent-emerald);
  font-weight: 600;
}

.error-feedback {
  color: var(--status-err);
  font-size: 0.86rem;
  margin-top: 8px;
  font-weight: 600;
}

.muted-small {
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 5px 11px;
  font-size: 0.8rem;
}

.btn-primary {
  background: var(--accent-emerald);
  color: #ffffff;
}

.btn-brass {
  background: var(--accent-brass);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-ghost {
  background: var(--bg-linen);
  color: var(--ink-primary);
  border-color: var(--border-subtle);
}

.table-clean {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  margin-top: 12px;
}

.table-clean th,
.table-clean td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.status-ok { background: #e3f5ec; color: var(--status-ok); }
.status-warning { background: #fdf1df; color: var(--status-warn); }
.status-violation { background: #fbe6e6; color: var(--status-err); }

.site-footer {
  background: var(--accent-pine);
  color: #d8d2c5;
  padding: 34px 0;
  font-size: 0.86rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.link-btn {
  background: none;
  border: none;
  color: #f0d5a8;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.86rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 24, 20, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1200;
}

.modal-backdrop.hidden {
  display: none;
}

.modal-card {
  background: var(--bg-surface);
  border-radius: 10px;
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px;
  border: 2px solid var(--accent-pine);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.notice-banner {
  background: var(--bg-linen);
  border-left: 4px solid var(--accent-emerald);
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.briefing-inline-box {
  margin-top: 22px;
  padding: 20px 22px;
  background: linear-gradient(180deg, #f6f2e7 0%, #efe9d8 100%);
  border: 1.5px solid var(--accent-pine);
  border-left: 5px solid var(--accent-pine);
  border-radius: 8px;
}

.briefing-inline-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--accent-pine);
  margin: 0 0 6px 0;
}

.briefing-inline-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin: 0 0 14px 0;
}

.briefing-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.briefing-inline-input {
  flex: 1 1 250px;
  padding: 10px 14px;
  font-size: 0.95rem;
  border: 1px solid #c5bcab;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink-primary);
}

.briefing-inline-input:focus {
  outline: 2px solid var(--accent-emerald);
  border-color: var(--accent-emerald);
}

.briefing-inline-note {
  margin-top: 9px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.briefing-inline-feedback {
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-pine);
}

.passkey-sso-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  margin: 12px 0 6px;
  border-radius: 8px;
  border: 1.5px solid #9a6b2f;
  background: linear-gradient(180deg, #16382b 0%, #102820 100%);
  color: #faf7f0;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.14s ease, background 0.14s ease;
}

.passkey-sso-btn:hover {
  border-color: #c8964e;
  background: linear-gradient(180deg, #1d4636 0%, #143228 100%);
  transform: translateY(-1px);
}

.passkey-sso-gem {
  color: #e2ba78;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.sso-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 4px;
  font-size: 0.76rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sso-divider::before,
.sso-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.passkey-profile-box {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--bg-linen);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.passkey-profile-box strong {
  display: block;
  font-size: 0.9rem;
}

.passkey-profile-box small {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-secondary);
  margin-top: 2px;
}

/* =========================================================================
   1-WORT-BLITZLESER (RSVP + ORP ROTER FOKUS-BUCHSTABE · SAKKADENFREI)
   ========================================================================= */
.rsvp-stage-box {
  margin: 14px 0 22px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #0d1714;
  color: #f5efe2;
  border: 1px solid #2b473d;
  box-shadow: 0 10px 28px rgba(13, 23, 20, 0.18);
}

.rsvp-stage-box.rsvp-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  margin: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 24px;
}

.rsvp-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.rsvp-title-pill {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f2cf83;
  letter-spacing: 0.03em;
}

.rsvp-reticle {
  position: relative;
  padding: 28px 14px;
  margin: 8px 0 14px;
  background: #070e0c;
  border-radius: 10px;
  border: 1px solid #253d34;
  overflow: hidden;
}

.rsvp-reticle::before,
.rsvp-reticle::after {
  content: '';
  position: absolute;
  left: 44%;
  width: 2px;
  height: 10px;
  background: #ef4444;
  opacity: 0.85;
}

.rsvp-reticle::before { top: 0; }
.rsvp-reticle::after { bottom: 0; }

.rsvp-word-grid {
  display: grid;
  grid-template-columns: 44% auto 1fr;
  align-items: baseline;
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: clamp(1.65rem, 3.6vw, 2.55rem);
  font-weight: 700;
  line-height: 1.25;
  min-height: 3.1rem;
}

.rsvp-fullscreen .rsvp-word-grid {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  min-height: 5rem;
}

.rsvp-left {
  text-align: right;
  color: #f5efe2;
  white-space: pre;
}

.rsvp-pivot {
  color: #ef4444;
  font-weight: 800;
  text-align: center;
}

.rsvp-right {
  text-align: left;
  color: #f5efe2;
  white-space: pre;
}

.rsvp-controls-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.rsvp-stage-box .btn,
.rsvp-dark-deck .btn,
.rsvp-controls-bar .btn {
  background: #1a2e27;
  color: #f5efe2;
  border: 1px solid #3d6355;
}

.rsvp-stage-box .btn:hover,
.rsvp-dark-deck .btn:hover,
.rsvp-controls-bar .btn:hover {
  background: #27443a;
  border-color: #619884;
  color: #ffffff;
}

.rsvp-stage-box .btn-brass,
.rsvp-dark-deck .btn-brass,
.rsvp-controls-bar .btn-brass {
  background: #234237;
  color: #f6d58e;
  border-color: #8c6a2e;
}

.rsvp-stage-box .btn-brass:hover,
.rsvp-dark-deck .btn-brass:hover,
.rsvp-controls-bar .btn-brass:hover {
  background: #2f5749;
  color: #ffe7b0;
  border-color: #b5893d;
}

.rsvp-stage-box .btn-primary,
.rsvp-dark-deck .btn-primary,
.rsvp-controls-bar .btn-primary {
  background: #d4a853;
  color: #0d1714;
  border-color: #d4a853;
  font-weight: 700;
}

.rsvp-stage-box .btn-primary:hover,
.rsvp-dark-deck .btn-primary:hover,
.rsvp-controls-bar .btn-primary:hover {
  background: #e3bb68;
  border-color: #e3bb68;
  color: #070e0c;
}

.rsvp-wpm-range {
  accent-color: #d4a853;
  width: 130px;
}

.rsvp-progress {
  width: 100%;
  height: 6px;
  margin-top: 10px;
  accent-color: #67eb9e;
}

.rsvp-focus-backdrop {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(7, 14, 12, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.rsvp-focus-backdrop.hidden {
  display: none;
}

.rsvp-focus-shell {
  width: 100%;
  max-width: 1180px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 14px;
  background: #0d1714;
  border: 1.5px solid #2e5245;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.58);
  display: flex;
  flex-direction: column;
}

.rsvp-focus-shell.rsvp-fullscreen {
  max-width: 100vw;
  max-height: 100vh;
  height: 100vh;
  border-radius: 0;
  border: none;
}

.rsvp-dark-deck {
  padding: 22px 26px 24px;
  background: #0d1714;
  color: #f5efe2;
}

.rsvp-focus-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid #223b32;
}

.rsvp-focus-title-block {
  min-width: 0;
  flex: 1 1 420px;
}

.rsvp-focus-article-title {
  margin: 4px 0 4px;
  font-family: var(--font-serif);
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  line-height: 1.28;
  color: #fbf8f1;
}

.rsvp-focus-byline {
  font-size: 0.82rem;
  color: #b7cbc2;
}

.rsvp-focus-stage-row {
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr) 186px;
  gap: 14px;
  align-items: stretch;
  margin-top: 16px;
}

.rsvp-center-box {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rsvp-nav-arrow {
  background: #13251f;
  color: #f5efe2;
  border: 1px solid #35584b;
  border-radius: 10px;
  padding: 14px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  text-align: left;
  transition: background 0.14s ease, border-color 0.14s ease, transform 0.12s ease;
}

.rsvp-nav-arrow.rsvp-nav-next {
  text-align: right;
  align-items: flex-end;
}

.rsvp-nav-arrow:hover {
  background: #1d382f;
  border-color: #639c88;
  transform: translateY(-1px);
}

.rsvp-arrow-glyph {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 700;
  color: #f2cf83;
}

.rsvp-arrow-dir {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9dc0b2;
}

.rsvp-arrow-title {
  font-size: 0.82rem;
  line-height: 1.35;
  color: #f5efe2;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rsvp-mobile-nav-row {
  display: none;
  gap: 10px;
  margin-top: 12px;
}

.rsvp-offer-stage {
  background: var(--bg-paper);
  color: var(--ink-primary);
  padding: 24px 26px 30px;
  border-top: 2px solid #d4a853;
}

.rsvp-offer-stage.hidden {
  display: none;
}

.rsvp-offer-banner {
  background: #e6f4ee;
  border: 1.5px solid #165940;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.rsvp-offer-banner strong {
  color: #114733;
  font-size: 0.96rem;
}

@media (max-width: 920px) {
  .rsvp-focus-stage-row {
    grid-template-columns: 1fr;
  }
  .rsvp-nav-arrow {
    display: none;
  }
  .rsvp-mobile-nav-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

/* =========================================================================
   ARTIKEL-FAQ + WIKIPEDIA-QUERVERWEISE + LESERFRAGEN-FELD
   ========================================================================= */
.article-faq-card {
  margin: 26px 0;
  padding: 22px 24px;
  border-radius: 12px;
  background: var(--bg-paper);
  border: 1px solid var(--border-strong);
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.04);
}

.faq-section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-forest);
  margin-bottom: 4px;
}

.faq-top-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.faq-item-box {
  padding: 14px 16px;
  border-radius: 9px;
  background: var(--bg-linen);
  border: 1px solid var(--border-subtle);
}

.faq-item-q {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.faq-item-a {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.58;
  color: var(--ink-secondary);
}

.faq-wiki-links {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.84rem;
}

.faq-wiki-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef5f1;
  border: 1px solid #bfd8ca;
  color: #13422e;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.faq-wiki-pill:hover {
  background: #dcece3;
}

.faq-more-details {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: #faf8f3;
}

.faq-more-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--accent-forest);
  font-size: 0.94rem;
}

.faq-ask-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #f3f7f4;
  border: 1px solid #c3d8cc;
}

.faq-ask-box .briefing-inline-input,
.faq-ask-name-input {
  display: block;
  width: 100%;
  min-width: min(280px, 100%);
  max-width: 100%;
  margin-bottom: 8px;
}

.faq-ask-textarea {
  width: 100%;
  min-height: 76px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  font-family: inherit;
  font-size: 0.94rem;
  margin: 8px 0;
  resize: vertical;
}

.faq-live-answer {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 9px;
  background: #ffffff;
  border-left: 4px solid var(--accent-forest);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* =========================================================================
   ORCHESTER- & UNTERNEHMER-MICRO-APPS, FUSION & CHECKOUT BÜHNE
   ========================================================================= */
.mk-suite-hero {
  padding: 24px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #10211c 0%, #1a332b 100%);
  color: #f7f2e7;
  margin-bottom: 22px;
  border: 1px solid #2e5245;
}

.mk-suite-hero h1,
.mk-suite-hero h2 {
  color: #f7f2e7;
  margin: 6px 0 8px;
}

.mk-suite-hero p {
  color: #d6e2dc;
  margin: 0 0 14px;
  max-width: 78ch;
}

.mk-rubrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.mk-rubric-card {
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: border-color 0.14s ease, transform 0.12s ease;
}

.mk-rubric-card:hover,
.mk-rubric-card.active {
  border-color: var(--accent-forest);
  background: #f2f7f4;
  transform: translateY(-1px);
}

.mk-rubric-card strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-primary);
}

.mk-rubric-card small {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-secondary);
  margin-top: 3px;
}

.mk-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 20px;
  margin-bottom: 26px;
}

.mk-app-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.mk-app-card.inline-embedded {
  margin: 22px 0;
  border: 2px solid var(--accent-forest);
  background: #fbfaf6;
}

.mk-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.mk-kpi-box {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-linen);
  border: 1px solid var(--border-subtle);
}

.mk-kpi-box small {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.mk-kpi-box strong {
  display: block;
  font-size: 1.05rem;
  margin-top: 2px;
  color: var(--ink-primary);
}

.mk-kpi-box.good strong { color: #146c43; }
.mk-kpi-box.warn strong { color: #9a5b00; }
.mk-kpi-box.bad strong { color: #b02a37; }

.mk-expert-note {
  padding: 11px 13px;
  border-radius: 8px;
  background: #eef5f1;
  border-left: 3px solid var(--accent-forest);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #163628;
}

.mk-pro-drawer {
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 9px;
  background: #fcf8ee;
  border: 1px solid #e3c987;
}

.mk-pro-pre {
  white-space: pre-wrap;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.8rem;
  background: #ffffff;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  margin-top: 8px;
}

.story-gate-box {
  padding: 14px 16px;
  border-radius: 10px;
  background: #fdfaf2;
  border: 1px solid #dec484;
  margin: 12px 0;
}

.story-progress {
  width: 100%;
  height: 8px;
  accent-color: var(--accent-forest);
  margin: 6px 0;
}

.qr-preview-wrap {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin: 14px 0;
}

.qr-preview-img {
  width: 184px;
  height: 184px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
}

/* =========================================================================
   EXECUTIVE B2B KONFIGURATOR & CHECKOUT MODAL (STRIPE / FT QUALITÄT)
   ========================================================================= */
.modal-card.modal-checkout-wide {
  max-width: 1120px;
  width: 100%;
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #173028;
  border-radius: 14px;
  background: #fbfaf6;
  box-shadow: 0 28px 72px rgba(7, 17, 14, 0.38);
}

.checkout-header {
  background: linear-gradient(135deg, #0d1f19 0%, #163028 100%);
  color: #f7f3ea;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid #26493d;
}

.checkout-header-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #d6b16a;
  margin-bottom: 2px;
}

.checkout-header-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: #fbf8f1;
}

.checkout-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.checkout-mode-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
}

.checkout-mode-btn {
  border: none;
  background: transparent;
  color: #d3dfd9;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}

.checkout-mode-btn.active {
  background: #f5efe2;
  color: #0e221c;
  font-weight: 700;
}

.checkout-mode-btn.active-test {
  background: #d4a853;
  color: #0e221c;
  font-weight: 700;
}

.checkout-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #f7f3ea;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.checkout-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.checkout-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.95fr);
  overflow-y: auto;
  max-height: calc(92vh - 76px);
}

.checkout-main-pane {
  padding: 22px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checkout-summary-pane {
  background: #f3efe4;
  border-left: 1px solid #ddd5c5;
  padding: 22px 24px 28px;
}

.checkout-summary-sticky {
  position: sticky;
  top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-bottom-cta-bar {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e6dfd0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.checkout-bottom-total {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-bottom-total small {
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.checkout-bottom-total strong {
  font-size: 1.15rem;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
}

.checkout-step-card {
  background: #ffffff;
  border: 1px solid #ded8ca;
  border-radius: 11px;
  padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(15, 24, 20, 0.03);
}

.checkout-step-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.checkout-step-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #122d24;
  color: #f6f1e6;
  font-size: 0.76rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.checkout-step-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.checkout-step-sub {
  margin: 0 0 12px;
  font-size: 0.85rem;
  line-height: 1.48;
  color: var(--ink-secondary);
}

.checkout-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ece7db;
}

.checkout-filter-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.checkout-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkout-module-card {
  border: 1px solid #dad3c3;
  border-radius: 9px;
  background: #fcfbf8;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.checkout-module-card:hover {
  border-color: #8fb3a2;
}

.checkout-module-card.selected {
  border-color: #165940;
  background: #f2f8f5;
  box-shadow: 0 0 0 1px #165940 inset;
}

.checkout-module-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.checkout-module-left {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.checkout-check-indicator {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #9aa39d;
  background: #ffffff;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkout-module-card.selected .checkout-check-indicator {
  background: #165940;
  border-color: #165940;
}

.checkout-module-title {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--ink-primary);
}

.checkout-module-meta {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

.checkout-module-price {
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #123c2c;
  white-space: nowrap;
  flex-shrink: 0;
}

.checkout-pro-addon-bar {
  border-top: 1px dashed #c7ddd3;
  padding-top: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.checkout-pro-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #1d4636;
  cursor: pointer;
}

.checkout-fusion-details {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #faf8f2;
  border: 1px solid #e4decb;
}

.checkout-fusion-details summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-secondary);
}

.checkout-fusion-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.checkout-fusion-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  padding: 6px 8px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e8e2d3;
  cursor: pointer;
}

.checkout-progress {
  width: 100%;
  height: 6px;
  margin: 8px 0 10px;
  border: none;
  border-radius: 999px;
  overflow: hidden;
  background: #ebe6da;
  appearance: none;
  -webkit-appearance: none;
}

.checkout-progress::-webkit-progress-bar {
  background: #ebe6da;
  border-radius: 999px;
}

.checkout-progress::-webkit-progress-value {
  background: #165940;
  border-radius: 999px;
  transition: width 0.18s ease;
}

.checkout-progress::-moz-progress-bar {
  background: #165940;
  border-radius: 999px;
}

.checkout-req-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.checkout-req-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f3f0e8;
  color: #5b615d;
  border: 1px solid #dfd9c9;
}

.checkout-req-pill.done {
  background: #e5f4ec;
  color: #13583d;
  border-color: #b7dec9;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.checkout-form-grid .span-2 {
  grid-column: 1 / -1;
}

.checkout-pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 6px;
}

.checkout-pay-card {
  text-align: left;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid #d8d1c0;
  background: #fcfbf8;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.checkout-pay-card:hover {
  border-color: #8eb0a0;
}

.checkout-pay-card.active {
  border-color: #165940;
  background: #f1f8f4;
  box-shadow: 0 0 0 1px #165940 inset;
}

.checkout-pay-card.active-test {
  border-color: #b58428;
  background: #fdf8eb;
  box-shadow: 0 0 0 1px #b58428 inset;
}

.checkout-pay-card strong {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-primary);
}

.checkout-pay-card small {
  display: block;
  font-size: 0.75rem;
  line-height: 1.38;
  color: var(--ink-secondary);
  margin-top: 3px;
}

.checkout-sepa-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 9px;
  background: #f7f5ee;
  border: 1px solid #dcd5c5;
}

.checkout-sepa-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--ink-secondary);
  cursor: pointer;
}

.checkout-summary-card {
  background: #ffffff;
  border: 1px solid #dcd4c3;
  border-radius: 11px;
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-summary-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--ink-primary);
}

.checkout-line-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 0;
  border-top: 1px solid #ece6d9;
  border-bottom: 1px solid #ece6d9;
  font-size: 0.83rem;
  font-variant-numeric: tabular-nums;
}

.checkout-line-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.checkout-line-row span:first-child {
  color: var(--ink-secondary);
}

.checkout-line-row strong {
  white-space: nowrap;
  color: var(--ink-primary);
}

.checkout-line-discount span:first-child,
.checkout-line-discount strong {
  color: #146c43;
}

.checkout-total-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.checkout-grand-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1.5px solid #152e25;
  font-size: 1.06rem;
  font-weight: 800;
  color: #0e221c;
}

.checkout-submit-btn {
  width: 100%;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
}

.checkout-legal-note {
  font-size: 0.75rem;
  line-height: 1.48;
  color: var(--ink-muted);
}

.checkout-receipt-box {
  background: #ffffff;
  border: 1.5px solid #165940;
  border-radius: 11px;
  padding: 16px 18px;
  box-shadow: 0 6px 20px rgba(20, 89, 64, 0.1);
}

@media (max-width: 920px) {
  .checkout-body-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .checkout-summary-pane {
    border-left: none;
    border-top: 1px solid #ddd5c5;
  }
  .checkout-summary-sticky {
    position: static;
  }
  .checkout-module-grid,
  .checkout-form-grid,
  .checkout-pay-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media print {
  .no-print, .topbar, .brand-masthead, .site-footer {
    display: none !important;
  }
  .reader-paper {
    box-shadow: none;
    border: none;
    padding: 0;
  }
}

/* =========================================================================
   KONTEXT-SCHNELLRECHNER MITTEN IM BEITRAG & 1-SEITEN-PRÜFPROTOKOLL-BOX
   ========================================================================= */
.mid-article-calc-card {
  margin: 26px 0;
  padding: 20px 22px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7faf8 0%, #eef4f0 100%);
  border: 1.5px solid #16382b;
  border-left: 5px solid #16382b;
  box-shadow: 0 8px 24px rgba(22, 56, 43, 0.07);
}

.mid-calc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.mid-calc-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8c6a2e;
  margin-bottom: 3px;
}

.mid-calc-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.3;
  color: #16382b;
  margin: 0;
}

.mid-calc-sub {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  margin: 4px 0 12px;
  line-height: 1.48;
}

.mid-calc-switcher {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.protocol-lead-box {
  margin-top: 24px;
  padding: 22px 24px;
  background: linear-gradient(180deg, #faf7ef 0%, #f1ead8 100%);
  border: 1.5px solid #16382b;
  border-left: 5px solid #8c6a2e;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(22, 56, 43, 0.06);
}

.protocol-preview-list {
  list-style: none;
  padding: 10px 14px;
  margin: 10px 0 14px;
  background: #ffffff;
  border: 1px solid #ddd5c2;
  border-radius: 7px;
}

.protocol-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #242622;
  padding: 5px 0;
  border-bottom: 1px solid #f0ece1;
}

.protocol-preview-item:last-child {
  border-bottom: none;
}

.protocol-check-square {
  display: inline-block;
  min-width: 14px;
  height: 14px;
  border: 1.5px solid #16382b;
  border-radius: 3px;
  margin-top: 3px;
  background: #f6faf7;
}

.protocol-secondary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.software-filter-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.software-search-input {
  flex: 1 1 240px;
  max-width: 380px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(10, 22, 18, 0.72);
  color: #f7f2e7;
  font-family: inherit;
  font-size: 0.88rem;
}

.software-search-input::placeholder {
  color: #b7cbc2;
}

.checkout-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.checkout-search-input {
  flex: 1 1 220px;
  padding: 8px 12px;
  border-radius: 7px;
  border: 1px solid #cfc7b5;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--ink-primary);
}

.pwa-return-banner {
  margin: 12px 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #eef6f2;
  border: 1px solid #b8dccb;
  color: #134a35;
  font-size: 0.84rem;
  font-weight: 600;
}

.pro-doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* =========================================================================
   EINZEILIGE ZEITUNGS-RUBRIK: WERKSTÜCK DES TAGES (NZZ / FT FEUILLETON-LINIE)
   ========================================================================= */
.daily-module-rubric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  padding: 9px 2px;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  background: transparent;
}

.daily-module-rubric-left {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.daily-module-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-brass);
  flex-shrink: 0;
}

.daily-module-sep {
  color: var(--ink-muted);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.daily-module-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-forest);
  flex-shrink: 0;
}

.daily-module-title-btn {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-serif, Georgia, 'Times New Roman', serif);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-primary);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-module-title-btn:hover {
  color: var(--accent-forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.daily-module-cta-link {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-forest);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

.daily-module-cta-link:hover {
  color: var(--accent-brass);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mk-app-card-spotlight {
  border-color: var(--accent-brass);
  box-shadow: 0 0 0 2px rgba(168, 121, 40, 0.34), 0 12px 28px rgba(13, 23, 20, 0.1);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

@media (max-width: 780px) {
  .daily-module-rubric {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .daily-module-rubric-left {
    white-space: normal;
    flex-wrap: wrap;
  }
  .daily-module-title-btn {
    white-space: normal;
  }
}

/* =========================================================================
   ZEITUNGS-SCHAUBILDER IM ARTIKEL & LIVE-SVG-GRAFIKEN IN ALLEN 30 RECHNERN
   ========================================================================= */
.editorial-chart-figure {
  margin: 26px 0;
  padding: 18px 20px 14px;
  background: #faf7f0;
  border-top: 2px solid #16382b;
  border-bottom: 1px solid #dfd8c5;
  border-left: 1px solid #e6e0d0;
  border-right: 1px solid #e6e0d0;
  border-radius: 6px;
}

.editorial-chart-compact {
  margin: 16px 0;
  padding: 14px 16px 12px;
}

.editorial-chart-kicker {
  display: block;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b08238;
  margin-bottom: 4px;
}

.editorial-chart-title {
  margin: 0 0 4px;
  font-family: var(--font-serif, Georgia, 'Times New Roman', serif);
  font-size: 1.12rem;
  line-height: 1.3;
  color: #1f211d;
}

.editorial-chart-subtitle {
  margin: 0 0 10px;
  font-size: 0.87rem;
  line-height: 1.48;
  color: #5b5e57;
}

.editorial-chart-canvas {
  width: 100%;
  margin: 8px 0 10px;
  overflow: hidden;
}

.editorial-chart-canvas svg,
.mk-live-chart-svg-wrap svg,
.mk-svg-graphic {
  display: block;
  width: 100%;
  height: auto;
}

.editorial-chart-takeaway {
  margin: 8px 0 6px;
  padding-left: 10px;
  border-left: 2px solid #b08238;
  font-size: 0.85rem;
  line-height: 1.48;
  color: #1f211d;
}

.editorial-chart-source {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #5b5e57;
}

.mk-live-chart-box {
  margin: 12px 0;
  padding: 11px 13px 9px;
  border-radius: 7px;
  background: #faf7f0;
  border: 1px solid #dfd8c5;
}

.mk-live-chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.mk-live-chart-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #16382b;
}

.mk-live-chart-legend {
  font-size: 0.74rem;
  color: #5b5e57;
}

.mk-live-chart-svg-wrap svg {
  max-height: 222px;
}

@media print {
  .editorial-chart-figure,
  .mk-live-chart-box {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
    background: #ffffff;
    border-color: #bfb8a5;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .editorial-chart-canvas svg {
    max-height: 265px;
  }
}

/* =========================================================================
   3-STUFEN-PREISARCHITEKTUR (19 € / 39 € / 79 €) & 6 BRANCHEN-BUNDLES
   ========================================================================= */
.badge-tier {
  background: #f3ede0;
  border: 1px solid #d7c9ab;
  color: #5b4319;
  font-weight: 700;
}

.badge-tier-premium {
  background: #16382b;
  border: 1px solid #16382b;
  color: #f5efe2;
  font-weight: 700;
}

.badge-premium-extra {
  background: #fbf4e6;
  border: 1px solid #c99d4b;
  color: #6d4c14;
  font-weight: 600;
}

.mk-bundles-section {
  margin: 18px 0 22px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #faf7f0;
  border: 1px solid #dfd8c5;
}

.mk-bundles-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.mk-bundles-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b08238;
}

.mk-stability-pill {
  font-size: 0.76rem;
  font-weight: 600;
  color: #16382b;
  background: #eef5f1;
  border: 1px solid #bfd8ca;
  border-radius: 999px;
  padding: 3px 10px;
}

.mk-bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.mk-bundle-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid #d5cebc;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
}

.mk-bundle-card:hover {
  border-color: #16382b;
  background: #f6f9f7;
}

.mk-bundle-card.active {
  border-color: #16382b;
  background: #eef5f1;
  box-shadow: 0 0 0 1px #16382b;
}

.mk-bundle-title {
  font-size: 0.87rem;
  font-weight: 700;
  color: #1f211d;
  line-height: 1.32;
}

.mk-bundle-meta {
  font-size: 0.76rem;
  color: #5b5e57;
  line-height: 1.38;
}

.mk-bundle-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: 2px;
  font-size: 0.8rem;
}

.mk-bundle-price-now {
  font-weight: 800;
  color: #16382b;
}

.mk-bundle-savings {
  font-size: 0.73rem;
  font-weight: 700;
  color: #8b611e;
}

.mk-lever-finder-box {
  margin: 10px 0 12px;
  padding: 12px 14px 10px;
  border-radius: 7px;
  background: #f8f4ea;
  border: 1px solid #d5c7a8;
  border-left: 3px solid #b08238;
}

.mk-lever-finder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.mk-lever-finder-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #16382b;
  letter-spacing: 0.01em;
}

.mk-lever-finder-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6d4c14;
  background: #efe5cf;
  border-radius: 999px;
  padding: 2px 8px;
}

.mk-lever-finder-summary {
  margin: 6px 0 3px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1f211d;
  line-height: 1.42;
}

.mk-lever-finder-combo {
  margin: 0;
  font-size: 0.77rem;
  color: #3e5c50;
  line-height: 1.42;
}

/* =========================================================================
   WELLE 4 — SCHAUBILD-GROSSANSICHT, PNG/SVG-EXPORT, RECHNER-ARBEITSBÜHNE & A4-DRUCK
   ========================================================================= */
.mk-zoomable-svg-wrap {
  cursor: zoom-in;
  position: relative;
  border-radius: 6px;
  transition: box-shadow 0.16s ease, transform 0.14s ease;
}

.mk-zoomable-svg-wrap:hover,
.mk-zoomable-svg-wrap:focus-visible {
  box-shadow: 0 0 0 2px rgba(176, 130, 56, 0.65);
  outline: none;
}

.mk-chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px dashed #d8d0bd;
}

.mk-chart-toolbar-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #16382b;
}

.mk-chart-toolbar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.mk-chart-tool-btn {
  appearance: none;
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 4px 9px;
  border-radius: 5px;
  border: 1px solid #cbbda2;
  background: #fffdf8;
  color: #16382b;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.mk-chart-tool-btn:hover {
  background: #efe8d8;
  border-color: #16382b;
}

.mk-chart-tool-btn-primary {
  background: #16382b;
  border-color: #16382b;
  color: #f5efe2;
}

.mk-chart-tool-btn-primary:hover {
  background: #214f3d;
  border-color: #214f3d;
  color: #ffffff;
}

.mk-card-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-expand-calc {
  appearance: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1.5px solid #16382b;
  background: #f5efe2;
  color: #16382b;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.btn-expand-calc:hover {
  background: #16382b;
  color: #f5efe2;
}

/* --- Chart Lightbox Modal (max-width: 1120px, z-index: 1350) --- */
.chart-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1350;
  background: rgba(9, 19, 16, 0.82);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.chart-lightbox-backdrop.hidden {
  display: none;
}

.chart-lightbox-shell {
  width: 100%;
  max-width: 1120px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 12px;
  background: #faf7f0;
  color: #1e211d;
  border: 2px solid #16382b;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.52);
  display: flex;
  flex-direction: column;
}

.chart-lightbox-masthead {
  background: #102820;
  color: #f5efe2;
  padding: 13px 22px;
  border-bottom: 2px solid #b08238;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.chart-lightbox-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.chart-lightbox-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: #f5efe2;
}

.chart-lightbox-brand span {
  font-size: 0.8rem;
  color: #d6cbb4;
}

.chart-lightbox-body {
  padding: 22px 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-lightbox-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #b08238;
}

.chart-lightbox-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.26;
  color: #16382b;
}

.chart-lightbox-subtitle {
  margin: 0;
  font-size: 0.94rem;
  color: #3e5c50;
  line-height: 1.45;
}

.chart-lightbox-stage {
  background: #ffffff;
  border: 1px solid #dfd8c5;
  border-radius: 8px;
  padding: 14px;
}

.chart-lightbox-stage svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 60vh;
}

.chart-lightbox-notes {
  background: #f3ede0;
  border-left: 3px solid #b08238;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.86rem;
  color: #262925;
  line-height: 1.48;
}

.chart-lightbox-notes p {
  margin: 3px 0;
}

.chart-lightbox-footer {
  padding: 14px 26px 20px;
  border-top: 1px solid #dfd8c5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.chart-lightbox-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- 2-Column Calculator Workbench Modal (max-width: 1180px, z-index: 1100) --- */
.calc-workbench-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(9, 19, 16, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.calc-workbench-backdrop.hidden {
  display: none;
}

.calc-workbench-shell {
  width: 100%;
  max-width: 1180px;
  max-height: 93vh;
  overflow: hidden;
  border-radius: 12px;
  background: #faf7f0;
  color: #1e211d;
  border: 2px solid #16382b;
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.calc-workbench-header {
  background: #102820;
  color: #f5efe2;
  padding: 14px 24px;
  border-bottom: 2px solid #b08238;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.calc-workbench-head-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-workbench-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d8af63;
}

.calc-workbench-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.calc-workbench-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  color: #f5efe2;
}

.calc-workbench-head-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-workbench-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.92fr) minmax(0, 1.32fr);
  gap: 22px;
  padding: 22px 24px 26px;
  overflow-y: auto;
  max-height: calc(93vh - 82px);
}

.calc-workbench-left {
  background: #ffffff;
  border: 1px solid #dfd8c5;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
}

.calc-workbench-left .form-grid {
  grid-template-columns: 1fr;
  gap: 13px;
}

.calc-workbench-left .field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #16382b;
}

.calc-workbench-left .field input,
.calc-workbench-left .field select {
  font-size: 0.98rem;
  padding: 9px 11px;
}

.calc-workbench-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-workbench-right .mk-live-chart-svg-wrap svg {
  max-height: 290px;
}

.calc-workbench-right .mk-kpi-box strong {
  font-size: 1.22rem;
}

.calc-workbench-cta-bar {
  background: #f3ede0;
  border: 1px solid #d5c7a8;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 920px) {
  .calc-workbench-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Dedicated 1-Page DIN A4 Print Stage (#mk-print-stage) --- */
.mk-print-stage {
  display: none;
}

.mk-print-sheet {
  background: #ffffff;
  color: #1c1e1b;
  border: 1.5px solid #16382b;
  border-radius: 6px;
  padding: 16px 20px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.mk-print-masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid #16382b;
}

.mk-print-masthead-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: #16382b;
}

.mk-print-masthead-brand span {
  display: block;
  font-size: 0.74rem;
  color: #4b5049;
}

.mk-print-masthead-meta {
  text-align: right;
  font-size: 0.76rem;
  font-weight: 700;
  color: #16382b;
}

.mk-print-title {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  color: #16382b;
}

.mk-print-subtitle {
  margin: 0 0 12px;
  font-size: 0.84rem;
  color: #3e5c50;
}

.mk-print-section-label {
  margin: 10px 0 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b611e;
}

.mk-print-params-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 14px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: #faf7f0;
  border: 1px solid #dfd8c5;
  border-radius: 5px;
}

.mk-print-param-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
  border-bottom: 1px dotted #e0d9c8;
  padding-bottom: 2px;
}

.mk-print-param-row span {
  color: #4b5049;
}

.mk-print-param-row strong {
  color: #16382b;
  text-align: right;
}

.mk-print-kpis-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.mk-print-kpi-cell {
  background: #f6f8f6;
  border: 1px solid #c9d6cf;
  border-top: 2.5px solid #16382b;
  border-radius: 5px;
  padding: 7px 9px;
}

.mk-print-kpi-cell small {
  display: block;
  font-size: 0.68rem;
  color: #4b5049;
  margin-bottom: 2px;
}

.mk-print-kpi-cell strong {
  display: block;
  font-size: 0.92rem;
  color: #16382b;
}

.mk-print-svg-frame {
  margin: 8px 0 10px;
  padding: 6px;
  border: 1px solid #dfd8c5;
  border-radius: 5px;
  background: #faf7f0;
  break-inside: avoid;
  page-break-inside: avoid;
}

.mk-print-svg-frame svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 225px;
}

.mk-print-note {
  margin: 8px 0;
  padding: 8px 11px;
  background: #faf7f0;
  border-left: 3px solid #b08238;
  font-size: 0.76rem;
  line-height: 1.42;
  color: #252824;
}

.mk-print-footer {
  margin-top: 10px;
  padding-top: 7px;
  border-top: 1px solid #d5cebc;
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #5b5e57;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 10mm;
  }
  .mk-chart-toolbar,
  .btn-expand-calc {
    display: none !important;
  }
  body.mk-printing-single-sheet > *:not(#mk-print-stage) {
    display: none !important;
  }
  body.mk-printing-single-sheet #mk-print-stage {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #1c1e1b;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  body.mk-printing-single-sheet .mk-print-sheet {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
  }
}

/* =========================================================================
   WELLE 5 — KONTAKT-VERZEICHNIS, DEMO-VS.-LIZENZ-SCHRANKE, LIZENZ-RECOVERY & 30-TAGE-PULS
   ========================================================================= */
.badge-licensed-active {
  background: #16382b;
  border: 1px solid #16382b;
  color: #e9f7ef;
  font-weight: 800;
}

.badge-demo-preview {
  background: #f5efe2;
  border: 1px solid #cbbda2;
  color: #5b4319;
  font-weight: 700;
}

.badge-pulse-due {
  background: #fff4df;
  border: 1px solid #c98e2b;
  color: #704809;
  font-weight: 800;
}

.mk-demo-edits-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #5b4319;
  background: #f7f1e3;
  border: 1px solid #dfd2b7;
  border-radius: 999px;
  padding: 2px 9px;
}

.mk-license-gate-box {
  margin: 12px 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fcf8ee 0%, #f4ecda 100%);
  border: 1.5px solid #b08238;
  border-left: 4px solid #16382b;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mk-license-gate-box strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  color: #16382b;
}

.mk-license-gate-box p {
  margin: 0;
  font-size: 0.84rem;
  color: #2b2e29;
  line-height: 1.45;
}

.mk-lever-locked-teaser {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f2ead8;
  border: 1px dashed #b08238;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: #3d3118;
}

.mk-license-recover-drawer {
  margin: 14px 0 8px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f6f3ea;
  border: 1px solid #d7cebc;
}

.mk-license-recover-drawer summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: #16382b;
}

.mk-recover-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  align-items: end;
}

.mk-checkout-gate-banner {
  margin: 0 0 14px;
  padding: 12px 15px;
  border-radius: 8px;
  background: #fbf4e4;
  border: 1px solid #cfa55a;
  border-left: 4px solid #b08238;
  font-size: 0.86rem;
  font-weight: 600;
  color: #3d2c0e;
  line-height: 1.44;
}

.mk-pulse-gate-card {
  margin: 18px 0 24px;
  padding: 22px 24px;
  border-radius: 12px;
  background: #faf7f0;
  border: 2px solid #16382b;
  border-top: 5px solid #b08238;
  box-shadow: 0 12px 32px rgba(22, 56, 43, 0.09);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mk-pulse-gate-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  color: #16382b;
}

.mk-pulse-char-counter {
  font-size: 0.82rem;
  font-weight: 700;
  color: #5b4319;
}

.mk-pulse-char-counter.ready {
  color: #16382b;
}

.mk-pulse-triage-banner {
  margin: 12px 0 16px;
  padding: 14px 18px;
  border-radius: 9px;
  background: #eef6f1;
  border: 1.5px solid #2b6a4f;
  color: #133326;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mk-pulse-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #16382b;
  background: #eaf3ee;
  border: 1px solid #bdd6c7;
  border-radius: 999px;
  padding: 3px 11px;
}

.mk-contact-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(222px, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}

.mk-contact-mail-card {
  padding: 12px 14px;
  border-radius: 8px;
  background: #faf7f0;
  border: 1px solid #dfd8c5;
  border-top: 3px solid #16382b;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.mk-contact-mail-card small {
  font-size: 0.74rem;
  font-weight: 700;
  color: #5b5e57;
}

.mk-contact-mail-link {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: #16382b;
  text-decoration: none;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.mk-contact-mail-link:hover {
  text-decoration: underline;
}

/* =========================================================================
   WELLE 7 — 5-SEKUNDEN-KLARHEIT, SAMSTAGS-BRIEFING ABOVE-THE-FOLD,
   VOLLTEXTSUCHE & PAGINATION, KUPFERSTICH-PRÜFSIEGEL & GLASKASTEN,
   SELF-SERVICE-KÜNDIGUNG, RECHTSSTAND & MOBILE 375PX POLISH
   ========================================================================= */

/* --- Above-the-Fold 2-Spalten-Kopfbalken im Magazin --- */
.mk-clarity-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
  padding: 20px 24px;
  border-radius: 10px;
  background: linear-gradient(180deg, #faf7f0 0%, #f3ede0 100%);
  border: 1.5px solid #16382b;
  border-top: 4px solid #8c6239;
  box-shadow: 0 8px 24px rgba(19, 42, 35, 0.06);
}

.mk-clarity-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.mk-clarity-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8c6239;
}

.mk-clarity-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.22rem, 2vw, 1.52rem);
  line-height: 1.24;
  color: #132a23;
}

.mk-clarity-sub {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.48;
  color: var(--ink-secondary);
}

.mk-clarity-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.mk-clarity-right {
  background: #ffffff;
  border: 1px solid #d7cebc;
  border-left: 4px solid #1b4332;
  border-radius: 8px;
  padding: 15px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.mk-clarity-briefing-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.mk-clarity-briefing-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: #132a23;
}

.mk-clarity-briefing-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1b6e4f;
  background: #e6f4ee;
  border-radius: 999px;
  padding: 2px 9px;
}

.mk-clarity-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}

.mk-clarity-email-input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1px solid #c5bcab;
  border-radius: 6px;
  background: #fffdf9;
  color: var(--ink-primary);
}

.mk-clarity-email-input:focus {
  outline: 2px solid var(--accent-emerald);
  border-color: var(--accent-emerald);
}

.mk-clarity-trustline {
  font-size: 0.76rem;
  color: var(--ink-muted);
  line-height: 1.38;
}

/* --- Magazin-Volltextsuche & 24er-Pagination --- */
.magazine-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ece5d6;
}

.magazine-search-input {
  flex: 1 1 280px;
  max-width: 100%;
  padding: 9px 14px;
  border: 1.5px solid #c8bfae;
  border-radius: 7px;
  font-family: inherit;
  font-size: 0.92rem;
  background: #fffdf9;
  color: var(--ink-primary);
}

.magazine-search-input:focus {
  outline: 2px solid var(--accent-emerald);
  border-color: var(--accent-emerald);
  background: #ffffff;
}

.magazine-match-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-secondary);
  font-variant-numeric: tabular-nums;
}

.mk-pagination-bar {
  margin: 26px 0 8px;
  padding: 16px 20px;
  border-radius: 9px;
  background: var(--bg-linen);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mk-pagination-count {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-secondary);
  font-variant-numeric: tabular-nums;
}

/* --- Footer Trust-Links & Reader Header Actions --- */
.footer-trust-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 2px 0;
}

.footer-link-sep {
  color: #8f9d96;
  font-size: 0.8rem;
}

.reader-top-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* --- Dezenter Rechtsstand- & Orientierungshinweis (§ 2 RDG / § 5 StBerG) --- */
.mk-legal-status-line {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-subtle);
  font-size: 0.76rem;
  line-height: 1.44;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
}

.mk-legal-status-line a {
  color: #1b4332;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Kupferstich-Prüfsiegel, 0-Byte-Cloud & Glaskasten-Rechenweg --- */
.mk-seal-banner {
  margin: 14px 0 18px;
  padding: 16px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #faf7f0 0%, #f2ebdc 100%);
  border: 1.5px solid #1b4332;
  border-left: 5px solid #8c6239;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 6px 18px rgba(27, 67, 50, 0.08);
}

.mk-seal-svg-wrap {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mk-seal-svg-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mk-seal-copy {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mk-seal-copy strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #132a23;
  line-height: 1.3;
}

.mk-seal-copy p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ink-secondary);
}

.mk-seal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.mk-seal-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  background: #ffffff;
  color: #1b4332;
  border: 1px solid #c9d6cf;
}

.mk-trust-strip {
  margin: 4px 0 8px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #faf7f0;
  border: 1px solid #dfd7c5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.mk-seal-badge-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #8c6239;
  background: #fffdf8;
  color: #1b4332;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.mk-seal-badge-btn:hover {
  background: #f5ebd9;
  border-color: #1b4332;
}

.mk-seal-badge-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mk-zero-cloud-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  color: #165940;
  background: #e7f4ee;
  border: 1px solid #beddcc;
}

.mk-formula-glassbox {
  flex: 1 1 100%;
  width: 100%;
  margin-top: 2px;
  border-radius: 7px;
  background: #fffdf9;
  border: 1px solid #ded6c6;
  padding: 7px 11px;
}

.mk-formula-summary {
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1b4332;
  line-height: 1.38;
  list-style-position: inside;
}

.mk-formula-summary:hover {
  color: #8c6239;
}

.mk-formula-body {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed #dfd6c3;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.8rem;
  line-height: 1.48;
  color: var(--ink-primary);
}

.mk-formula-body code,
.mk-formula-code {
  display: block;
  padding: 7px 10px;
  border-radius: 5px;
  background: #f4efe3;
  border-left: 3px solid #8c6239;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.77rem;
  color: #132a23;
  white-space: pre-wrap;
  word-break: break-word;
}

.mk-formula-list {
  margin: 2px 0;
  padding-left: 18px;
  color: var(--ink-secondary);
}

.mk-formula-list li {
  margin-bottom: 3px;
}

.mk-formula-meta {
  padding-top: 5px;
  border-top: 1px dotted #e3dbca;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.mk-seal-badge-btn .mk-seal-hash-code {
  display: inline;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.71rem;
  word-break: normal;
}

.mk-checkout-trust-box {
  margin: 8px 0 10px;
  padding: 14px 15px;
  border-radius: 10px;
  background: linear-gradient(180deg, #faf7f0 0%, #f3ecdd 100%);
  border: 1px solid #cbbda2;
  border-left: 4px solid #1b4332;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.8rem;
  line-height: 1.44;
  color: #1c2d27;
}

.mk-checkout-seal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mk-checkout-seal-crest {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mk-checkout-seal-crest svg {
  width: 48px;
  height: 48px;
  display: block;
}

.mk-checkout-seal-titles {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.mk-checkout-seal-kicker {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8c6239;
  line-height: 1.25;
}

.mk-checkout-seal-heading {
  font-family: var(--font-serif);
  font-size: 0.96rem;
  color: #132a23;
  line-height: 1.28;
  margin: 0;
}

.mk-checkout-seal-link {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  margin-top: 1px;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  color: #1b6e4f;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.mk-checkout-seal-link:hover {
  color: #132a23;
}

.mk-checkout-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mk-checkout-benefit-item {
  display: block;
  padding: 5px 10px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #dfd7c5;
  color: #1b4332;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
}

.mk-checkout-trust-box .mk-seal-svg-wrap {
  width: 52px;
  height: 52px;
}

/* --- Prüfsiegel-Protokoll-Modal --- */
.mk-seal-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1550;
  background: rgba(9, 19, 16, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.mk-seal-modal-backdrop.hidden {
  display: none;
}

.mk-seal-modal-card {
  width: 100%;
  max-width: 740px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  background: #faf7f0;
  color: #142620;
  border: 2px solid #1b4332;
  border-top: 5px solid #8c6239;
  padding: 22px 26px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mk-seal-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ddd4c1;
}

.mk-seal-modal-header h2,
.mk-seal-modal-header h3 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  color: #132a23;
}

.mk-seal-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.mk-seal-modal-grid > div {
  background: #ffffff;
  border: 1px solid #dfd7c5;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.83rem;
}

.mk-seal-hash-code {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  background: #102820;
  color: #f5efe2;
  border: 1px solid #2b5444;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.78rem;
  word-break: break-all;
}

/* --- EU Reverse-Charge Pflichtfeld-Box, DSGVO Opt-in & Self-Service-Kündigung --- */
.mk-reverse-charge-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 9px;
  background: #fcf8ee;
  border: 1.5px solid #c9a259;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-optin-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-linen);
  border: 1px solid var(--border-subtle);
  font-size: 0.83rem;
  line-height: 1.44;
  color: var(--ink-secondary);
  cursor: pointer;
}

.mk-optin-row input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
}

.mk-cancel-confirm-box {
  margin: 12px 0 16px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #fffaf2;
  border: 1.5px solid #b08238;
  color: #1e211d;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-cancel-confirm-box strong {
  font-family: var(--font-serif);
  color: #16382b;
}

.mk-cancel-success-banner {
  margin: 12px 0 16px;
  padding: 14px 18px;
  border-radius: 9px;
  background: #eef6f1;
  border: 1.5px solid #1b6e4f;
  color: #133326;
  font-size: 0.88rem;
  line-height: 1.48;
}

/* --- Faktengeprüfte Fachkommentare, Errata & Praxis-Korrekturen (Wave 7 Live-Mandat) --- */
.mk-comments-card {
  margin: 26px 0;
  padding: 22px 24px;
  border-radius: 12px;
  background: #faf7f0;
  border: 1.5px solid #1b4332;
  border-top: 4px solid #8c6239;
  box-shadow: 0 6px 20px rgba(19, 42, 35, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mk-comments-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
}

.mk-comments-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.24rem;
  color: #132a23;
}

.mk-comments-sub {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.mk-errata-box {
  padding: 14px 16px;
  border-radius: 9px;
  background: #eaf5ef;
  border: 1.5px solid #1b6e4f;
  border-left: 5px solid #1b6e4f;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mk-errata-title {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
  color: #124732;
}

.mk-errata-item {
  padding-top: 6px;
  border-top: 1px dashed #b9decb;
  font-size: 0.85rem;
  line-height: 1.48;
  color: #18362a;
}

.mk-errata-item:first-of-type {
  padding-top: 0;
  border-top: none;
}

.mk-verified-comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mk-verified-comment {
  padding: 14px 16px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid #dbd2c0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mk-verified-comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.mk-verified-comment-body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-primary);
  white-space: pre-wrap;
}

.mk-factcheck-reply {
  padding: 10px 12px;
  border-radius: 7px;
  background: #f3efe4;
  border-left: 3px solid #8c6239;
  font-size: 0.83rem;
  line-height: 1.46;
  color: #22352d;
}

.mk-comment-form-box {
  padding-top: 12px;
  border-top: 1px solid #dfd7c5;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mk-comment-success-box {
  padding: 14px 16px;
  border-radius: 9px;
  background: #e8f5ee;
  border: 1.5px solid #1b6e4f;
  color: #123d2b;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
}

.mk-hp-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* --- Leuchtender Umsetzungs-Haken, Wichtig-Voting & Rechner-/Grafik-Kommentardrawer --- */
.mk-implemented-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: #15803D;
  color: #DCFCE7;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.22);
  vertical-align: middle;
  cursor: help;
}

.mk-comment-meta-right {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.mk-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #cdbda0;
  background: #fbf8f1;
  color: #16382b;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mk-vote-btn:hover:not(:disabled) {
  background: #f0e8d6;
  border-color: #8c6239;
}

.mk-vote-btn.voted {
  background: #16382b;
  border-color: #16382b;
  color: #faf7f0;
}

.mk-calc-qa-drawer {
  margin-top: 10px;
  border: 1px solid #d9d0bd;
  border-radius: 9px;
  background: #faf7f0;
  overflow: hidden;
}

.mk-calc-qa-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 9px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #16382b;
  background: linear-gradient(180deg, #fcfaf5 0%, #f4efe2 100%);
  user-select: none;
}

.mk-calc-qa-summary::-webkit-details-marker {
  display: none;
}

.mk-calc-qa-drawer[open] .mk-calc-qa-summary {
  border-bottom: 1px solid #dfd7c5;
}

.mk-calc-qa-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-calc-qa-sub {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.mk-calc-qa-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mk-calc-qa-item {
  padding: 10px 12px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #dbd2c0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mk-calc-qa-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.77rem;
  color: var(--ink-muted);
}

.mk-calc-qa-item-body {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-primary);
  white-space: pre-wrap;
}

.mk-calc-qa-answer {
  padding: 8px 10px;
  border-radius: 6px;
  background: #f3efe4;
  border-left: 3px solid #8c6239;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #22352d;
}

.mk-calc-qa-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #e4dccb;
}

.mk-calc-qa-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
}

.mk-member-weight-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fdf6e7 0%, #f2dfb7 100%);
  border: 1px solid #b5853b;
  color: #5c3b09;
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.mk-guest-reputation-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f5efe0;
  border: 1px solid #d8caa8;
  font-size: 0.79rem;
  line-height: 1.42;
  color: #2c3832;
}

.mk-guest-reputation-link {
  border: none;
  background: none;
  padding: 0;
  color: #16382b;
  font-weight: 800;
  font-size: 0.79rem;
  text-decoration: underline;
  cursor: pointer;
}

.mk-leaderboard-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid #b5853b;
  background: linear-gradient(180deg, #fcf8ee 0%, #f2e4c6 100%);
  color: #4b3109;
  font-size: 0.77rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mk-leaderboard-trigger-btn:hover {
  background: #eedab2;
  border-color: #8c6239;
}

.mk-leaderboard-card {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #faf7f0;
  border: 1px solid #d5c7a8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-leaderboard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.mk-leaderboard-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  color: #16382b;
}

.mk-leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mk-leaderboard-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #dbd2c0;
}

.mk-leaderboard-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.mk-leaderboard-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 6px;
  border-radius: 6px;
  background: #16382b;
  color: #faf7f0;
  font-size: 0.76rem;
  font-weight: 800;
}

.mk-leaderboard-stats {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #16382b;
}

.mk-leaderboard-stat-applied {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mk-leaderboard-empty {
  padding: 12px 14px;
  border-radius: 8px;
  background: #f4efe2;
  border: 1px dashed #c8b896;
  font-size: 0.82rem;
  line-height: 1.48;
  color: #3a4640;
}

/* --- Optisches Wappen-Prüfsiegel für Geheimschutz (.mk-secret-shield-bar) --- */
.mk-secret-shield-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 10px 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fcfaf4 0%, #f3ecdc 100%);
  border: 1.5px solid #c5a059;
  box-shadow: 0 3px 10px rgba(22, 56, 43, 0.06);
  color: #16382b;
}

.mk-secret-shield-plaque {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-radius: 6px;
}

.mk-secret-shield-plaque:hover .mk-secret-shield-kicker {
  color: #0f5132;
  text-decoration: underline;
}

.mk-secret-shield-emblem {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mk-secret-shield-emblem svg {
  width: 44px;
  height: 44px;
  display: block;
}

.mk-secret-shield-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mk-secret-shield-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #16382b;
  line-height: 1.25;
}

.mk-secret-shield-sub {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #2b3a33;
}

.mk-secret-zero-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #c5b494;
  background: #ffffff;
  color: #16382b;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mk-secret-zero-btn:hover {
  background: #f5efe0;
  border-color: #8c6239;
}

.mk-field-local-lock {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #edf7f1;
  border: 1px solid #9dcbb1;
  color: #14532d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  vertical-align: middle;
  cursor: help;
}

@media print {
  .mk-calc-qa-drawer,
  .mk-vote-btn,
  .mk-leaderboard-trigger-btn,
  .mk-guest-reputation-hint,
  .mk-leaderboard-card,
  .mk-secret-shield-bar,
  .mk-field-local-lock {
    display: none !important;
  }
}

/* --- Aktive Filter-Leiste & Mobile Direkt-Sprung zum 1. Artikel --- */
.mk-results-anchor {
  scroll-margin-top: 14px;
}

.mk-active-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 9px;
  background: #edf6f1;
  border: 1px solid #b6dac8;
  border-left: 4px solid #165940;
}

.mk-active-filter-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mk-active-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #165940;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

.mk-active-filter-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: #16382b;
}

.mk-active-filter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

/* --- Globale Grid-MinWidth-Sicherung gegen Artikel- & Modal-Beschnitt --- */
ul.editorial-grid {
  list-style: none;
  padding: 0;
  margin: 0;
}

.reader-layout > *,
.reader-companion-column > *,
.reader-prose,
.article-faq-card,
.faq-top-list,
.faq-item-box,
.faq-more-details,
.mk-comments-card,
.mk-comment-form-box,
.form-grid,
.field,
.checkout-main-pane,
.checkout-summary-pane,
.checkout-step-card,
.mk-bundles-section,
.mk-bundles-grid,
.mk-recover-grid,
.article-card {
  min-width: 0;
  max-width: 100%;
}

.faq-top-list,
.checkout-fusion-list {
  grid-template-columns: minmax(0, 1fr);
}

.faq-wiki-pill {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.field input,
.field select,
.field textarea {
  min-width: 0;
  max-width: 100%;
}

.reader-title,
.reader-subtitle,
.reader-prose p,
.article-card h2,
.article-card p,
.mk-comments-title,
.checkout-step-title {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.badge {
  max-width: 100%;
  overflow-wrap: break-word;
}

.table-clean th,
.table-clean td,
.table-clean code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* --- Mobile 360px–860px Overflow-Schutz (0 px Horizontal-Overflow) --- */
@media (max-width: 920px) {
  .calc-workbench-grid,
  .rsvp-focus-stage-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .mk-clarity-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 18px;
  }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: clip;
  }
  .container {
    padding: 0 14px;
  }
  .topbar-inner {
    padding-top: 6px;
    padding-bottom: 6px;
    gap: 6px 10px;
  }
  .topbar-meta {
    font-size: 0.75rem;
    line-height: 1.35;
    width: 100%;
  }
  .topbar-controls {
    width: 100%;
    justify-content: flex-start;
    gap: 6px 10px;
  }
  .brand-wordmark strong {
    font-size: 1.36rem;
  }
  .main-nav {
    width: 100%;
    gap: 6px;
  }
  .nav-tab {
    padding: 7px 11px;
    font-size: 0.83rem;
  }
  .editorial-grid,
  .mk-apps-grid,
  .form-grid,
  .reader-companion-column .form-grid,
  .mk-bundles-grid,
  .mk-recover-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .reader-paper,
  .tool-sidebar-card,
  .tool-panel,
  .mk-app-card,
  .mk-comments-card,
  .mid-article-calc-card,
  .editorial-chart-figure,
  .editorial-companion-drawer,
  .article-faq-card,
  .modal-card {
    padding: 16px 14px;
  }
  .modal-backdrop {
    padding: 10px;
  }
  .checkout-header {
    padding: 14px 16px;
  }
  .checkout-main-pane,
  .checkout-summary-pane {
    padding: 14px;
  }
  .checkout-step-card,
  .checkout-summary-card,
  .mk-bundles-section {
    padding: 14px 12px;
  }
  .mk-contact-mail-link {
    white-space: normal;
  }
  .table-clean {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .reader-title {
    font-size: 1.48rem;
  }
  .mk-seal-banner {
    padding: 14px;
  }
  .mk-seal-svg-wrap {
    width: 68px;
    height: 68px;
  }
  .mk-seal-modal-card {
    padding: 16px;
  }
}

/* =========================================================================
   TAG-1 PURISTISCHER NZZ / ECONOMIST SCHNITT, SCHAUFENSTER-KARTE & BERUFS-ROLLE
   ========================================================================= */
body:not(.is-authenticated) .mk-auth-only-control {
  display: none !important;
}

.mk-showcase-calc-card {
  margin: 26px 0 22px;
  padding: 20px 22px;
  background: #faf7f0;
  border: 1px solid #d5cbb6;
  border-top: 3px solid #16382b;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.mk-showcase-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7c581c;
}

.mk-showcase-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  line-height: 1.3;
  color: #16382b;
}

.mk-showcase-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.52;
  color: #2c302b;
}

.mk-showcase-norm {
  font-size: 0.79rem;
  color: #4f554d;
}

.mk-login-gate-card {
  margin-top: 14px;
  padding: 18px 20px;
  background: #f8f4ea;
  border: 1px solid #d7ccb6;
  border-left: 4px solid #16382b;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-login-gate-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  line-height: 1.35;
  color: #16382b;
}

.mk-login-gate-sub {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.48;
  color: #353933;
}

.mk-practitioner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  background: #eef5f1;
  border: 1px solid #95b5a6;
  color: #16382b;
}

.mk-role-picker-box {
  margin: 10px 0 12px;
  padding: 14px 16px;
  background: #faf7f0;
  border: 1px solid #dbd2bf;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-role-picker-kicker {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #16382b;
}

.mk-role-switch-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mk-role-switch-btn {
  appearance: none;
  border: 1px solid #c9bfaa;
  background: #ffffff;
  color: #252924;
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.mk-role-switch-btn:hover {
  border-color: #16382b;
}

.mk-role-switch-btn.active {
  background: #16382b;
  border-color: #16382b;
  color: #f6f2e8;
}

.mk-bookmarks-desk-card {
  margin: 14px 0 18px;
  padding: 16px 18px;
  background: #faf7f0;
  border: 1px solid #dbd2bf;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-bookmark-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid #e4dccb;
  border-radius: 6px;
}

.mk-bookmark-title-btn {
  background: none;
  border: none;
  padding: 0;
  color: #16382b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.mk-bookmark-title-btn:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .mk-showcase-calc-card,
  .mk-login-gate-card,
  .mk-role-picker-box,
  .mk-bookmarks-desk-card {
    padding: 14px 12px;
  }
  .mk-role-switch-group {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================================
   GRÜNDUNGS-PRAXIS-BEIRAT (19 € NETTO · 25 PLÄTZE JE GEWERK) & KELLNER-WAHL
   ========================================================================= */
.mk-beirat-slot-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 6px;
  background: #f3ede0;
  border: 1px solid #c5a059;
  color: #16382b;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  align-self: flex-start;
}

.mk-kellner-choice-box {
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #dcd3c0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mk-kellner-choice-kicker {
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5c5342;
}

.mk-kellner-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mk-kellner-option-btn {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 11px 13px;
  border-radius: 7px;
  border: 1.5px solid #cfc5b0;
  background: #fcfaf5;
  color: #1d241f;
  text-align: left;
  cursor: pointer;
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.mk-kellner-option-btn:hover {
  border-color: #16382b;
  background: #f6f1e5;
}

.mk-kellner-option-btn.active {
  border-color: #16382b;
  background: #eef5f1;
  box-shadow: inset 0 0 0 1px #16382b;
}

.mk-kellner-option-btn.mk-kellner-option-beirat {
  border-color: #b9934c;
  background: #fbf7ec;
}

.mk-kellner-option-btn.mk-kellner-option-beirat.active {
  border-color: #16382b;
  background: #eef5f1;
}

.mk-kellner-option-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 8px;
  width: 100%;
  font-size: 0.87rem;
  font-weight: 800;
  color: #16382b;
}

.mk-kellner-option-price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #7c581c;
}

.mk-kellner-option-desc {
  font-size: 0.78rem;
  line-height: 1.42;
  color: #3a4039;
}

.mk-beirat-promise-note {
  margin-top: 2px;
  padding: 8px 11px;
  border-radius: 6px;
  background: #f4efe2;
  border-left: 3px solid #9a6b2f;
  font-size: 0.8rem;
  line-height: 1.44;
  color: #2c332d;
}

.mk-beirat-qualification-box {
  margin: 8px 0 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #faf6eb;
  border: 1px solid #d5c5a1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-beirat-practitioner-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.42;
  color: #16382b;
  cursor: pointer;
}

.mk-beirat-practitioner-check input {
  margin-top: 3px;
}

@media (max-width: 720px) {
  .mk-kellner-choice-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.mk-archive-notice {
  margin: 0 0 22px;
  padding: 16px 20px;
  border-radius: 10px;
  background: #faf6eb;
  border: 1px solid #d5c5a1;
  border-left: 4px solid #9a6b2f;
  color: #1f2b26;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mk-archive-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 9px;
  border-radius: 999px;
  background: #ebe2ce;
  color: #5d411c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mk-archive-notice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #36413b;
}

.mk-archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.mk-archive-notice .btn-outline {
  color: #16382b;
  background: #fffdf8;
  border: 1px solid #b9ac8e;
}

.mk-archive-notice .btn-outline:hover {
  background: #f1ead8;
  color: #0e271e;
}





/* ============================================================================
   MORGENKONTOR — KLARES WEISS, MK-TANNENGRÜN, SCROLL-MORPH & RECHTES 5ER-DOCK
   ============================================================================ */

.mk-logo-badge {
  background: #132a23;
  color: #f5ecd8;
  border: 2px solid var(--accent-brass);
  font-family: var(--font-serif);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  user-select: none;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(19, 42, 35, 0.10);
}

.mk-logo-hero {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  font-size: 25px;
  margin: 0 auto 26px;
}

.mk-logo-sm {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  font-size: 13px;
  border-width: 1.5px;
  box-shadow: none;
}

/* 1. SCROLL-MORPH HEADER (4 BUTTONS: Fachmagazin · Software · Sprache · Dark/Bright) */
.morph-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 66px;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  z-index: 220;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease, background-color 0.25s ease;
}

.morph-header.is-visible,
body.is-subview .morph-header {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  border-bottom-color: var(--border-subtle);
}

.morph-header-inner {
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink-primary);
  min-width: 0;
}

.header-brand:hover {
  text-decoration: none;
}

.header-wordmark {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 17.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hdr-btn,
#topbarKontorDeckLink.hdr-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 14px;
  min-height: 40px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none !important;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.hdr-btn:hover,
#topbarKontorDeckLink.hdr-btn:hover {
  color: var(--ink-primary);
  background: var(--bg-linen);
  border-color: transparent;
}

.hdr-btn.active {
  background: #132a23;
  color: #ffffff;
  border-color: #132a23;
  font-weight: 500;
}

html[data-theme="dark"] .hdr-btn.active {
  background: #21473b;
  border-color: var(--accent-brass);
  color: #ffffff;
}

.hdr-mode-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: transparent;
  color: var(--ink-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
  flex-shrink: 0;
}

.hdr-mode-btn:hover {
  background: var(--bg-linen);
  border-color: var(--border-strong);
}

.lang-wrap {
  position: relative;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 164px;
  background: var(--dock-panel-bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  z-index: 300;
}

.lang-menu .lang-switch {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: transparent;
  padding: 0;
  border: none;
}

.lang-menu .lang-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 9px 12px;
  min-height: 40px;
  border-radius: 5px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.lang-menu .lang-btn:hover {
  background: var(--bg-linen);
}

.lang-menu .lang-btn.active {
  font-weight: 700;
  color: var(--accent-emerald);
  background: rgba(19, 42, 35, 0.06);
}

html[data-theme="dark"] .lang-menu .lang-btn.active {
  background: rgba(79, 209, 165, 0.12);
}

/* 2. ERSTER BILDSCHIRM (100dvh): NUR MK-LOGO + MORGENKONTOR + UNTERSCHRIFT */
body:not(.is-subview) .main-stage {
  padding-top: 0;
}

body.is-subview .main-stage {
  padding-top: 98px;
  padding-right: 64px;
}

.pure-opening-stage {
  min-height: 100dvh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--bg-paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  position: relative;
  transition: background-color 0.25s ease;
}

.hero-centerpiece {
  max-width: 960px;
  margin: 0 auto;
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.hero-centerpiece.is-scrolled {
  transform: translate3d(0, -54px, 0) scale(0.72);
  opacity: 0.14;
}

@keyframes mkHeroScrollShrink {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  to {
    transform: translate3d(0, -72px, 0) scale(0.55);
    opacity: 0;
  }
}

@supports (animation-timeline: scroll()) {
  .hero-centerpiece,
  .hero-centerpiece.is-scrolled {
    transition: none;
    animation: mkHeroScrollShrink linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 44vh;
  }
}

.hero-brand {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.15rem, 6.2vw, 4.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-primary);
  margin: 0;
  line-height: 1.06;
  padding-left: 0.16em;
}

.hero-rule {
  width: 56px;
  height: 2px;
  background: #132a23;
  margin: 24px auto 20px;
}

html[data-theme="dark"] .hero-rule {
  background: var(--accent-brass);
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.5vw, 1.22rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--ink-muted);
  margin: 0;
}

/* 3. RECHTS MITLAUFENDE 5 KLEINE SEITEN-LASCHEN (SEITLICH AUFKLAPPEND) */
.right-edge-dock {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(18px);
  z-index: 210;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.right-edge-dock.is-visible,
body.is-subview .right-edge-dock {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.dock-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.dock-pill {
  height: 42px;
  max-width: 42px;
  overflow: hidden;
  background: var(--dock-bg);
  color: var(--dock-fg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: -4px 6px 18px rgba(19, 42, 35, 0.14);
  transition: max-width 0.28s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.18s ease, padding 0.22s ease;
}

.dock-pill svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.dock-label {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: 0;
  transition: opacity 0.2s ease;
  padding-right: 4px;
}

.dock-item:hover .dock-pill,
.dock-item:focus-within .dock-pill,
.dock-item.is-open .dock-pill {
  max-width: 210px;
  background: var(--pine-mid);
  padding-right: 14px;
}

.dock-item:hover .dock-label,
.dock-item:focus-within .dock-label,
.dock-item.is-open .dock-label {
  opacity: 1;
}

.dock-pill.has-filter {
  border-left: 3px solid var(--accent-brass);
}

.dock-flyout {
  position: absolute;
  right: 100%;
  top: 0;
  margin-right: 6px;
  min-width: 228px;
  max-height: 70dvh;
  overflow-y: auto;
  background: var(--dock-panel-bg);
  color: var(--ink-primary);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 8px;
  box-shadow: -10px 14px 36px rgba(17, 27, 24, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.dock-item:hover .dock-flyout,
.dock-item:focus-within .dock-flyout,
.dock-item.is-open .dock-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.flyout-heading {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 4px 10px 6px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4px;
}

.flyout-opt {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 8px 10px;
  min-height: 38px;
  border-radius: 5px;
  font-size: 13.5px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

.flyout-opt:hover {
  background: var(--bg-linen);
  color: var(--ink-primary);
}

.flyout-opt.active {
  background: rgba(19, 42, 35, 0.08);
  color: var(--accent-emerald);
  font-weight: 600;
}

html[data-theme="dark"] .flyout-opt.active {
  background: rgba(79, 209, 165, 0.14);
}

/* 4. GROSSE ARTIKELBILDER UNTER DEM AUFTAKT (ERST BEIM SCROLLEN SICHTBAR) */
.articles-stage {
  max-width: 1220px;
  margin: 0 auto;
  padding: 24px 48px 92px 0;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1), transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.articles-stage.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.articles-stage .editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px 42px;
  margin-top: 8px;
}

.articles-stage .article-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: none;
}

.articles-stage .article-card:hover {
  transform: none;
  box-shadow: none;
}

.articles-stage .card-cover-wrap {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-linen);
  border-radius: 4px;
  margin-bottom: 16px;
}

.articles-stage .card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.articles-stage .article-card:hover .card-cover-img {
  transform: scale(1.035);
}

.articles-stage .card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.articles-stage .badge-row {
  margin-bottom: 6px;
  gap: 8px;
}

.articles-stage .badge-sector {
  background: transparent;
  color: var(--accent-emerald);
  border: none;
  padding: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.articles-stage .badge-source {
  display: none;
}

.articles-stage .card-body h2 {
  margin: 0 0 8px 0;
  font-family: var(--font-serif);
  font-size: clamp(1.24rem, 1.8vw, 1.58rem);
  font-weight: 400;
  line-height: 1.28;
}

.articles-stage .card-headline-link {
  color: var(--ink-primary);
  text-decoration: none;
  font-weight: 400;
}

.articles-stage .article-card:hover .card-headline-link {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.articles-stage .card-body p {
  font-size: 15px;
  line-height: 1.58;
  color: var(--ink-muted);
  margin: 0 0 8px 0;
}

.articles-stage .desk-byline {
  border-top: none;
  padding-top: 2px;
  margin-top: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* TRUST-SUBNAVIGATION & DARK-MODE HARMONIE FÜR UNTERSEITEN */
.trust-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

html[data-theme="dark"] .reader-paper,
html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .calc-workbench-shell,
html[data-theme="dark"] .chart-lightbox-shell,
html[data-theme="dark"] .source-box,
html[data-theme="dark"] .mk-comments-card,
html[data-theme="dark"] .mk-showcase-calc-card {
  background: var(--bg-surface);
  color: var(--ink-primary);
  border-color: var(--border-subtle);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background: var(--bg-paper);
  color: var(--ink-primary);
  border-color: var(--border-strong);
}

.mk-subscribe-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.mk-subscribe-modal-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg-paper);
  color: var(--ink-primary);
}

body.is-trust-page .main-stage {
  padding-right: 20px;
}

.lang-menu a.lang-btn {
  text-decoration: none;
  color: var(--ink-primary);
}

/* MOBILE ERGONOMIE (<= 820px, <= 640px, <= 560px, 375px, 320px — 0px Überlauf!) */
@media (max-width: 820px) {
  .articles-stage .editorial-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .morph-header {
    height: 58px;
  }
  .morph-header-inner {
    padding: 0 12px;
    gap: 6px;
  }
  .mk-logo-sm {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  .header-brand {
    gap: 7px;
  }
  .header-wordmark {
    font-size: 12px;
    letter-spacing: 0.06em;
  }
  .header-actions {
    gap: 4px;
  }
  .hdr-btn,
  #topbarKontorDeckLink.hdr-btn {
    padding: 6px 8px;
    min-height: 38px;
    font-size: 12px;
  }
  .hdr-mode-btn {
    width: 36px;
    height: 36px;
  }
  .mk-logo-hero {
    width: 58px;
    height: 58px;
    font-size: 21px;
    margin-bottom: 20px;
  }
  .hero-brand {
    font-size: clamp(1.72rem, 8vw, 2.45rem);
    letter-spacing: 0.12em;
    padding-left: 0.12em;
  }
  .hero-subtitle {
    font-size: 14.5px;
    line-height: 1.45;
    max-width: 30ch;
    margin: 0 auto;
  }
  .articles-stage {
    padding: 16px 38px 72px 0;
  }
  body.is-subview .main-stage {
    padding-top: 78px;
    padding-right: 44px;
  }
  body.is-trust-page .main-stage {
    padding-right: 16px;
  }
  .dock-pill {
    height: 38px;
    max-width: 38px;
    padding: 0 10px;
  }
  .dock-flyout {
    min-width: min(215px, calc(100vw - 64px));
  }
}

@media (max-width: 560px) {
  .header-wordmark {
    display: none;
  }
}

@media print {
  .morph-header,
  .right-edge-dock {
    display: none !important;
  }
}

/* ============================================================================
   SCHLANKER ARTIKEL-SCHNELLTEST + EDLE KONTORDECK-MEISTERBÜHNE (7,00 € MTL.)
   ============================================================================ */

.reader-paper a.btn,
.reader-paper a.mk-deck-stage-cta,
a.btn,
a.mk-deck-stage-cta {
  text-decoration: none !important;
}

.mid-article-calc-card.mid-article-calc-compact {
  margin: 26px 0 30px;
  padding: 18px 20px 20px;
  border-radius: 14px;
  background: var(--bg-linen, #f4f6f5);
  border: 1px solid var(--border-strong, rgba(19, 42, 35, 0.2));
  box-shadow: 0 6px 20px rgba(19, 42, 35, 0.05);
}

.mid-article-calc-compact .mid-calc-head {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle, rgba(19, 42, 35, 0.1));
}

.mid-article-calc-compact .mid-calc-title {
  font-size: 1.05rem;
  margin: 2px 0 0;
}

.mid-article-calc-compact .form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.mid-article-calc-compact .mk-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

.mid-article-calc-compact .mk-kpi-box {
  padding: 10px 12px;
}

/* Edle dunkelgrün-messingfarbene KontorDeck-Meisterbühne */
.mk-deck-stage-banner {
  margin-top: 14px;
  padding: 20px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10251e 0%, #17382d 100%);
  color: #f6f3eb;
  border: 1.5px solid rgba(207, 161, 90, 0.55);
  box-shadow: 0 12px 28px rgba(13, 30, 24, 0.18);
  display: grid;
  gap: 14px;
}

.mk-deck-stage-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.mk-deck-stage-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 180px;
}

.mk-deck-stage-titles {
  display: grid;
  gap: 3px;
  min-width: 0;
  overflow-wrap: break-word;
}

.mk-deck-stage-kicker {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #dfc088;
}

.mk-deck-stage-headline {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.16rem;
  line-height: 1.28;
  font-weight: 700;
  color: #ffffff;
}

.mk-deck-stage-pricebox {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(207, 161, 90, 0.45);
  border-radius: 10px;
  padding: 8px 14px;
  text-align: right;
  flex-shrink: 0;
}

.mk-deck-stage-price {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.1;
  color: #f5ecd8;
}

.mk-deck-stage-pricemeta {
  display: block;
  font-size: 0.72rem;
  color: #c9d8d2;
  margin-top: 2px;
}

.mk-deck-stage-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 14px;
  padding: 11px 13px;
  border-radius: 9px;
  background: rgba(9, 21, 17, 0.36);
  border: 1px solid rgba(245, 236, 216, 0.11);
  font-size: 0.81rem;
  line-height: 1.38;
  color: #e7efec;
}

.mk-deck-stage-pillar {
  font-weight: 500;
}

.mk-deck-stage-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.mk-deck-stage-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 8px;
  background: linear-gradient(180deg, #e2ba78 0%, #c89648 100%);
  color: #0e201a !important;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border: 1px solid #f0d39d;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.14s ease, filter 0.14s ease;
  text-decoration: none !important;
  text-align: center;
  white-space: normal;
}

.mk-deck-stage-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.mk-deck-stage-trust {
  font-size: 0.75rem;
  color: #b7cac3;
}

@media (max-width: 860px) {
  .mid-article-calc-compact .form-grid,
  .mid-article-calc-compact .mk-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mk-deck-stage-pillars {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .mid-article-calc-card.mid-article-calc-compact {
    padding: 14px;
  }
  .mid-article-calc-compact .form-grid,
  .mid-article-calc-compact .mk-kpi-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .mk-deck-stage-banner {
    padding: 16px;
  }
  .mk-deck-stage-pricebox {
    width: 100%;
    text-align: left;
  }
  .mk-deck-stage-cta {
    width: 100%;
  }
}

/* ============================================================================
   RECHTE PREMIUM-SPALTE: PRAXIS-FAZIT-AUFZUG + 6ER-WERKSTÜCK-VIDEO-ROTATION
   ============================================================================ */

.mk-fazit-elevator {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.mk-fazit-elevator-head {
  display: grid;
  gap: 3px;
}

.mk-fazit-elevator-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-brass, #b0833e);
}

.mk-fazit-elevator-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1.25;
  color: var(--ink-primary);
}

.mk-fazit-locked-card {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-linen, #f4f6f5);
  border: 1px dashed var(--border-strong, rgba(19, 42, 35, 0.26));
  display: grid;
  gap: 8px;
}

.mk-fazit-teaser-line {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-secondary);
  font-style: italic;
}

.mk-fazit-lock-hint {
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--accent-pine, #132a23);
}

html[data-theme="dark"] .mk-fazit-lock-hint {
  color: #dfc088;
}

.mk-fazit-unlocked-card {
  padding: 14px 16px;
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(29, 92, 70, 0.11) 0%, rgba(176, 131, 62, 0.1) 100%);
  border: 1.5px solid var(--accent-emerald, #1d5c46);
  display: grid;
  gap: 8px;
}

.mk-fazit-unlocked-badge {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--status-ok, #1b6e4f);
}

html[data-theme="dark"] .mk-fazit-unlocked-badge {
  color: #4fd1a5;
}

.mk-fazit-unlocked-text {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--ink-primary);
  font-weight: 500;
}

.mk-ws-player-card {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, #10251e 0%, #17362b 100%);
  color: #f6f3eb;
  border: 1.5px solid rgba(207, 161, 90, 0.55);
  box-shadow: 0 10px 24px rgba(13, 30, 24, 0.16);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.mk-ws-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.mk-ws-ad-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #dfc088;
}

.mk-ws-rotate-btn {
  font-size: 0.73rem;
  color: #c9d8d2 !important;
  padding: 0;
}

.mk-ws-rotate-btn:hover {
  color: #ffffff !important;
}

.mk-ws-clip-title {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  overflow-wrap: break-word;
}

.mk-ws-video-frame {
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(245, 236, 216, 0.2);
  background: #0a1713;
  aspect-ratio: 16 / 9;
}

.mk-ws-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-ws-play-btn {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #f0d39d;
  background: linear-gradient(180deg, #e2ba78 0%, #c89648 100%);
  color: #0e201a;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.3;
  cursor: pointer;
  text-align: center;
}

.mk-ws-play-btn:hover {
  filter: brightness(1.06);
}

.mk-ws-progress {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  accent-color: #dfc088;
}

.mk-ws-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.mk-ws-countdown {
  font-size: 0.75rem;
  color: #d6e3de;
}

.mk-ws-mute-btn {
  color: #f6f3eb !important;
  border-color: rgba(246, 243, 235, 0.28) !important;
  padding: 3px 9px !important;
  font-size: 0.74rem !important;
}

.mk-ws-cta-btn {
  width: 100%;
  box-sizing: border-box;
  white-space: normal !important;
  text-align: center;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #f6f3eb !important;
  border: 1px solid rgba(223, 192, 136, 0.55) !important;
  font-size: 0.84rem !important;
  padding: 9px 14px !important;
}

.mk-ws-cta-btn:hover {
  background: rgba(223, 192, 136, 0.22) !important;
}

.mk-fazit-scroll-fallback {
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-align: left;
  padding: 2px 0;
}

.mk-ws-play-link {
  display: block;
  box-sizing: border-box;
  text-decoration: none;
}

.mk-ws-subdesc {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.45;
  color: #d6e3de;
  overflow-wrap: break-word;
}

.mk-ws-mini-calc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

@media (max-width: 420px) {
  .mk-ws-mini-calc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.mk-ws-mini-field {
  display: grid;
  gap: 3px;
}

.mk-ws-mini-label {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  color: #cfe0da;
  overflow-wrap: break-word;
}

.mk-ws-mini-input {
  width: 100%;
  box-sizing: border-box;
  padding: 6px 7px;
  border-radius: 7px;
  border: 1px solid rgba(223, 192, 136, 0.45);
  background: rgba(8, 22, 18, 0.82);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
}

.mk-ws-mini-input:focus {
  outline: 2px solid #dfc088;
  outline-offset: 1px;
}

.mk-ws-mini-result {
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(223, 192, 136, 0.14);
  border: 1px solid rgba(223, 192, 136, 0.55);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.mk-ws-mini-result-label {
  font-size: 0.74rem;
  color: #e4ede9;
}

.mk-ws-mini-result-val {
  font-size: 1rem;
  font-weight: 800;
  color: #f3cf8d;
  font-variant-numeric: tabular-nums;
}


.mk-stage-banner {
  background: linear-gradient(90deg, #6e4516 0%, #9a6b2f 50%, #6e4516 100%);
  color: #fff8eb;
  border-bottom: 2px solid #d4a459;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  position: sticky;
  top: 0;
  z-index: 1200;
  box-shadow: 0 4px 14px rgba(15, 10, 4, 0.28);
}
