/* ============================================
   1. CSS VARIABLEN UND RESET
   ============================================ */
:root {
  color-scheme: light;
  forced-color-adjust: none;

  --color-bg: #eaeaea;
  --color-text: #212121;
  --color-input-placeholder: #212121;
  --color-input-background: #fff;
  --color-border: #212121;
  --color-accent: #daff59;
  --color-accent-nav: #ff99d8;
  --color-bg-status: rgba(255, 255, 255, 0.95);
  --color-error-msg: #e74c3c;
}

html,
body {
  box-sizing: border-box;
  background-color: var(--color-bg);
  width: 100%;
  height: auto;
  margin: 0;
  font-family: "Epilogue", sans-serif;
}

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

/* ============================================
   2. TYPOGRAFIE
   ============================================ */
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
a,
address {
  margin: 0;
  padding: 0;
  color: var(--color-text);
}

p,
li,
a,
address {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.2;
}

h2 {
  font-size: 1rem;
  font-weight: 300;
}

address {
  font-style: normal;
  line-height: 1.25;
}

blockquote {
  line-height: 1.2;
}

/* ============================================
   3. LINKS
   ============================================ */
a {
  text-decoration: none;
  transition: all 0.3s ease;
}

a span {
  background: var(--color-accent);
}

a:hover {
  text-decoration: underline;
  text-decoration-style: wavy;
  -moz-text-decoration-style: wavy;
  -webkit-text-decoration-style: wavy;
  background: var(--color-accent);
}

/* ============================================
   4. STRUKTURELLE ELEMENTE
   ============================================ */
nav {
  z-index: 1000;
}

