/* ============================================================
   NHR WEBDESIGN — Editorial Luxury
   Paper #F4F2EC · Ink #15191A · Pine #3A5042 · Sage #9FB3A4
   ============================================================ */

:root {
  --paper: #f4f2ec;
  --paper-deep: #ece8df;
  --ink: #15191a;
  --ink-soft: #3a4441;
  --ink-mute: #6b7470;
  --slate: #141a1b;
  --slate-deep: #0f1414;
  --line: rgba(21, 25, 26, 0.1);
  --line-light: rgba(238, 240, 234, 0.13);
  --green: #3a5042;
  --green-deep: #2b3c32;
  --sage: #9fb3a4;
  --cream-text: #eef0ea;
  --cream-mute: rgba(238, 240, 234, 0.6);

  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Instrument Sans", -apple-system, sans-serif;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.4, 1);

  --r-lg: 1.75rem;
  --r-md: 1.125rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 80;
  pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--green); color: #fff; }

.container { width: min(1200px, calc(100% - 3rem)); margin-inline: auto; }

/* ---------- atoms ---------- */
.sq {
  display: inline-block;
  width: 0.55em; height: 0.55em;
  background: var(--green);
  flex-shrink: 0;
}
.sq--inline { width: 0.45em; height: 0.45em; margin-inline: 0.15em; }
.eyebrow--light .sq, .footer .sq { background: var(--sage); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.5rem;
}
.eyebrow--light { color: var(--cream-mute); }

.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08; letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}
.h2--center { text-align: center; }
.h2 em { font-style: italic; color: var(--green); }

.section-lead {
  font-size: 1.08rem; color: var(--ink-soft);
  max-width: 38rem; margin-bottom: 2.5rem;
}
.section-lead--light { color: var(--cream-mute); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 0.7rem; }
.logo__mark {
  width: 2.7rem; height: 1.44rem;
  background: var(--sage);
  -webkit-mask: url(../assets/mark.svg) center / contain no-repeat;
  mask: url(../assets/mark.svg) center / contain no-repeat;
  flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.25rem; letter-spacing: 0.12em;
  color: var(--cream-text);
}
.logo__sub {
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--cream-mute); margin-top: 0.18rem;
}
.nav.is-scrolled .logo__name { color: var(--ink); }
.nav.is-scrolled .logo__sub { color: var(--ink-mute); }
.nav.is-scrolled .logo__mark { background: var(--green); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 0.55rem 0.6rem 0.55rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em;
  transition: transform 0.6s var(--ease), background 0.6s var(--ease),
    color 0.6s var(--ease), border-color 0.6s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn__orb {
  display: flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); font-size: 0.95rem;
  transition: transform 0.6s var(--ease-spring), background 0.6s var(--ease);
}
.btn:hover .btn__orb { transform: translateX(3px) scale(1.06); }
.btn--primary {
  background: var(--green); color: #fff;
  box-shadow: 0 18px 40px -18px rgba(58, 80, 66, 0.6);
}
.btn--primary:hover { background: var(--green-deep); }
.btn--ghost {
  padding: 0.78rem 1.6rem;
  border: 1px solid rgba(238, 240, 234, 0.32); color: var(--cream-text);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: rgba(238, 240, 234, 0.8); }
