/* ==========================================================================
   KAATUSHA'S MARKETING – Design System v4
   Palette: Warm Cream / Parchment / Cinnamon Brown / Espresso
   Hero: warm-brown WebGL shader on cream background
   Body: fully light — cream + parchment alternating sections
   ========================================================================== */

/* --------------------------------------------------------------------------
   TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --cream:          #F8F4EE;
  --cream-card:     #F2EBE0;
  --parchment:      #F0E8D8;
  --parchment-card: #E8DCC8;
  --white:          #FFFFFF;

  /* Text */
  --text:           #1C1510;
  --text-muted:     #7A6D5C;
  --border:         #E5DDD0;

  /* Accent – Warm Cinnamon Brown */
  --brown:          #8B6347;
  --brown-hover:    #9B7257;
  --brown-dim:      rgba(139, 99, 71, 0.13);
  --brown-glow:     rgba(139, 99, 71, 0.20);

  /* Hero */
  --hero-bg:        #F8F4EE;
  --hero-overlay:   rgba(240, 228, 210, 0.06);
  --hero-muted:     #7A6D5C;
  --hero-text:      #1C1510;

  /* Dark (footer only) */
  --footer-bg:      #120D08;
  --espresso:       #120D08;

  /* Fonts */
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-display:  'Syne', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* Sizing */
  --nav-h:          155px;
  --r-sm:           8px;
  --r-md:           14px;
  --r-lg:           20px;
  --r-xl:           28px;
  --r-full:         9999px;

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(28,21,16,.08);
  --shadow-md:  0 4px 16px rgba(28,21,16,.10);
  --shadow-lg:  0 8px 32px rgba(28,21,16,.12);
  --shadow-xl:  0 16px 48px rgba(28,21,16,.14);

  /* Transitions */
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:    cubic-bezier(0.55, 0, 1, 0.45);
  --dur-fast:   160ms;
  --dur-base:   280ms;
  --dur-slow:   480ms;
}

/* --------------------------------------------------------------------------
   RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }

/* --------------------------------------------------------------------------
   HIDDEN SVG FILTER
   -------------------------------------------------------------------------- */
.glass-svg {
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   SCROLL PROGRESS BAR
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--brown);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 9999;
  transition: transform 80ms linear;
}

/* --------------------------------------------------------------------------
   LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
@media (min-width: 768px) { .container { padding-inline: var(--sp-10); } }
@media (min-width: 1024px) { .container { padding-inline: var(--sp-12); } }

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 12px 26px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.btn:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}
.btn:active { transform: scale(0.97); }

/* Brown (primary) */
.btn--brown {
  background: var(--brown);
  color: var(--cream);
  box-shadow: 0 2px 12px var(--brown-dim);
}
.btn--brown:hover {
  background: var(--brown-hover);
  box-shadow: 0 4px 20px var(--brown-glow);
  transform: translateY(-1px);
}

