/* ===============================================================
   GastroRadar — Dark Radar Header
   Separate Datei — style.css bleibt unangetastet
================================================================ */

/* ── Basis ─────────────────────────────────────────────────── */
.app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0f1923;
  padding: 16px 16px 12px;
  overflow: hidden;
}

/* ── Radar-Sweep Hintergrund ────────────────────────────────── */
.radar-bg {
  position: absolute;
  right: -30px;
  top: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(52, 108, 146, 0.18);
  box-shadow:
    0 0 0 30px rgba(52, 108, 146, 0.06),
    0 0 0 60px rgba(52, 108, 146, 0.04),
    0 0 0 90px rgba(52, 108, 146, 0.02);
  pointer-events: none;
}

.radar-sweep {
  position: absolute;
  right: -30px;
  top: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 330deg, rgba(52, 108, 146, 0.35) 360deg);
  animation: radar-spin 4s linear infinite;
  pointer-events: none;
}

@keyframes radar-spin {
  to { transform: rotate(360deg); }
}

/* ── KW-Wasserzeichen ───────────────────────────────────────── */
.kw-ghost {
  position: absolute;
  right: -4px;
  top: -14px;
  font-size: 88px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.035);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -3px;
  user-select: none;
}

/* ── Logo ───────────────────────────────────────────────────── */
.header-logo {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.gr-gastro { fill: #4a6b80; }
.gr-radar  { fill: #346c92; }

/* ── Datum-Zeile: ‹ Datum › ─────────────────────────────────── */
.header-date-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.header-week-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.header-week-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.header-week-date {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ── Nav-Buttons ────────────────────────────────────────────── */
.hdr-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 0.15s, color 0.15s;
}

.hdr-nav-btn:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.hdr-nav-btn--hidden {
  visibility: hidden;
}

/* ── Badges ─────────────────────────────────────────────────── */
.header-badges {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hdr-badge {
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.hdr-badge--fire {
  background: rgba(234, 179, 8, 0.15);
  color: #fde68a;
}

.hdr-badge--rb {
  background: rgba(208, 0, 0, 0.25);
  color: #fca5a5;
}

.hdr-badge--holiday {
  background: rgba(124, 58, 237, 0.2);
  color: #c4b5fd;
}

/* ── WeekSelect: subtiler Hint ──────────────────────────────── */
.header-week-select {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.header-week-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  user-select: none;
}

/* Das eigentliche Select liegt unsichtbar über dem Hint-Text */
.header-select-hidden {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 16px; /* verhindert iOS Auto-Zoom */
}
