/* ---------------------------------------------------------------------------
   Eintrittskarten.io Hilfe
   Design-Tokens und Komponenten aus dem Stylesheet von eintrittskarten.io
   --------------------------------------------------------------------------- */

/* --- Tokens --------------------------------------------------------------- */

:root {
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fz-small: 0.875rem;
  --fz-xsmall: 0.75rem;
  --rounded: 0.25rem;
  --rounded-md: 0.375rem;
  --shadow-sm: 0 1px 2px 0 #0000000d;
  --shadow-md: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
  --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;

  color-scheme: light;

  --c-white: #fff;
  --c-main: #0070aa;
  --c-main-50: #f2f8fb;
  --c-main-100: #e6f1f7;
  --c-main-200: #bfdbea;
  --c-main-300: #99c6dd;
  --c-main-400: #4d9bc4;
  --c-main-500: #0070aa;
  --c-main-600: #006599;
  --c-main-700: #005480;
  --c-main-800: #004366;
  --c-main-900: #003753;
  --c-green-50: #def7e6;
  --c-green: #18844e;
  --c-green-600: #256842;
  --c-green-700: #214d33;
  --c-slate-50: #f8fafc;
  --c-slate-100: #f1f5f9;
  --c-slate-200: #e2e8f0;
  --c-slate-300: #cbd5e1;
  --c-slate-350: #b0bccd;
  --c-slate-400: #94a3b8;
  --c-slate-500: #64748b;
  --c-slate-600: #475569;
  --c-slate-700: #334155;
  --c-slate-800: #1e293b;
  --c-slate-900: #0f172a;
  --c-slate-950: #020617;
  --c-gray-100: #f3f4f6;
  --c-gray-200: #e5e7eb;
  --c-gray-300: #d1d5db;
  --c-gray-400: #9ca3af;
  --c-gray-500: #6b7280;
  --c-gray-600: #4b5563;
  --c-gray-700: #374151;
  --c-gray-800: #1f2937;
  --c-gray-900: #111827;
  --c-gray-950: #030712;
  --c-yellow-50: #fffbeb;
  --c-yellow-100: #fef3c7;
  --c-yellow-200: #fde68a;
  --c-yellow-300: #fcd34d;
  --c-yellow-400: #fbbf24;
  --c-yellow-500: #f59e0b;
  --c-yellow-600: #d97706;
  --c-yellow-700: #b45309;
  --c-yellow-800: #92400e;
  --c-rose-100: #ffe4e6;
  --c-rose-200: #fecdd3;
  --c-rose-300: #fda4af;
  --c-rose-400: #fb7185;
  --c-rose-500: #f43f5e;
  --c-rose-600: #e11d48;
  --c-rose-700: #be123c;
  --c-rose-800: #9f1239;
  --c-rose-900: #881337;
  --c-rose-950: #4c0519;

  --c-site-background: var(--c-slate-100);
  --c-site-text: var(--c-slate-900);
  --c-site-text-weak: var(--c-slate-600);
  --c-page-background: var(--c-white);
  --c-page-border: var(--c-slate-200);
  --c-page-headline-border: var(--c-slate-200);
  --c-footer-text: var(--c-slate-600);
  --c-separator: var(--c-slate-200);
  --c-separator-300: var(--c-slate-300);
  --c-button-white-border: var(--c-slate-300);
  --c-button-white-background: white;
  --c-button-white-text: var(--c-slate-700);
}

/* --- Reset ---------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid;
  margin: 0;
  padding: 0;
  font-family: inherit;
}

:root {
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scrollbar-gutter: stable;
  line-height: 1.5em;
  scroll-behavior: smooth;
}

html,
body,
input,
textarea,
select,
button {
  font-size: 16px;
}

html,
body {
  height: 100%;
}

body {
  background-color: var(--c-site-background);
  color: var(--c-site-text);
}

a {
  color: var(--c-main);
  text-decoration: none;
}

@media print {
  a {
    color: inherit;
  }
}

hr {
  border: 0;
  border-bottom: 1px solid var(--c-separator);
  margin-block: 1rem;
}

p {
  margin-bottom: 0.5em;
}

small {
  font-size: 80%;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--c-main);
  outline-offset: 2px;
}

/* --- Utilities ------------------------------------------------------------ */

.u-limiter {
  --limiter-padding: 1em;
  width: 100%;
  max-width: 1200px;
  padding-inline: var(--limiter-padding);
  margin-inline: auto;
}

