/* ==========================================================
   Podologie Wolfenbüttel — Stylesheet
   Colors: #83AA8B | #CAD2C5 | #51796F | #344F52
   Fonts: News Cycle + Catamaran
   ========================================================== */

/* --- Self-hosted fonts --- */
@font-face {
  font-family: 'News Cycle';
  src: url('../assets/fonts/news-cycle-700.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Catamaran';
  src: url('../assets/fonts/catamaran-400.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Catamaran';
  src: url('../assets/fonts/catamaran-700.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}


/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  --c-green:   #83AA8B;
  --c-light:   #CAD2C5;
  --c-mid:     #51796F;
  --c-dark:    #344F52;
  --c-white:   #ffffff;
  --c-white70: rgba(255,255,255,0.7);
  --c-white30: rgba(255,255,255,0.3);

  --font-head: 'News Cycle', 'Georgia', serif;
  --font-body: 'Catamaran', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  --nav-h:   90px;
  --max-w:   1280px;
  --ease:    0.3s ease;
  --radius:  2px;
}

/* ============================================================
   2. RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 18px; }
body  { font-family: var(--font-body); background: var(--c-green); color: var(--c-white); line-height: 1.65; }
img   { display: block; max-width: 100%; height: auto; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { cursor: pointer; }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   4. NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(131,170,139,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  /* allow the overflow-badge logo to hang below the bar */
  overflow: visible;
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Left: nav links */
.nav__links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.nav__link {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--c-white);
  opacity: 0.85;
  transition: opacity var(--ease);
  position: relative;
  padding-bottom: 2px;
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: rgba(255,255,255,0.6);
  border-radius: 1px;
}
.nav__link--active {
  opacity: 1;
}
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--c-white);
  border-radius: 1px;
}

/* Right: brand */
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity var(--ease);
}
.nav__brand:hover { opacity: 0.88; }
.nav__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--c-white);
  white-space: nowrap;
}
.nav__brand-sub {
  font-size: 0.84rem;
  letter-spacing: 0.07em;
  opacity: 0.72;
  line-height: 1;
  align-self: center;
}
.nav__logo {
  width: 102px;
  height: 102px;
  object-fit: cover;
  border-radius: 6px;
  border: 2.5px solid rgba(255,255,255,0.55);
  box-shadow: 0 6px 20px rgba(0,0,0,0.28);
  /* push logo so its bottom edge hangs ~12px below the nav */
  transform: translateY(15px);
  position: relative;
  z-index: 1;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.nav__brand:hover .nav__logo {
  border-color: rgba(255,255,255,0.9);
  box-shadow: 0 10px 28px rgba(0,0,0,0.32);
  transform: translateY(12px); /* lifts slightly on hover */
}

/* Hamburger (mobile) */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: var(--ease);
  transform-origin: center;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--c-mid);
  padding: 1.5rem 2rem 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
  animation: navSlide 0.2s ease;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile-link {
  font-size: 1.05rem;
  color: var(--c-white);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: opacity var(--ease);
}
.nav__mobile-link:hover { opacity: 0.8; }
.nav__mobile-link--active { font-weight: 700; }

@keyframes navSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   5. HERO (index page)
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero__bg {
  position: absolute; inset: 0;
  background: url('../images/hero.jpeg') center/cover no-repeat;
  transform: scale(1.07);
  animation: heroBg 14s ease-out forwards;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: rgba(83,121,111,0.52);
}
.hero__content {
  position: relative; z-index: 1;
  max-width: 680px;
  padding: 0 1.5rem;
  animation: heroIn 1.1s ease 0.25s both;
}
.hero__title {
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.hero__cta {
  display: inline-block;
  padding: 0.7rem 2rem;
  border: 2px solid var(--c-white);
  border-radius: var(--radius);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  transition: background var(--ease), color var(--ease);
}
.hero__cta:hover { background: var(--c-white); color: var(--c-mid); }

@keyframes heroBg {
  from { transform: scale(1.07); }
  to   { transform: scale(1.00); }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   6. SECTION WRAPPER
   ============================================================ */
.section {
  padding: 5rem 2rem;
}
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section__title { margin-bottom: 2.5rem; }
.section__title::after {
  content: '';
  display: block;
  width: 36px; height: 2.5px;
  background: rgba(255,255,255,0.6);
  margin-top: 0.7rem;
  border-radius: 2px;
}

/* ============================================================
   8. GALLERY
   ============================================================ */
/* Gallery follows the hero directly, so it keeps the default section padding */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 2rem;
}
.gallery__item {
  aspect-ratio: 1;
  overflow: hidden;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  cursor: zoom-in;
  filter: brightness(1.05) contrast(0.95) saturate(0.85);
}
.gallery__item img:hover { transform: scale(1.06); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.88);
  align-items: center; justify-content: center;
  animation: lbFade 0.2s ease;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 90vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox__close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  background: none; border: none; color: var(--c-white);
  font-size: 2.2rem; line-height: 1; padding: 0.25rem;
  transition: opacity var(--ease);
}
.lightbox__close:hover { opacity: 0.7; }

