:root {
  --fmpd-bg: #07111f;
  --fmpd-bg-soft: #0d1a2d;
  --fmpd-card: rgba(16, 27, 46, 0.78);
  --fmpd-card-solid: #101b2e;
  --fmpd-text: #f8fafc;
  --fmpd-muted: #aab4c5;
  --fmpd-dark: #0f172a;
  --fmpd-soft: #f4f7fb;
  --fmpd-line: rgba(148, 163, 184, 0.22);
  --fmpd-cyan: #21d4fd;
  --fmpd-green: #4ade80;
  --fmpd-blue: #2563eb;
  --fmpd-radius: 28px;
  --fmpd-shadow: 0 24px 80px rgba(2, 8, 23, 0.28);
}

body.fmpd-active {
  background: var(--fmpd-bg);
}

body.fmpd-active .entry-title,
body.fmpd-active .wp-block-post-title {
  display: none !important;
}

body.fmpd-active .site-main,
body.fmpd-active .entry-content,
body.fmpd-active .wp-block-post-content {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.fmpd-wrap,
.fmpd-wrap * {
  box-sizing: border-box;
}

.fmpd-wrap {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--fmpd-text);
  background: var(--fmpd-bg);
  overflow: hidden;
}

.fmpd-shell {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.fmpd-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at 20% 15%, rgba(33, 212, 253, .22), transparent 32%),
    radial-gradient(circle at 82% 35%, rgba(74, 222, 128, .16), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #0b1830 58%, #06101f 100%);
}

.fmpd-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

.fmpd-ambient {
  position: absolute;
  filter: blur(10px);
  border-radius: 999px;
  pointer-events: none;
}
.fmpd-ambient-one {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 80px;
  background: rgba(33, 212, 253, .18);
}
.fmpd-ambient-two {
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: 80px;
  background: rgba(74, 222, 128, .12);
}

.fmpd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 42px;
  align-items: center;
}

.fmpd-kicker,
.fmpd-kicker-dark {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
}
.fmpd-kicker { color: var(--fmpd-green); }
.fmpd-kicker-dark { color: #0f766e; }

.fmpd-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: .94;
  letter-spacing: -0.07em;
  max-width: 850px;
}

.fmpd-lead {
  margin: 28px 0 0;
  max-width: 690px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
  color: var(--fmpd-muted);
}

.fmpd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.fmpd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  border: 1px solid transparent;
}
.fmpd-btn:hover { transform: translateY(-2px); }
.fmpd-btn-primary {
  color: #04111f !important;
  background: linear-gradient(135deg, var(--fmpd-cyan), var(--fmpd-green));
  box-shadow: 0 16px 42px rgba(33, 212, 253, .26);
}
.fmpd-btn-secondary {
  color: var(--fmpd-text) !important;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.16);
}
.fmpd-btn-ghost {
  color: var(--fmpd-text) !important;
  background: transparent;
  border-color: rgba(255,255,255,.22);
}

.fmpd-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.fmpd-trust-row span {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(255,255,255,.06);
  font-size: 14px;
  font-weight: 700;
}

.fmpd-hero-card {
  position: relative;
  padding: 34px;
  border-radius: var(--fmpd-radius);
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  backdrop-filter: blur(22px);
  box-shadow: var(--fmpd-shadow);
}
.fmpd-status-dot {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--fmpd-green);
  box-shadow: 0 0 0 9px rgba(74,222,128,.13), 0 0 30px rgba(74,222,128,.8);
  margin-bottom: 46px;
}
.fmpd-card-eyebrow {
  color: var(--fmpd-cyan);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}
.fmpd-hero-card h2,
.fmpd-section h2,
.fmpd-final h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.fmpd-hero-card p:not(.fmpd-card-eyebrow) {
  color: var(--fmpd-muted);
  line-height: 1.65;
}
.fmpd-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}
.fmpd-mini-grid span {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  color: #e5f3ff;
  font-weight: 800;
}