/* Dark */
.btn--dark {
  background: var(--espresso);
  color: var(--cream);
  box-shadow: var(--shadow-md);
}
.btn--dark:hover {
  background: #261C15;
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

/* Sizes */
.btn--lg { padding: 15px 34px; font-size: 0.9375rem; }
.btn--md { padding: 11px 24px; font-size: 0.875rem; }
.btn--sm { padding: 8px 18px;  font-size: 0.8125rem; }
.btn--full { width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   LIQUID GLASS BUTTON
   -------------------------------------------------------------------------- */
.btn--liquid {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--espresso);
  border: 1.5px solid rgba(28, 21, 16, 0.22);
  padding: 15px 34px;
}
.btn--liquid__shadow {
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.30) inset,
    0 1px 2px -0.5px rgba(255,255,255,.60) inset,
    -1px 0 1px -0.5px rgba(255,255,255,.45) inset,
     1px 0 1px -0.5px rgba(255,255,255,.45) inset;
}
.btn--liquid__glass {
  position: absolute; inset: 0;
  border-radius: inherit;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: url("#glass-distort") blur(10px);
  pointer-events: none;
}
.btn--liquid__content {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.btn--liquid:hover {
  border-color: rgba(28, 21, 16, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(28,21,16,.10);
}

/* --------------------------------------------------------------------------
   NAVIGATION
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  transition: background var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.nav.scrolled {
  background: rgba(253, 250, 245, 0.92);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  height: var(--nav-h);
  gap: var(--sp-8);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  transition: opacity var(--dur-fast);
}
.nav__logo:hover { opacity: 0.8; }
.nav__logo-mark { flex-shrink: 0; }
.logo-svg {
  height: 138px;
  width: auto;
  display: block;
  margin-top: 32px;
}
.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-8);
  margin-left: auto;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--dur-fast);
}
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-left: var(--sp-4); }

.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  margin-left: auto;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  transition: background var(--dur-fast);
}
.nav__burger:hover { background: var(--cream-card); }
.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease),
              opacity var(--dur-fast),
              width var(--dur-base) var(--ease);
}
.nav__burger span:nth-child(1) { width: 22px; }
.nav__burger span:nth-child(2) { width: 16px; }
.nav__burger span:nth-child(3) { width: 22px; }
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 22px; }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 22px; }

/* Mobile overlay */
.nav__mobile {
  position: fixed; inset: 0;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 490;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease);
}
.nav__mobile.open { transform: translateX(0); }
.nav__mobile nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  width: 100%;
  max-width: 320px;
}
.nav__mobile-link {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color var(--dur-fast);
}
.nav__mobile-link:hover { color: var(--brown); }
.nav__mobile-cta { margin-top: var(--sp-4); }

/* Tablet / small laptop: 768px+ */
@media (min-width: 768px) {
  :root { --nav-h: 80px; }
  .nav__links { display: flex; gap: var(--sp-5); }
  .nav__burger { display: none; }
  .nav__cta    { display: none; }
  .logo-svg    { height: 60px; margin-top: 10px; }
}

/* Medium laptop: 1024px+ */
@media (min-width: 1024px) {
  :root { --nav-h: 108px; }
  .nav__links { gap: var(--sp-6); }
  .logo-svg    { height: 88px; margin-top: 14px; }
}

/* Large desktop: 1280px+ — full size */
@media (min-width: 1280px) {
  :root { --nav-h: 155px; }
  .nav__links { gap: var(--sp-8); }
  .nav__cta   { display: inline-flex; }
  .logo-svg   { height: 138px; margin-top: 32px; }
}

@media (max-width: 767px) {
  .logo-svg { margin-left: -12px; }
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--hero-bg);
  overflow: hidden;
}
.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.hero__chart-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: var(--sp-12);
}
.hero__content { max-width: 700px; }

/* Hero eyebrow */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: var(--sp-6);
}
.hero__eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--brown);
  flex-shrink: 0;
}

/* Hero word reveal animation */
.hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  animation: heroWordUp 0.80s var(--ease) var(--d, 0ms) both;
}
@keyframes heroWordUp {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__word { opacity: 1; transform: none; animation: none; }
}

/* Headline */
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--hero-text);
  margin-bottom: var(--sp-6);
}
.hero__accent {
  font-style: italic;
  color: var(--brown);
}

