/* FORMELLI – Website. Farben und Schriften nach der CI-PDF.
   Layout: Startseite nach Variante B (weiß), Kategorieseiten nach Variante A. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --gold: #a68648;
  --gold-70: #bea676;
  --gold-30: #e3d7c2;
  --tint: #f5f1e9;
  --ink: #111111;
  --grey: #4d4d4d;
  --mute: #6b6b6b;
  --rule: #e6e0d4;
  --line: #cfc7b6;
  --night: #0e0e0e;
  --night-2: #171717;
  --night-rule: #2c2c2c;
  --light: #f2f0ec;
  --dim: #a9a6a0;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1312px;
  --gutter: clamp(20px, 4.5vw, 64px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color-scheme: light;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
a { color: inherit; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; }
.caps {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--gold); color: #000; padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 30px;
  font-family: var(--display); font-stretch: 125%; font-weight: 500;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  background: var(--ink); color: #ffffff;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--gold); color: #000000; }
.btn-gold { background: var(--gold); color: #000000; font-weight: 600; }
.btn-gold:hover { background: var(--gold-70); color: #000000; }
.btn svg { flex: none; }

/* ---------- Kopf, Startseite ---------- */
.head-home {
  background: #ffffff;
  border-bottom: 1px solid var(--rule);
  padding: 20px var(--gutter);
}
.head-home .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 48px;
  min-height: 55px;
}
.brand img { width: 250px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 34px; }
.nav a, .nav .lang {
  font-family: var(--display); font-stretch: 125%; font-weight: 500;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  padding: 10px 0;
}
.nav .sep { width: 1px; height: 18px; background: var(--rule); }
.lang a { padding: 10px 2px; }
.lang .on { color: inherit; }
.lang .off { color: var(--mute); }

/* ---------- Kopf, hell (Kategorieseiten) ---------- */
.head-light {
  background: #ffffff;
  border-bottom: 1px solid var(--rule);
  padding: 20px var(--gutter);
}
.head-light .wrap {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px 32px;
  min-height: 62px;
}
.head-light .brand img { width: 290px; }
.head-light .nav-right { justify-content: flex-end; }
.head-light .nav a[aria-current="page"] { border-bottom: 1px solid var(--gold); padding-bottom: 9px; }
@media (max-width: 1080px) {
  .head-light .wrap { grid-template-columns: 1fr; justify-items: center; }
  .head-light .brand { order: -1; }
  .head-light .nav, .head-light .nav-right { justify-content: center; }
}
@media (max-width: 1080px) {
  .nav .sep { display: none; }
}
@media (max-width: 560px) {
  .brand img, .head-light .brand img { width: 220px; }
  .nav { gap: 2px 22px; }
}

/* ---------- Startseite: Bühne ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.34fr); }
.hero-text {
  padding: 72px var(--gutter);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 30px;
}
.hero-text .caps { letter-spacing: 0.22em; }
.hero h1 {
  font-family: var(--display); font-stretch: 125%; font-weight: 300;
  font-size: clamp(30px, 3.3vw, 46px); line-height: 1.2; letter-spacing: 0.01em;
  text-wrap: balance;
}
.hero-text p { color: var(--grey); max-width: 46ch; text-wrap: pretty; }
.slider { position: relative; aspect-ratio: 14 / 11; background: var(--tint); overflow: hidden; }
.slider img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.7s ease;
}
.slider img.is-on { opacity: 1; }
.slider-ui {
  position: absolute; left: 0; bottom: 0;
  display: none; align-items: center; gap: 4px;
  background: #ffffff; padding: 8px 8px 8px 24px;
}
.js .slider-ui { display: flex; }
.slider-count { margin-right: 12px; font-variant-numeric: tabular-nums; }
.slider-count span { color: var(--mute); }
.slider-ui button {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); color: var(--ink); padding: 0; cursor: pointer;
}
.slider-ui button:hover { border-color: var(--ink); background: var(--ink); color: #ffffff; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 56px var(--gutter); }
}

/* ---------- Startseite: Kollektionen ---------- */
.section { padding: 104px var(--gutter); }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px;
}
.section-head h2 {
  font-family: var(--display); font-stretch: 125%; font-weight: 400;
  font-size: 26px; letter-spacing: 0.04em; line-height: 1.3;
}
.section-head p { font-size: 15px; color: var(--mute); }
.home .section-head { padding-bottom: 28px; border-bottom: 1px solid var(--gold); }
.light-head { border-top: 1px solid var(--ink); padding-top: 20px; }

