@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-400-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --red: #d80828;
  --red-dark: #aa071f;
  --ink: #202426;
  --ink-soft: #414648;
  --muted: #676b6c;
  --paper: #f6f3ed;
  --paper-deep: #ebe6dc;
  --white: #fffdfa;
  --line: #d5d0c6;
  --line-dark: #aaa69f;
  --success: #1f6c4d;
  --error: #a20b20;
  --site-width: 1600px;
  --content-width: 1320px;
  --text-width: 740px;
  --header-height: 92px;
  --space-section: clamp(5.25rem, 8vw, 9.5rem);
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

p,
ul,
ol,
blockquote {
  margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 0.55em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 5.4vw, 6rem);
}

h2 {
  font-size: clamp(2.25rem, 3.7vw, 4.5rem);
}

h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: -0.025em;
}

h4 {
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

::selection {
  background: rgba(216, 8, 40, 0.16);
}

:focus-visible {
  outline: 3px solid rgba(216, 8, 40, 0.5);
  outline-offset: 4px;
}

.skip-link {
  background: var(--ink);
  color: white;
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: -10rem;
  z-index: 999;
}

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

.site-shell {
  margin-inline: auto;
  max-width: var(--site-width);
  width: 100%;
}

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

.narrow {
  max-width: 880px;
}

.text-width {
  max-width: var(--text-width);
}

.site-header {
  background: rgba(255, 253, 250, 0.96);
  border-bottom: 1px solid transparent;
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  transition: border-color 180ms ease, background 180ms ease;
  z-index: 100;
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 2.5rem;
  height: var(--header-height);
  justify-content: space-between;
  margin-inline: auto;
  max-width: var(--site-width);
  padding-inline: clamp(1.25rem, 3vw, 3.5rem);
}

.brand {
  flex: 0 0 auto;
  width: clamp(186px, 18vw, 244px);
}

.brand img {
  width: 100%;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.main-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:not(.nav-cta)::after {
  background: var(--red);
  bottom: -0.52rem;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--red);
  color: white;
  padding: 0.72rem 1rem;
}

.nav-cta:hover {
  background: var(--red-dark);
}

.menu-toggle {
  align-items: center;
  background: none;
  border: 0;
  color: var(--ink);
  display: none;
  height: 48px;
  justify-content: center;
  padding: 0;
  width: 48px;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  background: currentColor;
  height: 2px;
  position: relative;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 25px;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  left: 0;
  position: absolute;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  top: 8px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.button,
.button-secondary,
.button-text {
  align-items: center;
  border: 1px solid var(--red);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 600;
  gap: 0.7rem;
  justify-content: center;
  letter-spacing: 0.04em;
  min-height: 50px;
  padding: 0.72rem 1.25rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button {
  background: var(--red);
  color: white;
}

.button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.button-text {
  border-color: transparent;
  color: var(--red);
  justify-content: flex-start;
  min-height: 0;
  padding: 0;
  text-transform: none;
}

.button-text::after {
  content: "→";
  transition: transform 160ms ease;
}

.button-text:hover::after {
  transform: translateX(4px);
}

.hero {
  background: var(--paper);
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  margin-inline: auto;
  max-width: var(--site-width);
  min-height: calc(100svh - var(--header-height));
  width: 100%;
}

.hero-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 4vw, 4rem);
}

.hero-copy h1 {
  font-size: clamp(3.3rem, 4.4vw, 4.75rem);
  max-width: 880px;
}

.hero-copy .lead {
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.4vw, 1.35rem);
  margin-bottom: 2.2rem;
  max-width: 660px;
}

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

.hero-media {
  min-height: 540px;
  overflow: hidden;
  position: relative;
}

