:root {
  --paper: #fffaf3;
  --surface: #fff;
  --ink: #182238;
  --muted: #5d6574;
  --blue: #0754a6;
  --blue-dark: #063b76;
  --red: #d71920;
  --green: #26732f;
  --gold: #e6a400;
  --line: rgba(24, 34, 56, .13);
  --shadow: 0 22px 60px rgba(24, 34, 56, .1);
  --radius: 24px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 6px;
  z-index: 100;
  background: linear-gradient(90deg, var(--red) 0 34%, var(--gold) 34% 52%, var(--green) 52% 70%, var(--blue) 70%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  color: white;
  background: var(--blue-dark);
  border-radius: 0 0 10px 10px;
}

.skip-link:focus {
  top: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 88px;
  padding: 14px 0 14px max(20px, calc((100vw - var(--content)) / 2));
  background: rgba(255, 250, 243, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  flex: 0 1 360px;
  justify-content: flex-end;
  margin-left: auto;
  text-decoration: none;
}

.brand img {
  width: min(360px, 50vw);
  max-height: 58px;
  object-fit: contain;
  object-position: right center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.main-nav a {
  color: var(--ink);
  font-size: .94rem;
  font-weight: 750;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
}

.main-nav .nav-official {
  padding: 11px 16px;
  color: white;
  background: var(--blue);
  border-radius: 999px;
}

.main-nav .nav-official:hover,
.main-nav .nav-official:focus-visible {
  color: white;
  background: var(--blue-dark);
}

.menu-toggle {
  display: none;
}

main {
  overflow: hidden;
}

.slideshow {
  position: relative;
  width: min(var(--content), calc(100% - 40px));
  height: clamp(360px, 58vw, 720px);
  margin: 26px auto 0;
  overflow: hidden;
}

.slideshow[hidden] {
  display: none;
}

.slideshow-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--paper);
}

.slide {
  position: absolute;
  inset: 0;
}

.slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.slide-caption {
  position: absolute;
  left: 50%;
  bottom: 5px;
  z-index: 1;
  display: flex;
  max-width: min(78%, 560px);
  margin: 0;
  padding: 5px 8px;
  gap: 5px 10px;
  flex-wrap: wrap;
  justify-content: center;
  transform: translateX(-50%);
  color: var(--ink);
  background: rgba(255, 250, 243, 0.88);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-radius: 6px;
  font-size: 0.72rem;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 1px 5px rgba(52, 38, 29, 0.12);
}

.slide-caption time {
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  width: min(900px, calc(100% - 40px));
  min-height: auto;
  margin: 0 auto;
  padding: clamp(74px, 10vw, 132px) 0 0;
}

.hero-content {
  width: 100%;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -230px;
  top: 30px;
  border-radius: 50%;
  background: rgba(230, 164, 0, .09);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 6.4vw, 6rem);
  letter-spacing: -.045em;
}

h1::first-line {
  color: var(--blue-dark);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -.035em;
}

.hero-intro {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: white;
  background: var(--red);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ad1117;
}

.button-secondary {
  color: var(--blue-dark);
  border: 1px solid rgba(7, 84, 166, .3);
  background: rgba(255, 255, 255, .6);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: white;
}

.hero-logo {
  display: grid;
  place-items: center;
  min-height: 330px;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 54px);
  background: white;
  border: 1px solid rgba(7, 84, 166, .11);
  border-radius: 48% 52% 42% 58% / 48% 42% 58% 52%;
  box-shadow: var(--shadow);
}

.hero-logo img {
  width: 100%;
  mix-blend-mode: multiply;
}

.preview-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  width: min(var(--content), calc(100% - 40px));
  min-height: 460px;
  margin: 0 auto;
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading>p:last-child {
  max-width: 55ch;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.placeholder-card {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  min-height: 210px;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.placeholder-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: white;
  background: var(--blue);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.preview-articles .placeholder-icon {
  background: var(--red);
}

.placeholder-card strong {
  display: block;
  margin: 5px 0 12px;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.25;
}

.placeholder-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.event-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 82%);
  gap: 20px;
  overflow-x: auto;
  padding: 4px 4px 22px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--red) rgba(215, 25, 32, .12);
}

.event-card {
  display: flex;
  flex-direction: column;
  min-height: 540px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(24, 34, 56, .1);
  scroll-snap-align: start;
}

.event-poster {
  display: block;
  width: 100%;
  height: 390px;
  padding: 0;
  overflow: hidden;
  background: #e9e5dc;
  border: 0;
  cursor: zoom-in;
}

