@media screen {
  .rk-site :where(.rk-compare, .rk-sheet-options, .site-accordion) > summary {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 8px 12px;
    list-style: none;
    line-height: 1.35;
    border-radius: 5px;
  }

  .rk-site :where(.rk-compare, .rk-sheet-options, .site-accordion) > summary::-webkit-details-marker {
    display: none;
  }

  .rk-site :where(.rk-compare, .rk-sheet-options, .site-accordion) > summary::before,
  .rk-site :where(.rk-compare, .rk-sheet-options, .site-accordion) > summary::after {
    content: '';
    grid-area: 1 / 2;
    place-self: center;
    color: var(--rk-night);
  }

  .rk-site :where(.rk-compare, .rk-sheet-options, .site-accordion) > summary::before {
    width: 30px;
    height: 30px;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: var(--rk-sky);
    box-shadow: 2px 2px 0 currentColor;
  }

  .rk-site :where(.rk-compare, .rk-sheet-options, .site-accordion) > summary::after {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }

  .rk-site :where(.rk-compare, .rk-sheet-options, .site-accordion)[open] > summary::before {
    background: var(--rk-lemon);
  }

  .rk-site :where(.rk-compare, .rk-sheet-options, .site-accordion)[open] > summary::after {
    transform: translateY(2px) rotate(225deg);
  }

  .rk-site .site-accordion > summary {
    min-height: 54px;
    padding: 10px 16px;
    border-radius: 4px 20px 4px 20px;
  }

}

