/* ==========================================================================
   BLUBLU — Hairdresser Düsseldorf
   Gallery white / ink black / logo mint as a quiet accent.
   ========================================================================== */

:root {
  --ink: #0b0b0b;
  --paper: #ffffff;
  --mist: #f4f4f2;
  --mint: #79d29c;          /* sampled from the logo tile (121,210,156) */
  --mute: #6d6d6a;
  --line: rgba(11, 11, 11, .14);
  --line-inv: rgba(255, 255, 255, .18);

  --head: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;   /* headlines, labels, nav (brand font) */
  --body: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;       /* running text (brand font) */

  --gutter: clamp(20px, 4vw, 64px);
  --edge: clamp(18px, 2.6vw, 40px);         /* distance of fixed chrome to viewport edge */
  --logo: clamp(46px, 4.4vw, 68px);
  --chrome: calc(var(--edge) + 124px);       /* height taken by logo + stacked nav */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: var(--edge); top: -100px; z-index: 100;
  background: var(--mint); color: var(--ink); padding: 10px 16px;
  font: 500 12px/1 var(--head); letter-spacing: .14em; text-transform: uppercase;
}
.skip:focus { top: var(--edge); }

/* ---------- type helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font: 500 11px/1 var(--head); letter-spacing: .26em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--mint); }

.display {
  font: 300 clamp(46px, 7.6vw, 124px)/1 var(--head);
  letter-spacing: -.035em;
}

/* outlined word — solid/outline contrast in headlines */
.o {
  /* stroke painted under a background-coloured fill: hides the variable font's
     internal overlap contours and leaves a clean ~1.2px outline */
  color: var(--o-fill, var(--paper));
  -webkit-text-stroke: 2.4px var(--stroke, var(--ink));
  paint-order: stroke fill;
}
.display .o { font-weight: 400; }
.theme-dark { --stroke: var(--paper); --o-fill: var(--ink); }

.lede {
  font: 300 clamp(20px, 2vw, 29px)/1.45 var(--head);
  letter-spacing: -.012em;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1 var(--head); letter-spacing: .18em; text-transform: uppercase;
  padding-bottom: 8px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 30% 1px; }
.link-arrow svg { width: 12px; height: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 30px;
  background: var(--mint); color: var(--ink);
  font: 500 12px/1 var(--head); letter-spacing: .18em; text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.btn svg { flex: none; width: 12px; height: 12px; }
.btn:hover { background: var(--ink); color: var(--paper); }
.theme-dark .btn:hover { background: var(--paper); color: var(--ink); }

/* ==========================================================================
   Chrome: logo top left, navigation stacked top right (as in the brief).
   Sits at the top of each page and scrolls away with it — like the template.
   ========================================================================== */
.brand {
  position: absolute; z-index: 20;
  top: var(--edge); left: var(--edge);
  width: var(--logo); height: var(--logo);
}
.brand img { width: 100%; height: 100%; }

.nav { position: absolute; z-index: 20; top: calc(var(--edge) - 5px); right: var(--edge); color: var(--ink); }
.theme-dark .nav { color: var(--paper); }
.nav ul { display: flex; flex-direction: column; align-items: flex-end; }
.nav a {
  position: relative; display: block; padding: 5px 0;               /* ≥24px tap target */
  font: 500 12px/14px var(--head); letter-spacing: .2em; text-transform: uppercase;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: .2em; bottom: 3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* ---------- social icons ---------- */
.social { display: flex; gap: 18px; }
.social a { display: block; width: 22px; height: 22px; transition: opacity .3s; }
.social a:hover { opacity: .55; }
.social svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* ==========================================================================
   HOME — hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 540px;
  overflow: hidden;
  background: var(--mist);
}
.hero__media, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero__media img {
  object-fit: cover;
  object-position: 50% 28%;
  animation: settle 2.8s var(--ease) both;
}
@keyframes settle { from { transform: scale(1.07); opacity: .0; } 20% { opacity: 1; } to { transform: none; opacity: 1; } }

/* hero photo in black & white */
.hero__media img { filter: grayscale(1) contrast(1.1); }

/* magazine-cover lockup: b/w photo, dark fade at the bottom, giant mint masthead cropped by the edge */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(11,11,11,.78) 0%, rgba(11,11,11,.42) 45%, rgba(11,11,11,0) 100%);
}
.hero__word {
  --size: 25.2vw;
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0;
  display: flex; justify-content: center;
  font: 800 var(--size)/.74 'Montserrat Mast', var(--head); letter-spacing: -.062em; text-indent: -.03em;
  color: transparent; -webkit-text-stroke: max(1.5px, .0075em) var(--mint);     /* outline only */
  white-space: nowrap;
  transform: translateY(.075em);               /* baseline sits on the bottom edge */
  pointer-events: none; user-select: none;
}
.hero__word .w { display: flex; }
.hero__word .w span {
  display: inline-block;
  /* --p (0→1) is set by JS while scrolling: letters sink into the edge one after another and fade out */
  transform: translateY(calc(var(--p, 0) * (30% + var(--i) * 13%)));
  opacity: calc(1 - var(--p, 0) * 1.25);
  animation: rise 1.25s var(--ease) backwards; animation-delay: calc(.3s + var(--i) * .07s);
}
@keyframes rise { from { transform: translateY(55%); opacity: 0; } }

