:root {
  --navy-950: #071426;
  --navy-900: #0b1b33;
  --navy-800: #102947;
  --blue-700: #1d4b73;
  --gold-500: #d8a63a;
  --gold-100: #fff4d8;
  --gray-950: #17202a;
  --gray-700: #4c5b68;
  --gray-200: #e7ebef;
  --gray-100: #f5f7f9;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(7, 20, 38, 0.12);
  --radius: 8px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-950);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: var(--navy-900);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(231, 235, 239, 0.9);
  backdrop-filter: blur(16px);
}

.scroll-progress {
  height: 3px;
  width: 100%;
  background: transparent;
}

.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold-500);
  transition: width 0.08s linear;
}

.scroll-top-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 55;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(23, 32, 58, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(7, 20, 38, 0.14);
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
  background: var(--white);
  outline: none;
}

.current-section-label {
  margin: 0;
  padding: 0 1rem 0.45rem;
  color: var(--gray-700);
  font-size: 0.85rem;
  line-height: 1.2;
}

.current-section-value {
  color: var(--navy-900);
  font-weight: 700;
}

.nav {
  width: min(100% - 2rem, var(--max-width));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy-950);
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  color: var(--gray-700);
  font-size: 0.75rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-100), #f3cf74);
  border: 1px solid rgba(216, 166, 58, 0.38);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 999px;
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(209, 168, 67, 0.7);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-menu {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: calc(100% + 0.5rem);
  display: none;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-menu.is-open {
  display: grid;
}

.nav-menu a {
  position: relative;
  padding: 0.75rem;
  color: var(--navy-800);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 650;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.4rem;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background-color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--gray-100);
  outline: none;
}

.nav-menu a.is-active,
.nav-menu a[aria-current="location"] {
  background: transparent;
  color: var(--navy-950);
  box-shadow: none;
}

.nav-menu a.is-active::after,
.nav-menu a[aria-current="location"]::after {
  background: var(--gold-500);
}

.section-band,
.section,
.site-footer {
  padding-inline: max(1rem, calc((100vw - var(--max-width)) / 2));
}

.hero {
  display: grid;
  gap: 2rem;
  padding-top: 3.25rem;
  padding-bottom: 3rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(245, 247, 249, 0.98), rgba(255, 255, 255, 0.98)),
    var(--gray-100);
}

.hero-content {
  max-width: 690px;
  align-self: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  color: var(--navy-950);
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 770px;
  font-size: clamp(2.35rem, 11vw, 4.85rem);
}

.hero-subheading {
  max-width: 650px;
  margin: 1.6rem 0 0.2rem;
  color: var(--blue-700);
  font-size: clamp(1.22rem, 3.1vw, 1.45rem);
  font-weight: 650;
  line-height: 1.45;
}

.hero-text {
  max-width: 650px;
  margin: 1.25rem 0 0;
  color: var(--gray-700);
  font-size: clamp(1.05rem, 2.5vw, 1.28rem);
}

.hero-intro {
  max-width: 650px;
  margin: 1rem 0 0;
  color: var(--gray-700);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 760;
  line-height: 1.15;
  cursor: pointer;
}

.button-primary {
  color: var(--navy-950);
  background: var(--gold-500);
  border-color: var(--gold-500);
  box-shadow: 0 10px 24px rgba(216, 166, 58, 0.26);
}

.button-secondary {
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.button-ghost {
  color: var(--navy-900);
  background: transparent;
  border-color: var(--gray-200);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 3px solid rgba(216, 166, 58, 0.26);
  outline-offset: 2px;
}

.hero-actions .button-primary {
  min-width: 220px;
  padding-inline: 1.35rem;
}

.hero-actions .button-secondary {
  min-width: 150px;
}

.hero-visual {
  position: relative;
  min-height: 270px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 38, 0.24), rgba(7, 20, 38, 0));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.context-strip {
  width: min(100% - 2rem, var(--max-width));
  margin: -1rem auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 14px 35px rgba(7, 20, 38, 0.08);
}

.context-strip div {
  padding: 1rem;
  background: var(--white);
}

.context-strip strong,
.context-strip span {
  display: block;
}

.context-strip strong {
  color: var(--navy-950);
  font-size: 0.98rem;
}

