/* ==========================================================================
   Dämmsysteme Schemnitzer – Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2");
}

:root {
  --green: #1fa658;       /* Firmenfarbe – nur für große Schrift/Flächen mit weißem Text */
  --green-ink: #147a3f;   /* dunkleres Grün – erfüllt 4.5:1 auf Weiß, für kleinen Text/Buttons */
  --green-dark: #0f6634;  /* Hover/Fokus, noch dunkler */
  --green-bg-soft: #eaf7ef; /* helle grüne Fläche für Karten/Hintergründe */
  --text: #323335;
  --text-soft: #5b5d60;
  --white: #ffffff;
  --footer-bg: #1d1e20;
  --footer-text: #d9dbda;
  --border: #e3e5e4;
  --shadow: 0 8px 28px rgba(31, 42, 34, 0.12);
  --radius: 14px;
  --max-width: 1200px;
  --header-h: 72px;
  --header-h-mobile: 60px;
  --mobile-bar-h: 64px;
}

/* ---- Reset ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  min-width: 0;
  overflow-wrap: break-word;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: var(--green-ink);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
a:hover {
  color: var(--green-dark);
}
h1,
h2,
h3,
h4 {
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--text);
  hyphens: auto;
}
h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--green-ink);
}
h3 {
  font-size: 1.2rem;
}
p {
  margin: 0 0 1em;
}
ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}
button {
  font-family: inherit;
}

/* Sichtbare Fokuszustände */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip-Link */
.skip-link {
  position: absolute;
  left: 0;
  top: -50px;
  background: var(--green-ink);
  color: var(--white);
  padding: 0.75em 1.2em;
  z-index: 200;
  transition: top 0.2s ease;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  top: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--green-ink);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--green-ink);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--green-bg-soft);
  color: var(--green-dark);
  border-color: var(--green-bg-soft);
}
.btn-outline {
  background: transparent;
  color: var(--green-ink);
  border-color: var(--green-ink);
}
.btn-outline:hover {
  background: var(--green-ink);
  color: var(--white);
}

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--header-h-mobile);
}
@media (min-width: 900px) {
  .site-header {
    height: var(--header-h);
  }
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  height: 44px;
  width: auto;
}
@media (min-width: 900px) {
  .brand img {
    height: 56px;
  }
}

.main-nav {
  display: none;
}
@media (min-width: 900px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
  }
  .main-nav ul {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .main-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 3px solid transparent;
  }
  .main-nav a:hover {
    color: var(--green-ink);
  }
  .main-nav a[aria-current="page"] {
    color: var(--green-ink);
    border-bottom-color: var(--green);
    font-weight: 600;
  }
}
.header-call {
  display: none;
}
@media (min-width: 900px) {
  .header-call {
    display: inline-flex;
  }
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
}
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-panel {
  position: fixed;
  inset: var(--header-h-mobile) 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 1.5rem 20px;
  overflow-y: auto;
}
.mobile-panel[hidden] {
  display: none;
}
.mobile-panel ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-panel ul a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
}
.mobile-panel ul a[aria-current="page"] {
  color: var(--green-ink);
}
.mobile-panel .btn {
  display: flex;
  width: 100%;
  justify-content: center;
}
@media (min-width: 900px) {
  .mobile-panel {
    display: none !important;
  }
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  border-top: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}
.mobile-bottom-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9rem 0.5rem;
  text-decoration: none;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.mobile-bottom-bar .call {
  background: var(--white);
  color: var(--green-ink);
}
.mobile-bottom-bar .request {
  background: var(--green-ink);
  color: var(--white);
}
body.has-mobile-bar {
  padding-bottom: var(--mobile-bar-h);
}
@media (min-width: 900px) {
  .mobile-bottom-bar {
    display: none;
  }
  body.has-mobile-bar {
    padding-bottom: 0;
  }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0;
}
@media (min-width: 800px) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
    min-height: 560px;
  }
}
.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 799px) {
  .hero-media {
    min-height: 0;
  }
  .hero-media img {
    display: block;
    aspect-ratio: 16 / 10;
    height: auto;
    object-position: 60% 60%;
  }
}
.hero-copy {
  background: var(--green);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
}
.hero-copy .kicker {
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0;
}
.hero-copy h1 {
  color: var(--white);
  margin: 0;
}
.hero-copy .lead {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}
.hero-copy .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.6rem;
}

