/* ══════════════════════════════════════════════
   LEISTUNG-ACF – Unterseiten-Template Core Styles
   Gelb (#FFDE12) + Rote Labels (#d4121c)
   Ropa Sans Schrift
   ══════════════════════════════════════════════ */

/* ── CSS-Variablen (auf body-Ebene, damit sie überall greifen) ── */
body {
  --leistung-accent: #FFDE12;
  --leistung-accent-dark: #e6c800;
  --leistung-accent2: #d4121c;
  --leistung-dark: #161922;
  --leistung-text: #1a1a2e;
  --leistung-text-muted: #6b7280;
  --leistung-radius: 8px;
}
.leistung-hero,
.leistung-content,
.leistung-pakete,
.leistung-faq,
.om-cta-final {
  font-family: 'Ropa Sans', 'Inter', Arial, sans-serif;
}

/* ══════════════════════════════════════════════
   HERO (Hintergrundbild/Video)
   ══════════════════════════════════════════════ */
.leistung-hero--bg {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--leistung-dark);
}

.leistung-hero__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.leistung-hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.leistung-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 25, 34, 0.88) 0%, rgba(22, 25, 34, 0.5) 100%);
  z-index: 1;
}

.leistung-hero--bg .container {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 60px;
}

.leistung-hero__text { max-width: 680px; }

/* Ausrichtung */
.leistung-hero--left .container { text-align: left; }
.leistung-hero--center .container { text-align: center; }
.leistung-hero--center .leistung-hero__text { max-width: 800px; margin: 0 auto; }
.leistung-hero--center .page-hero__breadcrumb { justify-content: center; }
.leistung-hero--right .container { text-align: right; }
.leistung-hero--right .leistung-hero__text { margin-left: auto; margin-right: 0; }
.leistung-hero--right .page-hero__breadcrumb { justify-content: flex-end; }

/* Breadcrumb */
.leistung-hero .page-hero__breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.leistung-hero .page-hero__breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.leistung-hero .page-hero__breadcrumb a:hover { color: var(--leistung-accent); }

/* Badge */
.leistung-hero .page-hero__badge {
  display: inline-block;
  background: var(--leistung-accent2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* H1 */
.leistung-hero--bg h1 {
  font-family: 'Ropa Sans', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Subline */
.leistung-hero__sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 24px;
}

/* CTAs & Buttons */
.leistung-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.leistung-hero .btn.btn-primary, .leistung-hero .btn-primary {
  background: var(--leistung-accent) !important;
  color: var(--leistung-dark) !important;
  border-color: var(--leistung-accent) !important;
}
.leistung-hero .btn.btn-primary:hover, .leistung-hero .btn-primary:hover {
  background: var(--leistung-accent-dark) !important;
  border-color: var(--leistung-accent-dark) !important;
  box-shadow: 0 4px 20px rgba(255, 222, 18, 0.3);
}
.leistung-hero .btn.btn-outline, .leistung-hero .btn-outline {
  background: transparent;
  color: var(--leistung-accent) !important;
  border: 2px solid var(--leistung-accent) !important;
}
.leistung-hero .btn.btn-outline:hover, .leistung-hero .btn-outline:hover {
  background: var(--leistung-accent);
  color: var(--leistung-dark) !important;
}

/* Sidebar-Buttons */
.leistung-sidebar .btn.btn-primary, .leistung-sidebar .btn-primary {
  background: var(--leistung-accent) !important;
  color: var(--leistung-dark) !important;
  border-color: var(--leistung-accent) !important;
}
.leistung-sidebar .btn.btn-primary:hover, .leistung-sidebar .btn-primary:hover {
  background: var(--leistung-accent-dark) !important;
  border-color: var(--leistung-accent-dark) !important;
}

/* USP-Leiste */
.om-usp-bar { background: var(--leistung-accent) !important; }
.om-usp-bar strong, .om-usp-bar span { color: var(--leistung-dark) !important; }
.om-usp-bar svg { color: var(--leistung-dark) !important; }

/* CTA-Buttons */
.om-cta-final .btn.btn-primary, .om-cta-final .btn-primary {
  background: var(--leistung-accent) !important;
  color: var(--leistung-dark) !important;
  border-color: var(--leistung-accent) !important;
}
.om-cta-final .btn.btn-primary:hover, .om-cta-final .btn-primary:hover {
  background: var(--leistung-accent-dark) !important;
  border-color: var(--leistung-accent-dark) !important;
}

.leistung-content__main .leistung-label, .section-headline::before {
  color: var(--leistung-accent2);
}

/* ══════════════════════════════════════════════
   BUTTONS STANDARD
   ══════════════════════════════════════════════ */
.leistung-btn-accent {
  background: var(--leistung-accent);
  color: var(--leistung-dark);
  font-weight: 700;
  border: 2px solid var(--leistung-accent);
  border-radius: var(--leistung-radius);
  padding: 12px 28px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}
.leistung-btn-accent:hover {
  background: var(--leistung-accent-dark);
  border-color: var(--leistung-accent-dark);
  box-shadow: 0 4px 20px rgba(255, 222, 18, 0.3);
}

.leistung-btn-outline {
  background: transparent;
  color: #fff;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--leistung-radius);
  padding: 12px 28px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}
.leistung-btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.1); }

