/* ############
   ### CORE ###
   ############ */

:root {
  --unit: 40px;

  --border-radius: 7px;

  /* LIGHT DEFAULT */
  --K15t-background-neutral: #ffffff; /* primary_color */
  --K15t-background-neutral-subtle: #fafafa; /* secondary_color */
  --K15t-border-neutral: #e4e4e7; /* teritary_color */
  --K15t-foreground: #000c34; /* quaternary_color */
  --K15t-foreground-subtle: #535968; /* quinary_color */

  /* DARK DEFAULT 
  --K15t-background-neutral: #09090B;
  --K15t-background-neutral-subtle: #18181B;
  --K15t-border-neutral: #27272A;
  --K15t-foreground: #F4F4F5;
  --K15t-foreground-subtle: #A1A1AA;*/

  --K15t-font-family-sans: 'Roboto', Helvetica, Arial, sans-serif;
  --K15t-font-weight-regular: 400;
  --K15t-font-weight-medium: 500;
  --K15t-font-weight-bold: 700;

  --font-size: 16px;
  --line-height: 28px;

  --font-size-small: 0.8rem;
  --line-height-small: 1.3;

  --font-size-h1: 3.5rem;
  --line-height-h1: 1.2;
  --font-size-h2: 3rem;
  --line-height-h2: 1.1;
  --font-size-h3: 2rem;
  --line-height-h3: 1.2;
  --font-size-h4: 1.5rem;
  --line-height-h4: 1.4;
  --font-size-h5: 1.2rem;
  --line-height-h5: 1.4;

  --font-size-h6: var(--font-size-h5);
  --line-height-h6: var(--line-height-h5);
}

@media (max-width: 1024px) {
  :root {
    --font-size: 14px;
    --line-height: 26px;

    --font-size-h1: 3rem;
    --line-height-h1: 1.1;
    --font-size-h2: 2.5rem;
    --line-height-h2: 1.1;
    --font-size-h3: 1.5rem;
    --line-height-h3: 1.2;
    --font-size-h4: 1.2rem;
    --line-height-h4: 1.3;
  }
}

@media (max-width: 768px) {
  :root {
    --font-size: 14px;
    --line-height: 26px;

    --font-size-small: 0.7rem;
    --line-height-small: 1.3;

    --font-size-h1: 2.4rem;
    --line-height-h1: 1.2;
  }
}

/* RESET --------------------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

ul,
ol {
  list-style-type: none;
}

a {
  text-decoration: none;
}

strong {
  font-weight: var(--K15t-font-weight-medium);
}

/* ROUTER --------------------------------------------------------------------------------------- */

[data-route] {
  display: none;
}

[data-route].active {
  display: block;
}

/* HEADLINES ----------------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--K15t-font-weight-medium);
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--K15t-font-weight-bold);
  line-height: var(--line-height-h1);
}

h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
}

h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
}

h4 {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
}

h5 {
  font-size: var(--font-size-h5);
  line-height: var(--line-height-h5);
}

h6 {
  font-size: var(--font-size-h6);
  line-height: var(--line-height-h6);
}

/* BODY ---------------------------------------------------------------------------------------- */

body {
  background-color: var(--K15t-background-neutral);

  font-family: var(--K15t-font-family-sans);
  font-weight: var(--K15t-font-weight-regular);
  font-style: normal;
  font-optical-sizing: auto;
  font-variation-settings: 'wdth' 100;
  font-size: var(--font-size);
  line-height: var(--line-height);
  color: var(--K15t-foreground);
}

/* HEADER -------------------------------------------------------------------------------------- */

.header {
  z-index: 1000;
  position: sticky;
  top: 0;
  margin: 0 0 calc(var(--unit) * 2) 0;
  padding: 0 calc(var(--unit) * 3);
  width: 100%;
  border-bottom: 1px solid transparent;

  transition: transform 0.2s ease-out, border-color 0.1s ease-out;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  background-color: var(--K15t-background-neutral);
  opacity: 0.98;
}

body.theme--dark .header::before {
  opacity: 0.92;
}

body.header--border .header {
  border-color: var(--K15t-border-neutral);
  backdrop-filter: blur(3px);
}

body.header--border .header .header-content {
  padding: calc(var(--unit) * 0.75) 0;
}

body.header--hide .header {
  transform: translate3d(0, -100%, 0);
}

@media (max-width: 1024px) {
  .header {
    padding: 0 calc(var(--unit) * 2);
  }
}

@media (max-width: 768px) {
  .header {
    margin: 0 0 calc(var(--unit) * 1) 0;
    padding: 0 calc(var(--unit) * 1);
  }

  body.header--hide .header {
    transform: none;
  }
}

.header a {
  color: var(--K15t-foreground);
}

@media (hover: hover) {
  .header a {
    transition: color 0.2s ease-out;
  }

  .header a:hover {
    color: var(--K15t-foreground-subtle);
  }
}

.header-content {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: calc(var(--unit) * 1);
  position: relative;
  padding: calc(var(--unit) * 1) 0;
  margin: 0 auto;
  width: inherit;
  max-width: 1200px;

  transition: padding 0.1s ease-out;
}

@media (max-width: 768px) {
  .header-content {
    padding: calc(var(--unit) * 0.65) 0 !important;
  }
}

.header-logo {
  font-size: var(--font-size-h4);
  font-weight: var(--K15t-font-weight-medium);
  line-height: var(--line-height-h4);
}

.header-logo-image {
  width: auto;
  height: calc(var(--unit) * 0.75);

  line-height: 0;
}

@media (max-width: 768px) {
  .header-logo-image {
    height: calc(var(--unit) * 0.5);
  }
}

.header-logo-image img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}

.header-navigation {
  flex: 1;
}

@media (max-width: 768px) {
  .header-navigation {
    display: none;
  }
}

.header-search {
}

@media (max-width: 768px) {
  .header-search {
    display: none;
    margin-left: auto;
  }
}

.header-hamburger {
  cursor: pointer;
  position: relative;
  display: none;
  width: calc(var(--unit) * 0.5);
  height: calc(var(--unit) * 0.5);

  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
}

@media (max-width: 768px) {
  .header-hamburger {
    display: flex;
    margin-left: auto;
  }
}

.header-hamburger--bun,
.header-hamburger--patty {
  border: 0;
  outline: 0;
  background: none;

  position: absolute;
  left: 0;
  width: calc(var(--unit) * 0.5);
  height: 2px;
  background-color: var(--K15t-foreground);
  transition: top 0.2s ease-out, width 0.2s ease-out, opacity 0.2s ease-out, transform 0.2s ease-out;
}

.header-hamburger--bun:first-of-type {
  top: 2px;
  transition-delay: 0s;
}

.header-hamburger--patty {
  top: 8px;
  transition-delay: 0.2s;
}

.header-hamburger--bun:last-of-type {
  top: 14px;
  transition-delay: 0s;
}

