/* =========================================================
   BETRAX – Öko Haus Ges.m.b.H
   One-Pager Stylesheet
   ========================================================= */

:root {
  --blue-900: #0F2552;
  --blue-800: #1A3A7E;
  --blue-700: #2850A8;
  --blue-600: #3966CE;
  --blue-400: #93ACE4;
  --blue-100: #E6ECFA;
  --blue-050: #F4F7FD;

  --ink-900: #0E1726;
  --ink-700: #384559;
  --ink-500: #6B7890;
  --ink-300: #C7CEDB;

  --paper:   #FFFFFF;
  --paper-2: #F7F8FB;
  --line:    #E3E7EF;

  --accent:  #C89B5D;    /* warmes Kupfer als Gegenton */

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --shadow-s: 0 1px 2px rgba(15,37,82,.06), 0 2px 6px rgba(15,37,82,.06);
  --shadow-m: 0 8px 24px rgba(15,37,82,.10);
  --shadow-l: 0 20px 60px rgba(15,37,82,.18);

  --container: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-800); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; }
h3 { font-size: 1.35rem; line-height: 1.3; }
h4 { font-size: 1.05rem; font-family: var(--font); font-weight: 600; color: var(--ink-900); }

p { margin: 0 0 1em; }

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-600);
  font-weight: 600;
  margin-bottom: .75rem;
}

.section-title {
  max-width: 780px;
  margin-bottom: 3rem;
}
.section-title p {
  color: var(--ink-500);
  font-size: 1.08rem;
  margin-top: .6rem;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
  padding: 1.1rem 0;
}
.nav.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: .7rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: .02em;
}
.nav.scrolled .brand { color: var(--ink-900); }

.brand-mark {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-s);
}
.brand-sub {
  font-family: var(--font);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  margin-left: .1rem;
}
.nav.scrolled .brand-sub { color: var(--ink-500); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links a {
  color: var(--paper);
  font-size: .95rem;
  font-weight: 500;
  position: relative;
}
.nav.scrolled .nav-links a { color: var(--ink-700); }
.nav-links a:hover { color: var(--blue-400); }
.nav.scrolled .nav-links a:hover { color: var(--blue-600); }
.nav-links a::after {
  content: ""; position: absolute;
  left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--blue-600);
  transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: .6rem 1.2rem;
  border-radius: 100px;
  background: var(--paper);
  color: var(--blue-800) !important;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-m);
}
.nav.scrolled .nav-cta {
  background: var(--blue-800);
  color: var(--paper) !important;
}

.burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  display: block;
  position: absolute;
  height: 2px; width: 22px; left: 9px;
  background: var(--paper);
  transition: .3s;
  border-radius: 2px;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.nav.scrolled .burger span { background: var(--ink-900); }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--paper);
  overflow: hidden;
  padding: 7rem 0 5rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-600) 100%);
  z-index: 0;
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("Homepage_StGotthard%20Kopie.jpg");
  background-size: cover;
  background-position: center;
  opacity: .35;
  mix-blend-mode: luminosity;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 10% 110%, rgba(200,155,93,.22), transparent 60%),
    linear-gradient(180deg, rgba(15,37,82,.1) 0%, rgba(15,37,82,.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: 100px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(200,155,93,.25);
}
.hero h1 {
  color: var(--paper);
  margin-bottom: 1rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--blue-400);
}
.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin-bottom: 2.2rem;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .95rem 1.8rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  border: 0;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--paper);
  color: var(--blue-800);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-l);
  color: var(--blue-900);
}
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255,255,255,.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  color: var(--paper);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--blue-800);
  color: var(--paper);
}
.btn-dark:hover {
  background: var(--blue-900);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}
.btn-outline {
  background: transparent;
  color: var(--blue-800);
  border: 1px solid var(--blue-400);
}
.btn-outline:hover {
  background: var(--blue-800);
  color: var(--paper);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.18);
  max-width: 820px;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--paper);
  font-weight: 500;
  line-height: 1;
}
.hero-stat .label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-top: .4rem;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  z-index: 1;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-lead {
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.services-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1rem;
  background: var(--blue-050);
  border-radius: var(--radius-s);
  font-weight: 500;
  color: var(--ink-900);
  font-size: .96rem;
  transition: transform .2s, background .2s;
}
.services-list li:hover {
  transform: translateX(4px);
  background: var(--blue-100);
}
.services-list .check {
  width: 22px; height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--paper);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: .75rem;
}

/* =========================================================
   OFFERS (Anleger / Eigentum / Miete)
   ========================================================= */
.offers {
  background: var(--paper-2);
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.offer-card {
  background: var(--paper);
  border-radius: var(--radius-l);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-s);
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-l);
  border-color: var(--blue-400);
}
.offer-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-400));
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--blue-800);
  margin-bottom: 1.2rem;
}
.offer-card h3 { margin-bottom: .75rem; }
.offer-card p  { color: var(--ink-500); margin-bottom: 1.2rem; }
.offer-list {
  list-style: none;
  padding: 0; margin: 0 0 1.4rem;
}
.offer-list li {
  padding: .45rem 0;
  font-size: .95rem;
  color: var(--ink-700);
  display: flex; gap: .6rem;
  align-items: flex-start;
}
.offer-list li::before {
  content: "→";
  color: var(--blue-600);
  font-weight: 700;
}
.offer-highlight {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: .25rem .7rem;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}