.context-strip span {
  margin-top: 0.25rem;
  color: var(--gray-700);
  font-size: 0.94rem;
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.section-muted {
  background: var(--gray-100);
}

.section-deep {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 27, 51, 0.98), rgba(16, 41, 71, 0.98)),
    var(--navy-900);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.wide {
  max-width: 920px;
}

.section-heading h2 {
  font-size: clamp(1.85rem, 6.2vw, 3rem);
}

.section-heading p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--gray-700);
  font-size: 1.04rem;
}

.section-heading.inverted h2,
.section-heading.inverted p {
  color: var(--white);
}

.section-heading.inverted .eyebrow {
  color: var(--gold-500);
}

.two-column {
  display: grid;
  gap: 1.5rem;
}

.prose p {
  margin: 0;
  color: var(--gray-700);
  font-size: 1.03rem;
}

.prose p + p {
  margin-top: 1rem;
}

.callout,
.quote-panel,
.process-panel,
.contact-form,
.faq-list details {
  border-radius: var(--radius);
}

.callout {
  position: relative;
  padding: 1.25rem;
  color: var(--navy-950);
  background: linear-gradient(165deg, #ffffff 0%, #f7fafc 100%);
  border: 1px solid rgba(16, 41, 71, 0.15);
  box-shadow: 0 12px 26px rgba(7, 20, 38, 0.08);
  overflow: hidden;
}

.callout::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #d8a63a 0%, #f0c35a 100%);
}

.section-callout {
  max-width: 920px;
  margin-top: 1rem;
}

#vorarbeit .section-callout,
#vorarbeit .section-statement {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

#vorarbeit .section-callout {
  padding: 1.25rem;
}

#vorarbeit .section-statement {
  padding: 1.25rem;
  font-size: 1.03rem;
  font-weight: 520;
  line-height: 1.62;
}

.callout h3,
.callout p,
.participation-list h3,
.participation-list p,
.process-panel h3 {
  margin: 0;
}

.callout p,
.participation-list p,
.timeline p,
.faq-list p {
  color: var(--gray-700);
}

.callout p,
.participation-list p {
  margin-top: 0.55rem;
}

.callout-highlight {
  padding: 1.35rem 1.35rem 1.25rem;
}

.callout-highlight h3 {
  color: var(--navy-950);
  font-size: 1.26rem;
  font-weight: 820;
  letter-spacing: 0;
}

.callout-highlight p {
  position: relative;
  z-index: 1;
  margin-top: 0.7rem;
  color: #2f4357;
  font-size: 1.03rem;
  line-height: 1.62;
}

.section-statement,
.inverted-statement {
  max-width: 920px;
  margin: 2rem 0 0;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  font-weight: 740;
  line-height: 1.5;
}

.section-statement {
  position: relative;
  color: var(--navy-950);
  background: linear-gradient(165deg, #ffffff 0%, #f7fafc 100%);
  border: 1px solid rgba(16, 41, 71, 0.15);
  box-shadow: 0 12px 26px rgba(7, 20, 38, 0.08);
  overflow: hidden;
}

.section-statement::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #d8a63a 0%, #f0c35a 100%);
}

.inverted-statement {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.quote-panel {
  margin: 2rem 0;
  padding: 1.35rem;
  color: var(--white);
  background: var(--navy-900);
  border-left: 5px solid var(--gold-500);
}

.quote-panel p {
  margin: 0;
  font-size: clamp(1.08rem, 3vw, 1.45rem);
  font-weight: 730;
  line-height: 1.45;
}

#grenzen .quote-panel p {
  font-size: clamp(1rem, 2.3vw, 1.18rem);
  font-weight: 620;
  line-height: 1.5;
}

.participation-list,
.challenge-grid {
  display: grid;
  gap: 1rem;
}

.participation-list > div {
  padding: 1.2rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.participation-list p {
  color: rgba(255, 255, 255, 0.78);
}

.growth-timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.growth-timeline::before {
  content: "";
  position: absolute;
  left: 0.72rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--gray-200);
}

.growth-timeline li {
  position: relative;
  padding: 1rem 1rem 1rem 2.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(7, 20, 38, 0.05);
}

.growth-timeline li::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 1.22rem;
  width: 0.72rem;
  height: 0.72rem;
  background: var(--gold-500);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(216, 166, 58, 0.4);
}