body.header--show-mobile-navigation .header-hamburger--bun:first-of-type {
  top: 8px;
  width: calc(var(--unit) * 0.55);
  transform: rotate(135deg);
  transition-delay: 0.2s;
}

body.header--show-mobile-navigation .header-hamburger--patty {
  width: 0;
  opacity: 0;
  transition-delay: 0s;
}

body.header--show-mobile-navigation .header-hamburger--bun:last-of-type {
  top: 8px;
  width: calc(var(--unit) * 0.55);
  transform: rotate(-135deg);
  transition-delay: 0.2s;
}

/* MOBILE NAVIGATION */

.header-content-mobile {
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  gap: calc(var(--unit) * 0.75);
  padding-bottom: calc(var(--unit) * 1);
  width: 100%;
}

@media (min-width: 769px) {
  .header-content-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body.header--show-mobile-navigation .header-content-mobile {
    display: flex;
  }
}

.header-content-mobile .header-navigation {
  display: block;
}

.header-content-mobile .nav--main ul {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(var(--unit) * 0.15);
  width: 100%;
}

.header-content-mobile .nav--main ul li {
  width: inherit;
}

.header-content-mobile .nav--main ul li a {
  overflow: hidden;
  display: block;
  width: inherit;
  max-width: 100%;

  white-space: nowrap;
  text-overflow: ellipsis;
}

.header-content-mobile .header-search {
  display: block;
  width: 100%;
}

/* MAIN ---------------------------------------------------------------------------------------- */

.main {
  margin: calc(var(--unit) * 2) 0;
  padding: 0 calc(var(--unit) * 3);
}

@media (max-width: 1024px) {
  .main {
    padding: 0 calc(var(--unit) * 2);
  }
}

@media (max-width: 768px) {
  .main {
    margin: calc(var(--unit) * 1) 0;
    padding: 0 calc(var(--unit) * 1);
  }
}

.main-content {
  margin: 0 auto;
  width: inherit;
  max-width: 1200px;
}

/* FOOTER -------------------------------------------------------------------------------------- */

.footer {
  padding: calc(var(--unit) * 2) calc(var(--unit) * 3);
  width: 100%;
  background-color: var(--K15t-background-neutral-subtle);
}

@media (max-width: 1024px) {
  .footer {
    padding: calc(var(--unit) * 2);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: calc(var(--unit) * 1.5) calc(var(--unit) * 1);
  }
}

.footer a {
  display: inline-block;

  color: var(--K15t-foreground-subtle);
}

@media (hover: hover) {
  .footer a {
    transition: color 0.2s ease-out;
  }

  .footer a:hover {
    color: var(--K15t-foreground);
  }
}

.footer-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(var(--unit) * 0.5);
  width: inherit;
  max-width: 300px;
}

.footer-text {
  color: var(--K15t-foreground-subtle);
}

.footer-socialmedia {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: calc(var(--unit) * 0.4);
}

.footer-socialmedia:empty {
  display: none;
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: calc(var(--unit) * 2);
  margin: 0 auto;
  width: inherit;
  max-width: 1200px;
}

.footer-content--sitemap {
  align-items: flex-start;
}

@media (max-width: 768px) {
  .footer-content--sitemap {
    flex-direction: column;
    justify-content: center;
    gap: calc(var(--unit) * 1.5);
  }
}

@media (max-width: 500px) {
  .footer-content--sitemap {
    text-align: center;
  }

  .footer-content--sitemap .footer-container {
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 250px;
  }
}

.footer-logo {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;

  font-size: var(--font-size-h4);
  font-weight: var(--K15t-font-weight-medium);
  line-height: var(--line-height-h4);
}

.footer-logo a {
  color: var(--K15t-foreground);
}

.footer-logo-image {
  width: auto;
  height: calc(var(--unit) * 0.75);

  line-height: 0;
}

.footer-logo-image img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}

.footer-navigation {
  margin-left: auto;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: calc(var(--unit) * 1.5);
}

.footer-content--default .footer-navigation {
}

@media (max-width: 1024px) {
  .footer-content--default .footer-navigation {
    flex-direction: column;
    flex-wrap: wrap;
    gap: calc(var(--unit) * 0.25);
  }
}

@media (max-width: 768px) {
  .footer-content--default {
    flex-direction: column;
    gap: calc(var(--unit) * 0.75);
  }

  .footer-content--default .footer-navigation {
    justify-content: center;
    gap: calc(var(--unit) * 0.75);
    margin-left: 0;
    width: 100%;

    text-align: center;
  }

  .footer-content--default .nav--main {
    width: 100%;
  }

  .footer-content--default .nav--main ul {
    flex-direction: column;
    justify-content: center;
    gap: calc(var(--unit) * 0.2);
    width: inherit;
  }

  .footer-content--default .nav--main ul li {
    width: inherit;
  }

  .footer-content--default .nav--main ul li a {
    overflow: hidden;
    display: block;
    width: inherit;
    max-width: 100%;

    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

.footer-content--sitemap .footer-navigation {
  justify-content: flex-end;
  align-items: flex-start;
  gap: calc(var(--unit) * 1);
  width: 100%;
}

@media (max-width: 1200px) {
  .footer-content--sitemap .footer-navigation {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .footer-content--sitemap .footer-navigation {
    justify-content: flex-start;
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 500px) {
  .footer-content--sitemap .footer-navigation {
    flex-direction: column;
    gap: calc(var(--unit) * 0.75);
    margin: 0 auto;
    max-width: 250px;
  }
}

.footer-content--sitemap .nav--meta {
  /*flex: 1;*/
  width: calc((100% - var(--unit) * 3) / 4);
}

.footer-content--sitemap .nav--meta:first-child:last-child {
  width: 100%;
}

@media (max-width: 1200px) {
  .footer-content--sitemap .nav--meta {
    flex: none;
    width: calc((100% - var(--unit) * 1) / 2);
  }
}

@media (max-width: 500px) {
  .footer-content--sitemap .nav--meta {
    width: 100%;
  }
}

.footer-content--sitemap .nav--meta ul,
.footer-content--sitemap .nav--meta ul li,
.footer-content--sitemap .nav--meta ul a {
  width: 100%;
}

.footer-content--sitemap .nav--meta ul a {
  overflow: hidden;
  display: block;
  max-width: 100%;

  white-space: nowrap;
  text-overflow: ellipsis;
}

/* NAVIGATION ---------------------------------------------------------------------------------- */

.nav {
}

.nav--main ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: calc(var(--unit) * 0.5);
}

.nav--main ul li.categories {
  position: relative;
  display: none;
}

.nav--main ul li.categories > a {
  margin-left: calc(var(--unit) * -0.5);
  padding: 0 calc(var(--unit) * 0.5);
}

.nav--main ul li.categories ul {
  position: absolute;
  top: 100%;
  right: 0;
  transform: translate3d(0, 20px, 0);
  display: none;
  padding: calc(var(--unit) * 0.35) calc(var(--unit) * 0.5);
  width: 180px;
  background-color: var(--K15t-foreground);
  border-radius: var(--border-radius);

  color: var(--K15t-background-neutral);
}

.nav--main ul li.categories ul:before {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 0;
  width: 100%;
  height: 20px;
  background-color: transparent;
}

.nav--main ul li.categories ul:after {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 15px;
  margin-left: -7px;
  border-width: 7px;
  border-style: solid;
  border-color: transparent transparent var(--K15t-foreground) transparent;
}

.nav--main ul li.categories ul li a {
  overflow: hidden;
  display: block;
  width: 100%;
  max-width: 100%;

  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--K15t-background-neutral);
}

@media (hover: hover) and (min-width: 769px) {
  .nav--main ul li.categories {
    display: list-item;
  }

  .nav--main ul li.categories:hover ul {
    display: block;
  }

  .nav--main ul li.categories ul li a:hover {
    color: var(--K15t-foreground-subtle);
  }
}

.nav--meta ul {
  margin-top: calc(var(--unit) * 0.5);
}

@media (max-width: 500px) {
  .footer-content--sitemap .nav--meta ul {
    margin-top: calc(var(--unit) * 0.25);
  }
}

.nav--meta ul:first-child {
  margin-top: 0;
}

.meta-navigation-heading,
.meta-navigation-link {
  white-space: nowrap;
}

/* SEARCH -------------------------------------------------------------------------------------- */

.search-form {
  position: relative;
  width: auto;
  height: calc(var(--unit) * 1);
}

#search-icon {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: calc(var(--unit) * 0.34);
  transform: translate3d(0, -50%, 0);

  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  color: var(--K15t-background-neutral);
}

#search-icon i {
  transform: translate3d(0, 1px, 0);
}

