/*
 * Area of Art Studio — main stylesheet
 * https://www.areaofart.de
 *
 * Structure:
 *   1. Font fallback declarations
 *   2. Design tokens (CSS custom properties)
 *   3. Reset & base
 *   4. Typography utilities
 *   5. Layout (nav, hero, sections, footer)
 *   6. Components (buttons, icons, cards)
 *   7. Page-specific (services, team, contact, legal)
 *   8. Animations
 *   9. Responsive overrides
 */

/* ============================================================
   FONT FALLBACK METRICS — eliminates CLS on font swap
   ============================================================ */
@font-face {
  font-family: 'Georgia Fallback';
  src: local('Georgia');
  size-adjust: 105%;
  ascent-override: 95%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Color */
  --bg: #fafaf7;
  --bg-alt: #f1efe8;
  --bg-deep: #ebe8df;
  --ink: #0a0a0a;
  --ink-soft: #2a2a2a;
  --ink-muted: #6b6b66;
  --ink-faint: #a8a8a0;
  --beige: #c9b89a;
  --beige-deep: #9d8966;
  --beige-soft: #e8dfcc;
  --line: rgba(10, 10, 10, 0.08);
  --line-strong: rgba(10, 10, 10, 0.18);
  --line-on-dark: rgba(250, 250, 247, 0.15);

  /* Typography */
  --serif: 'Fraunces', 'Georgia Fallback', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Tight', 'Inter Fallback', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing — fluid, mobile-first */
  --space-xs: clamp(8px, 1.5vw, 12px);
  --space-sm: clamp(16px, 2.5vw, 24px);
  --space-md: clamp(24px, 4vw, 40px);
  --space-lg: clamp(40px, 6vw, 80px);
  --space-xl: clamp(60px, 9vw, 140px);
  --space-2xl: clamp(80px, 12vw, 200px);
  --gutter: clamp(20px, 4vw, 64px);

  /* Type scale — fluid */
  --fs-display: clamp(56px, 11vw, 168px);
  --fs-h1: clamp(48px, 8vw, 116px);
  --fs-h2: clamp(36px, 5.5vw, 80px);
  --fs-h3: clamp(24px, 3vw, 36px);
  --fs-lead: clamp(17px, 1.7vw, 21px);
  --fs-body: clamp(15px, 1.1vw, 17px);
  --fs-small: clamp(12px, 0.85vw, 13px);
  --fs-micro: 11px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --nav-h: 76px;
  --vh: 1vh;
  --content-max: 1440px;
}

@media (min-width: 768px) {
  :root { --nav-h: 84px; }
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  overscroll-behavior: none;
  background: var(--bg);
  /* Avoid white flash at top/bottom on iOS Safari overscroll */
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  overflow-x: clip;
  overscroll-behavior-y: none;
  text-rendering: optimizeLegibility;
  position: relative;
  width: 100%;
  min-height: 100vh;
}

::selection { background: var(--ink); color: var(--bg); }

a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }

button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }

img, video { max-width: 100%; display: block; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.serif { font-family: var(--serif); }
.italic { font-style: italic; }
.accent { color: var(--beige-deep); font-style: italic; }

/* ============================================================
   LAYOUT WRAPPERS
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-xl);
  position: relative;
  max-width: 100%;
  overflow-x: clip;
}

.section-eyebrow {
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 400;
}

.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--beige-deep);
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-variation-settings: 'opsz' 144;
  margin-bottom: var(--space-lg);
  max-width: 22ch;
}

.section-title .italic {
  font-weight: 400;
  font-style: italic;
  color: var(--beige-deep);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 250, 247, 0.92);
}

body.menu-open .nav {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.menu-open .nav .logo,
body.menu-open .nav .nav-links a,
body.menu-open .nav .btn-nav {
  color: var(--bg);
}

body.menu-open .nav .btn-nav {
  background: transparent;
  border-color: rgba(250, 250, 247, 0.3);
}

body.menu-open .nav .btn-nav:hover {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.logo {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 1.6vw, 24px);
  letter-spacing: -0.02em;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 5px;
  user-select: none;
}

.logo .dot {
  width: 5px;
  height: 5px;
  background: var(--beige-deep);
  border-radius: 50%;
  display: inline-block;
  transform: translateY(-3px);
  transition: transform 0.4s var(--ease);
}

.logo:hover .dot { transform: translateY(-3px) scale(1.6); }

.nav-links {
  display: none;
  gap: clamp(20px, 3vw, 40px);
  list-style: none;
}

.nav-links a {
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  cursor: pointer;
  padding: 10px 2px;
  color: var(--ink-soft);
  transition: color 0.3s;
  font-weight: 400;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.5s var(--ease-out);
}

.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

/* CTA */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 14px 24px;
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--btn-bg);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}

