:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --surface: #ffffff;
  --surface2: #f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 48px rgba(15,23,42,.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background: #e8eaf0;
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }

.site-box {
  max-width: 1440px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 60px rgba(0,0,0,.12);
  overflow: visible;
  padding-top: 64px;
}

.container,
.home-hero-inner,
.home-features-inner,
.home-steps-inner,
.home-config-inner,
.home-trust-inner,
.page-hero-inner,
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.mega-nav {
  position: fixed;
  top: 0;
  left: 50%;
  width: min(100%, 1440px);
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  backdrop-filter: blur(16px);
}

.mega-nav-inner {
  max-width: 1280px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.mega-logo {
  width: 160px;
  display: flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}
.mega-logo img { width: auto; height: 34px; filter: brightness(0); }

.mega-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 2px;
}

.mega-links a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 10px;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  transition: all .15s;
  white-space: nowrap;
}
.mega-links a:hover,
.mega-links a.active {
  background: #f1f5f9;
  color: var(--text);
}

.nav-actions {
  width: 160px;
  display: flex;
  justify-content: flex-end;
}
.shop-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 10px;
  background: var(--text);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.home-hero,
.page-hero {
  position: relative;
  height: 560px;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #060c1a;
}
.home-hero-bg,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.jpg.png');
  background-size: cover;
  background-position: center;
  opacity: .82;
}
.home-hero-bg { content: ""; }
.home-hero-gradient,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,12,26,.62) 0%, rgba(37,99,235,.06) 50%, rgba(6,12,26,.48) 100%);
}
.home-hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,.25) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero-inner,
.page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 54px;
  padding-bottom: 54px;
}

.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(37,99,235,.4);
  border-radius: 100px;
  background: rgba(37,99,235,.2);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

h1, h2, h3, p { margin-top: 0; }
.home-hero h1,
.page-hero h1 {
  max-width: 840px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.home-hero h1 span,
.home-config-title span { color: #60a5fa; }
.home-hero-sub,
.page-hero p {
  max-width: 700px;
  margin: 0 0 30px;
  color: #cbd5e1;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}
.home-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.home-hero-note {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(226,232,240,.82);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
}
.home-btn-primary,
.home-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  transition: all .2s;
}
.home-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 30px rgba(37,99,235,.4);
}
.home-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,99,235,.5);
}
.home-btn-outline {
  background: rgba(255,255,255,.08);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
}
.home-btn-outline:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.35);
  transform: translateY(-2px);
}

.home-trust {
  background: #fff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  padding: 32px 0;
}
.home-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.home-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 34px;
  border-left: 1px solid #e2e8f0;
  color: #334155;
  font-size: 15px;
  font-weight: 800;
}
.home-trust-item:first-child {
  border-left: none;
  padding-left: 0;
}
.home-trust-icon,
.home-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}
.home-trust-icon {
  min-width: 38px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: .05em;
}

.home-features,
.home-config-cta {
  background: #fff;
  padding: 92px 0;
}
.home-steps {
  background: #f8fafc;
  padding: 92px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.home-section-label,
.home-config-label {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.home-section-title {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.home-section-sub {
  max-width: 720px;
  margin: 0 0 56px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.home-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home-features-grid-four {
  grid-template-columns: repeat(4, 1fr);
}
.home-feature-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: all .2s;
  overflow: hidden;
}
.home-feature-card::before,
.info-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), rgba(148,163,184,.2));
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: left;
  transition: opacity .22s, transform .22s;
}
.home-feature-card:hover {
  border-color: #bfdbfe;
  border-left-color: var(--primary);
  box-shadow: 0 8px 32px rgba(37,99,235,.08);
  transform: translateY(-2px);
}
.home-feature-card:hover::before,
.info-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}
.home-feature-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 10px;
  font-size: 14px;
}
.home-feature-title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 19px;
  font-weight: 850;
}
.home-feature-text {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.home-card-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 800;
}

