@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* Healing Nature Palette */
  --color-primary: #8DA399;
  /* Soft Sage Green */
  --color-secondary: #F5F0EB;
  /* Warm Sand/Beige */
  --color-accent: #E59A59;
  /* Muted Coral */
  --color-text: #2C3E50;
  /* Deep Charcoal */
  --color-white: #ffffff;
  --color-light-gray: #f8f9fa;
  --color-dark-gray: #4a4a4a;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  --font-accent: 'Dancing Script', cursive;

  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --radius-md: 12px;
  --radius-lg: 24px;

  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-secondary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

/* UTILITIES */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.bg-light {
  background-color: var(--color-white);
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* CUSTOM UTILITIES */
.font-script {
  font-family: var(--font-accent);
}

.text-lg {
  font-size: 1.25rem;
}

.text-xl {
  font-size: 1.5rem;
}

.text-2xl {
  font-size: 2rem;
}

.text-red {
  color: #e74c3c;
}

.bg-gold-light {
  background: radial-gradient(circle at center, #fff9c4 0%, var(--color-secondary) 70%);
}

.placeholder-image {
  width: 100%;
  height: 400px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  color: #757575;
  font-size: 1.5rem;
  border: 2px dashed #bdbdbd;
}

.placeholder-drawing {
  width: 100%;
  max-width: 500px;
  height: 300px;
  margin: 20px auto;
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  border: 4px solid var(--color-primary);
  color: var(--color-text);
  font-style: italic;
  box-shadow: var(--shadow-soft);
}

/* Style for the "Eintauchen" phrases */
.eintauchen-list {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin: 20px 0;
  line-height: 1.6;
  color: var(--color-primary);
}

.eintauchen-list p {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 10px;
}

.eintauchen-list p::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: #d08856;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 154, 89, 0.3);
}

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

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

.text-link {
  color: var(--color-accent);
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  border-bottom-color: var(--color-accent);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-secondary);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  height: 80px;
  padding: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-container {
  width: 100%;
  padding: 0 20px;
  /* Adjusted for mobile */
  display: flex;
  justify-content: space-between;
  /* Space for logo and menu icon */
  align-items: center;
  position: relative;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

/* Logo Styles */
.logo {
  height: 50px;
  mix-blend-mode: multiply;
  /* Makes white background transparent */
}

/* Mobile Nav Links (Hidden by default with animation) */
.nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: var(--color-secondary);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  overflow-y: auto;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;

  /* Animation State: Hidden */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
  pointer-events: none;
  /* Prevent clicks when hidden */
}

.nav-links.active {
  /* Animation State: Visible */
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Staggered Link Animation */
.nav-links li {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
}

.nav-links.active li {
  opacity: 1;
  transform: translateY(0);
}

.nav-links.active li:nth-child(1) {
  transition-delay: 0.1s;
}

.nav-links.active li:nth-child(2) {
  transition-delay: 0.15s;
}

.nav-links.active li:nth-child(3) {
  transition-delay: 0.2s;
}

.nav-links.active li:nth-child(4) {
  transition-delay: 0.25s;
}

.nav-links.active li:nth-child(5) {
  transition-delay: 0.3s;
}

.nav-links a {
  font-size: 1.2rem;
  font-weight: 500;
  padding: 10px 0;
  width: fit-content;
  position: relative;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
}

/* Mobile Menu Icon (CSS Hamburger) */
.mobile-menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  background-color: transparent;
  border-radius: 0;
  z-index: 1001;
  /* Ensure above nav-links if needed */
}

/* Hamburger Lines */
.mobile-menu-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Animation to Cross (X) */
.mobile-menu-icon.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.mobile-menu-icon.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Desktop Styles */
@media (min-width: 769px) {
  .logo {
    mix-blend-mode: normal;
    /* Reset blend mode if background changes (optional) */
  }

  .nav-container {
    padding: 0 40px;
  }

  /* Nav Links Desktop Overrides */
  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    height: auto;
    width: auto;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    overflow-y: visible;
    gap: 30px;
    justify-content: center;

    /* Reset Animation Properties so it's always visible on desktop */
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-links li {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-links a {
    font-size: 0.95rem;
    padding: 0;
  }

  .nav-links a.active::after,
  .nav-links a:hover::after {
    bottom: -5px;
  }

  .mobile-menu-icon {
    display: none;
  }
}

/* PHILOSOPHY */
.philosophy-section {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

.quote-container blockquote {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-style: italic;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ABOUT SECTION */
.about-image {
  position: relative;
}

.profile-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* SERVICES */
.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-intro {
  font-size: 1.2rem;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-style: italic;
}

.service-detail {
  align-items: start;
}

.accordion {
  margin-top: 20px;
}

.accordion-toggle {
  background: none;
  border: none;
  color: var(--color-accent);
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.accordion-toggle::after {
  content: '+';
  font-size: 1.2rem;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.open {
  max-height: 500px;
  margin-top: 15px;
}

.highlight-box {
  background-color: var(--color-secondary);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.highlight-box h3 {
  margin-bottom: 20px;
  color: var(--color-primary);
}

.highlight-box ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.highlight-box ul li::before {
  content: '•';
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* REVIEWS */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.review-card {
  background-color: var(--color-white);
  padding: 40px;
  /* Reduced padding for cleaner look */
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  /* Subtle border */
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  /* Enhanced hover shadow */
}

.review-icon {
  font-size: 3rem;
  color: var(--color-secondary);
  /* Use secondary color for quote */
  line-height: 1;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.review-text {
  font-style: italic;
  margin-bottom: 25px;
  color: var(--color-dark-gray);
  line-height: 1.7;
}

.review-author {
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* Review Form Styling */
.review-form {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.review-form h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--color-primary);
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  /* Slightly refined radius */
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fcfcfc;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(141, 163, 153, 0.1);
  /* Soft focus ring using primary color */
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Star Rating Styling */
.star-rating {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}

.star {
  font-size: 1.5rem;
  cursor: pointer;
  color: #e0e0e0;
  transition: color 0.2s;
}

.star:hover,
.star.active {
  color: #ffd700;
  /* Gold */
}

.submit-btn {
  width: 100%;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 15px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #d08856;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 154, 89, 0.3);
}

/* Messages */
.error {
  color: #d32f2f;
  background-color: #ffebee;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-align: center;
}

.success {
  color: #388e3c;
  background-color: #e8f5e9;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  text-align: center;
}

/* FOOTER */
.footer {
  background-color: var(--color-text);
  color: var(--color-secondary);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-info h4 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  height: 90vh;
  /* Default for Home */
  min-height: 600px;
  background-image: url('img/hero2.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  margin-top: 80px;
}

/* Subpage Hero Modifier */
.hero-section.subpage-hero {
  height: 50vh;
  min-height: 400px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  text-align: left;
  color: var(--color-white);
}

.hero-subtitle {
  display: block;
  font-family: var(--font-accent);
  font-size: 2.5rem;
  color: var(--color-white);
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--color-white);
  max-width: 800px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text {
  font-size: 1.3rem;
  margin-bottom: 40px;
  max-width: 600px;
  opacity: 1;
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-buttons .btn-secondary {
  color: var(--color-white);
  border-color: var(--color-white);
}

.hero-buttons .btn-secondary:hover {
  background-color: var(--color-white);
  color: var(--color-text);
}

/* Mobile-first defaults for layout elements */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-section h1 {
  font-size: 2.5rem;
}

.hero-buttons {
  flex-direction: column;
}

.about-image {
  order: -1;
}

/* Desktop styles - override mobile styles */
@media (min-width: 769px) {
  .grid-2-col {
    grid-template-columns: 1fr 1fr;
  }

  .hero-section h1 {
    font-size: 4.5rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .about-image {
    order: 0;
  }
}

/* ========================================
   LEGACY / COMPATIBILITY STYLES
   (Ensures sub-pages like kontakt.html still work)
======================================== */

/* White Bar Removed */

/* Old Navbar Variations */
.primary-navbar {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  align-items: center;
}

.primary-navbar nav ul {
  display: flex;
  gap: 30px;
}

.primary-navbar.hidden {
  transform: translateY(-100%);
  /* Move out of view */
}



/* Visitenkarte (Contact Card) */
.visitenkarte {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--color-white);
  border: 1px solid var(--color-accent);
  border-radius: 18px;
  padding: 32px;
  max-width: 820px;
  margin: 48px auto;
  box-shadow: var(--shadow-soft);
}

.vcard-foto {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  margin-right: 30px;
  border: 3px solid var(--color-accent);
}

.vcard-logo {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  border: 2.5px solid var(--color-accent);
}

.vcard-image-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  margin-right: 30px;
}

.vcard-info h3 {
  font-size: 2.1rem;
  color: var(--color-text);
  margin-bottom: 10px;
}

.vcard-info p {
  margin: 5px 0;
  font-size: 1.1rem;
}

.vcard-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  background: var(--color-secondary);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  margin-right: 10px;
  transition: all 0.3s ease;
  border: 1px solid var(--color-accent);
}

.vcard-button:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Pinnwand (Legacy) */
.pinnwand-wrapper {
  position: relative;
  width: 100%;
  min-height: 600px;
  margin: 60px 0;
}

.pinnwand {
  position: absolute;
  padding: 48px 40px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  width: 600px;
  z-index: 1;
  border: 1px solid rgba(229, 154, 89, 0.3);
}

.pinnwand-links {
  top: 60px;
  left: 10%;
}

.pinnwand-rechts {
  top: 0;
  left: 50%;
}