.btn:hover { background: transparent; color: var(--btn-bg); }
.btn:hover .arrow { transform: translateX(6px); }

.btn-light {
  --btn-bg: var(--bg);
  --btn-fg: var(--ink);
}

.btn-large {
  padding: 18px 36px;
  font-size: 13px;
}

.btn-nav { display: none; }
@media (min-width: 600px) {
  .btn-nav { display: inline-flex; }
  .btn-nav { padding: 12px 22px; min-height: 44px; }
}

/* Underline link */
.link-line {
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  font-weight: 400;
}

.link-line::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line-strong);
  transition: background 0.3s, transform 0.5s var(--ease-out);
  transform-origin: right;
}

.link-line:hover::after {
  background: var(--ink);
  transform-origin: left;
  animation: lineSwipe 0.6s var(--ease-out);
}

@keyframes lineSwipe {
  0% { transform: scaleX(1); transform-origin: right; }
  50% { transform: scaleX(0); transform-origin: right; }
  51% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* Mobile menu toggle */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
  z-index: 101;
  padding: 0;
  color: var(--ink);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

body.menu-open .menu-toggle {
  border-color: rgba(250, 250, 247, 0.3);
  color: var(--bg);
}

@media (hover: hover) {
  .menu-toggle:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
  body.menu-open .menu-toggle:hover { background: var(--bg); border-color: var(--bg); color: var(--ink); }
}

.menu-toggle .menu-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.3s var(--ease-out), transform 0.45s var(--ease-out);
}

.menu-toggle .menu-icon-x {
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
}

body.menu-open .menu-toggle .menu-icon-burger {
  opacity: 0;
  transform: rotate(90deg) scale(0.8);
}

body.menu-open .menu-toggle .menu-icon-x {
  opacity: 1;
  transform: rotate(0) scale(1);
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
}

/* Mobile menu overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--ink);
  color: var(--bg);
  padding: calc(var(--nav-h) + var(--space-md)) var(--gutter) var(--space-lg);
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease-out), visibility 0s linear 0.55s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  visibility: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

body.menu-open .menu-overlay {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.55s var(--ease-out), visibility 0s linear 0s;
}

/* Lock body scroll when menu is open */
body.menu-open {
  overflow: hidden;
  touch-action: none;
}

.menu-overlay nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-overlay nav a {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 14vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-on-dark);
  color: var(--bg);
  cursor: pointer;
  position: relative;
  font-variation-settings: 'opsz' 144;
}

.menu-overlay nav a::after {
  content: '→';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translate(20px, -50%);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
  font-family: var(--sans);
  font-size: 28px;
  color: var(--beige);
}

.menu-overlay nav a:hover::after, .menu-overlay nav a.active::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.menu-overlay nav a.active {
  color: var(--beige);
  font-style: italic;
}

.menu-foot {
  padding-top: var(--space-md);
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.75);
}

.menu-foot a:hover { color: var(--beige); }

/* ============================================================
   PAGES
   ============================================================ */
.page {
  display: none;
  padding-top: var(--nav-h);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.page.active {
  display: block;
  animation: pageIn 0.7s var(--ease-out);
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero entrance — CSS-only, doesn't block LCP measurement */
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: heroFade 0.7s var(--ease-out) backwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .hero-content > * { animation: none; }
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(var(--vh, 1vh) * 100 - var(--nav-h));
  padding-block: var(--space-lg) var(--space-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  max-width: 100%;
  overflow-x: clip;
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-xl);
    min-height: calc(var(--vh, 1vh) * 100 - var(--nav-h));
  }
}