.search-input {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  border-radius: 0px;

  overflow: hidden;
  padding: 0;
  width: calc(var(--unit) * 1);
  height: inherit;
  background-color: var(--K15t-foreground);
  border-radius: calc(var(--unit) * 1);
  transition: width 0.2s ease-out;

  font-family: var(--K15t-font-family-sans);
  font-weight: var(--K15t-font-weight-regular);
  font-style: normal;
  font-optical-sizing: auto;
  font-variation-settings: 'wdth' 100;
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--K15t-background-neutral);
}

::-webkit-input-placeholder {
  color: var(--K15t-background-neutral);
}
::-moz-placeholder {
  color: var(--K15t-background-neutral);
}
:-ms-input-placeholder {
  color: var(--K15t-background-neutral);
}
:-moz-placeholder {
  color: var(--K15t-background-neutral);
}

.search-input:focus::-webkit-input-placeholder {
  color: var(--K15t-foreground);
}
.search-input:focus::-moz-placeholder {
  color: var(--K15t-foreground);
}
.search-input:focus:-ms-input-placeholder {
  color: var(--K15t-foreground);
}
.search-input:focus:-moz-placeholder {
  color: var(--K15t-foreground);
}

@media (hover: hover) {
  .search-input:hover {
  }
}

.search-input:focus {
  padding: 0 calc(var(--unit) * 0.5) 0 calc(var(--unit) * 0.9);
  width: calc(var(--unit) * 5) !important;
}

@media (max-width: 768px) {
  .search-input,
  .search-input:focus {
    padding: 0 calc(var(--unit) * 0.5) 0 calc(var(--unit) * 0.9);
    max-width: 100%;
    width: 100% !important;
  }
}

.search-button {
  display: none;
}

#search-loading {
  display: block;
  opacity: 1;
}

#search-loading.search-loading--hide {
  width: 0;
  height: 0;
  opacity: 0;
}

#search-description {
  display: block;
  opacity: 1;
}

#search-description.search-description--hide {
  width: 0;
  height: 0;
  opacity: 0;
}

#search-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(var(--unit) * 0.75);
  width: 100%;
}

.search-result {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(var(--unit) * 0.25);
  width: inherit;
}

.search-result .description {
  color: var(--K15t-foreground-subtle);
}

.search-result .title {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
}

.search-result .link {
  color: var(--K15t-foreground);
}

@media (hover: hover) {
  .search-result .link {
    transition: color 0.2s ease-out;
  }

  .search-result .link:hover {
    color: var(--K15t-foreground-subtle);
  }
}

.search-result .url {
  overflow: hidden;
  display: inline-block;
  max-width: 100%;

  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  color: var(--K15t-foreground);
}

.search-result:nth-child(n + 2) {
  padding-top: calc(var(--unit) * 0.75);
  border-top: 1px solid var(--K15t-border-neutral);
}

.search-result em {
  display: inline-block;
  padding: 0 calc(var(--unit) * 0.2);
  background-color: var(--K15t-background-neutral-subtle);
  border: 1px solid var(--K15t-border-neutral);
  border-radius: var(--border-radius);

  font-style: normal;
}

/* SECTION ------------------------------------------------------------------------------------- */

section {
  margin: calc(var(--unit) * 2) 0;
}

.section--compact {
  margin: calc(var(--unit) * 1) 0;
}

.section--compact:first-of-type {
  margin-top: calc(var(--unit) * -1.5);
}

.section--compact + section {
  margin-top: calc(var(--unit) * 1);
}

.section--large-margin {
  margin: calc(var(--unit) * 3) 0;
}

@media (max-width: 1024px) {
  section {
    margin: calc(var(--unit) * 1) 0;
  }

  .section--compact:first-of-type {
    margin-top: calc(var(--unit) * -1.5);
  }
}

@media (max-width: 770px) {
  .section--compact:first-of-type {
    margin-top: calc(var(--unit) * 1);
  }
}

section:empty {
  display: none;
}

/* GRID ---------------------------------------------------------------------------------------- */

.grid-latest-post {
  overflow: hidden;
  background-color: var(--K15t-background-neutral-subtle);
  border: 1px solid var(--K15t-border-neutral);
  border-radius: var(--border-radius);
}

@media (hover: hover) {
  .grid-latest-post .grid-image img {
    transform: scale(1.025);
    transition: transform 0.4s ease-out;
  }

  .grid-latest-post:hover .grid-image img {
    transform: scale(1.001);
  }

  .grid-latest-post .grid-headline,
  .grid-latest-post .grid-excerpt {
    transition: color 0.2s ease-out;
  }

  .grid-latest-post:hover .grid-headline {
    color: var(--K15t-foreground-subtle);
  }

  .grid-latest-post:hover .grid-excerpt {
    color: var(--K15t-foreground);
  }
}

.grid-latest-post .grid-link {
  align-items: stretch;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0px;
}

@media (max-width: 1024px) {
  .grid-latest-post .grid-link {
    flex-direction: column;
    flex-wrap: wrap;
  }
}

.grid-latest-post .grid-image,
.grid-latest-post .grid-meta {
  width: 50%;
}

.grid-latest-post.grid-latest-post--noimage .grid-image,
.grid-latest-post.grid-latest-post--noimage .grid-meta {
  width: 100%;
}