figure {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

/* ============================================
   5. GRID-LAYOUT
   ============================================ */
.l-grid {
  position: relative;
  padding: 20px;
  display: grid;
  grid-template-areas: "header" "nav" "main" "footer";
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr auto;
  min-height: 100vh;
  margin: 0;
}

.l-grid__header {
  grid-area: header;
}

.l-grid__nav {
  grid-area: nav;
  position: sticky;
  top: 20px;
}

.l-grid__main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.l-grid__footer {
  grid-area: footer;
}

/* ============================================
   6. HERO SECTION
   ============================================ */
.c-hero {
  position: relative;
  height: calc(100vh - 72px - 24px - 100px - 48px - 72 - 48px);
  overflow: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.l-grid__main > section:not(#modal):not(.c-hero) {
  flex: 0 0 auto;
}

#modal {
  flex: 0 0 auto;
}

.c-cite--hero {
  position: relative;
  bottom: 0;
  left: 0;
  font-size: 0.83rem;
  line-height: 1.1;
}

/* ============================================
   7. BILDER UND GALERIEN
   ============================================ */
.c-image-gallery {
  position: relative;
  max-width: 100vw;
  height: auto;
  margin-top: 24px;
  margin-bottom: 0;
  padding: 0;
}

.c-image-gallery__item {
  height: auto;
  margin-bottom: 6px;
  width: calc(100% + 40px);
  margin-left: -20px;
}

@media screen and (min-width: 768px) {
  .c-image-gallery__item {
    width: calc((100% + (100vw / 9)));
    margin-left: calc((100vw / 9) * 0.5 * -1);
  }
}

@media screen and (min-width: 1024px) {
  .c-image-gallery__item {
    width: calc((100% + (100vw / 8) * 2));
    margin-left: calc((100vw / 8) * -1);
  }
}

@media screen and (min-width: 1280px) {
  .c-image-gallery__item {
    width: calc(100% + 50vw);
    margin-left: 0;
  }
}

.c-image-gallery__item:last-of-type {
  margin-bottom: 0;
}

.c-image-gallery__item picture,
.c-image-gallery__item img {
  width: 100%;
  height: auto;
}

.c-image-gallery__item picture {
  max-width: calc(100vw);
}

.c-image-gallery__item img {
  display: block;
}

.c-image-explanation {
  position: relative;
  width: calc(100% + 40px);
  margin-left: -20px;
}

.c-image-explanation .c-image-gallery__item {
  width: 100%;
  margin-left: unset
}


@media screen and (min-width: 768px) {
  .c-image-explanation {
    width: calc((100% + (100vw / 9)));
    margin-left: calc((100vw / 9) * 0.5 * -1);
  }
}

@media screen and (min-width: 1024px) {
  .c-image-explanation {
    width: calc((100% + (100vw / 8) * 2));
    margin-left: calc((100vw / 8) * -1);
  }
}

@media screen and (min-width: 1280px) {
  .c-image-explanation {
    width: calc(100% + 33vw);
    margin-left: 0;
  }
}

/* ============================================
   8. MAIN CONTENT STYLES
   ============================================ */
.c-main__index h1,
.c-main__index h2,
.c-main__impressum h2,
.c-main__datenschutz h2,
.c-main__agb h2 {
  font-size: 1.2rem;
  line-height: 1.1;
  font-weight: bolder;
}

@media screen and (min-width: 768px) {
  .c-main__index h1,
  .c-main__index h2 {
    font-size: 2.07rem;
  }
  .c-main__index h1 {
    line-height: 1.22;
  }
}

@media screen and (min-width: 1280px) {
  .c-main__index h1,
  .c-main__index h2 {
    font-size: 2.69rem;
  }
}

.c-main__wissensvermittlung h2,
.c-main__methode-und-analyse h2 {
  margin-bottom: 6px;
  line-height: 1.22;
  font-weight: bolder;
  font-size: 1.2rem;
}

.c-main__index ul,
.c-main__wissensvermittlung ul,
.c-main__methode-und-analyse ul,
.c-main__agb ul {
  list-style: unset;
  margin-left: 13px;
}

.c-main__agb ol {
  margin: 0;
  padding: 0;
  padding-left: 25px;
}

.c-main__agb .c-list__item ol {
  margin: 0;
  padding: 0;
}

.c-main__index .c-list__item,
.c-main__wissensvermittlung .c-list__item,
.c-main__methode-und-analyse .c-list__item {
  line-height: 1.33;
  margin-right: 13px;
}

.c-main__agb .c-list__item ul {
  list-style: disc;
}

.c-main__magazin {
  position: relative;
}

.c-main__magazin-artikel {
  width: 100%;
  max-width: 100vw;
}

@media screen and (min-width: 768px) {
  .c-main__magazin,
  .c-main__magazin-tag,
  .c-main__magazin-kategorie,
  .c-main__magazin-artikel,
  .c-main__wissensvermittlung,
  .c-main__methode-und-analyse,
  .c-main__agb,
  .c-main__impressum,
  .c-main__datenschutz {
    width: 550px;
    margin: auto;
    margin-top: 0;
  }
}

@media screen and (min-width: 1280px) {
  .c-main__magazin,
  .c-main__magazin-tag,
  .c-main__magazin-kategorie,
  .c-main__magazin-artikel,
  .c-main__wissensvermittlung,
  .c-main__methode-und-analyse,
  .c-main__agb,
  .c-main__impressum,
  .c-main__datenschutz {
    display: grid;
     grid-template-columns: calc((100vw / 9)) 550px auto 450px;
    /* grid-template-columns: calc((100vw - 550px) / 2) 550px calc((100vw - 550px) / 2 - 450px) 450px; */
    grid-template-areas: ". headline . ." ". content . empfehlung";
    margin: unset;
    width: unset;
    row-gap: 20px;
  }

  .c-main__magazin .c-page__headline,
  .c-main__magazin-tag .c-page__headline,
  .c-main__magazin-kategorie .c-page__headline,
  .c-main__wissensvermittlung .c-page__headline,
  .c-main__methode-und-analyse .c-page__headline {
    grid-area: headline;
    margin-bottom: 6px;
  }

  .c-main__magazin .c-page__content,
  .c-main__magazin-tag .c-article-list,
  .c-main__magazin-kategorie .c-article-list,
  .c-main__magazin-artikel .c-article,
  .c-main__wissensvermittlung .c-article,
  .c-main__methode-und-analyse .c-article,
  .c-main__agb .c-article,
  .c-main__impressum .c-article,
  .c-main__datenschutz .c-article {
    grid-area: content;
  }

  .c-main__magazin-tag .c-page__teaser,
  .c-main__magazin-kategorie .c-page__teaser,
  .c-main__magazin .c-page__teaser,
  .c-main__magazin-artikel .c-recommendations,
  .c-main__wissensvermittlung .c-recommendations,
  .c-main__methode-und-analyse .c-recommendations {
    grid-area: empfehlung;
    position: sticky;
    top: 20px;
    align-self: start;
  }

  .c-page__teaser h2 {
    margin-bottom: 6px;
    line-height: 1.22;
    font-weight: bolder;
    font-size: 1.2rem;
  }
}

/* ============================================
   9. EMPFEHLUNGEN/RECOMMENDATIONS
   ============================================ */
.c-recommendations {
  margin-top: 48px;
}

@media screen and (min-width: 1280px) {
  .c-recommendations {
    margin-top: 0;
  }
  .c-main__magazin-artikel .c-recommendations {
    margin-top: calc(2rem + 19.2px);
  }
}

/* ============================================
   10. HOTSPOTS UND TOOLTIPS
   ============================================ */
.c-hotspot {
  position: absolute;
  border: none;
  background: red;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.c-hotspot--01 {
  top: 20px;
  left: 20px;
}

.c-hotspot--02 {
  top: 50%;
  left: 50%;
  margin: -25px 0 0 -25px;
  width: 50px;
  height: 50px;
}

.c-hotspot--03 {
  bottom: 50px;
  right: 30px;
}

.c-marker {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-bg);
  font-weight: bold;
  font-size: 2rem;
  cursor: pointer;
}

.c-tooltip {
  position: absolute;
  min-width: 220px;
  width: 350px;
  max-width: 400px;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
  z-index: 10;
  pointer-events: none;
}

.c-tooltip--top {
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
}

.c-tooltip--top::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
}

