/* =========================================================
   DJ Dino — Stylesheet
   Dunkel, warm, Space Grotesk. "Wir machen die Nacht zum Tag."
   ========================================================= */

@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0908;
  --surface: #131110;
  --surface-2: #1a1715;
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.13);
  --text: #f4f1ea;
  --text-muted: #9c968b;
  --accent: #d98aa1;
  --accent-2: #c06b86;
  --accent-hover: #e6a4b8;
  --radius-md: 4px;
  --radius-sm: 2px;
  --font: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --header-h: 76px;
  --max: 1160px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 108px 0;
  border-top: 1px solid var(--border-soft);
}

.section-alt {
  background: var(--surface);
}

.eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.gradient-text {
  background: linear-gradient(95deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(95deg, var(--accent), var(--accent-2));
  color: #16110a;
  font-weight: 600;
  box-shadow: 0 0 0 rgba(217, 138, 161, 0);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.25s ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(217, 138, 161, 0.45);
  }

  .btn-primary:hover::before {
    background: rgba(255, 255, 255, 0.2);
  }
}

.btn-primary:active {
  transform: translateY(0) scale(0.96);
  box-shadow: 0 4px 12px rgba(217, 138, 161, 0.3);
}

.btn-primary:active::before {
  background: rgba(0, 0, 0, 0.06);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(10, 9, 8, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .logo:hover {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

.logo-img {
  height: 34px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform 0.25s ease;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list a {
  position: relative;
  font-size: 0.94rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(95deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--text);
}

@media (hover: hover) and (pointer: fine) {
  .nav-list a:hover::after {
    transform: scaleX(1);
  }
}

.nav-list a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-link {
  display: inline-flex;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.icon-link:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 860px) {
  nav {
    display: contents;
  }
  .nav-list {
    display: none;
  }
  .nav-list.is-open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    z-index: 99;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav-list a::after {
    display: none;
  }
  .nav-list a {
    display: block;
    padding: 14px 4px;
    font-size: 1.1rem;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.75) 55%, rgba(10,9,8,0.98) 100%);
}

.hero-content {
  max-width: 720px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  margin-bottom: 22px;
}

.hero .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 16px;
}

.hero .tagline {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Page hero (sub-pages) */
.page-hero {
  padding: 172px 0 64px;
  border-bottom: 1px solid var(--border-soft);
}

.page-hero .eyebrow {
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 660px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* =========================================================
   Feature grid
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.feature-item {
  background: var(--surface);
  padding: 32px 28px;
  transition: background 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .feature-item:hover {
    background: var(--surface-2);
    transform: translateY(-4px);
  }
}

.feature-item .num {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.feature-item h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   About / intro grid
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}

.about-photo {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.about-photo img {
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--border-soft);
  transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .about-photo:hover img {
    transform: scale(1.06);
  }
}

.about-intro h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-bottom: 20px;
}

.about-intro p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-intro p strong {
  color: var(--text);
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 340px; }
}

/* =========================================================
   Brands / carousel
   ========================================================= */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.brand-card {
  display: block;
  position: relative;
  background: var(--surface);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 8px;
  transition: transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .brand-card:hover {
    transform: translateY(-4px);
  }
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  filter: grayscale(0.4) brightness(0.9);
  opacity: 0.92;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .brand-card:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
  }
}

@media (max-width: 860px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Instagram banner
   ========================================================= */
.instagram-banner {
  display: block;
  margin-top: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .instagram-banner:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
  }
}

.instagram-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   Credential (DJ-Führerschein)
   ========================================================= */
.credential-card {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--surface);
}

.credential-thumb {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .credential-thumb:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
  }
}

.credential-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.credential-info h4 {
  font-size: 1rem;
  margin: 6px 0 8px;
}

.credential-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media (max-width: 560px) {
  .credential-card {
    grid-template-columns: 1fr;
  }
  .credential-thumb {
    max-width: 160px;
  }
}

/* =========================================================
   Partners
   ========================================================= */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.partner-card {
  display: block;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .partner-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
  }
}

.partner-photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .partner-card:hover .partner-photo img {
    transform: scale(1.05);
  }
}

.partner-body {
  padding: 16px 18px;
}

.partner-body h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text);
}

.partner-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* =========================================================
   Venue / club chips
   ========================================================= */
.venue-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.venue {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--accent);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: default;
}

@media (hover: hover) and (pointer: fine) {
  .venue:hover {
    transform: scale(1.08);
    background: var(--accent);
    color: #16110a;
  }
}

