/* ============================================================
   agrarwatt - Design Tokens (Editorial)
   Generiert von mantik-site-builder. Aenderungen in brand.yaml.
   ============================================================ */

:root {
  /* Neutrale Farben (Light) */
  --bg:         #fafaf7;
  --bg-alt:     #ffffff;
  --bg-soft:    #f4f3ed;
  --ink:        #18181b;
  --ink-soft:   #52525b;
  --ink-muted:  #8b8b94;
  --line:       #e4e3de;
  --line-soft:  #efeee8;

  /* Akzent (pro Site variabel) */
  --accent:      #0a7c3e;
  --accent-dark: #0a2a38;
  --accent-soft: #e6eff2;

  /* Typografie */
  --font-serif: Charter, "Bitstream Charter", "Iowan Old Style", "Sitka Text", Cambria, "Palatino Linotype", Georgia, serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Kompatibilitaet alte Variablennamen */
  --text:         var(--ink);
  --text-mid:     var(--ink-soft);
  --text-muted:   var(--ink-muted);
  --border:       var(--line);
  --border-light: var(--line-soft);
  --accent-hover: var(--accent-dark);
  --btn:          var(--accent);

  color-scheme: light;
}

[data-theme="dark"] {
  --bg:         #0f1115;
  --bg-alt:     #171a20;
  --bg-soft:    #1d2027;
  --ink:        #e7e8ea;
  --ink-soft:   #a8acb5;
  --ink-muted:  #6e737d;
  --line:       #2a2e36;
  --line-soft:  #22252c;

  --accent:      #7cc4d6;
  --accent-dark: #5fa9bd;
  --accent-soft: #1a2b34;

  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:         #0f1115;
    --bg-alt:     #171a20;
    --bg-soft:    #1d2027;
    --ink:        #e7e8ea;
    --ink-soft:   #a8acb5;
    --ink-muted:  #6e737d;
    --line:       #2a2e36;
    --line-soft:  #22252c;

    --accent:      #7cc4d6;
    --accent-dark: #5fa9bd;
    --accent-soft: #1a2b34;

    color-scheme: dark;
  }
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.site-nav a:hover, .site-nav a:focus,
.nav-links a:hover, .nav-brand:hover { text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== Typografie ===== */
h1, h2, h3, .serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.25; }
h3 { font-size: 1.15rem; line-height: 1.4; }

p { font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 680px; }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--accent);
}

em { font-style: italic; color: var(--accent); }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 5rem 0; }
section.alt { background: var(--bg-soft); }

/* ===== Topbar / Navigation (alte .site-nav-Struktur) ===== */
.site-nav {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  gap: 2rem;
  height: auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  flex-shrink: 0;
}
.nav-brand img { height: 28px; width: auto; }
.nav-brand em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.nav-lang {
  font-size: 0.82rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}
.nav-lang a { color: var(--ink-muted); }
.nav-lang .active-lang { font-weight: 600; color: var(--ink); }
.nav-contact {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  padding: 0.45rem 1rem;
  border-radius: 3px;
  transition: all 0.2s;
}
.nav-contact:hover {
  background: var(--accent-soft);
  text-decoration: none;
  color: var(--accent-dark);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--ink);
}

/* Theme-Toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.theme-toggle-icon { display: inline-flex; align-items: center; justify-content: center; }
.theme-icon-sun { display: none; }
.theme-icon-moon { display: inline-block; }
[data-theme="dark"] .theme-icon-sun { display: inline-block; }
[data-theme="dark"] .theme-icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-sun { display: inline-block; }
  :root:not([data-theme="light"]) .theme-icon-moon { display: none; }
}

/* ===== Hero (Startseite) ===== */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: center;
}
.hero h1 { margin-bottom: 1.5rem; max-width: 900px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { font-size: 1.2rem; }
.hero-content .subtitle {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  line-height: 1.55;
  max-width: 680px;
}
.hero-content p { margin-bottom: 1rem; max-width: 680px; }
.hero-logo { text-align: center; }
.hero-logo img { max-width: 280px; height: auto; }
.hero-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ===== Hero-Meta-Grid (Solutions-artig) ===== */
.hero-meta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.hero-meta .item { font-size: 0.9rem; color: var(--ink-soft); }
.hero-meta .item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 3px;
  transition: all 0.2s;
  text-decoration: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover {
  background: var(--accent-soft);
  text-decoration: none;
  color: var(--accent-dark);
}
.btn-primary, .btn-filled {
  background: var(--accent);
  color: var(--bg-alt);
  border-color: var(--accent);
}
.btn-primary:hover, .btn-filled:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--bg-alt);
  filter: none;
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent-soft);
  text-decoration: none;
}

