:root {
  color-scheme: light;
  --paper: #fff;
  --wash: #eff3f7;
  --ink: #182f4e;
  --text: #33445a;
  --line: #cbd3dd;
  --accent: #18365b;
  --focus-ring: var(--accent);
  --on-accent: #fff;
  --silver: #d2d5d9;
  --room: url("assets/tag.jpg");
  font: 100%/1.55 "Segoe UI", Arial, sans-serif;
}
:root[data-theme="dunkel"] {
  color-scheme: dark;
  --paper: #101c2e;
  --wash: #192b42;
  --ink: #f0f4fa;
  --text: #cdd8e5;
  --line: #42536a;
  --accent: #dce6f2;
  --focus-ring: #cc8721;
  --on-accent: #172d4a;
  --silver: #8594a9;
  --room: url("assets/abend.jpg");
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--text); }
.wrap { width: min(89%, 1220px); margin-inline: auto; }
@media (min-width: 1920px) {
  .wrap {
    --left-shift: clamp(0px, calc((100% - 1920px) * .15), 128px);
    margin-inline-start: calc((100% - 1220px) / 2 - var(--left-shift));
  }
}
a { color: inherit; text-underline-offset: .23em; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 5; background: var(--paper); padding: .7rem; }
.skip:focus { top: 1rem; }
header { display: flex; align-items: center; gap: clamp(.9rem, 2.8vw, 3rem); min-height: 88px; }
.brand { margin-right: auto; background: #fff; display: inline-flex; padding: 7px 10px; border-radius: 2px; }
.brand img { width: clamp(150px, 16vw, 205px); height: auto; }
nav, .switch { display: flex; align-items: center; }
nav { gap: clamp(1rem, 2.6vw, 2.2rem); }
nav a, footer a { text-decoration: none; font-size: .95rem; }
nav a:hover, footer a:hover { text-decoration: underline; }
.switch { border-radius: 2rem; padding: 3px; border: 1px solid var(--line); }
.switch button { border: 0; color: var(--text); background: transparent; border-radius: 2rem; padding: .5rem .9rem; font: 600 .88rem/1.15 "Segoe UI", sans-serif; cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.hero { background: var(--wash); border-block: 1px solid var(--line); overflow: hidden; position: relative; }
.hero-inner { padding-block: clamp(2rem, 3.5vw, 3.75rem); }
.intro { width: 53%; position: relative; z-index: 1; }
.visual { position: absolute; inset: 0 0 0 51%; background: var(--silver); clip-path: polygon(0 0,100% 0,100% 100%,24% 100%); }
.visual::after { content: ""; position: absolute; inset: 0; background: var(--room) center / cover; clip-path: polygon(12px 0,100% 0,100% 100%,calc(24% + 12px) 100%); }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.7rem, 4.55vw, 4.6rem); letter-spacing: -.055em; line-height: 1.04; max-width: 15ch; }
h2 { font-size: clamp(2rem, 3.3vw, 3.2rem); line-height: 1.1; letter-spacing: -.045em; max-width: 16ch; }
h3 { font-size: clamp(1.27rem, 2vw, 1.65rem); line-height: 1.3; letter-spacing: -.03em; }
p { margin: 0; font-size: 1.055rem; line-height: 1.65; }
.eyebrow { color: var(--ink); font-size: .875rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.35rem; }
.audiences { max-width: 47ch; margin: 1.5rem 0 0; }
.audiences dt { color: var(--ink); font-weight: 600; }
.audiences dd { margin: .15rem 0 0; }
.audiences dd + dt { margin-top: .9rem; }
.button { display: inline-block; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600; padding: .78rem 1.35rem; border-radius: 3px; }
.button:hover { text-decoration: underline; }
.services, .split { display: grid; grid-template-columns: 4fr 6fr; column-gap: 8%; padding-block: clamp(3.5rem, 6.3vw, 6.5rem); }
.services { padding-block-start: clamp(4rem, 8vw, 8rem); }
.rows article { padding: clamp(1.65rem, 3vw, 2.75rem) 0; border-top: 1px solid var(--line); }
.rows article:first-child { border-color: var(--accent); }
.rows article:last-child { padding-bottom: 0; }
.rows article p { margin-top: .65rem; }
.detail-link { margin-top: 1.2rem; }
.data-room-note { margin-top: 1.25rem; max-width: 40ch; }
.sample-report { margin: 1.4rem 0 0; background: var(--wash); border: 1px solid var(--line); border-top: 4px solid var(--accent); padding: clamp(1rem, 2.2vw, 1.75rem); }
.sample-report figcaption strong { display: block; font-size: 1.3rem; color: var(--ink); }
.sample-report figcaption span, .report-trends span, .report-goal span, .report-metrics small { display: block; font-size: .9rem; font-weight: 400; }
.report-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; margin: 1.25rem 0; }
.report-metrics dt { font-size: .95rem; }
.report-metrics dd { margin: .3rem 0 0; font-size: 1.6rem; line-height: 1.35; font-weight: 650; color: var(--ink); }
.report-trends { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.4rem; border-block: 1px solid var(--line); padding-block: 1rem; }
.report-trends svg { display: block; width: 100%; color: var(--accent); }
.report-trends polyline { fill: none; stroke: currentColor; stroke-width: 3; }
.report-trends circle { fill: currentColor; }
.report-trends .guide { stroke: var(--line); fill: none; }
.report-goal { margin-top: 1rem; }
.report-goal progress { width: 100%; height: .8rem; accent-color: var(--accent); }
.siv-table { width: 100%; margin-block: 1rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.siv-table caption { text-align: left; font-size: .9rem; padding-bottom: .5rem; }
.siv-table :is(th,td) { padding: .5rem .25rem; text-align: right; border-bottom: 1px solid var(--line); }
.siv-table th:first-child { text-align: left; }
.siv-table tbody th { font-weight: 400; }
.siv-table tbody tr:last-child > * { color: var(--ink); font-weight: 700; }
.ea-sample table { width: 100%; margin-block: 1rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ea-sample :is(th,td) { padding: .65rem .15rem; border-bottom: 1px solid var(--line); text-align: right; }
.ea-sample th:first-child { text-align: left; }
.ea-sample td { white-space: nowrap; }
.ea-sample th small { display: block; font-size: .88rem; font-weight: 400; }
.ea-sample summary { cursor: pointer; color: var(--ink); font-weight: 600; padding-block: .4rem; }
.ea-sample dl { margin: .5rem 0 0; }
.ea-sample dl div { display: flex; justify-content: space-between; gap: .5rem; padding-block: .4rem; }
.ea-sample dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ea-sample dl div:last-child { border-top: 1px solid var(--line); font-weight: 600; }
@media (max-width: 530px) {
  .report-metrics { grid-template-columns: 1fr; }
  .report-metrics div { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
  .report-metrics dd { text-align: right; }
  .report-trends { grid-template-columns: 1fr; }
}
.detail-page { display: none; scroll-margin-top: 100vh; }
.detail-page:target { display: block; }
body:has(.detail-page:target) #inhalt { display: none; }
.detail-intro { background: var(--wash); border-block: 1px solid var(--line); padding-block: clamp(2rem, 4.5vw, 4rem); }
.detail-intro .eyebrow { margin-top: 2rem; }
.detail-intro h1 { max-width: 23ch; overflow-wrap: break-word; }
.detail-intro h1 + p { max-width: 60ch; margin-top: 1.25rem; }
.profile { background: var(--wash); }
.profile-portrait { display: block; margin-top: 1.25rem; width: 148px; height: 148px; border-radius: 50%; }
.personal { font-size: clamp(1.3rem, 2.05vw, 1.85rem); color: var(--ink); line-height: 1.4; margin-bottom: 1.1rem; letter-spacing: -.02em; }
.under, .contact .button { display: inline-block; margin-top: 1.35rem; }
.under { font-weight: 600; color: var(--ink); }
.contact { border-bottom: 1px solid var(--line); }
.contact-details { margin-top: 1.25rem; font-style: normal; line-height: 1.85; }
footer { display: flex; justify-content: space-between; padding-block: 1.5rem; gap: 1rem; font-size: .95rem; }
footer { flex-wrap: wrap; align-items: center; }
footer nav { width: auto; flex-wrap: wrap; gap: 1.25rem; }
.legal address { font-style: normal; line-height: 1.7; overflow-wrap: anywhere; }
.legal section > * + * { margin-top: 1rem; }
@media (max-width: 800px) {
  header { flex-wrap: wrap; gap: .7rem; padding-block: .85rem; }
  nav { order: 3; width: 100%; }
  .intro { width: 59%; }
  .visual { left: 60%; }
  .services, .split { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 620px) {
  .intro { width: 100%; }
  .hero-inner { padding-block: 1.5rem 0; }
  .visual { position: relative; inset: auto; width: 100vw; margin: 2rem calc((100% - 100vw)/2) 0; height: clamp(10rem, 46vw, 17rem); clip-path: polygon(3% 0,100% 0,100% 100%,13% 100%); }
  .visual::after { clip-path: polygon(calc(3% + 7px) 0,100% 0,100% 100%,calc(13% + 7px) 100%); background-position: center 55%; }
  .brand img { width: 145px; }
  .brand { padding: 5px; }
  .switch button { padding: .48rem .7rem; }
  .eyebrow { margin-bottom: .95rem; }
  h1 { font-size: clamp(2.5rem, 9vw, 3.3rem); }
}