@media (max-width: 1024px) {
  .grid-latest-post .grid-image,
  .grid-latest-post .grid-meta {
    width: 100%;
  }
}

.grid-latest-post .grid-image {
  border-radius: 0px;
  background-color: var(--K15t-border-neutral);
}

.grid-latest-post .grid-image img {
  width: 100%;
  height: 100%;
}

.grid-latest-post .grid-meta {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: calc(var(--unit) * 0.25);

  padding: calc(var(--unit) * 2);
}

@media (max-width: 1024px) {
  .grid-latest-post .grid-meta {
    padding: calc(var(--unit) * 1);
  }
}

@media (max-width: 768px) {
  .grid-latest-post .grid-meta {
    padding: calc(var(--unit) * 0.75);
  }
}

.grid-latest-post .grid-date,
.grid-latest-post .grid-date:first-child {
  margin-top: 0;
}

/* --- */

.grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: calc(var(--unit) * 1);
  width: 100%;
}

.grid--posts.grid--noimages {
  row-gap: calc(var(--unit) * 1.5);
}

.grid--featured {
  align-items: stretch;
}

.grid--featured .grid-item {
  overflow: hidden;
  background-color: var(--K15t-background-neutral-subtle);
  border: 1px solid var(--K15t-border-neutral);
  border-radius: var(--border-radius);
}

.grid--featured .grid-image {
  border-radius: 0px;
  background-color: var(--K15t-border-neutral);
}

.grid--featured.grid--hideimage .grid-image {
  display: none;
}

.grid--featured .grid-link {
  padding-bottom: calc(var(--unit) * 1);
}

.grid--featured .grid-date,
.grid--featured .grid-headline,
.grid--featured .grid-excerpt {
  padding: 0 calc(var(--unit) * 1);
}

.grid--featured h2.grid-headline {
  font-size: var(--font-size-h5);
  line-height: var(--line-height-h5);
}

.grid--featured .grid-headline:first-child {
  padding-top: calc(var(--unit) * 1);
}

.grid--featured .grid-date {
  padding-top: calc(var(--unit) * 0.5);
}

.grid--featured .grid-date:first-child {
  padding-top: calc(var(--unit) * 1);
}

@media (max-width: 768px) {
  .grid--featured .grid-link {
    padding-bottom: calc(var(--unit) * 0.75);
  }

  .grid--featured .grid-date,
  .grid--featured .grid-headline,
  .grid--featured .grid-excerpt {
    padding: 0 calc(var(--unit) * 0.75);
  }

  .grid--featured .grid-headline:first-child {
    padding-top: calc(var(--unit) * 0.75);
  }

  .grid--featured .grid-date {
    padding-top: calc(var(--unit) * 0.25);
  }

  .grid--featured .grid-date:first-child {
    padding-top: calc(var(--unit) * 0.75);
  }
}

.grid-item {
  width: calc((100% - var(--unit) * 2) / 3);
}

@media (max-width: 1024px) {
  .grid-item {
    width: calc((100% - var(--unit) * 1) / 2);
  }
}

@media (max-width: 768px) {
  .grid-item {
    width: 100%;
  }
}

@media (hover: hover) {
  .grid-item .grid-image img {
    transform: scale(1.025);
    transition: transform 0.4s ease-out;
  }

  .grid-item:hover .grid-image img {
    transform: scale(1.001);
  }

  .grid-item .grid-headline,
  .grid-item .grid-excerpt {
    transition: color 0.2s ease-out;
  }

  .grid-item:hover .grid-headline {
    color: var(--K15t-foreground-subtle);
  }

  .grid-item:hover .grid-excerpt {
    color: var(--K15t-foreground);
  }
}

.grid-link {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(var(--unit) * 0.25);
  width: 100%;
  height: 100%;

  color: var(--K15t-foreground);
}

.grid-image {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: var(--border-radius);
  background-color: var(--K15t-border-neutral);

  line-height: 0;
  color: var(--K15t-foreground-subtle);
}

.grid-image.grid-image--landscape_medium {
  aspect-ratio: 640 / 360;
}

.grid-image.grid-image--square_medium {
  aspect-ratio: 640 / 640;
}

.grid-image.grid-image--landscape_medium img,
.grid-image.grid-image--square_medium img {
  object-fit: cover;
  object-position: center;
}

.grid-image img {
  width: inherit;
  height: auto;
}

.grid-date {
  overflow: hidden;
  /*margin: calc(var(--unit) * 0.5) 0;*/
  margin: calc(var(--unit) * 0.5) 0 0 0;
  width: 100%;
  max-width: 100%;

  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
}

.grid-date:first-child {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .grid-date {
    margin: calc(var(--unit) * 0.25) 0;
  }
}

h2.grid-headline {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
}

.grid-headline {
  width: 100%;

  overflow: hidden;
  display: -webkit-box;
  line-clamp: 3; /*2*/
  -webkit-line-clamp: 3; /*2*/
  -webkit-box-orient: vertical;
}

.grid-excerpt {
  width: 100%;

  overflow: hidden;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

  color: var(--K15t-foreground-subtle);
}

.grid-excerpt strong {
  font-weight: var(--K15t-font-weight-regular);
}

.grid-excerpt:empty {
  display: none !important;
}

/* POST -> LOAD MORE BUTTON */

.grid-more {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: calc(var(--unit) * 0.25);
  margin: calc(var(--unit) * 2) 0;
  width: 100%;
}

@media (max-width: 1024px) {
  .grid-more {
    margin: calc(var(--unit) * 1) 0;
  }
}

/* IMAGE --------------------------------------------------------------------------------------- */

.image-fallback {
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;

  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
}

/* PAGE ---------------------------------------------------------------------------------------- */

.page-headline {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(var(--unit) * 0.25);
  width: 100%;
}

.page-headline--center {
  align-items: center;
}

/* POST ---------------------------------------------------------------------------------------- */

.post {
}

.post-meta {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(var(--unit) * 0.5);
  width: 100%;
}

.post-headline {
}

.post-headline--related {
  font-size: var(--font-size-h1);
  font-weight: var(--K15t-font-weight-bold);
  line-height: var(--line-height-h1);
}

.post-date {
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
}

.post-image {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: var(--border-radius);
  background-color: var(--K15t-border-neutral);

  color: var(--K15t-foreground-subtle);

  line-height: 0;
}

.post-image.post-image--cinema_medium {
  aspect-ratio: 1200 / 360;
}

.post-image.post-image--cinema_medium img {
  object-fit: cover;
  object-position: center;
}

.post-image img {
  width: inherit;
  height: auto;
}

/* POST -> CONTENT */

.post-content {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(var(--unit) * 2);
  width: 100%;
}

@media (max-width: 1280px) {
  .post-content {
    flex-direction: column;
    flex-wrap: wrap;
    gap: calc(var(--unit) * 1);
  }
}

.post-content--main {
  /*flex: 1;*/
  max-width: calc(((100% - var(--unit) * 2) / 3) * 2);
}

