/* =========================================================
   Fräulein Gall Frisör – Stylesheet
   Farben: Weiß, Anthrazit, Salbei-Tanne-Akzent · Schriften: Courier Prime (Haus), Work Sans (Text)
   ========================================================= */
:root {
  --white: #ffffff;           /* Schrift auf Dunkel, Buttons */
  --paper: #f1f3f1;           /* heller Seitenhintergrund – kühles Papierweiß mit Hauch Salbei */
  --ink: #141312;
  --ink-soft: #55524e;
  --muted: #6f6b66;
  --dark: #151413;            /* ein einziger Dunkelton */
  --accent: #4f6156;          /* Salbei-Tanne */
  --accent-dark: #3f4e45;
  --accent-light: #b8c4bb;    /* helles Salbei – nur auf Dunkel verwenden */
  --line: rgba(20, 19, 18, .12);
  --line-light: rgba(255, 255, 255, .14);
  --sans: "Work Sans", system-ui, sans-serif;
  --brand: "Courier Prime", Courier, "Courier New", monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 80px;
  --jump-gap: 40px;
  --marquee-h: 74px;
  --peek: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: clip;
  scroll-snap-type: y proximity;   /* sanftes Einrasten an Abschnittsanfängen */
  scrollbar-color: var(--accent) var(--dark); accent-color: var(--accent);
}
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
figure { margin: 0; }
p { text-wrap: pretty; hyphens: auto; }
h1, h2, h3 {
  font-family: var(--brand); font-weight: 400; line-height: 1.1; letter-spacing: -.02em;
  margin: 0 0 .5em; text-wrap: balance; overflow-wrap: break-word; hyphens: manual;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: 1.7rem; }
em { font-style: italic; color: var(--accent); }
::selection { background: var(--accent); color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section-dark :focus-visible, .hero :focus-visible, .site-header :focus-visible,
.lightbox :focus-visible, .split-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--white); }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
/* Abschnitte: --pad-top steuert den Innenabstand oben. Sprungmarken landen so,
   dass der Inhalt immer --jump-gap unter der Menüleiste beginnt. */
/* Einrast-Punkte: Startbild, alle Abschnitte, Produkte */
.hero, .section, .split { scroll-snap-align: start; }
.hero { scroll-margin-top: calc(-1 * var(--header-h)); }

