/* Kaffeerösterei Bienert, Tabula rasa (Seitenbauer, 04.11.2026)
   Eine Welt: ein dunkler Raum, die Röstkammer. Darauf liegen helle Blätter.
   Schrift: Jost (leicht, groß, gesperrte Versalien), Source Sans 3 für den Lesetext.
   Rot nur zum Bestellen. Rundungen 2 bis 3 px. */

@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('fonts/jost-300-600.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/caveat-400-700.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('fonts/Archivo-latin.woff2') format('woff2'); }
@font-face { font-family: 'Saira Stencil One'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/SairaStencilOne-latin.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('fonts/source-sans-3-300-600.woff2') format('woff2'); }

:root {
  --grund: #1e1511;
  --grund-weich: rgba(30, 21, 17, .62);
  --papier: #f3e8d6;
  --papier-tief: #e9dcc5;
  --tinte: #2b1d14;
  --tinte-weich: #6a5240;
  --linie: rgba(43, 29, 20, .14);
  --hell: #f1e5d2;
  --hell-weich: #cdb89e;
  --linie-hell: rgba(241, 229, 210, .16);
  --hand: 'Caveat', 'Bradley Hand', 'Segoe Script', cursive;
  --rot: #b2301f;
  --rot-tief: #8f2314;
  --kopf: 64px;
  --jost: 'Jost', 'Futura', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --sans: 'Source Sans 3', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  --weich: cubic-bezier(.22, .7, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 12px); }
body { margin: 0; background: var(--grund); color: var(--hell); font: 400 1.0625rem/1.6 var(--sans); overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
::selection { background: rgba(178, 48, 31, .22); }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--jost); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.008em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.35rem; font-weight: 400; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
.sprung { position: absolute; left: -999px; top: 8px; background: var(--papier); color: var(--tinte); padding: .5em 1em; z-index: 50; }
.sprung:focus { left: 8px; }

h2.ueberzeile { font-size: .8rem; line-height: 1.6; }
/* Überzeile: gesperrte Versalien, leicht. Die Handschrift der edlen Röstereien. */
.ueberzeile { font-family: var(--jost); font-weight: 500; font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; margin: 0 0 .9em; color: var(--tinte-weich); }
.ueberzeile-hell { color: var(--hell-weich); }
.gross { font-family: var(--jost); font-weight: 400; font-size: 1.25rem; margin-bottom: .25em; line-height: 1.25; }
.quelle, .pflicht, .hinweis { font-size: .9rem; color: var(--tinte-weich); }
.hinweis { padding: .75em 1em; background: var(--papier-tief); border-radius: 2px; }
.leise { font-size: .95rem; }
.signatur { margin-bottom: 0; }
/* Papas Handschrift, nur für vorhandene Sätze */
.hand { font-family: var(--hand); font-weight: 500; font-size: 1.5rem; line-height: 1.2; letter-spacing: 0; }
.hand-gruss { font-size: 2.6rem; margin: 0 0 .2em; color: var(--tinte); }
.hand-gross { font-size: clamp(1.5rem, 2.6vw, 1.95rem); color: var(--tinte-weich); }
.einleitung { font-size: 1.2rem; line-height: 1.5; color: var(--tinte-weich); }

/* Der Grund: die Röstkammer, fest hinter allem, langsam mitwandernd */
.grund { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--grund); }
/* Der Grund ist Atmosphäre, kein Motiv (Hanna, 04.11. 20:27): warmes Dunkel mit Tiefe, Lichtinseln wie Lampenlicht oder
   Röstglut, Bohnen nur als Korn. Beim Scrollen wandert das Licht und die Farbe geht von Glut zu Bohnenbraun, seite.js setzt
   je Ebene nur opacity und transform. Ohne JS und bei reduzierter Bewegung steht alles. */
.grund-ebene { position: absolute; inset: -12% 0 0 0; height: 124%; will-change: opacity, transform; }
.grund-textur { width: 100%; object-fit: cover; opacity: .5; }
.grund-glut { background: radial-gradient(ellipse 48% 38% at 18% 12%, rgba(221, 146, 58, .30), rgba(221, 146, 58, 0) 70%), radial-gradient(ellipse 40% 30% at 86% 55%, rgba(150, 70, 35, .22), rgba(150, 70, 35, 0) 70%); opacity: 1; }
.grund-braun { background: radial-gradient(ellipse 55% 40% at 70% 85%, rgba(118, 78, 48, .32), rgba(118, 78, 48, 0) 70%), radial-gradient(ellipse 45% 35% at 12% 70%, rgba(170, 100, 50, .16), rgba(170, 100, 50, 0) 70%); opacity: .25; }
/* Doppellayer (Hanna, 04.11. 20:33 bis 20:35): über dem Lichtgrund liegt Papas Bohnenschale halbtransparent, als Form im Raum,
   leicht aus der Mitte. Darüber eine Decke in tiefem Kaffeebraun, die beim Scrollen dichter wird (0 bis 22 % der Strecke),
   zum Fuß einen Hauch zurückgeht. Fester Hintergrund auch am Handy: die Ebenen sind position:fixed, kein background-attachment. */
.grund-schale { width: 100%; object-fit: cover; object-position: 62% 45%; opacity: .5; mix-blend-mode: luminosity; filter: contrast(1.05); }
.grund-braun-decke { background: #2a1912; opacity: .45; }
@media (max-width: 700px) { .grund-schale { object-position: 55% 40%; opacity: .55; } }
.grund-korn { position: absolute; inset: 0; background-repeat: repeat; background-size: 96px 96px; opacity: .07; mix-blend-mode: overlay; }
.grund::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 21, 17, .15), rgba(30, 21, 17, .35) 50%, rgba(30, 21, 17, .5)); }

