/* Home page layout for Figma "Desktop_new" (324:3013, 1512 wide), 2026-11-15: the site's structure rebuilt to the new design before any
   detail or animation work (cofounder). Loaded after the older sheets and wins over their rules for the same elements.
   Units: --u is one Figma pixel at 1512 wide, so every value below is written as Figma's own number (calc(N * var(--u))) and the
   layout scales with the window. Below 768px the page falls back to a simple stacked layout (Figma has no phone frame for this design).
   Typography: Google Sans Flex (SIL OFL, assets/fonts) for nearly everything; Figma keeps Geom for the rating count, the review card,
   the two "MTM by" buttons and the footer. Light 300, Medium 500, Bold 700, Black 900.
   The font file is the OFL original converted to woff2 with its unused width, roundness and slant axes fixed at their defaults
   (100, 0, 0), which is what every page rendered anyway: 3.9 MB down to 0.2 MB, every glyph and the weight and optical-size axes kept. */

@font-face {
  font-family: 'Google Sans Flex';
  src: url('../assets/fonts/GoogleSansFlex.woff2') format('woff2');
  font-weight: 1 1000; font-style: normal; font-display: swap;
}
:root {
  --u: calc(100vw / 1512);
  --font: 'Google Sans Flex', 'Geom', system-ui, sans-serif;
  --font-geom: 'Geom', system-ui, sans-serif;
}
body { font-family: var(--font); font-weight: 300; }

/* two-weight headings: a light line and a black one (Figma sets them in one text box) */
.headline, .social-head h2.headline, .news-head h2.headline { font-family: var(--font); font-weight: 300; line-height: normal; }   /* the older sheet set these two to Badeen (retired) with a stronger selector */
.headline__light { font-weight: 300; }
.headline__bold { font-weight: 900; }

/* buttons: Figma's own SVGs, clipped to the frame's corner radius */
.btn--white, .btn--sm { overflow: hidden; }
.btn--white { border-radius: calc(21 * var(--u)); }
.btn--white img { width: calc(163 * var(--u)); height: calc(35 * var(--u)); }
.btn--sm { border-radius: calc(10 * var(--u)); }
.btn--sm img { width: calc(132 * var(--u)); height: calc(28 * var(--u)); }

/* ---------- Nav: a floating pill (324:3180, 418x50 at x=547 y=10, white in difference mode, the logo in it) and its button (324:3167) ---------- */
/* The header itself takes no space and makes no stacking context: the plate and the button are fixed on their own, so the plate's
   difference blend reaches the page under it (inside a fixed header it would only blend with the header's own empty box). */
