/* ============================================================
   FLO'S TENNIS SERVICE — Haupt-Stylesheet
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --primary: #2D8B4E;
  --primary-dark: #1e6335;
  --primary-light: #e8f5ed;
  --secondary: #1A1A2E;
  --accent: #C4E538;
  --accent-dark: #a8c620;
  --white: #ffffff;
  --bg-primary: #f8faf9;
  --bg-card: #ffffff;
  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.2s ease;
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --container: 1200px;
  --whatsapp: #25D366;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p { color: var(--text-secondary); margin-bottom: 0; }

ul { list-style: none; }

address { font-style: normal; }

/* --- Utility --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--primary-light); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
}

.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(45,139,78,.3);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: #2d2d45;
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-primary); color: var(--text-primary); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
  border-color: var(--whatsapp);
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: white;
}

.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

.link-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: inherit;
  text-decoration: underline;
  padding: 0;
}

/* --- Header / Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--secondary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--primary); }
.logo-icon { font-size: 1.4rem; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}

/* --- Hero --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--secondary) 0%, #2d3561 100%);
  color: white;
  overflow: hidden;
  padding: 5rem 0 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
}

.hero-net-pattern {
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(196,229,56,1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(196,229,56,1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196,229,56,0.15);
  color: var(--accent);
  border: 1px solid rgba(196,229,56,0.3);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.25rem;
}

.hero-subtext {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ball {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 35% 35%, var(--accent), #8aaa00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.4), inset 0 -10px 30px rgba(0,0,0,.2);
  animation: float 4s ease-in-out infinite;
}

.ball-inner { font-size: 5rem; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
}
.hero-wave svg { display: block; width: 100%; height: auto; }

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-card.featured {
  background: var(--secondary);
  border-color: var(--secondary);
  color: white;
}
.service-card.featured h3,
.service-card.featured p { color: rgba(255,255,255,.9); }

.service-badge {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--accent);
  color: var(--secondary);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { font-size: 0.95rem; margin-bottom: 1.25rem; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  transition: gap var(--transition);
}
.service-link:hover { gap: 0.7rem; }
.service-card.featured .service-link { color: var(--accent); }

/* --- About Teaser --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.about-img-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--primary-light), #d0f0de);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 4rem;
  color: var(--primary);
  border: 2px dashed var(--primary);
}
.about-img-placeholder p { font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.about-img-placeholder.large { aspect-ratio: 4/5; font-size: 5rem; }

.about-text h2 { margin-bottom: 1rem; }
.about-content p { margin-bottom: 0.75rem; }
.about-content p + p { }
.about-text .btn { margin-top: 1.5rem; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1e6335 100%);
  color: white;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 { color: white; margin-bottom: 0.75rem; }
.cta-content p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2rem; }

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--secondary), #2d3561);
  color: white;
  padding: 3.5rem 0;
}
.page-hero h1 { color: white; margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 600px; }

/* --- Filter Bar --- */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: white;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: white; }

/* --- Products Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--primary-light);
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  opacity: 0.4;
}

.product-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card-cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.product-card-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}
.product-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.product-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--secondary);
}

/* --- Product Detail --- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.product-detail-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.product-detail-image .product-img-placeholder.large {
  aspect-ratio: 1;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
}
.product-category-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.product-detail-name { margin-bottom: 0.75rem; }
.product-detail-price {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.product-detail-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.product-detail-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.product-detail-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.back-link { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pricing-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.pricing-card.featured {
  border-color: var(--primary);
  background: var(--secondary);
  color: white;
}
.pricing-card.featured .pricing-name,
.pricing-card.featured .pricing-desc { color: rgba(255,255,255,.85); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--secondary);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
}
.pricing-name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.pricing-price { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 0.75rem; }
.pricing-card.featured .pricing-price { color: var(--accent); }
.pricing-desc { font-size: 0.9rem; margin-bottom: 1.5rem; }

/* --- Process Steps --- */
.process-content { max-width: 700px; margin: 0 auto; }
.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.process-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(45,139,78,.25);
}
.process-text h3 { margin-bottom: 0.4rem; }

/* --- Booking --- */
.booking-container { max-width: 820px; margin: 0 auto; }

.booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
}
.booking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.4;
  transition: opacity var(--transition);
}
.booking-step.active { opacity: 1; }
.booking-step.done { opacity: 0.7; }

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.booking-step.active .step-num { background: var(--primary); color: white; }
.booking-step.done .step-num { background: var(--primary); color: white; }
.booking-step span { font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); white-space: nowrap; }

.step-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  max-width: 60px;
  min-width: 20px;
}

.booking-panel { display: none; }
.booking-panel.active { display: block; }

/* Calendar */
.calendar-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  max-width: 480px;
  margin: 0 auto;
}
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.cal-nav-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--text-primary);
}
.cal-nav-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.cal-nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.cal-month-title { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.5rem;
}
.cal-weekdays span {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
}

#cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: default;
  transition: all var(--transition);
  border: 2px solid transparent;
  background: none;
}
.cal-day.available {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
}
.cal-day.available:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}
.cal-day.available:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.cal-day.unavailable { color: var(--text-muted); opacity: 0.4; }
.cal-day.past { color: var(--text-muted); opacity: 0.25; }
.cal-day.today { border-color: var(--primary); }
.cal-day.selected { background: var(--primary); color: white; }
.cal-day.empty { }