.btn--ghost-dark {
  padding: 0.78rem 1.6rem;
  border: 1px solid rgba(21, 25, 26, 0.22); color: var(--ink);
}
.btn--ghost-dark:hover { border-color: var(--ink); }
.btn--nav {
  background: var(--ink); color: var(--paper);
  padding: 0.4rem 0.45rem 0.4rem 1.2rem; font-size: 0.85rem;
}
.btn--nav .btn__orb { width: 1.8rem; height: 1.8rem; background: rgba(238, 240, 234, 0.16); }
.btn--nav:hover { background: var(--green); }
.nav.is-scrolled .btn--nav { background: var(--green); }
.nav.is-scrolled .btn--nav:hover { background: var(--green-deep); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 0;
  transition: padding 0.6s var(--ease), background 0.6s var(--ease),
    box-shadow 0.6s var(--ease), backdrop-filter 0.6s var(--ease);
}
.nav.is-scrolled {
  padding: 0.55rem 0;
  background: rgba(244, 242, 236, 0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(21, 25, 26, 0.07), 0 24px 50px -32px rgba(21, 25, 26, 0.25);
}
.nav__inner {
  width: min(1200px, calc(100% - 3rem)); margin-inline: auto;
  display: flex; align-items: center; gap: 2rem;
}
.nav__links { display: flex; gap: 1.9rem; margin-left: auto; }
.nav__links a {
  position: relative; font-size: 0.88rem; font-weight: 500;
  color: var(--cream-text); opacity: 0.85;
  transition: color 0.6s var(--ease), opacity 0.4s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1.5px; background: var(--green);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav.is-scrolled .nav__links a { color: var(--ink); }
.nav__burger {
  display: none; position: relative;
  width: 2.6rem; height: 2.6rem; border: none; border-radius: 999px;
  background: rgba(238, 240, 234, 0.12); backdrop-filter: blur(8px);
  cursor: pointer; margin-left: auto;
}
.nav__burger span {
  position: absolute; left: 50%; top: 50%;
  width: 1.1rem; height: 1.5px; background: currentColor; color: var(--cream-text);
  transition: transform 0.55s var(--ease), color 0.6s var(--ease);
}
.nav__burger span:first-child { transform: translate(-50%, -50%) translateY(-3.5px); }
.nav__burger span:last-child { transform: translate(-50%, -50%) translateY(3.5px); }
.nav.is-scrolled .nav__burger span { color: var(--ink); }
.nav__burger.is-open span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

/* mobile overlay */
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem; background: rgba(15, 20, 20, 0.94);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 0.3rem; }
.menu__links a {
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 3rem);
  color: var(--cream-text); padding: 0.3rem 0;
  opacity: 0; transform: translateY(2.5rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.menu__foot {
  display: flex; flex-direction: column; gap: 0.4rem; margin-top: 2.5rem;
  opacity: 0; transform: translateY(2.5rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.menu__foot a { color: var(--sage); font-size: 1.05rem; }
.menu__foot span { color: var(--cream-mute); font-size: 0.85rem; }
.menu.is-open .menu__links a, .menu.is-open .menu__foot {
  opacity: 1; transform: translateY(0);
  transition-delay: calc(0.08s + var(--i) * 0.055s);
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center;
  color: var(--cream-text); overflow: hidden;
  padding: 9rem 0 4rem;
  background: var(--slate-deep);
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.1); animation: heroZoom 11s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1.0); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,20,20,0.55) 0%, rgba(15,20,20,0.35) 38%, rgba(15,20,20,0.88) 100%),
    radial-gradient(120% 80% at 50% 30%, transparent 30%, rgba(15,20,20,0.45) 100%);
}
.hero__glow {
  position: absolute; top: -28%; left: 50%; transform: translateX(-50%);
  width: 90vh; height: 90vh; border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 179, 164, 0.16), rgba(159, 179, 164, 0.03) 55%, transparent 70%);
  filter: blur(20px);
}
.hero__ridge {
  position: absolute; bottom: 0; left: 0; right: 0; height: 62%;
  background:
    radial-gradient(120% 100% at 70% 100%, rgba(58, 80, 66, 0.5) 0%, transparent 60%),
    radial-gradient(90% 90% at 22% 100%, rgba(43, 60, 50, 0.55) 0%, transparent 58%);
  -webkit-mask: url(../assets/mark.svg) bottom center / 150% auto no-repeat;
  mask: url(../assets/mark.svg) bottom center / 150% auto no-repeat;
  opacity: 0.55;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(238, 240, 234, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 240, 234, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
  mask: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
}
.hero__content { position: relative; z-index: 2; }
.hero .eyebrow {
  margin-bottom: 1.6rem;
  border: 1px solid rgba(238, 240, 234, 0.14);
  background: rgba(238, 240, 234, 0.04);
  padding: 0.5rem 1rem; border-radius: 999px;
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.03;
  letter-spacing: -0.02em;
}
.hero__title em { font-style: italic; color: var(--sage); }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__line span { display: inline-block; }
.hero__lead {
  max-width: 36rem; margin: 1.8rem auto 0;
  font-size: 1.1rem; color: rgba(238, 240, 234, 0.82);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2.4rem; }

.hero__rise {
  opacity: 0; transform: translateY(2.2rem);
  animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s);
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* hero showcase */
.hero__show {
  position: relative; z-index: 2;
  width: min(880px, calc(100% - 3rem)); margin: 4rem auto 0;
}
.browser {
  border-radius: 1rem; overflow: hidden;
  border: 1px solid rgba(238, 240, 234, 0.14);
  background: var(--slate);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.8);
}
.browser__bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(238, 240, 234, 0.08);
  background: rgba(238, 240, 234, 0.03);
}
.browser__bar > span:not(.browser__url) {
  width: 0.62rem; height: 0.62rem; border-radius: 999px;
  background: rgba(238, 240, 234, 0.18);
}
.browser__url {
  margin-left: 0.8rem; padding: 0.2rem 0.8rem;
  border-radius: 6px; background: rgba(0, 0, 0, 0.3);
  font-size: 0.72rem; color: var(--cream-mute); letter-spacing: 0.02em;
}
.browser__view { aspect-ratio: 16 / 10; overflow: hidden; }
.browser__view img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 1.1rem; border-radius: var(--r-md);
  background: rgba(20, 26, 27, 0.82);
  border: 1px solid rgba(238, 240, 234, 0.14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: drift 6s ease-in-out infinite;
}
.chip--tl { top: 24%; left: -1.2rem; flex-direction: column; align-items: flex-start; gap: 0.1rem; }
.chip--br { right: -1.2rem; bottom: 14%; animation-delay: 1.5s; }
.chip__label { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream-mute); }
.chip__value { font-family: var(--serif); font-size: 1.7rem; line-height: 1; color: var(--cream-text); }
.chip__value span { color: var(--sage); font-size: 1rem; }
.chip__check {
  display: grid; place-items: center; width: 1.8rem; height: 1.8rem;
  border-radius: 999px; background: var(--sage); color: var(--slate-deep);
  font-size: 0.9rem; font-weight: 700;
}
.chip__title { font-size: 0.82rem; font-weight: 600; color: var(--cream-text); }
.chip__sub { font-size: 0.68rem; color: var(--cream-mute); }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(2.6rem); filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s); will-change: transform, opacity, filter;
}
.reveal.is-in { opacity: 1; transform: translateY(0); filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__rise { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; transition: none !important; }
  .chip { animation: none; }
  .hero__img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- stats ---------- */
.stats { background: var(--paper); padding: clamp(5.5rem, 10vw, 8rem) 0 clamp(4.5rem, 8vw, 7rem); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem 2rem; margin-top: 2.2rem; }
.stat__num {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.02em;
  display: flex; align-items: baseline;
}
.stat__num--text { color: var(--green); }
.stat__suf { font-size: 0.45em; color: var(--green); margin-left: 0.1em; }
.stat__label {
  margin-top: 0.9rem; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute);
  max-width: 14rem;
}

