/*
 * DataIdent Design – Komponenten und seitenbezogene Anpassungen
 * Übernommen aus „Customizer › Zusätzliches CSS“ (Stand 02.12.2026), unverändert.
 */

:where(body:not(.customize-partial-edit-shortcuts-shown) .footer) .menu-item a:not(.mdc-ripple-upgraded){
    pointer-events: auto !important;
}

/* Startseite, Abschnitt App-Entwicklung: drei Karten gleich hoch, Play-Store-Link unten bündig */
#overlappable-4 .row.spaced-cols > [class*="col-"] { display: flex; flex-direction: column; }
#overlappable-4 .row.spaced-cols > [class*="col-"] > .card { flex: 1 1 auto; display: flex; flex-direction: column; }
#overlappable-4 .card > img.icon { align-self: center; }
#overlappable-4 .card > p { flex-grow: 1; text-align: left !important; }

/* Seite Software (ID 274): 2 x 4 Kacheln als gleich große Karten, Buttons unten bündig */
.page-id-274 :is(#features-1,#features-2) .row.spaced-cols { align-items: stretch; }
.page-id-274 :is(#features-1,#features-2) .row.spaced-cols > [class*="col-"] { position: relative; display: flex; flex-direction: column; padding: 30px 35px; }
.page-id-274 :is(#features-1,#features-2) .row.spaced-cols > [class*="col-"]::before { content: "" !important; display: block !important; position: absolute !important; top: 0 !important; bottom: 0 !important; left: 15px !important; right: 15px !important; width: auto !important; height: auto !important; background: #fff; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.08); z-index: 0; }
.page-id-274 :is(#features-1,#features-2) .row.spaced-cols > [class*="col-"] > * { position: relative; z-index: 1; }
.page-id-274 :is(#features-1,#features-2) .row.spaced-cols > [class*="col-"] > p { flex-grow: 1; }
.page-id-274 :is(#features-1,#features-2) .row.spaced-cols > [class*="col-"] > a { align-self: flex-start; margin-top: 10px; max-width: 100%; letter-spacing: 0.3px; padding-left: 12px; padding-right: 12px; }
@media (min-width: 1024px) { .page-id-274 :is(#features-1,#features-2) .row.spaced-cols > [class*="col-"] { min-height: 540px; } }

/* Mobile Anruf- und Anfrageleiste (HTML im Footer-Copyright-Text) */
.di-mobilebar { display: none; }
@media (max-width: 767px) {
  .di-mobilebar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; box-shadow: 0 -2px 10px rgba(0,0,0,.15); }
  .di-mobilebar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px; font-size: 16px; font-weight: 600; color: #fff !important; text-decoration: none; }
  .di-mobilebar .di-mb-call { background: #82c91e; }
  .di-mobilebar .di-mb-mail { background: #228ae6; }
  .di-mobilebar .mdi { font-size: 20px; color: #fff !important; }
  body { padding-bottom: 52px; }
  .footer-content:has(.di-mobilebar) { z-index: 10000; }
  /* solange der Cookie-Banner sichtbar ist, Leiste ausblenden */
  body:has(#moove_gdpr_cookie_info_bar:not(.moove-gdpr-info-bar-hidden)) .di-mobilebar { display: none !important; }
}

.muted:has(.di-mobilebar) { opacity: 1; }
.muted:has(.di-mobilebar), .muted:has(.di-mobilebar) a:not(.di-mb-call):not(.di-mb-mail) { color: color-mix(in srgb, rgb(152, 152, 152) 55%, #ffffff); }

/* Formulare: Felder in voller Breite */
.wpcf7 .mdc-text-field { display: flex !important; width: 100% !important; }
.wpcf7 .mdc-text-field .mdc-floating-label { max-width: calc(100% - 8px); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="number"], .wpcf7 select, .wpcf7 textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.wpcf7 .wpcf7-list-item { display: block; margin: 0 0 6px 0; }
.wpcf7 input[type="radio"], .wpcf7 input[type="checkbox"] { -webkit-appearance: auto !important; appearance: auto !important; width: 18px !important; height: 18px !important; min-width: 18px; border: 0 !important; margin: 0 10px 0 0 !important; padding: 0 !important; display: inline-block !important; vertical-align: middle; box-shadow: none !important; background: none !important; cursor: pointer; }
.wpcf7 .wpcf7-list-item label { display: inline-flex; align-items: center; cursor: pointer; margin: 0; }
.wpcf7 h4 { margin-top: 30px; }

/* Hauptmenü: Untermenüs so breit wie der längste Eintrag, rechte Menüs nach links aufklappen */
@media (min-width: 1024px) {
  #main_menu ul.sub-menu { overflow: visible !important; width: max-content !important; min-width: 200px; }
  #main_menu > li:nth-last-child(-n+2) > ul.sub-menu { left: auto !important; right: 0 !important; }
}

/* Seite Leistungen */
.di-grid::before, .di-grid::after, .di-facts::before, .di-facts::after, .di-steps::before, .di-steps::after { content: none !important; display: none !important; }
@media (min-width: 900px) { .di-grid.di-grid-3 { grid-template-columns: repeat(3, 1fr); } .di-steps { grid-template-columns: repeat(3, 1fr); } }
.di-l h2 { margin-bottom: 12px; }
.di-l .lead { max-width: 860px; margin-bottom: 30px; }
.di-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 10px 0 20px; }
.di-facts > div { background: #f5fafd; border-radius: 8px; padding: 22px; border-left: 4px solid #228ae6; }
.di-facts strong { display: block; font-size: 1.6em; color: #2b3442; margin-bottom: 4px; }
.di-facts span { color: #6b7c93; }
.di-note { font-style: italic; color: #6b7c93; }
.di-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.di-card { background: #fff; border-radius: 8px; padding: 26px; box-shadow: 0 4px 14px rgba(0,0,0,.07); display: flex; flex-direction: column; }
.di-card .di-icon { font-size: 34px; color: #228ae6; line-height: 1; margin-bottom: 12px; }
.di-card h3 { font-size: 1.25em; margin: 0 0 10px; }
.di-card p { margin: 0 0 12px; }
.di-card .di-links { margin-top: auto; margin-bottom: 0; font-weight: 600; line-height: 1.9; }
.di-steps { list-style: none; counter-reset: di; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.di-steps li { counter-increment: di; position: relative; padding: 18px 18px 18px 70px; background: #f5fafd; border-radius: 8px; }
.di-steps li::before { content: counter(di); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: #228ae6; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.di-steps strong { display: block; margin-bottom: 4px; color: #2b3442; }
.di-steps span { color: #6b7c93; }
.di-cta { text-align: center; color: #fff; max-width: 820px; margin: 0 auto; }
.di-cta h2, .di-cta p { color: #fff; }
.di-cta .di-cta-buttons { margin: 24px 0; }
.di-cta .di-cta-buttons .button { margin: 6px; }
.di-cta .di-brochure a { color: #fff; text-decoration: underline; }

/* Startseite: Button „Gerät zur Reparatur“ auf hellen Slider-Bildern lesbar */
.header-content a.button.white.outline { background-color: #ffffff !important; color: #228ae6 !important; border-color: #ffffff !important; }
.header-content a.button.white.outline:hover { background-color: #e8f2fd !important; }

/* Startseite: beide Kopfbereich-Buttons gleich breit, Untertitel mit Schatten für helle Bilder */
.header-content a.button { width: 260px; max-width: 100%; box-sizing: border-box; padding-left: 20px !important; padding-right: 20px !important; text-align: center; justify-content: center; } /* gleich breit */
.header-content .header-subtitle { text-shadow: 0 1px 3px rgba(0,0,0,.65), 0 0 12px rgba(0,0,0,.35); }
/* Leistungen: Einleitungstext so breit wie die Überschrift */
.page-id-40371 .di-l .lead, .page-id-40435 .di-l .lead, .page-id-40454 .di-l .lead, .page-id-40455 .di-l .lead { max-width: none; }

/* Zwei Kacheln nebeneinander (z. B. Supportlevel auf der Service-Seite) */
@media (min-width: 900px) { .di-grid.di-grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* Vertrauens-Streifen: Herstellerlogos Zebra und Datalogic */
.di-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 36px; background: #fff; border: 1px solid #e3e8ef; border-left: 4px solid #228ae6; border-radius: 4px; padding: 20px 28px; margin: 28px 0; }
.di-trust::before, .di-trust::after { content: none !important; display: none !important; }
.di-trust-logos { display: flex; align-items: center; gap: 32px; }
.di-trust-logos img { height: 34px; width: auto; max-width: none; margin: 0; box-shadow: none; }
.di-trust-text strong { display: block; font-size: 1.1rem; color: #2b2d42; line-height: 1.4; }
.di-trust-text span { display: block; color: #6b7280; font-size: .95rem; line-height: 1.5; }
@media (max-width: 600px) { .di-trust { padding: 18px 20px; } .di-trust-logos img { height: 28px; } }

/* Über uns: Team-Kacheln mit Initialen (später Foto) */
.di-team { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 30px; }
.di-team > .di-person { flex: 0 0 calc((100% - 48px) / 3); box-sizing: border-box; }
@media (max-width: 900px) { .di-team > .di-person { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 560px) { .di-team > .di-person { flex-basis: 100%; } }
.di-team::before, .di-team::after { content: none !important; display: none !important; }
.di-person { background: #fff; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.10); padding: 26px 20px; text-align: center; }
.di-avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; background: #e8f1fb; color: #228ae6; font-size: 1.6rem; font-weight: 600; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.di-avatar img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.di-person strong { display: block; font-size: 1.05rem; color: #2b2d42; }
.di-person span { display: block; font-size: .9rem; color: #6b7280; margin-top: 4px; line-height: 1.4; }
/* Referenzen: Fallstudie */
.di-case { background: #fff; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.10); padding: 34px; margin-top: 30px; }
.di-case-head { display: flex; align-items: center; gap: 28px; margin-bottom: 26px; }
.di-case-head::before, .di-case-head::after { content: none !important; display: none !important; }
@media (max-width: 700px) { .di-case-head { flex-direction: column; align-items: flex-start; } }
.di-case-head img { height: 110px; width: auto; max-width: none; margin: 0; flex-shrink: 0; }
.di-case-head h3 { margin: 0; }
.di-case-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.di-case-cols::before, .di-case-cols::after { content: none !important; display: none !important; }
.di-case-cols h4 { color: #228ae6; margin: 0 0 10px; }
.di-case-cols ul { margin: 0; padding-left: 20px; }
.di-case-tech { margin-top: 24px; padding-top: 18px; border-top: 1px solid #e3e8ef; font-size: .95rem; }

/* Über uns: Zeitleiste */
.di-timeline { list-style: none; margin: 30px 0 0; padding: 0 0 0 28px; border-left: 3px solid #cfe3f8; }
.di-timeline li { position: relative; margin: 0 0 26px; padding-left: 10px; }
.di-timeline li::before { content: ""; position: absolute; left: -38px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #228ae6; border: 3px solid #fff; box-shadow: 0 0 0 1px #cfe3f8; }
.di-timeline strong { display: block; color: #228ae6; font-size: 1.05rem; }
.di-timeline span { display: block; color: #2b2d42; line-height: 1.6; }


/* Vertrauens-Streifen mit 7 Herstellerlogos (26.11.2026) */
.di-trust-logos { flex: 1 1 100%; flex-wrap: wrap; gap: 18px 30px; }
.di-trust-logos::before, .di-trust-logos::after { content: none !important; display: none !important; }
.di-trust-logos img { height: 30px; }
@media (max-width: 600px) { .di-trust-logos { gap: 14px 22px; } .di-trust-logos img { height: 24px; } }

/* =====================================================================
 * Seitenbausteine (theme-unabhängig), Stand 02.12.2026
 * Genutzt von der neuen Startseite; für weitere Seiten wiederverwendbar.
 * ===================================================================== */
:root, .di-page { --dib: var(--di-blue, #228ae6); --dibd: var(--di-blue-dark, #1a6fc0); --dig: var(--di-green, #82c91e); --dih: var(--di-heading, #1d2733); --dit: var(--di-text, #3a4656); --dim: var(--di-text-muted, #5f6f84); --dis: var(--di-bg-soft, #f5fafd); --dibr: var(--di-border, #e3e8ef); --dir: var(--di-radius-lg, 10px); --dish: var(--di-shadow, 0 2px 10px rgba(16,32,56,.08)); }
.di-page, .di-page * { box-sizing: border-box; }
.di-page p:empty { display: none; }
.di-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.di-section { padding: clamp(44px, 6vw, 80px) 0; background: #fff; }
.di-section--soft { background: var(--dis); }
.di-section--tight { padding-top: 0; }
.di-section-head { max-width: 760px; margin: 0 0 32px; }
.di-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.di-section-head h2 { margin: 0 0 12px; color: var(--dih); }
.di-section-head p { margin: 0; color: var(--dim); font-size: 17.6px; }
.di-eyebrow { display: inline-block; font-size: 13px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dib) !important; margin: 0 0 10px !important; }

/* Einleitung mit Schnellkontakt */
.di-intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.di-intro h2 { margin-top: 0; }
.di-quick { display: grid; gap: 16px; }
.di-quick a { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--dibr); border-radius: var(--dir); box-shadow: var(--dish); text-decoration: none !important; transition: box-shadow .15s ease, transform .15s ease; }
.di-quick a:hover { box-shadow: 0 6px 20px rgba(16,32,56,.12); transform: translateY(-2px); }
.di-quick .di-ico { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; background: var(--dib); }
.di-quick a.di-quick-call .di-ico { background: var(--dig); }
.di-ico::before { content: ""; display: block; width: 26px; height: 26px; background: #fff; -webkit-mask: var(--di-ico) center / contain no-repeat; mask: var(--di-ico) center / contain no-repeat; }
.di-ico-phone { --di-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2c.28-.28.67-.36 1.02-.25 1.12.37 2.32.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02z'/%3E%3C/svg%3E"); }
.di-ico-mail { --di-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }
.di-quick strong { display: block; font-size: 17px; color: var(--dih); }
.di-quick span.di-quick-sub { display: block; font-size: 14px; color: var(--dim); }

/* Zweispaltig: Liste + Text */
.di-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.di-checklist { list-style: none; margin: 0; padding: 0; }
.di-checklist li { position: relative; padding: 0 0 12px 34px; margin: 0; }
.di-checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--dib) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.di-checklist strong { color: var(--dih); }
.di-highlight { background: #fff; border-left: 4px solid var(--dib); border-radius: var(--dir); box-shadow: var(--dish); padding: 28px 30px; font-size: 18px; line-height: 1.6; color: var(--dih); }
.di-highlight p { margin: 0; color: var(--dih); font-size: 18px; }

/* Karten mit Bild */
.di-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.di-cards::before, .di-cards::after { content: none !important; display: none !important; }
@media (min-width: 1000px) { .di-cards--4 { grid-template-columns: repeat(4, 1fr); } .di-cards--3 { grid-template-columns: repeat(3, 1fr); } .di-cards--2 { grid-template-columns: repeat(2, 1fr); } }
.di-mcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--dir); box-shadow: var(--dish); overflow: hidden; transition: box-shadow .15s ease, transform .15s ease; }
.di-mcard:hover { box-shadow: 0 8px 24px rgba(16,32,56,.12); transform: translateY(-2px); }
.di-mcard-img { display: block; aspect-ratio: 16 / 10; background: var(--dis); overflow: hidden; }
.di-mcard-img img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0 !important; box-shadow: none !important; }
.di-mcard-img--contain img { object-fit: contain; padding: 18px; }
.di-mcard-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 24px 24px; }
.di-mcard-body h3 { margin: 0 0 10px; color: var(--dih); }
.di-mcard-body p { margin: 0 0 16px; font-size: 15.5px; }
.di-mcard-body .di-more { margin-top: auto; font-weight: 600; color: var(--dib) !important; text-decoration: none !important; }
.di-mcard-body .di-more::after { content: " \203A"; }
.di-mcard-body .di-more:hover { color: var(--dibd) !important; }

/* Kontakt */
.di-contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.di-addr { display: grid; gap: 18px; margin-top: 24px; }
.di-addr > div { background: #fff; border: 1px solid var(--dibr); border-radius: var(--dir); padding: 18px 20px; }
.di-addr strong { display: block; color: var(--dih); margin-bottom: 4px; }
.di-addr p { margin: 0; font-size: 15px; line-height: 1.6; }
.di-formbox { background: #fff; border-radius: var(--dir); box-shadow: var(--dish); padding: 28px 30px; }

/* Kundenlogos */
.di-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.di-logos::before, .di-logos::after { content: none !important; display: none !important; }
.di-logos > div { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--dibr); border-radius: var(--dir); padding: 14px; aspect-ratio: 3 / 2; }
.di-logos img { max-width: 100%; max-height: 64px; width: auto; height: auto; margin: 0 !important; box-shadow: none !important; filter: grayscale(1); opacity: .8; transition: filter .15s ease, opacity .15s ease; }
.di-logos > div:hover img { filter: none; opacity: 1; }

@media (max-width: 900px) {
  .di-intro, .di-split, .di-contact { grid-template-columns: 1fr; gap: 28px; }
}
/* Theme-Clearfix (::before/::after) nicht als Rasterzelle zählen */
.di-page :is(.di-intro, .di-split, .di-quick, .di-contact, .di-addr, .di-cards, .di-logos, .di-wrap, .di-section)::before,
.di-page :is(.di-intro, .di-split, .di-quick, .di-contact, .di-addr, .di-cards, .di-logos, .di-wrap, .di-section)::after { content: none !important; display: none !important; }
/* Kartenüberschriften: etwas kleiner, Silbentrennung bei langen Wörtern */
html body .di-mcard-body h3 { font-size: 19px; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.di-cards--4 .di-mcard-body { padding: 20px 20px 22px; }

/* ---------- Weitere Seitenbausteine (RFID-Seite, 02.12.2026) ---------- */
/* Eigene Buttons, unabhängig vom Theme */
.di-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 26px; border-radius: var(--di-radius, 6px); border: 2px solid var(--dib); background: var(--dib); color: #fff !important; font-size: 15px; font-weight: 600; line-height: 1.25; text-decoration: none !important; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
.di-btn:hover { background: var(--dibd); border-color: var(--dibd); transform: translateY(-1px); }
.di-btn--green { background: var(--dig); border-color: var(--dig); }
.di-btn--green:hover { background: var(--di-green-dark, #6aa816); border-color: var(--di-green-dark, #6aa816); }
.di-btn--outline { background: transparent; color: var(--dib) !important; }
.di-btn--outline:hover { background: var(--di-blue-soft, #e8f2fd); color: var(--dibd) !important; }
.di-btn--white { background: #fff; border-color: #fff; color: var(--dib) !important; }
.di-btn--white:hover { background: var(--di-blue-soft, #e8f2fd); border-color: var(--di-blue-soft, #e8f2fd); }
.di-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.di-btns::before, .di-btns::after { content: none !important; display: none !important; }

/* Farbiges Band (Beratung) */
.di-band { background: linear-gradient(120deg, var(--dib), #1a5fae); color: #fff; border-radius: var(--dir); padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: 1.5fr auto; gap: 24px 40px; align-items: center; }
.di-band::before, .di-band::after { content: none !important; display: none !important; }
.di-band h2, .di-band p { color: #fff !important; }
.di-band h2 { margin: 0 0 10px; }
.di-band p { margin: 0; opacity: .95; }
.di-band .di-btns { margin-top: 0; flex-direction: column; }
@media (max-width: 800px) { .di-band { grid-template-columns: 1fr; } .di-band .di-btns { flex-direction: row; } }

/* Video-Banner */
.di-video { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 40px 24px; border-radius: var(--dir); background: #1d2733; color: #fff !important; text-decoration: none !important; transition: background-color .15s ease; }
.di-video:hover { background: #26354a; }
.di-video .di-play { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; background: var(--dib); position: relative; }
.di-video .di-play::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.di-video strong { display: block; font-size: 22px; color: #fff; }
.di-video span.di-video-sub { display: block; font-size: 14px; color: rgba(255,255,255,.75); }

/* Textkarten mit Kopfzeile */
.di-tcard { background: #fff; border-radius: var(--dir); box-shadow: var(--dish); padding: 24px; display: flex; flex-direction: column; border-top: 4px solid var(--dib); }
.di-tcard h3 { margin: 0 0 10px; color: var(--dih); font-size: 19px; }
.di-tcard p { margin: 0 0 12px; font-size: 15.5px; }
.di-tcard .di-more { margin-top: auto; font-weight: 600; color: var(--dib) !important; text-decoration: none !important; }
.di-tcard .di-more::after { content: " \203A"; }
.di-label { font-size: 13px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--dim) !important; margin: 0 0 6px !important; }

/* Vor- und Nachteile */
.di-proscons { list-style: none; margin: 0 0 14px; padding: 0; }
.di-proscons li { position: relative; padding: 0 0 6px 26px; margin: 0; font-size: 15px; line-height: 1.5; }
.di-proscons li::before { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; font-size: 14px; font-weight: 700; line-height: 18px; text-align: center; color: #fff; }
.di-proscons li.di-pro::before { content: "+"; background: var(--dig); }
.di-proscons li.di-con::before { content: "\2013"; background: #e8590c; }

/* Bild mit Bildunterschrift */
.di-figure { margin: 0; background: #fff; border-radius: var(--dir); box-shadow: var(--dish); padding: 16px; }
.di-figure img { display: block; width: 100%; height: auto; margin: 0 !important; border-radius: 6px; box-shadow: none !important; }
.di-figure figcaption { margin-top: 12px; font-size: 14px; color: var(--dim); }
.di-figure figcaption a { font-weight: 600; }
.di-media { border-radius: var(--dir); overflow: hidden; box-shadow: var(--dish); }
.di-media img { display: block; width: 100%; height: auto; margin: 0 !important; box-shadow: none !important; }

/* Anker-Ziele nicht unter der fixierten Kopfzeile verstecken */
.di-page [id] { scroll-margin-top: 110px; }
.di-steps-plain { margin: 0 0 16px; padding-left: 22px; }
.di-steps-plain li { margin-bottom: 8px; }
.di-band p + p { margin-top: 12px; }
.di-page { text-align: left; }
.di-split--top { align-items: start; }
.di-split--top .di-media { position: sticky; top: 110px; }

/* ---------- Allgemeine Bausteine für umgebaute Inhaltsseiten (02.12.2026) ---------- */
.di-cols { display: grid; grid-template-columns: repeat(var(--di-n, 2), minmax(0, 1fr)); gap: 32px 40px; align-items: start; margin: 8px 0 24px; }
.di-cols::before, .di-cols::after { content: none !important; display: none !important; }
@media (max-width: 900px) { .di-cols { grid-template-columns: 1fr; gap: 24px; } }
.di-cols > div > :first-child { margin-top: 0; }
.di-img { margin: 0 0 20px; }
.di-img img { display: block; max-width: 100%; height: auto; margin: 0 auto !important; border-radius: var(--dir); box-shadow: none !important; }
.di-table { overflow-x: auto; margin: 0 0 20px; }
.di-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.di-table th, .di-table td { border: 1px solid var(--dibr); padding: 8px 12px; text-align: left; vertical-align: top; }
.di-table th { background: var(--dis); color: var(--dih); }
.di-video-thumb { position: relative; display: block; border-radius: var(--dir); overflow: hidden; background: #1d2733; min-height: 220px; margin: 0 0 20px; }
.di-video-thumb img { display: block; width: 100%; height: 100%; min-height: 220px; object-fit: cover; margin: 0 !important; opacity: .75; transition: opacity .15s ease; }
.di-video-thumb:hover img { opacity: .9; }
.di-video-thumb .di-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--dib); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.di-video-thumb .di-play::after { content: ""; position: absolute; left: 29px; top: 23px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; }
.di-page .di-tcard + .di-tcard { margin-top: 0; }
.di-page ul:not([class]) { padding-left: 22px; margin: 0 0 16px; }
.di-page ul:not([class]) li { margin-bottom: 6px; }
.di-page .di-more { font-weight: 600; text-decoration: none; }
.di-page .di-more::after { content: " \203A"; }
/* Drei- und vierspaltige Reihen als Kacheln */
.di-cols:is([style*="--di-n:3"],[style*="--di-n:4"]) { align-items: stretch; }
.di-cols:is([style*="--di-n:3"],[style*="--di-n:4"]) > div:not(:has(> .di-tcard)) { background: #fff; border-radius: var(--dir); box-shadow: var(--dish); padding: 24px; border-top: 4px solid var(--dib); display: flex; flex-direction: column; height: 100%; }
.di-cols:is([style*="--di-n:3"],[style*="--di-n:4"]) > div > .di-btns:last-child { margin-top: auto; padding-top: 12px; }
/* Blaue Abschnitte (z. B. Abschluss-CTA) und schmale Textspalte */
.di-section--blue { background: var(--dib); }
.di-narrow { max-width: 780px; margin: 0 auto; }

/* =====================================================================
 * Kopf- und Fußbereich ohne Materialis (Top-Bar, Startseiten-Hero, Seitenbanner, Fuß)
 * ===================================================================== */
/* Top-Bar */
.di-topbar { background: #1d2733; color: #c9d2dc; font-size: 13px; line-height: 1.4; }
.di-topbar-inner { max-width: 1240px; margin: 0 auto; padding: 7px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.di-topbar a { color: #c9d2dc !important; text-decoration: none !important; }
.di-topbar a:hover { color: #fff !important; }
.di-tb { display: inline-flex; align-items: center; gap: 7px; }
.di-tb::before { content: ""; width: 14px; height: 14px; background: #82c91e; -webkit-mask: var(--di-ico) center / contain no-repeat; mask: var(--di-ico) center / contain no-repeat; }
.di-tb-pin { --di-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.di-tb-phone { --di-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2c.28-.28.67-.36 1.02-.25 1.12.37 2.32.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02z'/%3E%3C/svg%3E"); }
.di-tb-mail { --di-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }
.di-tb-slogan { margin-left: auto; font-weight: 600; color: #fff; }
@media (max-width: 767px) { .di-tb-pin, .di-tb-slogan { display: none; } .di-topbar-inner { justify-content: center; } }

/* Startseiten-Hero mit Bildwechsel */
.di-hero { position: relative; overflow: hidden; min-height: clamp(460px, 62vh, 640px); display: flex; align-items: center; background: #1a5fae; }
.di-hero-slides, .di-hero-slide, .di-hero-split { position: absolute; inset: 0; }
.di-hero-slide { background-size: cover; background-position: center; opacity: 0; animation: di-hero-fade calc(var(--n) * 3.2s) infinite; animation-delay: calc(var(--i) * 3.2s); }
.di-hero-slide:first-child { opacity: 1; }
@keyframes di-hero-fade { 0% { opacity: 0; } 5% { opacity: 1; } 16.6% { opacity: 1; } 22% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .di-hero-slide { animation: none; } .di-hero-slide:not(:first-child) { display: none; } }
.di-hero-split { background: linear-gradient(-40deg, rgba(5,133,245,0) 0%, rgba(5,133,245,0) 49.9%, rgba(5,133,245,.78) 50%, rgba(5,133,245,.78) 100%); }
.di-hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding: 60px 20px; }
html body .di-hero-title { display: inline-block; margin: 0 0 18px; padding: 14px 26px; background: #82c91e; color: #fff !important; border-radius: 6px; font-size: clamp(30px, 22px + 2.4vw, 50px); line-height: 1.25; box-shadow: 0 6px 20px rgba(0,0,0,.2); max-width: 640px; }
.di-hero-sub { margin: 0 0 26px !important; max-width: 640px; color: #fff !important; font-size: clamp(17px, 15px + .6vw, 22px) !important; line-height: 1.45 !important; text-shadow: 0 1px 3px rgba(0,0,0,.65), 0 0 12px rgba(0,0,0,.35); }
.di-hero .di-btns { margin-top: 0; }
.di-hero .di-btn { min-width: 240px; }
@media (max-width: 600px) { .di-hero .di-btn { min-width: 0; width: 100%; } .di-hero-split { background: rgba(5,133,245,.72); } }

/* Seitenbanner (Unterseiten) */
.di-banner { background: linear-gradient(120deg, #1a5fae 0%, #228ae6 60%, #5b6ee8 100%); color: #fff; }
.di-banner-inner { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) 20px; }
html body .di-banner h1 { margin: 0; color: #fff !important; font-size: clamp(30px, 22px + 2.2vw, 48px); max-width: 900px; }

/* Mobile Leiste (Symbole per CSS) */
.di-ico-s { display: inline-block; width: 20px; height: 20px; background: #fff; -webkit-mask: var(--di-ico) center / contain no-repeat; mask: var(--di-ico) center / contain no-repeat; }

/* GeneratePress: Kopf, Navigation, Inhalt, Fuß */
.wp-theme-generatepress .site-header .inside-header { padding-top: 14px; padding-bottom: 14px; }
.wp-theme-generatepress .main-navigation .main-nav ul li a { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #3a4656; }
.wp-theme-generatepress .main-navigation .main-nav ul li:hover > a, .wp-theme-generatepress .main-navigation .main-nav ul li.current-menu-item > a, .wp-theme-generatepress .main-navigation .main-nav ul li.current-menu-ancestor > a { color: #228ae6; }
.wp-theme-generatepress .main-navigation ul ul { box-shadow: 0 8px 24px rgba(16,32,56,.12); border-radius: 0 0 8px 8px; }
.wp-theme-generatepress .main-navigation .main-nav ul ul li a { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500; }
.wp-theme-generatepress.full-width-content .container.grid-container, .wp-theme-generatepress.full-width-content .site-content { max-width: 100%; }
.wp-theme-generatepress.full-width-content .site-content, .wp-theme-generatepress.full-width-content.one-container .site-content, .wp-theme-generatepress.full-width-content .inside-article { padding: 0 !important; }
.wp-theme-generatepress.full-width-content .entry-content:not(:first-child) { margin-top: 0; }
.wp-theme-generatepress .site-info { background: #1d2733; color: #c9d2dc; font-size: 14px; }
.wp-theme-generatepress .site-info .inside-site-info { display: block; }
.wp-theme-generatepress .site-info .copyright-bar { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; }
.di-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.di-footer-menu li { margin: 0; }
.di-footer-menu a, .wp-theme-generatepress .site-info a { color: #fff; text-decoration: none; }
.di-footer-menu a:hover { text-decoration: underline; }
@media (max-width: 767px) { .wp-theme-generatepress .site-info { padding-bottom: 56px; } }
/* GeneratePress: Seitentitel neben dem Logo ausblenden, Menü kompakter */
.wp-theme-generatepress .site-branding { display: none; }
.wp-theme-generatepress .main-navigation .main-nav ul li a { padding-left: 13px; padding-right: 13px; }
.wp-theme-generatepress .main-navigation .main-nav ul li.menu-item-has-children > a { padding-right: 0; }
.wp-theme-generatepress .main-navigation .main-nav ul li a { padding-left: 9px; padding-right: 9px; letter-spacing: .03em; font-size: 12.5px; }
.wp-theme-generatepress .site-logo img { max-width: 190px; height: auto; }
/* Tabellen in Beiträgen mobil seitlich scrollbar */
@media (max-width: 767px) { .entry-content table, .page-content table { display: block; max-width: 100%; overflow-x: auto; } }
/* Archivtitel steht im Banner */
.wp-theme-generatepress.blog .page-header, .wp-theme-generatepress.archive .page-header { display: none; }
/* Blaue Abschnitte: Text immer weiß (theme-unabhängig) */
html body :is(.di-section--blue, .di-cta) :is(h1, h2, h3, h4, p, li) { color: #fff !important; }
html body :is(.di-section--blue, .di-cta) a:not(.button):not(.di-btn) { color: #fff !important; text-decoration: underline !important; }
/* Button-Varianten des alten Themes unabhängig nachbilden */
html body :is(a.button, .button).white:not(.outline) { background-color: #fff !important; border: 2px solid #fff !important; color: var(--dib) !important; }
html body :is(a.button, .button).white:not(.outline):hover { background-color: var(--di-blue-soft, #e8f2fd) !important; }
html body :is(a.button, .button).white.outline { background-color: transparent !important; border: 2px solid #fff !important; color: #fff !important; }
html body :is(a.button, .button).white.outline:hover { background-color: rgba(255,255,255,.12) !important; }
html body :is(a.button, .button).outline:not(.white) { background-color: transparent !important; border: 2px solid var(--dib) !important; color: var(--dib) !important; }
/* Ablauf als nummerierte Liste (eine Spalte) */
.di-steps.di-steps--list { grid-template-columns: 1fr !important; gap: 12px; margin: 16px 0 20px; }
.di-steps--list li { background: #fff; }
/* Bild ohne Beschnitt (z. B. Ersatzteil) */
.di-media--contain { background: #fff; display: flex; align-items: center; justify-content: center; padding: 20px; }
.di-media--contain img { max-height: 420px; width: auto; max-width: 100%; object-fit: contain; }
/* FAQ als aufklappbare Fragen */
.di-faq { display: grid; gap: 12px; max-width: 900px; }
.di-faq details { background: #fff; border: 1px solid var(--dibr); border-radius: var(--dir); padding: 0 20px; }
.di-faq summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 650; color: var(--dih); position: relative; }
.di-faq summary::-webkit-details-marker { display: none; }
.di-faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--dib); }
.di-faq details[open] summary::after { content: "\2013"; }
.di-faq details p { margin: 0 0 16px; }
.di-section--soft .di-faq details { box-shadow: var(--dish); }
/* Herstellerlogos in Farbe */
.di-logos--color img { filter: none; opacity: 1; }
@media (min-width: 700px) { .di-logos--color { grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 0 auto; } }
/* Schnellkontakt als Zweierreihe */
.di-quick--row { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
@media (max-width: 600px) { .di-quick--row { grid-template-columns: 1fr; } }
/* Kleines Bild (z. B. Siegel) */
.di-media--small img { max-height: 220px; }
/* Lesespalte für lange Fachtexte */
.di-narrow-left { max-width: 860px; }
.di-highlight h3 { margin-top: 0; }
.di-highlight ul, .di-tcard ul { margin-bottom: 12px; }
.di-highlight p, .di-tcard p { font-size: 16px; }
/* WordPress setzt einzelne Links in <p>: Link-Absatz trotzdem unten bündig */
:is(.di-tcard, .di-mcard-body) > p:has(> a.di-more:only-child) { margin-top: auto; margin-bottom: 0; padding-top: 8px; }

/* =====================================================================
 * Einheitliches Erscheinungsbild (02.12.2026)
 * Eine Kartenart, ein Radius, ein Schatten, eine Button-Familie,
 * regelmäßiger Hintergrundwechsel, dunkleres Grün für besseren Kontrast.
 * ===================================================================== */
:root {
  --di-green: #5c940d;
  --di-green-dark: #4a7a09;
  --dig: #5c940d;
  --di-radius-lg: 10px;
  --dir: 10px;
  --di-card-shadow: 0 1px 3px rgba(16, 32, 56, .06), 0 8px 24px rgba(16, 32, 56, .06);
  --dish: var(--di-card-shadow);
}

/* Grün überall gleich (Anruf-Buttons, Hero-Titel, Mobilleiste) */
html body .di-hero-title { background: var(--di-green); }
.di-mobilebar .di-mb-call { background: var(--di-green) !important; }
.di-quick a.di-quick-call .di-ico { background: var(--di-green); }

/* Hintergründe: Abschnitte wechseln regelmäßig weiß / hellblau */
.di-page > section.di-section:nth-of-type(odd) { background: #fff; }
.di-page > section.di-section:nth-of-type(even) { background: var(--dis); }
.di-page > section.di-section.di-section--tight { padding-top: clamp(44px, 6vw, 80px); }

/* Eine Kartenart */
.di-page :is(.di-card, .di-tcard, .di-mcard, .di-person, .di-case, .di-formbox, .di-trust, .di-facts > div, .di-steps li, .di-addr > div, .di-quick a, .di-faq details, .di-logos > div) {
  background: #fff !important;
  border: 1px solid var(--dibr) !important;
  border-radius: 10px !important;
  box-shadow: var(--di-card-shadow) !important;
}
.di-page .di-cols:is([style*="--di-n:3"], [style*="--di-n:4"]) > div:not(:has(> .di-tcard)) { border: 1px solid var(--dibr) !important; border-top-width: 1px !important; box-shadow: var(--di-card-shadow); }
.di-page :is(.di-card, .di-tcard) { padding: 24px; }
/* Hinweis-Kasten behält seinen blauen Rand links */
.di-page .di-highlight { background: #fff; border: 1px solid var(--dibr); border-left: 4px solid var(--dib); border-radius: 10px; box-shadow: var(--di-card-shadow); }
/* Kennzahlen */
.di-page .di-facts > div { padding: 22px 24px; }
.di-page .di-facts strong { color: var(--dib); }
.di-page .di-facts span { color: var(--dim); }
/* Ablaufschritte */
.di-page .di-steps li { padding: 20px 20px 20px 70px; }
/* Ersatzteile-Streifen */
.di-page .di-trust { padding: 22px 28px; }
/* Kartentitel einheitlich */
html body .di-page :is(.di-card, .di-tcard, .di-mcard, .di-case, .di-person) :is(h3, h4, h5),
html body .di-page .di-cols:is([style*="--di-n:3"], [style*="--di-n:4"]) > div > :is(h3, h4, h5) { font-size: 19px !important; font-weight: 650 !important; line-height: 1.3; margin: 0 0 10px; color: var(--dih); }
.di-page .di-card .di-icon { color: var(--dib); }

/* Abschnittsüberschriften linksbündig (mittig nur über Logo-Reihen) */
.di-page .di-section-head--center:not(:has(+ .di-logos)) { text-align: left; margin-left: 0; }
.di-page .di-section-head { margin-bottom: 32px; }
.di-page .di-section-head p, .di-page .lead { font-size: 17.6px; line-height: 1.6; color: var(--dim); }

/* Bilder: Radius 10 px, kein Schatten; Produktbilder im weißen Kasten */
.di-page .di-media { border-radius: 10px; box-shadow: none !important; }
.di-page .di-media img { border-radius: 10px; }
.di-page .di-media--contain { border: 1px solid var(--dibr); background: #fff; }
.di-page .di-media--contain img { border-radius: 0; }
.di-page .di-img img, .di-page .di-figure { border-radius: 10px; box-shadow: none !important; }

/* Buttons: alte Theme-Buttons exakt wie die neuen */
html body .di-page :is(a.button, .button) { border-width: 2px !important; border-style: solid !important; min-height: 46px; }
html body .di-page :is(a.button, .button).small { min-height: 46px; padding: 12px 26px !important; font-size: 15px !important; }
.di-btn--outline-white { background: transparent !important; border-color: #fff !important; color: #fff !important; }
.di-btn--outline-white:hover { background: rgba(255, 255, 255, .12) !important; }

/* Abschluss-Band */
.di-band { box-shadow: none; }
.di-band .di-eyebrow { color: #fff !important; opacity: .85; }
.di-band .di-band-note { margin-top: 14px; font-size: 15px; opacity: .9; }
.di-band .di-band-note a { color: #fff !important; text-decoration: underline; }
.di-band .di-btns { align-self: center; }

/* Rechtstexte: angenehme Lesebreite */
:is(.page-id-9, .page-id-11, .page-id-13, .page-id-36907) .di-wrap { max-width: 900px; }
.di-band li { color: #fff !important; }
.di-band ol, .di-band ul { margin: 10px 0 0; padding-left: 22px; }
.di-band p + p { margin-top: 10px; }
.di-band .di-btns { min-width: 260px; }
.di-band .di-btns .di-btn { width: 100%; }
@media (max-width: 800px) { .di-band .di-btns { min-width: 0; } .di-band .di-btns .di-btn { width: auto; } }
.di-badge { display: block; max-width: 160px; height: auto; margin-top: 24px; }