.fmpd-section {
  padding: 92px 0;
  background: var(--fmpd-bg);
}
.fmpd-section-light {
  background: var(--fmpd-soft);
  color: var(--fmpd-dark);
}
.fmpd-section-head {
  max-width: 780px;
  margin-bottom: 34px;
}
.fmpd-section-head p:not(.fmpd-kicker-dark):not(.fmpd-kicker),
.fmpd-section-light .fmpd-section-head p {
  color: #475569;
  font-size: 18px;
  line-height: 1.7;
}
.fmpd-invert p:not(.fmpd-kicker), .fmpd-muted { color: var(--fmpd-muted); }

.fmpd-badges,
.fmpd-services,
.fmpd-pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.fmpd-badges div,
.fmpd-services article,
.fmpd-pricing article {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 46px rgba(15, 23, 42, .08);
  border: 1px solid rgba(15, 23, 42, .08);
}
.fmpd-badges strong,
.fmpd-badges span {
  display: block;
}
.fmpd-badges strong,
.fmpd-services h3,
.fmpd-pricing h3,
.fmpd-tile h3 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -0.03em;
}
.fmpd-badges span,
.fmpd-services p,
.fmpd-pricing p,
.fmpd-tile p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

.fmpd-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.fmpd-tile {
  min-height: 260px;
  padding: 28px;
  border-radius: var(--fmpd-radius);
  background: var(--fmpd-card-solid);
  border: 1px solid var(--fmpd-line);
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
.fmpd-tile-large { grid-column: span 2; }
.fmpd-tile-accent {
  background: linear-gradient(135deg, rgba(33,212,253,.24), rgba(74,222,128,.16));
}
.fmpd-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  border-radius: 15px;
  background: rgba(255,255,255,.1);
  color: var(--fmpd-green);
  font-weight: 900;
}
.fmpd-tile p { color: var(--fmpd-muted); }
.fmpd-tile h3 { color: var(--fmpd-text); }

.fmpd-services { grid-template-columns: repeat(3, 1fr); }
.fmpd-tools {
  background:
    radial-gradient(circle at 15% 20%, rgba(33,212,253,.14), transparent 30%),
    var(--fmpd-bg);
}
.fmpd-tools-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: center;
}
.fmpd-tool-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.fmpd-tool-cards a {
  display: block;
  min-height: 190px;
  padding: 28px;
  border-radius: var(--fmpd-radius);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  text-decoration: none !important;
  color: var(--fmpd-text) !important;
  transition: transform .18s ease, background .18s ease;
}
.fmpd-tool-cards a:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); }
.fmpd-tool-cards strong,
.fmpd-tool-cards span {
  display: block;
}
.fmpd-tool-cards strong { font-size: 24px; margin-bottom: 12px; letter-spacing: -0.04em; }
.fmpd-tool-cards span { color: var(--fmpd-muted); line-height: 1.65; }

.fmpd-pricing { grid-template-columns: repeat(3, 1fr); }
.fmpd-pricing article { min-height: 220px; }
.fmpd-price-label {
  color: #0f766e !important;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px !important;
}
.fmpd-featured {
  transform: translateY(-10px);
  border-color: rgba(37, 99, 235, .28) !important;
  box-shadow: 0 28px 68px rgba(37,99,235,.16) !important;
}

