/*
Theme Name: DOTCOMMEGA Child
Theme URI: https://dotcommega.de
Description: DOTCOMMEGA Child Theme — basiert auf Kadence. Enthaelt Design-Tokens, Sticky-Mobile-CTA, Focus-Ring, Skip-Link.
Author: DOTCOMMEGA
Author URI: https://dotcommega.de
Template: kadence
Version: 1.0.0
Text Domain: kadence-child
*/

:root {
  /* Farben (D-15) */
  --dcm-primary:     #204c70;
  --dcm-primary-dk:  #1a3a56;
  --dcm-accent:      #bf5a03;
  --dcm-accent-dk:   #a34c02;
  --dcm-white:       #ffffff;
  --dcm-surface:     #f5f7fa;
  --dcm-text:        #1a1a1a;
  --dcm-muted:       #6b7280;
  --dcm-border:      #e5e7eb;
  --dcm-error:       #dc2626;
  --dcm-success:     #16a34a;
  --dcm-footer-link: #94b8d0;

  /* Spacing (UI-SPEC) */
  --dcm-space-xs:   4px;
  --dcm-space-sm:   8px;
  --dcm-space-md:   16px;
  --dcm-space-lg:   24px;
  --dcm-space-xl:   32px;
  --dcm-space-xl2:  40px;
  --dcm-space-2xl:  48px;
  --dcm-space-3xl:  64px;
  --dcm-space-4xl:  96px;

  /* Radii (UI-SPEC) */
  --dcm-radius-sm:  6px;
  --dcm-radius-md:  8px;
  --dcm-radius-lg:  12px;
  --dcm-radius-xl:  16px;
}

