/* ==========================================================================
   BierSommelier – „Craft-Bar Premium"
   Warme Craft-Beer-Bar bei Nacht: Stout-Schwarzbraun, Bernstein-Licht,
   Schaum-Creme, Messing. Typografie: Fraunces (Display) + Inter (UI),
   selbst gehostet (DSGVO). Signature: echte Bierfarben als Glas-Icons.
   ========================================================================== */

/* ---------- Fonts (selbst gehostet) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-var.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Flächen */
  --bg: #0e0a07;
  --bg-soft: #171009;
  --card: rgba(255, 214, 140, 0.045);
  --card-solid: #1d150c;
  --card-hover: rgba(255, 214, 140, 0.08);
  --line: rgba(245, 195, 120, 0.14);
  --line-strong: rgba(245, 195, 120, 0.30);

  /* Bernstein-Skala */
  --honey: #fbbf24;
  --amber: #f59e0b;
  --copper: #b45309;
  --amber-glow: rgba(245, 158, 11, 0.35);

  /* Text */
  --foam: #f8f1e2;
  --text: #ede2cc;
  --text-dim: #b7a684;
  --text-faint: #8a7a5c;

  /* Zweitakzente */
  --hop: #a3b565;
  --hop-deep: #7a8f43;
  --danger: #e57373;

  /* Geometrie */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 10px 30px -12px rgba(0,0,0,0.55);
  --shadow-pop: 0 1px 0 rgba(255,255,255,0.06) inset, 0 24px 70px -20px rgba(0,0,0,0.75);

  font-size: 16px;
}

/* ---------- Basis ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  font-weight: 430;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Warme Lichtinseln + feines Korn über der ganzen Seite */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(245, 158, 11, 0.10), transparent 60%),
    radial-gradient(700px 600px at -10% 30%, rgba(180, 83, 9, 0.08), transparent 60%),
    radial-gradient(800px 700px at 50% 110%, rgba(251, 191, 36, 0.05), transparent 55%);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.85 0 0 0 0 0.6 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

h1, h2, .brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "opsz" 60;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.12; color: var(--foam); font-weight: 620; margin: 0.4em 0 0.45em; }
h2 { color: var(--foam); font-size: 1.42rem; font-weight: 580; margin: 0.2em 0 0.6em; }
h3 { color: var(--foam); font-weight: 650; }
a { color: var(--honey); }
.lead { color: var(--text-dim); max-width: 68ch; font-size: 1.02rem; }
.center { text-align: center; margin: 28px 0 64px; }
.dim { color: var(--text-dim); }
.small { font-size: 0.82rem; }

::selection { background: rgba(245, 158, 11, 0.35); color: var(--foam); }

:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Akzent-Verlaufstext (Hero) */
.grad-text {
  background: linear-gradient(100deg, var(--honey) 10%, var(--amber) 45%, #e8833a 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Sektions-Icon (Inline-SVG) */
.sec-ico {
  width: 1.15em; height: 1.15em; vertical-align: -0.18em; margin-right: 0.45em;
  stroke: var(--amber); fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(14, 10, 7, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: ""; display: block; height: 2px;
  background: linear-gradient(90deg, transparent, var(--copper) 20%, var(--honey) 50%, var(--copper) 80%, transparent);
  opacity: 0.65;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 22px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 13px; cursor: pointer; }
.brand-glass { display: flex; }
.brand-glass svg { width: 40px; height: 40px; filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.45)); }
.brand-name { font-weight: 700; font-size: 1.42rem; color: var(--foam); }
.brand-claim { font-size: 0.7rem; color: var(--amber); letter-spacing: 2.2px; text-transform: uppercase; font-weight: 600; }

.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: var(--text-dim); border: 1px solid transparent;
  padding: 9px 15px; border-radius: 999px; cursor: pointer; font-size: 0.94rem;
  font-family: inherit; font-weight: 520;
  transition: color .18s, background .18s, border-color .18s, box-shadow .18s;
}
.nav-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.nav-btn:hover { color: var(--foam); background: var(--card-hover); border-color: var(--line); }
.nav-btn.active {
  background: linear-gradient(135deg, var(--honey), var(--amber) 55%, #d97706);
  color: #241605; font-weight: 700; border-color: transparent;
  box-shadow: 0 4px 18px -4px var(--amber-glow);
}

/* ---------- Tabs ---------- */
.tab { display: none; padding: 30px 0 44px; }
.tab.active { display: block; animation: tab-in 0.42s cubic-bezier(0.22, 0.9, 0.3, 1); }
@keyframes tab-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 420px at 18% -12%, rgba(245, 158, 11, 0.16), transparent 60%),
    radial-gradient(700px 380px at 100% 115%, rgba(180, 83, 9, 0.14), transparent 60%),
    linear-gradient(160deg, #1c130a, #140d07 65%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 52px 46px 46px;
  margin: 26px 0 30px;
  box-shadow: var(--shadow-pop);
}
.hero .freetext-row, .hero .dish-suggest { padding-right: clamp(0px, 16vw, 210px); }
.hero h1 { margin: 0 0 12px; max-width: 17ch; font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
.hero > p { margin: 0 0 26px; color: var(--text-dim); max-width: 58ch; font-size: 1.06rem; }
.hero strong { color: var(--honey); font-weight: 650; }

/* Aufsteigende Bläschen (rein dekorativ) */
.bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.bubbles span {
  position: absolute; bottom: -24px;
  width: var(--s, 10px); height: var(--s, 10px);
  left: var(--x, 50%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 235, 190, 0.5), rgba(245, 158, 11, 0.10) 65%, transparent);
  border: 1px solid rgba(255, 220, 150, 0.18);
  animation: bubble-rise var(--t, 9s) linear infinite;
  animation-delay: var(--d, 0s);
  opacity: 0;
}
@keyframes bubble-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  8%   { opacity: 0.9; }
  92%  { opacity: 0.5; }
  100% { transform: translateY(-560px) translateX(22px); opacity: 0; }
}

/* Deko-Bierglas rechts im Hero */
.hero-glass {
  position: absolute; right: 44px; bottom: -14px;
  width: clamp(110px, 14vw, 170px); opacity: 0.92; pointer-events: none;
  filter: drop-shadow(0 18px 40px rgba(245, 158, 11, 0.25));
}
@media (max-width: 1100px) {
  .hero .freetext-row, .hero .dish-suggest { padding-right: 0; }
  .hero-glass { display: none; }
}

.freetext-row { position: relative; z-index: 2; display: flex; gap: 10px; flex-wrap: wrap; }
.freetext-row input {
  flex: 1 1 340px; padding: 16px 20px; border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 7, 4, 0.72); color: var(--foam); font-size: 1.04rem;
  font-family: inherit;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 8px 24px -12px rgba(0,0,0,0.6);
  transition: border-color .2s, box-shadow .2s;
}
.freetext-row input::placeholder { color: var(--text-faint); }
.freetext-row input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18); }

.dish-suggest { position: relative; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 16px; color: var(--text-faint); font-size: 0.88rem; }
.dish-suggest button {
  background: rgba(255, 214, 140, 0.06); border: 1px solid var(--line); color: var(--text-dim);
  border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: 0.86rem; font-family: inherit;
  transition: all .18s;
}
.dish-suggest button:hover { color: var(--foam); border-color: var(--amber); background: rgba(245, 158, 11, 0.12); transform: translateY(-1px); }

/* ---------- Gerichte-Kacheln ---------- */
.dish-cat h2 { margin: 34px 0 14px; font-size: 1.25rem; }
.dish-cat h2::after {
  content: ""; display: block; width: 46px; height: 2px; margin-top: 7px;
  background: linear-gradient(90deg, var(--amber), transparent);
  border-radius: 2px;
}
.dish-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.dish-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 16px; cursor: pointer; font-size: 0.95rem; font-family: inherit;
  color: var(--text); text-align: left; font-weight: 480;
  box-shadow: var(--shadow-card);
  transition: transform .18s, border-color .18s, background .18s, box-shadow .18s;
}
.dish-card:hover {
  background: var(--card-hover); border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 14px 30px -12px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,158,11,0.12);
}

/* ---------- Empfehlungen ---------- */
.pairing-result { margin-top: 34px; }
.pairing-head {
  position: relative;
  background: linear-gradient(150deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.02) 60%), var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 22px 26px; margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.pairing-head::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px;
  background: linear-gradient(180deg, var(--honey), var(--copper));
  border-radius: 0 4px 4px 0;
}
.pairing-head h2 { margin: 0 0 6px; }
.pairing-head p { margin: 0; color: var(--text-dim); }
.pairing-head strong { color: var(--honey); }