.calendar-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  justify-content: center;
}
.legend-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--text-muted); }
.legend-dot { width: 12px; height: 12px; border-radius: 3px; }
.legend-dot.available { background: var(--primary-light); border: 2px solid var(--primary); }
.legend-dot.unavailable { background: var(--border); }

/* Slots */
.slot-selection { max-width: 480px; margin: 0 auto; }
.slot-selection h3 { margin-bottom: 1.5rem; text-align: center; }
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.slot-btn {
  padding: 0.75rem 0.5rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: white;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-primary);
  text-align: center;
}
.slot-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.slot-btn.selected { background: var(--primary); border-color: var(--primary); color: white; }
.slot-btn:focus-visible { outline: 2px solid var(--primary); }

/* Booking Form */
.booking-form { background: white; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.selected-slot-display {
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--primary);
  flex-wrap: wrap;
}

/* Success */
.booking-success {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 500px;
  margin: 0 auto;
}
.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.booking-success h3 { margin-bottom: 0.75rem; }
.booking-success p { margin-bottom: 0.5rem; }
.success-note { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 2rem !important; }

/* --- Forms --- */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-check .check-label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="url"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: white;
  transition: border-color var(--transition);
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,139,78,.1);
}
input.invalid, select.invalid, textarea.invalid {
  border-color: #e53e3e;
}
.field-error {
  display: block;
  color: #e53e3e;
  font-size: 0.82rem;
  margin-top: 0.3rem;
  min-height: 1.1rem;
}
textarea { resize: vertical; }
select { cursor: pointer; }

.form-actions { display: flex; gap: 1rem; align-items: center; margin-top: 1.5rem; flex-wrap: wrap; }

#form-feedback {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  display: none;
}
#form-feedback.success { background: #e8f5ed; color: var(--primary); border: 1px solid var(--primary); display: block; }
#form-feedback.error { background: #fff5f5; color: #e53e3e; border: 1px solid #e53e3e; display: block; }

/* Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 3rem auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.products-loading { padding: 3rem 0; }

/* --- Kontakt --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrapper h2 { margin-bottom: 1.5rem; }

.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--whatsapp);
  color: white;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: all var(--transition);
}
.whatsapp-cta:hover { background: #1da851; color: white; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.3); }
.whatsapp-cta div { display: flex; flex-direction: column; gap: 0.15rem; }
.whatsapp-cta strong { font-family: var(--font-head); font-weight: 700; color: white; }
.whatsapp-cta span { font-size: 0.85rem; opacity: 0.9; }

.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-detail-item svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--primary); }
.detail-label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.2rem; }
.contact-detail-item a { color: var(--text-primary); }
.contact-detail-item a:hover { color: var(--primary); }

.opening-hours-box {
  background: var(--primary-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  border-left: 4px solid var(--primary);
}
.opening-hours-box h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.opening-hours-box p { font-size: 0.9rem; }

/* --- Content Page --- */
.content-page { max-width: 760px; margin: 0 auto; }
.content-prose { line-height: 1.9; }
.content-prose p { margin-bottom: 1.25rem; color: var(--text-secondary); }
.content-prose strong { color: var(--secondary); }

/* --- About Detail --- */
.about-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.about-detail-text { }
.about-detail-text p { margin-bottom: 1.25rem; }
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.highlight-icon { font-size: 1.5rem; flex-shrink: 0; }
.highlight-item strong { display: block; font-family: var(--font-head); margin-bottom: 0.2rem; }
.highlight-item p { font-size: 0.875rem; margin: 0; }
.about-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Footer --- */
.site-footer {
  background: var(--secondary);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
}
.footer-tagline { font-size: 0.9rem; margin-bottom: 1.25rem; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: white; }

.footer-nav h3, .footer-contact h3 {
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { color: rgba(255,255,255,.7); font-size: 0.9rem; text-decoration: none; transition: color var(--transition); }
.footer-nav a:hover { color: white; }

.footer-contact p { font-size: 0.875rem; margin-bottom: 0.6rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-contact svg { flex-shrink: 0; margin-top: 0.2rem; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: white; }
.footer-hours { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer-hours h4 { color: white; font-size: 0.85rem; margin-bottom: 0.4rem; }
.footer-hours p { font-size: 0.875rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,.5); margin: 0; }
.footer-bottom nav { display: flex; gap: 1.5rem; }
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: white; }

/* --- Error Pages --- */
.error-emoji { font-size: 5rem; margin-bottom: 1rem; }

/* --- Animations --- */
.fade-in { opacity: 0; animation: fadeIn 0.6s ease forwards; }
.fade-in-up { opacity: 0; transform: translateY(24px); animation: fadeInUp 0.6s ease forwards; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Scroll-triggered via JS */
.scroll-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .about-grid, .about-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    display: none;
    z-index: 99;
    gap: 0.25rem;
  }
  .nav-menu.open { display: flex; }
  .nav-cta { margin: 0.5rem 0 0; align-self: flex-start; }

  .hero { min-height: 70vh; padding: 3rem 0 4rem; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }

  .services-grid, .pricing-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .booking-steps span { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