.section {
  --pad-top: clamp(80px, 11vw, 150px);
  padding: var(--pad-top) 0 clamp(80px, 11vw, 150px);
  scroll-margin-top: calc(var(--jump-gap) - var(--pad-top));
}
.section-dark { background: var(--dark); color: var(--white); }
.section-dark em, .hero em { color: var(--accent-light); }
.brand-name { font-family: var(--brand); letter-spacing: -.02em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Skip-Link */
.skip {
  position: absolute; left: 16px; top: 12px; z-index: 200; padding: 10px 16px;
  background: var(--white); color: var(--ink); font-family: var(--brand);
}
.skip:not(:focus) { left: -9999px; }

/* ---------- Buttons: kleingeschriebene Courier wie das Logo ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 10px; min-height: 48px; padding: 12px 26px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--white);
  font-family: var(--brand); font-size: 1.02rem; letter-spacing: 0; text-transform: none; text-decoration: none;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .95rem; background: transparent; border-color: rgba(255,255,255,.55); }
.btn-small:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; color: var(--white); background: var(--dark); transition: background .4s, box-shadow .4s; }
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: transparent; }
.site-header.is-overlay.scrolled, .site-header.menu-open { background: rgba(21, 20, 19, .96); box-shadow: 0 1px 0 var(--line-light); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-family: var(--brand); font-size: 1.02rem; text-decoration: none; position: relative; padding: 4px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: var(--accent-light); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--white); margin: 6px 0; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  /* Startbild + Laufband füllen den ersten Bildschirm, darunter bleibt ein schmaler Streifen Seite sichtbar */
  position: relative; min-height: calc(100vh - var(--marquee-h) - var(--peek)); min-height: calc(100svh - var(--marquee-h) - var(--peek));
  display: flex; align-items: flex-end; color: var(--white); background: var(--dark); overflow: hidden;
  padding: calc(var(--header-h) + clamp(16px, 4vh, 40px)) 0 clamp(40px, 8vh, 104px);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  position: absolute; right: 0; top: 0; height: 100%; width: min(64%, 920px); object-fit: cover; object-position: center 30%;
  animation: heroZoom 14s ease-out both;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--dark) 26%, rgba(21,20,19,.45) 52%, rgba(21,20,19,.1) 100%),
    linear-gradient(0deg, rgba(21,20,19,.85) 0%, transparent 45%);
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-inner { position: relative; z-index: 1; }
.hero-title { font-size: clamp(2rem, min(11vw, 12.5vh), 8rem); line-height: 1; letter-spacing: -.03em; margin: 0 0 .4em; }
.hero-title .type { display: block; min-height: 1em; white-space: nowrap; }
.hero-title .type-2 { color: var(--accent-light); }
.hero-title .type.typing::after, .hero-title .type.caret::after {
  content: ""; display: inline-block; width: .5em; height: .08em; margin-left: .08em;
  background: currentColor; vertical-align: baseline; animation: blink 1s steps(1) infinite;
}
.hero-title .type.caret::after { animation-iteration-count: 4; animation-fill-mode: forwards; }
@keyframes blink { 50% { opacity: 0; } }
.tagline { font-family: var(--brand); font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.3; letter-spacing: -.02em; margin: 0 0 10px; }
.hero-place { margin: 0 0 36px; color: rgba(255,255,255,.75); font-size: .95rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.status { hyphens: manual; font-size: .9rem; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 12px; margin: 0; min-height: 1.5em; }
.status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.open::before { background: #7fbf74; animation: pulse 2s 3; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127,191,116,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(127,191,116,0); } }

/* ---------- Laufband (endlos; pausiert unter dem Mauszeiger) ---------- */
.marquee { background: var(--accent); color: var(--white); overflow: hidden; padding: 18px 0; border-bottom: var(--peek) solid var(--dark); background-clip: padding-box; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--brand); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); padding: 0 28px; white-space: nowrap;
  display: flex; align-items: center;
}
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; margin-left: 56px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Philosophie ---------- */
.big-quote {
  margin: 0 0 clamp(56px, 8vw, 104px); max-width: 22ch;
  font-size: clamp(1.6rem, 4.6vw, 3.9rem); line-height: 1.18; letter-spacing: -.03em;
}
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); margin-left: 33%; border-top: 1px solid var(--line); }
.feature { padding: 32px 28px 8px 0; }
.feature + .feature { padding-left: 28px; border-left: 1px solid var(--line); }
.feature h3 { font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; margin-bottom: .6em; }
.feature p { color: var(--ink-soft); margin: 0; }

/* ---------- Produkte ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.split-dark { background: var(--dark); color: var(--white); }
.split-img { overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split:hover .split-img img { transform: scale(1.04); }
.split-text { padding: clamp(56px, 8vw, 128px) clamp(24px, 6vw, 112px); align-self: center; max-width: 680px; }
.split-text p { color: rgba(255,255,255,.78); }
.checks { list-style: none; padding: 0; margin: 28px 0 40px; font-family: var(--brand); font-size: 1.1rem; }
.checks li { padding: 6px 0; }
.checks li::before { content: "– "; color: var(--accent-light); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 128px); align-items: center; }
.team-img { position: relative; }
.team-img::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--accent); z-index: -1; }
.team-img img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.team-text h2 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.03em; margin-bottom: .15em; }
.role { font-family: var(--brand); font-style: italic; font-size: 1.15rem; color: var(--accent); margin: 0 0 1.4em; }
.team-text p { color: var(--ink-soft); max-width: 60ch; }

/* ---------- Galerie (auf Weiß) ---------- */
.section-gallery { --pad-top: 0px; padding-bottom: 0; }
.section-gallery h2 { margin-bottom: 40px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 22vw, 300px); gap: 6px; }
.g-item { position: relative; padding: 0; border: 0; background: var(--ink); cursor: zoom-in; overflow: hidden; }
.g-tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .9s var(--ease); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); }

