
/* =========================
   WRAPPER
========================= */
.neeb-contact-form{
  position:relative;
  overflow:hidden;
  padding:36px 0;
}

.neeb-contact-form::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top left, rgba(8,72,99,.08), transparent 30%),
    linear-gradient(180deg, #eef4f8 0%, #f8fbfd 100%);
  z-index:0;
  pointer-events:none;
}

.neeb-contact-form .elementor-container,
.neeb-contact-form .elementor-column,
.neeb-contact-form .elementor-widget-wrap{
  position:relative;
  z-index:1;
}

/* =========================
   HEADLINES
========================= */
.neeb-contact-form h2,
.neeb-contact-form .elementor-heading-title{
  color:#0f172a;
  letter-spacing:-.03em;
}

.neeb-contact-form h2{
  font-size:clamp(34px, 4vw, 58px);
  line-height:1.04;
  font-weight:800;
  margin-bottom:8px;
}

.neeb-contact-form h3,
.neeb-contact-form .elementor-widget-heading:nth-of-type(2) .elementor-heading-title{
  font-size:clamp(22px, 2.2vw, 34px);
  line-height:1.15;
  color:#0b5f80;
  font-weight:500;
}

/* =========================
   FORM CARD / GESAMTRAHMEN
========================= */
.neeb-contact-form .elementor-widget-form{
  display:flex;
  justify-content:center;
}

.neeb-contact-form .elementor-widget-form .elementor-widget-container{
  position:relative;
  width:100%;
  max-width:980px;
  padding:34px 34px 28px;
  border-radius:32px;
  background:linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
  border:1.5px solid rgba(8,72,99,.14);
  box-shadow:
    0 30px 80px rgba(15,23,42,.10),
    0 8px 20px rgba(15,23,42,.04);
  overflow:hidden;
}

.neeb-contact-form .elementor-widget-form .elementor-widget-container::after{
  content:"";
  position:absolute;
  right:-40px;
  bottom:-40px;
  width:260px;
  height:260px;
  background:url("https://steuerberatung-neeb.de/wp-content/uploads/2023/06/logo_neeb_wasserzeichen_full.webp") no-repeat center/contain;
  opacity:.04;
  pointer-events:none;
}

/* =========================
   FORM FIELDS
========================= */
.neeb-contact-form .elementor-field-group{
  margin-bottom:14px;
}

