/*
  Rent-Craft — strona firmowa
  Kolorystyka: biało‑czarno‑bursztynowa (jasny wariant).
*/

:root{
  /* Paleta: popielato‑czarno‑niebieska (jasna, szarości) */
  --bg: #eef1f4;
  --panel: #f7f8fa;
  --panel-2:#e8edf3;
  --line:#d6dde6;
  --text:#0B0F1A;
  --muted:#465468;
  --brand:#1D73FF;
  --brand-2:#6AB6FF;
  --good:#16a34a;
  --shadow: 0 18px 50px rgba(11,15,26,.12);
  --radius: 18px;
  --radius-2: 28px;
  --max: 1180px;

  /* Sterowanie widocznością tła (zdjęcia) */
  --bg-photo-opacity: .88;        /* 0–1: im więcej, tym mocniej widać zdjęcie */
  --bg-overlay-top: .20;          /* warstwa rozjaśniająca u góry */
  --bg-overlay-mid: .30;          /* środek */
  --bg-overlay-bottom: .36;       /* dół */
  /* Powierzchnie pod tekst (czytelność na tle zdjęcia) */
  --surface: rgba(245,247,250,.86);
  --surface-strong: rgba(245,247,250,.92);
  --surface-border: rgba(11,15,26,.14);

}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: var(--bg);
  position: relative;
  min-height: 100%;
}

/* Globalne tło (zdjęcie + jasna warstwa dla czytelności) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("../img/bg-building.jpg");
  background-image: image-set(
    url("../img/bg-building.webp") type("image/webp"),
    url("../img/bg-building.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: var(--bg-photo-opacity);
  pointer-events: none;
}

body::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(29,115,255,.14), rgba(255,255,255,0) 60%),
    radial-gradient(1100px 620px at 90% 10%, rgba(0,0,0,.06), rgba(255,255,255,0) 55%),
    linear-gradient(
      180deg,
      rgba(238,241,244,var(--bg-overlay-top)),
      rgba(238,241,244,var(--bg-overlay-mid)) 65%,
      rgba(229,233,238,var(--bg-overlay-bottom))
    );
}

@media (max-width: 900px){
  body::before{ opacity: calc(var(--bg-photo-opacity) - .06); }
}

@media (prefers-reduced-data: reduce){
  /* Nie wyłączamy tła całkiem — tylko je delikatnie oszczędzamy */
  body::before{ opacity: .45; }
}



a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }
button, input, textarea{ font: inherit; }
.container{ width: min(var(--max), calc(100% - 40px)); margin-inline:auto; }

/* Header / nav */
.header{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(245,247,250,.92);
  border-bottom: 1px solid rgba(11,15,26,.10);
  backdrop-filter: blur(14px);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding: 14px 0;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}
.brand img{ height:60px; width:auto; max-width:170px; }
.brand .name{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand .name b{ font-size: 18px; letter-spacing:-.3px; }
.brand .name span{ font-size: 12px; color: var(--muted); }

.menu{
  display:flex;
  align-items:center;
  gap: 18px;
  margin-left: auto;
}
.menu a{
  font-size: 14px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
}
.menu a{ border: 1px solid transparent; }
.menu a:hover{
  color: var(--text);
  background: rgba(11,15,26,.05);
  border-color: rgba(11,15,26,.10);
}
.menu a[aria-current="page"]{
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: rgba(29,115,255,.85);
}
.menu a[aria-current="page"]:hover{ filter: brightness(1.02); }
.nav-cta{
  display:flex;
  align-items:center;
  gap:10px;
}

.icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius: 14px;
  border: 1px solid rgba(11,15,26,.14);
  background: rgba(245,247,250,.70);
  color: var(--text);
  cursor:pointer;
  transition: .18s ease;
}
.icon-btn svg{ width:18px; height:18px; }
.icon-btn:hover{
  border-color: rgba(29,115,255,.55);
  background: rgba(245,247,250,.92);
  transform: translateY(-1px);
}
.icon-btn:active{ transform: translateY(0); }
.icon-btn:focus-visible{ outline: 3px solid rgba(29,115,255,.28); outline-offset: 2px; }

.drawer-icons{
  display:flex;
  gap:10px;
  padding-bottom: 12px;
}

