/* ============================================================
   machBar — Getränkekarte

   Ergaenzung zu app.css, nicht deren Ersatz: die Seite laeuft im
   dunklen Theme "kneipe", alle Farben kommen weiter aus den
   semantischen Tokens (--bg, --surface, --ink, --head, --accent …).

   Zwei Dinge sind hier anders als auf den uebrigen Seiten:

   1. Die Karte wird abends am Tisch auf dem Handy gelesen, oft ohne
      Lesebrille. Grundschrift deshalb 19 px statt 15 px, und alles
      Weitere haengt an --gk-scale, damit der A/A+-Schalter mit einer
      einzigen Variable die ganze Karte vergroessert.
   2. Die Bedienleiste klebt unter der Hauptnavigation (76 px hoch,
      position:sticky) — daher top: 76px statt 0.
   ============================================================ */

.gk {
    --gk-scale: 1;
    --gk-base: calc(19px * var(--gk-scale));
    --gk-nav: 76px;
    /* Sichtbare Hoehe der Bedienleiste, fuer scroll-margin-top bei
       .gk-kategorie — sonst schneidet sie angesprungene Ueberschriften an.
       karte.js misst sie nach und setzt den echten Wert, auch wenn auf dem
       Handy die Werkzeugzeile weggleitet. Die Zahlen hier gelten nur, bis
       das Skript laeuft. */
    --gk-leiste-h: 132px;
    font-size: var(--gk-base);
}
@media (max-width: 599px) {
    .gk { --gk-leiste-h: 196px; }
}

/* Gold fuer Sprueche, Giebel und Marken. Im dunklen Theme das Gold der
   Website; im hellen (Licht an) ein dunkles Ocker — helles Gold waere auf
   Creme kaum lesbar. Runde-Ansicht und Runde-Knopf liegen ausserhalb von
   .gk und brauchen die Farben ebenso. */
.gk, .gk-runde, .gk-runde-knopf {
    --gk-gold: var(--accent-2);
    --gk-chip-ink: var(--k-accent-ink);
}
#site:not([data-theme='kneipe']) :is(.gk, .gk-runde, .gk-runde-knopf) {
    --gk-gold: #8a5d14;
    --gk-chip-ink: #fffdf8;
}

.gk[data-groesse='1'] { --gk-scale: 1.15; }
.gk[data-groesse='2'] { --gk-scale: 1.32; }

/* ---------- Kopf ---------- */

.gk-kopf {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-bottom: var(--space-6);
}
/* Foto der Terrasse am Abend, abgedunkelt: oben etwas Bild, nach unten
   fast vollstaendig Hintergrundfarbe, damit der Kopf weich in die Karte
   uebergeht. */
.gk-kopf__bild {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% 35%;
    transition: opacity .5s ease;
}
/* Abendfoto bei Licht aus, Tagfoto bei Licht an — weich uebergeblendet. */
.gk-kopf__bild--tag { opacity: 0; object-position: 70% 60%; }
#site:not([data-theme='kneipe']) .gk-kopf__bild--nacht { opacity: 0; }
#site:not([data-theme='kneipe']) .gk-kopf__bild--tag { opacity: 1; }
.gk-kopf::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to bottom,
            color-mix(in srgb, var(--bg) 74%, transparent) 0%,
            color-mix(in srgb, var(--bg) 86%, transparent) 55%,
            var(--bg) 100%);
}
.gk-kopf h1 {
    /* Das Wort bleibt ganz: die Groesse richtet sich nach der Breite, die
       neben der Lampe frei ist (Rand 48 px, Lampe 72 px). GETRÄNKEKARTE ist
       in Oswald gut 7 Geviert breit, /7.4 laesst Luft. */
    font-size: clamp(1.9rem, calc((100vw - 120px) / 7.4), 4.2rem);
    line-height: .95;
    letter-spacing: .01em;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0 0 var(--space-4);
}

/* Der Balken aus den Werbemitteln (Tischaufsteller, Aushaenge). */
.gk-balken {
    display: block;
    width: 56px;
    height: 5px;
    margin: var(--space-4) 0;
    background: var(--accent);
}
/* Rechts haengt die Lampe — der Text haelt Abstand. */
.gk-kopf__text { padding-right: 72px; }

/* ---------- Lampe ----------
   Aussehen und Verhalten in app.css (gemeinsam mit der Startseite). Hier
   haengt sie an der Unterkante der Hauptnavigation, rechts buendig mit dem
   schmalen Inhalt der Karte, in deren Gold. */