.hero-content { padding-inline: var(--gutter); }

@media (min-width: 1024px) {
  .hero-content { padding-left: var(--gutter); padding-right: 0; }
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h1);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
  font-variation-settings: 'opsz' 144;
}

.hero h1 .italic {
  font-style: italic;
  color: var(--beige-deep);
  font-weight: 400;
}

.hero h1 .block { display: block; }

.hero-sub {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: var(--space-md);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  align-items: center;
}

.hero-visual {
  position: relative;
  height: clamp(380px, 60vw, 720px);
  padding-right: var(--gutter);
  overflow: clip;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .hero-visual { padding-right: var(--gutter); padding-left: 0; height: 78vh; min-height: 600px; }
}

.hero-img-main {
  position: absolute;
  inset: 0 0 0 auto;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.05);
  overflow: hidden;
  animation: heroZoom 8s var(--ease-out) forwards;
  transform-origin: center;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img-main { animation: none; }
}

@media (min-width: 768px) {
  .hero-img-main { width: 82%; }
}

.hero-img-accent {
  display: none;
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 38%;
  height: 42%;
  background-size: cover;
  background-position: center;
  border: 8px solid var(--bg);
  filter: grayscale(100%);
  z-index: 2;
  transition: transform 0.8s var(--ease-out);
}

@media (min-width: 768px) {
  .hero-img-accent { display: block; }
}

.hero-meta {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 3;
  display: none;
  gap: 36px;
  background: rgba(250, 250, 247, 0.92);
  padding: 18px 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .hero-meta { display: flex; }
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.hero-meta-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hero-meta-value {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-variation-settings: 'opsz' 144;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf50;
  display: inline-block;
  position: relative;
}

.status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #4caf50;
  opacity: 0.4;
  animation: statusPulse 2.4s ease-out infinite;
}

.status-dot.closed { background: var(--ink-muted); }
.status-dot.closed::after { display: none; }

@keyframes statusPulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(20px, 3vw, 32px);
  overflow: hidden;
  background: var(--bg);
  position: relative;
}

.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 8vw, 100px);
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.marquee-track {
  display: flex;
  gap: clamp(40px, 6vw, 80px);
  animation: scroll 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-item {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 3.4vw, 40px);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  letter-spacing: -0.02em;
}

.marquee-item::after {
  content: '✦';
  color: var(--beige-deep);
  font-size: clamp(10px, 1vw, 14px);
  font-style: normal;
}

@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy { background: var(--bg-alt); }

.philo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 900px) {
  .philo-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(60px, 8vw, 120px);
  }
}

.philo-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variation-settings: 'opsz' 144;
}

.philo-quote-mark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(60px, 8vw, 110px);
  color: var(--beige-deep);
  line-height: 0.4;
  display: block;
  margin-bottom: 24px;
}

.philo-signature {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--ink);
  margin-top: var(--space-md);
}

/* ============================================================
   SERVICES PREVIEW (HOME)
   ============================================================ */
.services-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 0;
}

@media (min-width: 900px) {
  .services-preview { grid-template-columns: 1fr 1fr; }
}

.service-card {
  padding-block: clamp(24px, 3.5vw, 48px);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: clamp(16px, 2vw, 32px);
  align-items: center;
  cursor: pointer;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
  position: relative;
}

@media (min-width: 900px) {
  .service-card:nth-child(odd) {
    padding-right: clamp(24px, 3vw, 40px);
    border-right: 1px solid var(--line);
  }
  .service-card:nth-child(even) { padding-left: clamp(24px, 3vw, 40px); }
}

.service-card:hover { background: var(--bg-alt); }

.service-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--beige-deep);
}

.service-info h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.1;
}

.service-info .duration {
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.service-price {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 30px);
  color: var(--ink);
}