.fmpd-final {
  padding: 86px 0 112px;
  background: var(--fmpd-bg);
}
.fmpd-final-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
  padding: 38px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(33,212,253,.16), rgba(74,222,128,.1));
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: var(--fmpd-shadow);
}
.fmpd-final-card p { color: var(--fmpd-muted); line-height: 1.7; font-size: 18px; }
.fmpd-contact-box {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.fmpd-contact-box p { margin: 0; font-weight: 800; }

@media (max-width: 980px) {
  .fmpd-hero-grid,
  .fmpd-tools-grid,
  .fmpd-final-card { grid-template-columns: 1fr; }
  .fmpd-badges { grid-template-columns: repeat(2, 1fr); }
  .fmpd-bento { grid-template-columns: repeat(2, 1fr); }
  .fmpd-services, .fmpd-pricing { grid-template-columns: 1fr; }
  .fmpd-featured { transform: none; }
}

@media (max-width: 680px) {
  .fmpd-hero { min-height: auto; padding: 72px 0 48px; }
  .fmpd-badges,
  .fmpd-bento,
  .fmpd-tool-cards { grid-template-columns: 1fr; }
  .fmpd-tile-large { grid-column: auto; }
  .fmpd-section { padding: 64px 0; }
  .fmpd-hero-card, .fmpd-final-card { padding: 24px; }
  .fmpd-actions { flex-direction: column; align-items: stretch; }
  .fmpd-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .fmpd-btn, .fmpd-tool-cards a { transition: none; }
  .fmpd-btn:hover, .fmpd-tool-cards a:hover { transform: none; }
}

/* Version 1.1: stärkerer Theme-Override für sichtbaren Unterschied */
body.fmpd-active main,
body.fmpd-active .site,
body.fmpd-active .site-content,
body.fmpd-active .content-area,
body.fmpd-active .entry-content,
body.fmpd-active .wp-site-blocks {
  overflow-x: clip;
}
body.fmpd-active .entry-content > .fmpd-wrap,
body.fmpd-active .wp-block-post-content > .fmpd-wrap {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
body.fmpd-active .fmpd-wrap h1,
body.fmpd-active .fmpd-wrap h2,
body.fmpd-active .fmpd-wrap h3,
body.fmpd-active .fmpd-wrap p {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
body.fmpd-active .fmpd-wrap a:not(.fmpd-btn) {
  text-decoration: none !important;
}
.fmpd-hero:after {
  content: "";
  position: absolute;
  right: 7vw;
  bottom: 72px;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(33,212,253,.18), rgba(74,222,128,.08)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 28px);
  transform: rotate(-7deg);
  opacity: .35;
  filter: blur(.2px);
}
.fmpd-tile,
.fmpd-services article,
.fmpd-pricing article,
.fmpd-tool-cards a,
.fmpd-badges div {
  transform: translateZ(0);
}
.fmpd-tile:hover,
.fmpd-services article:hover,
.fmpd-pricing article:hover,
.fmpd-tool-cards a:hover {
  transform: translateY(-6px);
}
.fmpd-tile,
.fmpd-services article,
.fmpd-pricing article,
.fmpd-tool-cards a {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* Version 1.2: Block-Theme / Twenty Twenty-Five hard override */
body.fmpd-active .wp-site-blocks,
body.fmpd-active .wp-block-group,
body.fmpd-active main,
body.fmpd-active .fmpd-template-root {
  margin-top: 0 !important;
}
body.fmpd-active .fmpd-template-root {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: var(--fmpd-bg) !important;
}
body.fmpd-active .fmpd-template-root + * {
  margin-top: 0 !important;
}
body.fmpd-active header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, .86) !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
body.fmpd-active header.wp-block-template-part a,
body.fmpd-active header.wp-block-template-part .wp-block-site-title a,
body.fmpd-active header.wp-block-template-part .wp-block-navigation-item__content {
  color: #f8fafc !important;
}
body.fmpd-active footer.wp-block-template-part {
  margin-top: 0 !important;
}

/* =========================================================
   SMART & SICHER zentrale Tool-Optik
   Wird von XON Leak Checker und PW Strength Checker genutzt.
   ========================================================= */
body:has(.fmpd-tool-page),
body:has(.xon-wrap),
body:has(.pwcheck-wrap) {
  background: #07111f;
}

.fmpd-tool-page {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 70vh;
  padding: clamp(42px, 7vw, 92px) 16px;
  background:
    radial-gradient(circle at 16% 0%, rgba(33, 212, 253, .20), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(74, 222, 128, .14), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0b1830 55%, #06101f 100%);
  color: #f8fafc;
}

.fmpd-tool-shell {
  width: min(880px, 100%);
  margin: 0 auto;
}

.fmpd-tool-page h1 {
  color: #f8fafc;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: .95;
  letter-spacing: -.06em;
  margin: .2em 0 .25em;
}

.fmpd-tool-lead {
  max-width: 720px;
  color: #aab4c5;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
  margin-bottom: 28px;
}

.xon-wrap,
.pwcheck-wrap {
  max-width: 760px !important;
  margin: 28px 0 0 !important;
  padding: clamp(22px, 4vw, 36px) !important;
  border: 1px solid rgba(148, 163, 184, .28) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, .94), rgba(16, 27, 46, .82)) !important;
  box-shadow: 0 28px 90px rgba(2, 8, 23, .44) !important;
  color: #f8fafc !important;
  backdrop-filter: blur(14px);
  text-align: left !important;
}

.xon-wrap label,
.pwcheck-label {
  display: block;
  color: #f8fafc !important;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.xon-input,
.pwcheck-input {
  width: 100% !important;
  min-height: 56px;
  padding: 14px 16px !important;
  border: 1px solid rgba(148, 163, 184, .38) !important;
  border-radius: 16px !important;
  background: rgba(248, 250, 252, .96) !important;
  color: #0f172a !important;
  font-size: 1rem !important;
  box-sizing: border-box !important;
  outline: none;
}

.xon-input:focus,
.pwcheck-input:focus {
  border-color: #21d4fd !important;
  box-shadow: 0 0 0 4px rgba(33, 212, 253, .16) !important;
}

.xon-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 14px;
  padding: 12px 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #21d4fd, #4ade80) !important;
  color: #06101f !important;
  font-weight: 900 !important;
  cursor: pointer;
  box-shadow: 0 16px 44px rgba(33, 212, 253, .20) !important;
}

.xon-card,
.xon-grid > *,
#pwcheck_hibpmsg,
.pwcheck-notes {
  margin-top: 16px;
  border: 1px solid rgba(148, 163, 184, .24) !important;
  border-radius: 18px !important;
  background: rgba(248, 250, 252, .08) !important;
  color: #e5edf8 !important;
  padding: 16px !important;
}

.xon-muted,
.xon-mt,
.pwcheck-msg,
.pwcheck-time,
.pwcheck-hint,
.pwcheck-notes {
  color: #cbd5e1 !important;
}

.pwcheck-bar {
  margin-top: 12px !important;
  width: 100% !important;
  height: 14px !important;
  background: rgba(148, 163, 184, .22) !important;
  border-radius: 999px !important;
  position: relative;
  overflow: hidden;
}

.pwcheck-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: width .25s ease;
}

