/* =========================================================
   A+ Pilot — Design System
   Vanilla CSS, mobile-first, no build step.
   ========================================================= */

:root {
  /* Brand & surface */
  --color-bg: #FDFCF9;
  --color-cream: #FDFCF9;
  --color-surface: #FFFFFF;
  --color-surface-soft: #F4F1EA;
  --color-surface-tint: #EEF4FF;
  --color-surface-blue: #DFE9FA;

  /* Primary (dark green) */
  --color-primary: #1B3022;
  --color-primary-hover: #25422F;
  --color-primary-soft: #E8F0E9;
  --color-on-primary: #FDFCF9;

  /* Gold accent */
  --color-gold: #D97706;
  --color-gold-hover: #B65F03;
  --color-gold-soft: #FCEBCB;
  --color-on-gold: #FFFFFF;

  /* Text */
  --color-text: #1B3022;
  --color-text-muted: #4F5B53;
  --color-text-soft: #6B756D;
  --color-border: #E5E2DD;
  --color-border-strong: #D9D5CD;

  /* Status */
  --color-success: #15803D;
  --color-error: #B91C1C;

  /* Type */
  --font-serif: "Newsreader", "Source Serif Pro", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --container: 1200px;
  --container-narrow: 880px;
  --gutter: 24px;
  --section-pad: clamp(64px, 9vw, 120px);

  /* Radius */
  --r-sm: 6px;
  --r: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(27, 48, 34, 0.06);
  --shadow: 0 6px 24px -8px rgba(27, 48, 34, 0.10), 0 2px 6px -2px rgba(27, 48, 34, 0.05);
  --shadow-lg: 0 18px 50px -20px rgba(27, 48, 34, 0.18), 0 8px 24px -10px rgba(27, 48, 34, 0.10);

  /* Transition */
  --t-fast: 150ms ease;
  --t: 250ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--color-gold); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(217, 119, 6, 0.55);
  outline-offset: 3px;
}
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1em; }
small { font-size: 0.875em; color: var(--color-text-muted); }
hr { border: 0; border-top: 1px solid var(--color-border); margin: 2rem 0; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  padding: 0.75rem 1rem; background: var(--color-primary); color: var(--color-on-primary);
  z-index: 100; border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }

section { padding: var(--section-pad) 0; }
section.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-header { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-header.left { margin-left: 0; text-align: left; }
.section-header p { color: var(--color-text-muted); font-size: 1.125rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-pill);
  margin: 0 0 1rem;
}
.eyebrow.gold { color: var(--color-gold); background: var(--color-gold-soft); }
.eyebrow.plain { background: transparent; padding: 0; color: var(--color-text-muted); letter-spacing: 0.12em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 252, 249, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: clamp(1rem, 2vw, 2rem);
}
.brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 0.95;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  flex: 0 0 auto;
  white-space: nowrap;
}
.brand:hover { color: var(--color-primary); }
.brand-title {
  display: inline-block;
  line-height: 0.95;
}
.brand-title sup {
  position: relative;
  top: -0.01em;
  font-size: 1.1em;
  line-height: 0;
  margin-left: 0.02em;
}
.brand small {
  display: grid;
  gap: 0;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  line-height: 0.98;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
  white-space: nowrap;
}
.primary-nav { display: none; flex: 0 1 auto; min-width: 0; }
.primary-nav > ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(0.95rem, 1.6vw, 1.75rem);
}
.primary-nav li { position: relative; }
.primary-nav a {
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--t-fast);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] {
  color: var(--color-primary);
}
.primary-nav .has-dropdown > a::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--t-fast);
}
.primary-nav .has-dropdown:hover > a::after,
.primary-nav .has-dropdown:focus-within > a::after {
  transform: translateY(1px) rotate(225deg);
}
.primary-nav .has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.75rem;
}
.primary-nav .nav-dropdown {
  list-style: none;
  position: absolute;
  left: 50%;
  top: calc(100% + 0.65rem);
  z-index: 70;
  min-width: max-content;
  max-width: calc(100vw - 2rem);
  margin: 0;
  padding: 0.45rem;
  display: grid;
  gap: 0.15rem;
  background: rgba(253, 252, 249, 0.98);
  border: 1px solid var(--color-border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  visibility: hidden;
}
.primary-nav li:last-child .nav-dropdown {
  left: auto;
  right: 0;
  transform: translateY(8px);
}
.primary-nav .has-dropdown:hover .nav-dropdown,
.primary-nav .has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}
.primary-nav li:last-child:hover .nav-dropdown,
.primary-nav li:last-child:focus-within .nav-dropdown {
  transform: translateY(0);
}
.primary-nav .nav-dropdown a {
  display: block;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--r-sm);
  color: var(--color-primary);
  font-size: 0.875rem;
  line-height: 1.35;
  white-space: nowrap;
}
.primary-nav .nav-dropdown a:hover,
.primary-nav .nav-dropdown a:focus-visible,
.primary-nav .nav-dropdown a[aria-current="page"] {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.nav-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: clamp(0.65rem, 1.2vw, 1.25rem);
  white-space: nowrap;
}
.nav-actions .header-cta { margin-left: 0.5rem; }
.header-contact-icons {
  display: none;
  align-items: center;
  gap: 0.35rem;
}
.contact-icon-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  color: var(--color-primary);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.contact-icon-link:hover,
.contact-icon-link:focus-visible {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.contact-icon-link:active { transform: translateY(1px); }
.contact-icon-link .material-symbols-outlined { font-size: 1.35rem; }
.contact-icon-link svg {
  width: 1.2rem;
  height: 1.2rem;
}
.menu-toggle {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r);
  color: var(--color-primary);
}
.menu-toggle:hover { background: var(--color-primary-soft); }

@media (min-width: 460px) {
  .header-contact-icons { display: flex; }
}