.hero__headline-slot {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hero__rotating-word {
  display: inline-block;
  will-change: transform, opacity;
}
.hero__rotating-word.rw-swap {
  animation: rwSwap 0.7s ease-in-out forwards;
}
@keyframes rwSwap {
  0%   { transform: translateY(0);    opacity: 1; }
  30%  { transform: translateY(-90%); opacity: 0; }
  70%  { transform: translateY(90%);  opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__rotating-word.rw-swap { animation: none; }
}

.hero__sub {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--hero-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

/* Slot machine word */
.slot-word {
  display: inline-block;
  color: var(--brown);
  font-weight: 600;
  transition: opacity 280ms var(--ease), transform 280ms var(--ease);
}
.slot-exit  { opacity: 0; transform: translateY(-10px); }
.slot-enter { opacity: 1; transform: translateY(0); }
.slot-final { color: var(--brown); font-weight: 700; }

/* Availability ping */
.hero__availability {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
  font-size: 0.875rem;
  color: var(--hero-muted);
}
.hero__ping { position: relative; width: 10px; height: 10px; flex-shrink: 0; }
.hero__ping-ripple {
  position: absolute; inset: 0;
  background: #4ADE80;
  border-radius: 50%;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.hero__ping-dot {
  position: absolute; inset: 1.5px;
  background: #22C55E;
  border-radius: 50%;
}
@keyframes ping {
  75%, 100% { transform: scale(2.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__ping-ripple { animation: none; }
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Stats bar */
.hero__stats-bar {
  position: relative;
  z-index: 10;
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--border);
}
.hero__stats {
  display: flex;
  gap: var(--sp-10);
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .hero__stats {
    flex-wrap: nowrap;
    gap: var(--sp-3);
    justify-content: space-between;
  }
  .hero-stat {
    min-width: 0;
    flex: 1;
  }
  .hero-stat__num   { font-size: 1.1rem; }
  .hero-stat__label { font-size: 0.6rem; word-break: break-word; }
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brown);
  line-height: 1;
}
.hero-stat__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   MARQUEE
   -------------------------------------------------------------------------- */
.marquee {
  background: var(--cream-card);
  overflow: hidden;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
.marquee__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding-right: var(--sp-6);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee__dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--brown);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 1;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* --------------------------------------------------------------------------
   SECTION BASE
   -------------------------------------------------------------------------- */
.section { padding: var(--sp-20) 0; }
.section--cream     { background: var(--cream); }
.section--parchment { background: var(--parchment); }

@media (min-width: 768px) { .section { padding: var(--sp-24) 0; } }

.section-header { max-width: 640px; margin-bottom: var(--sp-12); }
.section-header--center { margin-inline: auto; text-align: center; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: var(--sp-4);
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1.5px;
  background: var(--brown);
  flex-shrink: 0;
}
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: var(--sp-4);
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   PROBLEM
   -------------------------------------------------------------------------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 600px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .problem-grid { grid-template-columns: repeat(4, 1fr); } }

.problem-card {
  padding: var(--sp-8);
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: box-shadow var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
}
.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(139,99,71,.22);
}
.problem-card__icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brown-dim);
  border-radius: var(--r-md);
  color: var(--brown);
  margin-bottom: var(--sp-5);
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-3);
}
.problem-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* --------------------------------------------------------------------------
   SERVICES
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  padding: var(--sp-8) var(--sp-8) var(--sp-10);
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease);
  will-change: transform;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(139, 99, 71, 0.22);
}
.service-card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brown-dim);
  border-radius: var(--r-md);
  color: var(--brown);
  margin-bottom: var(--sp-6);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-3);
}
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* --------------------------------------------------------------------------
   PROCESS
   -------------------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 640px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    position: relative;
  }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 22px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 1px;
    background: linear-gradient(to right, var(--brown) 0%, var(--brown-dim) 100%);
    opacity: 0.35;
    pointer-events: none;
  }
}

.process-step { display: flex; flex-direction: column; gap: var(--sp-4); }
.process-step__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brown);
  background: var(--brown-dim);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.process-step__body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-2);
}
.process-step__body p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* --------------------------------------------------------------------------
   RESULTS
   -------------------------------------------------------------------------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}
@media (min-width: 960px) { .results-grid { grid-template-columns: repeat(4, 1fr); } }

.result-stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-8);
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.result-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.result-stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
}
.result-stat__label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}
.result-stat__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}
@media (min-width: 768px)  { .about { grid-template-columns: 280px 1fr; } }
@media (min-width: 1024px) { .about { grid-template-columns: 360px 1fr; gap: var(--sp-20); } }

