/* ============================================
   envie Beauté - Hauptstil mit Animationen
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #6b7280;
  background: transparent;
}

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

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll-triggered Animations */
.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* === Farben === */
:root {
  --mint: #6CBB9D;
  --mint-hover: #5aa887;
  --mint-light: rgba(108, 187, 157, 0.1);
  --anthracite: #2a2a2a;
  --anthracite-dark: #1a1a1a;
  --gray-50: #f7fafa;
  --gray-100: #f1f5f5;
  --gray-300: #d1d5db;
  --gray-600: #6b7280;
  --gray-700: #4b5563;
  --white: #ffffff;
}

/* === Typografie === */
h1, h2, h3, h4 {
  font-weight: 300;
  line-height: 1.2;
  color: var(--gray-700);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: 0.5px;
}

h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 400;
}

p {
  margin-bottom: 1rem;
  font-weight: 300;
}

/* === Layout === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  animation: fadeIn 0.6s ease;
  background: #fff;
}

/* === Header === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  box-shadow: none;
  z-index: 1000;
  padding: 1rem 0;
  padding-top: calc(1rem + env(safe-area-inset-top, 0px));
  transition: all 0.3s ease;
}

/* Header bei Scroll: Gradient mit Blur */
header.scrolled {
  background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  height: 77px;
  width: auto;
  transition: transform 0.3s ease;
}

header .logo:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

nav a:hover {
  color: var(--mint);
}

/* Navigation bei Scroll: dunkle Farbe */
header.scrolled nav a:not(.btn) {
  color: var(--anthracite);
  text-shadow: none;
}

header.scrolled nav a:not(.btn):hover {
  color: var(--mint);
}

nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mint);
  transition: width 0.3s ease;
}

nav a:not(.btn):hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--anthracite);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  nav ul.active {
    display: flex;
  }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--mint);
  color: white;
}

.btn-primary:hover {
  background: var(--mint-hover);
  color: white;
  box-shadow: 0 4px 16px rgba(108, 187, 157, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

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

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  box-shadow: none;
}

.btn-outline:hover {
  background: white;
  color: var(--anthracite);
}

/* Buttons bei Scroll: Mint-Farbe */
header.scrolled .btn-outline {
  color: var(--mint);
  border-color: var(--mint);
}

header.scrolled .btn-outline:hover {
  background: var(--mint);
  color: white;
}

/* === Hero === */
.hero {
  height: 100svh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 0;
  padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0));
  overflow: hidden;
  margin: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  animation: scaleIn 1.5s ease;
}

.hero-bg img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: 46% top;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(42, 42, 42, 0.4) 40%, rgba(26, 26, 26, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  width: 100%;
  max-width: 900px;
  padding: 0 1.5rem;
  box-sizing: border-box;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero h1 {
  font-size: 4.5rem;
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 3rem;
  width: 100%;
  max-width: 800px;
}

.trust-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: calc(0.8s + var(--delay, 0s));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.trust-badge svg {
  display: block;
  margin: 0 auto 0.5rem;
}

.trust-badge:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
}

/* === Cards === */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.booking-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: scaleIn 0.6s ease;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: scaleIn 0.6s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.booking-card:hover,
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}



.booking-card {
  padding: 2.5rem;
  text-align: center;
}

.booking-card-primary {
  background: var(--mint) !important;
  border: 2px solid var(--mint);
}

.booking-card-primary h3,
.booking-card-primary p {
  color: white !important;
}

.booking-card-primary .btn {
  background: white;
  color: var(--mint);
  border: 2px solid white;
}

.booking-card-primary .btn:hover {
  background: var(--mint-hover);
  color: white;
  border-color: var(--mint-hover);
}

.booking-card .btn-outline {
  color: var(--mint);
  border-color: var(--mint);
}

.booking-card .btn-outline:hover {
  background: var(--mint);
  color: white;
}

.booking-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gray-700);
  font-weight: 400;
}

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card h3 {
  color: var(--gray-700);
  margin-bottom: 0.75rem;
}

