/*
Theme Name: SeoGeos
Theme URI: https://seogeos.com
Author: SeoGeos GmbH
Author URI: https://seogeos.com
Description: Schlankes Performance-Theme für SeoGeos – SEO & GEO für den deutschen Mittelstand. Klassisches Theme mit Gutenberg-Block-Patterns für Hero, Services, Prozess, CTAs uvm. Kein Page-Builder, keine externen Skripte.
Version: 1.6.7
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seogeos
Tags: blog, business, custom-menu, custom-logo, featured-images, block-patterns
*/

/* ============================================================
   Manrope — selbst gehostet (DSGVO-konform, ohne Google Fonts)
   Schriftdateien gehören in /fonts/ (siehe fonts/README.md)
   ============================================================ */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-v20-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-v20-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-v20-latin-800.woff2') format('woff2');
}

/* SeoGeos — Variant A "Klare Linie" */
:root {
  --bg: #F4F6FB;
  --bg-2: #FFFFFF;
  --bg-3: #EDF1F8;
  --ink: #0A1530;
  --ink-2: #3C4660;
  --ink-3: #5C6580;
  --line: #DCE3EF;
  --line-2: #C8D2E3;
  --brand: #2451E8;
  --brand-deep: #1735A8;
  --brand-soft: #E2EAFE;
  --accent: #00B79C;
  --warn: #F0B429;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10,21,48,0.05);
  --shadow: 0 8px 28px -8px rgba(10,21,48,0.12);
  --max: 1240px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; letter-spacing: 0.02em; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(244,246,251,0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 19px; letter-spacing: -0.01em;
}
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--ink);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.logo-mark::before, .logo-mark::after {
  content: ""; position: absolute; border-radius: 999px;
}
.logo-mark::before {
  width: 14px; height: 14px; background: var(--brand);
  left: 4px; top: 8px;
}
.logo-mark::after {
  width: 14px; height: 14px; background: var(--accent);
  right: 4px; top: 8px; mix-blend-mode: screen;
}
.logo small { color: var(--ink-3); font-weight: 500; font-size: 12px; margin-left: 2px; }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  font-weight: 500; font-size: 15px; color: var(--ink-2);
  transition: color .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px;
}

/* ---------- Mobile Burger Menu ---------- */
.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
body:has(.nav-toggle-input:checked) { overflow: hidden; }
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  transition: background .15s, border-color .15s;
}
.nav-burger:hover { background: var(--bg-3, var(--bg-2)); }
.nav-burger span {
  display: block; width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background-color: #0A1530;
  z-index: 99999;
  padding: 84px 28px 40px;
  overflow-y: auto;
  flex-direction: column;
  animation: navSlide .25s ease-out;
}
.mobile-menu a {
  display: block;
  font-size: 22px; font-weight: 600;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #FFFFFF;
  text-decoration: none;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a[aria-current="page"] { color: #8FB0FF; }
.mobile-menu a.mm-cta { color: #C2F0DE; }
.mobile-menu a.mm-cta span { margin-left: 6px; transition: transform .2s ease; display: inline-block; }
.mobile-menu a.mm-cta:hover span { transform: translateX(4px); }
.nav-toggle-input:checked ~ .mobile-menu { display: flex; }
.nav-toggle-input:checked ~ .nav .nav-burger { display: none; }

.mobile-close {
  position: absolute;
  top: 14px; right: 18px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #FFFFFF;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  font-size: 0;
}
.mobile-close span {
  display: block;
  font-size: 30px; line-height: 1;
  font-weight: 300;
  color: #FFFFFF;
  margin-top: -3px;
}
.mobile-close:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
}
.mobile-close:focus-visible {
  outline: 2px solid #8FB0FF;
  outline-offset: 2px;
}
@keyframes navSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px;
  border: 1px solid transparent;
  transition: transform .15s, background .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-2); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Eyebrow / Tag ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand-deep); background: var(--brand-soft);
  padding: 6px 12px; border-radius: 999px;
  font-weight: 600; font-size: 12.5px; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand); }