/* ===== Section-Titel ===== */
.section { padding: 5rem 0; }
.section-head { margin-bottom: 3.5rem; max-width: 820px; }
.section-head h2 { margin-bottom: 1rem; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  max-width: 680px;
}

/* ===== Knotenlinie (Logo-Motiv) - Solutions-Look ===== */
.node-line {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.node-line svg {
  width: 100%;
  max-width: 400px;
  height: 12px;
  opacity: 0.25;
}

/* ===== Teaser-Cards (Leistungen-Grid auf Startseite) ===== */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.teaser-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.teaser-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.teaser-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--line-soft);
}
.teaser-body { padding: 1.6rem 1.6rem 1.4rem; display: flex; flex-direction: column; flex-grow: 1; }
.teaser-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.teaser-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.teaser-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.teaser-card:hover .teaser-link { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Skill Tags ===== */
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.skill-tag {
  background: var(--bg-alt);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.2s;
}
.skill-tag:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* ===== Trust-Bar ===== */
.trust-bar { padding: 3rem 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-items { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== Page-Hero (Unterseiten) ===== */
.page-hero {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 1rem; max-width: 900px; }
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero p {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 720px;
}

/* ===== Stats ===== */
.stats h2 { margin-bottom: 1.25rem; max-width: 820px; }
.stats .lead { margin-bottom: 3.5rem; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.stat { padding-left: 1.25rem; border-left: 2px solid var(--accent); }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.stat-label { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.5; }
.stat-source {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.83rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* ===== Zitat ===== */
.quote-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-wrapper { max-width: 860px; }
.quote-wrapper blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
  margin: 0;
  position: relative;
  padding-left: 2.5rem;
}
.quote-wrapper blockquote::before {
  content: "\201E";
  position: absolute;
  left: 0;
  top: -1.5rem;
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
  font-weight: 600;
}
.quote-wrapper cite {
  display: block;
  margin-top: 1.5rem;
  padding-left: 2.5rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-style: normal;
  letter-spacing: 0.02em;
}

/* ===== Karten-Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  transition: border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: var(--accent); }
.card h3 { margin-bottom: 0.6rem; color: var(--ink); }
.card p { font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); flex-grow: 1; }
.card ul { margin-top: 0.8rem; padding: 0; list-style: none; }
.card ul li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 0.35rem 0 0.35rem 1.1rem;
  position: relative;
  line-height: 1.5;
}
.card ul li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ===== 3-Schritt-Ansatz ===== */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  counter-reset: step;
}
.approach-item {
  padding-top: 2rem;
  border-top: 2px solid var(--accent);
  counter-increment: step;
}
.approach-item::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}
.approach-item h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.approach-item p { font-size: 0.95rem; color: var(--ink-soft); }

/* ===== Audience-Grid ===== */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.audience {
  padding: 2.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.audience h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--ink); }
.audience .audience-sub {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.audience p { margin-bottom: 1.5rem; font-size: 0.95rem; }
.audience ul { padding: 0; list-style: none; }
.audience ul li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  border-top: 1px solid var(--line-soft);
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.audience ul li:first-child { border-top: none; }
.audience ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ===== Highlight-Block ===== */
.highlight {
  background: var(--accent);
  color: var(--bg-alt);
  padding: 4rem 3rem;
  border-radius: 4px;
}
.highlight .kicker {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.3);
}
.highlight h2 { color: var(--bg-alt); margin-bottom: 1rem; }
.highlight .lead { color: rgba(255, 255, 255, 0.85); max-width: 760px; margin-bottom: 2.5rem; }
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.highlight-grid strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  font-weight: 600;
}
.highlight-grid ul { padding: 0; list-style: none; }
.highlight-grid li {
  padding: 0.4rem 0 0.4rem 1.25rem;
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.5;
}
.highlight-grid li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.5);
}
.highlight-price {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--bg-alt);
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 3px;
}

/* ===== Prozess (5-Schritte) ===== */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.process-step {
  padding: 2rem 1.25rem;
  border-top: 2px solid var(--accent);
  border-right: 1px solid var(--line);
}
.process-step:last-child { border-right: none; }
.process-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.process-step p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; }