/* ---------- work ---------- */
.work { background: var(--paper-deep); padding: clamp(6rem, 11vw, 10rem) 0; }
.work__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.work__head .h2 { margin-bottom: 0; }
.work__head .section-lead { margin-bottom: 0; }
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.wcard { display: block; cursor: pointer; }
.wcard--wide { grid-column: span 1; }
.wcard__media {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(21, 25, 26, 0.08);
  background: var(--slate); padding: 0.5rem;
  transition: transform 0.7s var(--ease), border-color 0.7s var(--ease);
}
.wcard__media img {
  border-radius: calc(var(--r-lg) - 0.5rem);
  aspect-ratio: 16 / 10; object-fit: cover; object-position: top center;
  transition: transform 1.1s var(--ease);
}
.wcard:hover .wcard__media { transform: translateY(-6px); border-color: rgba(58, 80, 66, 0.4); }
.wcard:hover .wcard__media img { transform: scale(1.04); }
.wcard__meta { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 0.6rem 0; }
.wcard__name { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; }
.wcard__tag { font-size: 0.82rem; color: var(--ink-mute); margin-top: 0.15rem; }
.wcard__arrow {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border-radius: 999px; border: 1px solid rgba(21, 25, 26, 0.18); font-size: 1rem;
  transition: transform 0.6s var(--ease-spring), background 0.6s var(--ease),
    color 0.6s var(--ease), border-color 0.6s var(--ease);
}
.wcard:hover .wcard__arrow {
  background: var(--green); border-color: var(--green); color: #fff;
  transform: translate(3px, -3px);
}