/* Search modal */
.search-modal{
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
}
.search-modal[aria-hidden="false"]{ display:block; }
.search-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
}
.search-panel{
  position:absolute;
  left:50%;
  top: 10vh;
  transform: translateX(-50%);
  width: min(760px, 92vw);
  border-radius: var(--radius-2);
  border: 1px solid var(--surface-border);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  padding: 16px;
}
.search-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.search-title{
  font-weight: 850;
  letter-spacing: -.2px;
}
.search-input{
  margin-top: 12px;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(11,15,26,.14);
  background: rgba(255,255,255,.62);
}
.search-input svg{ width:18px; height:18px; color: var(--muted); }
.search-input input{
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--text);
}
.search-results{
  margin-top: 12px;
  max-height: 54vh;
  overflow:auto;
  display:grid;
  gap: 8px;
}
.search-item{
  display:flex;
  flex-direction:column;
  gap: 2px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(11,15,26,.10);
  background: rgba(11,15,26,.02);
  color: var(--text);
  text-decoration:none;
}
.search-item:hover{
  border-color: rgba(29,115,255,.55);
  background: rgba(29,115,255,.06);
}
.search-item .t{ font-weight: 800; }
.search-item .u{ font-size: 12px; color: var(--muted); }

@media (max-width: 640px){
  .search-panel{ top: 6vh; padding: 14px; }
}


.btn.share-btn{
  padding: 10px 14px;
  font-weight: 750;
}
.btn.share-btn svg{ width:16px; height:16px; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(29,115,255,.55);
  background: linear-gradient(135deg, rgba(29,115,255,.30), rgba(29,115,255,.16));
  color: var(--text);
  font-weight: 650;
  font-size: 14px;
  cursor:pointer;
}
.btn:hover{ border-color: rgba(29,115,255,.65); transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn.primary{
  border-color: rgba(29,115,255,.7);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #ffffff;
}
.btn.primary:hover{ filter: brightness(1.02); }
.btn.ghost{
  border-color: rgba(11,15,26,.14);
  background: rgba(11,15,26,.03);
  color: var(--text);
}
.btn.ghost:hover{ border-color: rgba(29,115,255,.45); }

.burger{
  display:none;
  width:44px; height:44px;
  border-radius: 14px;
  border: 1px solid rgba(11,15,26,.14);
  background: rgba(11,15,26,.04);
  color: var(--text);
  cursor:pointer;
}

/* Toast (share fallback) */
.toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(18px);
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  background: rgba(11,15,26,.92);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 13px;
  transition: .22s ease;
  backdrop-filter: blur(10px);
}
.toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.burger:hover{ border-color: rgba(29,115,255,.45); }

/* Hero */
.hero{
  position: relative;
  padding: 64px 0 30px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: stretch;
}
.hero-card{
  border-radius: var(--radius-2);
  border: 1px solid rgba(11,15,26,.12);
  background:
    radial-gradient(1000px 420px at 20% -20%, rgba(29,115,255,.25), rgba(255,255,255,0) 60%),
    radial-gradient(820px 420px at 90% 20%, rgba(29,115,255,.08), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(242,244,247,.78), rgba(242,244,247,.62));
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.hero-card::after{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(900px 300px at 50% 0%, rgba(11,15,26,.04), rgba(255,255,255,0) 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M0 60h120M60 0v120' stroke='rgba(11,15,26,0.06)'/%3E%3C/svg%3E");
  opacity:.55;
  pointer-events:none;
  mix-blend-mode: multiply;
}
.hero-inner{
  position:relative;
  padding: 36px 34px 28px;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing:.2px;
}
.kicker .bar{
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(29,115,255,0));
  border-radius: 99px;
}
.hero h1{
  margin: 14px 0 10px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -1.2px;
}
.hero p{
  margin: 0 0 18px;
  max-width: 64ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 14px;
}
.badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 18px;
}
.badge{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  border:1px solid rgba(11,15,26,.12);
  background: rgba(11,15,26,.03);
  min-width: 210px;
}
.badge b{ font-size: 14px; }
.badge small{ color: var(--muted); display:block; margin-top: 2px; }

