/* ═══════════════════════════════════════════════════
   GASSMANNS FRISEURE — Premium Landing Page
   Mobile-first · System fonts · GPU-composited animations
   ═══════════════════════════════════════════════════ */

/* ── Design Tokens ── */

:root {
  /* Brand accent family (burgundy/wine — buttons only) */
  --accent-900: #1e0c10;
  --accent-800: #2f1319;
  --accent-700: #451a21;
  --accent-600: #5c1826;
  --accent-500: #7a2038;
  --accent-400: #a84860;
  --accent-300: #d4a0b0;
  --accent-200: #ebd0d8;
  --accent-100: #f7eef0;

  /* Light warm backgrounds (cream/white quiet luxury) */
  --bg-deep: #faf8f5;
  --bg-dark: #f3f0eb;
  --bg-surface: #eae6e0;
  --bg-elevated: rgba(255, 255, 255, 0.6);

  /* Muted gold accents */
  --gold: #5a4a38;
  --gold-light: #6b5a45;
  --gold-dim: rgba(90, 74, 56, 0.07);

  /* Text on light */
  --text-primary: #1a1a1a;
  --text-secondary: #2e2b28;
  --text-muted: #4a4540;
  --text-accent: #5a4a38;

  /* Glass (light, soft) */
  --glass-bg: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(0, 0, 0, 0.06);
  --glass-blur: 24px;
  --glass-hover-bg: rgba(255, 255, 255, 0.7);

  /* Typography */
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;

  --fs-hero: clamp(2.8rem, 8vw, 6.5rem);
  --fs-h1: clamp(2rem, 5vw, 3.8rem);
  --fs-h2: clamp(1.6rem, 3.5vw, 2.8rem);
  --fs-h3: clamp(1.15rem, 2vw, 1.4rem);
  --fs-body: clamp(0.95rem, 1.1vw, 1.1rem);
  --fs-small: 0.85rem;
  --fs-tag: 0.75rem;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 6rem;
  --sp-2xl: 10rem;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --dur-fast: 200ms;
  --dur-normal: 400ms;
  --dur-slow: 800ms;
  --dur-reveal: 1000ms;
}


/* ── Reset & Base ── */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
}

/* Only use smooth scroll for anchor clicks, not touch scrolling */
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--text-secondary); text-decoration: none; transition: color var(--dur-fast); }
a:hover { color: var(--gold); }
address { font-style: normal; }
em { font-family: var(--font-display); font-style: italic; color: var(--gold); }
::selection { background: var(--accent-600); color: #fff; }


/* ── Utilities ── */

.section-tag {
  display: inline-block;
  font-size: var(--fs-tag);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--sp-lg);
}


/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9em 2em;
  border-radius: 100px;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--dur-normal) var(--ease-out-quart);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-500));
  color: white;
  box-shadow: 0 4px 24px rgba(92, 24, 38, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(92, 24, 38, 0.5);
  color: white;
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: var(--glass-bg);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
}

.btn--sm { padding: 0.7em 1.5em; font-size: 0.8rem; }


/* ── Glass Card ── */

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: var(--sp-md);
  transition: background var(--dur-normal), border-color var(--dur-normal), transform var(--dur-normal);
}
.glass-card:hover {
  background: var(--glass-hover-bg);
  border-color: rgba(0, 0, 0, 0.1);
}


/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--dur-normal), box-shadow var(--dur-normal);
}

.nav--scrolled {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

.nav__logo { display: flex; align-items: center; }
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--text-primary);
  transition: color var(--dur-fast);
}
.nav__logo:hover { color: var(--text-primary); }
.nav__logo:hover .nav__logo-text { color: var(--gold); }

.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-md);
}
.nav__link {
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--dur-normal) var(--ease-out-expo);
}
.nav__link:hover { color: var(--text-primary); }
.nav__link:hover::after { width: 100%; }
.nav__link.active { color: var(--text-primary); }
.nav__link.active::after { width: 100%; }

