﻿:root {
  --portalum-slate: #425968;
  --portalum-slate-dark: #2d404d;
  --portalum-green: #8dc63f;
  --portalum-green-dark: #67972c;
  --portalum-ink: #17242c;
  --portalum-muted: #60727d;
  --portalum-line: #dce4e8;
  --portalum-soft: #f3f6f7;
  --portalum-white: #ffffff;
  --portalum-warning: #f2b84b;
  --portalum-danger: #c95555;
  --portalum-radius: 18px;
  --portalum-shadow: 0 18px 45px rgba(35, 57, 69, 0.1);
  --sidebar-width: 286px;
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/nunito-sans-300.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/nunito-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/nunito-sans-800.woff2") format("woff2");
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--portalum-ink);
  background: var(--portalum-soft);
  font-family: "Nunito Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--portalum-slate);
  text-decoration-color: rgba(66, 89, 104, 0.35);
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--portalum-green-dark);
  text-decoration-color: currentColor;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--portalum-white);
  background: var(--portalum-slate-dark);
  border-radius: 8px;
  transform: translateY(-180%);
}
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--portalum-white);
  border-bottom: 1px solid var(--portalum-line);
}

.brand-strip {
  height: 7px;
  background: linear-gradient(90deg, var(--portalum-slate) 0 76%, var(--portalum-green) 76% 100%);
}

.header-main {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  gap: 28px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 12px 32px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 18px;
  color: inherit;
  text-decoration: none;
}

.brand-link img {
  display: block;
  width: 210px;
  max-width: 46vw;
  height: auto;
}

.brand-title {
  padding-left: 18px;
  color: var(--portalum-muted);
  border-left: 1px solid var(--portalum-line);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: var(--portalum-slate-dark);
  background: rgba(141, 198, 63, 0.14);
  border: 1px solid rgba(141, 198, 63, 0.38);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.version-pill::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--portalum-green);
  border-radius: 50%;
}

.header-search {
  justify-self: end;
  width: min(100%, 390px);
}

.header-search form {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--portalum-soft);
  border: 1px solid var(--portalum-line);
  border-radius: 999px;
}

.header-search input {
  min-width: 0;
  flex: 1;
  padding: 10px 4px 10px 18px;
  color: var(--portalum-ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.header-search button {
  margin: 4px;
  padding: 7px 14px;
  color: var(--portalum-white);
  background: var(--portalum-slate);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.header-search form:focus-within {
  border-color: var(--portalum-green);
  box-shadow: 0 0 0 3px rgba(141, 198, 63, 0.16);
}

.mobile-menu-button {
  display: none;
  padding: 9px 12px;
  color: var(--portalum-white);
  background: var(--portalum-slate);
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 800;
}

.site-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: calc(100vh - 85px);
}

.sidebar {
  position: sticky;
  top: 85px;
  align-self: start;
  height: calc(100vh - 85px);
  overflow-y: auto;
  padding: 30px 22px 40px;
  color: var(--portalum-white);
  background: var(--portalum-slate-dark);
}

.sidebar::before {
  display: block;
  width: 82px;
  height: 5px;
  margin: 0 0 28px;
  content: "";
  background: var(--portalum-green);
  transform: skewX(-35deg);
}

.nav-group {
  margin: 0 0 26px;
}

.nav-group-title {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-nav li + li {
  margin-top: 3px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 9px;
  text-decoration: none;
}

.side-nav a::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  content: "";
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  color: var(--portalum-white);
  background: rgba(255, 255, 255, 0.08);
}

.side-nav a[aria-current="page"] {
  color: var(--portalum-white);
  background: rgba(141, 198, 63, 0.18);
  font-weight: 800;
}

.side-nav a[aria-current="page"]::before {
  background: var(--portalum-green);
  box-shadow: 0 0 0 4px rgba(141, 198, 63, 0.16);
}

.sidebar-note {
  margin-top: 34px;
  padding: 16px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--portalum-green);
  border-radius: 0 10px 10px 0;
  font-size: 0.83rem;
}

.content-wrap {
  min-width: 0;
}

.breadcrumbs {
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 38px 0;
  color: var(--portalum-muted);
  font-size: 0.84rem;
}

.breadcrumbs a {
  color: inherit;
}

.page-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 20px 38px 80px;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 34px;
  padding: 44px 46px;
  color: var(--portalum-white);
  background: var(--portalum-slate);
  border-radius: var(--portalum-radius);
  box-shadow: var(--portalum-shadow);
}