@media (min-width: 1080px) {
  .primary-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0;
  background: var(--color-bg);
  z-index: 60;
  padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom));
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  width: 100%;
  max-width: 100vw;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0 1rem;
  margin-bottom: 0.5rem;
  background: var(--color-bg);
}
.mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
.mobile-drawer .group-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--color-text-muted);
  padding: 1.25rem 0.75rem 0.5rem;
}
.mobile-nav {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.mobile-nav-list {
  display: grid;
  gap: 0.45rem;
}
.mobile-nav-item,
.mobile-nav-group {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r);
  overflow: hidden;
}
.mobile-nav-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: stretch;
}
.mobile-drawer a.mobile-nav-link,
.mobile-nav-toggle {
  min-height: 48px;
  display: flex;
  align-items: center;
  color: var(--color-primary);
  line-height: 1.25;
}
.mobile-drawer a.mobile-nav-link {
  min-width: 0;
  padding: 0.85rem 0.95rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.mobile-nav-parent {
  border-radius: 0;
}
.mobile-nav-toggle {
  justify-content: center;
  border-left: 1px solid var(--color-border);
  border-radius: 0;
}
.mobile-nav-toggle .material-symbols-outlined {
  transition: transform var(--t-fast);
}
.mobile-nav-toggle[aria-expanded="true"] .material-symbols-outlined {
  transform: rotate(180deg);
}
.mobile-nav-submenu {
  display: grid;
  gap: 0.2rem;
  padding: 0 0.5rem 0.6rem;
  background: var(--color-surface);
}
.mobile-nav-submenu[hidden] { display: none; }
.mobile-drawer a.mobile-nav-subitem {
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.mobile-drawer a.mobile-nav-link:hover,
.mobile-drawer a.mobile-nav-link:focus-visible,
.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.mobile-nav-group.is-active {
  border-color: rgba(27, 48, 34, 0.28);
}
.mobile-drawer a.mobile-nav-link.is-active {
  background: var(--color-primary-soft);
}
.mobile-drawer a.mobile-nav-link[aria-current="page"] {
  background: var(--color-primary);
  color: var(--color-on-primary);
}
.mobile-drawer-actions {
  width: 100%;
  max-width: 520px;
  margin: auto auto 0;
  padding-top: 1rem;
  display: grid;
  gap: 0.75rem;
}
.mobile-drawer .drawer-cta,
.mobile-drawer .drawer-phone {
  width: 100%;
  min-height: 48px;
}

@media (max-width: 420px) {
  :root { --gutter: 18px; }
  .nav-container { padding-block: 10px; gap: 0.75rem; }
  .brand { font-size: 1.55rem; }
  .brand small { font-size: 0.62rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}
.btn .icon { font-size: 1.125rem; }
.btn-primary {
  background: var(--color-gold);
  color: var(--color-on-gold);
  border-color: var(--color-gold);
  box-shadow: 0 6px 16px -6px rgba(217, 119, 6, 0.45);
}
.btn-primary:hover { background: var(--color-gold-hover); border-color: var(--color-gold-hover); color: var(--color-on-gold); }
.btn-secondary {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover { background: var(--color-primary-hover); color: var(--color-on-primary); }
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-ghost:hover { background: var(--color-primary); color: var(--color-on-primary); }
.btn-light {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-light:hover { border-color: var(--color-primary); }
.btn-sm { padding: 0.625rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.header-cta { display: none; }
@media (min-width: 700px) { .header-cta { display: inline-flex; } }

/* Phone link in header */
.phone-link {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-primary);
  border-radius: var(--r);
  transition: background var(--t-fast);
  white-space: nowrap;
}
.phone-link span:not(.material-symbols-outlined) { display: none; }
.phone-link:hover { background: var(--color-primary-soft); color: var(--color-primary); }
@media (min-width: 460px) { .phone-link { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
}
.hero h1 { margin-bottom: 1.25rem; }
.hero .lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}
.hero-trust .label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--color-text-soft);
}
.hero-trust .badges {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
  font-weight: 700; color: var(--color-primary);
}
.hero-visual { position: relative; }
.hero-image {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-surface-soft);
}
.hero-image img {
  width: 100%;
  height: clamp(320px, 45vw, 540px);
  object-fit: cover;
  display: block;
}
.hero-card {
  position: absolute;
  bottom: -24px;
  left: -16px;
  background: var(--color-surface);
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--color-border);
  max-width: 280px;
}
.hero-card-icon {
  width: 44px; height: 44px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-card-kicker { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); margin: 0 0 0.25rem; }
.hero-card-value { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--color-primary); margin: 0; }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
}
.trust-heading {
  text-align: center;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--color-text-soft);
  margin: 0 0 1.25rem;
}
.trust-logos {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.75rem 3rem;
  align-items: center;
}
.trust-logos li {
  font-weight: 700;
  color: var(--color-text-soft);
  letter-spacing: 0.04em;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 720px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  padding: 2rem;
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card.feature { padding: 1.75rem; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}
.card.gold .card-icon { background: var(--color-gold-soft); color: var(--color-gold); }
.card h3 {
  margin-bottom: 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
}
.card p {
  color: var(--color-text-muted);
  margin-bottom: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
}
.card .card-link {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-gold);
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.card .card-link .material-symbols-outlined { font-size: 18px; }

/* ---------- Service / Audience cards (image variant) ---------- */
.split-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 900px) { .split-card-grid { grid-template-columns: 1fr 1fr; } }
.split-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.split-card-media {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--color-primary-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" fill="none" stroke="%23B4CDB8" stroke-width="0.5"><path d="M0 30h60M30 0v60"/></svg>') center / 60px;
  overflow: hidden;
}
.split-card-media img { width: 100%; height: 100%; object-fit: cover; }
.split-card-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-pill);
}
.split-card-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.split-card-body h3 { margin-bottom: 0.25rem; }
.split-card-body p { color: var(--color-text-muted); }
.split-card-body .card-link { margin-top: auto; padding-top: 1rem; }