.home-steps-head {
  margin-bottom: 56px;
  text-align: center;
}
.home-steps-head p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.home-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.home-step-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 38px 34px;
  box-shadow: 0 10px 34px rgba(15,23,42,.04);
}
.home-step-num {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(37,99,235,.22);
}
.home-step-card:nth-child(2) .home-step-num {
  background: linear-gradient(135deg, #475569, #1e293b);
  box-shadow: 0 8px 24px rgba(30,41,59,.18);
}
.home-step-card:nth-child(3) .home-step-num {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 8px 24px rgba(5,150,105,.18);
}
.home-step-title {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 20px;
  font-weight: 850;
}
.home-step-text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.home-config-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  border-radius: 18px;
  padding: 72px 56px;
  background: linear-gradient(135deg,#0f172a 0%,#1e3a8a 55%,#1e1b4b 100%);
}
.home-config-panel::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(96,165,250,.26), transparent 68%);
  pointer-events: none;
}
.home-config-copy,
.home-config-actions {
  position: relative;
  z-index: 1;
}
.home-config-copy { max-width: 680px; }
.home-config-title {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 900;
  line-height: 1.12;
}
.home-config-text {
  margin: 0;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.7;
}
.home-config-actions {
  min-width: 245px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-hero,
.legal-hero {
  min-height: 560px;
}

.content-section {
  position: relative;
  background: #fff;
  padding: 82px 0;
}
.content-section:nth-of-type(even) {
  background: #f8fafc;
}
.content-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 1280px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.18), transparent);
}
.content-head {
  max-width: 760px;
  margin-bottom: 42px;
}
.content-head h2,
.legal-content h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.content-head p,
.legal-content p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.content-grid {
  display: grid;
  gap: 22px;
}
.content-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.content-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 34px;
  align-items: start;
}

.content-split-reverse {
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
}

.detail-panel {
  background: linear-gradient(145deg, #ffffff, #f7faff);
  border: 1px solid rgba(135, 153, 181, 0.24);
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(18, 31, 53, 0.08);
  padding: 28px;
}

.detail-kicker {
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.detail-panel h2 {
  color: #10182a;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.04;
  margin: 0 0 16px;
}

.detail-panel > p {
  color: #526785;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

.detail-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(135, 153, 181, 0.2);
}

.detail-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.detail-row:last-child {
  padding-bottom: 0;
}

.detail-row span,
.check-list article > span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff5ff;
  color: #2563eb;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.detail-row p {
  color: #526785;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.check-list {
  display: grid;
  gap: 16px;
}

.check-list article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  background: #ffffff;
  border: 1px solid rgba(135, 153, 181, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(18, 31, 53, 0.07);
  padding: 22px;
}

.check-list article > span::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #2563eb;
  border-radius: 50%;
}

.check-list h3 {
  color: #10182a;
  font-size: 22px;
  margin: 0 0 8px;
}

.check-list p {
  color: #526785;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

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

.metric-grid article {
  min-height: 150px;
  background: #ffffff;
  border: 1px solid rgba(135, 153, 181, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(18, 31, 53, 0.07);
  padding: 24px;
}

.metric-grid strong {
  display: block;
  color: #10182a;
  font-size: 24px;
  margin-bottom: 12px;
}

.metric-grid span {
  display: block;
  color: #526785;
  font-size: 16px;
  line-height: 1.6;
}

.compact-grid {
  align-self: stretch;
}

.category-band-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.category-banner-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
}

.category-banner {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(135, 153, 181, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(24, 39, 66, 0.88)),
    url('../img/hero-bg.jpg.png') center / cover;
  box-shadow: 0 24px 70px rgba(18, 31, 53, 0.16);
  color: #ffffff;
  padding: 30px;
}

.category-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.22), transparent 58%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 72px);
  opacity: .55;
  pointer-events: none;
}

.category-banner-primary {
  min-height: 390px;
}

.category-banner-muted {
  background:
    linear-gradient(135deg, rgba(5, 10, 20, 0.96), rgba(51, 65, 85, 0.86)),
    url('../img/hero-bg.jpg.png') center / cover;
}

.category-banner > * {
  position: relative;
  z-index: 1;
}