/* ============================================================
   TEAM PREVIEW
   ============================================================ */
.team-preview { background: var(--ink); color: var(--bg); }
.team-preview .section-eyebrow { color: rgba(250,250,247,0.55); }
.team-preview .section-eyebrow::before { background: var(--beige); }
.team-preview .section-title { color: var(--bg); }

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 700px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); }
}

.team-card {
  cursor: pointer;
  transition: transform 0.6s var(--ease-out);
}

.team-card:hover { transform: translateY(-6px); }

.team-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center top;
  filter: grayscale(100%) contrast(1.05);
  margin-bottom: var(--space-sm);
  position: relative;
  overflow: hidden;
}

.team-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.45));
  transition: opacity 0.5s;
}

.team-card:hover .team-img::after { opacity: 0.5; }

.team-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.team-role {
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 18px;
}

.team-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  color: rgba(250,250,247,0.85);
  max-width: 28ch;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding-block: var(--space-2xl);
  text-align: center;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h1);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
  font-variation-settings: 'opsz' 144;
}

.cta-banner h2 .italic {
  font-style: italic;
  color: var(--beige-deep);
  font-weight: 400;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: var(--bg);
  padding: var(--space-xl) var(--gutter) var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--line-on-dark);
}

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.4fr 1fr 1fr;
    gap: clamp(32px, 4vw, 56px);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
  }
}

/* Footer hours table */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.hours-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  font-size: var(--fs-small);
  color: rgba(250, 250, 247, 0.85);
  line-height: 1.6;
  padding-block: 2px;
  position: relative;
  transition: color 0.3s;
}

.hours-row.today {
  color: var(--beige);
}

.hours-row.today .hours-day {
  font-style: italic;
  font-family: var(--serif);
  font-size: clamp(14px, 1vw, 15px);
  font-weight: 400;
}

.hours-row.today::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--beige);
  box-shadow: 0 0 0 0 rgba(201, 184, 154, 0.7);
  animation: hoursPulse 2.4s ease-out infinite;
}

@keyframes hoursPulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 184, 154, 0.7); }
  100% { box-shadow: 0 0 0 8px rgba(201, 184, 154, 0); }
}

.hours-day { color: rgba(250, 250, 247, 0.75); }
.hours-time { color: rgba(250, 250, 247, 0.95); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hours-row.closed .hours-time { color: rgba(250, 250, 247, 0.4); }

.footer-brand {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
  font-variation-settings: 'opsz' 144;
}

.footer-brand .italic {
  font-style: italic;
  color: var(--beige);
  font-weight: 400;
}

.footer-tag {
  font-size: var(--fs-small);
  color: rgba(250,250,247,0.75);
  max-width: 38ch;
  line-height: 1.6;
}

.footer-col h4,
.footer-col .footer-h {
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 18px;
  font-weight: 500;
  font-family: var(--sans);
}

.footer-col p, .footer-col a {
  display: block;
  font-size: var(--fs-small);
  color: rgba(250,250,247,0.85);
  line-height: 1.9;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}

.footer-col a:hover { color: var(--beige); transform: translateX(3px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: var(--fs-micro);
  color: rgba(250,250,247,0.7);
  letter-spacing: 0.06em;
}

.footer-bottom a {
  color: rgba(250,250,247,0.7);
  cursor: pointer;
  transition: color 0.3s;
  display: inline-block;
  padding: 8px 4px;
  margin: -8px 0;
}
.footer-bottom a:hover { color: var(--beige); }

.footer-bottom > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
}

/* ============================================================
   PAGE HEADERS (inner pages)
   ============================================================ */
.page-header {
  padding: clamp(60px, 10vw, 140px) var(--gutter) clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.page-header .crumb {
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.page-header .crumb::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--beige-deep);
}

.page-header h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-variation-settings: 'opsz' 144;
}

.page-header h1 .italic { font-style: italic; color: var(--beige-deep); font-weight: 400; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-list { max-width: 1100px; margin-inline: auto; padding-inline: var(--gutter); }

.service-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: clamp(16px, 2vw, 32px);
  align-items: center;
  padding-block: clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
  cursor: default;
}

