:root{
  --ink: #0a0a0a;
  --muted: #6b7280;
  --bg: #ffffff;
  --pill: #0b2c5a;
  --pillText: #ffffff;
  --max: 980px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

/* Top */
.top{
  display: flex;
  justify-content: center;
  padding: 18px 16px 0;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px 40px;
}

.hero{
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 18px 0 22px;
}

.logo{
  width: min(560px, 86vw);
  height: auto;
  display: block;
}

/* Pills */
.pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid rgba(11,44,90,.18);
  color: var(--pill);
  background: #fff;
}

.pill--primary{
  background: var(--pill);
  color: var(--pillText);
  border-color: rgba(0,0,0,.08);
}

.gallery {
  width: min(100%, 880px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.gallery .tile {
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #ddd;
}

.gallery .tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

/* Tablet */
@media (max-width: 991.98px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Smartphone */
@media (max-width: 575.98px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Kleine Smartphones */
@media (max-width: 380px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 99999;
}

.lightbox.is-open {
  display: block;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox__dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 40px;
}

.lightbox__figure {
  margin: 0;
  max-width: 95vw;
  max-height: 90vh;
}

.lightbox__img {
  display: block;
  max-width: 95vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  margin: 0 auto;
}

.lightbox__caption {
  color: #fff;
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 34px;
  cursor: pointer;
}

.lightbox__nav--prev {
  left: 20px;
}

.lightbox__nav--next {
  right: 20px;
}
/* =================================================
   Galerie + Lightbox (eigene Styles für Mik-Art)
   ================================================= */

.gallery {
  width: min(100%, 880px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.gallery .tile {
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.gallery .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tablet */
@media (max-width: 991px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Smartphone */
@media (max-width: 575px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* kleine Smartphones */
@media (max-width: 380px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox.is-open {
  display: block;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.9);
}

.lightbox__dialog {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 40px;
}

.lightbox__img {
  max-width: 95vw;
  max-height: 85vh;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
/* Cookie Banner */

/* Cookie Banner */

.cookie-warning {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #333;
  color: #fff;
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  z-index: 1000000;
}

.cookie-warning a {
  color: #fff;
  text-decoration: underline;
}

.cookie-warning button {
  margin-left: 12px;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  background: #fd680e;
  color: #fff;
  cursor: pointer;
}

.cookie-warning button:hover {
  background: #e55c0a;
}
/* Modernes Cookie Banner */

.cookie-warning {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 900px);

  background: rgba(30,30,30,0.95);
  backdrop-filter: blur(6px);

  color: #fff;
  padding: 16px 22px;
  border-radius: 12px;

  font-size: 14px;
  line-height: 1.5;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  box-shadow: 0 8px 30px rgba(0,0,0,0.35);

  z-index: 1000000;
}

.cookie-warning a {
  color: #fff;
  text-decoration: underline;
}

.cookie-warning button {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;

  background: #fd680e;
  color: #fff;
  font-weight: 500;

  cursor: pointer;
  transition: background .25s ease;
}

.cookie-warning button:hover {
  background: #e55c0a;
}

/* Smartphone */

@media (max-width: 600px) {

  .cookie-warning {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

}
.cookie-warning {
  animation: cookieFade .6s ease;
}

@keyframes cookieFade {
  from {
    opacity: 0;
    transform: translate(-50%,20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%,0);
  }
}
/* Galerie Hover Fokus */

.gallery .tile img {
  transition: transform .35s ease, filter .35s ease;
}

/* leichtes Zoom auf dem Bild */
.gallery .tile:hover img {
  transform: scale(1.05);
}

/* andere Bilder leicht abdunkeln */
.gallery:hover .tile img {
  filter: brightness(.75);
}

.gallery .tile:hover img {
  filter: brightness(1);
}