.hero::after {
  position: absolute;
  top: -80px;
  right: -70px;
  width: 250px;
  height: 320px;
  content: "";
  background: var(--portalum-green);
  opacity: 0.96;
  transform: rotate(17deg);
}

.hero > * {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--portalum-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.06;
}

.hero p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-meta,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag,
.status {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero .tag {
  color: var(--portalum-white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.tag {
  color: var(--portalum-slate-dark);
  background: #e8eef1;
}

.tag.is-green,
.status.is-ready {
  color: #365512;
  background: rgba(141, 198, 63, 0.2);
}

.status.is-work {
  color: #7a5310;
  background: rgba(242, 184, 75, 0.2);
}

.status.is-review {
  color: #7b2929;
  background: rgba(201, 85, 85, 0.16);
}

h2,
h3,
h4 {
  color: var(--portalum-slate-dark);
  line-height: 1.2;
}

h2 {
  margin: 54px 0 18px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

h2::after {
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 10px;
  content: "";
  background: var(--portalum-green);
  transform: skewX(-32deg);
}

h3 {
  margin: 32px 0 12px;
  font-size: 1.28rem;
}

.lead {
  max-width: 850px;
  color: var(--portalum-muted);
  font-size: 1.08rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.card-grid.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.topic-card,
.info-card,
.role-card {
  position: relative;
  min-width: 0;
  padding: 24px;
  background: var(--portalum-white);
  border: 1px solid var(--portalum-line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(35, 57, 69, 0.05);
}

.topic-card {
  display: flex;
  flex-direction: column;
}

.topic-card::before,
.role-card::before {
  position: absolute;
  top: 0;
  left: 24px;
  width: 48px;
  height: 4px;
  content: "";
  background: var(--portalum-green);
}

.topic-card h3,
.info-card h3,
.role-card h3 {
  margin-top: 8px;
}

.topic-card p,
.info-card p,
.role-card p {
  color: var(--portalum-muted);
}

.topic-card .card-link {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 800;
}

.role-card[data-role="anwender"]::before {
  background: var(--portalum-green);
}

.role-card[data-role="techniker"]::before {
  background: var(--portalum-slate);
}

.role-card[data-role="entwickler"]::before {
  background: var(--portalum-warning);
}

.callout {
  margin: 28px 0;
  padding: 20px 22px;
  background: var(--portalum-white);
  border-left: 5px solid var(--portalum-green);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 6px 20px rgba(35, 57, 69, 0.05);
}

.callout.is-warning {
  border-color: var(--portalum-warning);
}

.callout.is-danger {
  border-color: var(--portalum-danger);
}

.callout strong:first-child {
  color: var(--portalum-slate-dark);
}

.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  background: var(--portalum-white);
  border: 1px solid var(--portalum-line);
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(35, 57, 69, 0.04);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

th,
td {
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--portalum-line);
}

th {
  color: var(--portalum-white);
  background: var(--portalum-slate);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: rgba(141, 198, 63, 0.06);
}

code,
pre {
  font-family: Consolas, "Courier New", monospace;
}

code {
  padding: 0.14em 0.36em;
  color: var(--portalum-slate-dark);
  background: #e8eef1;
  border-radius: 5px;
  font-size: 0.88em;
}

pre {
  overflow-x: auto;
  padding: 20px;
  color: #e8f0f3;
  background: #263943;
  border-radius: 12px;
  line-height: 1.55;
}

pre code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.screenshot {
  overflow: hidden;
  margin: 0;
  background: var(--portalum-white);
  border: 1px solid var(--portalum-line);
  border-radius: 13px;
  box-shadow: var(--portalum-shadow);
}

.screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot figcaption {
  padding: 12px 15px;
  color: var(--portalum-muted);
  font-size: 0.84rem;
}

.link-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: block;
  padding: 13px 15px;
  background: var(--portalum-white);
  border: 1px solid var(--portalum-line);
  border-radius: 9px;
  text-decoration: none;
  font-weight: 800;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 26px;
}

.filter-button {
  padding: 8px 13px;
  color: var(--portalum-slate-dark);
  background: var(--portalum-white);
  border: 1px solid var(--portalum-line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--portalum-white);
  background: var(--portalum-slate);
  border-color: var(--portalum-slate);
}

.topic-card[hidden] {
  display: none;
}

.search-intro {
  margin-bottom: 26px;
}

.fallback-search-form {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.fallback-search-form input {
  min-width: 0;
  flex: 1;
  padding: 13px 16px;
  background: var(--portalum-white);
  border: 1px solid var(--portalum-line);
  border-radius: 10px;
}

.fallback-search-form button {
  padding: 12px 18px;
  color: var(--portalum-white);
  background: var(--portalum-slate);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
}

.search-result {
  margin: 12px 0;
  padding: 18px 20px;
  background: var(--portalum-white);
  border: 1px solid var(--portalum-line);
  border-radius: 11px;
}

.search-result h3 {
  margin: 0 0 6px;
}

.search-result p {
  margin: 0;
  color: var(--portalum-muted);
}

.page-footer {
  padding: 22px 38px;
  color: rgba(255, 255, 255, 0.68);
  background: var(--portalum-slate-dark);
  font-size: 0.82rem;
}

.page-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
}

.page-footer a {
  color: var(--portalum-white);
}

@media (max-width: 1100px) {
  .header-main {
    grid-template-columns: 1fr auto;
  }

  .brand-title {
    display: none;
  }

  .version-pill {
    display: none;
  }

  .header-search {
    width: 320px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .header-main {
    grid-template-columns: auto 1fr auto;
    padding: 10px 16px;
  }

  .brand-link img {
    width: 168px;
  }

  .mobile-menu-button {
    display: inline-block;
    order: -1;
  }

  .header-search {
    width: 100%;
  }

  .site-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 79px;
    bottom: 0;
    left: 0;
    z-index: 90;
    width: min(88vw, 330px);
    height: auto;
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  body.nav-open .sidebar {
    transform: translateX(0);
  }

  .breadcrumbs,
  .page-main {
    padding-right: 22px;
    padding-left: 22px;
  }

  .hero {
    padding: 34px 28px;
  }

  .hero::after {
    right: -150px;
  }
}

@media (max-width: 620px) {
  .header-main {
    grid-template-columns: auto 1fr;
  }

  .header-search {
    grid-column: 1 / -1;
  }

  .card-grid,
  .card-grid.is-two,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .fallback-search-form,
  .page-footer-inner {
    flex-direction: column;
  }

  .table-wrap {
    margin-right: -10px;
    margin-left: -10px;
  }
}

@media print {
  .site-header,
  .sidebar,
  .breadcrumbs,
  .page-footer,
  .filter-bar {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 10pt;
  }

  .site-shell {
    display: block;
  }

  .page-main {
    max-width: none;
    padding: 0;
  }

  .hero {
    color: #000;
    background: #fff;
    border: 1px solid #bbb;
    box-shadow: none;
  }

  .hero p,
  .hero .tag {
    color: #000;
  }

  .topic-card,
  .info-card,
  .role-card,
  .callout,
  .table-wrap {
    break-inside: avoid;
    box-shadow: none;
  }
}
