/* Tresörchen Getränkekarte – Aufbau wie v1 (Reiter, dunkler Kartenkasten, Spezialitäten rechts), Farben über Variablen anpassbar */
.tk-karte {
	--tk-red: #9a2e30;
	--tk-bg: #111111;
	--tk-box: #262626;
	--tk-text: #ffffff;
	--tk-muted: #a9a9ab;
	--tk-line: rgba(255, 255, 255, 0.28);
	--tk-pad: 80px;
	--tk-gap: 60px;
	color: #000;
	text-align: left;
}
.tk-karte *, .tk-karte *::before, .tk-karte *::after { box-sizing: border-box; }

/* ---------- Reiter ---------- */
/* Reiterleiste läuft unter dem Scroll-Header der Website mit (Höhe über --tk-sticky anpassbar) */
.tk-karte { --tk-sticky: 80px; }
.tk-karte .tk-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 40px; margin: 0 0 40px; padding: 14px 0 0; background: #fff; }
/* beim Scrollen fixiert (karte.js setzt Position/Breite; Platzhalter verhindert Springen) */
.tk-karte .tk-tabs.is-stuck { position: fixed; top: var(--tk-sticky); z-index: 90; margin: 0; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); }
.tk-karte .tk-tabs-ph { display: none; }
.tk-karte .tk-tabs.is-stuck + .tk-tabs-ph { display: block; }
.tk-karte a.tk-tab {
	display: inline-block; margin: 0; padding: 0 0 10px; border: 0; border-bottom: 2px solid transparent; border-radius: 0;
	background: none !important; box-shadow: none; color: #000 !important; cursor: pointer; text-decoration: none !important;
	font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: 2px; line-height: 1.4; text-transform: uppercase;
	transition: color .2s, border-color .2s, background-color .2s;
}
.tk-karte a.tk-tab:hover { color: var(--tk-red) !important; }
.tk-karte a.tk-tab.is-active { color: var(--tk-red) !important; border-bottom-color: var(--tk-red); }
.tk-karte a.tk-tab:focus-visible { outline: 2px solid var(--tk-red); outline-offset: 4px; }

