﻿:root {
  --blue-950: #072f56;
  --blue-900: #083965;
  --blue-800: #104a76;
  --ink: #1f252b;
  --muted: #5f6670;
  --warm-white: #fbfaf7;
  --ivory: #f4efe7;
  --sand: #ded1bf;
  --copper: #b58a55;
  --copper-dark: #8e6638;
  --line: #e5ded3;
  --shadow: 0 18px 48px rgba(22, 28, 36, 0.12);
  --shadow-soft: 0 14px 34px rgba(22, 28, 36, 0.08);
  --max: 1280px;
  --gutter: 32px;
  --container-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --section-space-lg: 110px;
  --section-space-md: 88px;
  --section-space-sm: 72px;
  --section-intro-gap: 24px;
  --section-content-gap: 40px;
  --card-gap-lg: 32px;
  --card-gap-md: 24px;
  --card-gap-sm: 20px;
  --card-radius: 12px;
  --header-h: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(181, 138, 85, 0.9);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--blue-950);
  color: #fff;
  padding: 10px 14px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--container-inline);
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid rgba(229, 222, 211, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  width: 174px;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 16px;
  line-height: 1.5;
}

.site-nav a {
  text-decoration: none;
  color: #20252a;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  color: var(--blue-900);
}

.site-nav .nav-cta {
  min-width: 112px;
  text-align: center;
  padding: 12px 20px;
  background: var(--copper);
  color: #fff;
  border-radius: 6px;
}

.site-nav .nav-cta:hover {
  background: var(--copper-dark);
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 12px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-950);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  max-height: 820px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center center;
  background: linear-gradient(135deg, #d8d2c8, #8293a0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 24, 37, 0.72) 0%, rgba(8, 24, 37, 0.42) 42%, rgba(8, 24, 37, 0.14) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  color: #fff;
  padding: var(--section-space-lg) var(--container-inline);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e0bf8d;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--blue-950);
}

h1 {
  color: #fff;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.08;
  max-width: 720px;
}

h2 {
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.18;
}

h3 {
  font-size: 24px;
  line-height: 1.3;
}

.hero-content > * {
  max-width: 680px;
}

.hero-copy {
  margin: var(--section-intro-gap) 0 0;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: var(--section-content-gap);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border: 0;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.15);
}

.button-primary {
  background: var(--copper);
  color: #fff;
}

.button-primary:hover {
  background: var(--copper-dark);
}

.button-light {
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-950);
}

.button-secondary {
  background: var(--blue-950);
  color: #fff;
}

.section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: var(--section-space-lg) var(--container-inline);
}

.section-heading {
  max-width: 68ch;
  margin-bottom: var(--section-content-gap);
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.section-heading h2 + p {
  margin-top: var(--section-intro-gap);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap-lg);
  align-items: stretch;
}

.feature-card {
  min-height: 372px;
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(229, 222, 211, 0.78);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(181, 138, 85, 0.46);
  box-shadow: var(--shadow);
}

.icon-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--blue-950);
  color: #fff;
  border-radius: 50%;
}

.icon-mark svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card p,
.detail-panel p,
.service-strip p,
.career-section p,
.contact-intro p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.feature-card p,
.service-strip .section-heading p,
.career-copy p,
.contact-intro .section-heading p {
  max-width: 68ch;
}

.feature-audience {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 34ch;
}

.text-link {
  margin-top: auto;
  color: var(--copper-dark);
  text-decoration: none;
  font-weight: 700;
}

.text-link::after {
  content: " ->";
}

.text-link:hover {
  color: var(--blue-950);
}

.feature-card:hover .text-link,
.feature-card:focus-visible .text-link {
  color: var(--blue-950);
}

.about-section {
  background: var(--ivory);
}

.about-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: var(--card-gap-lg);
  align-items: stretch;
}

.about-copy,
.about-points {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
}

.about-copy {
  padding: clamp(28px, 4vw, 42px);
}

.about-copy p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.about-copy .button {
  margin-top: var(--section-intro-gap);
}

.about-points {
  display: block;
  padding: clamp(22px, 3vw, 34px);
}

.about-points div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.about-points div:first-child {
  padding-top: 0;
}

.about-points div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-points strong {
  display: block;
  color: var(--blue-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
}

.about-points span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.detail-stack {
  display: grid;
  gap: var(--card-gap-lg);
  margin-top: var(--section-content-gap);
}

.detail-panel {
  padding: clamp(28px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: stretch;
  box-shadow: var(--shadow-soft);
}

.detail-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.detail-copy > p {
  max-width: 68ch;
  margin: var(--section-intro-gap) 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.7;
}

.detail-panel ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.detail-panel li {
  position: relative;
  padding-left: 22px;
  margin: 12px 0;
  font-size: 18px;
  line-height: 1.7;
}

.detail-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
}

.detail-media {
  position: relative;
  margin: 0;
  min-height: 100%;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: linear-gradient(145deg, #ddd5ca, #b6aca0);
}

.detail-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 37, 0.04), rgba(8, 24, 37, 0.18));
}

