/* =========================================================
   Berater · Mittelstand – Editorial CI
   ========================================================= */
:root {
  --bg:           #FBFAF7;
  --surface:      #FFFFFF;
  --surface-2:    #F4F1EA;
  --surface-3:    #ECE6D9;
  --ink:          #1B2937;
  --ink-soft:     #2E3B4E;
  --muted:        #6B7280;
  --muted-soft:   #9CA3AF;
  --brand:        #0E6E5C;
  --brand-deep:   #0A5345;
  --brand-soft:   #2A9279;
  --accent:       #D97706;
  --accent-deep:  #B45309;
  --gold:         #F4C24E;
  --gold-soft:    #FFF6DC;
  --border:       #E5E7EB;
  --border-soft:  #EFEDE6;

  --serif:  "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans:   "Inter", -apple-system, sans-serif;
  --mono:   "JetBrains Mono", ui-monospace, monospace;

  --maxw:   1180px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--ink); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =========================================================
   ADVERTORIAL DISCLOSURE BAR
   ========================================================= */
.disclosure {
  background: var(--surface-3);
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  padding: 8px var(--gutter);
}
.disclosure span { color: var(--accent-deep); font-weight: 600; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
header.masthead {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.mast-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(14px, 2vw, 28px);
  max-width: var(--maxw);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo .logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.logo-tagline {
  display: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 16px;
  border-left: 1px solid var(--border);
  max-width: 200px;
  line-height: 1.4;
}
@media (min-width: 760px) {
  .logo-tagline { display: block; }
}
.foot-brand .logo .logo-img { height: 28px; }
.foot-brand .logo-tagline {
  display: block;
  border-left-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
  margin-top: 14px;
  padding-left: 0;
  border-left: none;
  max-width: none;
}
.logo .mark {
  width: 38px; height: 38px;
  background: var(--brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--surface);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  font-style: italic;
  position: relative;
}
.logo .mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  opacity: 0.25;
}
.logo .wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo .wordmark em {
  font-style: italic;
  color: var(--brand);
  font-weight: 500;
}
.logo .tag {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
  font-style: normal;
}

/* MAIN NAV with hover dropdowns */
.mast-nav {
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
}
.mast-nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}
.mast-nav .item {
  position: relative;
}
.mast-nav .item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 18px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  cursor: pointer;
}
.mast-nav .item > a::after {
  content: "▾";
  font-size: 10px;
  color: var(--muted);
  transition: transform .2s;
}
.mast-nav .item.simple > a::after { content: none; }
.mast-nav .item:hover > a {
  color: var(--brand);
  border-color: var(--brand);
}
.mast-nav .item:hover > a::after { transform: rotate(180deg); }
.mast-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--brand);
  padding: 24px;
  min-width: 320px;
  box-shadow: 0 20px 40px rgba(27,41,55,0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
  z-index: 100;
}
.mast-nav .item:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown h6 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.dropdown a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--ink);
  border-bottom: 1px solid var(--border-soft);
  transition: color .15s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { color: var(--brand); }
.dropdown a.active {
  color: var(--brand);
  font-weight: 600;
}
.dropdown a .badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
  background: var(--surface-2);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 500;
}
.dropdown a.active .badge {
  color: var(--brand);
  background: rgba(14,110,92,0.08);
}
.dropdown a .badge.new {
  color: var(--accent-deep);
  background: rgba(217,119,6,0.1);
}

@media (max-width: 880px) {
  .mast-nav-inner { overflow-x: auto; flex-wrap: nowrap; }
  .mast-nav .dropdown { display: none; }
  .mast-nav .item > a::after { display: none; }
}

/* =========================================================
   ARTICLE HEADER / HERO
   ========================================================= */
.article-hero {
  padding-top: clamp(28px, 6vw, 56px);
  padding-bottom: 30px;
}
.crumbs {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.crumbs a { color: var(--brand); }
.crumbs .sep { margin: 0 10px; color: var(--muted-soft); }

.article-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 20ch;
  color: var(--ink);
}
.article-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--brand);
}

.article-lead {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 36px;
  font-weight: 400;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.article-meta .author {
  display: flex; align-items: center; gap: 10px;
}
.article-meta .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
  color: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 13px;
}
.article-meta .author strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.article-meta .author span {
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.article-meta .dot { color: var(--muted-soft); }

/* Hero image placeholder */
.hero-image {
  margin-top: 32px;
  height: clamp(280px, 45vh, 480px);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(14,110,92,0.15) 0%, rgba(217,119,6,0.12) 100%),
    radial-gradient(80% 60% at 20% 30%, rgba(14,110,92,0.18), transparent 60%),
    var(--surface-2);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, transparent 48%, rgba(14,110,92,0.06) 48%, rgba(14,110,92,0.06) 52%, transparent 52%);
  background-size: 18px 18px;
}
.hero-image .label {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero-image .deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: var(--brand);
  opacity: 0.18;
}
.image-caption {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  margin-top: 10px;
  padding-left: 4px;
}

