/* Het Reigersnest: publieke website. Mobile-first. */

:root {
  /* Kernkleuren TV De Blauwe Reiger (vast, niet door thema's te wijzigen) */
  --navy: #0b1f4d;
  --blue: #2f5fc4;
  --blue-light: #4a78c8;
  --lime: #a6d12b;
  --red: #e3262b;
  --white: #ffffff;

  --sky: #eef3fc;
  --sky-2: #dde7f8;
  --muted: #45557a;
  --line: #d3ddef;

  --font-head: 'Anton', 'Archivo Black', Impact, 'Arial Narrow Bold', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-marker: 'Permanent Marker', 'Comic Sans MS', cursive;

  /* Thema-accenten: standaard Blauwe Reiger; een actief thema overschrijft alleen deze. */
  --theme-1: var(--lime);
  --theme-1-ink: var(--navy);
  --theme-2: var(--blue);
  --theme-2-ink: var(--white);
  --theme-3: var(--blue-light);
  --theme-3-ink: var(--white);
  --theme-pattern: none;
  --theme-font: var(--font-marker);
  --theme-hero: none;

  --radius: 14px;
  --shadow: 0 1px 2px rgb(11 31 77 / 0.06), 0 8px 24px rgb(11 31 77 / 0.08);
  --gutter: 16px;
  --max: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font: 400 1rem/1.55 var(--font-body);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0;
}

.marker {
  font-family: var(--theme-font);
}

/* ---------- Kop ---------- */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}
.brand:hover {
  color: var(--white);
}
.brand img {
  width: 42px;
  height: 46px;
  object-fit: contain;
}
.brand-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}
.brand-sub {
  display: block;
  font: 500 0.72rem/1.2 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c9d6f2;
  margin-top: 3px;
}
.site-nav {
  display: flex;
  gap: 4px;
}
.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 10px;
  border-radius: 8px;
}
.site-nav a:hover {
  background: rgb(255 255 255 / 0.1);
  color: var(--white);
}
.site-nav a[aria-current='page'] {
  box-shadow: inset 0 -3px 0 var(--lime);
}

/* Themaslinger (bijv. papel picado) onder de kop */
.theme-garland {
  display: none;
  height: 40px;
  background: var(--theme-pattern);
}
body[data-patroon='papel-picado'] .theme-garland,
body[data-patroon='zigzag'] .theme-garland {
  display: block;
}
body[data-patroon='stripes'] .theme-garland,
body[data-patroon='dots'] .theme-garland {
  display: block;
  height: 10px;
}

