/* ========================================
   Happy Paws - Organic Luxury Design System
   Aesthetic: Warm, natural, refined
   ======================================== */

/* ---- Google Fonts Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---- Design Tokens ---- */
:root {
  /* Brand Colors */
  --primary: #0a1628;
  --primary-medium: #162a4a;
  --primary-light: #1e3a5f;
  --accent: #c8a97e;
  --accent-light: #e8d5b8;
  --accent-glow: rgba(200, 169, 126, 0.15);

  /* Neutrals - Warm */
  --bg: #faf8f5;
  --bg-warm: #f5f0ea;
  --white: #ffffff;
  --cream: #fefcf9;
  --gray-50: #f9f7f4;
  --gray-100: #f0ece6;
  --gray-200: #e0dbd3;
  --gray-300: #c5bfb6;
  --gray-400: #9e9689;
  --gray-500: #7a7267;
  --gray-600: #5c554c;
  --gray-700: #3d3731;
  --gray-800: #2a2520;

  /* Semantic */
  --success: #3d8b5e;
  --success-light: #e8f5ee;
  --warning: #c49032;
  --warning-light: #fdf3e0;
  --danger: #c0392b;
  --danger-light: #fbeae8;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Spacing & Layout */
  --max-width: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows - Warm toned */
  --shadow-sm: 0 2px 8px rgba(42, 37, 32, 0.06);
  --shadow: 0 4px 24px rgba(42, 37, 32, 0.08);
  --shadow-lg: 0 12px 48px rgba(42, 37, 32, 0.12);
  --shadow-accent: 0 8px 32px rgba(200, 169, 126, 0.2);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.35s var(--ease-smooth);
  --transition-slow: 0.6s var(--ease-out);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary);
}

::selection {
  background: var(--accent-light);
  color: var(--primary);
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

.text-accent {
  color: var(--accent);
}

.text-italic {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15em;
  color: var(--gray-500);
}

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

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.6s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.7s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

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

.section {
  padding: 100px 0;
  position: relative;
}

.section--accent {
  background: var(--bg-warm);
}

.section--dark {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--dark .text-accent {
  color: var(--accent);
}

/* Decorative section divider */
.section__divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 48px;
}

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 169, 126, 0.12);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(10, 22, 40, 0.08);
  background: rgba(250, 248, 245, 0.97);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.header__logo:hover {
  color: var(--primary);
}

.header__logo img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--transition);
  letter-spacing: 0.01em;
  position: relative;
}

.nav a:hover {
  color: var(--primary);
  background: var(--accent-glow);
}

.nav a.active {
  color: var(--primary);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav__cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  padding: 10px 22px !important;
  border: none;
}

.nav__cta:hover {
  background: var(--primary-medium) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.2);
}

.nav__cta.active::after {
  display: none;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.75) 0%,
    rgba(10, 22, 40, 0.45) 50%,
    rgba(10, 22, 40, 0.3) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 80px 24px;
}

.hero__content h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-bottom: 1.2rem;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
  animation: heroReveal 1s var(--ease-out) 0.2s forwards;
}

.hero__content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 1s var(--ease-out) 0.5s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 1s var(--ease-out) 0.7s forwards;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 3rem;
  opacity: 0;
  animation: heroReveal 1s var(--ease-out) 0.9s forwards;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 20px;
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__badge i {
  color: var(--accent);
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

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

.btn--primary:hover {
  background: var(--primary-medium);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.25);
}

.btn--secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn--accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

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

.btn--white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--small {
  padding: 8px 20px;
  font-size: 0.85rem;
}

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

.btn--danger:hover {
  background: #a93226;
  color: var(--white);
}

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

.btn--success:hover {
  background: #2e7049;
  color: var(--white);
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(200, 169, 126, 0.08);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-glow), var(--bg-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 20px;
  border: 1px solid rgba(200, 169, 126, 0.15);
}

.card__price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 16px;
}

.card__label {
  font-size: 0.82rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card--featured {
  border: 2px solid var(--accent);
  position: relative;
}

.card--featured::before {
  opacity: 1;
  height: 4px;
}

.card--featured .card__badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Grid ---- */
.grid {
  display: grid;
  gap: 28px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header p {
  color: var(--gray-500);
  font-size: 1.08rem;
  margin-top: 12px;
  line-height: 1.8;
}

.section-header .section__divider {
  margin-top: 20px;
}

/* ---- Gallery ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.85));
  color: white;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
}

.gallery__item:hover .gallery__overlay {
  transform: translateY(0);
}

.gallery__overlay small {
  color: var(--accent-light);
  font-weight: 400;
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gray-700);
  letter-spacing: 0.01em;
}

.form-group label .required {
  color: var(--accent);
  margin-left: 2px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
  background: var(--white);
  color: var(--gray-700);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.form-input::placeholder {
  color: var(--gray-400);
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%239e9689'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Honeypot - spam protection */
.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ---- Content Box ---- */
.content-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(200, 169, 126, 0.06);
}

.content-box h2 {
  margin-bottom: 1.5rem;
}

.content-box h3 {
  color: var(--primary);
}

.content-box p {
  margin-bottom: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.content-box ul {
  list-style: none;
  margin: 1.5rem 0;
}

.content-box ul li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--gray-600);
}

