/*
Theme Name:   BoatFox
Template:     hello-elementor
Description:  BoatFox Child Theme
Version:      1.0.0
*/

/* === BRAND COLORS ===
   Orange:        #E87722
   Orange Dark:   #C0591A
   Blue Light:    #EBF7FC  (sehr hell, fast weiß-blau)
   Blue Mid:      #48A9C8  (helles Meeresblau)
   Blue Dark:     #1A6B8A  (tiefes Teal, nicht zu dunkel)
   Nav/Hero:      #1C2E3A  (fast schwarz, maritim dunkel)
   White:         #FFFFFF
   Text:          #2C3E50
*/

:root {
  --bf-orange:     #E87722;
  --bf-orange-dark:#C0591A;
  --bf-blue-light: #EBF7FC;
  --bf-blue-mid:   #48A9C8;
  --bf-blue-dark:  #1A6B8A;
  --bf-nav:        #1C2E3A;
  --bf-white:      #FFFFFF;
  --bf-text:       #2C3E50;
  --bf-text-light: #6B7D8E;
}

/* === TYPOGRAPHY === */
body {
  font-family: 'Lato', sans-serif;
  color: var(--bf-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather Sans', sans-serif;
  font-weight: 700;
}

/* === BUTTONS === */
.bf-btn-primary {
  background-color: var(--bf-orange);
  color: var(--bf-white);
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

.bf-btn-primary:hover {
  background-color: var(--bf-orange-dark);
  color: var(--bf-white);
}

.bf-btn-secondary {
  background-color: transparent;
  color: var(--bf-white);
  padding: 13px 31px;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  border: 2px solid var(--bf-white);
}

.bf-btn-secondary:hover {
  background-color: var(--bf-white);
  color: var(--bf-blue-dark);
}

/* === NAV === */
.bf-nav {
  background: var(--bf-nav);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.bf-nav-logo {
  height: 44px;
  width: auto;
}

.bf-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.bf-nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.bf-nav-links a:hover {
  color: var(--bf-orange);
}

@media (max-width: 640px) {
  .bf-nav-links .nav-text { display: none; }
}

/* === HERO === */
.bf-hero {
  background: linear-gradient(160deg, var(--bf-nav) 0%, #1A4A60 60%, var(--bf-blue-dark) 100%);
  padding: 100px 20px 100px;
  text-align: center;
  color: var(--bf-white);
  position: relative;
  overflow: hidden;
}

.bf-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
  background: var(--bf-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.bf-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.bf-hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  opacity: 0.9;
  margin-bottom: 40px;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
}

.bf-hero-logo {
  max-width: 280px;
  margin: 0 auto 40px;
  display: block;
}

.bf-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* === SECTIONS === */
.bf-section {
  padding: 80px 20px;
}

.bf-section-blue {
  background-color: var(--bf-blue-light);
}

.bf-section-dark {
  background-color: var(--bf-nav);
  color: var(--bf-white);
}

.bf-container {
  max-width: 1100px;
  margin: 0 auto;
}

.bf-section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
  color: var(--bf-blue-dark);
}

.bf-section-dark .bf-section-title {
  color: var(--bf-white);
}

.bf-section-subtitle {
  text-align: center;
  color: var(--bf-text-light);
  font-size: 1.1rem;
  margin-bottom: 56px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.bf-section-dark .bf-section-subtitle {
  color: rgba(255,255,255,0.75);
}

/* === FEATURE CARDS === */
.bf-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.bf-feature-card {
  background: var(--bf-white);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bf-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.bf-feature-icon {
  width: 52px;
  height: 52px;
  background: var(--bf-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 24px;
}

.bf-feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--bf-blue-dark);
}

.bf-feature-card p {
  color: var(--bf-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === DEVICE GRID === */
.bf-devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.bf-device-card {
  background: var(--bf-white);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.bf-device-card .device-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.bf-device-card h4 {
  font-size: 0.95rem;
  color: var(--bf-blue-dark);
  margin-bottom: 6px;
}

.bf-device-card .device-desc {
  font-size: 0.82rem;
  color: var(--bf-text-light);
  line-height: 1.5;
}

/* === PRICING === */
.bf-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.bf-price-card {
  background: var(--bf-white);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
}

.bf-price-card.featured {
  border: 2px solid var(--bf-orange);
  transform: scale(1.02);
}

.bf-price-card.featured::before {
  content: 'Beliebteste Wahl';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bf-orange);
  color: white;
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  white-space: nowrap;
}

.bf-price-card h3 {
  font-size: 1.3rem;
  color: var(--bf-blue-dark);
  margin-bottom: 8px;
}

.bf-price {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--bf-orange);
  font-family: 'Merriweather Sans', sans-serif;
  line-height: 1;
  margin: 16px 0 4px;
}

.bf-price sup {
  font-size: 1.2rem;
  vertical-align: super;
}

.bf-price-desc {
  color: var(--bf-text-light);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.bf-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}

.bf-price-features li {
  padding: 8px 0;
  border-bottom: 1px solid #F0F3F4;
  font-size: 0.92rem;
  color: var(--bf-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bf-price-features li::before {
  content: '✓';
  color: var(--bf-orange);
  font-weight: 700;
  flex-shrink: 0;
}

/* === USP STRIP === */
.bf-usp-strip {
  background: var(--bf-orange);
  color: var(--bf-white);
  padding: 20px;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

/* === SZENARIEN === */
.bf-scenario {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  overflow: hidden;
}

.bf-scenario.reverse {
  direction: rtl;
}

.bf-scenario.reverse > * {
  direction: ltr;
}

.bf-scenario-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.bf-scenario-text {
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bf-white);
}

.bf-scenario.on-blue .bf-scenario-text {
  background: var(--bf-blue-light);
}

.bf-scenario-tag {
  display: inline-block;
  background: var(--bf-orange);
  color: var(--bf-white);
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.bf-scenario-text h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--bf-nav);
  margin-bottom: 16px;
  line-height: 1.3;
}

.bf-scenario-text p {
  color: var(--bf-text-light);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 20px;
}

.bf-scenario-sensor {
  font-size: 0.85rem;
  color: var(--bf-blue-dark);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

.bf-scenario-sensor span {
  background: var(--bf-blue-light);
  padding: 3px 10px;
  border-radius: 3px;
  margin-right: 6px;
  display: inline-block;
  margin-bottom: 4px;
}

.bf-scenario.on-blue .bf-scenario-sensor span {
  background: var(--bf-white);
  color: var(--bf-blue-dark);
}

@media (max-width: 768px) {
  .bf-scenario,
  .bf-scenario.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .bf-scenario-img {
    min-height: 240px;
  }
  .bf-scenario-text {
    padding: 36px 24px;
  }
}

/* === BOATFOX HANDELT === */
.bf-action-section {
  background: var(--bf-nav);
  padding: 80px 20px;
}

.bf-action-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--bf-white);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.25;
}

.bf-action-title em {
  color: var(--bf-orange);
  font-style: normal;
}

.bf-action-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.bf-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.bf-action-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.bf-action-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.bf-action-card:hover .bf-action-img {
  transform: scale(1.04);
}

.bf-action-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
  padding: 32px 28px 28px;
  color: var(--bf-white);
}

.bf-action-overlay h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--bf-white);
}

.bf-action-overlay p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

.bf-action-overlay .bf-scenario-sensor span {
  background: var(--bf-orange);
  color: var(--bf-white);
  border: none;
}

@media (max-width: 640px) {
  .bf-action-grid {
    grid-template-columns: 1fr;
  }
  .bf-action-img {
    height: 280px;
  }
}

/* === DASHBOARD SHOWCASE === */
.bf-dashboard-section {
  background: var(--bf-nav);
  padding: 80px 20px;
  text-align: center;
  color: var(--bf-white);
}

.bf-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 780px;
  margin: 0 auto;
}

.bf-dashboard-item img {
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.bf-dashboard-item p {
  margin-top: 18px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  font-family: 'Lato', sans-serif;
}

@media (max-width: 640px) {
  .bf-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* === FAQ === */
.bf-faq-section {
  background: var(--bf-white);
  padding: 80px 20px;
}

.bf-faq-category {
  margin-bottom: 48px;
}

.bf-faq-category-title {
  font-size: 1.1rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--bf-orange);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bf-blue-light);
}

.bf-faq-item {
  border-bottom: 1px solid #E8EEF2;
}

.bf-faq-item summary {
  list-style: none;
  padding: 18px 44px 18px 0;
  font-family: 'Merriweather Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--bf-nav);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.bf-faq-item summary::-webkit-details-marker { display: none; }

.bf-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--bf-orange);
  line-height: 1;
  transition: transform 0.25s;
}

.bf-faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.bf-faq-item[open] summary {
  color: var(--bf-blue-dark);
}

.bf-faq-answer {
  padding: 0 44px 20px 0;
  color: var(--bf-text-light);
  font-size: 0.95rem;
  line-height: 1.75;
}

.bf-faq-answer p { margin: 0 0 10px; }
.bf-faq-answer p:last-child { margin-bottom: 0; }

/* === FOOTER === */
.bf-footer {
  background: var(--bf-blue-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 20px 24px;
  text-align: center;
}

.bf-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.bf-footer a:hover {
  color: var(--bf-orange);
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .bf-pricing-grid {
    grid-template-columns: 1fr;
  }
  .bf-price-card.featured {
    transform: none;
  }
}
