/* web-smilie.de – Mockup A „Der Smilie-Laden“
   Ein heller Bonbon-Laden: Glas, Zucker, Messing. Smilies stehen immer auf hellen Flächen. */

@font-face { font-family: "Fredoka"; src: url("/laden/schriften/fredoka-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/laden/schriften/fredoka-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/laden/schriften/fredoka-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/laden/schriften/nunito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/laden/schriften/nunito-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Nunito"; src: url("/laden/schriften/nunito-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/laden/schriften/nunito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/laden/schriften/nunito-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/laden/schriften/courier-prime-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/laden/schriften/courier-prime-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/laden/schriften/caveat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
    --zucker: #fff7f9;
    --baiser: #ffe6ee;
    --rosa: #f7cfd9;
    --kirsche: #d3183a;
    --kirsche-tief: #a30f2b;
    --minze: #bfeee0;
    --minze-tief: #1d7461;
    --zitrone: #ffd23f;
    --lakritz: #2a1726;
    --lakritz-weich: #5d4658;
    --messing: #b48a3c;
    --messing-hell: #e8cf92;
    --weiss: #fff;
    --schatten-glas: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -22px rgba(122, 32, 62, .45);
    --rund-gross: 28px;
    --rund: 18px;
    --text: clamp(1.0625rem, .98rem + .25vw, 1.1875rem);
    --breite: min(1480px, 100% - 2 * var(--rand));
    --rand: clamp(16px, 3.2vw, 56px);
    --kopf: 76px;
    color-scheme: light;
}
@media (min-width: 2400px) { :root { --breite: min(2080px, 100% - 2 * var(--rand)); --text: 1.3rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf) + 24px); }
@media (max-width: 680px) { html { scroll-padding-top: calc(var(--kopf) + 84px); } }
html[data-bewegung="aus"] { scroll-behavior: auto; }
body {
    margin: 0; background: var(--zucker); color: var(--lakritz);
    font: 400 var(--text)/1.6 "Nunito", system-ui, sans-serif; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--kirsche-tief); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--kirsche); }
h1, h2, h3, .anzeige { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 600; line-height: 1.08; letter-spacing: -.01em; margin: 0; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.6rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--kirsche); outline-offset: 3px; border-radius: 6px; }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.spalte { width: var(--breite); margin-inline: auto; }
.pixel { image-rendering: pixelated; }
::selection { background: var(--zitrone); color: var(--lakritz); }