.detail-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-media-weg img {
  object-position: center center;
}

.detail-media-haus img {
  object-position: center center;
}

.detail-media-vermittlung img {
  object-position: center 28%;
}

.detail-media-vermittlung {
  width: min(100%, 560px);
  max-width: 100%;
  min-height: clamp(520px, 56vw, 700px);
  aspect-ratio: 4 / 5;
  justify-self: end;
  align-self: stretch;
}

.service-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
  background: var(--ivory);
  border-radius: var(--card-radius);
  padding-block: var(--section-space-md);
}

.service-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--card-gap-lg);
}

.service-actions a {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  color: var(--blue-950);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-actions strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 500;
}

.service-actions span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.service-actions a:hover {
  transform: translateY(-2px);
  border-color: rgba(181, 138, 85, 0.65);
  box-shadow: var(--shadow);
}

.career-section {
  border-bottom: 1px solid var(--line);
  padding-block: var(--section-space-md);
}

.career-layout {
  display: grid;
  gap: var(--section-content-gap);
}

.career-copy {
  max-width: 68ch;
}

.career-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
}

.career-section .career-note {
  max-width: 48ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.career-jobs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--card-gap-lg);
}

.career-job-card {
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(229, 222, 211, 0.78);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.career-job-card:hover,
.career-job-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(181, 138, 85, 0.46);
  box-shadow: var(--shadow);
}

.career-job-card.is-active {
  border-color: rgba(181, 138, 85, 0.46);
  box-shadow: var(--shadow);
}

.career-job-summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 32px;
  cursor: pointer;
}

.career-job-kicker {
  color: var(--copper);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
}

.career-job-card p {
  margin: 0;
  max-width: 62ch;
}

.career-job-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--copper-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}

.career-job-toggle::after {
  content: " ->";
}

.career-job-toggle[aria-expanded="true"]::after {
  content: " ↑";
}

.career-detail-stack {
  display: grid;
  gap: 20px;
}

.career-job-panel {
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(229, 222, 211, 0.78);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
}

.career-job-panel[hidden] {
  display: none;
}

.career-job-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-job-panel li {
  position: relative;
  padding-left: 20px;
  margin: 10px 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

.career-job-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
}

.career-job-copy {
  display: grid;
  gap: 18px;
}

.career-job-copy h3 {
  margin: 0;
  max-width: 28ch;
  color: var(--blue-950);
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.15;
}

.career-job-copy h4 {
  margin: 10px 0 0;
  color: var(--blue-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}

.career-job-copy a,
.career-note a {
  color: var(--blue-950);
  font-weight: 700;
}

.career-job-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 78px);
}

address {
  margin: 28px 0 18px;
  font-style: normal;
}

.email-text {
  color: var(--blue-950);
  font-weight: 700;
}

.contact-methods {
  display: grid;
  gap: var(--card-gap-lg);
  margin-top: var(--section-content-gap);
}

.contact-personal-card {
  margin-top: var(--section-content-gap);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
}

.contact-personal-card strong {
  display: block;
  color: var(--blue-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}

.contact-personal-card p {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

.contact-card {
  width: 100%;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(181, 138, 85, 0.58);
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-950);
  color: #fff;
}

.contact-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card > span:not(.contact-icon),
.contact-card strong,
.contact-card em,
.contact-card-heading,
.contact-card-heading span {
  display: block;
}

.contact-card strong {
  color: var(--blue-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.25;
}

.contact-card > span:not(.contact-icon) > span:not(.contact-card-heading),
.contact-card-heading span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-card em {
  margin-top: 10px;
  color: var(--copper-dark);
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}

.contact-card em::after {
  content: " ->";
}

.email-obfuscated {
  color: var(--blue-950);
  font-weight: 700;
  word-break: break-word;
}

.inline-email-action,
.footer-email-action {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--copper-dark);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  cursor: pointer;
}

.inline-email-action:hover,
.footer-email-action:hover,
.inline-email-action:focus-visible,
.footer-email-action:focus-visible {
  color: var(--blue-950);
}

.footer-email {
  display: block;
  margin: 12px 0 8px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-email-action {
  margin-top: 4px;
  color: #fff;
}

.contact-card-map {
  grid-template-columns: 54px minmax(0, 1fr);
}

.contact-map-content {
  display: grid;
  gap: 14px;
}

.contact-form {
  padding: clamp(28px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 20px;
}

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

label {
  display: block;
  margin-bottom: 8px;
  color: #2b3037;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d7cbbd;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 14px 16px;
}

textarea {
  resize: vertical;
}

.field-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin: 10px 0 22px;
  color: var(--muted);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
  gap: 40px;
  padding: var(--section-space-md) var(--container-inline) 40px;
  background: var(--blue-950);
  color: #fff;
}

.site-footer .footer-heading {
  margin: 0 0 16px;
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

/* Kontaktformular: Pflichtfelder, Datei-Upload, Fehler */
.contact-form .req {
  color: var(--copper-dark);
  font-weight: 700;
  margin-left: 2px;
}

.field-hint-inline {
  color: var(--muted);
  font-weight: 400;
  font-size: 15px;
}

.contact-form input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px dashed #d7cbbd;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.contact-form input[type="file"]:hover,
.contact-form input[type="file"]:focus-visible {
  border-color: var(--copper);
  background: var(--warm-white);
}

.form-error {
  margin: 0 0 22px;
  padding: 14px 18px;
  background: #fdecea;
  border: 1px solid #f2b3ad;
  border-radius: 6px;
  color: #8b1d18;
  font-size: 16px;
  line-height: 1.55;
}

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

.contact-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: progress;
}

.site-footer a {
  display: block;
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.6;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand p {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.7;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.6;
}

.footer-bottom a {
  margin: 0;
}

.legal-page {
  background: #fff;
}

.legal-header {
  position: static;
}

.legal-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-space-sm) var(--container-inline);
}

.legal-main h1 {
  color: var(--blue-950);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.legal-lead {
  max-width: 72ch;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
}

.legal-toc {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
}

.legal-toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-950);
  font-size: 16px;
  line-height: 1.5;
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 40px;
}