/* ---------- Lists / checklists ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}
.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.75rem;
  align-items: start;
}
.check-list li::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 12 10 16 18 8"/></svg>');
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
}
.check-list.gold li::before { background-color: var(--color-gold); }

/* ---------- Process steps ---------- */
.step-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}
@media (min-width: 800px) { .step-list { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  padding: 2rem;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gold);
  display: block;
  margin-bottom: 0.75rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--color-text-muted); margin-bottom: 0; }

/* ---------- Subsidy / calculator section ---------- */
.subsidy {
  background: var(--color-primary);
  color: var(--color-on-primary);
  position: relative;
  overflow: hidden;
}
.subsidy::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.subsidy h2 { color: #fff; }
.subsidy p { color: rgba(253, 252, 249, 0.85); }
.subsidy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}
@media (min-width: 900px) { .subsidy-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.subsidy .check-list li::before { background-color: var(--color-gold); }
.subsidy .check-list li { color: rgba(253, 252, 249, 0.95); }

.calculator {
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.calculator h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.calculator-kicker { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-gold); margin: 0 0 0.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}
.field input, .field select, .field textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--r);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 48, 34, 0.12);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .field-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  min-height: 1.5em;
  font-weight: 600;
}
.calculator-result {
  background: var(--color-primary-soft);
  border-radius: var(--r);
  padding: 1.25rem;
  margin-top: 1rem;
}
.result-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.result-row strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 600;
}
.result-bar {
  height: 6px; border-radius: 999px; background: rgba(27, 48, 34, 0.12);
  margin: 0.75rem 0 0.5rem; overflow: hidden;
}
.result-bar-fill { height: 100%; background: var(--color-gold); border-radius: 999px; transition: width var(--t); }
.result-hint { font-size: 0.8125rem; color: var(--color-text-muted); margin: 0; }

/* ---------- Bio ---------- */
.bio-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) { .bio-card { grid-template-columns: minmax(220px, 280px) 1fr; gap: 3rem; } }
.bio-photo { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; background: var(--color-surface-soft); }
.bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.bio-text blockquote {
  margin: 1rem 0;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--color-text);
  border-left: 3px solid var(--color-gold);
  padding: 0 0 0 1rem;
  font-style: italic;
}
.bio-title { font-weight: 600; color: var(--color-text-muted); margin: 0; }
.bio-signature { font-family: var(--font-serif); color: var(--color-primary); margin: 1rem 0 0; }
.bio-credentials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.bio-credentials span {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.8125rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.75rem; max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-serif);
}
.faq-question:hover { background: var(--color-surface-soft); }
.faq-toggle {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t);
}
.faq-question[aria-expanded="true"] .faq-toggle { transform: rotate(45deg); background: var(--color-gold); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t);
}
.faq-question[aria-expanded="true"] + .faq-answer { max-height: 1200px; }
.faq-answer-inner { padding: 0 1.5rem 1.5rem; color: var(--color-text-muted); }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner ul { padding-left: 1.25rem; }
.faq-answer-inner ul li { margin-bottom: 0.4rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 800px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--color-gold);
  box-shadow: 0 14px 40px -18px rgba(217, 119, 6, 0.35);
  transform: scale(1.02);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--color-gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pricing-name { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--color-primary); }