.lightbox__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--c-white);
  font-size: 2.8rem; line-height: 1;
  width: 52px; height: 72px;
  border-radius: 4px;
  padding: 0;
  transition: background var(--ease), border-color var(--ease);
  z-index: 1;
}
.lightbox__nav:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.55);
}
.lightbox__nav--prev { left: 1.25rem; }
.lightbox__nav--next { right: 1.25rem; }

@keyframes lbFade { from { opacity:0; } to { opacity:1; } }

/* ============================================================
   9. ABOUT PAGE (leistungen.html)
   ============================================================ */
.about-split {
  display: flex;
  min-height: 100vh;
}
.about-split__img {
  flex: 0 0 50%;
  position: relative;
  overflow: hidden;
}
.about-split__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-split__text {
  flex: 1;
  background: var(--c-green);
  display: flex;
  align-items: center;
  padding: 6rem 4rem 4rem;
}
.about-split__inner { max-width: 460px; }
.about-split__title { margin-bottom: 0.5rem; }
.about-split__name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}
.about-split__signature {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.88;
  margin-bottom: 2rem;
}
.about-split__body {
  opacity: 0.88; font-size: 0.95rem;
  line-height: 1.8; margin-bottom: 2rem;
}

/* ============================================================
   10. PRICES PAGE (preise.html)
   ============================================================ */
.prices-page {
  padding-top: calc(var(--nav-h) + 5rem);
  min-height: 100vh;
  padding-bottom: 5rem;
}
.prices-page__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.prices-page__heading { position: sticky; top: calc(var(--nav-h) + 2rem); }
.prices-page__heading h1 { margin-bottom: 1rem; }
.prices-page__heading p  { opacity: 0.8; font-size: 0.9rem; }

.price-list { border-top: 1px solid var(--c-white30); }
.price-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--c-white30);
}
.price-item__name  { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.price-item__price { font-size: 0.88rem; opacity: 0.75; }

/* ============================================================
   11. CONTACT PAGE (kontakt.html)
   ============================================================ */
.contact-page {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 5rem;
  min-height: 100vh;
}
.contact-page__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Map */
.contact-map { margin-bottom: 3.5rem; }
.contact-map__heading { margin-bottom: 0.5rem; }
.contact-map__sub { opacity: 0.82; font-size: 0.9rem; margin-bottom: 1.5rem; }
.contact-map__wrap {
  position: relative;
  width: 100%;
  padding-bottom: 40%;
  min-height: 260px;
  background: var(--c-mid);
  border-radius: var(--radius);
  overflow: hidden;
}
.contact-map__wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: none;
}
.contact-map__placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}
.contact-map__placeholder p { opacity: 0.8; font-size: 0.88rem; max-width: 300px; }
.contact-map__placeholder .btn-outline { font-size: 0.85rem; padding: 0.6rem 1.5rem; }

/* Info grid */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}
.contact-info__col h3 { margin-bottom: 0.65rem; font-size: 1rem; }
.contact-info__col p,
.contact-info__col address {
  font-style: normal;
  font-size: 0.88rem;
  opacity: 0.85;
  line-height: 1.75;
}
.contact-info__col a { text-decoration: underline; text-underline-offset: 3px; }
.contact-info__col a:hover { opacity: 1; }

.contact-info__row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.0rem;
}
.contact-info__icon {
  flex-shrink: 0;
  font-size: 0.9rem;
  line-height: 1.0;
}

