/* MUVN Hilfe-Center. Brand: Rubik 400/500/700, Navy #09244B, green #00E38B only as a signal. */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/rubik-latin-ext.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #09244b;
  --navy-2: #3c506f;
  --muted: #5c6675;
  --line: #e1e6ed;
  --surface: #f4f6f9;
  --tint: #eef1f6;
  --white: #ffffff;
  --signal: #00e38b;
  --mark: #ccf9e8;
  --radius: 20px;
  --wrap: 1120px;
  --read: 720px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Rubik", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Header */
.top { background: var(--white); border-bottom: 1px solid var(--line); }
.top__in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 26px; width: auto; }
.brand__logo { display: flex; align-items: center; }
.brand__tag { font-weight: 500; font-size: 15px; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line); line-height: 26px; text-decoration: none; }
.brand__tag:hover { color: var(--navy); }
.top__nav { display: flex; align-items: center; gap: 8px; }
.top__link { font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.top__link:hover { background: var(--surface); }
.lang { font-size: 14px; font-weight: 500; text-decoration: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.lang:hover { border-color: var(--navy); }

/* Hero: the sentence "Hilfe für ..." with the reader's side as its ending */
.hero { background: var(--navy); color: var(--white); }
.hero__in { max-width: var(--wrap); margin: 0 auto; padding: 72px 24px 64px; }
.hero__h { margin: 0 0 36px; font-size: clamp(32px, 5.4vw, 56px); line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
.hero__lead { font-weight: 400; color: rgba(255, 255, 255, 0.72); margin-right: 0.28em; }
.roles { display: inline; }
.roles > span { display: inline; }
.roles > span + span::before { content: " "; }
.role {
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  white-space: nowrap;
  margin-right: 0.36em;
  background-image: linear-gradient(var(--signal), var(--signal));
  background-repeat: no-repeat;
  background-size: 0 4px;
  background-position: 0 100%;
  padding-bottom: 4px;
  transition: color 0.15s ease, background-size 0.25s ease;
}
.role:hover { color: rgba(255, 255, 255, 0.85); }
.role[aria-current="page"] { color: var(--white); background-size: 100% 4px; }

.search { position: relative; max-width: 680px; }
.search input {
  width: 100%;
  height: 60px;
  border: 0;
  border-radius: 999px;
  padding: 0 128px 0 56px;
  font: inherit;
  font-size: 18px;
  color: var(--navy);
  background: var(--white);
  outline: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input:focus { box-shadow: 0 0 0 3px var(--signal); }
.search input::-webkit-search-cancel-button { display: none; }
.search__icon { position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.search__clear { position: absolute; right: 8px; top: 8px; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--surface); color: var(--navy); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.search__clear:hover { background: var(--tint); }

/* Topic folders */
.topics, .results { max-width: var(--wrap); margin: 0 auto; padding: 40px 24px 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.folder, .hits { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 8px; }
.folder__h { margin: 0 0 8px; font-size: 20px; line-height: 1.3; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.folder__n { font-size: 14px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.folder__list, .hits ul { list-style: none; margin: 0; padding: 0; }
.folder__list li + li, .hits li + li { border-top: 1px solid var(--line); }
.folder__list a, .hits a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; text-decoration: none; line-height: 1.4; }
.folder__list a::after, .hits a::after { content: ""; flex: none; width: 8px; height: 8px; border-top: 2px solid var(--navy-2); border-right: 2px solid var(--navy-2); transform: rotate(45deg); margin-right: 4px; }
.folder__list a:hover, .hits a:hover { text-decoration: underline; text-underline-offset: 3px; }

.results { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.results__h { margin: 0; font-size: 18px; font-weight: 500; }
.hits { padding-bottom: 8px; }
.hits a { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.hit__t { font-weight: 500; }
.hit__m { grid-column: 1; font-size: 14px; color: var(--muted); }
.hit__s { grid-column: 1; font-size: 15px; color: var(--muted); }
.hits a::after { grid-column: 2; grid-row: 1 / span 3; }
mark { background: var(--mark); color: var(--navy); border-radius: 3px; padding: 0; }
.empty { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; }

/* Contact strip */
.help { background: var(--navy); color: var(--white); }
.help__in { max-width: var(--wrap); margin: 0 auto; padding: 44px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.help h2 { margin: 0 0 4px; font-size: 24px; line-height: 1.25; }
.help p { margin: 0; color: rgba(255, 255, 255, 0.78); }
.help__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 16px; text-decoration: none; background: var(--navy); color: var(--white); border: 1px solid var(--navy); }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: var(--tint); border-color: var(--tint); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); }
.btn--line { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--line:hover { background: var(--surface); border-color: var(--navy); }

/* Article */
.page { max-width: calc(var(--read) + 48px); margin: 0 auto; padding: 28px 24px 56px; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.doc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 44px 44px; }
.doc h1 { margin: 0; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.01em; }
.meta { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.prose { margin-top: 28px; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose h3 { font-size: 21px; line-height: 1.3; margin: 36px 0 12px; }
.prose h4 { font-size: 18px; line-height: 1.35; margin: 24px 0 8px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin: 6px 0; padding-left: 4px; }
.prose li > p { margin: 0; }
.prose ul li::marker { color: var(--navy-2); }
.prose ol li::marker { font-weight: 700; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 700; }
.prose table { border-collapse: collapse; margin: 0 0 16px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.shot { margin: 24px 0; }
.shot img { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.shot--tall img { max-width: 320px; width: 100%; }

.more { margin-top: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 20px; }
.more h2 { margin: 0 0 6px; font-size: 18px; }
.more ul { list-style: none; margin: 0 0 12px; padding: 0; }
.more li + li { border-top: 1px solid var(--line); }
.more li a { display: block; padding: 12px 0; text-decoration: none; }
.more li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.more__all { font-size: 15px; font-weight: 500; color: var(--navy-2); }

.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.way { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; }
.way:hover { border-color: var(--navy); }
.way__k { font-size: 14px; color: var(--muted); }
.way__v { font-size: 18px; font-weight: 500; }
.nf .btn { margin: 4px 8px 4px 0; }

/* Footer */
.foot { background: var(--white); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot__in { max-width: var(--wrap); margin: 0 auto; padding: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--navy); text-decoration: underline; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .top__in { padding: 0 16px; height: 60px; }
  .brand img { height: 22px; }
  .brand__tag { font-size: 14px; padding-left: 10px; line-height: 22px; }
  .top__link { padding: 8px; }
  .hero__in { padding: 44px 16px 36px; }
  .hero__h { margin-bottom: 28px; }
  .hero__lead { display: block; margin-bottom: 4px; }
  .search input { height: 56px; font-size: 16px; padding-right: 112px; }
  .search__clear { top: 6px; }
  .topics, .results { grid-template-columns: minmax(0, 1fr); padding: 24px 16px 40px; gap: 14px; }
  .folder, .hits { padding: 20px 18px 4px; }
  .help__in { padding: 36px 16px; }
  .page { padding: 20px 16px 40px; }
  .doc { padding: 26px 20px 28px; border-radius: 16px; }
  .ways { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