.hero-media::after,
.page-visual::after {
  background: linear-gradient(90deg, rgba(32, 36, 38, 0.06), transparent 44%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-media img,
.page-visual img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-media img {
  object-position: center;
}

.hero-facts {
  align-items: center;
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.25rem, 4vw, 4rem);
  width: 100%;
}

.hero-fact {
  padding: 1.15rem 1.2rem;
}

.hero-fact + .hero-fact {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-fact strong {
  display: block;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 400;
  line-height: 1.1;
}

.hero-fact span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section {
  padding-block: var(--space-section);
}

.section-paper {
  background: var(--paper);
}

.section-dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: white;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-heading > p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 0.6rem;
  max-width: 620px;
}

.section-dark .section-heading > p {
  color: rgba(255, 255, 255, 0.86);
}

.services {
  border-top: 1px solid var(--line-dark);
}

.service-row {
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: clamp(2rem, 5vw, 6rem);
  grid-template-columns: 0.86fr 1.14fr;
  padding-block: clamp(2.5rem, 5vw, 5rem);
}

.service-row:nth-child(even) {
  grid-template-columns: 0.86fr 1.14fr;
}

.service-index {
  color: var(--red);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(4.5rem, 8vw, 9rem);
  font-weight: 400;
  line-height: 0.8;
}

.service-copy p {
  color: var(--muted);
  max-width: 680px;
}

.practice-list {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.practice-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 2.5rem 1fr;
  padding: 2.25rem 2rem 2.25rem 0;
}

.practice-item:nth-child(even) {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}

.practice-item span {
  color: var(--red);
  font-family: "Lora", Georgia, serif;
  font-size: 1.2rem;
}

.practice-item h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.practice-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.profile-grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 8vw, 9rem);
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
}

.profile-image-wrap {
  justify-self: center;
  max-width: 340px;
  position: relative;
  width: 100%;
}

.profile-image {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  position: relative;
  width: 100%;
}

.profile-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.profile-copy blockquote {
  border-left: 2px solid var(--red);
  color: var(--ink);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-style: italic;
  line-height: 1.45;
  margin: 2.5rem 0;
  padding-left: 1.5rem;
}

.qualifications {
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 0 2rem;
  grid-template-columns: 1fr;
  list-style: none;
  margin-top: 2.5rem;
  padding: 0;
}

.qualifications li {
  border-bottom: 1px solid var(--line-dark);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.9rem 0 0.9rem 1.4rem;
  position: relative;
  text-transform: uppercase;
}

.qualifications li::before {
  color: var(--red);
  content: "✓";
  left: 0;
  position: absolute;
}

.partners-section {
  border-top: 1px solid var(--line);
}

.partner-list {
  border-bottom: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: clamp(2.5rem, 5vw, 5rem) 0 0;
  padding: 0;
}

.partner-list li {
  align-items: center;
  color: var(--muted);
  display: flex;
  justify-content: center;
  min-height: clamp(9rem, 14vw, 13rem);
  padding: 2rem;
}

.partner-list li + li {
  border-left: 1px solid var(--line-dark);
}

.partner-list span {
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.process-list {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  counter-reset: process;
}

.process-step {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  counter-increment: process;
  display: grid;
  gap: 2rem;
  grid-template-columns: 5rem 0.8fr 1.2fr;
  padding-block: 2.5rem;
}

.process-step::before {
  color: var(--red);
  content: "0" counter(process);
  font-family: "Lora", Georgia, serif;
  font-size: 1.7rem;
}

.process-step h3 {
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}

.process-step p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
  max-width: 580px;
}

.contact-grid {
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: 1.15fr 0.85fr;
}

.contact-intro > p {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 650px;
}

.contact-data {
  border-top: 1px solid var(--line-dark);
  margin-top: 2.5rem;
}

.contact-line {
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  gap: 1rem;
  grid-template-columns: 8rem 1fr;
  padding-block: 1rem;
}

.contact-line dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-line dd {
  margin: 0;
}

.download-block {
  align-self: end;
  background: var(--paper-deep);
  padding: clamp(2rem, 4vw, 3.5rem);
}

.download-block p {
  color: var(--muted);
}

.page-hero {
  background: var(--paper);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  margin-inline: auto;
  max-width: var(--site-width);
  min-height: 680px;
  width: 100%;
}

.page-hero-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 4vw, 4rem);
}

.page-hero-copy h1 {
  font-size: clamp(3.2rem, 4.6vw, 5.2rem);
}

.page-hero-copy p {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.4vw, 1.3rem);
  max-width: 650px;
}

.page-hero-copy .hero-actions {
  margin-top: 1.25rem;
}

.page-visual {
  min-height: 540px;
  overflow: hidden;
  position: relative;
}

.page-scheidung .page-visual img {
  object-position: right center;
}

.page-scheidung .section-heading {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
}