/* ===== Preis-Karten ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.price-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
  position: relative;
}
.price-card:hover { border-color: var(--accent); }
.price-card.featured { border: 1px solid var(--accent); }
.price-card.featured::before {
  content: "Empfehlung";
  position: absolute;
  top: -0.65rem;
  left: 1.75rem;
  background: var(--accent);
  color: var(--bg-alt);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}
.price-card h3 { margin-bottom: 0.5rem; }
.price-card .desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.price-card .price {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.price-card .price small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-muted);
  margin-top: 0.3rem;
  letter-spacing: 0;
}

/* ===== Compare-Grid ===== */
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.compare-item { padding-left: 1.5rem; border-left: 2px solid var(--line); }
.compare-item h3 { font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--ink); }
.compare-item p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }

/* ===== CTA-Block ===== */
.cta-block {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.cta-block h2 { margin-bottom: 0.75rem; }
.cta-block p { font-size: 1rem; }
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* ===== Blog-Übersicht ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-alt);
  transition: border-color 0.2s ease;
}
.blog-card:hover { border-color: var(--accent); text-decoration: none; }
.blog-card time {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
.blog-card h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  color: var(--ink);
}
.blog-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}
.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  align-self: flex-start;
  letter-spacing: 0.02em;
}
.blog-card:hover .blog-read-more { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Blog-Artikel ===== */
.blog-article { padding: 4rem 0 5rem; }
.blog-article .container { max-width: 720px; }
.blog-article-header { margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.blog-back {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.blog-article-header time {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.blog-article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.blog-article-body { font-size: 1.05rem; color: var(--ink); line-height: 1.75; }
.blog-article-body p { margin-bottom: 1.2rem; color: var(--ink); }
.blog-article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.25rem 0 0.8rem;
  color: var(--ink);
}
.blog-article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.6rem 0 0.6rem;
  color: var(--ink);
}
.blog-article-body ul, .blog-article-body ol { margin: 0 0 1.2rem 1.4rem; }
.blog-article-body li { margin-bottom: 0.4rem; }
.blog-article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.blog-article-body a:hover { color: var(--accent-dark); }
.blog-article-body strong { font-weight: 700; color: var(--ink); }
.blog-article-body blockquote {
  margin: 1.75rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  font-style: italic;
  color: var(--ink-soft);
}
.blog-article-body code {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.92em;
  background: var(--bg-soft);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--accent);
}
.blog-article-body pre {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.blog-article-body pre code { background: none; padding: 0; color: var(--ink); }
.blog-article-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.footer-copy { color: var(--ink-muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--ink-soft); }
.footer-links a:hover { color: var(--accent); text-decoration: none; }

/* ===== Legal-Overlays ===== */
.legal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(24, 24, 27, 0.55);
  z-index: 200;
  padding: 3rem 1.5rem;
  overflow-y: auto;
}
.legal-overlay.active { display: block; }
.legal-content {
  background: var(--bg-alt);
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  border-radius: 4px;
  position: relative;
}
.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.legal-content h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-content p { margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--ink-soft); }
.legal-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ink-muted);
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
}
.legal-close:hover { color: var(--ink); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .approach-grid, .compare-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .process { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-top: 2px solid var(--accent); }
  .highlight-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-block { grid-template-columns: 1fr; }
  .teaser-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 200px; }
}
@media (max-width: 600px) {
  section, .section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 3rem; }
  .stat-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .card-grid, .card-grid.cols-2, .approach-grid, .compare-grid, .price-grid,
  .teaser-grid, .blog-grid { grid-template-columns: 1fr; }
  .highlight { padding: 2.5rem 1.75rem; }
  .cta-block { padding: 2rem 1.5rem; }
  .trust-items { gap: 1.5rem; }
  .nav-links, .nav-right { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1rem 1.5rem;
    gap: 0.6rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: block; }
  .footer-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* ===== Print ===== */
@media print {
  @page { size: A4; margin: 15mm 15mm 18mm 15mm; }
  body { background: white; color: black; }
  .site-nav, footer, .cta-actions .btn, .legal-overlay { display: none; }
  section, .section { padding: 1.5rem 0; page-break-inside: avoid; }
  .card, .audience, .highlight, .price-card, .cta-block, .teaser-card, .blog-card {
    background: white !important;
    border: 1px solid #999 !important;
    color: black !important;
  }
  .highlight, .highlight h2, .highlight .lead, .highlight-grid li, .highlight-grid strong {
    background: white !important;
    color: black !important;
  }
  .stat-num, .price-card .price, h1 em, a, .kicker { color: #0f3a4d !important; }
}
