/* ======================================================================
   MERCH.MS · merch.puls-muenster.de
   ----------------------------------------------------------------------
   Dunkler, minimaler Showcase: fast schwarze Bühne, viel Luft, wenig
   Worte. Die Produktfotos hängen wie gerahmte Drucke im dunklen Raum.
   Display-Typo: DM Sans in Versalien mit Sperrung – kühl, technisch,
   ohne Kursive. Akzent: kühles Schieferblau statt Gold; Farbe kommt
   sonst nur aus den Produkten (Navy-Licht / Grün-Licht).
   Palette: Bühne #0f0f11 · Sand #f0ebe0 · Schiefer #9fb6cc
            · Navy-Licht #8fb4e3 (Aasee) · Grün-Licht #7db898 (Promenade)
   Fonts:   DM Sans (selbst gehostet) für Display und UI.
   ====================================================================== */

:root {
  --display: 'DM Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --sans: 'DM Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;

  --stage:     #0f0f11;
  --stage-2:   #16161a;
  --surface:   #1b1b20;
  --ink:       #f0ebe0;
  --ink-2:     #c9c3b4;
  --muted:     #8f8a7c;
  --hairline:  rgba(240, 235, 224, 0.14);
  --hairline-2:rgba(240, 235, 224, 0.07);

  --accent:    #9fb6cc;
  --navy-l:    #8fb4e3;
  --green-l:   #7db898;
  --bord:      #6e3644;
  --bord-l:    #d0929c;
  --sand-l:    #d8c6a3;

  --radius:    6px;

  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55), 0 8px 20px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--stage);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* leiser Lichtkegel von oben */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(240, 235, 224, 0.06), transparent 65%),
    radial-gradient(700px 700px at 85% 110%, rgba(194, 160, 90, 0.05), transparent 60%);
}

/* ------------------------------------------------------ Fakten-Leiste oben */

.ticker {
  list-style: none;
  margin: 0;
  padding: 9px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--stage-2);
  border-bottom: 1px solid var(--hairline-2);
  text-align: center;
}

.ticker li { display: inline; }

.ticker li + li::before { content: "▲"; color: var(--accent); font-size: 6px; padding: 0 14px; vertical-align: 2px; }

/* ---------------------------------------------------------------- topbar */

#topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 28px;
}

.brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

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

.brand .ms { color: var(--accent); }

#topbar nav { display: flex; gap: 26px; }

#topbar nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms ease;
}

#topbar nav a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ hero */

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px 90px;
}

.hero {
  text-align: center;
  padding: 64px 0 0;
}

/* Skyline als ruhiger Horizont direkt unter der Headline */
.hero-skyline {
  max-width: 880px;
  margin: 20px auto 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.hero-skyline svg {
  display: block;
  width: 100%;
  height: auto;
  fill: var(--ink);
}

.hero-skyline use { opacity: 0.08; }

/* "Gestickt, nicht gedruckt": ein Laufstich näht sich einmal durch den
   Horizont. Der gestrichelte Faden wird per clip-path freigelegt, die
   glühende Nadel läuft mit identischem Timing an der Stichkante mit. */
.stitch {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-dasharray: 15 11;
  opacity: 0.5;
  clip-path: inset(0 100% 0 0);
  animation: stitch-draw 3.2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.stitch-needle {
  fill: var(--accent);
  opacity: 0;
  filter: drop-shadow(0 0 6px var(--accent));
  animation: needle-run 3.2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes stitch-draw {
  to { clip-path: inset(0 0 0 0); }
}

@keyframes needle-run {
  0%   { transform: translateX(0); opacity: 0; }
  6%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(1200px); opacity: 0; }
}

.hero-kicker {
  margin: 0 0 22px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.16;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0;
}

.hero h1 em { font-style: normal; color: var(--navy-l); }

/* "MÜNSTER." als 3D-Stickerei, wie der Schriftzug auf den Caps:
   feine diagonale Linien simulieren die Fadenlage des Plattstichs,
   der vertikale Verlauf den Glanz des Garns, die Schlagschatten heben
   den Stick vom Stoff ab. Fallback oben: einfarbig Hellblau. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em {
    background:
      repeating-linear-gradient(115deg,
        rgba(255, 255, 255, 0.32) 0 1px,
        rgba(255, 255, 255, 0) 1px 3px),
      linear-gradient(180deg, #c4d8ee 0%, var(--navy-l) 45%, #6f97c9 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.55))
            drop-shadow(0 3px 5px rgba(0, 0, 0, 0.45));
  }
}

/* -------------------------------------------------------------- Produkte */

/* vier Caps → ruhiges 2×2-Raster */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 40px;
  margin-top: 72px;
}

.product { text-align: center; }

.product-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ececea;
  box-shadow: var(--shadow-lg);
}