.hero__bar {
  position: absolute; z-index: 2; left: var(--edge); right: var(--edge);
  bottom: calc(var(--size, 25.2vw) * .66 + clamp(16px, 2vw, 32px));
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  color: #fff;
  animation: fadeIn 1.2s var(--ease) 1s both;
}
.hero__kicker { font: 500 11px/1.8 var(--head); letter-spacing: .24em; text-transform: uppercase; }
.hero__legal { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.hero__legal .social { color: var(--mint); }
.hero__est { font: 500 10.5px/1 var(--head); letter-spacing: .26em; text-transform: uppercase; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* mobile: keep the full-screen feel without losing Mario and Alex — the photo is zoomed only
   close to the limit where all three faces still fit (210vw wide) and dissolves into black at top and bottom,
   so it reads edge-to-edge; nav and masthead sit on the faded parts */
@media (max-width: 700px) {
  .home .nav { color: var(--paper); }
  .hero { background: var(--ink); }
  .hero::before {                                  /* keeps the white nav legible where the photo now reaches up */
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--chrome) + 30px); z-index: 1; pointer-events: none;
    background: linear-gradient(to bottom, rgba(11,11,11,.92) 0%, rgba(11,11,11,.7) 45%, rgba(11,11,11,.28) 75%, rgba(11,11,11,0) 100%);
  }
  .hero__media {
    --fade: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.2) 3%, rgba(0,0,0,.55) 6.5%, rgba(0,0,0,.85) 10%, #000 13.5%,
                            #000 60%, rgba(0,0,0,.82) 72%, rgba(0,0,0,.45) 85%, transparent 100%);   /* eased, no banding */
    inset: auto; left: 50%; top: calc(var(--chrome) - 85px);
    width: 210vw; height: auto; aspect-ratio: 3 / 2;
    transform: translateX(-48%);                                 /* centre on the group, not the frame */
    -webkit-mask-image: var(--fade); mask-image: var(--fade);
  }
  .hero__word { --size: 50vw; flex-direction: column; align-items: center; line-height: .76; transform: translateY(.015em); }
  .hero__bar { bottom: calc(50vw * 1.42 + 18px); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(96px, 13vw, 200px) var(--gutter); }
.wrap { max-width: 1440px; margin: 0 auto; }