/* Contact form */
.contact-form__title { margin-bottom: 1.75rem; }
.form {
  max-width: 680px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form__field { display: flex; flex-direction: column; gap: 0.35rem; }
.form__field--full { grid-column: 1 / -1; }
.form__label { font-size: 0.82rem; opacity: 0.88; }
.form__label abbr { text-decoration: none; font-style: normal; opacity: 0.6; }

.form__input,
.form__textarea {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--ease), background var(--ease);
  -webkit-appearance: none;
}
.form__input::placeholder,
.form__textarea::placeholder { color: rgba(255,255,255,0.35); }
.form__input:focus,
.form__textarea:focus {
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.15);
}
.form__input.is-error,
.form__textarea.is-error { border-color: #f87979; }

.form__textarea { min-height: 130px; resize: vertical; }

.form__error-msg {
  font-size: 0.75rem;
  color: #f87979;
  min-height: 1.1em;
}

.form__consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.25rem;
}
.form__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 17px; height: 17px;
  margin-top: 3px;
  accent-color: var(--c-dark);
}
.form__consent-label {
  font-size: 0.8rem;
  opacity: 0.82;
  line-height: 1.65;
}
.form__consent-label a { text-decoration: underline; }
.form__consent.is-error .form__consent-label { color: #f87979; }

.form__submit-row { margin-top: 1.5rem; }
.form__success {
  display: none;
  margin-top: 1.25rem;
  padding: 0.9rem 1.25rem;
  background: rgba(255,255,255,0.12);
  border-left: 3px solid var(--c-white);
  font-size: 0.9rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============================================================
   12. LEGAL PAGES (impressum / datenschutz)
   ============================================================ */
.legal-page {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 5rem;
  min-height: 100vh;
}
.legal-page__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem;
}
.legal-page h1  { margin-bottom: 2.5rem; }
.legal-page h2  { font-size: 1.15rem; margin: 2rem 0 0.6rem; }
.legal-page h3  { font-size: 1rem; margin: 1.5rem 0 0.4rem; }
.legal-page p,
.legal-page address {
  font-style: normal;
  font-size: 0.88rem;
  opacity: 0.85;
  line-height: 1.85;
  margin-bottom: 0.6rem;
}
.legal-page a { text-decoration: underline; }
.legal-page ul { margin: 0 0 0.8rem 1.25rem; font-size: 0.88rem; opacity: 0.85; line-height: 1.85; }
.legal-page__note { margin-top: 2rem; font-size: 0.8rem; opacity: 0.6; }
.legal-page__btn {
  margin-left: 0.5rem;
  background: none;
  border: 1.5px solid currentColor;
  color: inherit;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.85rem;
}

/* ============================================================
   13. FOOTER
   ============================================================ */
.footer {
  padding: 1.75rem 2rem;
  background: var(--c-green);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.footer__links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer__links a {
  opacity: 0.65;
  transition: opacity var(--ease);
}
.footer__links a:hover { opacity: 1; }

/* ============================================================
   14. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 3000;
  background: var(--c-dark);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
  transform: translateY(100%);
  animation: cookieUp 0.45s ease 0.9s forwards;
}
.cookie-banner.is-hidden { display: none !important; }

.cookie-banner__text {
  flex: 1;
  font-size: 0.82rem;
  opacity: 0.88;
  line-height: 1.6;
  min-width: 200px;
}
.cookie-banner__text a { text-decoration: underline; }

.cookie-banner__btns {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-cookie {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.82rem;
  border: 1.5px solid var(--c-white);
  transition: var(--ease);
}
.btn-cookie--accept {
  background: var(--c-white);
  color: var(--c-dark);
}
.btn-cookie--accept:hover { background: var(--c-light); border-color: var(--c-light); }
.btn-cookie--reject {
  background: transparent;
  color: var(--c-white);
}
.btn-cookie--reject:hover { background: rgba(255,255,255,0.1); }

@keyframes cookieUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* ============================================================
   15. SHARED BUTTON
   ============================================================ */
.btn-outline {
  display: inline-block;
  padding: 0.72rem 1.9rem;
  border: 2px solid var(--c-white);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--c-white);
  background: none;
  transition: background var(--ease), color var(--ease);
}
.btn-outline:hover { background: var(--c-white); color: var(--c-mid); }
.btn-outline:disabled { opacity: 0.45; pointer-events: none; }

/* ============================================================
   15b. PAGE SPLIT (photo + content on preise / kontakt / stellenangebot)
   Desktop: sticky photo column left, page content right.
   Mobile/tablet: 4:5 photo on top with the page title overlaid.
   --focus  = object-position of the photo (keeps the subject visible)
   --lift   = how far the title is pulled up over the photo (mobile)
   ============================================================ */
.page-split { --focus: center 40%; --lift: 5.5rem; }
.page-split__content { min-width: 0; }
.page-split__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focus);
}
.page-split--preise  { --focus: center 40%; }
.page-split--kontakt { --focus: center 30%; }
.page-split--karriere { --focus: center 35%; --lift: 8rem; }

