/* ============================================================
   Physiotherapie am Auweg — Stylesheet
   Ästhetik: minimalistisch, weiß, neutrale Sans-Serif (Inter),
   ein dezenter Grau-Grün-Akzent. WCAG-konform, viel Weißraum.
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg:         #FFFFFF;
  --surface:    #FFFFFF;
  --surface-2:  #FAFAFA;
  --ink:        #16181B;
  --ink-soft:   #565B61;
  --ink-faint:  #8A9096;
  --line:       #E7E8EA;
  --line-soft:  #F0F1F2;
  --accent:     #5C726B;   /* dezentes Grau-Grün – Details */
  --accent-ink: #3F4F48;   /* dunkler – für Text/Kontrast  */

  --maxw: 1200px;
  --gut: clamp(1.25rem, 5vw, 4.5rem);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, 0.97rem + 0.18vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* visible focus for keyboard users */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem; height: 1px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3, h4 { font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.55rem); }

.section { padding-block: clamp(4rem, 3rem + 7vw, 8rem); position: relative; }
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-top: 1.1rem; }
.section-head p { color: var(--ink-soft); margin-top: 1.2rem; font-size: 1.075rem; max-width: 36rem; }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 200;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding-block: 1.4rem;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.85rem;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand b { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; transition: color 0.4s var(--ease); }
.brand span { font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-top: 0.4rem; transition: color 0.4s var(--ease); }
.scrolled .brand b { color: var(--ink); }
.scrolled .brand span { color: var(--ink-soft); }

.nav-links { display: flex; align-items: center; gap: 2.1rem; list-style: none; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.88);
  position: relative; padding-block: 0.3rem; transition: color 0.3s var(--ease);
}
.scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: #fff; }
.scrolled .nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.88rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.5);
  padding: 0.6rem 1.15rem; border-radius: 999px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.nav-cta:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-1px); }
.scrolled .nav-cta { background: var(--ink); color: #fff; border-color: var(--ink); }
.scrolled .nav-cta:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.nav-cta svg { width: 15px; height: 15px; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem; }
.burger span { display: block; width: 26px; height: 2px; background: #fff; transition: transform 0.4s var(--ease), opacity 0.3s, background 0.4s; }
.scrolled .burger span { background: var(--ink); }
.burger span + span { margin-top: 6px; }
.burger.open span { background: var(--ink); }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   Hero (full-bleed background image)
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(580px, 92vh, 880px);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,20,22,0.34) 0%, rgba(15,20,22,0.08) 32%, rgba(15,20,22,0.20) 62%, rgba(13,17,19,0.74) 100%),
    linear-gradient(90deg, rgba(13,17,19,0.42) 0%, rgba(13,17,19,0) 55%);
}
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(3rem, 7vh, 5.5rem); padding-top: 9rem; }
.hero-inner { max-width: 44rem; }
.hero .eyebrow { color: rgba(255,255,255,0.92); }
.hero .eyebrow::before { background: rgba(255,255,255,0.7); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 1.5rem + 5.4vw, 5rem);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 600;
  margin-top: 1.4rem;
}
.hero-lede {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem);
  max-width: 32rem; margin-top: 1.6rem; line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 600; font-size: 0.95rem; padding: 0.95rem 1.6rem;
  border-radius: 999px; transition: all 0.3s var(--ease); cursor: pointer;
  border: 1px solid transparent; min-height: 48px;
}
.btn svg { width: 17px; height: 17px; }
/* on hero (light) */
.hero .btn-primary { background: #fff; color: var(--ink); }
.hero .btn-primary:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }
.hero .btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
/* default (on white) */
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface-2); }

/* booking notice strip */
.notice { border-bottom: 1px solid var(--line); padding-block: 1.4rem; background: var(--bg); }
.notice .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 2rem; }
.notice p { font-size: 0.95rem; color: var(--ink-soft); }
.notice strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   Image placeholders
   ============================================================ */
.ph {
  position: relative; width: 100%; border-radius: 2px; overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 18px 18px; opacity: 0.6;
}
.ph .ph-label {
  position: relative; z-index: 1;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600;
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem; text-align: center; padding: 1rem;
}
.ph .ph-label svg { width: 24px; height: 24px; opacity: 0.7; }

