/* =========================================================
   Strandhaus Altefähr – Stylesheet
   ========================================================= */

:root {
  --cream: #f5f0eb;
  --cream-alt: #efe7dd;
  --gold: #c9956a;
  --gold-dark: #b27f53;
  --petrol: #1e3a3a;
  --footer: #1e2d2d;
  --navy: #1a2b3c;
  --heading: #1a2b3c;
  --text: #6b7280;
  --white: #ffffff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
  --radius: 10px;
  --shadow: 0 12px 30px rgba(30, 45, 45, 0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--cream-alt { background: var(--cream-alt); }
.section--dark { background: var(--petrol); color: rgba(255,255,255,0.85); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }

.grid { display: grid; gap: 56px; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--center { align-items: center; }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.heading {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--heading);
  margin-bottom: 22px;
}
.heading--light { color: #fff; }
.section__head .heading { margin-bottom: 0; }

.divider {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  margin-bottom: 28px;
}
.divider--center { margin-left: auto; margin-right: auto; margin-top: 22px; }
.divider--light { background: var(--gold); }

.lead { font-size: 1.05rem; margin-bottom: 30px; }
.lead--light { color: rgba(255,255,255,0.8); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}
.btn--gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn--arrow svg { width: 18px; height: 18px; }

/* ---------- Scroll-Fortschrittsbalken ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 1100;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transition: width 0.05s linear;
}

/* ---------- Kennzahlen-Band ---------- */
.stats { padding: 96px 0; text-align: center; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat__value {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--serif); color: #fff; line-height: 1;
}
.stat__num { font-size: 3.2rem; font-weight: 600; }
.stat__unit { font-size: 1.4rem; font-weight: 500; color: var(--gold); }
.stat__label {
  margin-top: 12px; font-size: 0.82rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.78);
}

/* ---------- Wellen-Übergänge ---------- */
.has-waves { position: relative; overflow: hidden; }
.has-waves > .container { position: relative; z-index: 2; }
.wave { position: absolute; left: 0; width: 100%; height: 60px; z-index: 1; pointer-events: none; display: block; }
.wave--top { top: -1px; }
.wave--bottom { bottom: -1px; }

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Hero-Parallax wird per JS gesteuert */
.hero__content { transition: opacity 0.1s linear; will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; transform: scale(1.04); }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll-arrow { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 22px 0;
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s ease;
}
.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s ease;
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.25s ease;
}
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link.active { color: #fff; }
.nav__cta { padding: 10px 22px; color: #fff; }
.nav__cta::after { display: none; }

/* Scrolled state */
.nav.scrolled {
  background: rgba(245, 240, 235, 0.96);
  box-shadow: 0 4px 20px rgba(30,45,45,0.08);
  padding: 14px 0;
  backdrop-filter: blur(6px);
}
.nav.scrolled .nav__logo { color: var(--navy); }
.nav.scrolled .nav__link { color: var(--navy); }
.nav.scrolled .nav__link.active { color: var(--gold); }
.nav.scrolled .nav__burger span { background: var(--navy); }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav__burger span {
  width: 26px; height: 2px; background: #fff; border-radius: 2px;
  transition: all 0.3s ease;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--petrol);
  color: #fff;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("img/hero.jpg") center/cover no-repeat;
  transform: scale(1.06);
  animation: kenburns 20s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.06) translate(0, 0); }
  to   { transform: scale(1.18) translate(-1.5%, -1.2%); }
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(20, 35, 35, 0.45);
}
.hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero__eyebrow {
  font-size: 0.85rem; letter-spacing: 0.28em; text-transform: uppercase;
  margin-bottom: 24px; color: rgba(255,255,255,0.9);
}
.hero__title {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.1;
}
.hero__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  font-weight: 400;
  margin-top: 6px;
  color: rgba(255,255,255,0.92);
}
.hero__text { font-size: 1.05rem; margin-bottom: 36px; color: rgba(255,255,255,0.9); }
.hero__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-arrow {
  display: block; width: 18px; height: 18px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: bounce 1.8s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
  50% { transform: rotate(45deg) translate(6px, 6px); opacity: 0.5; }
}

