/* ==========================================================================
   Nils Berning – CDU Landtagskandidat NRW 2027 (nilsberning.de)
   DSGVO-konformes Stylesheet (ohne externe Schriftarten oder CDNs)
   ========================================================================== */

:root {
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-subtle: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  /* CDU-Farbwelt (abgeleitet aus der Referenz, bewusst dunkler gehalten) */
  --accent-dark: #a86e08;        /* Union-Gold (dunkler) */
  --accent-dark-hover: #8f5c07;
  --accent-dark-soft: #fbf1de;
  --accent-dark-bright: #f0b429; /* Gold für helle Schrift auf dunklem Grund */
  --accent-teal: #378992;        /* Cadenabbia-Türkis (dunkler) */
  --accent-teal-soft: #d9edf0;   /* Türkis-hell (dunkler) */
  --accent-navy: #26333f;        /* Rhöndorf-Blau (dunkler) */
  --accent-navy-dark: #1c2630;
  --whatsapp-green: #378992;
  --whatsapp-green-hover: #2c6f77;
  --border-light: #b0c0c9;       /* Linie (dunkler) */
  --border-dashed: #94a3b8;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --header-height: 4.75rem;
  --container-max: 1160px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Anker-Sprungziel-Korrektur für fixierten Header */
section[id],
div[id] {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

/* Barrierefreiheit: Skip-Link & Fokus-Zustände */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent-navy);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 1000;
  text-decoration: none;
  transition: top 0.2s ease;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  min-height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-dot {
  color: var(--accent-dark);
  font-size: 1.4rem;
  line-height: 1;
}

.brand-party {
  background-color: var(--accent-navy);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 0.35rem;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--accent-dark);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
}

.nav-mobile {
  display: none;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 1.25rem 1.5rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.nav-mobile-list .nav-link {
  display: block;
  padding-block: 0.35rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.12s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--accent-dark);
  color: var(--accent-navy);
  box-shadow: 0 4px 14px rgba(168, 110, 8, 0.28);
}

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

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--accent-navy);
  border-color: var(--accent-navy);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(55, 137, 146, 0.25);
  width: 100%;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-green-hover);
}

.btn-outline-teal {
  background-color: var(--bg-white);
  color: var(--accent-teal);
  border-color: var(--accent-teal);
}

.btn-outline-teal:hover {
  background-color: var(--accent-teal-soft);
}

/* ==========================================================================
   Hero-Bereich
   ========================================================================== */
