/* Page-specific styles */

/* ── HERO STILL ─────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-still { padding: var(--s-9) 0 var(--s-7); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-8);
  align-items: center;
  min-height: 70vh;
}
.hero-title {
  font-size: clamp(56px, 8vw, 112px);
  margin: 24px 0 28px;
  font-weight: 400;
}
.hero-title em { font-style: italic; color: var(--ink-2); }
.hero-title-light { color: var(--paper); }
.hero-title-light em { color: color-mix(in oklab, var(--paper) 80%, transparent); }
.hero-lede {
  font-size: 19px;
  line-height: 1.55;
  max-width: 520px;
  color: var(--ink-2);
  margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: var(--s-7); }
.hero-meta {
  display: flex;
  gap: var(--s-7);
  border-top: 1px solid var(--line-soft);
  padding-top: var(--s-5);
  margin-top: var(--s-6);
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .num {
  font-family: var(--display);
  font-size: 38px;
  line-height: 1;
}
.hero-meta .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero-bottle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease-out;
}
.hero-bottle-bg {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(ellipse at center, var(--paper-2) 0%, transparent 70%);
  z-index: 0;
}
.hero-bottle svg { position: relative; z-index: 1; }
.hero-bottle-cap {
  position: absolute;
  bottom: 6%;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  background: var(--paper);
  padding: 6px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  z-index: 2;
}

.hero-marquee {
  margin-top: var(--s-7);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: marquee 40s linear infinite;
}
.marquee-row {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
}
@keyframes marquee {
  to { transform: translateX(-33.33%); }
}

/* ── HERO FULLBLEED ─────────────────────────── */
.hero-fullbleed { padding: 0; }
.hero-fullbleed-img {
  height: 88vh;
  min-height: 600px;
}
.hero-fullbleed-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  padding-bottom: var(--s-10);
  background: linear-gradient(to bottom, transparent 40%, rgba(20,18,14,.7) 100%);
  pointer-events: none;
}
.hero-fullbleed-overlay .container { pointer-events: auto; }
.hero-fullbleed-overlay .hero-title { color: var(--paper); margin-bottom: 24px; }

/* ── HERO SPLIT ─────────────────────────────── */
.hero-split { padding: var(--s-8) 0 0; }
.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.hero-split-text {
  padding: var(--s-9) var(--s-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  margin-left: auto;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  align-self: flex-start;
}
.hero-link .arrow { transition: transform .25s ease; }
.hero-link:hover .arrow { transform: translateX(4px); }

.hero-signature {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sig-name { font-family: var(--display); font-style: italic; font-size: 22px; }
.sig-role { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }

.hero-split-bottles {
  position: relative;
  background: linear-gradient(to bottom, var(--paper-2) 0%, var(--paper-3) 100%);
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 20px;
  padding-bottom: 80px;
}
.hero-split-bottle { transition: transform .4s ease; }
.hero-split-bottle:hover { transform: translateY(-12px) rotate(-2deg); }
.hsb-1 { transform: translateY(-10px); }
.hsb-2 { transform: translateY(-30px); z-index: 2; }
.hsb-3 { transform: translateY(-10px); }
.hero-split-bottle:hover { z-index: 3; }
.hero-split-floor {
  position: absolute;
  left: 0; right: 0; bottom: 60px;
  height: 4px;
  background: var(--ink);
  opacity: 0.1;
}

/* ── TEASER GRID ────────────────────────────── */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.teaser-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .35s ease, background .35s ease;
}
.teaser-card:hover { transform: translateY(-4px); background: var(--paper-3); }
.teaser-bottle {
  height: 320px;
  display: flex; align-items: end; justify-content: center;
  padding-top: 24px;
  background: linear-gradient(to bottom, transparent 0%, color-mix(in oklab, var(--paper-3) 60%, transparent) 100%);
}
.teaser-card:hover .teaser-bottle svg { transform: rotate(-4deg) translateY(-6px); transition: transform .5s ease; }
.teaser-bottle svg { transition: transform .5s ease; }
.teaser-meta {
  padding: var(--s-5);
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.teaser-name {
  font-family: var(--display);
  font-size: 32px;
  margin: 4px 0 0;
  font-weight: 400;
}
.teaser-tag { color: var(--ink-2); margin: 0 0 12px; font-size: 14px; }
.teaser-link {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

/* ── MANIFEST ───────────────────────────────── */
.manifest { margin-top: var(--s-10); }
.manifest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.manifest-item {
  display: flex;
  gap: var(--s-5);
  padding: var(--s-7) var(--s-6);
  background: var(--paper);
  align-items: start;
}
.manifest-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  padding-top: 6px;
}
.manifest-t {
  font-family: var(--display);
  font-size: 28px;
  margin: 0 0 8px;
  font-weight: 400;
}
.manifest-d { color: var(--ink-2); margin: 0; max-width: 380px; }

/* ── STORY ──────────────────────────────────── */
.story-section { margin-top: var(--s-10); }
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-8);
  align-items: stretch;
}
.story-image .ph { aspect-ratio: 4/5; }
.story-text { padding: var(--s-5) 0; max-width: 560px; }
.story-h {
  font-size: clamp(32px, 4vw, 52px);
  margin: 16px 0 24px;
  font-weight: 400;
}
.story-p { color: var(--ink-2); font-size: 17px; line-height: 1.65; margin: 0 0 16px; }