/* =========================================================
   Client / partner logos
   ========================================================= */
.client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.client-list span {
  padding: 8px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* =========================================================
   Night / video section
   ========================================================= */
.night-section {
  position: relative;
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
}

.night-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(242,169,59,0.14), transparent 60%);
  pointer-events: none;
}

.night-section h2 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  margin-bottom: 18px;
}

.night-section .eyebrow {
  justify-self: center;
}

.night-section p {
  max-width: 640px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.night-section .tagline {
  font-weight: 600;
  color: var(--text);
  margin-top: 24px;
}

.video-frame {
  margin: 44px auto 0;
  max-width: 860px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  background: var(--surface);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  padding: 64px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* =========================================================
   Vermietung / product grid
   ========================================================= */
.product-groups {
  display: grid;
  gap: 48px;
}

.product-group h3 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  color: var(--accent);
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.product-card {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-size: 0.94rem;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-4px);
  }
}

.product-card .product-photo {
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}

.product-card .product-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
}

.product-card .product-photo-placeholder svg {
  opacity: 0.5;
}

.product-card .product-photo-placeholder span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-card .product-photo {
  overflow: hidden;
}

.product-card .product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-photo img {
    transform: scale(1.06);
  }
}

.product-card .product-body {
  padding: 16px 18px;
}

.product-card .product-title {
  font-weight: 500;
  margin-bottom: 4px;
}

.product-card .product-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    border-color: var(--accent);
  }
}

/* =========================================================
   Events list
   ========================================================= */
.event-list {
  display: grid;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.event-row {
  background: var(--surface);
  padding: 26px 28px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  transition: background 0.25s ease, padding-left 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .event-row:hover {
    background: var(--surface-2);
    padding-left: 36px;
  }
}

.event-row .event-title {
  font-size: 1.05rem;
  font-weight: 500;
}

.event-row .event-date {
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =========================================================
   Gallery overview grid (folders)
   ========================================================= */
.gallery-folders {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.folder-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  aspect-ratio: 4/3;
  display: block;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .folder-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
  }
}

.folder-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .folder-card:hover img {
    transform: scale(1.06);
  }
}

.folder-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 100%);
}

.folder-card .folder-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  z-index: 1;
}

.folder-card .folder-label .date {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.folder-card .folder-label .title {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
}

.folder-card .folder-count {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  background: rgba(10,9,8,0.7);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* =========================================================
   Gallery detail grid + lightbox
   ========================================================= */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
  transition: color 0.2s ease;
}

.back-link:hover { color: var(--accent); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

/* Flyer-Galerie: Masonry-Layout, das jedes Bild in seinem natürlichen Format zeigt
   (Flyer haben unterschiedliche Formate/Größen), statt sie quadratisch zuzuschneiden. */
.flyer-masonry {
  column-count: 4;
  column-gap: 16px;
}

.flyer-masonry button {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  break-inside: avoid;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .flyer-masonry button:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
  }
}

.flyer-masonry img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 960px) {
  .flyer-masonry { column-count: 3; }
}

@media (max-width: 680px) {
  .flyer-masonry { column-count: 2; }
}

@media (max-width: 420px) {
  .flyer-masonry { column-count: 1; }
}

.photo-grid button {
  padding: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  aspect-ratio: 1;
  transition: border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .photo-grid button:hover {
    border-color: var(--accent);
  }
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .photo-grid button:hover img {
    transform: scale(1.05);
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(6,5,4,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-soft);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

.contact-info .info-row {
  margin-bottom: 28px;
}

.contact-info h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-info .info-row a,
.contact-info .info-row p {
  font-size: 1.05rem;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group .req {
  color: var(--accent);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  cursor: pointer;
}

.form-consent input {
  margin-top: 4px;
}

.form-consent a {
  color: var(--accent);
}

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  display: none;
}

.form-status.is-visible { display: block; }
.form-status.success { color: #7ce38b; }
.form-status.error { color: #ff8a80; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Legal pages
   ========================================================= */
.legal-page {
  padding: 160px 0 100px;
  max-width: 820px;
}

.legal-page h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin: 40px 0 14px;
}

.legal-page p, .legal-page li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 18px;
  list-style: disc;
}

.legal-page a {
  color: var(--accent);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 64px 0 32px;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 340px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--accent);
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-admin-link {
  opacity: 0.45;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-admin-link:hover {
  opacity: 1;
  color: var(--accent);
}