.about__avatar {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.about__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
  transform: scale(2.0);
  transform-origin: 60% 28%;
}
.about__avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--cream) 0%, transparent 80px),
    linear-gradient(to right,  var(--cream) 0%, transparent 18px);
  pointer-events: none;
  border-radius: inherit;
}
.about__content .section-heading { margin-bottom: var(--sp-6); }
.about__content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-5);
}
.about__content .btn { margin-top: var(--sp-4); }

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
}
@media (min-width: 768px) { .contact { grid-template-columns: 1fr 1fr; gap: var(--sp-16); } }

.contact__lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-8);
}
.contact__details { display: flex; flex-direction: column; gap: var(--sp-4); }
.contact__detail-link,
.contact__response {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--dur-fast);
}
.contact__detail-link svg,
.contact__response svg { color: var(--brown); flex-shrink: 0; }
.contact__detail-link:hover { color: var(--text); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: var(--sp-5); }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.form-required { color: var(--brown); margin-left: 2px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 0.55; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 3px var(--brown-dim);
}
.form-group.has-error input,
.form-group.has-error textarea { border-color: #C0392B; }
.form-error {
  font-size: 0.8125rem;
  color: #C0392B;
  min-height: 1.2em;
}
.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}
.form-success[hidden] { display: none; }
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  text-align: center;
  padding: var(--sp-12);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
}
.form-success svg { color: var(--brown); }
.form-success strong { font-size: 1.25rem; color: var(--text); }
.form-success p { font-size: 0.9375rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   IMPRESSUM
   -------------------------------------------------------------------------- */
.impressum-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}
@media (min-width: 768px) { .impressum-grid { grid-template-columns: 1fr 1fr; } }

.impressum-block h3 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: var(--sp-3);
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
}
.impressum-block h3:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.impressum-block address,
.impressum-block p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-3);
}
.impressum-block a { color: var(--brown); transition: opacity var(--dur-fast); }
.impressum-block a:hover { opacity: 0.75; }

.impressum-dl { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.impressum-dl__row { display: grid; grid-template-columns: 180px 1fr; gap: var(--sp-4); }
.impressum-dl__row dt { font-weight: 600; font-size: 0.875rem; color: var(--text); }
.impressum-dl__row dd { font-size: 0.875rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--footer-bg);
  padding: var(--sp-16) 0 var(--sp-10);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-8);
}
@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
.footer__brand { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  transition: opacity var(--dur-fast);
}
.footer__logo:hover { opacity: 0.75; }
.footer__logo {
  --logo-dark: rgba(240, 215, 175, 0.95);
  --logo-gold: rgba(192, 144, 80, 0.65);
  --logo-mid:  rgba(196, 168, 130, 0.60);
}
.footer__brand p { font-size: 0.875rem; color: rgba(253,250,245,.40); }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
}
.footer__nav a {
  font-size: 0.875rem;
  color: rgba(253,250,245,.50);
  transition: color var(--dur-fast);
}
.footer__nav a:hover { color: rgba(253,250,245,.90); }

.footer__copy {
  width: 100%;
  font-size: 0.8125rem;
  color: rgba(253,250,245,.28);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(253,250,245,.07);
}

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

/* --------------------------------------------------------------------------
   RESPONSIVE FINE-TUNING
   -------------------------------------------------------------------------- */
@media (max-width: 479px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .btn--lg { padding: 13px 24px; font-size: 0.875rem; }
}

/* --------------------------------------------------------------------------
   COOKIE BANNER
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--espresso, #120D08);
  color: var(--on-dark, rgba(253,250,245,.92));
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: space-between;
  box-shadow: 0 -2px 24px rgba(0,0,0,.35);
  border-top: 1px solid rgba(196,152,44,.25);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}
.cookie-banner__text a { color: var(--gold, #C4982C); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: var(--sp-3); flex-shrink: 0; }
.cookie-banner__btn {
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity .15s;
}
.cookie-banner__btn:hover { opacity: .85; }
.cookie-banner__btn--outline {
  background: transparent;
  border-color: rgba(253,250,245,.3);
  color: var(--on-dark, rgba(253,250,245,.92));
}
.cookie-banner__btn--accept {
  background: var(--gold, #C4982C);
  color: #120D08;
  font-weight: 700;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { flex: 1; text-align: center; }
}