/* Seitenkopf (Unterseiten) */
.page-head {
  background: var(--green);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.page-head h1 {
  color: var(--white);
}
.page-head .subtitle {
  font-size: 1.3rem;
  font-weight: 700;
  max-width: 60ch;
  margin: 0;
}
.page-head.on-dark p,
.page-head.on-dark .subtitle {
  color: var(--white);
}

/* ---- Sektionen allgemein -------------------------------------------------- */
.section-intro {
  max-width: 74ch;
}
.section-intro p:last-child {
  margin-bottom: 0;
}

.grid-3 {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Material-Teaser-Karten (Home) */
.teaser-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.teaser-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.teaser-card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}
.teaser-card .body {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.teaser-card h3 {
  margin: 0;
  color: var(--green-ink);
}
.teaser-card .more {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}
.teaser-card .more svg {
  width: 1em;
  height: 1em;
}

/* ISOCELL-Sektion */
.isocell-block {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .isocell-block {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.isocell-block img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  padding: 1rem;
}

/* Gründe-Karten mit Icon */
.reason-card {
  background: var(--green-bg-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.reason-card .icon {
  width: 46px;
  height: 46px;
  color: var(--green-ink);
}
.reason-card h3 {
  margin: 0;
}
.reason-card p {
  margin: 0;
  color: var(--text-soft);
}

/* CTA mit Hintergrundbild ("Noch Fragen?") */
/* Teamfoto komplett zeigen (Köpfe + Oberkörper): Fläche im Bildformat, Text unten auf den dunklen Polos */
.cta-photo {
  position: relative;
  color: var(--white);
  overflow: hidden;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 16 / 9;
  min-height: 540px;
  background: #0f1410;
}
.cta-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  z-index: 0;
}
.cta-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 16, 0) 38%, rgba(15, 20, 16, 0.55) 62%, rgba(15, 20, 16, 0.9) 90%);
  z-index: 1;
}
.cta-photo .container {
  position: relative;
  z-index: 2;
  padding-top: 2rem;
  padding-bottom: clamp(2rem, 5vw, 4rem);
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}
.cta-photo h2 {
  color: var(--white);
}
.cta-photo p {
  font-size: 1.1rem;
  font-weight: 700;
}
.cta-photo .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}
/* Schmal: Foto vollständig oben, Text darunter auf dunklem Grund */
@media (max-width: 759px) {
  .cta-photo { aspect-ratio: auto; min-height: 0; }
  .cta-photo img { position: relative; height: auto; aspect-ratio: 4 / 3; }
  .cta-photo::after { inset: auto 0 0 0; height: 100%; background: linear-gradient(180deg, rgba(15, 20, 16, 0) 30%, #0f1410 calc(75vw + 1px)); }
  .cta-photo .container { margin-top: -3rem; }
}

/* CTA-Band (grün, schlicht) */
.cta-band {
  background: var(--green-ink);
  color: var(--white);
  text-align: center;
}
.cta-band h2 {
  color: var(--white);
}
.cta-band .actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---- Einblasdämmung: alternierende Abschnitte ---------------------------- */
.stof-block {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h-mobile) + 12px);
}
@media (min-width: 900px) {
  .stof-block {
    grid-template-columns: 1fr 1fr;
    scroll-margin-top: calc(var(--header-h) + 12px);
  }
  .stof-block.reverse .stof-media {
    order: 2;
  }
}
.stof-block img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.stof-block .kicker {
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 600;
  color: var(--green-ink);
  margin: 0 0 0.3em;
}