.c-tooltip--right {
  bottom: 120%;
  left: 120%;
  transform: translateY(100%);
}

.c-tooltip--right::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -8px;
  border: 8px solid transparent;
  border-left-color: #fff;
}

.c-tooltip--left {
  bottom: 120%;
  right: 120%;
  transform: translateY(100%);
}

.c-tooltip--left::after {
  content: " ";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -8px;
  border: 8px solid transparent;
  border-right-color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .c-hotspot:hover .c-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.js-hotspots-enabled .c-tooltip {
  display: none;
}

/* ============================================
   11. TOOLTIP DIALOG (NEU)
   ============================================ */
.c-tooltip-dialog {
  position: absolute;
  display: none;
  background: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  width: 260px;
  padding: 1rem;
  transition: opacity 0.25s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.c-tooltip-dialog::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.c-tooltip-dialog[data-direction="top"]::after {
  bottom: -10px;
  left: var(--arrow-offset, 20px);
  transform: translateX(-50%);
  border-width: 10px 8px 0 8px;
  border-color: white transparent transparent transparent;
}

.c-tooltip-dialog[data-direction="bottom"]::after {
  top: -10px;
  left: var(--arrow-offset, 20px);
  transform: translateX(-50%);
  border-width: 0 8px 10px 8px;
  border-color: transparent transparent white transparent;
}

.c-tooltip-dialog[data-direction="left"]::after {
  right: -10px;
  top: var(--arrow-offset, 20px);
  transform: translateY(-50%);
  border-width: 8px 0 8px 10px;
  border-color: transparent transparent transparent white;
}

.c-tooltip-dialog[data-direction="right"]::after {
  left: -10px;
  top: var(--arrow-offset, 20px);
  transform: translateY(-50%);
  border-width: 8px 10px 8px 0;
  border-color: transparent white transparent transparent;
}

.c-tooltip-dialog.show {
  opacity: 1;
  transform: translateX(0) translateY(0);
  pointer-events: auto;
  color: white;
}

.c-tooltip-dialog[data-direction="top"] {
  transform: translateY(8px);
}

.c-tooltip-dialog[data-direction="bottom"] {
  transform: translateY(-8px);
}

.c-tooltip-dialog[data-direction="left"] {
  transform: translateX(8px);
}

.c-tooltip-dialog[data-direction="right"] {
  transform: translateX(-8px);
}

/* ============================================
   12. KONTAKTFORMULAR UND CHECKBOXEN
   ============================================ */
.c-contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.c-contact-form__label {
  display: none;
  font-weight: bold;
  margin-top: 2rem;
  align-self: start;
}

.c-contact-form__input,
.c-contact-form__textarea {
  margin-top: 1.5rem;
  padding: 0.4rem 0;
  width: 100%;
  font-size: 1rem;
  border: 0;
  border-bottom: 2px solid var(--color-text);
  background-color: inherit;
  color: var(--color-text);
}

.c-contact-form__input {
  display: inline-block;
}

.c-contact-form__input::placeholder,
.c-contact-form__textarea::placeholder {
  color: var(--color-input-placeholder);
  font-size: 1rem;
}

.c-contact-form__input:focus,
.c-contact-form__textarea:focus {
  outline: none;
  box-shadow: none;
}

.c-contact-form__textarea {
  outline: none;
  padding: 0;
  padding-top: 0.4rem;
  font-family: "Epilogue", sans-serif;
}

.c-contact-form__datenschutz {
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto;
  gap: 0;
  align-items: start;
  width: 100%;
  z-index: 10;
  font-size: 0.83rem;
}

.c-contact-form__label--datenschutz {
  display: block;
  grid-column: 2;
  grid-row: 1;
  padding: 0;
  margin: 0;
  color: var(--color-text);
}

.c-contact-form__label--datenschutz a:hover {
  background: var(--color-bg);
  text-decoration: underline;
  text-decoration-style: wavy;
  -webkit-text-decoration-style: wavy;
}

.c-contact-form__input--datenschutz {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  margin: 0;
  border: none;
  outline: none;
}

.c-contact-form__label--firma,
.c-contact-form__input--firma,
.c-contact-form__label--eingabezeitpunkt,
.c-contact-form__input--eingabezeitpunkt {
  position: absolute;
  left: -9999px;
}

.c-contact-form__button {
  position: relative;
  display: inline-block;
  height: auto;
  width: 100px;
  background-color: var(--color-input-background);
  border: 2px solid var(--color-border);
  border-radius: 50px;
  padding: 8px 8px 6px 8px;
  transition: all 0.2s;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.22;
}

.c-contact-form__button:hover {
  background-color: var(--highlight-color);
}

.c-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  user-select: none;
  margin: -15px 0 0 -15px;
}

.c-checkbox__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.c-checkbox__label {
  color: var(--color-text);
}

.c-checkbox__label a {
  font-size: 0.83rem;
}

.c-checkbox__checkbox {
  width: 14px;
  height: 14px;
  border: 2px solid var(--color-text);
  border-radius: 4px;
  background: var(--color-accent);
  box-sizing: border-box;
}

.c-checkbox[aria-checked="true"] .c-checkbox__checkbox {
  background: var(--color-accent);
  border-color: var(--color-text);
}

.c-checkbox[aria-checked="true"] .c-checkbox__checkbox::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 8px;
  border: solid var(--color-text);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
  top: 48.5%;
  left: 50%;
}