.hero {
  padding-block: 3.25rem 4.25rem;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 900px) {
  .hero {
    padding-block: 4.5rem 5.5rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.badge-role {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-teal-soft);
  color: var(--accent-navy);
  border: 1px solid rgba(55, 137, 146, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background-color: var(--accent-teal);
}

.hero-title {
  margin: 0 0 0.5rem;
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-subtitle .dot {
  color: var(--accent-dark);
  font-weight: 900;
  margin-inline: 0.35rem;
}

.hero-claim {
  display: inline-block;
  margin: 0 0 2rem;
  padding: 0.85rem 1.35rem;
  background-color: var(--accent-navy);
  color: #ffffff;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  border-left: 6px solid var(--accent-dark);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -0.75rem -0.75rem 0.75rem 0.75rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(168, 110, 8, 0.14), rgba(55, 137, 146, 0.16));
  z-index: 0;
}

.hero-visual > * {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Content-Bilder (Ziel-Format wird per object-fit beschnitten)
   ========================================================================== */
.hero-portrait {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: right 20%; /* or use 75% 20% for fine-tuning */
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.about-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.contact-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Bild-Platzhalter (HTML/CSS-Container ohne externe URLs)
   ========================================================================== */
.image-placeholder {
  background-color: var(--border-light);
  border: 2px dashed var(--border-dashed);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-secondary);
  width: 100%;
  box-shadow: var(--shadow-md);
}

.ratio-4-5 {
  aspect-ratio: 4 / 5;
  min-height: 360px;
}

.ratio-4-3 {
  aspect-ratio: 4 / 3;
  min-height: 260px;
}

.ratio-16-9 {
  aspect-ratio: 16 / 9;
  min-height: 210px;
}

.placeholder-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--bg-white);
  color: var(--accent-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.placeholder-label {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin: 0 0 0.35rem;
}

.placeholder-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 28ch;
}

/* ==========================================================================
   Allgemeine Sektionen
   ========================================================================== */
.section {
  padding-block: 4.5rem;
}

@media (min-width: 900px) {
  .section {
    padding-block: 5.5rem;
  }
}

.section-alt {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-intro {
  margin: 0;
  font-size: 1.12rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Schwerpunkte (3-Spalten-Karten)
   ========================================================================== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 820px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.icon-badge {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  font-weight: 900;
  font-size: 1.5rem;
}

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

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

.icon-badge-navy {
  background-color: var(--accent-teal-soft);
  color: var(--accent-navy);
}

.card-title {
  margin: 0 0 0.75rem;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
}

.card-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.topics-bar {
  margin-top: 2rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.topics-bar-label {
  font-weight: 800;
  color: var(--accent-navy);
  font-size: 0.95rem;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.topic-pill-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--accent-dark);
}

/* ==========================================================================
   Über mich
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: start;
}

@media (min-width: 920px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
  }
}

.prose-block h3 {
  margin: 2rem 0 0.65rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-navy);
}

.prose-block h3:first-child {
  margin-top: 0;
}

.prose-block p {
  margin: 0 0 1.15rem;
  color: var(--text-secondary);
  font-size: 1.04rem;
}

.interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.interest-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.interest-tag svg {
  color: var(--accent-teal);
}

/* ==========================================================================
   Berufliche Expertise & Kennzahlen
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-box {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--accent-teal);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.5rem;
}

.stat-box:nth-child(2) {
  border-top-color: var(--accent-dark);
}

.stat-box:nth-child(3) {
  border-top-color: var(--accent-navy);
}

.stat-number {
  display: block;
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.stat-desc {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.experience-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2.75rem;
}

@media (min-width: 820px) {
  .experience-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

.experience-columns p {
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 1.04rem;
}

/* ==========================================================================
   Leitbild Banner
   ========================================================================== */
.leitbild-section {
  background: linear-gradient(135deg, var(--accent-navy) 0%, var(--accent-navy-dark) 100%);
  color: #ffffff;
  padding-block: 4.5rem;
}

.leitbild-box {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.leitbild-eyebrow {
  display: inline-block;
  color: var(--accent-dark-bright);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.75rem;
}

.leitbild-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
}

.leitbild-quote {
  margin: 0;
  font-size: clamp(1.15rem, 2.1vw, 1.42rem);
  line-height: 1.65;
  font-weight: 500;
  color: #f1f5f9;
  position: relative;
}

/* ==========================================================================
   Bürgerdialog & Direktkontakt (#ihre-ideen)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }
}

.contact-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card-highlight {
  border: 2px solid var(--accent-teal);
}

.contact-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* Kontaktformular */
.contact-form {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-field .optional {
  font-weight: 500;
  color: var(--text-muted);
}

.form-field .required {
  color: var(--accent-dark);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--text-primary);
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(168, 110, 8, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field-checkbox {
  gap: 0.5rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--accent-dark);
}

.consent-label a {
  color: var(--accent-navy);
  font-weight: 700;
}

.btn-submit {
  align-self: flex-start;
}

.form-status {
  margin: 0;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
}

.form-status.is-success {
  background-color: var(--accent-teal-soft);
  border: 1px solid var(--accent-teal);
  color: #1f5b62;
}

.form-status.is-error {
  background-color: var(--accent-dark-soft);
  border: 1px solid var(--accent-dark);
  color: #7a5206;
}

/* Honeypot-Feld: für Menschen unsichtbar, nur für Bots sichtbar */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.dsgvo-micro-notice {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.dsgvo-micro-notice a {
  color: var(--text-secondary);
  font-weight: 600;
}

.contact-detail-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.contact-detail-item svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--accent-teal);
}

.contact-detail-item a {
  color: var(--accent-navy);
  font-weight: 700;
  text-decoration: none;
}

.contact-detail-item a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-light);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.social-link:hover {
  border-color: var(--accent-navy);
  background-color: var(--bg-white);
}

.contact-photo-wrapper {
  margin-top: 2.25rem;
}

/* ==========================================================================
   Unterseiten (Impressum & Datenschutz)
   ========================================================================== */
.legal-hero {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  padding-block: 3rem 2.5rem;
}

.legal-content {
  padding-block: 3.5rem 5rem;
}

.legal-card {
  max-width: 840px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .legal-card {
    padding: 3rem;
  }
}

.legal-card h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-navy);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.legal-card p,
.legal-card li {
  color: var(--text-secondary);
  font-size: 1rem;
}

.legal-card ul {
  padding-left: 1.25rem;
}

.placeholder-highlight {
  background-color: #fef3c7;
  color: #92400e;
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
  font-weight: 700;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--text-primary);
  color: #cbd5e1;
  padding-block: 3.25rem 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.5rem;
}

.footer-brand span {
  color: var(--accent-dark-bright);
}

.footer-text {
  margin: 0;
  font-size: 0.94rem;
  color: #94a3b8;
  max-width: 38ch;
}

.footer-heading {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-legal-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-nav a {
  color: #e2e8f0;
  font-weight: 700;
  text-decoration: none;
}

.footer-legal-nav a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}
