/* RezepteChef Child — reprise de « KONTAKT PAGE » (Simple Custom CSS and JS n°1448).
*/

.rc-contact-page {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
  color: #111827;
  overflow: hidden;
}

body .site-content,
body .content-area,
body .entry-content,
body .page-content,
body .post-content,
body .elementor,
body .elementor-section,
body .elementor-container,
body .elementor-widget-wrap,
body .elementor-widget-shortcode,
body .elementor-shortcode,
body .elementor-widget-shortcode .elementor-widget-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.elementor .rc-contact-page,
.elementor-widget-shortcode,
.elementor-shortcode,
.elementor-widget-shortcode .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

.rc-contact-hero {
  position: relative;
  min-height: 500px;
  padding: 52px 20px 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  margin-top: 0 !important;
}

.rc-contact-hero-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}

.rc-contact-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.32) 46%, rgba(255,255,255,.06) 100%),
    linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.14) 58%, rgba(255,255,255,.95) 100%);
}

.rc-contact-hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  animation: rcContactFade .75s ease both;
}

.rc-contact-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #ff5a2a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(255,255,255,.85);
}

.rc-contact-hero-content h1 {
  margin: 0 0 20px;
  color: #111827;
  font-size: clamp(52px, 6vw, 82px);
  line-height: .96;
  font-weight: 950;
  letter-spacing: -.06em;
  text-shadow: 0 3px 22px rgba(255,255,255,.88);
}

.rc-contact-hero-content p {
  max-width: 590px;
  margin: 0 auto;
  color: #263241;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.75;
  font-weight: 550;
  text-shadow: 0 2px 18px rgba(255,255,255,.90);
}

.rc-contact-wrap {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1240px;
  margin: -62px auto 100px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(330px, 0.85fr) minmax(560px, 1.35fr);
  gap: 30px;
  align-items: stretch;
  animation: rcContactFade .85s ease .08s both;
}

.rc-contact-info,
.rc-contact-form {
  min-width: 0;
  border-radius: 30px;
  padding: 44px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 28px 70px rgba(17,24,39,.08);
}

.rc-contact-info {
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,248,244,.98));
}

.rc-contact-form {
  background: rgba(255,255,255,.99);
}

.rc-contact-badge {
  width: auto !important;
  height: auto !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex-shrink: 0 !important;
}

.rc-contact-badge-icon {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  color: #ff5a2a !important;
  border: 1.5px solid #ff5a2a !important;
  box-shadow: 0 8px 18px rgba(255, 90, 42, 0.10) !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

.rc-contact-badge-icon svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.55 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  transform: none !important;
}

.rc-contact-badge-icon svg path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.55 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.rc-contact-info h2,
.rc-contact-form h2 {
  margin: 0 0 18px;
  color: #111827;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -.045em;
}

.rc-contact-info p {
  max-width: 460px;
  margin: 0 0 30px;
  color: #667085;
  font-size: 16px;
  line-height: 1.75;
}

.rc-contact-item {
  margin-top: 28px;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(17,24,39,.07);
  box-shadow: 0 16px 38px rgba(17,24,39,.06);
}

.rc-contact-item strong {
  display: block;
  margin-bottom: 8px;
  color: #ff5a2a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rc-contact-item a {
  display: inline-block;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 950;
  text-decoration: none;
  word-break: break-word;
}

.rc-contact-item a:hover {
  color: #ff5a2a;
}

