/* Homebrew – Studio-Seite. Farben: Sudkessel-Petrol, Messing, Schaum, Hopfen. Schrift: Bricolage Grotesque (lokal, OFL). */
@font-face {
  font-family: "Bricolage";
  src: url("assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --petrol: #0f2e2f;
  --deep: #0a2122;
  --brass: #e2b04a;
  --foam: #f2efe6;
  --hop: #8db580;
  --mist: rgba(242, 239, 230, 0.62);
  --rule: rgba(242, 239, 230, 0.14);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --measure: 62ch;
}
* { box-sizing: border-box; }
html { background: var(--petrol); color: var(--foam); }
body {
  margin: 0; font-family: "Bricolage", ui-sans-serif, system-ui, sans-serif; font-weight: 380;
  font-size: clamp(16px, 0.35vw + 15px, 19px); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.wrap { width: min(1240px, 100% - 2 * var(--s6)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopf */
.top { position: fixed; inset: 0 0 auto; z-index: 10; padding: var(--s3) 0;
  background: rgba(15, 46, 47, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: var(--s5); }
.brand { display: inline-flex; align-items: center; gap: var(--s2); text-decoration: none; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand svg { width: 26px; height: 26px; }
.top nav { margin-left: auto; display: flex; gap: var(--s5); font-size: 0.95rem; }
.top nav a { text-decoration: none; color: var(--mist); }
.top nav a:hover { color: var(--foam); }

/* Hero: Blasen steigen, der Name steigt mit */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding-bottom: var(--s8); overflow: hidden; }
#bubbles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .wrap { position: relative; }
.hero h1 {
  margin: 0; font-weight: 800; font-size: clamp(52px, 16vw, 270px); line-height: 0.82; letter-spacing: -0.055em; white-space: nowrap;
  font-variation-settings: "wdth" 100;
}
.hero h1 .char { display: inline-block; will-change: transform; }
.hero .lede { margin: var(--s6) 0 0; max-width: 34ch; font-size: clamp(20px, 1.4vw + 12px, 30px); line-height: 1.25; font-weight: 420; }
.hero .lede em { font-style: normal; color: var(--brass); }
.hero .scroll-hint { margin-top: var(--s6); font-size: 0.9rem; color: var(--mist); }

/* Pegel: links ein Glas, das sich beim Scrollen füllt */
.gauge { position: fixed; left: var(--s4); top: 22vh; bottom: 22vh; width: 6px; z-index: 5; border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.gauge span { position: absolute; inset: auto 0 0; height: 0; background: linear-gradient(to top, #b98a2c, var(--brass)); }
.gauge span::after { content: ""; position: absolute; inset: -6px 0 auto; height: 6px; background: var(--foam); border-radius: 3px 3px 0 0; }

/* Abschnitte */
section { position: relative; }
.chapter { padding: var(--s9) 0; border-top: 1px solid var(--rule); }
.chapter h2 { margin: 0 0 var(--s7); font-size: clamp(36px, 5vw, 76px); line-height: 0.95; letter-spacing: -0.035em; font-weight: 700; max-width: 16ch; }
.chapter p.intro { max-width: var(--measure); color: var(--mist); margin: 0 0 var(--s7); }

/* Was gebraut wird: Zeilen statt Karten */
.brews { list-style: none; margin: 0; padding: 0; }
.brew { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s6); padding: var(--s7) 0; border-top: 1px solid var(--rule); align-items: baseline; }
.brew:last-child { border-bottom: 1px solid var(--rule); }
.brew h3 { margin: 0; font-size: clamp(34px, 6.2vw, 104px); line-height: 0.9; letter-spacing: -0.045em; font-weight: 760; }
.brew-logo { display: block; width: 88px; height: 88px; border-radius: 50%; margin-bottom: var(--s4); object-fit: cover;
  box-shadow: 0 0 0 1px var(--rule), 0 10px 30px rgba(0, 0, 0, 0.35); }
.brew .kind { display: block; font-size: 0.95rem; font-weight: 500; color: var(--hop); letter-spacing: 0; margin-bottom: var(--s3); }
.brew p { margin: 0; max-width: 46ch; color: var(--mist); }
.brew p strong { color: var(--foam); font-weight: 560; }
.brew a.more { display: inline-block; margin-top: var(--s4); color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* So arbeiten wir: echte Reihenfolge */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); counter-reset: s; }
.steps li { counter-increment: s; padding-top: var(--s5); border-top: 2px solid var(--brass); }
.steps li::before { content: counter(s); display: block; font-size: 3.2rem; font-weight: 250; line-height: 1; color: var(--brass); margin-bottom: var(--s4); }
.steps b { display: block; font-size: 1.2rem; font-weight: 640; margin-bottom: var(--s2); }
.steps span { color: var(--mist); font-size: 0.98rem; }
.note { margin-top: var(--s7); max-width: var(--measure); padding: var(--s5); border-left: 2px solid var(--hop); color: var(--mist); background: rgba(10, 33, 34, 0.6); }

/* Kontakt */
.contact .big { font-size: clamp(30px, 4.6vw, 70px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; text-decoration: none; border-bottom: 2px solid var(--brass); }
.contact .big:hover { color: var(--brass); }

/* Fuss */
footer { padding: var(--s7) 0; border-top: 1px solid var(--rule); font-size: 0.92rem; color: var(--mist); }
footer .wrap { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6); align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: var(--s5); margin-left: auto; }

/* Rechtstexte */
.legal { padding: calc(var(--s9) + var(--s6)) 0 var(--s9); }
.legal article { max-width: 72ch; }
.legal h1 { font-size: clamp(40px, 6vw, 84px); line-height: 0.95; letter-spacing: -0.04em; margin: 0 0 var(--s6); font-weight: 760; }
.legal h2 { font-size: 1.4rem; margin: var(--s7) 0 var(--s3); font-weight: 650; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--mist); }
.legal strong { color: var(--foam); font-weight: 560; }
.legal .fill { color: var(--petrol); background: var(--brass); padding: 0 6px; font-weight: 600; }
.legal .stand { font-size: 0.9rem; }

@media (max-width: 860px) {
  .brew { grid-template-columns: 1fr; gap: var(--s4); }
  .steps { grid-template-columns: 1fr 1fr; }
  .top nav { gap: var(--s4); font-size: 0.88rem; }
  .gauge { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .top nav a.hide-s { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