/* ============================================
   13. STATUS-OVERLAY
   ============================================ */
.c-status-overlay {
  position: absolute;
  top: 32px;
  left: 24px;
  right: 24px;
  border: 2px solid var(--color-border);
  background: var(--color-bg-status);
  text-align: center;
  padding: 20px;
}

.c-status-overlay__message {
  position: relative;
  line-height: 1.22;
}

.c-status-overlay__headline {
  font-size: 1rem;
  font-weight: 900;
  text-align: left;
}

.c-status-overlay__close {
  position: absolute;
  top: 18px;
  right: 20px;
}

.c-status-overlay__button {
  padding: 0;
  margin: 0;
  border: none;
  font-size: 0.9rem;
  background-color: var(--color-bg-status);
  cursor: pointer;
}

.c-status-overlay__button:hover {
  text-decoration: underline wavy currentColor;
  background: var(--color-accent);
}

/* ============================================
   14. LISTEN
   ============================================ */
ul {
  list-style: none;
}

.c-list {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
}

.c-list--subnav {
  display: none;
  position: relative;
  top: 0;
  left: 0;
  margin-left: 12px;
  z-index: 10;
}

.c-list__item[aria-expanded="true"] .c-list--subnav {
  display: block;
}

.c-list__item {
  position: relative;
  height: auto;
  line-height: 1.22;
}