/* ---------- services ---------- */
.services { background: var(--paper); padding: clamp(6rem, 11vw, 10rem) 0; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.5rem; }
.scard {
  background: rgba(21, 25, 26, 0.035);
  border: 1px solid rgba(21, 25, 26, 0.07);
  border-radius: var(--r-lg); padding: 0.5rem;
  transition: transform 0.7s var(--ease);
}
.scard:hover { transform: translateY(-6px); }
.scard__inner {
  height: 100%; background: var(--paper);
  border-radius: calc(var(--r-lg) - 0.5rem); padding: 2.2rem 2rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7), 0 24px 48px -36px rgba(21, 25, 26, 0.35);
}
.scard__index { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; color: var(--green); }
.scard__title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.15; margin: 1.1rem 0 1rem; }
.scard__text { font-size: 0.95rem; color: var(--ink-soft); }
.services__tags {
  margin-top: 4rem; padding-top: 2.6rem; border-top: 1px solid var(--line);
  display: flex; gap: 2.5rem; align-items: baseline;
}
.services__tags-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); flex-shrink: 0; }
.services__tags ul { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.services__tags li {
  font-size: 0.82rem; font-weight: 500; padding: 0.42rem 0.95rem;
  border-radius: 999px; border: 1px solid rgba(21, 25, 26, 0.14); color: var(--ink-soft);
  transition: border-color 0.5s var(--ease), color 0.5s var(--ease), background 0.5s var(--ease);
}
.services__tags li:hover { border-color: var(--green); color: var(--green); background: rgba(58, 80, 66, 0.05); }

/* ---------- process ---------- */
.process { background: var(--paper); padding: clamp(6rem, 11vw, 10rem) 0; }
.process__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.process__intro { position: sticky; top: 7rem; }
.steps { border-top: 1px solid var(--line); }
.step {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.8rem 0.5rem; border-bottom: 1px solid var(--line);
  transition: padding 0.6s var(--ease);
}
.step:hover { padding-left: 1rem; }
.step__no { font-family: var(--serif); font-size: 0.95rem; color: var(--green); padding-top: 0.35rem; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.step p { font-size: 0.95rem; color: var(--ink-soft); margin-top: 0.35rem; max-width: 30rem; }

/* ---------- team ---------- */
.team { background: var(--slate); color: var(--cream-text); padding: clamp(6rem, 11vw, 10rem) 0; }
.team .h2 { color: var(--cream-text); }
.team .h2 em { color: var(--sage); }
.team__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 1rem; max-width: 52rem; }
.tcard {
  background: rgba(238, 240, 234, 0.04);
  border: 1px solid var(--line-light); border-radius: var(--r-lg);
  padding: 2.2rem 2rem;
  transition: transform 0.7s var(--ease), background 0.7s var(--ease);
}
.tcard:hover { transform: translateY(-6px); background: rgba(238, 240, 234, 0.07); }
.tcard__mono {
  display: grid; place-items: center; width: 3.6rem; height: 3.6rem;
  border-radius: 999px; border: 1px solid var(--line-light);
  font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.04em;
  color: var(--sage); margin-bottom: 1.6rem;
}
.tcard__name { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.tcard__role {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage); margin: 0.6rem 0 1rem;
}
.tcard__text { font-size: 0.92rem; color: rgba(238, 240, 234, 0.74); }

/* ---------- studio / freiburg ---------- */
.studio { background: var(--paper-deep); padding: clamp(6rem, 11vw, 10rem) 0; }
.studio__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.studio__media {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto auto; gap: 0.9rem;
}
.studio__img {
  overflow: hidden; border-radius: var(--r-md);
  border: 1px solid rgba(21, 25, 26, 0.08);
  box-shadow: 0 30px 60px -45px rgba(21, 25, 26, 0.5);
}
.studio__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.studio__img:hover img { transform: scale(1.05); }
.studio__img--tall { grid-row: span 2; }
.studio__img:not(.studio__img--tall) { aspect-ratio: 4 / 3.2; }
.studio__points { display: grid; gap: 1.8rem; margin-top: 0.4rem; }
.studio__points li { display: flex; gap: 1.2rem; }
.studio__sq { width: 0.6rem; height: 0.6rem; background: var(--green); margin-top: 0.5rem; flex-shrink: 0; }
.studio__points h3 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; margin-bottom: 0.3rem; }
.studio__points p { font-size: 0.95rem; color: var(--ink-soft); max-width: 30rem; }

