/* Scarpa – scarpa-online.ch */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --schwarz: #000000;
  --weiss: #ffffff;
  --grau: #8c8c8c;
  --feld: #141414;
  --blau: #1e4ba8;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--schwarz);
  color: var(--weiss);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--weiss); text-decoration: none; }
a:hover { color: var(--grau); }

p { margin: 0; }

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.kopf {
  padding: 96px 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.claim {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #bfbfbf;
  text-align: center;
  margin-right: -0.32em; /* optisch zentriert trotz Sperrung */
}

/* Scroll-Hinweis: nur auf dem Handy */
.scroll-hinweis { display: none; }
.scroll-icon {
  display: block;
  color: var(--weiss);
  animation: scroll-icon 2.4s ease-in-out infinite;
}
@keyframes scroll-icon {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%      { transform: translateY(8px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-icon { animation: none; opacity: 0.7; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.kopf img { width: 180px; }
.logo { margin: 0; font-size: 0; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Lagerverkauf: Laufband */
.lauf {
  display: block;
  overflow: hidden;
  background: var(--weiss);
  color: var(--blau);
  text-decoration: none;
  white-space: nowrap;
  padding: 14px 0;
}
.lauf:hover { color: var(--blau); }
.lauf[hidden] { display: none; }
.lauf-band {
  display: inline-flex;
  animation: lauf 40s linear infinite;
}
.lauf:hover .lauf-band { animation-play-state: paused; }
.lauf-text {
  flex: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-right: 0.6em;
}
.lauf-text b { font-weight: 600; color: var(--schwarz); }
.lauf-text i { font-style: normal; padding: 0 0.6em; color: var(--blau); }
@keyframes lauf {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .lauf-band { animation-duration: 160s; }
}

/* Stores */
.stores {
  padding: 56px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 80px 48px;
}
.store img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 32px;
}
.store h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.store .adresse { margin-bottom: 16px; }
.store .zeiten {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 32px;
  margin: 0;
  color: var(--grau);
  font-variant-numeric: tabular-nums;
}
.store .zeiten dt, .store .zeiten dd { margin: 0; }

/* Instagram */
.instagram { padding: 56px 0; }

.insta-platzhalter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.insta-platzhalter a {
  aspect-ratio: 1 / 1;
  background: var(--feld);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grau);
  overflow: hidden;
}
.insta-platzhalter img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}
.insta-platzhalter a:hover img { opacity: 0.85; }

.insta-credit {
  margin-top: 4px;
  text-align: right;
  font-size: 7px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.insta-credit a { color: #6e6e6e; }

/* Adressen: Link zu Google Maps, dezent unterstrichen */
a.karte {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(140, 140, 140, 0.6);
  display: inline-block;
  padding: 10px 0;
  margin: -10px 0;
}
a.karte:hover { text-decoration-color: currentColor; color: inherit; opacity: 0.7; }

/* Angebote */
.angebote {
  padding: 56px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 64px 48px;
}
.angebote h2 {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.angebote p { color: var(--grau); }

/* Fuss */
.fuss {
  padding: 40px 0 64px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
}
.fuss a {
  color: var(--grau);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.store .adresse a {
  display: inline-block;
  padding: 10px 0;
  margin: -10px 0;
}
.fuss a:hover { color: var(--weiss); }
.fuss nav { display: flex; gap: 24px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .stores { gap: 56px; }
  .kopf {
    position: relative;
    min-height: calc(100vh - 48px);
    min-height: calc(100svh - 48px);
    padding: 0 0 72px;
    justify-content: center;
    gap: 20px;
  }
  .scroll-hinweis {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    transition: opacity 0.4s ease;
  }
  .scroll-hinweis.weg { opacity: 0; pointer-events: none; }
  .kopf img { width: 150px; }
  .store h2 { font-size: 22px; }
  .insta-platzhalter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lauf { padding: 12px 0; }
  .lauf-text { font-size: 12px; }
}