.post-content--main:first-child:last-child {
  max-width: 100%;
}

@media (max-width: 1280px) {
  .post-content--main {
    max-width: 100%;
  }
}

.post-content--main * {
  max-width: 100%;
}

.post-content--main a {
  text-decoration: underline;
  color: var(--K15t-foreground);
}

@media (hover: hover) {
  .post-content--main a {
    transition: color 0.2s ease-out;
  }

  .post-content--main a:hover {
    color: var(--K15t-foreground-subtle);
  }
}

/* POST -> SIDEBAR */

.post-content--sidebar {
  z-index: 500;
  position: sticky;
  top: calc(var(--unit) * 4.5);
  width: calc((100% - var(--unit) * 2) / 3);
  transition: top 0.2s ease-out;
}

.post-content--sidebar--static {
  position: static;
  top: auto;
}

@media (max-width: 1280px) {
  .post-content--sidebar,
  body.header--hide .post-content--sidebar {
    position: static !important;
    top: auto;
    width: 100%;
  }
}

body.header--hide .post-content--sidebar {
  top: calc(var(--unit) * 2);
}

.post-content--sidebar h4 {
  font-size: var(--font-size);
  line-height: var(--line-height);
}

.post-content--sidebar-container {
  overflow: hidden;
  max-width: 100%;
  background-color: var(--K15t-background-neutral-subtle);
  border: 1px solid var(--K15t-border-neutral);
  border-radius: var(--border-radius);
}

.post-content--sidebar-container:nth-child(n + 2) {
  margin-top: calc(var(--unit) * 1);
}

.post-content--sidebar-toc,
.post-content--sidebar-share {
  padding: calc(var(--unit) * 0.75);
}

@media (max-width: 1280px) {
  .post-content--sidebar-toc,
  .post-content--sidebar-share {
    padding: calc(var(--unit) * 0.4) calc(var(--unit) * 0.55);
  }
}

.post-content--sidebar-toc-list,
.post-content--sidebar-share-list {
  list-style-type: none !important;
  padding-left: 0px !important;
}

.post-content--sidebar-toc-list {
  margin-top: calc(var(--unit) * 0.25) !important;
}

.post-content--sidebar-toc-list:empty {
  margin-top: 0 !important;
}

.post-content--sidebar-share-list {
  margin-top: 0px !important;
}

.post-content--sidebar-toc-list a,
.post-content--sidebar-share-list a {
  color: var(--K15t-foreground-subtle);
}

@media (hover: hover) {
  .post-content--sidebar-toc-list a,
  .post-content--sidebar-share-list a {
    transition: color 0.2s ease-out;
  }

  .post-content--sidebar-toc-list a:hover,
  .post-content--sidebar-share-list a:hover {
    color: var(--K15t-foreground);
  }
}

.post-content--sidebar-toc-list a {
  overflow: hidden;
  display: block;
  width: 100%;

  white-space: nowrap;
  text-overflow: ellipsis;
}

.post-content--sidebar-toc-list--active {
  font-weight: var(--K15t-font-weight-medium);
}

.post-content--sidebar-share {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  /*background-color: var(--K15t-background-neutral);*/
}

.post-content--sidebar-share:nth-child(n + 2) {
  border-top: 1px solid var(--K15t-border-neutral);
}

.post-content--sidebar-share-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
  gap: calc(var(--unit) * 0.35);
}

.post-content--sidebar-teaser {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}

.post-content--sidebar-teaser-image {
  overflow: hidden;
  width: inherit;

  line-height: 0;
}

.post-content--sidebar-teaser-image img {
  width: 100%;
  height: auto;
}

.post-content--sidebar-teaser-text {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(var(--unit) * 0.5);
  padding: calc(var(--unit) * 1);
  width: 100%;
}

.post-content--sidebar-teaser-content {
  width: 100%;
}

/* POST -> SERIES */

.post-content--series {
  overflow: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  margin-top: calc(var(--unit) * 1.5);
  background-color: var(--K15t-background-neutral-subtle);
  border: 1px solid var(--K15t-border-neutral);
  border-radius: var(--border-radius);

  line-height: 0;
}

.post-content--series__name {
  flex: 1;
  min-width: 0;
  padding: calc(var(--unit) * 0.75);
  border-right: 1px solid var(--K15t-border-neutral);
  border-left: 1px solid var(--K15t-border-neutral);

  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  text-align: center;
}

@media (max-width: 1280px) {
  .post-content--series__name {
    padding: calc(var(--unit) * 0.5);
  }
}

.post-content--series__name--truncated {
  overflow: hidden;
  width: 100%;

  font-weight: var(--K15t-font-weight-medium);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.post-content--series__disabled {
  pointer-events: none;
  mix-blend-mode: luminosity;

  opacity: 0.35;
}

.post-content--series__previous a,
.post-content--series__next a {
  padding: calc(var(--unit) * 0.75);
}

.post-content--series__previous i {
  transform: translate3d(1px, 0, 0);
}

.post-content--series__next i {
  transform: translate3d(-1px, 0, 0);
}

@media (hover: hover) {
  .post-content--series__previous:not(.post-content--series__disabled) i,
  .post-content--series__next:not(.post-content--series__disabled) i {
    transition: transform 0.2s ease-out;
  }

  .post-content--series__previous:not(.post-content--series__disabled):hover i {
    transform: translate3d(-3px, 0, 0);
  }

  .post-content--series__next:not(.post-content--series__disabled):hover i {
    transform: translate3d(3px, 0, 0);
  }
}

@media (max-width: 1280px) {
  .post-content--series__previous a,
  .post-content--series__next a {
    padding: calc(var(--unit) * 0.5);
  }
}

@media (max-width: 768px) {
  .post-content--series {
    margin-top: calc(var(--unit) * 1);
  }
}

/* POST -> TEXT */

.post-content h1:nth-child(n + 2),
.post-content h2:nth-child(n + 2),
.post-content h3:nth-child(n + 2),
.post-content h4:nth-child(n + 2),
.post-content h5:nth-child(n + 2),
.post-content h6:nth-child(n + 2),
.post-content p:nth-child(n + 2),
.post-content ul:nth-child(n + 2),
.post-content ol:nth-child(n + 2) {
  margin-top: calc(var(--unit) * 0.5);
}

.post-content h1:nth-child(n + 2),
.post-content h2:nth-child(n + 2) {
  margin-top: calc(var(--unit) * 1.5);
}

@media (max-width: 768px) {
  .post-content h1:nth-child(n + 2),
  .post-content h2:nth-child(n + 2) {
    margin-top: calc(var(--unit) * 1);
  }
}

.post-content h1:nth-child(n + 2):not(:last-child),
.post-content h2:nth-child(n + 2):not(:last-child) {
  margin-bottom: calc(var(--unit) * 1);
}

.post-content h2 {
  scroll-margin-top: calc(var(--unit) * 4.2);
}

@media (max-width: 768px) {
  .post-content h2 {
    scroll-margin-top: calc(var(--unit) * 1.5);
  }
}

.post-content ul,
.post-content ol {
  padding-left: calc(var(--unit) * 0.4);
}

.post-content ul {
  list-style-type: square;
}

.post-content ol {
  list-style-type: decimal;
}

/* POST -> PANEL + QUOTE */

.post-content div[data-component='panel'],
.post-content blockquote {
  overflow: hidden;
  padding: calc(var(--unit) * 1);
  background-color: var(--K15t-background-neutral-subtle);
  border: 1px solid var(--K15t-border-neutral);
  border-radius: var(--border-radius);
}

.post-content div[data-component='panel']:nth-child(n + 2),
.post-content blockquote:nth-child(n + 2) {
  margin-top: calc(var(--unit) * 1.5);
}

@media (max-width: 768px) {
  .post-content div[data-component='panel']:nth-child(n + 2),
  .post-content blockquote:nth-child(n + 2) {
    margin-top: calc(var(--unit) * 1);
  }
}

.post-content div[data-component='panel']:nth-child(n + 2):not(:last-child),
.post-content blockquote:nth-child(n + 2):not(:last-child) {
  margin-bottom: calc(var(--unit) * 1.5);
}

@media (max-width: 768px) {
  .post-content div[data-component='panel']:nth-child(n + 2):not(:last-child),
  .post-content blockquote:nth-child(n + 2):not(:last-child) {
    margin-bottom: calc(var(--unit) * 1);
  }
}

/* POST -> PAGE PROPERTIES */

.page-properties {
  display: none !important;
}

/* POST -> ACTIONS */

.post-content .task-list {
}

.post-content .task-list:nth-child(n + 2) {
  margin-top: calc(var(--unit) * 0.5);
}

.post-content .task-list ul {
  list-style-type: none;
  padding-left: 0;
}

.post-content .task-item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: calc(var(--unit) * 0.25);
}