.page-scheidung .intro-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.intro-grid {
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.intro-copy {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 760px;
}

.check-list {
  border-top: 1px solid var(--line);
  list-style: none;
  margin-top: 2.5rem;
  padding: 0;
}

.check-list li {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0 1rem 2.2rem;
  position: relative;
}

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

.notice {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
}

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

.notice-danger {
  background: #f6e9e9;
  border-color: #d8babc;
}

.steps-light {
  border-top: 1px solid var(--line-dark);
  counter-reset: lightsteps;
}

.step-light {
  border-bottom: 1px solid var(--line-dark);
  counter-increment: lightsteps;
  display: grid;
  gap: 2rem;
  grid-template-columns: 5rem 0.9fr 1.1fr;
  padding-block: 2.1rem;
}

.step-light::before {
  color: var(--red);
  content: "0" counter(lightsteps);
  font-family: "Lora", Georgia, serif;
  font-size: 1.55rem;
}

.step-light h3 {
  font-size: clamp(1.3rem, 2vw, 1.85rem);
}

.step-light p {
  color: var(--muted);
}

.form-section {
  background: var(--paper);
}

.form-shell {
  background: var(--white);
  border: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  min-height: 680px;
}

.form-shell.is-success {
  grid-template-columns: minmax(0, 1fr);
}

.form-progress {
  background: var(--ink);
  color: white;
  padding: clamp(2rem, 4vw, 3rem);
}

.progress-title {
  font-family: "Lora", Georgia, serif;
  font-size: 1.45rem;
  margin-bottom: 2rem;
}

.progress-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.progress-list li {
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  display: grid;
  font-size: 0.86rem;
  gap: 0.8rem;
  grid-template-columns: 2rem 1fr;
  line-height: 1.3;
  padding: 0.85rem 0;
}

.progress-list li::before {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  content: attr(data-step-number);
  display: flex;
  height: 2rem;
  justify-content: center;
  width: 2rem;
}

.progress-list li.is-active {
  color: white;
}

.progress-list li.is-active::before,
.progress-list li.is-complete::before {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.progress-list li.is-complete {
  color: rgba(255, 255, 255, 0.86);
}

.intake-form {
  padding: clamp(2rem, 5vw, 5rem);
}

.form-step {
  border: 0;
  margin: 0;
  min-inline-size: 0;
  padding: 0;
}

.form-step[hidden] {
  display: none;
}

.form-step legend {
  float: left;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  width: 100%;
}

.form-step legend + * {
  clear: both;
}

.step-intro {
  color: var(--muted);
  margin-bottom: 2rem;
}

.field-grid {
  display: grid;
  gap: 1.35rem 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.group-label {
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}

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

.field input,
.field select,
.field textarea {
  background: white;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  color: var(--ink);
  min-height: 52px;
  padding: 0.72rem 0.85rem;
  width: 100%;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  outline: 2px solid rgba(216, 8, 40, 0.14);
}

.field small,
.field-hint {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.choice-group {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice {
  align-items: center;
  border: 1px solid var(--line-dark);
  display: flex;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.75rem 0.85rem;
}

.choice:has(input:checked) {
  background: rgba(216, 8, 40, 0.06);
  border-color: var(--red);
}

.choice input {
  accent-color: var(--red);
  height: 1.05rem;
  margin: 0;
  min-height: 0;
  padding: 0;
  width: 1.05rem;
}

.choice span {
  font-size: 0.9rem;
}

[data-conditional][hidden] {
  display: none;
}

.file-input {
  border: 1px dashed var(--line-dark);
  padding: 1rem;
}

.file-input input {
  border: 0;
  min-height: auto;
  padding: 0;
}

.form-actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

.action-right {
  display: flex;
  gap: 0.75rem;
  margin-left: auto;
}

.summary {
  border-top: 1px solid var(--line-dark);
  margin-top: 2rem;
}

.summary-confirmation {
  margin-top: 1.5rem;
}

.summary-confirmation a {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.form-trap {
  height: 1px !important;
  left: -10000px !important;
  overflow: hidden !important;
  position: absolute !important;
  top: auto !important;
  width: 1px !important;
}

.form-status {
  color: var(--ink-soft);
  font-size: 0.86rem;
  margin: 1.25rem 0 0;
  min-height: 1.4em;
}

.form-status.is-error {
  color: #9f001b;
  font-weight: 650;
}

.intake-form button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.summary-row {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 0.58fr);
  padding-block: 0.8rem;
}

.summary-row dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.summary-row dd {
  font-size: 0.9rem;
  margin: 0;
  overflow-wrap: anywhere;
}

.form-success {
  align-content: center;
  display: grid;
  justify-items: center;
  min-height: 500px;
  padding: clamp(2rem, 5vw, 5rem);
  text-align: center;
}

.form-success p {
  max-width: 34rem;
}

.form-success[hidden] {
  display: none;
}

.success-mark {
  align-items: center;
  border: 2px solid var(--success);
  border-radius: 50%;
  color: var(--success);
  display: flex;
  font-size: 2rem;
  height: 4rem;
  justify-content: center;
  margin: 0 auto 1.5rem;
  width: 4rem;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line-dark);
}

.faq-list summary {
  cursor: pointer;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  list-style: none;
  padding: 1.55rem 3rem 1.55rem 0;
  position: relative;
}

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

.faq-list summary::after {
  color: var(--red);
  content: "+";
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  position: absolute;
  right: 0;
  top: 1.4rem;
}

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

.faq-answer {
  color: var(--muted);
  max-width: 850px;
  padding: 0 2rem 1.6rem 0;
}

.cta-band {
  background: var(--red);
  color: white;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.cta-band h2,
.cta-band h3 {
  color: white;
}

.cta-band-inner {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.94);
  margin: 0;
  max-width: 760px;
}

.cta-band .button-secondary {
  border-color: white;
  color: white;
}

.cta-band .button-secondary:hover {
  background: white;
  color: var(--red);
}

.legal-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.legal-hero h1 {
  font-size: clamp(3.2rem, 5.6vw, 6rem);
  overflow-wrap: anywhere;
}

.not-found-hero {
  align-items: center;
  display: grid;
  min-height: 70vh;
}

.legal-layout {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: 240px minmax(0, 840px);
}

.legal-nav {
  border-top: 1px solid var(--line-dark);
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.legal-nav a {
  border-bottom: 1px solid var(--line-dark);
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.9rem 0;
  text-decoration: none;
}

.legal-content {
  overflow-wrap: anywhere;
}

.legal-content h1:first-child {
  display: none;
}

.legal-content h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  margin-top: 2.2em;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-top: 2.2em;
}

.legal-content h4 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 1.8em;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content a {
  color: var(--red-dark);
}

.site-footer {
  background: #171a1c;
  color: rgba(255, 255, 255, 0.84);
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(9rem, 12vw, 10rem);
}

.footer-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: 1.3fr 0.75fr 0.95fr;
}

.footer-brand img {
  filter: brightness(0) invert(1);
  opacity: 0.88;
  width: min(300px, 100%);
}

.footer-brand p {
  max-width: 430px;
}

.footer-title {
  color: white;
  font-family: "Lora", Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  font-size: 0.76rem;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: 4rem;
  padding-top: 1.5rem;
}

.chat-consent-launcher {
  align-items: center;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  bottom: 1.35rem;
  box-shadow: 0 10px 30px rgba(23, 26, 28, 0.2);
  color: white;
  cursor: pointer;
  display: inline-flex;
  font: 600 0.92rem/1 "Inter", Arial, sans-serif;
  gap: 0.55rem;
  justify-content: center;
  line-height: 1.2;
  max-width: calc(100vw - 2.7rem);
  min-height: 52px;
  padding: 0.9rem 1.15rem;
  position: fixed;
  right: 1.35rem;
  text-align: center;
  text-wrap: balance;
  width: 13.5rem;
  z-index: 160;
}

.chat-consent-launcher:hover {
  background: var(--red-dark);
}

.jupus-chat-user-opened .chat-consent-launcher {
  visibility: hidden;
}

.chat-consent-dialog {
  background: transparent;
  border: 0;
  color: var(--ink);
  max-height: calc(100vh - 2rem);
  max-width: min(92vw, 560px);
  padding: 0;
  width: 100%;
}

.chat-consent-dialog::backdrop {
  background: rgba(23, 26, 28, 0.58);
}

.chat-consent-dialog-inner {
  background: var(--white);
  border-radius: 2px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
}

.chat-consent-dialog h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-right: 2rem;
}

.chat-consent-dialog p {
  color: var(--ink-soft);
}

.chat-consent-dialog-close {
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  padding: 0.3rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.chat-consent-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.chat-consent-status {
  background: var(--paper);
  border-left: 3px solid var(--red);
  padding: 0.85rem 1rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  :root {
    --header-height: 78px;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 102;
  }

  .main-nav {
    align-items: stretch;
    background: var(--white);
    display: none;
    flex-direction: column;
    gap: 0;
    inset: var(--header-height) 0 0;
    padding: 2rem 1.5rem 3rem;
    position: fixed;
    z-index: 101;
  }

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

  .main-nav a {
    border-bottom: 1px solid var(--line);
    font-family: "Lora", Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    padding: 1rem 0;
    text-transform: none;
  }

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

  .main-nav .nav-cta {
    border: 0;
    color: white;
    margin-top: 1.25rem;
    padding: 1rem;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

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

  .hero-copy,
  .page-hero-copy {
    padding-inline: clamp(1.5rem, 5vw, 4rem);
  }

  .form-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .chat-consent-launcher {
    bottom: 0.85rem;
    min-height: 48px;
    padding: 0.8rem 1rem;
    right: 0.85rem;
    width: 12.5rem;
  }

  .chat-consent-dialog {
    max-width: calc(100vw - 1.5rem);
  }

  .chat-consent-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .chat-consent-actions .button,
  .chat-consent-actions .button-secondary {
    justify-content: center;
    width: 100%;
  }
}

@media (min-width: 861px) and (max-height: 1000px) {
  .hero-grid {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-copy {
    padding: clamp(2.25rem, 5vh, 3.25rem) clamp(2rem, 4vw, 4rem);
  }

  .hero-copy h1 {
    font-size: clamp(3.25rem, 4.7vw, 4.25rem);
  }

  .hero-copy .lead {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  .hero-facts {
    margin-top: 1.75rem;
  }

  .hero-fact {
    padding-block: 0.9rem;
  }

  .hero-media {
    min-height: 0;
  }
}

@media (max-width: 860px) {
  .hero,
  .hero-grid {
    min-height: auto;
  }

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

  .hero-copy,
  .page-hero-copy {
    min-height: auto;
    padding-block: clamp(4rem, 12vw, 5rem);
  }

  .hero-media,
  .page-visual {
    aspect-ratio: 16 / 10;
    margin: 0 clamp(1.25rem, 5vw, 2.5rem) clamp(1.25rem, 5vw, 2.5rem);
    min-height: 0;
    pointer-events: none;
  }

  .section-heading,
  .page-scheidung .section-heading,
  .profile-grid,
  .intro-grid,
  .page-scheidung .intro-grid,
  .contact-grid,
  .cta-band-inner {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .profile-grid {
    gap: 5rem;
  }

  .profile-image-wrap {
    max-width: 300px;
  }

  .process-step,
  .step-light {
    grid-template-columns: 4rem 1fr;
  }

  .process-step p,
  .step-light p {
    grid-column: 2;
  }

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

  .form-progress {
    padding: 1.25rem;
  }

  .progress-title {
    display: none;
  }

  .progress-list {
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
  }

  .progress-list li {
    gap: 0.3rem;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0.25rem;
    text-align: center;
  }

  .progress-list li span {
    display: none;
  }

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

  .legal-nav {
    display: none;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  h1,
  .hero-copy h1,
  .page-hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.25rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .hero-media,
  .page-visual {
    aspect-ratio: 4 / 3;
  }

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

  .hero-fact + .hero-fact {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

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

  .service-row,
  .service-row:nth-child(even) {
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }

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

  .practice-item,
  .practice-item:nth-child(even) {
    border-left: 0;
    padding-left: 0;
  }

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

  .process-step,
  .step-light {
    gap: 0.75rem 1rem;
    grid-template-columns: 3rem 1fr;
  }

  .field-grid,
  .choice-group {
    grid-template-columns: 1fr;
  }

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

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

  .partner-list li {
    min-height: 8rem;
  }

  .partner-list li + li {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .intake-form {
    padding: 2rem 1.25rem;
  }

  .form-actions,
  .action-right {
    align-items: stretch;
    flex-direction: column-reverse;
    width: 100%;
  }

  .action-right {
    margin-left: 0;
  }

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

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

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .legal-nav,
  .cta-band,
  .skip-link {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 11pt;
  }

  .section,
  .legal-hero {
    padding: 1cm 0;
  }

  .legal-layout {
    display: block;
  }

  .legal-content a {
    color: black;
  }
}