/* Kopf: auf dem Film durchsichtig, beim Scrollen ein Blatt */
.kopf { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: var(--kopf); color: var(--hell); transition: background .35s, color .35s, box-shadow .35s; }
.kopf-innen { max-width: 1240px; margin: 0 auto; height: 100%; padding: 0 16px; display: flex; align-items: center; gap: 1.5rem; }
.kopf.ist-blatt, .kopf-blatt { background: rgba(244, 238, 227, .88); -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15); color: var(--tinte); box-shadow: 0 1px 0 rgba(34, 26, 20, .08), 0 10px 30px -18px rgba(0, 0, 0, .5); }
.marke { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.biene { display: block; aspect-ratio: 342 / 308; height: auto; }
.marke-biene { width: 50px; stroke-width: 8; flex: none; }
.kopf.ist-blatt .marke-biene, .kopf-blatt .marke-biene { color: var(--rot); }
.marke-wort { font-family: var(--jost); font-weight: 400; font-size: 1.05rem; letter-spacing: .06em; line-height: 1.05; display: flex; flex-direction: column; }
.marke-wort span:last-child { font-weight: 500; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 1.6rem; font-family: var(--jost); font-weight: 400; font-size: .98rem; letter-spacing: .04em; }
.nav a { text-decoration: none; padding: .2em 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: currentColor; }
.nav a.nav-shop { color: #fff; background: var(--rot); border: 1px solid var(--rot); border-radius: 2px; padding: .4em 1em !important; font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.nav a.nav-shop:hover, .nav a.nav-shop[aria-current] { color: #fff; background: var(--rot-tief); border-color: var(--rot-tief); }
.kopf-rechts { display: flex; align-items: center; gap: .9rem; }
.korb-knopf { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; text-decoration: none; }
.zaehler { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rot); color: #fff; font: 600 .75rem/18px var(--jost); text-align: center; }
.burger { display: none; align-items: center; gap: .5rem; background: none; border: 0; padding: .5em; min-height: 44px; cursor: pointer; font-family: var(--jost); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.burger span:first-child { width: 20px; height: 1px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav { display: none; position: absolute; top: var(--kopf); left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 0; background: var(--papier); color: var(--tinte); border-radius: 3px; padding: .8rem 1.4rem; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .7); font-size: 1.15rem; }
  .nav.offen { display: flex; }
  .nav a { padding: .7em 0; border-bottom: 1px solid var(--linie); }
  .nav a:last-child { border-bottom: 0; }
  /* Im Handy-Menü der rote Knopf zum Shop, Rahmen rundum (Hanna, 05.11.) */
  .nav a.nav-shop, .nav a.nav-shop:hover, .nav a.nav-shop[aria-current] { margin-top: .8rem; padding: .95em 1em !important; text-align: center; color: #fff; background: var(--rot); border: 1px solid var(--rot); font-size: .85rem; }
  .marke-wort { font-size: .95rem; }
}

/* Abschnitte und Blätter */
.abschnitt { max-width: 1200px; margin: 0 auto; padding: clamp(2.5rem, 7vw, 6rem) 16px; }
.abschnitt-erst { padding-top: calc(var(--kopf) + clamp(2rem, 5vw, 4rem)); }
.abschnitt-hallo { padding-top: clamp(2rem, 5vw, 4rem); }
.abschnittstitel { text-align: center; margin: 0 auto clamp(1.6rem, 4vw, 2.8rem); max-width: 40ch; }
.abschnittstitel .ueberzeile, .kreisel .ueberzeile, .film .ueberzeile { color: var(--hell-weich); }
.abschnittstitel h2 { color: var(--hell); text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.blatt { background: var(--papier); color: var(--tinte); border-radius: 3px; padding: clamp(1.5rem, 4vw, 3.5rem); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 30px 60px -28px rgba(0, 0, 0, .75), 0 3px 10px -2px rgba(0, 0, 0, .35); }
.blatt + .blatt { margin-top: clamp(1.2rem, 3vw, 2rem); }
.blatt-schmal { max-width: 760px; margin-left: auto; margin-right: auto; }
.blatt-lesen { max-width: 860px; margin-left: auto; margin-right: auto; }
.blatt-leicht { background: var(--papier-tief); }
.blatt-fuss { margin: 1.5rem 0 0; }
.js .blatt { opacity: 0; transform: translateY(10px); }
.js .blatt.da { opacity: 1; transform: none; transition: opacity .5s ease-out, transform .5s ease-out; }
.js .hallo { transform: translateY(22px) scale(.975); }
.js .hallo.da { transition: opacity .7s var(--weich), transform .7s var(--weich); }

/* Film oben */
.film { position: relative; height: 100svh; min-height: 560px; max-height: 1000px; overflow: hidden; display: grid; place-items: center; }
.film-video, .film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-poster { transition: opacity .8s; }
.film.laeuft .film-poster { opacity: 0; }
.film::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 21, 17, .5), rgba(30, 21, 17, .35) 40%, rgba(30, 21, 17, .6) 75%, var(--grund)); pointer-events: none; }
.film-video, .film-poster { filter: saturate(.8) brightness(.85); }
/* Der Film hat einen gelbgrünen Stich (Mittel 130/108/65), die Seite ist rotbraun: Grün zurücknehmen statt neu rechnen (Hanna, 05.11.) */
.film::before { content: ''; position: absolute; inset: 0; z-index: 1; background: #ffd5f0; mix-blend-mode: multiply; pointer-events: none; }
.film::after { z-index: 1; }
.film-text { position: relative; z-index: 2; text-align: center; padding: 0 16px; max-width: 900px; }
.etikett { display: inline-block; background: var(--papier); color: var(--tinte); padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.6rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2rem); border-radius: 2px; max-width: 520px; transform: rotate(-1.2deg); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), 0 2px 8px rgba(0, 0, 0, .3); position: relative; }
.etikett::before { content: ''; position: absolute; top: -12px; left: 50%; width: 92px; height: 24px; transform: translateX(-50%) rotate(1.5deg); background: rgba(243, 232, 214, .55); border: 1px solid rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.etikett-biene { width: 112px; margin: 0 auto .6rem; }
.etikett .ueberzeile { margin-bottom: .6em; color: var(--tinte-weich); }
.etikett h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 0 0 .3em; }
.etikett .hand { margin: 0; }
.film-weiter { display: block; width: 44px; height: 44px; margin: .6rem auto 0; }
.film-weiter span { display: block; width: 14px; height: 14px; margin: 10px auto; border-right: 1px solid var(--hell-weich); border-bottom: 1px solid var(--hell-weich); transform: rotate(45deg); animation: wink 2.4s ease-in-out infinite; }
@keyframes wink { 0%, 100% { transform: translateY(0) rotate(45deg); opacity: .6; } 50% { transform: translateY(8px) rotate(45deg); opacity: 1; } }
.film-halt { position: absolute; right: 16px; top: calc(var(--kopf) + 10px); min-height: 44px; z-index: 3; background: rgba(23, 18, 14, .5); color: var(--hell); border: 1px solid var(--linie-hell); border-radius: 2px; padding: .5em .9em; font-family: var(--jost); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }

/* Hallo */
.hallo { display: flex; gap: 2.2rem; align-items: flex-start; overflow: visible; }
/* Hingelegte Abzüge: weißer Rand, leicht schräg, ein Streifen Klebeband */
.abzug { position: relative; margin: 0; background: #fff; padding: 7px 7px 9px; border-radius: 1px; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .18); transform: rotate(-2deg); transition: transform .5s var(--weich); }
.abzug img { width: 100%; height: auto; display: block; }
.abzug::before { content: ''; position: absolute; top: -9px; left: 50%; width: 64px; height: 18px; transform: translateX(-50%) rotate(-3deg); background: rgba(243, 232, 214, .6); border: 1px solid rgba(255, 255, 255, .5); }
.abzug-links { flex: none; width: 240px; margin-top: .4rem; }
.abzug-klein { width: 150px; flex: none; transform: rotate(-1.5deg); padding: 5px 5px 7px; }
.bericht-zeile:nth-child(even) .abzug-klein { transform: rotate(1.2deg); }
.bericht-zeile:hover .abzug-klein { transform: rotate(0); }
.hallo-hinweis { font-size: 1.1rem; }
@media (max-width: 600px) { .hallo { flex-direction: column; gap: 1.4rem; } .abzug-links { width: 200px; } }

/* Zickzack: Bild und Text wechseln, alles in einem Blatt */
.zickzack { padding: 0; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.zz-bild { margin: 0; min-height: 320px; }
.zz-bild img { width: 100%; height: 100%; object-fit: cover; }
.zz-text { padding: clamp(1.5rem, 4vw, 3.5rem); align-self: center; }
.zz-text p:last-child { margin-bottom: 0; }
.fakten { list-style: none; padding: 0; margin: 0; }
.fakten li { padding: .7em 0; border-top: 1px solid var(--linie); font-family: var(--jost); font-weight: 400; font-size: 1.1rem; line-height: 1.35; }
.fakten li:last-child { border-bottom: 1px solid var(--linie); }
.fakten-zwei { columns: 2; column-gap: 2rem; }
.fakten-zwei li { break-inside: avoid; font-size: 1rem; }
@media (max-width: 820px) {
  .zickzack { grid-template-columns: 1fr; }
  .zz-bild { min-height: 0; aspect-ratio: 4 / 3; }
  .zickzack > :nth-child(3) { order: 4; }
  .zickzack > :nth-child(4) { order: 3; }
  .fakten-zwei { columns: 1; }
}

/* Sorten: Tüten in einem Raster, ein Blatt */
.sorten-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2.4rem 1.6rem; }
.sorten-raster-start { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .sorten-raster-start { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }
.sorten-raster-3 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.sorte { display: flex; flex-direction: column; min-width: 0; }
.sorte-bild { display: block; aspect-ratio: 4 / 5; background: #fff; padding: 6px 6px 8px; border-radius: 1px; overflow: hidden; margin-bottom: 1.1rem; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .5), 0 1px 3px rgba(0, 0, 0, .16); transition: transform .5s var(--weich); }
.sorten-raster-start .sorte:nth-child(odd) .sorte-bild { transform: rotate(-1deg); }
.sorten-raster-start .sorte:nth-child(even) .sorte-bild { transform: rotate(.9deg); }
.sorten-raster-start .sorte:hover .sorte-bild { transform: rotate(0); }
.sorte-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--weich); }
.sorte:hover .sorte-bild img { transform: scale(1.03); }
.sorte .ueberzeile { font-size: .76rem; margin-bottom: .5em; }
.sorte h2, .sorte h3 { font-size: 1.3rem; font-weight: 400; margin-bottom: .15em; }
.sorte h2 a, .sorte h3 a { text-decoration: none; }
.sorte h2 a:hover, .sorte h3 a:hover { text-decoration: underline; }
.sorte-unter { color: var(--tinte-weich); font-size: .95rem; margin-bottom: .6em; }
.preis { font-family: var(--jost); margin-bottom: .8em; }
.preis strong { font-weight: 500; font-size: 1.15rem; }
.grundpreis { font-size: .82rem; color: var(--tinte-weich); letter-spacing: .02em; }
.preis-gross strong { font-size: 1.7rem; font-weight: 400; }
.sorte-text { display: flex; flex-direction: column; flex: 1; }
.sorte-text .kauf { margin-top: auto; }
.sorte.oos .sorte-bild img { filter: grayscale(.6); opacity: .7; }
.sorten-fuss { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--linie); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.sorten-fuss .pflicht { margin: 0; }
.shop-kopf { max-width: 60ch; margin-bottom: 1.5rem; }
.shop-kopf p:first-child { font-size: 1.15rem; }
.filter { display: flex; flex-wrap: wrap; gap: .4rem .6rem; margin: 0 0 2.2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--linie); }
.filter button { background: none; border: 1px solid transparent; border-radius: 2px; padding: .7em 1em; min-height: 44px; font-family: var(--jost); font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; color: var(--tinte-weich); }
.filter button:hover { color: var(--tinte); border-color: var(--linie); }
.filter button[aria-pressed="true"] { color: var(--papier); background: var(--tinte); border-color: var(--tinte); }
.filter-leer { padding: 2rem 0; text-align: center; color: var(--tinte-weich); }
.sorte.weg { display: none; }