.neeb-contact-form input,
.neeb-contact-form textarea,
.neeb-contact-form select{
  width:100%;
  min-height:58px;
  padding:16px 18px !important;

  background:linear-gradient(180deg, #eef5f9 0%, #e7f0f6 100%) !important;
  border:1.5px solid rgba(8,72,99,.22) !important;
  border-radius:18px !important;

  color:#0f172a !important;
  font-size:16px !important;
  font-weight:500;
  line-height:1.5;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    0 1px 2px rgba(15,23,42,.03);

  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease,
    transform .2s ease;
}

.neeb-contact-form textarea{
  min-height:180px !important;
  padding-top:18px !important;
  resize:vertical;
}

.neeb-contact-form input::placeholder,
.neeb-contact-form textarea::placeholder,
.neeb-contact-form select{
  color:#6f8090 !important;
  opacity:1;
}

.neeb-contact-form input:hover,
.neeb-contact-form textarea:hover,
.neeb-contact-form select:hover{
  border-color:rgba(8,72,99,.30) !important;
  background:#f4f9fc !important;
}

.neeb-contact-form input:focus,
.neeb-contact-form textarea:focus,
.neeb-contact-form select:focus{
  background:#ffffff !important;
  border-color:#0b6b8d !important;
  box-shadow:
    0 0 0 4px rgba(11,107,141,.12),
    0 10px 22px rgba(11,107,141,.08) !important;
  outline:none !important;
  transform:translateY(-1px);
}

/* etwas saubererer Abstand im Formular */
.neeb-contact-form .e-form__indicators,
.neeb-contact-form .elementor-form-fields-wrapper{
  row-gap:0;
}

/* =========================
   ACCEPTANCE / DATENSCHUTZ
========================= */
.neeb-contact-form .elementor-field-type-acceptance{
  margin-top:8px;
}

.neeb-contact-form .elementor-field-subgroup{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.neeb-contact-form input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  min-height:18px !important;
  margin-top:4px;
  border-radius:5px !important;
  border:1.5px solid rgba(8,72,99,.25) !important;
  box-shadow:none !important;
  accent-color:#0b6b8d;
}

.neeb-contact-form .elementor-field-type-acceptance label,
.neeb-contact-form label,
.neeb-contact-form .elementor-field-label{
  color:#334155 !important;
  font-size:15px;
  line-height:1.7;
  font-weight:500;
}

.neeb-contact-form .elementor-field-type-acceptance a{
  color:#0b5f80;
  text-decoration:none;
  border-bottom:1px solid rgba(11,95,128,.32);
}

.neeb-contact-form .elementor-field-type-acceptance a:hover{
  border-bottom-color:#0b5f80;
}

/* =========================
   BUTTON
========================= */
.neeb-contact-form .elementor-button,
.neeb-contact-form button[type="submit"]{
  min-width:240px;
  min-height:58px;
  padding:0 30px !important;
  border:none !important;
  border-radius:18px !important;

  background:linear-gradient(135deg, #084863 0%, #0b6b8d 100%) !important;
  color:#ffffff !important;
  font-size:16px !important;
  font-weight:800 !important;
  letter-spacing:.01em;

  box-shadow:
    0 18px 34px rgba(8,72,99,.24),
    inset 0 1px 0 rgba(255,255,255,.18);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

.neeb-contact-form .elementor-button:hover,
.neeb-contact-form button[type="submit"]:hover{
  transform:translateY(-2px);
  box-shadow:
    0 24px 42px rgba(8,72,99,.30),
    inset 0 1px 0 rgba(255,255,255,.18);
  filter:saturate(1.05);
}

.neeb-contact-form .elementor-button:active,
.neeb-contact-form button[type="submit"]:active{
  transform:translateY(0);
}

.neeb-contact-form .elementor-button .elementor-button-text{
  font-weight:800;
}

/* =========================
   RECAPTCHA
========================= */
/* RECAPTCHA FIX */
.neeb-contact-form .elementor-field-type-recaptcha{
  width:100%;
  overflow:hidden;
}

.neeb-contact-form .g-recaptcha{
  transform:scale(.92);
  transform-origin:left top;
  max-width:100%;
}

/* =========================
   MOBILE
========================= */

@media (max-width:767px){

  /* FORM volle Breite */
  .neeb-contact-form .elementor-widget-form .elementor-widget-container{
    max-width:100%;
    width:100%;
    padding:20px 16px 18px;
  }

  /* recaptcha extra skalieren */
  .neeb-contact-form .g-recaptcha{
    transform:scale(.85);
  }

}

@media (max-width:767px){

  .neeb-contact-form{
    padding:24px 0;
  }

  .neeb-contact-form .elementor-widget-form{
    width:100%;
  }

  .neeb-contact-form .elementor-widget-form .elementor-widget-container{
    width:100%;
    max-width:100%;
    padding:20px 16px 18px;
    border-radius:22px;
  }

  .neeb-contact-form h2{
    font-size:34px;
    line-height:1.08;
  }

  .neeb-contact-form h3,
  .neeb-contact-form .elementor-widget-heading:nth-of-type(2) .elementor-heading-title{
    font-size:22px;
    line-height:1.2;
  }
  
  .neeb-contact-form .elementor-container,
  .neeb-contact-form .elementor-column,
  .neeb-contact-form .elementor-widget-wrap{
    max-width:100%;
  }

  .neeb-contact-form input,
  .neeb-contact-form textarea,
  .neeb-contact-form select{
    min-height:54px;
    padding:14px 16px !important;
    border-radius:14px !important;
    font-size:15px !important;
  }

  .neeb-contact-form textarea{
    min-height:150px !important;
  }

  .neeb-contact-form .elementor-button,
  .neeb-contact-form button[type="submit"]{
    width:100%;
    min-width:0;
    min-height:54px;
    border-radius:14px !important;
  }

  .neeb-contact-form .elementor-field-type-acceptance label{
    font-size:14px;
    line-height:1.65;
  }

  .neeb-contact-form .elementor-widget-form .elementor-widget-container::after{
    width:180px;
    height:180px;
    right:-30px;
    bottom:-30px;
    opacity:.05;
  }

  /* RECAPTCHA FIX */
  .neeb-contact-form .elementor-field-type-recaptcha,
  .neeb-contact-form .elementor-field-group-recaptcha{
    width:100%;
    overflow:hidden;
    margin-top:8px;
    margin-bottom:10px;
  }

  .neeb-contact-form .elementor-field-type-recaptcha{
    display:flex;
    justify-content:flex-start;
  }

  .neeb-contact-form .g-recaptcha{
    transform:scale(.85);
    transform-origin:left top;
    max-width:100%;
  }
}

@media (max-width:767px){

  /* äußerer Formularbereich wirklich volle Breite */
  .neeb-contact-form,
  .neeb-contact-form .elementor-container,
  .neeb-contact-form .elementor-column,
  .neeb-contact-form .elementor-widget-wrap,
  .neeb-contact-form .elementor-widget-form,
  .neeb-contact-form .elementor-widget-form .elementor-widget-container,
  .neeb-contact-form form.elementor-form{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .neeb-contact-form .elementor-widget-form .elementor-widget-container{
    padding:20px 16px 18px !important;
    border-radius:22px !important;
    box-sizing:border-box !important;
  }

  .neeb-contact-form form.elementor-form{
    overflow:hidden !important;
  }

  .neeb-contact-form input,
  .neeb-contact-form textarea,
  .neeb-contact-form select{
    min-height:54px;
    padding:14px 16px !important;
    border-radius:14px !important;
    font-size:15px !important;
    box-sizing:border-box !important;
  }

  .neeb-contact-form textarea{
    min-height:150px !important;
  }

  .neeb-contact-form .elementor-button,
  .neeb-contact-form button[type="submit"]{
    width:100% !important;
    min-width:0 !important;
    min-height:54px;
    border-radius:14px !important;
  }

  /* recaptcha wrapper */
  .neeb-contact-form .elementor-field-type-recaptcha,
  .neeb-contact-form .elementor-field-group-recaptcha{
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
    display:block !important;
    margin-top:8px;
    margin-bottom:10px;
  }

  /* recaptcha selbst kleiner skalieren */
  .neeb-contact-form .g-recaptcha{
    transform:scale(0.86) !important;
    transform-origin:left top !important;
    -webkit-transform:scale(0.86) !important;
    -webkit-transform-origin:left top !important;
  }

  /* iframe zusätzlich begrenzen */
  .neeb-contact-form .g-recaptcha iframe{
    max-width:100% !important;
  }
}