@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Anton";
  src: url("../fonts/Anton/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #22170f;
  --muted: #5d5147;
  --paper: #f5f0e7;
  --paper-strong: #fffaf0;
  --line: #ded1bf;
  --brand: #f05a00;
  --brand-dark: #8c3400;
  --forest: #193d2b;
  --moss: #54724b;
  --sky: #dfe9e4;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(34, 23, 15, 0.13);
  --radius: 8px;
  --wrap: 1180px;
  --header-full: 128px;
  --header-compact: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-full) + 18px);
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: var(--header-full);
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 15%, rgba(240, 90, 0, 0.08), transparent 26rem),
    linear-gradient(135deg, rgba(25, 61, 43, 0.05), transparent 34rem);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(calc(100% - 32px), var(--wrap));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px max(16px, calc((100vw - var(--wrap)) / 2));
  background: rgba(255, 250, 240, 0.94);
  border-bottom: 1px solid rgba(222, 209, 191, 0.85);
  backdrop-filter: blur(14px);
  transition: box-shadow 160ms ease, background-color 160ms ease;
}

.site-header.is-scrolled {
  height: var(--header-compact);
  padding-block: 8px;
  background: rgba(255, 250, 240, 0.98);
  box-shadow: 0 10px 30px rgba(34, 23, 15, 0.09);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  text-decoration: none;
  min-width: 0;
}

.brand-link img {
  width: 126px;
  height: auto;
  flex: 0 0 auto;
}

.site-header.is-scrolled .brand-link img {
  width: 70px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(240, 90, 0, 0.12);
  color: var(--brand-dark);
}

.header-whatsapp {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 211, 102, 0.34);
  border-radius: var(--radius);
  background: rgba(37, 211, 102, 0.12);
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.header-whatsapp:hover {
  transform: translateY(-1px);
  background: rgba(37, 211, 102, 0.2);
}

.header-whatsapp img {
  width: 30px;
  height: 30px;
}

.nav-toggle {
  display: none;
  flex: 0 0 48px;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: transparent;
  overflow: hidden;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 23px;
}

.nav-toggle span:nth-child(3) {
  top: 31px;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-full));
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../img/hero/astwerk-hero.webp");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(19, 18, 14, 0.82), rgba(19, 18, 14, 0.46) 48%, rgba(19, 18, 14, 0.14)),
    linear-gradient(0deg, rgba(19, 18, 14, 0.46), transparent 42%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--wrap));
  margin-inline: auto;
  padding: 70px 0 92px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.48);
}

.hero h1 {
  max-width: min(100%, 7.4em);
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(3.2rem, 11vw, 8.4rem);
  line-height: 1.06;
  letter-spacing: 0.014em;
  color: var(--brand);
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.34), 0 18px 34px rgba(0, 0, 0, 0.36);
  text-transform: uppercase;
  text-wrap: balance;
}

.phrase-keep {
  white-space: nowrap;
}

[data-balance="heading"],
[data-balance="hero-heading"] {
  text-wrap: balance;
}

[data-balance="paragraph"] {
  text-wrap: pretty;
}

.soft-rag {
  transition: max-width 140ms ease;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  text-wrap: pretty;
}

.hero-actions,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.button.primary:hover {
  background: #cf4c00;
}

.button.light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.button.light:hover {
  border-color: var(--brand);
}

.intro-band {
  background: var(--forest);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  gap: 44px;
  min-height: clamp(290px, 34vw, 430px);
  padding: 56px 0;
  align-items: center;
}

.intro-grid h2,
.section h2,
.contact-section h2 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: 0.014em;
  text-transform: uppercase;
  text-wrap: balance;
}

.intro-grid p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  text-wrap: pretty;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.services {
  background: var(--paper-strong);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(34, 23, 15, 0.04);
  min-width: 0;
}

.service-card.accent {
  background: #fff3e9;
  border-color: rgba(240, 90, 0, 0.35);
}

.service-card h3,
.benefit-list h3,
.steps h3 {
  margin: 0 0 10px;
  color: var(--forest);
  font-size: 1.25rem;
  line-height: 1.2;
  overflow-wrap: break-word;
  hyphens: auto;
}

.service-card h3 {
  word-break: normal;
}