/* ══════════════════════════════════════════════
   CONTENT + SIDEBAR GRID
   ══════════════════════════════════════════════ */
.leistung-content { padding: 80px 0; }
.leistung-content__grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }

.leistung-content__main { font-size: 1rem; line-height: 1.8; color: var(--leistung-text); }
.leistung-content__main h2 { font-family: 'Ropa Sans', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--leistung-dark); margin-top: 40px; margin-bottom: 16px; }
.leistung-content__main h3 { font-size: 1.2rem; font-weight: 700; color: var(--leistung-dark); margin-top: 32px; margin-bottom: 12px; }
.leistung-content__main p { margin-bottom: 16px; }
.leistung-content__main ul, .leistung-content__main ol { margin-bottom: 16px; padding-left: 24px; }
.leistung-content__main li { margin-bottom: 8px; }
.leistung-content__main a { color: var(--leistung-accent2); font-weight: 600; text-decoration: none; }
.leistung-content__main a:hover { text-decoration: underline; }
.leistung-content__main img { max-width: 100%; height: auto; border-radius: 12px; margin: 24px 0; }

/* ══════════════════════════════════════════════
   SIDEBAR & CONTACT
   ══════════════════════════════════════════════ */
.leistung-sidebar { position: sticky; top: 100px; }
.leistung-sidebar__box { background: #f8f9fa; border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.leistung-sidebar__box--cta { background: var(--leistung-dark); color: #fff; }
.leistung-sidebar__box--cta h3 { color: #fff; font-family: 'Ropa Sans', sans-serif; font-size: 1.2rem; margin-bottom: 8px; }
.leistung-sidebar__box--cta p { color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.5; margin-bottom: 16px; }
.leistung-sidebar__box--cta .leistung-btn-accent { width: 100%; text-align: center; }
.leistung-sidebar__box h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--leistung-text-muted); margin-bottom: 12px; }

