/* ============================================================
   LogiSoft Batchpad — Design System
   Brand: orange accent, brand-blue headings, dark plexus hero
   Type:  Quicksand (display/headings) · Mulish (body)
   ============================================================ */

:root {
  --orange:      #ee7d1b;
  --orange-600:  #d96d10;
  --orange-300:  #f6a85e;
  --blue:        #1b3e82;   /* brand-blue headings */
  --blue-700:    #142f64;
  --navy:        #21386a;   /* deep blue split panel */
  --navy-2:      #1a2c54;
  --ink:         #0a0e16;   /* near-black hero base */
  --ink-2:       #131c30;
  --panel-dark:  #2a2f38;   /* dark gray split panel */
  --gray-bg:     #ededeb;   /* light section bg */
  --gray-line:   #dcdcd8;
  --text:        #41464e;   /* body */
  --text-muted:  #6c7178;
  --text-soft:   #8b9096;
  --white:       #ffffff;

  --maxw: 1240px;
  --pad:  clamp(20px, 5vw, 64px);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(16,24,40,.06), 0 1px 2px rgba(16,24,40,.04);
  --shadow-md: 0 8px 24px rgba(16,24,40,.08);
  --shadow-lg: 0 24px 60px rgba(10,18,40,.16);

  --font-head: 'Quicksand', system-ui, sans-serif;
  --font-body: 'Mulish', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 14px;
}

.lead { font-size: 19px; color: var(--text-muted); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(8,10,16,.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s ease, border-color .3s ease;
}
.site-header.solid {
  background: rgba(8,10,16,.95);
  border-bottom-color: rgba(255,255,255,.08);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}
.brand-badge {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: radial-gradient(120% 120% at 30% 25%, #2e6fd6 0%, #16459e 55%, #0e2f74 100%);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.35), 0 2px 8px rgba(20,60,140,.5);
  letter-spacing: -.04em;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: #fff;
  line-height: 1;
  letter-spacing: .005em;
}
.brand-name sup { font-size: .5em; font-weight: 600; top: -.9em; }
.brand-sub {
  display: block;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: .085em;
  text-transform: lowercase;
  color: var(--orange-300);
  margin-top: 2px;
  line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 16px;
  color: rgba(255,255,255,.86);
  padding: 6px 2px;
  position: relative;
  transition: color .18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: #fff; }

/* ---- Partner Logo Grid ---- */
.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.partner-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--r-sm);
  padding: 20px 24px;
  transition: box-shadow .2s, transform .2s;
  min-height: 80px;
}
.partner-logo-cell:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
  transform: translateY(-2px);
}
.partner-logo-cell img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 900px) {
  .partner-logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .partner-logo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Sage 100 Dropdown ---- */
.nav-dropdown { position: static; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-weight: 500; font-size: 16px;
  color: rgba(255,255,255,.86);
  background: none; border: none; cursor: pointer;
  padding: 6px 2px; position: relative;
  transition: color .18s ease;
}
.nav-dropdown-toggle::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav-dropdown-toggle svg { transition: transform .18s ease; }
.nav-dropdown:hover .nav-dropdown-toggle { color: #fff; }
.nav-dropdown:hover .nav-dropdown-toggle::after { transform: scaleX(1); }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }

/* Dropdown als volle Leiste direkt unter dem Header */
.nav-dropdown-menu {
  display: none;
  position: fixed; top: 76px; left: 0; right: 0;
  background: rgba(12,16,28,.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.12);
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown.open .nav-dropdown-toggle { color: #fff; }
.nav-dropdown.open .nav-dropdown-toggle::after { transform: scaleX(1); }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 52px;
}
/* Sage 100 label vor den Links */
.nav-dropdown-inner::before {
  content: "Sage 100";
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  padding-right: 16px;
  margin-right: 8px;
  border-right: 1px solid rgba(255,255,255,.15);
  white-space: nowrap;
}
.nav-dropdown-menu a {
  display: inline-flex; align-items: center;
  padding: 7px 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  color: rgba(255,255,255,.88);
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover {
  color: #fff;
  background: rgba(238,125,27,.18);
}

.lang { display: flex; gap: 4px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: rgba(255,255,255,.7); }
.lang b { color: #fff; }
.lang span { color: rgba(255,255,255,.4); }

.nav-toggle { display: none; }

.nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  letter-spacing: .01em;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.18);
  white-space: nowrap;
  transition: color .2s, border-color .2s, background .2s;
}
.nav-back svg { flex-shrink: 0; }
.nav-back:hover { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.07); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --bg: var(--orange);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--fg);
  border: 2px solid var(--bg);
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--orange-600); border-color: var(--orange-600); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(238,125,27,.32); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: var(--orange);
}
.btn-ghost:hover { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(238,125,27,.28); }