/* ---------- Preise ---------- */
.prices .wrap {
  display: grid; gap: clamp(40px, 6vw, 96px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: end;
}
.prices__head .display { margin-top: 28px; }
.price-list li {
  position: relative; isolation: isolate;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(6px, .8vw, 12px) clamp(12px, 1.4vw, 22px);
  border-bottom: 1px solid var(--line);
  transition: color .45s var(--ease);
}
.price-list li::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.price-list li:first-child { border-top: 1px solid var(--line); }
.price-list__name { font: 300 clamp(22px, 2.4vw, 36px)/1.1 var(--head); letter-spacing: -.025em; }
.price-list__val { display: flex; align-items: flex-start; gap: 8px; white-space: nowrap; }
.price-list__val small { font: 500 11px/1 var(--head); letter-spacing: .18em; text-transform: uppercase; margin-top: .9em; }
.price-list__val b {
  font: 200 clamp(64px, 8.4vw, 136px)/.9 var(--head); letter-spacing: -.055em;
  font-variant-numeric: tabular-nums; transition: color .45s var(--ease);
}
@media (hover: hover) {
  .price-list li:hover { color: var(--paper); }
  .price-list li:hover::before { transform: scaleY(1); }
  .price-list li:hover b { color: var(--mint); }
}
.prices__more { margin-top: 40px; display: flex; justify-content: flex-end; }

@media (max-width: 860px) {
  .prices .wrap { grid-template-columns: 1fr; }
  .prices__more { justify-content: flex-start; }
}

/* ---------- home photos: black & white ---------- */
[data-bw] img { filter: grayscale(1) contrast(1.06); }

/* ---------- Produkte (image + statement + brands) ---------- */
.feature { position: relative; height: min(100svh, 66.66vw); min-height: 420px; overflow: hidden; background: var(--mist); }
.feature img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.statement .wrap { max-width: 1040px; text-align: center; }
.statement .lede { margin-top: 36px; }
.statement .eyebrow { justify-content: center; }

.brands {
  margin-top: clamp(64px, 8vw, 112px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.brands li {
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(110px, 12vw, 160px); padding: 24px 12px;
  border-right: 1px solid var(--line);
}
.brands li:last-child { border-right: 0; }
.brands img { width: auto; opacity: .88; }
.brands .b-lab { height: clamp(24px, 2.4vw, 32px); }
.brands .b-gl  { height: clamp(26px, 2.6vw, 36px); }
.brands .b-ola { height: clamp(15px, 1.5vw, 20px); }
.brands .b-ua  { height: clamp(48px, 4.8vw, 64px); }

@media (max-width: 700px) {
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands li:nth-child(2) { border-right: 0; }
  .brands li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Termin band: booking image + card that links to TimeGlobe ---------- */
.book { position: relative; }
.book__media { height: min(100svh, 62vw); min-height: 460px; overflow: hidden; background: var(--mist); }
.book__media img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 30%; }
.book__card {
  position: absolute; right: var(--gutter); bottom: var(--gutter);
  width: min(430px, calc(100% - var(--gutter) * 2));
  padding: clamp(26px, 2.6vw, 40px);
  background: var(--paper);
}
.book__card .display { font-size: clamp(44px, 4.8vw, 76px); margin: 22px 0 18px; }
.book__text { color: #2f2f2f; margin-bottom: 26px; }
.book__text a, .book__apps a { border-bottom: 1px solid var(--line); }
.book__apps { margin-top: 18px; font-size: 13px; color: var(--mute); }
@media (max-width: 700px) {
  .book__media { height: 70svh; min-height: 380px; }
  .book__card { position: relative; right: auto; bottom: auto; margin: -96px var(--gutter) 0; width: auto; }
  .book { padding-bottom: clamp(64px, 12vw, 96px); }
}

/* ---------- Preise page: HTML price table ---------- */
.pricing { padding: 0 var(--gutter) clamp(96px, 12vw, 180px); }
.ptable-wrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ptable th, .ptable td { text-align: left; font-weight: 400; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.ptable thead th { vertical-align: bottom; border-bottom: 1px solid var(--ink); padding-bottom: 18px; }
.ptable__who { display: block; font: 400 clamp(18px, 1.6vw, 24px)/1.15 var(--head); letter-spacing: -.02em; }
.ptable__lvl, .ptable__cur { display: block; margin-top: 6px; font: 500 10.5px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.ptable tbody th { font-size: 16px; width: 34%; }
.ptable tbody td { font: 300 clamp(18px, 1.5vw, 22px)/1.3 var(--head); letter-spacing: -.01em; white-space: nowrap; }
.ptable tbody th small { display: block; font-size: 13px; color: var(--mute); }
.ptable sup { color: var(--mute); margin-left: 1px; }
.ptable .is-main th { font: 500 13px/1.4 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.ptable .is-main th small { font: 400 13px/1.4 var(--body); letter-spacing: 0; text-transform: none; }
.ptable .is-group th {
  padding-top: 40px; font: 500 13px/1.4 var(--head); letter-spacing: .14em; text-transform: uppercase;
  border-bottom-color: var(--line);
}
.ptable tbody tr:not(.is-group) { transition: background-color .25s; }
@media (hover: hover) { .ptable tbody tr:not(.is-group):hover { background: var(--mist); } }
.ptable tbody tr > :first-child { padding-left: 12px; }
.ptable thead tr > :first-child { padding-left: 12px; }

.pricing__foot {
  margin-top: clamp(64px, 8vw, 120px);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start;
}
.extras .eyebrow { margin-bottom: 18px; }
.ptable--extras tbody th { width: auto; }
.ptable--extras tbody tr:first-child > * { border-top: 1px solid var(--ink); }
.pricing__notes { color: #2f2f2f; font-size: 15px; }
.pricing__notes p + p { margin-top: 10px; }
.pricing__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 36px !important; }
@media (max-width: 860px) { .pricing__foot { grid-template-columns: 1fr; } }

/* stylist switch — only needed where four price columns don't fit */
.tier-switch { display: none; border: 0; margin: 0 0 24px; padding: 0; }
.tier-switch input { position: absolute; opacity: 0; pointer-events: none; }
.tier-switch label {
  flex: 1; text-align: center; padding: 12px 6px; cursor: pointer;
  font: 500 11px/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--ink); margin-left: -1px;
  transition: background-color .25s, color .25s;
}
.tier-switch input:checked + label { background: var(--ink); color: var(--paper); }
.tier-switch input:focus-visible + label { outline: 2px solid var(--mint); outline-offset: 2px; }
@media (max-width: 760px) {
  .tier-switch { display: flex; }
  .ptable tbody th { width: auto; }
  .pricing:has(#tier-1:checked) .ptable:not(.ptable--extras) tr > :not(:first-child):not(:nth-child(2)),
  .pricing:has(#tier-2:checked) .ptable:not(.ptable--extras) tr > :not(:first-child):not(:nth-child(3)),
  .pricing:has(#tier-3:checked) .ptable:not(.ptable--extras) tr > :not(:first-child):not(:nth-child(4)),
  .pricing:has(#tier-4:checked) .ptable:not(.ptable--extras) tr > :not(:first-child):not(:nth-child(5)) { display: none; }
  .ptable tbody td { text-align: right; padding-right: 12px; }
  .ptable thead th:not(:first-child) { text-align: right; padding-right: 12px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink); color: rgba(255,255,255,.72);
  padding: clamp(72px, 9vw, 128px) var(--gutter) 0;
  overflow: hidden;
  font-size: 14px; line-height: 1.8;
}
.footer .wrap { display: grid; gap: 48px 32px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer h2 { font: 500 11px/1 var(--head); letter-spacing: .26em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.footer a:hover { color: #fff; }
.footer__mark { display: flex; flex-direction: column; gap: 22px; }
.footer__mark img { width: 64px; height: 64px; }
.footer__mark p { font: 300 19px/1.4 var(--head); letter-spacing: -.01em; color: #fff; max-width: 20ch; }
.footer .social { color: var(--mint); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 0 18px; }
.hours dd { text-align: right; font-variant-numeric: tabular-nums; }
.footer__base {
  max-width: 1440px; margin: clamp(64px, 8vw, 112px) auto 0;
  padding-top: 22px; border-top: 1px solid var(--line-inv);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
.footer__base nav { display: flex; gap: 28px; }
.footer__base { position: relative; z-index: 1; }
/* oversized wordmark, cropped by the page edge */
.footer__word {
  margin: .03em calc(var(--gutter) * -1) 0;
  font: 800 24.4vw/.8 'Montserrat Mast', var(--head); letter-spacing: -.062em; text-indent: -.03em;
  color: transparent; -webkit-text-stroke: max(1.5px, .0075em) var(--mint);     /* outline, same as the hero masthead */
  text-align: center; white-space: nowrap;
  transform: translateY(.085em);   /* baseline sits on the page edge */
  user-select: none;
  pointer-events: none;            /* decorative: its (huge) text box must not swallow clicks on the links above */
}

@media (max-width: 960px) { .footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .wrap { grid-template-columns: 1fr; } }

/* ==========================================================================
   TEAM
   ========================================================================== */
.page-head {
  padding: calc(var(--chrome) + clamp(56px, 9vw, 140px)) var(--gutter) clamp(64px, 8vw, 120px);
}
.page-head .wrap {
  display: grid; gap: 40px clamp(40px, 6vw, 96px);
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: end;
}
.page-head .display { margin-top: 28px; }
.page-head .lede { font-size: clamp(20px, 1.8vw, 26px); color: #2a2a2a; }
@media (max-width: 860px) { .page-head .wrap { grid-template-columns: 1fr; } }

.team { padding: 0 var(--gutter) clamp(120px, 14vw, 220px); }
.team__grid {
  max-width: 1440px; margin: 0 auto;
  display: grid; gap: clamp(16px, 1.8vw, 28px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-bottom: 9vw;                       /* room for the staggered column */
}
.team__grid > li:nth-child(even) { transform: translateY(9vw); }

.member { position: relative; overflow: hidden; }             /* clips the parked vita panel */
.member__btn:focus-visible { outline-offset: -4px; }
.member__btn {
  position: relative; display: block; width: 100%;
  aspect-ratio: 2 / 3; overflow: hidden; background: var(--mist);
  text-align: left; cursor: pointer;
}
.member__btn img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  filter: grayscale(1) contrast(1.08);
  transition: transform 1.4s var(--ease), filter .8s var(--ease);
}
.member__info {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end; justify-content: safe flex-end;
  overflow-y: auto; scrollbar-width: none;
  padding: clamp(18px, 1.8vw, 28px);
  background: linear-gradient(to top, rgba(11,11,11,.92) 0%, rgba(11,11,11,.78) 50%, rgba(11,11,11,.28) 100%);
  color: var(--paper);
  opacity: 0; pointer-events: none;
  transition: opacity .55s var(--ease);
}
.member__info::-webkit-scrollbar { display: none; }
.member__info > * { flex: none; transform: translateY(14px); transition: transform .7s var(--ease); }
.member__role {
  font: 500 10.5px/1 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--mint);
  margin-bottom: 10px;
}
.member__name { font: 400 clamp(22px, 1.8vw, 28px)/1.15 var(--head); letter-spacing: -.02em; }
.member__cv {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-inv);
  font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.84);
}
.member__cv li + li { margin-top: 2px; }
.member__meta { margin-top: 6px; font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.84); }
.member__meta dt {
  font: 500 10px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.5);
  margin-top: 10px; margin-bottom: 3px;
}

/* reveal: hover (mouse), keyboard focus, or tap (JS toggles .is-open) */
.member.is-open .member__info,
.member__btn:focus-visible + .member__info { opacity: 1; pointer-events: auto; }
.member.is-open .member__info > *,
.member__btn:focus-visible + .member__info > * { transform: none; }
.member.is-open .member__btn img { transform: scale(1.04); filter: none; }
@media (hover: hover) {
  .member:hover .member__info { opacity: 1; pointer-events: auto; }
  .member:hover .member__info > * { transform: none; }
  .member:hover .member__btn img { transform: scale(1.04); filter: none; }
}

/* touch: small caption so people know there is more */
.member__tag {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: none; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(11,11,11,.55), rgba(11,11,11,0));
  color: #fff; font: 500 11px/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase;
  transition: opacity .3s;
}
.member__plus {
  position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--mint);
}
.member__plus::before, .member__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--ink);
  transform: translate(-50%, -50%);
}
.member__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
@media (hover: none) {
  .member__tag { display: flex; }
  .member.is-open .member__tag { opacity: 0; }
  .member__info { overflow: hidden; }
  .member.is-open .member__info,
  .member__btn:focus-visible + .member__info { pointer-events: none; }
}

.team__cta { text-align: center; margin-top: clamp(40px, 6vw, 80px); }

@media (max-width: 1100px) {
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 14vw; }
  .team__grid > li:nth-child(even) { transform: translateY(14vw); }
  .member__cv, .member__meta { font-size: 13px; }
}
@media (max-width: 700px) {
  .team__grid { grid-template-columns: 1fr; padding-bottom: 0; gap: 20px; }
  .team__grid > li:nth-child(even) { transform: none; }
}

/* ==========================================================================
   KONTAKT (dark) / legal pages
   ========================================================================== */
.theme-dark { background: var(--ink); color: var(--paper); }
.contact { padding: calc(var(--chrome) + clamp(56px, 9vw, 140px)) var(--gutter) clamp(96px, 12vw, 180px); }
.contact__addr { margin-top: 32px; display: inline-block; }
.contact__addr .display { transition: color .4s var(--ease); }
.contact__addr:hover .display { color: var(--mint); }
.contact__maps { margin-top: 28px; }
.contact__grid {
  margin-top: clamp(72px, 9vw, 140px);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, 1.1fr); gap: 48px 32px;
  border-top: 1px solid var(--line-inv); padding-top: 40px;
}
.contact__grid h2 { font: 500 11px/1 var(--head); letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.contact__big { font: 300 clamp(22px, 2.2vw, 32px)/1.3 var(--head); letter-spacing: -.02em; }
.contact__big a { transition: color .3s; }
.contact__big a[href^="mailto"] { white-space: nowrap; }
.contact__big a:hover { color: var(--mint); }
.contact .hours { font: 300 clamp(18px, 1.6vw, 22px)/1.6 var(--head); letter-spacing: -.01em; max-width: 360px; }
.contact .hours dt { color: rgba(255,255,255,.7); }
.contact__cta { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

.legal { padding: calc(var(--chrome) + clamp(48px, 7vw, 110px)) var(--gutter) clamp(96px, 12vw, 160px); }
.legal .wrap { max-width: 760px; }
.legal .display { font-size: clamp(40px, 5.4vw, 80px); margin: 28px 0 56px; }
.legal h2 { font: 500 18px/1.3 var(--head); letter-spacing: -.01em; margin: 44px 0 12px; }
.legal p { color: #2f2f2f; margin-bottom: 14px; }
.legal a { border-bottom: 1px solid var(--mint); }
.legal .note { padding: 18px 22px; background: var(--mist); border-left: 2px solid var(--mint); }

/* ==========================================================================
   Motion
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .team__grid > li[data-reveal]:nth-child(even) { transform: translateY(calc(9vw + 28px)); }
.js .team__grid > li[data-reveal].is-in:nth-child(even) { transform: translateY(9vw); }
@media (max-width: 1100px) {
  .js .team__grid > li[data-reveal]:nth-child(even) { transform: translateY(calc(14vw + 28px)); }
  .js .team__grid > li[data-reveal].is-in:nth-child(even) { transform: translateY(14vw); }
}
@media (max-width: 700px) {
  .js .team__grid > li[data-reveal]:nth-child(even) { transform: translateY(28px); }
  .js .team__grid > li[data-reveal].is-in:nth-child(even) { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; }
}
/* Kontakt already shows all details — keep only the legal base line */
.theme-dark .footer { border-top: 1px solid var(--line-inv); padding-top: 0; }
.theme-dark .footer .wrap { display: none; }
.theme-dark .footer__base { margin-top: 0; border-top: 0; }
.legal .note + h2 { margin-top: 56px; }
.legal__date { margin-top: 48px; font-size: 13px; color: var(--mute) !important; }