.content-box ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- Highlight Box ---- */
.highlight {
  background: linear-gradient(135deg, var(--accent-glow), rgba(200, 169, 126, 0.05));
  border-left: 4px solid var(--accent);
  padding: 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

/* ---- Price Table ---- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.price-table th {
  text-align: left;
  padding: 14px 20px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.price-table th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.price-table th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:hover td {
  background: var(--gray-50);
}

/* ---- Featured Carousel ---- */
.carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 450px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-lg);
}

.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease-smooth);
}

.carousel__slide.active {
  opacity: 1;
}

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

.carousel__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.9));
  color: white;
}

.carousel__overlay h3 {
  color: white;
  font-size: 1.8rem;
}

.carousel__overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  transition: all var(--transition);
  z-index: 2;
}

.carousel__nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow);
}

.carousel__nav--prev { left: 20px; }
.carousel__nav--next { right: 20px; }

.carousel__counter {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(8px);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  z-index: 2;
  letter-spacing: 0.05em;
}

/* ---- Map ---- */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ---- Footer ---- */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer h4 {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.9;
}

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

.footer__brand p {
  max-width: 300px;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  transition: all var(--transition);
  position: relative;
  padding-left: 0;
}

.footer__links a:hover {
  padding-left: 6px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.4);
}

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

/* ---- Toast Notifications ---- */
.toast {
  position: fixed;
  top: 28px;
  right: 28px;
  padding: 18px 28px;
  border-radius: var(--radius);
  color: white;
  font-weight: 500;
  z-index: 1000;
  transform: translateX(120%);
  transition: transform 0.5s var(--ease-out);
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  transform: translateX(0);
}

.toast--success {
  background: var(--success);
}

.toast--error {
  background: var(--danger);
}

/* ---- Cookie Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 -4px 30px rgba(10, 22, 40, 0.1);
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  border-top: 1px solid var(--gray-200);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ---- Admin Styles ---- */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.admin-login__card {
  background: white;
  padding: 52px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  border: 1px solid rgba(200, 169, 126, 0.08);
}

.admin-header {
  background: var(--primary);
  color: white;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-content {
  padding: 36px 28px;
  max-width: 1400px;
  margin: 0 auto;
}

.admin-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.admin-table th {
  background: var(--gray-50);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--gray-200);
}

.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
}

.admin-table tr:hover td {
  background: var(--gray-50);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge--pending {
  background: var(--warning-light);
  color: var(--warning);
}

.badge--confirmed {
  background: var(--success-light);
  color: var(--success);
}

.badge--cancelled {
  background: var(--danger-light);
  color: var(--danger);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.stat-card {
  background: white;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid rgba(200, 169, 126, 0.06);
  transition: all var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-card__label {
  color: var(--gray-500);
  font-size: 0.82rem;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- Lazy Loading Images ---- */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s var(--ease-smooth);
}

img[loading="lazy"].loaded,
img.loaded {
  opacity: 1;
}

/* ---- Back to Top Button ---- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 90;
  box-shadow: var(--shadow);
}

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

.back-to-top:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-4px);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }

  .nav.open { display: flex; }

  .nav a {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
  }

  .nav__cta {
    text-align: center;
    justify-content: center;
    margin-top: 8px;
  }

  .hero { min-height: 80vh; }
  .hero__content h1 { font-size: 2.2rem; }
  .hero__scroll { display: none; }

  .section { padding: 64px 0; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

  .content-box { padding: 32px; }
  .form-row { grid-template-columns: 1fr; }

  /* 16px verhindert den Auto-Zoom von iOS beim Fokussieren von Eingabefeldern */
  .form-input { font-size: 1rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .cookie-banner__inner { flex-direction: column; text-align: center; }

  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-table { font-size: 0.8rem; }
  .admin-table th, .admin-table td { padding: 10px; }
}

@media (max-width: 480px) {
  .hero { min-height: 75vh; }
  .hero__content h1 { font-size: 1.9rem; }
  .hero__badges { flex-direction: column; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .content-box { padding: 24px; }

  .admin-stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in, .fade-in-left, .fade-in-right, .scale-in {
    opacity: 1;
    transform: none;
  }
  .stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* ---- Print Styles ---- */
@media print {
  .header, .footer, .cookie-banner, .back-to-top, .hero__scroll { display: none !important; }
  .section { padding: 20px 0; }
  body { background: white; color: black; }
  .content-box { box-shadow: none; border: 1px solid #ddd; }
}