.rc-contact-form .wpforms-container,
.rc-contact-form .wpforms-form {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rc-contact-form .wpforms-field {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 0 19px !important;
  clear: both !important;
}

.rc-contact-form .wpforms-field-label {
  margin-bottom: 8px !important;
  color: #111827 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.rc-contact-form .wpforms-required-label {
  color: #ff5a2a !important;
}

.rc-contact-form input,
.rc-contact-form textarea,
.rc-contact-form select {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 52px !important;
  padding: 15px 17px !important;
  border: 1px solid rgba(17,24,39,.12) !important;
  border-radius: 15px !important;
  background: #fbfbfb !important;
  color: #111827 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.rc-contact-form textarea {
  min-height: 175px !important;
  resize: vertical !important;
}

.rc-contact-form input:focus,
.rc-contact-form textarea:focus,
.rc-contact-form select:focus {
  outline: none !important;
  border-color: #ff5a2a !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(255,90,42,.10) !important;
}

.rc-contact-form .wpforms-submit-container {
  padding-top: 8px !important;
}

.rc-contact-form .wpforms-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 14px 38px !important;
  border: none !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ff5a2a, #ff7845) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  box-shadow: 0 14px 28px rgba(255,90,42,.26) !important;
  cursor: pointer !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

.rc-contact-form .wpforms-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(255,90,42,.34) !important;
}

@keyframes rcContactFade {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .rc-contact-wrap {
    max-width: 820px;
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  .rc-contact-info,
  .rc-contact-form {
    padding: 42px;
  }
}

@media (max-width: 700px) {
  .rc-contact-hero {
    min-height: 470px !important;
    padding: 62px 16px 82px !important;
    align-items: flex-start !important;
  }

  .rc-contact-hero-img {
    content: url("https://rezeptechef.com/wp-content/uploads/2026/06/kontakt-hero-mobile.png");
    object-position: center top !important;
    transform: scale(1) !important;
  }

  .rc-contact-hero-overlay {
    background:
      linear-gradient(180deg, rgba(255,255,255,.54) 0%, rgba(255,255,255,.30) 45%, rgba(255,255,255,.96) 100%) !important;
  }

  .rc-contact-hero-content {
    max-width: 340px !important;
    padding-top: 28px !important;
    margin: 0 auto !important;
  }

  .rc-contact-kicker {
    margin-bottom: 9px !important;
    font-size: 11px !important;
    letter-spacing: .16em !important;
  }

  .rc-contact-hero-content h1 {
    margin-bottom: 12px !important;
    font-size: 44px !important;
    line-height: .98 !important;
  }

  .rc-contact-hero-content p {
    max-width: 315px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .rc-contact-wrap {
    max-width: 100% !important;
    margin: -44px auto 70px !important;
    padding: 0 16px !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .rc-contact-info,
  .rc-contact-form {
    padding: 28px 22px !important;
    border-radius: 24px !important;
  }

  .rc-contact-badge {
    margin-bottom: 18px !important;
  }

  .rc-contact-badge-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    border-radius: 13px !important;
  }

  .rc-contact-badge-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .rc-contact-info h2,
  .rc-contact-form h2 {
    margin-bottom: 15px !important;
    font-size: 29px !important;
    line-height: 1.08 !important;
  }

  .rc-contact-info p {
    margin-bottom: 24px !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  .rc-contact-item {
    margin-top: 24px !important;
    padding: 20px !important;
    border-radius: 18px !important;
  }

  .rc-contact-item a {
    font-size: 16px !important;
  }

  .rc-contact-form input,
  .rc-contact-form textarea,
  .rc-contact-form select {
    min-height: 50px !important;
    border-radius: 14px !important;
    font-size: 15px !important;
  }

  .rc-contact-form textarea {
    min-height: 155px !important;
  }

  .rc-contact-form .wpforms-submit {
    width: 100% !important;
    min-height: 52px !important;
  }
}

@media (max-width: 390px) {
  .rc-contact-hero {
    min-height: 450px !important;
    padding: 56px 14px 76px !important;
  }

  .rc-contact-hero-content {
    max-width: 320px !important;
    padding-top: 24px !important;
  }

  .rc-contact-hero-content h1 {
    font-size: 42px !important;
  }

  .rc-contact-hero-content p {
    max-width: 300px !important;
  }

  .rc-contact-wrap {
    margin-top: -40px !important;
    padding: 0 12px !important;
  }

  .rc-contact-info,
  .rc-contact-form {
    padding: 28px 18px !important;
  }

  .rc-contact-badge-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
  }

  .rc-contact-badge-icon svg {
    width: 17px !important;
    height: 17px !important;
  }
}