.index-row {
  min-height: 128px; padding: 24px 0;
  display: grid; grid-template-columns: 48px minmax(0, 380px) minmax(0, 1fr) auto; align-items: center; gap: 12px 40px;
  border-bottom: 1px solid var(--rule);
}
.index-no { color: var(--mute); font-size: 13px; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.index-name {
  font-family: var(--display); font-stretch: 125%; font-weight: 300;
  font-size: clamp(34px, 4.2vw, 52px); letter-spacing: 0.06em; line-height: 1.15; text-decoration: none;
}
a.index-name { color: var(--gold); }
a.index-name:hover { color: var(--ink); }
.index-sub { color: var(--grey); font-size: 16px; line-height: 1.5; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; white-space: nowrap;
  font-family: var(--display); font-stretch: 125%; font-weight: 500;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--line); color: var(--mute);
}
a.pill { background: var(--gold); border-color: var(--gold); color: #000000; font-weight: 600; }
a.pill:hover { background: var(--gold-70); border-color: var(--gold-70); color: #000000; }
@media (max-width: 860px) {
  .index-row { grid-template-columns: 36px minmax(0, 1fr); }
  .index-sub, .index-row .pill { grid-column: 2; justify-self: start; }
}

/* ---------- Startseite: TinyRobos-Band ---------- */
.feature { background: var(--gold-30); color: var(--ink); padding: 72px var(--gutter); }
.feature .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 88px; }
.feature-posters {
  flex: 1.3 1 420px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); align-items: end;
}
.framed { border: 6px solid #ffffff; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22); aspect-ratio: 5 / 7; object-fit: cover; width: 100%; }
.feature-posters img:nth-child(2) { margin-bottom: clamp(16px, 3vw, 36px); }
.feature-text { flex: 1 1 320px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.feature-text .caps { letter-spacing: 0.22em; }
.feature h2 {
  font-family: var(--display); font-stretch: 125%; font-weight: 300;
  font-size: clamp(34px, 3.4vw, 44px); line-height: 1.15; letter-spacing: 0.02em;
}
.feature p { color: #333333; max-width: 44ch; text-wrap: pretty; }
.feature a:hover { color: #000000; }

/* ---------- Startseite: Über Formelli ---------- */
.about .wrap { display: flex; flex-wrap: wrap; gap: 56px 96px; align-items: flex-start; }
.about-quote { flex: 1 1 340px; display: flex; flex-direction: column; gap: 26px; }
.about-quote blockquote {
  font-family: var(--display); font-stretch: 125%; font-weight: 300;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.4; color: var(--gold); text-wrap: balance;
}
.about-text { flex: 1.3 1 420px; display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.about-text p { color: var(--grey); text-wrap: pretty; }
.about-text .close { color: var(--ink); font-family: var(--display); font-stretch: 125%; font-size: 18px; line-height: 1.45; }

/* ---------- Kategorieseite ---------- */
.cat-head { padding: 44px var(--gutter) 72px; }
.cat-head .wrap { display: flex; flex-direction: column; gap: 44px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--mute); }
.crumbs a { color: var(--mute); }
.crumbs [aria-current] { color: var(--ink); }
.cat-cols { display: flex; flex-wrap: wrap; gap: 40px 96px; align-items: flex-start; }
.cat-title { flex: 1 1 340px; display: flex; flex-direction: column; gap: 26px; }
.cat-title h1 {
  font-family: var(--display); font-stretch: 125%; font-weight: 300;
  font-size: clamp(46px, 5vw, 64px); line-height: 1.05; letter-spacing: 0.06em; color: var(--gold);
}
.cat-title .lead {
  font-family: var(--display); font-stretch: 125%; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.4;
  max-width: 22em; text-wrap: balance;
}
.tabs { display: flex; flex-wrap: wrap; gap: 0 32px; border-bottom: 1px solid #d9d3c7; }
.tabs > * {
  font-family: var(--display); font-stretch: 125%; font-weight: 500;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  padding: 14px 0; color: var(--mute); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs a { color: var(--ink); border-bottom-color: var(--gold); }
.cat-text { flex: 1.4 1 420px; display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.cat-text p { color: var(--grey); text-wrap: pretty; }
.cat-text .close { color: var(--ink); font-family: var(--display); font-stretch: 125%; font-weight: 500; font-size: 16px; letter-spacing: 0.04em; }
.banner img { width: 100%; aspect-ratio: 16 / 9; max-height: 880px; object-fit: cover; object-position: 50% 30%; }

.grid-section { padding: 88px var(--gutter) 112px; }
.grid-section .wrap { display: flex; flex-direction: column; gap: 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 48px 24px; }
.card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; min-width: 0; }
.card .mat { background: var(--tint); padding: 28px; transition: background-color 0.2s ease; }
.card:hover .mat { background: var(--gold-30); }
.card img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; border: 5px solid #ffffff; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18); }
.card-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-name { font-family: var(--display); font-stretch: 125%; font-weight: 500; font-size: 14px; letter-spacing: 0.02em; line-height: 1.35; color: var(--ink); }
.card-price { font-size: 15px; white-space: nowrap; color: var(--ink); }
.card-meta { font-size: 13px; line-height: 1.4; color: var(--mute); }
.card:hover .card-name { color: var(--gold); }
.center { align-self: center; }

.facts { background: var(--tint); padding: 88px var(--gutter); }
.facts .wrap { display: flex; flex-direction: column; gap: 40px; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px 40px; }
.facts-grid h3 { font-family: var(--display); font-stretch: 125%; font-weight: 500; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; }
.facts-grid p { font-size: 15.5px; line-height: 1.6; color: var(--grey); }

/* ---------- Textseiten ---------- */
.text-page { padding: 64px var(--gutter) 96px; }
.text-page .wrap { max-width: 720px; display: flex; flex-direction: column; gap: 20px; }
.text-page h1 { font-family: var(--display); font-stretch: 125%; font-weight: 400; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; color: var(--gold); }
.text-page h2 { font-family: var(--display); font-stretch: 125%; font-weight: 500; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 20px; }
.text-page p, .text-page address { font-style: normal; color: var(--grey); }
.fill { background: #fff3a8; color: #000000; padding: 0 4px; }

/* ---------- Fuß ---------- */
.foot { background: #000000; color: var(--light); border-top: 1px solid var(--night-rule); padding: 72px var(--gutter) 36px; }
.foot .wrap { display: flex; flex-direction: column; gap: 56px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.foot-top > a img { width: 280px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; min-width: 150px; }
.foot-col .caps { color: var(--gold-70); letter-spacing: 0.16em; }
.foot-col a { font-size: 15px; line-height: 1.5; text-decoration: none; padding: 2px 0; }
.foot a:hover { color: var(--gold-70); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--night-rule); padding-top: 24px; font-size: 13px; color: var(--dim); }
.foot-base a { color: var(--dim); }
.foot-base .on { color: var(--light); text-decoration: none; }

/* Kontrastmodus des Browsers (etwa Firefox „Farben überschreiben“): Fuß, Rahmen und Farbband behalten ihre Farben.
   Sonst steht das helle Logo auf Weiß und die weißen Bilderrahmen werden schwarz. */
.foot, .card .mat, .feature { forced-color-adjust: none; }

@media (max-width: 700px) {
  .banner img { aspect-ratio: 4 / 3; }
  .btn { padding: 12px 24px; }
  .section { padding: 72px var(--gutter); }
  .grid-section { padding: 64px var(--gutter) 80px; }
  .grid { gap: 36px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card .mat { padding: 16px; }
  .card-line { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slider img, .btn, .card .mat { transition: none; }
}
