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

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --color-orchidee: rgb(201, 149, 86);
  --color-orchidee-hover: rgb(175, 125, 62);
  --color-orchidee-text: rgb(30, 92, 63);
  --color-orchidee-text-dark: rgb(18, 52, 35);
  --color-orchidee-bg: rgb(249, 240, 223);
  --color-orchidee-card: #ffffff;
  --nav-height: 72px;
}

/* ============================================================
   BASE
   ============================================================ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-orchidee-bg);
  color: var(--color-orchidee-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

.numbers {
  font-family: 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  overflow: visible;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

#main-nav.scrolled,
#main-nav.menu-open {
  background: rgba(249, 240, 223, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 16px rgba(30, 92, 63, 0.09);
}

/* Nav links */
.navbarlink > a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.25s ease;
}

.navbarlink > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-orchidee);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.navbarlink > a:hover {
  color: var(--color-orchidee);
}

.navbarlink > a:hover::after {
  width: 100%;
}

.navbarlink > a:focus-visible {
  outline: 2px solid var(--color-orchidee);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Scrolled nav — link colors */
#main-nav.scrolled .navbarlink > a {
  color: var(--color-orchidee-text);
}

#main-nav.scrolled .navbarlink > a:hover {
  color: var(--color-orchidee-hover);
}

/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s ease;
}

#main-nav.scrolled .hamburger span,
#main-nav.menu-open .hamburger span {
  background: var(--color-orchidee-text);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
#mobile-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  background: rgba(249, 240, 223, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
}

#mobile-menu.open {
  max-height: 340px;
  opacity: 1;
}

#mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-orchidee-text);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  text-align: center;
  padding: 0.625rem 1rem;
}

#mobile-menu a:hover {
  color: var(--color-orchidee);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-cta {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  background: var(--color-orchidee);
  color: #fff;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease,
              transform 0.2s ease,
              box-shadow 0.25s ease;
}

.hero-cta:hover {
  background: var(--color-orchidee-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.hero-cta:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}

.hero-cta--dark {
  background: var(--color-orchidee-text);
}

.hero-cta--dark:hover {
  background: var(--color-orchidee-text-dark);
}

@keyframes scroll-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateX(-50%) translateY(7px);
    opacity: 1;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-bounce 2.2s ease-in-out infinite;
  color: rgba(255, 255, 255, 0.75);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-indicator {
    animation: none;
    opacity: 0.7;
  }
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--color-orchidee-text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 1.125rem;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.75rem;
  height: 2px;
  background: var(--color-orchidee);
  border-radius: 2px;
}

/* ============================================================
   PRICE CARDS
   ============================================================ */
.priceCard {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  padding: 1.75rem 1.75rem 1.5rem;
  background-color: var(--color-orchidee-card);
  color: var(--color-orchidee-text);
  width: 100%;
  box-shadow: 0 2px 12px rgba(30, 92, 63, 0.07),
              0 1px 3px rgba(30, 92, 63, 0.04);
  border: 1px solid rgba(201, 149, 86, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.priceCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(30, 92, 63, 0.13);
}

.priceCard-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 149, 86, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
  color: var(--color-orchidee);
  flex-shrink: 0;
}

.priceCard > h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.35;
  text-align: center;
  color: var(--color-orchidee-text-dark);
}

.priceCard > hr {
  border: 0;
  border-top: 1px solid rgba(201, 149, 86, 0.2);
  margin: 1rem 0 0.75rem;
}

.priceCard > div {
  display: flex;
  flex-direction: column;
  row-gap: 0;
  width: 100%;
}

.priceCard > div > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(30, 92, 63, 0.06);
}

.priceCard > div > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.priceCard > div > div > div {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.priceCard > div > div > div > span:nth-child(1) {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-orchidee-text);
  font-variant-numeric: tabular-nums;
}

.priceCard > div > div > div > span:nth-child(2) {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-orchidee-text);
  opacity: 0.6;
  margin-left: 1px;
}

.priceCard > div > div > p:nth-child(3) {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-orchidee-text-dark);
  background: rgba(201, 149, 86, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  min-width: 58px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.space-border {
  border: 0;
  border-bottom: 1px dashed rgba(30, 92, 63, 0.15);
  flex-grow: 1;
  height: 1px;
  margin: 0 0.625rem;
  min-width: 12px;
}

/* ============================================================
   INFO BOX (Gutschein)
   ============================================================ */
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: rgba(201, 149, 86, 0.08);
  border: 1px solid rgba(201, 149, 86, 0.28);
  border-radius: 0.875rem;
  padding: 1rem 1.25rem;
  color: var(--color-orchidee-text);
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 480px;
  margin: 0 auto;
}

.info-box-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-orchidee);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.375rem 0;
}

.contact-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--color-orchidee);
}

/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0.35;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-orchidee);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease,
              transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   ACTIVE NAV LINK
   ============================================================ */
.navbarlink > a.active {
  color: var(--color-orchidee) !important;
}

.navbarlink > a.active::after {
  width: 100% !important;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  background: var(--color-orchidee);
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 40;
  box-shadow: 0 4px 16px rgba(201, 149, 86, 0.35);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-orchidee-hover);
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--color-orchidee);
  outline-offset: 3px;
}

/* ============================================================
   MOBILE FLOATING CALL BUTTON
   ============================================================ */
.mobile-call-cta {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--color-orchidee-text);
  color: white;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(30, 92, 63, 0.3);
  z-index: 40;
  opacity: 0;
  white-space: nowrap;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.3s ease,
              background 0.2s ease;
}

.mobile-call-cta.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.mobile-call-cta:hover {
  background: var(--color-orchidee-text-dark);
}

.mobile-call-cta:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .mobile-call-cta {
    display: none;
  }
}
