*,
*::before,
*::after {
  box-sizing: border-box;
}

/* TOPBAR */
#sup-top {
  background: linear-gradient(135deg, rgb(141, 189, 40) 0%, rgb(118, 175, 34) 100%);
  padding: 12px 0 11px;
  position: relative;
  z-index: 40;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.10);
}

.sup-top-content p {
  margin: 0;
  text-align: right;
  line-height: 1.3;
}

.link-sup-top {
  display: inline-block;
  margin-left: 28px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.link-sup-top:first-child {
  margin-left: 0;
}

/* HEADER BASIS */
.header_back {
  background: #ffffff;
  border-bottom: 4px solid rgb(120, 183, 36);
  box-shadow: none;
  position: relative;
  z-index: 50;
}

.tmpl_header,
.tmpl_header > .container,
.header_back .container,
.header-row {
  overflow: visible !important;
}

.tmpl_header {
  padding: 0;
}

.header_back .container {
  position: relative;
}

.header-row {
  width: 100%;
  position: relative;
}

/* DESKTOP HEADER */
.header-desktop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  min-height: 98px;
  padding: 0;
}

.header-desktop #tmpl_header-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  margin-top: 2px;
  position: relative;
  z-index: 3;
}

.header-desktop #tmpl_header-logo .logo {
  display: inline-block;
}

.header-desktop #tmpl_header-logo .logo img {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 92px;
  height: auto;
  position: relative;
  top: -8px;
  left: 10px;
}

.header-desktop .tmpl_header-main {
  flex: 1 1 auto;
  min-width: 0;
}

.header-desktop #tmpl_header-menu {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 18px;
  min-height: 64px;
  margin-top: 2px;
  flex-wrap: nowrap;
  position: relative;
  z-index: 3;
}

/* MENÜ SEPARAT */
.header-desktop #tmpl_header-menu .nav.menu.mod-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  position: relative;
  top: -18px;
}

.header-desktop #tmpl_header-menu .nav.menu.mod-list > li {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.header-desktop #tmpl_header-menu .nav.menu.mod-list > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 8px 16px;
  color: rgb(120, 183, 36);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.1;
  border-radius: 999px;
  background: #ffffff;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(141, 189, 40, 0.08);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.header-desktop #tmpl_header-menu .nav.menu.mod-list > li:hover > a,
.header-desktop #tmpl_header-menu .nav.menu.mod-list > li.active > a,
.header-desktop #tmpl_header-menu .nav.menu.mod-list > li.current > a {
  color: rgb(90, 145, 20);
  background: #f5f9ef;
  box-shadow: inset 0 0 0 1px rgba(141, 189, 40, 0.18);
}

/* DROPDOWN */
.header-desktop #tmpl_header-menu .nav.menu.mod-list > li > .nav-child {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 248px;
  background: #ffffff;
  border: 1px solid rgba(218, 224, 214, 0.92);
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(27, 34, 30, 0.10);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 200;
  text-align: left;
}

.header-desktop #tmpl_header-menu .nav.menu.mod-list > li:hover > .nav-child,
.header-desktop #tmpl_header-menu .nav.menu.mod-list > li:focus-within > .nav-child {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.header-desktop #tmpl_header-menu .nav.menu.mod-list > li > .nav-child > li > a {
  display: block;
  padding: 11px 18px;
  color: #4e5c51;
  text-decoration: none;
  font-size: 0.94rem;
  background: #ffffff;
}

.header-desktop #tmpl_header-menu .nav.menu.mod-list > li > .nav-child > li > a:hover {
  background: #f5f9ef;
  color: rgb(90, 145, 20);
}

/* SEARCH */
.search.mod_search90,
.search.mod_search90 form {
  display: flex;
  align-items: center;
  margin: 0;
  gap: 10px;
}

.search.mod_search90 .search-query {
  height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(214, 220, 210, 0.95);
  background: #ffffff;
  color: #233028;
  outline: none;
  box-shadow: none;
  font-size: 0.95rem;
}

.search-submit-icon {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: rgb(120, 183, 36) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
}

.header-desktop .search.mod_search90 {
  flex: 0 0 auto;
  position: relative;
  top: 4px;
}

