/* =====================================================
   strongshift – Personal Training
   Modern Design CSS (matching React App)
   ===================================================== */

/* CSS Variables - Updated Color Scheme */
:root {
  /* Primary: Dark teal from logo */
  --color-primary: hsl(190, 40%, 30%);
  --color-primary-dark: hsl(190, 40%, 25%);
  --color-primary-light: hsl(190, 40%, 40%);
  --color-primary-foreground: #ffffff;
  
  /* Accent: Olive/sage from logo */
  --color-accent: hsl(65, 25%, 55%);
  --color-accent-light: hsl(65, 25%, 65%);
  --color-accent-dark: hsl(65, 25%, 45%);
  
  /* Neutrals */
  --color-white: #ffffff;
  --color-background: hsl(0, 0%, 100%);
  --color-foreground: hsl(200, 25%, 20%);
  --color-muted: hsl(60, 10%, 95%);
  --color-muted-foreground: hsl(200, 10%, 45%);
  --color-border: hsl(60, 10%, 88%);
  
  /* Gray scale */
  --color-gray-50: hsl(60, 10%, 97%);
  --color-gray-100: hsl(60, 10%, 95%);
  --color-gray-200: hsl(60, 8%, 90%);
  --color-gray-300: hsl(60, 5%, 82%);
  --color-gray-400: hsl(60, 3%, 65%);
  --color-gray-500: hsl(200, 10%, 45%);
  --color-gray-600: hsl(200, 15%, 35%);
  --color-gray-700: hsl(200, 20%, 28%);
  --color-gray-800: hsl(200, 25%, 20%);
  --color-gray-900: hsl(200, 30%, 15%);
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(60, 15%, 97%) 0%, hsl(190, 20%, 95%) 50%, hsl(65, 25%, 94%) 100%);
  --gradient-section: linear-gradient(180deg, hsl(60, 10%, 96%) 0%, hsl(0, 0%, 100%) 100%);
  --gradient-dark: linear-gradient(135deg, hsl(200, 25%, 18%) 0%, hsl(190, 35%, 25%) 100%);
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  --gradient-text: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  
  /* Borders & Shadows */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-foreground);
}

h1 {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

/* Text Gradient */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Section Title with gradient underline */
.section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: var(--space-lg) auto 0;
  border-radius: var(--radius-full);
}

/* Buttons - Modern styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: normal;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-primary-foreground);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--color-foreground);
  border-color: var(--color-border);
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--color-muted);
  border-color: var(--color-gray-300);
}

.btn-large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1rem;
}

/* =====================================================
   Header - Modern with shadow
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.logo-image {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: contain;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.logo:hover .logo-image {
  box-shadow: var(--shadow-lg);
  transform: scale(1.05) rotate(5deg);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-foreground);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.nav-toggle-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-list {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg);
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: var(--shadow-md);
}

.nav-list.nav-open {
  display: flex;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-primary);
}

.header-cta {
  display: none;
}

/* =====================================================
   Hero Section - Modern gradient background
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content {
  text-align: center;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background-color: hsla(190, 40%, 30%, 0.1);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.hero-title {
  margin-bottom: var(--space-lg);
  color: var(--color-foreground);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero-features {
  display: inline-flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  text-align: left;
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: 1rem;
  color: var(--color-foreground);
}

.hero-feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  width: 100%;
}

.hero-actions .btn {
  width: 100%;
}

.hero-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-foreground);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-link:hover {
  color: var(--color-primary);
}

/* Hero Image with decorative frame */
.hero-image-container {
  position: relative;
  max-width: 100%;
  width: 100%;
}