.reco-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.reco-card {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px 16px; cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform .18s, border-color .18s, box-shadow .18s, background .18s;
}
.reco-card:hover {
  border-color: var(--line-strong); background: var(--card-hover);
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 18px 40px -14px rgba(0,0,0,0.65), 0 0 24px -6px var(--amber-glow);
}
.reco-rank {
  position: absolute; top: -12px; left: -9px;
  background: linear-gradient(135deg, var(--honey), var(--copper));
  color: #241605; font-weight: 800; font-size: 0.88rem;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px -2px var(--amber-glow), 0 1px 0 rgba(255,255,255,0.35) inset;
}
.reco-why { font-size: 0.89rem; color: var(--text-dim); margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.reco-why strong { color: var(--honey); }

/* ---------- Katalog ---------- */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 10px 0 24px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 20px; box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.stat b {
  font-family: "Fraunces", Georgia, serif; font-weight: 640;
  font-size: 1.75rem; line-height: 1.15;
  background: linear-gradient(120deg, var(--honey), var(--amber));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat span { font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.4px; text-transform: uppercase; margin-top: 2px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.filter-bar input, .filter-bar select, .feed-head select, .menu-course select {
  padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--card-solid); color: var(--text); font-size: 0.95rem; font-family: inherit;
  transition: border-color .18s;
}
.filter-bar input:hover, .filter-bar select:hover { border-color: var(--line-strong); }
.filter-bar input { flex: 2 1 240px; }
.filter-bar select { flex: 1 1 150px; }
.result-count { color: var(--text-faint); font-size: 0.88rem; margin: 6px 0 16px; }

.beer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
.beer-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform .18s, border-color .18s, background .18s, box-shadow .18s;
}
.beer-card:hover {
  background: var(--card-hover); border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 16px 36px -14px rgba(0,0,0,0.6), 0 0 22px -8px var(--amber-glow);
}
.beer-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.beer-id { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.beer-name { font-weight: 650; color: var(--foam); font-size: 1.02rem; line-height: 1.3; }
.beer-brewery { color: var(--text-dim); font-size: 0.87rem; margin-top: 3px; }
.beer-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; align-items: center; }

/* Glas-Icon mit echter Bierfarbe */
.glass-ico { width: 26px; height: 34px; flex: none; margin-top: 2px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }

.badge {
  font-size: 0.74rem; padding: 3.5px 10px; border-radius: 999px; font-weight: 560;
  background: rgba(251, 191, 36, 0.10); color: var(--honey); border: 1px solid rgba(251, 191, 36, 0.28);
}
.badge.gray { background: rgba(255,255,255,0.05); color: var(--text-dim); border-color: var(--line); font-weight: 460; }
.badge.warn { background: rgba(229, 115, 115, 0.08); color: #dfa08a; border-color: rgba(229, 115, 115, 0.25); font-weight: 460; }
.stars { color: var(--honey); letter-spacing: 1.5px; white-space: nowrap; font-size: 0.92rem; }
.stars small { color: var(--text-faint); letter-spacing: 0; }

/* ---------- Modal ---------- */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 44px 16px; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(5, 3, 1, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-panel {
  position: relative; background: linear-gradient(170deg, #1e150c, #140d07 55%);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius) + 4px); max-width: 740px; width: 100%; padding: 30px 34px;
  box-shadow: var(--shadow-pop);
  animation: tab-in 0.35s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.modal-accent { position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 22px 22px 0 0; opacity: 0.85; }
.modal-close {
  position: absolute; top: 14px; right: 16px; background: var(--card); border: 1px solid var(--line);
  width: 34px; height: 34px; border-radius: 50%;
  color: var(--text-dim); font-size: 1.05rem; cursor: pointer; line-height: 1;
  transition: all .18s;
}
.modal-close:hover { color: var(--foam); border-color: var(--line-strong); transform: rotate(90deg); }
.modal h2 { margin: 0 0 4px; color: var(--foam); font-size: 1.75rem; padding-right: 40px; }
.modal .sub { color: var(--text-dim); margin-bottom: 16px; }
.modal-head { display: flex; gap: 18px; align-items: flex-start; }
.modal-head .glass-ico { width: 44px; height: 58px; margin-top: 6px; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 18px 0; }
.spec {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px;
}
.spec b { display: block; font-size: 0.68rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.pairing-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 4px; }

.rating-box { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.rating-box h3 { color: var(--honey) !important; }
.rating-summary { display: flex; gap: 30px; flex-wrap: wrap; margin-bottom: 16px; }
.rating-summary .big {
  font-family: "Fraunces", Georgia, serif; font-size: 2.2rem; font-weight: 700;
  background: linear-gradient(120deg, var(--honey), var(--amber));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.review { border-left: 3px solid var(--line-strong); padding: 8px 14px; margin: 12px 0; background: var(--card); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.review .who { font-size: 0.8rem; color: var(--text-faint); margin-top: 4px; }
.star-input { font-size: 1.8rem; cursor: pointer; user-select: none; letter-spacing: 4px; }
.star-input span { color: #4d3f28; transition: color .12s, transform .12s; display: inline-block; }
.star-input span.on { color: var(--honey); text-shadow: 0 0 12px var(--amber-glow); transform: scale(1.08); }
.rating-form textarea, .rating-form input[type=text] {
  width: 100%; background: rgba(10, 7, 4, 0.7); border: 1px solid var(--line); color: var(--text);
  border-radius: var(--radius-sm); padding: 11px 14px; margin: 6px 0; font-size: 0.95rem; font-family: inherit;
  transition: border-color .18s;
}
.rating-form textarea:focus, .rating-form input[type=text]:focus { outline: none; border-color: var(--amber); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  padding: 12px 24px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; font-size: 0.98rem; font-weight: 640; font-family: inherit;
  transition: all .18s;
}
.btn.primary {
  background: linear-gradient(135deg, var(--honey), var(--amber) 55%, #d97706);
  color: #241605;
  box-shadow: 0 6px 20px -6px var(--amber-glow), 0 1px 0 rgba(255,255,255,0.3) inset;
}
.btn.primary::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.45s ease;
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -6px var(--amber-glow), 0 1px 0 rgba(255,255,255,0.3) inset; }
.btn.primary:hover::after { left: 130%; }
.btn.primary:active { transform: none; }
.btn.ghost { background: transparent; color: var(--honey); border-color: var(--line-strong); }
.btn.ghost:hover { background: rgba(245, 158, 11, 0.10); border-color: var(--amber); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none !important; }

/* ---------- Wissen ---------- */
.wissen-layout { display: grid; grid-template-columns: 255px 1fr; gap: 28px; align-items: start; }
.wissen-nav { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 3px; }
.wissen-nav button {
  text-align: left; background: none; border: none; border-left: 3px solid transparent;
  color: var(--text-dim); padding: 9px 14px; cursor: pointer; font-size: 0.92rem; font-family: inherit;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: all .16s;
}
.wissen-nav button:hover { color: var(--foam); background: var(--card); }
.wissen-nav button.active { color: var(--honey); border-left-color: var(--honey); background: linear-gradient(90deg, rgba(245,158,11,0.12), transparent); font-weight: 600; }
.wissen-content .card { margin-bottom: 22px; }
.wissen-content h3 { color: var(--honey); margin-top: 24px; font-family: "Fraunces", Georgia, serif; font-weight: 600; }
.wissen-content table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 0.92rem; }
.wissen-content th, .wissen-content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.wissen-content th { background: rgba(245, 158, 11, 0.08); color: var(--honey); font-weight: 620; }
.wissen-content tr:nth-child(even) td { background: rgba(255, 214, 140, 0.025); }
.wissen-content .table-scroll { overflow-x: auto; }
.style-comp { display: grid; gap: 10px; }
.style-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .18s; }
.style-item:hover { border-color: var(--line-strong); }
.style-item summary { cursor: pointer; padding: 12px 16px; font-weight: 600; color: var(--foam); }
.style-item summary:hover { color: var(--honey); }
.style-item[open] summary { border-bottom: 1px dashed var(--line); }
.style-item .style-body { padding: 12px 16px 16px; color: var(--text-dim); font-size: 0.93rem; }
.profile-bars { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 10px; margin-top: 12px; }
.pbar { font-size: 0.72rem; color: var(--text-dim); letter-spacing: 0.3px; }
.pbar .track { background: rgba(0,0,0,0.4); border-radius: 4px; height: 7px; margin-top: 4px; overflow: hidden; border: 1px solid rgba(255,255,255,0.04); }
.pbar .fill { background: linear-gradient(90deg, var(--copper), var(--honey)); height: 100%; border-radius: 4px; }

/* ---------- Karten & Formulare ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow-card);
}
.kontakt-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; margin-top: 20px; }
.form-card label, .composer label { display: block; margin-bottom: 13px; font-size: 0.9rem; color: var(--text-dim); font-weight: 500; }
.form-card input, .form-card textarea,
.composer input[type=text], .composer textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(10, 7, 4, 0.7); color: var(--text);
  font-size: 0.97rem; font-family: inherit; font-weight: 430;
  transition: border-color .18s, box-shadow .18s;
}
.form-card input:focus, .form-card textarea:focus,
.composer input[type=text]:focus, .composer textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14);
}
.form-note { font-size: 0.79rem; color: var(--text-faint); margin-top: 12px; }
.steps { padding-left: 18px; }
.steps li { margin-bottom: 12px; color: var(--text-dim); }
.steps li::marker { color: var(--honey); font-weight: 700; }
.steps strong { color: var(--text); }
.success-note {
  background: rgba(163, 181, 101, 0.10); border: 1px solid rgba(163, 181, 101, 0.35);
  color: #cfdba4; border-radius: var(--radius-sm); padding: 13px 16px; margin-top: 14px;
  animation: tab-in 0.3s ease;
}
.match-line {
  background: rgba(163, 181, 101, 0.10); border: 1px solid rgba(163, 181, 101, 0.3);
  border-radius: var(--radius-sm); padding: 9px 14px;
}
.match-line strong { color: var(--hop); }

/* ---------- Menü-Begleiter ---------- */
.menu-card { margin-bottom: 30px; }
.menu-courses { display: flex; flex-direction: column; gap: 9px; margin: 16px 0; }
.menu-course { display: flex; gap: 12px; align-items: center; }
.menu-course .course-no { color: var(--honey); font-weight: 700; min-width: 66px; font-size: 0.9rem; }
.menu-course select { flex: 1; background: rgba(10, 7, 4, 0.7); }
.menu-course .remove-course {
  background: none; border: none; color: var(--text-faint); cursor: pointer; font-size: 1.05rem;
  width: 30px; height: 30px; border-radius: 50%; transition: all .15s;
}
.menu-course .remove-course:hover { color: var(--danger); background: rgba(229, 115, 115, 0.1); }
.menu-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.flight { margin-top: 22px; border-top: 1px dashed var(--line); padding-top: 8px; }
.flight-step {
  display: grid; grid-template-columns: 138px 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start;
  position: relative;
}
.flight-step:last-child { border-bottom: none; }
.flight-role { color: var(--honey); font-weight: 700; font-size: 0.9rem; }
.flight-role small { display: block; color: var(--text-faint); font-weight: 400; margin-top: 1px; }
.flight-beer { cursor: pointer; }
.flight-glass { width: 19px; height: 25px; vertical-align: -7px; margin-right: 8px; }
.flight-beer:hover .beer-name { color: var(--honey); }
.flight-why { color: var(--text-dim); font-size: 0.87rem; margin-top: 5px; }

/* ---------- Aroma-Chips ---------- */
.aroma-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 4px 0 12px; }
.aroma-label { color: var(--text-faint); font-size: 0.86rem; }
.aroma-chip {
  background: var(--card); border: 1px solid var(--line); color: var(--text-dim);
  border-radius: 999px; padding: 7px 15px; cursor: pointer; font-size: 0.87rem; font-family: inherit;
  transition: all .18s;
}
.aroma-chip:hover { color: var(--foam); border-color: var(--line-strong); transform: translateY(-1px); }
.aroma-chip.active {
  background: linear-gradient(135deg, var(--honey), var(--amber));
  color: #241605; border-color: transparent; font-weight: 700;
  box-shadow: 0 4px 14px -4px var(--amber-glow);
}

/* ---------- Community ---------- */
.community-layout { display: grid; grid-template-columns: 385px 1fr; gap: 24px; align-items: start; margin-top: 20px; }
.composer h2 { margin-top: 0; }
.beer-suggest { display: flex; flex-direction: column; gap: 4px; margin: -4px 0 10px; }
.beer-suggest button {
  text-align: left; background: var(--card-solid); border: 1px solid var(--line); color: var(--text);
  padding: 9px 13px; border-radius: var(--radius-sm); cursor: pointer; font-size: 0.88rem; font-family: inherit;
  transition: all .15s;
}
.beer-suggest button:hover { border-color: var(--amber); background: var(--card-hover); }
.beer-suggest button span { color: var(--text-faint); }
.composer-stars { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.photo-label input { display: block; margin-top: 6px; color: var(--text-faint); font-size: 0.85rem; }
.photo-preview img { max-width: 180px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); display: block; margin: 6px 0; }
.photo-preview button { background: none; border: none; color: var(--text-faint); cursor: pointer; font-size: 0.85rem; font-family: inherit; }
.photo-preview button:hover { color: var(--danger); }

.feed-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.checkin {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; margin-bottom: 14px; box-shadow: var(--shadow-card);
  transition: border-color .18s;
}
.checkin:hover { border-color: var(--line-strong); }
.checkin-head { display: flex; gap: 13px; align-items: flex-start; }
.checkin-head > div { flex: 1; }
.checkin-stars { white-space: nowrap; }
.avatar {
  width: 42px; height: 42px; min-width: 42px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 3px 10px -2px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.15) inset;
}
.beer-link { color: var(--honey); cursor: pointer; font-weight: 650; text-decoration: none; }
.beer-link:hover { text-decoration: underline; }
.checkin-text { margin: 10px 0 4px; }
.checkin-photo {
  max-width: 100%; max-height: 420px; border-radius: var(--radius-sm); margin-top: 10px;
  border: 1px solid var(--line-strong); display: block;
}
.checkin-actions { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.toast-btn, .share-btn {
  background: var(--card-solid); border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 7px 15px; cursor: pointer; font-size: 0.87rem; font-family: inherit;
  transition: all .18s;
}
.toast-btn:hover, .share-btn:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.toast-btn.on {
  background: rgba(245, 158, 11, 0.16); border-color: var(--amber); color: var(--honey); font-weight: 700;
  box-shadow: 0 0 14px -4px var(--amber-glow);
}
.checkin-comment { display: flex; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 0.9rem; }
.checkin-comment .avatar { width: 28px; height: 28px; min-width: 28px; font-size: 0.68rem; }
.comment-form { display: flex; gap: 8px; margin-top: 12px; }
.comment-form input {
  flex: 1; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(10, 7, 4, 0.7); color: var(--text); font-size: 0.88rem; font-family: inherit;
}
.comment-form input:focus { outline: none; border-color: var(--amber); }
.small-btn { padding: 8px 15px; font-size: 0.85rem; }
.profile-head { display: flex; gap: 13px; align-items: center; margin-bottom: 14px; }
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.badge-tile {
  text-align: center; background: rgba(0,0,0,0.3); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 9px 4px; opacity: 0.32; filter: grayscale(0.85); transition: all .2s;
}
.badge-tile.earned {
  opacity: 1; filter: none; border-color: rgba(251, 191, 36, 0.4);
  background: rgba(245, 158, 11, 0.09);
  box-shadow: 0 0 16px -6px var(--amber-glow);
}
.badge-tile span { font-size: 1.4rem; display: block; }
.badge-tile small { font-size: 0.63rem; color: var(--text-dim); line-height: 1.25; display: block; margin-top: 3px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); margin-top: 48px; padding: 34px 0 48px;
  color: var(--text-faint); font-size: 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(245, 158, 11, 0.03));
}
.site-footer strong { color: var(--text-dim); }
.footer-brand {
  font-family: "Fraunces", Georgia, serif; font-size: 1.1rem; color: var(--text-dim);
  margin-bottom: 8px; font-weight: 600;
}

/* ---------- Honeypot ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .bubbles { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .community-layout { grid-template-columns: 1fr; }
  .hero { padding: 38px 26px 34px; }
  .hero-glass { display: none; }
}
@media (max-width: 860px) {
  .wissen-layout { grid-template-columns: 1fr; }
  .wissen-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .wissen-nav button { border-left: none; border-bottom: 2px solid transparent; border-radius: var(--radius-sm); }
  .wissen-nav button.active { border-left: none; border-bottom-color: var(--honey); }
  .kontakt-layout { grid-template-columns: 1fr; }
  .header-inner { justify-content: center; }
  .main-nav { justify-content: center; }
  .flight-step { grid-template-columns: 1fr; gap: 4px; }
}
