:root {
  --brand: #4d66aa;
  --brand-dark: #394d87;
  --brand-soft: #eef1f8;
  --ink: #20242a;
  --text: #333943;
  --muted: #626a75;
  --line: #dde1e7;
  --surface: #ffffff;
  --surface-alt: #f7f8fa;
  --success: #246b45;
  --success-bg: #eef8f2;
  --error: #9c2e2e;
  --error-bg: #fff2f2;
  --shadow-soft: 0 18px 55px rgba(32, 36, 42, 0.07);
  --radius: 8px;
  --shell: 72rem;
  --header-height: 74px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--brand-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(77, 102, 170, 0.42);
  outline-offset: 3px;
}

::selection {
  color: var(--ink);
  background: #dfe6f7;
}

h1,
h2,
h3 {
  margin: 0 0 0.75em;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.14;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.45rem, 5.2vw, 3.75rem);
  letter-spacing: -0.028em;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  letter-spacing: -0.022em;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

p {
  margin: 0 0 1rem;
}

address {
  font-style: normal;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 0.7rem 1rem;
  color: var(--surface);
  background: var(--brand-dark);
  border-radius: var(--radius);
  transform: translateY(-160%);
}

.skip-link:focus {
  color: var(--surface);
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(221, 225, 231, 0.92);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(32, 36, 42, 0.06);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: min(205px, 29vw);
  height: auto;
}

.brand-divider {
  width: 1px;
  height: 30px;
  flex: 0 0 auto;
  background: var(--line);
}

.brand-label {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.35vw, 1.2rem);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 0.75rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.45rem;
  left: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-lines {
  width: 20px;
  display: grid;
  gap: 4px;
}

.menu-lines span {
  width: 100%;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 17% 24%, rgba(77, 102, 170, 0.14), transparent 30%),
    radial-gradient(circle at 84% 14%, rgba(77, 102, 170, 0.1), transparent 28%),
    var(--surface);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--brand);
  opacity: 0.28;
}

.hero::before {
  top: 30%;
  left: 8%;
}

.hero::after {
  right: 9%;
  bottom: 22%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(5.2rem, 9.5vw, 7.8rem);
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: var(--brand);
}

.eyebrow-center {
  justify-content: center;
}