.hero-image-frame {
  position: absolute;
  inset: -16px;
  background: linear-gradient(135deg, hsla(190, 40%, 30%, 0.15), hsla(65, 25%, 55%, 0.15), hsla(190, 40%, 30%, 0.15));
  border-radius: var(--radius-2xl);
  display: none;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 4px solid hsla(0, 0%, 100%, 0.5);
  background-color: hsla(0, 0%, 100%, 0.3);
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Hero Blobs */
.hero-blob {
  position: absolute;
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  opacity: 0.5;
  display: none;
  z-index: 0;
}

@media (min-width: 1024px) {
  .hero-blob {
    display: block;
    animation: blob 12s ease-in-out infinite;
  }
  
  .hero-blob-1 {
    top: 5rem;
    right: 0;
    width: 18rem;
    height: 18rem;
    background: hsla(190, 40%, 30%, 0.1);
    transform: translateX(30%);
  }
  
  .hero-blob-2 {
    bottom: 5rem;
    left: 0;
    width: 24rem;
    height: 24rem;
    background: hsla(65, 25%, 55%, 0.1);
    transform: translateX(-30%);
  }
}

@keyframes blob {
  0%, 100% {
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  }
  50% {
    border-radius: 55% 45% 45% 55% / 55% 55% 45% 45%;
  }
}

/* Hero Location Icon */
.hero-location-icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Button Icon */
.btn-icon {
  width: 16px;
  height: 16px;
  margin-left: var(--space-sm);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1s infinite;
  display: none;
  color: var(--color-muted-foreground);
  opacity: 0.6;
}

@media (min-width: 768px) {
  .scroll-indicator {
    display: block;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* =====================================================
   Why Section
   ===================================================== */
.why-section {
  padding: var(--space-4xl) 0;
  background-color: var(--color-white);
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
}

.why-item {
  width: 100%;
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--color-muted);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  color: white;
  box-shadow: var(--shadow-lg);
}

.why-icon svg {
  width: 32px;
  height: 32px;
}

.why-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--color-foreground);
}

.why-text {
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
}

/* =====================================================
   Services Section
   ===================================================== */
.services-section {
  padding: var(--space-4xl) 0;
  background: var(--gradient-section);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.service-card {
  width: 100%;
  background-color: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-lg);
  color: white;
  box-shadow: var(--shadow-md);
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
}

.service-card-icon-accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--color-foreground);
}

.service-card-text {
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.service-card-text:last-child {
  margin-bottom: 0;
}

.services-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* =====================================================
   About Section
   ===================================================== */
.about-section {
  position: relative;
  padding: var(--space-4xl) 0;
  background-color: var(--color-white);
  overflow: hidden;
}

.about-grid {
  display: grid;
  gap: var(--space-2xl);
}

/* About Left Column (Image + Values) */
.about-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* About Image with gradient frame */
.about-image-container {
  position: relative;
}

.about-image-frame {
  position: absolute;
  inset: -12px;
  background: linear-gradient(135deg, hsla(190, 40%, 30%, 0.2), hsla(65, 25%, 55%, 0.1), transparent);
  border-radius: var(--radius-2xl);
  filter: blur(16px);
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(200, 25%, 20%, 0.2), transparent);
  pointer-events: none;
}

.about-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* About Decoration */
.about-decoration {
  position: absolute;
  top: 50%;
  left: -10rem;
  transform: translateY(-50%);
  width: 20rem;
  height: 20rem;
  background: hsla(65, 25%, 55%, 0.05);
  border-radius: 50%;
  filter: blur(3rem);
  pointer-events: none;
  display: none;
}

@media (min-width: 1200px) {
  .about-decoration {
    display: block;
  }
}

.about-content {
  order: 1;
}

.about-text {
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.about-text-intro {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-foreground);
}

.about-text-cta {
  font-weight: 500;
  color: var(--color-foreground);
}

/* Personal Story Card */
.about-story-card {
  background: var(--gradient-section);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--color-accent);
  margin: var(--space-xl) 0;
}

.about-story-card p {
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about-story-card p:last-child {
  margin-bottom: 0;
}

/* Values Card */
.about-values {
  order: 2;
  background: var(--gradient-section);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.about-values-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.about-values-line {
  display: inline-block;
  width: 32px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.about-values-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-value {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-foreground);
  padding: var(--space-sm) 0;
}

.about-value-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
  color: white;
  box-shadow: var(--shadow-md);
}

.about-value-icon svg {
  width: 20px;
  height: 20px;
}

/* =====================================================
   Testimonials Section
   ===================================================== */
.testimonials-section {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--color-muted) 0%, var(--color-background) 50%, hsla(60, 10%, 95%, 0.5) 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.testimonials-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}