.hero-side{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.side-card{
  border-radius: var(--radius);
  border:1px solid rgba(11,15,26,.12);
  background: rgba(245,247,250,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.side-card .pad{ padding: 18px 18px 16px; }
.side-card h3{
  margin:0 0 8px;
  font-size: 16px;
}
.side-list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.side-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color: var(--muted);
  font-size: 14px;
  line-height:1.55;
}
.check{
  width: 18px; height: 18px; border-radius: 6px;
  background: rgba(29,115,255,.28);
  border: 1px solid rgba(29,115,255,.65);
  display:inline-grid;
  place-items:center;
  flex:0 0 auto;
  margin-top:2px;
}
.check svg{ width:12px; height:12px; }

.slider-dots{
  display:flex;
  gap:8px;
  margin-top: 18px;
}
.dot{
  width: 34px; height: 6px;
  border-radius: 99px;
  border:1px solid rgba(11,15,26,.16);
  background: rgba(11,15,26,.03);
  cursor:pointer;
}
.dot[aria-selected="true"]{
  border-color: rgba(29,115,255,.75);
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

/* Sections */
section{ padding: 54px 0; }
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;

  /* „kafelek” pod nagłówkiem sekcji – lepsza czytelność na tle zdjęcia */
  padding: 16px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(11,15,26,.10);
  backdrop-filter: blur(10px);
}
.section-head h2{
  margin:0;
  font-size: 28px;
  letter-spacing: -0.6px;
}
.section-head p{
  margin:0;
  color: var(--muted);
  max-width: 66ch;
  line-height: 1.6;
}

.grid{
  display:grid;
  gap: 16px;
}
.grid.cols-3{ grid-template-columns: repeat(3, 1fr); }
.grid.cols-2{ grid-template-columns: repeat(2, 1fr); }
.card{
  border-radius: var(--radius);
  border:1px solid rgba(11,15,26,.12);
  background: rgba(245,247,250,.88);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card .pad{ padding: 18px; }
.card h3{ margin:0 0 8px; font-size: 18px; }
.card p{ margin:0; color: var(--muted); line-height: 1.65; font-size: 14px; }
.card .meta{
  margin-top: 14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.chip{
  font-size: 12px;
  color: var(--muted);
  border:1px solid rgba(11,15,26,.12);
  background: rgba(11,15,26,.03);
  padding: 7px 10px;
  border-radius: 999px;
}

/* Wypożyczalnia — nieco mniejsze kafelki */
.rental-page .grid{ gap: 14px; }
.rental-page .card .pad{ padding: 16px; }
.rental-page .card h3{ font-size: 17px; }
.rental-page .card p{ font-size: 13px; }
.rental-page .card .meta{ margin-top: 12px; gap: 8px; }
.rental-page .chip{ font-size: 11px; padding: 6px 9px; }
/* Kafelki wypożyczalni — cały kafelek klikalny */
.rental-page .card-link{
  display:block;
  text-decoration:none;
  color: inherit;
  cursor: pointer;
  height: 100%;
}

.rental-page .card-link .pad{
  /* Umożliwia ustawienie „Przejdź dalej” zawsze przy dole kafelka */
  display:flex;
  flex-direction:column;
  height: 100%;
}
.rental-page .card-link:hover{
  border-color: rgba(29,115,255,.45);
  box-shadow: 0 16px 36px rgba(11,15,26,.12);
}
.rental-page .card-link:active{
  transform: translateY(1px);
}
.rental-page .card-link:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(29,115,255,.16), 0 16px 36px rgba(11,15,26,.12);
  border-color: rgba(29,115,255,.55);
}

/* „Przejdź dalej” jako element w kafelku */
.rental-page .more{
  /* zawsze w tym samym miejscu: dół-lewy róg */
  margin-top: auto;
  padding-top: 12px;
  display:inline-flex;
  align-items:center;
  gap: 6px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
}
.rental-page .card-link:hover .more{ text-decoration: underline; }


.icon{
  width: 40px; height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(29,115,255,.18);
  border:1px solid rgba(29,115,255,.45);
  margin-bottom: 12px;
}

.stats{
  border-radius: var(--radius-2);
  border:1px solid rgba(11,15,26,.12);
  background:
    radial-gradient(1000px 500px at 10% 10%, rgba(29,115,255,.18), rgba(255,255,255,0) 60%),
    radial-gradient(900px 400px at 90% 20%, rgba(29,115,255,.06), rgba(255,255,255,0) 55%),
    rgba(242,244,247,.80);
  box-shadow: var(--shadow);
  padding: 24px;
}
.stat-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat{
  padding: 14px 14px 12px;
  border-radius: 16px;
  border:1px solid rgba(11,15,26,.12);
  background: rgba(11,15,26,.03);
}
.stat b{ display:block; font-size: 26px; letter-spacing:-.6px; }
.stat span{ color: var(--muted); font-size: 13px; }

/* CTA band */
.cta{
  padding: 0 0 64px;
}
.cta .band{
  border-radius: var(--radius-2);
  border:1px solid rgba(29,115,255,.45);
  background:
    linear-gradient(135deg, rgba(29,115,255,.30), rgba(29,115,255,.14)),
    rgba(245,247,250,.86);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.cta .band .inner{
  padding: 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  flex-wrap:wrap;
}
.cta h3{ margin:0; font-size: 20px; letter-spacing:-.4px; }
.cta p{ margin:6px 0 0; color: var(--muted); max-width: 72ch; line-height:1.6; }

/* Forms */
.form{
  display:grid;
  gap: 12px;
}
.field{
  display:grid;
  gap:6px;
}
label{ font-size: 13px; color: var(--muted); }
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(11,15,26,.16);
  background: rgba(245,247,250,.92);
  color: var(--text);
  outline:none;
}
textarea{ min-height: 140px; resize: vertical; }
input:focus, textarea:focus{ border-color: rgba(29,115,255,.6); box-shadow: 0 0 0 4px rgba(29,115,255,.12); }
.help{ font-size: 12px; color: var(--muted); line-height:1.6; }
.notice{
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(11,15,26,.12);
  background: rgba(11,15,26,.03);
  color: var(--muted);
}

.hint-card{
  background: var(--surface-strong);
  border: 1px solid var(--surface-border);
  border-left: 5px solid var(--brand);
}
.hint-card .hint-text{
  margin:0;
  color: var(--text);
}
.notice.good{ border-color: rgba(46,229,157,.45); background: rgba(46,229,157,.10); color:#064E3B; }
.notice.bad{ border-color: rgba(255,90,110,.45); background: rgba(255,90,110,.10); color:#7F1D1D; }

/* Footer */
.footer{
  padding: 44px 0 28px;
  border-top: 1px solid rgba(11,15,26,.10);
  background: rgba(245,247,250,.92);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}
.footer h4{ margin:0 0 10px; font-size: 14px; color: var(--text); }
.footer a{ color: var(--muted); }
.footer a:hover{ color: var(--text); }
.footer .mini{ color: var(--muted); font-size: 13px; line-height:1.7; }
.copy{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(11,15,26,.10);
  color: var(--muted);
  font-size: 12px;
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}

/* Page header */
.pagehead{
  padding: 48px 0 10px;
}
.pagehead .container{
  padding: 22px 22px;
  border-radius: var(--radius-2);
  border: 1px solid var(--surface-border);
  background: var(--surface-strong);
  box-shadow: 0 18px 50px rgba(11,15,26,.12);
  backdrop-filter: blur(10px);
}
.breadcrumbs{
  color: var(--muted);
  font-size: 13px;
}
.pagehead h1{
  margin: 10px 0 0;
  font-size: 36px;
  letter-spacing:-.8px;
}
.pagehead p{
  margin: 10px 0 0;
  color: var(--muted);
  line-height:1.7;
  max-width: 80ch;
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .stat-grid{ grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3{ grid-template-columns: repeat(2, 1fr); }
  .menu{ display:none; }
  .burger{ display:inline-grid; place-items:center; margin-left:auto; }
  .nav-cta{ display:none; }
}

@media (max-width: 640px){
  .grid.cols-3, .grid.cols-2{ grid-template-columns: 1fr; }
  .hero-inner{ padding: 26px 20px 20px; }
  section{ padding: 42px 0; }
  .section-head{ padding: 14px 12px; }
  .pagehead .container{ padding: 18px 14px; }
}

/* Mobile drawer */
.drawer{
  position: fixed;
  inset:0;
  z-index:100;
  display:none;
}
.drawer[aria-hidden="false"]{ display:block; }
.drawer .backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
}
.drawer .panel{
  position:absolute;
  top:0; right:0;
  width: min(380px, 92vw);
  height: 100%;
  background: rgba(245,247,250,.97);
  border-left: 1px solid rgba(11,15,26,.12);
  padding: 16px;
}
.drawer .panel .top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(11,15,26,.10);
  margin-bottom: 10px;
}
.drawer nav{ display:grid; gap: 8px; padding: 10px 0; }
.drawer nav a{
  padding: 12px 12px;
  border-radius: 14px;
  color: var(--muted);
  border: 1px solid rgba(11,15,26,.08);
  background: rgba(11,15,26,.02);
}
.drawer nav a:hover{ color: var(--text); border-color: rgba(29,115,255,.45); }
.drawer .bottom{ padding-top: 12px; border-top: 1px solid rgba(11,15,26,.10); }


/* Accessibility */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}


/* Brand responsive tweaks */
@media (max-width: 980px){
  .brand .name span{ display:none; }
}
@media (max-width: 640px){
  .brand img{ height:52px; }
  .brand .name b{ font-size:16px; }
}


/* ===== Realizacje: galeria zdjęć ===== */
.gallery-link{ display:block; color:inherit; text-decoration:none; }
.gallery-card{ overflow:hidden; }
.gallery-media{
  height:190px;
  background: var(--panel-2);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.gallery-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.01);
  transition: transform .25s ease;
}
.gallery-card:hover .gallery-media img{ transform:scale(1.06); }

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  z-index:9999;
}
.lightbox[aria-hidden="false"]{ display:flex; }
.lb-backdrop{
  position:absolute;
  inset:0;
  background: rgba(11,15,26,.78);
}
.lb-img{
  position:relative;
  max-width:min(1200px, 92vw);
  max-height:86vh;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.lb-close{
  position:absolute;
  top:16px;
  right:16px;
  z-index:1;
  background: rgba(245,247,250,.92);
  border:1px solid rgba(0,0,0,.12);
  border-radius:999px;
  padding:10px 12px;
  cursor:pointer;
}
.lb-close:hover{ transform: translateY(-1px); }

@media (max-width: 520px){
  .gallery-media{ height:160px; }
  .lb-close{ top:12px; right:12px; }
}


/* Google Maps embed (Kontakt) */
.map-embed{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.12);
}
.map-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