@media (width >= 640px) {
  .u-limiter {
    --limiter-padding: 1.5em;
  }
}

@media print {
  .u-limiter {
    --limiter-padding: 0;
    max-width: 100%;
  }
}

.u-limiter--md {
  max-width: 600px;
}

.u-limiter--article {
  max-width: 880px;
}

.u-nowrap {
  white-space: nowrap;
}

.u-visuallyHidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}

@media print {
  .u-print-hidden {
    display: none !important;
  }
}

/* --- Skip link ------------------------------------------------------------ */

.SkipLink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  background-color: var(--c-main);
  color: #fff;
  border-radius: 0 0 var(--rounded) 0;
  padding: 0.75em 1em;
}

.SkipLink:focus {
  left: 0;
  color: #fff;
}

/* --- Header --------------------------------------------------------------- */

.Header {
  background-color: var(--c-main);
  color: #fff;
  flex: none;
  padding-block: 0.5em;
  font-size: 1rem;
  line-height: 1em;
}

@media print {
  .Header {
    display: none;
  }
}

.Header-columns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.Header-link {
  color: inherit;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  align-items: center;
  gap: 0.25rem;
  padding-block: 0.25em;
  line-height: 1.4em;
  text-decoration: none;
  display: inline-flex;
}

.Header-link--root {
  margin-right: 1rem;
  display: inline-block;
}

.Header-link--button {
  background-color: #ffffff17;
  border: 0;
  border-radius: 4px;
  max-width: 100%;
  padding-inline: 0.5em;
  transition-property: background-color;
  transition-duration: 0.1s;
}

.Header-link--button:hover {
  background-color: #fff3;
}

.Header-link--button:active {
  background-color: #0000001a;
}

.Header-link:focus-visible {
  outline-color: #fff;
}

/* --- Page ----------------------------------------------------------------- */

.Page {
  padding-block: 2rem 4rem;
}

@media print {
  .Page {
    padding-block: 0;
  }
}

.Page-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