/* ---------- Großansicht (dialog) ---------- */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0;
  background: rgba(10, 10, 10, .96); color: var(--white); padding: 56px 16px;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: lbIn .3s ease; }
.lightbox::backdrop { background: transparent; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox img { max-height: 100%; max-width: min(900px, 100%); width: auto; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--white); min-width: 48px; min-height: 48px;
  font-size: 2.6rem; line-height: 1; cursor: pointer; padding: 8px 14px; opacity: .75; transition: opacity .2s;
}
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-family: var(--brand); }

/* ---------- Preise ---------- */
#preise { --pad-top: clamp(72px, 8vw, 112px); }
.price-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px clamp(32px, 5vw, 80px); align-items: start; margin-bottom: 40px; }
.price-intro h2 { margin: 0 0 .35em; }
.lead-text { font-size: 1rem; color: var(--ink-soft); margin: 0; max-width: 48ch; }
.consult {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px 28px;
  padding: clamp(20px, 2.4vw, 28px) clamp(24px, 3vw, 40px);
  border-radius: 999px;
  background:
    radial-gradient(120% 140% at 0% 50%, rgba(79, 97, 86, .2) 0%, rgba(79, 97, 86, .08) 55%, rgba(79, 97, 86, 0) 100%);
  color: var(--ink);
}
.consult h3 { font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: .25em; color: var(--accent); }
.consult p { color: var(--ink-soft); margin: 0; font-size: .92rem; line-height: 1.5; }
.consult strong { font-family: var(--brand); font-weight: 700; font-size: 1.1em; color: var(--ink); word-spacing: -.3em; }
.consult .btn { min-height: 42px; padding: 8px 20px; font-size: .95rem; border-radius: 999px; background: transparent; color: var(--accent); border-color: var(--accent); }
.consult .btn:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

.tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.tab {
  position: relative; background: none; border: 0; padding: 12px 0 14px; cursor: pointer; margin-bottom: -1px;
  font-family: var(--brand); font-size: 1.05rem; color: var(--muted); border-bottom: 2px solid transparent;
  transition: color .25s, border-color .25s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 700; }

.price-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 80px; }
.price-list:focus-visible { outline-offset: 12px; }
.price-group h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: .25em; }
.price-group .sub { font-size: .92rem; line-height: 1.5; color: var(--muted); margin: 0 0 14px; }
.price-row { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.price-row .name { flex: 1; min-width: 0; hyphens: auto; }
.row-note { display: block; font-size: .85rem; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.price-row .val { font-family: var(--brand); font-weight: 700; font-size: 1.1rem; white-space: nowrap; word-spacing: -.3em; }
.price-row .val small { font-family: var(--sans); font-weight: 500; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 8px; word-spacing: 0; }
.price-row-3 { display: grid; grid-template-columns: 1fr repeat(3, 3.6em); gap: 8px; }
.price-row-3 .val { text-align: right; }
.price-head { padding: 0 0 6px; border-bottom: 1px solid var(--ink); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.price-head span { text-align: right; margin-right: -.14em; }
.price-head .name { text-align: left; }
.price-list.fade .price-group { animation: rise .45s var(--ease) both; }
.price-list.fade .price-group:nth-child(2) { animation-delay: .05s; }
.price-list.fade .price-group:nth-child(3) { animation-delay: .1s; }
.price-list.fade .price-group:nth-child(4) { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.note { font-size: .9rem; color: var(--muted); margin: 32px 0 0; }

/* ---------- Kontakt ---------- */
.big-phone {
  display: inline-block; font-family: var(--brand); text-decoration: none; letter-spacing: -.02em;
  font-size: clamp(2.1rem, 8vw, 6rem); line-height: 1; margin-bottom: clamp(56px, 8vw, 96px); position: relative; transition: color .3s;
}
.big-phone::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: 2px; background: var(--accent-light);
  transform: scaleX(.15); transform-origin: left; transition: transform .6s var(--ease);
}
.big-phone:hover { color: var(--accent-light); }
.big-phone:hover::after { transform: scaleX(1); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 128px); border-top: 1px solid var(--line-light); padding-top: 48px; }
.contact h3 { font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--accent-light); margin-bottom: 20px; }
address { font-style: normal; margin: 0 0 20px; color: rgba(255,255,255,.82); }
address strong { font-family: var(--brand); font-weight: 400; color: var(--white); font-size: 1.2rem; }
.contact-links { margin: 0 0 32px; }
.contact-links a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color .25s; }
.contact-links a:hover { border-color: var(--accent-light); }
.hours-note { color: rgba(255,255,255,.72); font-size: .95rem; margin: 0 0 16px; }
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line-light); font-weight: 400; }
.hours td { text-align: right; font-family: var(--brand); }
.hours tr.today th, .hours tr.today td { color: var(--accent-light); font-weight: 700; }
.hours tr.today th::after { content: " · heute"; font-weight: 400; font-size: .85em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.62); font-size: .85rem; padding: 28px 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-light); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-inner p { margin: 0; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--white); }
.footer-inner .brand-name { color: var(--white); }

