/* ==========================================================
   Zahn am NOK Theme
   ========================================================== */

/* ----------------------------------------------------------
   1. Schriftarten
   ---------------------------------------------------------- */

@font-face {
  font-family: "PacificoLocal";
  src: url("../fonts/Pacifico-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "ComfortaaLocal";
  src: url("../fonts/Comfortaa-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}


/* ----------------------------------------------------------
   2. Variablen
   ---------------------------------------------------------- */

:root {
  --brand-blue: #013e77;
  --brand-red: #db544d;
  --brand-gray: #d1d1d1;

  --text-main: #22313f;
  --text-muted: #667085;

  --bg-main: #f7fbfc;
  --bg-card: rgba(255, 255, 255, 0.78);
  --bg-soft: #eef5f7;

  --line: #dbe7ea;
  --shadow: 0 18px 45px rgba(1, 62, 119, 0.10);

  --radius: 24px;
  --container: 1120px;
}


/* ----------------------------------------------------------
   3. Basis
   ---------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  font-family: "ComfortaaLocal", system-ui, sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.65;
}

/* Hintergrund: Rendsburger Eisenbahnhochbrücke */
body::before {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 75px;
  height: 45vh;
  min-height: 320px;
  max-height: 620px;
  background: url("/user/themes/zahnamnok/assets/img/nok-hochbruecke-bg.svg") center bottom / cover no-repeat;
  opacity: 0.15;
  filter: grayscale(100%);
  z-index: 0;
  pointer-events: none;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: var(--brand-blue);
}

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}


/* ----------------------------------------------------------
   4. Typografie
   ---------------------------------------------------------- */

.page-title,
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--brand-blue);
}

h1,
h2,
h3 {
  color: var(--brand-blue);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.15;
  margin-top: 2rem;
}

h3 {
  line-height: 1.25;
}

.lead {
  max-width: 64ch;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.script {
  font-family: "PacificoLocal", cursive;
  color: var(--brand-red);
  font-weight: 400;
}

.eyebrow {
  color: var(--brand-red);
  font-weight: 700;
}

.muted {
  color: var(--text-muted);
}


/* ----------------------------------------------------------
   5. Header und Navigation
   ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 64px;
  width: auto;
}

.menu {
  display: flex;
  gap: 18px;
  align-items: center;
}

.menu a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.menu a:hover {
  color: var(--brand-blue);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-blue);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}


/* ----------------------------------------------------------
   6. Buttons
   ---------------------------------------------------------- */

.button,
.menu .cta,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  background: var(--brand-blue);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button:hover,
.menu .cta:hover,
button[type="submit"]:hover {
  background: var(--brand-red);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: var(--brand-blue);
  box-shadow: inset 0 0 0 1px var(--line);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.section-action {
  margin-top: 28px;
}


/* ----------------------------------------------------------
   7. Layout und Raster
   ---------------------------------------------------------- */

.section {
  padding: 56px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}


/* ----------------------------------------------------------
   8. Hero
   ---------------------------------------------------------- */

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: var(--bg-soft);
  color: var(--text-main);
  font-weight: 600;
}

.hero-photo-card {
  padding: 0;
  overflow: hidden;
}

.hero-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}


/* ----------------------------------------------------------
   9. Karten
   ---------------------------------------------------------- */

.card,
.hero-card,
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  backdrop-filter: blur(4px);
}

.content-card {
  margin: 28px 0;
}

.card h3 {
  margin-top: 0;
}

.card-icon {
  font-size: 2rem;
  color: var(--brand-red);
}


/* ----------------------------------------------------------
   10. Leistungen
   ---------------------------------------------------------- */

.grid-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--bg-soft);
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h2,
.service-card h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--brand-blue);
  overflow-wrap: break-word;
}

.service-card p {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.6;
}

.service-card .button {
  margin-top: auto;
  align-self: flex-start;
}


/* ----------------------------------------------------------
   11. Team
   ---------------------------------------------------------- */

.team-card {
  padding: 0;
  overflow: hidden;
}

.team-photo {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: 0;
}

.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
}

.focus-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: var(--bg-soft);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.quote {
  color: var(--text-main);
}


/* ----------------------------------------------------------
   12. Bilder und Galerie
   ---------------------------------------------------------- */

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.image-card {
  padding: 0;
  overflow: hidden;
}

.image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.image-card-body {
  padding: 22px;
}


/* ----------------------------------------------------------
   13. Kontakt und Öffnungszeiten
   ---------------------------------------------------------- */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin: 0.35rem 0;
}

.phone-large {
  margin-top: 16px;
  font-size: 1.15rem;
  font-weight: 700;
}