/* =========================================================
   PROJECT FEATURED – ST. GOTTHARD
   ========================================================= */
.featured {
  background: var(--paper);
  overflow: hidden;
}
.featured-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.featured-img {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
  aspect-ratio: 4/3;
}
.featured-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.featured-img:hover img { transform: scale(1.03); }
.featured-img .badge {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  background: var(--accent);
  color: white;
  padding: .4rem 1rem;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 100px;
}
.featured h3 { font-size: 1.05rem; font-family: var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); }
.featured h2 { margin-top: .4rem; margin-bottom: 1rem; }
.feature-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact .lbl {
  font-size: .75rem;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.fact .val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink-900);
  font-weight: 500;
  margin-top: .2rem;
}

/* =========================================================
   RENTAL PROJECTS
   ========================================================= */
.rentals {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
}
.rental-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.rental-card {
  background: var(--paper);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}
.rental-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
}
.rental-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--blue-100);
}
.rental-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.rental-card:hover .rental-img img { transform: scale(1.05); }
.rental-body {
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
}
.rental-body h3 { margin-bottom: .3rem; }
.rental-sub {
  font-size: .85rem;
  color: var(--blue-600);
  letter-spacing: .05em;
  margin-bottom: 1rem;
}
.rental-facts {
  list-style: none;
  padding: 0; margin: 0 0 1rem;
  font-size: .92rem;
  color: var(--ink-700);
}
.rental-facts li {
  padding: .3rem 0;
  border-bottom: 1px dashed var(--line);
}
.rental-facts li:last-child { border-bottom: 0; }
.rental-price {
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink-900);
  font-weight: 500;
}
.rental-price span { color: var(--ink-500); font-size: .8rem; font-family: var(--font); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
  background: var(--blue-900);
  color: var(--paper);
}
.gallery .section-tag { color: var(--blue-400); }
.gallery h2 { color: var(--paper); }
.gallery .section-title p { color: rgba(255,255,255,.7); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-m);
  cursor: pointer;
  background: var(--blue-800);
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-row: span 2; }
.gallery-item:nth-child(7) { grid-column: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,37,82,.85) 100%);
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item .cap {
  position: absolute;
  left: 1rem; bottom: 1rem;
  color: white;
  font-weight: 600;
  font-size: .95rem;
  z-index: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover .cap { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(14, 23, 38, .94);
  z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(12px);
}
.lightbox.active { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-l);
  animation: zoomIn .3s ease;
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  background: var(--paper);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}
.contact-card {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: white;
  padding: 3rem;
  border-radius: var(--radius-l);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(200,155,93,.18);
}
.contact-card::after {
  content: "";
  position: absolute;
  left: -80px; bottom: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.contact-card h2, .contact-card h3 { color: white; position: relative; z-index: 1; }
.contact-card h3 { font-family: var(--font); font-weight: 600; font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-400); margin-bottom: .4rem; }
.contact-card p { color: rgba(255,255,255,.85); position: relative; z-index: 1; }

.contact-list {
  list-style: none; padding: 0;
  margin: 2rem 0 0;
  position: relative; z-index: 1;
}
.contact-list li {
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-list .ci {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: inline-flex;
  align-items: center; justify-content: center;
  flex: 0 0 38px;
}
.contact-list .lb { font-size: .8rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .1em; }
.contact-list .vl { color: white; font-weight: 500; margin-top: .15rem; }
.contact-list a { color: white; }
.contact-list a:hover { color: var(--blue-400); }

.contact-visual {
  border-radius: var(--radius-l);
  background: url("pictures/kontakt.jpg") center/cover no-repeat, var(--blue-050);
  min-height: 480px;
  position: relative;
  overflow: hidden;
}
.contact-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,37,82,.6) 100%);
}
.visual-label {
  position: absolute;
  bottom: 2rem; left: 2rem;
  color: white;
  font-family: var(--font-display);
  font-size: 1.4rem;
  z-index: 1;
}
.visual-label span {
  display: block;
  font-family: var(--font);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: .3rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--blue-900);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 2rem;
  font-size: .9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0; margin: 0;
  flex-wrap: wrap;
}
.footer-links a { color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--paper); }
.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .about-grid, .featured-inner, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .offers-grid { grid-template-columns: 1fr; }
  .rental-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery-item:nth-child(4) { grid-row: span 1; }
  .gallery-item:nth-child(7) { grid-column: span 2; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .contact-visual { min-height: 300px; }

  .burger { display: block; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh; width: 80%; max-width: 320px;
    background: var(--paper);
    box-shadow: var(--shadow-l);
    flex-direction: column;
    gap: 0;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--ink-900) !important; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 1rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .contact-card { padding: 2rem 1.5rem; }
  .rental-card { grid-template-columns: 1fr; }
  .rental-img { aspect-ratio: 16/10; }
  .services-list { grid-template-columns: 1fr; }
  .feature-facts { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(7) { grid-column: auto; grid-row: auto; }
  .lightbox-prev { left: .75rem; }
  .lightbox-next { right: .75rem; }
}

/* Prefer-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