.nav__cta {
  display: none;
  padding: 0.6em 1.6em;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-600), var(--accent-500));
  color: white;
  transition: all var(--dur-normal);
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(92, 24, 38, 0.4); color: white; }

/* Burger */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--dur-normal) var(--ease-out-expo);
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal) var(--ease-out-expo);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-out-expo),
              transform var(--dur-slow) var(--ease-out-expo);
}
.mobile-menu.open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open .mobile-menu__link:nth-child(1) { transition-delay: 100ms; }
.mobile-menu.open .mobile-menu__link:nth-child(2) { transition-delay: 180ms; }
.mobile-menu.open .mobile-menu__link:nth-child(3) { transition-delay: 260ms; }
.mobile-menu.open .mobile-menu__link:nth-child(4) { transition-delay: 340ms; }
.mobile-menu__link:hover { color: var(--gold); }

.mobile-menu__cta {
  margin-top: var(--sp-md);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-out-expo) 420ms,
              transform var(--dur-slow) var(--ease-out-expo) 420ms;
}
.mobile-menu.open .mobile-menu__cta { opacity: 1; transform: translateY(0); }


/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + var(--sp-lg)) var(--gutter) var(--sp-xl);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(234, 230, 224, 0.6) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 80% 20%, rgba(138, 117, 96, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(138, 117, 96, 0.04) 0%, transparent 50%),
    var(--bg-deep);
  will-change: transform;
}

/* Subtle grain texture */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px;
  opacity: 0.4;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: 0.5em 1.2em;
  border-radius: 100px;
  background: var(--gold-dim);
  border: 1px solid rgba(138, 117, 96, 0.2);
  font-size: var(--fs-small);
  color: var(--gold);
  margin-bottom: var(--sp-md);
  position: relative;
  overflow: hidden;
}
/* Animated shimmer on review badge */
.hero__badge::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(138, 117, 96, 0.12), transparent);
  animation: badgeShimmer 4s ease-in-out infinite;
}
@keyframes badgeShimmer {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}
.hero__stars { letter-spacing: 2px; }

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: var(--sp-md);
  letter-spacing: -0.01em;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: var(--sp-lg);
  letter-spacing: 0.02em;
}

.hero__actions {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  gap: var(--sp-xs);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sp-xl);
  font-size: var(--fs-tag);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-md);
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll span {
  display: block;
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s var(--ease-out-expo) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
}


/* ═══════════════════════════════════════════════════
   PHILOSOPHY
   ═══════════════════════════════════════════════════ */

.philosophy {
  padding: var(--sp-xl) var(--gutter);
  background:
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
}

.philosophy__centered {
  max-width: 680px;
  margin: 0 auto;
}

.philosophy__card {
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated glow behind the philosophy card */
.philosophy__card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, var(--gold) 50%, rgba(0, 0, 0, 0.12) 70%, transparent 100%);
  background-size: 300% 300%;
  animation: borderGlow 8s ease-in-out infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
}
@keyframes borderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.philosophy__card h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--sp-md);
}

.philosophy__card p {
  color: var(--text-muted);
  margin-bottom: var(--sp-sm);
  line-height: 1.8;
}

.philosophy__highlight {
  color: var(--gold) !important;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: var(--sp-md) !important;
}


/* ═══════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════ */

.services {
  padding: var(--sp-xl) var(--gutter);
  background: var(--bg-dark);
  position: relative;
}

/* Animated gradient divider line */
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.08) 20%, var(--gold) 50%, rgba(0, 0, 0, 0.08) 80%, transparent 100%);
  background-size: 200% 100%;
  animation: gradientSlide 8s linear infinite;
  opacity: 0.5;
}
@keyframes gradientSlide {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.services__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.services__grid {
  display: grid;
  gap: var(--sp-md);
  margin-top: var(--sp-md);
}

.service-card {
  text-align: left;
  padding: var(--sp-lg) var(--sp-md);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}

.service-card__icon {
  width: 48px; height: 48px;
  color: var(--gold);
  margin-bottom: var(--sp-md);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  margin-bottom: var(--sp-sm);
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
}

.service-card__price {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06), 0 0 80px rgba(138, 117, 96, 0.04);
}

