@charset "UTF-8";
  :root {
    --paper: #FAF6EE;
    --paper-dim: #F0E9DA;
    --sage: #6B7A5E;
    --ink: #2B2118;
    --ink-soft: #6B6153;
    --stamp: #A63D2F;
    --line: #DAD0BB;
    --rand: #EFEBE3;
    --line-soft: #E6E4E0;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: var(--rand);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
  }
  header,
  main {
    background: #fff;
  }
  main {
    max-width: 1400px;
    margin: 0 auto;
  }
  .wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 24px 100px;
  }
  a.back {
    display: inline-block;
    margin-bottom: 32px;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 14px;
  }
  .eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 20px;
  }
  a.back:hover { text-decoration: underline; }
  h1 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 2.2rem;
    margin: 0 0 32px;
    overflow-wrap: break-word;
  }
  h2 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: 1.25rem;
    margin: 36px 0 12px;
  }
  p { margin: 0 0 8px; color: var(--ink-soft); }
  .placeholder {
    background: #fff3d6;
    border: 1px dashed var(--stamp);
    padding: 2px 6px;
    border-radius: 3px;
    color: var(--stamp);
    font-size: 0.95em;
  }
  .hinweis {
    margin-top: 48px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 13.5px;
  }
  .topic-nav {
    margin-bottom: 20px;
  }
  .topic-dropdown {
    display: inline-block;
    position: relative;
  }
  .site-header__leiste {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .kategorien-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
  }
  .kategorien-pfeil {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }
  .kategorien-pfeil[hidden] { display: none; }
  .kategorien-pfeil::before {
    content: '';
    position: absolute;
    right: -4px;
    top: -8px;
    bottom: -8px;
    width: 52px;
    z-index: -1;
    pointer-events: none;
  }
  .kategorienleiste {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    gap: 22px;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
  }
  .kategorienleiste::-webkit-scrollbar { display: none; }
  .kategorienleiste a {
    color: var(--ink-soft);
    text-decoration: none;
    white-space: nowrap;
    padding: 2px 0;
    border-bottom: 1px solid transparent;
  }
  .kategorienleiste a:hover,
  .kategorienleiste a:focus-visible {
    color: var(--stamp);
    border-bottom-color: var(--stamp);
  }
  .topic-dropdown__icon {
    display: inline-block;
    width: 13px;
    height: 9px;
    background:
      linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat,
      linear-gradient(currentColor, currentColor) 0 50% / 100% 1.5px no-repeat,
      linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  }
  .topic-dropdown > summary {
    list-style: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .topic-dropdown > summary::-webkit-details-marker {
    display: none;
  }
  .topic-dropdown[open] > summary {
    border-color: var(--ink-soft);
  }
  .topic-dropdown__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(43,33,24,0.16);
    padding: 8px;
    min-width: 250px;
    max-width: 300px;
    max-height: min(70vh, 480px);
    overflow-y: auto;
    z-index: 100;
  }
  .topic-dropdown__menu li {
    margin: 0;
  }
  .topic-dropdown__menu a {
    display: block;
    padding: 8px 10px;
    border-radius: 4px;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
  }
  .topic-dropdown__menu a:hover {
    background: var(--paper-dim);
  }
  .topic-dropdown__home {
    font-weight: 400;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px !important;
    margin-bottom: 4px;
  }
  .topic-dropdown__standalone {
    font-weight: 400;
    border-top: none;
  }
  .topic-dropdown__kategorie + .topic-dropdown__standalone {
    border-top: 1px solid var(--line);
  }
  .breadcrumb {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 0 0 24px;
  }
  .breadcrumb a {
    color: var(--ink-soft);
    text-decoration: underline;
  }
  .breadcrumb a:hover {
    color: var(--stamp);
  }
  .breadcrumb .breadcrumb-sep {
    margin: 0 6px;
    opacity: 0.5;
  }
  .breadcrumb .breadcrumb-current {
    color: var(--ink);
    font-weight: 600;
  }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 300;
    background: rgba(250, 246, 238, 0.92);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line);
    transform: translateY(0);
    transition: transform .22s ease;
  }
  .site-header--kompakt {
    transform: translateY(calc(-1 * var(--kopf-oben, 0px)));
  }
  @media (prefers-reduced-motion: reduce) {
    .site-header { transition: none; }
  }
  .site-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: 10px;
    column-gap: 24px;
  }
  .site-header__brand {
    font-family: 'VT323', monospace;
    font-weight: 400;
    font-size: 26px;
    line-height: 1;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.02em;
  }
  .site-header__brand:hover {
    color: var(--stamp);
  }
  .site-header__left {
    display: flex;
    align-items: baseline;
    gap: 20px;
    flex: 1 1 auto;
  }
  .site-header__brand + .site-header__link {
    margin-left: auto;
  }
  .site-header__link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--ink-soft);
    text-decoration: none;
  }
  .site-header__link:hover {
    color: var(--stamp);
  }
  .site-header__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
  }
  .site-search {
    position: relative;
  }
  .site-search__input {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 14px;
    width: 170px;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: #fff;
  }
  .site-search__input:focus {
    outline: none;
    border-color: var(--stamp);
  }
  .site-search__results {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(43,33,24,0.16);
    width: 320px;
    max-height: 380px;
    overflow-y: auto;
    z-index: 300;
  }
  .site-search__results.visible {
    display: block;
  }
  .site-search__result {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
  }
  .site-search__result:last-child {
    border-bottom: none;
  }
  .site-search__result:hover {
    background: var(--paper-dim, #F0E9DA);
  }
  .site-search__result-category {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--sage);
    margin-bottom: 2px;
  }
  .site-search__result-title {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 14px;
    color: var(--ink);
  }
  .site-search__empty {
    padding: 14px;
    font-size: 13px;
    color: var(--ink-soft);
  }
  @media (max-width: 640px) {
    .site-header__leiste {
      padding: 0 16px 10px;
      flex-wrap: wrap;
      gap: 10px;
    }
    .site-header__right {
      flex: 1 1 100%;
      min-width: 0;
      order: -1;
    }
    .kategorienleiste {
      flex: 1 1 100%;
    }
    .site-search {
      flex: 1 1 0;
      min-width: 0;
    }
    .site-header__right > .topic-dropdown {
      flex: 0 0 auto;
    }
    .site-search__input {
      width: 100%;
      box-sizing: border-box;
      font-size: 16px;
    }
    .site-search__results {
      width: 100%;
      left: 0;
      right: 0;
    }
    .topic-dropdown__menu {
      position: fixed;
      top: 100%;
      left: 16px;
      right: 16px;
      width: auto;
      min-width: 0;
      max-width: none;
    }
    .site-header__inner {
      padding: 12px 16px;
    }
    .site-header__left {
      gap: 8px;
      flex: 1 1 auto;
    }
    .site-header--kompakt {
      transform: translateY(calc(-1 * var(--kopf-ganz, 0px)));
    }
    .site-header__link {
      font-size: 13px;
    }
  }
  footer {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 60px;
    font-size: 12px;
    color: var(--ink-soft);
    border-top: 2px dashed var(--line);
    padding-top: 28px;
  }
  footer .legal-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  footer .legal-links a {
    text-decoration: underline;
    color: var(--ink);
  }
  .site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #E9E2D5;
    line-height: normal;
  }
  .site-header__brand,
  .site-header__brand:hover {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.04em;
    color: #2B2118;
    text-decoration: none;
  }
  .site-header__brand .marke-punkt { color: #2B2118; }
  .site-header__link {
    color: #7A6F62;
    font-size: 13px;
    font-weight: 400;
  }
  .site-header__link:hover { color: #2B2118; }
  .site-search__input {
    background: #F6F3ED;
    border-color: #E6DED0;
    color: #2B2118;
  }
  .site-search__input::placeholder { color: #9A8F82; }
  .site-search__input:focus {
    border-color: #2B2118;
    box-shadow: none;
  }
  .kategorien-pfeil { color: #6F6457; }
  .kategorien-pfeil:hover { color: #2B2118; }
  .kategorien-pfeil::before {
    background: linear-gradient(to right,
      rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95) 60%);
  }
  .topic-dropdown > summary {
    background: transparent;
    border-color: #E6DED0;
    color: #4A4036;
  }
  .topic-dropdown[open] > summary { border-color: #4A4036; }
  .kategorienleiste {
    font-size: 13px;
    gap: 22px;
  }
  .kategorienleiste a {
    font-weight: 500;
    color: #4A4036;
  }
  .kategorienleiste a:hover,
  .kategorienleiste a:focus-visible {
    color: #2B2118;
    border-bottom-color: #2B2118;
  }
  @media (min-width: 641px) {
    .site-search__input,
    .topic-dropdown > summary { font-size: 13px; }
  }
  footer {
    max-width: none;
    background: #2B2620;
    color: rgba(243, 239, 231, 0.72);
    border-top: none;
    padding-top: 36px;
    padding-bottom: 44px;
    padding-left: max(var(--seitenluft, 24px),
                      calc((100% - 1400px) / 2 + var(--seitenluft, 24px)));
    padding-right: max(var(--seitenluft, 24px),
                       calc((100% - 1400px) / 2 + var(--seitenluft, 24px)));
  }
  footer .legal-links a { color: #F3EFE7; }
  footer .legal-links a:hover { color: #F3EFE7; }
  :where(main, .wrap, header .intro-text) a:where(:not([class])) {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--stamp);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
  }
  :where(main, .wrap, header .intro-text) a:where(:not([class])):hover,
  :where(main, .wrap, header .intro-text) a:where(:not([class])):focus-visible {
    color: var(--stamp);
  }