.header-desktop .search.mod_search90 .search-query {
  width: 240px;
}

/* SMALL HEADER */
.header-small {
  display: none;
  min-height: 98px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
}

.header-small-left {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  position: relative;
  top: -24px;
}

.header-small-right {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  position: relative;
  top: -24px;
}

.header-small .logo-klein {
  display: inline-flex;
  align-items: center;
  margin: 0 12px 0 0;
  flex: 0 0 auto;
}

.header-small .logo-klein img {
  display: block;
  width: auto;
  max-width: 120px;
  max-height: 48px;
  height: auto;
  position: static;
}

.header-small .search.mod_search90,
.header-small .search.mod_search90 form {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.header-small .search.mod_search90 .search-query {
  width: 190px;
  max-width: 100%;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.header-small .search-submit-icon {
  width: 36px;
  height: 36px;
  min-height: 36px;
  font-size: 1.05rem;
}

/* MOBILE BUTTON */
.btn-mobile-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  text-align: center;
  line-height: 42px;
  text-decoration: none;
  color: rgb(120, 183, 36);
  background: #ffffff;
  border: 1px solid rgba(214, 220, 210, 0.95);
  box-shadow: 0 6px 16px rgba(27, 34, 30, 0.05);
  font-size: 1.08rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  z-index: 500;
  margin: 0;
  left: 0;
  top: 0;
  transition: transform 0.20s ease, box-shadow 0.20s ease, border-color 0.20s ease;
}

.btn-mobile-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(27, 34, 30, 0.08);
  border-color: rgba(186, 202, 175, 0.96);
}

/* OVERLAY */
.blinds {
  position: fixed;
  inset: 0;
  background: rgba(24, 30, 25, 0.14);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 410;
}

body.mobile-nav-open .blinds {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* MOBILE MENU PANEL */
.menue-mobile {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  width: min(400px, 92vw) !important;
  max-width: 92vw !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 20px 18px 22px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fafbf9 100%) !important;
  border-right: 1px solid rgba(226, 230, 223, 0.94) !important;
  box-shadow: 14px 0 30px rgba(27, 34, 30, 0.06) !important;
  border-radius: 0 18px 18px 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  z-index: 420 !important;
  display: block !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-100%) !important;
  transition:
    transform 0.30s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease,
    visibility 0s linear 0.30s !important;
}

body.mobile-nav-open .menue-mobile {
  transform: translateX(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition:
    transform 0.30s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease,
    visibility 0s linear 0s !important;
}

/* HEADER IM MOBILEN MENÜ */
.head-menue-mobile {
  position: sticky;
  top: 0;
  z-index: 5;
  margin: -20px -18px 12px;
  padding: 16px 18px 10px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(230, 233, 227, 0.88);
}

.head-menue-mobile::before {
  content: "";
  display: block;
  width: 132px;
  height: 40px;
  margin: 0 auto 10px;
  background: url("/images/Logo_DBS_klein.png") no-repeat center center / contain;
  opacity: 0.96;
}

.btn-close-mobile-nav {
  position: absolute;
  top: 14px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  text-decoration: none;
  background: #ffffff;
  color: #50604f;
  border: 1px solid rgba(226, 230, 223, 0.96);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(27, 34, 30, 0.03);
  transition: transform 0.20s ease, box-shadow 0.20s ease, background 0.20s ease;
}

.btn-close-mobile-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(27, 34, 30, 0.05);
  background: #ffffff;
}

.head-menue-mobile .search {
  clear: both;
  padding-top: 0;
  margin-top: 0;
}

.head-menue-mobile .search form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}

.menue-mobile .search .search-query {
  display: block;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(223, 228, 219, 0.96);
  background: #ffffff;
  color: #233028;
}

.menue-mobile .search .btn {
  display: block;
  width: 100%;
  height: 40px;
  margin: 0;
  border-radius: 10px;
  border: 1px solid rgba(223, 228, 219, 0.96);
  color: #50604f;
  font-weight: 600;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(27, 34, 30, 0.03);
  transition: transform 0.20s ease, box-shadow 0.20s ease, border-color 0.20s ease, background 0.20s ease;
}