/* Gold shimmer line on card hover */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--dur-normal);
}
.service-card:hover::after { opacity: 0.4; }


/* ═══════════════════════════════════════════════════
   INSTAGRAM GALLERY
   ═══════════════════════════════════════════════════ */

.gallery {
  padding: var(--sp-xl) 0;
  background:
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
  overflow: hidden;
}

.gallery__header {
  text-align: center;
  padding: 0 var(--gutter);
  margin-bottom: var(--sp-lg);
}

.gallery__handle {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-top: calc(-1 * var(--sp-md));
}
.gallery__handle:hover { color: var(--gold-light); }

.gallery__scroll {
  display: flex;
  gap: var(--sp-md);
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery__scroll::-webkit-scrollbar { display: none; }

.gallery__card {
  flex: 0 0 min(80vw, 380px);
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-surface);
  transition: transform var(--dur-normal) var(--ease-out-quart);
}
.gallery__card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.gallery__card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.gallery__card-body {
  padding: var(--sp-sm) var(--sp-md);
}

.gallery__card-caption {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery__card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  margin-top: var(--sp-xs);
  font-size: var(--fs-small);
  color: var(--accent-400);
}

/* Skeleton loading */
.skeleton .skeleton__img {
  aspect-ratio: 1;
  background: linear-gradient(110deg, var(--bg-surface) 30%, var(--bg-elevated) 50%, var(--bg-surface) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
.skeleton .skeleton__text {
  height: 60px;
  margin: var(--sp-sm) var(--sp-md);
  border-radius: 8px;
  background: linear-gradient(110deg, var(--bg-surface) 30%, var(--bg-elevated) 50%, var(--bg-surface) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite 200ms;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ═══════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════ */

.team {
  padding: var(--sp-xl) var(--gutter);
  background: var(--bg-deep);
}

.team__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
  margin-top: var(--sp-md);
}

.team__member { text-align: center; }

.team__photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--sp-sm);
  overflow: hidden;
  border: 2px solid var(--glass-border);
  transition: border-color var(--dur-normal);
}
.team__member:hover .team__photo {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(138, 117, 96, 0.12);
}

.team__photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-800), var(--accent-900));
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-400);
  letter-spacing: 0.05em;
}

.team__member h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  margin-bottom: 2px;
}

.team__member p {
  font-size: var(--fs-small);
  color: var(--text-muted);
}


/* ═══════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════ */

.testimonials {
  padding: var(--sp-xl) var(--gutter);
  background:
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
}

.testimonials__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.testimonials__grid {
  display: grid;
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

.testimonial-card {
  text-align: left;
  border: none;
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: var(--sp-sm);
}

.testimonial-card p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: var(--sp-sm);
}

.testimonial-card cite {
  font-size: var(--fs-small);
  font-style: normal;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}


.testimonials__cta {
  text-align: center;
  margin-top: var(--sp-lg);
}

/* ═══════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════ */

.contact {
  padding: var(--sp-xl) var(--gutter);
  background: var(--bg-dark);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--accent-600) 50%, var(--gold) 80%, transparent 100%);
  background-size: 200% 100%;
  animation: gradientSlide 8s linear infinite reverse;
  opacity: 0.4;
}

.contact__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: var(--sp-lg);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin: var(--sp-md) 0;
}

.contact__row {
  display: flex;
  gap: var(--sp-sm);
  align-items: flex-start;
  line-height: 1.6;
}
.contact__row a { color: var(--text-primary); }
.contact__row a:hover { color: var(--gold); }

.contact__icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  margin-top: var(--sp-sm);
}