.growth-timeline span {
  display: inline-flex;
  margin-bottom: 0.25rem;
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.growth-timeline h3,
.growth-timeline p {
  margin: 0;
}

.growth-timeline h3 {
  color: var(--navy-950);
  font-size: 1.08rem;
}

.growth-timeline p {
  margin-top: 0.35rem;
  color: var(--gray-700);
}

.timeline-notes {
  display: grid;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.timeline-notes li {
  position: relative;
  padding: 0 0 0 1.05rem;
  color: var(--gray-700);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.timeline-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 0.38rem;
  height: 0.38rem;
  background: var(--gold-500);
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

.challenge-grid {
  grid-template-columns: 1fr;
}

.challenge-grid div {
  padding: 1rem;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius);
  font-weight: 720;
}

.question-panel {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2rem;
}

.question-panel p {
  margin: 0;
  padding: 1rem;
  color: var(--navy-900);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-weight: 720;
}

.process-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--gray-700);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold-500);
  border-radius: 50%;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline > li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.15rem 1.15rem 3.2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.timeline > li.is-current-step {
  border-color: rgba(216, 166, 58, 0.95);
  box-shadow:
    0 0 0 1px rgba(216, 166, 58, 0.28),
    0 14px 34px rgba(216, 166, 58, 0.18);
  animation: current-step-pulse 1.8s ease-in-out infinite;
}

.timeline > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold-500);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 850;
}

.timeline > li.is-current-step::before {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(216, 166, 58, 0.22);
}

@keyframes current-step-pulse {
  0%,
  100% {
    border-color: rgba(216, 166, 58, 0.72);
    box-shadow:
      0 0 0 1px rgba(216, 166, 58, 0.2),
      0 14px 34px rgba(216, 166, 58, 0.12);
  }

  50% {
    border-color: rgba(216, 166, 58, 1);
    box-shadow:
      0 0 0 4px rgba(216, 166, 58, 0.2),
      0 18px 42px rgba(216, 166, 58, 0.24);
  }
}

.timeline > li > span {
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-date {
  display: block;
  margin: 0.25rem 0 0.65rem;
  color: var(--navy-950);
  font-size: 0.98rem;
  font-weight: 820;
}

.timeline h3,
.timeline p {
  margin: 0;
}

.timeline h3 {
  margin-top: 0.2rem;
}

.timeline p {
  margin-top: 0.45rem;
}

.timeline .step-note {
  margin-top: 0.75rem;
  color: var(--blue-700);
  font-size: 0.95rem;
}

.step-detail-list {
  display: grid;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.step-detail-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--gray-700);
  font-size: 0.93rem;
  line-height: 1.5;
}

.step-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64rem;
  width: 0.34rem;
  height: 0.34rem;
  background: var(--gold-500);
  border-radius: 50%;
}

.step-card-footer {
  display: grid;
  justify-items: start;
  align-content: end;
  row-gap: 0.85rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 0;
}

.step-card-footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin: 0;
  background: rgba(216, 166, 58, 0.26);
}

.step-cta {
  min-height: 42px;
  min-width: 172px;
  max-width: 100%;
  padding: 0.58rem 1rem;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
  box-shadow: none;
  font-size: 0.95rem;
  font-weight: 690;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.step-cta-short {
  min-width: 170px;
  white-space: nowrap;
}

.step-cta:hover,
.step-cta:focus-visible {
  background: #152d4d;
  border-color: #152d4d;
}

.step-cta-disabled,
.step-cta:disabled {
  color: #6a7785;
  background: #eef2f6;
  border-color: #cfd8e2;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
  user-select: none;
  opacity: 1;
}

.step-cta-disabled:hover,
.step-cta-disabled:focus-visible,
.step-cta:disabled:hover,
.step-cta:disabled:focus-visible {
  transform: none;
  outline: none;
  background: #eef2f6;
  border-color: #cfd8e2;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    linear-gradient(135deg, var(--gold-100), #dce8f4);
}

.contact-form {
  max-width: 920px;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--navy-950);
  font-weight: 740;
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--gray-950);
  background: var(--white);
  border: 1px solid #cfd7df;
  border-radius: var(--radius);
  padding: 0.82rem 0.88rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-500);
  outline: 3px solid rgba(216, 166, 58, 0.22);
}

.contact-form > label,
.checkbox-label,
.contact-form button,
.form-note {
  margin-top: 1rem;
}