.pw-s0 .pwcheck-bar-fill { background: #ef4444; }
.pw-s1 .pwcheck-bar-fill { background: #f97316; }
.pw-s2 .pwcheck-bar-fill { background: #f59e0b; }
.pw-s3 .pwcheck-bar-fill { background: #22c55e; }
.pw-s4 .pwcheck-bar-fill { background: linear-gradient(90deg, #21d4fd, #4ade80); }

.pwcheck-toggle {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px !important;
  color: #e5edf8 !important;
  user-select: none;
}

.pwcheck-toggle input {
  margin-top: .25em;
}

.has-tip { position: relative; }
.has-tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 125%;
  background: #020617;
  color: #fff;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: .85em;
  line-height: 1.25;
  white-space: normal;
  min-width: 180px;
  max-width: 300px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  box-shadow: 0 18px 40px rgba(0,0,0,.32);
}
.has-tip:hover::after { opacity: 1; }

@media (max-width: 680px) {
  .xon-wrap,
  .pwcheck-wrap { border-radius: 22px !important; }
  .xon-btn { width: 100%; }
}


/* =========================================================
   v1.4: harte Overrides für die Ergebnisbereiche der Tools
   Ziel: alte/inline/Custom-CSS-Optik überschreiben.
   ========================================================= */
body:has(.fmpd-tool-page) .wp-site-blocks,
body:has(.xon-wrap) .wp-site-blocks,
body:has(.pwcheck-wrap) .wp-site-blocks {
  background: #07111f !important;
}

body:has(.fmpd-tool-page) main,
body:has(.xon-wrap) main,
body:has(.pwcheck-wrap) main,
body:has(.fmpd-tool-page) .entry-content,
body:has(.xon-wrap) .entry-content,
body:has(.pwcheck-wrap) .entry-content,
body:has(.fmpd-tool-page) .wp-block-post-content,
body:has(.xon-wrap) .wp-block-post-content,
body:has(.pwcheck-wrap) .wp-block-post-content {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fmpd-tool-page .xon-wrap,
.fmpd-tool-page .pwcheck-wrap,
.xon-wrap,
.pwcheck-wrap {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.xon-wrap br { display: none !important; }

.xon-wrap .xon-btn + .xon-btn,
.xon-wrap button.xon-btn + button.xon-btn {
  margin-left: 10px !important;
}

.xon-wrap .xon-ok,
.xon-wrap .xon-warn,
.xon-wrap .xon-err,
.pwcheck-wrap .xon-ok,
.pwcheck-wrap .xon-warn,
.pwcheck-wrap .xon-err {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 44px !important;
  margin-top: 16px !important;
  padding: 10px 15px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  letter-spacing: -.01em !important;
  border: 1px solid rgba(148, 163, 184, .30) !important;
  background: rgba(15, 23, 42, .74) !important;
  color: #e5edf8 !important;
}
.xon-wrap .xon-ok { border-color: rgba(74, 222, 128, .45) !important; color: #bbf7d0 !important; background: rgba(20, 83, 45, .28) !important; }
.xon-wrap .xon-warn { border-color: rgba(245, 158, 11, .60) !important; color: #fde68a !important; background: rgba(120, 53, 15, .26) !important; }
.xon-wrap .xon-err { border-color: rgba(248, 113, 113, .58) !important; color: #fecaca !important; background: rgba(127, 29, 29, .26) !important; }

.xon-wrap .xon-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin-top: 26px !important;
}

.xon-wrap .xon-card,
.xon-wrap .xon-kv,
.xon-wrap .xon-grid > div,
.xon-wrap .xon-grid > section,
.xon-wrap .xon-grid > article,
.xon-wrap [id$="_metrics"] > *,
.xon-wrap [id$="_overview"],
.xon-wrap [id$="_actions"],
.xon-wrap [id$="_notes"],
.xon-wrap [id$="_pastes"] {
  border: 1px solid rgba(148, 163, 184, .26) !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.055)) !important;
  box-shadow: 0 18px 60px rgba(2,8,23,.26) !important;
  color: #e5edf8 !important;
  padding: 18px !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.xon-wrap .xon-card b,
.xon-wrap .xon-kv b,
.xon-wrap .xon-grid strong,
.xon-wrap .xon-card > div:first-child,
.xon-wrap [style*="font-weight"] {
  color: #f8fafc !important;
  font-weight: 900 !important;
  letter-spacing: .01em !important;
}

.xon-wrap .xon-badges,
.xon-wrap .xon-cell-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 8px !important;
}

.xon-wrap .xon-badge,
.xon-wrap .xon-cell-badges span,
.xon-wrap .xon-cell-badges a,
.xon-wrap .xon-cell-badges div {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-height: 28px !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(33, 212, 253, .32) !important;
  background: rgba(33, 212, 253, .11) !important;
  color: #cffafe !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.xon-wrap .xon-badge.tag,
.xon-wrap .xon-badge.communication,
.xon-wrap .xon-badge.security,
.xon-wrap .xon-badge.device,
.xon-wrap .xon-badge.personal,
.xon-wrap .xon-badge.financial,
.xon-wrap .xon-badge.health {
  border-color: rgba(74, 222, 128, .30) !important;
  background: rgba(74, 222, 128, .10) !important;
  color: #dcfce7 !important;
}

.xon-wrap .xon-table {
  width: 100% !important;
  min-width: 820px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 26px 0 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(148, 163, 184, .28) !important;
  border-radius: 22px !important;
  background: rgba(15, 23, 42, .72) !important;
  color: #e5edf8 !important;
  box-shadow: 0 24px 80px rgba(2,8,23,.32) !important;
}
.xon-wrap [id$="_table"] {
  overflow-x: auto !important;
  max-width: 100% !important;
  padding-bottom: 8px !important;
}
.xon-wrap .xon-table thead th,
.xon-wrap .xon-table th {
  background: linear-gradient(135deg, rgba(33, 212, 253, .18), rgba(74, 222, 128, .13)) !important;
  color: #f8fafc !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(148, 163, 184, .28) !important;
  padding: 14px 16px !important;
  text-align: left !important;
  vertical-align: top !important;
}
.xon-wrap .xon-table td {
  color: #dbeafe !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(148, 163, 184, .16) !important;
  padding: 15px 16px !important;
  vertical-align: top !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
.xon-wrap .xon-table tbody tr:hover td {
  background: rgba(33, 212, 253, .055) !important;
}
.xon-wrap .xon-table tbody tr:last-child td {
  border-bottom: 0 !important;
}
.xon-wrap .xon-table a {
  color: #67e8f9 !important;
  text-decoration: none !important;
  font-weight: 800 !important;
}
.xon-wrap .xon-table a:hover { text-decoration: underline !important; }

.xon-wrap ul,
.xon-wrap ol,
.pwcheck-wrap ul,
.pwcheck-wrap ol {
  color: #dbeafe !important;
  padding-left: 1.25rem !important;
}
.xon-wrap li,
.pwcheck-wrap li { margin: .35rem 0 !important; }

.pwcheck-wrap #pwcheck_hibpmsg:empty,
.xon-wrap .xon-mt:empty,
.xon-wrap [id$="_metrics"]:empty,
.xon-wrap [id$="_table"]:empty,
.xon-wrap [id$="_pastes"]:empty {
  display: none !important;
}

.pwcheck-wrap #pwcheck_hibpmsg,
.pwcheck-wrap .pwcheck-notes,
.pwcheck-wrap .pwcheck-time {
  width: 100% !important;
}
.pwcheck-wrap .pwcheck-msg {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 14px !important;
  font-weight: 800 !important;
  color: #f8fafc !important;
}
.pwcheck-wrap .pwcheck-msg:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #64748b;
  box-shadow: 0 0 0 6px rgba(100,116,139,.16);
}
.pwcheck-wrap.pw-s0 .pwcheck-msg:before { background: #ef4444; box-shadow: 0 0 0 6px rgba(239,68,68,.15); }
.pwcheck-wrap.pw-s1 .pwcheck-msg:before { background: #f97316; box-shadow: 0 0 0 6px rgba(249,115,22,.15); }
.pwcheck-wrap.pw-s2 .pwcheck-msg:before { background: #f59e0b; box-shadow: 0 0 0 6px rgba(245,158,11,.15); }
.pwcheck-wrap.pw-s3 .pwcheck-msg:before,
.pwcheck-wrap.pw-s4 .pwcheck-msg:before { background: #4ade80; box-shadow: 0 0 0 6px rgba(74,222,128,.15); }

@media (max-width: 900px) {
  .xon-wrap .xon-grid { grid-template-columns: 1fr !important; }
  .xon-wrap .xon-table { min-width: 720px !important; }
}

@media (max-width: 520px) {
  .fmpd-tool-page { padding-inline: 12px !important; }
  .fmpd-tool-page h1 { font-size: 2.45rem !important; }
  .xon-wrap .xon-btn + .xon-btn { margin-left: 0 !important; }
  .xon-wrap .xon-btn { margin-right: 0 !important; }
}

/* v1.5: Vollständige Plugin-Shell für Block-Themes wie Twenty Twenty-Five */
body.fmpd-full-shell {
  margin: 0 !important;
  min-height: 100vh;
  background: #07111f !important;
  color: var(--fmpd-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.admin-bar.fmpd-full-shell .fmpd-site-header {
  top: 32px;
}
.fmpd-site-canvas {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 0%, rgba(33, 212, 253, .14), transparent 28%),
    radial-gradient(circle at 94% 7%, rgba(74, 222, 128, .11), transparent 30%),
    #07111f;
}
.fmpd-site-shell {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}
.fmpd-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 18px 0;
  background: rgba(7, 17, 31, .72);
  border-bottom: 1px solid rgba(148, 163, 184, .16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.fmpd-site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.fmpd-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #f8fafc !important;
  text-decoration: none !important;
  min-width: 260px;
}
.fmpd-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  color: var(--fmpd-green);
  background: rgba(74, 222, 128, .10);
  border: 1px solid rgba(74, 222, 128, .24);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}
.fmpd-brand strong {
  display: block;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.fmpd-brand small {
  display: block;
  margin-top: 5px;
  color: var(--fmpd-muted);
  font-size: 13px;
}
.fmpd-site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}
.fmpd-site-nav a {
  color: #dbeafe !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.fmpd-site-nav a:hover,
.fmpd-site-nav a:focus-visible {
  color: #04111f !important;
  background: linear-gradient(135deg, var(--fmpd-cyan), var(--fmpd-green));
  transform: translateY(-1px);
}
.fmpd-template-root {
  min-height: 60vh;
}
body.fmpd-full-shell .fmpd-hero {
  min-height: calc(100vh - 96px);
}
.fmpd-tool-template .fmpd-tool-page {
  min-height: calc(100vh - 96px);
  padding: 80px 0 110px;
}
.fmpd-tool-template .fmpd-tool-shell {
  width: min(980px, calc(100% - 40px));
  margin-inline: auto;
}
.fmpd-site-footer {
  color: #dbeafe;
  background: #050b14;
  border-top: 1px solid rgba(148, 163, 184, .16);
  padding: 46px 0;
}
.fmpd-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .7fr .7fr;
  gap: 34px;
}
.fmpd-site-footer strong {
  display: block;
  color: #fff;
  margin-bottom: 12px;
  font-size: 16px;
}
.fmpd-site-footer p {
  max-width: 560px;
  margin: 0;
  color: var(--fmpd-muted);
  line-height: 1.7;
}
.fmpd-site-footer a {
  display: block;
  color: var(--fmpd-muted) !important;
  text-decoration: none !important;
  margin: 8px 0;
}
.fmpd-site-footer a:hover { color: var(--fmpd-green) !important; }

/* alte Twenty Twenty-Five / Block-Theme-Chrome sicher ausblenden, falls sie doch injiziert wird */
body.fmpd-full-shell .wp-site-blocks > header,
body.fmpd-full-shell .wp-site-blocks > footer,
body.fmpd-full-shell header.wp-block-template-part,
body.fmpd-full-shell footer.wp-block-template-part,
body.fmpd-full-shell .wp-block-template-part,
body.fmpd-full-shell .wp-block-navigation__responsive-container {
  display: none !important;
}

@media (max-width: 900px) {
  body.admin-bar.fmpd-full-shell .fmpd-site-header { top: 46px; }
  .fmpd-site-header { position: relative; top: auto; }
  .fmpd-site-header-inner { align-items: flex-start; flex-direction: column; }
  .fmpd-site-nav { justify-content: flex-start; }
  .fmpd-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .fmpd-site-shell { width: min(100% - 24px, 1240px); }
  .fmpd-brand { min-width: 0; }
  .fmpd-brand strong { font-size: 19px; }
  .fmpd-brand-mark { width: 48px; height: 48px; border-radius: 16px; }
  .fmpd-site-nav a { font-size: 13px; padding: 9px 10px; }
}


/* =========================================================
   v1.6: Breite und Abstände der Tool-Seiten korrigiert
   Ziel: E-Mail-Leak-Check und Passwort-Check nutzen dieselbe
   Inhaltsbreite wie Header/Startseite und Ergebnisboxen haben
   konsistente vertikale Abstände.
   ========================================================= */
body.fmpd-full-shell .fmpd-tool-template .fmpd-tool-page,
body.fmpd-full-shell .fmpd-tool-page {
  padding-top: clamp(56px, 6vw, 92px) !important;
  padding-bottom: clamp(72px, 8vw, 120px) !important;
}

body.fmpd-full-shell .fmpd-tool-template .fmpd-tool-shell,
body.fmpd-full-shell .fmpd-tool-shell {
  width: min(1240px, calc(100% - 40px)) !important;
  max-width: 1240px !important;
  margin-inline: auto !important;
}

body.fmpd-full-shell .fmpd-tool-lead {
  max-width: 820px !important;
}

body.fmpd-full-shell .fmpd-tool-page .xon-wrap,
body.fmpd-full-shell .fmpd-tool-page .pwcheck-wrap,
body.fmpd-full-shell .xon-wrap,
body.fmpd-full-shell .pwcheck-wrap {
  width: 100% !important;
  max-width: none !important;
  margin: clamp(26px, 3vw, 40px) 0 0 !important;
  padding: clamp(24px, 3vw, 42px) !important;
}

/* Eingabebereich nicht über die ganze Seite ziehen lassen, Ergebnisse aber breit nutzen */
body.fmpd-full-shell .xon-wrap > label,
body.fmpd-full-shell .xon-wrap > .xon-input,
body.fmpd-full-shell .xon-wrap > input[type="email"],
body.fmpd-full-shell .xon-wrap > input[type="text"],
body.fmpd-full-shell .pwcheck-wrap > .pwcheck-label,
body.fmpd-full-shell .pwcheck-wrap > .pwcheck-input,
body.fmpd-full-shell .pwcheck-wrap > input[type="password"],
body.fmpd-full-shell .pwcheck-wrap > input[type="text"] {
  max-width: 760px !important;
}

body.fmpd-full-shell .xon-wrap .xon-grid {
  gap: clamp(16px, 2vw, 24px) !important;
  margin-top: clamp(24px, 3vw, 36px) !important;
  margin-bottom: clamp(20px, 2.4vw, 32px) !important;
}

body.fmpd-full-shell .xon-wrap .xon-card,
body.fmpd-full-shell .xon-wrap .xon-kv,
body.fmpd-full-shell .xon-wrap .xon-grid > div,
body.fmpd-full-shell .xon-wrap .xon-grid > section,
body.fmpd-full-shell .xon-wrap .xon-grid > article,
body.fmpd-full-shell .xon-wrap [id$="_metrics"] > *,
body.fmpd-full-shell .xon-wrap [id$="_overview"],
body.fmpd-full-shell .xon-wrap [id$="_actions"],
body.fmpd-full-shell .xon-wrap [id$="_notes"],
body.fmpd-full-shell .xon-wrap [id$="_pastes"],
body.fmpd-full-shell #pwcheck_hibpmsg,
body.fmpd-full-shell .pwcheck-notes,
body.fmpd-full-shell .pwcheck-time {
  margin-top: clamp(18px, 2vw, 26px) !important;
  margin-bottom: clamp(18px, 2vw, 26px) !important;
}

body.fmpd-full-shell .xon-wrap .xon-table {
  margin-top: clamp(24px, 3vw, 38px) !important;
  margin-bottom: clamp(24px, 3vw, 38px) !important;
}

body.fmpd-full-shell .xon-wrap [id$="_table"] {
  margin-top: clamp(22px, 2.8vw, 36px) !important;
  margin-bottom: clamp(22px, 2.8vw, 36px) !important;
}

body.fmpd-full-shell .xon-wrap hr,
body.fmpd-full-shell .pwcheck-wrap hr {
  margin: clamp(26px, 3vw, 42px) 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(148, 163, 184, .32) !important;
}

body.fmpd-full-shell .xon-wrap .xon-btn,
body.fmpd-full-shell .pwcheck-wrap .xon-btn {
  margin-top: 16px !important;
  margin-bottom: 12px !important;
}

body.fmpd-full-shell .xon-wrap .xon-ok,
body.fmpd-full-shell .xon-wrap .xon-warn,
body.fmpd-full-shell .xon-wrap .xon-err {
  margin-top: 18px !important;
  margin-bottom: 22px !important;
}

@media (max-width: 900px) {
  body.fmpd-full-shell .fmpd-tool-template .fmpd-tool-shell,
  body.fmpd-full-shell .fmpd-tool-shell {
    width: min(100% - 28px, 1240px) !important;
  }
  body.fmpd-full-shell .fmpd-tool-page .xon-wrap,
  body.fmpd-full-shell .fmpd-tool-page .pwcheck-wrap {
    padding: 22px !important;
  }
}