.pricing-price { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--color-primary); }
.pricing-price-label { font-size: 0.8125rem; color: var(--color-text-muted); margin: 0; }
.pricing-features { list-style: none; padding: 0; margin: 0.5rem 0 1.25rem; display: grid; gap: 0.6rem; }
.pricing-features li { display: grid; grid-template-columns: 18px 1fr; gap: 0.6rem; align-items: start; font-size: 0.9375rem; }
.pricing-features li::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-primary) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 12 10 16 18 8"/></svg>') center / 60% no-repeat;
  margin-top: 5px;
}
.pricing-card .btn { margin-top: auto; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 800px) { .cta-strip { grid-template-columns: 1.4fr auto; } }
.cta-strip h2 { color: #fff; margin: 0 0 0.5rem; }
.cta-strip p { color: rgba(253, 252, 249, 0.85); margin: 0; max-width: 540px; }
.cta-strip .btn-primary { background: var(--color-gold); border-color: var(--color-gold); }

/* ---------- Region & service hero ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--color-primary-soft) 0%, var(--color-bg) 100%);
  padding: clamp(48px, 7vw, 80px) 0 clamp(48px, 6vw, 72px);
}
.page-hero .lead { font-size: 1.125rem; color: var(--color-text-muted); max-width: 680px; }
.page-hero-meta {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 1.5rem;
}
.page-hero-meta span {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--color-surface);
  color: var(--color-primary);
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
}

/* ---------- Ratgeber landing ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.guide-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(232, 240, 233, 0.96) 0%, rgba(238, 244, 255, 0.96) 58%, rgba(252, 235, 203, 0.72) 100%),
    repeating-linear-gradient(90deg, rgba(27, 48, 34, 0.045) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(27, 48, 34, 0.035) 0 1px, transparent 1px 44px);
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 112px);
}
.guide-hero-inner {
  max-width: 860px;
  text-align: center;
}
.guide-hero .breadcrumb {
  justify-content: center;
  padding-top: 0;
  margin-bottom: 2rem;
}
.guide-hero .breadcrumb ol { justify-content: center; }
.guide-hero .eyebrow {
  max-width: 100%;
  justify-content: center;
  text-align: center;
}
.guide-hero h1 {
  font-size: clamp(2.4rem, 5.8vw, 4.25rem);
  margin-bottom: 1rem;
}
.guide-hero .lead {
  max-width: 680px;
  margin: 0 auto 2rem;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
}
.guide-search {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.guide-search .material-symbols-outlined {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-soft);
  pointer-events: none;
}
.guide-search input {
  width: 100%;
  min-height: 58px;
  padding: 0.95rem 1rem 0.95rem 3rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
}
.guide-search input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(27, 48, 34, 0.12);
}

.guide-segments {
  background: var(--color-bg);
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 860px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.guide-segment-card {
  min-height: 100%;
  background: var(--color-surface);
  border: 1px solid rgba(217, 213, 205, 0.88);
  border-radius: var(--r-md);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: 0 4px 24px rgba(27, 48, 34, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.guide-segment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(27, 48, 34, 0.08);
  border-color: rgba(27, 48, 34, 0.18);
}
.guide-segment-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.35rem;
}
.guide-segment-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.guide-segment-icon.gold { background: var(--color-gold-soft); color: var(--color-gold); }
.guide-segment-icon.blue { background: var(--color-surface-tint); color: #244C79; }
.guide-segment-icon.dark { background: #E8E6E1; color: #42423D; }
.guide-segment-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}
.guide-segment-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: 0;
}
.guide-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
  flex: 1;
}
.guide-link-list a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: var(--color-text-muted);
  font-weight: 500;
}
.guide-link-list a:hover { color: var(--color-primary); }
.guide-link-list .material-symbols-outlined {
  font-size: 20px;
  color: var(--color-gold);
  margin-top: 0.12rem;
}
.guide-card-link {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-gold);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.guide-card-link .material-symbols-outlined { font-size: 18px; }
.guide-no-results {
  margin: 1.5rem auto 0;
  text-align: center;
  color: var(--color-text-muted);
  font-weight: 600;
}

.guide-faq-section {
  background: var(--color-surface-soft);
}
.guide-support-section {
  background: var(--color-surface-tint);
  border-top: 1px solid var(--color-border);
}
.guide-support {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: 0;
}
@media (min-width: 860px) {
  .guide-support { grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); }
}
.guide-support-photo {
  margin: 0;
  width: 100%;
  max-width: 260px;
  justify-self: center;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--color-primary-soft);
}
@media (min-width: 860px) {
  .guide-support-photo { justify-self: start; }
}
.guide-support-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guide-support h2 { margin-bottom: 0.75rem; }
.guide-support p {
  max-width: 680px;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}
.guide-support .hero-ctas { margin: 1.5rem 0 0; }
.guide-support .btn { white-space: normal; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding: 1.25rem 0 0;
}
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.4rem;
  color: var(--color-text-soft);
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb [aria-current="page"] { color: var(--color-primary); font-weight: 500; }

/* ---------- Article (Ratgeber) ---------- */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article p, .article ul, .article ol { font-size: 1.0625rem; line-height: 1.7; }
.article h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: 1.75rem; }
.article h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; font-size: 1.3rem; }
.article ul, .article ol { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.article ul li, .article ol li { margin-bottom: 0.4rem; }
.article blockquote {
  border-left: 3px solid var(--color-gold);
  padding: 0.5rem 0 0.5rem 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-text);
  margin: 1.5rem 0;
}
.article .article-meta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
.article .callout {
  background: var(--color-primary-soft);
  border-left: 3px solid var(--color-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--r) var(--r) 0;
  margin: 1.75rem 0;
}
.article .callout.gold { background: var(--color-gold-soft); border-left-color: var(--color-gold); }
.article .callout p:last-child { margin-bottom: 0; }
.article-figure { margin: 2rem 0; }
.article-figure img { border-radius: var(--r); width: 100%; }
.article-figure figcaption { font-size: 0.875rem; color: var(--color-text-muted); margin-top: 0.5rem; text-align: center; }

