/* =========================================================
   Kita Gustav-Schwab – Städtische Kindertagesstätte Konstanz
   Design-System & globale Styles
   ========================================================= */

:root {
  /* Marken-Palette (siehe phase2_markenanalyse.md) */
  --color-primary: #2165b5;
  --color-primary-dark: #17497f;
  --color-sky: #73beef;
  --color-sky-light: #eaf6ff;
  --color-red: #e40621;
  --color-sun: #e8b94f;
  --color-bg: #faf9f5;
  --color-surface: #ffffff;
  --color-card: #eaf3f0;
  --color-text: #20252a;
  --color-text-soft: #454f56;
  --color-border: #dde1e0;
  --color-sage: #6f8f78;
  --color-sage-light: #eaf1ec;

  --font-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(20, 40, 70, 0.08);
  --shadow-md: 0 12px 30px rgba(20, 40, 70, 0.12);
  --shadow-lg: 0 24px 60px rgba(20, 40, 70, 0.18);

  --container-w: 1180px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-sun);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-primary);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--color-text-soft); }

.lede {
  font-size: 1.2rem;
  color: var(--color-text);
}

ul, ol { color: var(--color-text-soft); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-red);
  border-radius: 2px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 42px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-red);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #b70519; box-shadow: var(--shadow-md); }

.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover { background: var(--color-primary); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(33, 101, 181, 0.25);
}
.btn-ghost:hover { border-color: var(--color-primary); }

.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- Header ---------- */
/* Hinweis: Hintergrund/Blur liegen bewusst auf ::before statt direkt auf .site-header,
   weil backdrop-filter auf einem Vorfahren von position:fixed-Elementen (mobiles Menü)
   dessen Containing Block verändert und das Menü sonst nicht mehr viewport-groß wird. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 249, 245, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
}

.nav-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--color-primary);
  white-space: nowrap;
}
.brand-sub {
  font-size: 0.72rem;
  color: var(--color-text-soft);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}
.nav-primary a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  white-space: nowrap;
  position: relative;
  padding-block: 6px;
}
.nav-primary a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-primary a:hover::after,
.nav-primary a[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-primary a[aria-current="page"] {
  color: var(--color-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.nav-toggle svg { display: block; }

@media (max-width: 1020px) {
  .nav-primary {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--color-bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    padding: 20px 24px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }
  .nav-primary a {
    width: 100%;
    padding: 14px 10px;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.05rem;
  }
  body.nav-open .nav-primary {
    transform: translateX(0);
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-actions .btn-secondary {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(90vh, 820px);
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: -8% -4%;
  z-index: -3;
  will-change: transform;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(15, 35, 60, 0.6) 0%, rgba(15, 35, 60, 0.4) 38%, rgba(15, 35, 60, 0.78) 100%),
    linear-gradient(100deg, rgba(23, 73, 127, 0.78) 0%, rgba(23, 73, 127, 0.25) 55%, rgba(23, 73, 127, 0.05) 80%);
}

.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
}
.hero-orb--1 { width: 140px; height: 140px; top: 14%; right: 12%; background: radial-gradient(circle at 35% 35%, rgba(232,185,79,0.9), rgba(232,185,79,0)); }
.hero-orb--2 { width: 90px; height: 90px; top: 62%; right: 26%; background: radial-gradient(circle at 35% 35%, rgba(115,190,239,0.9), rgba(115,190,239,0)); }
.hero-orb--3 { width: 60px; height: 60px; top: 40%; right: 6%; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.7), rgba(255,255,255,0)); }

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-sun);
}

.hero h1 {
  color: #fff;
  max-width: 16ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.hero-lede {
  max-width: 48ch;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-actions .btn-secondary {
  background: rgba(255,255,255,0.94);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  margin-top: 56px;
  max-width: 560px;
}
.hero-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: #fff;
}
.hero-fact span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-scroll-cue .stick {
  width: 2px;
  height: 34px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.hero-scroll-cue .stick::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: #fff;
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue .stick::after { animation: none; top: 30%; }
}

@media (max-width: 640px) {
  .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-fact strong { font-size: 1.4rem; }
}

/* ---------- Quick access grid ---------- */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: -60px;
  position: relative;
  z-index: 5;
}
.quick-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: 1px solid var(--color-border);
}
.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.quick-card .icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--color-sky-light);
  color: var(--color-primary);
}
.quick-card strong {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.06rem;
}
.quick-card span {
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--color-sky-light);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 0.96rem; }