/* ---------- Headlines ---------- */
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.025em; line-height: 1.05; }
h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; line-height: 1.08; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
.lead { font-size: 19px; color: var(--ink-2); line-height: 1.55; max-width: 56ch; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  align-items: end; margin-bottom: 56px;
}
.section-head p { color: var(--ink-2); font-size: 17.5px; max-width: 48ch; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 80px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center;
}
.hero h1 { margin: 22px 0 24px; }
.hero h1 em {
  font-style: normal; color: var(--brand);
  background: linear-gradient(180deg, transparent 64%, var(--brand-soft) 64%);
  padding: 0 4px;
}
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.hero-trust div .n { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.hero-trust div .l { color: var(--ink-3); font-size: 13px; margin-top: 2px; }

/* hero chart card */
.hero-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-card-title { font-weight: 700; font-size: 15px; }
.hero-card-sub { color: var(--ink-3); font-size: 12px; }
.live { display:inline-flex; align-items:center; gap:6px; color: var(--accent); font-weight:600; font-size:12px; }
.live::before { content:""; width: 7px; height: 7px; border-radius:999px; background: var(--accent); box-shadow: 0 0 0 4px rgba(0,183,156,0.18); }
.legend { display:flex; gap: 18px; margin-top: 14px; font-size: 12.5px; color: var(--ink-2); }
.legend span { display:inline-flex; align-items:center; gap:6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display:inline-block; }
.legend .sw-google { background: var(--brand); }
.legend .sw-ai { background: var(--accent); }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0; overflow: hidden; background: var(--bg-2);
}
.marquee-row {
  display: flex; gap: 56px; white-space: nowrap; align-items: center;
  color: var(--ink-2); font-weight: 600; font-size: 16px;
}
.marquee-row span { display: inline-flex; align-items: center; gap: 12px; }
.marquee-row span::before { content: ""; width: 6px; height: 6px; background: var(--ink-3); border-radius: 999px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.svc {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px;
  display: flex; flex-direction: column; gap: 22px;
  position: relative; overflow: hidden;
}
.svc-num {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 13px; color: var(--ink-3);
}
.svc h3 { font-size: 28px; letter-spacing: -0.02em; }
.svc p { color: var(--ink-2); }
.svc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.svc ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.svc ul li::before {
  content: ""; width: 16px; height: 16px; margin-top: 4px; flex: 0 0 16px;
  background: var(--brand-soft);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  background-color: var(--brand);
}
.svc .visual {
  background: var(--bg); border-radius: 12px;
  padding: 18px; border: 1px solid var(--line);
  margin-top: auto;
}
.svc-tag {
  position: absolute; top: 22px; right: 22px;
  font-family: ui-monospace, monospace; font-size: 11.5px;
  color: var(--ink-3); letter-spacing: 0.04em;
}

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 38px; left: 38px; right: 38px;
  border-top: 1px dashed var(--line-2);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--line);
  display: grid; place-items: center; font-weight: 800; font-size: 20px;
  color: var(--brand);
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }

/* ---------- KPI ---------- */
.kpi-band {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.kpi .n {
  font-size: 56px; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(180deg, #fff 60%, #8FB0FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kpi .l { color: #B5BFD6; font-size: 13.5px; margin-top: 10px; max-width: 22ch; }

/* ---------- CTA ---------- */
.cta-band {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 64px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 999px;
  background: radial-gradient(closest-side, var(--brand-soft), transparent 70%);
}
.cta-band h2 { font-size: 38px; }
.cta-band p { color: var(--ink-2); margin-top: 14px; }
.cta-band .cta-actions { display: flex; gap: 14px; justify-content: flex-end; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 32px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 14px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--ink-2); font-size: 14.5px; }
.footer ul a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; color: var(--ink-3); font-size: 13px;
}

/* ---------- Subpage hero ---------- */
.page-hero { padding: 56px 0 48px; }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 64px); }
.page-hero p { color: var(--ink-2); max-width: 60ch; margin-top: 20px; font-size: 19px; }

/* ---------- Leistungen detail ---------- */
.deep-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 44px;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start;
  margin-bottom: 22px;
}
.deep-card .badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: ui-monospace, monospace; font-size: 12px;
  color: var(--ink-3); padding: 5px 10px; border: 1px solid var(--line);
  border-radius: 999px; margin-bottom: 18px;
}
.deep-card h2 { font-size: 36px; }
.deep-card .desc { color: var(--ink-2); margin: 16px 0 24px; font-size: 17px; }
.deep-card .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.deep-card .grid-2 div { font-size: 14.5px; }
.deep-card .grid-2 strong { display: block; margin-bottom: 4px; font-weight: 600; }
.deep-card .grid-2 span { color: var(--ink-2); }
.deep-card .visual {
  background: var(--bg); border-radius: 14px; padding: 22px;
  border: 1px solid var(--line); min-height: 260px;
}

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.avatar {
  aspect-ratio: 1/1; border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-3), var(--bg));
  border: 1px solid var(--line); margin-bottom: 18px;
  display: grid; place-items: center;
  color: var(--ink-3); font-family: ui-monospace, monospace; font-size: 12px;
  position: relative; overflow: hidden;
}
.avatar::after {
  content:""; position: absolute; inset:0;
  background-image:
    repeating-linear-gradient(135deg, rgba(36,81,232,0.06) 0 8px, transparent 8px 16px);
}
.member h3 { font-size: 18px; }
.member .role { color: var(--brand); font-size: 13.5px; font-weight: 600; margin-top: 4px; }
.member p { color: var(--ink-2); font-size: 14.5px; margin-top: 12px; line-height: 1.5; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value {
  border: 1px solid var(--line); background: var(--bg-2);
  border-radius: var(--radius); padding: 28px;
}
.value .n { font-family: ui-monospace, monospace; font-size: 12px; color: var(--ink-3); }
.value h3 { margin: 14px 0 8px; font-size: 20px; }
.value p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.form {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm);
}
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.field input, .field textarea, .field select {
  border: 1px solid var(--line-2); background: var(--bg);
  border-radius: 10px; padding: 12px 14px;
  font-family: inherit; font-size: 15px; color: var(--ink);
  outline: none; transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brand); background: var(--bg-2);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-meta { display: grid; gap: 24px; }
