:root {
  --blue: #17345c;
  --cyan: #4f90b8;
  --ink: #1f2933;
  --muted: #64748b;
  --line: #d9e2ec;
  --paper: #ffffff;
  --soft: #eef4f8;
  --accent: #a9782a;
  --steel: #6f879c;
  --deep: #0d223d;
  --shadow: 0 18px 50px rgba(31, 41, 51, 0.12);
  --page-gutter: clamp(1rem, 4vw, 2rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.6 Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  hyphens: manual;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(calc(100% - (2 * var(--page-gutter))), 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 0;
}

.site-header.compact {
  border-bottom: 1px solid var(--line);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 190px;
  height: auto;
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.topnav a {
  color: var(--ink);
  text-decoration: none;
}

.topnav a:hover {
  color: var(--cyan);
}

body.home {
  background: #f7fafc;
}

.home-header {
  position: relative;
  z-index: 10;
}

.home-hero {
  position: relative;
  min-height: min(760px, calc(100vh - 40px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 34, 61, 0.92) 0%, rgba(13, 34, 61, 0.74) 40%, rgba(13, 34, 61, 0.2) 78%),
    linear-gradient(0deg, rgba(13, 34, 61, 0.72) 0%, rgba(13, 34, 61, 0) 34%);
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100vw - 3rem));
  margin-left: max(1.5rem, calc((100vw - 1180px) / 2));
  padding: 5rem 0 6rem;
  color: #fff;
}

.hero-panel .eyebrow {
  color: #b8d2e3;
}

.hero-panel h1 {
  max-width: 17ch;
  color: #fff;
  font-size: clamp(2.55rem, 5.4vw, 4.7rem);
  overflow-wrap: normal;
}

.hero-panel p {
  max-width: 56ch;
  color: #d9e7f0;
  font-size: 1.12rem;
}

.hero-photo {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero .button.primary {
  border-color: #fff;
  background: #fff;
  color: var(--deep);
}

.home-hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.trust-band,
.metrics-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin: -3.5rem auto 0;
  position: relative;
  z-index: 3;
  border: 1px solid rgba(111, 135, 156, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.trust-band div,
.metrics-band div {
  padding: 1.4rem;
  border-right: 1px solid var(--line);
}

.trust-band div:last-child,
.metrics-band div:last-child {
  border-right: 0;
}

.trust-band strong,
.metrics-band strong {
  display: block;
  color: var(--blue);
  font-size: 1.1rem;
}

.trust-band span {
  color: var(--muted);
  font-size: 0.95rem;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.service-section {
  padding: 5rem 1.5rem;
  background: #e8f0f5;
}

.section-heading,
.service-section .service-grid {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 760px;
}

.service-grid.enhanced article {
  min-width: 0;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.service-number {
  color: var(--steel);
  font-size: 0.85rem;
  font-weight: 700;
}

.service-grid.enhanced article a {
  margin-top: auto;
  font-weight: 700;
}

.topic-directory {
  padding: 5rem 1.5rem;
  background: #f7fafc;
}

.topic-directory .section-heading {
  margin-bottom: 2rem;
}

.topic-directory .section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}

.topic-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.topic-group {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.topic-group h3 {
  margin-bottom: 0.45rem;
}

.topic-group p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.topic-group ul {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-group a {
  display: inline-flex;
  max-width: 100%;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.topic-group a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.advisory-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  align-items: stretch;
  gap: 0;
  background: #fff;
}

.advisory-section > img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.advisory-copy {
  align-self: center;
  max-width: 620px;
  padding: 5rem clamp(1.5rem, 6vw, 5rem);
}

.check-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 0.7rem 0;
  padding-left: 1.6rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--cyan);
}

.metrics-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
  border-radius: 0;
  border-right: 0;
  border-left: 0;
  box-shadow: none;
  background: var(--deep);
}

.metrics-band div {
  border-color: rgba(255, 255, 255, 0.18);
}

.metrics-band span {
  display: block;
  color: #8bb9d5;
  font-weight: 700;
}

.metrics-band strong {
  color: #fff;
  font-size: 1.35rem;
}

.contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.cta-box {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.4rem;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}

.cta-box a {
  color: #fff;
}

.cta-box .button.primary {
  border-color: #fff;
  background: #fff;
  color: var(--blue);
}

.letter-cta-front {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  align-items: center;
  gap: 0;
  max-width: 1180px;
  margin: 5rem auto 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.letter-cta-front img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.letter-cta-front > div {
  padding: clamp(1.5rem, 5vw, 4rem);
}

.letter-cta-front h2 {
  max-width: 560px;
}

.letter-cta-front p {
  color: var(--muted);
}

.letter-cta-front.early {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.letter-page {
  width: min(calc(100% - (2 * var(--page-gutter))), 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.letter-hero,
.voice-check {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: 2rem;
  align-items: center;
}

.letter-hero img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.letter-hero h1 {
  max-width: 13ch;
}

.letter-summary {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--cyan);
  border-radius: 0 8px 8px 0;
  background: var(--soft);
  color: var(--ink);
}

.letter-summary strong {
  color: var(--blue);
}

.letter-action-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 2rem;
  align-items: start;
  width: min(calc(100% - (2 * var(--page-gutter))), 1180px);
  max-width: 1180px;
  margin: 4rem auto 0;
  padding: 0;
}

.letter-steps {
  margin-top: 0;
}

.letter-steps h2 {
  max-width: 680px;
}

.steps-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  max-width: 820px;
  margin-top: 1.5rem;
}

.steps-grid article {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.steps-grid span {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: var(--cyan);
  font-weight: 700;
}

.steps-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.voice-check {
  width: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  display: block;
}

.voice-check h2 {
  font-size: clamp(1.87rem, 3.3vw, 2.86rem);
}

.voice-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.voice-form .form-lead {
  margin-bottom: 0;
  color: var(--muted);
}

.voice-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--blue);
  font-weight: 700;
}

.voice-form input {
  min-height: 53px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

.voice-code-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.voice-code-form legend {
  margin-bottom: 0.5rem;
  color: var(--blue);
  font-weight: 700;
}

.code-inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.code-inputs input {
  min-height: 70px;
  text-align: center;
  font-size: 1.62rem;
  font-weight: 800;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.postal-row[hidden],
.voice-player-panel[hidden] {
  display: none !important;
}

.postal-row {
  animation: revealField 160ms ease-out;
}

.voice-form button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.voice-player-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(18, 54, 91, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, #eef4fa);
}

.voice-player-panel strong {
  display: block;
  color: var(--blue);
}

.player-kicker {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.voice-player-panel audio {
  display: none;
}

.voice-player-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 150px));
  gap: 0.75rem;
}

.voice-player-controls .button {
  width: 100%;
}

.voice-progress {
  display: block;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #dce5ec;
  accent-color: var(--cyan);
}

.voice-progress::-webkit-progress-bar {
  background: #dce5ec;
}

.voice-progress::-webkit-progress-value {
  background: var(--cyan);
}

.voice-progress::-moz-progress-bar {
  background: var(--cyan);
}

.letter-action-layout .legal-basis {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

@keyframes revealField {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-message,
.privacy-note {
  color: var(--muted);
}

.letter-help {
  max-width: 820px;
  margin-top: 4rem;
}

.important-note {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: #fff7e8;
  color: var(--ink);
}

.important-note strong {
  color: var(--blue);
}

.legal-basis {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.legal-basis h2 {
  max-width: 760px;
}

.legal-intro {
  max-width: 820px;
  color: var(--muted);
}

.legal-explanation {
  display: grid;
  gap: 0.9rem;
  max-width: 920px;
  margin: 1.25rem 0 1.75rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.legal-explanation p {
  margin-bottom: 0;
  color: var(--muted);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.legal-grid article {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.legal-grid h3 {
  margin-bottom: 0.45rem;
}

.legal-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.legal-note {
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  background: #e8f0f5;
  color: var(--ink);
}

.admin-page h1 {
  max-width: 100%;
}

.admin-page pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 1rem;
  border-radius: 8px;
  background: #f5f8fb;
  color: var(--ink);
  white-space: pre-wrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 572px);
  align-items: center;
  gap: 3rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.hero-copy {
  min-width: 0;
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 18ch;
  margin-bottom: 1.2rem;
  color: var(--blue);
  font-size: clamp(2.15rem, 4.5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
  hyphens: none;
  overflow-wrap: normal;
  word-break: keep-all;
  text-wrap: balance;
}

h2 {
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.12;
  hyphens: none;
  overflow-wrap: normal;
  word-break: keep-all;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.6rem;
  color: var(--blue);
  font-size: 1.15rem;
  hyphens: none;
  overflow-wrap: normal;
  word-break: keep-all;
  text-wrap: balance;
}

.hero p {
  max-width: 54ch;
  color: var(--muted);
  font-size: 1.08rem;
  overflow-wrap: break-word;
}

.hero-image,
.split img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  white-space: normal;
  text-align: center;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--blue);
  background: transparent;
}

.intro,
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro p,
.section p,
.legal-page p {
  color: var(--muted);
}

.contact-card,
.note {
  align-self: start;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.contact-card img {
  width: 72px;
}

.contact-card a {
  display: block;
  margin-top: 0.25rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.service-grid article {
  min-width: 0;
  min-height: 190px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 572px);
  align-items: center;
  gap: 3rem;
  background: linear-gradient(180deg, #fff 0, var(--soft) 100%);
  max-width: none;
}

.split > * {
  max-width: 560px;
}

.split > div {
  justify-self: end;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
}

address {
  font-style: normal;
  color: var(--muted);
}

.note {
  display: block;
}

.note p {
  margin: 0.4rem 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - (2 * var(--page-gutter))), 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-page,
.content-page,
.error-page {
  width: min(calc(100% - (2 * var(--page-gutter))), 760px);
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 0;
}

.content-page {
  width: min(calc(100% - (2 * var(--page-gutter))), 980px);
  max-width: 980px;
}

.legal-page section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.lead {
  max-width: 66ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.more-link {
  margin-top: 1.5rem;
  font-weight: 700;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.overview-grid.featured {
  grid-template-columns: minmax(0, 1fr);
  max-width: 680px;
  margin-bottom: 3rem;
}

.overview-grid.featured section {
  background: #fff;
  border-color: var(--blue);
}

.archive-label {
  margin-top: 1rem;
}

.overview-grid section {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.overview-grid h2 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.overview-grid ul,
.legacy-content ul {
  margin: 0;
  padding-left: 1.2rem;
}

.overview-grid li,
.legacy-content li {
  margin: 0.35rem 0;
}

.legacy-content {
  color: var(--ink);
}

.enhanced-page {
  max-width: 1180px;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #0d223d 0%, #17345c 58%, #6f879c 100%);
  color: #fff;
  overflow: hidden;
}

.subpage-hero .eyebrow,
.subpage-hero h1,
.subpage-hero p {
  color: #fff;
}

.subpage-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.02;
}

.subpage-hero p {
  max-width: 62ch;
  color: #d9e7f0;
}

.subpage-hero img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.activity-description {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  min-width: 0;
}

.activity-description h2 {
  font-size: 1.55rem;
}

.activity-description p {
  max-width: 86ch;
  color: var(--muted);
}

.activity-description ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.legacy-content h1 {
  max-width: 100%;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.legacy-content h2,
.legacy-content h3 {
  margin-top: 2rem;
}

.legacy-content p,
.legacy-content dd {
  max-width: 76ch;
  color: var(--muted);
}

.legacy-content dl {
  display: grid;
  gap: 0.6rem;
}

.legacy-content dt {
  color: var(--blue);
  font-weight: 700;
}

.legacy-content table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.error-page {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
}

@media (max-width: 920px) {
  .site-header,
  .intro,
  .hero,
  .split,
  .contact,
  .home-intro,
  .advisory-section,
  .contact-cta,
  .letter-cta-front,
  .letter-hero,
  .voice-check,
  .subpage-hero {
    grid-template-columns: 1fr;
  }

  .letter-action-layout {
    grid-template-columns: 1fr;
    margin-top: 3rem;
    padding: 0 1rem;
  }

  .voice-check {
    width: auto;
    margin: 0;
  }

  .site-header {
    display: grid;
    justify-items: start;
  }

  .topnav {
    justify-content: flex-start;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-band,
  .metrics-band {
    grid-template-columns: 1fr;
    margin-right: 1rem;
    margin-left: 1rem;
  }

  .trust-band div,
  .metrics-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-band div:last-child,
  .metrics-band div:last-child {
    border-bottom: 0;
  }

  .advisory-section > img {
    min-height: 360px;
    max-height: 520px;
  }

  .letter-cta-front {
    margin-right: 1rem;
    margin-left: 1rem;
  }

  .split > div {
    justify-self: auto;
  }

  .split > * {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header,
  .intro,
  .section,
  .legal-page {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 2rem;
  }

  .home-hero {
    min-height: 720px;
  }

  .home-hero::before {
    background: linear-gradient(0deg, rgba(13, 34, 61, 0.94) 0%, rgba(13, 34, 61, 0.76) 68%, rgba(13, 34, 61, 0.18) 100%);
  }

  .hero-panel {
    width: calc(100vw - 2rem);
    margin: 0 1rem;
    padding: 17rem 0 3rem;
  }

  .hero-panel h1 {
    max-width: 16ch;
    font-size: 2.15rem;
    line-height: 1.08;
  }

  .hero-panel p {
    font-size: 1rem;
  }

  .hero-photo img {
    object-position: 58% center;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .topic-groups {
    grid-template-columns: 1fr;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .service-section,
  .contact-cta,
  .advisory-copy,
  .letter-page,
  .voice-check {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .letter-cta-front img,
  .letter-hero img,
  .subpage-hero img {
    min-height: 300px;
  }

  .subpage-hero {
    padding: 1.2rem;
  }

  .subpage-hero h1 {
    max-width: 100%;
    font-size: 2.35rem;
  }

  .metrics-band strong {
    font-size: 1.15rem;
  }

  h1 {
    max-width: 11.5ch;
  }

  .actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin-right: auto;
    margin-left: 0;
  }

  .actions .button {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy,
  .hero p {
    width: calc(100vw - 3rem);
    max-width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero p {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* === Curated Europay main structure 2026 === */
.curated-site {
  background: #f6f9fb;
}
.refined-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  max-width: none;
  padding: 0.85rem var(--page-gutter);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  row-gap: 0.7rem;
}

.refined-header .brand img {
  width: clamp(120px, 9vw, 170px);
}
.refined-nav {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 0.42rem 0.36rem;
  flex-wrap: wrap;
  min-width: 0;
  overflow: visible;
}
.refined-nav a {
  flex: 0 0 auto;
  padding: 0.34rem 0.32rem;
  border-radius: 999px;
  color: var(--deep);
  font-size: 1.109rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  transform: scale(1);
  transform-origin: center;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}
.refined-nav a[href="/mahnung.html"] {
  color: var(--blue);
  font-size: 1.267rem;
  font-weight: 800;
}
.refined-nav a:hover {
  position: relative;
  z-index: 2;
  transform: scale(1.1);
}
.refined-nav a:hover,
.refined-nav a.active {
  background: #e8f0f5;
  color: var(--blue);
}
.curated-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  min-height: 640px;
  background: linear-gradient(135deg, #0d223d 0%, #17345c 52%, #6f879c 100%);
  color: #fff;
}
.curated-hero-copy {
  align-self: center;
  max-width: 760px;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 6vw, 5rem);
}
.curated-hero h1 {
  max-width: 18ch;
  color: #fff;
  font-size: clamp(2.25rem, 4.2vw, 4.35rem);
  line-height: 1.02;
  hyphens: none;
  overflow-wrap: normal;
  word-break: keep-all;
  text-wrap: balance;
}
.curated-hero p {
  max-width: 62ch;
  color: #dce9f1;
  font-size: 1.08rem;
}
.curated-hero-image {
  min-width: 0;
  margin: 0;
}
.curated-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}
.logo-strip {
  display: grid;
  grid-template-columns: 180px repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  width: min(calc(100% - (2 * var(--page-gutter))), 1180px);
  max-width: 1180px;
  margin: -2.4rem auto 0;
  padding: 1rem 1.25rem;
  position: relative;
  z-index: 4;
  border: 1px solid rgba(111, 135, 156, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}
.logo-strip img {
  width: 150px;
}
.logo-strip span {
  color: var(--blue);
  font-weight: 800;
}
.curated-section {
  width: min(calc(100% - (2 * var(--page-gutter))), 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.curated-section h2 {
  max-width: 780px;
}
.curated-card-grid {
  display: grid;
  gap: 1rem;
}
.three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.four-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.curated-card {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(13, 34, 61, 0.06);
}
.curated-card p {
  color: var(--muted);
}
.text-link {
  font-weight: 800;
  text-decoration: none;
}
.split-feature,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.two-column.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.section-photo {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.image-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.image-band img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.service-focus {
  width: 100%;
  max-width: none;
  padding-left: max(1.5rem, calc((100vw - 1180px) / 2));
  padding-right: max(1.5rem, calc((100vw - 1180px) / 2));
  background: #e8f0f5;
}
.wide-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  width: min(calc(100% - (2 * var(--page-gutter))), 1180px);
  max-width: 1180px;
  margin: 0 auto 4rem;
  padding: 2rem;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}
.wide-cta h2,
.wide-cta p {
  color: #fff;
}
.wide-cta p {
  max-width: 760px;
}
.step-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding-left: 1.3rem;
}
.step-list li,
.source-list li {
  color: var(--muted);
}
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.glossary-grid article,
.notice-box {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 2rem;
}
.curated-summary {
  width: min(calc(100% - (2 * var(--page-gutter))), 1180px);
  max-width: 1180px;
  margin: 2rem auto;
}
.curated-letter .curated-hero {
  border-radius: 8px;
  overflow: hidden;
}
.curated-legal h1 {
  max-width: 100%;
}
.refined-footer {
  max-width: none;
  padding: 2rem clamp(1rem, 4vw, 2.8rem);
  background: #fff;
}
.refined-footer div {
  max-width: 380px;
}
.refined-footer img {
  width: 150px;
  margin-bottom: 0.75rem;
}
.refined-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: flex-end;
}
.refined-footer a {
  text-decoration: none;
  font-weight: 700;
}
@media (max-width: 980px) {
  .curated-hero,
  .split-feature,
  .two-column,
  .two-column.reverse,
  .contact-panel,
  .wide-cta {
    grid-template-columns: 1fr;
  }
  .curated-hero-image img,
  .section-photo {
    min-height: 360px;
  }
  .four-grid,
  .three-grid,
  .compact-grid,
  .glossary-grid,
  .image-band,
  .logo-strip {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .refined-header {
    position: relative;
  }
  .curated-hero h1 {
    max-width: 100%;
    font-size: 2.25rem;
  }
  .curated-hero-copy {
    padding: 2.4rem 1rem;
  }
  .curated-hero-image img {
    min-height: 300px;
  }
  .four-grid,
  .three-grid,
  .compact-grid,
  .glossary-grid,
  .image-band,
  .logo-strip {
    grid-template-columns: 1fr;
  }
  .image-band img {
    height: 260px;
  }
  .wide-cta {
    margin-right: auto;
    margin-left: auto;
    padding: 1.2rem;
  }
  .refined-footer,
  .refined-footer nav {
    align-items: flex-start;
    justify-content: flex-start;
  }
}
/* === Objektkauf v1.5 === */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown > a {
  display: inline-flex;
}
.nav-dropdown-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 0.35rem);
  min-width: 220px;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  margin: 0.1rem 0;
  border-radius: 6px;
  white-space: nowrap;
}
.object-copy .prose-panel {
  display: grid;
  gap: 0.9rem;
  max-width: 920px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.object-copy .prose-panel p {
  margin: 0;
  color: var(--muted);
}
.object-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.admin-upload-form {
  gap: 1.5rem;
}
.admin-upload-section {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.admin-upload-section h2 {
  margin-top: 0;
  font-size: 1.25rem;
}
.admin-result-list {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
}
.admin-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.admin-status-grid div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.admin-status-grid dt {
  color: var(--muted);
  font-size: 0.9rem;
}
.admin-status-grid dd {
  margin: 0.35rem 0 0;
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 700;
}
.curated-overview h1 {
  max-width: 100%;
}
@media (max-width: 620px) {
  .nav-dropdown {
    display: grid;
    width: 100%;
  }
  .nav-dropdown-menu {
    position: static;
    display: grid;
    min-width: 0;
    margin-top: 0.25rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }
  .admin-status-grid {
    grid-template-columns: 1fr;
  }
}