.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

.stat-strip {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px clamp(20px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-strip .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.stat-strip .stat span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.78);
}
@media (max-width: 760px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
}

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.tag {
  background: var(--color-sky-light);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 100px;
}

.callout {
  background: var(--color-card);
  border-left: 4px solid var(--color-sage);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--color-text);
}
.callout.warn {
  background: #fbf1e7;
  border-left-color: var(--color-sun);
}
.callout strong { color: var(--color-primary); }

/* ---------- Section variants ---------- */
.section-alt {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}
.section-tinted {
  background: var(--color-sky-light);
}
.section-primary {
  background: var(--color-primary);
  color: #fff;
}
.section-primary h2, .section-primary h3 { color: #fff; }
.section-primary p { color: rgba(255,255,255,0.82); }

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-sky-light);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.3s var(--ease);
}
.faq-item summary .plus::before, .faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  border-radius: 2px;
}
.faq-item summary .plus::before { width: 12px; height: 2px; }
.faq-item summary .plus::after { width: 2px; height: 12px; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 24px 22px;
  font-size: 0.96rem;
}

/* ---------- Timeline / steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 22px;
}
.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
}
.step .num {
  counter-increment: step;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}
.step .num::before { content: counter(step); }

/* ---------- Comparison table (Krippe/Kindergarten) ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}
.compare-table th {
  font-family: var(--font-display);
  color: var(--color-primary);
  background: var(--color-sky-light);
  font-weight: 600;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-md); }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--color-primary);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: #fff;
  color: var(--color-text);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(33,101,181,0.12);
}
.field-hint { font-size: 0.82rem; color: var(--color-text-soft); margin-top: 4px; }

/* ---------- Map ---------- */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
  background: var(--color-card);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Calendly-Vorschau (statisches Bild-Mockup einer Buchungsstrecke) ---------- */
.calendly-mock {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  user-select: none;
}
.calendly-mock-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--color-border);
}
.calendly-mock-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  flex-shrink: 0;
}
.calendly-mock-header strong {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.calendly-mock-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--color-text-soft);
}
.calendly-mock-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}
.calendly-mock-calendar {
  padding: 22px 24px;
  border-right: 1px solid var(--color-border);
}
.calendly-mock-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 14px;
  font-size: 0.96rem;
}
.calendly-mock-cal-head button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--color-sky-light);
  color: var(--color-primary);
  cursor: default;
}
.calendly-mock-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 0.8rem;
}
.calendly-mock-grid .dow {
  color: var(--color-text-soft);
  font-weight: 700;
  font-size: 0.68rem;
  padding-bottom: 6px;
}
.calendly-mock-grid .day {
  padding: 7px 0;
  border-radius: 50%;
  color: var(--color-border);
}
.calendly-mock-grid .day.selected {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}
.calendly-mock-slots {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--color-bg);
}
.calendly-mock-slots-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 2px;
}
.calendly-mock-slot {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  background: #fff;
  border-radius: 8px;
  padding: 9px 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: default;
}
.calendly-mock-slot.chosen {
  background: var(--color-primary);
  color: #fff;
}
.calendly-mock-footer {
  padding: 14px 26px;
  border-top: 1px solid var(--color-border);
  font-size: 0.76rem;
  color: var(--color-text-soft);
  background: var(--color-surface);
}
.calendly-preview-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin: 18px 0 20px;
}
@media (max-width: 560px) {
  .calendly-mock-body {
    grid-template-columns: 1fr;
  }
  .calendly-mock-calendar {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
}

/* ---------- Page header (subpages) ---------- */
.page-header {
  padding: 64px 0 40px;
  background: linear-gradient(180deg, var(--color-sky-light), var(--color-bg));
  border-bottom: 1px solid var(--color-border);
}
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin-bottom: 14px;
}
.breadcrumbs a { color: var(--color-text-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: rgba(255,255,255,0.82); text-decoration: none; font-size: 0.94rem; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { color: rgba(255,255,255,0.72); font-size: 0.92rem; max-width: 34ch; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,0.75); }

.draft-flag {
  display: inline-block;
  background: var(--color-sun);
  color: #4a3300;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.no-js .js-only { display: none; }