.c-list__item--recommendation {
  margin-bottom: 12px;
}

.c-list__item--recommendation:last-of-type {
  margin-bottom: 0;
}

.c-list__item--filter {
  position: relative;
  height: auto;
  font-size: 0.83rem;
}

.c-list__item--filter span {
  background: var(--color-bg);
}

.c-list__button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.c-list__button > div {
  pointer-events: none;
}

.c-list__text {
  margin: 0;
  align-self: center;
  font-size: 1rem;
  line-height: 1.5;
}

.c-list__text--modal:hover {
  background: var(--color-accent);
  text-decoration: underline wavy currentColor;
}

.c-list__text--modal span {
  display: inline-block;
}

.c-list__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  background-color: var(--color-bg);
}

/* ============================================
   15. BREADCRUMBS
   ============================================ */
.c-breadcrumbs {
  font-size: 1rem !important;
  margin: 1em 0;
}

.c-breadcrumbs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.33em;
}

.c-breadcrumbs li {
  white-space: nowrap;
  font-size: 1rem !important;
}

.c-breadcrumbs li + li::before {
  content: "→";
  margin-right: 0.33rem;
}

.c-breadcrumbs a {
  font-size: 1rem !important;
}

.c-breadcrumbs a:hover,
.c-breadcrumbs a:focus {
  text-decoration: underline !important;
  text-decoration-style: wavy !important;
  text-decoration-color: var(--c-nav__list-item-hover-color) !important;
}

/* ============================================
   16. SHARE-LEISTE
   ============================================ */
.c-share {
  position: fixed;
  display: inline-block;
  bottom: 0;
  margin-left: 50%;
  transform: translate(-50%, 0);
  z-index: 10;
}

.c-share__native {
  position: fixed;
  display: block;
  border: none;
  border-radius: 16px;
  padding: 8px 14px;
  bottom: 20px;
  margin-left: calc(50% - 20px);
  transform: translate(-50%, 0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0.7);
  background-color: rgba(234, 234, 234, 0.5);
  font-size: 1rem;
  cursor: pointer;
}

.c-share__native:hover {
  background-color: rgba(200, 200, 200, 0.8);
  color: var(--color-text);
}

.c-share__fallback {
  display: none;
  position: fixed;
  bottom: 20px;
  margin-left: 50%;
  transform: translate(-50%, 0);
  border: solid 1px rgba(234, 234, 234, 0.7);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background-color: rgba(234, 234, 234, 0.6);
  padding: 4px;
  gap: 4px;
  flex-direction: row;
  align-items: center;
}

.c-share__fallback a,
.c-share__fallback button {
  display: block;
  background: none;
  border: none;
  border-radius: 12px;
  padding: 8px 14px;
  cursor: pointer;
  text-align: center;
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.83rem;
  height: 100%;
}

.c-share__fallback button {
  width: auto;
  white-space: nowrap;
}

.c-share__fallback a:hover,
.c-share__fallback button:hover {
  background-color: rgba(200, 200, 200, 0.8);
  text-decoration: none;
  color: var(--color-text);
}

/* ============================================
   17. FLOW-CHART
   ============================================ */
.c-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 96px;
  margin: 96px 0;
  overflow: visible;
}

@media screen and (min-width: 768px) {
  .c-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    row-gap: 144px;
    column-gap: 0;
    max-width: 100vw;
  }
}

@media screen and (min-width: 1280px) {
  .c-container {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    row-gap: 144px;
    column-gap: 0;
  }

  .c-main__wissensvermittlung .c-container,
  .c-main__methode-und-analyse .c-container {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto auto auto auto;
    margin-right: -500px;
    row-gap: 96px;
  }

  .c-main__methode-und-analyse .c-container {
    column-gap: 48px;
  }
}

.c-flow-chart-container {
  position: relative;
  padding: 20px;
  border: solid 1px var(--color-text);
  max-width: 85vw;
  width: 90%;
}

.c-flow-chart-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media screen and (min-width: 768px) {
  .c-flow-chart-container {
    max-width: 350px;
    align-content: center;
    justify-items: center;
    justify-self: center;
  }
}