/* TOC */
.toc {
  background: var(--color-surface-soft);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem;
}
.toc-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted); margin: 0 0 0.5rem; }
.toc ol { padding-left: 1.25rem; margin: 0; }
.toc a { color: var(--color-primary); }

/* ---------- Region grid ---------- */
.region-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) { .region-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .region-grid { grid-template-columns: repeat(3, 1fr); } }
.region-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.region-card:hover { transform: translateY(-2px); border-color: var(--color-primary); }
.region-card-name { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600; color: var(--color-primary); }
.region-card-arrow { color: var(--color-gold); }

/* ---------- Internal link nav ---------- */
.internal-links { background: var(--color-surface-soft); padding: 3rem 0; }
.internal-links-title { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1.25rem; }
.link-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
@media (min-width: 720px) { .link-list { columns: 3; } }
@media (min-width: 1100px) { .link-list { columns: 4; } }
.link-list li { margin-bottom: 0.6rem; break-inside: avoid; }
.link-list a {
  color: var(--color-primary);
  font-size: 0.9375rem;
  font-weight: 500;
}
.link-list a:hover { color: var(--color-gold); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r);
  padding: 1.25rem;
  text-align: center;
}
.stat-value { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600; color: var(--color-gold); margin: 0; }
.stat-label { font-size: 0.8125rem; color: var(--color-text-muted); margin: 0.25rem 0 0; }