.menue-mobile .search .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(27, 34, 30, 0.05);
  border-color: rgba(210, 217, 204, 0.96);
  background: #ffffff;
}

/* MOBILE NAV – LISTENOPTIK */
.menue-mobile ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.menue-mobile .mobilelinkgrau {
  margin-top: 6px !important;
}

.menue-mobile .mobilelinkgrau > li,
.menue-mobile .direkt_link > li {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  margin: 0 0 3px !important;
  padding: 0 !important;
}

.menue-mobile .mobilelinkgrau > li.parent {
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: start;
}

.menue-mobile .mobilelinkgrau > li > a,
.menue-mobile .direkt_link > li > a {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 42px !important;
  padding: 9px 12px !important;
  border-radius: 9px !important;
  text-decoration: none !important;
  color: #334238 !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.menue-mobile .mobilelinkgrau > li > a:hover,
.menue-mobile .direkt_link > li > a:hover {
  color: rgb(90, 145, 20) !important;
  background: rgba(245, 249, 239, 0.92) !important;
  transform: translateX(2px);
}

/* TOGGLE SEHR DEZENT */
.toggleMenu {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  margin: 4px 0 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  background: transparent !important;
  color: #70816f !important;
  box-shadow: none !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.toggleMenu:hover {
  background: rgba(245, 249, 239, 0.92) !important;
  color: rgb(90, 145, 20) !important;
}

.toggleMenu::before {
  content: "+" !important;
  display: block !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  transform: translateY(-1px);
}

.menue-mobile li.open > .toggleMenu::before {
  content: "–" !important;
  transform: translateY(-2px);
}

/* SUBMENU */
.menue-mobile .nav-child {
  display: none !important;
  grid-column: 1 / -1;
  margin: 0 0 6px !important;
  padding: 0 0 0 12px !important;
  animation: mobileSubmenuFade 0.18s ease;
  border-left: 1px solid rgba(224, 229, 220, 0.94);
}

.menue-mobile li.open > .nav-child {
  display: block !important;
}

.menue-mobile .nav-child li {
  margin: 0 0 2px !important;
}

.menue-mobile .nav-child li a {
  display: block !important;
  width: 100% !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  color: #5c6a60 !important;
  background: transparent !important;
  margin: 0 !important;
  border: 0 !important;
  font-size: 0.9rem !important;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.menue-mobile .nav-child li a:hover {
  transform: translateX(2px);
  background: rgba(247, 250, 244, 0.96) !important;
  color: rgb(90, 145, 20) !important;
}

/* UNTERER BEREICH */
.menue-mobile .direkt_link {
  margin-top: 14px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(230, 233, 227, 0.9) !important;
}

.menue-mobile .direkt_link > li {
  margin-bottom: 6px !important;
}

.menue-mobile .direkt_link > li > a {
  min-height: 40px !important;
  padding: 8px 12px !important;
  justify-content: center !important;
  text-align: center !important;
  color: #ffffff !important;
  background: linear-gradient(180deg, rgba(188, 218, 154, 0.92), rgba(170, 206, 132, 0.92)) !important;
  border: 0 !important;
  box-shadow: none !important;
  font-weight: 500 !important;
}

.menue-mobile .direkt_link > li > a:hover {
  color: #ffffff !important;
  background: linear-gradient(180deg, rgba(180, 212, 145, 0.95), rgba(162, 198, 123, 0.95)) !important;
  box-shadow: none !important;
  transform: translateX(0);
}

.menue-mobile .direkt_link > li > a::before,
.menue-mobile .direkt_link > li > a::after {
  content: none !important;
  display: none !important;
}

.menue-mobile,
.menue-mobile * {
  touch-action: manipulation;
}

.btn-mobile-nav,
.btn-close-mobile-nav,
.toggleMenu {
  -webkit-tap-highlight-color: transparent;
}

@keyframes mobileSubmenuFade {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO / LINE CLEANUP */
.tmpl_wide-image,
.hero-slider,
.tmpl_main .tmpl_wide-image,
.tmpl_main .tmpl_wide-image .moduletable.span12 > .custom,
.tmpl_main .tmpl_wide-image .camera_wrap,
.tmpl_main .tmpl_wide-image .slideshowck {
  margin-top: 0 !important;
  border-top: 0 !important;
}

.tmpl_wide-image {
  padding-top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

.tmpl_wide-image > .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.header-row::after,
.header_back::after {
  content: none !important;
  display: none !important;
}

/* CONTACT WIDGET */


/* BREAKPOINTS */
@media (min-width: 1280px) {
  .header-desktop {
    display: flex !important;
  }

  .header-small {
    display: none !important;
  }
}

@media (max-width: 1279px) {
  #sup-top {
    padding: 10px 0 9px;
  }

  .sup-top-content p {
    text-align: center;
  }

  .link-sup-top {
    margin: 0 10px;
    font-size: 0.88rem;
  }

  .header-desktop {
    display: none !important;
  }

  .header-small {
    display: flex !important;
  }

  .header_back .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .contact-widget {
    margin-top: 0 !important;
  }
}

@media (max-width: 767px) {
  .header-small {
    min-height: 78px;
    gap: 10px;
  }

  .header-small-left {
    top: -10px;
  }

  .header-small-right {
    top: -10px;
    justify-content: flex-end;
  }

  .header-small .logo-klein {
    margin-right: 10px;
  }

  .header-small .logo-klein img {
    max-width: 96px;
    max-height: 40px;
  }

  .header-small .search.mod_search90 .search-query {
    width: 148px;
    height: 34px;
    padding: 0 10px;
    font-size: 0.84rem;
    border-radius: 9px;
  }

  .header-small .search-submit-icon {
    width: 32px;
    height: 32px;
    min-height: 32px;
    font-size: 0.95rem;
  }

  .btn-mobile-nav {
    width: 34px;
    height: 34px;
    line-height: 38px;
    border-radius: 10px;
    font-size: 1rem;
    padding: 0;
  }

  .menue-mobile {
    width: min(350px, 94vw) !important;
    max-width: 94vw !important;
    padding: 18px 14px 18px !important;
    border-radius: 0 16px 16px 0 !important;
  }

  .head-menue-mobile {
    margin: -18px -14px 12px;
    padding: 16px 14px 10px;
  }

  .head-menue-mobile::before {
    width: 118px;
    height: 34px;
    margin: 0 auto 10px;
  }

  .btn-close-mobile-nav {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .menue-mobile .mobilelinkgrau > li.parent {
    grid-template-columns: minmax(0, 1fr) 34px;
  }

  .toggleMenu {
    width: 34px !important;
    height: 34px !important;
    margin-top: 6px !important;
    border-radius: 9px !important;
  }

  .toggleMenu::before {
    font-size: 18px !important;
  }

  .menue-mobile .mobilelinkgrau > li > a,
  .menue-mobile .direkt_link > li > a {
    min-height: 42px !important;
    padding: 9px 11px !important;
    font-size: 0.91rem !important;
    border-radius: 9px !important;
  }

  .menue-mobile .nav-child {
    padding-left: 12px !important;
  }

  .menue-mobile .nav-child li a {
    padding: 8px 10px !important;
  }

  .menue-mobile .direkt_link > li > a {
    min-height: 38px !important;
    padding: 8px 10px !important;
  }
}

/* DESKTOP STICKY */
@media (min-width: 1280px) {
  .header_back.sticky #tmpl_header-menu .nav.menu.mod-list,
  .header_back.is-sticky #tmpl_header-menu .nav.menu.mod-list,
  body.scrolled #tmpl_header-menu .nav.menu.mod-list {
    top: -28px !important;
  }

  .header_back.sticky #tmpl_header-menu .search.mod_search90,
  .header_back.is-sticky #tmpl_header-menu .search.mod_search90,
  body.scrolled #tmpl_header-menu .search.mod_search90 {
    position: relative;
    top: -8px !important;
  }
}

.header-desktop #tmpl_header-menu .search.mod_search90 {
  position: relative;
  top: -8px !important;
}




/* =========================================================
   CONTACT WIDGET – SAUBERE, ZURÜCKHALTENDE OPTIK
   Keine Funktionsänderung
   Captcha bleibt im Original
   ========================================================= */

/* -------------------------
   Widget-Buttons
   ------------------------- */
.contact-widget .contact-widget-label a {
  border-radius: 16px 0 0 16px !important;
  background: linear-gradient(180deg, #98c724 0%, #84b71f 100%) !important;
  border-top: 1px solid rgba(138, 185, 36, 0.95) !important;
  border-left: 1px solid rgba(138, 185, 36, 0.95) !important;
  border-bottom: 1px solid rgba(138, 185, 36, 0.95) !important;
  border-right: 0 !important;
  box-shadow: -8px 12px 24px rgba(27, 34, 30, 0.14) !important;
  transition: background 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.contact-widget .contact-widget-label a:hover {
  background: linear-gradient(180deg, #a5d12d 0%, #90c424 100%) !important;
  box-shadow: -10px 14px 28px rgba(27, 34, 30, 0.18) !important;
  filter: brightness(1.02);
}

.contact-widget .contact-widget-label a i,
.contact-widget .contact-widget-label a .contact-widget-icon {
  color: #ffffff !important;
  text-shadow: none !important;
  font-size: 1.35rem !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.contact-widget .contact-widget-label .contact-widget-icon {
  background-color: transparent !important;
}

.contact-widget .contact-widget-label a + a {
  margin-top: 6px !important;
}

/* -------------------------
   Widget-Content
   ------------------------- */
.contact-widget-content {
  border-radius: 18px 0 0 18px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(248,249,246,0.95)) !important;
  border: 1px solid rgba(214, 220, 208, 0.9) !important;
  box-shadow: -12px 18px 36px rgba(27, 34, 30, 0.12) !important;
}

.contact-widget-content,
.contact-widget-content p,
.contact-widget-content a,
.contact-widget-content span,
.contact-widget-content div,
.contact-widget-content label {
  color: #2f3b34 !important;
}

/* -------------------------
   Formularfelder
   ------------------------- */
.contact-widget-content input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([name*="captcha"]):not([id*="captcha"]):not([class*="captcha"]),
.contact-widget-content textarea,
.contact-widget-content select {
  border-radius: 14px !important;
  border: 1px solid rgba(206, 212, 201, 0.95) !important;
  background: #ffffff !important;
  box-shadow: inset 0 1px 2px rgba(27, 34, 30, 0.03) !important;
  color: #2f3b34 !important;
}

.contact-widget-content input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([name*="captcha"]):not([id*="captcha"]):not([class*="captcha"]):focus,
.contact-widget-content textarea:focus,
.contact-widget-content select:focus {
  outline: none !important;
  border-color: rgba(141, 189, 40, 0.72) !important;
  box-shadow:
    0 0 0 3px rgba(141, 189, 40, 0.10),
    inset 0 1px 2px rgba(27, 34, 30, 0.03) !important;
}

.contact-widget-content input::placeholder,
.contact-widget-content textarea::placeholder {
  color: #879187 !important;
  opacity: 1 !important;
}

/* -------------------------
   Buttons im Widget
   ------------------------- */
.contact-widget-content button,
.contact-widget-content .btn,
.contact-widget-content input[type="submit"],
.contact-widget-content input[type="button"] {
  border-radius: 999px !important;
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #95c626, #7eb11d) !important;
  box-shadow: 0 12px 26px rgba(111, 134, 103, 0.18) !important;
}

.contact-widget-content button:hover,
.contact-widget-content .btn:hover,
.contact-widget-content input[type="submit"]:hover,
.contact-widget-content input[type="button"]:hover {
  filter: brightness(1.03);
  box-shadow: 0 16px 32px rgba(111, 134, 103, 0.22) !important;
}

/* -------------------------
   Datenschutz / Checkbox
   ------------------------- */
.contact-widget-content .checkbox,
.contact-widget-content .form-check,
.contact-widget-content .consent,
.contact-widget-content .privacy,
.contact-widget-content .acceptance {
  border-radius: 10px !important;
  background: rgba(255,255,255,0.92) !important;
  border: 1px solid rgba(214, 220, 208, 0.9) !important;
  box-shadow: 0 6px 14px rgba(111, 134, 103, 0.05) !important;
}

/* -------------------------
   Mobile
   ------------------------- */
@media (max-width: 767px) {
  .contact-widget .contact-widget-label a {
    border-radius: 14px 0 0 14px !important;
    box-shadow: -6px 10px 20px rgba(27, 34, 30, 0.12) !important;
  }

  .contact-widget .contact-widget-label a i,
  .contact-widget .contact-widget-label a .contact-widget-icon {
    font-size: 1.2rem !important;
  }

  .contact-widget-content {
    border-radius: 14px 0 0 14px !important;
  }
}


 /* =========================================================
   CONTACT WIDGET – CAPTCHA GEZIELT ANPASSEN
   für HTabScroll / table.ColP / UserCaptcha
   ========================================================= */

/* Captcha-Label */
.contact-widget #captcha-lbl {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  line-height: 1.35 !important;
  min-height: 0 !important;
  margin: 10px 0 8px 0 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #2f3b34 !important;
}

/* Wrapper nicht rechts quetschen */
.contact-widget .HTabScroll {
  display: block !important;
  width: 100% !important;
  overflow: visible !important;
}

/* Tabelle für Captcha-Zeile */
.contact-widget .HTabScroll table.ColP {
  float: none !important;
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

/* Allgemeine Zellen-Ausrichtung */
.contact-widget .HTabScroll table.ColP td {
  vertical-align: middle !important;
  padding: 0 !important;
}

/* Abstandszelle kleiner */
.contact-widget .HTabScroll table.ColP td[style*="width:20px"] {
  width: 10px !important;
}

/* Captcha-Bild-Container */
.contact-widget .HTabScroll table.ColP td:first-child > div {
  width: 150px !important;
  height: 56px !important;
  padding: 0 !important;
  background: #8f99a8 !important;
  border-radius: 14px 0 0 14px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 18px rgba(111, 134, 103, 0.08) !important;
}

/* Captcha-Bild selbst */
.contact-widget .HTabScroll table.ColP td:first-child img#ImgCaptcha3,
.contact-widget .HTabScroll table.ColP td:first-child img[src*="Captcha2.php"] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Reload-Zelle */
.contact-widget .HTabScroll table.ColP td:nth-child(2) > div {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #002366 !important;
  border: 0 !important;
  border-radius: 0 14px 14px 0 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 18px rgba(12, 47, 122, 0.12) !important;
}

/* Reload-SVG */
.contact-widget .HTabScroll table.ColP td:nth-child(2) svg {
  width: 26px !important;
  height: 26px !important;
  display: block !important;
}

/* Input-Zelle */
.contact-widget .HTabScroll table.ColP td:last-child {
  width: 100% !important;
}

/* Captcha-Input */
.contact-widget input[name="UserCaptcha"],
.contact-widget #field14 {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 56px !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(206, 212, 201, 0.95) !important;
  background: #ffffff !important;
  box-shadow:
    inset 0 1px 2px rgba(27, 34, 30, 0.03),
    0 8px 18px rgba(111, 134, 103, 0.05) !important;
  color: #2f3b34 !important;
  font-size: 1rem !important;
}

.contact-widget input[name="UserCaptcha"]:focus,
.contact-widget #field14:focus {
  outline: none !important;
  border-color: rgba(141, 189, 40, 0.72) !important;
  box-shadow:
    0 0 0 3px rgba(141, 189, 40, 0.10),
    inset 0 1px 2px rgba(27, 34, 30, 0.03) !important;
}

/* Mobile */
@media (max-width: 767px) {
  .contact-widget .HTabScroll table.ColP td:first-child > div {
    height: 48px !important;
    border-radius: 12px 0 0 12px !important;
  }

  .contact-widget .HTabScroll table.ColP td:nth-child(2) > div {
    width: 48px !important;
    height: 48px !important;
    border-radius: 0 12px 12px 0 !important;
  }

  .contact-widget input[name="UserCaptcha"],
  .contact-widget #field14 {
    height: 48px !important;
    min-height: 48px !important;
    border-radius: 12px !important;
    padding: 0 14px !important;
  }
}

/* =========================================================
   CONTACT WIDGET – CAPTCHA OPTIK WIE BEWERBUNGSFORMULAR
   Nur Captcha-Design
   ========================================================= */

.contact-widget #captcha-lbl {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 10px 0 8px 0 !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #2f3b34 !important;
}

.contact-widget .HTabScroll {
  display: block !important;
  width: 100% !important;
  overflow: visible !important;
}

.contact-widget .HTabScroll table.ColP {
  float: none !important;
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
}

.contact-widget .HTabScroll table.ColP tr {
  display: flex !important;
  align-items: center !important;
}

.contact-widget .HTabScroll table.ColP td {
  padding: 0 !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

/* Abstandszelle ausblenden/komprimieren */
.contact-widget .HTabScroll table.ColP td[style*="width:20px"] {
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  overflow: hidden !important;
}

/* Captcha links */
.contact-widget .HTabScroll table.ColP td:first-child {
  flex: 0 0 140px !important;
  width: 140px !important;
  min-width: 140px !important;
  max-width: 140px !important;
}

.contact-widget .HTabScroll table.ColP td:first-child > div {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  height: 50px !important;
  padding: 6px 8px !important;
  background: #97a0b0 !important;
  border-radius: 10px 0 0 10px !important;
  box-shadow: inset 0 0 0 1px rgba(180, 196, 169, 0.52) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.contact-widget .HTabScroll table.ColP td:first-child img#ImgCaptcha3,
.contact-widget .HTabScroll table.ColP td:first-child img[src*="Captcha2.php"] {
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  object-fit: cover !important;
}

/* Reload mittig wie Bewerbungsformular */
.contact-widget .HTabScroll table.ColP td:nth-child(2) {
  flex: 0 0 46px !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
}

.contact-widget .HTabScroll table.ColP td:nth-child(2) > div {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #95c11f !important;
  border: 0 !important;
  border-left: 1px solid rgba(255,255,255,0.16) !important;
  border-right: 1px solid rgba(221, 227, 216, 0.95) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.contact-widget .HTabScroll table.ColP td:nth-child(2) svg {
  width: 15px !important;
  height: 15px !important;
  display: block !important;
}

/* Input rechts */
.contact-widget .HTabScroll table.ColP td:last-child {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.contact-widget input[name="UserCaptcha"],
.contact-widget #field14 {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 0 10px 10px 0 !important;
  background: rgba(255,255,255,0.98) !important;
  color: #233028 !important;
  font-size: 0.96rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  box-sizing: border-box !important;
  box-shadow: inset 0 0 0 1px rgba(180, 196, 169, 0.52) !important;
}

.contact-widget input[name="UserCaptcha"]:focus,
.contact-widget #field14:focus {
  outline: none !important;
  box-shadow:
    inset 0 0 0 1px rgba(141, 189, 40, 0.88),
    0 0 0 4px rgba(141, 189, 40, 0.12) !important;
  position: relative;
  z-index: 2;
}

/* Mobile wie beim Formular kompakter */
@media (max-width: 767px) {
  .contact-widget .HTabScroll table.ColP td:first-child {
    flex: 0 0 128px !important;
    width: 128px !important;
    min-width: 128px !important;
    max-width: 128px !important;
  }

  .contact-widget .HTabScroll table.ColP td:first-child > div {
    width: 128px !important;
    min-width: 128px !important;
    max-width: 128px !important;
    height: 44px !important;
    padding: 5px 7px !important;
    border-radius: 10px 0 0 10px !important;
  }

  .contact-widget .HTabScroll table.ColP td:first-child img#ImgCaptcha3,
  .contact-widget .HTabScroll table.ColP td:first-child img[src*="Captcha2.php"] {
    height: 30px !important;
  }

  .contact-widget .HTabScroll table.ColP td:nth-child(2) {
    flex: 0 0 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
  }

  .contact-widget .HTabScroll table.ColP td:nth-child(2) > div {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 44px !important;
  }

  .contact-widget .HTabScroll table.ColP td:nth-child(2) svg {
    width: 14px !important;
    height: 14px !important;
  }

  .contact-widget input[name="UserCaptcha"],
  .contact-widget #field14 {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 10px !important;
    font-size: 0.93rem !important;
    border-radius: 0 10px 10px 0 !important;
  }
}