@media (min-width: 768px) {
  .service-row {
    grid-template-columns: 60px 1fr 200px 130px;
    gap: 40px;
  }
}

.service-row:hover {
  background: var(--bg-alt);
}

@media (min-width: 768px) {
  .service-row:hover { padding-inline: 24px; }
}

.service-row .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--beige-deep);
  font-size: clamp(16px, 1.4vw, 20px);
}

.service-row .name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.service-row .name small {
  display: block;
  font-family: var(--sans);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 300;
  color: var(--ink-muted);
  letter-spacing: 0;
  margin-top: 6px;
  font-style: normal;
  line-height: 1.4;
}

.service-row .dur {
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: none;
}

@media (min-width: 768px) {
  .service-row .dur { display: block; }
}

.service-row .price {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 32px);
  text-align: right;
  white-space: nowrap;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-xl) var(--gutter);
}

@media (min-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr 1fr;
    gap: clamp(60px, 8vw, 120px);
  }
}

.about-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
}

@media (min-width: 900px) {
  .about-img { aspect-ratio: auto; height: clamp(500px, 60vh, 720px); }
}

.about-text h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-md);
  font-variation-settings: 'opsz' 144;
}

.about-text h2 .italic { font-style: italic; color: var(--beige-deep); font-weight: 400; }

.about-text p {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: var(--space-sm);
  max-width: 50ch;
}

.values { background: var(--ink); color: var(--bg); padding: var(--space-xl) var(--gutter); }

.values .section-eyebrow { color: rgba(250,250,247,0.55); }
.values .section-eyebrow::before { background: var(--beige); }
.values .section-title { color: var(--bg); }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 700px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); }
}

.value-item {
  border-top: 1px solid var(--line-on-dark);
  padding-top: var(--space-md);
  transition: border-color 0.4s;
}

.value-item:hover { border-top-color: var(--beige); }

.value-item .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  color: var(--beige);
  margin-bottom: 24px;
}

.value-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.1;
}

.value-item p {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: rgba(250,250,247,0.7);
  font-weight: 300;
}

/* ============================================================
   TEAM FULL PAGE
   ============================================================ */
.team-full { padding: var(--space-xl) var(--gutter); }

.team-member {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.team-member:last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  .team-member {
    grid-template-columns: 1fr 1fr;
    gap: clamp(60px, 8vw, 120px);
  }
  .team-member.reverse > div:first-child { order: 2; }
  .team-member.reverse > div:last-child { order: 1; }
}

.team-member-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center top;
  filter: grayscale(100%);
}

@media (min-width: 900px) {
  .team-member-img { aspect-ratio: auto; height: clamp(560px, 70vh, 760px); }
}

.team-member-info .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  color: var(--beige-deep);
  margin-bottom: var(--space-sm);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.team-member-info .num::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--beige-deep);
}

.team-member-info h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h1);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
  font-variation-settings: 'opsz' 144;
}

.team-member-info h2 .italic { font-style: italic; color: var(--beige-deep); font-weight: 400; }

.team-member-info .role {
  font-size: var(--fs-micro);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
}

.team-member-info blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-left: 2px solid var(--beige-deep);
  padding-left: 24px;
  margin-bottom: var(--space-md);
  font-variation-settings: 'opsz' 144;
}

.team-member-info .bio {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 52ch;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-xl) var(--gutter);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(60px, 8vw, 120px);
  }
}

.contact-info h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-md);
  font-variation-settings: 'opsz' 144;
}

.contact-info h2 .italic { font-style: italic; color: var(--beige-deep); font-weight: 400; }

.contact-actions {
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.contact-actions .btn { width: 100%; justify-content: space-between; }

@media (min-width: 600px) {
  .contact-actions .btn { width: auto; }
}

/* ============================================================
   MAP — custom-styled, not vanilla iframe
   ============================================================ */
.map-card {
  position: relative;
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

@media (min-width: 900px) {
  .map-card { aspect-ratio: auto; min-height: 720px; }
}

.map-frame {
  position: absolute;
  inset: 0;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.65) contrast(1.05) brightness(0.98);
  pointer-events: auto;
}

.map-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-md);
  background: linear-gradient(180deg, transparent, rgba(10,10,10,0.85) 50%);
  color: var(--bg);
  pointer-events: none;
}