.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover { background: var(--orange); color: #fff; }

.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-lg { padding: 17px 34px; font-size: 18px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600;
  color: var(--orange);
}
.link-arrow .arr { transition: transform .2s ease; }
.link-arrow:hover .arr { transform: translateX(5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 50% -10%, #1c2944 0%, var(--ink-2) 38%, var(--ink) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero canvas.plexus {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  display: block;
}
.hero::after { /* center glow */
  content: "";
  position: absolute; left: 50%; top: 30%;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(120,170,255,.22) 0%, rgba(120,170,255,0) 60%);
  z-index: 0; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  padding: clamp(100px, 14vh, 160px) var(--pad) clamp(72px, 10vh, 120px);
  max-width: 980px; margin-inline: auto;
}
.hero-wordmark {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(34px, 6vw, 64px);
  letter-spacing: -.01em;
  color: #fff;
  margin-bottom: 6px;
}
.hero-wordmark b { font-weight: 700; }
.hero-wordmark sup { font-size: .34em; font-weight: 500; top: -1.4em; color: var(--orange-300); }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 700;
  margin: 8px 0 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.hero h1 .o { color: var(--orange); }
.hero-sub {
  font-size: clamp(17px, 2.1vw, 22px);
  font-weight: 600;
  font-family: var(--font-head);
  color: rgba(255,255,255,.92);
  margin: 0 auto 36px;
  max-width: 640px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* hero stats row */
.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stats .stat {
  background: rgba(10,14,22,.4);
  padding: 26px 20px;
  text-align: center;
}
.hero-stats .num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--orange);
  line-height: 1;
}
.hero-stats .lbl { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 8px; }

