/*
Theme Name: Personal Training Schmitt Child
Template: hello-elementor
Version: 1.0.0
*/

:root {
  --color-primary: #F5BD05;
  --color-primary-dark: #040404;
  --color-accent: #F5BD05;
  --color-cta: #F5BD05;
  --color-background: #fefefe;
  --color-bg-alt: #eaeced;
  --color-text: #030202;
  --color-text-muted: #201d19;
  --color-text-ondark: #fefefe;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-max: 1406px;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; font-family: var(--font-body); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); }

.elementor-invisible { visibility: visible !important; }
.elementor-button { transition: background-color 0.2s, transform 0.2s; cursor: pointer; }
.elementor-button:hover { transform: translateY(-2px); }

@media (max-width: 767px) {
  .e-con { flex-wrap: wrap !important; }
  .e-con > .e-con { width: 100% !important; }
}

/* About section: 2-column layout (image left, text right) */
#about > .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 40px;
  align-items: center;
}
#about > .e-con-inner > .e-con {
  width: calc(50% - 20px) !important;
  min-width: 300px;
  flex: 0 0 calc(50% - 20px);
}
#about > .e-con-inner > .e-con:first-child img {
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
@media (max-width: 767px) {
  #about > .e-con-inner {
    flex-direction: column !important;
  }
  #about > .e-con-inner > .e-con {
    width: 100% !important;
    flex: 0 0 100%;
  }
}

/* Hero overlay: left-side gradient for text readability */
#home .elementor-background-overlay,
.elementor-element[data-id] .elementor-background-overlay {
  background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.7) 40%, rgba(10,10,10,0.1) 70%, transparent 100%) !important;
}

/* =====================================================
   TERMINBUCHUNG FORMULAR STYLES
   ===================================================== */

.booking-container {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.booking-title {
  text-align: center;
  font-size: 42px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 12px;
  font-family: "Inter", sans-serif;
}

.booking-subtitle {
  text-align: center;
  color: #666;
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Contact Form 7 Styling */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wpcf7-form p {
  margin: 0 !important;
}

.wpcf7-form-control-wrap {
  display: block;
}

/* Input Fields */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100% !important;
  padding: 14px 18px !important;
  border: 2px solid #e8e8e8 !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-family: "Inter", sans-serif !important;
  transition: all 0.2s ease !important;
  background: #fafafa !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none !important;
  border-color: #f5bd05 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(245,189,5,0.1) !important;
}

/* Select Dropdown */
.wpcf7-form select {
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 40px !important;
}

/* Textarea */
.wpcf7-form textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

/* Checkbox / Acceptance */
.wpcf7-form .wpcf7-acceptance {
  display: block !important;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 16px !important;
  background: #f8f9fa !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  color: #555 !important;
  margin: 0 !important;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  margin-top: 2px !important;
  width: 18px !important;
  height: 18px !important;
  accent-color: #f5bd05 !important;
  flex-shrink: 0 !important;
}

/* Submit Button */
.wpcf7-form input[type="submit"],
.wpcf7-submit {
  width: 100% !important;
  padding: 18px 32px !important;
  background: linear-gradient(135deg, #f5bd05 0%, #e5ac00 100%) !important;
  color: #1a1a2e !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-top: 10px !important;
  display: block !important;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(245,189,5,0.4) !important;
}

.wpcf7-form input[type="submit"]:active,
.wpcf7-submit:active {
  transform: translateY(0) !important;
}

/* Response Messages */
.wpcf7-response-output {
  border-radius: 10px !important;
  padding: 16px !important;
  margin-top: 20px !important;
  text-align: center !important;
  border: none !important;
}

.wpcf7-response-output.wpcf7-validation-errors {
  background: #ffe5e5 !important;
  color: #c53030 !important;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
  background: #e6ffed !important;
  color: #276749 !important;
}

/* Hidden Fields */
.wpcf7-form .hidden-fields-container {
  display: none !important;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .booking-container {
    margin: 20px auto !important;
    padding: 24px !important;
    border-radius: 12px !important;
  }
  
  .booking-title {
    font-size: 32px !important;
  }
  
  .booking-subtitle {
    font-size: 15px !important;
  }
  
  .wpcf7-form input[type="submit"],
  .wpcf7-submit {
    padding: 16px 24px !important;
    font-size: 16px !important;
  }
}

/* Fix for CF7 br tags */
.wpcf7-form br {
  display: none !important;
}
