/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1c1917;
  background: linear-gradient(135deg, #fafaf9 0%, #FCE9EB 100%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #e7e5e4;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1c1917;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  background: none;
  border: none;
  color: #57534e;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #D82034;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #1c1917;
  margin: 3px 0;
  transition: 0.3s;
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 1rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-nav-link {
  display: block;
  width: 100%;
  padding: 1rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  color: #57534e;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f4;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: #D82034;
  background: #FCE9EB;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 8rem 1rem 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/placeholder.svg?height=1080&width=1920&text=Eastern%20Swiss%20Mountains%20-%20Beautiful%20alpine%20landscape%20with%20snow-capped%20peaks%20and%20green%20valleys');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(252, 233, 235, 0.8) 100%);
  z-index: -1;
}

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

.hero-text {
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #1c1917;
}

.hero-accent {
  display: block;
  color: #D82034;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #57534e;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.125rem;
  color: #78716c;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-button {
  background: #D82034;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(216, 32, 52, 0.3);
  transition: all 0.3s ease;
  font-weight: 600;
}

.cta-button:hover {
  background: #B31A2B;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(216, 32, 52, 0.4);
}

.hero-image {
  position: relative;
}

.image-container {
  aspect-ratio: 1;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #FCE9EB 0%, #e7e5e4 100%);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-dot {
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* About Section */
.about {
  padding: 5rem 1rem;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1c1917;
}

.section-description {
  font-size: 1.25rem;
  color: #57534e;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: #FCE9EB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #D82034;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1c1917;
}

.feature-description {
  color: #57534e;
}

.philosophy-card {
  background: #fafaf9;
  padding: 3rem;
  border-radius: 1.5rem;
}

.philosophy-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #1c1917;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.philosophy-item h5 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1c1917;
}

.philosophy-item p {
  color: #57534e;
}

/* Reviews Section */
.reviews {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #fafaf9 0%, #FCE9EB 100%);
}

.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.star {
  color: #D82034;
  font-size: 1.5rem;
  transition: all 0.2s ease;
}

.star.empty {
  color: #d1d5db;
}

.stars.interactive .star {
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.5rem;
}

.stars.interactive .star:hover,
.stars.interactive .star.active {
  color: #D82034;
  transform: scale(1.1);
}

.stars.interactive .star.empty:hover {
  color: #D82034;
}

.rating-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1c1917;
}

.rating-count {
  color: #57534e;
}

.review-form-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
}

.form-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1c1917;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 2px solid #e7e5e4;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #D82034;
  box-shadow: 0 0 0 3px rgba(216, 32, 52, 0.1);
}

.form-textarea {
  padding: 1rem;
  border: 2px solid #e7e5e4;
  border-radius: 0.5rem;
  font-size: 1rem;
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-textarea:focus {
  outline: none;
  border-color: #D82034;
  box-shadow: 0 0 0 3px rgba(216, 32, 52, 0.1);
}

.rating-input {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.submit-button {
  background: #D82034;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.submit-button:hover {
  background: #B31A2B;
  transform: translateY(-1px);
}

.submit-button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.review-card.editable {
  border: 2px solid #D82034;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.review-name {
  font-weight: 600;
  color: #1c1917;
}

.review-comment {
  color: #57534e;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.review-date {
  font-size: 0.875rem;
  color: #9ca3af;
}

.edit-button {
  background: none;
  border: none;
  color: #D82034;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s ease;
  font-size: 1.2rem;
}

.edit-button:hover {
  background-color: #FCE9EB;
}

.edit-form {
  margin-top: 1rem;
}

.edit-form .form-textarea {
  margin-bottom: 1rem;
}

.edit-buttons {
  display: flex;
  gap: 0.5rem;
}

.save-button {
  background: #10b981;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.cancel-button {
  background: #6b7280;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.875rem;
}

/* Contact Section */
.contact {
  padding: 5rem 1rem;
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background: #FCE9EB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D82034;
}

.contact-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #1c1917;
}

.contact-item p {
  color: #57534e;
}

.guarantee-card {
  background: #fafaf9;
  padding: 1.5rem;
  border-radius: 1rem;
}

.guarantee-card h4 {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1c1917;
}

.guarantee-card p {
  color: #57534e;
}

.contact-form-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.privacy-notice {
  font-size: 0.875rem;
  color: #78716c;
}

.button-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Footer */
.footer {
  background: #1c1917;
  color: white;
  padding: 3rem 1rem 1.5rem;
}

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

.footer-section h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-section h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #a8a29e;
  margin-bottom: 0.5rem;
}

.footer-link {
  color: #a8a29e;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #44403c;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: #D82034;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(216, 32, 52, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #B31A2B;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 32, 52, 0.4);
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

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

  .rating-input {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero {
    padding: 6rem 1rem 3rem;
  }

  .status-badge {
    position: static;
    margin-top: 1rem;
    align-self: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .feature-card,
  .review-form-card,
  .contact-form-card {
    padding: 1.5rem;
  }

  .philosophy-card {
    padding: 2rem;
  }
}