:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --text: #111111;
  --muted: #5f625f;
  --quiet: #8a8882;
  --line: #e8e3dc;
  --band: #f1eee8;
  --accent: #b32a2a;
  --accent-soft: #e7b3b3;
  --intro-accent: #c93636;
  --shadow: 0 28px 90px rgba(17, 17, 17, 0.08);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.intro-active {
  overflow: hidden;
}

img,
video {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
}

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

.intro-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
  background: #030303;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.intro-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.34) 34%, rgba(0, 0, 0, 0.08) 58%, rgba(0, 0, 0, 0.24) 100%);
  pointer-events: none;
}

.intro-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  background: #030303;
}

.intro-mark {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  width: min(1000px, calc(100vw - 48px));
  padding: 0 24px;
  color: var(--intro-accent);
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.98), 0 18px 70px rgba(0, 0, 0, 0.95);
}

.intro-mark::before {
  content: "";
  position: absolute;
  inset: -28px 0;
  z-index: -1;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 26px 120px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
}

.intro-mark strong,
.intro-mark span {
  display: block;
}

.intro-mark strong {
  font-size: clamp(58px, 10vw, 142px);
  font-weight: 760;
  line-height: 0.88;
}

.intro-mark span {
  font-size: clamp(24px, 3.8vw, 52px);
  font-weight: 720;
  line-height: 1.02;
}

.shell {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 248, 0.86);
  border-bottom: 1px solid rgba(232, 227, 220, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
}

.brand {
  font-size: 18px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.nav-cta,
.button {
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.theme-toggle,
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 0 20px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}

.theme-toggle {
  min-height: 38px;
  padding-inline: 15px;
  cursor: pointer;
}

.nav-cta {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 14px;
}

.theme-toggle:hover,
.button:hover,
.nav-cta:hover {
  border-color: #d2cbc1;
  transform: translateY(-1px);
}

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

.button-light {
  border-color: #fff;
  background: #fff;
  color: var(--text);
}

.hero {
  min-height: calc(100svh - 78px);
  padding: 82px 0 118px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 72px;
}

.eyebrow,
.kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(72px, 7.6vw, 112px);
  font-weight: 720;
  line-height: 0.88;
}

.hero-subline {
  margin-bottom: 24px;
  max-width: 760px;
  color: var(--text);
  font-size: clamp(31px, 3.1vw, 44px);
  font-weight: 560;
  line-height: 1.05;
}

.hero-text {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.66;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-line {
  max-width: 760px;
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.hero-media {
  overflow: hidden;
  border: 1px solid #151515;
  border-radius: var(--radius);
  background: #050505;
  box-shadow: var(--shadow);
}

.hero-media video {
  display: block;
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  background: #050505;
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #181818;
  background: #0a0a0a;
}

.media-strip div {
  min-width: 0;
  padding: 18px;
  color: #fff;
}

.media-strip div + div {
  border-left: 1px solid #181818;
}

.media-strip strong,
.media-strip span {
  display: block;
}

.media-strip strong {
  margin-bottom: 6px;
  font-size: 13px;
}

.media-strip span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.45;
}

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

section[id] {
  scroll-margin-top: 96px;
}

.section-head {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: end;
  gap: 64px;
  margin-bottom: 42px;
}

.section-head > *,
.locality-grid > *,
.contact-grid > *,
.topic-hero-grid > *,
.topic-content > * {
  min-width: 0;
}

.section-head h2,
.contact-panel h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 690;
  line-height: 1.03;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.section-head p,
.brief-card p,
.contact-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.66;
}

#themen .section-head {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

#themen .section-head h2 {
  font-size: clamp(36px, 3.45vw, 52px);
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.brief-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card {
  min-height: 208px;
  padding: 28px;
}

.card.compact {
  min-height: 172px;
}

.card.service {
  min-height: 182px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.case-card {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px;
}

.case-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  text-transform: uppercase;
}

.case-card h3 {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 26px;
  font-weight: 690;
  line-height: 1.12;
}

.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}

.card h3,
.brief-card h3,
.step h3 {
  margin-bottom: 14px;
  font-size: 21px;
  font-weight: 660;
  line-height: 1.22;
}

