/* Bürgerbräu Hersbruck · Entwurf KreativFabrik · Richtung „Kastenrot, die Sortenwand“ */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --rot: #C4121C;          /* Kastenrot, aus den Lagerfotos abgenommen */
  --rot-tief: #8E0B12;
  --creme: #F6EFE3;        /* Schaumcreme */
  --creme-2: #EDE3D2;
  --braun: #24130F;        /* Kellerbraun */
  --keller: #1B110E;
  --bh: #3A1519;           /* Brauhaus-Dunkelrot */
  --gold: #D9B26A;         /* Wappengold, nur auf Dunkel */
  --sc: var(--rot);        /* aktuelle Sortenfarbe (Fläche) */
  --si: #FFFFFF;           /* aktuelle Sortenfarbe (Schrift) */
  --feder: cubic-bezier(.32, .72, 0, 1);
  --wurf: cubic-bezier(.2, .9, .25, 1.25);
  --radius: 28px;
  --innen: min(1240px, calc(100% - 40px));
  --display: "Archivo", "Arial Narrow", sans-serif;
  --text: "Archivo", system-ui, sans-serif;
  --kursiv: "Fraunces", Georgia, serif;
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  color: var(--braun);
  background: var(--creme);
  font-stretch: 100%;
  overflow-x: hidden;
}
body::after { /* feines Korn, fest und ohne Klick */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; font-stretch: 72%; line-height: .95; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(42px, 6vw, 88px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; }
p { margin: 0 0 1em; }
.gross { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; }
.innen { width: var(--innen); margin-inline: auto; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a { color: inherit; }
.textlink { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; font-weight: 600; }
.textlink:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 60;
  background: #fff; color: var(--braun); padding: 12px 18px; border-radius: 999px; font-weight: 700;
  transition: transform .4s var(--feder);
}
.skip:focus { transform: translateY(96px); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 52px; padding: 8px 8px 8px 22px;
  border-radius: 999px; border: 0;
  font: 700 17px/1 var(--text); font-stretch: 88%;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  background: var(--k-bg, #fff); color: var(--k-fg, var(--rot));
  transition: transform .5s var(--feder);
}
.knopf:active { transform: scale(.97); }
.knopf-ico {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--k-fg, var(--rot)); color: var(--k-bg, #fff);
  transition: transform .6s var(--feder);
}
.knopf-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.knopf:hover .knopf-ico { transform: translateY(2px) scale(1.06); }
.knopf-dunkel { --k-bg: var(--braun); --k-fg: var(--creme); }
.knopf-creme { --k-bg: var(--creme); --k-fg: var(--bh); padding-right: 22px; }
.knopf-kopf { --k-bg: var(--rot); --k-fg: #fff; min-height: 46px; font-size: 16px; padding-left: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }

/* ---------- Kopfzeile ---------- */
.kopf { position: fixed; top: 12px; left: 0; right: 0; z-index: 30; pointer-events: none; }
.kopf-pille {
  pointer-events: auto;
  width: min(1240px, calc(100% - 20px)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 5px 5px 5px 6px; border-radius: 999px;
  background: rgba(28, 10, 9, .62);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 18px 40px -24px rgba(0,0,0,.6);
  color: #fff;
}
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; white-space: nowrap; }
.marke img { width: 42px; height: 42px; }
.marke span { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 20px; letter-spacing: .005em; }
.marke em { font-style: normal; font-weight: 500; opacity: .85; }
.kopf-nav { display: flex; gap: 4px; }
.kopf-nav a { padding: 12px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-stretch: 90%; font-size: 15px; transition: background-color .4s var(--feder); }
.kopf-nav a:hover { background: rgba(255,255,255,.1); }

/* ---------- Sortenwand ---------- */
.sorten {
  --k-bg: var(--si); --k-fg: var(--sc);
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--sc); color: var(--si);
  padding: 116px 0 clamp(72px, 9vw, 140px);
}
.sorten::before { /* Kastenwand als Struktur */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background:
    radial-gradient(ellipse 34px 11px at 50% 22%, rgba(0,0,0,.14) 98%, transparent) 0 0 / 168px 120px,
    linear-gradient(rgba(0,0,0,.07) 2px, transparent 2px) 0 0 / 168px 120px,
    linear-gradient(90deg, rgba(0,0,0,.07) 2px, transparent 2px) 0 0 / 168px 120px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0,0,0,.6) 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, rgba(0,0,0,.6) 60%, transparent 100%);
}
.flut {
  position: absolute; z-index: -1; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--flut, transparent); transform: scale(0); opacity: 0; pointer-events: none;
}
.flut.laeuft { opacity: 1; transition: transform .85s var(--feder); }

