/* Gemeinsame Kopfleiste Sauna-Radar und FKK-Radar (index.html, fkk.html)
   Links: ☰-Menü + eigenes Logo/Name · Rechts: Symbol der anderen Seite + Hell/Dunkel */
header.tb {
  --tb-bg: rgba(250, 247, 241, .94); --tb-line: #e3d9cc; --tb-ink: #2b2118; --tb-muted: #6b5d50;
  --tb-card: #fffdf9; --tb-hover: #fbebd8; --tb-accent: #b85d32; --tb-badge: #c0392b;
  position: sticky; top: 0; z-index: 100; display: block; padding: 0;
  background: var(--tb-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--tb-line);
}
:root[data-theme="dark"] header.tb {
  --tb-bg: rgba(24, 19, 15, .93); --tb-line: #3a2f27; --tb-ink: #f2e8dc; --tb-muted: #b9a998;
  --tb-card: #211a15; --tb-hover: #2a1f18; --tb-accent: #f3b07f; --tb-badge: #e0533f;
}
.tb-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; max-width: 1420px; margin: 0 auto; padding: 0 24px; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tb-right { gap: 6px; }
.tb .brand { flex: none; min-width: 0; }
.tb .brand-logo { width: 38px; height: 38px; }
.tb .brand, :root:not([data-theme="dark"]) .tb .brand { gap: 10px; font-size: 1.35rem; line-height: 1; letter-spacing: -.02em; }
.tb-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--tb-line); border-radius: 999px; background: var(--tb-card); color: var(--tb-ink); text-decoration: none; cursor: pointer;
}
.tb-btn:hover, .tb-btn[aria-expanded="true"] { border-color: var(--tb-accent); background: var(--tb-hover); color: var(--tb-accent); }
.tb-icon { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tb-emoji { font-size: 1.05rem; line-height: 1; }
.tb-other .warm-sun { margin: 0; }
.tb-theme .tb-sun, :root[data-theme="dark"] .tb-theme .tb-moon { display: none; }
:root[data-theme="dark"] .tb-theme .tb-sun { display: block; }
.tb-badge { position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--tb-badge); color: #fff;
  font: 700 10px/17px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; text-align: center; box-shadow: 0 0 0 2px var(--tb-bg); }
.tb-badge[hidden] { display: none; }
/* Menü */
.tb-menu-wrap { position: relative; flex: none; }
.tb-menu {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 120; min-width: 250px; max-width: calc(100vw - 24px); padding: 6px;
  background: var(--tb-card); border: 1px solid var(--tb-line); border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); display: grid; gap: 2px;
}
.tb-menu[hidden] { display: none; }
.tb-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 6px 12px; color: var(--tb-muted); font: 700 .78rem/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.tb-menu-close { width: 32px; height: 32px; border: 0; border-radius: 999px; background: none; color: var(--tb-ink); font-size: 1rem; cursor: pointer; }
.tb-menu-close:hover, .tb-menu-close:focus-visible { background: var(--tb-hover); }
.tb-menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--tb-ink); text-align: left; cursor: pointer;
  font: 600 .95rem/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; text-decoration: none; }
.tb-menu-item:hover, .tb-menu-item:focus-visible { background: var(--tb-hover); color: var(--tb-accent); outline: none; }
.tb-menu-item[aria-pressed="true"] { color: var(--tb-accent); }
.tb-menu-item[aria-pressed="true"] .tb-menu-ico { color: #e0533f; }
.tb-menu-ico { width: 1.4em; text-align: center; flex: none; }
.tb-count { color: var(--tb-muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.tb-sep { border: 0; border-top: 1px solid var(--tb-line); margin: 4px 6px; }
.tb-menu-other img { width: 26px; height: 26px; flex: none; }
@media (max-width: 600px) {
  .tb-inner { padding: 0 12px; gap: 8px; min-height: 58px; }
  .tb-left { gap: 8px; }
  .tb .brand { gap: 7px; }
  .tb .brand-logo { width: 30px; height: 30px; }
  .tb .brand, :root:not([data-theme="dark"]) .tb .brand, .tb .brand span { font-size: 1.05rem; }
  .tb-btn { width: 38px; height: 38px; }
}

/* Umschalter rechts: animiertes Logo-Symbol der anderen Seite, klein */
.tb-other { width: 40px; height: 40px; padding: 0; }
.tb-other-logo { width: 30px; height: 30px; display: block; }