@media screen and (min-width: 1280px) {
  .c-flow-chart-container {
    width: 350px;
  }
}

.c-flow-chart-container__head {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.c-flow-chart-container__body p,
.c-flow-chart-container__body li,
.c-flow-chart-container__body a {
  font-size: 0.9rem;
}

.c-number {
  font-size: 1.2rem;
  background-color: var(--color-text);
  color: var(--color-bg);
  border-radius: 100%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  flex-grow: 0;
}

.c-flow-chart-container__head h2 {
  font-size: 1.2rem;
  color: var(--color-text);
  padding-top: 4px;
  flex-shrink: 0;
  flex-grow: 0;
  margin: 0;
  padding: 0;
}

#why,
#whom,
#approach,
#courses,
#talks,
#advice,
#deepen,
#formats,
#workshops,
#workshops-content,
#workshops-formats,
#impulses,
#inpulses-content,
#inpulses-formats,
#projects,
#projects-content,
#projects-formats,
#methodical-approach,
#formal-analysis,
#semantic-analysis,
#contextual-analysis,
#relationship,
#practical-impact,
#decision {
  background: var(--color-bg);
}

#courses,
#talks,
#advice,
#workshops-content,
#inpulses-content,
#projects-content,
#semantic-analysis,
#contextual-analysis {
  margin-top: -56px;
}

@media screen and (min-width: 768px) {
  #why {
    grid-column: 1 / 4;
  }
  #approach {
    grid-column: 1 / 4;
  }
  #courses {
    grid-column: 1;
    justify-self: right;
  }
  #talks {
    grid-column: 2;
  }
  #advice {
    grid-column: 3;
    justify-self: left;
  }
  #deepen {
    grid-column: 1 / 4;
  }
}

@media screen and (min-width: 1280px) {
  #why {
    grid-column: 2;
  }
  #approach {
    grid-column: 2;
  }
  #courses {
    grid-column: 1;
    justify-self: right;
  }
  #talks {
    grid-column: 2;
  }
  #advice {
    grid-column: 3;
    justify-self: left;
    z-index: 100;
  }
  #deepen {
    grid-column: 2;
  }
  #formats {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  #workshops {
    grid-column: 1 / 3;
    grid-row: 2;
    align-self: self-start;
  }
  #workshops-content {
    grid-column: 4 / 7;
    grid-row: 2;
  }
  #workshops-formats {
    grid-column: 4 / 7;
    grid-row: 3;
    margin-top: -72px;
  }
  #impulses {
    grid-column: 1 / 3;
    grid-row: 4;
    align-self: self-start;
  }
  #inpulses-content {
    grid-column: 4 / 7;
    grid-row: 4;
  }
  #inpulses-formats {
    grid-column: 4 / 7;
    grid-row: 5;
    margin-top: -72px;
  }
  #projects {
    grid-column: 1 / 3;
    grid-row: 6;
    align-self: self-start;
  }
  #projects-content {
    grid-column: 4 / 7;
    grid-row: 6;
  }
  #projects-formats {
    grid-column: 4 / 7;
    grid-row: 7;
    margin-top: -72px;
  }
  #methodical-approach {
    grid-column: 1 / 7;
  }
  #formal-analysis {
    grid-column: 1 / 3;
    grid-row: 2;
  }
  #semantic-analysis {
    grid-column: 3 / 5;
    grid-row: 2;
  }
  #contextual-analysis {
    grid-column: 5 / 7;
    grid-row: 2;
  }
  #relationship {
    grid-column: 1 / 7;
    grid-row: 3;
  }
  #decision {
    grid-column: 1 / 7;
    grid-row: 4;
  }
  #courses,
  #talks,
  #advice,
  #workshops-content,
  #inpulses-content,
  #projects-content,
  #semantic-analysis,
  #contextual-analysis {
    margin-top: 0;
  }
  #semantic-analysis,
  #contextual-analysis,
  #formal-analysis {
    align-self: flex-start;
  }
}

svg#connections {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

svg#connections path {
  vector-effect: non-scaling-stroke;
}

.c-highlight-box {
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0.7);
  background-color: rgba(234, 234, 234, 0.5);
}