.card p,
.brief-card p,
.step p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}

.band {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--band);
}

.band .card {
  background: rgba(255, 255, 255, 0.7);
}

.locality-band {
  padding: 86px 0;
}

.locality-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 64px;
}

.locality-grid h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 690;
  line-height: 1.03;
}

.locality-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.66;
}

.locality-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.locality-list div {
  min-height: 148px;
  padding: 24px;
}

.locality-list div + div {
  border-left: 1px solid var(--line);
}

.locality-list span,
.locality-list strong {
  display: block;
}

.locality-list span {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  text-transform: uppercase;
}

.locality-list strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.24;
}

.visual-proof {
  padding-bottom: 118px;
}

.proof-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof-card {
  position: relative;
  min-height: 340px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.proof-card-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 696px;
}

.proof-card picture,
.proof-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.proof-card img {
  object-fit: cover;
  object-position: center;
}

.proof-card-large img {
  object-position: center 44%;
}

.proof-card figcaption {
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 22px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.proof-card figcaption span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  text-transform: uppercase;
}

.proof-card figcaption strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
}

.aesthetic-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.aesthetic-proof figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.aesthetic-proof picture,
.aesthetic-proof img {
  display: block;
  width: 100%;
}

.aesthetic-proof picture {
  aspect-ratio: 4 / 5;
}

.aesthetic-proof img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.aesthetic-proof figure:nth-child(2) img {
  object-position: center 50%;
}

.aesthetic-proof figure:nth-child(3) img {
  object-position: center 46%;
}

.aesthetic-proof figure:nth-child(4) img {
  object-position: center 58%;
}

.aesthetic-proof figure:nth-child(5) img {
  object-position: center 52%;
}

.aesthetic-proof figure:nth-child(6) img {
  object-position: center 48%;
}

.aesthetic-proof figcaption {
  display: grid;
  gap: 9px;
  min-height: 126px;
  padding: 22px;
  border-top: 1px solid var(--line);
}

.aesthetic-proof figcaption span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  text-transform: uppercase;
}

.aesthetic-proof figcaption strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  gap: 1px;
}

.step {
  min-height: 226px;
  background: var(--bg);
  padding: 28px 24px;
}

.step span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
}

.format-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.format-table article {
  min-height: 230px;
  padding: 30px;
}

.format-table article + article {
  border-left: 1px solid var(--line);
}

.format-table span {
  display: inline-flex;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  text-transform: uppercase;
}

.format-table h3 {
  max-width: 330px;
  margin: 18px 0 14px;
  font-size: 23px;
  line-height: 1.18;
}

.format-table p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}

.topic-link-grid,
.related-grid {
  display: grid;
  gap: 16px;
}

.topic-link-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.topic-link-card,
.related-card {
  display: flex;
  min-height: 214px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 26px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.topic-link-card:hover,
.related-card:hover {
  border-color: #d2cbc1;
  transform: translateY(-1px);
}

.topic-link-card span,
.related-card span {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  text-transform: uppercase;
}

.topic-link-card strong,
.related-card strong {
  display: block;
  color: var(--text);
  font-size: 20px;
  font-weight: 680;
  line-height: 1.18;
}

.topic-link-card p,
.related-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.partner-network-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px;
}

.partner-logo-frame {
  width: 100%;
  height: 92px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 20px 24px;
}

.partner-logo-frame-dark {
  border-color: #111;
  background: #050505;
}

.partner-logo-frame img {
  display: block;
  width: 100%;
  max-width: 210px;
  max-height: 46px;
  object-fit: contain;
}

.partner-logo-frame-dark img {
  max-height: 56px;
}

.partner-network-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  text-transform: uppercase;
}

.partner-network-card h3 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 28px;
  font-weight: 690;
  line-height: 1.08;
}

.partner-network-card p {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}

.partner-network-card a {
  width: fit-content;
  margin-top: auto;
  color: var(--text);
  border-bottom: 1px solid rgba(17, 17, 17, 0.28);
  font-size: 15px;
  font-weight: 650;
}