/* Map */
.contact__map-card {
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.contact__map-embed {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 0;
  filter: grayscale(0.4) brightness(0.85) contrast(1.1);
  transition: filter var(--dur-normal);
}
.contact__map-card:hover .contact__map-embed {
  filter: grayscale(0) brightness(1) contrast(1);
}

/* DSGVO consent placeholder for Google Maps */
.map-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  height: 100%;
  padding: var(--sp-lg);
  text-align: center;
}
.map-consent__icon {
  width: 40px; height: 40px;
  color: var(--gold);
  opacity: 0.6;
}
.map-consent__text {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 240px;
}
.map-consent__link {
  font-size: var(--fs-tag);
  color: var(--text-muted);
}
.map-consent__link:hover { color: var(--gold); }

.contact__payments {
  font-size: var(--fs-tag);
  color: var(--text-muted);
  letter-spacing: 0.05em;
}


/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */

.footer {
  padding: var(--sp-lg) var(--gutter) calc(var(--sp-md) + env(safe-area-inset-bottom, 0px));
  background: var(--bg-deep);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.footer__brand {
  margin-bottom: var(--sp-md);
}
.footer__brand .nav__logo-text { font-size: 1.1rem; }
.footer__brand p {
  color: var(--text-muted);
  font-size: var(--fs-small);
  margin-top: var(--sp-xs);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}
.footer__social a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  transition: all var(--dur-normal);
}
.footer__social a svg { width: 20px; height: 20px; }
.footer__social a:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-dim);
}

.footer__legal {
  display: flex;
  justify-content: center;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-md);
  padding-top: var(--sp-sm);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.footer__legal a {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}
.footer__legal a:hover { color: var(--gold); }

.footer__copy {
  font-size: var(--fs-small);
  color: var(--text-muted);
}


/* ═══════════════════════════════════════════════════
   LEGAL PAGES (Impressum, Datenschutz)
   ═══════════════════════════════════════════════════ */

.legal {
  padding: calc(var(--nav-h) + var(--sp-xl)) var(--gutter) var(--sp-xl);
  background: var(--bg-deep);
  min-height: 100vh;
}

.legal__inner {
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 400;
  margin-bottom: var(--sp-xs);
}

.legal__subtitle {
  color: var(--text-muted);
  font-size: var(--fs-small);
  margin-bottom: var(--sp-xl);
  letter-spacing: 0.05em;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  color: var(--gold);
  margin-top: var(--sp-lg);
  margin-bottom: var(--sp-sm);
}

.legal p, .legal li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-sm);
}

.legal ul {
  list-style: none;
  padding-left: var(--sp-md);
}

.legal ul li::before {
  content: '\2014';
  color: var(--accent-600);
  margin-right: var(--sp-xs);
}

.legal a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: var(--glass-border);
  text-underline-offset: 3px;
}
.legal a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}


/* ═══════════════════════════════════════════════════
   ANIMATIONS (scroll-triggered)
   ═══════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-reveal) var(--ease-out-expo),
              transform var(--dur-reveal) var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity var(--dur-reveal) var(--ease-out-expo),
              transform var(--dur-reveal) var(--ease-out-expo);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity var(--dur-reveal) var(--ease-out-expo),
              transform var(--dur-reveal) var(--ease-out-expo);
}
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity var(--dur-slow) var(--ease-out-expo),
              transform var(--dur-slow) var(--ease-out-expo);
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 150ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 300ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 450ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 600ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 750ms; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 900ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
  html { scroll-behavior: auto; }
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET (768px+)
   ═══════════════════════════════════════════════════ */

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .contact__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .gallery__card {
    flex: 0 0 340px;
  }
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE — DESKTOP (1024px+)
   ═══════════════════════════════════════════════════ */

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }

  .gallery__scroll {
    justify-content: center;
    overflow-x: visible;
  }

  .gallery__card {
    flex: 0 0 360px;
  }

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


/* ═══════════════════════════════════════════════════
   RESPONSIVE — LARGE (1280px+)
   ═══════════════════════════════════════════════════ */

@media (min-width: 1280px) {
  .hero__title {
    letter-spacing: -0.02em;
  }

  .service-card {
    padding: var(--sp-xl) var(--sp-lg);
  }
}