@media screen {
  .rk-site:not(.rk-home) {
    --rk-page-ink: #152440;
    --rk-page-blue: #194987;
    --rk-grid-line: #5373a519;
    --rk-page-shadow: #a4bbdc;
    --post-ink: var(--rk-page-ink);
    --post-accent: var(--rk-page-blue);
    --heading: var(--rk-type);
    --editorial-paper: var(--rk-paper);
    --post-radius: 8px;
    --post-shadow: 4px 5px 0 var(--rk-page-shadow);
    color: var(--rk-page-ink);
    background-color: #faf8eb;
    background-image: linear-gradient(var(--rk-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--rk-grid-line) 1px, transparent 1px);
    background-size: 24px 24px;
    font-family: "Segoe UI", Arial, sans-serif;
  }

  .rk-site:not(.rk-home) :focus-visible { outline: 3px solid var(--rk-page-blue); outline-offset: 4px; }
  .rk-site:not(.rk-home) .rk-shelf :focus-visible { outline-color: var(--rk-lemon); }
  .rk-site:not(.rk-home) .rk-shelf nav a[aria-current] { text-decoration-color: var(--rk-lemon); text-decoration-thickness: 2px; }
  .rk-site:not(.rk-home) :is(.crumb, .seo-crumb) { width: min(1120px, calc(100% - 44px)); margin-block: 15px 20px; font-size: max(var(--copy-min, 1rem), .92rem); }
  .rk-site :is(.blog-wrap, .contact-wrap) { width: min(1120px, calc(100% - 44px)); }
  .rk-site #blog-content { padding-bottom: clamp(36px, 6vw, 72px); }
  .rk-site .rk-story-copy h1 { font: 800 clamp(2rem, 5vw, 4.5rem)/1.01 var(--rk-type); letter-spacing: -.055em; }
  .rk-site .post-content h2 { font: 790 clamp(1.63rem, 3.2vw, 2.7rem)/1.07 var(--rk-type); letter-spacing: -.038em; }
  .rk-site .post-content h3 { font: 765 clamp(1.25rem, 2.1vw, 1.6rem)/1.16 var(--rk-type); letter-spacing: -.027em; }
  .rk-site .post-content { color: var(--rk-night); }
  .rk-site .post-content p { line-height: 1.67; }
  .rk-site .post-content a:not(.editorial-button) { color: var(--rk-page-blue); }
  .rk-site .post-intro > p { font-size: clamp(1.05rem, 1.75vw, 1.23rem); }
  .rk-site .post-section { margin-block: clamp(25px, 4.8vw, 52px); }

  .rk-site .rk-article-layout :is(.post-example, .post-infographic, .post-checks) { padding: clamp(6px, 1.5vw, 13px); background: var(--rk-paper); border: 1px solid var(--rk-night); border-radius: 8px; box-shadow: 4px 5px 0 var(--rk-page-shadow); }
  .rk-site .rk-article-layout :is(.post-example, .post-infographic, .post-checks) img { border-radius: 4px; }
  .rk-site .rk-article-layout figcaption { margin-top: 0; padding: 8px 4px 2px; color: #23395e; text-align: left; font-weight: 650; }
  .rk-site .post-toc { border: 1px dashed #8298ba; border-radius: 8px; background-color: #edf5ff; }
  .rk-site .post-toc h2 { font-weight: 790; }
  .rk-site .post-toc a { display: flex; align-items: center; min-height: 40px; padding: 6px 9px; border-radius: 4px; color: var(--rk-page-blue); }
  .rk-site :is(.post-cta,.post-related,.post-sources) { border: 2px solid var(--rk-night); box-shadow: 5px 5px 0 var(--rk-page-shadow); }
  .rk-site .post-cta { background: var(--rk-night); }
  .rk-site .post-related { background: var(--rk-sky); }
  .rk-site .post-related a { align-items: center; padding: 5px 6px; border-radius: 4px; }
  .rk-site .post-related a > span { display: grid; place-items: center; flex: 0 0 30px; aspect-ratio: 1; background: var(--rk-paper); border: 1px solid var(--rk-night); border-radius: 4px; color: var(--rk-night); }
  .rk-site .editorial-icon { align-self: start; border: 2px solid #152440; border-radius: 6px; color: var(--rk-night); background: var(--rk-lemon); box-shadow: 2px 3px 0 #92afdb; }
  .rk-site .editorial-table { background: #fff; border: 1px solid #8298ba; }
  .rk-site .editorial-table th { background: var(--rk-sky); }

  .rk-site:not(.rk-home) :is(.editorial-button, .contact-form button, .legal button) {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: 8px 13px;
    border: 2px solid var(--rk-night);
    border-radius: 7px;
    background-color: var(--rk-lemon);
    color: var(--rk-night);
    box-shadow: 3px 4px 0 var(--rk-night);
    font: 760 1rem/1.23 var(--rk-type);
    text-decoration: none;
  }
  .rk-site:not(.rk-home) :is(.post-cta,.rk-story-hinweise) .editorial-button { box-shadow: 3px 4px 0 #8eadd6; }
  .rk-site.rk-journal .rk-journal-head .editorial-button { background: var(--rk-night); color: #fff; box-shadow: 3px 4px 0 #aa8412; }

  .rk-article .editorial-faq .site-accordion { border: 1px solid #8da3c6; border-inline-start: 4px solid #5879a7; background: #f9fbff; color: var(--rk-night); box-shadow: 3px 4px 0 #b5c8e1; }
  .rk-article .editorial-faq .site-accordion > summary { color: var(--rk-night); }
  .rk-article .editorial-faq .site-accordion[open] { background: #fffdf2; }
  .rk-article .editorial-faq .site-accordion p { margin: 0; }

  .rk-journal .rk-journal-head { box-shadow: 6px 6px 0 #a6bdd8; }
  .rk-journal .rk-journal-index { display: grid; gap: 12px; border: 0; }
  .rk-journal .rk-journal-card {
    padding: clamp(10px, 2vw, 19px);
    border: 2px solid var(--rk-night);
    border-radius: 8px;
    background: var(--rk-paper);
    box-shadow: 4px 5px 0 var(--rk-page-shadow);
  }
  .rk-journal .rk-journal-card:nth-child(even) { background: #f0f7ff; }
  .rk-journal .rk-journal-link { display: inline-flex; gap: .45rem; align-items: center; min-height: 39px; padding-inline: 8px; margin-inline-start: -8px; border-radius: 5px; }
  .rk-journal .rk-journal-thumbnail { box-shadow: 3px 4px 0 #98afd0; }

  .rk-page-skip { position: absolute; z-index: 3; inset: 10px auto auto 10px; padding: 10px 14px; background: var(--rk-lemon); transform: translateY(-160%); }
  .rk-page-skip:focus { transform: none; }
  .rk-contact .contact-content { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(18px, 3vw, 38px); padding-block: 0 clamp(40px, 7vw, 78px); }
  .rk-sheet-cover {
    padding: clamp(18px, 4vw, 43px);
    border: 2px solid var(--rk-night);
    border-radius: 8px;
    background-color: var(--rk-lemon);
    background-image: linear-gradient(#ac8e231f 1px, transparent 1px), linear-gradient(90deg,#ac8e231f 1px, transparent 1px);
    background-size: 19px 19px;
    box-shadow: 5px 5px 0 #a9bddb;
  }
  .rk-site .rk-sheet-cover h1 { margin: 0; color: var(--rk-night); font: 800 clamp(2.2rem, 5vw, 4.48rem)/.98 var(--rk-type); letter-spacing: -.055em; text-wrap: balance; }
  .rk-contact .contact-intro p { margin-block: 13px 0; color: var(--rk-night); max-width: 46ch; }
  .rk-contact .contact-form { min-width: 0; gap: 13px; padding: clamp(15px, 3vw, 31px); border: 2px solid var(--rk-night); border-radius: 8px; background: var(--rk-paper); box-shadow: 5px 5px 0 var(--rk-night); }
  .rk-contact .contact-form :is(input, select, textarea) { min-width: 0; border-color: #8095b9; border-radius: 5px; }
  .rk-contact .contact-form :is(input, select, textarea):focus-visible { border-color: var(--rk-page-blue); box-shadow: 0 0 0 3px var(--rk-sky); outline-offset: 2px; }
  .rk-contact .contact-form textarea { background: repeating-linear-gradient(to bottom, #fff 0 calc(1.6em - 1px), #e3ecfa calc(1.6em - 1px) 1.6em); background-position: 0 8px; }
  .rk-contact .contact-consent a { color: var(--rk-page-blue); }

  .rk-privacy .legal { padding: 0 0 clamp(34px, 6vw, 64px); background: none; }
  .rk-privacy .legal .wrap { width: min(1120px, calc(100% - 44px)); max-width: none; }
  .rk-privacy .rk-legal-bookmarks { display: flex; gap: 7px; flex-wrap: wrap; margin-block: 18px 22px; }
  .rk-privacy .rk-legal-bookmarks a { display: inline-flex; align-items: center; min-height: 39px; padding: 5px 9px; border: 1px solid #7d96bb; border-radius: 5px; background: var(--rk-sky); color: var(--rk-page-blue); font-weight: 675; text-decoration: none; }
  .rk-privacy .legal section { width: min(100%, 840px); padding: clamp(14px, 3vw, 27px); border: 1px solid var(--rk-night); border-left: 4px solid #4f74a9; border-radius: 7px; background: var(--rk-paper); box-shadow: 4px 5px 0 var(--rk-page-shadow); }
  .rk-privacy .legal section:first-of-type { margin-top: 0; }
  .rk-privacy .legal section:nth-of-type(even) { background: #f0f7ff; }
  .rk-privacy .legal section h2 { margin: 0 0 8px; font: 790 clamp(1.35rem, 3.3vw, 2.1rem)/1.08 var(--rk-type); letter-spacing: -.037em; }
  .rk-privacy .legal section p { max-width: 72ch; }
  .rk-privacy #clear-draft { margin-block: 8px 3px; }
  .rk-privacy #draft-status:empty { margin: 0; }
}

@media screen and (hover: hover) {
  .rk-site:not(.rk-home) :is(.editorial-button, .contact-form button, #clear-draft, .rk-shelf-button):not(:disabled):hover { background-color: #b8dcff; color: var(--rk-night); box-shadow: 5px 6px 0 #355885, 0 12px 21px #15244030; }
  .rk-site:not(.rk-home) .rk-shelf nav a:hover { color: var(--rk-lemon); }
  .rk-site:not(.rk-home) :is(.post-toc a, .post-related a, .rk-journal-link, .rk-legal-bookmarks a):hover { color: var(--rk-night); background: #fff2aa; box-shadow: 2px 3px 0 #88a6d2; text-decoration: underline; }
  .rk-site:not(.rk-home) .rk-journal-card:hover { background: #fff2b0; box-shadow: 6px 7px 0 #7c9bc8, 0 13px 22px #1524402c; }
  .rk-site:not(.rk-home) :is(.rk-journal-thumbnail,.rk-variant-board > div,.rk-story-note,.post-example,.post-infographic,.post-checks,.post-related,.legal section):hover { border-color: #355a91; box-shadow: 5px 6px 0 #8ca9d2, 0 12px 21px #15244020; }
  .rk-site:not(.rk-home) .editorial-faq .site-accordion > summary:hover { background: #edf5ff; }
  .rk-site:not(.rk-home) .editorial-faq .site-accordion > summary:hover::before { background: var(--rk-lemon); box-shadow: 3px 3px 0 currentColor; }
  .rk-site:not(.rk-home) .post-cta:hover .editorial-icon { background: var(--rk-rose); box-shadow: 3px 5px 0 #92afdb; }
  .rk-site:not(.rk-home) .rk-glyph-board span:hover { background: #ffd7c7; box-shadow: 3px 4px 0 #193b55; }
  .rk-contact .contact-form :is(input,select,textarea):not([aria-invalid=true]):hover { border-color: #315a93; box-shadow: 0 0 0 2px #c2ddff; }
}

@media screen and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .rk-site:not(.rk-home) :is(.editorial-button,.contact-form button,#clear-draft,.rk-shelf-button,.rk-shelf .rk-logo img,.post-toc a,.post-related a,.rk-journal-link,.rk-legal-bookmarks a,.rk-journal-card,.rk-journal-thumbnail,.rk-variant-board > div,.rk-story-note,.post-example,.post-infographic,.post-checks,.post-related,.editorial-icon,.rk-glyph-board span,.legal section,.contact-form input,.contact-form select,.contact-form textarea,.editorial-faq summary) { transition: transform .24s cubic-bezier(.22, 1, .4, 1), background-color .22s ease, box-shadow .22s ease, border-color .2s ease, color .2s ease; }
  .rk-site:not(.rk-home) :is(.editorial-button,.contact-form button,#clear-draft,.rk-shelf-button):not(:disabled):hover { translate: none; transform: translateY(-3px) scale(1.025); }
  .rk-site:not(.rk-home) :is(.rk-journal-card,.rk-glyph-board span):hover { transform: translateY(-4px); }
  .rk-site:not(.rk-home) .rk-shelf .rk-logo:hover img { transform: rotate(-9deg) scale(1.14); }
  .rk-site:not(.rk-home) .editorial-faq .site-accordion > summary::before { transition: background-color .2s ease, box-shadow .2s ease; }
  .rk-site:not(.rk-home) .editorial-faq .site-accordion > summary::after { transition: transform .23s ease; }
}

@media screen and (max-width: 720px) {
  .rk-contact .contact-content { grid-template-columns: minmax(0,1fr); }
}

@media screen and (max-width: 550px) {
  .rk-site :is(.contact-wrap,.blog-wrap,.crumb,.seo-crumb,.legal .wrap) { width: calc(100% - 30px); }
  .rk-site .rk-story-copy h1 { overflow-wrap: anywhere; }
  .rk-site .post-toc a { min-height: 38px; }
  .rk-site .post-cta { gap: 9px; }
  .rk-site .editorial-icon { min-width: 37px; }
}

@media (prefers-reduced-motion: reduce) {
  .rk-site:not(.rk-home) *, .rk-site:not(.rk-home) *::before, .rk-site:not(.rk-home) *::after { animation: none !important; transition: none !important; }
}
