/* ==========================================================================
   Ergänzungen 0.13 / 0.14
   Begrüßung im Login · Unterpunkte und Tags in der Navigation · Sprungziele
   Kontakt „Bevor du fragst“ · Pflichtdokumente · Getränke (Glas, Füllmenge, Foto) · Objektsuche
   ========================================================================== */

/* ---------- Login: Willkommen zwischen Ladebildschirm und Login ---------- */
.gate-intro { z-index: 5; }
.gate-wave { z-index: 4; }
.gate-hallo {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 24px; text-align: center; color: #fff; pointer-events: none;
  background: radial-gradient(1000px 640px at 50% 46%, rgba(47,93,70,.42), rgba(14,36,26,.58) 75%);
  opacity: 0; transition: opacity .5s ease;
}
.gate-hallo.show { opacity: 1; }
.gate-hallo.wiping { transition: none; will-change: clip-path; }
.gate-hallo.done { opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.gate-hallo.wiped { visibility: hidden; }
.gh-in { display: grid; justify-items: center; gap: 14px; }
.gh-k { font: 600 12.5px/1.2 var(--font); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.gh-t { margin: 0; font: italic 900 clamp(42px, 8.4vw, 104px)/1 "Inter Display", var(--font); letter-spacing: -.02em; color: #fff; text-shadow: 0 6px 40px rgba(0,0,0,.35); }
.gh-s { margin: 0; font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.82); }
.gate-hallo .gh-k, .gate-hallo .gh-t, .gate-hallo .gh-s { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.gate-hallo.show .gh-k { opacity: 1; transform: none; transition-delay: .05s; }
.gate-hallo.show .gh-t { opacity: 1; transform: none; transition-delay: .15s; }
.gate-hallo.show .gh-s { opacity: 1; transform: none; transition-delay: .35s; }

/* Nach richtigem PIN: Überschrift wechselt weich zu „Servus [Name]“ */
#gateTitle, .gate-sub { transition: opacity .16s ease, transform .2s ease; }
#gateTitle.swap, .gate-sub.swap { opacity: 0; transform: translateY(-4px); }

/* ---------- Navigation: Unterpunkte und Tags ---------- */
.nav-item { display: flex; align-items: center; gap: 2px; }
.nav-item > .nav-link { flex: 1; min-width: 0; }
.nav-tog { flex: none; width: 32px; height: 32px; margin-right: 2px; border: 0; border-radius: 9px; background: none; color: var(--text-2); cursor: pointer; display: grid; place-items: center; }
.nav-tog:hover, .nav-tog:focus-visible { background: var(--fill); color: var(--text); }
.nav-tog svg { transition: transform .25s ease; }
.nav-tog[aria-expanded="true"] svg { transform: rotate(90deg); }
.nav-sub { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .28s ease; }
.nav-sub[hidden] { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .28s ease, visibility 0s linear .28s; }
.nav-sub > div { overflow: hidden; min-height: 0; }
.nav-link.sub { margin-left: 30px; padding-top: 7px; padding-bottom: 7px; font-size: 14.5px; }
.nav-link.sub .nav-dot { width: 6px; height: 6px; margin: 0 6px 0 4px; border-radius: 50%; background: currentColor; opacity: .55; flex: none; }
.nav-link.sub[aria-current="page"] .nav-dot { opacity: 1; background: var(--accent); }
.nav-item.in > .nav-link:not([aria-current]) { color: var(--text); }
.nav-tag { margin-left: auto; padding: 2px 8px; border-radius: 99px; font: 700 10.5px/1.5 var(--font); font-style: normal; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.nav-link .nav-tag + .dot-neu, .nav-link .nav-tag + .nav-count { margin-left: 6px; }

/* ---------- Sprungziel aus „Was ist neu“ (…#/seite~id) ---------- */
.ziel { animation: ziel 2.2s ease; border-radius: 14px; }
@keyframes ziel { 0%, 35% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 0 10px color-mix(in srgb, var(--accent) 14%, transparent); } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Was ist neu: verlinkte Punkte ---------- */
.ver-list a { color: inherit; text-decoration: none; display: inline; }
.ver-list a span { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-underline-offset: 3px; }
.ver-list a:hover span { text-decoration-color: var(--accent); }
.ver-list a .ver-go { display: inline-flex; vertical-align: -2px; margin-left: 5px; color: var(--accent); }

/* ---------- Kontakt: „Bevor du fragst“ ---------- */
.kt-regel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: kr; }
.kt-regel li { counter-increment: kr; position: relative; padding: 4px 18px 4px 0; display: grid; gap: 6px; align-content: start; }
.kt-regel li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.kt-regel li::before { content: counter(kr); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--font); color: var(--card); background: var(--text); }
.kt-regel b { font-size: 16px; }
.kt-regel span { font-size: 14.5px; line-height: 1.5; color: var(--text-2); }
@media (max-width: 640px) {
  .kt-regel { grid-template-columns: 1fr; gap: 14px; }
  .kt-regel li, .kt-regel li + li { padding: 0 0 0 40px; border-left: 0; }
  .kt-regel li::before { position: absolute; left: 0; top: 0; }
}

/* ---------- Dokumente: Reiter und Pflichtdokumente ---------- */
.dok-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.dok-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 14.5px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.dok-tabs a[aria-current="page"] { color: var(--card); background: var(--accent); box-shadow: none; }
.dok-tabs a em { font-style: normal; font-weight: 700; font-size: 12px; padding: 1px 7px; border-radius: 99px; background: color-mix(in srgb, currentColor 14%, transparent); }
.pf-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; padding: 20px 22px; }
.pf-ring { --p: 0; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 1%), color-mix(in srgb, var(--accent) 14%, var(--fill)) 0); }
.pf-ring b { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--card); font: italic 900 22px/1 "Inter Display", var(--font); }
.pf-top h2 { margin: 0 0 6px; font-size: 20px; }
.pf-top p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.pf-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13.5px; color: var(--text-2); }
.pf-leg span { display: inline-flex; align-items: center; gap: 6px; }
.pf-st { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--text-2); }
.pf-st.ja { background: #2f9e5b; } .pf-st.fehlt { background: #d0473b; } .pf-st.klaeren { background: #d99a1e; }
.pf-list { list-style: none; margin: 0; padding: 0; }
.pf-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pf-nr { font: italic 900 17px/1.3 "Inter Display", var(--font); color: var(--text-2); }
.pf-row h3 { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 650; }
.pf-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 5px; font-size: 13.5px; color: var(--text-2); }
.pf-meta span { display: inline-flex; align-items: center; gap: 5px; }
.pf-meta a { color: var(--accent); font-weight: 600; text-decoration: none; }
.pf-meta a:hover { text-decoration: underline; }
.pf-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 650; white-space: nowrap; background: var(--fill); }
.pf-badge.ja { color: #1f7a45; background: rgba(47,158,91,.12); }
.pf-badge.fehlt { color: #b3352a; background: rgba(208,71,59,.11); }
.pf-badge.klaeren { color: #9a6a0c; background: rgba(217,154,30,.14); }
:root[data-theme="dark"] .pf-badge.ja { color: #7fd6a2; } :root[data-theme="dark"] .pf-badge.fehlt { color: #ff9a8f; } :root[data-theme="dark"] .pf-badge.klaeren { color: #f2c26b; }
@media (max-width: 560px) {
  .pf-top { grid-template-columns: 1fr; justify-items: start; }
  .pf-row { grid-template-columns: 28px minmax(0, 1fr); }
  .pf-row .pf-badge { grid-column: 2; justify-self: start; }
}

/* ---------- Getränke: Glas, Füllmenge, Foto ---------- */
.dish.has-foto { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 16px; align-items: start; }
.dish.has-foto > :not(.drink-foto) { grid-column: 2; }
.drink-foto { grid-row: 1 / span 9; width: 96px; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--fill); color: var(--text-2); }
.drink-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drink-foto.leer { border: 1px dashed var(--line); font-size: 11.5px; text-align: center; gap: 4px; align-content: center; }
@media (max-width: 420px) { .dish.has-foto { grid-template-columns: 72px minmax(0, 1fr); } .drink-foto { width: 72px; } }

/* Objektsuche: siehe css/v16.css */

/* 0.19.0a: Stichwort als Abzeichen im Satz */
.ver-chip { display: inline-flex; align-items: center; gap: 3px; padding: 1px 8px 1px 9px; margin: 0 1px; border-radius: 99px; background: var(--accent-soft, color-mix(in srgb, var(--accent) 14%, transparent)); color: var(--accent); font-weight: 600; font-size: .94em; line-height: 1.5; text-decoration: none !important; white-space: nowrap; vertical-align: baseline; transition: background .15s, color .15s, transform .15s; }
.ver-chip svg { opacity: .7; transition: transform .15s; }
.ver-chip:hover { background: var(--accent); color: #fff; }
.ver-chip:hover svg { transform: translateX(2px); opacity: 1; }
.ver-chip:active { transform: scale(.97); }
