/* =========================================
   MAIN3.CSS – bereinigt für reliefkunst.art
   ========================================= */

@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.8);
  --line: rgba(255, 255, 255, 0.2);
  --maxw: 1200px;
  --pad: clamp(16px, 3vw, 28px);
  --gap: clamp(12px, 2vw, 20px);
  --ff: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --fs-body: clamp(18px, 1.2vw, 22px);
  --fs-h1: clamp(28px, 4vw, 48px);
  --fw-medium: 500;
  --fw-bold: 700;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  font-family: var(--ff);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

h1 {
  font-family: var(--ff);
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  margin: 0 0 12px;
}

p {
  margin: 0 0 16px;
}

.section-title {
  margin: 0 0 12px;
  text-align: center;
}

.section-title-galerie {
  margin: 0 0 12px;
  text-align: center;
}

.rule {
  border: 0;
  height: 2px;
  background: var(--line);
  margin: 0;
}

/* HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: #000;
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--nav-h);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 18px;
  cursor: pointer;
}

.site-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-nav .nav-link {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  font-weight: var(--fw-medium);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.is-active {
  opacity: 1;
}

.site-nav .nav-link.is-active {
  border-bottom-color: #fff;
}

/* SECTIONS */
.section {
  padding: 36px 0 40px;
}

.section--hero {
  padding-top: calc(var(--nav-h) + 32px);
  padding-bottom: 28px;
}

/* HERO */
.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.hero-logo,
.eroeffnung-info {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-logo {
  display: block;
  height: auto;
}

.eroeffnung-info {
  text-align: center;
}

.text-block {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eroeffnung-info {
  text-align: center;
}

.text-block {
  text-align: center;
}

/* GALERIE */
.galerie-dark {
  background: rgb(180, 180, 180);
  padding: 60px 0 70px;
}

.galerie-dark .section-title {
  color: #000000;
  text-align: left;
  margin-bottom: 40px;
}

.gallery-grid-dark {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  column-gap: 70px;
  row-gap: 80px;
  align-items: start;
}

.gallery-card-dark {
  margin: 0;
  text-align: center;
}

.gallery-card-dark img {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
  box-shadow: 14px 14px 24px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s ease;
}

.gallery-card-dark img:hover {
  transform: scale(1.02);
}

.gallery-card-dark figcaption {
  margin-top: 18px;
  color: #000000;
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
}

/* LIGHTBOX */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  padding: 40px;
}

.gallery-lightbox.active {
  display: flex;
}

.lightbox-image {
  max-width: 800px;
  max-height: 1000px;
  width: auto;
  height: auto;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 5001;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border: none;
  background: rgba(0, 0, 0, 0.18);
  color: #000;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  z-index: 5003;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border: none;
  background: rgba(0, 0, 0, 0.18);
  color: #000;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  z-index: 5003;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(0, 0, 0, 0.28);
}

/* BIOGRAPHIE */
.bio-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  column-gap: 36px;
  align-items: start;
  margin-top: 20px;
}

.bio-figure {
  margin: 0;
}

.bio-figure img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
}

.bio-content {
  max-width: none;
}

.bio-content p {
  margin: 0;
}

/* KONTAKT */
.kontakt {
  font-style: normal;
  text-align: left;
}

.kontakt a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.site-footer .wrap {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.to-top {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

.to-top:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  :root {
    --nav-h: 84px;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--nav-h);
    background: #000;
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 6px 0;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav .nav-link {
    width: 100%;
    padding: 14px var(--pad);
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 28px 0 32px;
  }

  .section--hero {
    padding-top: calc(var(--nav-h) + 22px);
    padding-bottom: 22px;
  }

  .gallery-grid-dark {
    grid-template-columns: 1fr;
    row-gap: 50px;
    column-gap: 0;
  }

  .gallery-card-dark img {
    box-shadow: 10px 10px 18px rgba(0, 0, 0, 0.7);
  }

  .gallery-card-dark figcaption {
    font-size: var(--fs-body);
    margin-top: 14px;
  }

  .lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .bio-split {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .bio-figure {
    width: 100%;
  }

  .bio-figure img {
    width: 100%;
    max-width: 100%;
  }
}