/* Seitenlayout */
.tg-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tg-hero {
  background: linear-gradient(135deg, #2d3136 0%, #434a52 100%);
  color: #ffffff;
  padding: 110px 20px;
  text-align: center;
}

.tg-hero h1 {
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 20px;
}

.tg-hero p {
  max-width: 760px;
  margin: 0 auto 30px;
  font-size: 20px;
  line-height: 1.6;
}

.tg-btn {
  display: inline-block;
  background: #35b44a;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  transition: 0.2s ease;
}

.tg-btn:hover {
  background: #2c9b3f;
  color: #ffffff;
}

.tg-benefits,
.tg-products,
.tg-about,
.tg-contact {
  padding: 70px 20px;
}

.tg-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tg-card,
.tg-product {
  background: #ffffff;
}

.tg-card h3,
.tg-product h3,
.tg-about h2,
.tg-products h2,
.tg-contact h2 {
  margin-top: 0;
  color: #1f252b;
}

.tg-card p,
.tg-product p,
.tg-about p,
.tg-contact p,
.tg-intro {
  color: #4b5560;
  line-height: 1.7;
}

.tg-intro {
  max-width: 780px;
  margin-bottom: 35px;
}

.tg-product img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 18px;
}

.tg-about {
  background: #f7f8f9;
}

.tg-contact {
  text-align: center;
  background: #ffffff;
}

.tg-contact p {
  margin-bottom: 25px;
}

@media (max-width: 900px) {
  .tg-grid-3 {
    grid-template-columns: 1fr;
  }

  .tg-hero h1 {
    font-size: 34px;
  }

  .tg-hero p {
    font-size: 18px;
  }

  .tg-product img {
    height: 220px;
  }
}

/* Kontaktformular */
.wpcf7 form {
  max-width: 760px;
  margin: 40px auto 80px auto;
}

.wpcf7 p {
  margin-bottom: 20px;
}

.wpcf7 label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  background: #ffffff;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #1a7f4b;
  box-shadow: 0 0 0 3px rgba(26, 127, 75, 0.15);
}

.wpcf7 input[type="submit"] {
  background: #1a7f4b;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
}

/* FORCE STYLE für Contact Form 7 */
.wpcf7 input,
.wpcf7 textarea {
  background: #ffffff !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  width: 100% !important;
  box-sizing: border-box;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #1a7f4b !important;
  box-shadow: 0 0 0 3px rgba(26, 127, 75, 0.15) !important;
  outline: none !important;
}

.wpcf7 input[type="submit"] {
  background: #1a7f4b !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  cursor: pointer;
}

/* Formularfelder */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
form.wpcf7-form input[type="text"],
form.wpcf7-form input[type="email"],
form.wpcf7-form input[type="tel"],
form.wpcf7-form textarea {
  background-color: #ffffff !important;
  background-image: none !important;
  color: #333333 !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
  background-color: #ffffff !important;
  border-color: #1a7f4b !important;
  box-shadow: 0 0 0 3px rgba(26, 127, 75, 0.15) !important;
  outline: none !important;
}

.wpcf7-form input[type="submit"],
.wpcf7 input[type="submit"],
form.wpcf7-form input[type="submit"] {
  background: #1a7f4b !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  cursor: pointer !important;
  width: auto !important;
}

/* Theme-Stile für Formularfelder */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-textarea {
  background-color: #ffffff !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  color: #333 !important;
}

.wpcf7-form-control:focus {
  border-color: #1a7f4b !important;
  box-shadow: 0 0 0 3px rgba(26, 127, 75, 0.15) !important;
  outline: none !important;
}

.wpcf7-form-control.wpcf7-submit {
  background: #1a7f4b !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
}

/* Kontaktformular auf der Impressumsseite */
body.page-id-574 input:not([type="submit"]),
body.page-id-574 textarea {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #233127 !important;
  -webkit-text-fill-color: #233127 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 1px solid rgba(0, 0, 0, 0.14) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05) !important;
  padding: 16px 18px !important;
  font-size: 16px !important;
}

body.page-id-574 textarea {
  min-height: 240px !important;
}

body.page-id-574 input[type="submit"],
body.page-id-574 button[type="submit"] {
  background: linear-gradient(135deg, #149447, #1db058) !important;
  background-color: #149447 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 15px 34px !important;
  font-weight: 700 !important;
  width: auto !important;
}

/* Untermenüs: Produkte und Einsatzbereiche */
#site-navigation .menu-item-2264 > .sub-menu,
#site-navigation .menu-item-2149 > .sub-menu {
  background: #ffffff;
  padding: 8px 0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

#site-navigation .menu-item-2264 > .sub-menu a,
#site-navigation .menu-item-2149 > .sub-menu a {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: normal;
  padding: 12px 20px;
  color: #333333;
  white-space: normal;
}

#site-navigation .menu-item-2264 > .sub-menu a::before,
#site-navigation .menu-item-2149 > .sub-menu a::before {
  content: none;
}

#site-navigation .menu-item-2264 > .sub-menu a:hover,
#site-navigation .menu-item-2264 > .sub-menu a:focus-visible,
#site-navigation .menu-item-2149 > .sub-menu a:hover,
#site-navigation .menu-item-2149 > .sub-menu a:focus-visible {
  background: #e8f4eb;
  color: #167b40;
}

@media (min-width: 560px) {
  #site-navigation .menu-item-2264 > .sub-menu,
  #site-navigation .menu-item-2149 > .sub-menu {
    width: 280px;
    min-width: 0;
  }
}