:root {
  /* Corporate Colors */
  --color-deep-sage: #1C362B;
  --color-muted-eucalyptus: #6B8E7D;
  --color-warm-linen: #F4F1EA;
  --color-soft-terracotta: #C97A63;
  --color-text-dark: #111111;

  /* Typography */
  --font-primary: Georgia, serif;
  --font-secondary: Arial, Helvetica, sans-serif;

  /* Layout */
  --content-width: 1000px;
  --header-height: 80px;
}

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

html {
  /* scroll-behavior wird per JavaScript mit kontrollierter Dauer gesteuert */
  scroll-padding-top: var(--header-height);
  /* Offset für fixe Navigationsleiste */
}

body {
  font-family: var(--font-secondary);
  background-color: var(--color-warm-linen);
  color: var(--color-text-dark);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Typography Base */
h1,
h2 {
  font-family: var(--font-primary);
  color: var(--color-deep-sage);
  font-weight: normal;
}

h3,
table th,
.bold-text {
  font-family: var(--font-secondary);
  font-weight: bold;
}

h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  h2 {
    font-size: 28px;
  }
}

a {
  color: var(--color-deep-sage);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--color-muted-eucalyptus);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-warm-linen);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

nav.scrolled {
  background-color: rgba(244, 241, 234, 0.95);
  backdrop-filter: blur(5px);
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-primary);
  font-size: 20px;
  color: var(--color-deep-sage);
}

.logo-subtitle {
  font-family: var(--font-secondary);
  font-size: 12px;
  color: var(--color-muted-eucalyptus);
  letter-spacing: 1px;
}

#menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.menu-link {
  font-family: var(--font-secondary);
  font-weight: bold;
  color: var(--color-deep-sage);
  font-size: 15px;
  position: relative;
}

.menu-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-muted-eucalyptus);
  transition: width 0.3s ease;
}

.menu-link:hover::after,
.menu-link.active::after {
  width: 100%;
}

/* Active nav link (scroll-spy, desktop only) */
@media (min-width: 768px) {
  .menu-link.active {
    color: var(--color-muted-eucalyptus);
  }
}

#burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

#burger div {
  width: 25px;
  height: 3px;
  background-color: var(--color-deep-sage);
  transition: 0.3s;
}

/* Hero Section */
#home {
  margin-top: var(--header-height);
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-muted-eucalyptus);
  overflow: hidden;
}

.hero-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  /* Slight overlay for readability */
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  background: rgba(244, 241, 234, 0.85);
  padding: 3rem 4rem;
  border-radius: 4px;
}

.hero-content h1 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero-content h2 {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 2px;
  color: var(--color-muted-eucalyptus);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content h2 {
    font-size: 18px;
  }
}

/* Gatekeeper Banner */
#gatekeeper {
  background-color: var(--color-soft-terracotta);
  color: #fff;
  text-align: center;
  padding: 1.5rem 2rem;
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: bold;
}

#gatekeeper p {
  max-width: 800px;
  margin: 0 auto;
}

/* Sections Base */
section {
  padding: 5rem 2rem;
  max-width: var(--content-width);
  margin: 0 auto;
}

section:not(:last-child) {
  border-bottom: 1px solid rgba(107, 142, 125, 0.2);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 4rem;
  }
}

.service-item {
  padding: 1.5rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
  border-left: 4px solid var(--color-muted-eucalyptus);
}

.service-item:hover {
  transform: translateY(-3px);
}

.service-item.highlight {
  border-left-color: var(--color-deep-sage);
  background-color: rgba(28, 54, 43, 0.03);
}

.service-item p {
  margin: 0;
  font-weight: bold;
}

/* About Me */
.about-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-container {
    flex-direction: row;
  }
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-image {
  flex: 1;
  max-width: 400px;
  width: 100%;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Opening Hours */
.hours-container {
  max-width: 600px;
  margin: 0 auto;
}

.special-hours {
  font-weight: bold;
  color: var(--color-soft-terracotta);
  text-align: center;
  padding: 1rem;
  background-color: rgba(201, 122, 99, 0.1);
  border-radius: 4px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-soft-terracotta);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.table th,
.table td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(107, 142, 125, 0.1);
}

.table th {
  font-size: 16px;
  color: var(--color-deep-sage);
  width: 40%;
}

.table .time-slot {
  display: block;
}

.table .time-slot+.time-slot {
  margin-top: 0.5rem;
}

.table tr.closed {
  background-color: rgba(0, 0, 0, 0.02);
  color: #999;
}

.table tr.closed th {
  color: #777;
}

.cancellation-policy {
  font-weight: bold;
  color: var(--color-soft-terracotta);
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(201, 122, 99, 0.1);
  border-radius: 4px;
}

.general-note {
  text-align: center;
  margin-bottom: 1rem;
  font-style: italic;
  color: var(--color-muted-eucalyptus);
}

/* Contact & Location */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  background: #fff;
  padding: 3rem;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info address {
  font-style: normal;
  margin-bottom: 1.5rem;
}

.contact-info address p {
  margin-bottom: 0.5rem;
}

.phone-link {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-deep-sage);
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 2rem;
  border: 2px solid var(--color-deep-sage);
  border-radius: 4px;
}

.phone-link:hover {
  background-color: var(--color-deep-sage);
  color: var(--color-warm-linen);
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  position: relative;
  background-color: var(--color-warm-linen);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 350px;
  background-color: rgba(244, 241, 234, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  z-index: 10;
}

.map-overlay p {
  margin-bottom: 1rem;
  max-width: 400px;
}

.map-btn {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: bold;
  color: var(--color-warm-linen);
  background-color: var(--color-deep-sage);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.map-btn:hover {
  background-color: var(--color-muted-eucalyptus);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
}

/* Footer */
footer {
  background-color: var(--color-deep-sage);
  color: var(--color-warm-linen);
  text-align: center;
  padding: 2rem;
  font-size: 14px;
}

footer a {
  color: var(--color-warm-linen);
  text-decoration: underline;
}

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

/* Mobile Adjustments */
@media (max-width: 767px) {
  #burger {
    display: flex;
  }

  #menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--color-warm-linen);
    padding: 2rem;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
  }

  #menu.active {
    display: flex;
  }
}