.post-content .task-item-icon {
  display: none;
}

.post-content .task-item-icon[checked] + .task-item-label::before {
  content: '\f058';

  font-family: 'Font Awesome 6 Sharp';
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.post-content .task-item-icon:not([checked]) + .task-item-label::before {
  content: '\f111';

  font-family: 'Font Awesome 6 Sharp';
  font-weight: 400;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.post-content .task-item-label {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: calc(var(--unit) * 0.25);
  flex: 1;
}

.post-content .task-item-label p {
  flex: 1;
}

/* POST -> TABLE + FIGURE */

.post-content div[data-component='table']:nth-child(n + 2) {
  margin-top: calc(var(--unit) * 1.5);
}

.post-content div[data-component='table']:nth-child(n + 2):not(:last-child) {
  margin-bottom: calc(var(--unit) * 1.5);
}

@media (max-width: 768px) {
  .post-content div[data-component='table']:nth-child(n + 2) {
    margin-top: calc(var(--unit) * 1);
  }

  .post-content div[data-component='table']:nth-child(n + 2):not(:last-child) {
    margin-bottom: calc(var(--unit) * 1);
  }
}

.post-content div[data-component='table'] {
  overflow: hidden;
  border: 1px solid var(--K15t-border-neutral);
  border-radius: var(--border-radius);
}

.post-content div[data-component='table'] table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background-color: var(--K15t-background-neutral-subtle);
}

.post-content div[data-component='table'] table th,
.post-content div[data-component='table'] table td {
  padding: calc(var(--unit) * 0.35) calc(var(--unit) * 0.55);

  text-align: left;
}

.post-content div[data-component='table'] table tr:nth-child(n + 2) td {
  border-top: 1px solid var(--K15t-border-neutral);
}

.post-content div[data-component='table'] table tr th:nth-child(n + 2),
.post-content div[data-component='table'] table tr td:nth-child(n + 2) {
  border-left: 1px solid var(--K15t-border-neutral);
}

.post-content div[data-component='table'] table img {
  max-width: 100%;
  height: auto;
}

/*
.post-content table {
  border-spacing: 0;
}

.post-content table tr {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: calc(var(--unit) * 0.5);
}

.post-content table tr:nth-child(n + 2) p {
  padding-top: calc(var(--unit) * 0.5);
}

.post-content table td {
  flex: 1;
}
*/

/*.post-content table:nth-child(n + 2),*/
.post-content figure:nth-child(n + 2) {
  margin-top: calc(var(--unit) * 1.5);
}

@media (max-width: 768px) {
  /*.post-content table:nth-child(n + 2),*/
  .post-content figure:nth-child(n + 2) {
    margin-top: calc(var(--unit) * 1);
  }
}

/*.post-content table:nth-child(n + 2):not(:last-child),*/
.post-content figure:nth-child(n + 2):not(:last-child) {
  margin-bottom: calc(var(--unit) * 1.5);
}

@media (max-width: 768px) {
  /*.post-content table:nth-child(n + 2):not(:last-child),*/
  .post-content figure:nth-child(n + 2):not(:last-child) {
    margin-bottom: calc(var(--unit) * 1);
  }
}

/*.post-content table img,*/
.post-content figure img,
.post-content figure video {
  overflow: hidden;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* POST -> YOUTUBE */

.post-content .youtube {
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
  border-radius: var(--border-radius);
}

.post-content .youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.post-content .youtube:nth-child(n + 2) {
  margin-top: calc(var(--unit) * 1.5);
}

@media (max-width: 768px) {
  .post-content .youtube:nth-child(n + 2) {
    margin-top: calc(var(--unit) * 1);
  }
}

.post-content .youtube:nth-child(n + 2):not(:last-child) {
  margin-bottom: calc(var(--unit) * 1.5);
}

@media (max-width: 768px) {
  .post-content .youtube:nth-child(n + 2):not(:last-child) {
    margin-bottom: calc(var(--unit) * 1);
  }
}

/* POST -> DIVIDER */

.post-content hr {
  border: 0;
  border-top: 1px solid var(--K15t-border-neutral);
}

.post-content hr:nth-child(n + 2) {
  margin-top: calc(var(--unit) * 1.5);
}

@media (max-width: 768px) {
  .post-content hr:nth-child(n + 2) {
    margin-top: calc(var(--unit) * 1);
  }
}

.post-content hr:first-child:not(:last-child) {
  margin-bottom: calc(var(--unit) * 1.5);
}

@media (max-width: 768px) {
  .post-content hr:first-child:not(:last-child) {
    margin-bottom: calc(var(--unit) * 1);
  }
}

.post-content hr:nth-child(n + 2):not(:last-child) {
  margin-bottom: calc(var(--unit) * 1.5);
}

@media (max-width: 768px) {
  .post-content hr:nth-child(n + 2):not(:last-child) {
    margin-bottom: calc(var(--unit) * 1);
  }
}

.post-content p:empty {
  display: none;
}

.post-content p br:first-child:last-child {
  display: none;
}

/* BUTTONS ------------------------------------------------------------------------------------- */

.button {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  border-radius: 0px;

  cursor: pointer;
  padding: 0 calc(var(--unit) * 0.5);
  width: auto;
  height: calc(var(--unit) * 1);
  background-color: transparent;
  border-radius: calc(var(--unit) * 1);
  border: 1px solid var(--K15t-foreground);
  transition: padding 0.2s ease-out;

  font-family: var(--K15t-font-family-sans);
  font-weight: var(--K15t-font-weight-regular);
  font-style: normal;
  font-optical-sizing: auto;
  font-variation-settings: 'wdth' 100;
  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--K15t-foreground);
}

@media (hover: hover) {
  .button:hover {
    padding: 0 calc(var(--unit) * 0.75);
  }
}

.button--primary {
  background-color: var(--K15t-foreground);

  color: var(--K15t-background-neutral);
}

.button--secondary {
  border-color: var(--K15t-foreground);

  color: var(--K15t-foreground);
}

/* ACTIONS ------------------------------------------------------------------------------------- */


/* MODAL */

.modal {
  z-index: 10000;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

.modal::before {
  pointer-events: none;
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--K15t-background-neutral);
  opacity: 0.65;
}

body.theme--light .modal::before {
  opacity: 0.85;
}

.modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(var(--unit) * 0.5);
  padding: calc(var(--unit) * 1);
  width: calc(100% - var(--unit) * 2);
  max-width: 640px;
  height: auto;
  border-radius: var(--border-radius);
  background-color: var(--K15t-foreground);
  box-shadow: 0px 10px 60px rgba(0, 0, 0, 0.25);
  transform: translate3d(-50%, -50%, 0);

  color: var(--K15t-background-neutral);
}