.map-overlay .label {
  font-size: var(--fs-micro);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 8px;
}

.map-overlay h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144;
}

/* ============================================================
   ICONS — thin, geometric, 1px stroke, currentColor
   ============================================================ */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-lg { width: 28px; height: 28px; stroke-width: 1; }
.icon-sm { width: 16px; height: 16px; }

/* Value-item with icon */
.value-item .icon-wrap {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--beige);
  transition: border-color 0.4s, background 0.4s;
}

.value-item:hover .icon-wrap {
  border-color: var(--beige);
  background: rgba(201, 184, 154, 0.08);
}

/* Contact block with icon */
.contact-block {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
  padding-block: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding 0.3s var(--ease);
}

a.contact-block { cursor: pointer; }
a.contact-block:hover { padding-left: 8px; }

.contact-block:last-of-type { border-bottom: 1px solid var(--line); }

.contact-block h4,
.contact-block .contact-h {
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
  font-weight: 500;
  font-family: var(--sans);
}

.contact-block p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.contact-block .small {
  font-size: var(--fs-small);
  font-family: var(--sans);
  color: var(--ink-muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
  font-weight: 300;
}

.contact-block .icon-wrap {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-top: 4px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.contact-block:hover .icon-wrap {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.contact-block .icon { width: 16px; height: 16px; stroke-width: 1.25; }

.contact-block-text { min-width: 0; }

/* Footer social icons */
.social-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-col .social-icon,
.social-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  line-height: 1;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}

.footer-col .social-icon:hover,
.social-icon:hover {
  background: var(--beige);
  border-color: var(--beige);
  color: var(--ink);
  transform: translateY(-3px);
}

.social-icon .icon { width: 16px; height: 16px; }

/* Arrow icon in buttons (replace text arrow with svg) */
.btn .icon-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-out);
}

.btn:hover .icon-arrow { transform: translateX(6px); }

/* Map directions button overlay */
.map-cta {
  position: absolute;
  inset: auto auto 0 0;
  margin: 0;
  padding: var(--space-md);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(10,10,10,0.92) 60%);
  color: var(--bg);
}

.map-cta-text { flex: 1; min-width: 0; }
.map-cta-text .label {
  font-size: var(--fs-micro);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 8px;
}

.map-cta-text h3,
.map-cta-text .map-h {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144;
  line-height: 1.1;
}

.map-directions-btn {
  pointer-events: auto;
  background: var(--beige);
  color: var(--ink);
  border: 1px solid var(--beige);
  padding: 12px 18px;
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
}

.map-directions-btn:hover { background: var(--bg); }

.map-directions-btn .icon { width: 14px; height: 14px; }

/* Map as clickable card — disable iframe interaction */
.map-card.is-link { cursor: pointer; }
.map-card.is-link .map-frame { pointer-events: none; }

/* Impressum page */
.legal-content {
  max-width: 760px;
  margin-inline: auto;
  padding: var(--space-xl) var(--gutter);
}

.legal-content h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-small);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: var(--space-md);
  margin-bottom: 10px;
}

.legal-content p, .legal-content address {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: var(--space-sm);
  font-style: normal;
}

.legal-content a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s, color 0.3s;
}

.legal-content a:hover { color: var(--beige-deep); border-color: var(--beige-deep); }

.legal-content .note {
  font-size: var(--fs-small);
  color: var(--ink-muted);
  font-style: italic;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}

/* ============================================================
   DESKTOP-ONLY ENHANCEMENTS
   ============================================================ */
@media (min-width: 1024px) and (hover: hover) {
  .hero-img-accent:hover { transform: translateY(-8px); }

  /* Custom cursor hint */
  .team-card, .service-card { cursor: pointer; }
}
