/* Homepage, product cards and homepage sections */

.hero {
  max-width: var(--max);
  margin: auto;
  min-height: calc(100vh - var(--header));
  padding: 56px 34px 80px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.hero h1,.section h2,.statement h2,.closing-cta h2,.page-hero h1,.about-hero h1,.commissions-hero h1,.contact-page-hero h1,.product-page h1,.legal-page h1 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .96;
}

.hero h1 {
  font-size: clamp(62px,7vw,116px);
  max-width: 760px;
  margin: 0 0 32px;
}

.hero-text {
  max-width: 600px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 70px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero-meta span {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.hero-meta strong {
  font-size: 10px;
}

.hero-meta em {
  font-size: 11px;
  color: var(--muted);
  font-style: normal;
}

.hero-art {
  min-height: 720px;
  position: relative;
}

.hero-main {
  width: 67%;
  height: 88%;
  margin: 0;
  position: absolute;
  right: 4%;
  top: 5%;
  background: #eee;
  overflow: hidden;
}

.hero-main img,.hero-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-small {
  position: absolute;
  margin: 0;
  border: 12px solid white;
  box-shadow: 0 16px 50px rgba(0,0,0,.09);
  overflow: hidden;
}

.hero-small-top {
  width: 32%;
  height: 39%;
  left: 0;
  top: 0;
}

.hero-small-bottom {
  width: 34%;
  height: 31%;
  left: 3%;
  bottom: 0;
}

.art-note {
  position: absolute;
  right: 0;
  bottom: 1%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  line-height: 1.4;
  transform: rotate(-90deg);
  transform-origin: bottom right;
}

/* Unendliches Laufband */
.marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background: #fff;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  will-change: transform;
  animation: marqueeInfinite 25s linear infinite;
}

.marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;

  /* Verhindert Lücken auf grossen Bildschirmen */
  min-width: 100vw;
  justify-content: space-around;

  white-space: nowrap;
}

.marquee-group span {
  flex-shrink: 0;
  padding: 22px 24px;

  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.marquee-group i {
  flex-shrink: 0;
  padding: 0 8px;
  font-style: normal;
}

/* Genau eine der zwei identischen Gruppen verschieben */
@keyframes marqueeInfinite {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section {
  max-width: var(--max);
  margin: auto;
  padding: 140px 34px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 52px;
}

.section h2,.statement h2 {
  font-size: clamp(48px,5.2vw,84px);
  margin: 0;
}

.section-intro {
  max-width: 540px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 18px;
  align-items: start;
}

.product-card {
  position: relative;
  align-self: start;
}

.product-image {
  /* Kein festes Seitenverhältnis */
  background: var(--soft);
  overflow: hidden;
  position: relative;
  display: block;
}

.product-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform .65s;
}

.product-card:hover .product-image img {
  transform: scale(1.025);
}

.product-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: white;
  padding: 7px 10px;
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.wishlist-btn {
  position: absolute;
  right: 11px;
  top: 11px;
  width: 35px;
  height: 35px;
  border: 0;
  background: rgba(255,255,255,.93);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.wishlist-btn svg {
  width: 17px;
  fill: none;
  stroke: #111;
  stroke-width: 1.5;
}

.wishlist-btn.active svg {
  fill: #111;
}

.quick-add {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 77px;
  transform: translateY(55px);
  opacity: 0;
  transition: .3s;
  border: 0;
  background: #111;
  color: #fff;
  height: 44px;
  cursor: pointer;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.product-card:hover .quick-add {
  transform: none;
  opacity: 1;
}

.product-info {
  padding-top: 15px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 15px;
}

.product-info h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  margin: 0;
  line-height: 1.15;
}

.product-info h3 a {
  text-decoration: none;
}

.product-info strong {
  font-size: 12px;
  font-weight: 500;
}

.product-info p {
  grid-column: 1/-1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.section-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 760px;
  background: var(--soft);
}

.statement-image {
  min-height: 760px;
}

.statement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.statement-copy {
  padding: 100px clamp(40px,7vw,120px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.statement-copy p:not(.eyebrow) {
  font-size: 17px;
  max-width: 560px;
  color: #555;
}

.statement-copy .text-link {
  align-self: flex-start;
  margin-top: 24px;
}

.home-feature {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.home-feature-copy h2 {
  margin-bottom: 24px;
}

.home-feature-copy p {
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 35px;
}

.home-feature-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.home-feature-images img {
  height: 620px;
  width: 100%;
  object-fit: cover;
}

.category-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-template-rows: 420px 340px;
  gap: 18px;
}

.category-card {
  position: relative;
  overflow: hidden;
  background: #eee;
  text-decoration: none;
}

.category-card.large {
  grid-row: 1/3;
}

.category-card:last-child {
  grid-column: 2/4;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
  filter: saturate(.9);
}

.category-card:hover img {
  transform: scale(1.025);
}

.category-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 48%,rgba(0,0,0,.58));
}

.category-card span {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: white;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.category-card strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.home-exhibition {
  background: #111;
  color: #fff;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  padding: 120px max(34px,calc((100vw - var(--max))/2 + 34px));
  align-items: center;
}

.home-exhibition h2 {
  font-family: var(--serif);
  font-size: clamp(48px,5vw,82px);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 30px;
}

.home-exhibition p:not(.eyebrow) {
  color: #bbb;
  max-width: 560px;
  margin-bottom: 35px;
}

.home-exhibition-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  height: 600px;
}

.home-exhibition-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing-cta {
  text-align: center;
  padding: 150px 34px;
  background: var(--soft);
}

.closing-cta h2 {
  font-size: clamp(58px,7vw,112px);
  max-width: 1000px;
  margin: 0 auto 45px;
}

.closing-cta div {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