.contact-meta .block {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; background: var(--bg-2);
}
.contact-meta h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin: 0 0 8px; font-weight: 700; }
.contact-meta .v { font-size: 18px; font-weight: 600; }
.contact-meta .s { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .section-head, .services, .team, .values, .deep-card, .cta-band, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .kpi-band { grid-template-columns: 1fr 1fr; padding: 28px; }
  .cta-band { padding: 32px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  section { padding: 64px 0; }
}
@media (max-width: 540px) {
  .hero-trust { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .kpi-band { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Gutenberg / WP core fixes ---------- */
.wp-block-group, .wp-block-columns, .wp-block-column { box-sizing: border-box; }
.wp-block-image img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.wp-block-button__link { display:inline-flex; align-items:center; gap:10px; padding:14px 22px; border-radius:999px; font-weight:600; font-size:15.5px; }
.is-style-primary .wp-block-button__link { background: var(--brand); color: #fff; }
.is-style-primary .wp-block-button__link:hover { background: var(--brand-deep); }
.is-style-ghost .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.alignwide { max-width: 1240px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }

/* ---------- Blog ---------- */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .15s, transform .15s;
}
.post-card:hover { border-color: var(--line-2); }
.post-card .thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--bg-3), var(--bg));
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(36,81,232,0.05) 0 8px, transparent 8px 16px);
  pointer-events: none;
}
.post-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .cat {
  font-family: ui-monospace, monospace; font-size: 11.5px; color: var(--brand);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.post-card h2.post-card-title { font-size: 20px; letter-spacing: -0.015em; line-height: 1.3; margin: 0; }
.post-card h2.post-card-title a { color: var(--ink); }
.post-card h2.post-card-title a:hover { color: var(--brand); }
.post-card .excerpt { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.post-card .meta {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; gap: 12px; color: var(--ink-3); font-size: 12.5px;
  font-family: ui-monospace, monospace;
}

.single-post-content {
  max-width: 760px; margin: 0 auto;
}
.single-post-content > *:first-child { margin-top: 0 !important; }
.single-post-content section { padding: 0 !important; margin: 0 !important; }
.single-post-content section + section { margin-top: 28px !important; }
.single-post-content p:empty { display: none !important; }
.single-post-content h2 { font-size: 30px; margin: 28px 0 12px !important; line-height: 1.25; }
.single-post-content h3 { font-size: 21px; margin: 22px 0 10px !important; line-height: 1.3; }
.single-post-content h2 + h3,
.single-post-content h2 + p,
.single-post-content h3 + p,
.single-post-content h2 + ul,
.single-post-content h2 + ol,
.single-post-content h3 + ul,
.single-post-content h3 + ol { margin-top: 0 !important; }
.single-post-content p { color: var(--ink-2); margin: 0 0 16px; font-size: 17px; line-height: 1.7; }
.single-post-content ul, .single-post-content ol { color: var(--ink-2); margin: 0 0 16px; padding-left: 22px; }
.single-post-content li { margin-bottom: 6px; }
.single-post-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.single-post-content blockquote {
  border-left: 3px solid var(--brand); margin: 28px 0; padding: 8px 0 8px 22px;
  font-style: italic; color: var(--ink);
}
.single-post-content img { border-radius: 12px; margin: 28px 0; }

/* WordPress Bild-Ausrichtung & Bildunterschriften */
.single-post-content .alignright,
.single-post-content figure.alignright,
.single-post-content .wp-caption.alignright {
  float: right;
  margin: 6px 0 18px 28px;
  max-width: 50%;
}
.single-post-content .alignleft,
.single-post-content figure.alignleft,
.single-post-content .wp-caption.alignleft {
  float: left;
  margin: 6px 28px 18px 0;
  max-width: 50%;
}
.single-post-content .aligncenter,
.single-post-content figure.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.single-post-content img.alignright { float: right; margin: 6px 0 18px 28px; }
.single-post-content img.alignleft  { float: left;  margin: 6px 28px 18px 0; }
.single-post-content img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
/* Ausrichtungs-Bild selbst nicht zusätzlich mit Block-Margin versehen */
.single-post-content .alignright img,
.single-post-content .alignleft img,
.single-post-content .aligncenter img { margin: 0; }
.single-post-content .wp-caption { max-width: 100%; }
.single-post-content .wp-caption img { display: block; }
.single-post-content .wp-caption-text,
.single-post-content figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
  text-align: left;
}
/* Float am Sektionsende sauber clearen */
.single-post-content section::after,
.single-post-content::after { content: ""; display: table; clear: both; }
.single-post-content code {
  background: var(--bg-3); padding: 2px 6px; border-radius: 4px;
  font-family: ui-monospace, monospace; font-size: 0.92em;
}
.single-post-content pre {
  background: var(--ink); color: #fff; padding: 18px 22px; border-radius: 12px;
  overflow-x: auto; font-family: ui-monospace, monospace; font-size: 13.5px;
  margin: 28px 0;
}
.single-post-content pre code { background: transparent; color: inherit; padding: 0; }

.post-hero { padding: 56px 0 32px; }
.post-hero .meta {
  font-family: ui-monospace, monospace; color: var(--ink-3); font-size: 12.5px;
  display: flex; gap: 18px; margin-bottom: 18px;
}
.post-hero .meta a { color: var(--brand); }
.post-hero h1 { font-size: clamp(36px, 4.6vw, 56px); margin-bottom: 18px; }
.post-hero .lead { color: var(--ink-2); font-size: 19px; max-width: 60ch; }
.post-hero .author {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; gap: 14px; align-items: center; color: var(--ink-2); font-size: 14.5px;
}
.post-hero .author .av {
  width: 40px; height: 40px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-soft), var(--bg-3));
  border: 1px solid var(--line);
  overflow: hidden; flex-shrink: 0;
}
.post-hero .author .av img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; border-radius: 999px;
}

