/* gwürZH — Landing Page styles
   ─ alle Farben & Dichte über CSS-Variablen, von JS via :root überschrieben ─ */

:root {
  --text: #141414;      /* schwarzer Lauftext */
  --ink: #205298;       /* Marken-Blau (aus Logo) — Akzentfarbe */
  --ink-soft: #2a64b5;
  --paper: #faf7f0;     /* warmes cremeweiss, EINHEITLICH */
  --paper-2: #faf7f0;   /* identisch — keine Sektion-Abstufung mehr */
  --accent: #205298;    /* default = Marken-Blau */
  --line: rgba(20, 20, 20, 0.14);

  /* density */
  --pad-y: 110px;
  --gap: 32px;
  --h1: clamp(56px, 9vw, 148px);
  --h2: clamp(36px, 5.5vw, 84px);
  --body: 18px;
}

:root[data-density="kompakt"] {
  --pad-y: 70px;
  --gap: 20px;
  --h1: clamp(44px, 7vw, 112px);
  --h2: clamp(28px, 4vw, 64px);
  --body: 16px;
}

:root[data-density="luftig"] {
  --pad-y: 160px;
  --gap: 48px;
  --h1: clamp(64px, 11vw, 180px);
  --h2: clamp(44px, 6.5vw, 100px);
  --body: 19px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--text);
  font-family: "Fraunces", "Cormorant Garamond", Georgia, serif;
  font-size: var(--body);
  line-height: 1.5;
  overflow-x: hidden;
}

body {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* Subtle paper grain (deaktiviert — sauberer Hintergrund gewünscht) */
body::before { display: none; }

/* ─── NAVIGATION ─────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(250, 247, 240, 0.82);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(20, 20, 20, 0.06);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  height: 26px;
}
.nav-brand img {
  height: 100%;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  white-space: nowrap;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

.nav-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  white-space: nowrap;
}
.nav-meta span { opacity: 0.6; }

/* ─── STICKY SHAKER ─────────────────────────────────────────── */

.shaker {
  position: fixed;
  top: 70px;
  right: 40px;
  width: 150px;
  height: auto;
  z-index: 90;
  transform-origin: 72% 22%;
  will-change: transform;
  pointer-events: none;
  filter: drop-shadow(0 8px 24px rgba(27, 58, 107, 0.12));
  transition: filter 0.3s;
}

.shaker img {
  width: 100%;
  height: auto;
  display: block;
}

/* Falling grains — deaktiviert */
.grain { display: none; }

/* ─── PAGE FRAME ─────────────────────────────────────────── */

main {
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  padding: var(--pad-y) 40px var(--pad-y) clamp(40px, 15vw, 240px);
}

.container {
  max-width: 1280px;
  margin: 0;
  position: relative;
}

/* Section index dot label, like 01 · HERO */
.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 20px;
}

/* ─── HERO ─────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  padding-top: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: var(--h1);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 14ch;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.hero-eyebrow {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 300;
  margin-bottom: 28px;
  opacity: 0.7;
  letter-spacing: -0.01em;
}

.hero-sub {
  margin-top: 48px;
  max-width: 38ch;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.45;
  opacity: 0.78;
}

.hero-actions {
  margin-top: 56px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  transition: transform 0.15s, background 0.2s;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(4px); }

/* Hero kreis-4 stamp */
.hero .container { position: relative; min-height: 70vh; padding-bottom: 60px; width: 100%; align-self: stretch; }

.kreis-stamp {
  position: absolute;
  bottom: 40px;
  right: 0;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.02em;
  opacity: 0.65;
  pointer-events: none;
}

.kreis-stamp svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 60s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── GESCHICHTE ─────────────────────────────────────────── */

.story {
  /* einheitlicher Hintergrund — keine sektion-spezifische Farbe */
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story h2 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: var(--h2);
  line-height: 0.96;
  letter-spacing: -0.03em;
  max-width: 14ch;
  text-wrap: balance;
  color: var(--text);
}
.story h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
}

.story-body {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
  max-width: 42ch;
}
.story-body p + p { margin-top: 1.2em; }

.story-meta {
  margin-top: 32px;
  display: flex;
  gap: 32px;
  font-family: "Fraunces", serif;
  font-style: italic;
}
.story-meta div b {
  display: block;
  font-family: "Inter Tight", sans-serif;
  font-style: normal;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.story-meta div span {
  font-size: 13px;
  opacity: 0.7;
}

.story-sketch {
  position: relative;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-sketch svg {
  width: 100%;
  height: 100%;
}

.story-link {
  margin-top: 36px;
  display: inline-flex;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 22px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  align-items: center;
  gap: 8px;
}
.story-link:hover { color: var(--ink); border-color: currentColor; }

/* ─── INSTAGRAM FEED ─────────────────────────────────────────── */

.insta-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}
.insta-head h2 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: var(--h2);
  letter-spacing: -0.03em;
  line-height: 0.96;
  max-width: 16ch;
  color: var(--text);
}
.insta-head h2 em { font-style: italic; color: var(--ink); font-weight: 300; }