.leistung-sidebar__contact-link { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; color: var(--leistung-dark); font-weight: 600; text-decoration: none; margin-bottom: 8px; transition: all 0.2s ease; }
.leistung-sidebar__contact-link:hover { border-color: var(--leistung-accent); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.leistung-sidebar__contact-link svg { flex-shrink: 0; color: var(--leistung-accent2); }

.leistung-sidebar__card { background: var(--leistung-dark); color: #fff; border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.leistung-sidebar__card h3 { color: #fff; font-family: 'Ropa Sans', sans-serif; font-size: 1.2rem; margin-bottom: 8px; }
.leistung-sidebar__card p { color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.5; margin-bottom: 16px; }

.leistung-sidebar__contact { background: #f8f9fa; border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.leistung-sidebar__contact h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--leistung-text-muted); margin-bottom: 12px; }
.leistung-sidebar__contact-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; color: var(--leistung-dark); font-weight: 600; text-decoration: none; margin-bottom: 8px; transition: all 0.2s ease; }
.leistung-sidebar__contact-item:hover { border-color: var(--leistung-accent); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.leistung-sidebar__contact-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--leistung-accent2); }

.leistung-sidebar__links { background: #f8f9fa; border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.leistung-sidebar__links h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--leistung-text-muted); margin-bottom: 12px; }
.leistung-sidebar__links a { display: flex; align-items: center; gap: 8px; padding: 10px 0; color: var(--leistung-dark); font-weight: 500; text-decoration: none; transition: color 0.2s ease; }
.leistung-sidebar__links a::before { content: '→'; color: var(--leistung-accent2); font-weight: 700; }
.leistung-sidebar__links a:hover { color: var(--leistung-accent2); }

/* ══════════════════════════════════════════════
   PAKETE & FAQ
   ══════════════════════════════════════════════ */
.leistung-pakete { padding: 80px 0; background: #f5f5f7; }
.leistung-pakete .section-headline { font-family: 'Ropa Sans', sans-serif; font-size: 2rem; font-weight: 800; color: var(--leistung-dark); text-align: center; margin-bottom: 48px; }
.pakete-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 0; }
.paket-card { background: #fff; border-radius: 16px; padding: 36px 28px; border: 1px solid #e5e7eb; transition: all 0.3s ease; display: flex; flex-direction: column; position: relative; }
.paket-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: var(--leistung-accent); }
.paket-card--highlight { border: 2px solid var(--leistung-accent); background: linear-gradient(180deg, #fff9d4 0%, #fff 40%); }
.paket-card__badge { position: absolute; top: -12px; left: 28px; background: var(--leistung-accent); color: var(--leistung-dark); font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.paket-card h3 { font-family: 'Ropa Sans', sans-serif; font-size: 20px; font-weight: 700; color: var(--leistung-dark); margin-bottom: 8px; }
.paket-card__preis { font-size: 14px; color: var(--leistung-text-muted); margin-bottom: 20px; font-weight: 500; }
.paket-card__features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.paket-card__features li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 14px; color: #374151; line-height: 1.5; }
.paket-card__features li::before { content: '\2714'; position: absolute; left: 0; color: var(--leistung-accent-dark); font-weight: 700; }

.paket-card .btn { margin-top: auto; text-align: center; display: block; padding: 12px 24px; border-radius: var(--leistung-radius); font-weight: 700; font-size: 15px; text-decoration: none; transition: all 0.3s ease; }
.paket-card .btn.btn-primary { background: var(--leistung-accent) !important; color: var(--leistung-dark) !important; border: 2px solid var(--leistung-accent) !important; }
.paket-card .btn.btn-primary:hover { background: var(--leistung-accent-dark) !important; border-color: var(--leistung-accent-dark) !important; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.paket-card .btn.btn-outline { background: transparent; color: var(--leistung-dark) !important; border: 2px solid var(--leistung-accent) !important; }
.paket-card .btn.btn-outline:hover { background: var(--leistung-accent); color: var(--leistung-dark) !important; }

@media (max-width: 768px) { .pakete-grid { grid-template-columns: 1fr; } .leistung-pakete { padding: 60px 0; } }

/* FAQ */
.leistung-faq { padding: 80px 0; background: #fff; }
.leistung-faq .section-headline { font-family: 'Ropa Sans', sans-serif; font-size: 2rem; font-weight: 800; color: var(--leistung-dark); text-align: center; margin-bottom: 48px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid #e5e7eb; border-radius: 12px; margin-bottom: 12px; overflow: hidden; transition: all 0.3s ease; background: #fff; }
.faq-item:hover { border-color: var(--leistung-accent); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: none; cursor: pointer; font-family: 'Ropa Sans', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--leistung-dark); text-align: left; line-height: 1.4; transition: color 0.2s ease; }
.faq-item__question:hover { color: var(--leistung-accent-dark); }
.faq-item__icon { width: 24px; height: 24px; flex-shrink: 0; transition: transform 0.3s ease; stroke: var(--leistung-text-muted); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 24px; }
.faq-item__answer p { font-size: 0.95rem; line-height: 1.7; color: #555; margin: 0; }
.faq-item.is-open { border-color: var(--leistung-accent); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.faq-item.is-open .faq-item__icon { transform: rotate(180deg); }
.faq-item.is-open .faq-item__answer { max-height: 500px; padding: 0 24px 20px; }

@media (max-width: 768px) { .leistung-faq { padding: 60px 0; } .faq-item__question { padding: 16px 20px; font-size: 0.95rem; } .faq-item__answer { padding: 0 20px; } .faq-item.is-open .faq-item__answer { padding: 0 20px 16px; } }

/* CTA FINAL BLOCK */
.leistung-cta { position: relative; overflow: hidden; }
.leistung-cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.leistung-cta__bg-image { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.leistung-cta__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(22, 25, 34, 0.85) 0%, rgba(22, 25, 34, 0.6) 100%); z-index: 1; }

.leistung-cta--has-video .om-cta-final__inner, .leistung-cta--has-bg .om-cta-final__inner, .om-cta-final.leistung-cta--has-bg, .om-cta-final.leistung-cta--has-video { position: relative; z-index: 2; overflow: hidden; }
.leistung-cta--has-bg .om-cta-final__inner, .leistung-cta--has-video .om-cta-final__inner { position: relative; z-index: 2; }

.leistung-cta--has-bg .btn-primary, .leistung-cta--has-video .btn-primary, .leistung-cta--has-bg .leistung-btn-accent, .leistung-cta--has-video .leistung-btn-accent { background: var(--leistung-accent); color: var(--leistung-dark); border-color: var(--leistung-accent); }
.leistung-cta--has-bg .btn-primary:hover, .leistung-cta--has-video .btn-primary:hover, .leistung-cta--has-bg .leistung-btn-accent:hover, .leistung-cta--has-video .leistung-btn-accent:hover { background: var(--leistung-accent-dark); border-color: var(--leistung-accent-dark); }

/* PARTNER BADGE & GALERIE */
.leistung-hero__partner-badge { display: inline-flex; align-items: center; margin-top: 28px; border-radius: 8px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.leistung-hero__partner-logo { display: block; height: 56px; width: auto; max-width: 200px; object-fit: contain; }

@media (max-width: 768px) { .leistung-hero__partner-badge { margin-top: 20px; } .leistung-hero__partner-logo { height: 44px; max-width: 160px; } }
@media (max-width: 480px) { .leistung-hero__partner-logo { height: 36px; max-width: 130px; } }

.leistung-galerie { margin: 32px 0 0; background: transparent; }
.leistung-galerie__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; align-items: start; }
.leistung-galerie__item { display: flex; flex-direction: column; align-items: flex-start; background: transparent; padding: 0; }
.leistung-galerie__item:nth-child(2) { padding: 0 24px; }
.leistung-galerie__icon-wrap { width: 100%; height: 180px; display: flex; align-items: flex-end; justify-content: flex-start; }
.leistung-galerie__item img { width: auto; height: 170px; max-width: 100%; object-fit: contain; display: block; border-radius: 0; background: transparent; }
.leistung-galerie__title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ls-dark, #161922); margin: 0 0 12px; width: 100%; }
.leistung-galerie__features { list-style: none; padding: 0; margin: 0; width: 100%; }
.leistung-galerie__features li { font-size: 0.9rem; font-weight: 600; color: var(--leistung-dark, #161922); line-height: 1.55; padding: 0; }
.leistung-galerie__features li::before { content: '✓ '; color: var(--leistung-accent-dark, #d4121c); font-weight: 700; }

@media (max-width: 768px) { .leistung-galerie { margin-top: 24px; } .leistung-galerie__item:nth-child(2) { padding: 0 12px; } .leistung-galerie__icon-wrap { height: 130px; } .leistung-galerie__item img { height: 110px; } .leistung-galerie__features li { font-size: 0.82rem; } }
@media (max-width: 580px) { .leistung-galerie__grid { grid-template-columns: 1fr; gap: 28px; } .leistung-galerie__item:nth-child(2) { padding: 0; } .leistung-galerie__icon-wrap { height: 120px; } .leistung-galerie__item img { height: 100px; } }

@media (max-width: 1024px) { .leistung-content__grid { grid-template-columns: 1fr 280px; gap: 40px; } }
@media (max-width: 768px) { .leistung-hero--bg { min-height: 420px; } .leistung-hero--bg .container { padding-top: 80px; padding-bottom: 40px; } .leistung-hero--bg h1 { font-size: clamp(28px, 7vw, 40px); } .leistung-content__grid { grid-template-columns: 1fr; gap: 40px; } .leistung-sidebar { position: static; } .leistung-hero__ctas { flex-direction: column; } }
@media (max-width: 480px) { .leistung-hero--bg { min-height: 360px; } .leistung-hero--bg .container { padding-top: 70px; padding-bottom: 30px; } .leistung-content { padding: 40px 0; } }


/* ==========================================================================
   ── ⚡ BRANDING INJEKTION: EXKLUZIV FÜR DIE DIGITAL-AGENTUR UNTERSEITEN ──
   Involviert: Webdesign & SEO, Social Media, Google Ads
   ========================================================================== */

/* 1. HERO REBRANDING (Hintergrund-Dämpfung, Mindesthöhe & linker OVB-Balken in ROT) */
.body-child-of-digital-agentur .leistung-hero--bg {
  min-height: 580px !important;
}

.body-child-of-digital-agentur .leistung-hero h1 {
  border-left: 4px solid #d4121c !important; /* Strahlendes OVB-Rot */
  padding-left: 20px !important;
}

/* 2. HERO BUTTONS: Haupt-CTA rahmenlos Weiß | Outline-CTA komplett Weiß */
.body-child-of-digital-agentur .leistung-hero .btn.btn-primary,
.body-child-of-digital-agentur .leistung-hero .btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 14px 32px !important;
  background: #ffffff !important;
  color: #161922 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border-radius: 50px !important;
  border: none !important; /* Rahmenlos fixiert */
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}
.body-child-of-digital-agentur .leistung-hero .btn.btn-primary:hover,
.body-child-of-digital-agentur .leistung-hero .btn-primary:hover {
  background: #d4121c !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(212, 18, 28, 0.35) !important;
}

.body-child-of-digital-agentur .leistung-hero .btn.btn-outline,
.body-child-of-digital-agentur .leistung-hero .btn-outline {
  background: transparent !important;
  color: #ffffff !important; /* Schrift Weiß */
  border: 2px solid #ffffff !important; /* Rand Weiß */
  transition: all 0.3s ease !important;
}
.body-child-of-digital-agentur .leistung-hero .btn.btn-outline:hover,
.body-child-of-digital-agentur .leistung-hero .btn-outline:hover {
  background: #d4121c !important;
  border-color: #d4121c !important;
  color: #ffffff !important;
}

/* 3. COHÄRENTER USP-BAR ACCORD (Hellgrau + Rote Oberkante + 36px Zahlen) */
.body-child-of-digital-agentur .om-usp-bar {
  background: #f5f5f7 !important; /* Sauberes OVB-Hellgrau */
  border-top: 3px solid #d4121c !important; /* Rote Kante */
  border-bottom: 1px solid rgba(22, 25, 34, 0.05) !important;
  box-shadow: 0 4px 20px rgba(22, 25, 34, 0.06) !important;
  padding: 0 !important;
}

.body-child-of-digital-agentur .om-usp-bar__grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.body-child-of-digital-agentur .om-usp-bar__item {
  background: transparent !important;
  border-right: 1px solid rgba(22, 25, 34, 0.08) !important;
  padding: 36px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.body-child-of-digital-agentur .om-usp-bar__item:last-child {
  border-right: none !important;
}

.body-child-of-digital-agentur .om-usp-bar__item svg {
  color: #d4121c !important; /* Rote Icons */
  width: 32px !important;
  height: 32px !important;
  display: block !important;
}

.body-child-of-digital-agentur .om-usp-bar__item strong {
  display: block !important;
  font-family: 'Ropa Sans', sans-serif !important;
  font-size: 36px !important; /* Schlanke, große Wunschgröße */
  font-weight: 400 !important;
  color: #161922 !important;
  line-height: 1.1 !important;
  text-align: center !important;
}

.body-child-of-digital-agentur .om-usp-bar__item span {
  display: block !important;
  font-size: 12px !important;
  color: #626262 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  text-align: center !important;
}

/* 4. CONTENT-BEREICH UMFÄRBUNG (Rote Balken links neben den Haupt-H2s) */
.body-child-of-digital-agentur .leistung-content__main h2 {
  border-left: 4px solid #d4121c !important;
  padding-left: 20px !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
}

.body-child-of-digital-agentur .leistung-content__main ul li::before {
  color: #d4121c !important;
}

/* 5. SIDEBAR TUNING (Outline Weiß Button & Kontakte mit OVB-Rot Hover) */
.body-child-of-digital-agentur .leistung-sidebar .btn.btn-primary,
.body-child-of-digital-agentur .leistung-sidebar .btn-primary {
  background: transparent !important;
  color: #ffffff !important; /* Normal Zustand weiss */
  border: 2px solid #ffffff !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
}
.body-child-of-digital-agentur .leistung-sidebar .btn.btn-primary:hover,
.body-child-of-digital-agentur .leistung-sidebar .btn-primary:hover {
  background: #d4121c !important;
  border-color: #d4121c !important;
  color: #ffffff !important;
}

.body-child-of-digital-agentur .leistung-sidebar__contact-item {
  padding: 8px 0 8px 20px !important; /* Dein padding-left: 20px integriert */
  border-left: 3px solid transparent !important;
}
.body-child-of-digital-agentur .leistung-sidebar__contact-item:hover {
  color: #d4121c !important;
  border-left-color: #d4121c !important;
  background: rgba(212, 18, 28, 0.04) !important;
}

/* 6. PAKET-KARTEN BRANDING (Rote Overlays & Sanfte Rot-Verläufe) */
.body-child-of-digital-agentur .paket-card {
  border: 1.5px solid #ebebeb !important;
}
.body-child-of-digital-agentur .paket-card:hover {
  border-color: #d4121c !important;
}

.body-child-of-digital-agentur .paket-card--highlight {
  border: 2px solid #d4121c !important;
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 40%) !important; /* Soft-roter Premium-Schimmer */
}
.body-child-of-digital-agentur .paket-card--highlight .paket-card__badge {
  background: #d4121c !important;
  color: #ffffff !important;
}

.body-child-of-digital-agentur .paket-card__features li::before,
.body-child-of-digital-agentur .leistung-hero__features li::before {
  color: #d4121c !important; /* Alle Häkchen in sattem ROT */
}

.body-child-of-digital-agentur .paket-card .btn.btn-outline {
  border: 2px solid #d4121c !important;
  color: #161922 !important;
  transition: all 0.3s ease !important;
}
.body-child-of-digital-agentur .paket-card .btn.btn-outline:hover {
  background: #d4121c !important;
  color: #ffffff !important;
}

/* 7. FAQ ACCORDION INTERACTION (Überschreiben aller gelben Hover & Aktiv-Statusse) */
.body-child-of-digital-agentur .faq-item__question:hover {
  color: #d4121c !important;
}
.body-child-of-digital-agentur .faq-item:hover,
.body-child-of-digital-agentur .faq-item.is-open {
  border-color: #d4121c !important;
}
.body-child-of-digital-agentur .faq-item.is-open .faq-item__question,
.body-child-of-digital-agentur .faq-item.is-open .faq-item__icon {
  color: #d4121c !important;
}


/* ==========================================================================
   ── OVB24 INTERAKTIVE FORM-CTA SEKTION (Helles Unterseiten-Design) ──
   ========================================================================== */
.ovb-form-cta-section {
    background: #ffffff !important; /* Komplett weißer Sektions-Hintergrund */
    padding: 80px 0 !important;
    color: #161922 !important; /* Dunkler Text für optimale Lesbarkeit */
}

.ovb-form-cta-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: center !important;
}

/* Linke Text-Spalte */
.ovb-form-cta-content h2 {
    font-family: 'Ropa Sans', sans-serif !important;
    font-size: clamp(32px, 4vw, 44px) !important;
    color: #161922 !important; /* Dunkles Headline-Schwarz */
    text-transform: uppercase !important;
    line-height: 1.1 !important;
    border-left: 4px solid #d4121c !important; /* OVB Rot */
    padding-left: 20px !important;
    margin-bottom: 20px !important;
}

.ovb-form-cta-descr { 
    font-size: 16px !important; 
    line-height: 1.6 !important; 
    color: #444444 !important; /* Dunkelgrauer Beschreibungstext */
    margin-bottom: 30px !important; 
}

/* Teambild links: Kleiner skaliert und ohne Box-Shadow */
.ovb-form-cta-img-wrap {
    max-width: 80% !important; /* Begrenzt die Container-Breite, macht das Bild kleiner */
    margin: 0 auto 0 0 !important; /* Linksbündig halten */
}

.ovb-form-cta-img-wrap img { 
    max-width: 100% !important; 
    height: auto !important; 
    border-radius: 8px !important; 
    box-shadow: none !important; /* SCHATTEN RESTLOS ENTFERNT */
}

/* --- Rechte Spalte: Formular-Kiste (Jetzt softes Hellgrau) --- */
.ovb-form-cta-form-wrap { 
    background: #f5f5f7 !important; /* Helles OVB-Grau als Kiste statt Weiß */
    padding: 40px !important; 
    border-radius: 16px !important; 
    border: 1px solid #e5e7eb !important;
}

/* CF7 Absatz- & Umbruchbändiger */
.ovb-form-cta-form-wrap form p,
.ovb-form-cta-section form p {
    margin: 0 !important;
    padding: 0 !important;
}
.ovb-form-cta-form-wrap form br,
.ovb-form-cta-section form br {
    display: none !important;
}

/* Flex-Reihen für die Felder */
.ovb-form-cta-section .ovb-form-row {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

.ovb-form-cta-section .ovb-form-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    flex: 1 !important;
}

.ovb-form-cta-section .ovb-form-group.full-width {
    width: 100% !important;
}

/* Beschriftungen (Labels) */
.ovb-form-cta-section .ovb-form-group label { 
    font-size: 13px !important; 
    font-weight: 700 !important; 
    color: #161922 !important; 
    text-transform: uppercase !important; 
    letter-spacing: 0.5px !important;
}

/* Eingabefelder (Reinweißer Hintergrund in der grauen Kiste) */
.ovb-form-cta-section .ovb-form-group input[type="text"], 
.ovb-form-cta-section .ovb-form-group input[type="email"], 
.ovb-form-cta-section .ovb-form-group input[type="tel"], 
.ovb-form-cta-section .ovb-form-group textarea { 
    width: 100% !important; 
    padding: 12px 16px !important; 
    background: #ffffff !important; /* Weiße Inputs für maximalen Kontrast */
    border: 1px solid #d1d5db !important; 
    color: #161922 !important; 
    font-size: 15px !important; 
    border-radius: 8px !important; 
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.ovb-form-cta-section .ovb-form-group input:focus, 
.ovb-form-cta-section .ovb-form-group textarea:focus { 
    border-color: #d4121c !important; 
    outline: none !important; 
    box-shadow: 0 0 0 3px rgba(212, 18, 28, 0.1) !important; 
}

.ovb-form-cta-section .ovb-form-group textarea { 
    height: 120px !important; 
    resize: vertical !important; 
}

/* Roter Senden-Button */
.ovb-form-cta-form-wrap .btn-ovb-submit { 
    width: 100% !important; 
    padding: 16px !important; 
    background: #d4121c !important; 
    color: #ffffff !important; 
    font-size: 16px !important; 
    font-weight: 700 !important; 
    border: none !important; 
    border-radius: 50px !important; 
    cursor: pointer !important; 
    text-transform: uppercase !important; 
    letter-spacing: 0.5px !important; 
    transition: all 0.3s ease !important; 
    margin-top: 10px !important;
}

.ovb-form-cta-form-wrap .btn-ovb-submit:hover { 
    background: #161922 !important; 
    transform: translateY(-2px) !important; 
    box-shadow: 0 6px 15px rgba(22, 25, 34, 0.15) !important; 
}

.wpcf7-not-valid-tip { color: #d4121c !important; font-size: 12px !important; font-weight: 600 !important; margin-top: 4px !important; }
.wpcf7-response-output { border: 2px solid #d4121c !important; border-radius: 8px !important; background: #fff5f5 !important; color: #161922 !important; font-weight: 600 !important; margin: 20px 0 0 0 !important; padding: 12px 16px !important; }
.wpcf7-spinner { margin: 10px auto 0 auto !important; display: block !important; }

/* ==========================================================================
   ── RESPONSIVE OVERRIDES (Perfektes Einbrechen für Mobilgeräte) ──
   ========================================================================== */
@media (max-width: 991px) { 
    .ovb-form-cta-container { grid-template-columns: 1fr !important; gap: 40px !important; } 
    .ovb-form-cta-form-wrap { padding: 30px 20px !important; } 
    .ovb-form-cta-img-wrap { max-width: 100% !important; }
}

@media (max-width: 650px) { 
    .ovb-form-cta-section .ovb-form-row {
        flex-direction: column !important;
        gap: 16px !important;
        margin-bottom: 0 !important;
    }

    .ovb-form-cta-section .ovb-form-group {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 16px !important;
    }
}