/* Skip-Link (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
  background: var(--dcm-primary);
  color: var(--dcm-white);
  padding: 8px 16px;
  z-index: 99999;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { left: 0; top: 0; }

/* Globaler Focus-Ring (WCAG 2.4.7) */
:focus-visible {
  outline: 3px solid var(--dcm-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* Sticky-Mobile-CTA-Bar (UI-SPEC Section 1) */
.dcm-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 56px;
  background: var(--dcm-accent);
  color: var(--dcm-white);
  font-size: 16px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  text-decoration: none;
  text-align: center;
  padding: 0 16px;
}
.dcm-sticky-cta:hover,
.dcm-sticky-cta:focus { background: var(--dcm-accent-dk); color: var(--dcm-white); }

@media (max-width: 767px) {
  .dcm-sticky-cta { display: flex; }
  /* Body-Padding bottom damit der CTA nichts ueberdeckt */
  body.has-dcm-sticky-cta { padding-bottom: 56px; }
}

/* Form-Inputs: 16px font-size verhindert iOS Zoom */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select { font-size: 16px; }

/* Touch-Targets >=44px (WCAG 2.5.5) */
.menu-toggle,
.kadence-mobile-trigger,
button.button { min-height: 44px; }

/* Footer-Links Light-Blue */
.site-footer a,
.site-footer .widget a { color: var(--dcm-footer-link); }
.site-footer a:hover { color: var(--dcm-white); }

/* Phase 2.5: Seitentitel auf Homepage ausblenden */
.home .entry-header { display: none; }

/* Phase 2.5: Seitentitel neben Logo ausblenden wenn Logo gesetzt */
.site-branding a.brand.has-logo-image .site-title-wrap { display: none; }

/* Phase 2.5: Kategorie-Grid Kacheln */
.dcm-cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

.dcm-cat-card {
  flex: 0 0 calc(25% - 12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--dcm-primary);
  color: var(--dcm-white);
  padding: 28px 16px;
  border-radius: var(--dcm-radius-lg);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  gap: 8px;
  text-align: center;
  box-sizing: border-box;
}

.dcm-cat-card:hover,
.dcm-cat-card:focus {
  background: var(--dcm-accent);
  color: var(--dcm-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(32, 76, 112, 0.25);
  text-decoration: none;
}

.dcm-cat-icon { font-size: 40px; line-height: 1; display: block; }
.dcm-cat-name { font-size: 18px; font-weight: 700; color: var(--dcm-white); }
.dcm-cat-cta  { font-size: 13px; color: var(--dcm-footer-link); }

.dcm-cat-card:hover .dcm-cat-cta,
.dcm-cat-card:focus .dcm-cat-cta { color: rgba(255,255,255,0.85); }

@media (max-width: 767px) {
  .dcm-cat-card { flex: 0 0 calc(50% - 8px); }
}

/* ============================================================
   Zweite CTA-Sektion (Homepage zwischen Kategorie-Grid und Steps)
   Phase 2.5 — VIS-02
   ============================================================ */

.dcm-cta-section {
  background: var(--dcm-surface);
  padding: var(--dcm-space-3xl) var(--dcm-space-xl);
}

.dcm-cta-section .dcm-cta-inner {
  display: flex;
  align-items: center;
  gap: var(--dcm-space-3xl);
  max-width: 1100px;
  margin: 0 auto;
}

.dcm-cta-section img {
  width: 50%;
  border-radius: var(--dcm-radius-lg);
  object-fit: cover;
}

.dcm-cta-section h2 {
  color: var(--dcm-primary);
  margin-bottom: var(--dcm-space-md);
}

.dcm-cta-section p {
  color: var(--dcm-text);
  line-height: 1.6;
  margin-bottom: var(--dcm-space-lg);
}

@media (max-width: 767px) {
  .dcm-cta-section {
    padding: var(--dcm-space-xl) var(--dcm-space-md);
  }
  .dcm-cta-section .dcm-cta-inner {
    flex-direction: column;
    gap: var(--dcm-space-xl);
  }
  .dcm-cta-section img {
    width: 100%;
  }
}

/* ============================================================
   Nachhaltigkeit-Sektion (So-funktioniert-s Seite)
   Phase 2.5 — VIS-08
   ============================================================ */

.dcm-sustainability {
  background: var(--dcm-primary);
  color: var(--dcm-white);
  padding: var(--dcm-space-3xl) var(--dcm-space-xl);
  text-align: center;
}

.dcm-sustainability h2 {
  color: var(--dcm-white);
  margin-bottom: var(--dcm-space-md);
  font-size: 28px;
  line-height: 1.2;
}

.dcm-sustainability p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  font-size: 16px;
}

.dcm-sustainability img {
  width: 80px;
  height: 80px;
  margin-bottom: var(--dcm-space-md);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .dcm-sustainability {
    padding: var(--dcm-space-xl) var(--dcm-space-md);
  }
  .dcm-sustainability h2 {
    font-size: 22px;
  }
}

/* ============================================================
   DESIGN SYSTEM v2 — Komponenten
   Rekonstruiert aus design-system.html + Live-HTML
   ============================================================ */

/* --- Buttons --- */
.dcm-btn-primary {
  display: inline-block;
  background: var(--dcm-accent);
  color: var(--dcm-white);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--dcm-radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(191,90,3,0.30);
  white-space: nowrap;
}
.dcm-btn-primary:hover,
.dcm-btn-primary:focus {
  background: var(--dcm-accent-dk);
  color: var(--dcm-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191,90,3,0.40);
  text-decoration: none;
}

.dcm-btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--dcm-white);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 27px;
  border-radius: var(--dcm-radius-md);
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.dcm-btn-ghost:hover,
.dcm-btn-ghost:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--dcm-white);
  color: var(--dcm-white);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Horizontalen Scroll durch alignfull-Breakout verhindern */
html, body { overflow-x: hidden; }

/* alignfull-Blöcke aus Kadences entry-content-Container auf volle Viewport-Breite brechen */
.entry-content .alignfull.dcm-hero-group,
.entry-content .alignfull.dcm-stats-group,
.entry-content .alignfull.dcm-cta-dark-group,
.entry-content .alignfull.dcm-cat-hero {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
}