/* ---------- Penseelstreken (zoals op de clubposters) ---------- */
.brush {
  position: relative;
  display: inline-block;
  isolation: isolate;
  padding: 0.28em 0.75em 0.32em;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--white);
}
.brush::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brush-color, var(--navy));
  -webkit-mask: url('/assets/penseel.svg') center / 100% 100% no-repeat;
  mask: url('/assets/penseel.svg') center / 100% 100% no-repeat;
}
.brush--red {
  --brush-color: var(--red);
}
.brush--lime {
  --brush-color: var(--lime);
  color: var(--navy);
}
.brush--theme {
  --brush-color: var(--theme-1);
  color: var(--theme-1-ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 0%, rgb(74 120 200 / 0.18), transparent 60%),
    linear-gradient(180deg, #f7faff 0%, var(--sky) 100%);
  padding: 28px 0 96px;
}
.hero .wrap {
  position: relative;
  display: grid;
  gap: 8px;
  align-items: center;
}
.hero-logo {
  width: 148px;
  justify-self: end;
  margin: -6px -6px -24px 0;
  filter: drop-shadow(0 6px 14px rgb(11 31 77 / 0.12));
}
.hero h1 {
  font-size: clamp(2.6rem, 11vw, 5.2rem);
  color: var(--navy);
}
.hero h1 .accent {
  color: var(--blue);
  display: block;
}
.hero .tagline {
  font-family: var(--theme-font);
  font-size: clamp(1.15rem, 4.6vw, 1.6rem);
  line-height: 1.25;
  color: var(--navy);
  margin: 10px 0 0;
  transform: rotate(-1.5deg);
  transform-origin: left;
}
.hero .tagline span {
  /* Streep ónder de tekst (niet erachter), zodat het contrast met elke themakleur goed blijft. */
  background: linear-gradient(var(--theme-1), var(--theme-1)) left bottom / 100% 0.22em no-repeat;
  padding: 0 2px 0.18em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero .intro {
  max-width: 34rem;
  margin: 16px 0 0;
  font-size: 1.05rem;
  color: var(--muted);
}
.hero .welcome {
  margin: 18px 0 0;
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  max-width: 100%;
}
.hero .welcome .brush {
  font-family: var(--theme-font);
  text-transform: none;
  line-height: 1.3;
  padding: 0.55em 1.1em;
  letter-spacing: 0;
}
.hero-wave {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -12px;
  width: 116%;
  max-width: none;
  height: 120px;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 0.9;
}
.hero-cta {
  margin-top: 22px;
}

/* Thema met eigen hero-afbeelding: afbeelding met donkere overloop voor contrast */
body.has-theme-hero .hero {
  background: linear-gradient(180deg, rgb(11 31 77 / 0.55), rgb(11 31 77 / 0.82)), var(--theme-hero) center / cover no-repeat;
}
body.has-theme-hero .hero h1,
body.has-theme-hero .hero .tagline,
body.has-theme-hero .hero .intro {
  color: var(--white);
}
body.has-theme-hero .hero h1 .accent {
  color: var(--theme-1);
}
body.has-theme-hero .hero .tagline span {
  background: none;
}
body.has-theme-hero .hero-wave {
  opacity: 0.35;
}

@media (min-width: 760px) {
  .hero {
    padding: 56px 0 130px;
  }
  .hero .wrap {
    grid-template-columns: 1.4fr 1fr;
  }
  .hero-logo {
    grid-column: 2;
    grid-row: 1 / span 5;
    width: min(320px, 100%);
    justify-self: center;
    margin: 0;
  }
  .hero-wave {
    height: 170px;
  }
}

/* ---------- Knoppen ---------- */
.btn {
  --btn-bg: var(--theme-2);
  --btn-ink: var(--theme-2-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font: 700 1rem/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  box-shadow: 0 2px 0 rgb(11 31 77 / 0.25);
}
.btn:hover {
  color: var(--btn-ink);
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(1px);
  box-shadow: none;
}
.btn[disabled],
.btn[aria-disabled='true'] {
  background: #c4cbd9;
  color: #3d4760;
  cursor: not-allowed;
  transform: none;
  filter: none;
  box-shadow: none;
}
.btn--lime {
  --btn-bg: var(--lime);
  --btn-ink: var(--navy);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-ink: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}
.btn--danger {
  --btn-bg: var(--red);
  --btn-ink: var(--white);
}
.btn--block {
  width: 100%;
}

/* ---------- Gerechten ---------- */
.section {
  padding: 40px 0 56px;
}
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.section-title h2 {
  font-size: clamp(2rem, 7vw, 2.8rem);
}
.section-title .marker {
  color: var(--blue);
  font-size: 1.05rem;
  transform: rotate(-2deg);
}

.dish-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .dish-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1060px) {
  .dish-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dish-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-top: 5px solid var(--theme-1);
}
.dish-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
}
.dish-media img.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dish-media .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.dish-media .placeholder img {
  width: 34%;
  opacity: 0.9;
}
.dish-date {
  position: absolute;
  left: 10px;
  top: 12px;
  font-size: 1.15rem;
}
.dish-date small {
  font-size: 0.8em;
  opacity: 0.9;
}
.dish-flag {
  position: absolute;
  right: 8px;
  bottom: 12px;
  font-size: 1.1rem;
  transform: rotate(-3deg);
}
.dish-card.is-soldout .dish-media img.photo,
.dish-card.is-closed .dish-media img.photo {
  filter: grayscale(0.7) brightness(0.85);
}

.dish-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 20px;
  flex: 1;
}
.dish-body h3 {
  font-size: 1.7rem;
}
.dish-desc {
  margin: 0;
  color: var(--muted);
}
.dish-variants {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.dish-variants strong {
  color: var(--navy);
}

.allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.allergen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 3px;
  background: var(--sky);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}
.allergen svg {
  width: 26px;
  height: 26px;
  padding: 3px;
  background: var(--white);
  border-radius: 50%;
  color: var(--blue);
}
.allergen-info {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.dish-foot {
  margin-top: auto;
  display: grid;
  gap: 12px;
}
.price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.price {
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1;
}
.price small {
  font: 600 0.8rem var(--font-body);
  color: var(--muted);
  margin-left: 2px;
}
.counter {
  text-align: right;
  font-size: 0.9rem;
  font-weight: 600;
}
.counter strong {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.35rem;
}
.meter {
  height: 10px;
  border-radius: 999px;
  background: var(--sky-2);
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), #8fc01a);
  border-radius: inherit;
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.meter.is-low span {
  background: linear-gradient(90deg, #f29a2e, var(--red));
}
.closes {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.empty {
  text-align: center;
  padding: 40px 16px;
  background: var(--sky);
  border-radius: var(--radius);
}
.empty .marker {
  font-size: 1.5rem;
  color: var(--blue);
  margin: 0 0 6px;
}

/* Laadstatus */
.skeleton {
  background: linear-gradient(90deg, var(--sky) 25%, #f6f9ff 50%, var(--sky) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: var(--radius);
  min-height: 420px;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ---------- Hoe werkt het ---------- */
.steps {
  background: var(--navy);
  color: var(--white);
  padding: 44px 0;
}
.steps h2 {
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  margin-bottom: 18px;
}
.steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps ol {
    grid-template-columns: repeat(3, 1fr);
  }
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
  font: 400 1.4rem var(--font-head);
}
.steps strong {
  display: block;
  font-size: 1.05rem;
}
.steps p {
  margin: 2px 0 0;
  color: #c9d6f2;
}

/* ---------- Voet ---------- */
.site-footer {
  margin-top: auto;
  background: #08173a;
  color: #c9d6f2;
  padding: 28px 0 32px;
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
}
.site-footer a {
  color: var(--white);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  width: 54px;
}

/* ---------- Formulieren & pagina's ---------- */
.page-head {
  background: linear-gradient(180deg, #f7faff, var(--sky));
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(2.1rem, 8vw, 3.2rem);
}
.page-head p {
  margin: 6px 0 0;
  color: var(--muted);
}
.back {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
  margin-bottom: 8px;
  text-decoration: none;
}

.layout-2 {
  display: grid;
  gap: 24px;
  padding: 24px 0 120px;
}
@media (min-width: 900px) {
  .layout-2 {
    grid-template-columns: 360px 1fr;
    align-items: start;
    padding-bottom: 56px;
  }
  .layout-2 > aside {
    position: sticky;
    top: 84px;
  }
}

.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.panel + .panel {
  margin-top: 16px;
}

fieldset {
  border: 0;
  margin: 0 0 22px;
  padding: 0;
  min-width: 0;
}
legend,
.label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 0;
}
legend .num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--theme-1);
  color: var(--theme-1-ink);
  font-size: 1rem;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.field > span {
  font-weight: 600;
  font-size: 0.95rem;
}
.field small {
  color: var(--muted);
}
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='number'],
input[type='password'],
input[type='date'],
input[type='datetime-local'],
input[type='time'],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font: 400 1rem/1.4 var(--font-body); /* 16px: geen zoom op iOS */
}
textarea {
  min-height: 96px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(47 95 196 / 0.2);
}
input[aria-invalid='true'] {
  border-color: var(--red);
}

/* Aantallen */
.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.qty-row:last-of-type {
  border-bottom: 0;
}
.qty-row .what strong {
  display: block;
}
.qty-row .what small {
  color: var(--muted);
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--sky);
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}
.stepper button:disabled {
  color: #9aa6c0;
  cursor: not-allowed;
}
.stepper output {
  min-width: 40px;
  text-align: center;
  font: 400 1.3rem var(--font-head);
}

