
.or {
  --or-blau: var(--accent, #026CDF);
  --or-blau-dunkel: #0147B1;
  --or-blau-hell: var(--accent-soft, #DCEBFF);
  --or-marke: var(--navy, #14253A);
  --or-text: var(--ink, #2b3033);
  --or-neben: var(--grey, #61686c);
  --or-rand: var(--border, #e9e9e9);
  --or-linie: var(--linie, #dbe3ea);
  --or-grund: var(--bg, #f5f5f5);
  --or-weiss: #ffffff;
  --or-d1: var(--d-1, 120ms);
  --or-d2: var(--d-2, 200ms);
  --or-d3: var(--d-3, 320ms);
}

.or {
  container-type: inline-size;
  position: relative; margin: 0; min-width: 0;
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1rem; border-radius: 16px; border: 1px solid var(--or-rand);
  background: var(--or-weiss); color: var(--or-text);
  box-shadow: 0 6px 18px rgba(43, 48, 51, .08);
  text-align: left; font-size: 1.0625rem; line-height: 1.5;
}
.or__inhalt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: start; }
@container (min-width: 50rem) {
  .or__inhalt { grid-template-columns: minmax(0, 2.1fr) minmax(15rem, 1fr); }
}

.or__bild {
  position: relative; width: 100%; aspect-ratio: 1536 / 1024;
  max-width: calc(var(--or-bild-hoehe, 70vh) * 1.5); margin: 0 auto;
  border-radius: 12px; overflow: hidden; background: var(--or-blau-flaeche, #eef3f8);
}
.or-linien line { stroke: #9cc3ee; stroke-width: 6; stroke-linecap: round; }
.or-grund { fill: var(--or-weiss); }
.or-motiv { pointer-events: none; }
.or-schild {
  fill: var(--or-marke); font-size: 30px; font-weight: 700; text-anchor: middle; pointer-events: none;
  paint-order: stroke; stroke: var(--or-blau-flaeche, #eef3f8); stroke-width: 10px; stroke-linejoin: round;
}
.or__svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; font-family: inherit; }

.or .or__ki {
  position: absolute; left: 0.5rem; bottom: 0.5rem; z-index: 1; display: block; width: fit-content; margin: 0;
  padding: 0.05rem 0.5rem; border-radius: 999px; border: 1px solid var(--or-linie);
  background: var(--or-weiss); color: var(--or-neben);
  font-size: 0.75rem; line-height: 1.5; font-weight: 600; pointer-events: none;
}

.or-bereich { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.or-form {
  fill: rgba(255, 255, 255, 0); stroke: var(--or-blau); stroke-width: 5;
}
.or-marke circle { fill: var(--or-blau); stroke: var(--or-weiss); stroke-width: 4; }
.or-marke text { fill: var(--or-weiss); font-size: 24px; font-weight: 700; text-anchor: middle; pointer-events: none; }
.or-bereich[data-or-rand] .or-marke circle { fill: var(--or-weiss); stroke: var(--or-blau); }
.or-bereich[data-or-rand] .or-marke text { fill: var(--or-blau); }

.or-bereich:focus { outline: none; }
.or-bereich:focus-visible { outline: 3px solid var(--or-blau); outline-offset: 2px; }
.or-bereich:focus-visible .or-form { stroke: var(--or-blau-dunkel); stroke-width: 11; }

@container (width < 40rem) {
  .or-bereich { visibility: hidden; pointer-events: none; }
  .or-bereich > * { visibility: visible; pointer-events: none; }
}

.or__liste { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.or__liste-titel { margin: 0; font-size: 0.75rem; line-height: 1.5; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--or-neben); }
.or-eintraege { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.or-eintrag { min-width: 0; }
.or-eintrag__los {
  display: flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; padding: 0.5rem 0.75rem;
  border-radius: 10px; border-left: 3px solid transparent;
  color: var(--or-text); text-decoration: none; line-height: 1.35;
}
.or-eintrag__nr {
  flex: 0 0 auto; display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--or-blau); color: var(--or-weiss); font-size: 0.875rem; font-weight: 700; line-height: 1;
}
.or-eintrag__kopf { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.or-eintrag__name { font-size: 1.0625rem; font-weight: 700; color: var(--or-marke); overflow-wrap: break-word; }
.or-eintrag__kurz { font-size: 0.875rem; color: var(--or-neben); overflow-wrap: break-word; }
.or-eintrag__los:focus-visible { outline: 3px solid var(--or-blau); outline-offset: 2px; }
.or-programm {
  display: flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; margin-top: 0.25rem; padding: 0.5rem 0.75rem;
  border: 1px dashed var(--or-blau); border-radius: 10px; color: var(--or-text); text-decoration: none; line-height: 1.35;
}
.or-programm__zeichen {
  flex: 0 0 auto; display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 6px;
  background: var(--or-weiss); color: var(--or-blau); box-shadow: inset 0 0 0 1.5px var(--or-blau);
}
.or-programm__titel { font-size: 1.0625rem; font-weight: 700; color: var(--or-marke); overflow-wrap: break-word; }
.or-programm__pfeil { flex: 0 0 auto; font-size: 1.25rem; color: var(--or-blau); }
.or-programm:focus-visible { outline: 3px solid var(--or-blau); outline-offset: 2px; }
@media (hover: hover) { .or-programm:hover { border-style: solid; background: rgba(2, 108, 223, 0.06); } }

@media (min-width: 56rem) {
  .or { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(16rem, 1fr); column-gap: 1.5rem; align-items: center; }
  .or__inhalt { display: contents; }
  .or__bild { grid-column: 1; grid-row: 1; }
  .or__liste { grid-column: 2; grid-row: 1; }
}
