:root {
  --bg: #fefefe;
  --text: #111111;
  --line: #dcdcdc;
  --muted: #6d6d6d;
}

* {
  box-sizing: border-box;
}

html,
body.shop-view {
  min-height: 100%;
  background-color: var(--bg);
  background-image: url("/assets/site/frzr_bg-65db2483.jpg");
  background-repeat: repeat-y;
  background-size: 100% auto;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "ArialNarrow", Arial, sans-serif;
}

.shop-page {
  padding: calc(56px + 1rem) 1rem 1rem;
  max-width: none;
  width: 100%;
  margin: 0;
}

.projects-grid,
.shop-board {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 56px - 2rem);
  display: block;
}

.project-box {
  border: 0;
  aspect-ratio: 1 / 1;
  background: #FFF69B;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 4px 6px 2px rgba(0, 0, 0, 0.35);
  position: relative;
  padding: 0;
}

.project-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #FFF69B;
}

.project-title {
  position: absolute;
  left: 6px;
  bottom: 6px;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.25rem 0.35rem;
  border-radius: 999px;
  color: #000000;
  font-family: "OuvrieresAffamees", "ArialNarrow", Arial, sans-serif;
}

.project-link {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size, 250px);
  transform: translate(var(--x, 0px), var(--y, 0px)) rotate(var(--r, 0deg));
  display: block;
  text-decoration: none;
  color: inherit;
}

.project-link .project-box {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.project-link:hover .project-box {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .shop-page {
    padding: calc(64px + 1.25rem) 1.25rem 1.25rem;
    max-width: none;
    width: 100%;
    margin: 0;
  }

  .projects-grid,
  .shop-board {
    min-height: calc(100vh - 64px - 2.5rem);
  }

  /* Neue Regel: Board in Desktop-Ansicht auf Breite des Hintergrundbildes setzen und zentrieren */
  .shop-board {
    width: 70%;
    margin: 0 auto;
  }

  html, body.shop-view {
    background-size: 70% auto; /* Bild schmaler auf Desktop*/
    background-position: center top;
    background-repeat: repeat-y;
  }
}

@font-face {
  font-family: "ArialNarrow";
  src: url("/assets/fonts/arialnarrow-f0a7ff15.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sniglet";
  src: url("/assets/fonts/Sniglet-Regular-5a3e893e.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OuvrieresAffamees";
  src: url("/assets/fonts/Ouvrieres-affamees-24c3e09a.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