/* ============================================
   18. ARTIKEL
   ============================================ */
.c-article-list {
  position: relative;
  margin: 0 -20px;
  overflow: hidden;
}

.c-article-list__item {
  position: relative;
  padding: 20px;
}

@media screen and (min-width: 1280px) {
  .c-article-list__item:first-of-type {
    padding-top: 0;
  }
}

.c-article-list__headline {
  display: inline;
}

.c-article-list__headline a {
  position: relative;
  font-size: 1.35rem;
  font-weight: 700;
}

.c-article-list__category {
  position: relative;
  display: inline-block;
  font-size: 0.83rem;
  background-color: var(--color-accent);
  border-radius: 50px;
  padding: 6px 6px 4px 6px;
  font-weight: bolder;
  top: -1px;
}

.c-main__magazin-artikel .c-article-list__category {
  font-size: 0.9rem !important;
  top: 0;
}

.c-article-list__category a {
  text-decoration: none;
  font-size: inherit;
  background-color: var(--color-accent);
  border: none;
}

.c-article-list__category a:hover {
  text-decoration: wavy !important;
}

.c-article-list__teaser {
  position: relative;
  font-size: 0.9rem;
  margin: 0.3rem 0 0.6rem 0;
}

.c-article-list__link {
  position: relative;
  font-size: 1rem;
}

.c-article-list__link:hover {
  text-decoration: underline wavy currentColor;
  background: var(--color-accent);
}

.c-article-list__item:last-of-type {
  margin-bottom: 0;
}

.c-article {
  position: relative;
}

.c-article__headline {
  position: relative;
  hyphens: auto;
  word-wrap: break-word;
}

.c-article__teaser {
  margin-top: 12px;
  text-indent: 1.5rem;
}

.c-article__categories {
  margin-top: 48px;
}

.c-article__content {
  margin-top: 48px;
}

.c-article__content p {
  margin-bottom: 6px;
}

.c-article__content p:first-of-type {
  text-indent: 1.5rem;
}

.c-article__content h2,
aside h2 {
  margin: 18px 0 6px 0;
  line-height: 1.22;
  font-weight: bolder;
  font-size: 1.2rem;
}

aside p {
  line-height: 1.33;
}

/* ============================================
   19. ARTIKEL-NAVIGATION
   ============================================ */
.c-next-article {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 250px;
  background: var(--color-bg);
  padding: 10px;
  border: solid 1px var(--color-text);
  z-index: 10;
}

.c-previous-article {
  display: none;
  position: fixed;
  bottom: 50px;
  left: 20px;
  width: 250px;
  background: var(--color-bg);
  padding: 10px;
  border: solid 1px var(--color-text);
  z-index: 10;
}

@media screen and (min-width: 768px) {
  .c-previous-article {
    display: block;
  }
}

/* ============================================
   20. KATEGORIEN-LISTE
   ============================================ */
.c-categories-list {
  position: relative;
}

.c-categories-list__item {
  position: relative;
  display: inline-block;
  font-size: 0.9rem !important;
  background-color: var(--color-bg);
  border: 2px dashed var(--color-text);
  border-radius: 50px;
  padding: 8px 8px 6px 8px;
  margin: 0.15rem 0.3rem 0.15rem -2px;
}

.c-article p {
  line-height: 1.33;
}

/* ============================================
   21. KREISE UND FORM-ELEMENTE
   ============================================ */