.category-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.category-banner h3 {
  max-width: 560px;
  color: #ffffff;
  font-size: clamp(25px, 2.4vw, 38px);
  line-height: 1.08;
  margin: 0 0 14px;
}

.category-banner p {
  max-width: 620px;
  color: rgba(226, 232, 240, 0.84);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.category-banner a {
  align-self: flex-start;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  padding-top: 22px;
}

/* Dunkle Sektionen.
   Bewusst mit .content-section davor: sonst gewinnt die Zebra-Regel
   .content-section:nth-of-type(even) (hoehere Spezifitaet) und faerbt den
   Hintergrund hell, waehrend die Schrift weiss bleibt - Text wird unlesbar. */
.content-section.system-lab-section,
.content-section.ai-signal-section,
.content-section.business-dashboard-section,
.content-section.signature-showcase-section,
.system-lab-section,
.ai-signal-section,
.business-dashboard-section,
.signature-showcase-section {
  background: #0b1220;
  color: #ffffff;
}

.system-lab,
.business-dashboard,
.ai-signal,
.signature-showcase {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
  gap: 38px;
  align-items: center;
}

.system-lab-copy h2,
.business-dashboard-copy h2,
.ai-signal h2,
.signature-showcase-copy h2 {
  color: #ffffff;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.06;
  margin: 0 0 16px;
}

.system-lab-copy p,
.business-dashboard-copy p,
.ai-signal p,
.signature-showcase-copy p {
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.system-lab-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.18);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
}

.system-lab-board div {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 58, 138, 0.45)),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(255,255,255,.035) 18px 19px);
  padding: 22px;
}

.system-lab-board span,
.dashboard-row span,
.ai-signal-panel span {
  color: #60a5fa;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.system-lab-board strong,
.dashboard-row strong,
.ai-signal-panel strong {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.25;
}

.business-dashboard-panel {
  display: grid;
  gap: 12px;
}

.dashboard-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 76px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(30, 58, 138, 0.28));
  padding: 18px 20px;
}

.usecase-strip,
.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.usecase-strip article,
.quality-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(135, 153, 181, 0.24);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(18, 31, 53, 0.07);
  padding: 28px;
}

.usecase-strip article::after,
.quality-grid article::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #2563eb, #93c5fd);
}

.usecase-strip span,
.quality-grid span {
  display: inline-flex;
  min-width: 46px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #eff5ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
}

.usecase-strip h3,
.quality-grid h3 {
  color: #10182a;
  font-size: 23px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.usecase-strip p,
.quality-grid p {
  color: #526785;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.ai-matrix-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.workload-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(135, 153, 181, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(18, 31, 53, 0.08);
}

.workload-matrix article {
  min-height: 260px;
  border-left: 1px solid rgba(135, 153, 181, 0.2);
  padding: 28px;
}

.workload-matrix article:first-child {
  border-left: 0;
}

.workload-matrix span {
  display: inline-flex;
  margin-bottom: 32px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .1em;
}

.workload-matrix strong {
  display: block;
  color: #10182a;
  font-size: 24px;
  line-height: 1.14;
  margin-bottom: 12px;
}

.workload-matrix p {
  color: #526785;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.ai-signal {
  grid-template-columns: minmax(340px, .85fr) minmax(0, 1.15fr);
}

.ai-signal-panel {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 22%, rgba(37, 99, 235, 0.34), transparent 36%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.86));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.25);
  padding: 34px;
}

.ai-signal-panel strong {
  display: block;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  margin: 16px 0 42px;
}

.signal-bars {
  display: grid;
  gap: 12px;
}

.signal-bars i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #93c5fd);
  opacity: .92;
}

.signal-bars i:nth-child(2) { width: 86%; }
.signal-bars i:nth-child(3) { width: 68%; }
.signal-bars i:nth-child(4) { width: 78%; }

.signature-showcase {
  grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr);
}

.signature-device {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
}

.signature-lid {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1.55 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.02)),
    linear-gradient(145deg, #111827, #475569);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.34);
  transform: rotateX(7deg) rotateY(-12deg);
}