.sorten-buehne {
  width: var(--innen); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px);
  align-items: center; min-height: min(calc(100dvh - 150px), 760px);
}
.einstieg-ort { font-weight: 600; font-stretch: 90%; letter-spacing: .04em; opacity: .9; margin-bottom: 22px; font-size: 15px; }
.sorten h1 { font-size: clamp(46px, 5.4vw, 84px); line-height: .9; margin-bottom: 26px; }
.sorten h1 .z { display: block; }
.einstieg-unter { font-size: clamp(17px, 1.4vw, 20px); max-width: 34em; margin-bottom: 30px; opacity: .95; }
.einstieg-handlung { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.bh-status { display: inline-flex; align-items: center; gap: 8px; }
.bh-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .8; }
.bh-status.geoeffnet::before { background: #7BE38F; opacity: 1; box-shadow: 0 0 0 3px rgba(123,227,143,.25); }
.brauhaus-kurz { min-height: 44px; display: inline-flex; align-items: center; }

/* Der Kasten: echter roter Kunststoffkasten in 3/4-Ansicht von oben (CSS 3D).
   Maße in Fach-Einheiten --u, Proportionen nach den Lagerfotos (Wandhöhe rund 3,2 Fächer). */
.kasten-wrap {
  --u: clamp(52px, min(7.4vw, calc((100svh - 190px) / 6.2)), 118px);
  --t: calc(var(--u) * .2);
  --W: calc(var(--u) * 5 + var(--t) * 2);
  --D: calc(var(--u) * 3 + var(--t) * 2);
  --H: calc(var(--u) * 3.1);
  --boden: calc(var(--H) - var(--u) * 1.05);
  --kipp: 52deg;
  --dreh: 30deg;
  --rot-k: #E3141D;
  position: relative;
  justify-self: end;
  margin-right: calc(var(--u) * -.2);
}
.szene {
  position: relative;
  width: calc(var(--u) * 6.6);
  height: calc(var(--u) * 6.05);
  perspective: calc(var(--u) * 20);
  perspective-origin: 62% 12%;
  animation: kiste-rein .9s var(--feder) backwards .05s;
}
.kiste {
  position: absolute; left: 50%; top: 50%;
  width: var(--W); height: var(--D);
  margin: calc(var(--D) / -2) 0 0 calc(var(--W) / -2);
  transform-style: preserve-3d;
  transform: translateY(calc(var(--H) * .36)) rotateX(var(--kipp)) rotateZ(var(--dreh));
}
.seite, .stege, .kasten-raster, .fach, .kk { transform-style: preserve-3d; }

/* Schlagschatten am Boden, Licht von links oben */
.boden-schatten {
  position: absolute; inset: calc(var(--u) * -.9) calc(var(--u) * -.7) calc(var(--u) * -1.2) calc(var(--u) * -.5);
  background:
    radial-gradient(closest-side, rgba(38, 0, 4, .62), rgba(38, 0, 4, .32) 55%, rgba(38, 0, 4, 0));
  transform: translate(calc(var(--u) * .45), calc(var(--u) * .5));
}
.boden-schatten::after {
  content: ""; position: absolute;
  inset: calc(var(--u) * .95) calc(var(--u) * 1.05) calc(var(--u) * 1.5) calc(var(--u) * .85);
  border-radius: calc(var(--u) * .1);
  background: rgba(28, 0, 2, .7);
  box-shadow: 0 0 calc(var(--u) * .18) calc(var(--u) * .1) rgba(28, 0, 2, .55);
}

/* Seiten: Rahmen in Grundfläche, die Wand steht an ihrer Unterkante auf */
.seite { position: absolute; left: 0; top: 0; width: var(--W); height: var(--D); }
.s-hinten { transform: rotateZ(180deg); }
.s-rechts, .s-links { width: var(--D); height: var(--W); left: calc((var(--W) - var(--D)) / 2); top: calc((var(--D) - var(--W)) / 2); }
.s-rechts { transform: rotateZ(-90deg); }
.s-links { transform: rotateZ(90deg); }
.wand {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--H);
  transform-origin: 50% 100%;
  transform: rotateX(-90deg);
  overflow: hidden;
}
.wand-innen {
  left: var(--t); right: var(--t);
  transform: rotateX(-90deg) translateZ(calc(var(--t) * -1)) rotateY(180deg);
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(var(--u) * .86), rgba(70, 0, 4, .22) calc(var(--u) * .86) calc(var(--u) * .92), rgba(255, 110, 110, .16) calc(var(--u) * .92) calc(var(--u) * .96), transparent calc(var(--u) * .96) var(--u)),
    linear-gradient(180deg, #E61C24 0, #C3121A 9%, #9A0B12 26%, #4C0408 52%, #1E0103 80%);
}
.s-links .wand-innen { filter: brightness(.88); }