.insta-handle {
  font-family: "Inter Tight", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.insta-tile {
  aspect-ratio: 1;
  background: transparent;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s, border-color 0.2s;
  color: var(--ink);
}
.insta-tile:hover { transform: scale(1.02); border-color: var(--ink); }

.insta-tile svg {
  width: 60%;
  height: 60%;
  opacity: 0.85;
}

.insta-tile .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 13px;
  background: linear-gradient(transparent, var(--paper));
  opacity: 0;
  transition: opacity 0.2s;
  color: var(--text);
}
.insta-tile:hover .caption { opacity: 1; }

.insta-tile.wide { grid-column: span 2; aspect-ratio: 2/1; }

/* ─── NEWSLETTER ─────────────────────────────────────────── */

.news {
  /* einheitlicher Hintergrund — wie der Rest */
}

.news-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.news h2 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: var(--h2);
  letter-spacing: -0.03em;
  line-height: 0.96;
  max-width: 12ch;
  color: var(--text);
}
.news h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
}

.news p {
  margin-top: 28px;
  font-size: clamp(16px, 1.3vw, 19px);
  opacity: 0.78;
  max-width: 38ch;
  color: var(--text);
}

.news-form {
  display: flex;
  border: 1px solid var(--text);
  border-radius: 999px;
  padding: 6px;
  background: transparent;
  position: relative;
  max-width: 100%;
  box-sizing: border-box;
}
.news-form input {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  padding: 14px 22px;
}
.news-form input::placeholder { color: rgba(20,20,20,0.4); }
.news-form button {
  background: var(--text);
  color: var(--paper);
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.news-form button:hover { background: var(--ink); }

.news-promise {
  margin-top: 20px;
  font-size: 13px;
  opacity: 0.55;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

/* ─── PRODUKTE ───────────────────────────────────────────── */

.prod-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
.prod-head h2 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: var(--h2);
  letter-spacing: -0.03em;
  line-height: 0.96;
  color: var(--text);
  max-width: 14ch;
}
.prod-head h2 em { font-style: italic; color: var(--ink); font-weight: 300; }

.prod-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.prod-filter {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 9px 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.prod-filter:hover { border-color: var(--text); }
.prod-filter[aria-pressed="true"] {
  background: var(--text);
  color: var(--paper);
  border-color: var(--text);
}
.prod-filter .count {
  opacity: 0.5;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  margin-left: 0;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.prod-card {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: transparent;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
  overflow: hidden;
}
.prod-card:hover { border-color: var(--text); transform: translateY(-2px); }

.prod-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 7px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  z-index: 1;
}
.prod-tag.limited { background: var(--text); }

.prod-num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 11px;
  opacity: 0.55;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.prod-art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 4px 0 8px;
  color: var(--ink);
}
.prod-art svg { width: 58%; height: 80%; max-height: 110px; }

.prod-name {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 2px;
  color: var(--text);
}
.prod-notes {
  display: none;
}

.prod-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.prod-price {
  font-family: "Inter Tight", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.prod-add {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0;
  white-space: nowrap;
}
.prod-add:hover { color: var(--ink); }

/* ─── INSTAGRAM CTA TILE ─────────────────────────────────── */

.insta-cta {
  aspect-ratio: 1;
  background: var(--text);
  color: var(--paper);
  border: 1px solid var(--text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  text-decoration: none;
  transition: background 0.2s;
}
.insta-cta:hover { background: var(--ink); border-color: var(--ink); }
.insta-cta .ig-icon {
  width: 28px;
  height: 28px;
}
.insta-cta .ig-text {
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.insta-cta .ig-handle {
  font-family: "Inter Tight", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.7;
  margin-top: 6px;
  display: block;
  font-style: normal;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 1100px) {
  .nav-links { gap: 20px; font-size: 12px; }
  .prod-grid, .insta-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav { padding: 18px 24px; }
  .nav-links { display: none; }
  section { padding: var(--pad-y) 24px; }
  .shaker { width: 110px; top: 64px; right: 18px; }
  .story-grid, .news-grid { grid-template-columns: 1fr; gap: 48px; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-cta {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 20px;
  }
  .insta-cta .ig-icon { width: 32px; height: 32px; flex-shrink: 0; }
  .insta-cta .ig-text { font-size: 19px; }
  .insta-cta .ig-handle { margin-top: 2px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .kreis-stamp { display: none; }
}

@media (max-width: 520px) {
  .insta-grid { grid-template-columns: 1fr 1fr; }
  .insta-cta .ig-text { font-size: 17px; line-height: 1.2; }
}
