/* Preview-only look, inspired by a photo-first layout. Does not change legal pages. */

/* ---- Homepage full-screen hero ---- */
body.page-home { background: #0f0f0f; }
body.page-home .site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(15,15,15,.55), rgba(15,15,15,0));
  border-bottom-color: transparent;
}
body.page-home .site-header.is-solid {
  position: sticky;
  background: rgba(15,15,15,.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.hero-full {
  position: relative;
  height: 100svh;
  min-height: 32rem;
  max-height: 100svh;
  background: #000;
  overflow: hidden;
  color: #fff;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 7rem 1.25rem 5rem;
  background:
    linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.12) 42%, rgba(0,0,0,.58) 100%);
}
.hero-overlay .hero-logo {
  height: clamp(70px, 13vw, 120px);
  width: auto;
  max-width: min(86vw, 420px);
  margin: 0 0 1.15rem;
  opacity: .94;
  filter: drop-shadow(0 4px 22px rgba(0,0,0,.55));
}
.hero-overlay .hero-line {
  margin: 0 0 1.4rem;
  font-family: var(--font-head);
  font-weight: 300;
  letter-spacing: .04em;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  line-height: 1.35;
  color: #f6f1e6;
  max-width: 22em;
  text-shadow: 0 2px 18px rgba(0,0,0,.7);
}
.hero-overlay .btn-primary {
  background: var(--gold-grad);
  color: #111;
  border: 0;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
.hero-overlay .btn-primary:hover { background: #fff; color: #111; }
.hero-rating {
  margin-top: 1.15rem;
  display: inline-flex; align-items: center; gap: .4rem;
  color: #f2f2f2;
  text-decoration: none;
  font-size: .92rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.7);
  opacity: .92;
}
.hero-rating:hover { color: #fff; opacity: 1; }
.hero-rating .stars { color: var(--star); font-size: .9rem; }
.hero-nav {
  position: absolute; z-index: 3; top: 50%;
  transform: translateY(-50%);
  width: 2.6rem; height: 2.6rem;
  border: 0; border-radius: 50%;
  background: rgba(15,15,15,.35);
  color: #fff; cursor: pointer;
  font-size: 1.4rem; line-height: 1;
}
.hero-nav:hover, .hero-nav:focus-visible { background: rgba(15,15,15,.7); }
.hero-nav.prev { left: .7rem; }
.hero-nav.next { right: .7rem; }
.hero-dots {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.1rem;
  display: flex; justify-content: center; gap: .45rem;
}
.hero-dots button {
  width: .55rem; height: .55rem; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
}
.hero-dots button[aria-current="true"] { background: var(--accent); }
@media (max-width: 640px) {
  .hero-nav { display: none; }
  .hero-overlay { padding: 6.2rem 1.1rem 4.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* ---- Gallery: large entry tiles + dense grids ---- */
.cat-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  margin: 0 0 2.5rem;
}
@media (min-width: 700px) {
  .cat-tiles { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .cat-tiles { grid-template-columns: repeat(6, 1fr); }
  .cat-tiles .cat-tile:nth-child(1),
  .cat-tiles .cat-tile:nth-child(2) { grid-column: span 3; }
  .cat-tiles .cat-tile:nth-child(n+3) { grid-column: span 2; }
}
.cat-tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #111;
  min-height: 11rem;
}
.cat-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
  transition: transform .6s ease;
}
.cat-tile:hover img, .cat-tile:focus-visible img { transform: scale(1.04); }
.cat-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72) 100%);
}
.cat-tile span {
  position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: .9rem;
  font-family: var(--font-head);
  font-weight: 300;
  letter-spacing: .04em;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  text-shadow: 0 2px 14px rgba(0,0,0,.8);
}
.page-galerie .filters { margin-bottom: 1.25rem; }
.page-galerie .gallery-grid {
  gap: 3px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .page-galerie .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .page-galerie .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.page-galerie #gallery-grid > .tile {
  border-radius: 0;
  border: 0;
  aspect-ratio: 3 / 4;
  min-height: 0;
}
.page-galerie #gallery-grid > .tile.tile-wide,
.page-galerie #gallery-grid > .tile.tile-span-2-md { aspect-ratio: 3 / 4; }
@media (min-width: 700px) {
  .page-galerie #gallery-grid > .tile-span-2-md { grid-column: auto; }
}
.page-galerie .group-title {
  grid-column: 1 / -1;
  margin: 1.6rem 0 .15rem;
  padding: .2rem 0;
  font-family: var(--font-head);
  font-weight: 300;
  letter-spacing: .06em;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  background: transparent;
}
.page-galerie .section > .wrap { width: min(100% - 1.2rem, 1280px); }
@media (min-width: 700px) {
  .page-galerie .section > .wrap { width: min(100% - .6rem, 1280px); }
}

/* ---- Leistung pages: image strip first ---- */
.img-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin: 0 0 0;
  background: #000;
}
@media (min-width: 800px) {
  .img-strip { grid-template-columns: repeat(6, 1fr); }
  .img-strip figure:nth-child(-n+6) { min-height: 38vh; }
}
.img-strip figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #111;
}
@media (min-width: 800px) {
  .img-strip figure { aspect-ratio: auto; height: 42vh; min-height: 16rem; }
}
.img-strip img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
}
.page-leistung .breadcrumb { margin-top: .6rem; }