body.theme--light .modal-container {
  background-color: var(--K15t-background-neutral);

  color: var(--K15t-foreground);
}

.modal-header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(var(--unit) * 0.5);
  width: 100%;
}

.modal-headline {
  overflow: hidden;
  flex: 1;
}

.modal-headline h5 {
  overflow: hidden;

  /*white-space: nowrap;*/
  text-overflow: ellipsis;
}

.modal-close {
  cursor: pointer;
  margin-left: auto;
  transform: translate3d(10px, -15px, 0);

  text-align: right;
}

@media (hover: hover) {
  .modal-close {
    transition: opacity 0.2s ease-out, color 0.2s ease-out;
  }

  .modal-close:hover {
    opacity: 0.5;
  }
}

.modal-content {
  width: 100%;

  line-height: 0;
}

.modal-content img {
  overflow: hidden;
  width: 100%;
  height: auto;
  border-radius: calc(var(--border-radius) * 0.5);
}

.modal-content p {
  line-height: var(--line-height);
}

.modal-content p:not(:first-child) {
  margin-top: calc(var(--unit) * 0.5);
}

.modal-content iframe {
  width: 100%;
  height: auto;
  min-height: 200px;
  border: none;
}

.modal-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: calc(var(--unit) * 0.25);
  width: 100%;
}

body.theme--dark .modal-actions .button--primary {
  border-color: var(--K15t-background-neutral);
  background-color: var(--K15t-background-neutral);

  color: var(--K15t-foreground);
}

body.theme--dark .modal-actions .button--secondary {
  border-color: var(--K15t-background-neutral);
  background-color: transparent;

  color: var(--K15t-background-neutral);
}

/* ANNOUNCEMENT */

.announcement {
  z-index: 9000;
  position: fixed;
  right: calc(var(--unit) * 1);
  bottom: calc(var(--unit) * 1);
  width: calc(100% - var(--unit) * 2);
  max-width: 400px;
  height: auto;
}

.announcement-container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(var(--unit) * 0.5);
  padding: calc(var(--unit) * 1);
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  background-color: var(--K15t-foreground);
  box-shadow: 0px 10px 60px rgba(0, 0, 0, 0.25);

  color: var(--K15t-background-neutral);
}

body.theme--light .announcement-container {
  background-color: var(--K15t-background-neutral);

  color: var(--K15t-foreground);
}

.announcement-header {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(var(--unit) * 0.5);
  width: 100%;
}

.announcement-headline {
  overflow: hidden;
  flex: 1;
}

.announcement-headline h5 {
  overflow: hidden;

  /*white-space: nowrap;*/
  text-overflow: ellipsis;
}

.announcement-close {
  cursor: pointer;
  margin-left: auto;
  transform: translate3d(10px, -15px, 0);

  text-align: right;
}

@media (hover: hover) {
  .announcement-close {
    transition: opacity 0.2s ease-out, color 0.2s ease-out;
  }

  .announcement-close:hover {
    opacity: 0.5;
  }
}

.announcement-content {
  width: 100%;

  line-height: 0;
}

.announcement-content img {
  overflow: hidden;
  width: 100%;
  height: auto;
  border-radius: calc(var(--border-radius) * 0.5);
}

.announcement-content p {
  line-height: var(--line-height);
}

.announcement-content p:not(:first-child) {
  margin-top: calc(var(--unit) * 0.5);
}

.announcement-content iframe {
  width: 100%;
  height: auto;
  min-height: 200px;
  border: none;
}

.announcement-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: calc(var(--unit) * 0.25);
  width: 100%;
}

body.theme--dark .announcement-actions .button--primary {
  border-color: var(--K15t-background-neutral);
  background-color: var(--K15t-background-neutral);

  color: var(--K15t-foreground);
}

body.theme--dark .announcement-actions .button--secondary {
  border-color: var(--K15t-background-neutral);
  background-color: transparent;

  color: var(--K15t-background-neutral);
}

/* TRIAL BANNER */

.trial-banner {
  z-index: 100000000000;
  position: fixed;
  bottom: 0;
  padding: 0 calc(var(--unit) * 3);
  background-color: #ffcc00;
  width: 100%;

  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  color: #09090B;
}

@media (max-width: 1024px) {
  .trial-banner {
    padding: 0 calc(var(--unit) * 0.5);
  }
}

.trial-banner-content {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: calc(var(--unit) * 2);
  position: relative;
  margin: 0 auto;
  padding: calc(var(--unit) * 0.5) 0;
  width: inherit;
  max-width: 1200px;
}

@media (max-width: 1024px) {
  .trial-banner-content {
    gap: calc(var(--unit) * 1);
  }
}

@media (max-width: 600px) {
  .trial-banner-content {
    gap: calc(var(--unit) * 0.5);
  }
}

.trial-banner-headline {
  font-weight: var(--K15t-font-weight-medium);
}

.trial-banner-text {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: calc(var(--unit) * 0.25);

  text-align: center;
}

.trial-banner-text:first-child {
  justify-content: flex-start;
}

.trial-banner-text a {
  border-bottom: 1px solid #09090B;

  font-weight: var(--K15t-font-weight-medium);
  color: #09090B;
}

@media (hover: hover) {
  .trial-banner-text a {
    transition: border-color 0.2s ease-out, opacity 0.2s ease-out, color 0.2s ease-out;
  }

  .trial-banner-text a:hover {
    opacity: 0.5;
  }
}