@media (width >= 900px) {
  .Page-columns {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.StaticPage {
  order: 1;
  background-color: var(--c-page-background);
  border: 1px solid var(--c-page-border);
  border-radius: var(--rounded-md);
  padding: 1.5em;
}

@media (width >= 640px) {
  .StaticPage {
    padding: 2.5em;
  }
}

@media print {
  .StaticPage {
    border: 0;
    padding: 0;
  }
}

.StaticPage h1 {
  font-size: 1.75em;
  font-weight: var(--fw-bold);
  line-height: 1.2em;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-page-headline-border);
}

@media (width >= 640px) {
  .StaticPage h1 {
    font-size: 2em;
  }
}

.StaticPage h2 {
  font-size: 1.35em;
  font-weight: var(--fw-bold);
  line-height: 1.3em;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.StaticPage h3 {
  font-size: 1.15em;
  font-weight: var(--fw-semibold);
  line-height: 1.3em;
  margin-bottom: 0.5rem;
}

.StaticPage > *:first-child {
  margin-top: 0;
}

/* --- Breadcrumb ----------------------------------------------------------- */

.AudienceNote {
  background-color: var(--c-slate-100);
  border-radius: var(--rounded-md);
  color: var(--c-site-text-weak);
  font-size: var(--fz-small);
  line-height: 1.5;
  margin-bottom: 1rem;
  padding: 0.5rem 0.75rem;
}

@media print {
  .AudienceNote {
    display: none;
  }
}

.Breadcrumb {
  color: var(--c-site-text-weak);
  font-size: var(--fz-small);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.Breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.Breadcrumb-item:not(:last-child)::after {
  content: "/";
  color: var(--c-slate-400);
  margin-left: 0.5rem;
}

.Breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--c-separator-300);
  text-underline-offset: 2px;
}

.Breadcrumb [aria-current="page"] {
  color: var(--c-site-text);
}

/* --- Sidebar navigation --------------------------------------------------- */

/* Auf schmalen Bildschirmen steht der Artikel oben und das Inhaltsverzeichnis
   darunter – sonst müsste man vor jedem Artikel an der Navigation vorbeiscrollen. */
.Sidebar {
  font-size: var(--fz-small);
  line-height: 1.5;
  order: 2;
  border-top: 1px solid var(--c-separator);
  padding-top: 1.5rem;
}

@media (width >= 900px) {
  .Sidebar {
    order: 0;
    border-top: 0;
    padding-top: 0;
    position: sticky;
    top: 1.5rem;
  }
}

@media print {
  .Sidebar {
    display: none;
  }
}

.Sidebar-group {
  margin-bottom: 1.5rem;
}

.Sidebar-group:last-child {
  margin-bottom: 0;
}

.Sidebar-title {
  font-size: 1em;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.Sidebar-title a {
  color: inherit;
}

.Sidebar-list {
  list-style: none;
  border-left: 1px solid var(--c-separator-300);
}

.Sidebar-list .Sidebar-list {
  margin-left: 0.75rem;
}

.Sidebar-item a {
  color: var(--c-site-text-weak);
  display: block;
  padding: 0.3rem 0.75rem;
  border-left: 2px solid transparent;
  margin-left: -1px;
}

.Sidebar-item a:hover {
  color: var(--c-main);
}

.Sidebar-item a[aria-current="page"] {
  color: var(--c-main);
  font-weight: var(--fw-semibold);
  border-left-color: var(--c-main);
}

/* --- Text ----------------------------------------------------------------- */

.Text {
  overflow-wrap: break-word;
}

.Text h2,
.Text h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3em;
}

.Text h2 {
  font-size: 1.35em;
  font-weight: var(--fw-bold);
}

.Text h3 {
  font-size: 1.15em;
  font-weight: var(--fw-semibold);
}

.Text > *:first-child {
  margin-top: 0;
}

.Text p {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.Text ul,
.Text ol {
  padding-left: 1.5rem;
  margin-block: 1.25rem;
}

.Text li {
  margin-block: 0.5em;
}

.Text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.Text blockquote {
  border-left: 4px solid var(--c-separator-300);
  color: var(--c-site-text-weak);
  padding-left: 1rem;
  margin-block: 1.25rem;
}

.Text code {
  background-color: var(--c-slate-100);
  border-radius: var(--rounded);
  padding: 0.1em 0.35em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  letter-spacing: 0.05em;
}

/* --- Boxes ---------------------------------------------------------------- */

.GreyBox {
  --c-grey-box-border: var(--c-slate-200);
  --c-grey-box-background: var(--c-slate-100);
  border-radius: var(--rounded-md);
  border: 1px solid var(--c-grey-box-border);
  background-color: var(--c-grey-box-background);
  padding: 1rem;
}

.GreyBox p {
  margin-bottom: 0.5em;
}

.GreyBox p:last-child {
  margin-bottom: 0;
}

.NoticeBox {
  --c-notice-border: var(--c-yellow-500);
  --c-notice-background: var(--c-yellow-50);
  --c-notice-text: var(--c-yellow-800);
  border-left: 4px solid var(--c-notice-border);
  border-radius: var(--rounded);
  background-color: var(--c-notice-background);
  color: var(--c-notice-text);
  padding: 1rem;
  margin-block: 1.5rem;
}

.NoticeBox--warning {
  --c-notice-border: var(--c-rose-500);
  --c-notice-background: var(--c-rose-100);
  --c-notice-text: var(--c-rose-900);
}

.NoticeBox p {
  margin-block: 0.5em;
}

.NoticeBox > *:first-child {
  margin-top: 0;
}

.NoticeBox > *:last-child {
  margin-bottom: 0;
}

.NoticeBox a {
  color: inherit;
  text-decoration: underline;
}

/* --- Musterdokument ------------------------------------------------------- */

/* Hebt den Teil ab, der zum Übernehmen gedacht ist, gegen die Hinweise davor. */
.Musterdokument {
  border-left: 3px solid var(--c-separator-300);
  padding-left: 1.25rem;
  margin-top: 2rem;
}

@media (width >= 640px) {
  .Musterdokument {
    padding-left: 2rem;
  }
}

.Text .Musterdokument-label {
  color: var(--c-site-text-weak);
  font-size: var(--fz-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.Text .Musterdokument > h2:first-of-type {
  margin-top: 0;
}

/* --- Card list ------------------------------------------------------------ */

.CardList {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (width >= 640px) {
  .CardList--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.Text .CardList a,
.Text .Button,
.Card {
  text-decoration: none;
}

.Card {
  display: block;
  height: 100%;
  border: 1px solid var(--c-page-border);
  border-radius: var(--rounded-md);
  background-color: var(--c-page-background);
  color: inherit;
  padding: 1rem;
}

.Card:hover {
  border-color: var(--c-main-300);
  background-color: var(--c-main-50);
}

.Card-title {
  color: var(--c-main);
  font-size: 1.05em;
  font-weight: var(--fw-semibold);
  line-height: 1.3em;
  margin-bottom: 0.25rem;
}

.Card-text {
  color: var(--c-site-text-weak);
  font-size: var(--fz-small);
  margin-bottom: 0;
}

/* --- Download list -------------------------------------------------------- */

.DownloadList {
  list-style: none;
  margin-block: 1.5rem;
  padding-left: 0;
  border-top: 1px solid var(--c-separator);
}

.Text .DownloadList {
  padding-left: 0;
}

.DownloadList-item {
  border-bottom: 1px solid var(--c-separator);
  padding-block: 0.75rem;
  margin-block: 0;
}

.Text .DownloadList-link {
  color: var(--c-main);
  font-weight: var(--fw-semibold);
  text-decoration: none;
}

.Text .DownloadList-link:hover {
  text-decoration: underline;
}

.DownloadList-meta,
.DownloadList-text {
  color: var(--c-site-text-weak);
  font-size: var(--fz-small);
}

.Text .DownloadList-meta {
  margin-block: 0.1rem 0;
}

.Text .DownloadList-text {
  margin-block: 0.25rem 0;
}

.Text .DownloadList-bundle {
  margin-top: 1.25rem;
}

/* --- Search --------------------------------------------------------------- */

.Search {
  margin-bottom: 2rem;
}

@media print {
  .Search {
    display: none;
  }
}

.Search-input {
  width: 100%;
  border: 1px solid var(--c-separator-300);
  border-radius: var(--rounded-md);
  background-color: var(--c-page-background);
  color: inherit;
  padding: 0.75em 1em;
  line-height: 1.2;
}

.Search-input::placeholder {
  color: var(--c-slate-400);
}

.Search-results {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.Search-empty {
  color: var(--c-site-text-weak);
  margin-top: 1rem;
}

.Search-mark {
  background-color: var(--c-yellow-200);
  color: var(--c-slate-900);
  border-radius: 2px;
  padding: 0 1px;
}

/* --- Buttons -------------------------------------------------------------- */

.ButtonSpacer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.Button {
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border: 1px solid #0000;
  border-radius: 4px;
  align-items: center;
  gap: 0.5rem;
  padding: calc(0.625em - 1px);
  font-size: 1em;
  font-weight: var(--fw-normal);
  line-height: 1em;
  text-decoration: none;
  display: inline-flex;
}

.Button.Button--blue {
  border-color: var(--c-main-600);
  background-color: var(--c-main);
  color: #fff;
}

.Button.Button--blue:active {
  background-color: var(--c-main-600);
  box-shadow: 0 1px 3px var(--c-main-800) inset;
}

.Button.Button--white {
  border-color: var(--c-button-white-border);
  background-color: var(--c-button-white-background);
  color: var(--c-button-white-text);
}

.Button.Button--white:active {
  background-color: var(--c-slate-50);
  box-shadow: 0 1px 2px var(--c-slate-300) inset;
}

/* --- Table ---------------------------------------------------------------- */

.TableWrapper {
  overflow-x: auto;
  margin-block: 1.5rem;
}

.Table {
  --c-table-background--hover: var(--c-slate-100);
  --c-table-border: var(--c-slate-300);
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  width: 100%;
}

.Table-row:hover td {
  background-color: var(--c-table-background--hover);
}

.Table-row th,
.Table-row td {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-right: 1em;
  text-align: left;
  vertical-align: top;
}

.Table-row th {
  font-weight: var(--fw-bold);
}

.Table-row th:last-child,
.Table-row td:last-child {
  padding-right: 0;
}

.Table-row td {
  border-top: 1px solid var(--c-table-border);
}

.Table-row:last-child td {
  border-bottom: 1px solid var(--c-table-border);
}

/* --- Footer --------------------------------------------------------------- */

.Footer {
  color: var(--c-footer-text);
  flex: none;
  padding-block: 1rem;
  line-height: 2;
}

@media print {
  .Footer {
    display: none;
  }
}

.Footer .Footer-items {
  text-align: center;
  list-style: none;
}

.Footer .Footer-item {
  margin-inline: 0.5rem;
  display: inline-block;
}

.Footer a {
  border-bottom: 1px solid color-mix(in srgb, currentColor, transparent 30%);
  color: inherit;
  text-decoration: none;
}

.Footer .Footer-top {
  margin-bottom: 1rem;
}
