/* Galerie Dogon – Nachbau im Original-Look
   Schwarz #000 · Weiß · Akzent Orange #f09800 · Schrift Inter, 21px, zentriert */

* { box-sizing: border-box; }
body, form, figure, h1, h2, h3, p, ul { margin: 0; padding: 0; }
img { border: 0; max-width: 100%; height: auto; }

body {
  background: #000;
  font-family: "Inter", sans-serif;
  font-size: 21px;
  text-align: center;
  color: #fff;
  line-height: 1.5;
}

strong { font-weight: 700; }

a {
  color: #fff;
  text-decoration: none;
  transition: 0.5s all ease;
}
a:hover { color: #f09800; }
a:focus-visible { outline: 2px solid #f09800; outline-offset: 2px; }

#wrapper {
  width: 1000px;
  margin: 0 auto;
  position: relative;
}
@media only screen and (max-width: 1000px) {
  #wrapper { width: 100%; }
}

/* ---------- Textblöcke (wie Original .ce_text) ---------- */

.ce_text {
  border-top: 1px solid #fff;
  padding: 20px 0 10px 0;
  line-height: 35px;
}
.ce_text.noborder {
  border-top: none;
  line-height: 25px;
  font-size: 90%;
}

/* ---------- Navigation ---------- */

#mainnav {
  border-top: 1px solid #fff;
  padding: 20px 0 10px 0;
  line-height: 35px;
}
#mainnav ul {
  margin: 0;
  padding: 0;
  font-size: 20px;
  list-style: none;
}
#mainnav ul li {
  display: inline;
  padding: 0 25px;
  position: relative;
  transition: 0.5s all ease;
}
#mainnav ul li a,
#mainnav ul li strong {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  transition: 0.5s all ease;
}
#mainnav ul li a:hover { color: #f09800; }
#mainnav ul li strong {
  font-weight: 400;
  color: #f09800;
}
#mainnav ul li::before {
  font-family: FontAwesome;
  content: "\f138";
  font-size: 14px;
  position: absolute;
  left: 0;
  top: -3px;
  transition: 0.5s all ease;
  color: #fff;
}
#mainnav ul li:hover::before { left: 10px; color: #f09800; }
#mainnav ul li.active::before { left: 0; color: #f09800; }
#mainnav ul li.umbruch::after {
  content: "\A";
  white-space: pre;
}
@media only screen and (max-width: 1000px) {
  #mainnav { display: none; }
  #mainnav ul li.umbruch::after { content: ""; }
}

/* ---------- Kopfbereich ---------- */

#header { margin-bottom: 20px; }
#header .inside { position: relative; }
#header #logo {
  float: left;
  width: 100px;
  margin-right: 80px;
}
.standardpage #header {
  border-bottom: 1px solid #fff;
  margin-bottom: 15px;
}
.standardpage #header::after {
  content: "";
  display: table;
  clear: both;
}
.standardpage #header #mainnav {
  border-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  padding-top: 40px;
}

/* Mobile-Menü */
#linkmobile {
  position: absolute;
  right: 20px;
  top: 30px;
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
#linkmobile img { width: 35px; }
.homepage #linkmobile { top: 45px; }
.homepage #linkmobile img { width: 25px; }
@media only screen and (max-width: 1000px) {
  #linkmobile { display: block; }
}
#mobilenav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.96);
  text-align: left;
  padding: 70px 40px;
  overflow-y: auto;
}
#mobilenav.open { display: block; }
#mobilenav ul { list-style: none; }
#mobilenav ul li { border-bottom: 1px solid rgba(255,255,255,0.2); }
#mobilenav ul li a,
#mobilenav ul li strong {
  display: block;
  padding: 14px 5px;
  font-size: 19px;
  font-weight: 400;
}
#mobilenav ul li strong { color: #f09800; }
#mobilenav .mobilenav-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
#mobilenav .mobilenav-close:hover { color: #f09800; }

/* ---------- Startseite ---------- */

.homepage #header .ce_text p { line-height: 35px; }
.homepage #logo-big { margin: 10px auto 0; }
.homepage #logo-big img { display: inline-block; }

/* ---------- Ausstellungs-Meldung (Startseite) ---------- */