/* einheitlich quadratisch; object-fit fängt abweichende Formate ab */
.product-media { aspect-ratio: 1 / 1; }

.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

/* kleines "Aufsetzen" der Cap beim Hover */
.product:hover .product-media img { transform: scale(1.03) rotate(-1.4deg); }

.product h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 30px 0 6px;
}

.product h2 .quote { font-style: normal; }

.product-aasee h2 .quote,          .product-aasee h1 .quote          { color: var(--navy-l); }
.product-promenade h2 .quote,      .product-promenade h1 .quote      { color: var(--green-l); }
.product-prinzipalmarkt h2 .quote, .product-prinzipalmarkt h1 .quote { color: var(--bord-l); }
.product-domplatz h2 .quote,       .product-domplatz h1 .quote       { color: var(--sand-l); }

/* Brotkrümel auf Detailseiten */
.crumbs {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--muted);
}

.crumbs a { color: var(--ink-2); text-decoration: none; }

.crumbs a:hover { color: var(--ink); }

.product-sub {
  margin: 0 0 18px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--muted);
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.price {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.8px;
}

.price .tax {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.4px;
  color: var(--muted);
}

.order-btn {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 13px 26px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.order-btn:hover {
  background: var(--ink);
  color: var(--stage);
  border-color: var(--ink);
}

/* Produktkarten verlinken auf die Detailseiten */
.product-media a { display: block; height: 100%; }

.product h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}

.product h2 a:hover .quote { text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------- Story ("Vier Caps, vier Orte") */

.story {
  margin: 96px auto 0;
  padding-top: 44px;
  border-top: 1px solid var(--hairline-2);
  max-width: 620px;
  text-align: center;
}

.story p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}

.story p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------- FAQ */

.faq {
  margin: 96px auto 0;
  padding-top: 44px;
  border-top: 1px solid var(--hairline-2);
  max-width: 620px;
}

.faq .hero-kicker { text-align: center; }

.faq details { border-bottom: 1px solid var(--hairline-2); }

.faq details:first-of-type { border-top: 1px solid var(--hairline-2); }

.faq summary {
  cursor: pointer;
  padding: 16px 2px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color 150ms ease;
}

.faq summary:hover { color: var(--accent); }

.faq details p {
  margin: 0;
  padding: 0 2px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}

.faq details a { color: var(--ink-2); border-bottom: 1px solid var(--hairline); text-decoration: none; }

.faq details a:hover { color: var(--ink); }

/* ------------------------------------------------ Produkt-Detailseiten (PDP) */

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-top: 56px;
}

.pdp .product-media { max-width: 520px; }

.pdp-info { text-align: left; }

.pdp-info h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.pdp-info h1 .quote { font-style: normal; }

.pdp-info .product-sub { margin-bottom: 22px; }

.pdp-info p.pdp-text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}

.pdp-facts {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  font-size: 13px;
  color: var(--muted);
}

.pdp-facts li { padding: 7px 0; border-bottom: 1px solid var(--hairline-2); }

.pdp-facts li:first-child { border-top: 1px solid var(--hairline-2); }

.pdp .product-foot { justify-content: flex-start; }

.pdp-back {
  display: inline-block;
  margin-top: 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.pdp-back:hover { color: var(--ink); }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 36px; max-width: 480px; margin: 40px auto 0; }
  .pdp .product-media { max-width: none; }
}

/* ------------------------------------------------------------ Warteliste */

.waitlist {
  margin: 96px auto 0;
  padding-top: 44px;
  border-top: 1px solid var(--hairline-2);
  max-width: 620px;
  text-align: center;
}

.waitlist-lede {
  margin: 0 0 26px;
  font-size: 15px;
  color: var(--ink-2);
}

.waitlist-form {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}

.waitlist-form select,
.waitlist-form input[type="text"],
.waitlist-form input[type="email"] {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 12px 20px;
  outline: none;
  min-width: 0;
  transition: border-color 150ms ease;
}

.waitlist-form select { cursor: pointer; }

.waitlist-form input::placeholder { color: var(--muted); }