/* real photos */
.photo {
  position: relative; width: 100%; overflow: hidden;
  border: 1px solid var(--line); border-radius: 2px; background: var(--surface-2);
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   Intro
   ============================================================ */
.intro .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.intro-text p { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem); line-height: 1.4; color: var(--ink); font-weight: 500; letter-spacing: -0.015em; }
.intro-text p + p { margin-top: 1.5rem; font-size: 1.05rem; line-height: 1.65; color: var(--ink-soft); font-weight: 400; letter-spacing: 0; }
.intro-stats { display: grid; gap: 0; border-top: 1px solid var(--line); }
.intro-stats .stat { padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.intro-stats .stat b { font-size: 2.1rem; font-weight: 600; display: block; letter-spacing: -0.03em; }
.intro-stats .stat span { color: var(--ink-soft); font-size: 0.92rem; }

/* ============================================================
   Leistungen
   ============================================================ */
.serv-block + .serv-block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.serv-block-head { display: flex; align-items: baseline; gap: 1.1rem; margin-bottom: 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.serv-block-head .num { font-size: 0.85rem; color: var(--accent-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.serv-block-head h3 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); }
.serv-block-head .count { margin-left: auto; font-size: 0.78rem; color: var(--ink-faint); letter-spacing: 0.08em; }

.serv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.serv { background: var(--surface); padding: 1.6rem 1.5rem 1.8rem; transition: background 0.35s var(--ease); }
.serv:hover { background: var(--surface-2); }
.serv h4 { font-size: 1.08rem; font-weight: 600; display: flex; align-items: center; gap: 0.55rem; letter-spacing: -0.01em; }
.serv h4::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.serv p { color: var(--ink-soft); font-size: 0.93rem; margin-top: 0.65rem; line-height: 1.55; }

/* ============================================================
   Team
   ============================================================ */
.team-row { margin-bottom: 1.2rem; }
.team-row .eyebrow { margin-bottom: 1.8rem; display: flex; }
.team-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.4rem); }
.team-grid.therapists { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.team-grid.assist { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 3.5rem; }

.member .ph { aspect-ratio: 3/4; margin-bottom: 1.2rem; }
.member.small .ph { aspect-ratio: 1/1; }
.team-row.assist-row { margin-top: 3.5rem; }
.member .photo { aspect-ratio: 4/3; margin-bottom: 1.2rem; }
.member .photo img { object-position: center 32%; }
.member h4 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.member .role { color: var(--accent-ink); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-top: 0.4rem; }
.member .bio { color: var(--ink-soft); font-size: 0.93rem; margin-top: 0.85rem; line-height: 1.55; }
.member .tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.member .tags span { font-size: 0.74rem; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 0.26rem 0.65rem; }

/* ============================================================
   Praxis gallery
   ============================================================ */
.praxis { background: var(--surface-2); }

/* Filter chips */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.8rem; }
.gf-chip {
  font: inherit; font-size: 0.85rem; font-weight: 500;
  color: var(--ink-soft); background: transparent;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.5rem 1.1rem; cursor: pointer; min-height: 40px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.gf-chip:hover { border-color: var(--ink); color: var(--ink); }
.gf-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Grid */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(0.7rem, 1.6vw, 1.1rem); }
.gcell {
  position: relative; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 2px;
  overflow: hidden; cursor: zoom-in; background: var(--bg);
  aspect-ratio: 3 / 4; display: block; width: 100%;
}
.gcell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.gcell:hover img { transform: scale(1.04); }
.gcell::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,12,14,0.55), rgba(10,12,14,0) 48%);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.gcell:hover::after, .gcell:focus-visible::after { opacity: 1; }
.gcell-tag {
  position: absolute; left: 0.75rem; bottom: 0.7rem; z-index: 1;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  color: #fff; opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gcell:hover .gcell-tag, .gcell:focus-visible .gcell-tag { opacity: 1; transform: none; }
.gcell[hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(12,14,16,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  animation: lbFade 0.25s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; max-width: min(92vw, 1100px); display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 2px; }
.lb-figure figcaption { color: rgba(255,255,255,0.85); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-top: 1.1rem; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; cursor: pointer; border-radius: 999px;
  width: 48px; height: 48px; font-size: 1.7rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s var(--ease);
}
.lb-btn:hover { background: rgba(255,255,255,0.22); }
.lb-close { top: clamp(1rem, 3vw, 1.8rem); right: clamp(1rem, 3vw, 1.8rem); }
.lb-prev { left: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lb-btn { width: 42px; height: 42px; }
  .lb-prev { left: 0.4rem; } .lb-next { right: 0.4rem; }
}

/* ============================================================
   Partner
   ============================================================ */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partner { background: var(--surface); padding: 1.7rem; display: flex; flex-direction: column; transition: background 0.35s var(--ease); }
.partner:hover { background: var(--surface-2); }
.partner .cat { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; }
.partner h4 { font-size: 1.18rem; font-weight: 600; margin-top: 0.7rem; letter-spacing: -0.015em; }
.partner address { font-style: normal; color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.6rem; line-height: 1.5; }
.partner .plink { margin-top: auto; padding-top: 1.1rem; font-size: 0.86rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 0.4rem; }
.partner .plink svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.partner:hover .plink svg { transform: translate(2px, -2px); }

/* ============================================================
   Kontakt
   ============================================================ */
.contact-cols { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info dl { display: grid; }
.contact-info .field { padding-block: 1.3rem; border-bottom: 1px solid var(--line); }
.contact-info .field:first-of-type { border-top: 1px solid var(--line); }
.contact-info dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.contact-info dd { margin-top: 0.45rem; font-size: 1.05rem; }
.contact-info dd a { border-bottom: 1px solid var(--line); transition: border-color 0.3s; }
.contact-info dd a:hover { border-color: var(--ink); }
.contact-info .hours-row { display: flex; justify-content: space-between; max-width: 22rem; font-size: 1rem; }
.contact-info .hours-row + .hours-row { margin-top: 0.35rem; }
.contact-info .hours-row span:last-child { color: var(--ink-soft); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }

.map-card { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--surface); }
.map-embed { position: relative; width: 100%; height: 460px; background: var(--surface-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.5) contrast(1.02); }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 2rem; }
.map-consent svg { width: 30px; height: 30px; color: var(--accent-ink); }
.map-consent p { font-size: 0.92rem; color: var(--ink-soft); max-width: 24rem; line-height: 1.5; }
.map-card .map-foot { padding: 1rem 1.3rem; display: flex; align-items: center; gap: 0.7rem; font-size: 0.88rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.map-card .map-foot svg { width: 16px; height: 16px; color: var(--accent-ink); flex: none; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink); color: #fff; padding-block: clamp(3.5rem, 6vw, 5rem); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.14); }
.site-footer .brand b { color: #fff; }
.site-footer .brand span { color: rgba(255,255,255,0.55); }
.footer-blurb { color: rgba(255,255,255,0.7); margin-top: 1.3rem; max-width: 24rem; font-size: 0.96rem; }
.footer-col h5 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 600; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.65rem; }
.footer-col a, .footer-col li { color: rgba(255,255,255,0.82); font-size: 0.94rem; transition: color 0.3s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: 0.84rem; color: rgba(255,255,255,0.55); }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.07s; }
.reveal.d2 { transition-delay: 0.14s; }
.reveal.d3 { transition-delay: 0.21s; }

/* ============================================================
   Impressum page
   ============================================================ */
.legal { padding-top: clamp(8rem, 14vh, 11rem); padding-bottom: 6rem; }
.legal .wrap { max-width: 720px; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.2rem); margin-bottom: 2.5rem; font-weight: 600; letter-spacing: -0.03em; }
.legal h2 { font-size: 1.35rem; margin-top: 2.4rem; margin-bottom: 0.7rem; font-weight: 600; }
.legal p { color: var(--ink-soft); margin-bottom: 1rem; }
.legal a { color: var(--ink); border-bottom: 1px solid var(--line); }
.legal a:hover { border-color: var(--ink); }
.legal .back { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; margin-bottom: 2.5rem; font-size: 0.9rem; border: 0; }
.legal .back svg { width: 16px; height: 16px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .intro .wrap { grid-template-columns: 1fr; }
  .contact-cols { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top .brand-cell { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta.desktop { display: none; }
  .burger { display: block; }
  .mobile-menu {
    position: fixed; inset: 0; z-index: 190;
    background: var(--bg);
    transform: translateY(-100%); transition: transform 0.5s var(--ease);
    display: flex; flex-direction: column; justify-content: center;
    padding: var(--gut);
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; padding-block: 0.55rem; border-bottom: 1px solid var(--line); color: var(--ink); }
  .mobile-menu .nav-cta { align-self: flex-start; margin-top: 2rem; font-size: 1rem; padding: 0.85rem 1.5rem; background: var(--ink); color: #fff; border-color: var(--ink); }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .footer-top { grid-template-columns: 1fr; }
}

@media (min-width: 761px) { .mobile-menu { display: none; } }

/* ============================================================
   Cookie-Banner
   ============================================================ */
.footer-legal { display: inline-flex; gap: 1.3rem; align-items: center; flex-wrap: wrap; }
.footer-cookie-link {
  background: none; border: 0; padding: 0; font: inherit; font-size: 0.84rem;
  color: rgba(255,255,255,0.7); cursor: pointer; transition: color 0.3s;
}
.footer-cookie-link:hover { color: #fff; }

.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
  padding: clamp(0.8rem, 2vw, 1.4rem);
  display: flex; justify-content: center;
  animation: cookieUp 0.45s var(--ease);
}
.cookie-banner[hidden] { display: none; }
@keyframes cookieUp { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie-inner {
  max-width: 62rem; width: 100%;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 12px 44px rgba(15,18,20,0.16);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.1rem, 3vw, 1.8rem);
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cookie-text { flex: 1 1 320px; }
.cookie-text strong { display: block; font-size: 1rem; margin-bottom: 0.35rem; }
.cookie-text p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.55; }
.cookie-text a { color: var(--ink); border-bottom: 1px solid var(--line); }
.cookie-text a:hover { border-color: var(--ink); }
.cookie-actions { display: flex; gap: 0.7rem; flex: 0 0 auto; }
.cookie-actions .btn { padding: 0.72rem 1.4rem; }
@media (max-width: 560px) {
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }
