:root {
  /* Authentic Antwerp Colours: Antwerp Crimson Red, Crisp Flag White & Cathedral Sandstone */
  --bg: #fcfaf9;
  --bg-soft: #f5ecee;
  --card: #ffffff;
  --ink: #2b1419;
  --ink-body: #3d262b;
  --muted: #685055;
  --line: #e6d5d8;
  --sage: #b8162a;
  --sage-dark: #8c0e1e;
  --sage-soft: #fdecef;
  --warm: #a86c16;
  --warm-soft: #fcf4e4;
  --radius: 18px;
  --shadow: 0 8px 24px -14px rgba(140, 14, 30, 0.14);
  --base-font: 18px;
}

html[data-font-size="large"] {
  --base-font: 21px;
}

html[data-font-size="xlarge"] {
  --base-font: 24px;
}

/* High-Contrast Accessibility Mode */
html[data-contrast="high"] {
  --bg: #ffffff;
  --bg-soft: #f6f6f6;
  --card: #ffffff;
  --ink: #000000;
  --ink-body: #000000;
  --muted: #1a1a1a;
  --line: #000000;
  --sage: #8b0014;
  --sage-dark: #5e000d;
  --sage-soft: #ffe8ec;
  --warm: #7a4a00;
  --warm-soft: #fff5e0;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: var(--base-font);
}

body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

.music-controls {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.music-btn {
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-radius: 8px;
  padding: 6px 13px;
  min-height: 40px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.music-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.music-btn.playing {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--sage-dark);
}

.music-select {
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-radius: 8px;
  padding: 6px 10px;
  min-height: 40px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.music-select option {
  background: #8c0e1e;
  color: #ffffff;
}

html[data-contrast="high"] .music-select {
  background: #000000;
  color: #ffffff;
  border-color: #ffffff;
}

.vol-slider {
  width: 74px;
  accent-color: #ffd6a5;
  cursor: pointer;
}

/* Mobile & Tablet Menu Button + Drawer */
.menu-toggle {
  display: none;
  border: 2px solid var(--ink);
  background: #ffffff;
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 14px;
  min-height: 46px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  align-items: center;
  gap: 6px;
}

.mobile-drawer {
  display: none;
  background: #ffffff;
  border-top: 2px solid var(--line);
  padding: 14px 22px 20px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer a {
  display: block;
  padding: 13px 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.mobile-drawer a:last-child {
  border-bottom: 0;
}

/* Sticky Smartphone Bottom Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-top: 2px solid var(--line);
  padding: 10px 14px;
  gap: 10px;
  box-shadow: 0 -6px 20px rgba(22, 50, 79, 0.14);
}

.mobile-sticky-bar a {
  flex: 1;
  text-align: center;
  min-height: 48px;
  padding: 10px 12px;
  font-size: 0.95rem;
}

html[data-lang="nl"] .lang-en {
  display: none !important;
}

html[data-lang="en"] .lang-nl {
  display: none !important;
}

a {
  color: var(--sage);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Top Accessibility Bar (Antwerp Red top banner — forms Red-White-Red Antwerp flag rhythm with white header) */
.a11y-bar {
  background: linear-gradient(90deg, #9c0f22 0%, #b8162a 55%, #9c0f22 100%);
  color: #ffffff;
  font-size: 0.84rem;
  padding: 10px 0;
}

.a11y-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.a11y-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.a11y-label {
  color: #fdecef;
  font-weight: 700;
  margin-right: 4px;
}

.a11y-btn {
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: 8px;
  padding: 6px 12px;
  min-height: 40px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.a11y-btn:hover {
  background: rgba(255, 255, 255, 0.26);
}

.a11y-btn.active {
  background: #ffffff;
  color: var(--sage-dark);
  border-color: #ffffff;
}

/* Main Header (Crisp Antwerp Flag White with Antwerp Red accent rule) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 3px solid var(--sage);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sage);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 4px 12px rgba(184, 22, 42, 0.24);
  animation: gentleBob 6s ease-in-out infinite;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  padding: 6px 4px;
}

.nav-links a:hover {
  color: var(--sage);
  text-decoration: underline;
}

.nav-links a.nav-active,
.mobile-drawer a.nav-active {
  color: var(--sage-dark);
  background: var(--sage-soft);
  border-radius: 10px;
  padding: 6px 12px;
  text-decoration: none;
}

.mobile-drawer a.nav-active {
  padding: 13px 12px;
}

.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage);
  color: #ffffff !important;
  text-decoration: none;
  padding: 10px 18px;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
}

.phone-cta:hover {
  background: var(--sage-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 14px 24px;
  min-height: 52px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--sage);
  color: #ffffff !important;
  border-color: var(--sage);
}

.btn-primary:hover {
  background: var(--sage-dark);
}

.btn-warm {
  background: var(--warm);
  color: #ffffff !important;
  border-color: var(--warm);
}

.btn-warm:hover {
  background: #875610;
}

.btn-outline {
  background: #ffffff;
  color: var(--ink) !important;
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--bg-soft);
}

/* Hero with Warm Sunlit Antwerp Watercolor Artwork */
.hero {
  position: relative;
  background-color: #f8f4ea;
  background-image:
    linear-gradient(96deg, rgba(250, 247, 240, 0.96) 0%, rgba(250, 247, 240, 0.90) 44%, rgba(250, 247, 240, 0.30) 70%, rgba(250, 247, 240, 0.04) 100%),
    url("assets/antwerp-warm-hero.jpg");
  background-size: cover;
  background-position: right center;
  border-bottom: 1.5px solid var(--line);
  padding: 64px 0 72px;
}

html[data-contrast="high"] .hero {
  background: #ffffff;
}

.hero-welcome {
  max-width: 600px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-soft);
  color: var(--sage-dark);
  border: 1.5px solid var(--sage);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 2.2rem;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.2;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 1.08rem;
  color: var(--ink-body);
  max-width: 52ch;
}

.hero-familiar-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 0.94rem;
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--shadow);
}

/* Always-Familiar 4-Door Welcome Dock */
.doors-section {
  background: var(--bg);
  padding: 36px 0 56px;
  border-bottom: 1.5px solid var(--line);
}

.doors-label {
  text-align: center;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 20px;
}

.doors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.door-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background: var(--card);
  border: 2px solid var(--line);
  border-top: 5px solid var(--sage);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-decoration: none;
  color: var(--ink-body);
  box-shadow: var(--shadow);
  transition: transform 0.14s ease, border-color 0.14s ease;
}

.door-card.warm-top {
  border-top-color: var(--warm);
}

.door-card:hover {
  transform: translateY(-2px);
  border-color: var(--sage);
}

.door-card.warm-top:hover {
  border-color: var(--warm);
}

.door-num {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 4px;
}

.door-step {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  background: var(--bg-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.door-card h2 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  line-height: 1.28;
  color: var(--ink);
}

.door-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.door-cta {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--sage);
}

.door-card.warm-top .door-cta {
  color: var(--warm);
}

/* Custom Tailored ICT Scope Box */
.scope-box {
  margin-top: 24px;
  background: var(--card);
  border: 2px solid var(--sage);
  border-left: 6px solid var(--warm);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.scope-box h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  color: var(--ink);
}

.scope-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-body);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.reassurance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.promise-card {
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid var(--sage);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.promise-card h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  color: var(--ink);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
}

.check-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-dark);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  margin: 8px 0 12px;
  font-size: 1.85rem;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.25;
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.3;
}

.card p {
  margin: 0;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--sage-soft);
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.icon-badge.warm {
  background: var(--warm-soft);
  color: var(--warm);
}

/* Experience & Goodwill Feature Box */
.about-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-tile {
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.stat-tile strong {
  display: block;
  font-size: 1.6rem;
  color: var(--sage);
  line-height: 1.2;
}

.stat-tile span {
  font-size: 0.86rem;
  color: var(--ink);
  font-weight: 700;
}

/* Grants & Support Cards */
.grant-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--warm-soft);
  color: var(--warm);
  border: 1.5px solid var(--warm);
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.grant-helper {
  margin-top: 26px;
  background: #ffffff;
  border: 2px solid var(--sage);
  border-radius: var(--radius);
  padding: 26px;
}

.helper-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 16px;
}

.helper-btn {
  border: 2px solid var(--sage);
  background: var(--sage-soft);
  color: var(--sage-dark);
  border-radius: 10px;
  padding: 10px 16px;
  min-height: 46px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
}

.helper-btn.active,
.helper-btn:hover {
  background: var(--sage);
  color: #ffffff;
}

.helper-answer {
  background: var(--bg);
  border-left: 5px solid var(--warm);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.96rem;
}

/* Pricing */
.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.recommended {
  border: 3px solid var(--sage);
  background: #ffffff;
}

.price-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--sage);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.price-num {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--ink);
  margin: 12px 0 4px;
  line-height: 1.1;
}

.price-unit {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 14px;
}

.pricing-card .check-list {
  margin: 16px 0 22px;
  flex: 1;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 20px 22px;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--sage);
  font-weight: 900;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 22px 20px;
  color: var(--ink-body);
}

/* Contact & Callback Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.contact-card-dark {
  background: linear-gradient(155deg, #9c0f22 0%, #740b19 100%);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 30px;
}

.contact-card-dark h2,
.contact-card-dark h3 {
  color: #ffffff;
  margin-top: 0;
}

.contact-card-dark a {
  color: #ffe3b0;
  font-weight: 800;
}

.big-phone {
  display: inline-block;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--sage-dark) !important;
  background: #ffffff;
  padding: 13px 20px;
  border-radius: 12px;
  text-decoration: none;
  margin: 12px 0;
  box-shadow: 0 6px 18px rgba(43, 20, 25, 0.22);
}

.big-phone:hover {
  background: #fdecef;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 2px solid #c9b2b6;
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: #ffffff;
  min-height: 50px;
}

.form-status {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 800;
  display: none;
}

.form-status.ok {
  display: block;
  background: #e9f6ef;
  color: #155539;
  border: 2px solid #1f7a53;
}

.form-status.err {
  display: block;
  background: #fde8e8;
  color: #8b1e1e;
  border: 2px solid #c53030;
}

/* Footer */
.site-footer {
  background: var(--ink);
  border-top: 4px solid var(--sage);
  color: #f6e7ea;
  padding: 36px 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: #ffe2b3;
}

/* Print-Friendly Fridge Reference Sheet */
@media print {
  .a11y-bar,
  .nav-links,
  .menu-toggle,
  .mobile-drawer,
  .mobile-sticky-bar,
  .hero-actions,
  .grant-helper,
  .filter-bar,
  .cat-pills,
  #callback-form {
    display: none !important;
  }
  body {
    background: #ffffff;
    font-size: 12pt;
    padding-bottom: 0 !important;
  }
  .hero,
  .page-hero {
    background: #ffffff !important;
    padding: 16px 0;
  }
  .section {
    padding: 18px 0;
  }
}

/* =====================================================================
   Calm Sub-Pages: Belgian Portals Hub & Step-by-Step Belgian Wiki
   ===================================================================== */
.page-hero {
  background: linear-gradient(180deg, #f3efe6 0%, var(--bg) 100%);
  border-bottom: 1.5px solid var(--line);
  padding: 46px 0 40px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.24;
  color: var(--ink);
}

.page-hero p {
  margin: 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.filter-bar {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.calm-search {
  flex: 1;
  min-width: 240px;
  max-width: 520px;
  border: 2px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  border-radius: 14px;
  padding: 13px 18px;
  font-size: 1rem;
  font-family: inherit;
  min-height: 52px;
  box-shadow: var(--shadow);
}

.calm-search:focus {
  border-color: var(--sage);
}

.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cat-pill {
  border: 1.5px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 18px;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--sage);
  border-color: var(--sage);
  color: #ffffff;
}

.portal-group {
  margin-bottom: 44px;
}

.portal-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--line);
}

.portal-group-head h2 {
  margin: 0;
  font-size: 1.38rem;
  color: var(--ink);
}

.portal-group-head span {
  font-size: 0.9rem;
  color: var(--muted);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portal-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-decoration: none;
  color: var(--ink-body);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.portal-tile:hover {
  transform: translateY(-2px);
  border-color: var(--sage);
  background: #fcfdfc;
}

.portal-tile-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--sage-soft);
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.portal-ico.warm {
  background: var(--warm-soft);
  color: var(--warm);
}

.portal-tile h3 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.25;
}

.portal-tile p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.portal-url {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.calm-notice {
  background: var(--sage-soft);
  border: 1.5px solid rgba(184, 22, 42, 0.32);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 18px;
  font-size: 0.93rem;
  color: var(--sage-dark);
}

.calm-notice.warm {
  background: var(--warm-soft);
  border-color: rgba(181, 100, 38, 0.35);
  color: #7c4014;
}

/* Calm Belgian Wiki / Knowledge Base */
.number-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.number-pill {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: var(--shadow);
}

.number-pill strong {
  font-size: 1.25rem;
  color: var(--sage-dark);
  letter-spacing: 0.02em;
}

.number-pill a {
  text-decoration: none;
  color: var(--sage-dark);
}

.number-pill span {
  font-size: 0.86rem;
  color: var(--muted);
}

.wiki-stack {
  display: grid;
  gap: 24px;
}

.wiki-article {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow);
}

.wiki-article-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.wiki-article h2 {
  margin: 0;
  font-size: 1.38rem;
  color: var(--ink);
  line-height: 1.28;
}

.wiki-lead {
  margin: 0 0 18px;
  color: var(--ink-body);
}

.wiki-steps {
  margin: 0 0 18px;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.wiki-steps li {
  line-height: 1.65;
}

.wiki-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.wiki-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--sage-dark);
  text-decoration: none;
}

.wiki-chip:hover {
  background: var(--sage-soft);
  border-color: var(--sage);
}

.online-table-wrap {
  overflow-x: auto;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.online-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.online-table th,
.online-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.online-table th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 800;
}

.online-table tr:last-child td {
  border-bottom: 0;
}

.hub-banner {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.empty-state {
  text-align: center;
  padding: 36px 20px;
  background: var(--card);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  display: none;
}

/* =====================================================================
   Nostalgia, Belgian Radio, 70s/80s Quotes & Niche Cozy Senior Corner
   ===================================================================== */
.quote-stage {
  background: linear-gradient(135deg, #ffffff 0%, #f8f3e8 100%);
  border: 2px solid var(--line);
  border-left: 6px solid var(--warm);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow);
}

.quote-era {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--warm-soft);
  color: var(--warm);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.quote-text {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 700;
  font-style: italic;
}

.quote-meta {
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.quote-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bef-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.bef-inputs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: end;
  margin: 16px 0;
}

.bef-eq {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--sage);
  padding-bottom: 10px;
  text-align: center;
}

.bef-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.preset-btn {
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 10px;
  padding: 7px 13px;
  min-height: 40px;
  font-size: 0.86rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.preset-btn:hover {
  background: var(--sage-soft);
  border-color: var(--sage);
  color: var(--sage-dark);
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.memory-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.memory-card h3 {
  margin: 0 0 6px;
  font-size: 1.04rem;
  color: var(--ink);
}

.memory-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.quiz-box {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.quiz-q {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 16px;
}

.quiz-opts {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.quiz-opt {
  text-align: left;
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 12px;
  padding: 13px 16px;
  min-height: 50px;
  font-size: 0.96rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.quiz-opt:hover {
  border-color: var(--sage);
  background: var(--sage-soft);
}

.quiz-opt.correct {
  border-color: var(--sage);
  background: var(--sage-soft);
  color: var(--sage-dark);
}

.quiz-opt.wrong {
  border-color: #c53030;
  background: #fde8e8;
  color: #8b1e1e;
}

.quiz-feedback {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--bg-soft);
  font-size: 0.94rem;
  margin-bottom: 14px;
  display: none;
}

.era-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: auto;
}

/* =====================================================================
   Gentle Moving Elements (Calm, Senior-Friendly & Older-Device Safe)
   ===================================================================== */
.hero {
  overflow: hidden;
}

.hero-motion-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.soft-cloud {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255, 252, 244, 0.72) 0%, rgba(255, 250, 238, 0) 72%);
  will-change: transform;
}

.soft-cloud.c1 {
  width: 340px;
  height: 110px;
  top: 10%;
  left: -120px;
  animation: cloudDrift 46s linear infinite;
}

.soft-cloud.c2 {
  width: 260px;
  height: 85px;
  top: 26%;
  left: 30%;
  opacity: 0.7;
  animation: cloudDrift 62s linear infinite reverse;
}

.soft-cloud.c3 {
  width: 220px;
  height: 220px;
  top: -40px;
  right: 14%;
  background: radial-gradient(circle, rgba(255, 224, 170, 0.34) 0%, rgba(255, 224, 170, 0) 70%);
  animation: sunBreathe 9s ease-in-out infinite;
}

@keyframes cloudDrift {
  0% { transform: translateX(-140px); }
  50% { transform: translateX(260px); }
  100% { transform: translateX(-140px); }
}

@keyframes sunBreathe {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.14); opacity: 0.92; }
}

.brand-icon {
  animation: gentleBob 6s ease-in-out infinite;
}

@keyframes gentleBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2.5px); }
}

/* Calm Pause-on-Hover Antwerp Welcome Ribbon */
.calm-ribbon {
  background: var(--ink);
  color: #f3eee4;
  border-bottom: 1.5px solid rgba(255, 214, 165, 0.28);
  overflow: hidden;
  padding: 9px 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.calm-ribbon-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ribbon-viewport {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ribbon-track {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  animation: ribbonGlide 42s linear infinite;
}

.calm-ribbon:hover .ribbon-track,
.calm-ribbon:focus-within .ribbon-track,
.calm-ribbon.is-paused .ribbon-track {
  animation-play-state: paused;
}

@keyframes ribbonGlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f6f1e7;
  text-decoration: none;
}

.ribbon-item strong {
  color: #ffd6a5;
}

.ribbon-pause-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 8px;
  padding: 4px 10px;
  min-height: 32px;
  font-size: 0.78rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
}

/* Floating Golden Music Notes When Oldies Jukebox Plays */
.music-notes-stage {
  position: fixed;
  right: 18px;
  bottom: 84px;
  width: 68px;
  height: 150px;
  pointer-events: none;
  z-index: 45;
  overflow: visible;
}

.float-note {
  position: absolute;
  bottom: 0;
  font-size: 1.35rem;
  color: var(--warm);
  opacity: 0;
  animation: noteRise 3.2s ease-out forwards;
}

@keyframes noteRise {
  0% { transform: translate(0, 0) scale(0.8); opacity: 0; }
  18% { opacity: 0.92; }
  100% { transform: translate(-18px, -135px) scale(1.18); opacity: 0; }
}

/* Gentle Scroll Reveal (Gracefully Visible on Older Browsers) */
.js-reveal .reveal-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-reveal .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================================
   Community Message Board / Prikbord (prikbord.html)
   ===================================================================== */
.board-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.38fr;
  gap: 28px;
  align-items: start;
}

.board-compose {
  position: sticky;
  top: 94px;
  background: var(--card);
  border: 2px solid var(--sage);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.board-privacy-note {
  background: var(--warm-soft);
  border: 1.5px solid rgba(181, 100, 38, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.86rem;
  color: #7c4014;
  margin-bottom: 16px;
}

.board-feed {
  display: grid;
  gap: 20px;
}

.board-post {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.board-post:hover {
  border-color: var(--sage);
}

.post-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.post-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage-dark);
  border: 1px solid rgba(184, 22, 42, 0.3);
}

.post-cat-badge.cat-oproepen,
.post-cat-badge.cat-legerdienst {
  background: var(--warm-soft);
  color: var(--warm);
  border-color: rgba(181, 100, 38, 0.32);
}

.post-date {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 700;
}

.board-post h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.3;
}

.post-author-line {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.post-author-line strong {
  color: var(--ink);
}

.post-body {
  margin: 0 0 16px;
  color: var(--ink-body);
  white-space: pre-line;
  line-height: 1.68;
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.heart-btn,
.reply-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 14px;
  min-height: 42px;
  font-size: 0.88rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.heart-btn:hover,
.heart-btn.hearted {
  background: var(--warm-soft);
  border-color: var(--warm);
  color: var(--warm);
}

.reply-toggle-btn:hover {
  background: var(--sage-soft);
  border-color: var(--sage);
  color: var(--sage-dark);
}

.replies-list {
  margin-top: 14px;
  padding-left: 16px;
  border-left: 3px solid var(--sage-soft);
  display: grid;
  gap: 10px;
}

.reply-item {
  background: var(--bg);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.92rem;
}

.reply-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.reply-head strong {
  color: var(--ink);
}

.reply-form {
  margin-top: 14px;
  padding: 14px;
  background: var(--bg-soft);
  border-radius: 12px;
  display: none;
  gap: 10px;
}

.reply-form.open {
  display: grid;
}

.reply-form input,
.reply-form textarea {
  width: 100%;
  border: 1.5px solid #9db0c4;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 0.94rem;
  font-family: inherit;
  background: #ffffff;
  color: var(--ink);
}

/* =====================================================================
   Signature Final Polish: Daily Scheurkalender, 10s Scam Check,
   Read-Aloud Button, Share Strip & Fridge Magnet Print Sheet
   ===================================================================== */
.tts-btn.speaking {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--sage-dark);
}

/* Antwerpse Scheurkalender (Daily Greeting & Tear-Off Thought) */
.daily-strip {
  background: linear-gradient(135deg, #ffffff 0%, #fcf2f4 100%);
  border: 1.5px solid var(--line);
  border-left: 6px solid var(--sage);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow);
}

.daily-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--sage);
  color: #ffffff;
  text-align: center;
  flex-shrink: 0;
}

.daily-date-badge strong {
  font-size: 1.55rem;
  line-height: 1.05;
}

.daily-date-badge span {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #dff5f0;
}

.daily-copy {
  flex: 1;
  min-width: 240px;
}

.daily-greeting {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--sage-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.daily-thought {
  margin: 0;
  font-size: 1.04rem;
  color: var(--ink);
  font-style: italic;
  font-weight: 600;
}

/* 10-Seconden Veiligheidscheck (Scam vs. Real Mini Trainer) */
.scam-box {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.scam-msg-bubble {
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-left: 5px solid var(--ink);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 16px 0 18px;
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 700;
}

.scam-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.scam-result {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  display: none;
  margin-bottom: 14px;
}

.scam-result.ok {
  display: block;
  background: var(--sage-soft);
  border: 1.5px solid var(--sage);
  color: var(--sage-dark);
}

.scam-result.warn {
  display: block;
  background: var(--warm-soft);
  border: 1.5px solid var(--warm);
  color: #7c4014;
}

/* Word-of-Mouth Share & Fridge Magnet Action Strip */
.share-strip {
  margin-top: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #fdecef 100%);
  border: 1.5px solid var(--sage);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow);
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-toast {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--sage-dark);
  margin-top: 6px;
  min-height: 1.2em;
}

/* Dedicated 1-Page Printable Fridge Cheat Sheet */
.fridge-sheet {
  display: none;
}

html[data-contrast="high"] .daily-strip,
html[data-contrast="high"] .share-strip,
html[data-contrast="high"] .quote-stage,
html[data-contrast="high"] .scam-box {
  background: #ffffff;
  border-color: #000000;
}

html[data-contrast="high"] .scam-msg-bubble {
  background: #ffffff;
  border-color: #000000;
}

.grid-2 > *,
.grid-3 > *,
.wiki-stack > *,
.board-layout > *,
.card,
.wiki-article,
.board-post,
.board-compose,
.scam-box,
.bef-card,
.quiz-box,
.hub-banner {
  min-width: 0;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 10mm;
  }
  html,
  html[data-font-size="large"],
  html[data-font-size="xlarge"] {
    font-size: 12pt !important;
  }
  .calm-ribbon,
  .share-strip,
  .music-notes-stage {
    display: none !important;
  }
  body.print-fridge-only > *:not(.fridge-sheet) {
    display: none !important;
  }
  body.print-fridge-only .fridge-sheet {
    display: block !important;
    padding: 0;
    color: #000000;
    background: #ffffff;
  }
  .fridge-box {
    border: 3px solid #8c0e1e;
    border-radius: 14px;
    padding: 16px 20px;
    break-inside: avoid;
  }
  .fridge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #8c0e1e;
    padding-bottom: 10px;
    margin-bottom: 12px;
    gap: 12px;
  }
  .fridge-box h1 {
    margin: 0 0 4px;
    font-size: 18pt;
    color: #8c0e1e;
  }
  .fridge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 12px 0;
  }
  .fridge-cell {
    border: 1.5px solid #333333;
    border-radius: 10px;
    padding: 9px 12px;
    break-inside: avoid;
  }
  .fridge-cell strong {
    display: block;
    font-size: 13pt;
    color: #000000;
  }
  .fridge-rule {
    border: 2px solid #8c0e1e;
    background: #fdf5f6;
    border-radius: 10px;
    padding: 10px 14px;
    margin: 12px 0;
    font-size: 10.5pt;
    break-inside: avoid;
  }
  .fridge-ice {
    border: 1.5px dashed #444444;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 10.5pt;
    line-height: 1.6;
    break-inside: avoid;
  }
  .fridge-ice-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-top: 10px;
  }
  .fridge-ice-label {
    font-weight: 700;
    white-space: nowrap;
  }
  .fridge-fill {
    flex: 1;
    border-bottom: 1.5px solid #444444;
    min-height: 1.1em;
  }
  .fridge-fill.short {
    flex: 0.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .soft-cloud,
  .brand-icon,
  .brand-crest,
  .ribbon-track,
  .float-note {
    animation: none !important;
  }
  .js-reveal .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 1024px) {
  .portal-grid,
  .number-grid,
  .doors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .board-layout {
    grid-template-columns: 1fr;
  }
  .board-compose {
    position: static;
  }
  .hero {
    background-image:
      linear-gradient(180deg, rgba(250, 247, 240, 0.93) 0%, rgba(250, 247, 240, 0.85) 68%, rgba(250, 247, 240, 0.55) 100%),
      url("assets/antwerp-warm-hero.jpg");
    background-position: right bottom;
    padding: 44px 0 52px;
  }
}

@media (max-width: 680px) {
  .portal-grid,
  .number-grid,
  .doors-grid,
  .memory-grid,
  .bef-inputs {
    grid-template-columns: 1fr;
  }
  .scope-box {
    flex-direction: column;
  }
  .bef-eq {
    padding-bottom: 0;
  }
  .wiki-article,
  .quote-stage,
  .bef-card,
  .quiz-box,
  .board-post,
  .board-compose,
  .daily-strip,
  .share-strip,
  .scam-box {
    padding: 20px;
  }
  .brand-crest {
    width: 38px;
    height: 38px;
  }
  .scam-btn-row .btn,
  .share-actions .btn {
    width: 100%;
  }
  .calm-ribbon {
    display: none;
  }
}

/* Tablet Layout (iPad / Android Tablets: 641px – 1024px) */
@media (max-width: 1024px) {
  .hero-grid,
  .about-box,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero {
    background-position: center bottom;
    padding: 44px 0 50px;
  }
}

/* Smartphone Layout (<= 680px) */
@media (max-width: 680px) {
  body {
    padding-bottom: 78px;
  }
  .container {
    padding: 0 16px;
  }
  .grid-3,
  .grid-2,
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .a11y-inner {
    justify-content: flex-start;
  }
  .a11y-label {
    display: none;
  }
  .header-inner {
    padding: 10px 0;
  }
  .phone-cta {
    display: none;
  }
  .brand-link {
    font-size: 1rem;
  }
  .brand-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .hero-actions .btn,
  .helper-options .helper-btn {
    width: 100%;
  }
  .card,
  .promise-card,
  .contact-card-dark,
  .grant-helper {
    padding: 20px;
  }
  .big-phone {
    font-size: 1.25rem;
    width: 100%;
    text-align: center;
  }
  .section {
    padding: 44px 0;
  }
  .mobile-sticky-bar {
    display: flex;
  }
}

/* =====================================================================
   Antwerpse Gemeenten, Kerken & Elkaar Weerzien (gemeenten.html)
   ===================================================================== */
.gemeenten-hero {
  position: relative;
  background-color: #f8f5ec;
  background-image:
    linear-gradient(95deg, rgba(250, 247, 239, 0.98) 0%, rgba(250, 247, 239, 0.94) 50%, rgba(250, 247, 239, 0.42) 76%, rgba(250, 247, 239, 0.14) 100%),
    url("assets/antwerp-gemeenten-hero.jpg");
  background-size: cover;
  background-position: right center;
  padding: 50px 0 44px;
}

.gemeenten-hero-inner {
  max-width: 720px;
}

.gemeenten-lead {
  margin: 0;
  color: var(--ink-body);
  font-size: 1.04rem;
  max-width: 60ch;
}

.reunion-banner {
  background: linear-gradient(135deg, #ffffff 0%, #fdecef 58%, #fcf4e4 100%);
  border: 1.5px solid rgba(184, 22, 42, 0.32);
  border-left: 6px solid var(--sage);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow);
}

.reunion-banner-copy {
  flex: 1;
  min-width: 260px;
}

.reunion-banner-copy h2 {
  margin: 0 0 8px;
  font-size: 1.28rem;
  color: var(--ink);
  line-height: 1.3;
}

.reunion-banner-copy p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-body);
}

.reunion-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.reunion-stat {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 112px;
  text-align: center;
  box-shadow: 0 4px 12px -8px rgba(30, 55, 77, 0.14);
}

.reunion-stat strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--sage-dark);
}

.reunion-stat span {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
}

/* A-Z Quick Jump Strip */
.az-bar-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.az-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
  margin-right: 4px;
}

.az-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.az-btn {
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 10px;
  min-width: 40px;
  min-height: 40px;
  padding: 6px 10px;
  font-size: 0.88rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease, transform 0.12s ease;
}

.az-btn:hover {
  background: var(--sage-soft);
  border-color: var(--sage);
  color: var(--sage-dark);
}

.az-btn.active {
  background: var(--sage);
  border-color: var(--sage);
  color: #ffffff;
}

.gemeenten-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.gemeenten-count {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--muted);
}

.gemeenten-regions {
  display: grid;
  gap: 44px;
}

.gemeente-region-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.gemeente-region-head h2 {
  margin: 0;
  font-size: 1.44rem;
  color: var(--ink);
}

.gemeente-region-head span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.gemeenten-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gemeenten-grid > * {
  min-width: 0;
}

/* Sunlit Paper-Glass Gemeente Card with Real Church Background */
.gemeente-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fffdfb;
  border: 1.5px solid #e6d5d8;
  border-radius: 20px;
  box-shadow: 0 12px 28px -18px rgba(140, 14, 30, 0.2);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.gemeente-card:hover {
  transform: translateY(-2px);
  border-color: var(--sage);
  box-shadow: 0 18px 34px -18px rgba(184, 22, 42, 0.28);
}

.gemeente-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #f8eff1;
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
}

/* Subtle Architectural Church Spire Silhouettes (Antwerp Red & Sandstone Tints) */
.gemeente-bg.arch-cathedral {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 420'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fcf4f5'/%3E%3Cstop offset='1' stop-color='%23f7e5e8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='600' height='420' fill='url(%23g)'/%3E%3Ccircle cx='495' cy='82' r='56' fill='%23f9deb1' opacity='0.52'/%3E%3Cpath d='M365 420V215l18-16V140l15-26 14-58 8-34 8 34 14 58 15 26v59l18 16v205z' fill='%23b8162a' opacity='0.14'/%3E%3Cpath d='M280 420V255l38-30 38 30v165z' fill='%232b1419' opacity='0.09'/%3E%3C/svg%3E");
}

.gemeente-bg.arch-gothic {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 420'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fdf6f2'/%3E%3Cstop offset='1' stop-color='%23f8e7ea'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='600' height='420' fill='url(%23g)'/%3E%3Ccircle cx='475' cy='76' r='52' fill='%23f7d8a6' opacity='0.48'/%3E%3Cpath d='M390 420V190l22-14v-40l18-92 18 92v40l22 14v230z' fill='%23b8162a' opacity='0.14'/%3E%3Cpath d='M300 420V265l45-28 45 28v155z' fill='%23a86c16' opacity='0.09'/%3E%3C/svg%3E");
}

.gemeente-bg.arch-kempen {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 420'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fbf5ec'/%3E%3Cstop offset='1' stop-color='%23f6e7e9'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='600' height='420' fill='url(%23g)'/%3E%3Ccircle cx='500' cy='80' r='54' fill='%23fae0b5' opacity='0.5'/%3E%3Cpath d='M396 420V165h12v-36l24-75 24 75v36h12v255z' fill='%23a86c16' opacity='0.13'/%3E%3Cpath d='M280 420V270l58-34 58 34v150z' fill='%23b8162a' opacity='0.1'/%3E%3C/svg%3E");
}

.gemeente-bg.arch-polder {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 420'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23faf2f3'/%3E%3Cstop offset='1' stop-color='%23f9f2e9'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='600' height='420' fill='url(%23g)'/%3E%3Ccircle cx='490' cy='78' r='50' fill='%23f9dfb3' opacity='0.52'/%3E%3Cpath d='M402 420V195l26-100 26 100v225z' fill='%238c0e1e' opacity='0.12'/%3E%3Cpath d='M270 420V280l66-32 66 32v140z' fill='%23b8162a' opacity='0.09'/%3E%3C/svg%3E");
}

.gemeente-bg.arch-baroque {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 420'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fbf3eb'/%3E%3Cstop offset='1' stop-color='%23f7e6e9'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='600' height='420' fill='url(%23g)'/%3E%3Ccircle cx='488' cy='78' r='54' fill='%23f8d9a8' opacity='0.5'/%3E%3Cpath d='M390 420V195c0-32 16-42 26-56 6-18 12-46 16-64 4 18 10 46 16 64 10 14 26 24 26 56v225z' fill='%23a86c16' opacity='0.13'/%3E%3Cpath d='M290 420V270l52-30 52 30v150z' fill='%238c0e1e' opacity='0.09'/%3E%3C/svg%3E");
}

.gemeente-bg.arch-village {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 420'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fcf5f0'/%3E%3Cstop offset='1' stop-color='%23f8e8eb'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='600' height='420' fill='url(%23g)'/%3E%3Ccircle cx='492' cy='80' r='52' fill='%23fae1b6' opacity='0.48'/%3E%3Cpath d='M404 420V200l24-88 24 88v220z' fill='%23b8162a' opacity='0.13'/%3E%3Cpath d='M295 420V278l55-32 55 32v142z' fill='%23a86c16' opacity='0.09'/%3E%3C/svg%3E");
}

.gemeente-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
  filter: saturate(0.92) brightness(1.03);
}

.gemeente-bg-img.is-loaded {
  opacity: 0.52;
}

.gemeente-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 248, 0.24) 0%,
    rgba(255, 252, 246, 0.72) 26%,
    rgba(255, 253, 248, 0.94) 44%,
    rgba(255, 253, 249, 0.97) 100%
  );
}

.gemeente-body {
  position: relative;
  z-index: 2;
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

/* Airy Top Daylight Window Where Church Architecture Shines Through */
.gemeente-church-window {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.gemeente-top-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.gemeente-postcode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border: 1px solid rgba(140, 14, 30, 0.18);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(140, 14, 30, 0.08);
}

.gemeente-church-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--sage-dark);
  border: 1.5px solid rgba(184, 22, 42, 0.35);
  border-radius: 12px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: 0 3px 10px rgba(140, 14, 30, 0.1);
}

.gemeente-title-block h3 {
  margin: 0 0 4px;
  font-size: 1.38rem;
  line-height: 1.2;
  color: var(--ink);
}

.gemeente-tagline {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.48;
}

.gemeente-facts-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--warm);
  margin: 2px 0 -4px;
}

.gemeente-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.gemeente-facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.58;
  color: var(--ink-body);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(226, 219, 208, 0.85);
  border-radius: 12px;
  padding: 10px 12px;
}

.gemeente-fact-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-dark);
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.gemeente-reunion-btn {
  margin-top: 6px;
  width: 100%;
  text-align: center;
  min-height: 48px;
  padding: 11px 16px;
  font-size: 0.93rem;
  border-radius: 12px;
}

/* Town Reunion Welcome Banner on Prikbord (?gemeente=...) */
.board-gemeente-banner {
  background: linear-gradient(135deg, #fffdf8 0%, #eaf5f3 100%);
  border: 2px solid var(--sage);
  border-left: 6px solid var(--warm);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  display: none;
}

.board-gemeente-banner.is-active {
  display: block;
}

.board-gemeente-banner h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--ink);
}

.board-gemeente-banner p {
  margin: 0 0 12px;
  font-size: 0.94rem;
  color: var(--ink-body);
}

.board-gemeente-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* High-Contrast Accessibility: Hide Decorative Church Backgrounds & Scrims Cleanly */
html[data-contrast="high"] .gemeenten-hero,
html[data-contrast="high"] .reunion-banner,
html[data-contrast="high"] .board-gemeente-banner {
  background: #ffffff;
  border-color: #000000;
}

html[data-contrast="high"] .gemeente-card {
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: none;
}

html[data-contrast="high"] .gemeente-bg,
html[data-contrast="high"] .gemeente-scrim {
  display: none !important;
}

html[data-contrast="high"] .gemeente-church-window {
  min-height: auto;
}

html[data-contrast="high"] .gemeente-facts li,
html[data-contrast="high"] .gemeente-postcode,
html[data-contrast="high"] .gemeente-church-pill,
html[data-contrast="high"] .reunion-stat {
  background: #ffffff;
  border-color: #000000;
  color: #000000;
}

html[data-font-size="xlarge"] .gemeenten-grid {
  grid-template-columns: 1fr;
}

@media print {
  .gemeente-bg,
  .gemeente-scrim,
  .az-bar-wrap,
  .gemeenten-toolbar,
  .gemeente-reunion-btn {
    display: none !important;
  }
  .gemeente-card {
    break-inside: avoid;
    border: 1.5px solid #333333;
    box-shadow: none;
  }
  .gemeente-church-window {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .gemeenten-grid {
    grid-template-columns: 1fr;
  }
  .gemeenten-hero {
    background-image:
      linear-gradient(180deg, rgba(250, 247, 239, 0.94) 0%, rgba(250, 247, 239, 0.88) 70%, rgba(250, 247, 239, 0.58) 100%),
      url("assets/antwerp-gemeenten-hero.jpg");
    background-position: right bottom;
  }
}

@media (max-width: 680px) {
  .reunion-banner,
  .gemeente-body {
    padding: 18px;
  }
  .reunion-stat {
    flex: 1;
    min-width: 90px;
    padding: 10px 12px;
  }
  .gemeente-church-window {
    min-height: 92px;
  }
}

/* =====================================================================
   Calm Senior-Friendly Booking Calendar (#afspraak)
   ===================================================================== */
.booking-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: start;
}

.booking-grid > * {
  min-width: 0;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.cal-month-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  text-transform: capitalize;
  text-align: center;
}

.cal-nav-btn {
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 10px;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
}

.cal-nav-btn:hover:not(:disabled) {
  background: var(--sage-soft);
  border-color: var(--sage);
  color: var(--sage-dark);
}

.cal-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cal-weekdays,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.cal-weekdays {
  margin-bottom: 8px;
}

.cal-weekdays span {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--muted);
  padding: 4px 0;
}

.cal-day {
  border: 1.5px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  border-radius: 10px;
  min-height: 44px;
  padding: 4px 2px;
  font-size: 0.94rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.cal-day:hover:not(:disabled) {
  background: var(--sage-soft);
  border-color: var(--sage);
  color: var(--sage-dark);
}

.cal-day.is-selected {
  background: var(--sage);
  border-color: var(--sage-dark);
  color: #ffffff;
}

.cal-day.is-today:not(.is-selected) {
  border-color: var(--warm);
  box-shadow: inset 0 0 0 1px var(--warm);
}

.cal-day:disabled {
  background: var(--bg-soft);
  color: #8c9cac;
  border-color: transparent;
  cursor: not-allowed;
}

.cal-day-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm);
  margin-top: 2px;
}

.cal-day.is-selected .cal-day-dot {
  background: #ffd6a5;
}

.cal-empty {
  min-height: 44px;
}

.slot-picker {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1.5px solid var(--line);
}

.slot-picker-title {
  margin: 0 0 12px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.slot-btn {
  border: 2px solid var(--sage);
  background: var(--sage-soft);
  color: var(--sage-dark);
  border-radius: 12px;
  padding: 12px 10px;
  min-height: 54px;
  font-size: 0.92rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.slot-btn small {
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.9;
}

.slot-btn:hover:not(:disabled),
.slot-btn.active {
  background: var(--sage);
  color: #ffffff;
}

.slot-btn:disabled {
  background: var(--bg-soft);
  border-color: var(--line);
  color: #7d8e9f;
  cursor: not-allowed;
  text-decoration: line-through;
}

.booking-picked-summary {
  background: var(--sage-soft);
  border: 1.5px solid var(--sage);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--sage-dark);
}

@media (max-width: 960px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .slot-grid {
    grid-template-columns: 1fr;
  }
  .cal-day {
    min-height: 40px;
    font-size: 0.86rem;
  }
}

@media print {
  #afspraak,
  .phone-modal-backdrop {
    display: none !important;
  }
}

/* =====================================================================
   LinkedIn Badge & Protected Private Phone Reveal Modal
   ===================================================================== */
button.phone-cta {
  font-family: inherit;
  border: 2px solid transparent;
  cursor: pointer;
}

button.big-phone {
  font-family: inherit;
  border: none;
  cursor: pointer;
  width: auto;
  text-align: left;
}

.phone-shield-note {
  margin: 8px 0 0;
  font-size: 0.88rem;
  opacity: 0.92;
  line-height: 1.45;
}

.linkedin-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef4fa;
  border: 1.5px solid #c5daf0;
  color: #0a66c2;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.linkedin-pill:hover {
  background: #ddebfb;
  text-decoration: none;
  transform: translateY(-1px);
}

.linkedin-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #0a66c2;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.82rem;
  line-height: 1;
}

.phone-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 38, 56, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.phone-modal-backdrop.open {
  display: flex;
}

.phone-modal {
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(15, 30, 46, 0.35);
  position: relative;
}

.phone-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.phone-modal-head h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.3;
}

.phone-modal-close {
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  border-radius: 10px;
  min-width: 42px;
  min-height: 42px;
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

.phone-modal-close:hover {
  background: var(--line);
}

.phone-challenge-box {
  background: var(--sage-soft);
  border: 1.5px solid var(--sage);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.phone-challenge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.phone-challenge-q {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--sage-dark);
}

.phone-refresh-btn {
  border: 1.5px solid var(--sage);
  background: #ffffff;
  color: var(--sage-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.phone-refresh-btn:hover {
  background: var(--sage);
  color: #ffffff;
}

.phone-revealed-box {
  background: #e9f6ef;
  border: 2px solid #1f7a53;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-top: 8px;
}

.phone-revealed-number {
  display: inline-block;
  margin: 10px 0 14px;
  padding: 12px 22px;
  border-radius: 14px;
  background: var(--sage);
  color: #ffffff !important;
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none !important;
  letter-spacing: 0.02em;
}

.phone-revealed-number:hover {
  background: var(--sage-dark);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html[data-contrast="high"] .a11y-bar,
html[data-contrast="high"] .contact-card-dark {
  background: #000000;
}

html[data-contrast="high"] .linkedin-pill {
  background: #ffffff;
  border: 2px solid #000000;
  color: #000000;
}

html[data-contrast="high"] .phone-modal {
  border: 3px solid #000000;
}