/* ---------- Comparison table ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.compare-table th, .compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
  vertical-align: top;
}
.compare-table th { background: var(--color-surface-soft); font-weight: 600; color: var(--color-primary); }
.compare-table tr:last-child td { border-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0F1F15;
  color: #C8D4CB;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: #fff; margin: 0 0 0.5rem; }
.footer-tagline { font-size: 0.9375rem; color: #95A39A; margin: 0 0 1rem; max-width: 320px; }
.footer-meta { font-size: 0.875rem; color: #95A39A; }
.footer-meta strong { display: block; color: #fff; font-weight: 600; margin-top: 0.5rem; }
.footer-meta a { color: #C8D4CB; }
.footer-meta a:hover { color: #fff; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: #95A39A; font-size: 0.9375rem; }
.footer-col a:hover { color: #fff; }
.footer-link-button {
  color: #95A39A;
  font-size: 0.9375rem;
  padding: 0;
  text-align: left;
}
.footer-link-button:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #95A39A;
}
.footer-bottom a { color: #95A39A; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Sticky WhatsApp ---------- */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 40;
  transition: transform var(--t-fast);
}
.whatsapp-fab:hover { transform: scale(1.08); color: #fff; }

/* ---------- Legal page ---------- */
.legal-page { padding: clamp(48px, 6vw, 80px) 0; }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal-content h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal-content p, .legal-content li { font-size: 0.9375rem; line-height: 1.7; color: var(--color-text); }
.legal-content ul { padding-left: 1.25rem; }
.legal-meta { font-size: 0.875rem; color: var(--color-text-muted); }
.legal-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 2rem; font-weight: 500;
}

/* Material Symbols size helper */
.material-symbols-outlined { font-size: 20px; vertical-align: middle; }
.material-symbols-outlined.large { font-size: 28px; }

/* Utility */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1rem; }
.mb-0 { margin-bottom: 0; }
.flex-wrap-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.no-underline { text-decoration: none; }

/* Highlight gold inline */
.gold { color: var(--color-gold); font-weight: 600; }
.bold { font-weight: 600; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ Consent Banner & Modal (consent-ga4.js) ============ */
.apl-consent-noscroll { overflow: hidden; }

.apl-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9998;
  background: #fff;
  border-top: 3px solid var(--color-gold, #D97706);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #1b3022;
}
.apl-consent-banner.is-visible { transform: translateY(0); }

.apl-consent-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.apl-consent-title {
  font-family: 'Newsreader', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: #1b3022;
}
.apl-consent-text { margin: 0; line-height: 1.55; }
.apl-consent-links { margin: 0; font-size: 0.85rem; color: #4a5a4f; }
.apl-consent-link {
  color: #1b3022;
  text-decoration: underline;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.apl-link-btn { color: #1b3022; }

.apl-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.apl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  font: 600 0.95rem 'Inter', sans-serif;
  line-height: 1.2;
  min-width: 140px;
  transition: background 0.15s, border-color 0.15s;
}
.apl-btn-primary {
  background: var(--color-gold, #D97706);
  color: #fff;
  border-color: var(--color-gold, #D97706);
}
.apl-btn-primary:hover { background: #B45309; border-color: #B45309; }
.apl-btn-secondary {
  background: #fff;
  color: #1b3022;
  border-color: #1b3022;
}
.apl-btn-secondary:hover { background: #f1f5f2; }

/* Banner: Akzeptieren und Ablehnen visuell gleichwertig (DSGVO-Fairness, EDPB Guidelines 03/2022) */
.apl-consent-banner .apl-btn-secondary {
  background: #1b3022;
  color: #fff;
  border-color: #1b3022;
}
.apl-consent-banner .apl-btn-secondary:hover {
  background: #2a4632;
  border-color: #2a4632;
}

/* Modal (Settings) */
.apl-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 25, 20, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.apl-consent-modal.is-visible { display: flex; }
.apl-consent-modal-card {
  background: #fff;
  border-radius: 10px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem 1.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.apl-consent-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  width: 36px; height: 36px;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #1b3022;
}
.apl-consent-cat {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin: 0.75rem 0;
}
.apl-consent-cat label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  cursor: pointer;
}
.apl-consent-cat label input[disabled] { cursor: not-allowed; }
.apl-consent-cat-title { font-weight: 600; }
.apl-consent-cat-desc {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: #4a5a4f;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .apl-consent-actions { flex-direction: column-reverse; }
  .apl-btn { width: 100%; min-width: 0; }
}