.c-circle {
  position: relative;
  top: -2px;
  flex-shrink: 0;
  align-self: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.c-circle--nav {
  background-color: var(--color-accent-nav);
}

.c-circle--is-contour {
  background-color: transparent;
  border: 2px solid var(--color-accent);
}

dialog {
  padding: 20px;
}

/* ============================================
   22. MODAL
   ============================================ */
.c-modal {
  position: relative;
  grid-area: dialog;
  left: 20px;
  background-color: var(--color-accent);
  width: 85vw;
}

.c-modal a span {
  background: var(--color-bg);
}

@media (min-width: 768px) {
  .c-modal {
    width: 500px;
  }
}

.c-modal__headline {
  font-size: 1rem;
  font-weight: 900;
  text-align: left;
}

.c-modal__text {
  font-size: 0.833rem;
}

.c-modal__more {
  font-size: 0.833rem;
}

.c-modal__close {
  position: absolute;
  top: 18px;
  right: 20px;
}

.c-modal__button {
  padding: 0;
  margin: 0;
  border: none;
  font-size: 0.9rem;
  background-color: var(--color-accent);
  cursor: pointer;
}

.c-modal__button:hover {
  text-decoration: underline wavy currentColor;
  background: var(--color-bg);
}

.c-overlay-contact__title,
.c-overlay-contact__text {
  position: relative;
  font-size: 1rem;
  line-height: 1.22;
}

/* ============================================
   23. ERROR STATES
   ============================================ */
.error-input {
  border-color: var(--color-error-msg);
  color: var(--color-error-msg);
}

.error-input::placeholder,
textarea.error-input::placeholder {
  color: var(--color-error-msg);
  opacity: 1;
}

.error-label {
  color: var(--color-error-msg);
}

.error-label a {
  color: inherit;
}

.error-checkbox {
  border: 2px solid var(--color-error-msg);
}

/* ============================================
   24. SKIP LINK
   ============================================ */
.c-skip-link {
  position: absolute;
  top: -200px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 100;
  text-decoration: none;
}

.c-skip-link:focus {
  top: 0;
}

/* ============================================
   25. PFEILE
   ============================================ */
.c-arrow {
  position: absolute;
  bottom: -40px;
  width: 15px;
  height: 15px;
  border: 2px solid;
  border-width: 2px 2px 0 0;
  margin: 8px;
}

.c-arrow--read-more {
  position: relative;
  bottom: -8px;
  left: -2px;
  transform: rotate(-225deg);
}

.c-arrow::before {
  content: "";
  position: absolute;
  right: 0;
  top: -1.5px;
  height: 2px;
  box-shadow: inset 0 0 0 32px;
  transform: rotate(-45deg);
  width: 23px;
  transform-origin: right top;
}

.c-arrow--index::before {
  width: 15px;
}

.c-arrow--up {
  transform: none;
}

.c-arrow--left {
  transform: rotate(45deg);
  right: 0;
}

.c-arrow--right {
  transform: rotate(-135deg);
  left: 0;
}

.c-arrow--right-up {
  transform: rotate(0deg);
  left: 0;
}

/* ============================================
   26. UTILITY CLASSES
   ============================================ */
.fs-0-63rem {
  font-size: 0.63rem !important;
}
.fs-0-9rem {
  font-size: 0.9rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}
.mt-6px {
  margin-top: 6px !important;
}
.mt-8px {
  margin-top: 8px !important;
}
.mt-20px {
  margin-top: 20px !important;
}
.mt-24px {
  margin-top: 24px !important;
}
.mt-48px {
  margin-top: 48px !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}
.mb-3px {
  margin-bottom: 3px;
}
.mb-6px {
  margin-bottom: 6px;
}
.mb-12px {
  margin-bottom: 12px;
}
.mb-20px {
  margin-bottom: 20px;
}
.mb-24px {
  margin-bottom: 24px !important;
}
.mb-36px {
  margin-bottom: 36px;
}
.mb-48px {
  margin-bottom: 48px;
}
.mb-72px {
  margin-bottom: 72px;
}

.ml-2-5pct {
  margin-left: 2.5%;
}
.ml-12-5pct {
  margin-left: 12.5%;
}
.ml-18-75pct {
  margin-left: 18.75%;
}
.ml-31-25pct {
  margin-left: 31.25%;
}
.ml-37-5pct {
  margin-left: 37.5%;
}

.pt-72px {
  padding-top: 72px;
}
.pt-48px {
  padding-top: 48px;
}
.pt-36px {
  padding-top: 36px;
}
.pt-24px {
  padding-top: 24px;
}
.pl-20px {
  padding-left: 20px;
}

.ta-center {
  text-align: center;
}

.visually-hidden {
  position: absolute !important;
  top: 1px;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.d-inline {
  display: inline !important;
}

/* ============================================
   27. SCROLL ANIMATIONS
   ============================================ */
.c-fade-on-scroll {
  animation: fadeOut linear both;
  animation-timeline: scroll();
  animation-range: 0 10vh;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