.news-card {
  margin: 30px auto 10px;
  max-width: 620px;
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  border-top: 3px solid #f09800;
  border-radius: 6px;
  padding: 28px 34px 26px;
}
.news-card .news-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f09800;
  margin-bottom: 14px;
}
.news-card h2 {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.news-card .news-date {
  margin-top: 10px;
  font-size: 15px;
  color: #ababab;
}
@media only screen and (max-width: 680px) {
  .news-card { margin-left: 20px; margin-right: 20px; padding: 22px 20px; }
  .news-card h2 { font-size: 21px; }
}

/* ---------- Slider ---------- */

.slider {
  background: #000;
  position: relative;
}

.slider .slider-thumbs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 8px;
  padding: 14px 60px 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #444 #000;
}
.slider .slider-thumbs button {
  flex: 0 0 auto;
  background: none;
  border: 2px solid #3e3e3e;
  padding: 0;
  cursor: pointer;
  width: 56px;
  height: 56px;
  overflow: hidden;
  transition: 0.3s all ease;
}
.slider .slider-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.55;
  transition: 0.3s all ease;
}
.slider .slider-thumbs button:hover img { opacity: 1; }
.slider .slider-thumbs button.active {
  border-color: #f09800;
}
.slider .slider-thumbs button.active img { opacity: 1; }

.slider .slider-stage {
  position: relative;
  height: 650px;
}
.slider .slider-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@media only screen and (max-width: 570px) {
  .slider .slider-stage { height: 60vh; }
}

.slider .slider-prev,
.slider .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  padding: 14px 12px;
  cursor: pointer;
  transition: 0.3s all ease;
}
.slider .slider-prev { left: 0; }
.slider .slider-next { right: 0; }
.slider .slider-prev:hover,
.slider .slider-next:hover { color: #f09800; }

.slider .slider-text {
  padding: 25px 15px 8px;
  color: #fff;
  font-size: 17px;
  line-height: 24px;
  min-height: 90px;
  max-width: 860px;
  margin: 0 auto;
}
.slider .slider-price {
  padding: 0 15px 25px;
  color: #f09800;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
@media only screen and (max-width: 570px) {
  .slider .slider-text { font-size: 14px; line-height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Schwarze Textboxen (Impressum, Datenschutz, Über uns) ---------- */

.black {
  background: #000;
  text-align: left;
  border-top: none;
  font-size: 70%;
  padding: 20px 0 10px 0;
  line-height: 1.6;
}
.black h1,
.black h2,
.black h3 { color: #f09800; }
.black h1 {
  margin-top: 0;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #fff;
}
.black h2 { margin: 22px 0 6px; font-size: 120%; }
.black h3 { margin: 16px 0 4px; font-size: 105%; }
.black p { margin: 8px 0; }
.black ul { margin: 8px 0 8px 22px; }
@media only screen and (max-width: 1000px) {
  .black { padding-left: 20px; padding-right: 20px; }
}

/* Über uns – zentriert wie Original */
.about {
  border-top: 1px solid #fff;
  padding: 20px 0 10px 0;
  line-height: 35px;
}
.about .divider {
  border: 0;
  border-top: 1px solid #fff;
  margin: 20px 0;
}
@media only screen and (max-width: 1000px) {
  .about { padding-left: 20px; padding-right: 20px; }
}

/* ---------- Kataloge-Übersicht ---------- */

.katalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 20px 0 10px;
}
.katalog {
  display: block;
  border: 1px solid #fff;
  overflow: hidden;
  color: #fff;
  transition: 0.3s all ease;
}
.katalog img {
  display: block;
  width: 100%;
  aspect-ratio: 210 / 297;
  object-fit: cover;
  transition: 0.3s all ease;
}
.katalog:hover img { transform: scale(1.05); }
.katalog span {
  display: block;
  padding: 8px 6px;
  font-size: 14px;
  line-height: 18px;
  background: #000;
  position: relative;
}
.katalog:hover span { color: #f09800; }
@media only screen and (max-width: 1000px) {
  .katalog-grid { grid-template-columns: repeat(3, 1fr); padding-left: 20px; padding-right: 20px; }
}
@media only screen and (max-width: 570px) {
  .katalog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Fußzeile ---------- */

#footer {
  padding-top: 0;
  border-top: 1px solid #fff;
  margin-top: 10px;
  font-size: 70%;
  padding-bottom: 20px;
}
@media only screen and (max-width: 1000px) {
  #footer { padding-left: 20px; padding-right: 20px; }
}
