/* =========================================================
   FUnten.css
   Kompakter moderner Footer mit responsivem Formular/Captcha
   ========================================================= */

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

.footer-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.footer-fullwidth {
  width: 100%;
  min-width: 0 !important;
}

.tmpl_footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(141, 189, 40, 0.10), transparent 22%),
    linear-gradient(135deg, rgb(29, 40, 24) 0%, rgb(17, 24, 15) 100%);
  color: rgba(255, 255, 255, 0.92);
}

.tmpl_footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
}

.footer-top-shell,
.footer-bottom-shell {
  position: relative;
  z-index: 1;
}

.footer-top-shell {
  padding-top: 24px;
  padding-bottom: 12px;
}

.footer-bottom-shell {
  padding-top: 10px;
  padding-bottom: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* =========================================================
   TOP GRID
   ========================================================= */

.footer-top-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.footer-contact-col {
  flex: 0 0 240px !important;
  width: 240px !important;
  max-width: 240px !important;
  margin: 0 !important;
  min-width: 0;
  display: flex;
  align-items: flex-start;
}

.footer-form-col {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  min-width: 0;
}

/* =========================================================
   KONTAKT
   ========================================================= */

.footer-contact-card {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.footer-contact-card h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

.footer-contact-card p {
  margin: 0 0 6px;
  color: rgba(255,255,255,0.80);
  line-height: 1.5;
  font-size: 0.9rem;
  word-break: break-word;
}

.footer-contact-card p:last-child {
  margin-bottom: 0;
}

.footer-contact-card strong {
  color: rgb(195, 222, 132);
}

.footer-contact-card a {
  color: rgba(255,255,255,0.94);
  text-decoration: none;
  word-break: break-word;
}

.footer-contact-card a:hover {
  color: rgb(195, 222, 132);
  text-decoration: underline;
}

/* =========================================================
   FORM CARD
   ========================================================= */

.footer-form-card {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.045));
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 10px 24px rgba(8, 12, 10, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-form-intro {
  margin-bottom: 10px;
}

.footer-form-intro h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.25;
}

.footer-form-intro p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
  font-size: 0.88rem;
}

/* =========================================================
   FORM
   ========================================================= */

.footer-modern-form {
  width: 100%;
}

.footer-modern-form .visCSSlabel {
  display: block !important;
  margin-bottom: 5px;
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-form-row {
  margin-bottom: 8px;
}

.footer-modern-form input[type="text"],
.footer-modern-form input[type="email"],
.footer-modern-form textarea,
.footer-captcha-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.97);
  color: #243027;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.footer-modern-form input[type="text"]:focus,
.footer-modern-form input[type="email"]:focus,
.footer-modern-form textarea:focus,
.footer-captcha-input:focus {
  border-color: rgba(141, 189, 40, 0.9);
  box-shadow: 0 0 0 3px rgba(141, 189, 40, 0.12);
}

.footer-modern-form textarea {
  min-height: 74px;
  resize: vertical;
}

.footer-modern-form .fc-tbxfield12,
.footer-modern-form .fc-tbxfield15,
.footer-modern-form .fc-tbxfield14,
.footer-modern-form .fc-tbxfield31,
.footer-modern-form .fc-tbxfield16,
.footer-modern-form .fc-tbxfield18 {
  min-height: 0;
}

/* =========================================================
   DATENSCHUTZ
   ========================================================= */

.footer-datenschutz-text p {
  margin: 0 0 6px;
  color: rgba(255,255,255,0.70);
  font-size: 0.8rem;
  line-height: 1.45;
}

.footer-datenschutz-text a,
.footer-checkbox-label a {
  color: rgb(195, 222, 132);
  text-decoration: underline;
}

.footer-checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0 !important;
  color: rgba(255,255,255,0.86);
  line-height: 1.42;
  font-size: 0.84rem;
}

.footer-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

/* =========================================================
   CAPTCHA
   ========================================================= */

.footer-captcha-row {
  margin-top: 10px;
  margin-bottom: 10px;
}