/* Tijdvakken */
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
}
.slot {
  position: relative;
}
.slot input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.slot label {
  display: grid;
  gap: 2px;
  place-items: center;
  min-height: 64px;
  padding: 8px;
  border: 2px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
}
.slot label strong {
  font: 400 1.35rem var(--font-head);
}
.slot label small {
  font-size: 0.78rem;
  color: var(--muted);
}
.slot input:checked + label {
  border-color: var(--blue);
  background: var(--sky);
  box-shadow: inset 0 0 0 1px var(--blue);
}
.slot input:focus-visible + label {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.slot input:disabled + label {
  opacity: 0.5;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Betaalkeuze */
.choices {
  display: grid;
  gap: 10px;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
}
.choice label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.choice label::before {
  content: '';
  grid-row: span 2;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2px solid var(--muted);
  background: var(--white);
}
.choice input:checked + label {
  border-color: var(--blue);
  background: var(--sky);
}
.choice input:checked + label::before {
  border-color: var(--blue);
  background: radial-gradient(circle, var(--blue) 0 45%, var(--white) 50%);
}
.choice input:focus-visible + label {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.choice input:disabled + label {
  opacity: 0.55;
  cursor: not-allowed;
}
.choice small {
  color: var(--muted);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
}
.check input {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

/* Totaal (plakt onderaan op mobiel) */
.totalbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  background: var(--white);
  box-shadow: 0 -6px 24px rgb(11 31 77 / 0.12);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.totalbar .sum {
  line-height: 1.1;
}
.totalbar .sum small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}
.totalbar .sum strong {
  font: 400 1.6rem var(--font-head);
}
@media (min-width: 900px) {
  .totalbar {
    position: static;
    box-shadow: none;
    padding: 18px 0 0;
    border-top: 2px solid var(--line);
    margin-top: 8px;
  }
}

.alert {
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 16px;
  background: var(--sky);
  border-left: 5px solid var(--blue);
}
.alert--error {
  background: #fdecec;
  border-left-color: var(--red);
  color: #7a1013;
}
.alert--ok {
  background: #f1f8e0;
  border-left-color: #6f9a12;
}
.alert:empty {
  display: none;
}

/* Samenvatting gerecht (aside) */
.summary-media {
  margin: -20px -20px 16px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  position: relative;
}
.summary-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.summary h2 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}
.summary .meta {
  display: grid;
  gap: 4px;
  margin: 10px 0 0;
  font-size: 0.95rem;
}

dl.details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  margin: 0;
}
dl.details dt {
  font-weight: 700;
}
dl.details dd {
  margin: 0;
}

.status-hero {
  text-align: center;
  padding: 8px 0 4px;
}
.status-hero .big {
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  margin: 8px 0 6px;
}
.status-hero .marker {
  font-size: 1.3rem;
  color: var(--blue);
}
.spinner {
  width: 44px;
  height: 44px;
  margin: 8px auto;
  border-radius: 50%;
  border: 5px solid var(--sky-2);
  border-top-color: var(--blue);
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.linkbox {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-top: 8px;
}
.linkbox input {
  font-size: 0.85rem;
  min-height: 44px;
}
.linkbox .btn {
  min-height: 44px;
  padding: 8px 16px;
  white-space: nowrap;
}

.prose {
  max-width: 46rem;
  padding: 28px 0 56px;
}
.prose h2 {
  font-size: 1.6rem;
  margin: 28px 0 8px;
}
.prose p,
.prose li {
  color: #23345c;
}
.concept {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #7a1013;
  background: #fdecec;
  padding: 4px 10px;
  border-radius: 999px;
}

@media print {
  .site-header,
  .site-footer,
  .totalbar,
  .theme-garland {
    display: none !important;
  }
}

/* ---------- Kleine schermen ---------- */
.brand > span {
  white-space: nowrap;
}
@media (max-width: 520px) {
  .brand-name {
    font-size: 1.15rem;
  }
  .brand-sub {
    font-size: 0.66rem;
  }
  .brand img {
    width: 36px;
    height: 40px;
  }
  .site-nav a {
    padding: 10px 8px;
  }
  .site-nav a:not(:first-child) {
    display: none;
  }
  .hero {
    padding-top: 20px;
  }
  .hero-logo {
    width: 112px;
    justify-self: start;
    margin: 0 0 4px -6px;
  }
}
.summary-media:empty {
  display: none;
}