/* ---------- pricing ---------- */
.pricing { background: var(--paper); padding: clamp(6rem, 11vw, 10rem) 0; }
.pricing .h2 { margin-bottom: 0; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; align-items: stretch; }
.plan {
  border-radius: var(--r-lg); padding: 0.5rem; height: 100%;
  background: rgba(21, 25, 26, 0.035); border: 1px solid rgba(21, 25, 26, 0.07);
  transition: transform 0.7s var(--ease);
}
.plan:hover { transform: translateY(-6px); }
.plan--featured { background: linear-gradient(180deg, rgba(58, 80, 66, 0.4), rgba(58, 80, 66, 0.04)); border-color: transparent; }
.plan__inner {
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border-radius: calc(var(--r-lg) - 0.5rem);
  padding: 2.2rem 1.9rem; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7);
}
.plan--featured .plan__inner { background: #fbfaf6; }
.plan__head { display: flex; align-items: center; justify-content: space-between; }
.plan__name { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.plan__badge {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--green); color: #fff;
}
.plan__for { font-size: 0.85rem; color: var(--ink-mute); margin-top: 0.3rem; }
.plan__price { font-family: var(--serif); font-weight: 500; font-size: 2.4rem; letter-spacing: -0.02em; margin-top: 1.4rem; }
.plan__rule { border: none; border-top: 1px solid var(--line); margin: 1.6rem 0; }
.plan__features { display: grid; gap: 0.85rem; flex: 1; }
.plan__features li {
  position: relative; padding-left: 1.7rem; font-size: 0.92rem; color: var(--ink-soft);
}
.plan__features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 1.2rem; height: 1.2rem;
  border-radius: 999px; background: rgba(58, 80, 66, 0.12); color: var(--green);
  font-size: 0.7rem; font-weight: 700;
}
.plan--featured .plan__features li::before { background: var(--green); color: #fff; }
.plan__cta { justify-content: center; margin-top: 2rem; }
.pricing__note { text-align: center; font-size: 0.82rem; color: var(--ink-mute); margin-top: 2rem; }

/* ---------- contact ---------- */
.contact { background: var(--paper); padding: 0 0 clamp(5rem, 9vw, 8rem); }
.contact__panel {
  position: relative; overflow: hidden;
  border-radius: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--slate-deep); color: var(--cream-text);
  border: 1px solid var(--line-light);
  padding: clamp(3.5rem, 8vw, 6.5rem) 1.5rem;
  text-align: center;
}
.contact__bg { position: absolute; inset: 0; overflow: hidden; }
.contact__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.16; filter: grayscale(1) contrast(1.05);
  -webkit-mask: linear-gradient(180deg, #000, transparent 85%);
  mask: linear-gradient(180deg, #000, transparent 85%);
}
.contact__glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 70vh; height: 70vh; border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 179, 164, 0.22), transparent 70%);
  filter: blur(10px);
}
.contact__body { position: relative; z-index: 2; max-width: 44rem; margin-inline: auto; }
.contact .eyebrow { justify-content: center; }
.contact__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem); line-height: 1.03; letter-spacing: -0.02em;
}
.contact__title em { font-style: italic; color: var(--sage); }
.contact__lead { max-width: 34rem; margin: 1.6rem auto 0; color: rgba(238, 240, 234, 0.78); font-size: 1.05rem; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2.4rem; }

/* ---------- legal pages ---------- */
.legal-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 242, 236, 0.85);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.legal-nav__inner {
  width: min(1200px, calc(100% - 3rem)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
}
.legal-nav .logo__name { color: var(--ink); }
.legal-nav .logo__sub { color: var(--ink-mute); }
.legal-nav .logo__mark { background: var(--green); }
.legal-nav__back { font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.4s var(--ease); }
.legal-nav__back:hover { color: var(--green); }

.legal {
  width: min(48rem, calc(100% - 3rem)); margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 6rem);
}
.legal__eyebrow {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.65rem;
}
.legal h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.05;
  letter-spacing: -0.015em; margin-bottom: 2.5rem;
}
.legal h2 {
  font-family: var(--serif); font-weight: 500; font-size: 1.4rem;
  margin: 2.6rem 0 0.8rem;
}
.legal p, .legal address { font-size: 0.98rem; color: var(--ink-soft); margin-bottom: 0.9rem; line-height: 1.7; }
.legal address { font-style: normal; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 0.9rem; }
.legal li { font-size: 0.98rem; color: var(--ink-soft); margin-bottom: 0.4rem; }
.legal .legal__note {
  margin-top: 3rem; padding: 1.2rem 1.4rem; border-radius: var(--r-md);
  background: rgba(58, 80, 66, 0.06); border: 1px solid rgba(58, 80, 66, 0.15);
  font-size: 0.88rem; color: var(--ink-mute);
}