.footer-captcha-wrap {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 360px;
  min-width: 0;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(224, 229, 220, 0.92);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(8, 12, 10, 0.08);
}

.footer-captcha-image-wrap {
  flex: 0 0 150px;
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  background: #97a0b0;
  overflow: hidden;
}

.footer-captcha-image-wrap img {
  display: block;
  width: 100%;
  height: 50px;
  object-fit: cover;
}

.footer-captcha-reload {
  flex: 0 0 46px;
  width: 46px;
  min-width: 46px;
  height: 50px;
  border: 0;
  cursor: pointer;
  background: #95c11f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,0.16);
  border-right: 1px solid rgba(221, 227, 216, 0.95);
  transition: filter 0.2s ease;
}

.footer-captcha-reload:hover {
  filter: brightness(1.04);
}

.footer-captcha-reload svg {
  width: 18px;
  height: 18px;
}

.footer-captcha-input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  max-width: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 14px !important;
  height: 50px;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.9rem;
  color: #243027;
}

.footer-captcha-input::placeholder {
  color: #8d9398;
  opacity: 1;
}

.footer-captcha-input:focus {
  background: rgba(255,255,255,0.98) !important;
  box-shadow: inset 0 0 0 2px rgba(141, 189, 40, 0.14) !important;
}

/* =========================================================
   ACTIONS
   ========================================================= */

.footer-form-actions {
  margin-top: 6px;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  height: auto !important;
}

.footer-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1e2a1d !important;
  background: linear-gradient(135deg, rgb(195, 222, 132) 0%, rgb(141, 189, 40) 100%) !important;
  box-shadow: 0 8px 16px rgba(141, 189, 40, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.footer-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(141, 189, 40, 0.18);
  filter: brightness(1.02);
}

#SendMeld {
  margin-bottom: 6px;
  color: rgba(255,255,255,0.92);
  font-size: 0.86rem;
}

/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.footer-links-col {
  flex: 0 1 auto !important;
  width: auto !important;
  margin: 0 !important;
  min-width: 0;
}

.footer-copy-col {
  flex: 1 1 auto !important;
  margin: 0 !important;
  min-width: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.footer-links li {
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 11px;
  border-radius: 8px;
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
}

.footer-links a:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.10);
  color: #ffffff;
}

.footer-links a:focus {
  outline: none;
  background: rgba(255,255,255,0.08);
  border-color: rgba(195, 222, 132, 0.35);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(141, 189, 40, 0.14);
}

.footer-links li.active a,
.footer-links li.current a {
  color: #ffffff;
  background: rgba(141, 189, 40, 0.10);
  border-color: rgba(141, 189, 40, 0.16);
}

.footer-copy-col p {
  margin: 0;
  text-align: right;
  color: rgba(255,255,255,0.66);
  line-height: 1.45;
  font-size: 0.85rem;
  word-break: break-word;
}

/* =========================================================
   COOKIE BAR
   ========================================================= */

.footer-cookie-bar {
  position: fixed;
  z-index: 80000;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  background: rgba(20, 28, 18, 0.97);
  color: #fff;
  box-shadow: 0 -8px 18px rgba(0,0,0,0.16);
}

.footer-cookie-bar form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.4;
}

.footer-cookie-bar a {
  color: #fff;
}

.footer-cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  background: #fff;
  color: #1f2b1d;
  font-weight: 600;
  font-size: 0.86rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1399px) {
  .footer-contact-col {
    flex: 0 0 220px !important;
    width: 220px !important;
    max-width: 220px !important;
  }
}

@media (max-width: 1199px) {
  .footer-top-grid {
    gap: 16px;
  }

  .footer-contact-col {
    flex: 0 0 205px !important;
    width: 205px !important;
    max-width: 205px !important;
  }

  .footer-form-card {
    padding: 15px 14px;
  }
}

