:root {
  --text-indent: 28px;
  --label-gap: 8px;
  --flag-size: 20px;
  --sidebar-width: 380px;
  --sidebar-top: 32px;
  --viewer-top: 44px;
  --viewer-margin: 40px;
  --line-color: #151515;
  --font-family: 'Segma', Arial, sans-serif;
  --fs-label: 10px;
  --fs-content: 18px;
  --divider-thickness: 1px;
  --divider-color: #151515;
  --main-indent: 27px;
  --label-indent: 10px;
  --section-gap: 40px;
  --ccc-size: 82px;
  --ccc-spacing: 27px;
  --grid-size: 24px;
  --ccc-grid-width: 225px;
  --big-dot: 28px;
  --circle-top: 44%;
}

html, body {
  height: 100%; width: 100%; margin: 0; padding: 0; overflow: hidden;
}

body {
  height: 100vh; width: 100vw;
  font-family: var(--font-family);
  font-size: var(--fs-content);
  font-weight: 400;
  background: #fff;
}

.container {
  height: 100vh; width: 100vw;
  border: 1px solid var(--line-color);
  overflow: hidden;
}

main {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  padding: var(--sidebar-top) 0 0 var(--viewer-margin);
  display: flex; flex-direction: column;
  background: #fff;
  box-sizing: border-box;
  z-index: 2;
  height: 100vh;
}

.section {
  position: relative;
  padding-bottom: var(--section-gap);
}

.section-label {
  display: flex;
  align-items: baseline;
  padding-left: var(--text-indent);
  gap: var(--label-gap);
  font-size: var(--fs-label);
  font-weight: 300;
  letter-spacing: 0.13em;
  color: var(--line-color);
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
  z-index: 2;
}

.section-number {
  margin-left: calc(-1 * (var(--big-dot) + 6px));
  font-size: var(--fs-label);
  font-weight: 400;
  color: var(--line-color);
}

.section-text {
  margin: 0;
}

.divider {
  position: relative;
  left: calc(var(--viewer-margin) * -1);
  width: calc(100% + var(--viewer-margin));
  border-bottom: var(--divider-thickness) solid var(--divider-color);
  margin: 0 0 18px 0;
  box-sizing: border-box;
  z-index: 2;
}

.ccc-grid {
  position: relative;
  width: var(--ccc-grid-width);
  height: calc(var(--ccc-size));
  margin: 0 0 0px var(--main-indent);
  z-index: 2;
}

.ccc-row {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  z-index: 2;
}

.ccc-big {
  font-size: var(--ccc-size);
  font-weight: 900;
  color: var(--line-color);
  margin-right: var(--ccc-spacing);
  line-height: 1;
  z-index: 2;
}

.ccc-row .ccc-big:last-child {
  margin-right: 0;
}

/* ---- EXAKTES GRID FÜR DIE DREI C's ---- */
.ccc-background-grid {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.ccc-background-grid::before,
.ccc-background-grid::after {
  content: "";
  position: absolute;
  left: -10px;
  width: calc(100% + 30px);
  height: 1px;
  background: #e1e1e1;
}
.ccc-background-grid::before { top: 9px; }
.ccc-background-grid::after  { bottom: 11px; }

.ccc-background-grid .vline {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: #e1e1e1;
}
.ccc-background-grid .vline.left-c1  { left: 1.5%; }
.ccc-background-grid .vline.right-c1 { left: 24%; }
.ccc-background-grid .vline.left-c2  { left: 39.75%; }
.ccc-background-grid .vline.right-c2 { left: 62.5%; }
.ccc-background-grid .vline.left-c3  { left: 78%; }
.ccc-background-grid .vline.right-c3 { left: 100.75%; }

/* ---- ENDE GRID-LINIEN ---- */

.mainlist {
  list-style: none;
  margin: 0; padding: 0;
  z-index: 2;
}
.mainlist li {
  position: relative;
  display: flex; align-items: center;
  text-transform: uppercase;
  font-weight: 400;
  font-size: var(--fs-content);
  letter-spacing: 0.01em;
  color: var(--line-color);
  margin: 13px 0;
  padding-left: var(--main-indent);
  z-index: 2;
}
.mainlist li::before {
  content: "○";
  position: absolute;
  left: calc(var(--main-indent) - var(--big-dot) - 6px);
  top: var(--circle-top);
  transform: translateY(-50%);
  font-size: var(--big-dot);
  font-weight: 400;
  color: var(--line-color);
  z-index: 2;
}

.kontakt-row {
  position: relative;
  display: flex; align-items: center;
  min-height: var(--big-dot);
  padding-left: var(--main-indent);
  margin: 13px 0;
  z-index: 2;
}

.kontakt-icon {
  position: absolute;
  left: calc(var(--main-indent) - var(--big-dot) - 6px);
  top: var(--circle-top);
  transform: translateY(-50%);
  width: var(--big-dot); height: var(--big-dot);
  object-fit: contain;
  z-index: 2;
}

.kontakt-text {
  font-weight: 400;
  font-size: var(--fs-content);
  letter-spacing: 0.01em;
  color: var(--line-color);
  text-transform: uppercase;
  text-decoration: underline;
  white-space: nowrap;
  margin: 0; padding: 0;
  line-height: 1.1;
  z-index: 2;
}

.impressum {
  padding-left: var(--main-indent);
  margin-top: 10px;
  font-weight: 400;
  font-size: var(--fs-content);
  letter-spacing: 0.01em;
  color: var(--line-color);
  text-transform: uppercase;
  line-height: 1.45;
  z-index: 2;
}

.flag-row {
  display: flex; align-items: center;
}
.flag-icon {
  width: var(--flag-size);
  height: var(--flag-size);
  margin-left: 6px;
  object-fit: contain;
}

.content {
  flex: 1;
  background: #fff;
  z-index: 1;
  height: 100vh;
  display: flex;
}
.viewer {
  margin-top: var(--viewer-top);
  margin-right: var(--viewer-margin);
  margin-bottom: var(--viewer-margin);
  border: 1px solid var(--line-color);
  overflow: hidden;
  flex: 1 1 0%;
  display: flex;
  background: #fff;
  z-index: 1;
  position: relative;
  height: auto;
}
.viewer iframe {
  width: 100%; height: 100%; border: none;
  display: block; z-index: 1; pointer-events: auto;
}
.spline-cover {
  position: absolute; right: 0; bottom: 0;
  width: 100%; height: 110px; background: #fff;
  z-index: 2; pointer-events: none;
}