/* Real photo hero (overrides SVG-deco placeholder) */
.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.hero-image figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(15,21,41,0.72), rgba(15,21,41,0) 100%);
  color: rgba(255,255,255,0.95);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 28px 20px 12px;
  text-align: center;
}
.hero-image figcaption a { color: rgba(255,255,255,0.95); text-decoration: underline; }

/* Inline-Schaubilder im Article-Body */
.inline-image {
  margin: 40px 0;
}
.inline-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
}
.inline-image figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
  padding: 0 8px;
  line-height: 1.5;
}

/* =========================================================
   ARTICLE BODY
   ========================================================= */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 60px;
  padding: 50px 0 80px;
  align-items: start;
}
@media (max-width: 980px) {
  .article-wrap { grid-template-columns: 1fr; gap: 40px; }
}

.article-body {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 70ch;
}
.article-body p {
  margin-bottom: 1.6em;
}
.article-body > .container > .article-body > .content > p:first-of-type::first-letter, .article-body > .content > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-weight: 700;
  float: left;
  font-size: 5.5em;
  line-height: 0.85;
  margin: 0.05em 0.12em -0.1em 0;
  color: var(--brand);
  font-style: italic;
}
.article-body h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 2.4em 0 0.8em;
  color: var(--ink);
  position: relative;
  padding-left: 16px;
}
.article-body h2::before {
  content: "";
  position: absolute;
  left: 0; top: 0.25em; bottom: 0.25em;
  width: 4px;
  background: var(--brand);
  border-radius: 2px;
}
.article-body h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 21px;
  margin: 2em 0 0.6em;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.article-body ul, .article-body ol {
  margin: 0 0 1.6em 0;
  padding-left: 0;
  list-style: none;
}
.article-body ul li, .article-body ol li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 0.5em;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 12px; height: 2px;
  background: var(--accent);
}
.article-body ol {
  counter-reset: ol;
}
.article-body ol li {
  counter-increment: ol;
}
.article-body ol li::before {
  content: counter(ol, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0.2em;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.05em;
}
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body em { font-style: italic; }
.article-body a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--brand-deep); }

/* Pull quote */
.pullquote {
  border-left: 4px solid var(--accent);
  padding: 8px 0 8px 28px;
  margin: 2em 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink-soft);
  font-weight: 400;
}
.pullquote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Info Box */
.infobox {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  padding: 24px 28px;
  margin: 2em 0;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
.infobox h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
  font-weight: 600;
}
.infobox p { margin-bottom: 0; color: var(--ink-soft); font-size: 15px; }

/* In-article comparison table */
.compare-mini {
  margin: 2em 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  font-family: var(--sans);
}
.compare-mini table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-mini th, .compare-mini td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}
.compare-mini thead th {
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.compare-mini tbody th {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  width: 28%;
}
.compare-mini tbody tr:last-child th,
.compare-mini tbody tr:last-child td { border-bottom: none; }
.compare-mini .pos { color: var(--brand-deep); font-weight: 500; }
.compare-mini .neg { color: var(--muted); }
@media (max-width: 640px) {
  .compare-mini { font-size: 13px; }
  .compare-mini th, .compare-mini td { padding: 10px 12px; }
}

/* Stat row */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 2em 0;
  font-family: var(--sans);
}
.stats div {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 22px 20px;
  border-radius: 6px;
}
.stats .num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  color: var(--brand);
  display: block;
  margin-bottom: 8px;
  font-style: italic;
  letter-spacing: -0.01em;
}
.stats .lbl {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.stats .src {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* In-article image placeholder */
.article-image {
  margin: 2.4em 0;
  border-radius: 4px;
  overflow: hidden;
}
.article-image .ph {
  height: 280px;
  background:
    linear-gradient(120deg, rgba(14,110,92,0.1), rgba(217,119,6,0.06)),
    var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.article-image .ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(14,110,92,0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(217,119,6,0.1) 0%, transparent 40%);
}
.article-image .ph span {
  position: relative;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.9);
  padding: 8px 14px;
  border-radius: 999px;
}
.article-image figcaption {
  margin-top: 10px;
  padding-left: 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
}

/* =========================================================
   ANBIETER-EMPFEHLUNG (the FUNNEL box)
   ========================================================= */
.anbieter-box {
  margin: 2.4em 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: 6px;
  padding: 32px;
  position: relative;
  font-family: var(--sans);
}
.anbieter-box .tip-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 18px;
}
.anbieter-box .tip-label::before {
  content: "★";
  color: var(--accent);
}
.anbieter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 22px;
}
.anbieter-head .logo-box {
  background: var(--ink);
  padding: 12px 16px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}