/* ── GRAIN OVERLAY ──────────────────────────── */
.grain::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' /><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* ── BIERE PAGE ─────────────────────────────── */
.beers-hero {
  padding: var(--s-9) 0 var(--s-7);
  border-bottom: 1px solid var(--line-soft);
}
.beers-hero h1 {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 110px);
  margin: 16px 0 24px;
  font-weight: 400;
  line-height: 1;
}
.beers-hero p { font-size: 19px; color: var(--ink-2); max-width: 600px; margin: 0; }

.filter-bar {
  display: flex;
  gap: 8px;
  margin: var(--s-7) 0 var(--s-6);
  flex-wrap: wrap;
  align-items: center;
}
.filter-bar .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 12px;
}
.filter-chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  color: var(--ink-2);
  transition: all .2s;
}
.filter-chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter-chip:hover:not(.active) { border-color: var(--ink); color: var(--ink); }
.filter-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ── CAROUSEL ───────────────────────────────── */
.carousel {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-8);
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  min-height: 560px;
}
.carousel-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--paper-2) 0%, var(--paper-3) 100%);
  padding: var(--s-7);
  overflow: hidden;
}
.carousel-bottle {
  position: relative;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .6s ease;
}
.carousel-bottle:hover { transform: rotate(-6deg) translateY(-8px) scale(1.03); }

.carousel-glow {
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
}
.carousel-info {
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.carousel-info h3 {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  margin: 8px 0 16px;
  line-height: 1;
}
.carousel-tag { font-style: italic; color: var(--ink-2); font-size: 18px; margin: 0 0 24px; max-width: 480px; }
.carousel-desc { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin: 0 0 28px; max-width: 480px; }

.carousel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-bottom: 24px;
  max-width: 480px;
}
.carousel-stats > div {
  background: var(--paper);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.carousel-stats .num {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
}
.carousel-stats .lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.carousel-controls {
  position: absolute;
  bottom: var(--s-5);
  left: var(--s-5);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 5;
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
  color: var(--ink);
  font-size: 18px;
}
.carousel-btn:hover { background: var(--ink); color: var(--paper); }
.carousel-counter {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

/* ── PROFILE BARS ──────────────────────────── */
.profile {
  display: grid;
  gap: 10px;
  max-width: 480px;
}
.profile-row {
  display: grid;
  grid-template-columns: 80px 1fr 32px;
  align-items: center;
  gap: 12px;
}
.profile-row .pl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.profile-bar {
  height: 6px;
  background: var(--paper-3);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.profile-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--ink);
  border-radius: 3px;
  transition: width .9s cubic-bezier(.2,.7,.2,1);
}
.profile-row .pv {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  text-align: right;
}

/* ── BEER GRID ──────────────────────────────── */
.beer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-7);
}

/* ── ÜBER PAGE ──────────────────────────────── */
.ueber-hero { padding: var(--s-9) 0 var(--s-7); }
.ueber-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: end;
}
.ueber-hero h1 {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 100px);
  margin: 24px 0 0;
  font-weight: 400;
  line-height: 1;
}
.ueber-hero h1 em { font-style: italic; color: var(--ink-2); }
.ueber-hero-image .ph { aspect-ratio: 5/4; }