.partner-network-card a:hover {
  border-bottom-color: currentColor;
  color: var(--accent);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 26px;
  color: var(--text);
  font-size: 18px;
  font-weight: 650;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

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

.faq-list p {
  padding: 0 26px 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: 18px;
}

.contact-panel {
  border-radius: var(--radius);
  background: var(--text);
  color: #fff;
  padding: 42px;
}

.contact-panel .kicker {
  color: var(--accent-soft);
}

.contact-panel h2 {
  margin-bottom: 18px;
  color: #fff;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel .button {
  margin-top: 28px;
}

.brief-card {
  padding: 34px;
}

.brief-intro {
  margin: 0 0 22px;
}

.briefing-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.briefing-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 10px 0;
}

.briefing-list li + li {
  border-top: 1px solid var(--line);
}

.briefing-list span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
}

.briefing-list strong {
  color: var(--text);
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.25;
}

.brief-note {
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.45;
}

.contact-details a {
  width: fit-content;
  color: var(--accent-soft);
  border-bottom: 1px solid rgba(231, 179, 179, 0.42);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-grid {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid strong,
.footer-grid span {
  display: block;
}

.footer-grid strong {
  margin-bottom: 6px;
  color: var(--text);
}

.footer-grid p {
  margin-bottom: 0;
}

.footer-grid a {
  color: var(--muted);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.footer-links a {
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  border-color: currentColor;
  color: var(--text);
}

.legal-page {
  border-top: 1px solid var(--line);
}

.legal-hero {
  padding: 86px 0 52px;
}

.legal-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 710;
  line-height: 0.96;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.legal-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.legal-actions {
  margin-top: 30px;
}

.legal-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 104px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 34px;
}

.legal-wide {
  grid-column: 1 / -1;
}

.legal-card h2 {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 680;
  line-height: 1.16;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.legal-card h2:not(:first-child) {
  margin-top: 34px;
}

.legal-card h3 {
  margin: 28px 0 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 680;
  line-height: 1.25;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

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

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: var(--text);
  border-bottom: 1px solid rgba(17, 17, 17, 0.28);
}

.legal-card ul {
  margin: 0 0 22px;
  padding-left: 20px;
}

.legal-card li + li {
  margin-top: 7px;
}

.legal-date {
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.topic-page {
  border-top: 1px solid var(--line);
}

.topic-hero {
  padding: 76px 0 64px;
}

.topic-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 14px;
}

.topic-breadcrumb a {
  border-bottom: 1px solid transparent;
}

.topic-breadcrumb a:hover {
  border-bottom-color: currentColor;
  color: var(--text);
}

.topic-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 58px;
}

.topic-hero h1 {
  margin: 0 0 24px;
  max-width: 920px;
  font-size: clamp(46px, 5.2vw, 78px);
  font-weight: 710;
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.topic-lead {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.62;
}

.answer-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 30px;
}

.answer-box span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  text-transform: uppercase;
}

.answer-box p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 520;
  line-height: 1.58;
}

.topic-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.34fr);
  gap: 24px;
  padding-bottom: 104px;
}

.topic-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.topic-card,
.topic-aside-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.topic-card {
  padding: 34px;
}

.topic-card h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 690;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.topic-card h3 {
  margin: 28px 0 12px;
  color: var(--text);
  font-size: 21px;
  font-weight: 670;
  line-height: 1.22;
}

.topic-card p,
.topic-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.topic-card p {
  margin-bottom: 16px;
}

.topic-card p:last-child {
  margin-bottom: 0;
}

.topic-list {
  display: grid;
  gap: 0;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.topic-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.topic-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 16px;
}

.topic-aside {
  position: sticky;
  top: 112px;
  display: grid;
  align-self: start;
  align-items: start;
  gap: 16px;
  min-width: 0;
}

.topic-aside-card {
  padding: 28px;
}

.topic-aside-card h2,
.topic-aside-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 23px;
  font-weight: 680;
  line-height: 1.16;
}

.topic-aside-card p,
.topic-aside-card li {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}

.topic-aside-card p {
  margin-bottom: 18px;
}

