/* HNO im Burgacker: brand tokens + base, shared by all drafts.
 * Values from Corporate Design/BRAND.md (illunatic.de spec, 2023). Exactly two
 * brand colours; everything else is white, Hellgrau or Anthrazit. Tints below
 * are the same two colours at low opacity, not new colours.
 */
:root {
  color-scheme: light;
  --navy: #2B3260;
  --petrol: #1A878E;
  --white: #FFFFFF;
  --grey: #F1F1F1;
  --ink: #1F1F1F;
  --petrol-tint: rgb(26 135 142 / .08);
  --navy-tint: rgb(43 50 96 / .06);
  --line: rgb(43 50 96 / .14);
  --radius-btn: 4px;               /* BRAND.md: primary CTA radius */
  --font: "Bariol", "Calibri", "Avenir Next", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 5vw, 40px);
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 700; }
a { color: var(--petrol); text-decoration: none; font-weight: 700; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 24px; height: 24px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--radius-btn); }
.skip:focus { top: 12px; }

/* Primary CTA per BRAND.md: Petrol fill, white text, 4px radius, hover Navy.
 * 19px bold keeps white-on-petrol (4.3:1) inside WCAG "large text". */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.3em; border-radius: var(--radius-btn);
  font: 700 19px/1 var(--font); text-decoration: none !important; cursor: pointer; white-space: nowrap;
  border: 2px solid var(--petrol); background: var(--petrol); color: #fff;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn .i { width: 22px; height: 22px; }

/* Live status pill, filled by shared/praxis.js */
[data-status] { font-weight: 700; }
.dot { display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: currentColor; margin-right: .45em; vertical-align: .05em; }

/* Hours tables: today's row is marked by praxis.js */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .45em 0; font-weight: 400; vertical-align: top; }
.hours td { text-align: right; white-space: nowrap; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--navy); font-weight: 700; }
