/* Magic Gießen – statisches Stylesheet (nachgebaut nach dem WordPress-Original) */

/* Nur die Slider-Schriften; der Rest nutzt wie im Original die Systemschrift */
@font-face { font-family: "Monoton"; font-weight: 400; font-display: swap; src: url("../fonts/monoton-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Questrial"; font-weight: 400; font-display: swap; src: url("../fonts/questrial-latin-400-normal.woff2") format("woff2"); }

:root {
  --gold: #ffbd59;
  --gold-dark: #e09a2e;
  --line: #d5d5d5;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 16px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-weight: 500; line-height: 1.2; margin: 0 0 8px; color: #000; }
p { margin: 0 0 16px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 10px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #000; padding: 8px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }
.icon { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }

/* ---------- Header (wie Original: transparent über Banner, goldener Menübalken) ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 100; overflow-x: clip; }
.site-header .container { max-width: 1140px; padding: 0 15px; }
/* dunkler Verlauf, damit die weiße Kontaktzeile auch auf hellen Bildern lesbar bleibt */
.site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 160px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .3) 55%, rgba(0, 0, 0, 0)); }

.upper-header { display: flex; justify-content: flex-end; align-items: center; padding-top: 10px; margin-bottom: -8px; position: relative; z-index: 2; }
.upper-header ul { list-style: none; margin: 0; padding: 0; }
.upper-header a { color: #fff; font-size: 15px; display: inline-flex; align-items: center; gap: 14px; line-height: 1.8; }
.upper-header a:hover { color: var(--gold); }
.upper-header .header-contact { margin-right: 24px; text-align: right; }
.header-contact .icon { width: 14px; height: 14px; }
.header-social { position: relative; width: 62px; display: flex; justify-content: flex-end; padding-right: 35px !important; }
.header-social::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 1px; background: #fff; }
.header-social .icon { width: 15px; height: 15px; }

.nav-row { position: relative; display: flex; align-items: center; height: 56px; }
.logo { position: relative; flex-shrink: 0; margin-right: 30px; }
.logo img { width: 145px; height: auto; }
/* linker Balkenteil: vom Bildschirmrand bis kurz vor das Logo */
.logo::before { content: ""; position: absolute; right: calc(100% + 27px); top: 50%; width: 100vw; height: 23px; transform: translateY(-50%); background: var(--gold); }
.nav { flex: 1; position: relative; height: 23px; background: var(--gold); }
/* rechter Balkenteil bis zum Bildschirmrand */
.nav::after { content: ""; position: absolute; left: 100%; top: 0; width: 100vw; height: 100%; background: var(--gold); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; height: 100%; align-items: center; }
.nav li { margin-left: 20px; }
.nav a { display: block; color: #fff; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; line-height: 23px; }
.nav a:hover { color: #000; }
.nav a[aria-current="page"] { color: #000; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-left: auto; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 991px) {
  .site-header { position: relative; background: #000; overflow: visible; }
  .site-header::before { display: none; }
  .upper-header { justify-content: center; margin: 0; padding: 8px 0 4px; }
  .upper-header a { font-size: 13px; gap: 8px; }
  .upper-header .header-contact { display: flex; gap: 18px; margin-right: 12px; }
  .header-social { width: auto; padding: 0 0 0 12px !important; }
  .nav-row { height: 64px; }
  .logo::before { display: none; }
  .logo img { width: 130px; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: -15px; right: -15px; height: auto; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .nav::after { display: none; }
  .nav-open .nav { max-height: 300px; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px 0; }
  .nav li { margin: 0; }
  .nav a { padding: 10px 20px; line-height: 1.4; }
}
@media (max-width: 480px) {
  .upper-header .header-contact { flex-direction: column; gap: 0; text-align: center; }
}

/* Nach-oben-Button */
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gold); color: #000; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top .icon { width: 22px; height: 22px; }

/* ---------- Seitenbanner (Unterseiten) ---------- */
.page-banner { position: relative; min-height: 188px; background: #000 center/cover no-repeat; color: #fff; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .75); }
.page-banner .container { position: absolute; left: 0; right: 0; bottom: 32px; max-width: 1140px; padding: 0 15px; text-align: right; }
.breadcrumb { color: #fff; font-size: 22px; }
.breadcrumb a { color: #fff; font-size: 15px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { margin: 0 5px; }
.breadcrumb h1 { display: inline; color: #fff; font-size: 22px; font-weight: 400; margin: 0; }
@media (max-width: 991px) {
  .page-banner { min-height: 0; padding: 35px 0 30px; }
  .page-banner .container { position: relative; bottom: auto; text-align: center; }
}

/* Unterseiten: Inhalt beginnt 85px unter dem Banner */
.page-content { padding-top: 85px; }
@media (max-width: 767px) { .page-content { padding-top: 50px; } }

/* ---------- Gemeinsame Bausteine ---------- */

/* Überschrift mit grauer senkrechter Linie darüber */
.line-title { text-align: center; font-size: 32px; line-height: 1; margin: 0; }
.line-title::before { content: ""; display: block; width: 1px; height: 85px; background: var(--line); margin: 0 auto 32px; }
.line-title.light { color: #efefef; }

/* Schwarzer Button mit goldenen Schrägstreifen rechts unten */
.btn {
  position: relative; overflow: hidden; display: inline-block; background: #000; color: #fff; border-radius: 3px;
  font-size: 16px; line-height: 1; letter-spacing: 2.2px; text-transform: uppercase; padding: 14px 24px 14px 22px;
  transition: background .3s;
}
.btn::before, .btn::after {
  content: ""; position: absolute; left: calc(100% - 8px); width: 8px; height: 69px;
  border-top: 3px solid var(--gold); border-left: 3px solid var(--gold); transform: rotate(45deg);
}
.btn::before { top: -9px; }
.btn::after { top: 5px; }
.btn:hover { background: #101010; color: var(--gold); }

/* Goldenes Band mit Bildüberlagerung (Galerie, Rezensionen, Requisiten) */
.band { position: relative; background-color: var(--gold); }
.band-overlay { position: absolute; inset: 0; mix-blend-mode: darken; }
.band .wrap { position: relative; }

/* ---------- Startseite: Slider ---------- */
.hero { position: relative; height: 845px; overflow: hidden; background: #000; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide > img { width: 100%; height: 100%; object-fit: cover; }
.hero-grid { position: absolute; inset: 0; max-width: 1240px; margin: 0 auto; }
.hero-small, .hero-big { position: absolute; margin: 0; color: #fff; white-space: nowrap; letter-spacing: 2px; font-weight: 400; opacity: 0; transform: translateY(30px); transition: opacity .8s ease .5s, transform .8s ease .5s; }
.hero-small { left: 231px; top: 348px; font-family: "Questrial", sans-serif; font-size: 25px; line-height: 60px; }
.hero-big { left: 0; right: 0; top: 416px; text-align: center; font-family: "Monoton", sans-serif; font-size: 78px; line-height: 60px; word-spacing: .4em; }
.hero-slide.is-active .hero-small, .hero-slide.is-active .hero-big { opacity: 1; transform: none; }
@media (max-width: 1239px) {
  .hero { height: 768px; }
  .hero-small { left: 0; right: 0; text-align: center; }
  .hero-big { top: 415px; }
}
@media (max-width: 1023px) {
  .hero { height: 400px; }
  .hero-small { top: 85px; }
  .hero-big { top: 144px; font-size: 48px; }
}
@media (max-width: 777px) {
  .hero-small { top: 97px; font-size: 20px; }
  .hero-big { top: 146px; font-size: 35px; white-space: normal; line-height: 1.2; padding: 0 10px; }
}

/* ---------- Startseite: Willkommen ---------- */
.welcome { padding: 80px 0 50px; }
.welcome .wrap { display: grid; grid-template-columns: 504fr 636fr; }
.welcome-text { padding: 10px; }
.welcome-text h2 { font-size: 32px; line-height: 1; margin-bottom: 20px; }
.welcome-text h3 { font-size: 28px; line-height: 1; margin: 20px 0 0; }
.welcome-text p, .welcome-text li { font-size: 18px; line-height: 27px; }
.welcome-text ul { margin: 20px 0 0; padding: 15px 15px 15px 30px; }

/* Bildwechsler mit schrägem Goldrahmen */
.framed-slider { position: relative; margin: 10px; height: 514px; }
.framed-slider::before, .framed-slider::after { content: ""; position: absolute; display: block; top: 16px; transform: rotate(7deg); border: 0 solid var(--gold); }
.framed-slider::after { right: 52px; width: 81%; height: 95.4%; border-width: 4px 0 4px 4px; z-index: 5; }
.framed-slider::before { left: 22px; width: 88%; height: 94.4%; border-right-width: 4px; z-index: 0; }
.framed-slider .slides { position: relative; z-index: 1; width: 477px; max-width: calc(100% - 80px); height: 514px; margin: 0 auto; }
.framed-slider .slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.framed-slider .slides img.is-active { opacity: 1; }
.framed-slider button { position: absolute; z-index: 6; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px; cursor: pointer; color: #c7c7c7; }
.framed-slider button:hover { color: #000; }
.framed-slider button svg { width: 22px; height: 22px; fill: currentColor; }
.framed-slider .prev { left: 0; }
.framed-slider .next { right: 0; }

/* ---------- Startseite: Galerie-Band ---------- */
.gallery-band { padding: 30px 0 160px; }
.gallery-band .band-overlay { background: #ef0160 url("../img/bg-gallery-img-bg.jpg") 0 0; }
.gallery-band .line-title { padding: 10px; }
.home-gallery { position: relative; margin-top: -135px; }
.home-gallery .wrap { padding: 0 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 31px 24px; padding: 10px; }
.grid3 a { display: block; }
.grid3 img { width: 100%; aspect-ratio: 357 / 315; object-fit: cover; border-radius: 3px; }
.gallery-cta { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 20px 0 15px; }
.gallery-cta h3 { font-size: 28px; line-height: 1; text-align: right; margin: 0; padding: 10px; }
.gallery-cta div { padding: 10px; }

/* ---------- Startseite: Fotoboxen ---------- */
.booths { padding-top: 60px; background: #f6f5f5 url("../img/bg-booth-top-bg.jpg") top center no-repeat; }
.booths .line-title { padding: 0 5px; }
.booth-cols { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; padding: 0 5px; }
.booth-cols h4 { font-size: 28px; line-height: 1; margin: 35px 0 20px; }
.booth-cols .right h4 { text-align: right; }
.booth-cols img { width: 100%; height: 500px; object-fit: cover; }
.booth-cols .mid img { height: 628px; }
.booth-contact { display: grid; grid-template-columns: 364fr 766fr; padding: 55px 5px 70px; }
.booth-contact > div { padding: 10px; }
.booth-contact h3 { font-size: 18px; line-height: 1; margin-bottom: 20px; }
.icon-list { list-style: none; margin: 0; padding: 0; }
.icon-list li { display: flex; align-items: center; padding: 6px 0; font-size: 22px; color: #050505; }
.icon-list li:first-child { padding-top: 0; }
.icon-list .icon { width: 17px; height: 17px; margin: 0 21px 0 0; }
.booth-contact .btn { margin-top: 35px; }

/* ---------- Startseite: Fotografie ---------- */
.photography { padding: 10px 0; }
.photography .wrap { display: grid; grid-template-columns: 1fr 1fr; }
.photography .wrap > div { padding: 10px; }
.photography h3 { font-size: 28px; line-height: 1; margin-bottom: 20px; }
/* Bilderrahmen mit versetzten Goldlinien */
.photo-frame { position: relative; display: inline-block; margin: 0; }
.photo-frame::after, .photo-frame::before { content: ""; position: absolute; display: block; width: 104%; height: 104%; border: 0 solid var(--gold); pointer-events: none; }
.photo-frame::after { left: 2px; bottom: 2px; border-width: 0 0 2px 2px; }
.photo-frame::before { right: 2px; top: 2px; border-width: 2px 2px 0 0; }
.photo-frame img { width: 540px; padding: 16px; }
.photo-frame figcaption { font-size: 13px; color: #666; text-align: center; font-style: italic; margin: 10px 0; }

/* ---------- Startseite: Rezensionen-Band ---------- */
.reviews-band { padding: 50px 0 225px; margin-bottom: -70px; }
.reviews-band .band-overlay { background: url("../img/bg-testimonial-bg.jpg") 0 0; }
.reviews-band .line-title { padding: 10px; }

/* ---------- Fotoboxen-Seite ---------- */
.modules-title { padding-top: 70px; }
.modules-title .line-title { padding: 10px; }
.modules { position: relative; padding: 50px 10px 10px; }
/* senkrechte gestrichelte Mittellinie */
.modules::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-right: 2px dashed var(--gold); }
.module { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 40px; }
.module:last-child { margin-bottom: 0; }
/* waagerechte gestrichelte Linie unter jeder Zeile */
.module::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; border-bottom: 2px dashed var(--gold); }
.module:last-child::after { display: none; }
.module-text { display: flex; flex-direction: column; justify-content: center; padding: 0 20px; }
.module-text h3 { font-size: 28px; line-height: 1; color: #050505; margin-bottom: 20px; }
.module-media { padding: 10px; }
.module-media img { width: 525px; margin: 0 auto; }
.module.reverse .module-media { order: -1; }

.props-band { padding: 70px 0 160px; }
.props-band .band-overlay { background: url("../img/bg-our-booth-bg.jpg") center/cover; opacity: .5; mix-blend-mode: multiply; }
.props-band .line-title { padding: 10px; }
.props-box { position: relative; margin: -135px auto 0; max-width: 1140px; background: #fff; border-radius: 20px; box-shadow: 0 3px 9px rgba(0, 0, 0, .15); padding: 30px; }
.props-viewport { overflow: hidden; }
.props-track { display: flex; transition: transform .6s ease; }
.props-track > div { flex: 0 0 calc(100% / 6); height: 200px; display: flex; justify-content: center; }
.props-track img { max-height: 200px; width: auto; }
.props-dots { display: flex; justify-content: center; gap: 6px; margin-top: 25px; }
.props-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #939393; opacity: .2; cursor: pointer; }
.props-dots button.is-active { opacity: 1; }
@media (max-width: 1024px) { .props-track > div { flex-basis: calc(100% / 4); } }
@media (max-width: 767px) { .props-track > div { flex-basis: calc(100% / 2); } .props-box { margin: -135px 10px 0; } }

/* ---------- Galerie-Seite ---------- */
.gallery-head { font-size: 20px; line-height: 1; letter-spacing: .95px; margin: 0 0 50px; padding: 10px 10px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 31px 24px; padding: 10px; }
.gallery-grid a { display: flex; justify-content: center; }
.gallery-grid img { height: 320px; width: auto; max-width: 100%; object-fit: cover; border-radius: 3px; }

/* ---------- Impressum ---------- */
.legal { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.legal h2 { font-size: 32px; }
.legal h3 { font-size: 28px; padding-top: 34px; margin-bottom: 8px; }
.legal h4 { font-size: 24px; padding-top: 28px; margin-bottom: 8px; }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.legal td { padding: 4px 0 4px; border-bottom: 1px solid #eee; vertical-align: top; }
.legal td:first-child { width: 25%; }
.legal a { text-decoration: underline; word-break: break-word; }
.legal a[href^="tel:"] { text-decoration: none; }
.legal hr { border: 0; border-top: 1px solid #bbb; margin: 0 0 16px; }

/* ---------- Footer ---------- */
/* wie Original: hellgrau, goldene Formularbox ragt oben heraus */
.site-footer { position: relative; background: #eae9e9; border-top: 1px solid #dfdfdf; margin-top: 70px; padding-bottom: 30px; color: #3f3a3a; }
.footer-inner { max-width: 1140px; padding: 0 15px; display: grid; grid-template-columns: 5fr 7fr; gap: 30px; }
.footer-form-box { background: var(--gold); border-radius: 5px; padding: 50px 25px 30px; margin-top: -34px; min-height: 365px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; max-width: 470px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; font-size: 13px; padding: 9px 10px; border: 0; border-radius: 0;
  background: #fff; color: #000;
}
.contact-form ::placeholder { color: #777; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid #000; }
.contact-form textarea { height: 85px; resize: vertical; }
.contact-form button {
  background: #000; color: #fff; border: 0; border-radius: 3px; padding: 10px 42px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 500; letter-spacing: 1.3px; text-transform: uppercase;
}
.contact-form button:hover { background: #101010; color: var(--gold); }
.contact-form .hint { font-size: 12px; color: #3f3a3a; margin: 0; }
.contact-form .hint a { color: #3f3a3a; text-decoration: underline; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-size: 14px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #1d5e20; }
.form-status.is-error { color: #a30000; }
/* reCAPTCHA-Logo ausblenden; der Pflichthinweis steht unter dem Formular */
.grecaptcha-badge { visibility: hidden; }
.legal .email-img { display: inline-block; vertical-align: middle; }

.footer-right { padding-top: 40px; }
.footer-menu { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer a { color: #3f3a3a; }
.site-footer a:hover { color: var(--gold-dark); }
.footer-menu a, .footer-icons li, .footer-social li { font-size: 13px; letter-spacing: 1.1px; text-transform: uppercase; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.site-footer h3 { font-size: 18px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: #000; margin: 0 0 14px; }
.footer-icons, .footer-social { list-style: none; margin: 0; padding: 0; }
.footer-icons li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.footer-icons .icon { position: absolute; left: 0; top: 3px; width: 14px; height: 14px; color: var(--gold); }
.footer-social::before { content: ""; display: block; width: 30px; height: 1px; background: #d5d5d5; margin: 15px 0; }
.footer-social a { display: inline-flex; align-items: center; gap: 12px; }
.footer-social .icon { width: 16px; height: 16px; color: #d72b8f; }
#ofgcert { margin-top: 18px; }
.copyright { margin: 40px 0 0; font-size: 14px; color: #7a7979; text-transform: uppercase; line-height: 1.6; }
@media (max-width: 991px) {
  .site-footer { margin-top: 50px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-form-box { min-height: 0; }
  .footer-right { padding-top: 10px; }
}
@media (max-width: 560px) {
  .contact-form, .footer-cols { grid-template-columns: 1fr; }
}

/* ---------- Tablet & Handy ---------- */
@media (max-width: 1024px) {
  .welcome .wrap, .photography .wrap { grid-template-columns: 1fr; }
  .framed-slider { max-width: 616px; width: calc(100% - 20px); margin: 30px auto 10px; }
  .photography .wrap > div:first-child { text-align: center; }
  .photo-frame img { width: 100%; max-width: 540px; }
}
@media (max-width: 767px) {
  .welcome { padding: 50px 0 30px; }
  .framed-slider { height: auto; aspect-ratio: 477 / 514; }
  .framed-slider .slides { height: 100%; }
  .grid3, .gallery-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .gallery-grid img { height: 240px; }
  .gallery-cta { grid-template-columns: 1fr; text-align: center; }
  .gallery-cta h3 { text-align: center; font-size: 24px; }
  .booth-cols { grid-template-columns: 1fr 1fr; }
  .booth-cols .mid { grid-column: 1 / -1; order: -1; }
  .booth-cols .mid img { height: 360px; }
  .booth-cols h4 { font-size: 20px; margin-top: 20px; }
  .booth-cols img { height: 300px; }
  .booth-contact { grid-template-columns: 1fr; padding: 35px 5px 50px; }
  .modules::before, .module::after { display: none; }
  .module { grid-template-columns: 1fr; margin-bottom: 30px; }
  .module .module-media { order: -1; }
  .module-text { padding: 10px 20px 20px; }
  .module-text h3 { font-size: 24px; }
  .line-title { font-size: 28px; }
}
@media (max-width: 480px) {
  .grid3, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 320px; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(0, 0, 0, .92); display: none; align-items: center; justify-content: center; padding: 50px 60px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; }
.lightbox-caption { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--gold); color: #000; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 60px 10px; } .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-small, .hero-big { transition: none; }
}