.checkbox-label {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  align-items: start;
  gap: 0.75rem;
  color: var(--gray-700);
  font-weight: 560;
}

.checkbox-label input {
  display: block;
  padding: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.2rem 0 0;
  border: 1px solid #cfd7df;
  border-radius: 4px;
  background: var(--white);
  accent-color: var(--gold-500);
}

.form-note {
  min-height: 1.4rem;
  color: var(--blue-700);
  font-weight: 700;
}

.privacy-note {
  margin: 1rem 0 0;
  color: var(--gray-700);
  font-size: 0.92rem;
}

.external-form-embed {
  max-width: 920px;
  margin-top: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.external-form-embed iframe {
  display: block;
  width: 100%;
  min-height: 520px;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.faq-list summary {
  cursor: pointer;
  padding: 1rem;
  color: var(--navy-950);
  font-weight: 780;
}

.faq-list summary:focus-visible {
  outline: 3px solid rgba(216, 166, 58, 0.28);
  outline-offset: 2px;
}

.faq-list p {
  margin: 0;
  padding: 0 1rem 1rem;
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy-950);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--white);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.site-footer a {
  color: var(--white);
  text-decoration-color: rgba(216, 166, 58, 0.8);
  text-underline-offset: 0.22em;
}

.site-footer p {
  margin: 0;
  max-width: 760px;
}

.site-footer .footer-contact {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer .legacy-note {
  display: none;
}

.legal-placeholders {
  display: none;
  gap: 0.75rem;
  max-width: 920px;
}

.legal-placeholders section {
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.legal-placeholders .legacy-legal {
  display: none;
}

.legal-placeholders h2,
.legal-placeholders h3,
.legal-placeholders p,
.legal-placeholders ul {
  margin: 0;
}

.legal-placeholders h2 {
  color: var(--white);
  font-size: 1rem;
}

.legal-placeholders h3 {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
}

.legal-placeholders p,
.legal-placeholders ul {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.legal-placeholders ul {
  padding-left: 1.1rem;
}

.legal-placeholders li + li {
  margin-top: 0.22rem;
}

.legal-page-body {
  margin: 0;
  color: var(--gray-950);
  background: var(--gray-100);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.legal-main {
  padding: 2rem max(1rem, calc((100vw - var(--max-width)) / 2)) 3rem;
}

.legal-shell {
  max-width: 920px;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(7, 20, 38, 0.08);
}

.legal-shell h1,
.legal-shell h2,
.legal-shell h3,
.legal-shell p,
.legal-shell ul {
  margin: 0;
}

.legal-shell h1 {
  color: var(--navy-950);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  line-height: 1.12;
}

.legal-shell h2 {
  margin-top: 1.2rem;
  color: var(--navy-950);
  font-size: 1.1rem;
}

.legal-shell h3 {
  margin-top: 1rem;
  color: var(--navy-900);
  font-size: 0.98rem;
}

.legal-shell p,
.legal-shell ul {
  margin-top: 0.45rem;
  color: var(--gray-700);
  font-size: 0.96rem;
}

.legal-shell ul {
  padding-left: 1.1rem;
}

.legal-shell li + li {
  margin-top: 0.2rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.legal-links a {
  color: var(--blue-700);
  font-weight: 650;
}

@media (min-width: 700px) {
  .context-strip,
  .participation-list,
  .challenge-grid,
  .question-panel,
  .form-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.72fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .scroll-top-button {
    display: none !important;
  }

  .scroll-progress {
    display: none;
  }

  .current-section-label {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero {
    grid-template-columns: minmax(0, 0.96fr) minmax(380px, 0.84fr);
    align-items: center;
    padding-top: 4.5rem;
    padding-bottom: 4rem;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-visual img {
    min-height: 520px;
    object-position: 100% center;
  }

  .two-column {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
    align-items: start;
  }

  .callout-highlight {
    position: sticky;
    top: 6.2rem;
  }

  .timeline {
    grid-template-columns: repeat(5, 1fr);
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline > li {
    padding: 3.5rem 1rem 1rem;
  }

  .timeline > li::before {
    top: 1rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .site-footer p {
    grid-column: 1 / -1;
  }

  .legal-placeholders {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }
}

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

  .timeline > li.is-current-step {
    box-shadow:
      0 0 0 3px rgba(216, 166, 58, 0.22),
      0 14px 34px rgba(216, 166, 58, 0.12);
  }
}