.site-header.pill-nav { position: static; display: block; height: 0; padding: 0; background: none; }
.pill-nav__plate { position: fixed; z-index: 50; left: calc(547 * var(--u)); top: calc(10 * var(--u)); width: calc(418 * var(--u)); height: calc(50 * var(--u));
  border-radius: calc(20 * var(--u)); overflow: hidden; background: #fff; mix-blend-mode: difference; }
.pill-nav__brand { position: absolute; left: calc(12 * var(--u)); top: calc(8 * var(--u)); width: calc(57 * var(--u)); height: calc(34 * var(--u)); }
.pill-nav__brand img { width: 100%; height: 100%; }
.pill-nav__cta { position: fixed; z-index: 51; left: calc(821 * var(--u)); top: calc(21 * var(--u)); }
html[data-home] main { margin-top: 0; }

/* ---------- Hero (324:3096): 806 tall, the clip under 50% black ---------- */
.hero { height: calc(806 * var(--u)); border-radius: calc(var(--hero-r, 0) * 1px); overflow: hidden; }   /* js/hero-shrink.js scales it to 85% and rounds it to 20px on scroll */
@media (prefers-reduced-motion: reduce) { .hero { border-radius: 20px; } }   /* no shrink: just the corners */
.hero::after { background: rgba(0, 0, 0, .5); }
.hero > :not(.hero-media) { position: absolute; z-index: 1; margin: 0; }
/* hero, updated frame (Figma 324:3096, 2026-11-16): the claim staggered over two lines, "Friseurmeister in" (extra light, 485 wide,
   centred on 453.5, top 334) with the white button right of it (704/360), "Nümbrecht & Waldbröl" (black, 779 wide, centred on 911.5,
   top 391); "Willkommen |" (light 20) at 319/416 and the Arabic at 441/416 left of the second line. The h1 covers the hero so its two
   lines can sit where Figma puts them and still blend (difference) as one. */
.hero-hello { left: calc(319 * var(--u)); top: calc(416 * var(--u)); display: flex; align-items: flex-start; gap: calc(8.33 * var(--u)); font-weight: 300; font-size: calc(20 * var(--u)); line-height: normal; white-space: nowrap; }
.hero-hello__end { display: none; }
.hero-claim { left: 0; top: 0; width: 100%; height: 100%; translate: none; text-align: center; pointer-events: none;
  font-size: calc(64 * var(--u)); line-height: normal; color: #fff; mix-blend-mode: difference; }
.hero-claim__light, .hero-claim__bold { display: block; position: absolute; translate: -50% 0; white-space: nowrap; }
.hero-claim__light { left: calc(453.5 * var(--u)); top: calc(334 * var(--u)); width: calc(485 * var(--u)); font-weight: 200; }
.hero-claim__bold { left: calc(911.5 * var(--u)); top: calc(391 * var(--u)); width: calc(779 * var(--u)); font-weight: 900; }
.hero-arabic { display: block; flex: none; width: calc(80.76 * var(--u)); height: calc(24.47 * var(--u)); }   /* in the greeting's line: 10 after the "|" as in Figma (446 at 1512: "Willkommen" has the second l Figma's "Wilkommen" lacks) */
.hero-cta { left: calc(704 * var(--u)); top: calc(360 * var(--u)); }

/* ---------- Services (324:3998, new frame 2026-11-15): 995 tall; rating card top left, title top right, the six photos step down
   to the right, text and button bottom left. The frame sits at x=-2, so every Figma x below is 2 less ---------- */
.services { display: block; height: calc(995 * var(--u)); padding: 0; overflow: clip; }
.services > * { position: absolute; margin: 0; }
.services-title { left: calc(758 * var(--u)); top: calc(148 * var(--u)); white-space: nowrap; font-size: calc(64 * var(--u)); color: #fff; mix-blend-mode: difference; }
.services-title .headline__light { line-height: .942; }
.cuts { inset: 0; list-style: none; padding: 0; }
.cuts li { position: absolute; overflow: hidden; border-radius: calc(5 * var(--u)); }
.cuts img { width: 100%; height: 100%; object-fit: cover; }
.cuts li:nth-child(1) { left: calc(9 * var(--u));    top: calc(290 * var(--u)); width: calc(240 * var(--u));    height: calc(319 * var(--u)); }
.cuts li:nth-child(2) { left: calc(258 * var(--u));  top: calc(332 * var(--u)); width: calc(240.75 * var(--u)); height: calc(321 * var(--u)); }
.cuts li:nth-child(3) { left: calc(509 * var(--u));  top: calc(378 * var(--u)); width: calc(240 * var(--u));    height: calc(320 * var(--u)); }
.cuts li:nth-child(4) { left: calc(759 * var(--u));  top: calc(423 * var(--u)); width: calc(241.5 * var(--u));  height: calc(322 * var(--u)); }
.cuts li:nth-child(5) { left: calc(1010 * var(--u)); top: calc(466 * var(--u)); width: calc(241 * var(--u));    height: calc(321 * var(--u)); }
.cuts li:nth-child(6) { left: calc(1261 * var(--u)); top: calc(511 * var(--u)); width: calc(240.75 * var(--u)); height: calc(321 * var(--u)); }
.services-text { left: calc(134 * var(--u)); top: calc(823 * var(--u)); width: calc(399 * var(--u)); font-size: calc(20 * var(--u)); line-height: normal;
  text-wrap: balance; color: #fff; mix-blend-mode: difference; }
.services-cta { left: calc(134 * var(--u)); top: calc(942 * var(--u)); }
.btn--md { overflow: hidden; border-radius: calc(10 * var(--u)); }
.btn--md img { width: calc(151 * var(--u)); height: calc(32 * var(--u)); }
/* the Google rating card (324:3129), moved here from the hero: 384x61 at 134/103, rounded 20, dark paper under a radial black */
.svc-rating { left: calc(134 * var(--u)); top: calc(103 * var(--u)); width: calc(384 * var(--u)); height: calc(61 * var(--u));
  border-radius: calc(20 * var(--u)); overflow: hidden; color: #fff;
  background: radial-gradient(94.7% 51.7% at 51.34% 54.6%, rgba(0, 0, 0, 0) 0%, #000 85.414%), url('../assets/paper-dark.jpg') 0 0 / 104.7% auto repeat, #000; }
.svc-rating > * { position: absolute; margin: 0; }
.svc-rating__google { left: calc(13 * var(--u)); top: calc(17 * var(--u)); width: calc(90 * var(--u)); height: calc(28 * var(--u)); }
.svc-rating__stars { left: calc(119 * var(--u)); top: calc(8 * var(--u)); width: calc(113.9 * var(--u)); height: calc(45 * var(--u)); max-width: none; }
.svc-rating__count { left: calc(252 * var(--u)); top: calc(21 * var(--u)); font-family: var(--font-geom); font-weight: 300; font-size: calc(16 * var(--u)); line-height: normal; white-space: nowrap; }

/* ---------- Checkerboard into the intro (324:4095, 1512x1072 from y=1517): the services end at 1801, the intro starts at 2406 ---------- */
.blocks--into-intro { height: calc(605 * var(--u)); overflow: clip visible; z-index: 1; }   /* clipped sideways (the animated grid's last column reached 1px past the edge), open upwards */   /* the frame's top 284 lie over the services' bottom, its top row of blocks with them */
.blocks--into-intro svg { top: calc(-284 * var(--u)); left: 0; width: calc(1512 * var(--u)); height: calc(1072 * var(--u)); }

/* ---------- Intro (73:60): 1278 tall; six 150px lines from y=142.5, the button at y=1098 ---------- */
.intro { display: flex; flex-direction: column; align-items: center; height: calc(1278 * var(--u)); padding: calc(136.5 * var(--u)) 0 0;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .17) 49.038%, #000 100%), url('../assets/paper-dark.jpg') 0 0 / max(5.1111vw, 74px) auto repeat, var(--ink); }
.intro-text { width: calc(1400 * var(--u)); font-weight: 300; font-size: calc(85 * var(--u)); line-height: calc(150 * var(--u)); }
.intro-cta { margin-top: calc(55.5 * var(--u)); align-self: flex-start; margin-left: calc(655 * var(--u)); }   /* Figma 324:4121 at x=655, 20 left of centre */
/* the portraits where Figma has them (73:60: x 426 / 604 / 1133, tops 145 / 603 / 892), measured against the text, which already matched:
   the gaps beside them and their invisible centring twins (.intro-gap, css/site.css) in em of the 85px text */
@media (min-width: 1024px) {
  .intro-lead .intro-pic { margin-right: .432em; top: -.021em; }
  .intro-lead + .intro-gap { width: 2.132em; }   /* the twin follows the lead, it is not inside it */
  .intro-text > .intro-pic { margin-inline: .0853em; top: .073em; }
  .intro-tail .intro-pic { margin-left: .413em; top: -.056em; }
  .intro-tail .intro-gap { width: 2.153em; }
}

/* ---------- Standorte (324:4131): two 756x1185 cards side by side, the title across both ---------- */
/* exactly one screen tall (2026-11-15): Figma's 1185 frame squeezed or stretched to the viewport height; the tops below are Figma's y / 1185, sizes stay in --u */
/* Figma's 1185 tall again (cofounder, 2026-11-16; it was one screen tall for a day); the tops below are Figma's y / 1185 */
.locations { position: relative; padding: 0; height: calc(1185 * var(--u)); background: #000; }
.locations__cards { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.loc-card { position: relative; overflow: clip; color: #fff; text-align: center; }
.loc-card::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); pointer-events: none; }
.loc-card__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loc-card__name, .loc-card__info { position: absolute; z-index: 1; left: 50%; translate: -50% 0; margin: 0; }
.loc-card__name { top: 75.865%;   /* 899 / 1185 */ width: calc(225 * var(--u)); font-weight: 300; font-size: calc(20 * var(--u)); line-height: normal; }
.loc-card__name a { text-decoration: none; }
/* the whole card is the salon link (cofounder, 2026-11-13): the link's layer reaches far past the name and the card's overflow clip trims it to the
   card, so a click anywhere on the card opens the salon page; the info block lets clicks through except on its phone link */
.loc-card__name a::before { content: ""; position: absolute; inset: -300vh -300vw; }
.loc-card__info { pointer-events: none; }
.loc-card__info a { pointer-events: auto; }
.locations__title { pointer-events: none; }
/* the checkerboard out of Standorte (js/checker.js): five rows of Figma's 180x171 cells (8 across), on the section's bottom edge, over
   everything; clipped to the section; empty without motion */
.locations { overflow: clip; }
.locations__checker { position: absolute; left: 0; top: auto; bottom: 0; z-index: 3; width: 100%; height: calc(5 * 11.875vw); pointer-events: none; }
.checker-grid--white i { background: #fff; }
.loc-card__info { top: 80.506%;   /* 954 / 1185 */ width: calc(388 * var(--u)); font-size: calc(14 * var(--u)); line-height: normal; }
.loc-card__info::before { content: "\200B"; display: block; }   /* Figma starts the block with an empty 14px line */
.loc-card__info strong { font-weight: 900; }
.loc-card__info a { text-decoration: underline; }
/* hover grow (cofounder, 2026-11-16): on desktop with a mouse, the card under the pointer widens to 80% of the section and the other
   narrows to 20%, over 0.6s in sine in-out; the narrowed card's name and address fade out (their 225 / 388 wide text would be cut off
   in a 20% card) and come back when it is wide again. The video keeps covering its card. No transition under reduced motion. */
@media (min-width: 1024px) and (hover: hover) {
  .locations__cards:has(> .loc-card:nth-child(1):hover) { grid-template-columns: 4fr 1fr; }
  .locations__cards:has(> .loc-card:nth-child(2):hover) { grid-template-columns: 1fr 4fr; }
  .locations__cards:has(> .loc-card:hover) > .loc-card:not(:hover) :is(.loc-card__name, .loc-card__info) { opacity: 0; }
}
@media (min-width: 1024px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .locations__cards { transition: grid-template-columns .6s cubic-bezier(.37, 0, .63, 1); }
  .loc-card__name, .loc-card__info { transition: opacity .3s cubic-bezier(.37, 0, .63, 1); }
}
.locations__title { position: absolute; z-index: 2; left: calc(752 * var(--u)); top: 37.384%;   /* 443 / 1185 */ translate: -50% 0; margin: 0; white-space: nowrap;
  font-weight: 300; font-size: calc(128 * var(--u)); line-height: calc(150 * var(--u)); color: #fff; mix-blend-mode: difference; }

/* ---------- Reviews (Frame 46, 324:3212): the 975x610 card 257 below Standorte (149 of page, 108 of frame) and 257 above the social ---------- */
.reviews { padding: calc(257 * var(--u)) 0; }
.reviews__card { width: calc(975 * var(--u)); margin: 0 0 0 calc(279 * var(--u)); left: 0; border-radius: 20px; }   /* 20px corners (2026-11-16); square once it fills the screen (js/review-grow.js) */

/* ---------- Social (324:4205): 1084 tall ---------- */
.social { padding-top: calc(4 * var(--u)); min-height: calc(1019 * var(--u));   /* Figma 1084, less the 65 the slider moved up (2026-11-16) */ }
.social-head { padding-bottom: 0; }
.social-head h2.headline { font-size: calc(96 * var(--u)); line-height: calc(95 * var(--u)); }   /* .headline's own line-height would win over a weaker selector */
.social-head p { margin-top: calc(20 * var(--u)); width: calc(713 * var(--u)); max-width: none; min-height: calc(54 * var(--u)); font-size: calc(20 * var(--u)); line-height: normal; }
.social-head .social-links { margin-top: calc(39 * var(--u)); }
.social-links .btn--social { overflow: hidden; border-radius: 20px; }   /* 20 like the other buttons (2026-11-15; the svg's own corners are 5) */

/* ---------- News & team photos (324:4242): 1377 tall ---------- */
.news { position: relative; padding: 0; height: calc(1377 * var(--u)); text-align: left;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 48.558%, #fff 100%), url('../assets/paper-light.jpg') 0 0 / max(29.0403vw, 418px) auto repeat, var(--paper); }
.news > * { position: absolute; margin: 0; }
/* desktop: as much room from the social arrows to "News & Updates" as from the news cards to the photo gallery, 165 at 1512 (cofounder,
   2026-11-16; it was 53): 112 more above the section. Both edges are plain white, so the gap is seamless. Phones and tablets already have
   more room there than under their cards. */
@media (min-width: 1024px) { .news { margin-top: calc(112 * var(--u)); } }
.news-head { display: block; inset: 0 auto auto 0; padding: 0; text-align: left; }
.news-head h2 { position: absolute; left: calc(229 * var(--u)); top: calc(-2 * var(--u)); width: calc(735 * var(--u)); font-size: calc(96 * var(--u)); }
.news-head p { position: absolute; left: calc(981 * var(--u)); top: calc(37 * var(--u)); width: calc(299 * var(--u)); max-width: none; min-height: 0; margin: 0;
  font-size: calc(20 * var(--u)); line-height: normal; }
.news-cards { left: calc(255 * var(--u)); top: calc(281.25 * var(--u)); display: flex; gap: calc(10 * var(--u)); }
.news-card { display: grid; place-items: center; width: calc(460 * var(--u)); height: calc(337 * var(--u)); min-height: 0; box-shadow: none;
  padding: 0 calc(20 * var(--u)); border-radius: calc(5 * var(--u)); }   /* the text centred in the card (Figma: 81px padding, but its 4 lines overflow that box and sit centred) */
.news-card p { justify-self: stretch; font-size: calc(20 * var(--u)); line-height: normal; }   /* stretch: split into words, a centred grid item shrank to 263 of 303 on a phone */
.news .team-row { left: calc(54 * var(--u)); top: calc(783.5 * var(--u)); width: calc(1400 * var(--u)); background: none; }   /* 324:4138: the 1400x460 gallery at x=54, centred in its 675-tall frame from y=676 */
.news .team-row .gallery { padding: 0; }
.news .team-row .hover-gallery { padding-inline: 0; }
/* location pages (tools/build-locations.mjs, 2026-11-16): the photo gallery first, then the heading and the cards, with the home
   page's spacing kept: 165 above the gallery, 165 from the gallery to the heading (the gap it had above the gallery), the cards 283.25
   below the heading's top as on the home page, 133.5 under them */
@media (min-width: 1024px) {   /* the stacked layout below 1024 only moves the gallery first (further down) */
.news.news--swapped { height: calc(1543.75 * var(--u)); margin-top: 0; }
.news--swapped .team-row { top: calc(165 * var(--u)); }
.news--swapped .news-head { top: calc(792 * var(--u)); }
.news--swapped .news-cards { top: calc(1073.25 * var(--u)); }
}

/* ---------- Location hero (Figma 369:4477 "Hero Location", 806 tall like the home hero) ---------- */
/* the salon's name 128 light, centred on 756, its line ending at 439; the white button at 670/517; address and hours 14 light,
   388 wide, centred, from 630 (Figma starts the block with an empty line, as on the home cards) */
.loc-hero__title { left: calc(756 * var(--u)); top: calc(439 * var(--u)); translate: -50% -100%; margin: 0; white-space: nowrap; text-align: center;
  font-family: var(--font); font-weight: 300; font-size: calc(128 * var(--u)); line-height: normal; color: #fff; mix-blend-mode: difference; }
.hero--loc .hero-cta { left: calc(670 * var(--u)); top: calc(517 * var(--u)); }
.loc-hero__info { left: calc(756 * var(--u)); top: calc(630 * var(--u)); translate: -50% 0; width: calc(388 * var(--u)); margin: 0; text-align: center;
  font-family: var(--font); font-weight: 300; font-size: calc(14 * var(--u)); line-height: normal; color: #fff; }
.loc-hero__info::before { content: "\200B"; display: block; }
.loc-hero__info strong { font-weight: 900; }

/* ---------- FAQ "häufig gefragt." (324:3985): 1079 tall ---------- */
.faq { position: relative; height: calc(1079 * var(--u)); margin-top: calc(-26 * var(--u));   /* Figma starts it 26 above the news' end (8428 vs 8454) */
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 47.596%, #fff 74.519%), url('../assets/paper-light.jpg') 0 0 / max(29.0403vw, 418px) auto repeat, var(--paper); }
.faq > * { position: absolute; margin: 0; }
.faq__title { left: calc(130 * var(--u)); top: calc(106 * var(--u)); z-index: 0;   /* under the team photo: the middle head overlaps "gefragt." as in Figma */  font-size: calc(128 * var(--u)); line-height: calc(100 * var(--u)); }
.faq__team { left: calc(-1 * var(--u)); top: calc(186 * var(--u)); width: calc(1028 * var(--u)); height: calc(685 * var(--u)); z-index: 1;
  background: radial-gradient(35.5% 35.5% at 50.03% 64.5%, rgba(136, 110, 60, 1) 27.404%, rgba(166, 146, 109, .75) 45.553%, rgba(196, 183, 158, .5) 63.702%, rgba(255, 255, 255, 0) 100%) 0 0 / 100% calc(657 * var(--u)) no-repeat; }
.faq__team::after {   /* the white fade over the bottom of the photos (322:3011) and the white strip under them (322:3012) */
  content: ""; position: absolute; left: calc(36 * var(--u)); top: calc(345 * var(--u)); width: calc(992 * var(--u)); height: calc(313 * var(--u));
  background: radial-gradient(110.7% 153.1% at 50.05% -53.1%, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 67.236%, #fff 100%);
  box-shadow: 0 calc(37 * var(--u)) 0 #fff;
}
.faq__person { position: absolute; max-width: none; object-fit: cover; }
.faq__person--left  { left: calc(125 * var(--u)); top: calc(106 * var(--u)); width: calc(361.13 * var(--u)); height: calc(541.7 * var(--u)); scale: -1 1; }
.faq__person--right { left: calc(481.5 * var(--u)); top: calc(26.75 * var(--u)); width: calc(421.1 * var(--u)); height: calc(631.5 * var(--u)); }
.faq__person--mid   { left: calc(305.7 * var(--u)); top: calc(67.8 * var(--u)); width: calc(387.3 * var(--u)); height: calc(580.9 * var(--u)); }
/* FAQ texts, Figma 324:3021 and 339:4251..4308 (2026-11-15): about 20 light, 605 wide at 35/799; the list's rows are 55 tall from 256,
   the question 24 light at +20 in its row, the sign 36 thin (white, difference) 517 to the right of the question at +10 (the open row's
   "-" 8 further right, where Figma puts it); an open answer is 16 light, 612 wide, 72 below its row's top, at least 75 tall, 21 above
   the next row */
.faq__about { left: calc(35 * var(--u)); top: calc(799 * var(--u)); width: calc(605 * var(--u)); z-index: 2; font-family: var(--font); font-weight: 300;
  font-size: calc(20 * var(--u)); line-height: normal; text-wrap: balance; color: #fff; mix-blend-mode: difference; }
.faq__list { left: calc(886 * var(--u)); top: calc(256 * var(--u)); width: calc(616 * var(--u)); z-index: 2; font-family: var(--font); color: #000; }
.faq__item summary { position: relative; display: block; height: calc(55 * var(--u)); padding-top: calc(20 * var(--u)); box-sizing: border-box; list-style: none; cursor: pointer; }
.faq__q { display: block; font-weight: 300; font-size: calc(24 * var(--u)); line-height: normal; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__sign { position: absolute; left: calc(517 * var(--u)); top: calc(10 * var(--u)); font-weight: 100; font-size: calc(36 * var(--u)); line-height: normal; color: #000; }   /* Figma: white, difference; over this light paper that is black, and inside the list it would have nothing to blend with */
.faq__item[open] .faq__sign { left: calc(525 * var(--u)); }
.faq__sign::before { content: "+"; }
.faq__item[open] .faq__sign::before { content: "-"; }
.faq__a { width: calc(612 * var(--u)); min-height: calc(75 * var(--u)); margin: calc(17 * var(--u)) 0 calc(21 * var(--u)); font-weight: 300; font-size: calc(16 * var(--u)); line-height: normal; text-wrap: balance; overflow-wrap: break-word; }
.faq__links { left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.pill-btn { position: absolute; pointer-events: auto; display: block; height: calc(36 * var(--u)); border-radius: calc(21 * var(--u)); background: #000; color: #fff;
  font-family: var(--font-geom); font-weight: 300; font-size: calc(16 * var(--u)); line-height: normal; text-decoration: none; white-space: nowrap; }
.pill-btn img { position: absolute; }
.pill-btn--mo { left: calc(547 * var(--u)); top: calc(979 * var(--u));   /* level with Abdul (Figma 324:3973, 2026-11-15) */ width: calc(145 * var(--u)); padding: calc(7 * var(--u)) 0 0 calc(43 * var(--u)); }
.pill-btn--mo img { left: calc(13.4 * var(--u)); top: calc(6.18 * var(--u)); width: calc(9.62 * var(--u)); height: calc(23.2 * var(--u)); }
.pill-btn--abdul { left: calc(718 * var(--u)); top: calc(979 * var(--u)); width: calc(156 * var(--u)); padding: calc(7 * var(--u)) 0 0 calc(39 * var(--u)); }
.pill-btn--abdul img { left: calc(17 * var(--u)); top: calc(9 * var(--u)); width: calc(8.21 * var(--u)); height: calc(18.4 * var(--u)); }

/* ---------- Team photo (339:4342): 1398x932 at x=58, 80 below the FAQ, rounded 20 ---------- */
.finale-photo { padding: calc(80 * var(--u)) calc(56 * var(--u)) 0 calc(58 * var(--u)); }
.finale-photo img { width: calc(1398 * var(--u)); height: calc(932 * var(--u)); object-fit: cover; border-radius: calc(20 * var(--u) * var(--fin-k, 1)); }   /* --fin-k: js/photo-grow.js keeps the corner 20 on screen while it scales the photo to 105% */
/* pinned with the footer sliding over it (js/photo-grow.js, 768px and up, which also sets the room below it for the grow); the footer
   is drawn on top */
.site-footer.is-over-photo { position: relative; z-index: 2; }

/* ---------- Phones and tablets (below 1024px): Figma has no phone or tablet frame for Desktop_new; a plain stacked layout until one exists ---------- */
@media (max-width: 1023px) {   /* phones and tablets: Figma's 1512 layout scaled to a tablet makes 10-13px body text */
  :root { --u: calc(100vw / 450); }
  .pill-nav__plate { left: 10px; right: 10px; width: auto; height: 50px; top: 10px; border-radius: 20px; }
  .pill-nav__brand { left: 12px; top: 8px; width: 57px; height: 34px; }
  .pill-nav__cta { left: auto; right: 21px; top: 21px; }
  .btn--sm img { width: 132px; height: 28px; } .btn--sm { border-radius: 10px; }
  .btn--white img { width: 163px; height: 35px; } .btn--white { border-radius: 21px; }

  .hero { height: 100svh; min-height: 560px; }
  /* phone/tablet: the claim fills the width (its bold line is ~11.6em wide), the greetings above it, the button centred below */
  .hero-claim { left: 50%; top: 36%; width: calc(100% - 32px); height: auto; translate: -50% 0; pointer-events: auto; font-size: min(calc((100vw - 32px) / 11.8), 44px); }
  .hero-claim__light, .hero-claim__bold { position: static; translate: none; width: auto; }
  .hero-hello__end { display: inline; } .hero-hello__bar { display: none; }
  /* the greetings stacked and centred above the claim (cofounder, 2026-11-16): the Arabic on top, "Willkommen." under it, 8px apart,
     the pair 12px above the claim's box */
  .hero-arabic { width: 81px; height: 25px; }
  .hero-hello { left: 50%; top: calc(36% - 63px); translate: -50% 0; flex-direction: column-reverse; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; text-align: center; }
  .hero-cta { left: 50%; top: 73%; translate: -50% 0; }

  .services { height: auto; padding: 60px 16px; display: grid; gap: 24px; overflow: clip; }
  .services > * { position: static; }
  .services-title { white-space: nowrap; font-size: min(calc((100vw - 32px) / 10.7), 48px); color: #000; mix-blend-mode: normal; }   /* two lines like desktop; the wider one is ~10.5em */
  .cuts { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 0 16px; }
  .cuts li { position: relative; inset: auto !important; flex: 0 0 60%; width: auto !important; height: auto !important; aspect-ratio: 3 / 4; border-radius: 5px; }
  .services-text { justify-self: start; width: auto; max-width: 520px; font-size: 18px; color: #000; mix-blend-mode: normal; }
  .services-title { justify-self: start; text-align: left; }
  .services-cta { justify-self: start; }
  .services-cta img { width: 151px; height: 32px; } .services-cta { border-radius: 10px; }
  /* the rating card first, at Figma size up to 1px a unit (fits a 375 phone at 320 wide) */
  .svc-rating { --u: min(100vw / 450, 1px); order: -1; position: relative; left: auto; top: auto; justify-self: start; }

  .blocks--into-intro { height: 40vw; }
  .blocks--into-intro svg { top: -31vw; width: 100vw; height: 71vw; }   /* its bottom on the box's bottom: it may not reach over the intro's first line */
  .intro { height: auto; padding: 40px 16px 60px; }
  .intro-text { width: auto; font-size: var(--fs-display); line-height: 1.5; }
  .intro-cta { margin-top: 32px; }

  /* stacked: the title, then the two cards one under the other, each twice the height they had while the section was one screen tall
     (half of the screen below the title each, so now the whole screen below the title: 100svh minus the title's 158.4px; cofounder, 2026-11-16) */
  .locations { height: auto; display: flex; flex-direction: column; }
  .locations__cards { grid-template-columns: 1fr; order: 2; }
  .loc-card { height: calc(100vh - 158.4px); height: calc(100svh - 158.4px); }
  .loc-card__name { top: auto; bottom: 150px; width: 80%; font-size: 20px; }
  .loc-card__info { top: auto; bottom: 30px; width: 90%; font-size: 14px; }
  .locations__title { position: static; translate: none; order: 1; padding: 72px 0 16px; text-align: center; font-size: 64px;   /* 72: clears the fixed nav pill (it ends at 60) */ line-height: 1.1; color: #fff; mix-blend-mode: normal; }

  .reviews { padding: 60px 0; }
  .reviews__card { width: calc(100% - 32px); margin: 0 auto; }

  .social { padding-top: 60px; min-height: 0; }
  .social-head h2.headline { font-size: min(40px, calc((100vw - 32px) / 8.5)); line-height: 1.05; }   /* "Social Media." is 8.5em: on a 320 phone it went 36px past the edge (2026-11-16) */
  .social-head p { width: auto; font-size: 16px; padding-inline: 16px; }
  .social-head .social-links { margin-top: 24px; }
  .social .radial-slider { margin-top: -0.25vw; }   /* the middle card as far below the buttons as the arrows are below it (2026-11-16; was 24px) */

  .news { height: auto; padding: 60px 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }   /* minmax: the cards may not widen the column to one line of text */
  .news > * { position: static; }
  .news-head { display: grid; gap: 12px; }
  .news-head h2, .news-head p { position: static; width: auto; }
  .news-head h2 { font-size: min(40px, calc((100vw - 32px) / 8.5)); }   /* "Ankündigungen." is 8.5em: on a 320 phone it pushed the page 20px wide (2026-11-16) */
  .news-head p { font-size: 16px; }
  .news-cards { flex-direction: column; }
  .news-card { width: auto; height: auto; padding: 40px 20px; }
  .news-card p { font-size: 16px; }
  .news .team-row { margin: 0 -16px; width: auto; }
  .news--swapped .team-row { order: -1; }   /* location pages: the gallery first */
  /* the location hero on phones and tablets: the name filling the width ("Nümbrecht" is about 4.9em), the button under it, address and
     hours at the bottom */
  .loc-hero__title { left: 50%; top: 42%; font-size: min(calc((100vw - 48px) / 5), 110px); }
  .hero--loc .hero-cta { left: 50%; top: calc(42% + 28px); translate: -50% 0; }
  .loc-hero__info { top: auto; bottom: 48px; width: calc(100% - 32px); font-size: 14px; }

  .faq { height: auto; margin-top: 0; padding: 60px 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }   /* minmax: the 95vw photo must not widen the text column */
  .faq > * { position: static; }
  .faq__title { font-size: 64px; line-height: .8; }
  /* the team photo with its glow sits between the questions and the two buttons, 95% of the screen wide (cofounder, 2026-11-15) */
  /* the outer elbows (the left person's at 12.19% of the box, the right one's at 80.20%, measured on the cut-outs) 5vw from the screen's
     edges (cofounder, 2026-11-16; it was 95vw wide): 90vw / 68.01% = 132.33vw wide, its left edge 5vw - 12.19% of that = -11.13vw; the
     glow beyond the screen is cut off by the section */
  .faq__team { position: relative; left: auto; top: auto; order: 1; justify-self: start; width: 132.33vw; margin-left: calc(-11.13vw - 16px); height: auto; aspect-ratio: 1028 / 685; }
  .faq { overflow: clip visible; }   /* left/top: the desktop offsets would shift it over the text */
  .faq__team { background-size: 100% 95.912%; }   /* the glow covers 657 of the 685 box, as on desktop (its desktop size is in desktop units) */
  .faq__links { order: 2; }
  .faq__team::after { left: 3.5%; top: 50.4%; width: 96.5%; height: 45.7%; box-shadow: 0 5.4vw 0 #fff; }
  .faq__person--left  { left: 12.2%; top: 15.5%; width: 35.1%; height: auto; }
  .faq__person--right { left: 46.8%; top: 3.9%; width: 41%; height: auto; }
  .faq__person--mid   { left: 29.7%; top: 9.9%; width: 37.7%; height: auto; }
  .faq__about { width: auto; font-size: 16px; }
  .faq__list { width: auto; }
  .faq__item summary { height: auto; padding: 14px 44px 14px 0; }
  .faq__q { font-size: 20px; }
  .faq__sign, .faq__item[open] .faq__sign { left: auto; right: 0; top: 4px; width: 32px; text-align: center; font-size: 32px; }
  .faq__a { width: auto; min-height: 0; margin: 0 0 16px; font-size: 16px; }
  .faq__links { position: static; display: flex; gap: 12px; height: auto; pointer-events: auto; }
  .pill-btn { position: relative; inset: auto; height: 36px; font-size: 16px; border-radius: 21px; }
  .pill-btn--mo { width: 145px; padding: 7px 0 0 43px; }
  .pill-btn--mo img { left: 13px; top: 6px; width: 10px; height: 23px; }
  .pill-btn--abdul { width: 156px; padding: 7px 0 0 39px; }
  .pill-btn--abdul img { left: 17px; top: 9px; width: 8px; height: 18px; }

  .finale-photo { padding: 40px 16px 0; }
  .finale-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: calc(20px * var(--fin-k, 1)); }
}

/* Optical size of the big type (2026-11-15). Google Sans Flex has an optical-size axis; the browser sets it to the font size, Figma
   renders large text at a smaller optical size (fuller, wider letters). Fitted per heading so each line's ink width matches Figma's
   render at 1512 (within 0-13px; small text already matched with the browser's own setting). Laptop width and up, where the type is
   near Figma's size; smaller screens keep the browser's automatic optical size. */
@media (min-width: 1024px) {
  .hero-claim { font-variation-settings: "opsz" 44; }   /* Figma ink: 446 / 738 wide; opsz 44 lands within 3px on both lines */
  .services-title { font-variation-settings: "opsz" 40; }
  .intro-text, .news-head h2.headline { font-variation-settings: "opsz" 48; }
  .social-head h2.headline { font-variation-settings: "opsz" 56; }
  .faq__title, .locations__title { font-variation-settings: "opsz" 80; }
}

/* Footer logo: Desktop_new widens it with the page (393.75px at 1512 = 26.04vw); the older sheet capped it at 375px. */
@media (min-width: 1024px) { .footer-logo { width: calc(393.75 * var(--u)); } }
/* Tablets: the team gallery keeps the section's 16px side margin. Edge to edge (as on phones) its 8px clip margin (room for the focus
   ring, css/hover-gallery.css) reached past the window and the page scrolled sideways by 2px. Phones (720 and below) swipe it edge to edge. */
@media (min-width: 721px) and (max-width: 1023px) { .news .team-row { margin: 0; } }
/* Social: the slider's middle card starts 146 below the buttons, where Figma's tiles start (324:4224: buttons end at 346, tiles at 492).
   The older sheet's margin left 63. Laptop width and up. */
@media (min-width: 1024px) {
  .social .radial-slider { margin-top: calc(-3 * var(--u)); }   /* the middle card as far below the buttons as the arrows are below it (cofounder, 2026-11-16; was 62.2: 146 above, 81 below at 1512) */
  .social { height: auto; min-height: calc(1019 * var(--u)); }   /* 1084 until the slider moved up 65 (2026-11-16) */   /* the curved slider is taller than Figma's flat tiles: the section grows to fit its dots (about 83 more than 1084) instead of letting them overlap the news */
}

/* the line reveal's screen-reader copy stays out of the flow inside the stacked (grid) sections too (2026-11-15) */
:is(.services, .faq, .news-head, .social-head, .news-card) > .wr-sr { position: absolute; left: auto; top: auto; width: 1px; height: 1px; margin: -1px; padding: 0; }   /* it is a p: the sections' p rules (widths, offsets) must not size it */

/* line masks for js/intro-motion.js: each line's own box clips it while its content slides up from below (2026-11-16) */
.hl-mask { overflow: clip; }
.hl-in { display: block; will-change: transform; }
.hero-hello__word.hl-mask { display: inline-block; vertical-align: top; }
.hero-hello__word > .hl-in { display: inline-block; }
.hl-mask--img { display: block; flex: none; line-height: 0; }
.hl-line { display: block; }
.services-title .hl-mask { display: inline-block; vertical-align: top; }

/* the intro text two steps smaller on phones, a shorter read (cofounder, 2026-11-16): 9.6vw (36px at 375; was 11.56vw, 43px); the
   portraits in it scale with it (em) */
@media (max-width: 767px) { .intro-text { font-size: clamp(30px, 9.6vw, 44px); } }

/* the services photos' nav (js/cuts-nav.js, 2026-11-16): the social slider's controls under the swipeable row on phones and tablets.
   Its own full-width box is the container its sizes (cqw) are read from, as the social slider is for its own. */
.cuts-nav { display: none; }
@media (max-width: 1023px) {
  .cuts-nav { display: block; container-type: inline-size; width: 100vw; margin: 0 0 0 -16px; }   /* an explicit width: a size container does not stretch in the grid (it measured 0); the screen's width, as the social slider's */
  .cuts-nav .radial-slider__controls { margin-top: 0; padding-bottom: 0; }
}
