/* HERITAGE Showroom – Stylesheet
   Farben, Schriften und Abstände zentral als Variablen. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2-variations"), url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #111111;
  --text: #3A3733;
  --muted: #6B6762;
  --muted-2: #5C5853;
  --paper: #F3F2EF;
  --sand: #E7E4DE;
  --line: #DDD9D2;
  --ci-blue: #24244F;
  --gutter: 56px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* Oben dunkel, unten hell: verhindert in Safari einen hellen Haarstrich über dem Video
   und sorgt beim Über-Scrollen oben für Dunkel, unten für den hellen Seitenhintergrund. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #F3F2EF; }
html:has(body.home) { background: linear-gradient(#2B2825 50%, #F3F2EF 50%); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.home { background: #F3F2EF linear-gradient(#2B2825, #2B2825) no-repeat 0 0 / 100% 240px; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.7; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ci-blue); outline-offset: 3px; }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.label { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.body-text { font-size: 17px; line-height: 1.6; color: var(--text); }
.display { font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; line-height: 0.85; }
.media { overflow: hidden; background: #E2DBD0; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.r-45 { aspect-ratio: 4 / 5; }
.r-21 { aspect-ratio: 2 / 1; }
.r-32 { aspect-ratio: 3 / 2; }
.r-11 { aspect-ratio: 1 / 1; }
.r-34 { aspect-ratio: 3 / 4; }
.offset { margin-top: 96px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Raster */
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c7 { grid-column: span 7; } .c8 { grid-column: span 8; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cols4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px;
  background: #2B2825;
  color: #fff;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(12, 11, 10, 0.30); }
.hero-nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 40px;
  padding: 28px 24px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero-nav a { padding: 12px 0; }
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 760px;
  padding: 18vh 24px 96px;
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
}
.hero-tagline { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.hero-content h1 { width: 100%; }
.hero-logo { width: min(100%, 400px); height: auto; margin: 0 auto; filter: brightness(0) invert(1); }
.order-box {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 36px; border: 1.5px solid #fff; text-transform: uppercase;
}
.order-box strong { font-size: 20px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.12em; }
.order-box span { font-size: 14px; font-weight: 500; letter-spacing: 0.12em; }

.marquee-wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; overflow: hidden; padding: 22px 0; }
.marquee {
  display: flex; width: max-content; gap: 88px; padding-left: 56px;
  font-size: clamp(18px, 1.7vw, 26px); font-weight: 600; font-stretch: 125%; letter-spacing: 0.06em; white-space: nowrap;
  animation: marquee 44s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

/* ---------- About ---------- */
.about { padding-block: 140px 120px; }
.about h2 { font-size: clamp(34px, 4.4vw, 68px); line-height: 1.02; font-weight: 500; letter-spacing: -0.02em; }
.about .cols2 { column-gap: 48px; margin-top: 40px; }
.stats { margin-top: 96px; border-top: 1px solid var(--ink); }
.stat { padding-top: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.stat b { font-size: clamp(40px, 4.4vw, 64px); font-weight: 700; font-stretch: 125%; line-height: 1; white-space: nowrap; }
.stat span { font-size: 14px; line-height: 1.4; color: var(--muted-2); }

/* ---------- Brands ---------- */
.brands { padding-bottom: 140px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(56px, 9vw, 140px); }
.brand { margin-bottom: 140px; }
.brand-text { display: flex; flex-direction: column; gap: 24px; }
.brand-text.pad { padding-top: 64px; }
.brand-logo-circolo { width: 100%; max-width: 380px; height: auto; fill: currentColor; }
.brand-logo-myths { width: 100%; max-width: 300px; height: auto; fill: currentColor; }
.brand-logo-rf { width: 100%; max-width: 400px; height: auto; filter: invert(1); }
.quote-l { font-size: 40px; line-height: 1; }
.quote-m { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; color: var(--ink); }
.quote-block { display: flex; flex-direction: column; gap: 10px; margin-top: 56px; }
.frost { font-size: 22px; color: var(--ink); }
.jj-logos { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.jj-logos img { height: 130px; width: auto; }
.claim { font-size: clamp(32px, 3.6vw, 52px); line-height: 1; text-align: right; }
.cap { display: flex; flex-direction: column; gap: 10px; }
.cap figcaption { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.brand-ig { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: 4px; }
.nb { white-space: nowrap; }
.ig-link { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding: 12px 0 4px; }

/* ---------- Lookbook ---------- */
.lookbook { padding-bottom: 140px; }
.lookbook h2 { font-size: clamp(40px, 5vw, 76px); line-height: 1; }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; }
.strip figure { flex: 0 0 auto; width: 368px; scroll-snap-align: start; }
.strip .media { height: 460px; }

/* ---------- Showroom-Termine ---------- */
.dates { background: var(--sand); padding: 120px 0; }
.dates h2 { font-size: clamp(48px, 7vw, 108px); line-height: 0.88; margin-bottom: 64px; letter-spacing: -0.01em; }
.date-card { background: #fff; padding: 40px; display: flex; flex-direction: column; gap: 32px; }
.date-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.date-card h3 { font-size: 40px; font-weight: 800; font-stretch: 125%; }
.date-card li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--ink); font-size: 22px; }
.date-card li:last-child { border-bottom: 1px solid var(--ink); }
.date-card li span:last-child { color: var(--muted); }
.date-card address { margin-top: auto; font-style: normal; font-size: 15px; line-height: 1.6; color: var(--text); }
.maps-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* ---------- Leistungen ---------- */
.services { padding-block: 120px; }
.services .cols3 { border-top: 1px solid var(--ink); }
.service { padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.service h3 { font-size: 28px; font-weight: 700; font-stretch: 112%; }
.service p { font-size: 16px; line-height: 1.6; color: var(--text); }

/* ---------- People ---------- */
.people { padding-bottom: 140px; }
.person { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.person .media { background: #fff; }
.person .media img { object-fit: contain; }
.person-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.person h3 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1; font-weight: 700; font-stretch: 125%; }
.person-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 15px; text-align: right; }
.wa { display: inline-flex; margin-top: 6px; }

/* ---------- Kontakt ---------- */
.contact { padding: 120px 0 56px; border-top: 1px solid var(--line); }
.contact-mail { display: inline-block; margin: 24px 0 72px; font-size: clamp(32px, 6.4vw, 100px); line-height: 0.95; font-weight: 500; letter-spacing: -0.02em; border-bottom: 2px solid var(--ci-blue); overflow-wrap: anywhere; }
.contact-label { margin-bottom: 48px; }
.contact-info { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.contact-info .label { font-size: 12px; margin-bottom: 8px; display: block; }
.contact-info a.big { font-size: clamp(20px, 1.9vw, 26px); color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.contact-info .social { margin-top: 8px; }
.social { display: flex; gap: 12px; }
.social a { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.map-card { display: flex; flex-direction: column; gap: 14px; }
.map-card .meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.map-card b { display: block; font-size: 20px; font-weight: 700; font-stretch: 125%; }
.map-card .meta span { font-size: 15px; line-height: 1.5; color: var(--text); }
.credit { grid-column: 1 / -1; font-size: 11px; color: #8C877F; }

.insta { margin-top: 120px; }
.insta-text { display: flex; flex-direction: column; gap: 20px; padding-right: 24px; }
.insta-text h3 { font-size: clamp(32px, 3.6vw, 52px); font-weight: 500; letter-spacing: -0.02em; }
.follow { align-self: flex-start; display: inline-flex; align-items: center; gap: 16px; margin-top: 8px; font-size: 22px; font-weight: 600; letter-spacing: 0.04em; }
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.feed a { display: block; }

.site-footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.site-footer nav { display: flex; gap: 24px; }

/* ---------- Instagram: Raster + Detailansicht ---------- */
.feed a { position: relative; }
.feed .ig-badge { position: absolute; top: 8px; right: 8px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.ig-dialog { padding: 0; border: 0; background: transparent; width: min(94vw, 520px, calc((94vh - 240px) * 0.8)); max-width: none; max-height: 94vh; overflow: visible; }
.ig-dialog::backdrop { background: rgba(12, 11, 10, 0.78); }
.ig-card { background: #fff; color: var(--ink); max-height: 94vh; overflow-y: auto; border-radius: 6px; }
.ig-head { display: flex; align-items: center; gap: 12px; padding: 10px 8px 10px 14px; border-bottom: 1px solid #EFEFEF; }
.ig-avatar { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #E5E5E5; object-fit: cover; background: #F3F2EF; }
.ig-user { font-weight: 600; font-size: 15px; }
.ig-close { margin-left: auto; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.ig-media { position: relative; background: #000; }
.ig-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 5; }
.ig-track::-webkit-scrollbar { display: none; }
.ig-slide { flex: 0 0 100%; scroll-snap-align: start; }
.ig-slide img, .ig-slide video { width: 100%; height: 100%; object-fit: cover; }
.ig-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: var(--ink); display: none; align-items: center; justify-content: center; cursor: pointer; }
.ig-nav.prev { left: 10px; } .ig-nav.next { right: 10px; }
.ig-media.multi .ig-nav { display: inline-flex; }
.ig-nav[hidden] { display: none !important; }
.ig-dots { display: flex; justify-content: center; gap: 5px; padding: 10px 0 0; min-height: 6px; }
.ig-dots i { width: 6px; height: 6px; border-radius: 50%; background: #D0D0D0; }
.ig-dots i.on { background: #3897F0; }
.ig-body { padding: 8px 16px 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; }
.ig-likes { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ig-likes[hidden] { display: none; }
.ig-caption { white-space: pre-line; }
.ig-caption b { font-weight: 600; margin-right: 4px; }
.ig-caption a { color: #00376B; }
.ig-date { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: #8E8E8E; }
.ig-open { align-self: flex-start; margin-top: 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding: 6px 0 2px; }
html.ig-open-lock { overflow: hidden; }

/* ---------- Rechtsseiten ---------- */
.legal-head { max-width: 880px; margin: 0 auto; padding: 40px 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.legal-head img { height: 48px; width: auto; }
.legal-head .back { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.legal { max-width: 880px; margin: 0 auto; padding: 80px 24px 120px; display: flex; flex-direction: column; gap: 40px; font-size: 17px; line-height: 1.65; color: var(--text); }
.legal h1 { font-size: clamp(30px, 8.5vw, 80px); line-height: 0.9; font-weight: 800; font-stretch: 125%; color: var(--ink); }
.legal h2 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.legal h2.small { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 8px; }
.legal section p + p { margin-top: 10px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .intro { font-size: 19px; color: var(--ink); }

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
  :root { --gutter: 20px; }
  .c4, .c5, .c7, .c8 { grid-column: span 12; }
  .cols2, .cols3 { grid-template-columns: minmax(0, 1fr); }
  .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offset { margin-top: 40px; }

  .hero-nav { display: none; }
  .hero-content { padding: 0 16px; gap: 18px; }
  .hero-tagline { font-size: 11px; letter-spacing: 0.2em; line-height: 1.8; }
  .hero-tagline span { display: block; }
  .hero-tagline .sep { display: none; }
  .hero-logo { width: 240px; }
  .order-box { padding: 12px 28px; }
  .order-box strong { font-size: 16px; }
  .order-box span { font-size: 12px; }
  .marquee { gap: 44px; padding-left: 16px; font-size: 16px; }
  .marquee-wrap { padding: 16px 0; }

  .about { padding-block: 72px 64px; }
  .about .cols2 { margin-top: 24px; gap: 16px; }
  .stats { margin-top: 48px; }
  .brands, .lookbook, .people { padding-bottom: 64px; }
  .section-head { margin-bottom: 28px; }
  .brand { margin-bottom: 64px; }
  .brand-text.pad { padding-top: 0; }
  .brand-text { order: -1; }
  .quote-l { font-size: 30px; }
  .quote-block { margin-top: 36px; }
  .jj-logos { gap: 12px; }
  .jj-logos img { height: 84px; }
  .claim { text-align: left; }
  .jj-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px !important; }
  .jj-main figure:nth-child(2) { margin-top: 40px; }
  .jj-more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px !important; margin-top: 12px !important; }
  .jj-more > :first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .jj-more > :first-child img { object-position: 50% 12%; }
  .strip figure { width: 260px; }
  .strip .media { height: 360px; }
  .dates { padding: 64px 0; }
  .dates h2 { margin-bottom: 28px; font-size: clamp(34px, 11vw, 48px); }
  .date-card { padding: 24px; gap: 20px; }
  .date-card h3 { font-size: 28px; }
  .date-card li { font-size: 18px; padding: 12px 0; }
  .services { padding-block: 64px; }
  .services .cols3 { gap: 0; }
  .service { padding: 20px 0; border-bottom: 1px solid var(--ink); gap: 8px; }
  .service span { display: none; }
  .service h3 { font-size: 22px; }
  .people .pair { gap: 12px; }
  .person-row { flex-direction: column; }
  .person h3 { font-size: 17px; line-height: 1.05; }
  .person-contact { align-items: flex-start; text-align: left; font-size: min(15px, 4vw); line-height: 1.35; gap: 12px; margin-top: 4px; }
  .person-contact a:not(.wa) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
  .person-contact a:not(.wa) { padding-block: 6px; }
  .person-contact { gap: 2px; }
  .wa svg { width: 48px; height: 48px; }
  .contact { padding-top: 64px; }
  .contact-mail { margin: 16px 0 40px; }
  .insta { margin-top: 64px; }
  .insta-text { padding-right: 0; }
  .feed { gap: 4px; }
  .feed .ig-badge { top: 6px; right: 6px; width: 18px; height: 18px; }
  .ig-dialog { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; }
  .ig-card { max-height: 100dvh; height: 100%; border-radius: 0; }
}