/* ---------------------------------------------------------------- Knöpfe */
.knopf {
    --hg: var(--kirsche); --vg: var(--weiss);
    display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: .7em 1.3em;
    border: 0; border-radius: 999px; background: var(--hg); color: var(--vg);
    font: 700 1rem/1.1 "Nunito", sans-serif; text-decoration: none; cursor: pointer;
    box-shadow: 0 -3px 0 rgba(0, 0, 0, .16) inset, 0 10px 22px -12px rgba(163, 15, 43, .75);
    transition: transform .18s ease, background-color .18s ease;
}
.knopf:hover { background: var(--kirsche-tief); color: var(--vg); transform: translateY(-1px); }
.knopf:active { transform: translateY(1px); box-shadow: 0 -1px 0 rgba(0, 0, 0, .16) inset; }
.knopf--hell { --hg: var(--weiss); --vg: var(--lakritz); box-shadow: 0 0 0 1.5px var(--rosa) inset, 0 8px 18px -12px rgba(122, 32, 62, .45); }
.knopf--hell:hover { background: var(--baiser); color: var(--lakritz); }
.knopf--minze { --hg: var(--minze); --vg: #0f3d33; box-shadow: 0 -3px 0 rgba(0, 0, 0, .08) inset; }
.knopf--minze:hover { background: #a6e6d3; color: #0f3d33; }
.knopf img { width: 30px; height: 30px; margin-block: -6px; }
.knopf[aria-pressed="true"] { --hg: var(--lakritz); --vg: var(--zitrone); }
.textknopf { border: 0; background: none; padding: .3em .1em; font: inherit; color: var(--kirsche-tief); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

/* ---------------------------------------------------------------- Kopf: das Ladenschild über dem Schaufenster
   Dunkles Lakritz mit Messingleiste – hebt sich klar vom hellen Laden ab (der Fuß greift das unten wieder auf). */
.kopf {
    position: sticky; top: 0; z-index: 50; height: var(--kopf);
    background: var(--lakritz); color: #fbeef3;
    box-shadow: 0 -3px 0 var(--messing) inset, 0 -4px 0 #7a5a22 inset, 0 16px 30px -18px rgba(42, 23, 38, .7);
}
.kopf__innen { width: var(--breite); margin-inline: auto; height: 100%; display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); padding-bottom: 3px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.marke:hover { color: #fff; }
.marke img { width: 54px; height: 54px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45)); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.marke:hover img { transform: rotate(-14deg) scale(1.06); }
.marke__name { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.6rem; line-height: 1; }
.marke__zusatz { display: block; font: 700 .8rem/1.2 "Nunito", sans-serif; color: var(--messing-hell); letter-spacing: .02em; margin-top: 4px; }
.kopf nav { flex-shrink: 0; }
.kopf nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.kopf nav a { position: relative; display: block; padding: .6em .85em; border-radius: 999px; text-decoration: none; color: #fbeef3; font-weight: 700; }
.kopf nav a:hover { background: rgba(255, 255, 255, .1); color: var(--zitrone); }
.kopf nav a[aria-current="page"] { color: var(--zitrone); }
.kopf nav a[aria-current="page"]::after { content: ""; position: absolute; left: 1em; right: 1em; bottom: .25em; height: 3px; border-radius: 3px; background: var(--zitrone); }
.kopf :focus-visible { outline-color: var(--zitrone); }
/* Kategorien: Knopf im Menü und das aufklappende Panel mit allen Gläsern */
.nav-knopf { display: inline-flex; align-items: center; gap: .35em; padding: .6em .85em; border: 0; border-radius: 999px; background: none; color: #fbeef3; font: inherit; font-weight: 700; cursor: pointer; }
.nav-knopf:hover, .nav-knopf[aria-expanded="true"] { background: rgba(255, 255, 255, .1); color: var(--zitrone); }
.nav-knopf.ist-hier { color: var(--zitrone); }
.nav-knopf__pfeil { font-size: .8em; transition: rotate .2s; }
.nav-knopf[aria-expanded="true"] .nav-knopf__pfeil { rotate: 180deg; }
.kategorien-menue { position: absolute; left: 0; right: 0; top: var(--kopf); z-index: 49; max-height: calc(100dvh - var(--kopf)); overflow: auto; background: var(--lakritz); box-shadow: 0 -3px 0 var(--messing) inset, 0 30px 50px -24px rgba(42, 23, 38, .7); }
.kategorien-menue[hidden] { display: none; }
.kategorien-menue__innen { width: var(--breite); margin-inline: auto; padding: 22px 0 30px; }
.kategorien-menue__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin-bottom: 16px; }
.kategorien-menue__titel { margin: 0; font: 600 1.35rem/1.2 "Fredoka", sans-serif; color: var(--zitrone); }
.kopf .kategorien-menue__kopf a { display: inline; padding: 0; color: #fde3ec; text-decoration: underline; text-underline-offset: .2em; }
.kopf nav .schublade { display: grid; gap: 10px; }
.kopf nav .schubfach { display: grid; padding: 7px 12px 7px 7px; border-radius: 16px; }
.kopf nav .schubfach::after, .kopf nav .schubfach[aria-current]::after { content: none; }
.kategorien-menue { white-space: normal; }
.schubfach[aria-current="page"] { box-shadow: 0 0 0 2px var(--zitrone) inset; background: rgba(255, 210, 63, .12); }
.suche { position: relative; margin-left: auto; flex: 0 1 360px; min-width: 210px; }
.suche input {
    width: 100%; height: 48px; padding: 0 1em 0 50px; border: 0; border-radius: 999px;
    background: var(--weiss) url("bilder/icon-block-256.webp") 10px 50% / 30px no-repeat; font: inherit; font-size: 1rem; color: var(--lakritz);
    box-shadow: 0 0 0 2px rgba(232, 207, 146, .55), 0 6px 16px -8px rgba(0, 0, 0, .6) inset;
}
.suche input::placeholder { color: var(--lakritz-weich); }
.suche input:focus { outline: none; box-shadow: 0 0 0 3px var(--zitrone); }
.suche__liste {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0; padding: 8px; list-style: none;
    background: var(--weiss); border-radius: var(--rund); box-shadow: 0 24px 50px -20px rgba(80, 20, 45, .45); max-height: 70vh; overflow: auto;
}
.suche__liste[hidden] { display: none; }
.suche__liste a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--lakritz); }
.suche__liste a:hover, .suche__liste a[aria-selected="true"] { background: var(--baiser); }
.suche__liste img { width: 40px; height: 40px; object-fit: contain; }
.suche__liste small { display: block; color: var(--lakritz-weich); }
.suche__leer { padding: 12px; color: var(--lakritz-weich); }
.tuete-knopf { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--weiss); box-shadow: 0 0 0 2px var(--messing-hell); cursor: pointer; flex-shrink: 0; }
.tuete-knopf img { width: 40px; height: 40px; }
.tuete-knopf:hover { background: var(--baiser); }
.tuete-knopf__zahl { position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--zitrone); color: var(--lakritz); font: 800 .8rem/24px "Nunito", sans-serif; text-align: center; box-shadow: 0 0 0 2px var(--lakritz); }
.tuete-knopf__zahl[hidden] { display: none; }
.menue-knopf { display: none; }
@media (max-width: 1320px) {
    .kopf nav { display: none; }
    .kopf nav.offen { display: block; position: absolute; top: var(--kopf); left: 0; right: 0; max-height: calc(100dvh - var(--kopf)); overflow: auto; background: var(--lakritz); padding: 12px var(--rand) 20px; box-shadow: 0 -3px 0 var(--messing) inset, 0 24px 30px -20px rgba(42, 23, 38, .6); }
    .kopf nav.offen > ul { flex-direction: column; }
    .kategorien-menue { position: static; max-height: none; overflow: visible; box-shadow: none; background: none; }
    .kategorien-menue__innen { width: auto; padding: 8px 0 14px; }
    .kopf nav.offen a[aria-current="page"]::after { right: auto; width: 2.2em; }
    .menue-knopf { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); font: 800 1.3rem/1 "Nunito"; cursor: pointer; color: #fff; box-shadow: 0 0 0 1.5px rgba(232, 207, 146, .5) inset; }
}
@media (max-width: 680px) {
    .marke__zusatz { display: none; }
    .marke__name { font-size: 1.2rem; }
    .marke img { width: 42px; height: 42px; }
    .suche { position: absolute; top: var(--kopf); left: 0; right: 0; padding: 4px var(--rand) 12px; background: var(--lakritz); flex: none; box-shadow: 0 -3px 0 var(--messing) inset, 0 16px 26px -18px rgba(42, 23, 38, .7); }
    .kopf { margin-bottom: 64px; box-shadow: none; }
    .kopf nav.offen { top: calc(var(--kopf) + 64px); z-index: 2; max-height: calc(100dvh - var(--kopf) - 64px); }
}

/* ---------------------------------------------------------------- Abschnitte */
.abschnitt { padding-block: clamp(36px, 3.6vw, 64px); }
.abschnitt__kopf { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(18px, 2.2vw, 32px); }

/* Bänder über die ganze Breite: gliedern den Laden in Bereiche (Regalwand, Theke, Werkstatt, Ladengeschichte) */
.band { position: relative; isolation: isolate; }
.band > .spalte { position: relative; }
.band--wand { background: linear-gradient(180deg, var(--weiss) 0, #fff1f5 55%, var(--baiser) 100%); box-shadow: 0 1px 0 rgba(211, 24, 58, .08) inset, 0 -1px 0 rgba(211, 24, 58, .08) inset; }
.band--terrazzo { background: #f3d9df url("bilder/terrazzo.webp") 50% 50% / cover; }
@media (max-width: 900px) { .band--terrazzo { background-image: url("bilder/terrazzo-klein.webp"); } }
.band--terrazzo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255, 247, 249, .72) 0, rgba(255, 247, 249, .35) 22%, rgba(255, 247, 249, .2) 100%); }
.band--terrazzo .abschnitt__kopf p { color: var(--lakritz); }
.band--minze { background: linear-gradient(160deg, #f0fbf6 0, #dcf3ea 100%); box-shadow: 0 1px 0 rgba(29, 116, 97, .12) inset; }
.band--creme { background: #fffaf1; box-shadow: 0 1px 0 rgba(180, 138, 60, .18) inset; }
.abschnitt--anschluss { padding-top: clamp(24px, 2.4vw, 40px); }
.abschnitt__kopf p { max-width: 58ch; margin: .5em 0 0; color: var(--lakritz-weich); }
.notiz { font-size: .9rem; color: var(--lakritz-weich); }

/* ---------------------------------------------------------------- Bühne (Startseite) */
.buehne { position: relative; padding-top: clamp(20px, 3vw, 48px); }
.buehne__raster { width: var(--breite); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.buehne__text h1 { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 5.2rem); }
.buehne__text .zahlen { margin: 1.2em 0 1.6em; font-size: 1.2rem; max-width: 34ch; }
.buehne__text .zahlen strong { color: var(--kirsche-tief); }
.buehne__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.buehne__emojis { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.buehne__emojis button {
    display: inline-flex; align-items: center; gap: 6px; padding: .4em .9em; border: 0; border-radius: 999px;
    background: var(--weiss); box-shadow: 0 0 0 1.5px var(--rosa) inset; font: 700 .95rem "Nunito"; color: var(--lakritz); cursor: pointer;
}
.buehne__emojis button:hover { background: var(--baiser); }
.schaufenster {
    position: relative; border-radius: var(--rund-gross); overflow: hidden; aspect-ratio: 21 / 11;
    box-shadow: 0 0 0 6px var(--weiss), 0 0 0 8px var(--messing-hell), 0 40px 80px -40px rgba(122, 32, 62, .6);
}
.schaufenster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.schaufenster canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.schaufenster__hinweis {
    position: absolute; left: 18px; bottom: 16px; padding: .45em .9em; border-radius: 999px; background: rgba(255, 255, 255, .86);
    font: 700 .85rem "Nunito"; color: var(--lakritz); backdrop-filter: blur(6px); pointer-events: none;
}
@media (max-width: 900px) {
    .buehne__raster { grid-template-columns: 1fr; }
    .schaufenster { order: -1; aspect-ratio: 4 / 3; }
}

/* ---------------------------------------------------------------- Heute im Laden */
.heute { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 2.5vw, 40px); }
@media (max-width: 900px) { .heute { grid-template-columns: 1fr; } }
.karte { position: relative; border-radius: var(--rund-gross); background: var(--weiss); overflow: hidden; box-shadow: var(--schatten-glas); }
.teller { display: grid; grid-template-rows: auto 1fr; }
.teller__bild { position: relative; aspect-ratio: 1 / .78; overflow: hidden; }
.teller__bild > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.teller__smilie { position: absolute; left: 43.8%; top: 52.3%; translate: -50% -50%; image-rendering: pixelated; filter: drop-shadow(0 6px 6px rgba(80, 40, 50, .25)); cursor: pointer; border: 0; background: none; padding: 0; }
.teller__smilie img { display: block; image-rendering: pixelated; }
.teller__text, .fenster__text { padding: clamp(20px, 2.4vw, 34px); }
.teller__text h3, .fenster__text h3 { margin-bottom: .35em; }
.teller__knoepfe { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.fenster { display: grid; grid-template-rows: auto 1fr; }
.fenster__bild { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.fenster__bild img { width: 100%; height: 100%; object-fit: cover; }
.fenster__anlass { position: absolute; top: 18px; left: 18px; padding: .45em 1em; border-radius: 999px; background: var(--kirsche); color: #fff; font: 800 .9rem "Nunito"; }
.reihe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.reihe button { display: grid; place-items: center; width: 64px; height: 64px; border: 0; border-radius: 16px; background: var(--zucker); cursor: pointer; box-shadow: 0 0 0 1px var(--baiser) inset; }
.reihe button:hover { background: var(--baiser); }
.reihe img { max-width: 52px; max-height: 52px; image-rendering: pixelated; }

/* ---------------------------------------------------------------- Das Regal (Kategorien als Gläser) */
.regal { position: relative; }
.regal__brett {
    --spalten: 2;
    display: grid; grid-template-columns: repeat(var(--spalten), minmax(0, 1fr)); gap: 28px 18px; justify-items: center;
    padding: 26px clamp(10px, 2vw, 28px) 0; position: relative;
}
/* Spaltenzahlen, die immer aufgehen: 24 Gläser im Archiv (2/3/4/6/8), 4 Hausmarken (2/4) */
@media (min-width: 520px) { .regal__brett--archiv { --spalten: 3; } }
@media (min-width: 760px) { .regal__brett--archiv { --spalten: 4; } .regal__brett--haus { --spalten: 4; } }
@media (min-width: 1100px) { .regal__brett--archiv { --spalten: 6; } }
@media (min-width: 1600px) { .regal__brett--archiv { --spalten: 8; } }
.regal__brett > .glas { width: 100%; }
.regal__brett::after { content: ""; grid-column: 1 / -1; height: 16px; margin: -18px calc(-1 * clamp(10px, 2vw, 28px)) 0; border-radius: 6px; background: linear-gradient(#fff, #f4e3e8 40%, #e7c9d1); box-shadow: 0 16px 24px -14px rgba(122, 32, 62, .45); }
/* Hausmarke: links Vorstellung mit Kostproben, rechts die vier Gläser – beide Seiten gefüllt */
.hausmarke { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 64px); align-items: center; margin-bottom: clamp(36px, 4vw, 56px); padding: clamp(20px, 3vw, 40px); border-radius: var(--rund-gross); background: linear-gradient(140deg, var(--baiser), #fff3d0); box-shadow: 0 0 0 1px rgba(180, 138, 60, .18) inset; }
@media (min-width: 1100px) {
    .hausmarke { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "text glaeser" "proben proben"; }
    .hausmarke__text { grid-area: text; }
    .hausmarke .regal__brett { grid-area: glaeser; }
    .hausmarke__proben { grid-area: proben; }
}
.hausmarke .glas__gefaess { max-width: 230px; }
.hausmarke__kopf { display: flex; gap: 18px; align-items: center; }
.hausmarke__kopf img { width: 84px; height: 84px; flex-shrink: 0; }
.hausmarke__kopf p { margin: .3em 0 0; }
.hausmarke__satz { margin: 18px 0 0; font-weight: 700; color: var(--kirsche-tief); }
.hausmarke__proben .kachel { border-radius: 16px; }
.hausmarke .regal__brett { padding-top: 0; }
.glas { position: relative; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--lakritz); }
.glas__gefaess { position: relative; width: 100%; max-width: 190px; aspect-ratio: 1529 / 2048; }
.glas__inhalt { position: absolute; left: 14%; right: 14%; top: 33%; bottom: 7%; border-radius: 22px 22px 30px 30px; overflow: hidden; background: rgba(255, 255, 255, .55); }
.glas__inhalt img { position: absolute; image-rendering: pixelated; transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.glas__gefaess > img.glas__huelle { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.glas__deckel { transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 30% 100%; }
.glas:hover .glas__inhalt img { transform: translateY(-6px) rotate(-6deg); }
.glas:hover .glas__inhalt img:nth-child(2n) { transform: translateY(-10px) rotate(8deg); }
.glas__etikett {
    position: relative; margin-top: -11%; width: 86%; padding: 10px 10px 12px; border-radius: 12px; text-align: center;
    background: var(--weiss); box-shadow: 0 0 0 1px var(--baiser) inset, 0 8px 16px -10px rgba(122, 32, 62, .5);
}
.glas__etikett::before { content: ""; position: absolute; top: -9px; left: 50%; width: 14px; height: 14px; translate: -50% 0; border-radius: 50%; background: var(--zucker); box-shadow: 0 0 0 2px var(--messing-hell) inset; }
.glas__name { display: block; font: 600 1.15rem/1.15 "Fredoka", sans-serif; }
.glas__text { display: block; margin-top: 4px; font-size: .86rem; line-height: 1.35; color: var(--lakritz-weich); }
.glas__zahl { display: inline-block; margin-top: 6px; padding: .15em .6em; border-radius: 999px; background: var(--zucker); font: 800 .78rem "Nunito"; color: var(--kirsche-tief); }
.glas--saison .glas__etikett { box-shadow: 0 0 0 2px var(--kirsche) inset; }
.glas:focus-visible { outline-offset: 6px; }

/* ---------------------------------------------------------------- Wühltisch und Smilie-Raster */
.wuehltisch { border-radius: var(--rund-gross); background: var(--weiss); padding: clamp(18px, 2.6vw, 36px); box-shadow: var(--schatten-glas); }
.filter { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: end; margin-bottom: 22px; }
.filter fieldset { border: 0; margin: 0; padding: 0; }
.filter legend, .filter label.titel { display: block; margin-bottom: 6px; font: 800 .82rem "Nunito"; color: var(--lakritz-weich); }
.wahl { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--zucker); box-shadow: 0 0 0 1px var(--baiser) inset; }
.wahl input { position: absolute; opacity: 0; pointer-events: none; }
.wahl label { padding: .45em .95em; border-radius: 999px; font: 700 .92rem "Nunito"; cursor: pointer; }
.wahl input:checked + label { background: var(--lakritz); color: var(--zitrone); }
.wahl input:focus-visible + label { outline: 3px solid var(--kirsche); outline-offset: 2px; }
.filter select { height: 42px; padding: 0 2.2em 0 1em; border: 1.5px solid var(--rosa); border-radius: 999px; background: var(--weiss); font: 700 .95rem "Nunito"; color: var(--lakritz); }
/* Smilie-Raster: 3, 5 oder 10 Spalten – 50 Smilies je Glasseite und 60 je Wühltisch-Ladung gehen immer auf */
.raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 600px) { .raster { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .raster { grid-template-columns: repeat(10, minmax(0, 1fr)); } }
.kachel {
    position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 8px; border: 0; border-radius: 20px; cursor: pointer;
    background: radial-gradient(circle at 50% 42%, #fff 0 52%, #fbf1f4 100%); box-shadow: 0 0 0 1px rgba(211, 24, 58, .08) inset, 0 6px 14px -10px rgba(122, 32, 62, .55);
    transition: transform .2s ease, box-shadow .2s ease;
}
.kachel img { max-width: 100%; max-height: 100%; image-rendering: pixelated; }
.kachel:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 0 0 2px var(--rosa) inset, 0 14px 22px -12px rgba(122, 32, 62, .6); }
.kachel__merk { position: absolute; right: 4px; top: 4px; width: 26px; height: 26px; opacity: 0; transition: opacity .2s; }
.kachel:hover .kachel__merk, .kachel.ist-gemerkt .kachel__merk { opacity: 1; }
.kachel.ist-gemerkt { box-shadow: 0 0 0 2.5px var(--zitrone) inset, 0 6px 14px -10px rgba(122, 32, 62, .55); }
.mehr { display: flex; justify-content: center; margin-top: 24px; }

/* ---------------------------------------------------------------- Streifen (Renner, Neu, Zuletzt) */
.streifen { display: flex; gap: 12px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x proximity; }
.streifen .kachel { flex: 0 0 104px; scroll-snap-align: start; }
.zweispalt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); }
.zweispalt > * { min-width: 0; }
@media (max-width: 900px) { .zweispalt { grid-template-columns: 1fr; } }
.kiste { padding: clamp(20px, 2.6vw, 34px); border-radius: var(--rund-gross); background: var(--weiss); box-shadow: var(--schatten-glas); }
.kiste h3 { display: flex; align-items: center; gap: 12px; margin-bottom: .6em; }
.kiste h3 img { width: 52px; height: 52px; }
.kiste.zuletzt { margin-top: clamp(24px, 3vw, 40px); }
.stempel-neu { display: inline-block; padding: .1em .5em; border: 2px solid var(--kirsche); border-radius: 8px; color: var(--kirsche); font: 800 .75rem "Nunito"; rotate: -6deg; }

/* ---------------------------------------------------------------- Schild-Generator */
.schild { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
@media (max-width: 900px) { .schild { grid-template-columns: 1fr; } }
.schild__buehne { position: relative; border-radius: var(--rund-gross); overflow: hidden; box-shadow: var(--schatten-glas); aspect-ratio: 2048 / 1158; }
.schild__buehne img { width: 100%; height: 100%; object-fit: cover; display: block; }
.schild__text {
    position: absolute; left: 37%; top: 12.2%; width: 28.4%; height: 26.6%; display: grid; place-items: center; padding: 1.5% 2%;
    transform: perspective(900px) rotateX(3deg); color: #f4f1e8; text-align: center;
    font: 600 clamp(1rem, .5rem + 1.8vw, 2.6rem)/1.05 "Caveat", cursive; text-shadow: 0 0 1px rgba(255, 255, 255, .6), 0 0 6px rgba(255, 255, 255, .15);
    overflow: hidden; word-break: break-word;
}
.schild form { display: grid; gap: 14px; }
.schild input[type="text"] { height: 54px; padding: 0 1em; border: 1.5px solid var(--rosa); border-radius: 16px; font: 600 1.4rem "Caveat", cursive; background: var(--weiss); color: var(--lakritz); }
.schild input[type="text"]:focus { outline: none; border-color: var(--kirsche); box-shadow: 0 0 0 4px rgba(211, 24, 58, .15); }

/* ---------------------------------------------------------------- Ladentext: SEO-Text der Gläser und „Über den Laden“
   Der Wortlaut kommt unverändert aus der Datenbank – die Gestaltung führt durch den Text:
   Einstiegsabsatz groß mit Initial, Zwischenüberschriften als Etappen, daneben das Steckbrief-Etikett mit echten Smilies. */
.ladentext__raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.ladentext--glas .ladentext__raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.ladentext__seite { position: sticky; top: calc(var(--kopf) + 24px); display: grid; gap: 22px; }
@media (max-width: 960px) {
    .ladentext__raster, .ladentext--glas .ladentext__raster { grid-template-columns: 1fr; }
    .ladentext__seite { position: static; }
    .ladentext--glas .ladentext__seite { order: 2; }
}
.ladentext__titel { margin-bottom: .55em; text-wrap: balance; }
.fliesstext { max-width: 66ch; }
.fliesstext p { color: #3b2836; }
.fliesstext > p:first-child { font-size: clamp(1.2rem, 1.05rem + .45vw, 1.42rem); line-height: 1.55; color: var(--lakritz); }
.fliesstext > p:first-child::first-letter { float: left; margin: .08em .12em 0 0; font: 600 3.35em/.78 "Fredoka", sans-serif; color: var(--kirsche); }
.fliesstext h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.4rem); margin: 1.3em 0 .55em; padding-top: .9em; border-top: 2px dashed var(--rosa); text-wrap: balance; }
.fliesstext h3 { margin: 1.2em 0 .4em; }
.fliesstext a { font-weight: 700; }
.fliesstext em { font-style: normal; background: linear-gradient(transparent 62%, rgba(255, 210, 63, .55) 62%); }
.stichworte-kasten { margin-top: 30px; padding: 20px 22px 22px; border-radius: var(--rund); background: var(--weiss); box-shadow: 0 0 0 1px rgba(180, 138, 60, .2) inset; }
.stichworte-kasten h3 { font-size: 1.2rem; margin-bottom: .15em; }
.stichworte-kasten .notiz { margin: 0; }
.stichworte { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.stichworte button { padding: .38em .95em; border: 0; border-radius: 999px; background: var(--zucker); box-shadow: 0 0 0 1.5px var(--rosa) inset; font: 700 .92rem "Nunito"; color: var(--lakritz); cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.stichworte button:hover { background: var(--zitrone); box-shadow: 0 0 0 1.5px var(--messing) inset; }

/* Glasinfo (Kategorieseite): Text links, rechts ein Schaufenster-Ausschnitt, der genau so hoch ist wie der Text.
   Darunter eine volle Reihe Lieblinge. Keine Spalte kann leer auslaufen. */
.glasinfo__raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3.4vw, 56px); align-items: stretch; }
.glasinfo__text { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.glasinfo__text .fliesstext { max-width: none; }
.glasinfo__bild { position: relative; min-height: 320px; border-radius: var(--rund-gross); overflow: hidden; box-shadow: 0 0 0 1px rgba(180, 138, 60, .22), var(--schatten-glas); }
.glasinfo__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 60%; display: block; }
.glasinfo__fakten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.glasinfo__fakten div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 12px 14px 10px; border-radius: 16px; background: var(--weiss); box-shadow: 0 0 0 1px rgba(180, 138, 60, .2) inset; }
.glasinfo__fakten dt { font-size: .86rem; font-weight: 700; line-height: 1.3; color: var(--lakritz-weich); }
.glasinfo__fakten dd { margin: 0 0 2px; font: 600 clamp(1.4rem, 1.2rem + .6vw, 1.85rem)/1.1 "Fredoka", sans-serif; color: var(--kirsche-tief); font-variant-numeric: tabular-nums; }
.glasinfo .stichworte-kasten { margin-top: 18px; }
.glasinfo__lieblinge { margin-top: clamp(24px, 3vw, 40px); }
.glasinfo__reihe { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 960px) {
    .glasinfo__raster { grid-template-columns: minmax(0, 1fr); }
    .glasinfo__bild { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 700px) { .glasinfo__fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Steckbrief: das Etikett am Glas – Kennzahlen und Lieblinge aus echten Smilies */
.steckbrief { position: relative; border-radius: var(--rund-gross); background: var(--weiss); overflow: hidden; box-shadow: 0 0 0 1px rgba(180, 138, 60, .22), var(--schatten-glas); }
.steckbrief__bild { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.steckbrief__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 62%; display: block; }
.steckbrief__inhalt { position: relative; padding: clamp(20px, 2.4vw, 30px); }
.steckbrief__bild + .steckbrief__inhalt::before { content: ""; position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; translate: -50% 0; border-radius: 50%; background: var(--zucker); box-shadow: 0 0 0 3px var(--messing-hell); }
.steckbrief h3 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); margin-bottom: .7em; }
.steckbrief h3 img { width: 46px; height: 46px; }
.steckbrief__fakten { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 22px; }
.steckbrief__fakten div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 12px 14px 10px; border-radius: 16px; background: var(--zucker); box-shadow: 0 0 0 1px var(--baiser) inset; }
.steckbrief__fakten dt { font-size: .86rem; font-weight: 700; line-height: 1.3; color: var(--lakritz-weich); }
.steckbrief__fakten dd { margin: 0 0 2px; font: 600 clamp(1.45rem, 1.2rem + .7vw, 1.9rem)/1.1 "Fredoka", sans-serif; color: var(--kirsche-tief); font-variant-numeric: tabular-nums; }
.steckbrief__notiz { margin: 0 0 10px; font: 600 1.6rem/1.1 "Caveat", cursive; color: var(--kirsche-tief); rotate: -1.5deg; }
.steckbrief__lieblinge { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.steckbrief__lieblinge .kachel { border-radius: 16px; padding: 6px; }
.aushang { position: relative; padding: clamp(22px, 2.6vw, 34px); border-radius: 6px 6px 22px 6px; background: var(--weiss); box-shadow: 0 0 0 1px rgba(180, 138, 60, .2), 0 24px 40px -26px rgba(80, 40, 20, .55); rotate: .6deg; }
.aushang h3 { margin-bottom: .4em; }
.ladentext__text .aushang { margin-top: clamp(24px, 3vw, 40px); max-width: 66ch; }
.aushang time { display: block; margin-bottom: .8em; font-weight: 800; color: var(--kirsche-tief); font-size: .9rem; }

/* ---------------------------------------------------------------- Dialoge: Preisschild (Code-Karte) und Tüte */
dialog { border: 0; padding: 0; color: var(--lakritz); background: none; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(42, 23, 38, .48); backdrop-filter: blur(4px); }
/* ---------------------------------------------------------------- Preisschild „Werkbank“ (Code-Karte, von Andre gewählt)
   Links die Bühne, derselbe Smilie auf vier Hintergründen und ein Filmstreifen; rechts Codes und Aktionen in Gruppen. */
.preisschild[open] { display: grid; place-items: center; width: 100vw; height: 100dvh; margin: 0; }
.preisschild .ps-karte { width: min(1100px, 100vw - 24px); max-height: calc(100dvh - 24px); overflow: auto; }
.preisschild__schliessen { position: absolute; top: 14px; right: 14px; z-index: 6; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--zucker); font: 800 1.4rem/1 "Nunito"; color: var(--lakritz); cursor: pointer; box-shadow: 0 0 0 1px var(--baiser) inset; }
.preisschild__schliessen:hover { background: var(--baiser); }
.ps-karte { position: relative; overflow: hidden; border-radius: var(--rund-gross); background: var(--weiss); color: var(--lakritz); box-shadow: 0 0 0 1px rgba(180, 138, 60, .25), 0 40px 100px -30px rgba(0, 0, 0, .6); }
.ps-buehne { position: relative; display: grid; place-items: center; overflow: hidden; background: #fff; transition: background-color .3s; }
.ps-buehne[data-hg="zucker"] { background: var(--zucker); }
.ps-buehne[data-hg="forum"] { background: #e9ecf1; }
.ps-buehne[data-hg="dunkel"] { background: #1f2430; }
.ps-buehne[data-hg="karo"] { background: conic-gradient(#e6e6e6 25%, #fff 0 50%, #e6e6e6 0 75%, #fff 0) 0 0 / 22px 22px; }
.ps-licht { position: absolute; inset: 0 0 auto; height: 80%; background: radial-gradient(55% 75% at 50% 0%, rgba(255, 226, 170, .34), rgba(255, 226, 170, 0)); pointer-events: none; }
.ps-teller { position: relative; display: block; line-height: 0; }
.ps-teller img { display: block; max-width: none; image-rendering: pixelated; cursor: zoom-in; transition: width .25s, height .25s; }
.ps-buehne.ist-lupe .ps-teller img { cursor: zoom-out; }
.ps-raster { position: absolute; inset: 0; pointer-events: none; }
.ps-lupe { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 2px 14px 2px 5px; border: 0; border-radius: 999px; background: var(--weiss); box-shadow: 0 0 0 1.5px var(--rosa) inset, 0 6px 14px -10px rgba(122, 32, 62, .5); font: 700 .88rem "Nunito", sans-serif; color: var(--lakritz); cursor: pointer; }
.ps-lupe img { width: 28px; height: 28px; }
.ps-lupe:hover { background: var(--baiser); }
.ps-lupe[aria-pressed="true"] { background: var(--lakritz); color: var(--zitrone); box-shadow: none; }
.ps-original { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; background: rgba(255, 255, 255, .95); box-shadow: 0 0 0 1px var(--baiser), 0 8px 16px -10px rgba(122, 32, 62, .5); font: 700 .78rem "Nunito", sans-serif; color: var(--lakritz-weich); white-space: nowrap; }
.ps-original img { display: block; max-width: 120px; max-height: 40px; width: auto; height: auto; }
.ps-kopf { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 4px; padding-right: 52px; font: 700 .9rem "Nunito", sans-serif; color: var(--lakritz-weich); }
.ps-titel { margin: 0 0 10px; padding-right: 44px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.ps-pillen { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.ps-pillen li { padding: .25em .8em; border-radius: 999px; background: var(--zucker); box-shadow: 0 0 0 1px var(--baiser) inset; font: 700 .85rem "Nunito", sans-serif; color: var(--lakritz-weich); }
.ps-zwischen { margin: 0 0 8px; font: 800 .92rem "Nunito", sans-serif; }
.ps-leise { font: 700 .85rem "Nunito", sans-serif; color: var(--lakritz-weich); }
.ps-rund { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--weiss); box-shadow: 0 0 0 1.5px var(--rosa) inset; font: 800 1.4rem/1 "Nunito", sans-serif; color: var(--lakritz); cursor: pointer; }
.ps-rund:hover { background: var(--baiser); }
.ps-karte .knopf.ist-kopiert { --hg: var(--lakritz); --vg: var(--zitrone); }
.pk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.pk__links { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--zucker); box-shadow: -1px 0 0 var(--baiser) inset; }
.pk__buehnenrahmen { position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 0 0 1px var(--baiser); }
.pk__buehne { height: 290px; }
.pk__buehnenleiste { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pk__links .ps-zwischen { margin: 4px 0 0; }
.pk__proben { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pk__probe { display: flex; flex-direction: column; gap: 4px; padding: 0; border: 0; background: none; font: 700 .78rem "Nunito", sans-serif; color: var(--lakritz-weich); cursor: pointer; }
.pk__probeflaeche { display: grid; place-items: center; height: 78px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(42, 23, 38, .12) inset; }
.pk__probe[data-hg="forum"] .pk__probeflaeche { background: #e9ecf1; }
.pk__probe[data-hg="dunkel"] .pk__probeflaeche { background: #1f2430; }
.pk__probe[data-hg="karo"] .pk__probeflaeche { background: conic-gradient(#e6e6e6 25%, #fff 0 50%, #e6e6e6 0 75%, #fff 0) 0 0 / 14px 14px; }
.pk__probe[aria-pressed="true"] .pk__probeflaeche { box-shadow: 0 0 0 3px var(--kirsche) inset; }
.pk__probe[aria-pressed="true"] { color: var(--kirsche-tief); }
.pk__probeflaeche img { max-width: 90%; height: auto; }
.pk__filmkopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pk__filmzeile { display: flex; align-items: center; gap: 8px; }
.pk__film { flex: 1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pk__bild { display: grid; place-items: center; aspect-ratio: 1; padding: 4px; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--baiser) inset; cursor: pointer; }
.pk__bild img { max-width: 100%; height: auto; }
.pk__bild:hover { background: var(--baiser); }
.pk__bild.ist-aktiv { box-shadow: 0 0 0 2.5px var(--kirsche) inset; cursor: default; }
.pk__rechts { display: flex; flex-direction: column; padding: 24px 26px 22px; }
.pk__codes { display: grid; gap: 8px; margin-bottom: 14px; }
.pk__code { display: grid; grid-template-columns: 7.2em minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.pk__code label { font: 800 .92rem/1.15 "Nunito", sans-serif; }
.pk__code label small { display: block; font-weight: 400; font-size: .74rem; color: var(--lakritz-weich); }
.pk__code input { min-width: 0; height: 42px; padding: 0 .8em; border: 1.5px solid var(--baiser); border-radius: 12px; background: var(--zucker); font: 400 .86rem/1 "Courier Prime", monospace; color: var(--lakritz); }
.pk__kopieren { min-height: 42px; padding: 0 1em; font-size: .88rem; }
.pk__gruppe { margin-top: 10px; padding: 12px 14px 14px; border-radius: 18px; background: var(--zucker); box-shadow: 0 0 0 1px var(--baiser) inset; }
.pk__reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pk__reihe .knopf { justify-content: center; min-height: 46px; padding: .4em .6em; font-size: .88rem; }
.pk__reihe .knopf img { width: 28px; height: 28px; }
@media (max-width: 900px) {
    .pk { grid-template-columns: minmax(0, 1fr); }
    .pk__links { box-shadow: 0 -1px 0 var(--baiser) inset; }
}
@media (max-width: 480px) {
    .pk__code { grid-template-columns: minmax(0, 1fr) auto; }
    .pk__code label { grid-column: 1 / -1; }
    .pk__reihe { grid-template-columns: minmax(0, 1fr); }
    .pk__film { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .pk__film .pk__bild:first-child, .pk__film .pk__bild:last-child { display: none; }
    .pk__proben { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.tuete[open] { position: fixed; inset: 0 0 0 auto; width: min(460px, 100vw); height: 100dvh; margin: 0; display: flex; }
.tuete__innen { display: flex; flex-direction: column; width: 100%; background: #f6ead9 url("bilder/icon-tuete-256.webp") right -40px bottom -40px / 220px no-repeat; box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .4); }
.tuete__kopf { display: flex; align-items: center; gap: 12px; padding: 22px 22px 12px; }
.tuete__kopf h2 { font-size: 1.8rem; }
.tuete__kopf button { margin-left: auto; }
.tuete__liste { flex: 1; overflow: auto; padding: 8px 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; align-content: start; }
.tuete__liste .kachel { border-radius: 16px; }
.tuete__leer { grid-column: 1 / -1; padding: 24px 0; color: var(--lakritz-weich); }
.tuete__fuss { display: grid; gap: 8px; padding: 16px 22px 24px; background: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.tuete__fuss .knopf { justify-content: center; }
.fortschritt { height: 8px; border-radius: 999px; background: var(--baiser); overflow: hidden; }
.fortschritt span { display: block; height: 100%; width: 0; background: var(--kirsche); transition: width .2s; }

.meldung {
    position: fixed; left: 50%; bottom: 24px; z-index: 200; translate: -50% 0; padding: .8em 1.3em; border-radius: 999px;
    background: var(--lakritz); color: #fff; font-weight: 700; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
}
.meldung[hidden] { display: none; }

/* ---------------------------------------------------------------- Kategorieseite */
.kategorie-kopf { position: relative; min-height: clamp(340px, 34vw, 620px); display: grid; align-items: end; overflow: hidden; }
.kategorie-kopf > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.kategorie-kopf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 247, 249, .95) 0, rgba(255, 247, 249, .75) 34%, rgba(255, 247, 249, 0) 62%); }
.kategorie-kopf__text { position: relative; z-index: 1; width: var(--breite); margin-inline: auto; padding-block: 40px; }
.kategorie-kopf__text p { max-width: 40ch; font-size: 1.15rem; }
body[data-artikel] .kategorie-kopf h1 { max-width: 20ch; font-size: clamp(2rem, 1.3rem + 2.2vw, 3.6rem); text-wrap: balance; }
.kategorie-kopf__text .knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-weight: 700; font-size: .92rem; }
.brotkrumen li + li::before { content: "/"; margin-right: 6px; color: var(--rosa); }
.seiten { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; padding: 0; list-style: none; }
.seiten a, .seiten span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .7em; border-radius: 999px; text-decoration: none; font-weight: 800; color: var(--lakritz); background: var(--weiss); box-shadow: 0 0 0 1.5px var(--baiser) inset; }
.seiten a:hover { background: var(--baiser); }
.seiten [aria-current="page"] { background: var(--lakritz); color: var(--zitrone); box-shadow: none; }
.werkbank { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.weiter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; justify-items: center; }
.weiter > .glas { width: 100%; }
@media (min-width: 520px) { .weiter { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .weiter { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- Impressum: Kassenbon
   Ein langer Bon, alles in gut lesbarer Größe. Die Werkzeuge daneben sind bewusst klein. */
.bon-kopf { position: relative; min-height: clamp(300px, 26vw, 500px); overflow: hidden; display: grid; align-items: end; }
.bon-kopf > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.bon-kopf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 247, 249, 0) 30%, var(--zucker) 98%), linear-gradient(90deg, rgba(255, 247, 249, .9), rgba(255, 247, 249, 0) 55%); }
.bon-kopf__text { position: relative; z-index: 1; width: var(--breite); margin-inline: auto; padding-bottom: 30px; }
.bon-kopf__text p { max-width: 46ch; font-size: 1.15rem; }
.kasse { display: grid; grid-template-columns: minmax(0, 780px) minmax(0, 300px); justify-content: center; gap: clamp(24px, 4vw, 72px); align-items: start; }
@media (max-width: 1000px) { .kasse { grid-template-columns: minmax(0, 1fr); } }
.bon-schlitz { position: relative; z-index: 2; height: 22px; border-radius: 12px; background: linear-gradient(#5b3b18, #b48a3c 40%, #e8cf92 60%, #8a6524); box-shadow: 0 10px 18px -10px rgba(0, 0, 0, .6); }
.bon {
    --zacken: radial-gradient(circle at 10px 0, transparent 9px, #000 9.5px) -10px 100% / 20px 14px repeat-x;
    position: relative; margin: -10px clamp(8px, 1.6vw, 18px) 0; padding: 40px clamp(20px, 4.4vw, 58px) 58px;
    background: #fffefb; color: #2b2622; font: 400 clamp(1.02rem, .95rem + .3vw, 1.18rem)/1.65 "Courier Prime", monospace;
    box-shadow: 0 30px 50px -30px rgba(60, 40, 30, .6);
    mask: linear-gradient(#000 0 0) top / 100% calc(100% - 13px) no-repeat, var(--zacken);
}
@media (max-width: 480px) { .bon { margin-inline: 4px; padding-inline: 16px; font-size: .95rem; } }
.bon__kopf { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 2px dashed #b9afa4; text-align: center; }
.bon__kopf p { margin: 0; }
.bon__titel { font-weight: 700; font-size: 1.5em; line-height: 1.2; margin-bottom: 4px !important; }
.bon__posten { margin: 0 0 24px; }
.bon h2, .bon h3 { font: 700 1em/1.4 "Courier Prime", monospace; letter-spacing: 0; margin: 0 0 4px; }
.bon__posten h2 { display: inline-block; padding: 0 .35em; margin-left: -.35em; background: #fff3c4; }
.bon__posten p { margin: 0 0 .55em; }
.bon__posten ul { list-style: none; margin: 0; padding: 0; }
.bon__posten li { margin: 0 0 .2em; }
.bon__posten a { color: #8a1430; }
.bon hr { border: 0; border-top: 2px dashed #b9afa4; margin: 18px 0; }
.kopierzeile { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.kopierzeile button { flex-shrink: 0; padding: .1em .6em; border: 1.5px solid #2b2622; border-radius: 6px; background: none; font: 700 .82rem "Courier Prime", monospace; cursor: pointer; color: #2b2622; }
.kopierzeile button:hover { background: var(--zitrone); }
.bon__summen { margin: 8px 0 0; padding: 16px 0; border-block: 2px dashed #b9afa4; }
.bon__summe { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-weight: 700; }
.bon__summe--gross { font-size: 1.2em; margin-top: 6px; }
.bon__haftung { margin-top: 30px; }
.bon__trenner { margin: 0 0 18px !important; text-align: center; font-size: 1.15em !important; }
.bon__haftung .bon__posten h3 { margin-bottom: 6px; }
.bon__gruss { margin: 30px 0 0; padding-top: 20px; border-top: 2px dashed #b9afa4; text-align: center; font-weight: 700; }
html.lupe-an .bon { font-size: clamp(1.25rem, 1.1rem + .4vw, 1.42rem); }
.kasse__seite { position: sticky; top: calc(var(--kopf) + 24px); display: grid; gap: 16px; }
@media (max-width: 1000px) { .kasse__seite { position: static; } }
.bon-inhalt { padding: 18px 20px; border-radius: var(--rund); background: var(--weiss); box-shadow: 0 0 0 1px var(--baiser) inset; }
.bon-inhalt h2 { font-size: 1.15rem; margin-bottom: .5em; }
.bon-inhalt ol { margin: 0; padding-left: 1.3em; font-size: .92rem; }
.bon-inhalt li { margin: 0 0 3px; }
.kleinknoepfe { display: flex; flex-wrap: wrap; gap: 6px; }
.kleinknopf { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 2px 12px 2px 5px; border: 0; border-radius: 999px; background: var(--weiss); box-shadow: 0 0 0 1.5px var(--rosa) inset; font: 700 .86rem "Nunito", sans-serif; color: var(--lakritz); cursor: pointer; }
.kleinknopf img { width: 28px; height: 28px; }
.kleinknopf:hover { background: var(--baiser); }
.kleinknopf[aria-pressed="true"] { background: var(--lakritz); color: var(--zitrone); box-shadow: none; }
.kasse__seite .notiz { margin: 0; }

/* ---------------------------------------------------------------- Datenschutz: Weg eines Bonbons */
.lager-kopf { position: relative; min-height: clamp(320px, 32vw, 600px); overflow: hidden; display: grid; align-items: end; }
.lager-kopf > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lager-kopf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 247, 249, 0) 35%, var(--zucker) 98%), linear-gradient(90deg, rgba(255, 247, 249, .92), rgba(255, 247, 249, 0) 58%); }
.lager-kopf__text { position: relative; z-index: 1; width: var(--breite); margin-inline: auto; padding-bottom: 30px; }
.lager-kopf__text p { max-width: 46ch; font-size: 1.15rem; }
.weg { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 1000px) { .weg { grid-template-columns: minmax(0, 1fr); } }
.lieferschein { position: sticky; top: calc(var(--kopf) + 20px); padding: 22px; border-radius: 8px 8px 22px 22px; background: #fffdf3; box-shadow: 0 24px 40px -26px rgba(80, 40, 20, .5); font-size: .95rem; }
@media (max-width: 1000px) { .lieferschein { position: relative; top: 0; } }
.lieferschein h2 { font-size: 1.4rem; margin-bottom: 4px; }
.lieferschein ol { list-style: none; margin: 12px 0 0; padding: 0; }
.lieferschein li { margin: 0 0 6px; }
.lieferschein a { display: flex; gap: 10px; align-items: baseline; text-decoration: none; color: var(--lakritz); }
.lieferschein a::before { content: ""; display: grid; place-items: center; flex-shrink: 0; width: 17px; height: 17px; translate: 0 2px; border-radius: 5px; box-shadow: 0 0 0 2px var(--rosa) inset; background: var(--weiss); color: #fff; font: 800 .78rem/1 "Nunito", sans-serif; }
.lieferschein a.gelesen::before { content: "✓"; background: var(--minze-tief); box-shadow: none; }
.lieferschein .unter a { padding-left: 26px; font-size: .88rem; color: var(--lakritz-weich); }
.laufband { position: relative; height: 54px; margin: 16px 0 4px; }
.laufband__band { position: absolute; left: 0; right: 0; bottom: 6px; height: 14px; border-radius: 999px; background: repeating-linear-gradient(90deg, #e9dfe2 0 14px, #f7eef1 14px 28px); box-shadow: 0 0 0 2px #fff inset, 0 4px 8px -4px rgba(0, 0, 0, .3); }
.laufband__bonbon { position: absolute; left: 0; bottom: 16px; width: 38px; height: 38px; }
.lesewerkzeug { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.station { margin-bottom: clamp(36px, 4.4vw, 64px); }
.station__bild { position: relative; border-radius: var(--rund-gross); overflow: hidden; aspect-ratio: 16 / 7; margin-bottom: 26px; box-shadow: var(--schatten-glas); }
.station__bild img { width: 100%; height: 100%; object-fit: cover; }
.station__nr { position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--zitrone); font: 700 1.8rem "Fredoka"; color: var(--lakritz); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); }
.station > h2 { margin-bottom: .5em; }
.fach { margin: 0 0 16px; border-radius: var(--rund); background: var(--weiss); box-shadow: var(--schatten-glas); }
.fach__titel { display: flex; gap: 12px; align-items: center; padding: 20px 24px 6px; font: 600 clamp(1.2rem, 1.1rem + .35vw, 1.4rem)/1.25 "Fredoka", sans-serif; }
.fach__inhalt { padding: 0 24px 22px; max-width: 72ch; }
.fach__inhalt ul { padding-left: 1.2em; }
.fach__inhalt h4 { margin: 1em 0 .3em; font: 700 1.02rem "Nunito", sans-serif; }
.fach--neu { box-shadow: 0 0 0 2.5px var(--zitrone) inset, var(--schatten-glas); }
.entwurf { display: inline-block; padding: .1em .55em; border-radius: 999px; background: var(--zitrone); font: 800 .75rem "Nunito"; vertical-align: middle; }
.ziel { display: grid; place-items: center; text-align: center; padding: 40px 20px; border-radius: var(--rund-gross); background: linear-gradient(140deg, var(--minze), #fff3d0); }
.ziel img { width: 120px; height: 120px; }
html.lupe-an .fach__inhalt { font-size: 1.22em; }

/* ---------------------------------------------------------------- Volle Reihe (Lieblinge, Frisch eingetroffen) */
.volle-reihe, .glasinfo__reihe { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }

/* ---------------------------------------------------------------- News: Zettel an der Korkwand */
.band--kork { background: #c58a4f url("bilder/kork.webp") 50% 50% / cover; box-shadow: 0 10px 24px -12px rgba(60, 30, 10, .45) inset, 0 -10px 24px -12px rgba(60, 30, 10, .45) inset; }
@media (max-width: 900px) { .band--kork { background-image: url("bilder/kork-klein.webp"); } }
.aushangbrett { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 780px)); justify-content: center; gap: 32px; padding-block: 12px; }
.aushangzettel { position: relative; margin: 0; padding: clamp(26px, 3.6vw, 48px) clamp(22px, 4vw, 56px) clamp(26px, 3vw, 40px); border-radius: 4px 4px 18px 4px; background: #fffdf6; color: #2f2228; box-shadow: 0 2px 0 rgba(255, 255, 255, .6) inset, 0 28px 40px -22px rgba(40, 18, 6, .75), 0 6px 12px -6px rgba(40, 18, 6, .35); rotate: -.5deg; }
.aushangzettel time { display: block; margin-bottom: .5em; font-weight: 800; color: var(--kirsche-tief); }
.aushangzettel h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.6rem); margin-bottom: .6em; text-wrap: balance; }
.aushangzettel__text { font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); line-height: 1.65; }
.aushangzettel__quelle { margin: 1.2em 0 0; padding-top: .9em; border-top: 2px dashed var(--rosa); font-size: .92rem; color: var(--lakritz-weich); }

/* ---------------------------------------------------------------- Links: Wegweiser-Karten */
.linkkarten { --karten: 3; display: grid; grid-template-columns: repeat(var(--karten), minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 900px) { .linkkarten { grid-template-columns: minmax(0, 1fr); } }
.linkkarte { display: flex; flex-direction: column; padding: 26px 26px 22px; border-radius: var(--rund-gross); background: var(--weiss); box-shadow: 0 0 0 1px rgba(180, 138, 60, .2), var(--schatten-glas); }
.linkkarte img { width: 64px; height: 64px; margin-bottom: 10px; }
.linkkarte h3 { margin-bottom: .45em; }
.linkkarte h3 a { color: var(--lakritz); text-decoration-color: var(--rosa); }
.linkkarte h3 a:hover { color: var(--kirsche); }
.linkkarte p { margin: 0 0 1em; }
.linkkarte__url { margin-top: auto !important; padding-top: 12px; border-top: 1px dashed var(--rosa); font-size: .92rem; color: var(--lakritz-weich); overflow-wrap: anywhere; }
.linkhinweis { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; padding: 18px 24px; border-radius: var(--rund-gross); background: linear-gradient(140deg, var(--baiser), #fff3d0); box-shadow: 0 0 0 1px rgba(180, 138, 60, .18) inset; }
.linkhinweis img { width: 64px; height: 64px; }
.linkhinweis__text { flex: 1 1 260px; margin: 0; font: 600 clamp(1.2rem, 1.05rem + .5vw, 1.5rem)/1.25 "Fredoka", sans-serif; }
.linkhinweis[hidden] { display: none; }

/* ---------------------------------------------------------------- Artikel (Emoji Slot, Emoji Planet) */
.spalte--lesen { width: min(1240px, 100% - 2 * var(--rand)); margin-inline: auto; }
.artikel { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 1000px) { .artikel { grid-template-columns: minmax(0, 1fr); } }
.artikel__text.fliesstext { max-width: none; font-size: clamp(1.06rem, 1rem + .2vw, 1.18rem); }
.artikel__text::after { content: ""; display: block; clear: both; }
.artikel__text h2 { clear: both; }
.artikel__bild { float: right; width: min(46%, 500px); margin: .3em 0 1em 30px; }
.artikel__bild--links { float: left; margin: .3em 30px 1em 0; }
.artikel__bild img { display: block; width: 100%; height: auto; border-radius: var(--rund); box-shadow: 0 0 0 1px rgba(180, 138, 60, .22), var(--schatten-glas); }
@media (max-width: 700px) { .artikel__bild, .artikel__bild--links { float: none; width: 100%; margin: 1em 0; } }
.video-klick { clear: both; margin: 1.6em 0; padding: 22px 24px; border-radius: var(--rund-gross); background: var(--lakritz); color: #f5e6ee; box-shadow: 0 0 0 3px var(--messing) inset; }
.video-klick p { color: #f5e6ee !important; margin: 0 0 14px; }
.video-klick p:last-child { margin: 0; }
.video-klick a:not(.knopf) { color: var(--zitrone); }
.video-klick.ist-geladen { padding: 0; overflow: hidden; aspect-ratio: 16 / 9; }
.video-klick iframe { display: block; width: 100%; height: 100%; border: 0; }
.artikel__seite { position: sticky; top: calc(var(--kopf) + 24px); display: grid; gap: 16px; }
@media (max-width: 1000px) { .artikel__seite { position: static; } }
.artikel__weiter { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--rund); background: var(--weiss); box-shadow: 0 0 0 1px var(--baiser) inset; text-decoration: none; color: var(--lakritz); }
.artikel__weiter:hover { background: var(--baiser); color: var(--lakritz); }
.artikel__weiter img { width: 64px; height: 64px; }
.artikel__weiter strong { display: block; font: 600 1.15rem/1.2 "Fredoka", sans-serif; }
.artikel__weiter small { display: block; color: var(--lakritz-weich); }

/* ---------------------------------------------------------------- Smilies einsenden */
.einsenden { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3.4vw, 56px); align-items: stretch; }
@media (max-width: 960px) { .einsenden { grid-template-columns: minmax(0, 1fr); } }
.einsendeschein { display: grid; gap: 18px; align-content: start; padding: clamp(22px, 3vw, 40px); border-radius: var(--rund-gross); background: var(--weiss); box-shadow: 0 0 0 1px rgba(180, 138, 60, .22), var(--schatten-glas); }
.einsendeschein h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.feld { display: grid; gap: 6px; }
.feld label, .feld__titel { font: 800 .95rem "Nunito", sans-serif; }
.feld label span { font-weight: 400; color: var(--lakritz-weich); }
.feld input[type="text"], .feld input[type="email"], .feld textarea { width: 100%; min-height: 50px; padding: .7em 1em; border: 1.5px solid var(--rosa); border-radius: 14px; background: var(--zucker); font: inherit; color: var(--lakritz); }
.feld textarea { min-height: 120px; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--kirsche); box-shadow: 0 0 0 4px rgba(211, 24, 58, .15); background: var(--weiss); }
.ablage { position: relative; display: flex; align-items: center; gap: 18px; padding: 18px 20px; border: 2px dashed var(--rosa); border-radius: 20px; background: var(--zucker); cursor: pointer; font-weight: 400 !important; transition: background-color .15s, border-color .15s; }
.ablage:hover, .ablage.ist-drueber { background: var(--baiser); border-color: var(--kirsche); }
.ablage:focus-within { outline: 3px solid var(--kirsche); outline-offset: 3px; }
.ablage.hat-datei { border-style: solid; border-color: var(--minze-tief); background: #f0fbf6; }
.ablage.ist-fehler { border-color: var(--kirsche); background: #fff0f2; }
.ablage__vorschau { display: grid; place-items: center; flex-shrink: 0; width: 112px; height: 112px; border-radius: 16px; background: conic-gradient(#eee 25%, #fff 0 50%, #eee 0 75%, #fff 0) 0 0 / 16px 16px; box-shadow: 0 0 0 1px var(--baiser) inset; }
.ablage__vorschau img { max-width: 96px; max-height: 96px; }
.ablage__text { display: grid; gap: 4px; min-width: 0; }
.ablage__text strong { font: 600 1.15rem/1.25 "Fredoka", sans-serif; overflow-wrap: anywhere; }
.ablage__text small { font-size: .92rem; color: var(--lakritz-weich); }
.ablage.ist-fehler .ablage__text small { color: var(--kirsche-tief); font-weight: 700; }
.ablage__eingabe { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.feld--haken { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 12px; }
.feld--haken input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--kirsche); }
.feld--haken label { font-weight: 700; }
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.einsendeschein .notiz { margin: 0; }
.einsendeschein > .knopf { justify-self: start; }
.einsenden__danke { margin: 0; padding: 16px 18px; border-radius: 16px; background: #e6f7f0; box-shadow: 0 0 0 1.5px var(--minze-tief) inset; }
.einsenden__weg { display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 3vw, 40px); border-radius: var(--rund-gross); background: linear-gradient(160deg, #f0fbf6 0, #dcf3ea 100%); box-shadow: 0 0 0 1px rgba(29, 116, 97, .18) inset; }
.einsenden__weg h2 { font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); }
.weg-schritte { flex: 1; display: grid; grid-auto-rows: 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: schritt; }
.weg-schritte li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .75); }
.weg-schritte img { width: 64px; height: 64px; }
.weg-schritte strong { display: block; font: 600 1.15rem/1.2 "Fredoka", sans-serif; }
.weg-schritte strong::before { counter-increment: schritt; content: counter(schritt) ". "; color: var(--minze-tief); }
.weg-schritte span { display: block; margin-top: 2px; color: var(--lakritz-weich); }
.einsenden__regeln { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .75); }
.einsenden__regeln h3 { font-size: 1.15rem; margin-bottom: .3em; }
.einsenden__regeln ul { margin: 0; padding-left: 1.2em; }

/* ---------------------------------------------------------------- Fuß: Ladentheke nach Feierabend */
body[data-seite="start"] { --fuss-anschluss: #fffaf1; }
.fuss { position: relative; color: #f7e9ef; background: #1c1222; overflow: hidden; isolation: isolate; }
.fuss__bild { position: relative; height: clamp(240px, 27vw, 480px); }
.fuss__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.fuss__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--fuss-anschluss, var(--zucker)) 0, rgba(28, 18, 34, 0) 24%, rgba(28, 18, 34, .15) 58%, #1c1222 100%); pointer-events: none; }
.neon { position: absolute; left: 24.2%; top: 15%; width: 10.5%; aspect-ratio: 1; border: 0; padding: 0; border-radius: 50%; background: none; cursor: pointer; z-index: 2; }
.neon:hover ~ img, .fuss__bild.flackert img { animation: flackern 1.1s steps(1) 1; }
@keyframes flackern { 0%, 100% { filter: none; } 20% { filter: brightness(.6); } 30% { filter: brightness(1.15) saturate(1.3); } 45% { filter: brightness(.55); } 60% { filter: brightness(1.2) saturate(1.4); } }
.fuss h2 { font-size: clamp(1.3rem, 1.1rem + .5vw, 1.6rem); color: var(--zitrone); margin-bottom: .9em; }
.fuss h2::after { content: ""; display: block; width: 38px; height: 3px; margin-top: 10px; border-radius: 3px; background: var(--messing); }
.fuss a { color: #fde3ec; }
.fuss a:hover { color: var(--zitrone); }
.fuss :focus-visible { outline-color: var(--zitrone); }

/* Die Schublade: aufgezogen über dem Bild, jedes Glas mit seinem Erkennungs-Smilie auf heller Kachel */
.fuss__schublade {
    position: relative; z-index: 1; width: var(--breite); margin: calc(-1 * clamp(70px, 8vw, 140px)) auto 0; padding: clamp(20px, 2.4vw, 34px);
    border-radius: var(--rund-gross); background: linear-gradient(180deg, #2b1b31 0, #221628 100%);
    box-shadow: 0 0 0 1px rgba(232, 207, 146, .2) inset, 0 2px 0 rgba(255, 255, 255, .06) inset, 0 40px 70px -34px rgba(0, 0, 0, .85);
}
.fuss__kopfzeile { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; }
.fuss__kopfzeile h2 { margin: 0; }
.fuss__kopfzeile p { margin: 0; max-width: 52ch; color: #d9c3cf; }
/* 28 Gläser: 2, 4 oder 7 Spalten – die letzte Reihe ist immer voll */
.schublade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1180px) { .schublade { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.schubfach {
    display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; height: 100%; padding: 7px 12px 7px 7px; border-radius: 16px;
    background: rgba(255, 255, 255, .045); box-shadow: 0 0 0 1px rgba(255, 255, 255, .07) inset; text-decoration: none; transition: background-color .18s, box-shadow .18s;
}
.schubfach__smilie { grid-row: 1 / 3; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #fff 0 55%, #fbeff3 100%); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .8); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.schubfach__smilie img { max-width: 44px; max-height: 44px; image-rendering: pixelated; }
.schubfach__name { align-self: end; font: 600 1.06rem/1.15 "Fredoka", sans-serif; color: #fff; hyphens: auto; }
.schubfach__zahl { align-self: start; font: 700 .8rem/1.4 "Nunito", sans-serif; color: var(--messing-hell); font-variant-numeric: tabular-nums; }
.schubfach:hover { background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 1.5px rgba(255, 210, 63, .6) inset; }
.schubfach:hover .schubfach__smilie { transform: rotate(-7deg) scale(1.06); }
.schubfach:hover .schubfach__name { color: var(--zitrone); }
@media (max-width: 620px) {
    .fuss__schublade { padding: 18px 14px; }
    .schublade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .schubfach { grid-template-columns: 40px minmax(0, 1fr); column-gap: 9px; padding: 6px 8px 6px 6px; }
    .schubfach__smilie { width: 40px; height: 40px; border-radius: 11px; }
    .schubfach__smilie img { max-width: 34px; max-height: 34px; }
    .schubfach__name { font-size: .96rem; }
    .schubfach__zahl { font-size: .74rem; }
}

/* Theke: Kasse, Werkzeuge, Rundgang */
/* Theke: links Kasse und Werkzeuge, rechts der Rundgang – beide Spalten gleich hoch, die Karten strecken sich mit */
.fuss__theke { width: var(--breite); margin: clamp(40px, 4.4vw, 68px) auto 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 3vw, 52px); padding-bottom: 46px; }
@media (min-width: 1100px) { .fuss__theke { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.fuss__links { display: grid; gap: 30px; align-content: start; }
.fuss__rundgang { display: flex; flex-direction: column; }
.fuss__rundgang .rundgang { flex: 1; grid-auto-rows: 1fr; }
.kassendisplay { padding: 18px 20px; border-radius: 14px; background: #0c1a16; box-shadow: 0 0 0 3px #b48a3c, 0 0 30px -6px rgba(120, 255, 200, .35); font: 700 1rem "Courier Prime", monospace; color: #8affd0; }
.kassendisplay strong { display: block; font: 700 clamp(2rem, 1.4rem + 1.6vw, 3rem)/1 "Courier Prime", monospace; color: #b9ffe5; text-shadow: 0 0 12px rgba(120, 255, 200, .65); margin-top: 6px; }
.kassendisplay__klein { font-size: .85rem; }
.fuss__satz { margin: 14px 0 0; color: #d9c3cf; }
.fuss__werkzeug { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 760px) and (max-width: 1099px) { .fuss__werkzeug { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .fuss__werkzeug { grid-template-columns: minmax(0, 1fr); } }
.fuss__werkzeug button, .fuss__werkzeug a.werk {
    display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .06);
    color: #fde3ec; font: 700 .98rem "Nunito"; text-align: left; text-decoration: none; cursor: pointer; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.fuss__werkzeug button:hover, .fuss__werkzeug a.werk:hover { background: rgba(255, 255, 255, .12); color: var(--zitrone); }
.fuss__werkzeug img { width: 42px; height: 42px; }
.rundgang { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 620px) { .rundgang { grid-template-columns: minmax(0, 1fr); } }
.rundgang__karte {
    display: grid; grid-template-columns: 60px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; height: 100%; padding: 10px 16px 10px 10px; border-radius: 18px;
    background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px rgba(232, 207, 146, .16) inset; text-decoration: none; transition: background-color .18s, box-shadow .18s;
}
.rundgang__karte img { grid-row: 1 / 3; width: 60px; height: 60px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45)); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.rundgang__karte strong { align-self: end; font: 600 1.1rem/1.15 "Fredoka", sans-serif; color: #fff; }
.rundgang__karte small { align-self: start; font-size: .88rem; line-height: 1.35; color: #cfb9c6; }
.rundgang__karte:hover { background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 1.5px rgba(255, 210, 63, .55) inset; }
.rundgang__karte:hover img { transform: translateY(-3px) rotate(-5deg); }
.rundgang__karte:hover strong { color: var(--zitrone); }
.fuss__unten { width: var(--breite); margin-inline: auto; padding-right: 88px !important; display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center; padding: 22px 0 32px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: #cdb6c4; }
.fuss__unten ul { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.schalter { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.schalter span { width: 44px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, .2); position: relative; transition: background .2s; }
.schalter span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: translate .2s; }
.schalter[aria-checked="true"] span { background: var(--minze-tief); }
.schalter[aria-checked="true"] span::after { translate: 18px 0; }

/* ---------------------------------------------------------------- Nach oben: der Luftballon */
.nach-oben {
    position: fixed; right: clamp(14px, 2vw, 30px); bottom: clamp(14px, 2vw, 30px); z-index: 60; display: grid; place-items: center; width: 68px; height: 68px; padding: 0;
    border: 0; border-radius: 50%; background: var(--weiss); cursor: pointer; box-shadow: 0 0 0 2px var(--messing-hell), 0 16px 30px -12px rgba(42, 23, 38, .65);
    animation: ballon-rein .35s cubic-bezier(.3, 1.5, .5, 1);
}
.nach-oben[hidden] { display: none; }
.nach-oben img { width: 54px; height: 54px; pointer-events: none; }
.nach-oben:hover { background: var(--baiser); }
.nach-oben__text { position: absolute; right: calc(100% + 10px); top: 50%; translate: 4px -50%; padding: .4em .85em; border-radius: 999px; background: var(--lakritz); color: #fff; font: 700 .86rem "Nunito", sans-serif; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; }
.nach-oben:hover .nach-oben__text, .nach-oben:focus-visible .nach-oben__text { opacity: 1; translate: 0 -50%; }
@keyframes ballon-rein { from { transform: translateY(24px) scale(.8); opacity: 0; } }
@media (max-width: 680px) { .nach-oben { width: 58px; height: 58px; } .nach-oben img { width: 44px; height: 44px; } }

/* ---------------------------------------------------------------- Bewegung reduzieren und Druck */
@media (prefers-reduced-motion: reduce) { html:not([data-bewegung="an"]) * { animation: none !important; transition: none !important; } }
html[data-bewegung="aus"] * { animation: none !important; transition: none !important; }
@media print {
    .kopf, .fuss, .nach-oben, .artikel__seite, .lieferschein, .lesewerkzeug, .kasse__seite, .bon-schlitz, .meldung, .bon-kopf > img, .lager-kopf > img { display: none !important; }
    body { background: #fff; }
    .kasse { display: block; }
    .bon { box-shadow: none; mask: none; margin: 0; }
    .kopierzeile button { display: none; }
    .fach { box-shadow: none; }
}


/* ---------------------------------------------------------------- Ergänzungen für die Seiten vom Server (statt Inline-Stilen im Mockup) */
.fenster__weiter { margin: 18px 0 0; }
.filter--kategorie { margin: 0; }
.seiten-unten { margin-top: 22px; }
.lieferschein__zahl { margin: 0; }
.fach__inhalt--einleitung { padding: 0 0 14px; }
.linkkarten--1 { --karten: 1; }
.linkkarten--2 { --karten: 2; }
.linkkarten--3 { --karten: 3; }
.linkkarten--4 { --karten: 4; }
.einsenden__fehler { padding: 16px 18px; border-radius: 16px; background: var(--baiser); color: var(--kirsche-tief); box-shadow: 0 0 0 1.5px var(--kirsche) inset; }
.einsenden__fehler p { margin: 0 0 .3em; }
.einsenden__fehler ul { margin: 0; padding-left: 1.2em; color: var(--lakritz); }
.aushangzettel h2 a { color: inherit; text-decoration-color: var(--rosa); text-decoration-thickness: .06em; }
.aushangzettel h2 a:hover { color: var(--kirsche); }
.aushangbrett--einzeln { grid-template-columns: minmax(0, 900px); }
.aushang-weiter { max-width: 900px; margin-top: clamp(28px, 4vw, 48px); padding: clamp(20px, 3vw, 32px); border-radius: var(--rund-gross); background: rgba(255, 253, 246, .94); box-shadow: 0 28px 40px -22px rgba(40, 18, 6, .75); }
.aushang-weiter h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin-bottom: .5em; }
.aushang-weiter ul { margin: 0 0 1.2em; padding-left: 1.2em; }

/* ---------------------------------------------------------------- 404: leeres Glas und Minispiel „Wo ist der Smilie?“ */
.leeres-glas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { .leeres-glas { grid-template-columns: minmax(0, 1fr); } }
.leeres-glas__code { margin: 0; font: 700 clamp(4rem, 3rem + 6vw, 9rem)/1 "Fredoka", sans-serif; color: var(--rosa); letter-spacing: .04em; }
.leeres-glas h1 { margin-bottom: .4em; }
.leeres-glas .knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.huetchen { padding: clamp(20px, 3vw, 36px); border-radius: var(--rund-gross); background: var(--weiss); box-shadow: var(--schatten-glas); text-align: center; }
.huetchen h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-bottom: .3em; }
.huetchen .notiz { margin: 0 auto; max-width: 46ch; }
.huetchen__tisch { position: relative; width: min(100%, 520px); margin: 18px auto 10px; aspect-ratio: 2292 / 1024; }
.huetchen__glas { position: absolute; top: 0; bottom: 0; left: calc(var(--platz) * 33.333%); width: 33.333%; padding: 0; border: 0; border-radius: 22px; background: none; cursor: pointer; transition: left .38s cubic-bezier(.5, 0, .3, 1), transform .2s; }
.huetchen__glas:disabled { cursor: default; }
.huetchen__glas:not(:disabled):hover { transform: translateY(-4px); }
.huetchen__huelle { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.huetchen__smilie { position: absolute; left: 50%; bottom: 14%; z-index: 1; max-width: 58%; height: auto; translate: -50% 0; transition: opacity .25s; }
.huetchen__glas::after { content: ""; position: absolute; left: 17%; right: 17%; top: 31%; bottom: 8%; z-index: 3; border-radius: 20px 20px 28px 28px; background: rgba(255, 247, 249, 0); pointer-events: none; transition: background-color .3s, box-shadow .3s; }
.huetchen__glas.ist-beschlagen::after { background: rgba(255, 247, 249, .9); }
.huetchen__glas.ist-beschlagen .huetchen__smilie { opacity: 0; }
.huetchen__glas.ist-richtig::after { box-shadow: 0 0 0 4px var(--minze-tief) inset; }
.huetchen__glas.ist-falsch::after { box-shadow: 0 0 0 4px var(--kirsche) inset; }
.huetchen__leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; }
.huetchen__stand { margin: 0; font-weight: 800; }
html[data-bewegung="aus"] .huetchen__glas { transition: none; }
/* lange Adressen in Texten aus der Datenbank brechen um, statt die Seite zu verbreitern */
.fach__inhalt, .fliesstext, .aushangzettel__text, .bon__posten { overflow-wrap: anywhere; }