/* ---------- Collage ---------- */
.collage { position: relative; min-height: 440px; }
.collage__img { border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.collage__img--back {
  width: 78%; height: 320px; margin-left: auto;
}
.collage__img--front {
  position: absolute; left: 0; bottom: 0;
  width: 62%; height: 280px;
  border: 6px solid var(--cream);
}
.section--cream-alt .collage__img--front { border-color: var(--cream-alt); }

/* ---------- Media image (Parallax-Clipbox) ---------- */
.media {
  position: relative;
  height: 460px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.media--short { height: 380px; }
.media__img {
  position: absolute; top: 50%; left: 0;
  width: 100%; height: 132%;
  object-fit: cover;
  transform: translateY(calc(-50% + var(--p, 0px)));
  will-change: transform;
}

/* ---------- Cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  margin-top: 80px;
}
.card {
  background: var(--cream);
  border: 1px solid rgba(201, 149, 106, 0.18);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: 0 6px 18px rgba(30,45,45,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(201, 149, 106, 0.14); color: var(--gold);
  margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; }
.card__title { font-family: var(--serif); font-size: 1.3rem; color: var(--heading); margin-bottom: 12px; font-weight: 600; }
.card__text { font-size: 0.95rem; }

/* ---------- Auf einen Blick (glance) ---------- */
.glance__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 30px;
}
.glance__item { text-align: center; }
.glance__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 66px; height: 66px; border-radius: 50%;
  background: #e9e3da; color: var(--petrol);
  margin-bottom: 22px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.glance__icon svg { width: 28px; height: 28px; }
.glance__item:hover .glance__icon {
  background: var(--gold); color: #fff; transform: translateY(-4px);
}
.glance__title {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
  color: var(--heading); margin-bottom: 8px;
}
.glance__sub { font-size: 0.92rem; color: var(--text); }

/* ---------- Badges (Lage) ---------- */
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.badge {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
}
.badge svg { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.features li {
  position: relative; padding-left: 30px;
  font-size: 0.98rem; color: var(--heading);
}
.features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 700;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  cursor: pointer; box-shadow: 0 6px 16px rgba(30,45,45,0.08);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item figcaption {
  position: absolute; left: 14px; bottom: 12px;
  background: rgba(20,35,35,0.6);
  color: #fff; font-size: 0.8rem; letter-spacing: 0.08em;
  padding: 6px 14px; border-radius: 50px;
}

/* ---------- Contact ---------- */
.contact__aside { display: flex; flex-direction: column; gap: 24px; }
.quote {
  font-family: var(--serif); font-style: italic;
  font-size: 1.35rem; line-height: 1.5; color: var(--heading);
  border-left: 3px solid var(--gold); padding-left: 20px;
}

/* ---------- Form ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { display: flex; flex-direction: column; gap: 7px; }
.form__group label { font-size: 0.85rem; font-weight: 600; color: var(--heading); }
.form input, .form textarea {
  font-family: var(--sans); font-size: 0.95rem;
  padding: 13px 16px; border: 1px solid rgba(26,43,60,0.15);
  border-radius: 8px; background: #fff; color: var(--navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%; resize: vertical;
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,149,106,0.18);
}
.form__error { color: #b23a3a; font-size: 0.9rem; font-weight: 500; }
/* Honeypot: visuell und für Screenreader ausgeblendet, aber im DOM vorhanden */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}
.form .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: rgba(255,255,255,0.7); padding: 70px 0 30px; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__logo { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer__desc { font-size: 0.92rem; line-height: 1.7; }
.footer__title {
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; margin-bottom: 20px; font-weight: 600;
}
.footer__links li, .footer__contact li { margin-bottom: 12px; }
.footer__links a { font-size: 0.92rem; color: var(--gold); transition: color 0.2s ease; }
.footer__links a:hover { color: #e3b78f; padding-left: 4px; }
.footer__contact li { display: flex; gap: 12px; font-size: 0.92rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer__contact a:hover { color: var(--gold); }
.footer__bottom { padding-top: 26px; text-align: center; font-size: 0.85rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15, 25, 25, 0.92);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__img { max-width: 86vw; max-height: 84vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox__close {
  position: absolute; top: 24px; right: 30px;
  font-size: 2.6rem; color: #fff; background: none; border: none; cursor: pointer; line-height: 1;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); color: #fff; border: none;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.25); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ---------- Subpage Hero ---------- */
.subhero {
  position: relative;
  min-height: 52vh;
  display: flex; align-items: flex-end;
  padding: 140px 0 50px;
  color: #fff;
  overflow: hidden;
  background: var(--petrol);
}
.subhero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
}
.subhero__overlay { position: absolute; inset: 0; background: rgba(20,35,35,0.55); }
.subhero__content { position: relative; z-index: 2; }
.subhero__title {
  font-family: var(--serif); font-size: 3rem; font-weight: 600; line-height: 1.1;
}
.subhero__sub { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-top: 8px; }
.subhero--short { min-height: 40vh; }
.page--after-hero { padding-top: 70px; }
.back-link--light { color: rgba(255,255,255,0.9); }
.back-link--light:hover { color: #fff; }

/* ---------- Thumbs (Umgebung) ---------- */
.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.thumbs figure:first-child { grid-column: 1 / -1; }
.thumbs figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.thumbs img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.5s ease; }
.thumbs figure:first-child img { height: 220px; }
.thumbs figure:hover img { transform: scale(1.06); }
.thumbs figcaption {
  position: absolute; left: 12px; bottom: 10px;
  background: rgba(20,35,35,0.62); color: #fff;
  font-size: 0.76rem; letter-spacing: 0.06em;
  padding: 5px 12px; border-radius: 50px;
}

/* ---------- CTA ---------- */
.cta { background: var(--petrol); color: #fff; text-align: center; padding: 80px 0; }
.cta .heading { margin-bottom: 14px; }
.cta__text { color: rgba(255,255,255,0.85); margin-bottom: 30px; font-size: 1.05rem; }

/* ---------- Filter (Ausflugstipps) ---------- */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 50px; }
.filter__btn {
  font-family: var(--sans); font-size: 0.9rem; font-weight: 500;
  padding: 9px 22px; border-radius: 50px; cursor: pointer;
  background: transparent; color: var(--heading);
  border: 1px solid rgba(26,43,60,0.18);
  transition: all 0.2s ease;
}
.filter__btn:hover { border-color: var(--gold); color: var(--gold); }
.filter__btn.active { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---------- Tip cards ---------- */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tip {
  background: var(--cream); border: 1px solid rgba(201,149,106,0.18);
  border-radius: var(--radius); padding: 30px 26px;
  box-shadow: 0 6px 18px rgba(30,45,45,0.06);
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tip:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tip__cat {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.tip__title { font-family: var(--serif); font-size: 1.25rem; color: var(--heading); margin-bottom: 12px; font-weight: 600; }
.tip__text { font-size: 0.94rem; margin-bottom: 18px; flex-grow: 1; }
.tip__tag {
  align-self: flex-start;
  background: rgba(201,149,106,0.14); color: var(--gold-dark);
  font-size: 0.8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 50px;
}
.tip.hidden { display: none; }

/* ---------- Subpages ---------- */
.page { padding: 140px 0 90px; min-height: 70vh; }
.page .heading { margin-bottom: 18px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-weight: 600; font-size: 0.92rem; margin-bottom: 30px;
}
.back-link:hover { color: var(--gold-dark); }
.page-content h3 { font-family: var(--serif); color: var(--heading); margin: 28px 0 10px; font-size: 1.25rem; }
.page-content p { margin-bottom: 14px; }
.page-content a { color: var(--gold); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .heading { font-size: 2.2rem; }
  .hero__title { font-size: 3rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tips { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .grid--2 { grid-template-columns: 1fr; gap: 40px; }

  /* Mobile nav */
  .nav__burger { display: flex; }
  .nav__menu {
    position: fixed; top: 0; right: -100%;
    height: 100vh; width: 78%; max-width: 320px;
    background: var(--cream);
    flex-direction: column; align-items: flex-start;
    padding: 100px 36px 36px; gap: 24px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.18);
    transition: right 0.35s ease;
  }
  .nav__menu.open { right: 0; }
  .nav__link { color: var(--navy); font-size: 0.95rem; }
  .nav__link.active { color: var(--gold); }
  .nav__cta { color: #fff; }

  .hero__title { font-size: 2.4rem; }
  .hero__subtitle { font-size: 1.3rem; }

  .collage { min-height: 360px; }
  .collage__img--back { height: 250px; }
  .collage__img--front { height: 200px; }

  .badges { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .glance__grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .stat__num { font-size: 2.6rem; }
  .tips { grid-template-columns: 1fr; }
  .subhero__title { font-size: 2.2rem; }
  .subhero { min-height: 42vh; }
  .features { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__item--wide { grid-column: span 2; }

  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .heading { font-size: 1.8rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide, .gallery__item--tall { grid-column: span 1; grid-row: span 1; }
}
