/* RetroWaren – Stylesheet
   Schrift: Rubik (SIL Open Font License 1.1), lokal eingebunden – keine Verbindung zu Google. */

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/rubik-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Rubik";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/rubik-latin-wght-italic.woff2") format("woff2");
}

:root {
  --ground: #1A110B;
  --brown: #72452E;
  --brown-dark: #4A3324;
  --cream: #F3E7D3;
  --cream-soft: #D9C7AE;
  --muted: #C9B49A;
  --accent: #F08A3C;
  --mustard: #E9B44C;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--cream);
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cream); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--cream); color: var(--ground); padding: 12px 18px; font-weight: 700; z-index: 10; }
.skip:focus { left: 12px; top: 12px; color: var(--ground); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-size: 17px; font-weight: 700; text-decoration: none; line-height: 1.2;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn svg { transition: transform .2s ease; flex: none; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--ground); }
.btn-primary:hover { background: #FFA05A; color: var(--ground); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(240,138,60,.28); }
.btn-small { padding: 12px 22px; font-size: 15px; }

/* Kopfzeile */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.site-header .logo img { width: 250px; }

/* Streifen */
.stripes { display: flex; flex-direction: column; }
.stripes span { display: block; }
.stripes span:nth-child(1) { background: var(--accent); }
.stripes span:nth-child(2) { background: var(--mustard); }
.stripes span:nth-child(3) { background: var(--cream); }

/* Hero */
.hero { position: relative; padding: 40px 0 96px; overflow: hidden; }
.hero .stripes { position: absolute; left: 50%; width: 100vw; top: 58%; gap: 10px; }
.hero .stripes span { height: 14px; }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0; padding: 8px 0; font-size: clamp(46px, 6.6vw, 92px); line-height: .95; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
h1 em { color: var(--accent); font-style: italic; }
.lead { margin: 0; max-width: 460px; font-size: 19px; color: var(--cream-soft); }
.hero-cta { padding: 4px 0; }
.hero-photo { flex: 1.25 1 440px; min-width: 0; position: relative; }
.hero-photo img {
  position: relative;
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border: 8px solid var(--cream); border-radius: 22px;
  transform: rotate(1.5deg);
  box-shadow: 0 30px 60px rgba(0,0,0,.55);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.hero-photo:hover img { transform: rotate(0deg) scale(1.015); }

/* Abschnitte */
h2 { margin: 0; font-size: clamp(34px, 4.4vw, 60px); line-height: 1; font-weight: 900; letter-spacing: -.015em; text-transform: uppercase; }
.section-text { margin: 0; max-width: 440px; color: var(--cream-soft); }

.finds { padding-top: 56px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 44px; }
.finds-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 24px; }
.find { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.find .frame { overflow: hidden; border-radius: 16px; }
.find img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.find:hover img { transform: scale(1.06); }
.find figcaption { display: flex; align-items: baseline; gap: 12px; font-size: 18px; font-weight: 700; }
.find figcaption span { font-size: 14px; font-weight: 800; color: var(--accent); }

.buy { background: var(--brown); }
.buy-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 96px; padding-bottom: 96px; }
.buy-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.buy-text h2 { color: #FFF6E6; }
.buy-text p { margin: 0; max-width: 440px; color: var(--cream); }
.buy-card {
  flex: 1.2 1 420px; min-width: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 30px; border-radius: 18px;
  background: var(--cream); color: var(--ground); text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.buy-card:hover { color: var(--ground); transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.3); }
.buy-card svg { transition: transform .25s ease; flex: none; }
.buy-card:hover svg { transform: translate(4px, -4px); }
.buy-card .name { display: block; font-size: 26px; font-weight: 800; line-height: 1.2; }
.buy-card .url { display: block; margin-top: 6px; font-size: 16px; color: var(--brown-dark); overflow-wrap: anywhere; }

.closing { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.closing p.section-text { max-width: 480px; }
.closing .btn { margin-top: 8px; }

/* Fußzeile */
.site-footer .stripes { gap: 6px; }
.site-footer .stripes span { height: 8px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 36px; padding-bottom: 44px; }
.footer-inner .logo img { width: 190px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; color: var(--muted); }
.footer-links a { display: inline-block; padding: 12px 0; color: var(--muted); }
.footer-links a:hover { color: var(--cream); }

/* Rechtstexte */
.legal { max-width: 820px; padding-top: 40px; padding-bottom: 104px; }
.legal h1 { font-size: clamp(38px, 5.4vw, 68px); padding: 0; margin-bottom: 40px; overflow-wrap: anywhere; hyphens: auto; }
.legal h2 { font-size: 24px; letter-spacing: 0; line-height: 1.25; text-transform: none; font-weight: 800; margin: 48px 0 12px; color: #FFF6E6; }
.legal h3 { font-size: 18px; font-weight: 700; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--cream-soft); font-size: 17px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal address { font-style: normal; color: var(--cream); font-size: 18px; line-height: 1.6; margin: 0 0 14px; }
.legal a { overflow-wrap: anywhere; }
.legal .stand { margin-top: 48px; font-size: 15px; color: var(--muted); }
.back { display: inline-flex; align-items: center; gap: 8px; padding: 12px 0; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--accent); }
.back:hover { color: #FFA05A; }

/* Einblenden beim Scrollen (nur mit JavaScript aktiv) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .grid .reveal:nth-child(3n+2) { transition-delay: .08s; }
.js .grid .reveal:nth-child(3n) { transition-delay: .16s; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .site-header { padding-top: 20px; padding-bottom: 20px; }
  .site-header .logo img { width: 190px; }
  .hero { padding: 20px 0 72px; }
  .hero .stripes { left: -50vw; width: 200vw; gap: 8px; }
  .hero .stripes span { height: 10px; }
  .hero-inner { gap: 36px; }
  .hero-photo img { border-width: 6px; border-radius: 18px; }
  .finds { padding-top: 32px; padding-bottom: 72px; }
  .buy-inner { padding-top: 72px; padding-bottom: 72px; gap: 32px; }
  .buy-card { padding: 22px; }
  .closing { padding-top: 72px; padding-bottom: 72px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