.anbieter-head .logo-box img { height: 28px; width: auto; }
.anbieter-head .rating {
  text-align: right;
  font-size: 13px;
  color: var(--muted);
}
.anbieter-head .stars {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1;
}
.anbieter-head .rating strong {
  color: var(--ink);
  font-size: 18px;
  font-family: var(--serif);
  font-weight: 600;
  display: block;
  margin-top: 4px;
}

.anbieter-box h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}
.anbieter-box p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 18px;
}
.anbieter-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 24px;
  font-size: 14px;
}
.anbieter-features div {
  padding-left: 24px;
  position: relative;
  color: var(--ink-soft);
}
.anbieter-features div::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 18px; height: 18px;
  background: var(--brand);
  color: var(--surface);
  border-radius: 50%;
  text-align: center;
  line-height: 18px;
  font-size: 11px;
  font-weight: 700;
}
@media (max-width: 540px) { .anbieter-features { grid-template-columns: 1fr; } }

.anbieter-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--accent);
  color: var(--surface);
  font-weight: 600;
  font-size: 15px;
  border-radius: 4px;
  transition: background .2s, transform .2s;
  font-family: var(--sans);
}
.anbieter-cta:hover { background: var(--accent-deep); transform: translateX(2px); }
.anbieter-cta .arr { transition: transform .2s; }
.anbieter-cta:hover .arr { transform: translateX(4px); }

.anbieter-small-note {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   SIDEBAR
   ========================================================= */
.article-sidebar { font-family: var(--sans); }
.article-sidebar > * + * { margin-top: 32px; }
.sidebar-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
}
.sidebar-block h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 600;
}
.sidebar-block.featured {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.sidebar-block.featured h5 { color: var(--gold); }
.sidebar-block.featured h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.sidebar-block.featured p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 18px;
}
.sidebar-block.featured .anbieter-cta {
  background: var(--accent);
  width: 100%;
  justify-content: center;
}

.toc-list { list-style: none; padding: 0; }
.toc-list li { border-bottom: 1px solid var(--border-soft); }
.toc-list li:last-child { border-bottom: none; }
.toc-list a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-soft);
  transition: color .15s, padding .2s;
  font-family: var(--sans);
}
.toc-list a:hover { color: var(--brand); padding-left: 6px; }
.toc-list .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-soft);
  margin-right: 10px;
  letter-spacing: 0.06em;
}

.newsletter-mini h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.newsletter-mini p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.newsletter-mini input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  background: var(--surface);
  color: var(--ink);
  margin-bottom: 10px;
}
.newsletter-mini input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.newsletter-mini button {
  width: 100%;
  padding: 12px;
  background: var(--brand);
  color: var(--surface);
  border: none;
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}
.newsletter-mini button:hover { background: var(--brand-deep); }
.newsletter-mini .legal {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

/* Sticky on desktop */
@media (min-width: 980px) {
  .article-sidebar { position: sticky; top: 130px; }
}

/* =========================================================
   RELATED POSTS
   ========================================================= */
.related-section {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 70px 0;
}
.related-section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--ink);
}
.related-section h2 em { font-style: italic; color: var(--brand); }
.related-section .sub {
  color: var(--muted);
  margin-bottom: 36px;
  font-size: 15px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }

.rel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.rel-card:hover { transform: translateY(-4px); border-color: var(--brand-soft); }
.rel-card.placeholder { cursor: default; opacity: 0.7; }
.rel-card.placeholder:hover { transform: none; }
.rel-card .img {
  height: 180px;
  background: var(--surface-3);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.rel-card .img.green {
  background:
    linear-gradient(135deg, rgba(14,110,92,0.18), rgba(14,110,92,0.06)),
    var(--surface-3);
}
.rel-card .img.amber {
  background:
    linear-gradient(135deg, rgba(217,119,6,0.18), rgba(217,119,6,0.06)),
    var(--surface-3);
}
.rel-card .img.gold {
  background:
    linear-gradient(135deg, rgba(244,194,78,0.25), rgba(244,194,78,0.08)),
    var(--surface-3);
}
.rel-card .body { padding: 20px 22px 24px; }
.rel-card .cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 10px;
}
.rel-card.placeholder .cat { color: var(--muted-soft); }
.rel-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
  color: var(--ink);
}
.rel-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.rel-card .meta {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.rel-card.placeholder .meta { color: var(--accent); }

/* =========================================================
   ABOUT / TRUST STRIP
   ========================================================= */
.about-strip {
  padding: 70px 0;
  background: var(--surface);
}
.about-strip .container {
  max-width: 720px;
  text-align: center;
}
@media (max-width: 880px) { .about-strip .container { grid-template-columns: 1fr; gap: 30px; } }
.about-strip h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  line-height: 1.15;
  color: var(--ink);
}
.about-strip h2 em { font-style: italic; color: var(--brand); }
.about-strip p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.about-strip .trust-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 24px;
}
.about-strip .trust-row > div {
  border-left: 3px solid var(--brand);
  padding: 4px 0 4px 16px;
}
.about-strip .trust-row strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 4px;
}
.about-strip .trust-row span {
  font-size: 13px;
  color: var(--muted);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer.site-foot {
  background: var(--ink);
  color: var(--surface);
  padding: 60px 0 30px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-brand .logo .wordmark { color: var(--surface); }
.foot-brand .logo .wordmark em { color: var(--gold); }
.foot-brand .logo .tag { color: rgba(255,255,255,0.55); }
.foot-brand p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 36ch;
}
.foot-col h6 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}
.foot-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  transition: color .15s;
}
.foot-col a:hover { color: var(--surface); }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* =========================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ========================================================= */
.legal-section {
  background: var(--surface);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.legal-section + .legal-section { border-top: 1px solid var(--border); }
.legal-inner { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.legal-inner h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--ink);
}
.legal-inner .sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}
.legal-inner h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  margin: 36px 0 12px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.legal-inner h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  margin: 24px 0 10px;
  color: var(--ink);
}
.legal-inner p, .legal-inner li {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 0.8em;
}
.legal-inner ul, .legal-inner ol { padding-left: 24px; margin-bottom: 1em; }
.legal-inner ul li, .legal-inner ol li { padding-left: 4px; margin-bottom: 4px; }
.legal-inner strong { font-weight: 600; color: var(--ink); }
.legal-inner .placeholder-note {
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
}
.legal-inner .placeholder-note strong { color: var(--accent-deep); }

/* ================== MODAL ================== */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 4vw, 32px);
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 21, 41, 0.55);
  backdrop-filter: blur(2px);
  animation: modal-fade 0.18s ease-out;
}
.modal-panel {
  position: relative;
  width: 100%; max-width: 820px;
  max-height: 92vh;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(15, 21, 41, 0.35);
  display: flex; flex-direction: column;
  animation: modal-slide 0.22s ease-out;
  overflow: hidden;
}
.modal-close {
  position: absolute; top: 12px; right: 16px; z-index: 2;
  width: 36px; height: 36px;
  background: var(--surface-2); color: var(--ink);
  border: none; border-radius: 50%;
  font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--surface-3); }
.modal-body {
  overflow-y: auto;
  padding: clamp(28px, 5vw, 56px) clamp(24px, 5vw, 64px);
}
.modal-body h1 { font-family: var(--serif); font-size: clamp(26px, 4vw, 38px); margin: 0 0 6px; color: var(--ink); }
.modal-body .sub { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 28px; }
.modal-body h2 { font-family: var(--serif); font-size: 22px; margin: 32px 0 10px; color: var(--ink); font-weight: 600; }
.modal-body h3 { font-family: var(--sans); font-size: 16px; margin: 22px 0 6px; color: var(--ink-soft); font-weight: 600; }
.modal-body p { font-family: var(--sans); font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 14px; }
.modal-body ul { font-family: var(--sans); font-size: 15px; line-height: 1.7; color: var(--ink-soft); padding-left: 20px; margin: 0 0 16px; }
.modal-body a { color: var(--brand); }
.modal-body strong { color: var(--ink); }
.modal-body .construction-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
  color: #fff;
  padding: 22px 26px;
  border-radius: 6px;
  margin: 0 0 32px;
}
.modal-body .construction-banner strong { color: #fff; display: block; font-size: 18px; margin-bottom: 6px; font-family: var(--serif); }
.modal-body .construction-banner p { color: rgba(255,255,255,0.94); margin: 0; font-size: 14px; }
@keyframes modal-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes modal-slide { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: translateY(0) } }
@media (max-width: 540px) { .modal-body { padding: 32px 20px; } }