.signature-lid span {
  color: rgba(255,255,255,.82);
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 950;
  letter-spacing: .05em;
}

.signature-lid i {
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147,197,253,.8), transparent);
}

.signature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.signature-tags span {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(147, 197, 253, 0.26);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 850;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 38px;
  align-items: start;
}

.contact-form-note {
  display: inline-grid;
  gap: 4px;
  margin-top: 22px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid rgba(135, 153, 181, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(18, 31, 53, 0.07);
}

.contact-form-note strong {
  color: #10182a;
  font-size: 14px;
}

.contact-form-note a {
  color: #2563eb;
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  background: linear-gradient(145deg, #ffffff, #f7faff);
  border: 1px solid rgba(135, 153, 181, 0.24);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(18, 31, 53, 0.1);
  padding: 30px;
}

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

.contact-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.contact-field label,
.contact-privacy {
  color: #10182a;
  font-size: 14px;
  font-weight: 850;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(135, 153, 181, 0.34);
  border-radius: 8px;
  color: #10182a;
  font: inherit;
  line-height: 1.4;
  padding: 14px 15px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}

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

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: rgba(37, 99, 235, 0.72);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.contact-field-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-privacy {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #526785;
  font-weight: 650;
  line-height: 1.55;
  margin: 2px 0 22px;
}

.contact-privacy input {
  margin-top: 4px;
  accent-color: #2563eb;
}

.contact-privacy a {
  color: #2563eb;
  font-weight: 850;
  text-decoration: none;
}

.privacy-inline-button {
  appearance: none;
  background: transparent;
  border: 0;
  color: #2563eb;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-submit {
  border: 0;
  cursor: pointer;
}

.contact-alert {
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.5;
  margin-bottom: 20px;
  padding: 15px 17px;
}

.contact-alert-success {
  background: #dcfce7;
  color: #14532d;
}

.contact-alert-error {
  background: #fee2e2;
  color: #991b1b;
}

body.modal-open {
  overflow: hidden;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 14, 27, 0.62);
  padding: 24px;
}

.privacy-modal.is-open {
  display: flex;
}

.privacy-modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  background: #ffffff;
  border: 1px solid rgba(135, 153, 181, 0.3);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(8, 14, 27, 0.35);
  padding: 34px;
}

.privacy-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(135, 153, 181, 0.28);
  border-radius: 8px;
  background: #f4f7fb;
  color: #10182a;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.privacy-modal-panel h2 {
  color: #10182a;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.05;
  margin: 12px 46px 18px 0;
}

.privacy-modal-content {
  display: grid;
  gap: 14px;
  color: #526785;
  font-size: 17px;
  line-height: 1.65;
}

.privacy-modal-content p {
  margin: 0;
}

.privacy-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.info-card {
  position: relative;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 10px 34px rgba(15,23,42,.04);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.info-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: 0 18px 44px rgba(15,23,42,.09);
}
.info-code {
  min-width: 48px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
}
.info-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.25;
}
.info-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.info-card a {
  margin-top: auto;
  font-weight: 800;
}
.process-list {
  display: grid;
  gap: 14px;
}
.process-list article {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 10px 34px rgba(15,23,42,.04);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.process-list article:hover {
  transform: translateX(4px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 42px rgba(15,23,42,.08);
}
.process-list span {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}
.process-list h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 850;
}
.process-list p {
  margin: 0;
  color: var(--muted);
}
.legal-content {
  max-width: 860px;
}
.legal-meta {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.legal-body {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}
.legal-body h1,
.legal-body h2,
.legal-body h3,
.legal-body h4 {
  margin: 34px 0 12px;
  color: var(--text);
  line-height: 1.15;
}
.legal-body h1 { font-size: 34px; }
.legal-body h2 { font-size: 28px; }
.legal-body h3 { font-size: 22px; }
.legal-body p,
.legal-body ul,
.legal-body ol,
.legal-body table {
  margin-bottom: 18px;
}
.legal-body table {
  width: 100%;
  border-collapse: collapse;
}
.legal-body th,
.legal-body td {
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  vertical-align: top;
}
.legal-body a {
  font-weight: 800;
}

.legal-fallback {
  max-width: 920px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.legal-fallback h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 24px;
}

.legal-fallback p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.legal-fallback p:last-child {
  margin-bottom: 0;
}

.legal-fallback a {
  color: var(--accent);
  font-weight: 800;
}

.motion-reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity .62s cubic-bezier(.22,.8,.24,1), transform .62s cubic-bezier(.22,.8,.24,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .motion-reveal {
    transform: translate3d(0, 12px, 0);
    transition-duration: .22s;
  }
}

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(160px, .75fr));
  gap: 32px;
}
.footer-brand {
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}
.site-footer p {
  max-width: 560px;
  margin: 0;
  color: #94a3b8;
}
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}
.social-row a:hover {
  background: var(--primary);
  color: #fff;
}
.footer-section h4 {
  margin: 0 0 14px;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: 6px; }