.gk-kopf .lampe {
    right: max(16px, calc((100% - 820px) / 2));
    color: var(--gk-gold);
}
.gk-kopf .lampe:focus-visible { outline-color: var(--gk-gold); }
@media (prefers-reduced-motion: reduce) {
    .gk-kopf__bild { transition: none; }
}

.gk-kopf__spruch {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.15em;
    line-height: 1.35;
    letter-spacing: .01em;
    color: var(--gk-gold);
    max-width: 60ch;
}


/* ---------- Bedienleiste ---------- */

.gk-leiste {
    position: sticky;
    top: var(--gk-nav);
    z-index: 100;
    background: color-mix(in srgb, var(--bg) 94%, black);
    border-block: 1px solid var(--line);
    padding: var(--space-3) 0;
    /* Die Leiste selbst waechst nicht mit dem A/A+-Schalter mit: sonst
       frisst sie bei der groessten Stufe den halben Bildschirm. */
    font-size: 16px;
    /* Auf dem Handy schiebt karte.js die Leiste beim Herunterscrollen um die
       Werkzeugzeile nach oben, unter die Hauptnavigation (z-index 120). */
    transition: transform .22s ease;
}
@media (prefers-reduced-motion: reduce) {
    .gk-leiste { transition: none; }
}
@supports (backdrop-filter: blur(6px)) {
    .gk-leiste {
        background: color-mix(in srgb, var(--bg) 82%, transparent);
        backdrop-filter: blur(8px);
    }
}

.gk-leiste__reihe {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
}

/* Auf dem Handy passen Suchfeld, Schalter und A/A+ nicht nebeneinander —
   das Suchfeld bliebe als Lupe uebrig. Es bekommt deshalb eine eigene
   Zeile, darunter teilen sich Schalter und Schriftgroesse den Platz. */
@media (max-width: 599px) {
    .gk-suche { flex: 1 1 100%; }
    .gk-schalter { flex: 1 1 auto; }
}

.gk-suche {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}
.gk-suche svg {
    position: absolute;
    left: 12px;
    width: 20px;
    height: 20px;
    color: var(--muted);
    pointer-events: none;
}
.gk-suche input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px 0 40px;
    font-family: var(--font-body);
    font-size: 16px; /* unter 16px zoomt iOS Safari beim Fokus hinein */
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.gk-suche input::placeholder { color: var(--muted); }