.legal-toc li {
  break-inside: avoid;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.legal-toc a {
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--blue-950);
}

.legal-main section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.legal-main h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.25;
  font-weight: 600;
}

.legal-main p {
  max-width: 72ch;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
}

.legal-card {
  margin: 22px 0;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
}

.legal-card p {
  margin: 0;
}

.legal-card p + p {
  margin-top: 16px;
}

.legal-list {
  max-width: 72ch;
  margin: 18px 0;
  padding-left: 22px;
}

.legal-list li {
  margin: 10px 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
}

.legal-note {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--ivory);
  border-left: 4px solid var(--copper);
}

.legal-footer {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding: 32px 20px 54px;
  background: var(--blue-950);
}

.legal-footer a {
  color: #fff;
}

@media (max-width: 980px) {
  :root {
    --gutter: 28px;
    --card-gap-lg: var(--card-gap-md);
  }

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

  .detail-panel {
    grid-template-columns: 1fr;
  }

  .detail-media {
    min-height: 320px;
    order: 2;
  }

  .detail-media-vermittlung {
    width: 100%;
    min-height: 440px;
    aspect-ratio: 4 / 5;
    justify-self: stretch;
  }

  .detail-media-vermittlung img {
    object-position: center 26%;
  }

  .about-card,
  .service-strip,
  .contact-section,
  .career-jobs {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  :root {
    --header-h: 78px;
    --gutter: 20px;
    --section-space-lg: 72px;
    --section-space-md: 56px;
    --section-space-sm: 48px;
    --card-gap-lg: var(--card-gap-sm);
  }

  .site-header {
    padding: 10px var(--container-inline);
  }

  .brand {
    width: 146px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--header-h) + 10px);
    display: grid;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px;
  }

  .site-nav .nav-cta {
    margin-top: 8px;
  }

  .legal-toc ol {
    columns: 1;
  }

  .hero {
    min-height: min(620px, calc(100svh - var(--header-h)));
    max-height: none;
  }

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

  .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 24, 37, 0.82) 0%, rgba(8, 24, 37, 0.58) 54%, rgba(8, 24, 37, 0.28) 100%);
  }

  .hero-content {
    padding-top: 96px;
    padding-bottom: 56px;
    align-self: end;
  }

  .hero-content > * {
    max-width: min(100%, 16rem);
  }

  .hero .eyebrow {
    max-width: 15.5rem;
    font-size: 14px;
    line-height: 1.4;
  }

  .hero h1 {
    max-width: 7.6ch;
    font-size: clamp(26px, 7.4vw, 36px);
    line-height: 1;
  }

  .hero-copy {
    max-width: 16.5rem;
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-actions {
    gap: 12px;
  }

  .legal-main h1 {
    max-width: 10ch;
    font-size: clamp(32px, 8.8vw, 42px);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

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

  .button {
    width: 100%;
  }

  .service-actions,
  .form-row.two,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    gap: 24px;
  }

  .detail-media {
    min-height: 240px;
  }

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

  .detail-media-vermittlung img {
    object-position: center 24%;
  }

  .feature-card,
  .career-job-summary,
  .career-job-panel,
  .service-actions a,
  .contact-card,
  .contact-personal-card {
    padding: 24px;
  }

}

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