/* Timeline "Wie funktioniert die Einblasdämmung?" */
.timeline {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 800px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
  }
}
.timeline-step {
  position: relative;
  padding: 1.75rem 1.4rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.timeline-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-ink);
  color: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.timeline-step h3 {
  margin: 0 0 0.4em;
}
.timeline-step p {
  margin: 0;
  color: var(--text-soft);
}

.partner-block {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .partner-block {
    grid-template-columns: 0.7fr 1.3fr;
  }
}
.partner-block img {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--white);
}

/* ---- Team ------------------------------------------------------------ */
.team-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.team-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.team-card .photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.team-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.team-card .body {
  padding: 1.3rem 1.4rem 1.6rem;
}
.team-card h3 {
  color: var(--green-ink);
  font-size: 1.35rem;
  margin-bottom: 0.15em;
}
.team-card .role {
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 0.7em;
}
.team-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9em;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.team-card ul li {
  padding: 0.2em 0;
}
.team-card p:last-child {
  margin-bottom: 0;
}

/* ---- Kontakt ---------------------------------------------------------- */
.contact-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}
.contact-card {
  background: var(--green-bg-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-card h2 {
  margin-top: 0;
}
.contact-card dl {
  margin: 0;
}
.contact-card dt {
  font-weight: 700;
  margin-top: 1.1em;
}
.contact-card dd {
  margin: 0.15em 0 0;
}
.contact-card a {
  font-weight: 600;
}

.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.form-field {
  margin-bottom: 1.25rem;
}
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4em;
}
.form-field .optional {
  font-weight: 400;
  color: var(--text-soft);
  font-size: 0.9em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green-ink);
}
.form-field textarea {
  min-height: 140px;
  resize: vertical;
}
.form-hint {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 1.1em 0 0;
}
.form-check {
  display: flex;
  gap: 0.7em;
  align-items: flex-start;
  margin: 1.4rem 0;
}
.form-check input {
  margin-top: 0.3em;
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}
.form-error {
  color: #b3261e;
  font-size: 0.9rem;
  margin-top: 0.4em;
  display: none;
}
.form-field.invalid .form-error {
  display: block;
}
.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
  border-color: #b3261e;
}
.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  border-radius: var(--radius);
  padding: 1.5rem;
}
.form-status.success {
  background: var(--green-bg-soft);
  border: 1px solid var(--green);
}
.form-status.error {
  background: #fdecea;
  border: 1px solid #b3261e;
}
.form-status[hidden] {
  display: none;
}

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}
@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-brand img {
  display: block;
  height: 52px;
  width: auto;
  max-width: none;
  justify-self: start;
  align-self: start;
  background: var(--white);
  padding: 6px 12px;
  border-radius: 10px;
  box-sizing: content-box;
}
.footer-brand p {
  margin: 0;
  color: var(--footer-text);
}
.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1em;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 0.6em;
}
.site-footer a {
  color: var(--footer-text);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #a9aba9;
}
.footer-bottom .legal-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.footer-bottom .legal-links a {
  color: #a9aba9;
}
.footer-note {
  width: 100%;
  font-size: 0.8rem;
  color: #8b8d8b;
}

/* ---- Scroll-Einblendungen -------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Rechtstexte -------------------------------------------------------- */
.legal-content {
  max-width: 75ch;
}
.legal-content h2 {
  margin-top: 1.8em;
}
.legal-content h3 {
  margin-top: 1.3em;
}
.legal-content h4 {
  margin-top: 1.1em;
  font-size: 1.05rem;
}

/* ---- 404 ------------------------------------------------------------- */
.error-page {
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 0;
}
.error-page .code {
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--green-ink);
  margin: 0;
}

/* ---- Utility ------------------------------------------------------------ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.text-center {
  text-align: center;
}
.bg-soft {
  background: #f7f8f7;
}