.gk-schalter {
    min-height: 48px;
    padding: 0 14px;
    white-space: nowrap;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
}
.gk-schalter[aria-pressed='true'] {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

.gk-groesse {
    display: flex;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}
.gk-groesse button {
    min-width: 40px;
    min-height: 48px;
    border: 0;
    background: none;
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 600;
    cursor: pointer;
}
.gk-groesse button + button { border-left: 1px solid var(--line); }
.gk-groesse button[data-stufe='0'] { font-size: 14px; }
.gk-groesse button[data-stufe='1'] { font-size: 17px; }
.gk-groesse button[data-stufe='2'] { font-size: 21px; }
.gk-groesse button[aria-pressed='true'] {
    background: var(--accent);
    color: var(--accent-ink);
}

/* Kategorie-Chips: eine Zeile, die zur Seite gewischt wird. Der Rahmen
   laeuft bis an den Bildschirmrand und traegt die Pfeile. */
.gk-chips-rahmen {
    position: relative;
    margin-top: var(--space-3);
    margin-inline: calc(var(--space-4) * -1);
}
.gk-chips {
    --gk-kante-links: 0px;
    --gk-kante-rechts: 0px;
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
    padding-inline: var(--space-4);
    scroll-padding-inline: var(--space-4);
    /* Verlauf an der Kante, auf der noch Chips verborgen sind. Als Maske
       statt als Farbverlauf darueber: die Leiste ist halbtransparent und
       verschwommen, eine aufgemalte Hintergrundfarbe saehe man als Streifen. */
    -webkit-mask-image: linear-gradient(to right,
        transparent 0, #000 var(--gk-kante-links),
        #000 calc(100% - var(--gk-kante-rechts)), transparent 100%);
            mask-image: linear-gradient(to right,
        transparent 0, #000 var(--gk-kante-links),
        #000 calc(100% - var(--gk-kante-rechts)), transparent 100%);
}
.gk-chips-rahmen.hat-links  .gk-chips { --gk-kante-links: 64px; }
.gk-chips-rahmen.hat-rechts .gk-chips { --gk-kante-rechts: 64px; }

.gk-chips-pfeil {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    box-shadow: 0 1px 4px rgb(0 0 0 / .35);
}
.gk-chips-pfeil[hidden] { display: none; }
.gk-chips-pfeil svg { width: 18px; height: 18px; }
.gk-chips-pfeil--links  { left: 6px; }
.gk-chips-pfeil--rechts { right: 6px; }
.gk-chips-pfeil:hover { border-color: var(--head); color: var(--head); }
.gk-chips::-webkit-scrollbar { display: none; }
.gk-chips a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    white-space: nowrap;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}
.gk-chips a.is-active {
    background: var(--head);
    border-color: var(--head);
    color: var(--gk-chip-ink);
}

.gk-treffer {
    margin: var(--space-3) 0 0;
    font-size: 14px;
    color: var(--muted);
}

/* ---------- Die Karte ---------- */

.gk-kategorie {
    /* Die sticky Leiste darf die Ueberschrift beim Ansprung nicht verdecken. */
    scroll-margin-top: calc(var(--gk-nav) + var(--gk-leiste-h) + var(--space-3));
    padding-top: var(--space-6);
}
.gk-kategorie[hidden] { display: none; }

.gk-kategorie__kopf {
    margin-bottom: var(--space-4);
}

/* Kapiteltrenner: der Giebel mit der Nummer sitzt auf einer feinen Linie
   zwischen den Kategorien — leicht eingerueckt statt mittig, damit er zur
   linksbuendigen Karte gehoert, aber nicht an der Kante klebt. */
.gk-kategorie__nr {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin: 0 0 var(--space-4);
}
.gk-kategorie__nr::before,
.gk-kategorie__nr::after {
    content: '';
    height: 1px;
    background: var(--line);
}
/* Die Linie vor dem Giebel waechst mit --gk-pos (0 bei 01, 1 bei "Was
   fehlt?"): mindestens 32 px, hoechstens so viel, dass rechts noch 32 px
   Linie bleiben. 126 px = Giebel 38 + zwei Abstaende 24 + zweimal 32. */
.gk-kategorie__nr::before { flex: 0 0 calc(var(--space-6) + (100% - 126px) * var(--gk-pos, 0)); }
.gk-kategorie__nr::after { flex: 1 0 var(--space-6); }

/* Die Nummer im Umriss des Treppengiebels, in Gold wie die Sprueche.
   Feste Groesse: ohne sie hat ein SVG im Flex-Container die
   Standardgroesse von 300 x 150 px. */
.gk-giebel {
    display: block;
    flex: none;
    width: 38px;
    height: 46px;
    color: var(--gk-gold);
}
.gk-kategorie__kopf h2 {
    font-size: 1.5em;
    margin: 0;
}
.gk-kategorie__spruch {
    margin: var(--space-2) 0 0;
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1.08em;
    line-height: 1.35;
    letter-spacing: .01em;
    color: var(--gk-gold);
    max-width: 44ch;
}
.gk-kategorie__kicker {
    margin: var(--space-1) 0 0;
    font-family: var(--font-head);
    font-weight: 500;
    font-size: .82em;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gk-gold);
}
.gk-kategorie__hinweis {
    margin: var(--space-2) 0 0;
    font-size: .8em;
    color: var(--muted);
    max-width: 56ch;
}

.gk-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gk-item {
    padding: var(--space-4) 0;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.gk-item[hidden] { display: none; }
.gk-item:last-child { border-bottom: 0; }

.gk-item__name {
    margin: 0;
    font-size: 1.05em;
    line-height: 1.25;
    color: var(--ink);
}
.gk-fussnote {
    font-size: .6em;
    color: var(--muted);
    margin-left: 2px;
    font-family: var(--font-body);
}
.gk-badge {
    display: inline-block;
    margin-left: var(--space-2);
    padding: 2px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--sage) 30%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--sage) 55%, transparent);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: .62em;
    font-weight: 600;
    letter-spacing: .02em;
    vertical-align: middle;
    white-space: nowrap;
}

.gk-item__meta {
    margin: var(--space-1) 0 0;
    font-size: .74em;
    color: var(--gk-gold);
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--space-2);
}
.gk-item__meta span + span::before {
    content: '·';
    margin-right: var(--space-2);
    color: var(--muted);
}
.gk-item__text-lang {
    margin: var(--space-2) 0 0;
    font-size: .82em;
    line-height: 1.5;
    color: var(--muted);
    max-width: 52ch;
}