/* Knöpfe */
.knopf, .btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border: 1px solid currentColor; border-radius: 2px; background: none; color: inherit; font-family: var(--jost); font-weight: 500; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; line-height: 1.1; transition: background .2s, color .2s, border-color .2s; }
.knopf:hover { background: var(--tinte); color: var(--papier); border-color: var(--tinte); }
.band .knopf:hover { background: var(--hell); color: var(--grund); border-color: var(--hell); }
.knopf-rot, .btn-rot { background: var(--rot); color: #fff; border-color: var(--rot); }
.knopf-rot:hover, .btn-rot:hover { background: var(--rot-tief); border-color: var(--rot-tief); color: #fff; }
.knopf[disabled], .knopf[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.knopf.ist-dabei { opacity: .7; }
.kauf { display: flex; flex-wrap: wrap; gap: .8rem; align-items: stretch; margin: 0 0 1.4rem; }
.kauf-mini { margin: 0; gap: .5rem; }
/* Mahlung (17.11.2026): zwei Felder in einer Zeile, volle Breite über Menge und Knopf */
.mahlung { flex: 1 1 100%; display: flex; margin: 0; padding: 0; border: 0; min-width: 0; }
.mahlung legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mahlung label { flex: 1 1 0; position: relative; cursor: pointer; }
.mahlung input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mahlung span { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: .3em .6em; border: 1px solid var(--tinte); font: 400 .92rem var(--jost); letter-spacing: .04em; text-align: center; transition: background .15s, color .15s; }
.mahlung label:first-of-type span { border-radius: 2px 0 0 2px; }
.mahlung label:last-of-type span { border-radius: 0 2px 2px 0; border-left: 0; }
.mahlung input:checked + span { background: var(--tinte); color: var(--papier); }
.mahlung input:focus-visible + span { outline: 2px solid var(--rot); outline-offset: 2px; }
.sorten-frei .mahlung span { border-color: var(--hell-weich); }
.sorten-frei .mahlung input:checked + span { background: var(--hell); color: var(--grund); border-color: var(--hell); }
/* Knopf nie zweizeilig: passt er nicht neben die Menge, stehen beide übereinander und füllen die Breite (Hanna, 05.11.) */
.kauf-mini .knopf { flex: 1000 1 13.5em; min-width: 0; padding: .75em .6em; min-height: 44px; white-space: nowrap; letter-spacing: .1em; }
.kauf-mini .menge { flex: 1 1 auto; }
.kauf-mini .menge input { flex: 1; min-width: 0; }
.kauf-mini .menge button { flex: none; }
.menge { display: inline-flex; border: 1px solid var(--tinte); border-radius: 2px; }
.menge button { width: 44px; min-height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; }
.menge button:hover { background: var(--papier-tief); }
.menge input { width: 3.2em; border: 0; border-left: 1px solid var(--linie); border-right: 1px solid var(--linie); background: none; text-align: center; font: 400 1rem var(--jost); color: inherit; -moz-appearance: textfield; }
.menge input::-webkit-outer-spin-button, .menge input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }


/* Spalten */
.spalten-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
.spalten-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem 3rem; }
.spalten-2 > div > p:last-child, .spalten-3 > div > p:last-child { margin-bottom: 0; }
@media (max-width: 820px) { .spalten-3 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .spalten-2 { grid-template-columns: 1fr; } }
.laeden { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.8rem 2.5rem; }
.laden p { margin-bottom: .2em; }
.laden p:last-child { color: var(--tinte-weich); font-size: .95rem; }
.terminliste { list-style: none; padding: 0; margin: 0 0 1em; }
.terminliste li { display: grid; grid-template-columns: 6.2em 1fr; gap: 1rem; padding: .55em 0; border-top: 1px solid var(--linie); }
.terminliste li:last-child { border-bottom: 1px solid var(--linie); }
.termin-tag { font-family: var(--jost); font-weight: 500; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding-top: .3em; }
.terminliste-gross li { grid-template-columns: 8.5em 1fr; padding: .8em 0; }
.terminliste-gross strong { font-family: var(--jost); font-weight: 400; font-size: 1.15rem; }
.monat { margin: 1.8rem 0 .6rem; font-size: 1.1rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.monat:first-child { margin-top: 0; }

/* Berichte */
.berichtliste { display: flex; flex-direction: column; }
.bericht-zeile { display: flex; gap: 1.6rem; align-items: flex-start; padding: 1.4rem 0; border-top: 1px solid var(--linie); text-decoration: none; }
.bericht-text { display: block; min-width: 0; }
@media (max-width: 520px) { .bericht-zeile { flex-direction: column; gap: 1rem; } .abzug-klein { width: 170px; } }
.bericht-zeile:first-of-type { border-top: 0; padding-top: 0; }
.bericht-zeile:last-of-type { padding-bottom: 0; }
.einleitung + .bericht-zeile { border-top: 1px solid var(--linie); padding-top: 1.4rem; }
.bericht-zeile .ueberzeile { display: block; margin-bottom: .4em; }
.bericht-titel { display: block; font-family: var(--jost); font-weight: 400; font-size: 1.5rem; line-height: 1.2; margin-bottom: .3em; }
.bericht-zeile:hover .bericht-titel { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.bericht-anriss { display: block; color: var(--tinte-weich); max-width: 70ch; }
.lesetext { max-width: 72ch; }
.blatt-lesen.lesetext { max-width: 860px; }
.lesetext > *, .produkt-text > * { max-width: 68ch; }
.lesetext h1 { margin-bottom: .6em; }
.lesetext h2, .produkt-text h2 { font-size: 1.5rem; font-weight: 400; margin: 1.6em 0 .5em; }
.lesetext p + p { margin-top: 0; }
.lesetext .quelle { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--linie); }
.krume { max-width: 860px; margin: 0 auto 1rem; font-family: var(--jost); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hell-weich); }
.kreisel { max-width: 860px; margin: 2rem auto 0; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: center; color: var(--hell); }
.kreisel a { text-decoration: none; }
.kreisel a:hover span:last-child { text-decoration: underline; }
.kreisel .ueberzeile { color: var(--hell-weich); display: block; margin-bottom: .3em; }
.kreisel-vor, .kreisel-nach { font-family: var(--jost); font-size: 1.05rem; }
.kreisel-nach { text-align: right; }
.kreisel-alle { font-family: var(--jost); font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--linie-hell); border-radius: 2px; padding: .7em 1.2em; }
@media (max-width: 620px) { .kreisel { grid-template-columns: 1fr; text-align: center; } .kreisel-nach { text-align: center; } }

/* Sortenseite */
.produkt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem 3.5rem; }
.produkt-bild { margin: 0; aspect-ratio: 4 / 5; background: var(--papier-tief); border-radius: 2px; overflow: hidden; }
.produkt-bild img { width: 100%; height: 100%; object-fit: cover; }
.produkt-kauf h1 { margin-bottom: .15em; }
.produkt-unter { font-size: 1.15rem; color: var(--tinte-weich); }
.noten { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.4rem; }
.noten span { font-family: var(--jost); font-size: .8rem; letter-spacing: .06em; padding: .3em .7em; border: 1px solid var(--linie); border-radius: 2px; }
.tabelle { margin: 1.5rem 0 0; }
.tabelle div { display: grid; grid-template-columns: 8em 1fr; gap: 1rem; padding: .5em 0; border-top: 1px solid var(--linie); }
.tabelle div:last-child { border-bottom: 1px solid var(--linie); }
.tabelle dt { font-family: var(--jost); font-weight: 500; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; padding-top: .25em; color: var(--tinte-weich); }
.tabelle dd { margin: 0; }
.produkt-text { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--linie); }
.produkt-text > h2:first-child { font-size: 1.8rem; font-weight: 300; margin-top: 0; }
@media (max-width: 820px) { .produkt { grid-template-columns: 1fr; } .produkt-bild { max-width: 420px; } }