.bio-section { margin-top: var(--s-10); }
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-8);
}
.bio-grid h2 {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
}
.bio-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 20px;
  max-width: 640px;
}
.bio-text p:first-child::first-letter {
  font-family: var(--display);
  font-size: 64px;
  float: left;
  line-height: 1;
  padding: 6px 12px 0 0;
  color: var(--ink);
}

/* ── PROZESS ────────────────────────────────── */
.prozess {
  margin-top: var(--s-10);
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-9) 0;
}
.prozess .h-eyebrow { color: color-mix(in oklab, var(--paper) 50%, transparent); }
.prozess h2 {
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  margin: 16px 0 var(--s-7);
  max-width: 720px;
  line-height: 1.05;
}
.prozess-scroll {
  display: flex;
  gap: var(--s-5);
  overflow-x: auto;
  padding: var(--s-5) var(--s-7) var(--s-7);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.prozess-step {
  flex: 0 0 360px;
  background: color-mix(in oklab, var(--paper) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--paper) 18%, transparent);
  border-radius: 4px;
  padding: var(--s-6);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.prozess-step .step-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: color-mix(in oklab, var(--paper) 60%, transparent);
}
.prozess-step h3 {
  font-family: var(--display);
  font-size: 32px;
  margin: 0;
  font-weight: 400;
}
.prozess-step p { color: color-mix(in oklab, var(--paper) 75%, transparent); margin: 0; line-height: 1.6; font-size: 15px; }
.prozess-step .step-time {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid color-mix(in oklab, var(--paper) 15%, transparent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 60%, transparent);
}

/* ── TIMELINE ───────────────────────────────── */
.timeline {
  margin-top: var(--s-10);
}
.timeline-list { display: grid; gap: 0; }
.timeline-row {
  display: grid;
  grid-template-columns: 120px 1fr 2fr;
  gap: var(--s-6);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--line-soft);
}
.timeline-row:last-child { border-bottom: 1px solid var(--line-soft); }
.timeline-year { font-family: var(--display); font-size: 32px; line-height: 1; }
.timeline-title { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.timeline-desc { color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* ── KONTAKT ────────────────────────────────── */
.kontakt-hero { padding: var(--s-9) 0 var(--s-7); }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  margin-top: var(--s-6);
}
.kontakt-form {
  display: grid;
  gap: var(--s-4);
}
.kontakt-form label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kontakt-form input,
.kontakt-form textarea,
.kontakt-form select {
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border-color .2s;
}
.kontakt-form input:focus,
.kontakt-form textarea:focus,
.kontakt-form select:focus { border-bottom-color: var(--ink); }
.kontakt-form textarea { min-height: 120px; resize: vertical; font-family: var(--sans); }
.kontakt-field { display: grid; gap: 6px; }

.kontakt-info {
  background: var(--paper-2);
  padding: var(--s-7);
  border-radius: 4px;
  align-self: start;
}
.kontakt-info h3 {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 24px;
}
.kontakt-info dl { display: grid; gap: 20px; margin: 0; }
.kontakt-info dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.kontakt-info dd { margin: 0; font-size: 17px; color: var(--ink); }
.map-ph { margin-top: var(--s-5); aspect-ratio: 16/9; }

.map-link {
  position: relative;
  display: block;
  margin-top: var(--s-5);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 636/466;
  background: var(--paper-3);
  text-decoration: none;
}
.map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease, filter .4s ease;
  filter: saturate(0.85) contrast(1.02);
}
.map-link:hover .map-img { transform: scale(1.04); filter: saturate(1) contrast(1.05); }

.map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 24px; height: 24px;
  pointer-events: none;
}
.map-pin-dot {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--paper);
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  top: 0; bottom: 0; left: 0; right: 0;
}
.map-pin-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--ink);
  opacity: 0.6;
  animation: mapPing 2.4s ease-out infinite;
}
@keyframes mapPing {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

.map-caption {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.map-link:hover .map-caption { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.success-msg {
  padding: var(--s-5);
  background: var(--paper-2);
  border-left: 3px solid var(--hop);
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid, .hero-split-grid, .ueber-hero-grid, .bio-grid, .story-grid, .kontakt-grid, .carousel {
    grid-template-columns: 1fr;
  }
  .hero-bottle { display: none; }
  .teaser-grid, .manifest-grid { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 80px 1fr; }
  .timeline-desc { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