.gk-item__rechts {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-3);
}
.gk-preise {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}
.gk-preise li {
    display: inline-flex;
    align-items: baseline;
    gap: var(--space-2);
    padding: 6px 12px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
}
.gk-menge {
    font-size: .74em;
    color: var(--muted);
    white-space: nowrap;
}
.gk-preis {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .95em;
    color: var(--head);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* Ab hier ist Platz fuer zwei Spalten: Text links, Preise rechts.
   Die auf gedruckten Karten uebliche Punktlinie dazwischen bringt hier
   nichts — der Textblock ist mehrzeilig und deckt sie fast vollstaendig
   ab; uebrig bliebe ein Stummel, der wie ein Fehler aussieht. Die
   Spaltenkante fuehrt das Auge auch so. */
@media (min-width: 700px) {
    .gk-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: var(--space-5);
        align-items: start;
    }
    .gk-item__name {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 0 var(--space-1);
    }
    .gk-item__rechts { margin-top: 0; }
    .gk-preise {
        justify-content: flex-end;
        /* Buendige rechte Kante: ohne feste Breite tanzen die Preise je
           nach Zahl der Groessen von Zeile zu Zeile. */
        min-width: 15ch;
    }
    .gk-preise li {
        border-color: transparent;
        background: none;
        padding: 0;
    }
    .gk-preise li + li { padding-left: var(--space-4); }
}

/* ---------- Merkliste ---------- */

/* Das Plus am Getraenk: leiser als die Preise, aber eindeutig. Mit einer
   Zahl darin, sobald etwas davon gemerkt ist. */
.gk-merken {
    position: relative;
    flex: none;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1.5px solid color-mix(in srgb, var(--gk-gold) 70%, transparent);
    border-radius: 50%;
    background: none;
    color: var(--gk-gold);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
}
.gk-merken[hidden] { display: none; }
/* Groessere Trefferflaeche als der sichtbare Kreis. */
.gk-merken::after { content: ''; position: absolute; inset: -6px; }
.gk-merken.hat-anzahl {
    background: var(--gk-gold);
    border-color: var(--gk-gold);
    color: var(--bg);
}
.gk-merken:focus-visible { outline: 3px solid var(--gk-gold); outline-offset: 2px; }

/* Groessenwahl unter dem Getraenk, wenn es mehr als eine gibt. */
.gk-wahl {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    font-size: 15px;
}
.gk-wahl__frage { color: var(--muted); margin-right: var(--space-1); }
/* Bricht nur als Ganzes um, nie zwischen den Knoepfen. */
.gk-wahl__optionen {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--space-2);
}
.gk-wahl__optionen button { white-space: nowrap; }
.gk-wahl button {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--gk-gold);
    border-radius: 999px;
    background: none;
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}

/* Fester Runde-Knopf unten rechts, im Daumenbereich. Leer gestrichelt und
   leise, mit Getraenken gold mit Zahl. Am Computer an der rechten Kante
   der Karte statt am Bildschirmrand. */
.gk-runde-knopf {
    position: fixed;
    z-index: 250;
    right: max(var(--space-4), calc((100vw - 820px) / 2));
    bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 10px 0 16px;
    white-space: nowrap;
    border-radius: 999px;
    border: 1.5px solid var(--gk-gold);
    background: var(--surface);
    color: var(--gk-gold);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
    cursor: pointer;
}
.gk-runde-knopf[hidden] { display: none; }
.gk-runde-knopf:focus-visible { outline: 3px solid var(--gk-gold); outline-offset: 3px; }
.gk-runde-knopf__leer { display: none; }
.gk-runde-knopf__zahl {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--gk-gold);
    color: var(--bg);
    font-size: 14px;
}
.gk-runde-knopf.ist-leer {
    padding: 0 16px 0 12px;
    border-style: dashed;
    border-color: color-mix(in srgb, var(--gk-gold) 65%, transparent);
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    color: var(--ink);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
}
.gk-runde-knopf.ist-leer .gk-runde-knopf__zahl { display: none; }
.gk-runde-knopf.ist-leer .gk-runde-knopf__leer {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--gk-gold);
    border-radius: 50%;
    color: var(--gk-gold);
    font-size: 15px;
    line-height: 1;
}
.gk-runde-knopf.hueft { animation: gk-hueft .5s ease-out; }
@keyframes gk-hueft {
    0% { transform: scale(1); }
    35% { transform: scale(1.12); }
    100% { transform: scale(1); }
}
/* Platz unter der Karte, damit der Knopf das Ende nicht verdeckt. */
.gk { padding-bottom: 88px; }