/* --- Hero-Sektion --- */
.wp-block-group.dcm-hero-group,
.dcm-hero-group {
  background: linear-gradient(135deg, #1a3a56 0%, #204c70 100%) !important;
  width: 100%;
  padding: 0;
  margin: 0;
}

.dcm-hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px;
  min-height: 480px;
}

.dcm-hero-content {
  flex: 0 0 55%;
  max-width: 55%;
}

.dcm-hero-content h1 {
  color: var(--dcm-white);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 16px;
}

.dcm-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}

.dcm-hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.dcm-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.dcm-hero-checks {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.dcm-hero-checks span {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
}
.dcm-hero-checks span::before {
  content: "✓ ";
  color: var(--dcm-success);
  font-weight: 700;
}

.dcm-hero-visual {
  flex: 0 0 45%;
  max-width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dcm-glass-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.dcm-gc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--dcm-radius-lg);
  padding: 20px 12px;
  text-decoration: none;
  color: var(--dcm-white);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}
.dcm-gc span:first-child { font-size: 28px; line-height: 1; }
.dcm-gc:hover,
.dcm-gc:focus {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
  color: var(--dcm-white);
  text-decoration: none;
}

@media (max-width: 900px) {
  .dcm-hero-inner {
    flex-direction: column;
    gap: 32px;
    padding: 48px 24px;
    min-height: auto;
  }
  .dcm-hero-content,
  .dcm-hero-visual { flex: 0 0 100%; max-width: 100%; }
  .dcm-glass-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .dcm-hero-inner { padding: 40px 20px; }
  .dcm-glass-cards { grid-template-columns: repeat(2, 1fr); }
  .dcm-hero-checks { gap: 12px; }
}

/* --- Stats Strip v2 --- */
.wp-block-group.dcm-stats-group,
.dcm-stats-group {
  background: #1a3a56 !important;
  width: 100%;
  padding: 0;
  margin: 0;
}

.dcm-stats-strip-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.dcm-stat-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.dcm-stat-v2:last-child { border-right: none; }

.dcm-sn {
  display: block;
  font-size: 38px;
  font-weight: 800;
  color: var(--dcm-white);
  line-height: 1;
  margin-bottom: 6px;
}
.dcm-sl {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .dcm-stats-strip-v2 {
    flex-wrap: wrap;
    padding: 24px 20px;
  }
  .dcm-stat-v2 {
    flex: 0 0 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding: 16px;
  }
  .dcm-stat-v2:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .dcm-stat-v2:nth-last-child(-n+2) { border-bottom: none; }
  .dcm-sn { font-size: 28px; }
}

/* --- Section Containers --- */
.dcm-section-white {
  background: var(--dcm-white);
  padding: 64px 40px;
}
.dcm-section-grey {
  background: var(--dcm-surface);
  padding: 64px 40px;
}

.dcm-sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.dcm-sec-head h2 {
  color: var(--dcm-primary);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}
.dcm-sec-head p {
  color: var(--dcm-muted);
  font-size: 17px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .dcm-section-white { padding: 48px 20px; }
  .dcm-section-grey  { padding: 48px 20px; }
  .dcm-sec-head      { margin-bottom: 32px; }
}

/* --- Kategorie-Grid v2 --- */
.dcm-cat-grid-v2 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.dcm-cat-v2 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--dcm-white);
  border: 1.5px solid var(--dcm-border);
  border-radius: var(--dcm-radius-lg);
  padding: 28px 16px 24px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.dcm-cat-v2::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dcm-primary) 0%, var(--dcm-primary) 100%);
  transition: background 0.25s;
}
.dcm-cat-v2:hover,
.dcm-cat-v2:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(32,76,112,0.14);
  border-color: var(--dcm-primary);
  text-decoration: none;
}
.dcm-cat-v2:hover::before,
.dcm-cat-v2:focus::before {
  background: linear-gradient(90deg, var(--dcm-primary) 0%, var(--dcm-accent) 100%);
}