.footer-links a {
  color: #94a3b8;
  font-size: 14px;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  margin-top: 32px;
  padding: 24px 20px 0;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 13px;
}

.editor-toolbar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 12px;
  background: rgba(15,23,42,.94);
  color: #e2e8f0;
  box-shadow: 0 18px 50px rgba(15,23,42,.24);
  transform: translateX(-50%);
}
.editor-toolbar strong {
  color: #fff;
  font-size: 13px;
}
.editor-toolbar span {
  color: #cbd5e1;
  font-size: 13px;
}
.editor-status[data-state="saving"] { color: #bfdbfe; }
.editor-status[data-state="saved"] { color: #bbf7d0; }
.editor-status[data-state="error"] { color: #fecaca; }
.editor-status[data-state="editing"] { color: #fde68a; }
.editor-toolbar a {
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 800;
}
[data-edit-key] {
  outline: 2px dashed rgba(37,99,235,.45);
  outline-offset: 5px;
  border-radius: 6px;
}
[data-edit-key]:focus {
  outline-style: solid;
  background: rgba(255,255,255,.12);
}
[data-edit-key].is-saving {
  outline-color: rgba(5,150,105,.65);
}
[data-edit-key].is-save-error {
  outline-color: rgba(220,38,38,.8);
}
.editor-login {
  max-width: 440px;
  display: grid;
  gap: 18px;
  padding: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.editor-login h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}
.editor-login label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}
.editor-login input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
}
.editor-error {
  margin: 0;
  color: #b91c1c;
  font-weight: 800;
}
.setup-panel {
  max-width: 980px;
  display: grid;
  gap: 26px;
}
.setup-head h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.08;
}
.setup-head p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}
.setup-message {
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 800;
}
.setup-message.is-ok {
  background: #dcfce7;
  color: #166534;
}
.setup-message.is-error {
  background: #fee2e2;
  color: #991b1b;
}
.setup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.setup-grid article {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}
.setup-grid span {
  width: 14px;
  height: 14px;
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #f59e0b;
}
.setup-grid span.is-ok { background: #16a34a; }
.setup-grid span.is-error { background: #dc2626; }
.setup-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.setup-grid p {
  margin: 0;
  color: var(--muted);
}
.setup-panel form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.setup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.setup-dark-link {
  background: #0f172a;
}

.request-panel {
  max-width: 1080px;
}

.request-list {
  display: grid;
  gap: 18px;
}

.request-card {
  background: #ffffff;
  border: 1px solid rgba(135, 153, 181, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(18, 31, 53, 0.07);
  padding: 24px;
}

.request-card-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.request-type {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 7px 10px;
  background: #eff5ff;
  color: #2563eb;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.request-card h3 {
  color: #10182a;
  font-size: 26px;
  line-height: 1.08;
  margin: 0;
}

.request-card time {
  color: #526785;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.request-meta span,
.request-meta a {
  display: inline-flex;
  padding: 8px 10px;
  background: #f7faff;
  border: 1px solid rgba(135, 153, 181, 0.2);
  border-radius: 8px;
  color: #526785;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.request-card p {
  color: #526785;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.request-card small {
  display: block;
  color: #8a9ab2;
  font-weight: 750;
  margin-top: 16px;
}

.cms-block-list {
  display: grid;
  gap: 22px;
}

.cms-block {
  background: #ffffff;
  border: 1px solid rgba(135, 153, 181, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(18, 31, 53, 0.07);
  padding: 30px;
}

.cms-block h2 {
  color: #10182a;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.05;
  margin: 8px 0 16px;
}

.cms-block-body {
  color: #526785;
  font-size: 18px;
  line-height: 1.7;
}

.cms-block-cta {
  margin-top: 22px;
}

.block-admin-form {
  display: grid;
  gap: 16px;
}

.block-admin-form label {
  display: grid;
  gap: 8px;
  color: #10182a;
  font-size: 14px;
  font-weight: 850;
}

.block-admin-form input,
.block-admin-form select,
.block-admin-form textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(135, 153, 181, 0.34);
  border-radius: 8px;
  color: #10182a;
  font: inherit;
  padding: 13px 14px;
}

.block-sort-list {
  display: grid;
  gap: 14px;
}

.block-sort-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) minmax(150px, auto);
  gap: 16px;
  align-items: start;
  background: #ffffff;
  border: 1px solid rgba(135, 153, 181, 0.24);
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(18, 31, 53, 0.06);
  cursor: grab;
  padding: 18px;
}

.block-sort-item.is-dragging {
  opacity: .55;
  cursor: grabbing;
  border-color: rgba(37, 99, 235, 0.5);
}

.block-drag-handle {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: #eff5ff;
  color: #2563eb;
  cursor: grab;
  font-size: 22px;
  font-weight: 900;
}

.block-sort-item h3 {
  color: #10182a;
  font-size: 22px;
  line-height: 1.12;
  margin: 0 0 8px;
}

.block-sort-item p {
  color: #526785;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.block-sort-item small {
  color: #8a9ab2;
  font-weight: 800;
  white-space: nowrap;
}

.block-sort-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.block-delete-button {
  border: 1px solid rgba(220, 38, 38, 0.24);
  border-radius: 8px;
  background: #fff1f2;
  color: #b91c1c;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 9px 11px;
}

.block-delete-button:hover {
  background: #ffe4e6;
}

@media(max-width: 1100px) {
  .home-features-grid,
  .home-features-grid-four {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-banner-grid,
  .workload-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-banner-primary {
    grid-column: span 2;
  }
  .setup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 900px) {
  .home-steps-grid {
    grid-template-columns: 1fr;
  }
  .home-config-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 42px 26px;
  }
  .home-config-actions {
    width: 100%;
  }
  .system-lab,
  .business-dashboard,
  .ai-signal,
  .signature-showcase {
    grid-template-columns: 1fr;
  }
  .system-lab-board,
  .usecase-strip,
  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width: 768px) {
  body { -webkit-text-size-adjust: 100%; }
  html, body { overflow-x: hidden; }
  .site-box { width: 100%; max-width: 100%; box-shadow: none; }
  .container,
  .home-hero-inner,
  .home-features-inner,
  .home-steps-inner,
  .home-config-inner,
  .home-trust-inner,
  .page-hero-inner,
  .footer-grid {
    padding-left: 20px;
    padding-right: 20px;
  }
  .site-box { padding-top: 118px; }
  .mega-nav { position: fixed; }
  .mega-nav-inner {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
  }
  .mega-logo,
  .nav-actions {
    width: auto;
  }
  .mega-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .home-hero,
  .page-hero {
    height: auto;
    min-height: 420px;
  }
  .home-hero-inner,
  .page-hero-inner {
    padding-top: 42px;
    padding-bottom: 42px;
  }
  .home-hero h1,
  .page-hero h1 {
    font-size: clamp(36px, 12vw, 52px);
  }
  .home-hero-sub,
  .page-hero p {
    margin-bottom: 28px;
    font-size: 16px;
    line-height: 1.55;
  }
  .home-hero-actions,
  .home-btn-primary,
  .home-btn-outline,
  .shop-button {
    width: 100%;
  }
  .home-trust {
    padding: 20px 0;
  }
  .home-trust-inner {
    justify-content: flex-start;
    gap: 12px 0;
  }
  .home-trust-item {
    width: 50%;
    border-left: none;
    padding: 8px 12px;
    font-size: 14px;
  }
  .home-features,
  .home-steps,
  .home-config-cta {
    padding: 64px 0;
  }
  .home-features-grid,
  .home-features-grid-four {
    grid-template-columns: 1fr;
  }
  .home-feature-card,
  .home-step-card {
    padding: 24px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .content-grid.three,
  .content-grid.four,
  .content-grid.two,
  .category-banner-grid,
  .system-lab-board,
  .usecase-strip,
  .quality-grid,
  .workload-matrix,
  .setup-grid,
  .content-split,
  .content-split-reverse,
  .metric-grid,
  .contact-form-layout,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .category-banner-primary {
    grid-column: auto;
  }
  .category-banner,
  .category-banner-primary {
    min-height: 300px;
    padding: 24px;
  }
  .dashboard-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .workload-matrix article {
    min-height: 210px;
    border-left: 0;
    border-top: 1px solid rgba(135, 153, 181, 0.2);
  }
  .workload-matrix article:first-child {
    border-top: 0;
  }
  .signature-device {
    min-height: 240px;
  }
  .content-section {
    padding: 64px 0;
  }
  .process-list article {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 560px) {
  .home-trust-item {
    width: 100%;
    padding-left: 0;
  }
}

/* --- Patch 037: Medienbibliothek, Benutzer, Editor-Leiste ---------------- */

.editor-toolbar .editor-user {
  color: #94a3b8;
  font-size: 12px;
  border-left: 1px solid rgba(148,163,184,.3);
  padding-left: 12px;
}
.editor-logout-form {
  display: inline;
  margin: 0;
}
.editor-logout-form button {
  border: 0;
  background: none;
  padding: 0;
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.editor-logout-form button:hover {
  color: #fff;
}
.editor-hint {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.25);
  font-size: 14px;
  line-height: 1.6;
}
.editor-hint code {
  background: rgba(15,23,42,.08);
  padding: 2px 6px;
  border-radius: 4px;
}
.media-preview {
  flex: 0 0 auto;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-preview img {
  max-width: 120px;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(148,163,184,.35);
  display: block;
}
.media-alt-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}
.media-alt-form input[type="text"],
.media-alt-form input[type="password"] {
  flex: 1 1 220px;
  min-width: 0;
}
.block-sort-actions form {
  margin: 0;
}
.block-sort-actions button[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

/* --- Patch 037: interner Hinweis zum Rechtstext-Spiegel ------------------ */

.legal-meta-internal {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px dashed rgba(37,99,235,.35);
  background: rgba(37,99,235,.06);
  color: #334155;
  font-size: 13px;
  line-height: 1.5;
}
.legal-meta-internal.is-stale {
  border-color: rgba(217,119,6,.45);
  background: rgba(217,119,6,.08);
  color: #92400e;
}
.editor-toolbar .editor-warning {
  color: #fdba74;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* --- Patch 037: Verwaltungslisten (Benutzer, Medien) --------------------- */
/* Die Blockliste hat vorne eine 46px-Spalte fuer den Ziehgriff. Benutzer- und
   Medienzeilen haben keinen Griff - ohne eigene Spaltenaufteilung landet dort
   der Textblock und wird auf 46px zusammengequetscht. */

.admin-row {
  grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
  align-items: center;
  cursor: default;
  gap: 20px;
}

.admin-row.has-preview {
  grid-template-columns: 120px minmax(0, 1fr) minmax(190px, auto);
}

.admin-row .request-type {
  display: inline-block;
  margin-bottom: 6px;
  white-space: normal;
  line-height: 1.4;
}

.admin-row h3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 19px;
  margin: 0 0 4px;
}

.admin-row h3 small {
  color: #7b8ba3;
  font-size: 14px;
  font-weight: 700;
  white-space: normal;
}

.admin-row > div > p {
  margin: 0 0 10px;
  font-size: 14px;
}

.admin-row .media-alt-form {
  margin-top: 12px;
  gap: 10px;
}

.admin-row .media-alt-form input[type="text"],
.admin-row .media-alt-form input[type="password"] {
  flex: 1 1 200px;
  min-width: 160px;
  padding: 9px 11px;
  border: 1px solid rgba(135, 153, 181, 0.4);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
}

.admin-row .media-alt-form .home-btn-outline {
  min-height: 0;
  padding: 9px 16px;
  border-radius: 8px;
  background: #eff5ff;
  border-color: rgba(37, 99, 235, 0.28);
  color: #2563eb;
  font-size: 13px;
  white-space: nowrap;
}

.admin-row .media-alt-form .home-btn-outline:hover {
  background: #dbeafe;
  transform: none;
}

.admin-row .block-sort-actions {
  gap: 8px;
  align-content: start;
}

.admin-row .block-sort-actions .home-btn-outline {
  width: 100%;
  min-height: 0;
  padding: 9px 14px;
  border-radius: 8px;
  background: #f1f5f9;
  border-color: rgba(135, 153, 181, 0.35);
  color: #334155;
  font-size: 13px;
  justify-content: center;
  white-space: nowrap;
}

.admin-row .block-sort-actions .home-btn-outline:hover {
  background: #e2e8f0;
  transform: none;
}

.admin-row .block-sort-actions .block-delete-button {
  width: 100%;
}

.admin-row .block-sort-actions small {
  color: #8a9ab2;
  font-size: 12px;
}

@media (max-width: 900px) {
  .admin-row,
  .admin-row.has-preview {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-row .block-sort-actions {
    justify-items: stretch;
  }
}

/* --- Patch 037-2: Fusszeile mit Hinweis auf Web- und Shop-Leistungen ----- */

.footer-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.footer-cta {
  color: #cbd5e1;
}

.footer-cta a {
  margin-left: 8px;
  color: #93c5fd;
  font-weight: 800;
  border-bottom: 1px solid rgba(147, 197, 253, .4);
}

.footer-cta a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

@media (max-width: 700px) {
  .footer-copy {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Patch 037-2: Direktkontakt und botsichere E-Mail ------------------- */

.direct-contact {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.direct-contact li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.direct-contact-label {
  min-width: 74px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.direct-contact a {
  color: var(--primary);
  font-weight: 800;
}

/* Ersatzdarstellung, solange JavaScript die Adresse noch nicht
   zusammengesetzt hat - soll wie ein Link aussehen, ist aber keiner. */
.mail-link {
  color: var(--primary);
  font-weight: 800;
}

/* --- Patch 037-4: Kontakt-Aufruf statt Formular -------------------------- */

.contact-cta-section {
  background: #f8fafc;
}

.contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 40px;
  align-items: start;
  background: #ffffff;
  border: 1px solid rgba(135, 153, 181, 0.22);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(18, 31, 53, 0.08);
  padding: 44px;
}

.contact-cta-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.contact-cta-copy > p {
  margin: 0 0 28px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.contact-cta-actions {
  margin-bottom: 26px;
}

/* Der Knopf ist der Hauptweg - entsprechend groesser als sonst. */
.contact-cta-button {
  min-height: 60px;
  padding: 18px 34px;
  font-size: 17px;
  border-radius: 14px;
}

.contact-cta-details {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.contact-cta-panel {
  background: #0b1220;
  border-radius: 14px;
  padding: 30px 28px;
  color: #e2e8f0;
}

.contact-cta-panel h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 18px;
}

.contact-cta-panel ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contact-cta-panel li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
  color: #cbd5e1;
}

.contact-cta-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #60a5fa;
}

.contact-cta-panel p {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, .25);
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .contact-cta {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px 24px;
    gap: 28px;
  }

  .contact-cta-button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}