.notice {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.opening-hours {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.opening-hours td {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}

.opening-hours td:last-child {
  text-align: right;
  font-weight: 600;
}

.form-field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  background: #ffffff;
}

.form-field textarea {
  min-height: 150px;
}

.form-card input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

.form-card label {
  line-height: 1.5;
}

.required {
  color: var(--brand-red);
}


/* ----------------------------------------------------------
   14. OpenStreetMap
   ---------------------------------------------------------- */

.map {
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}


/* ----------------------------------------------------------
   15. Footer
   ---------------------------------------------------------- */

.site-footer {
  margin-top: 60px;
  padding: 42px 0;
  background: var(--brand-blue);
  color: #ffffff;
}

.site-footer a {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer-logo {
  width: 220px;
  max-width: 100%;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
}


/* ----------------------------------------------------------
   16. Mobile Ansicht
   ---------------------------------------------------------- */

@media (max-width: 1100px) {
  .grid-services,
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 850px) {
  body::before {
    height: 40vh;
    min-height: 240px;
    opacity: 0.34;
    background-size: auto 100%;
  }

  .nav {
    position: relative;
  }

  .brand img {
    height: 52px;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .menu a:hover {
    background: var(--bg-soft);
  }

  .menu .cta {
    margin-top: 8px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-services,
  .image-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .page-title,
  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .service-card h2,
  .service-card h3 {
    font-size: 1.35rem;
  }
}

/* Hero-Schrift passend zum Logo */

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-name{
    font-family:"PacificoLocal",cursive;
    color:var(--brand-blue);

    font-size:clamp(2.8rem,4vw,4.5rem);
    line-height:1.05;

    font-weight:400;

    letter-spacing:0.02em;

    margin:0;
}
.hero-subtitle{
    color:var(--brand-red);

    font-size:clamp(1.3rem,2vw,2.2rem);

    font-weight:400;
    line-height:1.15;

    margin-top:0.25rem;
}

/* Team-Card Innenabstände */

.team-card h3,
.team-card .muted,
.team-card .focus-list,
.team-card .quote {
  margin-left: 28px;
  margin-right: 28px;
}

.team-card h3 {
  margin-top: 22px;
  margin-bottom: 8px;
}

.team-card .muted {
  margin-top: 0;
  margin-bottom: 18px;
}

.team-card .focus-list {
  margin-top: 0;
  margin-bottom: 20px;
  padding-left: 0;
  list-style: none;
}

.team-card .quote {
  margin-top: 20px;
  margin-bottom: 28px;
}

.team-card > :last-child {
  margin-bottom: 28px;
}


/* ==========================================================
   Ausführliche Zahnarztprofile
   ========================================================== */

.dentist-list {
  display: grid;
  gap: 48px;
}

.dentist-profile {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.6fr);
  gap: 42px;

  padding: 32px;

  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}

.dentist-photo {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
}

.dentist-profile-header {
  padding-top: 20px;
}

.dentist-profile-header h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
}

.dentist-role {
  margin: 0 0 18px;
}

.dentist-profile-details > h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.dentist-profile-details > h3:not(:first-child) {
  margin-top: 32px;
}


/* Werdegang */

.career-table {
  border-top: 1px solid var(--line);
}

.career-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--line);
}

.career-period,
.career-text {
  padding: 12px 14px;
}

.career-period {
  font-weight: 600;
  color: var(--brand-blue);
  border-right: 1px solid var(--line);
}


/* Qualifikationen */

.qualification-list {
  margin: 0;
  padding-left: 1.25rem;
}

.qualification-list li {
  margin-bottom: 8px;
}


/* Persönliches Zitat */

.dentist-quote {
  margin: 32px 0 0;
  padding: 20px 24px;

  border-left: 4px solid var(--brand-red);

  background: var(--bg-soft);
  border-radius: 0 16px 16px 0;

  font-style: italic;
  color: var(--text-main);
}


/* Tablet / Mobil */

@media (max-width: 900px) {

  .dentist-profile {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dentist-profile-main {
    max-width: 480px;
  }

}

@media (max-width: 600px) {

  .dentist-profile {
    padding: 20px;
  }

  .career-row {
    grid-template-columns: 1fr;
  }

  .career-period {
    padding-bottom: 4px;
    border-right: 0;
  }

  .career-text {
    padding-top: 4px;
  }

}

/* ==========================================================
   Teamseite – Bereichseinleitungen
   ========================================================== */

/*
 * Die allgemeinen .lead-Texte sind absichtlich in der
 * Zeilenbreite begrenzt.
 *
 * Auf der Teamseite dürfen die Einleitungen zu den
 * Zahnärzten und zum Praxisteam dagegen die gesamte
 * verfügbare Breite des Containers nutzen.
 */
.team-section-header {
  width: 100%;
  margin-bottom: 24px;
}

.team-section-header .lead {
  max-width: none;
  width: 100%;
}

/* ==========================================================
   Startseite – Hero ohne Praxisfoto
   ========================================================== */

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

.hero-grid > div:first-child {
  max-width: 850px;
}


/* ==========================================================
   Rechtstexte – Impressum und Datenschutz
   ========================================================== */

.legal-content {
  width: min(100%, 920px);
}

.legal-title {
  margin-bottom: 2.5rem;
}

.legal-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-main);
}