.event-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .25s ease;
}

.event-poster:hover img {
  transform: scale(1.02);
}

.event-card-color {
  height: 260px;
  background: linear-gradient(135deg, var(--red), var(--gold));
}

.event-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px;
}

.event-card time {
  color: var(--red);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.event-card h3 {
  margin-top: 9px;
  font-size: 1.75rem;
}

.event-card p {
  margin: 14px 0;
  color: var(--muted);
  line-height: 1.6;
}

.event-card-body>span {
  margin-top: auto;
  padding-top: 18px;
  color: var(--red);
  font-weight: 850;
}

.event-empty {
  align-self: center;
  margin: 0;
  padding: 26px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  line-height: 1.6;
}

.event-dialog {
  max-width: min(900px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 10px;
  overflow: auto;
  background: #161b25;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .42);
}

.event-dialog::backdrop {
  background: rgba(9, 15, 28, .76);
  backdrop-filter: blur(6px);
}

.event-dialog img {
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 44px);
  margin: auto;
  object-fit: contain;
  border-radius: 10px;
}

.event-dialog-close {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 50px;
  height: 50px;
  color: var(--ink);
  background: white;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
  font-size: 1.9rem;
  cursor: pointer;
}

.article-section {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 110px;
}

.article-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.article-heading .section-heading>p:last-child {
  margin-bottom: 0;
}

.article-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.article-actions .button {
  border: 1px solid rgba(7, 84, 166, .3);
  cursor: pointer;
}

.text-button {
  padding: 8px 0;
  color: var(--blue-dark);
  background: none;
  border: 0;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.article-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 390px);
  gap: 22px;
  overflow-x: auto;
  padding: 4px 4px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--blue) rgba(7, 84, 166, .12);
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 490px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(24, 34, 56, .08);
  scroll-snap-align: start;
}

.article-card>img,
.article-card-color {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}

.article-card time,
.reader-date {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-card h3 {
  margin-top: 10px;
  font-size: 1.65rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.article-card p {
  margin: 16px 0 22px;
  color: var(--muted);
  line-height: 1.6;
}

.article-card [data-article] {
  align-self: flex-start;
  margin-top: auto;
  padding: 0;
  color: var(--red);
  background: none;
  border: 0;
  font-weight: 850;
  cursor: pointer;
  text-decoration: none;
}

.loading-message {
  color: var(--muted);
}

.article-reader {
  min-height: calc(100vh - 88px);
  background: #fffdf9;
}

.article-reader[hidden] {
  display: none;
}

.article-open #inhalt,
.article-open .site-footer {
  display: none;
}

.reader-toolbar {
  position: sticky;
  top: 88px;
  z-index: 20;
  padding: 14px max(20px, calc((100vw - 900px) / 2));
  background: rgba(255, 253, 249, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.reader-back {
  min-height: 44px;
  padding: 10px 16px;
  color: white;
  background: var(--blue-dark);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.reader-content {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 110px;
}

.reader-content>h1:first-of-type {
  margin: 10px 0 38px;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
}

.reader-content h2 {
  margin: 52px 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.reader-content h3 {
  margin: 42px 0 16px;
  font-size: 1.7rem;
}

.reader-content p,
.reader-content li {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 2vw, 1.28rem);
  line-height: 1.85;
}

.reader-content p {
  margin: 24px 0;
}

.reader-content figure {
  margin: 54px 0;
}

.reader-content figure img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  background: #f1eee8;
  border-radius: 18px;
}

.reader-content figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.reader-content a {
  color: var(--blue);
}

.article-index-dialog {
  width: min(900px, calc(100vw - 28px));
}

.article-index-content {
  padding: 58px clamp(24px, 7vw, 68px);
}

.article-index-content h1 {
  margin-bottom: 28px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.article-index-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .45fr);
  gap: 16px;
  margin-bottom: 16px;
}

.article-index-filters label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.article-index-filters input,
.article-index-filters select {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  color: var(--ink);
  background: white;
  border: 1px solid rgba(24, 34, 56, .24);
  border-radius: 11px;
  font: inherit;
}

.article-index-filters input:focus,
.article-index-filters select:focus {
  outline: 3px solid rgba(7, 84, 166, .2);
  border-color: var(--blue);
}

.article-index-status {
  min-height: 1.4em;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .9rem;
}

#articleIndex {
  display: grid;
  border-top: 1px solid var(--line);
}

#articleIndex [data-article] {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 20px 0;
  color: var(--ink);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

#articleIndex .article-index-main {
  display: grid;
  gap: 7px;
}

#articleIndex strong {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  overflow-wrap: anywhere;
  hyphens: auto;
}