.testimonials-blob-1 {
  top: 5rem;
  right: 5rem;
  width: 10rem;
  height: 10rem;
  background: hsla(190, 40%, 30%, 0.05);
}

.testimonials-blob-2 {
  bottom: 5rem;
  left: 5rem;
  width: 15rem;
  height: 15rem;
  background: hsla(65, 25%, 55%, 0.05);
}

/* Hero Testimonial Card */
.testimonial-card-hero {
  position: relative;
  background-color: var(--color-white);
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid hsla(60, 10%, 88%, 0.5);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonial-card-hero {
    padding: var(--space-3xl);
  }
}

.testimonial-quote-icon {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  color: hsla(190, 40%, 30%, 0.2);
}

@media (min-width: 768px) {
  .testimonial-quote-icon {
    width: 64px;
    height: 64px;
    top: var(--space-xl);
    right: var(--space-xl);
  }
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.testimonial-paragraph {
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .testimonial-paragraph {
    font-size: 1rem;
    line-height: 1.8;
  }
}

.testimonial-label {
  font-weight: 600;
  color: var(--color-foreground);
}

.testimonial-divider {
  border: none;
  border-top: 1px solid hsla(60, 10%, 88%, 0.5);
  margin: var(--space-xl) 0;
}

.testimonial-author-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .testimonial-author-section {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.testimonial-author-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
}

.testimonial-author-location {
  font-size: 0.9375rem;
  color: var(--color-muted-foreground);
}

.testimonial-author-duration {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-top: var(--space-xs);
}

.testimonial-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

@media (min-width: 768px) {
  .testimonial-badges {
    justify-content: flex-end;
  }
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: hsla(190, 40%, 30%, 0.1);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
}

.testimonial-badge svg {
  width: 16px;
  height: 16px;
}

.testimonials-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* =====================================================
   Contact Section
   ===================================================== */
.contact-section {
  padding: var(--space-4xl) 0;
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* Decorative elements */
.contact-decoration-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, hsla(60, 10%, 95%, 0.3), transparent);
  z-index: 0;
}

.contact-decoration-2 {
  position: absolute;
  bottom: 5rem;
  left: 2.5rem;
  width: 15rem;
  height: 15rem;
  background: hsla(190, 40%, 30%, 0.05);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}

.contact-intro {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.contact-card-centered {
  max-width: 500px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--color-muted) 0%, hsla(60, 10%, 95%, 0.5) 100%);
  padding: var(--space-2xl);
  border-radius: var(--radius-2xl);
  text-align: center;
  border: 1px solid hsla(60, 10%, 88%, 0.5);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 1rem;
  color: var(--color-foreground);
}

.contact-detail-item a {
  color: var(--color-muted-foreground);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact-detail-item a:hover {
  color: var(--color-primary);
}

.contact-detail-item address {
  color: var(--color-muted-foreground);
  text-align: left;
  line-height: 1.6;
}

/* Contact Icon Container with gradient */
.contact-icon-container {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-xl);
  flex-shrink: 0;
  color: white;
  box-shadow: var(--shadow-md);
}

.contact-icon-container svg {
  width: 20px;
  height: 20px;
}

.contact-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-xl) 0;
}

.contact-social {
  padding-top: var(--space-md);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-muted-foreground);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.social-icon {
  width: 24px;
  height: 24px;
}

/* =====================================================
   Legal Pages (Impressum, Datenschutz)
   ===================================================== */
.legal-page {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-4xl);
  min-height: 70vh;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--color-primary-dark);
}

.legal-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-2xl);
}

.legal-content {
  max-width: 800px;
}

.legal-section {
  margin-bottom: var(--space-2xl);
}

.legal-section h2 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--color-foreground);
}

.legal-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-foreground);
}

.legal-section p {
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.legal-section ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin: var(--space-md) 0;
}

.legal-section li {
  font-size: 0.9375rem;
  color: var(--color-gray-700);
  line-height: 1.6;
  margin-bottom: var(--space-xs);
}

.legal-section-card {
  background: var(--gradient-section);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
}

.legal-info-box {
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin: var(--space-md) 0;
}

.legal-info-box p {
  margin-bottom: var(--space-xs);
}