.dcm-cv2-icon {
  font-size: 36px;
  line-height: 1;
  display: block;
}
.dcm-cv2-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dcm-primary);
  display: block;
  line-height: 1.2;
}
.dcm-cv2-cta {
  font-size: 12px;
  color: var(--dcm-accent);
  font-weight: 600;
  display: block;
}

@media (max-width: 900px) {
  .dcm-cat-grid-v2 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .dcm-cat-grid-v2 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* --- Kreislauf Banner --- */
.dcm-kreislauf-banner {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.dcm-kreislauf-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.dcm-kreislauf-banner:hover img { transform: scale(1.02); }

/* --- CTA Dark --- */
.wp-block-group.dcm-cta-dark-group,
.dcm-cta-dark-group {
  background: #204c70 !important;
  width: 100%;
  padding: 0;
  margin: 0;
}

.dcm-cta-dark-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px;
}

.dcm-cta-img {
  width: 45%;
  flex-shrink: 0;
  border-radius: var(--dcm-radius-xl);
  object-fit: cover;
  max-height: 480px;
}

.dcm-cta-dark-content {
  flex: 1;
}
.dcm-cta-dark-content h2 {
  color: var(--dcm-white);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.dcm-cta-dark-content p {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .dcm-cta-dark-inner {
    flex-direction: column;
    gap: 32px;
    padding: 48px 24px;
  }
  .dcm-cta-img { width: 100%; max-height: 280px; }
}
@media (max-width: 767px) {
  .dcm-cta-dark-inner { padding: 48px 20px; }
}

/* --- Steps v2 (Homepage) --- */
.dcm-steps-v2 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}

.dcm-step-v2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.dcm-step-num-v2 {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--dcm-primary);
  color: var(--dcm-white);
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(32,76,112,0.20);
}