/* Die Rösterei: sein Abschnitt. Großes Porträt, die Erzählung, die Werkstatt als hingelegte Abzüge */
.roesterei { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem 3.5rem; align-items: start; overflow: visible; }
.abzug-gross { transform: rotate(-2.2deg); margin: .5rem 1rem 0 .5rem; align-self: center; }
.bleistift { padding: .55rem .3rem 0; color: #6f6259; font-family: var(--jost); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.erzaehlung { font-size: 1.18rem; line-height: 1.6; align-self: center; }
.erzaehlung p:last-of-type { margin-bottom: 0; }
.erzaehlung .signatur { margin-top: 1rem; }
.bohnen { list-style: none; margin: 0; padding: 0; }
.bohnen li { position: relative; padding-left: 1.6em; margin-top: .7em; font-size: 1.18rem; line-height: 1.5; text-wrap: pretty; }
.bohnen li::before { content: ''; position: absolute; left: 0; top: .25em; width: 1em; height: 1em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='rotate(35 12 12)'%3E%3Cellipse cx='12' cy='12' rx='7.5' ry='11' fill='%23a5612f'/%3E%3Cpath d='M12 1.5C9 7 15 10 12 12s-3 7 0 10.5' fill='none' stroke='%23f2e8d8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.4rem; padding: .5rem; }
.collage .abzug:nth-child(1) { transform: rotate(-1.6deg); }
.collage .abzug:nth-child(2) { transform: rotate(1.4deg) translateY(1rem); }
.collage .abzug:nth-child(3) { transform: rotate(1deg); }
.collage .abzug:nth-child(4) { transform: rotate(-1.2deg) translateY(.6rem); }
.collage .abzug:hover { transform: rotate(0); z-index: 1; }
/* Zickzack: Foto links, Erzählung rechts, dann Punkte links, Abzüge rechts; Text jeweils mittig zum Bild (Hanna, 05.11.) */
.werkstatt { align-self: center; justify-self: center; max-width: 25em; }
@media (max-width: 820px) { .roesterei { grid-template-columns: 1fr; } .abzug-gross { max-width: 360px; margin: .5rem auto 1rem; } .collage { gap: 1.2rem 1rem; } }

/* Schrift b (Hanna, 04.11. 20:29): Archivo schmal und schwer, Schablone in den Überzeilen, wie der Druck auf Rohkaffeesäcken. ?schrift=b */
html[data-schrift="b"] { --jost: 'Archivo', 'Helvetica Neue', Arial, sans-serif; --schablone: 'Saira Stencil One', 'Archivo', sans-serif; }
html[data-schrift="b"] h1, html[data-schrift="b"] h2, html[data-schrift="b"] h3 { font-weight: 800; font-stretch: 82%; letter-spacing: -.005em; }
html[data-schrift="b"] .etikett h1, html[data-schrift="b"] .abschnittstitel h1, html[data-schrift="b"] .abschnittstitel h2, html[data-schrift="b"] .produkt-kauf h1, html[data-schrift="b"] .lesetext h1 { font-weight: 850; font-stretch: 78%; letter-spacing: -.01em; line-height: .96; }
html[data-schrift="b"] .sorte h2, html[data-schrift="b"] .sorte h3, html[data-schrift="b"] .bericht-titel, html[data-schrift="b"] .gross, html[data-schrift="b"] .terminliste-gross strong, html[data-schrift="b"] .korb-name { font-weight: 800; font-stretch: 84%; }
html[data-schrift="b"] .marke-wort { font-weight: 800; font-stretch: 84%; letter-spacing: .01em; }
html[data-schrift="b"] .nav { font-weight: 500; font-stretch: 90%; }
html[data-schrift="b"] .ueberzeile, html[data-schrift="b"] .marke-wort span:last-child, html[data-schrift="b"] .termin-tag, html[data-schrift="b"] .tabelle dt, html[data-schrift="b"] .fuss-titel, html[data-schrift="b"] .monat, html[data-schrift="b"] .krume { font-family: var(--schablone); font-weight: 400; letter-spacing: .14em; }
html[data-schrift="b"] .ueberzeile { font-size: .88rem; }
html[data-schrift="b"] .knopf, html[data-schrift="b"] .btn, html[data-schrift="b"] .nav-shop, html[data-schrift="b"] .filter button, html[data-schrift="b"] .kreisel-alle { font-weight: 700; font-stretch: 86%; letter-spacing: .12em; }

/* Die Kaffee-Ape: das zweite Angebot neben dem Shop, Knopf in Kupfer, nicht rot */
.ape-knoepfe { display: flex; flex-direction: column; width: fit-content; gap: .8rem; margin-top: 1.6rem; }
.ape-knoepfe .knopf { text-align: center; }
/* Über dem bunten Haus deckend, sonst am Handy nicht lesbar (Hanna, 05.11.) */
.ape-knoepfe .knopf:first-child { background: #e3a46a; border-color: #e3a46a; color: var(--grund); }
.ape-knoepfe .knopf:first-child:hover { background: var(--hell); border-color: var(--hell); }
.ape-knoepfe .knopf:last-child { background: rgba(30, 21, 17, .88); border-color: #e3a46a; color: var(--hell); }
.ape-knoepfe .knopf:last-child:hover { background: var(--grund); color: #e3a46a; }
#ape h2 { white-space: nowrap; }
.knopf-kupfer { color: #8a4a1f; border-color: #8a4a1f; border-width: 1.5px; font-size: .84rem; padding: 1em 1.7em; }
.knopf-kupfer:hover { background: #8a4a1f; border-color: #8a4a1f; color: var(--papier); }
.markt-blatt { margin-top: clamp(1.2rem, 3vw, 2rem); }

/* Formenfamilie (Hanna, 04.11. 20:40): Band, gedrehtes Blatt, Abzug, Etikett, frei auf dem Grund, großes Blatt. Zwei Abschnitte hintereinander nie dieselbe Form. */
.blatt-gedreht { transform: rotate(-.7deg); }
.js .blatt-gedreht.da { transform: rotate(-.7deg); }
.js .hallo { transform: translateY(22px) rotate(-.7deg) scale(.975); }
.band-blatt { background: var(--papier); color: var(--tinte); padding: clamp(1.6rem, 3.5vw, 2.6rem) 16px; box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .8); }
.band-innen { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1.2rem 3rem; align-items: center; justify-content: space-between; }
.band-innen h2 { margin: 0; }
.band-rechts { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; }
.band-rechts .pflicht { margin: 0; }
.sorten-frei { color: var(--hell); }
.sorten-frei .ueberzeile, .sorten-frei .sorte-unter, .sorten-frei .grundpreis { color: var(--hell-weich); }
.sorten-frei .menge { border-color: var(--hell-weich); }
.sorten-frei .menge button:hover { background: rgba(255, 255, 255, .08); }
.sorten-frei .menge input { border-color: var(--linie-hell); }
.sorten-frei .sorte-bild { transform: rotate(-1.4deg); }
.sorten-frei .sorte:nth-child(even) .sorte-bild { transform: rotate(1.1deg); }
.titel-seitlich { color: var(--hell); }
.titel-seitlich h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.knopf-kupfer-hell { color: #e3a46a; border-color: #e3a46a; border-width: 1.5px; font-size: .84rem; padding: 1em 1.7em; }
.knopf-kupfer-hell:hover { background: #e3a46a; border-color: #e3a46a; color: var(--grund); }
.titel-links { max-width: 1200px; color: var(--hell); margin-bottom: 1.5rem; }
.titel-links h2 { text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.polaroids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; margin-bottom: 1.8rem; }
.polaroid { display: block; background: #fff; color: var(--tinte); padding: 10px 10px 1.1rem; border-radius: 1px; text-decoration: none; box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .7); transition: transform .5s var(--weich); }
.polaroid:nth-child(1) { transform: rotate(-1.8deg); }
.polaroid:nth-child(2) { transform: rotate(1.2deg) translateY(.8rem); }
.polaroid:nth-child(3) { transform: rotate(-.8deg); }
.polaroid:hover { transform: rotate(0); }
.polaroid-bild { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: .9rem; background: var(--papier-tief); }
.polaroid-bild img { width: 100%; height: 100%; object-fit: cover; }
.polaroid .ueberzeile { display: block; padding: 0 .3rem; margin-bottom: .3em; font-size: .78rem; }
.polaroid-titel { display: block; padding: 0 .3rem; font-family: var(--jost); font-size: 1.25rem; line-height: 1.2; }
.polaroid:hover .polaroid-titel { text-decoration: underline; }
@media (max-width: 820px) { .polaroids { grid-template-columns: 1fr; max-width: 420px; } .polaroid:nth-child(2) { transform: rotate(1.2deg); } }

/* Band zum Shop, ruhig */
.band { text-align: center; padding: clamp(3rem, 8vw, 6rem) 16px clamp(4rem, 10vw, 8rem); }
.band-biene { width: 104px; margin: 0 auto 1rem; opacity: .9; }
.band-titel { color: var(--hell); margin: 0 0 .4em; }
.band-nummer { font-family: var(--jost); font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 .5em; color: var(--hell); }
.band-nummer a { text-decoration: none; }
.band-angaben { color: var(--hell-weich); margin: 0 auto 1.8em; max-width: 44rem; }
.band-angaben a { color: var(--hell); }
.band-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1rem; margin: 0; }
.band-sozial { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.8rem; margin: 1.6rem 0 0; }
.band-sozial a { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; color: var(--hell); text-decoration: none; font-family: var(--jost); letter-spacing: .03em; }
.band-sozial a:hover { color: #e3a46a; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie-hell); background: rgba(23, 18, 14, .55); color: var(--hell-weich); font-size: .95rem; }
.fuss-innen { max-width: 1200px; margin: 0 auto; padding: 3.5rem 16px 2rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem 2.5rem; }
.fuss a { display: block; text-decoration: none; padding: .2em 0; }
.fuss a:hover { color: var(--hell); text-decoration: underline; }
.fuss p a, .fuss-sozial a { display: inline; }
.fuss-marke img { filter: invert(1) brightness(1.2); mix-blend-mode: screen; opacity: .8; margin-bottom: .6rem; }
.fuss-marke { display: inline-block; min-width: 44px; min-height: 44px; }
.fuss-marke:hover .fuss-biene { opacity: 1; }
.fuss-biene { width: 72px; stroke-width: 7; opacity: .85; }
.fuss-name { font-family: var(--jost); color: var(--hell); font-size: 1.1rem; letter-spacing: .05em; margin-bottom: .4em; }
.fuss-titel { font-family: var(--jost); font-weight: 500; font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--hell); margin-bottom: .8em; }
.fuss-sozial { margin-top: 1rem; }
.fuss-widerruf { max-width: 1200px; margin: 0 auto; padding: 0 16px 1.5rem; }
.fuss .fuss-widerruf a.knopf, .fuss .fuss-widerruf a.knopf:hover { display: inline-flex; min-height: 38px; padding: .5em 1.1em; font-size: .78rem; color: #fff; text-decoration: none; }
.widerruf-form { max-width: 640px; }
.fuss-zeile { max-width: 1200px; margin: 0 auto; padding: 1rem 16px 2rem; border-top: 1px solid var(--linie-hell); font-size: .85rem; }
.fuss-zeile a { display: inline; }
@media (max-width: 820px) { .fuss-innen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fuss-innen { grid-template-columns: 1fr; } }

/* Warenkorb: Schublade und Seite */
.korb-hinter { position: fixed; inset: 0; z-index: 40; background: rgba(23, 18, 14, .55); }
.korb { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(440px, 100%); background: var(--papier); color: var(--tinte); display: flex; flex-direction: column; box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .7); }
.korb-kopf { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.5rem .8rem; border-bottom: 1px solid var(--linie); }
.korb-kopf h2 { font-size: 1.6rem; margin: 0; }
.korb-zu { background: none; border: 0; font-size: 1.8rem; line-height: 1; width: 44px; height: 44px; cursor: pointer; }
.korb-zeilen { flex: 1; overflow-y: auto; padding: .5rem 1.5rem; }
.korb-zeilen.korb-arbeitet { opacity: .5; }
.korb-leer { color: var(--tinte-weich); padding: 1.5rem 0; }
.korb-zeile { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--linie); align-items: start; }
.korb-bild { aspect-ratio: 4 / 5; background: var(--papier-tief); border-radius: 2px; overflow: hidden; }
.korb-bild img { width: 100%; height: 100%; object-fit: cover; }
.korb-name { font-family: var(--jost); font-size: 1.05rem; display: block; margin-bottom: .2em; }
.korb-einzel { display: block; font-size: .85rem; color: var(--tinte-weich); margin-bottom: .6em; }
.korb-menge { display: inline-flex; border: 1px solid var(--linie); border-radius: 2px; }
.korb-menge button { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.korb-menge output { min-width: 2.4em; text-align: center; line-height: 36px; font-family: var(--jost); }
.korb-rechts { text-align: right; }
.korb-preis { display: block; font-family: var(--jost); font-weight: 500; margin-bottom: .4em; }
.korb-weg { background: none; border: 0; padding: .3em 0; font-size: .82rem; color: var(--tinte-weich); text-decoration: underline; cursor: pointer; }
.korb-fuss { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid var(--linie); display: flex; flex-direction: column; gap: .6rem; }
.korb-summe { display: flex; justify-content: space-between; font-family: var(--jost); font-size: 1.15rem; margin: 0; }
.korb-summe strong { font-weight: 500; }
.korb-fuss .pflicht { margin: 0; }
.korb-fuss .knopf { width: 100%; }
.korb-fuss .leise { text-align: center; }
body.korb-offen { overflow: hidden; }
.korbseite .korb-zeile { grid-template-columns: 90px 1fr auto; }
.korbseite .korb-fuss { padding: 1.5rem 0 0; margin-top: 1rem; max-width: 420px; }
.korbseite .korb-leer { padding: 0 0 1rem; }
.meldungen { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); z-index: 45; display: flex; flex-direction: column; gap: .5rem; width: min(480px, calc(100% - 32px)); }
.meldung { background: var(--papier); color: var(--tinte); border-radius: 3px; padding: .9rem 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8); border-left: 3px solid var(--rot); }
.meldung-ok { border-left-color: var(--tinte); }
.meldung .btn { padding: .6em 1em; }

/* Weniger Bewegung: alles steht, nichts ploppt, der Film bleibt ein Bild */
/* Berichte in zwei Fächern: laufend und Hintergrund (Hanna, 05.11.) */
.berichte-faecher { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.2rem, 3vw, 2rem); align-items: start; }
.berichte-faecher .blatt + .blatt { margin-top: 0; }
.fach-titel { margin: 0 0 1rem; }
.berichtliste-seite .abzug-klein { width: 104px; }
@media (max-width: 900px) { .berichte-faecher { grid-template-columns: minmax(0, 1fr); } }

/* Meine Sorten: Titel und Kacheln gehören zusammen, kein eigenes Band dazwischen (Hanna, 05.11.) */
.sorten-kopf { max-width: 1200px; margin: 0 auto clamp(1.4rem, 3vw, 2.4rem); display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: flex-end; justify-content: space-between; padding-bottom: 1.1rem; border-bottom: 1px solid var(--linie-hell); }
.sorten-kopf h2 { margin: 0; color: var(--hell); }
.sorten-kopf-rechts { display: flex; flex-wrap: wrap; gap: .8rem 1.8rem; align-items: center; color: var(--hell-weich); }
.sorten-kopf-rechts .pflicht { margin: 0; color: var(--hell-weich); }
.sorten-kopf-rechts a:not(.knopf) { color: inherit; }

/* Termine und Verkauf: helles Band, sein Stand als Abzug, die Termine auf einem dunklen Schild (Hanna, 05.11.) */
.markt-band { background: var(--papier); color: var(--tinte); padding: clamp(2.6rem, 5vw, 4.5rem) 16px; box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .8); }
.markt-innen { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 2rem clamp(1.5rem, 3vw, 3rem); align-items: start; }
.markt-text h2 { margin: 0 0 1.3rem; }
.markt-orte { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2rem; }
.markt-orte p:last-child { margin-bottom: 0; }
.markt-weiter { margin: 1.2rem 0 0; }
.markt-abzug { transform: rotate(2deg); }
.markt-abzug::before { background: rgba(186, 166, 138, .62); border-color: rgba(255, 255, 255, .35); }
.markt-abzug img { aspect-ratio: 4 / 5; object-fit: cover; }
.tafel { background: var(--grund); color: var(--hell); padding: clamp(1.4rem, 2.5vw, 2rem); border-radius: 2px; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .6); }
.tafel-titel { font-family: var(--jost); font-weight: 400; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--hell-weich); margin: 0 0 .9rem; }
.tafel-liste { list-style: none; margin: 0; padding: 0; }
.tafel-liste li { display: grid; grid-template-columns: 4.6em 1fr; gap: .8rem; padding: .7em 0; border-top: 1px solid var(--linie-hell); line-height: 1.35; }
.tafel-tag { font-family: var(--jost); font-weight: 500; font-size: .95rem; letter-spacing: .03em; color: #e3a46a; padding-top: .08em; }
.tafel-fuss { margin: .9rem 0 0; }
.tafel-fuss a { color: inherit; }
@media (max-width: 960px) {
  .markt-innen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .markt-text { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .markt-innen, .markt-orte { grid-template-columns: minmax(0, 1fr); }
  .markt-abzug { width: 70%; justify-self: center; }
  .markt-abzug img { aspect-ratio: 1 / 1; object-position: center top; }
}

/* Die Kaffee-Ape an einem Ort (Hanna, 05.11.): hinter ihr das angestrahlte Haus, abgedunkelt und zu den Rändern ausgeblendet,
   davor Titel, Bilderschau und das Blatt mit allem, was man wissen muss. */
.ape-ort { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4.5rem, 10vw, 9rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.ape-haus { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; filter: saturate(.9) brightness(.74); -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 72%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 72%, transparent); }
.ape-ort::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(24, 14, 9, .66), rgba(24, 14, 9, .24) 55%, rgba(24, 14, 9, .14)); }
.ape-innen { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4.5rem); align-items: center; }
.apeshow { margin: 0; }
.apeshow-buehne { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--grund); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .85); touch-action: pan-y; }
.apeshow-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.apeshow-bild.ist-da { opacity: 1; z-index: 2; }
.apeshow-bild.war-da { opacity: 1; z-index: 1; transition: none; }
.apeshow-pfeil { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #fff; cursor: pointer; opacity: .85; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7)) drop-shadow(0 0 5px rgba(0, 0, 0, .4)); transition: opacity .2s; }
.apeshow-pfeil:hover { opacity: 1; }
.apeshow-zurueck { left: 6px; } .apeshow-vor { right: 6px; }
.apeshow-punkte { display: flex; gap: 2px; justify-content: center; margin-top: .4rem; }
.apeshow-punkt { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.apeshow-punkt::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(241, 229, 210, .7); transition: background .3s; }
.apeshow-punkt.ist-da::before { background: var(--hell); border-color: var(--hell); }
html:not(.js) .apeshow-pfeil, html:not(.js) .apeshow-punkte { display: none; }
@media (max-width: 820px) {
  .ape-innen { grid-template-columns: minmax(0, 1fr); }
  .ape-ort::after { background: rgba(24, 14, 9, .5); }
  .apeshow-punkte { margin-top: .2rem; }
}
/* Bilder groß: das Bild hebt sich als Abzug über die Seite, kein Vollbild (Hanna, 05.11.) */
.zum-vergroessern { cursor: zoom-in; }
html.licht-offen { overflow: hidden; }
.lichtbild { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--hell); overflow: hidden; }
.lichtbild::backdrop { background: rgba(18, 12, 9, .58); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.lichtbild-spur { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; outline: 0; }
.lichtbild-spur::-webkit-scrollbar { display: none; }
.lichtbild-teil { flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; scroll-snap-align: center; scroll-snap-stop: always; padding: 16px; box-sizing: border-box; cursor: zoom-out; }
.lichtbild-abzug { position: relative; background: #fff; padding: 9px 9px 12px; border-radius: 1px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 0 2px 6px rgba(0, 0, 0, .25); transform: rotate(-1.2deg); max-width: min(100%, 860px); }
.lichtbild-teil:nth-child(even) .lichtbild-abzug { transform: rotate(1deg); }
.lichtbild-abzug::before { content: ''; position: absolute; top: -10px; left: 50%; width: 74px; height: 20px; transform: translateX(-50%) rotate(-3deg); background: rgba(243, 232, 214, .65); border: 1px solid rgba(255, 255, 255, .5); }
.lichtbild-abzug img { display: block; max-width: 100%; max-height: 62svh; width: auto; height: auto; }
.lichtbild-abzug p { margin: .5rem 0 0; text-align: center; font-family: var(--jost); font-size: .8rem; letter-spacing: .12em; color: var(--tinte-weich); }
.lichtbild[open] .lichtbild-abzug { animation: lichtbild-auf .28s var(--weich); }
@keyframes lichtbild-auf { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }
.lichtbild-zu { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; border: 0; background: none; color: var(--hell); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lichtbild-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; background: rgba(18, 12, 9, .45); color: var(--hell); font-size: 2rem; line-height: 1; border-radius: 2px; cursor: pointer; }
.lichtbild-zurueck { left: 10px; } .lichtbild-vor { right: 10px; }
.lichtbild.einzeln .lichtbild-pfeil { display: none; }
@media (hover: none) { .lichtbild-pfeil { display: none; } }
@media (prefers-reduced-motion: reduce) { .lichtbild[open] .lichtbild-abzug { animation: none; } }

/* Gefeaturte Sorten auf der Startseite, über den übrigen Sorten (Hanna, 05.11.) */
.fokus { max-width: 1200px; margin: 0 auto clamp(2.6rem, 5vw, 4rem); padding: 0; text-shadow: 0 1px 10px rgba(0, 0, 0, .75); }
.fokus .knopf, .fokus .menge { text-shadow: none; }
.fokus > .ueberzeile { margin-bottom: 1.2rem; }
.fokus-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3rem); }
.fokus .sorte { flex-direction: row; gap: 1.4rem; align-items: center; }
.fokus .sorte-bild { flex: 0 0 44%; margin-bottom: 0; transform: rotate(-1.4deg); }
.fokus .sorte h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.15; margin-bottom: .25em; }
.fokus .sorte-text { flex: 1; min-width: 0; }
/* Feature im Raum, ohne Karte: warmes Licht hinter dem Abzug (Hanna, 05.11.) */
.fokus > .ueberzeile { color: #e3a46a; }
.sorten-zwischen { max-width: 1200px; margin: 0 auto 1.4rem; padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--linie-hell); color: #e3a46a; }
.fokus .sorte-bild { box-shadow: 0 0 60px 14px rgba(235, 170, 100, .28), 0 0 150px 50px rgba(226, 136, 66, .18), 0 18px 34px -16px rgba(0, 0, 0, .7); }
.fokus .sorte h3 a { color: var(--hell); }
@media (max-width: 520px) {
  .fokus .sorte { flex-direction: column; align-items: stretch; }
  .fokus .sorte-bild { flex: none; width: 78%; align-self: center; margin-bottom: .6rem; }
}

/* Kontakt: Formular und direkte Wege (Hanna, 05.11.) */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.2rem, 3vw, 2rem); align-items: start; }
.kontakt-raster .blatt + .blatt { margin-top: 0; }
.kontakt-form { scroll-margin-top: calc(var(--kopf) + 12px); }
.kontakt-form h2 { margin-top: 0; }
.feld { margin-bottom: 1rem; }
.feld label { display: block; font-family: var(--jost); font-size: .95rem; margin-bottom: .3em; }
.feld input, .feld select, .feld textarea { width: 100%; box-sizing: border-box; font: inherit; color: inherit; background: rgba(255, 255, 255, .55); border: 1px solid rgba(43, 29, 20, .35); border-radius: 2px; padding: .65em .75em; min-height: 44px; }
.feld textarea { resize: vertical; }
.feld-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kontakt-form .hinweis { margin-top: 1rem; }
.formular-ok, .formular-fehler { padding: .8em 1em; border-radius: 2px; border-left: 3px solid var(--tinte); background: var(--papier-tief); }
.formular-fehler { border-left-color: var(--rot); }
.kontakt-knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.kontakt-knoepfe .knopf[hidden] { display: none; }
@media (max-width: 820px) { .kontakt-raster { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .feld-zwei { grid-template-columns: 1fr; } }

.berichte-wege { display: flex; flex-wrap: wrap; gap: .7rem 1rem; }

/* Hallo als Banner im Raum, ohne Papier und ohne harte Kanten (Hanna, 05.11.) */
.hallo-band { position: relative; z-index: 1; color: var(--hell); padding: clamp(2rem, 4vw, 3rem) 16px clamp(4rem, 8vw, 6.5rem); background: linear-gradient(to bottom, var(--grund), rgba(30, 21, 17, .8) 40%, rgba(30, 21, 17, .75) 70%, transparent); }
.hallo-innen { margin: 0 auto; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 34em); justify-content: center; gap: 1.4rem clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hallo-abzug { transform: rotate(-2deg); box-shadow: 0 0 60px 14px rgba(235, 170, 100, .22), 0 0 150px 50px rgba(226, 136, 66, .14), 0 18px 34px -16px rgba(0, 0, 0, .7); }
.hallo-text p:last-child { margin-bottom: 0; }
.hallo-text .hand-gruss { margin-top: 0; }
.hallo-text .hand, .hallo-text a { color: var(--hell); }
@media (max-width: 700px) {
  .hallo-innen { grid-template-columns: minmax(0, 1fr); }
  .hallo-abzug { width: 78%; justify-self: center; }
}

/* Grundlagen aus der Vorfassung (Hanna, 05.11.): Handy-Leiste zum Shop, nie über dem Korb */
.shopleiste { display: none; }
.korb-mitlauf { position: fixed; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 26; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 3px; background: var(--grund); color: var(--hell); border: 1px solid var(--linie-hell); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .85); text-decoration: none; }
.korb-mitlauf[hidden] { display: none; }
.korb-mitlauf .zaehler { top: -7px; right: -7px; }
.korb-mitlauf.hupft { animation: korb-hupf .5s var(--weich); }
@keyframes korb-hupf { 0% { transform: scale(1); } 35% { transform: scale(1.16); } 100% { transform: scale(1); } }
body.korb-offen .korb-mitlauf { display: none; }
@media (max-width: 760px) {
  .shopleiste { display: flex; align-items: center; justify-content: center; min-height: 44px; position: fixed; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 25; padding: .35em 1.25em; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; border-radius: 3px; text-decoration: none; background: var(--rot); color: #fff; font-family: var(--jost); font-weight: 500; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .8); transform: translateY(160%); opacity: 0; transition: transform .35s var(--weich), opacity .35s ease; }
  .shopleiste.ist-da { transform: none; opacity: 1; }
  body.korb-gefuellt .shopleiste { right: 76px; bottom: calc(max(14px, env(safe-area-inset-bottom)) + 4px); }
  body.korb-offen .shopleiste { display: none; }
.korb-mitlauf { position: fixed; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 26; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 3px; background: var(--grund); color: var(--hell); border: 1px solid var(--linie-hell); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .85); text-decoration: none; }
.korb-mitlauf[hidden] { display: none; }
.korb-mitlauf .zaehler { top: -7px; right: -7px; }
.korb-mitlauf.hupft { animation: korb-hupf .5s var(--weich); }
@keyframes korb-hupf { 0% { transform: scale(1); } 35% { transform: scale(1.16); } 100% { transform: scale(1); } }
body.korb-offen .korb-mitlauf { display: none; }
  .meldungen { bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .shopleiste { transition: none; } .korb-mitlauf.hupft { animation: none; } }
.nachoben { color: inherit; }

@media (prefers-reduced-motion: reduce) { .apeshow-bild { transition: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .blatt { opacity: 1; transform: none; transition: none; }
  .film-weiter span { animation: none; }
  .film-video { display: none; }
  .film.laeuft .film-poster { opacity: 1; }
  .sorte-bild img { transition: none; }
  .grund-ebene { transform: none !important; }
  .grund-braun-decke { opacity: .85 !important; }
  .grund-schale { opacity: .45 !important; }
}