.hero-title-row {
  max-width: 66rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.hero-title-row h1 {
  margin-bottom: 0.55em;
}

.hero-square {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background: var(--brand);
}

.hero-lead {
  max-width: 49rem;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.button {
  min-height: 46px;
  padding: 0.72rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  color: var(--brand-dark);
  background: var(--surface);
  border-color: var(--brand);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--surface);
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.button-primary:disabled {
  color: var(--muted);
  background: var(--surface-alt);
  border-color: var(--line);
  cursor: wait;
  transform: none;
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: #bbc5df;
}

.button-square {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--brand);
}

.button-primary:hover .button-square,
.button-primary:focus-visible .button-square {
  background: var(--surface);
}

.trust-list {
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.5rem;
  color: var(--muted);
  font-size: 0.93rem;
  list-style: none;
}

.trust-list li {
  padding-left: 0.65rem;
  border-left: 2px solid var(--brand);
}

.section {
  padding-block: clamp(4rem, 7.5vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}

.section-soft {
  background: var(--surface-alt);
}

.section-heading {
  max-width: 49rem;
  margin-bottom: 2.6rem;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading-center {
  margin-inline: auto;
  text-align: center;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem 1.6rem;
}

.practice-card {
  padding-top: 1.15rem;
  border-top: 2px solid var(--brand);
}

.practice-card h3 {
  margin-bottom: 0.55rem;
}

.practice-card p {
  margin: 0;
  color: var(--muted);
}

.film-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.film-copy > p:not(.eyebrow) {
  max-width: 43rem;
}

.line-list {
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.5rem;
  list-style: none;
}

.line-list li {
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}

.contract-panel {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.contract-panel h3 {
  margin-bottom: 0.7rem;
}

.contract-panel > p:not(.eyebrow) {
  color: var(--muted);
}

.contract-panel .button {
  margin-top: 0.5rem;
}

.blog-tools {
  margin-bottom: 2.4rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.blog-search {
  width: min(100%, 38rem);
}

.blog-search label,
.field label {
  margin-bottom: 0.45rem;
  display: block;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 700;
}

.search-row {
  display: flex;
  gap: 0.65rem;
}

input,
textarea {
  width: 100%;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #cbd1da;
  border-radius: var(--radius);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input {
  min-height: 48px;
  padding: 0.65rem 0.8rem;
}

textarea {
  min-height: 10rem;
  padding: 0.8rem;
  line-height: 1.55;
  resize: vertical;
}

input:hover,
textarea:hover {
  border-color: #aeb6c2;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(77, 102, 170, 0.15);
}

.field-note,
.required-note {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

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

.post-card {
  min-height: 260px;
  padding: 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius);
}

.post-meta {
  margin-bottom: 0.75rem;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.post-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.48rem;
}

.post-card p {
  color: var(--muted);
}

.post-card .text-link {
  margin-top: auto;
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(77, 102, 170, 0.4);
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.post-skeleton {
  overflow: hidden;
  border-top-color: #ccd3e5;
}

.post-skeleton span {
  height: 12px;
  margin-bottom: 0.8rem;
  display: block;
  background: linear-gradient(90deg, #eef0f3 25%, #f7f8fa 50%, #eef0f3 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: shimmer 1.5s infinite linear;
}

.post-skeleton span:nth-child(1) { width: 46%; }
.post-skeleton span:nth-child(2) { width: 88%; height: 23px; margin-top: 0.5rem; }
.post-skeleton span:nth-child(3) { width: 100%; }
.post-skeleton span:nth-child(4) { width: 70%; }

@keyframes shimmer {
  to { background-position: -200% 0; }
}

.blog-fallback {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.4rem;
  color: var(--muted);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.portrait-wrap {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #ecebe8;
  border-radius: var(--radius);
}

.portrait-wrap::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 18px;
  right: 18px;
  width: 13px;
  height: 13px;
  background: var(--brand);
}

.portrait-wrap img {
  width: 100%;
  max-height: 38rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
}

.about-intro {
  max-width: 42rem;
  font-size: 1.06rem;
}

.timeline {
  margin: 2rem 0 0;
}

.timeline div {
  padding: 0.72rem 0;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.timeline dt {
  color: var(--brand-dark);
  font-weight: 700;
}

.timeline dd {
  margin: 0;
}

.social-block {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.social-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  background: var(--surface);
  border: 1px solid #c9d0df;
  border-radius: var(--radius);
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--surface);
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
}

.social-links svg {
  width: 19px;
  height: 19px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}

.faq-group h3 {
  margin-bottom: 0.8rem;
}

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

.faq-group details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq-group summary {
  position: relative;
  min-height: 60px;
  padding: 1rem 2.4rem 1rem 0;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

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

.faq-group summary::before,
.faq-group summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.2rem;
  width: 14px;
  height: 2px;
  background: var(--brand);
  transition: transform 160ms ease;
}

.faq-group summary::after {
  transform: rotate(90deg);
}

.faq-group details[open] summary::after {
  transform: rotate(0);
}

.faq-answer {
  padding: 0 2rem 1.1rem 0;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.faq-group > .text-link {
  margin-top: 1.3rem;
}

.contact-section {
  background: linear-gradient(180deg, #fbfcfe 0%, var(--surface) 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-details {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

.contact-details > div {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.contact-details span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.contact-details a,
.contact-details address {
  color: var(--ink);
}

.contact-form {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  margin-bottom: 1rem;
}

.form-row .field {
  margin-bottom: 0;
}

.optional {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.field-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-check {
  margin-top: 0.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

.privacy-check input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 0.14rem;
  accent-color: var(--brand);
}

.submit-button {
  margin-top: 1.1rem;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: var(--success);
  background: var(--success-bg);
  border: 1px solid #b9ddc7;
}

.form-status.is-error {
  color: var(--error);
  background: var(--error-bg);
  border: 1px solid #ebc0c0;
}

.site-footer {
  padding-block: 2.2rem;
  color: var(--muted);
  background: var(--surface-alt);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 1.5rem 2rem;
  align-items: center;
  font-size: 0.88rem;
}

.footer-inner > div {
  display: grid;
}

.footer-inner strong {
  color: var(--ink);
}

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

/* Rechtliche Unterseiten */
.legal-main {
  min-height: 65vh;
}

.legal-hero {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

.legal-hero .shell {
  max-width: 54rem;
}

.legal-content {
  width: min(calc(100% - 64px), 54rem);
  margin-inline: auto;
  padding-block: clamp(3.5rem, 7vw, 5rem);
}

.legal-content h2 {
  margin-top: 2.2rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.legal-content h3 {
  margin-top: 1.7rem;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
}

.legal-content ul {
  padding-left: 1.3rem;
}

.legal-content li + li {
  margin-top: 0.35rem;
}

.legal-note {
  margin-bottom: 2rem;
  padding: 1rem 1.1rem;
  color: var(--muted);
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
}

/* Ausführliche FAQ-Unterseiten */
.faq-page-main {
  min-height: 65vh;
}

.faq-page-hero {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

.faq-page-hero .shell {
  max-width: 62rem;
}

.faq-page-hero h1 {
  max-width: 54rem;
}

.faq-page-intro {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.faq-stand {
  width: fit-content;
  margin: 1.4rem 0 0;
  padding: 0.5rem 0.75rem;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  font-size: 0.88rem;
  font-weight: 700;
}

.faq-page-layout {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
  padding-block: clamp(3.5rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: minmax(210px, 0.3fr) minmax(0, 0.7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.faq-page-toc {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  padding: 1.25rem;
  background: var(--surface-alt);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
}

.faq-page-toc strong {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.faq-page-toc ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  list-style: none;
}

.faq-page-toc a {
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 650;
}

.faq-page-content {
  min-width: 0;
}

.faq-page-section {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.faq-page-section + .faq-page-section {
  margin-top: clamp(3rem, 7vw, 5rem);
}

.faq-page-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.faq-page-section .faq-answer {
  max-width: 50rem;
  padding-right: 2.4rem;
}

.faq-page-section .faq-answer p + p,
.faq-page-section .faq-answer p + ul,
.faq-page-section .faq-answer ul + p,
.faq-page-section .faq-answer ul + ul {
  margin-top: 0.9rem;
}

.faq-page-section .faq-answer ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.faq-page-section .faq-answer li + li {
  margin-top: 0.45rem;
}

.faq-page-section .faq-answer h3 {
  margin: 1.15rem 0 0.4rem;
  font-family: var(--sans);
  font-size: 1rem;
}

.faq-page-note {
  margin: 3rem 0 0;
  padding: 1rem 1.1rem;
  color: var(--muted);
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
}

.faq-page-crosslink {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
}

@media (max-width: 1080px) {
  :root {
    --header-height: 68px;
  }

  .shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .brand img {
    width: min(190px, 34vw);
  }

  .brand-label {
    font-size: 0.86rem;
  }

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

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: calc(100vh - var(--header-height));
    padding: 0.7rem 20px 1.2rem;
    display: none;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.985);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(32, 36, 42, 0.08);
  }

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

  .main-nav a {
    min-height: 48px;
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .practice-grid,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .film-layout {
    grid-template-columns: 1fr;
  }

  .contract-panel {
    max-width: 44rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    max-width: 46rem;
  }

  .faq-page-layout {
    grid-template-columns: 1fr;
  }

  .faq-page-toc {
    position: static;
  }

  .faq-page-toc ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  body {
    font-size: 16px;
  }

  .shell,
  .legal-content,
  .faq-page-layout {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-inner {
    gap: 0.7rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand img {
    width: min(175px, 52vw);
  }

  .brand-divider,
  .brand-label {
    display: none;
  }

  .hero-inner {
    padding-block: 4.4rem;
  }

  .hero-title-row {
    gap: 0.6rem;
  }

  .hero-title-row .hero-square:last-child {
    display: none;
  }

  .hero-square {
    width: 10px;
    height: 10px;
  }

  .hero-actions,
  .trust-list {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-list {
    width: fit-content;
    margin-inline: auto;
    text-align: left;
  }

  .practice-grid,
  .post-grid,
  .about-layout,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .line-list {
    grid-template-columns: 1fr;
  }

  .blog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-tools > .button {
    width: 100%;
  }

  .search-row {
    align-items: stretch;
    flex-direction: column;
  }

  .about-copy {
    order: -1;
  }

  .portrait-wrap {
    max-width: 34rem;
  }

  .faq-grid {
    gap: 3rem;
  }

  .faq-page-toc ul {
    grid-template-columns: 1fr;
  }

  .faq-page-section .faq-answer {
    padding-right: 1.25rem;
  }

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

  .form-row .field + .field {
    margin-top: 1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  .shell,
  .legal-content,
  .faq-page-layout {
    width: min(calc(100% - 24px), var(--shell));
  }

  .brand img {
    width: min(160px, 56vw);
  }

  .contact-form,
  .contract-panel {
    padding: 1.15rem;
  }

  .timeline div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .blog-tools,
  .social-block,
  .contact-form,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .section,
  .legal-content,
  .faq-page-layout {
    padding-block: 1.5rem;
  }

  a {
    color: inherit;
  }
}
