
/* =========================================
   RICHWIN DESIGN – BILDARCHIV
   GENEALOGIE / BRAUN-GOLD
   ========================================= */

.art-page {
  --art-bg: #15110d;
  --art-surface: #211a14;
  --art-border: #4b3a2c;
  --art-gold: #b38a5a;
  --art-gold-light: #d8b890;
  --art-text: #f5efe6;
  --art-muted: #cdbeaf;

  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 32px 110px;
  color: var(--art-text);
}

.art-page * {
  box-sizing: border-box;
}

body:has(.art-page) {
  background: #15110d;
}


/* =========================================
   EINLEITUNG
   ========================================= */

.art-intro {
  max-width: 920px;
  margin-bottom: 70px;
}

.art-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 36px;
  padding: 10px 16px;

  border: 1px solid var(--art-border);
  border-radius: 7px;

  color: var(--art-text);
  text-decoration: none;
  font-size: 12px;

  transition:
    border-color .25s ease,
    background .25s ease;
}

.art-back span {
  color: var(--art-gold-light);
  font-size: 21px;
  line-height: .5;
}

.art-back:hover {
  background: rgba(179,138,90,.1);
  border-color: var(--art-gold);
}

.art-eyebrow {
  margin: 0 0 18px;

  color: var(--art-gold-light);

  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .16em;
}

.art-intro h1 {
  margin: 0 0 28px;

  color: var(--art-text);

  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.035em;
}

.art-intro h1 span {
  color: var(--art-gold-light);
}

.art-intro-lead {
  max-width: 680px;
  margin: 0 0 20px;

  color: var(--art-gold-light);

  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}

.art-intro-description {
  max-width: 700px;
  margin: 0;

  color: var(--art-muted);

  font-size: 14px;
  line-height: 1.75;
}


/* =========================================
   KÜNSTLER-SCHNELLNAVIGATION
   ========================================= */

.art-quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.art-quicknav a {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;

  padding: 13px 18px;

  border: 1px solid rgba(179,138,90,.4);
  border-radius: 8px;

  background: rgba(42,33,25,.75);
  color: var(--art-text);

  font-size: 13px;
  text-decoration: none;

  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.art-quicknav a span {
  color: var(--art-gold-light);
  font-size: 17px;
}

.art-quicknav a:hover {
  background: rgba(179,138,90,.14);
  border-color: var(--art-gold-light);
  transform: translateY(-2px);
}


/* =========================================
   HINWEISE
   ========================================= */

.art-notices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 95px;
}

.art-notice {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 17px;
  padding: 27px 25px;

  border: 1px solid var(--art-border);
  border-radius: 10px;

  background: linear-gradient(
    145deg,
    #291f17,
    #17120e
  );
}

.art-notice-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  border: 1px solid var(--art-gold);
  border-radius: 50%;

  color: var(--art-gold-light);

  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
}

.art-notice-copyright {
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
}