/* ============================================================
   SPLIT PANELS (blue / dark gray)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split .panel {
  padding: clamp(48px, 6vw, 84px) clamp(40px, 5vw, 72px);
  color: #fff;
}
.split .panel.blue {
  background: var(--navy);
  /* Dynamisches padding-left: wächst bei breiten Screens, damit Content max. 540px breit bleibt und zur Mitte rückt */
  padding-left: max(clamp(40px, 5vw, 72px), calc(100% - 580px));
}
.split .panel.dark {
  background: var(--panel-dark);
  /* Spiegelbildlich: padding-right wächst, damit der rechte Content ebenfalls 540px breit und zur Mitte bleibt */
  padding-right: max(clamp(40px, 5vw, 72px), calc(100% - 580px));
}
.split .panel h2 { color: #fff; }
.split .panel p { color: rgba(255,255,255,.82); }
.split .panel .btn-outline { margin-top: 22px; color: #fff; border-color: var(--orange); }
.split .panel .btn-outline:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.split .panel h2 { color: #fff; }
.split .panel p { color: rgba(255,255,255,.8); }
.split .panel h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  color: #fff;
  margin-bottom: 18px;
}
.split .panel p { color: rgba(255,255,255,.82); max-width: 46ch; }
.split .panel .btn-outline { margin-top: 22px; color: #fff; border-color: var(--orange); }
.split .panel .btn-outline:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section.gray { background: var(--gray-bg); }
.section.ink { background: var(--ink); color: rgba(255,255,255,.82); }
.section.tight { padding-block: clamp(48px, 5vw, 72px); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  color: var(--blue);
  font-size: clamp(28px, 3.4vw, 42px);
  margin-bottom: 18px;
}
.section.ink .section-head h2 { color: #fff; }
.section-head p { font-size: 18px; color: var(--text-muted); }
.section.ink .section-head p { color: rgba(255,255,255,.6); }

.product-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--orange);
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 8px;
}

/* ============================================================
   FEATURE GRID (orange icons, blue titles)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 4vw, 64px) clamp(32px, 4vw, 56px);
}
.feature { text-align: center; }
.feature .ic {
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  color: var(--orange);
}
.feature .ic svg { width: 100%; height: 100%; display: block; }
.feature h3 {
  color: var(--blue);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature p { color: var(--text-muted); font-size: 16px; }

/* card variant of features (left aligned, numbered) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cdd2db; }
.card .ic { width: 44px; height: 44px; color: var(--orange); margin-bottom: 18px; }
.card .ic svg { width: 100%; height: 100%; }
.card h3 { color: var(--blue); font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 15.5px; }
.card .knum {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--font-head); font-weight: 700;
  font-size: 30px; color: var(--gray-line);
}

/* ============================================================
   BEFORE / AFTER (manuell -> automatisiert)
   ============================================================ */
.ba-toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: var(--r-pill);
  padding: 5px;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}
.ba-toggle button {
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  border: none; background: transparent; cursor: pointer;
  padding: 11px 24px; border-radius: var(--r-pill);
  color: var(--text-muted); transition: all .2s ease;
}
.ba-toggle button.on.manual { background: #e9edf4; color: var(--text); }
.ba-toggle button.on.auto { background: var(--orange); color: #fff; }
.ba-list { margin-top: 38px; display: grid; gap: 14px; }
.ba-row {
  display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start;
  background: #fff; border: 1px solid var(--gray-line);
  border-radius: var(--r-md); padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, transform .25s ease;
}
.ba-row .mark { width: 26px; height: 26px; margin-top: 1px; }
.ba-row .mark svg { width: 100%; height: 100%; }
.ba-row.is-manual .mark { color: #b03b3b; }
.ba-row.is-auto .mark { color: #1f9d57; }
.ba-row .txt { font-size: 16px; color: var(--text); }
.ba-row.is-auto { border-color: #bfe6cf; }

/* ============================================================
   AUDIENCE TABS
   ============================================================ */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.tab {
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  border: 2px solid var(--gray-line); background: #fff;
  color: var(--text-muted); cursor: pointer;
  padding: 14px 28px; border-radius: var(--r-pill);
  transition: all .2s ease;
}
.tab:hover { border-color: var(--orange-300); color: var(--text); }
.tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.tab small { display: block; font-weight: 500; font-size: 12.5px; opacity: .75; margin-top: 2px; font-family: var(--font-body); }

.tab-panel { display: none; animation: fade-up .4s ease both; }
.tab-panel.active { display: block; }
.audience-stack { display: grid; gap: 24px; }
.audience-card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
  background: #fff; border: 1px solid var(--gray-line);
  border-radius: var(--r-lg); padding: clamp(36px, 4vw, 56px);
  box-shadow: var(--shadow-md);
}
.audience-card .role-eyebrow { font-family: var(--font-head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--orange); margin-bottom: 12px; }
.audience-card h3 { color: var(--blue); font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 16px; }
.audience-card p { color: var(--text-muted); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 13px; align-items: start; font-size: 16px; color: var(--text); }
.check-list .chk { width: 22px; height: 22px; color: var(--orange); margin-top: 2px; }
.check-list .chk svg { width: 100%; height: 100%; }
.section.ink .check-list li { color: rgba(255,255,255,.85); }

/* ============================================================
   ARCHITECTURE DIAGRAM
   ============================================================ */
.arch {
  display: grid; gap: 18px;
  max-width: 720px; margin-inline: auto;
}
.arch-node {
  border-radius: var(--r-lg);
  padding: 24px 28px;
  position: relative;
  border: 1px solid transparent;
}
.arch-node .tag { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.arch-node .desc { font-size: 14.5px; }
.arch-node.cloud { background: linear-gradient(135deg, #1f4fae, #16357d); color: #fff; }
.arch-node.cloud .desc { color: rgba(255,255,255,.78); }
.arch-node.service { background: #2a2f38; color: #fff; border-color: var(--orange); }
.arch-node.service .desc { color: rgba(255,255,255,.78); }
.arch-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.arch-node.sage { background: #fff; border-color: var(--gray-line); color: var(--blue); box-shadow: var(--shadow-sm); }
.arch-node.sage .desc { color: var(--text-muted); }
.arch-arrow {
  text-align: center; color: var(--orange); font-size: 22px;
  font-family: var(--font-head); font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.arch-arrow span { font-size: 13px; color: var(--text-soft); font-weight: 600; letter-spacing: .04em; }
.section.ink .arch-arrow span { color: rgba(255,255,255,.5); }
.section.ink .arch-node.sage { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.section.ink .arch-node.sage .desc { color: rgba(255,255,255,.7); }

/* ============================================================
   CODE / SCRIPT EDITOR MOCKUP
   ============================================================ */
.editor {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0f1524;
  border: 1px solid rgba(255,255,255,.08);
}
.editor-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px;
  background: #161d30;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.editor-bar .dot { width: 12px; height: 12px; border-radius: 50%; }
.editor-bar .dot.r { background: #ff5f57; }
.editor-bar .dot.y { background: #febc2e; }
.editor-bar .dot.g { background: #28c840; }
.editor-bar .name { margin-left: 12px; font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,.5); }
.editor-body {
  display: grid; grid-template-columns: 44px 1fr;
  font-family: var(--font-mono); font-size: 14px; line-height: 1.75;
  padding: 18px 0;
}
.editor-gutter { text-align: right; padding-right: 14px; color: rgba(255,255,255,.22); user-select: none; }
.editor-code { padding-right: 22px; white-space: pre; overflow-x: auto; color: #c9d4e8; }
.editor-code .ln { display: block; }
.tok-tag { color: #6fb3ff; }
.tok-attr { color: #f0a868; }
.tok-str { color: #8fd98f; }
.tok-expr { color: #e0b3ff; }
.tok-com { color: #5a6480; font-style: italic; }
.cursor-blink { display: inline-block; width: 8px; height: 1.1em; background: var(--orange); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ============================================================
   STATS / BENEFITS
   ============================================================ */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2px; background: var(--gray-line); border-radius: var(--r-lg); overflow: hidden; }
.stat-cell { background: #fff; padding: 38px 28px; text-align: center; }
.stat-cell .big { font-family: var(--font-head); font-weight: 700; font-size: clamp(38px, 4.5vw, 56px); color: var(--orange); line-height: 1; }
.stat-cell .cap { color: var(--text-muted); font-size: 15px; margin-top: 10px; }

.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.benefit {
  background: #fff; border: 1px solid var(--gray-line);
  border-radius: var(--r-lg); padding: 32px 30px;
  border-top: 3px solid var(--orange);
}
.benefit h3 { color: var(--blue); font-size: 20px; margin-bottom: 12px; }
.benefit p { color: var(--text-muted); font-size: 16px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-head); font-weight: 600; font-size: 14px;
  padding: 9px 16px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--gray-line); color: var(--text);
}
.section.ink .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.85); }
.chip.accent { background: rgba(238,125,27,.1); border-color: rgba(238,125,27,.35); color: var(--orange-600); }

/* placeholder image */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(27,62,130,.05) 0 12px, rgba(27,62,130,.09) 12px 24px);
  border: 1px dashed rgba(27,62,130,.3);
  border-radius: var(--r-lg);
  display: grid; place-items: center;
  min-height: 260px;
  color: var(--blue);
}
.ph span { font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em; background: rgba(255,255,255,.7); padding: 6px 12px; border-radius: 6px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 130% at 50% 0%, #1c2944 0%, var(--ink-2) 45%, var(--ink) 100%);
  color: #fff; text-align: center;
}
.cta canvas.plexus { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.cta .wrap { position: relative; z-index: 2; padding-block: clamp(72px, 9vw, 130px); }
.cta h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); margin-bottom: 18px; }
.cta p { color: rgba(255,255,255,.78); font-size: 19px; max-width: 620px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 56px 0 36px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; padding-bottom: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.35); margin: 0; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-head); color: #fff; font-size: 15px; letter-spacing: .04em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 15px; color: rgba(255,255,255,.6); padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--orange); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .45s cubic-bezier(.2,.7,.3,1), transform .45s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .05s; }
.reveal.d2 { transition-delay: .10s; }
.reveal.d3 { transition-delay: .15s; }
.reveal.d4 { transition-delay: .20s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HERO BADGE (floating CTA pill in hero — "30 Tage kostenlos testen")
   ============================================================ */
.hero-badge {
  position: absolute; left: clamp(24px, 4vw, 72px); top: 50%;
  transform: translateY(-50%);
  z-index: 10; text-decoration: none;
  animation: badge-float 3.6s ease-in-out infinite;
}
@keyframes badge-float {
  0%, 100% { transform: translateY(calc(-50% + 0px)); }
  50%       { transform: translateY(calc(-50% - 8px)); }
}
.hero-badge-inner {
  display: block;
  background: rgba(10,16,34,.75);
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  padding: 12px 22px;
  box-shadow: 0 8px 28px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  color: #fff; font-family: var(--font-head); font-size: 13px; line-height: 1.3;
  white-space: nowrap;
  transition: box-shadow .2s, background .2s;
}
.hero-badge:hover .hero-badge-inner {
  background: rgba(238,125,27,.18);
  box-shadow: 0 12px 36px rgba(0,0,0,.5);
}
.hero-badge-inner b { color: var(--orange); font-weight: 700; }
@media (max-width: 1100px) { .hero-badge { display: none; } }

/* ============================================================
   SHOT — framed product-screenshot placeholder (drop-in for real imagery)
   ============================================================ */
.shot {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0f1524;
  border: 1px solid rgba(255,255,255,.08);
}
.shot-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: #161d30;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.shot-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.shot-bar .dot.r { background: #ff5f57; }
.shot-bar .dot.y { background: #febc2e; }
.shot-bar .dot.g { background: #28c840; }
.shot-bar .name { margin-left: 10px; font-family: var(--font-mono); font-size: 12.5px; color: rgba(255,255,255,.5); }
.shot-body {
  position: relative;
  min-height: 280px;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg, rgba(120,165,255,.05) 0 14px, rgba(120,165,255,.09) 14px 28px),
    radial-gradient(120% 120% at 30% 20%, rgba(46,111,214,.18), transparent 60%);
}
.shot-body .glyph { width: 56px; height: 56px; color: var(--orange-300); opacity: .9; margin-bottom: 16px; }
.shot-body .glyph svg { width: 100%; height: 100%; }
.shot-body .cap { text-align: center; padding: 0 24px; }
.shot-body .cap .t { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 18px; margin-bottom: 6px; }
.shot-body .cap .s { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .02em; }
.shot-inner { padding: 28px; width: 100%; }
/* light variant for use on dark sections */
.shot.light { background: #fff; border-color: var(--gray-line); }
.shot.light .shot-bar { background: #f3f4f2; border-bottom-color: var(--gray-line); }
.shot.light .shot-bar .name { color: var(--text-soft); }
.shot.light .shot-body { background: repeating-linear-gradient(135deg, rgba(27,62,130,.04) 0 14px, rgba(27,62,130,.08) 14px 28px); }
.shot.light .shot-body .glyph { color: var(--orange); }
.shot.light .shot-body .cap .t { color: var(--blue); }
.shot.light .shot-body .cap .s { color: var(--text-soft); }

/* ============================================================
   TIMELINE (company history)
   ============================================================ */
.timeline { position: relative; max-width: 880px; margin-inline: auto; padding-left: 0; }
.timeline::before { content: ""; position: absolute; left: 120px; top: 8px; bottom: 8px; width: 2px; background: var(--gray-line); }
.tl-item { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 40px; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-year { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--orange); text-align: right; line-height: 1.4; }
.tl-body { position: relative; padding-left: 28px; }
.tl-body::before { content: ""; position: absolute; left: -7px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 0 0 4px var(--gray-bg); }
.tl-body h3 { color: var(--blue); font-size: 18px; margin-bottom: 6px; }
.tl-body p { color: var(--text-muted); font-size: 15.5px; }
.tl-item.major .tl-body::before { background: var(--orange); }
.tl-item.major .tl-body h3 { color: var(--orange-600); }

/* ============================================================
   SERVICE TILE GRID
   ============================================================ */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 26px); }
.tile {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--gray-line); border-radius: var(--r-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cdd2db; }
.tile .ic { width: 46px; height: 46px; color: var(--orange); margin-bottom: 18px; }
.tile .ic svg { width: 100%; height: 100%; }
.tile h3 { color: var(--blue); font-size: 19px; margin-bottom: 9px; }
.tile p { color: var(--text-muted); font-size: 15.5px; margin-bottom: 18px; }
.tile .link-arrow { margin-top: auto; font-size: 15px; }

/* text wordmark used inside logo-cell when no image */
.logo-cell .wordmark { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--text-muted); letter-spacing: .01em; transition: color .2s; text-align: center; }
.logo-cell:hover .wordmark { color: var(--blue); }

/* ============================================================
   PAGE HERO (inner pages — shorter than landing hero)
   ============================================================ */
.page-hero {
  position: relative;
  background: radial-gradient(120% 90% at 50% -20%, #1c2944 0%, var(--ink-2) 42%, var(--ink) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero canvas.plexus { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.page-hero::after {
  content: ""; position: absolute; left: 50%; top: 20%;
  width: 60vw; height: 50vw; max-width: 820px; max-height: 700px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(120,170,255,.18) 0%, rgba(120,170,255,0) 62%);
  z-index: 0; pointer-events: none;
}
.page-hero-inner {
  position: relative; z-index: 2;
  padding: clamp(80px, 11vh, 130px) var(--pad) clamp(48px, 7vh, 80px);
  max-width: 920px; margin-inline: auto; text-align: center;
}
.page-hero .eyebrow { color: var(--orange); }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px); color: #fff;
  margin: 8px 0 20px; text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.page-hero h1 .o { color: var(--orange); }
.page-hero .sub {
  font-size: clamp(17px, 2vw, 21px); font-weight: 600; font-family: var(--font-head);
  color: rgba(255,255,255,.9); max-width: 660px; margin: 0 auto 30px;
}
.page-hero .hero-actions { justify-content: center; }
.crumbs { display: flex; gap: 10px; justify-content: center; align-items: center; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .04em; color: rgba(255,255,255,.55); margin-top: 26px; }
.crumbs a { color: rgba(255,255,255,.7); }
.crumbs a:hover { color: var(--orange); }
.crumbs .sep { color: rgba(255,255,255,.3); }

/* ============================================================
   SHOWCASE ROWS (alternating image / text)
   ============================================================ */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.showcase + .showcase { margin-top: clamp(56px, 7vw, 100px); }
.showcase.flip .showcase-media { order: 2; }
.showcase-body .eyebrow { color: var(--orange); }
.showcase-body h2 { color: var(--blue); font-size: clamp(26px, 3vw, 38px); margin-bottom: 18px; }
.showcase-body p { color: var(--text-muted); font-size: 17px; margin-bottom: 18px; }
.section.ink .showcase-body h2 { color: #fff; }
.section.ink .showcase-body p { color: rgba(255,255,255,.7); }
.showcase-media img { width: 100%; border-radius: var(--r-lg); display: block; }
.media-frame {
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(27,62,130,.05), rgba(238,125,27,.04));
  border: 1px solid var(--gray-line);
  padding: clamp(18px, 2.4vw, 32px);
  box-shadow: var(--shadow-md);
}
.media-frame img { border-radius: var(--r-md); }
.section.ink .media-frame { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }

/* ============================================================
   SHOWCASE STACK (text above, large image below + lightbox)
   ============================================================ */
.showcase-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
}
.showcase-stack + .showcase-stack {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--gray-line);
}
.showcase-stack .showcase-body { max-width: 860px; }

/* ============================================================
   BENTO GRID (product hub — index)
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(16px, 2vw, 22px);
  margin-top: clamp(32px, 4vw, 56px);
  align-items: stretch;
}
.bento-tile--main { grid-row: 1 / 3; }
.bento-tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.5vw, 48px);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
  overflow: hidden;
}
.bento-tile:hover { transform: translateY(-4px); box-shadow: 0 28px 64px rgba(10,18,40,.18); }
.bento-tile--main  { background: linear-gradient(150deg, #1e4494 0%, var(--blue) 55%, #0e2552 100%); }
.bento-tile--light { background: #f5f4f1; border: 1px solid var(--gray-line); }
.bento-tile--dark  { background: var(--ink-2); }

.bento-eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.bento-tile--main  .bento-eyebrow { color: var(--orange-300); }
.bento-tile--dark  .bento-eyebrow { color: var(--orange-300); }
.bento-tile--light .bento-eyebrow { color: var(--orange); }

.bento-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.bento-name sup { font-size: .44em; vertical-align: super; }
.bento-tile--main  .bento-name { color: #fff; }
.bento-tile--dark  .bento-name { color: #fff; }
.bento-tile--light .bento-name { color: var(--blue); }

.bento-claim {
  font-size: clamp(14.5px, 1.5vw, 17px);
  line-height: 1.5;
  margin-bottom: 20px;
}
.bento-tile--main  .bento-claim { color: rgba(255,255,255,.78); }
.bento-tile--dark  .bento-claim { color: rgba(255,255,255,.72); }
.bento-tile--light .bento-claim { color: var(--text-muted); }

.bento-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bento-feats li {
  font-size: 14px;
  padding-left: 20px;
  position: relative;
  line-height: 1.45;
}
.bento-feats li::before { content: '✓'; position: absolute; left: 0; font-weight: 700; font-size: 12px; }
.bento-tile--main  .bento-feats li         { color: rgba(255,255,255,.7); }
.bento-tile--main  .bento-feats li::before { color: var(--orange-300); }
.bento-tile--dark  .bento-feats li         { color: rgba(255,255,255,.65); }
.bento-tile--dark  .bento-feats li::before { color: var(--orange-300); }
.bento-tile--light .bento-feats li         { color: var(--text-muted); }
.bento-tile--light .bento-feats li::before { color: var(--orange); }

.bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  margin-top: 28px;
  letter-spacing: .01em;
  transition: gap .18s ease;
}
.bento-tile:hover .bento-cta { gap: 10px; }
.bento-tile--main  .bento-cta { color: var(--orange-300); }
.bento-tile--dark  .bento-cta { color: var(--orange-300); }
.bento-tile--light .bento-cta { color: var(--orange); }

@media (max-width: 767px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-tile--main { grid-row: auto; }
}
.showcase-stack .showcase-media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  cursor: zoom-in;
}

/* Lightbox */
.lb-img { cursor: zoom-in !important; }
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5,8,16,.93);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  backdrop-filter: blur(10px);
  animation: lb-fade .18s ease;
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-figure {
  margin: 0; max-width: min(92vw, 1440px); max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  cursor: zoom-out;
}
.lb-overlay img {
  max-width: min(92vw, 1440px);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,.75);
  display: block;
  cursor: default;
}
.lb-caption {
  color: rgba(255,255,255,.82); font-family: var(--font-body);
  font-size: 14.5px; text-align: center; max-width: 70ch; line-height: 1.5;
}
.lb-close {
  position: fixed; top: 18px; right: 20px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.lb-close:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
.lb-counter {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.7); font-family: var(--font-head); font-weight: 600;
  font-size: 13.5px; letter-spacing: .06em;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  padding: 6px 14px; border-radius: 999px;
}
.lb-overlay.lb-single .lb-nav,
.lb-overlay.lb-single .lb-counter { display: none; }
@media (max-width: 640px) {
  .lb-nav { width: 46px; height: 46px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
}

/* Galerie-Raster im Artikel */
.lb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin: 28px 0;
}
.lb-gallery[data-imgs="2"] { grid-template-columns: repeat(2, 1fr); }
.lb-gallery[data-imgs="3"] { grid-template-columns: repeat(3, 1fr); }
.lb-cell {
  margin: 0; aspect-ratio: 4/3; overflow: hidden;
  border-radius: var(--r-md); border: 1px solid var(--gray-line);
  box-shadow: var(--shadow-sm); background: var(--gray-bg);
}
.lb-cell a { display: block; width: 100%; height: 100%; }
.article-content.prose .lb-gallery img {
  width: 100%; height: 100%; object-fit: cover; margin: 0;
  border-radius: 0; box-shadow: none;
  transition: transform .35s ease;
}
.lb-cell:hover img { transform: scale(1.05); }
@media (max-width: 560px) {
  .lb-gallery, .lb-gallery[data-imgs="3"] { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SPEC GRID (small titled feature blocks — the #### list)
   ============================================================ */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); }
.spec {
  background: #fff; border: 1px solid var(--gray-line);
  border-radius: var(--r-md); padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.spec:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cdd2db; }
.spec .ic { width: 38px; height: 38px; color: var(--orange); margin-bottom: 14px; }
.spec .ic svg { width: 100%; height: 100%; }
.spec h3 { color: var(--blue); font-size: 17px; margin-bottom: 8px; }
.spec p { color: var(--text-muted); font-size: 15px; }
.section.gray .spec { background: #fff; }
.section.ink .spec { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section.ink .spec h3 { color: #fff; }
.section.ink .spec p { color: rgba(255,255,255,.66); }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 36px); }
.post {
  display: flex; flex-direction: column;
  position: relative;
  background: #fff; border: 1px solid var(--gray-line);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* Ganze Kachel klickbar: Stretched-Link über den Titel-Link */
.post-stretch::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
}
.post:hover h3 a { color: var(--orange); }
.post:hover .link-arrow { color: var(--orange); }
.post:hover .link-arrow .arr { transform: translateX(3px); }
.post .link-arrow .arr { transition: transform .2s ease; }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--gray-bg); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post .meta { font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.post h3 { color: var(--blue); font-size: 19px; margin-bottom: 12px; line-height: 1.25; }
.post p { color: var(--text-muted); font-size: 15px; margin-bottom: 18px; }
.post .link-arrow { margin-top: auto; font-size: 15px; }

/* ============================================================
   EMBED-VARIANTE (iframe – ohne Menü/Hero/Footer)
   ============================================================ */
body.embed { background: transparent; }
.embed-listing { padding: 22px 0 26px; }
.embed-listing .wrap { padding-left: 20px; padding-right: 20px; }
.embed-listing .pagination-wrap { margin-top: 30px; }
@media (max-width: 980px) {
  .embed-listing .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .embed-listing .post-grid { grid-template-columns: 1fr; }
}
/* Schlanker Beitragskopf im Embed */
.embed-post-head { padding: 26px 0 4px; }
.embed-post-head .wrap { max-width: 960px; margin-inline: auto; padding-left: 24px; padding-right: 24px; }
.embed-post-head h1 {
  color: var(--blue); font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15; margin-bottom: 14px;
}
.embed-post-head .post-meta-row {
  display: flex; flex-wrap: wrap; gap: 18px;
  color: var(--text-muted); font-size: 14px;
}
.embed-post-head .post-meta-row span {
  display: inline-flex; align-items: center; gap: 7px;
}
.embed-post-head .post-meta-row svg { color: var(--orange); }
body.embed .article-single { padding-top: 10px; }

/* ============================================================
   EDITION / PRICING CARDS
   ============================================================ */
.edition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); align-items: stretch; }
.edition {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--gray-line);
  border-radius: var(--r-lg); padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.edition.featured { border-color: var(--orange); box-shadow: 0 20px 50px rgba(238,125,27,.16); position: relative; }
.edition.featured::before {
  content: "Empfohlen"; position: absolute; top: -13px; left: 32px;
  background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--r-pill);
}
.edition .ed-name { font-family: var(--font-head); font-weight: 700; color: var(--blue); font-size: 24px; margin-bottom: 6px; }
.edition .ed-tag { color: var(--text-muted); font-size: 15px; margin-bottom: 22px; }
.edition .ed-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; }
.edition .ed-list li { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; font-size: 15.5px; color: var(--text); }
.edition .ed-list .chk { width: 20px; height: 20px; color: var(--orange); margin-top: 2px; }
.edition .ed-list .chk svg { width: 100%; height: 100%; }
.edition .btn { margin-top: auto; justify-content: center; }

/* ============================================================
   PARTNER / LOGO ROW
   ============================================================ */
.logo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; background: var(--gray-line); border-radius: var(--r-lg); overflow: hidden; }
.logo-cell { background: #fff; min-height: 120px; display: grid; place-items: center; padding: 26px; }
.logo-cell img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.logo-cell:hover img { filter: none; opacity: 1; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-info h3 { color: var(--blue); font-size: 22px; margin-bottom: 20px; }
.contact-info .ci-row { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; margin-bottom: 20px; }
.contact-info .ci-row .ic { width: 22px; height: 22px; color: var(--orange); margin-top: 3px; }
.contact-info .ci-row .ic svg { width: 100%; height: 100%; }
.contact-info .ci-row .lbl { font-family: var(--font-head); font-weight: 700; color: var(--text); font-size: 16px; margin-bottom: 2px; }
.contact-info .ci-row .val { color: var(--text-muted); font-size: 15.5px; }
.form-card { background: #fff; border: 1px solid var(--gray-line); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 44px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--text); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--text);
  padding: 13px 16px; border: 1.5px solid var(--gray-line); border-radius: var(--r-md);
  background: #fcfcfb; transition: border-color .18s, box-shadow .18s; outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(238,125,27,.14); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.form-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); }
.form-note { font-size: 13px; color: var(--text-soft); margin-top: 14px; text-align: center; }

/* ============================================================
   PROSE (legal / text pages)
   ============================================================ */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { color: var(--blue); font-size: clamp(22px, 2.4vw, 30px); margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--text); font-size: 19px; margin: 28px 0 10px; font-family: var(--font-head); }
.prose p { color: var(--text-muted); margin-bottom: 16px; }
.prose ul { color: var(--text-muted); padding-left: 20px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--orange); }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); }

/* ============================================================
   SECTION INTRO HELPERS
   ============================================================ */
.value-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--gray-line); border-radius: var(--r-lg); overflow: hidden; }
.value-band .vb { background: #fff; padding: 34px 30px; }
.value-band .vb .ic { width: 40px; height: 40px; color: var(--orange); margin-bottom: 16px; }
.value-band .vb .ic svg { width: 100%; height: 100%; }
.value-band .vb h3 { color: var(--blue); font-size: 19px; margin-bottom: 10px; }
.value-band .vb p { color: var(--text-muted); font-size: 15.5px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .audience-card { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 32px; }
  .showcase.flip .showcase-media { order: 0; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .edition-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .value-band { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-links, .lang { display: none; }
  .site-header .btn-sm { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(8,10,16,.98); padding: 16px var(--pad) 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; padding: 10px 0; font-size: 16px; }
  .nav-dropdown-menu {
    position: static; display: none;
    backdrop-filter: none;
    border: none; border-bottom: none;
    background: rgba(255,255,255,.04);
    border-radius: var(--r-sm);
    margin-top: 2px;
  }
  .nav-dropdown-inner { height: auto; padding: 4px 8px; gap: 2px; flex-direction: column; align-items: flex-start; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
  .nav-dropdown-menu a { padding: 10px 14px; font-size: 16px; width: 100%; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
  .hero-badge { display: none; }
  .arch-split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .spec-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}


/* ============================================================
   BLOG-SPECIFIC ADDITIONS
   (post hero, article layout, sidebar, share, pagination, etc.)
   ============================================================ */

/* ── Post Hero (item page) ────────────────────────────────── */
.post-hero { min-height: 320px; }

.post-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
  opacity: .18;
}

.post-hero .wrap { position: relative; z-index: 2; padding-inline: 0; padding-top: clamp(72px, 10vh, 120px); padding-bottom: clamp(48px, 7vh, 80px); }
.post-hero-inner { text-align: left; max-width: 960px; margin-inline: auto; padding-inline: 24px; }
.post-hero-inner h1 { font-size: clamp(28px, 3.8vw, 50px); margin-bottom: 22px; }

.post-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  font-family: var(--font-head); font-weight: 500; font-size: 14px;
  color: rgba(255,255,255,.65);
}
.post-meta-row svg { vertical-align: -2px; margin-right: 5px; }
.post-date, .post-author, .post-readtime {
  display: inline-flex; align-items: center; gap: 6px;
}

/* ── Article Single (neues Layout ohne Sidebar) ───────────── */
.article-single {
  max-width: 960px;
  margin: 48px auto 80px;
  padding: 0 24px;
}
.article-single .article-content { max-width: none; margin-inline: 0; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 48px;
  margin-top: 12px;
  padding: 8px 18px 8px 12px;
  border-radius: 100px;
  background: var(--blue);
  transition: background .2s, gap .2s;
}
.back-link:hover { background: var(--blue-dark, #1a4fa0); gap: 11px; }
.back-link svg { flex-shrink: 0; }

/* ── Article Layout (alt, Sidebar) ────────────────────────── */
.article-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(32px, 4vw, 64px);
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--pad);
  align-items: start;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.article-sidebar {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 28px;
}

.sidebar-back { display: inline-flex; margin-bottom: 4px; }

.sidebar-tags h4,
.sidebar-share h4 {
  font-family: var(--font-head); font-weight: 700;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); margin: 0 0 12px;
}

/* ── Share buttons ────────────────────────────────────────── */
.share-btns { display: flex; gap: 10px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gray-bg); border: 1px solid var(--gray-line);
  color: var(--text-muted);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
  text-decoration: none;
}
.share-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }

/* ── Article prose ────────────────────────────────────────── */
.article-content.prose { min-width: 0; }
.article-content.prose h2 { margin-top: 48px; }
.article-content.prose h2:first-child { margin-top: 0; }
.article-content.prose img {
  max-width: 100%; height: auto; border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); margin: 28px 0;
  cursor: zoom-in;
}
.article-content.prose blockquote {
  border-left: 3px solid var(--orange);
  margin: 28px 0; padding: 14px 24px;
  background: rgba(238,125,27,.06);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--text);
  font-style: italic; font-size: 18px;
}
.article-content.prose pre {
  background: #0f1524; color: #c9d4e8;
  border-radius: var(--r-md); padding: 20px 24px;
  overflow-x: auto; font-family: var(--font-mono); font-size: 14px;
  box-shadow: var(--shadow-md); margin: 24px 0;
}
.article-content.prose code {
  font-family: var(--font-mono); font-size: .88em;
  background: rgba(27,62,130,.08); color: var(--blue);
  padding: 2px 6px; border-radius: 4px;
}
.article-content.prose pre code { background: none; color: inherit; padding: 0; }
.article-content.prose table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  font-size: 15px;
}
.article-content.prose th {
  font-family: var(--font-head); font-weight: 700;
  background: var(--gray-bg); color: var(--blue);
  padding: 12px 16px; text-align: left;
  border-bottom: 2px solid var(--gray-line);
}
.article-content.prose td {
  padding: 11px 16px; border-bottom: 1px solid var(--gray-line);
  color: var(--text-muted);
}
.article-content.prose tr:last-child td { border-bottom: none; }
.article-content.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.article-content.prose a:hover { color: var(--orange-600); }

/* ── Pagination ───────────────────────────────────────────── */
.pagination-wrap { margin-top: 56px; }

.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
}
.pag-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: var(--r-pill);
  border: 1.5px solid var(--gray-line); background: #fff;
  color: var(--text); text-decoration: none;
  transition: border-color .18s, background .18s, color .18s, transform .15s;
}
.pag-btn:hover:not(.disabled) { border-color: var(--orange); color: var(--orange); transform: translateY(-1px); }
.pag-btn.disabled { opacity: .4; cursor: default; }