/* ============================================================
   16. RESPONSIVE
   ============================================================ */

/* --- Tablet (768px+) --- */
@media (min-width: 768px) {
  .contact-map__wrap { padding-bottom: 35%; }
}

/* --- Desktop (1024px+) --- */
@media (min-width: 1024px) {
  .nav__toggle  { display: none; }
  .nav__links   { display: flex; }

  /* Page split → photo column left, content right */
  .page-split { display: flex; align-items: flex-start; }
  .page-split__img {
    flex: 0 0 40%;
    position: sticky; top: 0;
    height: 100vh;
    overflow: hidden;
  }
  .page-split__content { flex: 1; }
  /* Preise: photo on the right, content on the left (desktop only) */
  .page-split--preise { flex-direction: row-reverse; }

  /* Soft horizontal fade from the photo into the green content background */
  .about-split__img::after,
  .page-split__img::after {
    content: '';
    position: absolute; top: 0; bottom: 0; right: 0;
    width: 40%;
    background: linear-gradient(to right, transparent, var(--c-green));
    pointer-events: none;
  }
  .page-split--preise .page-split__img::after {
    right: auto; left: 0;
    background: linear-gradient(to left, transparent, var(--c-green));
  }
  /* Content column is narrower → single-column price list, fluid contact grid */
  .page-split .prices-page__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-split .prices-page__heading { position: static; }
  .page-split .contact-info { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

/* --- Mobile / Tablet (< 1024px) --- */
@media (max-width: 1023px) {
  .nav__links  { display: none; }
  .nav__toggle { display: flex; }

  /* About split → stack */
  .about-split         { flex-direction: column; }
  .about-split__text   { padding: 0 2rem 3rem; }
  .about-split__inner  { max-width: 100%; }

  /* 4:5 crop anchored on the face, title overlaid on the image */
  .about-split__img    { flex: none; width: 100%; aspect-ratio: 4 / 5; max-height: 70vh; }
  .about-split__img img { object-position: center 20%; }
  .about-split__img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 55%, var(--c-green) 100%);
  }
  .about-split__title {
    position: relative; z-index: 1;
    margin-top: -5.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  }

  /* Page split → photo on top, title overlaid (same look as Über mich) */
  .page-split__img {
    position: relative;
    width: 100%; aspect-ratio: 4 / 5;
    max-height: 70vh;   /* keeps the photo from filling a whole tablet screen */
    overflow: hidden;
  }
  .page-split__img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 55%, var(--c-green) 100%);
  }
  .page-split .prices-page,
  .page-split .contact-page,
  .page-split .legal-page { padding-top: 0; min-height: 0; }
  .page-split__content h1 {
    position: relative; z-index: 1;
    margin-top: calc(var(--lift) * -1);
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  }

  /* Prices → stack */
  .prices-page__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .prices-page__heading { position: static; }

  /* Contact info → 1 col */
  .contact-info { grid-template-columns: 1fr; }

  /* Form row → 1 col */
  .form__row { grid-template-columns: 1fr; }

  /* Map height */
  .contact-map__wrap { padding-bottom: 60%; }
}

/* --- Small mobile (< 600px) --- */
@media (max-width: 599px) {
  .nav__inner      { padding: 0 1.25rem; }
  /* Logo left, name to its right (markup order is text, logo) */
  .nav__brand      { flex-direction: row-reverse; gap: 0.65rem; }
  .nav__brand-text { font-size: 1.05rem; line-height: 1.15; white-space: normal; }
  .nav__brand-sub  { font-size: 0.75rem; align-self: flex-start; margin-top: 0.1rem; }
  .nav__logo       { width: 90px; height: 90px; transform: translateY(22px); }

  .gallery__grid   { grid-template-columns: repeat(2, 1fr); }


  .cookie-banner   { flex-direction: column; align-items: flex-start; }

  .section { padding: 3.5rem 1.25rem; }
}
