/* Existing David Elektrotechnik design; scoped functional corrections. */
.entry-content,
.elementor-widget-text-editor,
.elementor-widget-container {
  min-width: 0;
}

.david-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  margin-block: 1.25rem;
}

.david-table-scroll table {
  min-width: 100%;
  width: max-content;
  max-width: none;
  margin: 0;
}

.david-table-scroll:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #224c65;
  outline-offset: 3px;
}

.david-author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 6.5rem;
  padding-block: 1.25rem;
  margin-block: 2rem;
  border-block: 1px solid #d7dde2;
  font-size: 1rem;
}

.david-author-box .david-author-photo {
  width: 64px;
  height: 64px;
  min-width: 64px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.david-author-label {
  color: #36434d;
  font-size: 0.875rem;
}

.david-author-box p {
  margin: 0.2rem 0 0;
}

.elementor-field-group a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 767px) {
  .entry-content,
  .elementor-widget-text-editor,
  .elementor-widget-container {
    overflow-wrap: anywhere;
  }

  .david-table-scroll {
    overflow-wrap: normal;
  }

  .david-mobile-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    padding: 0.625rem 1rem;
    background: #fff;
    color: #243746;
    font-size: 0.9375rem;
  }

  .david-mobile-contact a {
    color: #305712;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
  }
}

@media (min-width: 768px) {
  .david-mobile-contact {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}

/* Same green palette, darker foregrounds on light surfaces. */
.elementor-element-3b02d41 .elementor-heading-title,
.elementor-element-4953b95 .elementor-heading-title,
.elementor-element-e270a80 .elementor-heading-title {color:#436b16 !important;}
.elementor-element-2cb537e .elementor-button,
.elementor-element-71c18e8 .elementor-button,
.elementor-element-7249f53 .elementor-button,
.elementor-element-79ac3fd .elementor-button,
.elementor-element-9d7fb1a .elementor-button,
.elementor-element-ac92768 .elementor-button,
.elementor-element-c1597ea .elementor-button {background-color:#436b16 !important;color:#fff !important;border-color:#436b16 !important;}
.elementor-element-642be93 .elementor-button,
.elementor-element-7c598e3 .elementor-button,
.elementor-element-a6c4670 .elementor-button,
.elementor-element-f54658f .elementor-button {color:#436b16 !important;border-color:#436b16 !important;}

.elementor-element-5ed1317 .elementor-item,.elementor-menu-toggle,.elementor-element-72dbf29 .elementor-heading-title,.elementor-element-f41aa76 .elementor-heading-title,.elementor-element-b88a1d8 .elementor-heading-title{color:#183508 !important;}

.elementor-button:hover,.elementor-button:focus-visible{background-color:#30540f !important;border-color:#30540f !important;color:#fff !important;}

.elementor-element-e09ba4d .elementor-heading-title,.elementor-element-e09ba4d .elementor-heading-title a,.elementor-element-5484be2 .elementor-heading-title,.elementor-element-5484be2 .elementor-heading-title a{color:#436b16 !important;}

/* Readable article headings, navigation and links on the existing light surfaces. */
.single-post article .elementor-heading-title,
.single-post article .elementor-heading-title a {
  color: #0e476a !important;
}

.single-post article .elementor-widget-container li a,
.single-post article .elementor-widget-container li a span,
.single-post article .elementor-widget-container li a strong,
.david-author-box a,
.entry-header .ast-taxonomy-container a,
.entry-header .comments-link a,
.post-navigation a,
.archive main .entry-title a,
.elementor-field-option label a,
.elementor-field-option label a span,
.elementor-field-option label a strong,
footer[data-elementor-id="66"] a,
footer[data-elementor-id="66"] a span,
footer[data-elementor-id="66"] a strong {
  color: #436b16 !important;
}

/* Intrinsic viewBox of the existing GC Gruppe SVG; preserve its display size. */
img.wp-image-162 {
  aspect-ratio: 1;
}