.service-card .price {
  color: var(--mint);
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

/* === About === */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
  align-items: start;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
  margin-top: 2.5rem;
}

.about-image:hover {
  transform: scale(1.02);
}

.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.highlight-list {
  list-style: none;
  margin-top: 2rem;
}

.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: calc(var(--delay, 0s));
}

.highlight-list li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint);
  color: white;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 0.875rem;
}

/* === Pricing === */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.tab-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  background: white;
  color: var(--gray-700);
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-btn:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--mint);
  color: white;
  box-shadow: 0 4px 16px rgba(108, 187, 157, 0.3);
}

.featured-prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.price-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid var(--mint);
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  animation: scaleIn 0.5s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(108, 187, 157, 0.15);
}

.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
  color: var(--gray-700);
}

.price-card .price {
  font-size: 3rem;
  color: var(--mint);
  font-weight: bold;
  margin: 1rem 0;
  line-height: 1;
}

.price-card .duration {
  color: var(--gray-600);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.price-table {
  background: transparent;
  border-radius: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.price-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.75rem;
}

.price-table tr {
  background: white;
  border-radius: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.price-table tr:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.price-table td {
  padding: 1.25rem 1.75rem;
  font-weight: 400;
  color: var(--anthracite);
  border: none;
}

.price-table td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.price-table td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  text-align: right;
  font-weight: 700;
  color: var(--mint);
  font-size: 1.25rem;
}

.duration-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 300;
}

/* === Gallery === */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.filter-btn {
  padding: 0.875rem 2rem;
  border-radius: 50px;
  background: white;
  color: var(--gray-700);
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--mint);
  color: white;
  box-shadow: 0 4px 16px rgba(108, 187, 157, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  animation: scaleIn 0.5s ease;
  opacity: 1;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(247, 250, 250, 0.96);
  backdrop-filter: blur(20px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-img.fade-transition {
  opacity: 0;
  transform: scale(0.95);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(108, 187, 157, 0.2);
  color: var(--gray-700);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 1rem;
  transition: all 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--mint);
  color: white;
  border-color: var(--mint);
  transform: scale(1.1);
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info h3 {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.contact-info a {
  color: var(--mint);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 400;
}

.contact-info a:hover {
  color: var(--mint-hover);
  text-decoration: underline;
}

.contact-info a.btn:hover {
  color: white;
  text-decoration: none;
}

.opening-hours table {
  width: 100%;
  margin-top: 1rem;
}

.opening-hours td {
  padding: 0.75rem 0;
  font-weight: 300;
}

.opening-hours td:last-child {
  text-align: right;
  font-weight: 400;
  color: var(--gray-700);
}

/* === Footer === */
footer {
  background: var(--anthracite);
  color: var(--gray-300);
  padding: 4rem 0 2rem;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

footer h4 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

footer a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 300;
}

footer a:hover {
  color: var(--mint);
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 0.75rem;
}

.footer-logo {
  height: 80px;
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--mint);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 300;
}

/* === Utilities === */
.text-center {
  text-align: center;
}

.bg-gray {
  background: var(--gray-50);
}

.hidden {
  display: none;
}

/* === Responsive === */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero h1 { font-size: 2.75rem; }
  .hero p { font-size: 1.25rem; }
  
  .section { padding: 4rem 0; }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  header .logo {
    height: 50px;
  }

  header {
    padding: 0.5rem 0;
    padding-top: calc(0.5rem + env(safe-area-inset-top, 0px));
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 60%, rgba(255,255,255,0) 100%);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.25rem; }
  
  .services-grid,
  .booking-grid,
  .featured-prices,
  .gallery-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Animation Delays */
.trust-badge:nth-child(1) { --delay: 0s; }
.trust-badge:nth-child(2) { --delay: 0.1s; }
.trust-badge:nth-child(3) { --delay: 0.2s; }
.trust-badge:nth-child(4) { --delay: 0.3s; }

.highlight-list li:nth-child(1) { --delay: 0.1s; }
.highlight-list li:nth-child(2) { --delay: 0.2s; }
.highlight-list li:nth-child(3) { --delay: 0.3s; }