.pager {
  display: flex; justify-content: space-between; gap: 12px; margin-top: 56px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.pager a {
  padding: 12px 18px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 14.5px; color: var(--ink);
}
.pager a:hover { background: var(--bg-2); }

/* ---------- Author box (Artikelende) ---------- */
.author-box {
  display: flex; gap: 24px; align-items: flex-start;
  margin-top: 56px; padding: 32px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.author-box-avatar {
  width: 84px; height: 84px; flex-shrink: 0;
  border-radius: 999px; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--brand-soft), var(--bg-3));
}
.author-box-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; margin: 0 !important; border-radius: 0; }
.author-box-body { display: flex; flex-direction: column; }
.author-box-eyebrow {
  font-family: ui-monospace, monospace; font-size: 11.5px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
}
.author-box-name { font-size: 19px; color: var(--ink); margin-top: 6px; }
.author-box-role { color: var(--brand); font-size: 14px; font-weight: 600; margin-top: 2px; }
.author-box-text { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin: 12px 0 0; }
.author-box-links { margin-top: 14px; display: flex; gap: 20px; flex-wrap: wrap; }
.author-box-links a {
  color: var(--brand); font-weight: 600; font-size: 14.5px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.author-box-links a span { transition: transform .2s ease; }
.author-box-links a:hover span { transform: translateX(4px); }
.author-box-links a.author-box-linkedin:hover span { transform: translate(2px, -2px); }

@media (max-width: 960px) {
  .post-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .post-list { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; gap: 18px; padding: 26px; }
}

/* ---------- Leistungen-Dropdown (Hauptnavigation) ---------- */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-dropdown .caret {
  width: 9px; height: 9px; flex: 0 0 9px; margin-top: 1px; opacity: .65;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='black' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='black' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  transition: transform .2s ease;
}
.nav-dropdown:hover .caret, .nav-dropdown:focus-within .caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px);
  min-width: 252px; padding: 8px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 44px -16px rgba(10,21,48,0.28);
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 60;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.dropdown-menu a {
  display: flex; flex-direction: column; gap: 1px;
  padding: 9px 12px; border-radius: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  transition: background .12s, color .12s;
}
.dropdown-menu a .d { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.dropdown-menu a:hover, .dropdown-menu a:focus-visible, .dropdown-menu a[aria-current="page"] { background: var(--bg-3); color: var(--brand); }
.dropdown-menu a:hover .d, .dropdown-menu a[aria-current="page"] .d { color: var(--ink-2); }

/* Mobiles Untermenü unter „Leistungen" */
.mm-sub { display: grid; margin-top: -4px; padding: 2px 0 14px 16px; border-left: 2px solid rgba(255,255,255,0.12); margin-left: 4px; }
.mm-sub a { font-size: 17px !important; font-weight: 500 !important; padding: 11px 4px !important; border-bottom: none !important; color: rgba(255,255,255,0.72) !important; }
.mm-sub a[aria-current="page"] { color: #8FB0FF !important; }