/* ---------- standort / map ---------- */
.map-sec { background: var(--paper); padding: 0 0 clamp(5rem, 9vw, 8rem); }
.mapwrap__shell {
  position: relative; padding: 0.55rem; border-radius: var(--r-lg);
  background: rgba(21, 25, 26, 0.045); border: 1px solid rgba(21, 25, 26, 0.08);
}
.mapwrap__frame {
  position: relative; aspect-ratio: 21 / 9; overflow: hidden;
  border-radius: calc(var(--r-lg) - 0.55rem); background: var(--slate);
}
.mapwrap__backdrop {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) brightness(0.4) contrast(1.05); transform: scale(1.04);
}
.mapwrap__consent {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.4rem; text-align: center; padding: 2rem; color: var(--cream-text);
}
.mapwrap__ctitle { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.mapwrap__ctext { font-size: 0.85rem; color: var(--cream-mute); max-width: 26rem; margin-bottom: 1.2rem; }
.mapwrap__frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) contrast(1.05); opacity: 0; transition: opacity 1s var(--ease);
}
.mapwrap__frame.is-loaded iframe { opacity: 1; }
.mapwrap__frame.is-loaded .mapwrap__consent,
.mapwrap__frame.is-loaded .mapwrap__backdrop { display: none; }
.mapwrap__card {
  position: absolute; left: clamp(1.4rem, 3vw, 2.4rem); bottom: clamp(1.4rem, 3vw, 2.4rem);
  z-index: 3; max-width: 23rem;
  background: var(--slate); color: var(--cream-text);
  border: 1px solid var(--line-light); border-radius: var(--r-md);
  padding: 1.4rem 1.6rem; box-shadow: 0 30px 60px -30px rgba(13, 16, 20, 0.6);
}
.mapwrap__label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.5rem; }
.mapwrap__title { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; margin-bottom: 0.5rem; }
.mapwrap__sub { font-size: 0.85rem; color: var(--cream-mute); }
@media (max-width: 700px) {
  .mapwrap__frame { aspect-ratio: 4 / 4.2; }
  .mapwrap__card { position: static; margin-top: 0.55rem; border-radius: calc(var(--r-lg) - 0.55rem); max-width: none; }
}

/* ---------- footer ---------- */
.footer { background: var(--slate-deep); color: var(--cream-text); padding: clamp(4rem, 8vw, 6rem) 0 2.2rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr 0.9fr; gap: 3rem;
  padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-light);
}
.logo--footer { margin-bottom: 1.2rem; }
.logo--footer .logo__name { color: var(--cream-text); }
.footer__desc { font-size: 0.9rem; color: var(--cream-mute); max-width: 24rem; }
.footer__col { display: grid; gap: 0.65rem; align-content: start; }
.footer__head { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-mute); margin-bottom: 0.5rem; }
.footer__col a { font-size: 0.9rem; color: rgba(238, 240, 234, 0.74); width: max-content; transition: color 0.5s var(--ease), transform 0.5s var(--ease); }
.footer__col a:hover { color: #fff; transform: translateX(3px); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  padding-top: 2rem; font-size: 0.78rem; color: rgba(238, 240, 234, 0.45);
}
.footer__made { display: inline-flex; align-items: center; }
.footer__legal a { transition: color 0.4s var(--ease); }
.footer__legal a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .services__grid, .team__grid, .pricing__grid { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .process__intro { position: static; }
  .pricing__grid { gap: 1.1rem; }
  .studio__grid { grid-template-columns: 1fr; }
  .studio__media { max-width: 34rem; }
}
@media (max-width: 860px) {
  .nav__links, .nav .btn--nav { display: none; }
  .nav__burger { display: block; }
  .work__grid { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .chip--tl { left: 0.5rem; }
  .chip--br { right: 0.5rem; }
  .services__tags { flex-direction: column; gap: 1.2rem; }
}
@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 2.2rem 1.4rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .container { width: calc(100% - 2rem); }
  .nav__inner { width: calc(100% - 2rem); }
  .chip { display: none; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1; justify-content: center; }
  .contact__cta { width: 100%; }
  .contact__cta .btn { flex: 1; justify-content: center; }
}