#articleIndex small {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.45;
}

#articleIndex time {
  color: var(--muted);
  font-size: .85rem;
}

.article-index-empty {
  padding: 28px 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px 50px;
  padding: 58px max(20px, calc((100vw - var(--content)) / 2));
  color: rgba(255, 255, 255, .76);
  background: var(--ink);
}

.site-footer>div:first-child {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-footer img {
  width: 180px;
  padding: 8px;
  background: white;
  border-radius: 8px;
}

.site-footer p {
  margin: 0;
  line-height: 1.55;
}

.site-footer strong {
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links button,
.footer-links a {
  padding: 0;
  color: white;
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
}

.site-footer small {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.legal-dialog {
  width: min(760px, calc(100vw - 28px));
  max-height: min(86vh, 820px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .3);
}

.legal-dialog::backdrop {
  background: rgba(11, 18, 32, .62);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: sticky;
  float: right;
  top: 14px;
  margin: 14px 14px -62px 0;
  width: 48px;
  height: 48px;
  color: var(--ink);
  background: #eef1f4;
  border: 0;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
}

#legalDetail {
  padding: 58px clamp(24px, 7vw, 68px);
  line-height: 1.75;
}

#legalDetail h1 {
  padding-right: 54px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

#legalDetail h2 {
  margin: 34px 0 12px;
  font-size: 1.4rem;
}

#legalDetail p {
  margin: 18px 0;
}

#legalDetail a {
  color: var(--blue);
  font-weight: 700;
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 78px;
  }

  .brand img {
    width: min(300px, 68vw);
    max-height: 48px;
  }

  .menu-toggle {
    display: grid;
    gap: 5px;
    width: 48px;
    height: 48px;
    place-content: center;
    padding: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .menu-toggle>span:not(.sr-only) {
    display: block;
    width: 21px;
    height: 2px;
    background: var(--ink);
    transition: transform .2s, opacity .2s;
  }

  .menu-toggle[aria-expanded="true"]>span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"]>span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"]>span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    display: none;
    position: absolute;
    inset: calc(100% + 1px) 14px auto;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .main-nav .nav-official {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-logo {
    min-height: 300px;
  }

  .preview-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-actions {
    justify-content: flex-start;
  }

  .reader-toolbar {
    top: 78px;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 80px;
  }

  .site-header {
    padding: 14px 0 14px 14px;
  }

  .brand img {
    width: min(260px, 66vw);
  }

  .slideshow {
    width: calc(100% - 32px);
    height: clamp(320px, 72svh, 620px);
    margin-top: 26px;
  }

  .hero {
    width: min(100% - 32px, var(--content));
    padding: 58px 0 0;
    gap: 44px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-logo {
    min-height: 230px;
    padding: 22px;
    border-radius: 30px;
  }

  .preview-section {
    width: min(100% - 32px, var(--content));
  }

  .article-section {
    width: min(100% - 32px, var(--content));
  }

  .preview-section {
    min-height: 0;
    padding: 72px 0;
  }

  .placeholder-card {
    min-height: 0;
    padding: 24px;
    gap: 16px;
  }

  .placeholder-icon {
    width: 46px;
    height: 46px;
  }

  .event-rail {
    grid-auto-columns: min(82vw, 330px);
    margin-right: -16px;
  }

  .event-card {
    min-height: 500px;
  }

  .event-poster {
    height: 350px;
  }

  .event-dialog {
    max-width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
    padding: 6px;
    border-radius: 12px;
  }

  .event-dialog img {
    max-height: calc(100dvh - 24px);
  }

  .event-dialog-close {
    top: 12px;
    right: 12px;
  }

  .article-rail {
    grid-auto-columns: min(84vw, 340px);
    margin-right: -16px;
  }

  .article-card {
    min-height: 470px;
  }

  .reader-toolbar {
    top: 78px;
    padding-inline: 16px;
  }

  .reader-back {
    width: 100%;
  }

  .reader-content {
    width: min(100% - 32px, 840px);
    padding-top: 48px;
  }

  .reader-content figure {
    margin: 38px 0;
  }

  .article-index-filters {
    grid-template-columns: 1fr;
  }

  #articleIndex [data-article] {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-block: 46px;
  }

  .site-footer>div:first-child {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .site-footer small {
    grid-column: auto;
  }
}