/* Fahrschule Delil — brand overrides */
:root {
  --delil-yellow: #FEED01;
  --primary-color: #FEED01;
  --delil-black: #0a0a0a;
}

/* Kill leftover template orange */
.sub-title-text {
  color: var(--delil-black) !important;
}
img[src*="Process-Count-Number"],
.process-count-icon,
img[src*="Plan-List-Icon"],
img[src*="Post-Arrow"],
img.plan-list-icon {
  filter: none !important;
}

/* Regeln-Liste: gelbes Doppel-Chevron */
img.plan-list-icon[src*="icon-chevron-yellow"],
.plan-list-icon {
  filter: none !important;
  width: 1.35rem !important;
  height: auto !important;
  object-fit: contain;
}
img.download-icon[src*="icon-download-yellow"],
.download-icon {
  filter: none !important;
  width: 1.75rem !important;
  height: auto !important;
  object-fit: contain;
}

/* Sidebar Info-Icons (gelb) */
.course-information-list .information-icon,
img.information-icon[src*="info-icons"] {
  filter: none !important;
  width: 1.65rem !important;
  height: 1.65rem !important;
  object-fit: contain;
}

/* Kontakt / Footer: gelbe Icons */
img.contact-icon,
img.footer-contact-icon,
img[src*="info-icons/06_anmeldung-telefon"],
img[src*="info-icons/05_preis-mail"],
img[src*="info-icons/07_standort-pin"] {
  filter: none !important;
  object-fit: contain;
}
img.contact-icon {
  width: 1.75rem !important;
  height: 1.75rem !important;
}
img.footer-contact-icon {
  width: 1.25rem !important;
  height: 1.25rem !important;
}

/* Footer Newsletter: gelbes Mail-Icon */
.footer-mail-icon-wrap .footer-mail-icon,
img.footer-mail-icon {
  filter: none !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  object-fit: contain;
}

/* Beratung-Button: Telefon-Icon */
.primary-button.course-single .delil-beratung-icon,
img.delil-beratung-icon {
  width: 1.35rem !important;
  height: 1.35rem !important;
  object-fit: contain;
  margin-left: 0.35rem;
}

.about-summery-list-icon {
  width: 18px !important;
  height: auto !important;
  object-fit: contain;
  flex: none;
}

.main-logo-wrap {
  max-width: 120px !important;
}

.main-logo {
  max-width: 120px !important;
  width: 120px !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 0 !important;
}

.footer-logo-wrap {
  max-width: 160px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.footer-logo {
  max-width: 160px !important;
  width: 160px !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.footer .single-footer-social-link {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  width: auto !important;
  height: auto !important;
  padding: 0.15rem;
  font-size: 1.35rem;
}
.footer .single-footer-social-link:hover {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--delil-yellow, #feed01) !important;
}

img[src*="logo-navbar"] {
  background: transparent;
}

img[src*="logo-schwarz"],
img[src*="logo-weiss"] {
  background: transparent !important;
}

/* Preloader */
.preloader-wrapper {
  display: flex !important;
  background-color: #0a0a0a !important;
  opacity: 1;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  visibility: visible;
}
.preloader-wrapper.is-done {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.preloader-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-logo {
  width: 300px !important;
  height: auto !important;
  max-width: 78vw;
  object-fit: contain;
  border-radius: 0;
  animation: delil-pulse 1.15s ease-in-out infinite;
}
@keyframes delil-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.9; }
}

/* Hide legacy builder badge */
.d-site-badge, .w-webflow-badge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Hide unused cart UI */
.nav-cart-flex-wrap,
.w-commerce-commercecartwrapper {
  display: none !important;
}

/* Content helpers */
.section-details a { color: inherit; text-decoration: underline; }

/* --------------------------------------------------
   Brand contrast: orange script + white-on-yellow → black
   (keep white text on dark sections for readability)
   -------------------------------------------------- */

/* Orange script labels ("Leistungen", etc.) → black */
.sub-title-text {
  color: var(--delil-black) !important;
}

/* Dark section „Unsere Führerscheinklassen“: label weiß */
.section.driving-course .sub-title-text,
.section.driving-course .sub-title-text.white {
  color: #fff !important;
}

/* Dark section Testimonials: label weiß */
.section.testimonial .sub-title-text,
.section.testimonial .sub-title-text.white {
  color: #fff !important;
}

/* Klassen-/Seminar-Detail: Kurs-Layout ohne Verkauf */
.course-single-right-bar.delil-no-commerce .course-price {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem) !important;
  line-height: 1.2 !important;
}
.course-single-right-bar.delil-no-commerce .course-expert-img {
  width: 56px !important;
  height: 56px !important;
  object-fit: contain !important;
  border-radius: 50%;
  background: #fff;
}

/* Yellow primary buttons: white label/arrow → black (default state) */
.primary-button:not(.white) {
  color: var(--delil-black) !important;
}
.primary-button:not(.white) .button-flex-wrap,
.primary-button:not(.white) .button-flex-wrap div {
  color: var(--delil-black) !important;
}
.primary-button:not(.white) img,
.primary-button:not(.white) .btn-arrow,
.primary-button:not(.white) .btn-arrow.white {
  filter: brightness(0) !important;
}
/* Primary hover fill is black → switch label/arrow back to white */
.primary-button:not(.white):hover,
.primary-button:not(.white):hover .button-flex-wrap,
.primary-button:not(.white):hover .button-flex-wrap div {
  color: #fff !important;
}
.primary-button:not(.white):hover img,
.primary-button:not(.white):hover .btn-arrow,
.primary-button:not(.white):hover .btn-arrow.white {
  filter: none !important;
}

/* Yellow services panel (home): white list/text/icons → black */
.services-v1-wrapper .service-v1-name,
.services-v1-wrapper .section-title,
.services-v1-wrapper .section-details,
.services-v1-wrapper .service-v1-content-wrap {
  color: var(--delil-black) !important;
}
.services-v1-wrapper .service-v1-wrap {
  border-bottom-color: rgba(10, 10, 10, 0.35) !important;
}
.services-v1-wrapper .service-v1-btn {
  border-color: var(--delil-black) !important;
  color: var(--delil-black) !important;
}
.services-v1-wrapper .service-v1-btn-arrow,
.services-v1-wrapper .service-v1-icon:not(.delil-klasse-icon) {
  filter: brightness(0) !important;
}

/* "Mehr Leistungen" outline: black by default; hover = black fill + white text */
.services-v1-wrapper .secondary-button.white {
  border-color: var(--delil-black) !important;
  color: var(--delil-black) !important;
}
.services-v1-wrapper .secondary-button.white .button-flex-wrap,
.services-v1-wrapper .secondary-button.white .button-flex-wrap div {
  color: var(--delil-black) !important;
}
.services-v1-wrapper .secondary-button.white img,
.services-v1-wrapper .secondary-button.white .btn-arrow-no {
  filter: brightness(0) !important;
}
.services-v1-wrapper .secondary-button.white:hover,
.services-v1-wrapper .secondary-button.white:hover .button-flex-wrap,
.services-v1-wrapper .secondary-button.white:hover .button-flex-wrap div {
  color: #fff !important;
}
.services-v1-wrapper .secondary-button.white:hover img,
.services-v1-wrapper .secondary-button.white:hover .btn-arrow-no {
  filter: none !important;
}
.services-v1-wrapper .service-v1-btn:hover {
  background-color: var(--delil-black) !important;
}
.services-v1-wrapper .service-v1-btn:hover .service-v1-btn-arrow {
  filter: none !important;
}

/* Yellow list: icon only on hover (desktop); arrow always visible */
.services-v1-wrapper,
.service-v1-content-wrap {
  opacity: 1 !important;
}
.services-v1-wrapper .service-v1-btn {
  opacity: 1 !important;
  transform: none !important;
  transition: background-color 0.3s ease, border-color 0.3s ease !important;
}
/* Keep Delil class icons (yellow + black detail) — no brightness(0) */
.services-v1-wrapper .service-v1-icon.delil-klasse-icon {
  filter: none !important;
}
@media (min-width: 768px) {
  .services-v1-wrapper .service-v1-icon {
    opacity: 0 !important;
    transform: translate3d(12px, 0, 0) scale(0.88) !important;
    transform-origin: center right;
    transition:
      opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: opacity, transform;
    pointer-events: none;
  }
  .services-v1-wrapper .service-v1-wrap:hover .service-v1-icon,
  .services-v1-wrapper .service-v1-wrap:focus-visible .service-v1-icon {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
  }
  /* Slightly delay fade-out so exit feels as soft as enter */
  .services-v1-wrapper .service-v1-wrap:not(:hover) .service-v1-icon {
    transition:
      opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
}
@media (max-width: 767px) {
  .services-v1-wrapper .service-v1-icon {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mobile: icons above titles, kill empty ghost space under each row */
@media (max-width: 767px) {
  .section.services-v1 .service-flex-wrap {
    grid-row-gap: 0.75rem !important;
  }

  .section.services-v1 .service-v1-content-wrap {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    text-align: center;
  }

  .section.services-v1 .section-title.service-v1 {
    margin-bottom: 0.35rem !important;
  }

  .section.services-v1 .section-details.service-v1 {
    margin-bottom: 0 !important;
    max-width: none !important;
  }

  .services-v1-wrapper {
    padding: 0.75rem 1rem 1.25rem !important;
  }

  .services-v1-wrapper .single-service-v1-wrap {
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
  }

  .services-v1-wrapper .service-v1-flex-wrap {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    grid-column-gap: 0 !important;
    grid-row-gap: 0.4rem !important;
  }

  /* Icon über dem Titel */
  .services-v1-wrapper .service-v1-right-flex {
    order: -1;
    grid-column-gap: 0 !important;
    justify-content: center;
  }

  .services-v1-wrapper .service-v1-icon {
    display: block !important;
    height: 2.25rem !important;
    width: auto !important;
    margin: 0 auto;
  }

  .services-v1-wrapper .service-v1-icon.delil-klasse-icon {
    height: 3.75rem !important;
    max-width: 4.5rem;
  }

  /* Ghost-Pfeil-Buttons aus dem Flow (verursachen Leerraum) */
  .services-v1-wrapper .service-v1-btn {
    display: none !important;
  }

  .services-v1-wrapper .service-v1-name {
    text-align: center;
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }
}

/* CTA yellow panel: black headline + outline button (not white on yellow) */
.section.cta .section-title.white.cta,
.section.cta .cta-content-wrapper .section-title {
  color: var(--delil-black) !important;
}
.section.cta .cta-img-wrap {
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.section.cta .cta-img {
  width: 88% !important;
  max-width: 28rem;
  height: auto !important;
  object-fit: contain !important;
  object-position: center;
}
.section.cta .secondary-button.white,
.section.cta .secondary-button.white .button-flex-wrap,
.section.cta .secondary-button.white .button-flex-wrap div {
  color: var(--delil-black) !important;
  border-color: var(--delil-black) !important;
}
.section.cta .secondary-button.white img,
.section.cta .secondary-button.white .btn-arrow,
.section.cta .secondary-button.white .btn-arrow-no {
  filter: brightness(0) !important;
}
.section.cta .secondary-button.white:hover,
.section.cta .secondary-button.white:hover .button-flex-wrap,
.section.cta .secondary-button.white:hover .button-flex-wrap div {
  color: #fff !important;
}
.section.cta .secondary-button.white:hover img,
.section.cta .secondary-button.white:hover .btn-arrow,
.section.cta .secondary-button.white:hover .btn-arrow-no {
  filter: brightness(0) invert(1) !important;
}

/* Other yellow surfaces that used white type */
.section.cta .primary-button:not(.white),
.footer-form-button {
  color: var(--delil-black) !important;
}
.section.cta .primary-button:not(.white):hover,
.section.cta .primary-button:not(.white):hover .button-flex-wrap,
.section.cta .primary-button:not(.white):hover .button-flex-wrap div {
  color: #fff !important;
}
.section.cta .primary-button:not(.white):hover img {
  filter: none !important;
}
.footer-form-button {
  background-color: var(--delil-yellow) !important;
  border-color: var(--delil-black) !important;
}

/* Post / read-more style buttons on light bg */
.post-button,
.post-button .button-flex-wrap,
.post-button .button-flex-wrap div {
  color: var(--delil-black) !important;
}

/* Blog card hover (dark image): „Weiterlesen“ weiß */
.section.blog-post-v1 .single-blog-v1-wrap:hover .post-button,
.section.blog-post-v1 .single-blog-v1-wrap:hover .post-button .button-flex-wrap,
.section.blog-post-v1 .single-blog-v1-wrap:hover .post-button .button-flex-wrap div,
.section.blog-post-v1 .post-button:hover,
.section.blog-post-v1 .post-button:hover .button-flex-wrap,
.section.blog-post-v1 .post-button:hover .button-flex-wrap div {
  color: #fff !important;
}

/* Nav "Beratung" on dark heroes: black arrow SVG → white */
.navbar .secondary-button.white .btn-arrow,
.navbar .secondary-button.white img.btn-arrow,
.navbar .secondary-button.white .btn-arrow-no {
  filter: brightness(0) invert(1) !important;
}

/* Nav Beratung hover: text + icon black (keep IX hover-bg animation intact) */
.navbar .secondary-button:hover,
.navbar .secondary-button:hover .button-flex-wrap,
.navbar .secondary-button:hover .button-flex-wrap div,
.navbar .secondary-button.white:hover,
.navbar .secondary-button.white:hover .button-flex-wrap,
.navbar .secondary-button.white:hover .button-flex-wrap div {
  color: var(--delil-black) !important;
}
.navbar .secondary-button:hover .btn-arrow,
.navbar .secondary-button:hover img.btn-arrow,
.navbar .secondary-button:hover .btn-arrow-no,
.navbar .secondary-button.white:hover .btn-arrow,
.navbar .secondary-button.white:hover img.btn-arrow,
.navbar .secondary-button.white:hover .btn-arrow-no,
.navbar .secondary-button.white:hover img {
  filter: brightness(0) !important; /* black arrow */
}

/* Kontakt: 4 Standorte */
.contact-office-grid-wrap {
  grid-template-columns: 1fr 1fr !important;
}
@media screen and (max-width: 767px) {
  .contact-office-grid-wrap {
    grid-template-columns: 1fr !important;
  }
}
.delil-office-placeholder,
.delil-photo-placeholder {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 11rem;
  background: #111 !important;
  background-color: #111 !important;
  opacity: 1 !important;
  color: var(--delil-yellow, #feed01);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-align: center;
  object-fit: cover;
  overflow: hidden;
  box-sizing: border-box;
}
.delil-office-placeholder span,
.delil-photo-placeholder span {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(254, 237, 1, 0.35);
  border-radius: 999px;
  background: transparent;
  max-width: 90%;
  line-height: 1.35;
}

/* Home: Video-Thumbnail Placeholder */
.driving-process-img-wrap {
  width: 100%;
}
.driving-process-img.delil-video-placeholder {
  width: 100% !important;
  max-width: 944px !important;
  min-height: 28rem !important;
  height: auto !important;
  aspect-ratio: 944 / 620 !important;
  background: #111 !important;
}
.driving-process-img-wrap .play-btn-wrap.delil-video-soon {
  display: none !important;
}
@media screen and (max-width: 991px) {
  .driving-process-img.delil-video-placeholder {
    min-height: 18rem !important;
  }
}
@media screen and (max-width: 767px) {
  .driving-process-img.delil-video-placeholder {
    min-height: 14rem !important;
  }
}

/* Über uns About-Grid — Originalproportionen (520×700 / 775×340) */
.about-us-img-grid-wrap .about-us-img.delil-photo-placeholder {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 520 / 700 !important;
}
.about-us-img-wrap._2 .about-us-img.delil-photo-placeholder {
  aspect-ratio: 775 / 340 !important;
  flex: 1 1 auto;
  min-height: 0 !important;
}

/* Über uns Mission — feste Pixel wie Originalfotos, nicht volle Breite */
.mission-vision-img-wrap {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 470px !important;
  align-self: center;
}
.mission-vision-img.delil-photo-placeholder {
  display: block !important;
  width: 470px !important;
  max-width: 100% !important;
  height: 660px !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  border: 2px solid var(--delil-yellow, #feed01);
}
.mission-vision-small-img.delil-photo-placeholder {
  width: 260px !important;
  max-width: 260px !important;
  height: 296px !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  border: 2px solid var(--delil-yellow, #feed01);
}
@media screen and (max-width: 991px) {
  .mission-vision-img-wrap {
    max-width: 100% !important;
  }
  .mission-vision-img.delil-photo-placeholder {
    width: 100% !important;
    max-width: 320px !important;
    height: 450px !important;
    margin: 0 auto;
  }
  .mission-vision-small-img.delil-photo-placeholder {
    width: 180px !important;
    max-width: 35% !important;
    height: 205px !important;
  }
}
@media screen and (max-width: 767px) {
  .about-us-img-grid-wrap .about-us-img.delil-photo-placeholder {
    aspect-ratio: 4 / 3 !important;
    max-height: 280px;
  }
  .about-us-img-wrap._2 .about-us-img.delil-photo-placeholder {
    aspect-ratio: 16 / 9 !important;
    max-height: 200px;
  }
  .mission-vision-img.delil-photo-placeholder {
    max-width: 100% !important;
    height: 380px !important;
  }
  .mission-vision-small-img.delil-photo-placeholder {
    width: 45% !important;
    max-width: 45% !important;
    height: 200px !important;
  }
}
/* Home: Kurs-Slider — feste Größe wie Originalbild (235×290) */
.drive-course-img.delil-photo-placeholder,
a.drive-course-img-wrap .delil-photo-placeholder.drive-course-img {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 235px !important;
  max-width: 235px !important;
  min-width: 235px !important;
  height: 290px !important;
  min-height: 290px !important;
  aspect-ratio: auto !important;
  flex: none !important;
  opacity: 1 !important;
  background: #111 !important;
  background-color: #111 !important;
  border-radius: 0;
}
.section.driving-course .drive-course-img-wrap {
  flex: none !important;
  display: block !important;
  line-height: 0;
}
.section.driving-course .drive-course-content-wrap {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 4rem;
}
.section.driving-course .drive-course-title {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.section.driving-course .drive-course-btn {
  width: 55px !important;
  height: 55px !important;
  overflow: hidden;
  z-index: 2;
}
.section.driving-course .drive-course-btn-arrow {
  width: 18px;
  height: auto;
  display: block;
}
.section.driving-course .drive-course-mask {
  max-width: 100% !important;
  overflow: hidden !important;
}
@media screen and (max-width: 767px) {
  .drive-course-img.delil-photo-placeholder,
  a.drive-course-img-wrap .delil-photo-placeholder.drive-course-img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 220px !important;
    min-height: 220px !important;
  }
  .section.driving-course .drive-course-content-wrap {
    padding-right: 0;
  }
}

/* Home: Banner-Slider — gleiche Fläche wie die großen Fotos */
.banner-slide-img-wrap {
  display: block;
  width: 100%;
}
.banner-slide-img.delil-banner-placeholder,
.delil-banner-placeholder {
  width: 100% !important;
  max-width: 1180px !important;
  height: 488px !important;
  min-height: 488px !important;
  aspect-ratio: auto !important;
  opacity: 1 !important;
  background: #111 !important;
  background-color: #111 !important;
  border-radius: 0;
}
.delil-banner-placeholder span {
  max-width: 18rem;
  line-height: 1.35;
  text-align: center;
}

/* Detailseiten: inneres Stockfoto → Placeholder */
.course-inner-img.delil-course-inner-placeholder,
div.course-inner-img.delil-photo-placeholder {
  width: 100% !important;
  max-width: 50% !important;
  min-height: 16rem !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  background: #111 !important;
  opacity: 1 !important;
  flex: none;
}
@media screen and (max-width: 991px) {
  .course-inner-img.delil-course-inner-placeholder,
  div.course-inner-img.delil-photo-placeholder {
    max-width: 100% !important;
  }
}
@media screen and (max-width: 767px) {
  .course-inner-img.delil-course-inner-placeholder,
  div.course-inner-img.delil-photo-placeholder {
    min-height: 12rem !important;
  }
}
@media screen and (max-width: 991px) {
  .banner-slide-img.delil-banner-placeholder,
  .delil-banner-placeholder {
    height: 360px !important;
    min-height: 360px !important;
  }
}
@media screen and (max-width: 767px) {
  .banner-slide-img.delil-banner-placeholder,
  .delil-banner-placeholder {
    height: 240px !important;
    min-height: 240px !important;
  }
}
.office-info-list-text a {
  color: inherit;
  text-decoration: none;
}
.office-info-list-text a:hover {
  text-decoration: underline;
}

/*
  About layout — flush stack, no white gap, no overlap.
*/
.section.about-us .about-grid-wrap {
  align-items: start;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.section.about-us .about-img {
  display: block;
  max-width: 598px;
  margin-bottom: 0 !important;
}
.section.about-us .about-grid-left-wrap,
.section.about-us .about-grid-right-wrap,
.section.about-us .about-title-wrap {
  position: relative;
  z-index: auto;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.section.about-us .about-grid-left-wrap ._2-buttons-wrapper {
  margin-bottom: 0 !important;
}

.about-content-details-wrap.v1 {
  margin-top: 0 !important;
  grid-column-gap: 0 !important;
  column-gap: 0 !important;
  z-index: 1;
  position: relative;
  overflow: hidden;
  border: none !important;
}
.about-content-details-wrap.v1 .about-img-wrap {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  padding: 1.25rem !important;
  align-items: center;
  justify-content: center;
  background-color: transparent !important;
  background: transparent !important;
}
.about-content-details-wrap.v1 .about-staring {
  max-width: min(100%, 34rem) !important;
  width: 100%;
  height: auto !important;
  object-fit: contain;
  display: block;
  background: transparent !important;
}
/* Remove decorative corner shape (white/gap artifact next to stats) */
.about-staring-shape {
  display: none !important;
}

/* Space between steering-wheel box and dark stats text */
.about-content-details-wrap.v1 .about-summery-content-wrap {
  padding-left: 48px !important;
  padding-right: 24px !important;
}
@media screen and (max-width: 991px) {
  .about-content-details-wrap.v1 .about-summery-content-wrap {
    padding-left: 28px !important;
  }
}

/* About stats: static Delil numbers (no template counter) */
.feature-overview-counter-wrap.delil-stat {
  display: flex !important;
  align-items: center;
  height: auto !important;
  overflow: visible !important;
}
.feature-overview-counter-wrap.delil-stat .about-summary-number {
  transform: none !important;
  position: static !important;
}

/* === Delil hero banner: wordmark dominant, text closer left === */
.banner-section .banner-content-flex-wrap {
  justify-content: flex-start;
  align-items: center;
  gap: 1.25rem 1.5rem;
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.25rem;
}

.banner-section .banner-flex-left-wrap {
  flex: 1 1 62%;
  max-width: min(68%, 54rem);
  min-width: 0;
}

.banner-section .banner-flex-right-wrap {
  flex: 1 1 18rem;
  max-width: 22rem;
  margin-left: 0;
  margin-right: auto;
}

.banner-section .banner-details {
  max-width: 22rem;
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--delil-black);
}

/* Hero wordmark sits on the light banner area → black text (white was invisible) */
.banner-section .sub-title-text {
  color: var(--delil-black) !important;
}
.banner-section .banner-title.delil-wordmark,
.banner-section .delil-wm-vom,
.banner-section .delil-wm-zum,
.banner-section .delil-wm-reveal {
  color: var(--delil-black) !important;
}

/* === Delil hero wordmark — 2x2 grid ===
      VOM | BRUSH LAPPEN
      ZUM | CLEAN LAPPEN
          | ───────────
*/
.banner-title.delil-wordmark {
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  color: var(--delil-black) !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.delil-wm {
  display: grid !important;
  grid-template-columns: max-content max-content;
  grid-template-areas:
    "vom brush"
    "zum clean";
  column-gap: 1.15rem;
  row-gap: 0.4rem;
  align-items: center;
  width: max-content;
  max-width: 100%;
}

/* linke Spalte */
.delil-wm-vom {
  grid-area: vom;
}

.delil-wm-zum {
  grid-area: zum;
}

.delil-wm-vom,
.delil-wm-zum {
  display: block !important;
  font-family: "Inter Tight", "Arial Narrow", system-ui, sans-serif !important;
  font-size: clamp(2.6rem, 5vw, 4.1rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em;
  line-height: 0.9 !important;
  text-transform: uppercase;
  color: var(--delil-black) !important;
  white-space: nowrap;
  margin: 0 !important;
  padding: 0 !important;
  justify-self: end;
  text-align: right;
}

/* obere rechte Spalte */
.delil-wm-brush {
  grid-area: brush;
  width: auto;
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-self: start;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
}

/* Brush skaliert mit der großen Wortmarke */
.delil-wm-brush-img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-height: clamp(4.6rem, 11vw, 7.6rem) !important;
  max-width: min(100%, 38rem) !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
  object-position: left center;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* untere rechte Spalte bestimmt die Breite */
.delil-wm-clean {
  grid-area: clean;
  position: relative;
  display: block !important;
  width: max-content;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0.9;
}

.delil-wm-reveal {
  display: block !important;
  font-family: "Inter Tight", "Arial Narrow", system-ui, sans-serif !important;
  font-size: clamp(4.4rem, 9.2vw, 7.25rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.05em;
  line-height: 0.85 !important;
  text-transform: uppercase;
  color: var(--delil-black) !important;
  white-space: nowrap;
  margin: 0 !important;
  padding: 0 !important;
}

.delil-wm-stroke {
  display: block !important;
  width: 72%;
  max-width: 28rem;
  height: 0.34rem;
  margin-top: 0.28rem;
  border-radius: 999px 40% 70% 999px;
  background: var(--delil-yellow);
  transform: rotate(-1.4deg) skewX(-8deg);
  transform-origin: left center;
}

@media (max-width: 991px) {
  .banner-section .banner-flex-left-wrap { max-width: 100%; }
  .banner-section .banner-flex-right-wrap { flex-basis: auto; max-width: 28rem; }
  .banner-section .banner-details { max-width: none; }
}

@media (max-width: 767px) {
  .delil-wm {
    width: 100%;
    max-width: 100%;
    column-gap: 0.75rem;
    row-gap: 0.3rem;
    grid-template-columns: max-content minmax(0, 1fr);
  }
  .delil-wm-vom,
  .delil-wm-zum {
    font-size: clamp(1.7rem, 7vw, 2.35rem) !important;
  }
  .delil-wm-reveal {
    font-size: clamp(2.9rem, 13vw, 4rem) !important;
  }
  .delil-wm-brush-img {
    max-height: clamp(3.4rem, 15vw, 5rem) !important;
    max-width: min(100%, 24rem) !important;
  }
  .delil-wm-clean {
    width: 100%;
  }
  .delil-wm-stroke {
    width: 70%;
    height: 0.24rem;
  }
}

/* Home: Führerscheinklassen — Tabs + Grid (alle sichtbar) */
.section.driving-course.delil-klassen {
  overflow: visible;
}
.section.driving-course .course-price-wrap { display: none !important; }

.delil-klassen-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.75rem;
}
.delil-klassen-tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.delil-klassen-tab:hover {
  border-color: rgba(255, 255, 255, 0.55);
}
.delil-klassen-tab.is-active {
  background: var(--delil-yellow);
  border-color: var(--delil-yellow);
  color: var(--delil-black);
}
.delil-klassen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.delil-klassen-card {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
  padding: 1.1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none;
  border-radius: 0;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.delil-klassen-card:hover {
  border-color: var(--delil-yellow);
  background: rgba(254, 237, 1, 0.06);
}
.delil-klassen-card.is-hidden,
.delil-klassen-card[hidden] {
  display: none !important;
}
.delil-klassen-card-icon {
  width: 4.25rem;
  height: 4.25rem;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: none;
}
.delil-klassen-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.delil-klassen-card-tag {
  display: inline-block;
  background: var(--delil-yellow);
  color: var(--delil-black);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.45rem;
  margin-bottom: 0.45rem;
}
.delil-klassen-card-title {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
}
.delil-klassen-card-text {
  margin: 0 0 0.7rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.4;
}
.delil-klassen-card-link {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}
.delil-klassen-card:hover .delil-klassen-card-link {
  color: var(--delil-yellow);
}
.delil-klassen-more {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}
.delil-klassen-more.is-hidden,
.delil-klassen-more[hidden] {
  display: none !important;
}
.delil-klassen-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.delil-klassen-more-link:hover {
  background: var(--delil-yellow);
  border-color: var(--delil-yellow);
  color: var(--delil-black);
}
@media screen and (max-width: 991px) {
  .delil-klassen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 767px) {
  .delil-klassen-grid {
    grid-template-columns: 1fr;
  }
  .delil-klassen-card {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.8rem;
  }
  .delil-klassen-card-icon {
    width: 3.5rem;
    height: 3.5rem;
  }
}

/* Legacy slider leftovers (falls noch irgendwo) */
.section.driving-course .delil-drive-items {
  display: block !important;
}
.section.driving-course .w-dyn-item {
  width: 100%;
}


/* Delil class icons */
.delil-klasse-icon,
img.service-v1-icon.delil-klasse-icon {
  height: 4.5rem !important;
  width: auto !important;
  max-width: 5.5rem;
  object-fit: contain;
}
/* Default: keep yellow (cards/heroes). */
.delil-klasse-icon {
  filter: none !important;
}
.services-v1-wrapper img.service-v1-icon.delil-klasse-icon {
  filter: none !important;
}
img.service-icon[src*="klasse-icons"],
img.service-icon[src*="seminar-icons"] {
  filter: none !important;
  width: 4.5rem !important;
  height: auto !important;
  max-height: 4.5rem;
  object-fit: contain;
}

/* Leistungen-/Seminar-Karten: Icon statt Foto */
.single-service-wrap.delil-icon-card .service-img-wrap.delil-icon-hero {
  display: flex !important;
  align-items: center;
  justify-content: center;
  /* Schwarz: freigestellte Icons (Gelb + transparente Löcher) brauchen dunklen Grund,
     sonst fehlen Konturen/Details die ursprünglich schwarz waren */
  background: #0a0a0a !important;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.single-service-wrap.delil-icon-card .delil-icon-hero-img,
.single-service-wrap.delil-icon-card img.service-img.delil-icon-hero-img {
  width: 55% !important;
  max-width: 11rem;
  height: auto !important;
  max-height: 11rem;
  object-fit: contain !important;
  filter: none !important;
  position: static !important;
  transform: none !important;
}
.single-service-wrap.delil-icon-card .service-icon {
  display: none !important;
}

.delil-class-icon-sm {
  width: 2.75rem;
  height: auto;
  object-fit: contain;
  margin-left: auto;
}
.delil-class-icon-lg {
  width: 4.5rem;
  height: auto;
  object-fit: contain;
  margin-right: 0.75rem;
}

/* Detail: Klassen-/Seminar-Icon als großes Hero-Bild */
.course-single-img-wrap.delil-detail-icon-hero {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #0a0a0a !important;
  min-height: 18rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.course-single-img-wrap.delil-detail-icon-hero .delil-detail-icon-img,
img.course-single-img.delil-detail-icon-img {
  width: min(72%, 22rem) !important;
  max-width: 22rem;
  height: auto !important;
  max-height: 20rem;
  object-fit: contain !important;
  filter: none !important;
  position: static !important;
  transform: none !important;
}
@media (max-width: 767px) {
  .course-single-img-wrap.delil-detail-icon-hero {
    min-height: 14rem;
    aspect-ratio: 4 / 3;
  }
  .course-single-img-wrap.delil-detail-icon-hero .delil-detail-icon-img,
  img.course-single-img.delil-detail-icon-img {
    width: min(78%, 16rem) !important;
    max-width: 16rem;
    max-height: 14rem;
  }
}
.delil-class-meta {
  align-items: center !important;
  flex-wrap: wrap;
  gap: 0.65rem !important;
}
.delil-class-meta .course-info-text,
.course-details .course-type-wrap .course-info-text,
.section.course-details .course-info-text {
  color: var(--delil-black) !important;
}
.services-v1-wrapper .service-v1-icon.delil-klasse-icon {
  filter: none !important;
}

/* Leistungen filter */
.delil-filter {
  margin: 0 auto 2.25rem;
  max-width: 56rem;
  text-align: center;
}
.delil-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}
.delil-filter-tab {
  appearance: none;
  border: 1.5px solid rgba(10, 10, 10, 0.18);
  background: #fff;
  color: var(--delil-black);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.65rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.delil-filter-tab:hover {
  border-color: var(--delil-black);
  transform: translateY(-1px);
}
.delil-filter-tab.is-active {
  background: var(--delil-yellow);
  border-color: var(--delil-black);
}
.delil-filter-tab-icon {
  width: 1.85rem;
  height: 1.85rem;
  object-fit: contain;
  filter: none !important;
}
.delil-filter-count {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  opacity: 0.7;
}
.delil-filter-item {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.delil-filter-item.is-hidden {
  display: none !important;
}

/* Einheitliche Karten-Rahmen (auch nach Filter, kein Grid-Border-Hack) */
.service-collection-wrap:has(.delil-filter-grid) {
  border: none !important;
}
.service-grid-wrap.delil-filter-grid {
  grid-column-gap: 1rem !important;
  grid-row-gap: 1rem !important;
}
.delil-filter-grid > .delil-filter-item > .single-service-wrap,
.delil-filter-grid .single-service-wrap.delil-icon-card {
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  height: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.delil-filter-grid > .delil-filter-item > .single-service-wrap:hover,
.delil-filter-grid .single-service-wrap.delil-icon-card:hover {
  border-color: var(--delil-black) !important;
}
@media (max-width: 767px) {
  .service-grid-wrap.delil-filter-grid {
    grid-column-gap: 0.75rem !important;
    grid-row-gap: 0.75rem !important;
  }
}
@media (max-width: 767px) {
  .delil-filter-tabs {
    gap: 0.45rem;
  }
  .delil-filter-tab {
    font-size: 0.85rem;
    padding: 0.55rem 0.85rem;
  }
  .delil-filter-tab-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}


/* Mission/Vision Tabs: gelb = schwarzer Text (aktiv + Hover) */
.mission-tab-link.w--current,
.mission-tab-link.w--current div,
.mission-tab-link:hover,
.mission-tab-link:hover div {
  color: var(--delil-black) !important;
}
.mission-tab-link:hover {
  background-color: var(--delil-yellow) !important;
  border-color: var(--delil-yellow) !important;
}
.mission-tab-link:not(.w--current):not(:hover),
.mission-tab-link:not(.w--current):not(:hover) div {
  color: #fff !important;
}

img.office-info-list-icon {
  filter: none !important;
  width: 1.5rem !important;
  height: 1.5rem !important;
  object-fit: contain;
}

/* Navbar: aktiver Link = gelber Unterstrich sichtbar */
.navbar .single-nav-link {
  position: relative;
}
.navbar .nav-link-border {
  opacity: 0;
}
.navbar .nav-link-border-active {
  opacity: 1 !important;
  background-color: var(--delil-yellow) !important;
}
/* Dunkle Seiten: Hamburger weiß */
.navbar-flex.white .hamburger-menu-bar,
.hamburger-menu-bar.top.white,
.hamburger-menu-bar.bottom.white {
  background-color: #fff !important;
}
@media screen and (max-width: 991px) {
  .navbar .menu-button.w--open .hamburger-menu-bar {
    background-color: var(--delil-black) !important;
  }
}
.navbar .delil-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.navbar .delil-nav-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  display: block;
  color: currentColor;
  opacity: 0.95;
}
.navbar .delil-nav-chevron {
  width: 0.85rem;
  height: 0.85rem;
  margin-left: 0.1rem;
  transition: transform 0.25s ease;
  color: currentColor;
}
.navbar .single-nav-link:hover .delil-nav-icon,
.navbar .single-nav-link[aria-current="page"] .delil-nav-icon {
  color: var(--delil-yellow);
  opacity: 1;
}
button.single-nav-link.delil-dd-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  margin: 0;
  padding: 0 12px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: inherit;
  text-transform: none;
  display: inline-block;
  vertical-align: top;
}
.navbar-flex.white button.single-nav-link.delil-dd-toggle,
button.single-nav-link.white.delil-dd-toggle {
  color: #fffffff2;
}
button.single-nav-link.delil-dd-toggle:hover,
.navbar-flex.white button.single-nav-link.delil-dd-toggle:hover,
button.single-nav-link.white.delil-dd-toggle:hover {
  color: var(--delil-yellow, #feed01);
}
button.single-nav-link.delil-dd-toggle .delil-nav-label,
button.single-nav-link.delil-dd-toggle .delil-nav-label span {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}


/* Führerscheinklassen dropdown */
.delil-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.delil-nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 28rem;
  width: max-content;
  max-width: min(36rem, calc(100vw - 2rem));
  max-height: none;
  overflow: visible;
  padding: 0.85rem 0.75rem 0.9rem;
  background: #fff;
  color: var(--delil-black);
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
}
.delil-nav-dropdown.is-open .delil-nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.delil-nav-dropdown.is-open .delil-nav-chevron {
  transform: rotate(180deg);
}
@media screen and (min-width: 992px) {
  .delil-nav-dropdown:hover .delil-nav-dropdown-panel,
  .delil-nav-dropdown:focus-within .delil-nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .delil-nav-dropdown:hover .delil-nav-chevron,
  .delil-nav-dropdown:focus-within .delil-nav-chevron {
    transform: rotate(180deg);
  }
}
.delil-nav-dd-all {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--delil-black);
  text-decoration: none;
  margin-bottom: 0.55rem;
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}
.delil-nav-dd-all:hover {
  background: var(--delil-yellow);
}
.delil-nav-dd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.35rem;
}
.delil-nav-dd-group {
  min-width: 0;
}
.delil-nav-dd-sep {
  display: none;
}
.delil-nav-dd-label {
  padding: 0.15rem 0.55rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}
.delil-nav-dd-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.32rem 0.45rem;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--delil-black);
  text-decoration: none;
}
.delil-nav-dd-icon {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: cover;
  flex: none;
  display: block;
  background: #0a0a0a;
}
.delil-nav-dd-link:hover {
  background: #f4f4f4;
}
.navbar-flex.white .delil-nav-dropdown-panel {
  background: #111;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}
.navbar-flex.white .delil-nav-dd-all,
.navbar-flex.white .delil-nav-dd-link {
  color: #fff;
}
.navbar-flex.white .delil-nav-dd-all {
  background: var(--delil-yellow);
  color: var(--delil-black);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.navbar-flex.white .delil-nav-dd-all:hover {
  background: var(--delil-yellow);
  color: var(--delil-black);
}
.navbar-flex.white .delil-nav-dd-link:hover {
  background: rgba(255, 255, 255, 0.08);
}
.navbar-flex.white .delil-nav-dd-sep {
  background: rgba(255, 255, 255, 0.14);
}
.navbar-flex.white .delil-nav-dd-label {
  color: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 991px) {
  .delil-nav-dropdown {
    display: block;
    width: 100%;
  }
  .delil-nav-dropdown .delil-dd-toggle {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
  }
  .delil-nav-dropdown-panel {
    position: static;
    transform: none !important;
    left: auto;
    min-width: 0;
    width: 100%;
    max-width: none;
    margin-top: 0.65rem;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.06);
    border: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none !important;
  }
  .delil-nav-dd-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
  }
  .delil-nav-dd-all {
    border-bottom-color: rgba(10, 10, 10, 0.12);
  }
  .delil-nav-dropdown.is-open .delil-nav-dropdown-panel {
    display: block !important;
  }
  .navbar-flex.white .delil-nav-dropdown-panel {
    background: rgba(255, 255, 255, 0.12);
  }
  .navbar .navbar-wrapper .delil-nav-dd-all,
  .navbar .navbar-wrapper .delil-nav-dd-link {
    color: var(--delil-black) !important;
  }
  .navbar .navbar-wrapper .delil-nav-dd-label {
    color: rgba(10, 10, 10, 0.55) !important;
  }
  .navbar .navbar-wrapper .delil-nav-dd-sep {
    background: rgba(10, 10, 10, 0.15) !important;
  }
  .navbar .navbar-wrapper .delil-nav-dd-all:hover,
  .navbar .navbar-wrapper .delil-nav-dd-link:hover {
    background: rgba(0, 0, 0, 0.08) !important;
  }
}
@media screen and (max-width: 991px) {
  .navbar .delil-nav-label {
    gap: 0.55rem;
  }
  .navbar .delil-nav-icon {
    width: 1.15rem;
    height: 1.15rem;
  }

  /* Mobile yellow menu: default black, active white */
  .navbar .navbar-wrapper .single-nav-link,
  .navbar .navbar-wrapper .single-nav-link.white,
  .navbar .navbar-wrapper .single-nav-link .delil-nav-label,
  .navbar .navbar-wrapper .single-nav-link .delil-nav-icon,
  .navbar .navbar-wrapper .single-nav-link .delil-nav-chevron {
    color: var(--delil-black) !important;
  }
  .navbar .navbar-wrapper .single-nav-link:hover,
  .navbar .navbar-wrapper .single-nav-link.white:hover,
  .navbar .navbar-wrapper .single-nav-link:hover .delil-nav-icon,
  .navbar .navbar-wrapper .single-nav-link:hover .delil-nav-chevron {
    color: var(--delil-black) !important;
    opacity: 0.75;
  }
  .navbar .navbar-wrapper .single-nav-link[aria-current="page"],
  .navbar .navbar-wrapper .single-nav-link.w--current,
  .navbar .navbar-wrapper .single-nav-link[aria-current="page"] .delil-nav-label,
  .navbar .navbar-wrapper .single-nav-link[aria-current="page"] .delil-nav-icon,
  .navbar .navbar-wrapper .single-nav-link[aria-current="page"] .delil-nav-chevron,
  .navbar .navbar-wrapper .single-nav-link.w--current .delil-nav-icon {
    color: #fff !important;
    opacity: 1 !important;
  }
  .navbar .navbar-wrapper .nav-link-border-active {
    background-color: #fff !important;
  }

  /* Beratung button on yellow drawer */
  .navbar .navbar-wrapper .secondary-button.white.for-mobile {
    color: var(--delil-black) !important;
    border-color: var(--delil-black) !important;
    background: transparent !important;
  }
  .navbar .navbar-wrapper .secondary-button.white.for-mobile .button-flex-wrap,
  .navbar .navbar-wrapper .secondary-button.white.for-mobile .button-flex-wrap div {
    color: var(--delil-black) !important;
  }
  .navbar .navbar-wrapper .secondary-button.white.for-mobile .btn-arrow,
  .navbar .navbar-wrapper .secondary-button.white.for-mobile img.btn-arrow,
  .navbar .navbar-wrapper .secondary-button.white.for-mobile img {
    filter: brightness(0) !important;
  }
  .navbar .navbar-wrapper .secondary-button.white.for-mobile:hover {
    background: var(--delil-black) !important;
    color: #fff !important;
  }
  .navbar .navbar-wrapper .secondary-button.white.for-mobile:hover .button-flex-wrap,
  .navbar .navbar-wrapper .secondary-button.white.for-mobile:hover .button-flex-wrap div {
    color: #fff !important;
  }
  .navbar .navbar-wrapper .secondary-button.white.for-mobile:hover .btn-arrow,
  .navbar .navbar-wrapper .secondary-button.white.for-mobile:hover img {
    filter: brightness(0) invert(1) !important;
  }
}

/* Core values icons (Über uns) */
img.core-value-icon {
  filter: none !important;
  width: 3.5rem !important;
  height: 3.5rem !important;
  object-fit: contain;
}

/* Footer credit */
.copyright-text .delil-built-with,
a.delil-built-with {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
a.delil-built-with:hover {
  color: var(--delil-yellow) !important;
  border-bottom-color: var(--delil-yellow);
}

.faq-icon-wrap {
  overflow: hidden !important;
  flex: none !important;
}
.faq-icon-wrap .faq-plus,
.faq-icon-wrap .faq-minus,
img.faq-plus,
img.faq-minus {
  filter: none !important;
  display: block !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  width: 25px !important;
  height: 25px !important;
  max-width: none !important;
  object-fit: contain !important;
}

/* ========== Warum wir: Original-Layout (dunkel + Bild rechts), Liste statt Slider ========== */
.section.choose-us.delil-why-classic {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.section.choose-us.delil-why-classic .choose-us-content-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section.choose-us.delil-why-classic .choose-us-title-wrap {
  max-width: none !important;
  width: calc(100% - 60px);
  margin-left: 30px;
  margin-right: 30px;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: flex-start;
}
.section.choose-us.delil-why-classic .choose-us-slide-wrap.delil-why-classic-list {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
  margin-left: 30px;
  margin-right: 30px;
  max-width: none !important;
  width: calc(100% - 60px);
  box-sizing: border-box;
}
.section.choose-us.delil-why-classic .delil-why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.15rem 1.1rem;
  height: 100%;
}
.section.choose-us.delil-why-classic .choose-title {
  color: #fff;
  margin: 0.65rem 0 0.4rem;
  font-size: 1.2rem;
  line-height: 1.3;
}
.section.choose-us.delil-why-classic .choose-details {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}
.section.choose-us.delil-why-classic .choose-icon-wrap.delil-why-choose-icon {
  width: 3.5rem !important;
  height: 3.5rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 0;
  margin-bottom: 0.55rem;
  box-shadow: none !important;
}
.section.choose-us.delil-why-classic .delil-why-choose-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: none !important;
  background: transparent !important;
  /* black icon plate → invisible on dark cards */
  mix-blend-mode: screen;
}
.section.choose-us.delil-why-classic .delil-why-photo.delil-photo-placeholder {
  width: 100% !important;
  max-width: 794px !important;
  min-height: 34rem !important;
  height: 100% !important;
  aspect-ratio: 794 / 900 !important;
  background: #111 !important;
  border-radius: 0;
}
.section.choose-us.delil-why-classic img.wcu-img.delil-why-photo {
  width: 100% !important;
  max-width: 794px !important;
  height: 100% !important;
  min-height: 34rem !important;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
  background: #0a0a0a;
}
.section.choose-us.delil-why-classic .choose-us-img-wrap {
  align-self: stretch;
  display: flex;
}
.section.choose-us.delil-why-classic .section-details.light-grey.choose-us {
  color: rgba(255, 255, 255, 0.72) !important;
}
/* „Warum wir“ auf dunklem Grund → weiß */
.section.choose-us.delil-why-classic .sub-title-text,
.section.choose-us.delil-why-classic .sub-title-wrap.wcu .sub-title-text {
  color: #fff !important;
}
.section.choose-us.delil-why-classic .choose-us-img-wrap .delil-why-photo.delil-photo-placeholder {
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--delil-yellow, #feed01);
  font-weight: 600;
}
@media screen and (max-width: 991px) {
  .section.choose-us.delil-why-classic .choose-us-content-flex-wrap {
    flex-direction: column;
  }
  .section.choose-us.delil-why-classic .choose-us-title-wrap,
  .section.choose-us.delil-why-classic .choose-us-slide-wrap.delil-why-classic-list {
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 40px);
  }
  .section.choose-us.delil-why-classic .choose-us-img-wrap {
    width: 100%;
    max-width: none;
    order: 2;
  }
  .section.choose-us.delil-why-classic .delil-why-photo.delil-photo-placeholder {
    min-height: 22rem !important;
    aspect-ratio: auto !important;
  }
  .section.choose-us.delil-why-classic img.wcu-img.delil-why-photo {
    min-height: 22rem !important;
    max-height: none !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center 12% !important;
    display: block !important;
  }
}
@media screen and (max-width: 767px) {
  .section.choose-us.delil-why-classic .choose-us-title-wrap,
  .section.choose-us.delil-why-classic .choose-us-slide-wrap.delil-why-classic-list {
    margin-left: 15px;
    margin-right: 15px;
    width: calc(100% - 30px);
  }
  .section.choose-us.delil-why-classic .choose-us-slide-wrap.delil-why-classic-list {
    grid-template-columns: 1fr;
  }
  .section.choose-us.delil-why-classic img.wcu-img.delil-why-photo {
    min-height: 20rem !important;
  }
}

/* Blog author avatar (Delil) */
.post-author-img[src*="delil.png"] {
  object-fit: cover;
  background: var(--delil-yellow, #feed01);
}

/* Legacy white full-bleed why (falls noch referenziert) */
.section.choose-us.delil-why {
  background: #fff !important;
  padding: 0 !important;
}
.section.choose-us.delil-why .choose-us-content-wrap.delil-why-panel {
  background-image: none !important;
  background: #fff !important;
  max-width: none !important;
  width: 100%;
  padding: 5.5rem 2.5rem 4.5rem 2.5rem !important;
  position: relative;
  z-index: 1;
}
.section.choose-us.delil-why .choose-us-content-flex-wrap {
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
}
.section.choose-us.delil-why .section-title {
  color: var(--delil-black) !important;
}
.section.choose-us.delil-why .sub-title-text {
  color: var(--delil-black) !important;
}
.section.choose-us.delil-why .section-details.choose-us {
  color: #555 !important;
  max-width: 28rem;
}
.section.choose-us.delil-why .choose-us-title-wrap.delil-why-head {
  margin-left: 0 !important;
  margin-bottom: 2.75rem !important;
  max-width: none !important;
  width: 100%;
  justify-content: space-between;
  align-items: flex-end;
}
.section.choose-us.delil-why .choose-triangle {
  display: none !important;
}

.delil-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 46rem;
}
.delil-why-item {
  display: grid;
  grid-template-columns: 3rem 3.75rem minmax(0, 1fr);
  gap: 1rem 1.15rem;
  align-items: center;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}
.delil-why-item:last-child {
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}
.delil-why-num {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #aaa;
  line-height: 1;
}
.delil-why-icon-wrap {
  width: 3.75rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
}
.delil-why-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.delil-why-title {
  margin: 0 0 0.35rem;
  color: var(--delil-black);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}
.delil-why-text {
  margin: 0;
  color: #666;
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 36rem;
}
.delil-why-photo.delil-photo-placeholder {
  width: 100% !important;
  max-width: 794px !important;
  min-height: 34rem !important;
  height: 100% !important;
  aspect-ratio: 794 / 900 !important;
  background: #111 !important;
}
.section.choose-us.delil-why .choose-us-img-wrap {
  align-self: stretch;
  display: flex;
}
@media screen and (max-width: 991px) {
  .section.choose-us.delil-why .choose-us-content-flex-wrap {
    flex-direction: column;
  }
  .section.choose-us.delil-why .choose-us-content-wrap.delil-why-panel {
    padding: 3.5rem 1.25rem 2.5rem !important;
  }
  .section.choose-us.delil-why .choose-us-title-wrap.delil-why-head {
    align-items: flex-start;
  }
  .delil-why-photo.delil-photo-placeholder {
    min-height: 18rem !important;
    aspect-ratio: 16 / 10 !important;
  }
}
@media screen and (max-width: 767px) {
  .delil-why-item {
    grid-template-columns: 2.25rem 3.1rem minmax(0, 1fr);
    gap: 0.75rem 0.85rem;
    padding: 1.1rem 0;
  }
  .delil-why-icon-wrap {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 10px;
  }
  .delil-why-icon {
    width: 2.1rem;
    height: 2.1rem;
  }
  .delil-why-title {
    font-size: 1.1rem;
  }
}

/* Team: Delil photo + placeholders */
img.team-img.delil-team-photo,
img.taam-overlay-img.delil-team-photo,
img.expert-img.delil-team-photo {
  object-fit: cover !important;
  object-position: center top !important;
  filter: none !important;
}

/* Home-Teamkarte: gelber Glow um Freisteller (statt weiß/grau) */
.section.our-team img.team-img.delil-team-photo,
.section.our-team img.taam-overlay-img.delil-team-photo {
  filter:
    drop-shadow(0 0 1px #feed01)
    drop-shadow(0 0 2px #feed01)
    drop-shadow(0 0 6px rgba(254, 237, 1, 0.85))
    drop-shadow(0 10px 18px rgba(254, 237, 1, 0.4)) !important;
}

/* Home-Team Hover: Markengelb statt Template-Orange */
.section.our-team .team-hover-wrap {
  background-image: linear-gradient(
    rgba(254, 237, 1, 0) 41.05%,
    rgba(254, 237, 1, 0.92) 79.16%,
    var(--delil-yellow, #feed01)
  ) !important;
}
.section.our-team .member-name {
  color: var(--delil-black, #0a0a0a) !important;
}
.section.our-team .member-designation {
  color: rgba(10, 10, 10, 0.85) !important;
}

.taam-overlay-img.delil-team-photo {
  background: #0a0a0a;
}
.taam-overlay-img.delil-team-soon,
.expert-img.delil-team-soon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: #111 !important;
  color: var(--delil-yellow, #feed01);
  font-weight: 600;
  font-size: 0.78rem;
  text-align: center;
  line-height: 1.3;
  border: 1px solid var(--delil-yellow, #feed01) !important;
  border-radius: 51% !important;
  width: 150px;
  height: 150px;
  padding: 0.85rem;
  filter: none !important;
}
.taam-overlay-img.delil-team-soon span,
.expert-img.delil-team-soon span {
  max-width: 6.5rem;
}
.expert-img.delil-team-soon {
  width: 100% !important;
  max-width: 220px;
  height: 220px !important;
  margin: 0 auto;
  aspect-ratio: 1;
}
.single-expert-wrap.delil-expert-card .expert-img.delil-team-photo {
  width: 100%;
  max-width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  border-radius: 51%;
  border: 3px solid var(--delil-yellow, #feed01);
  padding: 6px;
  background: #0a0a0a;
  display: block;
  margin: 0 auto;
  filter: none !important;
}
.single-expert-wrap.delil-expert-soon {
  text-align: center;
}
.delil-team-soon-bg {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: #f6f7f0;
}

/* Team-Seite: Hover gelb, Text/Icons schwarz */
.expert-collection-wrap .team-hover-wrap,
.single-expert-wrap .team-hover-wrap {
  background-image: linear-gradient(
    rgba(254, 237, 1, 0) 41.05%,
    rgba(254, 237, 1, 0.92) 79.16%,
    var(--delil-yellow, #feed01)
  ) !important;
}
.expert-collection-wrap .member-name,
.expert-collection-wrap .member-designation,
.single-expert-wrap .member-name,
.single-expert-wrap .member-designation {
  color: var(--delil-black, #0a0a0a) !important;
}
.expert-collection-wrap .team-social-wrap,
.single-expert-wrap .team-social-wrap {
  color: var(--delil-black, #0a0a0a) !important;
  border-color: rgba(10, 10, 10, 0.45) !important;
  background: transparent !important;
}
.expert-collection-wrap .team-social-wrap:hover,
.single-expert-wrap .team-social-wrap:hover {
  background: var(--delil-black, #0a0a0a) !important;
  border-color: var(--delil-black, #0a0a0a) !important;
  color: var(--delil-yellow, #feed01) !important;
}

/* Team page: original 4-column overlay cards */
.section.delil-team-page {
  padding-bottom: 80px;
}
.section.delil-team-page .our-team-grid-wrap {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.section.delil-team-page .single-team-wrap {
  height: 455px;
  max-height: 455px;
}
@media screen and (max-width: 991px) {
  .section.delil-team-page .our-team-grid-wrap {
    grid-template-columns: 1fr 1fr;
  }
}


/* Process steps: large Delil icons + brand accent */
.section.process.delil-process .delil-process-icon {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 0 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  flex-shrink: 0;
}
.section.process.delil-process .delil-process-icon .process-icon {
  width: 3.35rem;
  height: 3.35rem;
  margin: 0;
  object-fit: contain;
  display: block;
}
.section.process.delil-process .process-title {
  font-weight: 600;
}
.section.process.delil-process .process-details {
  max-width: 18.5rem;
}
/* SVG already #FEED01 — no tint filter (sepia/hue made it orange) */
.section.process.delil-process .process-count-icon,
.section.process.delil-process img[src*="Process-Count-Number"] {
  filter: none !important;
}
@media screen and (max-width: 991px) {
  .section.process.delil-process .delil-process-icon {
    width: 4.75rem;
    height: 4.75rem;
    margin-bottom: 1.15rem;
  }
  .section.process.delil-process .delil-process-icon .process-icon {
    width: 2.85rem;
    height: 2.85rem;
  }
}
@media screen and (min-width: 992px) {
  .section.process.delil-process .delil-process-icon {
    width: 6.25rem;
    height: 6.25rem;
  }
  .section.process.delil-process .delil-process-icon .process-icon {
    width: 3.75rem;
    height: 3.75rem;
  }
}


/* Blog cards: equal height, footer aligned, black tags, dark hover image */
.blog-category-text {
  color: var(--delil-black, #0a0a0a) !important;
}
.section.blog-post-v1 .blog-v1-grid-wrap {
  align-items: stretch;
}
.section.blog-post-v1 .w-dyn-item,
.section.blog-post-v1 .blog-v1-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.section.blog-post-v1 .single-blog-v1-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 17.5rem;
  background-color: #0a0a0a !important;
  background-blend-mode: luminosity !important;
}
.section.blog-post-v1 .blog-v1-content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}
.section.blog-post-v1 .blog-v1-title-wrap {
  flex: 1 1 auto;
}
.section.blog-post-v1 .blog-v1-title {
  margin-bottom: 1.25rem;
}
.section.blog-post-v1 .post-author-more-flex {
  margin-top: auto;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.75rem 1rem;
  width: 100%;
}
.section.blog-post-v1 .post-author-wrap {
  flex: 1 1 auto;
  min-width: 0;
}
.section.blog-post-v1 .post-button {
  flex: 0 0 auto;
  white-space: nowrap;
}
.section.blog-post-v1 .blog-v1-img-overlay {
  background-color: rgba(0, 0, 0, 0.72) !important;
  z-index: 0 !important;
  opacity: 1 !important;
}
.section.blog-post-v1 .blog-hover-bg {
  z-index: 1;
}
.section.after-banner .blog-category-text,
.blog-collection-wrap .blog-category-text {
  color: var(--delil-black, #0a0a0a) !important;
}


/* Footer legal links under Kontakt */
.footer .delil-footer-legal {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer .delil-footer-legal .footer-link {
  display: block;
}


/* Real reviews meta under testimonial title */
.section.testimonial.delil-reviews .delil-reviews-meta {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.section.testimonial.delil-reviews .testimonial-details {
  max-width: 34rem;
}

/* Testimonials: keep yellow shape inside dark section (no bleed into white) */
.section.testimonial {
  overflow: hidden;
  padding-bottom: 100px;
}
.section.testimonial .testimonial-grid-wrap {
  margin-bottom: 0 !important;
}
.section.testimonial .testimonial-img-wrap {
  overflow: hidden;
  align-items: flex-end;
  max-width: 100%;
}
.section.testimonial .testimonial-img {
  position: relative;
  z-index: 2;
  max-width: 100%;
  height: auto;
}
.section.testimonial .testimonial-img-bg,
.section.testimonial .testimonial-shape {
  max-width: 100%;
  height: auto;
  pointer-events: none;
}
/* Next section no longer needs huge top padding for the old overlap */
.section.blog-post-v1 {
  padding-top: 100px !important;
}
@media screen and (max-width: 991px) {
  .section.testimonial {
    padding-bottom: 80px;
  }
  .section.blog-post-v1 {
    padding-top: 60px !important;
  }
}

/* Slider dots / progress: brand yellow, not leftover orange */
.section.testimonial .testimonial-slide-border-inner {
  background-color: rgba(254, 237, 1, 0.55) !important;
}
.section.testimonial .testimonial-slide-dot {
  background-color: #8c8c8c !important;
}
.section.testimonial .testimonial-slide-dot[style*="248"],
.section.testimonial .testimonial-slide-dot[style*="255, 99"],
.section.testimonial .testimonial-slide-dot[style*="255,99"],
.section.testimonial .testimonial-slide-dot[style*="255, 109"],
.section.testimonial .testimonial-slide-dot[style*="rgb(255"],
.section.testimonial .testimonial-slide-dot[style*="rgb(248"],
.section.testimonial .testimonial-slide-dot[style*="FF63"],
.section.testimonial .testimonial-slide-dot[style*="ff63"],
.section.testimonial .testimonial-slide-dot[style*="F85E"],
.section.testimonial .testimonial-slide-dot[style*="f85e"] {
  background-color: var(--delil-yellow) !important;
}
.section.testimonial .testimonial-slide-arrow:hover {
  border-color: var(--delil-yellow) !important;
  background-color: var(--delil-yellow) !important;
  color: var(--delil-black) !important;
}


/* Whole team card clickable → Delil profile */
a.delil-team-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.delil-team-card-link:hover .member-name,
a.delil-team-card-link:hover .taam-overlay-name,
a.delil-team-card-link:hover .single-teacher-name {
  color: inherit;
}


/* IX failsafe: always show content if animations fail */
[data-w-id][style*="opacity:0"],
[data-w-id][style*="opacity: 0"],
.service-v1-icon[style*="opacity"],
.services-v1-wrapper,
.service-v1-content-wrap,
.about-title-wrap,
.about-summery-title,
.about-summery-list-wrap,
.driving-process-content-wrap,
.single-process-wrap {
  opacity: 1 !important;
}

/* Rotating badge — bottom-right of text column + spin */
@keyframes delil-badge-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.about-content-details-wrap.v1 .about-summery-content-wrap {
  position: relative;
}
.about-content-details-wrap.v1 .about-summery-content-wrap .rotate-ball {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 147px !important;
  height: auto !important;
  max-width: 147px;
  z-index: 2;
  pointer-events: none;
  animation: delil-badge-spin 10s linear infinite;
  will-change: transform;
  transform-origin: center center;
}
@media screen and (max-width: 991px) {
  .about-content-details-wrap.v1 .about-summery-content-wrap .rotate-ball {
    display: block !important;
    width: 120px !important;
    right: 0 !important;
    bottom: 0 !important;
  }
}
@media screen and (max-width: 767px) {
  .about-content-details-wrap.v1 .about-summery-content-wrap .rotate-ball {
    width: 100px !important;
    right: 0 !important;
    bottom: 0 !important;
  }
}

/* Navbar: after scroll → white bar + dark logo/links */
.navbar.w-nav {
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.navbar.w-nav.is-scrolled {
  background-color: #fff !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}
.navbar.w-nav.is-scrolled .single-nav-link,
.navbar.w-nav.is-scrolled .single-nav-link.white,
.navbar.w-nav.is-scrolled .single-nav-link .delil-nav-label,
.navbar.w-nav.is-scrolled .single-nav-link .delil-nav-icon,
.navbar.w-nav.is-scrolled .single-nav-link .delil-nav-chevron,
.navbar.w-nav.is-scrolled button.single-nav-link.delil-dd-toggle {
  color: var(--delil-black, #0a0a0a) !important;
}
.navbar.w-nav.is-scrolled .single-nav-link:hover,
.navbar.w-nav.is-scrolled .single-nav-link.white:hover,
.navbar.w-nav.is-scrolled .single-nav-link:hover .delil-nav-icon,
.navbar.w-nav.is-scrolled .single-nav-link[aria-current="page"],
.navbar.w-nav.is-scrolled .single-nav-link[aria-current="page"] .delil-nav-icon {
  color: var(--delil-black, #0a0a0a) !important;
}
.navbar.w-nav.is-scrolled .hamburger-menu-bar {
  background-color: var(--delil-black, #0a0a0a) !important;
}
.navbar.w-nav.is-scrolled .secondary-button.for-desktop,
.navbar.w-nav.is-scrolled .secondary-button.white.for-desktop,
.navbar.w-nav.is-scrolled .secondary-button.white.for-mobile {
  color: var(--delil-black, #0a0a0a) !important;
  border-color: var(--delil-black, #0a0a0a) !important;
  background: #fff !important;
}
.navbar.w-nav.is-scrolled .secondary-button .button-flex-wrap,
.navbar.w-nav.is-scrolled .secondary-button .button-flex-wrap div,
.navbar.w-nav.is-scrolled .secondary-button.white .button-flex-wrap,
.navbar.w-nav.is-scrolled .secondary-button.white .button-flex-wrap div {
  color: var(--delil-black, #0a0a0a) !important;
}
.navbar.w-nav.is-scrolled .secondary-button .btn-arrow,
.navbar.w-nav.is-scrolled .secondary-button img.btn-arrow,
.navbar.w-nav.is-scrolled .secondary-button.white .btn-arrow,
.navbar.w-nav.is-scrolled .secondary-button.white img.btn-arrow {
  filter: brightness(0) !important;
}