/* ---------- Nach oben ---------- */
.to-top {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right) + 16px); bottom: max(16px, env(safe-area-inset-bottom) + 16px);
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(21, 20, 19, .88); color: var(--white);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  opacity: 0; transform: translateY(12px) scale(.92); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s;
}
.to-top[hidden] { display: grid; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); }
.to-top:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.to-top svg { grid-area: 1 / 1; }
.to-top-ring { width: 52px; height: 52px; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke-width: 1.5; }
.to-top-ring .track { stroke: rgba(255, 255, 255, .14); }
.to-top-ring .progress { stroke: var(--accent-light); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
.to-top-arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.to-top:hover .to-top-arrow { transform: translateY(-2px); }

/* ---------- Impressum ---------- */
.legal { padding: clamp(48px, 8vw, 96px) 0; max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.legal h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-top: 1.6em; }
.back-link { font-family: var(--brand); font-size: 1rem; text-decoration: none; }
.back-link:hover { color: var(--accent-light); }

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--dark); padding: 16px 16px 32px; display: none; overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { font-size: 1.8rem; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line-light); }
  .nav a:not(.btn)::after { content: none; }
  .nav .btn { margin-top: 24px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .hero-bg img { width: 100%; opacity: .7; object-position: 60% 20%; }
  .hero-bg::after { background: linear-gradient(0deg, var(--dark) 22%, rgba(21,20,19,.3) 100%); }
  .cols-3 { grid-template-columns: 1fr; margin-left: 0; }
  .feature, .feature + .feature { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .split, .team, .contact, .price-intro { grid-template-columns: 1fr; }
  .price-intro { margin-bottom: 32px; }
  .split-img { max-height: 60vh; }
  .team { row-gap: 72px; }
  .team-img { max-width: 440px; margin-right: 28px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 4px; }
  .price-list { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 480px) {
  :root { --header-h: 68px; --jump-gap: 28px; --marquee-h: 64px; }
  .logo img { height: 40px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .tabs { gap: 0 20px; }
  .tab { font-size: .98rem; }
  .price-row-3 { grid-template-columns: 1fr repeat(3, 3.1em); gap: 6px; }
  .consult { grid-template-columns: 1fr; border-radius: 32px; padding: 22px 24px; }
  .consult .btn { justify-self: start; }
  .to-top { width: 46px; height: 46px; }
  .to-top-ring { width: 46px; height: 46px; }
  .price-row-3 .val { font-size: 1rem; }
}