/* ---------- Kartenkasten ---------- */
.tk-karte .tk-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--tk-gap); padding: var(--tk-pad); background: var(--tk-bg); color: var(--tk-text); }
/* alle Bereiche untereinander in einem durchgehenden Kasten, getrennt durch eine feine Linie */
.tk-karte .tk-panel + .tk-panel { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.tk-karte .tk-panel.has-aside { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.tk-karte .tk-panel-title { grid-column: 1 / -1; margin: 0; color: var(--tk-text); font-size: 52px; line-height: 1; letter-spacing: 2px; text-transform: uppercase; }
.tk-karte .tk-panel-title::after { content: ""; display: block; width: 60px; height: 3px; margin-top: 18px; background: var(--tk-red); }
.tk-karte .tk-main, .tk-karte .tk-aside { display: grid; gap: var(--tk-gap); align-content: start; min-width: 0; }
.tk-karte .tk-aside { gap: 30px; }

/* ---------- Gruppe ---------- */
.tk-karte .tk-group-head h3 { margin: 0; color: var(--tk-text); font-size: 32px; line-height: 1.1; letter-spacing: 2px; text-transform: uppercase; }
.tk-karte .tk-note { margin: 6px 0 0; color: var(--tk-muted); font-size: 14px; font-style: italic; line-height: 1.5; }
.tk-karte .tk-items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 56px; margin: 28px 0 0; padding: 0; list-style: none; }
.tk-karte .tk-cols-2 .tk-items { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tk-karte .tk-item { margin: 0; padding: 0; }
.tk-karte .tk-item::before, .tk-karte .tk-item::marker { content: none; }
.tk-karte .tk-item-head { display: flex; align-items: baseline; gap: 8px; }
.tk-karte .tk-name { color: var(--tk-text); font-size: 16px; font-weight: 600; line-height: 1.35; }
.tk-karte .tk-add { margin-left: 2px; color: var(--tk-muted); font-size: 10px; font-weight: 400; line-height: 0; vertical-align: super; }
.tk-karte .tk-label { flex: none; padding: 2px 6px; background: var(--tk-red); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: 1px; line-height: 1.4; text-transform: uppercase; }
.tk-karte .tk-dots { flex: 1 1 12px; min-width: 12px; border-bottom: 1px dotted var(--tk-line); transform: translateY(-4px); }
.tk-karte .tk-price { flex: none; color: var(--tk-text); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-karte .tk-desc { margin-top: 3px; color: var(--tk-muted); font-size: 13px; line-height: 1.5; }

/* ---------- Kästen rechts ---------- */
.tk-karte .tk-style-box { padding: 44px 40px; background: var(--tk-box); }
.tk-karte .tk-style-feature { position: relative; padding: 52px 46px; background: var(--tk-red); }
.tk-karte .tk-style-feature::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, 0.85); pointer-events: none; }
.tk-karte .tk-style-feature .tk-note, .tk-karte .tk-style-feature .tk-desc, .tk-karte .tk-style-feature .tk-add { color: rgba(255, 255, 255, 0.85); }
.tk-karte .tk-style-feature .tk-dots { border-bottom-color: rgba(255, 255, 255, 0.5); }
.tk-karte .tk-style-feature .tk-label { background: #000; }
.tk-karte .tk-style-box .tk-items, .tk-karte .tk-style-feature .tk-items { grid-template-columns: minmax(0, 1fr); }

/* ---------- Fußzeile ---------- */
.tk-karte .tk-foot { margin-top: 24px; color: #000; font-size: 13px; line-height: 1.7; }
.tk-karte .tk-foot p { margin: 0 0 6px; }
.tk-karte .tk-print { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.tk-karte .tk-print:hover { color: var(--tk-red); }

/* ---------- Tablet: Spezialitäten unter die Listen ---------- */
@media (max-width: 1024px) {
	.tk-karte { --tk-pad: 56px; --tk-gap: 52px; }
	.tk-karte .tk-panel-title { font-size: 46px; }
	.tk-karte .tk-panel.has-aside { grid-template-columns: minmax(0, 1fr); }
	.tk-karte .tk-aside { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
}

/* ---------- Handy ---------- */
@media (max-width: 767px) {
	.tk-karte { --tk-pad: 44px; --tk-gap: 44px; --tk-sticky: 68px; margin-left: -20px; margin-right: -20px; }
	/* alle Kategorien auf einen Blick: Schaltflächen, jede Reihe füllt die volle Breite */
	.tk-karte .tk-tabs { flex-wrap: wrap; justify-content: stretch; gap: 6px; margin-bottom: 24px; padding: 10px 20px; }
	.tk-karte a.tk-tab { flex: 1 1 auto; padding: 8px 10px 7px; border: 1px solid #000; font-size: 11px; letter-spacing: 1px; line-height: 1.3; text-align: center; white-space: nowrap; }
	.tk-karte a.tk-tab.is-active { border-color: var(--tk-red); background: var(--tk-red) !important; color: #fff !important; }
	.tk-karte a.tk-tab.is-active:hover { color: #fff !important; }
	.tk-karte .tk-panel-title { font-size: 40px; }
	.tk-karte .tk-tabs.is-stuck { box-shadow: 0 6px 12px -8px rgba(0, 0, 0, 0.35); }
	.tk-karte .tk-panel { padding: var(--tk-pad) 28px; }
	.tk-karte .tk-cols-2 .tk-items { grid-template-columns: minmax(0, 1fr); }
	.tk-karte .tk-group-head h3 { font-size: 28px; }
	.tk-karte .tk-aside { grid-template-columns: minmax(0, 1fr); }
	.tk-karte .tk-style-box { padding: 36px 28px; }
	.tk-karte .tk-style-feature { padding: 44px 34px; }
	.tk-karte .tk-foot { padding: 0 20px; }
}