.art-notice-content h2 {
  margin: 1px 0 16px;

  color: var(--art-gold-light);

  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.art-notice-content p {
  margin: 0 0 12px;

  color: var(--art-muted);

  font-size: 12px;
  line-height: 1.8;
}

.art-notice-content p:last-child {
  margin-bottom: 0;
}


/* =========================================
   KÜNSTLERBEREICHE
   ========================================= */

.art-artist {
  margin-bottom: 95px;
  scroll-margin-top: 100px;
}

.art-artist + .art-artist {
  margin-top: 0;
}

.art-artist-heading {
  display: flex;
  align-items: center;
  gap: 30px;

  margin-bottom: 43px;
  padding-bottom: 29px;

  border-bottom: 1px solid var(--art-border);
}

.art-artist-number {
  flex: 0 0 auto;

  color: rgba(179,138,90,.3);

  font-size: clamp(65px, 8vw, 100px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.07em;
}

.art-artist-info {
  min-width: 0;
}

.art-artist-info .art-eyebrow {
  margin-bottom: 12px;
}

.art-artist-info h2 {
  margin: 0 0 17px;

  color: var(--art-text);

  font-size: clamp(29px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.art-artist-info h2 span {
  color: var(--art-gold-light);
}

.art-artist-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;

  color: var(--art-muted);
  font-size: 13px;
}

.art-details-dot {
  width: 4px;
  height: 4px;

  border-radius: 50%;
  background: var(--art-gold);
}


/* =========================================
   GALERIE-ELEMENTE
   ========================================= */

.art-gallery-item {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;

  border: 1px solid var(--art-border);
  border-radius: 5px;

  background: #1c1611;

  transition:
    border-color .3s ease,
    box-shadow .3s ease,
    transform .3s ease;
}

.art-gallery-item img {
  display: block;

  width: 100%;
  height: 350px;

  margin: 0;
  padding: 0;

  object-fit: contain;
  object-position: center;

  background: #1c1611;

  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.art-gallery-item figcaption {
  margin-top: auto;
  padding: 12px 13px;

  border-top: 1px solid var(--art-border);

  background: #19130e;
  color: var(--art-muted);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.art-gallery-item:hover {
  border-color: var(--art-gold);

  box-shadow:
    0 12px 30px rgba(0,0,0,.3),
    0 0 16px rgba(179,138,90,.08);

  transform: translateY(-3px);
}


/* =========================================
   HORIZONTALE BILDERGALERIEN
   ========================================= */

.art-carousel {
  position: relative;
  width: 100%;
  padding: 0 45px;
}

.art-gallery.art-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;

  gap: 15px;
  width: 100%;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.art-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Vier Werke nebeneinander */

.art-carousel-track .art-gallery-item {
  flex: 0 0 calc((100% - 45px) / 4);
  width: auto;

  scroll-snap-align: start;
}


/* =========================================
   GALERIE-PFEILE
   ========================================= */

.art-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 58px;

  border: 1px solid rgba(179,138,90,.55);
  border-radius: 8px;

  background: rgba(33,26,20,.96);
  color: var(--art-gold-light);

  font-family: inherit;
  font-size: 30px;
  line-height: 1;

  cursor: pointer;
  transform: translateY(-50%);

  transition:
    background .25s ease,
    border-color .25s ease,
    opacity .25s ease;
}

.art-carousel-prev {
  left: 0;
}

.art-carousel-next {
  right: 0;
}

.art-carousel-arrow:hover:not(:disabled) {
  background: #3c2c1f;
  border-color: var(--art-gold-light);
}

.art-carousel-arrow:disabled {
  opacity: .25;
  cursor: default;
}

.art-carousel-arrow:focus-visible {
  outline: 2px solid var(--art-gold-light);
  outline-offset: 3px;
}


/* =========================================
   GALERIE-ZÄHLER
   ========================================= */

.art-carousel-status {
  margin: 17px 0 0;

  color: var(--art-muted);

  font-size: 11px;
  letter-spacing: .06em;
  text-align: center;
}


/* =========================================
   ABSCHLUSS
   ========================================= */

.art-ending {
  display: flex;
  align-items: center;
  flex-direction: column;

  gap: 20px;
  padding: 55px 20px 0;

  text-align: center;
}

.art-ending-line {
  display: block;

  width: 38px;
  height: 1px;

  background: var(--art-gold);

  box-shadow:
    0 0 9px rgba(179,138,90,.35);
}

.art-ending p {
  margin: 0;

  color: var(--art-muted);

  font-size: 13px;
  line-height: 1.6;
}

.art-ending a {
  display: inline-flex;
  align-items: center;
  gap: 18px;

  padding: 12px 18px;

  border: 1px solid rgba(179,138,90,.55);
  border-radius: 8px;

  color: var(--art-text);
  font-size: 12px;
  text-decoration: none;

  transition:
    background .25s ease,
    border-color .25s ease;
}

.art-ending a span {
  color: var(--art-gold-light);
  font-size: 23px;
  line-height: .7;
}

.art-ending a:hover {
  background: rgba(179,138,90,.12);
  border-color: var(--art-gold-light);
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1000px) {

  .art-carousel-track .art-gallery-item {
    flex-basis: calc((100% - 30px) / 3);
  }

  .art-gallery-item img {
    height: 310px;
  }

  .art-notices {
    grid-template-columns: 1fr;
  }

  .art-artist {
    margin-bottom: 90px;
  }

}


/* =========================================
   KLEINERE DISPLAYS
   ========================================= */

@media (max-width: 700px) {

  .art-page {
    padding: 35px 20px 75px;
  }

  .art-back {
    margin-bottom: 35px;
  }

  .art-intro {
    margin-bottom: 55px;
  }

  .art-intro h1 {
    font-size: clamp(36px, 8vw, 52px);
  }

  .art-intro-lead {
    font-size: 15px;
  }

  .art-intro-description {
    font-size: 13px;
  }

  .art-notices {
    margin-bottom: 75px;
    gap: 12px;
  }

  .art-notice {
    padding: 22px 18px;
    gap: 12px;
  }

  .art-artist-heading {
    gap: 20px;
    margin-bottom: 28px;
  }

  .art-artist-number {
    font-size: 65px;
  }

  .art-artist-info h2 {
    font-size: 30px;
  }

  .art-carousel {
    padding: 0 36px;
  }

  .art-gallery.art-carousel-track {
    gap: 12px;
  }

  .art-carousel-track .art-gallery-item {
    flex-basis: calc((100% - 12px) / 2);
  }

  .art-gallery-item img {
    height: 270px;
  }

  .art-carousel-arrow {
    width: 29px;
    height: 48px;
    font-size: 25px;
  }

}


/* =========================================
   SMARTPHONE
   ========================================= */

@media (max-width: 450px) {

  .art-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .art-intro h1 {
    font-size: 36px;
  }

  .art-quicknav {
    flex-direction: column;
  }

  .art-quicknav a {
    width: 100%;
  }

  .art-artist-heading {
    align-items: flex-start;
    gap: 14px;
  }

  .art-artist-number {
    font-size: 48px;
  }

  .art-artist-info h2 {
    font-size: 26px;
  }

  .art-artist-details {
    font-size: 12px;
    gap: 9px;
  }

  .art-carousel {
    padding: 0 34px;
  }

  .art-gallery.art-carousel-track {
    gap: 8px;
  }

  .art-carousel-track .art-gallery-item {
    flex-basis: 100%;
  }

  .art-gallery-item img {
    height: 350px;
  }

  .art-artist {
    margin-bottom: 75px;
  }

  .art-gallery-item figcaption {
    padding: 8px;
    font-size: 9px;
  }

  .art-notice {
    grid-template-columns: 26px 1fr;
    padding: 19px 15px;
  }

  .art-notice-icon {
    width: 25px;
    height: 25px;
    font-size: 15px;
  }

}


/* =========================================
   REDUZIERTE BEWEGUNG
   ========================================= */

@media (prefers-reduced-motion: reduce) {

  .art-page *,
  .art-page *::before,
  .art-page *::after {
    animation: none !important;
    transition: none !important;
  }

  .art-gallery.art-carousel-track {
    scroll-behavior: auto;
  }

  .art-gallery-item:hover {
    transform: none;
  }

}