.legal-address {
  margin-top: var(--space-md);
}

.legal-date {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-top: var(--space-2xl);
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  background: linear-gradient(135deg, var(--color-foreground) 0%, hsla(190, 35%, 25%, 0.9) 50%, var(--color-foreground) 100%);
  color: var(--color-gray-300);
  padding: var(--space-3xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-brand {
    justify-content: flex-start;
  }
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: contain;
  box-shadow: var(--shadow-lg);
  border: 2px solid hsla(0, 0%, 100%, 0.2);
}

.footer-brand-text {
  text-align: left;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
}

.footer-tagline {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.6);
  margin-top: var(--space-xs);
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-lg);
}

.footer-nav-list a {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--color-white);
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.footer-legal a:hover {
  color: var(--color-white);
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

/* =====================================================
   Responsive Breakpoints
   ===================================================== */

/* Small Devices (480px+) */
@media (min-width: 480px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Small Devices (640px+) */
@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
  
  .hero-actions {
    flex-direction: row;
    width: auto;
  }
  
  .hero-actions .btn {
    width: auto;
  }
  
  .hero-image-container {
    max-width: 500px;
  }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
  .logo-text {
    font-size: 1.5rem;
  }
  
  .hero-image-frame {
    display: block;
  }
  
  /* Why-Grid: 2 Spalten mit zentrierter 3. Karte */
  .why-item {
    width: calc(50% - 1rem);
  }
  
  /* Services-Grid: 2 Spalten mit zentrierter 3. Karte */
  .service-card {
    width: calc(50% - 0.75rem);
  }
  
  .about-image-frame {
    display: block;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  
  .footer-brand {
    flex: 1;
  }
  
  .footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  /* Navigation: Desktop-Menue erst ab 1024px */
  .nav-toggle {
    display: none;
  }
  
  .nav-list {
    display: flex;
    position: static;
    background-color: transparent;
    border-bottom: none;
    padding: 0;
    flex-direction: row;
    gap: var(--space-xl);
    box-shadow: none;
  }
  
  .header-cta {
    display: inline-flex;
  }
  
  .hero {
    padding: 0;
    min-height: 100vh;
  }
  
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-3xl);
    min-height: 100vh;
    padding: var(--header-height) 0;
  }
  
  .hero-content {
    flex: 1;
    text-align: left;
    max-width: none;
    align-items: flex-start;
  }
  
  .hero-features {
    display: flex;
  }
  
  .hero-location {
    justify-content: flex-start;
  }
  
  .hero-actions {
    justify-content: flex-start;
  }
  
  .hero-image-container {
    flex: 1;
    max-width: none;
  }
  
  /* Why-Grid: 3 Spalten */
  .why-item {
    width: calc(33.333% - 1.333rem);
  }
  
  /* Services-Grid: 3 Spalten */
  .service-card {
    width: calc(33.333% - 1rem);
  }
  
  .about-grid {
    grid-template-columns: 400px 1fr;
    gap: var(--space-3xl);
    align-items: start;
  }
  
  .about-left {
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
  }
  
  .about-content {
    order: 0;
  }
  
  .about-values {
    order: 0;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .about-grid {
    grid-template-columns: 400px 1fr;
    gap: 5rem;
  }
  
  .about-left {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    align-self: start;
  }
}

/* =====================================================
   Scroll Animation Classes
   ===================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation base state */
.animate-on-scroll {
  opacity: 0;
}

/* Animation visible state */
.animate-on-scroll.is-visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-on-scroll.from-left.is-visible {
  animation: fadeInLeft 0.7s ease-out forwards;
}

.animate-on-scroll.from-right.is-visible {
  animation: fadeInRight 0.7s ease-out forwards;
}

/* Staggered delays */
.animate-on-scroll.delay-1.is-visible { animation-delay: 0.1s; }
.animate-on-scroll.delay-2.is-visible { animation-delay: 0.2s; }
.animate-on-scroll.delay-3.is-visible { animation-delay: 0.3s; }
.animate-on-scroll.delay-4.is-visible { animation-delay: 0.4s; }
.animate-on-scroll.delay-5.is-visible { animation-delay: 0.5s; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    animation: none !important;
  }
}