.pag-pages { display: flex; gap: 6px; flex-wrap: wrap; }
.pag-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  border: 1.5px solid var(--gray-line); background: #fff; color: var(--text);
  text-decoration: none;
  transition: border-color .18s, background .18s, color .18s;
}
.pag-num:hover { border-color: var(--orange); color: var(--orange); }
.pag-num.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ── Active filter bar ────────────────────────────────────── */
.filter-active {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 22px;
  background: rgba(238,125,27,.07);
  border: 1px solid rgba(238,125,27,.25);
  border-radius: var(--r-md);
}
.filter-clear {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  color: var(--text-muted); margin-left: auto;
  transition: color .15s;
}
.filter-clear:hover { color: var(--orange); }

/* ── Post meta link ───────────────────────────────────────── */
.meta-link { color: var(--orange); text-decoration: none; }
.meta-link:hover { text-decoration: underline; }
.meta-date { color: var(--text-muted); }
.meta-sep { color: var(--text-muted); }

/* ── No-posts state ───────────────────────────────────────── */
.no-posts {
  text-align: center; padding: 80px 20px; color: var(--text-muted);
}
.no-posts svg { margin: 0 auto 20px; display: block; color: var(--gray-line); }
.no-posts p { font-size: 18px; }

/* ── Responsive adjustments ───────────────────────────────── */
@media (max-width: 860px) {
  .article-wrap {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    flex-direction: row; flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--gray-line);
    padding-bottom: 24px;
    gap: 16px;
  }
  .sidebar-back { margin-bottom: 0; }
  .sidebar-tags, .sidebar-share { display: flex; align-items: center; gap: 12px; }
  .sidebar-tags h4, .sidebar-share h4 { margin: 0; white-space: nowrap; }
  .post-hero-inner { text-align: center; max-width: 100%; }
  .post-meta-row { justify-content: center; }
}