.waitlist-form select:focus,
.waitlist-form input[type="text"]:focus,
.waitlist-form input[type="email"]:focus { border-color: var(--accent); }

.waitlist-form button.order-btn {
  font-family: var(--sans);
  background: none;
  cursor: pointer;
}

/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

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

.waitlist-hint {
  margin: 18px auto 0;
  max-width: 52ch;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.waitlist-hint a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--hairline); }

.waitlist-hint a:hover { color: var(--ink); }

/* --------------------------------------------- LinkedIn-Links (extern) */

.li-link::before {
  content: "";
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin-right: 0.45em;
  vertical-align: -0.12em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.85 0-2.14 1.45-2.14 2.94v5.67H9.35V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12zM7.12 20.45H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.72v20.55C0 23.22.79 24 1.77 24h20.45c.98 0 1.78-.78 1.78-1.73V1.72C24 .77 23.2 0 22.22 0z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.45 20.45h-3.55v-5.57c0-1.33-.03-3.04-1.85-3.04-1.85 0-2.14 1.45-2.14 2.94v5.67H9.35V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12zM7.12 20.45H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.72v20.55C0 23.22.79 24 1.77 24h20.45c.98 0 1.78-.78 1.78-1.73V1.72C24 .77 23.2 0 22.22 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Pfeil als Kennzeichnung "externer Link, öffnet in neuem Tab" */
.li-link::after {
  content: "↗";
  font-size: 0.8em;
  margin-left: 0.3em;
  vertical-align: 0.15em;
}

/* ---------------------------------------------------------------- Kontakt */

.team {
  margin: 96px auto 0;
  padding-top: 44px;
  border-top: 1px solid var(--hairline-2);
  max-width: 620px;
  text-align: center;
}

.team-photo {
  display: block;
  width: 340px;
  max-width: 78vw;
  height: auto;
  margin: 0 auto 24px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline-2);
  box-shadow: var(--shadow-lg);
}

.team-names {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.team-names a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  transition: color 150ms ease, border-color 150ms ease;
}

.team-names a:hover { color: var(--accent); border-color: var(--accent); }

.team-names .amp { color: var(--accent); padding: 0 6px; }

.team-line { margin: 0; font-size: 14px; color: var(--muted); }

.team-line a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--hairline); }

.team-line a:hover { color: var(--ink); }

/* ------------------------------------------------- Skyline über dem Footer */

.skyline {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.skyline svg {
  display: block;
  width: 100%;
  height: auto;
  fill: var(--ink);
  opacity: 0.09;
}


/* ---------------------------------------------------------------- footer */

footer { margin-top: -1px; border-top: 1px solid var(--hairline-2); }

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}

footer p { margin: 0; font-size: 12px; color: var(--muted); }

footer p a { color: var(--ink-2); text-decoration: none; }

footer p a:hover { color: var(--ink); }

footer .heart { color: var(--accent); }

footer nav { display: flex; gap: 22px; }

footer nav a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms ease;
}

footer nav a:hover { color: var(--ink); }

/* ----------------------------------------------------- Unterseiten (legal) */

.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 28px 80px;
}

.legal h1 { font-family: var(--display); font-size: 26px; letter-spacing: 3px; text-transform: uppercase; margin: 0 0 10px; }

.legal .lede { color: var(--muted); margin: 0 0 32px; }

.legal h2 { font-family: var(--display); font-size: 15px; letter-spacing: 2px; text-transform: uppercase; margin: 32px 0 8px; }

.legal p, .legal ul { color: var(--ink-2); font-size: 15px; }

.legal a { color: var(--navy-l); }

.legal .back {
  display: inline-block;
  margin-top: 36px;
  text-decoration: none;
  color: var(--accent);
  font-weight: 500;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
  .products { grid-template-columns: 1fr; gap: 64px; max-width: 480px; margin: 64px auto 0; }
}

@media (max-width: 760px) {
  .hero { padding: 44px 0 0; }
  .waitlist, .team { margin-top: 72px; }
  .waitlist-form { grid-template-columns: 1fr; max-width: 340px; }
}

@media (max-width: 420px) {
  .product-foot { flex-direction: column; gap: 14px; }
}

/* --------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .product:hover .product-media img { transform: none; }
  /* Faden ohne Animation fertig gestickt zeigen, Nadel ausblenden */
  .stitch { clip-path: none; }
  .stitch-needle { display: none; }
}
