/* Grundeinstellungen */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #080808;
  color: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;

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

  width: 100%;
  min-height: 80px;
  padding: 0 5%;

  background-color: rgba(8, 8, 8, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-navigation a {
  position: relative;
  padding: 10px 0;

  color: #c7c7c7;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  transition: color 0.25s ease;
}

.main-navigation a::after {
  position: absolute;
  bottom: 4px;
  left: 0;

  width: 0;
  height: 1px;

  background-color: #ffffff;
  content: "";
  transition: width 0.25s ease;
}

.main-navigation a:hover {
  color: #ffffff;
}

.main-navigation a:hover::after {
  width: 100%;
}

/* Mobiler Menüknopf */
.menu-button {
  display: none;

  width: 36px;
  padding: 6px;

  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-button span {
  display: block;

  width: 100%;
  height: 2px;
  margin: 5px 0;

  background-color: #ffffff;
}

/* Hero-Bereich */
.hero {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 100vh;
  padding: 140px 8% 80px;

  background:
    linear-gradient(115deg, #050505 10%, rgba(5, 5, 5, 0.72) 48%, #202020),
    radial-gradient(circle at 75% 40%, #555555 0%, #171717 42%, #050505 75%);
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: -8%;
  bottom: -30%;

  width: 55vw;
  height: 55vw;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.eyebrow {
  margin-bottom: 18px;

  color: #a8a8a8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 28px;

  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero-text {
  max-width: 520px;
  margin-bottom: 38px;

  color: #bdbdbd;
  font-size: 1rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 0 28px;

  background-color: #ffffff;
  color: #080808;
  border: 1px solid #ffffff;

  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;

  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.primary-button:hover {
  background-color: transparent;
  color: #ffffff;
}

/* Produktbereich */
.products-section {
  padding: 110px 5%;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;

  margin-bottom: 45px;
}

.section-heading h2,
.about-section h2 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-transform: uppercase;
}

.section-heading > p {
  max-width: 430px;
  color: #969696;
}

/* Markenfilter */
.brand-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-bottom: 36px;
}

.filter-button {
  padding: 12px 20px;

  background-color: transparent;
  border: 1px solid #343434;
  cursor: pointer;

  color: #a8a8a8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.filter-button:hover,
.filter-button.active {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #080808;
}

/* Produktkarten */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.product-card.hidden {
  display: none;
}

.product-image {
  position: relative;

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

  aspect-ratio: 4 / 5;
  margin-bottom: 18px;

  background-color: #151515;
  overflow: hidden;
}

.product-image img {
  position: relative;
  z-index: 2;

  width: 100%;
  height: 100%;

  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-image::before {
  display: none;
}

.product-image span {
  position: relative;
  z-index: 1;

  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.product-image-one {
  background: linear-gradient(145deg, #292929, #101010);
}

.product-image-two {
  background: linear-gradient(145deg, #161616, #333333);
}

.product-image-three {
  background: linear-gradient(145deg, #353535, #131313);
}

.product-image-four {
  background: linear-gradient(145deg, #222222, #0e0e0e);
}

.product-information {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
}

.product-brand {
  margin-bottom: 5px;

  color: #787878;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.product-information h3 {
  font-size: 0.95rem;
  font-weight: 700;
}

.product-colors {
  margin-top: 7px;

  color: #b5b5b5;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.product-price {
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Über-uns-Bereich */
.about-section {
  padding: 120px 8%;

  background-color: #efefef;
  color: #090909;
}

.about-section h2 {
  max-width: 900px;
  margin-bottom: 30px;
}

.about-section > p:last-child {
  max-width: 650px;

  color: #555555;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 70px;

  padding: 75px 5% 30px;

  background-color: #050505;
  border-top: 1px solid #222222;
}

.site-footer > div:first-child p {
  max-width: 320px;
  margin-top: 16px;
  color: #777777;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 15px 45px;
}

.footer-links a {
  color: #999999;
  font-size: 0.78rem;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.copyright {
  grid-column: 1 / -1;

  padding-top: 30px;

  color: #555555;
  border-top: 1px solid #1c1c1c;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* Anklickbare Produktkarte */
.product-card[role="button"] {
  cursor: pointer;
  outline: none;
}

.product-card[role="button"]:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 6px;
}

/* Produkt-Detailansicht */
.product-modal {
  position: fixed;
  z-index: 2000;
  inset: 0;

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

  padding: 30px;
}

.product-modal.open {
  display: flex;
}

.modal-background {
  position: absolute;
  inset: 0;

  background-color: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);

  width: min(1100px, 100%);
  max-height: calc(100vh - 60px);

  background-color: #111111;
  border: 1px solid #2d2d2d;
  overflow-y: auto;
}

/* Schließen-Knopf */
.modal-close {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 18px;

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

  width: 42px;
  height: 42px;

  background-color: rgba(8, 8, 8, 0.85);
  color: #ffffff;
  border: 1px solid #3a3a3a;
  border-radius: 50%;
  cursor: pointer;

  font-size: 1.8rem;
  line-height: 1;
}

/* Bildergalerie */
.product-gallery {
  padding: 25px;
  background-color: #181818;
}

.gallery-main {
  aspect-ratio: 4 / 5;
  background-color: #222222;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.18s ease;
}

.gallery-main img.is-changing {
  opacity: 0;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;

  margin-top: 12px;
}

.thumbnail-button {
  aspect-ratio: 4 / 5;
  padding: 0;

  background-color: #222222;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;

  opacity: 0.55;
  transition:
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.thumbnail-button:hover,
.thumbnail-button.active {
  border-color: #ffffff;
  opacity: 1;
}

.thumbnail-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Produktinformationen */
.modal-product-information {
  display: flex;
  justify-content: center;
  flex-direction: column;

  padding: 70px 45px 45px;
}

.modal-product-information h2 {
  margin-bottom: 40px;

  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
}

.size-section > p {
  margin-bottom: 12px;

  color: #9b9b9b;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-bottom: 35px;
}

.size-options span {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 48px;
  height: 44px;
  padding: 0 10px;

  border: 1px solid #444444;

  font-size: 0.75rem;
  font-weight: 700;
}

.product-description {
  margin-bottom: 35px;

  color: #999999;
  font-size: 0.9rem;
  line-height: 1.7;
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;
  padding: 0 25px;

  background-color: #ffffff;
  color: #080808;
  border: 1px solid #ffffff;

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.contact-button:hover {
  background-color: transparent;
  color: #ffffff;
}

/* Kein Scrollen hinter der geöffneten Produktansicht */
body.modal-is-open {
  overflow: hidden;
}

/* Kontakt */
.contact-section {
  padding: 110px 8%;
  background: #101010;
}

.contact-section h2 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-transform: uppercase;
}

.contact-section > p:not(.eyebrow) {
  max-width: 560px;
  color: #999999;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid #444444;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.secondary-button:hover {
  background-color: #1c1c1c;
  border-color: #ffffff;
}

/* Impressum und Datenschutz */
.legal-page {
  min-height: 100vh;
  padding: 145px max(5%, calc((100% - 900px) / 2)) 90px;
}

.legal-page h1 {
  margin-bottom: 45px;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-transform: uppercase;
}

.legal-section {
  margin-bottom: 42px;
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.legal-section p,
.legal-section li {
  color: #b0b0b0;
  line-height: 1.75;
}

.legal-section ul {
  padding-left: 20px;
}

.legal-section a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 28px;
  color: #9a9a9a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .contact-section {
    padding: 80px 20px;
  }

  .contact-actions,
  .contact-actions a {
    width: 100%;
  }

  .legal-page {
    padding: 110px 20px 65px;
  }
}

/* Galerie: Vorschaubilder neben dem Hauptbild */
.product-gallery {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.gallery-main {
  grid-column: 2;
  grid-row: 1;

  max-height: calc(100vh - 110px);
}

.gallery-main img {
  object-fit: contain;
  background-color: #181818;
}

.gallery-thumbnails {
  grid-column: 1;
  grid-row: 1;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 8px;

  max-height: calc(100vh - 110px);
  margin-top: 0;
}

.thumbnail-button {
  width: 100%;
}

/* Tablet */
@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 45px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

   /* Smartphone */
@media (max-width: 700px) {
  .site-header {
    min-height: 64px;
    padding: 0 20px;
  }

  .logo {
    font-size: 1rem;
  }

  .menu-button {
    display: block;
    width: 34px;
  }

  .main-navigation {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;

    display: none;
    flex-direction: column;
    gap: 0;

    padding: 10px 20px 20px;

    background-color: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid #292929;
  }

  .main-navigation.open {
    display: flex;
  }

  .main-navigation a {
    padding: 16px 0;
    border-bottom: 1px solid #202020;
  }

    .product-modal {
    align-items: flex-start;
    padding: 0;
  }

  .modal-content {
    grid-template-columns: 1fr;

    width: 100%;
    min-height: 100svh;
    max-height: 100svh;

    border: 0;
  }

  .modal-close {
    position: fixed;
    top: 14px;
    right: 14px;
  }

  .product-gallery {
    display: block;
    padding: 0 0 14px;
  }

  .gallery-main {
    aspect-ratio: 4 / 5;
    max-height: none;
  }

  .gallery-main img {
    object-fit: cover;
  }

  .gallery-thumbnails {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-height: none;
    margin: 10px 14px 0;
  }

  .modal-product-information {
    padding: 35px 20px 55px;
  }

  .modal-product-information h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
  }

  .contact-button {
    width: 100%;
  }

  /* Hero */
  .hero {
    align-items: flex-end;

    min-height: 100svh;
    padding: 110px 20px 65px;

    background:
      linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.15) 0%,
        rgba(5, 5, 5, 0.45) 45%,
        #050505 100%
      ),
      radial-gradient(
        circle at 70% 25%,
        #4b4b4b 0%,
        #1a1a1a 35%,
        #050505 75%
      );
  }

  .hero::after {
    top: 14%;
    right: -25%;
    bottom: auto;

    width: 90vw;
    height: 90vw;
  }

  .hero-overlay {
    background-size: 32px 32px;
  }

  .hero-content {
    width: 100%;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.62rem;
  }

  .hero h1 {
    margin-bottom: 20px;

    font-size: clamp(3rem, 15vw, 4.6rem);
    letter-spacing: -0.065em;
    line-height: 0.88;
  }

  .hero-text {
    max-width: 340px;
    margin-bottom: 28px;

    font-size: 0.9rem;
    line-height: 1.6;
  }

  .primary-button {
    width: 100%;
    min-height: 54px;
  }

  /* Produkte */
  .products-section {
    padding: 75px 16px;
  }

  .section-heading {
    gap: 18px;
    margin-bottom: 30px;
  }

  .section-heading h2,
  .about-section h2 {
    font-size: 2.8rem;
  }

  .section-heading > p {
    font-size: 0.88rem;
  }

  .brand-filters {
    flex-wrap: nowrap;
    gap: 8px;

    margin-right: -16px;
    margin-bottom: 25px;
    padding-right: 16px;
    padding-bottom: 6px;

    overflow-x: auto;
    scrollbar-width: none;
  }

  .brand-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex-shrink: 0;
    padding: 10px 16px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 10px;
  }

  .product-image {
    margin-bottom: 12px;
  }

  .product-information {
    display: block;
  }

  .product-brand {
    font-size: 0.58rem;
  }

  .product-information h3 {
    min-height: 38px;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .product-price {
    margin-top: 7px;
    font-size: 0.78rem;
  }

  /* Über uns */
  .about-section {
    padding: 75px 20px;
  }

  .about-section h2 {
    margin-bottom: 22px;
  }

  .about-section > p:last-child {
    font-size: 0.95rem;
  }

  /* Footer */
  .site-footer {
    grid-template-columns: 1fr;
    gap: 38px;

    padding: 60px 20px 25px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}