.legal-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;

  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.25;
}

.legal-body h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;

  font-size: 1.15rem;
}

.legal-body p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.legal-body ul,
.legal-body ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.legal-body li {
  margin-bottom: 0.35rem;
}

.legal-body strong {
  color: var(--text-main);
}

.legal-body a {
  text-underline-offset: 0.15em;
}


/* Rechtstexte auf kleinen Displays */

@media (max-width: 700px) {

  .legal-title {
    margin-bottom: 2rem;
  }

  .legal-body h2 {
    margin-top: 2rem;
  }

}

/* Hinweis unter der OpenStreetMap-Karte */
.map-notice {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Hinweis unter der OpenStreetMap-Karte */
.map-notice {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* BEGIN SERVICE DETAIL */

/* ==========================================================
   Leistungsdetailseiten
   ========================================================== */

.service-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 64px;
}

.service-detail-hero--no-image {
  grid-template-columns: minmax(0, 820px);
}

.service-lead {
  max-width: 70ch;
}

.service-detail-image-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.service-detail-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-sections {
  display: grid;
  gap: 14px;
}

.service-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.service-section:first-child {
  border-top: 0;
}

.service-section > h2 {
  max-width: 900px;
  margin-top: 0;
}

.service-section-text {
  max-width: 880px;
}

.service-section-text p {
  margin: 0;
}


/* ----------------------------------------------------------
   Info-Karten
   ---------------------------------------------------------- */

.service-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.service-info-card {
  box-shadow: none;
}

.service-info-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.service-info-card p {
  margin-bottom: 0;
}


/* ----------------------------------------------------------
   Listen
   ---------------------------------------------------------- */

.service-check-list {
  display: grid;
  gap: 10px;
  max-width: 880px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-check-list li {
  position: relative;
  padding-left: 28px;
}

.service-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-red);
  font-weight: 700;
}


/* ----------------------------------------------------------
   Behandlungsablauf
   ---------------------------------------------------------- */

.service-steps {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin-top: 26px;
}

.service-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}

.service-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
}

.service-step h3 {
  margin: 0 0 5px;
  font-size: 1.15rem;
}

.service-step p {
  margin: 0;
}


/* ----------------------------------------------------------
   FAQ
   ---------------------------------------------------------- */

.service-faq {
  margin-top: 64px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.service-faq > h2 {
  margin-top: 0;
}

.faq-list {
  max-width: 900px;
  margin-top: 24px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 20px 42px 20px 0;
  cursor: pointer;
  color: var(--brand-blue);
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 14px;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--brand-red);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 820px;
  padding: 0 0 20px;
}

.faq-answer p {
  margin: 0;
}


/* ----------------------------------------------------------
   Verwandte Leistungen
   ---------------------------------------------------------- */

.service-related {
  margin-top: 64px;
}

.service-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-card);
  text-decoration: none;
}

.service-related-card strong {
  color: var(--brand-blue);
}

.service-related-card span {
  color: var(--text-main);
  font-size: 0.93rem;
}

.service-related-card:hover {
  border-color: var(--brand-blue);
}


/* ----------------------------------------------------------
   CTA
   ---------------------------------------------------------- */

.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 64px;
}

.service-cta h2 {
  margin-top: 0;
}

.service-cta p {
  max-width: 680px;
  margin-bottom: 0;
}

.service-cta-actions {
  flex: 0 0 auto;
}

.service-back {
  margin-top: 30px;
}


/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width: 900px) {

  .service-detail-hero,
  .service-detail-hero--no-image {
    grid-template-columns: 1fr;
  }

  .service-detail-image-wrap {
    max-width: 650px;
  }

  .service-info-grid,
  .service-related-grid {
    grid-template-columns: 1fr;
  }

  .service-cta {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 600px) {

  .service-detail-hero {
    gap: 28px;
    margin-bottom: 36px;
  }

  .service-section {
    padding: 26px 0;
  }

  .service-step {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .service-step-number {
    width: 36px;
    height: 36px;
  }

}

/* END SERVICE DETAIL */


/* ==========================================================
   404 – Seite nicht gefunden
   ========================================================== */

.error-page {
  min-height: 65vh;
  display: flex;
  align-items: center;
}

.error-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(3rem, 8vw, 7rem) 1rem;
}

.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  line-height: .85;
  font-weight: 700;
  color: var(--primary, #013e77);
  opacity: .12;
  margin-bottom: 1.5rem;
}

.error-content h1 {
  margin-bottom: 1.25rem;
}

.error-content .lead {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}