/* Die Runde: bildschirmfuellend, grosse Schrift, hoher Kontrast — zum
   Zeigen am Tresen. Folgt der Lampe (hell/dunkel). */
.gk-runde {
    position: fixed;
    inset: 0;
    z-index: 300;
    overflow-y: auto;
    background: var(--bg);
    color: var(--ink);
}
.gk-runde[hidden] { display: none; }
.gk-runde__innen {
    width: min(640px, 100% - 32px);
    margin: 0 auto;
    padding: var(--space-5) 0 var(--space-7);
}
.gk-runde__kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--gk-gold);
}
.gk-runde__kopf h2 { margin: 0; font-size: 28px; }
.gk-runde__zu {
    min-width: 48px;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink);
    font-size: 20px;
    cursor: pointer;
}
.gk-runde__spruch {
    margin: var(--space-4) 0 var(--space-2);
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 19px;
    line-height: 1.35;
    color: var(--gk-gold);
}
.gk-runde__spruch:empty { display: none; }
.gk-runde__erklaerung {
    margin-top: var(--space-5);
    font-size: 19px;
    line-height: 1.5;
    color: var(--ink);
}
.gk-runde__erklaerung[hidden] { display: none; }
.gk-runde__erklaerung p { margin: 0 0 var(--space-3); max-width: 34ch; }
.gk-runde__erklaerung p + p { font-size: 16px; color: var(--muted); }
.gk-runde__plus {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin: 0 2px;
    border: 1.5px solid var(--gk-gold);
    border-radius: 50%;
    color: var(--gk-gold);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    vertical-align: -4px;
}
.gk-runde__liste[hidden], .gk-runde__leeren[hidden] { display: none; }
.gk-runde__liste { list-style: none; margin: 0; padding: 0; }
.gk-runde__liste li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--line);
}
.gk-runde__anzahl {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 30px;
    color: var(--gk-gold);
    font-variant-numeric: tabular-nums;
}
.gk-runde__name {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.15;
    color: var(--head);
}
.gk-runde__menge {
    display: block;
    margin-top: 2px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 17px;
    color: var(--ink);
}
.gk-runde__knoepfe { display: flex; gap: var(--space-2); }
.gk-runde__knoepfe button {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 22px;
    cursor: pointer;
}
.gk-runde__leeren {
    display: block;
    margin: var(--space-6) auto 0;
    min-height: 44px;
    padding: 0 var(--space-4);
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.gk-runde__leeren.fragt { color: var(--accent); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
    .gk-runde-knopf.hueft { animation: none; }
}

/* ---------- Fuss ---------- */

.gk-leer {
    padding: var(--space-7) 0;
    text-align: center;
    color: var(--muted);
    font-size: .9em;
}

/* Der Kartenbereich ist ein div, app.css gibt nur section.block Innenabstand —
   ohne diesen klebten die Pflichtangaben am Seitenfuss. */
.gk-karte { padding-bottom: var(--space-8); }

/* Schluss: die Haltung der Genossenschaft, direkt nach der letzten
   Kategorie und im selben Abstand wie eine weitere. */
.gk-schluss {
    padding-top: var(--space-6);
}
.gk-schluss h2 {
    font-size: 1.5em;
    margin: 0 0 var(--space-3);
}
.gk-schluss__text {
    margin: 0;
    max-width: 46ch;
    font-size: .95em;
    line-height: 1.55;
}
.gk-schluss a { color: var(--head); }

/* Pflichtangaben: vollstaendig, aber klein und grau. Die Schrift waechst
   bewusst nicht mit dem A/A+-Schalter — wer sie braucht, zoomt. */
.gk-fuss {
    margin-top: var(--space-7);
    padding-top: var(--space-5);
    border-top: 1px solid var(--line);
    font-size: 14px;
}
.gk-legenden {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: var(--space-4) var(--space-6);
    margin-bottom: var(--space-4);
}
.gk-fuss h2 {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 var(--space-2);
}
.gk-legende {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--muted);
}
.gk-legende sup { color: var(--ink); font-weight: 600; margin-right: 2px; }
.gk-fuss__zeile {
    margin: var(--space-5) 0 0;
    font-family: var(--font-head);
    font-size: 11.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.gk-fuss__hinweis {
    margin: 0 0 var(--space-3);
    font-size: 12px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 62ch;
}

/* ---------- Fokus ---------- */

.gk :is(a, button, input):focus-visible {
    outline: 3px solid var(--accent-2);
    outline-offset: 2px;
}