.trial-banner-close {
  cursor: pointer;
}

.trial-banner-close:nth-child(2) {
  flex: 1;

  text-align: right;
}

.trial-banner-close a {
  border-bottom: 1px solid #09090B;

  font-weight: var(--K15t-font-weight-medium);
  color: #09090B;
}

@media (hover: hover) {
  .trial-banner-close {
    transition: opacity 0.2s ease-out, color 0.2s ease-out;
  }

  .trial-banner-close:hover {
    opacity: 0.5;
  }
}

/* BANNER */

.header-banner {
  position: relative;
  padding: 0 calc(var(--unit) * 3);
  background-color: var(--K15t-foreground);
  width: 100%;

  font-size: var(--font-size-small);
  line-height: var(--line-height-small);
  color: var(--K15t-background-neutral);
}

@media (max-width: 1024px) {
  .header-banner {
    padding: 0 calc(var(--unit) * 2);
  }
}

@media (max-width: 768px) {
  .header-banner {
    display: none;
    padding: 0 calc(var(--unit) * 1);
  }
}

.header-banner-content {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: calc(var(--unit) * 2);
  position: relative;
  margin: 0 auto;
  padding: calc(var(--unit) * 0.5) 0;
  width: inherit;
  max-width: 1200px;
}

@media (max-width: 1024px) {
  .header-banner-content {
    gap: calc(var(--unit) * 1);
  }
}

.header-banner-headline {
  font-weight: var(--K15t-font-weight-medium);
}

.header-banner-text {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: calc(var(--unit) * 0.25);

  text-align: center;
}

.header-banner-text:first-child {
  justify-content: flex-start;
}

.header-banner-text a {
  border-bottom: 1px solid var(--K15t-background-neutral);

  font-weight: var(--K15t-font-weight-medium);
  color: var(--K15t-background-neutral);
}

@media (hover: hover) {
  .header-banner-text a {
    transition: border-color 0.2s ease-out, opacity 0.2s ease-out, color 0.2s ease-out;
  }

  .header-banner-text a:hover {
    opacity: 0.5;
  }
}

.header-banner-close {
  cursor: pointer;
}

.header-banner-close:nth-child(2) {
  flex: 1;

  text-align: right;
}

@media (hover: hover) {
  .header-banner-close {
    transition: opacity 0.2s ease-out, color 0.2s ease-out;
  }

  .header-banner-close:hover {
    opacity: 0.5;
  }
}

/* TEASER */

.teaser {
}

.teaser-content {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: calc(var(--unit) * 1);
  width: 100%;
}

@media (max-width: 768px) {
  .teaser-content {
    flex-direction: column;
    flex-wrap: wrap;
  }
}

.teaser--primary {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: calc(var(--unit) * 0.25);
  position: relative;
  padding: calc(var(--unit) * 2);
  width: 100%;
  border-radius: var(--border-radius);
  background-color: var(--K15t-foreground);

  text-align: center;
  color: var(--K15t-background-neutral);
}

@media (max-width: 1024px) {
  .teaser--primary {
    padding: calc(var(--unit) * 1.5) calc(var(--unit) * 1);
  }
}

@media (max-width: 768px) {
  .teaser--primary {
    width: 100% !important;
  }
}

/* 1 Teaser */

.teaser-count-1 .teaser--primary {
  width: 100%;
}

@media (min-width: 1025px) {
  .teaser-count-1 .teaser--primary {
    padding: calc(var(--unit) * 3);
  }

  .teaser-count-1 .teaser--primary h4 {
    font-size: var(--font-size-h2);
    font-weight: var(--K15t-font-weight-bold);
    line-height: var(--line-height-h2);
  }

  .teaser-count-1 .button {
    padding: 0 calc(var(--unit) * 0.75);
    height: calc(var(--unit) * 1.25);
  }
}

@media (hover: hover) and (min-width: 1025px) {
  .teaser-count-1 .button:hover {
    padding: 0 calc(var(--unit) * 1);
  }
}

/* 2 Teasers */

.teaser-count-2 .teaser--primary {
  width: 50%;
}

/* 3 Teasers */

.teaser-count-3 .teaser--primary {
  width: 33.33%;
}

@media (max-width: 1280px) {
  .teaser-count-3 {
    flex-wrap: wrap;
  }

  .teaser-count-3 .teaser--primary:nth-child(1),
  .teaser-count-3 .teaser--primary:nth-child(2) {
    width: calc((100% - var(--unit) * 1) / 2);
  }

  .teaser-count-3 .teaser--primary:nth-child(3) {
    width: 100%;
  }
}

.teaser--primary .button {
  margin-top: calc(var(--unit) * 0.5);
}

.teaser--primary .button--primary {
  background-color: var(--K15t-background-neutral);
  border-color: var(--K15t-background-neutral);

  color: var(--K15t-foreground);
}

.teaser--primary * {
  position: relative;
}

.teaser-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  line-height: 0;
}

.teaser-image-background {
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--K15t-foreground-subtle);
  opacity: 0.6;
}

.teaser-image img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
  transform: none;
}

@media (hover: hover) {
  .teaser-image img {
    transform: scale(1.025);
    transition: transform 0.4s ease-out;
  }

  .teaser--primary:hover .teaser-image img {
    transform: scale(1.001);
  }

  .teaser--primary {
    transition: background-color 0.2s ease-out;
  }

  .teaser--primary:hover {
    background-color: var(--K15t-foreground-subtle);
  }
}

/* DARK THEME – SPECIAL CASE */

body.theme--dark .teaser--primary.teaser-has-image {
  color: var(--K15t-foreground);
}

body.theme--dark .teaser--primary.teaser-has-image .teaser-image-background {
  background-color: var(--K15t-background-neutral-subtle);
}

body.theme--dark .teaser--primary.teaser-has-image .button--primary {
  background-color: var(--K15t-foreground);
  border-color: var(--K15t-foreground);
  color: var(--K15t-background-neutral);
}

/* FOCUS --------------------------------------------------------------------------------------- */

/* https://elbnetz.com/bfsg-checkliste-fuer-websites/#website */

/* Some exciting button focus styles */

.button:focus,
a:focus {
  outline-color: transparent;
  outline-offset: 0px;
}

/* Undo all the above focused button styles if the 
   button has focus but the browser wouldn't 
   normally show default focus styles */

.button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline-color: transparent;
  outline-offset: 0px;
}

/* Some even *more* exciting button focus styles */

.button:focus-visible,
a:focus-visible {
  outline-color: blue;
  outline-offset: 8px;
}

.search-input,
.search-input:focus,
.search-input:focus:not(:focus-visible),
.search-input:focus-visible {
  outline: none !important;
  outline-color: transparent !important;
  outline-offset: 0px !important;
}

#search-input-desktop:focus,
#search-input-desktop:valid {
    padding: 0 calc(var(--unit) * 0.5) 0 calc(var(--unit) * 0.9);
    width: calc(var(--unit) * 5) !important;
}