.topic-aside-card p:last-child {
  margin-bottom: 0;
}

.topic-aside-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-aside-card a:not(.button) {
  color: var(--text);
  border-bottom: 1px solid rgba(17, 17, 17, 0.28);
  font-weight: 650;
}

.topic-image-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.topic-image-card picture,
.topic-image-card img {
  display: block;
  width: 100%;
}

.topic-image-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.topic-image-card figcaption {
  display: grid;
  gap: 9px;
  padding: 22px;
  border-top: 1px solid var(--line);
}

.topic-image-card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  text-transform: uppercase;
}

.topic-image-card strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.3;
}

.topic-cta {
  background: var(--text);
  color: #fff;
}

.topic-cta h2,
.topic-cta h3 {
  color: #fff;
}

.topic-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.topic-cta .button {
  width: 100%;
  margin-top: 6px;
}

.topic-related {
  grid-column: 1 / -1;
}

:root[data-theme="dark"] {
  --bg: #050505;
  --surface: #101010;
  --text: #f6f2ec;
  --muted: #b8b2aa;
  --quiet: #8f8982;
  --line: #2b2824;
  --band: #0c0b0a;
  --accent: #d24646;
  --accent-soft: #f0a4a4;
  --intro-accent: #d64242;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

:root[data-theme="dark"] .skip-link {
  background: #f6f2ec;
  color: #050505;
}

:root[data-theme="dark"] .site-header {
  background: rgba(5, 5, 5, 0.84);
  border-bottom-color: rgba(43, 40, 36, 0.95);
}

:root[data-theme="dark"] .nav-cta,
:root[data-theme="dark"] .button {
  background: #121212;
}

:root[data-theme="dark"] .button:hover,
:root[data-theme="dark"] .nav-cta:hover {
  border-color: #4c4640;
}

:root[data-theme="dark"] .button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

:root[data-theme="dark"] .button-light {
  border-color: #fff;
  background: #fff;
  color: #111;
}

:root[data-theme="dark"] .hero-media {
  border-color: #26211d;
}

:root[data-theme="dark"] .band .card {
  background: rgba(16, 16, 16, 0.76);
}

:root[data-theme="dark"] .contact-panel {
  border: 1px solid var(--line);
  background: #111;
}

:root[data-theme="dark"] .partner-network-card a {
  border-bottom-color: rgba(246, 242, 236, 0.34);
}

:root[data-theme="dark"] .partner-logo-frame {
  border-color: #26211d;
  background: #f8f5ef;
}

:root[data-theme="dark"] .partner-logo-frame-dark {
  border-color: #26211d;
  background: #050505;
}

:root[data-theme="dark"] .legal-card a,
:root[data-theme="dark"] .topic-aside-card a:not(.button) {
  border-bottom-color: rgba(246, 242, 236, 0.34);
}

:root[data-theme="dark"] .topic-link-card:hover,
:root[data-theme="dark"] .related-card:hover {
  border-color: #4c4640;
}

:root[data-theme="dark"] .topic-cta {
  border-color: var(--line);
  background: #111;
}


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

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

@media (max-width: 1100px) {
  .shell {
    width: min(100% - 64px, 960px);
  }

  .hero,
  .section-head,
  .locality-grid,
  .contact-grid,
  .topic-hero-grid,
  .topic-content {
    grid-template-columns: 1fr;
  }

  #themen .section-head {
    grid-template-columns: 1fr;
  }

  .topic-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-cta {
    grid-column: 1 / -1;
  }

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

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

  .hero {
    min-height: auto;
    padding: 72px 0 96px;
    gap: 46px;
  }

  .hero-media {
    max-width: 720px;
  }

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

  .process-grid .step:last-child {
    grid-column: 1 / -1;
  }

  .format-table {
    grid-template-columns: 1fr;
  }

  .format-table article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

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

  .proof-card-large {
    min-height: 580px;
  }

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

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

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

@media (max-width: 820px) {
  section[id] {
    scroll-margin-top: 190px;
  }

  .nav {
    min-height: 70px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px 16px;
    padding: 12px 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .theme-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .nav-cta {
    grid-column: 3;
    grid-row: 1;
    width: auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding: 0 0 4px;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .card-grid.three,
  .card-grid.two,
  .card-grid.four,
  .aesthetic-proof,
  .topic-link-grid,
  .topic-aside {
    grid-template-columns: 1fr;
  }

  .hero-media video {
    min-height: 380px;
  }

  .media-strip {
    grid-template-columns: 1fr;
  }

  .media-strip div + div {
    border-top: 1px solid #181818;
    border-left: 0;
  }

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

  .locality-list div {
    min-height: auto;
  }

  .locality-list div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .proof-gallery {
    grid-template-columns: 1fr;
  }

  .proof-card,
  .proof-card-large {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
  }

  .proof-card picture {
    aspect-ratio: 16 / 10;
  }

  .proof-card figcaption {
    min-height: auto;
  }

  .aesthetic-proof figcaption {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  section[id] {
    scroll-margin-top: 150px;
  }

  .shell {
    width: min(100% - 32px, 620px);
  }

  .nav {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 10px 0;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .theme-toggle {
    grid-column: 2;
    grid-row: 1;
    min-height: 38px;
    justify-self: end;
  }

  .nav-cta {
    grid-column: 3;
    grid-row: 1;
    width: auto;
    min-height: 38px;
    padding-inline: 15px;
  }

  .nav-links {
    grid-row: 2;
  }

  .hero {
    padding: 52px 0 74px;
  }

  .hero h1 {
    font-size: clamp(50px, 17vw, 70px);
  }

  .hero-subline {
    font-size: clamp(24px, 8vw, 34px);
  }

  .hero-text,
  .section-head p,
  .contact-panel p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-media video {
    min-height: 300px;
  }

  .section {
    padding: 70px 0;
  }

  .band {
    padding: 72px 0;
  }

  .card,
  .case-card,
  .step,
  .brief-card,
  .partner-network-card,
  .contact-panel {
    min-height: auto;
    padding: 24px;
  }

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

  .footer-grid {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-hero {
    padding: 58px 0 36px;
  }

  .legal-content {
    padding-bottom: 70px;
  }

  .legal-card {
    padding: 24px;
  }

  .topic-hero {
    padding: 58px 0 42px;
  }

  .topic-breadcrumb {
    margin-bottom: 26px;
  }

  .topic-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.02;
  }

  .topic-lead,
  .answer-box p {
    font-size: 16px;
  }

  .topic-card,
  .answer-box,
  .topic-aside-card,
  .topic-link-card,
  .related-card {
    padding: 24px;
  }

  .topic-content {
    padding-bottom: 70px;
  }

  .legal-hero h1 {
    font-size: clamp(34px, 9vw, 46px);
    line-height: 1.02;
  }

  .intro-mark {
    gap: 12px;
    width: min(620px, calc(100vw - 24px));
    padding: 0 12px;
  }

  .intro-mark::before {
    inset: -20px 0;
  }

  .intro-mark span {
    font-size: 22px;
  }
}

@media (max-width: 420px) {
  .shell {
    width: calc(100% - 24px);
  }

  .brand {
    font-size: 16px;
  }

  .nav-cta {
    min-height: 38px;
    padding-inline: 13px;
  }

  .nav-links {
    display: none;
  }

  .intro-mark strong {
    font-size: clamp(48px, 14vw, 54px);
  }

  .intro-mark span {
    font-size: 20px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-media video {
    min-height: 260px;
  }

  .section-head h2,
  .contact-panel h2 {
    font-size: clamp(27px, 8.2vw, 32px);
    line-height: 1.08;
  }

  #themen .section-head h2 {
    font-size: clamp(25px, 7.3vw, 29px);
  }

  .topic-hero h1,
  .legal-hero h1 {
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.05;
  }

  .topic-card h2 {
    font-size: clamp(23px, 7vw, 28px);
    line-height: 1.12;
  }

  .legal-card h2 {
    font-size: clamp(22px, 6.8vw, 26px);
    line-height: 1.16;
  }
}

@media (max-width: 360px) {
  section[id] {
    scroll-margin-top: 132px;
  }

  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-cta {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

}