.service-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.service-card ul {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  margin-top: 10px;
  padding-left: 18px;
  color: var(--ink);
  font-weight: 600;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.proof {
  background: linear-gradient(180deg, var(--paper), #edf2ed);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.proof-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.proof-media img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  object-position: center top;
}

.proof-content .section-kicker {
  color: var(--brand-dark);
}

.benefit-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.benefit-list div {
  border-left: 4px solid var(--brand);
  padding: 0 0 0 18px;
}

.benefit-list p {
  margin: 0;
  color: var(--muted);
}

.process {
  background: var(--forest);
  color: var(--white);
}

.process .section-kicker {
  color: #ff9957;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.steps span {
  display: inline-flex;
  margin-bottom: 22px;
  color: #ff9957;
  font-family: "Anton", sans-serif;
  font-size: 2.2rem;
  line-height: 1.12;
}

.steps h3 {
  color: var(--white);
}

.steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.gallery-section {
  background: var(--paper-strong);
}

.gallery-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: end;
}

.gallery-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-bar button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.filter-bar button[aria-pressed="true"] {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  background: #d7d7d0;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.gallery-pagination[hidden] {
  display: none;
}

.gallery-pagination button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.gallery-pagination button[aria-current="page"] {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.gallery-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.contact-section {
  padding: 86px 0;
  background: var(--sky);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.contact-grid p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: grid;
  gap: 4px;
  min-height: 88px;
  border: 1px solid rgba(25, 61, 43, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.contact-link:hover {
  transform: translateY(-1px);
  border-color: var(--brand);
  background: var(--white);
}

.contact-link span {
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: clamp(1rem, 2.5vw, 1.45rem);
  overflow-wrap: anywhere;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 36px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-grid img {
  width: 58px;
  filter: brightness(0) invert(1);
}

.footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}

.footer-grid a,
.footer-grid button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  padding: 4px 0;
  text-decoration: none;
  cursor: pointer;
}

.footer-grid a:hover,
.footer-grid button:hover {
  color: var(--white);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  width: min(calc(100% - 32px), 920px);
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
}

.cookie-actions {
  margin-top: 16px;
}

.cookie-banner details {
  margin-top: 14px;
}

.cookie-banner summary {
  cursor: pointer;
  font-weight: 800;
}

.consent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 14px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.consent-row span {
  font-weight: 800;
}

.consent-row strong {
  color: var(--brand-dark);
}

.consent-row p {
  grid-column: 1 / -1;
}

.consent-row.muted strong {
  color: var(--muted);
}

.lightbox {
  width: min(calc(100% - 24px), 1120px);
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
  color: var(--white);
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox img {
  max-height: 82svh;
  width: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}

.lightbox p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 48px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  padding: 0;
  background: rgba(0, 0, 0, 0.62);
  color: var(--white);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  cursor: pointer;
  font-size: 3rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-nav:disabled {
  display: none;
}

.legal-main {
  background: var(--paper-strong);
}

.legal-hero {
  padding: 70px 0 38px;
  background: var(--forest);
  color: var(--white);
}

.legal-hero h1 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1.15;
  letter-spacing: 0.014em;
  text-transform: uppercase;
}

.leaf-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-leaf {
  position: absolute;
  top: -80px;
  left: var(--leaf-left);
  width: var(--leaf-size);
  opacity: 0.13;
  animation: leaf-fall var(--leaf-duration) linear var(--leaf-delay) infinite;
  filter: blur(0.15px);
}

@keyframes leaf-fall {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(var(--leaf-drift), 50vh, 0) rotate(160deg);
  }
  100% {
    transform: translate3d(calc(var(--leaf-drift) * -0.6), 110vh, 0) rotate(360deg);
  }
}

.legal-content {
  width: min(calc(100% - 32px), 860px);
  margin-inline: auto;
  padding: 52px 0 76px;
}

.legal-content h2 {
  margin: 34px 0 12px;
  color: var(--forest);
  font-size: 1.45rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--brand-dark);
  font-weight: 700;
}

@media (max-width: 1040px) {
  .service-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card {
    min-height: 330px;
  }
}

@media (min-width: 1600px) {
  :root {
    --wrap: 1320px;
  }

  .hero h1 {
    max-width: min(100%, 7.4em);
    font-size: clamp(5rem, 8vw, 9.5rem);
  }

  .section h2,
  .intro-grid h2,
  .contact-section h2 {
    font-size: clamp(3rem, 4.2vw, 5.2rem);
  }
}

@media (min-width: 2200px) {
  :root {
    --wrap: 1540px;
  }

  .hero-inner {
    padding-block: 110px;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 112px;
  }

  body {
    padding-top: 94px;
  }

  .site-header {
    height: 94px;
    justify-content: flex-start;
    padding-right: 12px;
  }

  .brand-link {
    font-size: 1.55rem;
  }

  .brand-link img {
    width: 90px;
  }

  .site-header.is-scrolled {
    height: 70px;
  }

  .site-header.is-scrolled .brand-link img {
    width: 56px;
  }

  .header-whatsapp {
    width: 46px;
    height: 46px;
    margin-left: auto;
  }

  .nav-toggle {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    margin-left: 0;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 16px;
    background: var(--paper-strong);
    border-bottom: 1px solid var(--line);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
  }

  .hero {
    min-height: calc(100svh - 94px);
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(19, 18, 14, 0.82), rgba(19, 18, 14, 0.32)),
      linear-gradient(90deg, rgba(19, 18, 14, 0.78), rgba(19, 18, 14, 0.22));
  }

  .hero-inner {
    padding: 54px 0 76px;
  }

  .intro-grid,
  .proof-grid,
  .gallery-head,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section {
    padding: 64px 0;
  }

  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .service-card,
  .steps li {
    min-height: 0;
  }

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

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid nav {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .wrap,
  .hero-inner,
  .legal-content {
    width: min(calc(100% - 24px), var(--wrap));
  }

  .site-header {
    padding-inline: 12px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.45rem, 13vw, 3.45rem);
    line-height: 1.08;
  }

  .phrase-keep {
    white-space: normal;
  }

  .hero-actions,
  .cookie-actions,
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .filter-bar button {
    width: 100%;
  }

  .gallery-grid {
    gap: 10px;
  }

  .lightbox-nav {
    width: 44px;
    height: 54px;
    font-size: 2.4rem;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .cookie-banner {
    left: 10px;
    right: auto;
    bottom: 10px;
    width: 330px;
    max-width: calc(100vw - 24px);
    max-height: calc(100svh - 20px);
    overflow: auto;
  }

  .cookie-banner p {
    overflow-wrap: anywhere;
  }

  .consent-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 350px) {
  .brand-link {
    gap: 8px;
    font-size: 1.28rem;
  }

  .brand-link img {
    width: 70px;
  }

  .site-header.is-scrolled .brand-link img {
    width: 50px;
  }

  .cookie-banner {
    left: 12px;
    width: calc(100vw - 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .leaf-layer {
    display: none;
  }
}