/* Außenwände */
.wand-aussen {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300' viewBox='0 0 400 300' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cg stroke='%23fff' stroke-opacity='.22'%3E%3Cpath d='M34 228l46-7M41 236l22-3M262 58l31 12M300 250l52 2M318 258l18 1M120 120l9 26M188 270l40-9' stroke-width='1.1'/%3E%3C/g%3E%3Cg stroke='%23300' stroke-opacity='.2'%3E%3Cpath d='M70 180l30 4M352 140l-6 22M150 64l26-5M224 214l14 9' stroke-width='1.4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .14)),
    linear-gradient(180deg, #F12A31 0, var(--rot-k) 16%, #D6141C 62%, #B30F17 100%);
  box-shadow: inset 0 0 0 1px rgba(90, 0, 6, .3);
}
.wand-aussen::before, .wand-aussen::after { /* gespritzte Eckpfosten */
  content: ""; position: absolute; top: 0; bottom: 0; width: calc(var(--u) * .2); z-index: 1;
  background: linear-gradient(90deg, rgba(255, 120, 120, .35), rgba(255, 255, 255, 0) 40%, rgba(80, 0, 4, .35));
}
.wand-aussen::before { left: 0; }
.wand-aussen::after { right: 0; transform: scaleX(-1); }
.lippe { /* umlaufender Rand oben, steht etwas über */
  position: absolute; left: 0; right: 0; top: 0; height: calc(var(--u) * .24);
  background: linear-gradient(180deg, #FF6066 0, #F1272F 22%, #D3141C 70%, #9C0D14 100%);
  box-shadow: 0 calc(var(--u) * .03) calc(var(--u) * .06) rgba(70, 0, 4, .55);
}
.rippen { /* Gitterband mit Rippen unter dem Rand */
  position: absolute; left: calc(var(--u) * .2); right: calc(var(--u) * .2); top: calc(var(--u) * .3); height: calc(var(--u) * .44);
  border-radius: calc(var(--u) * .04);
  background:
    linear-gradient(180deg, rgba(60, 0, 4, .45), rgba(60, 0, 4, 0) 30%, rgba(255, 120, 120, 0) 80%, rgba(255, 140, 140, .35)),
    repeating-linear-gradient(90deg, #A80D15 0 calc(var(--u) * .045), #F0323A calc(var(--u) * .045) calc(var(--u) * .07), #C9121A calc(var(--u) * .07) calc(var(--u) * .13));
  box-shadow: inset 0 calc(var(--u) * .03) calc(var(--u) * .04) rgba(40, 0, 2, .6);
}
.fussband { /* Fuß mit Verstärkung und Abrieb */
  position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--u) * .34);
  background:
    linear-gradient(180deg, rgba(255, 150, 150, .5) 0 2px, rgba(60, 0, 4, .35) 2px calc(var(--u) * .05), rgba(0, 0, 0, 0) calc(var(--u) * .09)),
    linear-gradient(90deg, rgba(255, 210, 200, .16), rgba(255, 210, 200, 0) 12%, rgba(255, 210, 200, 0) 88%, rgba(255, 210, 200, .14)),
    linear-gradient(180deg, #C1111A, #9C0C13);
}
.druck {
  position: absolute; left: 0; right: 0; top: calc(var(--u) * .86);
  display: grid; justify-items: center;
}
.druck img { width: calc(var(--u) * .92); height: calc(var(--u) * .92); border-radius: 50%; box-shadow: 0 0 0 calc(var(--u) * .03) #fff, 0 calc(var(--u) * .03) calc(var(--u) * .05) rgba(60, 0, 4, .4); }
.druck b {
  margin-top: calc(var(--u) * .1);
  font-family: var(--display); font-weight: 800; font-stretch: 84%; font-size: calc(var(--u) * .66); line-height: 1; letter-spacing: -.005em;
  color: #FFF8F0;
  text-shadow: 0 1px 0 #2A0A0D, 1px 0 0 #2A0A0D, -1px 0 0 #2A0A0D, 0 -1px 0 #2A0A0D, 0 calc(var(--u) * .03) 0 #3A0B10;
}
.druck i {
  justify-self: end; margin: calc(var(--u) * -.04) calc(var(--u) * 1.15) 0 0;
  font-family: var(--kursiv); font-style: italic; font-weight: 600; font-size: calc(var(--u) * .3); line-height: 1;
  color: #E2BC72; text-shadow: 0 1px 0 #3A0B10, 1px 0 0 #3A0B10;
}
.wand-stirn {
  background:
    linear-gradient(180deg, rgba(40, 0, 2, .06), rgba(40, 0, 2, .16)),
    linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .08)),
    linear-gradient(180deg, #F12A31 0, var(--rot-k) 16%, #D6141C 62%, #B30F17 100%);
}
.griff { /* Grifföffnung: Blick ins Gefach */
  position: absolute; left: 50%; top: calc(var(--u) * .9); width: calc(var(--u) * 1.62); height: calc(var(--u) * .6); margin-left: calc(var(--u) * -.81);
  border-radius: calc(var(--u) * .3);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 45%),
    repeating-linear-gradient(62deg, rgba(0, 0, 0, 0) 0 calc(var(--u) * .16), #7A0910 calc(var(--u) * .16) calc(var(--u) * .2)),
    repeating-linear-gradient(-62deg, rgba(0, 0, 0, 0) 0 calc(var(--u) * .16), #8E0B12 calc(var(--u) * .16) calc(var(--u) * .2)),
    linear-gradient(180deg, #1B0305, #3E060A);
  box-shadow:
    inset 0 calc(var(--u) * .07) calc(var(--u) * .06) rgba(0, 0, 0, .75),
    inset 0 calc(var(--u) * -.035) 0 rgba(255, 90, 95, .55),
    0 calc(var(--u) * .025) 0 rgba(255, 150, 150, .35),
    0 calc(var(--u) * -.02) 0 rgba(70, 0, 4, .5);
}
.praegung { /* eingeprägter Schriftzug, gleiche Farbe wie die Wand */
  position: absolute; left: 0; right: 0; top: calc(var(--u) * 1.78); text-align: center;
  font-family: var(--display); font-weight: 800; font-stretch: 92%; text-transform: uppercase;
  font-size: calc(var(--u) * .27); line-height: 1.12; letter-spacing: .12em;
  color: #C0111A;
  text-shadow: 0 -1px 0 rgba(50, 0, 3, .55), 0 1px 0 rgba(255, 130, 130, .55);
}

/* Innen: Flaschenschultern, Gefache-Stege */
.innenraum {
  position: absolute; left: var(--t); top: var(--t); width: calc(var(--W) - var(--t) * 2); height: calc(var(--D) - var(--t) * 2);
  transform: translateZ(var(--boden));
  background:
    radial-gradient(circle at 36% 32%, rgba(255, 210, 160, .38) 0 6%, rgba(255, 210, 160, 0) 16%) 0 0 / var(--u) var(--u),
    radial-gradient(circle closest-side, #6A3413 0 30%, #44200C 55%, #2A1206 86%, #0C0403 92%, #050102 100%) 0 0 / var(--u) var(--u),
    #050102;
}
.steg {
  position: absolute; height: calc(var(--u) * .78);
  transform-origin: 50% 100%;
  background: linear-gradient(180deg, #F5434A 0 4%, #D3161E 4% 10%, #A60D15 30%, #520509 75%, #250204);
}
.steg-l {
  left: var(--t); width: calc(var(--W) - var(--t) * 2);
  top: calc(var(--t) + var(--k) * var(--u) - var(--u) * .78);
  transform: translateZ(var(--boden)) rotateX(-90deg);
}
.steg-q {
  width: calc(var(--D) - var(--t) * 2);
  left: calc(var(--t) + var(--k) * var(--u) - (var(--D) - var(--t) * 2) / 2);
  top: calc(var(--D) / 2 - var(--u) * .78);
  transform: translateZ(var(--boden)) rotateZ(90deg) rotateX(-90deg);
}

/* Oberer Rand von oben */
.rand {
  position: absolute; inset: 0;
  transform: translateZ(var(--H));
  border: var(--t) solid;
  border-color: #F7474E #D9161E #E62128 #F3373E;
  border-radius: calc(var(--u) * .1);
  box-shadow:
    inset 0 0 0 1px rgba(70, 0, 4, .55),
    inset calc(var(--u) * .03) calc(var(--u) * .03) 0 rgba(120, 0, 8, .4),
    0 0 0 1px rgba(255, 140, 140, .35);
}
.rand::after { /* Abrieb auf der Kante */
  content: ""; position: absolute; inset: calc(var(--t) * -1);
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 8%, rgba(255, 220, 220, .22) 12%, rgba(255, 255, 255, 0) 17%, rgba(255, 255, 255, 0) 60%, rgba(255, 220, 220, .16) 63%, rgba(255, 255, 255, 0) 66%) 0 0 / 100% var(--t) no-repeat,
    linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, 0)) 0 0 / 100% calc(var(--t) * .5) no-repeat;
}

/* Fächer mit Flaschen: Hals + Kronkorken (Kronkorken = Sortenknopf) */
.kasten-raster {
  position: absolute; left: var(--t); top: var(--t); width: calc(var(--W) - var(--t) * 2); height: calc(var(--D) - var(--t) * 2);
  transform: translateZ(var(--H));
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr));
}
.fach { position: relative; }
.kk {
  --z: calc(var(--u) * .05);
  --d: calc(var(--n) * 55ms + 420ms);
  position: absolute; inset: 0; display: block;
  color: var(--c); text-decoration: none;
  transform: translateZ(var(--z));
  transition: transform .6s var(--feder);
  animation: einstellen .8s cubic-bezier(.24, .8, .32, 1.06) backwards;
  animation-delay: var(--d);
  -webkit-tap-highlight-color: transparent;
}
.kk[aria-current="true"] { --z: calc(var(--u) * .62); }
.hals { /* Flaschenhals, braunes Glas mit Halsetikett in Sortenfarbe */
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--u) * .34); height: calc(var(--u) * 1.7); margin-left: calc(var(--u) * -.17);
  transform-origin: 50% 0;
  transform: rotateX(-90deg);
  border-radius: 0 0 calc(var(--u) * .08) calc(var(--u) * .08);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 30%, rgba(255, 255, 255, .45) 40%, rgba(255, 255, 255, 0) 52%, rgba(0, 0, 0, .5)) 0 100% / 100% 91% no-repeat,
    linear-gradient(180deg, transparent 0 9%, #5C2A0E 9% 12%, var(--c) 12% 34%, #3C1A08 34% 36%, #6A3412 36%, #2B1206 85%);
  animation: auftauchen .35s var(--feder) backwards;
  animation-delay: var(--d);
}
.deckel {
  position: absolute; inset: 0; border-radius: 50%;
  display: grid; place-items: center;
  transform: translateZ(calc(var(--u) * .08));
  transition: transform .7s var(--feder);
  animation: auftauchen .35s var(--feder) backwards;
  animation-delay: var(--d);
}
.deckel svg { position: absolute; inset: 8%; width: 84%; height: 84%; filter: drop-shadow(0 calc(var(--u) * .04) calc(var(--u) * .03) rgba(0, 0, 0, .55)); }
.kk-rand { fill: currentColor; stroke: rgba(0,0,0,.28); stroke-width: 1.2; }
.kk-ring { fill: none; stroke: rgba(0,0,0,.16); stroke-width: 2; }
.kk-glanz { fill: url(#kk-glanz); }
.kk-name {
  position: relative; color: var(--i); text-align: center;
  font-family: var(--display); font-weight: 800; font-stretch: 64%; text-transform: uppercase;
  font-size: max(10px, calc(var(--u) * .145)); line-height: .98; letter-spacing: .01em;
}
.fach-logo .deckel img { width: 80%; height: 80%; border-radius: 50%; box-shadow: 0 calc(var(--u) * .04) calc(var(--u) * .05) rgba(0, 0, 0, .55); }
.kk:hover .deckel { transform: translateZ(calc(var(--u) * .08)) rotate(-18deg) scale(1.04); }
.deckel::before, .deckel::after { /* Auswahl- und Fokusring, innerhalb der Fläche gezeichnet */
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; opacity: 0;
}
.deckel::before { inset: 0; border: 3px solid rgba(30, 0, 0, .5); }
.deckel::after { inset: 3px; border: 3px solid #fff; }
.kk[aria-current="true"] .deckel::before, .kk[aria-current="true"] .deckel::after { opacity: 1; }
.kk:focus-visible { outline: none; }
.kk:focus-visible .deckel::before { opacity: 1; border-color: #1B0004; }
.kk:focus-visible .deckel::after { opacity: 1; border-width: 4px; }
.kasten-hinweis {
  position: absolute; left: calc(var(--u) * -.45); bottom: calc(var(--u) * .12); width: calc(var(--u) * 1.65); margin: 0;
  font-size: 15px; line-height: 1.4; opacity: .92;
}

@keyframes einstellen {
  from { transform: translateZ(calc(var(--u) * 3.6)); }
  to { transform: translateZ(var(--z)); }
}
@keyframes auftauchen { from { opacity: 0; } to { opacity: 1; } }
@keyframes kiste-rein { from { opacity: 0; transform: translateY(46px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes steigen { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.sorten h1 .z, .einstieg-ort, .einstieg-unter, .einstieg-handlung { animation: steigen .9s var(--feder) both; }
.sorten h1 .z:nth-child(1) { animation-delay: .05s; }
.sorten h1 .z:nth-child(2) { animation-delay: .15s; }
.sorten h1 .z:nth-child(3) { animation-delay: .25s; }
.einstieg-unter { animation-delay: .4s; }
.einstieg-handlung { animation-delay: .5s; }

/* Steckbriefe */
.steckbriefe { width: min(1120px, calc(100% - 40px)); margin: clamp(48px, 7vw, 96px) auto 0; display: grid; gap: 28px; }
.steckbrief {
  display: grid; grid-template-columns: minmax(120px, 230px) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center;
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--radius);
  background: var(--c); color: var(--i);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 30px 60px -40px rgba(0,0,0,.5);
}
.sb-flasche img { width: auto; max-height: 460px; margin-inline: auto; filter: drop-shadow(0 24px 22px rgba(0,0,0,.35)); }
.steckbrief h3 { font-size: clamp(48px, 7.4vw, 112px); line-height: .88; margin-bottom: 14px; }
.sb-marke { display: block; font-size: .3em; font-weight: 600; font-stretch: 85%; letter-spacing: .02em; margin-bottom: .3em; opacity: .85; }
.sb-stil { font-weight: 700; font-stretch: 88%; font-size: 18px; margin-bottom: 18px; }
.sb-beschreibung { font-family: var(--kursiv); font-style: italic; font-weight: 400; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 40em; }
.sb-beschreibung p { margin-bottom: .7em; }
.sb-zitat { font-weight: 600; }
.sb-werte { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 12px 40px; margin: 24px 0 18px; padding-top: 20px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 30%, transparent); }
.sb-werte .breit { grid-column: span 1; }
.sb-werte dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.sb-werte dd { margin: 2px 0 0; font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; }
.sb-werte .breit dd { font-family: var(--text); font-weight: 500; font-stretch: 100%; font-size: 16px; line-height: 1.4; max-width: 22em; }
.sb-fass { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; padding: 8px 16px 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; }
.sb-fass svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.sb-handlung { margin-top: 10px; }
.steckbrief .knopf-hell { --k-bg: var(--i); --k-fg: var(--c); }

.sb-blaettern { display: flex; justify-content: center; align-items: center; gap: 18px; }
.rund {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: transparent; color: inherit;
  box-shadow: inset 0 0 0 1.5px currentColor; transition: transform .5s var(--feder);
}
.rund:active { transform: scale(.94); }
.rund svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sb-zaehler { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 6em; text-align: center; }

/* mit Skript: ein Steckbrief, Seite in Sortenfarbe */
.js .steckbrief { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent); }
.js .steckbrief .knopf-hell { --k-bg: var(--si); --k-fg: var(--sc); }
.js .steckbrief.neu .sb-flasche img { animation: steigen .8s var(--feder) both; }
.js .steckbrief.neu .sb-text > * { animation: steigen .7s var(--feder) both; }
.js .steckbrief.neu .sb-text > :nth-child(2) { animation-delay: .05s; }
.js .steckbrief.neu .sb-text > :nth-child(3) { animation-delay: .1s; }
.js .steckbrief.neu .sb-text > :nth-child(n+4) { animation-delay: .15s; }
.sorten, .wo-kopf { transition: color .5s var(--feder); }

/* ---------- Wo gibt's das ---------- */
.wo { background: var(--creme); }
.wo-kopf {
  --k-bg: var(--si); --k-fg: var(--sc);
  background: var(--sc); color: var(--si);
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  box-shadow: inset 0 1px 0 color-mix(in srgb, currentColor 18%, transparent);
}
.wo-kopf h2 { margin-bottom: 20px; }
.wo-lead { font-size: clamp(18px, 1.5vw, 21px); max-width: 40em; margin-bottom: 34px; }
.filter { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 20px 28px; align-items: end; }
.filter-feld label, .filter-art legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
.schale-feld, .filter .schale { padding: 5px; border-radius: 22px; background: color-mix(in srgb, currentColor 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent); }
.filter input[type="search"] {
  width: 100%; min-height: 56px; border: 0; border-radius: 17px; padding: 0 20px;
  font: 500 19px var(--text); color: var(--braun); background: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.12);
}
.filter input[type="search"]::placeholder { color: #6E5E58; }
.filter input[type="search"]:focus-visible { outline: 3px solid var(--si); outline-offset: 3px; }
.filter-art { border: 0; margin: 0; padding: 0; min-width: 0; }
.segmente { display: flex; padding: 5px; border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 22%, transparent); }
.segmente input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmente label { min-height: 46px; display: grid; place-items: center; padding: 0 18px; border-radius: 999px; font-weight: 700; font-stretch: 90%; cursor: pointer; white-space: nowrap; transition: background-color .4s var(--feder), color .4s var(--feder); }
.segmente input:checked + label { background: var(--si); color: var(--sc); }
.segmente input:focus-visible + label { outline: 3px solid var(--si); outline-offset: 2px; }
.schnell { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.schnell button {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15px var(--text); font-stretch: 90%; color: inherit; background: transparent;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 45%, transparent);
  transition: transform .4s var(--feder);
}
.schnell button:active { transform: scale(.96); }
.schnell button[aria-pressed="true"] { background: var(--si); color: var(--sc); box-shadow: none; }

.wo > .innen { padding: 36px 0 clamp(72px, 9vw, 128px); }
.wo-status { font-weight: 700; font-size: 18px; min-height: 1.5em; margin-bottom: 18px; }
.wo-status:empty { display: none; }
.liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 8px 40px; }
.ort { margin-bottom: 26px; min-width: 0; }
.ort-viele { grid-column: 1 / -1; }
.ort h3 { display: flex; align-items: baseline; gap: 10px; font-size: 28px; padding-bottom: 10px; border-bottom: 2px solid var(--braun); }
.ort-zahl { font-family: var(--text); font-size: 13px; font-weight: 700; font-stretch: 100%; padding: 3px 9px; border-radius: 999px; background: var(--braun); color: var(--creme); letter-spacing: .02em; }
.ort ul { list-style: none; margin: 0; padding: 0; }
.ort-viele ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); column-gap: 40px; }
.ort li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-content: start; padding: 11px 0; border-bottom: 1px solid rgba(36,19,15,.14); }
.ort li b { font-weight: 700; line-height: 1.3; }
.ort li span { grid-column: 1 / -1; font-size: 15px; line-height: 1.35; color: #4F3C35; }
.ort li i { grid-column: 2; grid-row: 1; align-self: start; margin-top: 2px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6B3A2B; padding: 2px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(107,58,43,.35); }
.ort li[data-typ="gastro"] i { color: #8B1A20; box-shadow: inset 0 0 0 1px rgba(139,26,32,.35); }
.wo-mehr { margin: 8px 0 28px; }
.wo-fuss { font-size: 15px; color: #4F3C35; max-width: 46em; margin-top: 12px; }

/* ---------- Doppelrand-Schalen ---------- */
.schale { margin: 0; padding: 7px; border-radius: var(--radius); background: rgba(36,19,15,.05); box-shadow: inset 0 0 0 1px rgba(36,19,15,.08); }
.schale > .kern { border-radius: calc(var(--radius) - 7px); overflow: hidden; background: #fff; box-shadow: inset 0 1px 1px rgba(255,255,255,.6), 0 1px 2px rgba(36,19,15,.06); }
.schale > .kern img { width: 100%; height: 100%; object-fit: cover; }
.schale figcaption { font-size: 14px; padding: 10px 10px 4px; color: #4F3C35; }
.schale-dunkel { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.schale-dunkel > .kern { background: #000; box-shadow: inset 0 1px 1px rgba(255,255,255,.12); }
.schale-dunkel figcaption { color: rgba(246,239,227,.82); }
.schale-rot { background: rgba(196,18,28,.1); box-shadow: inset 0 0 0 1px rgba(196,18,28,.2); }
.schale-rot > .kern { background: var(--rot); color: #fff; box-shadow: inset 0 1px 1px rgba(255,255,255,.3); }

/* ---------- Brauhaus ---------- */
.brauhaus { background: var(--bh); color: var(--creme); padding: clamp(88px, 11vw, 168px) 0; }
.brauhaus-raster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.bh-bilder { position: relative; padding-bottom: 18%; }
.bh-bild-gross > .kern { aspect-ratio: 4 / 3.2; }
.bh-bild-klein { position: absolute; width: 50%; right: -4%; bottom: 0; transform: rotate(2.5deg); }
.bh-bild-klein > .kern { aspect-ratio: 3 / 2; }
.bh-logo { width: 74px; height: auto; margin-bottom: 22px; padding: 8px 10px; border-radius: 16px; background: var(--creme); box-sizing: content-box; }
.brauhaus h2 { margin-bottom: 24px; }
.bh-paechter { font-size: 15px; color: rgba(246,239,227,.8); }
.bh-zeiten { margin: 28px 0; padding: 22px 0 6px; border-top: 1px solid rgba(246,239,227,.25); }
.bh-heute { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(246,239,227,.1); font-weight: 700; margin-bottom: 16px; }
.bh-heute::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #E6B7A0; }
.bh-heute.geoeffnet::before { background: #7BE38F; box-shadow: 0 0 0 3px rgba(123,227,143,.25); }
.bh-zeiten dl, .zeiten { margin: 0; display: grid; gap: 12px; }
.bh-zeiten dl div, .zeiten div { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 16px; }
.bh-zeiten dt, .zeiten dt { font-weight: 700; }
.bh-zeiten dd, .zeiten dd { margin: 0; }
.bh-zeiten small { font-size: 14px; opacity: .8; }
.bh-handlung { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.bh-handlung .textlink { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Brauerei ---------- */
.brauerei { padding: clamp(88px, 11vw, 168px) 0; }
.br-kopf { max-width: 860px; margin-bottom: clamp(40px, 5vw, 64px); }
.br-kopf h2 { margin-bottom: 24px; color: var(--rot); }
.bento { display: grid; grid-template-columns: 2.1fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 16px; }
.bento .schale { display: flex; flex-direction: column; min-height: 0; }
.bento .kern { flex: 1; min-height: 0; }
.b-weit { grid-column: 1; grid-row: 1 / span 2; }
.b-hoch { grid-column: 2 / span 2; grid-row: 1; }
.b-a { grid-column: 2; grid-row: 2; }
.b-b { grid-column: 3; grid-row: 2; }
.besuch { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(56px, 7vw, 96px); }
.besuch .kern { padding: clamp(26px, 3.4vw, 44px); height: 100%; }
.besuch h3 { margin-bottom: 14px; }
.besuch h3:not(:first-child) { margin-top: 30px; }
.adresse { font-size: 19px; font-weight: 600; }
.zeiten { margin-bottom: 22px; }
.kontaktzeilen { line-height: 1.9; }
.anreise { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(36,19,15,.15); font-size: 15px; }
.schale-rot :focus-visible { outline-color: #fff; }

/* ---------- Herschi ---------- */
.herschi { background: var(--creme-2); padding: clamp(80px, 9vw, 136px) 0; }
.herschi-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.herschi h2 { font-size: clamp(36px, 4.6vw, 64px); margin-bottom: 20px; }
.hs-reihe { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; }
.hs-reihe li { display: grid; justify-items: center; gap: 10px; }
.hs-reihe img { width: auto; max-height: 260px; filter: drop-shadow(0 16px 14px rgba(36,19,15,.25)); transition: transform .6s var(--feder); }
.hs-reihe li:hover img { transform: translateY(-8px); }
.hs-reihe span { font-size: 13px; font-weight: 700; font-stretch: 85%; text-align: center; }

/* ---------- Geschichte ---------- */
.geschichte { background: var(--keller); color: var(--creme); padding: clamp(88px, 11vw, 168px) 0; }
.geschichte-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.geschichte h2 { margin-bottom: 26px; }
.ge-text > .gross { color: rgba(246,239,227,.88); margin-bottom: 44px; }
.zeitleiste { list-style: none; margin: 0; padding: 0; }
.zeitleiste li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid rgba(246,239,227,.16); }
.zeitleiste b { font-family: var(--display); font-weight: 800; font-stretch: 70%; font-size: 40px; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.zeitleiste p { margin: 4px 0 0; }
.ge-bild { position: sticky; top: 100px; display: grid; gap: 24px; }
.vergleich { margin: 0; }
.v-buehne { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 0 0 7px rgba(255,255,255,.06), 0 0 0 8px rgba(255,255,255,.12); }
.v-damals, .v-heute { position: absolute; inset: 0; }
.v-damals img, .v-heute img { width: 100%; height: 100%; object-fit: cover; }
.v-heute { overflow: hidden; transform: translateX(var(--p, 50%)); }
.v-heute-innen { position: absolute; inset: 0; transform: translateX(calc(-1 * var(--p, 50%))); }
.v-griff { position: absolute; inset: 0; transform: translateX(var(--p, 50%)); pointer-events: none; }
.v-griff::before { content: ""; position: absolute; left: -1.5px; top: 0; bottom: 0; width: 3px; background: var(--creme); }
.v-griff span { position: absolute; left: -26px; top: calc(50% - 26px); width: 52px; height: 52px; border-radius: 50%; background: var(--creme); box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.v-griff span::before, .v-griff span::after { content: ""; position: absolute; top: 19px; width: 12px; height: 12px; border: solid var(--braun); border-width: 0 0 2px 2px; }
.v-griff span::before { left: 12px; transform: rotate(45deg); }
.v-griff span::after { right: 12px; transform: rotate(-135deg); }
.v-marke { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(27,17,14,.72); color: var(--creme); font-weight: 700; font-size: 14px; }
.v-damals .v-marke { left: 16px; }
.v-heute .v-marke { right: 16px; }
.v-regler { position: absolute; inset: 0; }
.v-regler label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.v-regler input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.vergleich:focus-within .v-buehne { outline: 3px solid var(--creme); outline-offset: 4px; }
.vergleich figcaption, .plakat figcaption { font-size: 14px; color: rgba(246,239,227,.8); margin-top: 12px; }
.plakat { width: 62%; justify-self: end; }
.plakat > .kern { aspect-ratio: 900 / 838; }

html:not(.js) .v-buehne { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: transparent; }
html:not(.js) .v-damals, html:not(.js) .v-heute, html:not(.js) .v-heute-innen { position: relative; transform: none; inset: auto; }
html:not(.js) .v-griff { display: none; }

/* ---------- Schluss ---------- */
.schluss {
  --k-bg: #fff; --k-fg: var(--rot);
  position: relative; background: var(--rot); color: #fff; padding: clamp(96px, 12vw, 180px) 0; overflow: hidden;
}
.schluss::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(ellipse 34px 11px at 50% 22%, rgba(0,0,0,.14) 98%, transparent) 0 0 / 168px 120px,
    linear-gradient(rgba(0,0,0,.07) 2px, transparent 2px) 0 0 / 168px 120px,
    linear-gradient(90deg, rgba(0,0,0,.07) 2px, transparent 2px) 0 0 / 168px 120px;
}
.schluss-innen { position: relative; max-width: 980px; }
.schluss-slogan { font-family: var(--kursiv); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); margin-bottom: 28px; }
.schluss-slogan span { display: block; font-family: var(--text); font-style: normal; font-size: 14px; font-weight: 600; opacity: .85; margin-top: 6px; }
.schluss h2 { margin-bottom: 40px; }
.schluss-handlung { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.schluss-handlung .textlink { min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Fuß ---------- */
.fuss { background: #140C0A; color: var(--creme); padding: 56px 0 64px; font-size: 15px; }
.fuss-raster { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 28px 48px; align-items: start; }
.fuss p { margin: 0; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fuss ul a { min-height: 44px; display: inline-flex; align-items: center; }
.fuss .vorschau { grid-column: 1 / -1; color: rgba(246,239,227,.65); padding-top: 20px; border-top: 1px solid rgba(246,239,227,.14); }

/* ---------- Rechtsseiten ---------- */
.recht { padding: 130px 0 96px; }
.recht .innen { max-width: 760px; }
.recht h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 30px; color: var(--rot); }
.recht h2 { font-size: 26px; margin: 34px 0 10px; }
.hinweis { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--creme-2); font-weight: 700; font-size: 15px; margin-bottom: 26px; }
.offen { background: #FFE7A8; color: #4A2E00; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.recht ul { padding-left: 1.2em; }
.recht-kopf { background: var(--rot); }

/* ---------- Einblenden beim Scrollen ---------- */
.js.bewegt [data-zeigen] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--feder), transform 1s var(--feder); }
.js.bewegt [data-zeigen].da { opacity: 1; transform: none; }
.js.bewegt .bh-bild-klein[data-zeigen].da { transform: rotate(2.5deg); }

/* ---------- Bildschirmbreiten ---------- */
@media (max-width: 1080px) {
  .kopf-nav { display: none; }
}
@media (max-width: 900px) {
  .sorten-buehne { grid-template-columns: 1fr; min-height: 0; gap: 26px; }
  .kasten-wrap {
    --u: min(96px, calc((100vw - 22px) / 5.85));
    --kipp: 39deg; --dreh: 9deg;
    justify-self: center; margin-right: 0;
  }
  .szene { width: calc(var(--u) * 5.85); height: calc(var(--u) * 5.25); perspective: calc(var(--u) * 26); perspective-origin: 50% 20%; }
  .kiste { transform: translateY(calc(var(--H) * .3)) rotateX(var(--kipp)) rotateZ(var(--dreh)); }
  .kasten-hinweis { position: static; width: auto; margin: 6px 4px 0; text-align: center; }
  .brauhaus-raster, .geschichte-raster, .herschi-raster, .besuch { grid-template-columns: 1fr; }
  .ge-bild { position: static; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .bento .kern { aspect-ratio: 3 / 2; flex: none; }
  .b-weit, .b-hoch { grid-column: 1 / -1; grid-row: auto; }
  .b-a, .b-b { grid-column: auto; grid-row: auto; }
  .filter { grid-template-columns: 1fr; }
  .fuss-raster { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --innen: calc(100% - 32px); --radius: 22px; }
  body { font-size: 16px; }
  .sorten { padding-top: 86px; }
  .einstieg-ort { margin-bottom: 12px; font-size: 14px; }
  .sorten h1 { font-size: clamp(40px, 12.4vw, 56px); margin-bottom: 14px; }
  .einstieg-unter { font-size: 16px; margin-bottom: 18px; }
  .einstieg-unter .lang { display: none; }
  .einstieg-handlung { gap: 6px 18px; }
  .einstieg-ort { display: none; }
  .einstieg, .einstieg-handlung { display: contents; }
  .sorten-buehne { gap: 0; }
  .sorten-buehne .knopf-hell { justify-self: start; }
  .kasten-wrap { order: 1; margin-top: 4px; }
  .brauhaus-kurz { order: 2; justify-self: start; margin-top: 2px; }
  .kasten-hinweis { font-size: 14px; margin-top: 2px; }
  .steckbriefe { width: calc(100% - 24px); margin-top: 44px; }
  .steckbrief { grid-template-columns: 1fr; text-align: left; padding: 24px 20px 28px; }
  .sb-flasche img { max-height: 300px; }
  .sb-werte { grid-template-columns: repeat(2, minmax(0, auto)); gap: 12px 28px; }
  .sb-werte .breit { grid-column: 1 / -1; }
  .segmente label { padding: 0 13px; font-size: 15px; }
  .bh-bilder { padding-bottom: 22%; }
  .bh-bild-klein { width: 56%; right: -2%; }
  .bh-zeiten dl div, .zeiten div { grid-template-columns: 1fr; gap: 0; }
  .zeitleiste li { grid-template-columns: 78px minmax(0, 1fr); gap: 14px; }
  .zeitleiste b { font-size: 32px; }
  .plakat { width: 80%; }
  .hs-reihe { gap: 4px; }
  .hs-reihe img { max-height: 150px; }
  .hs-reihe span { font-size: 11px; }
  .knopf { font-size: 16px; }
  .knopf-kopf { font-size: 15px; padding-left: 14px; gap: 10px; min-height: 44px; }
  .knopf-kopf .knopf-ico { width: 32px; height: 32px; }
  .marke span { font-size: 18px; }
  .marke img { width: 38px; height: 38px; }
}
@media (max-width: 480px) {
  .marke em { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .flut { display: none; }
}