.dcm-step-v2 h3 {
  color: var(--dcm-primary);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.dcm-step-v2 p {
  color: var(--dcm-muted);
  font-size: 14px;
  line-height: 1.5;
}

.dcm-step-arrow {
  flex-shrink: 0;
  color: var(--dcm-border);
  font-size: 24px;
  margin-top: 20px;
  line-height: 64px;
}

@media (max-width: 767px) {
  .dcm-steps-v2 {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .dcm-step-v2 { width: 100%; max-width: 320px; }
  .dcm-step-arrow { transform: rotate(90deg); margin-top: 0; line-height: 1; }
}

/* --- WhatsApp Bar --- */
.dcm-wa-bar {
  background: #e8f9ef;
  border: 1.5px solid #a3d9b4;
  border-radius: var(--dcm-radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.dcm-wa-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.dcm-wa-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.dcm-wa-icon { font-size: 24px; flex-shrink: 0; }

.dcm-wa-text strong {
  display: block;
  color: var(--dcm-text);
  font-size: 15px;
  font-weight: 700;
}
.dcm-wa-text span {
  font-size: 13px;
  color: var(--dcm-muted);
}

.dcm-wa-btn {
  display: inline-block;
  background: #25d366;
  color: var(--dcm-white);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--dcm-radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.dcm-wa-btn:hover,
.dcm-wa-btn:focus {
  background: #1fba58;
  color: var(--dcm-white);
  transform: translateY(-1px);
  text-decoration: none;
}

/* --- Formular-Wrapper --- */
.dcm-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px;
  background: var(--dcm-white);
  border-radius: var(--dcm-radius-xl);
  box-shadow: 0 4px 16px rgba(32,76,112,0.10);
}

@media (max-width: 767px) {
  .dcm-form-wrap { padding: 24px 20px; }
  .dcm-wa-inner { flex-direction: column; align-items: flex-start; }
}

/* --- Kategorie-Hero (Landingpages) --- */
.dcm-cat-hero {
  background: linear-gradient(135deg, var(--dcm-primary-dk) 0%, var(--dcm-primary) 100%);
  padding: 64px 40px 48px;
  width: 100%;
}

.dcm-cat-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.dcm-cat-hero-inner h1 {
  color: var(--dcm-white);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 16px;
}

.dcm-hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}

.dcm-cat-hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.dcm-cat-hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* Stats inner (Kategorie-Seiten) */
.dcm-stats-inner {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto;
}

.dcm-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 140px;
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.dcm-stat-item:last-child { border-right: none; }

.dcm-stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--dcm-white);
  line-height: 1;
  margin-bottom: 6px;
}
.dcm-stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

@media (max-width: 767px) {
  .dcm-cat-hero { padding: 48px 20px; }
  .dcm-stat-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .dcm-stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .dcm-stat-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* --- Steps Row (Kategorie-Seiten) --- */
.dcm-steps-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.dcm-step-card {
  flex: 1;
  min-width: 180px;
  max-width: 260px;
  background: var(--dcm-white);
  border: 1.5px solid var(--dcm-border);
  border-radius: var(--dcm-radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.dcm-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dcm-primary);
  color: var(--dcm-white);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.dcm-step-card h3 {
  color: var(--dcm-primary);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.dcm-step-card p {
  color: var(--dcm-muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .dcm-steps-row { gap: 16px; }
  .dcm-step-card { min-width: 140px; padding: 20px 16px; }
}

/* --- Section Wrap (generisch) --- */
.dcm-section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 767px) {
  .dcm-section-wrap { padding: 0 20px; }
}

/* ============================================================
   Mega-Footer
   ============================================================ */

/* Kadence eigenen Footer-Text ausblenden */
.site-bottom-footer-wrap { display: none !important; }

.dcm-mega-footer {
  background: #1a3a56 !important;
  color: rgba(255,255,255,0.75) !important;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 0;
}

.dcm-mf-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px 48px;
}

.dcm-mf-logo {
  display: inline-block;
  font-size: 20px;
  font-weight: 800;
  color: var(--dcm-white);
  text-decoration: none;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.dcm-mf-logo span { color: var(--dcm-accent); }
.dcm-mf-logo:hover { color: var(--dcm-white); text-decoration: none; }

.dcm-mf-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.dcm-mf-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dcm-mf-pill {
  display: inline-block;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.80);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.dcm-mf-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.dcm-mf-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dcm-mf-col ul li a,
.dcm-mega-footer a {
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.dcm-mf-col ul li a:hover,
.dcm-mega-footer a:hover { color: var(--dcm-white); text-decoration: none; }

.dcm-mf-contact { gap: 14px !important; }
.dcm-mf-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.dcm-mf-icon {
  flex-shrink: 0;
  font-size: 15px;
  margin-top: 1px;
  opacity: 0.7;
}

.dcm-mf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 12px;
  color: rgba(255,255,255,0.40);
}
.dcm-mf-bottom nav {
  display: flex;
  gap: 20px;
}
.dcm-mf-bottom nav a {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  text-decoration: none;
}
.dcm-mf-bottom nav a:hover { color: var(--dcm-white); }

@media (max-width: 900px) {
  .dcm-mf-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 24px 32px;
  }
  .dcm-mf-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .dcm-mf-inner { grid-template-columns: 1fr; padding: 32px 20px; }
  .dcm-mf-bottom { padding: 16px 20px; flex-direction: column; align-items: flex-start; }
}

/* Floating WhatsApp-Button */
.dcm-wa-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: var(--dcm-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  z-index: 9998;
  box-shadow: 0 4px 16px rgba(37,211,102,0.40);
  transition: transform 0.2s, box-shadow 0.2s;
}
.dcm-wa-float:hover,
.dcm-wa-float:focus {
  transform: scale(1.10);
  box-shadow: 0 6px 20px rgba(37,211,102,0.55);
  color: var(--dcm-white);
  text-decoration: none;
}

@media (max-width: 767px) {
  /* Auf Mobile etwas höher setzen damit er nicht den Sticky-CTA überlagert */
  .dcm-wa-float { bottom: 68px; right: 12px; width: 46px; height: 46px; font-size: 20px; }
}

/* ===== FIXES ===== */

/* Kadences content-area hat standardmäßig margin-top:80px — für DCM-Seiten mit Hero entfernen */
#primary.content-area { margin-top: 0 !important; }

/* Cat-Hero: Spans enthalten ✓ im Text, ::before soll hier leer sein */
.dcm-cat-hero .dcm-hero-checks span::before { content: ""; }
/* Cat-Hero: Check-Zeile zentrieren */
.dcm-cat-hero .dcm-hero-checks { justify-content: center; margin-bottom: 32px; }

/* --- Schritt-Boxen (dcm-how-steps) — so-funktionierts + versand --- */
.dcm-how-steps {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dcm-how-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.dcm-how-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1a3a56;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dcm-how-body h3 {
  color: #1a3a56;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 0;
}
.dcm-how-body p { color: #6b7280; font-size: 14px; line-height: 1.6; margin: 0; }
@media (max-width: 600px) {
  .dcm-how-step { padding: 18px 20px; gap: 14px; }
  .dcm-how-num { width: 36px; height: 36px; font-size: 15px; }
}

/* --- Feature-Bar (Versand: Kostenlos / Versichert / Schnell) --- */
.dcm-fact-bar {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 32px auto;
  padding: 0 24px;
}
.dcm-fact {
  flex: 1;
  min-width: 180px;
  max-width: 280px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.dcm-fact-icon { font-size: 32px; line-height: 1; }
.dcm-fact strong { color: #1a3a56; font-size: 16px; font-weight: 700; }
.dcm-fact span { color: #6b7280; font-size: 13px; }
@media (max-width: 600px) {
  .dcm-fact-bar { flex-direction: row; }
  .dcm-fact { min-width: 130px; padding: 18px 14px; }
}

/* --- Kaufen: Coming-Soon-Block --- */
.dcm-cs-wrap {
  background: var(--dcm-surface);
  padding: 80px 40px;
  text-align: center;
}
.dcm-cs-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.dcm-cs-icon { font-size: 56px; line-height: 1; }
.dcm-cs-inner h2 {
  color: var(--dcm-primary-dk);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin: 0;
}
.dcm-cs-inner p {
  color: var(--dcm-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.dcm-btn-accent {
  display: inline-block;
  background: var(--dcm-accent);
  color: var(--dcm-white) !important;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--dcm-radius-md);
  text-decoration: none !important;
  margin-top: 8px;
  transition: background 0.2s;
}
.dcm-btn-accent:hover { background: var(--dcm-accent-dk); }
@media (max-width: 600px) {
  .dcm-cs-wrap { padding: 56px 20px; }
}

/* --- WhatsApp Official Button (mit SVG-Logo) --- */
.dcm-wa-official-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.dcm-wa-official-btn:hover,
.dcm-wa-official-btn:focus {
  background: #1fba58;
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

/* ── WooCommerce Shop & Produktseiten ────────────────────────────────────── */
/* Breadcrumb aufräumen */
.woocommerce-breadcrumb {
  font-size: 0.82rem;
  color: #6b7280;
  padding: 10px 0 4px;
  margin-bottom: 0 !important;
}
.woocommerce-breadcrumb a { color: #6b7280; text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: #204c70; }

/* Produkt-Bild-Placeholder sauber umranden */
.woocommerce-product-gallery .woocommerce-product-gallery__image--placeholder,
.woocommerce-product-gallery .wp-post-image {
  border-radius: 8px;
  border: 1.5px solid #e5e7eb;
}

/* Abstand Header → Produktinhalt */
.woocommerce div.product {
  margin-top: 8px;
}