@media (max-width: 991px) {
  .footer-top-grid {
    flex-wrap: wrap !important;
  }

  .footer-contact-col,
  .footer-form-col {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .footer-bottom-grid {
    flex-wrap: wrap !important;
    align-items: flex-start;
  }

  .footer-links-col,
  .footer-copy-col {
    width: 100% !important;
    flex: 1 1 100% !important;
  }

  .footer-copy-col p {
    text-align: left;
    margin-top: 4px;
  }
}

@media (max-width: 767px) {
  .footer-top-shell {
    padding-top: 20px;
    padding-bottom: 12px;
  }

  .footer-bottom-shell {
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .footer-form-card {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .footer-form-intro h4,
  .footer-contact-card h4 {
    font-size: 0.98rem;
  }

  .footer-form-intro p,
  .footer-contact-card p,
  .footer-checkbox-label,
  .footer-datenschutz-text p {
    font-size: 0.83rem;
  }

  .footer-modern-form .visCSSlabel {
    font-size: 0.8rem;
  }

  .footer-modern-form input[type="text"],
  .footer-modern-form input[type="email"],
  .footer-modern-form textarea,
  .footer-captcha-input {
    font-size: 16px;
  }

  .footer-modern-form textarea {
    min-height: 68px;
  }

  .footer-captcha-wrap {
    max-width: 100%;
    width: 100%;
  }

  .footer-captcha-image-wrap {
    flex: 0 0 132px;
    width: 132px;
    min-width: 132px;
    max-width: 132px;
  }

  .footer-captcha-image-wrap img {
    height: 48px;
  }

  .footer-captcha-reload {
    flex: 0 0 42px;
    width: 42px;
    min-width: 42px;
    height: 48px;
  }

  .footer-captcha-input {
    height: 48px;
    padding: 0 12px !important;
  }

  .footer-submit-btn {
    width: 100%;
    min-height: 38px;
    font-size: 0.88rem;
  }

  .footer-links {
    gap: 6px;
  }

  .footer-links a {
    width: 100%;
    justify-content: center;
  }

  .footer-cookie-bar {
    padding: 10px 12px;
  }
}

@media (max-width: 575px) {
  .footer-form-card {
    padding: 12px 10px;
    border-radius: 12px;
  }

  .footer-contact-card p,
  .footer-form-intro p,
  .footer-checkbox-label,
  .footer-datenschutz-text p,
  .footer-copy-col p,
  .footer-links a {
    font-size: 0.81rem;
  }

  .footer-modern-form textarea {
    min-height: 70px;
  }

  .footer-captcha-wrap {
    display: grid;
    grid-template-columns: 132px 42px 1fr;
    align-items: stretch;
  }

  .footer-captcha-image-wrap {
    width: 132px;
    min-width: 132px;
    max-width: 132px;
  }

  .footer-captcha-image-wrap img {
    height: 48px;
  }

  .footer-captcha-reload {
    width: 42px;
    min-width: 42px;
    height: 48px;
  }

  .footer-captcha-input {
    min-width: 0;
    width: 100% !important;
    max-width: none !important;
    height: 48px;
    font-size: 15px;
  }

  .footer-cookie-bar form {
    font-size: 0.83rem;
  }

  .footer-cookie-btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .footer-captcha-wrap {
    grid-template-columns: 118px 40px 1fr;
  }

  .footer-captcha-image-wrap {
    width: 118px;
    min-width: 118px;
    max-width: 118px;
  }

  .footer-captcha-image-wrap img {
    height: 46px;
  }

  .footer-captcha-reload {
    width: 40px;
    min-width: 40px;
    height: 46px;
  }

  .footer-captcha-input {
    height: 46px;
    padding: 0 10px !important;
    font-size: 14px;
  }
}

/* DESKTOP: etwas mehr Luft zwischen 2-spaltigen Formularfeldern */
@media (min-width: 992px) {
  .footer-modern-form .row-fluid.footer-form-row > .span6:first-child {
    padding-right: 10px;
  }

  .footer-modern-form .row-fluid.footer-form-row > .span6:last-child {
    padding-left: 10px;
  }
}


