/* DRK Website Frontend Styles
   Based on DRK Styleguide
*/

/* Color Variables */
:root {
    /* Reds */
    --drk-red: rgb(230, 0, 5);
    --drk-softrot: rgb(228, 100, 80);
    --drk-dunkelrot: rgb(165, 30, 15);
    
    /* Blues */
    --drk-dunkelblau: rgb(0, 45, 85);
    --drk-mittelblau: rgb(0, 140, 205);
    --drk-volltonblau: rgb(34, 117, 208);
    --drk-hellblau: rgb(235, 245, 255);
    
    /* Grays */
    --drk-textgrau: rgb(51, 51, 51);
    --drk-dunkelgrau: rgb(85, 79, 74);
    --drk-mittelgrau: rgb(180, 180, 180);
    --drk-hellgrau: rgb(239, 238, 234);
    --drk-landergrau: rgb(217, 217, 217);

    /* Whites */
    --drk-weiss: rgb(255, 255, 255);

    /* Gradients */
    --red-gradient: linear-gradient(to bottom right, #a51e0f, var(--drk-red));
    --blue-gradient: linear-gradient(to bottom right, #002d55, var(--drk-volltonblau));
}

*, ::after, ::before {
    box-sizing: border-box;
  }

/* Typography */
body {
    font-family: "Helvetica Neue", "Open Sans", Arial, Helvetica, sans-serif;
    color: var(--drk-textgrau);
    line-height: 1.5;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-family: Helvetica Neue,OpenSans,Arial,sans-serif;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1em;
}

.h1, h1 {
  color: var(--drk-red);
  font-size: 3.05rem;
}
.h2, h2 {
  font-size: 2.44rem;
}
.h3, h3 {
  font-size: 1.95rem;
}
.h4, h4 {
  font-size: 1.56rem;
}
.h5, h5 {
  font-size: 1.25rem;
}   

a {
    color: var(--drk-volltonblau);
    text-decoration: underline;
}

a:hover {
    color: var(--drk-volltonblau);
    text-decoration: underline;
}

.btn {
  padding: .5em 1em;
  margin: 0 !important;
  transition: transform .4s ease-in-out;
  border-radius: 1.5rem;
  cursor: pointer;
  display: inline-block;
  text-align: start;
  text-decoration: none !important;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700 !important;
  overflow: visible;
  text-transform: none;
  width: fit-content;
  border: none;
  outline: none;
  line-height: 1.2;
}

.btn.btn-red {
  background: var(--red-gradient);
}
.btn.btn-red:hover {
  background: var(--red-gradient);
  color: #fff;
}

.btn.btn-blue {
  background: var(--blue-gradient);
}

.btn.btn-white {
  background: var(--drk-weiss);
  color: var(--drk-volltonblau) !important;
  border-radius: 1.5rem;
  gap: 1em;
  line-height: 1.2;
  padding: .5em 1em;
  border: solid 2px;
}

.btn:hover {
  transform: scale(1.05);
}

.btn.btn-red:focus {
  box-shadow: 0 0 0 .125rem #fff,0 0 0 .25rem var(--drk-red) !important;
}

.btn.btn-blue:focus {
  box-shadow: 0 0 0 .125rem #fff,0 0 0 .25rem var(--drk-volltonblau) !important;
}

.btn.btn-white:focus {
  box-shadow: 0 0 0 .125rem var(--drk-volltonblau),0 0 0 .25rem var(--drk-weiss) !important;
}

/* Layout */
.container {}

/* HEADER-GRUNDSTIL */
.drk-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    height: 5rem;
    font-family: Arial, sans-serif;
    margin: 0 auto;
    max-width: 80rem;
}
.drk-header__logo {
    height: 3.0735rem; 
    display: flex; 
    align-items: center;
    width: 25rem;
}
.drk-header__tenant {
    flex: 1;
    text-align: left;
    margin-left: 24px;
    font-size: 1.2rem;
    font-weight: 400;
    color: #222;
    min-width: 200px;
}
.drk-header__nav .main-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.drk-header__nav .main-nav-item-button-wrapper {
    display: flex;
    align-items: center;
    margin: 0;
}
.drk-header__nav button {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: bold;
    font-size: 1rem;
    display: block;
    appearance: none;
    background: none;
    border: none;
    padding: 0.40rem 0.5rem;
    cursor: pointer;
}
.drk-header__nav button:hover {
    text-decoration: underline #2276d0;
}
.drk-header_nav_link {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: bold;
  font-size: 1rem;
  display: block;
  appearance: none;
  background: none;
  border: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}
.drk-header_nav_link:hover {
  text-decoration: underline #2276d0;
  color: #333;
}
.subnavi-toggle {
  text-align: left;
}
.subnavi-toggle:hover {
  text-decoration: none !important;
}

/*
============================
  FADE-ÜBERGANG FÜR NAVIGATION
============================
*/
.drk-header__nav {
  /* Standard: sichtbar */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0.35s cubic-bezier(0.4,0,0.2,1);
}
.drk-header__nav.is-fading.is-hidden {
  /* Ausgeblendet: fade out */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.drk-header__nav.is-fading {
  /* Fade-Transition aktiv */
  transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0.35s cubic-bezier(0.4,0,0.2,1);
}


@media (max-width: 900px) {
    .drk-header { flex-direction: column; align-items: flex-start; padding: 8px 8px; }
    .drk-header__logo, .drk-header__tenant, .drk-header__nav { margin: 4px 0; }
    .drk-header__nav { gap: 16px; font-size: 1rem; }
}
body, form, html, p, ul {
    margin: 0;
    padding: 0;
}
button, .dti-flyout .flyout-navi .level-1-item > .nav-link {
    color: #333;
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.2em;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
}

.site-title {
    color: var(--drk-red);
    font-size: 1.8rem;
    margin: 0;
}

/* Navigation */
.navbar-light .navbar-nav .nav-link {
    color: var(--drk-dunkelblau);
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--drk-mittelblau);
}

.dropdown-menu {
    background-color: var(--drk-hellblau);
    border: 1px solid var(--drk-mittelgrau);
}

.dropdown-item:hover {
    background-color: var(--drk-hellblau);
    color: var(--drk-dunkelblau);
}

/* Main Content */
main {
    min-height: 500px;
    background-color: white;
}

body.a11y-dark-mode main {
    background-color: #0f172a;
    color: #e2e8f0;
}

/* Content Blocks */
.content-block {
    
}

/* Buttons */
.btn-primary {
    background-color: var(--drk-red);
    border-color: var(--drk-red);
}

.btn-primary:hover {
    background-color: var(--drk-dunkelrot);
    border-color: var(--drk-dunkelrot);
}

.btn-secondary {
    background-color: var(--drk-dunkelblau);
    border-color: var(--drk-dunkelblau);
}

.btn-secondary:hover {
    background-color: var(--drk-mittelblau);
    border-color: var(--drk-mittelblau);
}

.btn.btn-white {
    background-color: var(--drk-weiss);
    color: var(--drk-mittelblau);
    border-color: var(--drk-mittelblau);
}

.btn.btn-white:hover {
    background-color: var(--drk-weiss);
    color: var(--drk-mittelblau);
    border-color: var(--drk-mittelblau);
    transform: scale(1.05);
}

.media_image_container {
  display: flex;
  position: relative;
}

.slider-module .media_image_container {
  position: initial;
}

/* Footer */
footer {
    color: var(--drk-dunkelgrau);
    padding: 2rem 0;
    margin-top: 2rem;
}

footer h5 {
    color: var(--drk-dunkelblau);
    font-weight: 500;
}

footer a {
    color: var(--drk-volltonblau);
}

footer a:hover {
    color: var(--drk-dunkelrot);
}

.content-block .container .row{
  margin-left: auto;
  margin-right: auto;
  min-height: 100pt;
  margin: 0 auto;
  padding-block-end: 4rem;
}

.section-style-gray {
  background-color: var(--drk-textgrau);
  color: #fff !important;
  padding-block-start: 4rem;
}

.section-style-blue {
  background: var(--blue-gradient);
  color: #fff !important;
  padding-block-start: 4rem;
}

.section-style-red {
  background: var(--red-gradient);
  color: #fff !important;
  padding-block-start: 4rem;
}

.section-style-blue .btn.btn-white {
  border: none;
}

.section-style-red .btn.btn-white {
  border: none;
}



.content-block .container .row .full_width {
    margin-left: auto;
    margin-right: auto;
    min-height: 100pt;
    max-width: calc(100vw);
}

.drk-footer {
    background: #fff;
    border-top: 1px solid #cbcbcb;
    margin: 0 auto;
    max-width: 80rem;
    font-family: Arial, sans-serif;
    color: #222;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

body.a11y-dark-mode .drk-footer {
    background: #0f172a;
    border-top-color: #1f2937;
    color: #e2e8f0;
}
.drk-footer::before {
    content: "";
    display: block;
    grid-column: max-content-width;
    height: .0625rem;
    width: 100%;
}
.drk-footer__breadcrumbs {
    margin: 0 auto 2rem;
    max-width: 85vw;
    padding: 0 1rem;
    font-size: 1.25rem;
    color: #333;
}

body.a11y-dark-mode .drk-footer__breadcrumbs {
    color: #e5e7eb;
}

.drk-footer__breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.drk-footer__breadcrumbs-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.drk-footer__breadcrumbs-link {
    color: var(--drk-volltonblau);
    text-decoration: underline;
}

body.a11y-dark-mode .drk-footer__breadcrumbs-link {
    color: #93c5fd;
}

.drk-footer__breadcrumbs-link:hover {
    text-decoration: underline;
    color: var(--drk-volltonblau);
}

body.a11y-dark-mode .drk-footer__breadcrumbs-link:hover {
    color: #bfdbfe;
}

.drk-footer__breadcrumbs-current {
    text-decoration: none;
}
.drk-footer__breadcrumbs-separator {
    color: var(--drk-mittelgrau);
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
}
.drk-footer__breadcrumbs-separator .fa-chevron-right {
    font-size: 0.75rem;
    color: var(--drk-mittelgrau);
}
.drk-footer__social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 85vw;
}
.drk-footer__icon {
  aspect-ratio: 1 / 1;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--blue-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.drk-footer__icon svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: #fff;
}
.drk-footer__icon .drk-footer__icon-label {
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1;
}
.drk-footer__icon:hover {
    background: var(--blue-gradient) !important;
}
.drk-footer__menus {
    display: grid;
    align-items: stretch;
    gap: .75rem;
    width: 80rem;
    grid-template-columns: repeat(auto-fit,minmax(208px,1fr));
    border-top: 1px solid #cbcbcb;
    flex-wrap: wrap;
    justify-content: center;
}

body.a11y-dark-mode .drk-footer__menus {
    border-top-color: #1f2937;
}
.drk-footer__menus::before {
    content: "";
    display: block;
    grid-column: max-content-width;
    height: .0625rem;
    margin-bottom: 2rem;
    width: 100%;
}
.drk-footer__menu {
    min-width: 180px;
    padding-bottom: 2rem;
}
.drk-footer__menu h4 {
    font-size: 1.0rem;
    font-weight: 300;
    margin-bottom: 0.7rem;
    color: #000;
}

body.a11y-dark-mode .drk-footer__menu h4 {
    color: #e5e7eb;
}

.drk-footer__menu a {
    color: #2276d0;
    text-decoration: underline;
    display: block;
    padding: .5rem 0;
    font-size: 1rem;
}

body.a11y-dark-mode .drk-footer__menu a {
    color: #cbd5e1;
}

.drk-footer__menu a:hover {
    color: #2276d0;
}

body.a11y-dark-mode .drk-footer__menu a:hover {
    color: #93c5fd;
}
.drk-footer__signature {
    border-top: 1px solid #cbcbcb;
    padding-top: .0625rem;
    font-size: 1rem;
    color: #333;
    text-align: left;
    margin-bottom: 2rem;
}

body.a11y-dark-mode .drk-footer__signature {
    border-top-color: #1f2937;
    color: #e5e7eb;
}
.drk-footer__signature::before {
    content: "";
    display: block;
    grid-column: max-content-width;
    height: .0625rem;
    margin-bottom: 2rem;
    width: 100%;
}
.drk-footer__signature a {
    color: #333;
    margin: 0;
    font-size: 1rem;
}
.drk-footer__signature a:hover {
    text-decoration: underline #2276d0;
}
.drk-footer__menu ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.drk-footer__menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.drk-footer__signature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.drk-footer__signature-list li {
    font-size: 1rem;
    color: #333;
    margin: 0;
    padding: 0;
    position: relative;
}

body.a11y-dark-mode .drk-footer__signature-list li {
    color: #e5e7eb;
}
.drk-footer__signature-list li:not(:last-of-type)::after {
    content: " · ";
}

body.a11y-dark-mode .drk-footer__signature-list li:not(:last-of-type)::after {
    color: #1f2937;
}
.drk-footer__signature-list a {
    color: #333;
    text-decoration: none;
}

body.a11y-dark-mode .drk-footer__signature-list a {
    color: #cbd5e1;
}
.drk-footer__signature-list a:hover {
    text-decoration: underline var(--drk-mittelblau);
}

/* Padding für alle .col-md-6 außer dem ersten Element */
.col-md-6:not(:first-child) {
    padding-inline-start: 4rem;
}

/* Für .col-md-4 Spalten (außer der ersten) geringerer Abstand */
.col-md-4:not(:first-child) {
    margin-inline-start: 2rem;
}

/* Stellt sicher, dass .col-md-* Spalten in .row nebeneinander stehen */
.row {
    display: flex;
    flex-wrap: wrap;
}

/* Alle .col-md-* Spalten in .row erhalten die gleiche Breite */
.row .col-md-12 {
  width: 100%;
}

.row .col-md-6 {
  width: 50%;
}

.row .col-md-4 {
  width: calc(33.33333333333333% - 1.33333rem);
}



/* --- SUBNAVIGATION: Über die gesamte Breite unterhalb des Headers --- */
/* Sichtbarkeit der Subnavi nur noch über aria-hidden */
.header-subnavi-wrapper {
    position: fixed; /* Feste Positionierung relativ zum Viewport */
    left: 0; /* Ganz links am Browserfenster */
    top: 5rem; /* Direkt unterhalb der Header-Höhe */
    width: 100vw; /* Volle Viewport-Breite */
    background: #fff;
    border-top: 1px solid var(--drk-mittelgrau);
    margin: 0;
    height: auto;
    max-height: calc(100vh - 5rem);
    opacity: 1;
    overflow: auto;
    z-index: 9;
    box-shadow: 0 2rem 1rem 0 rgba(0, 0, 0, 0.25);
    white-space: normal;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s cubic-bezier(0.4,0,0.2,1);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
}

.header-subnavi-wrapper[aria-hidden="true"] {
    display: none;
    opacity: 0;
    pointer-events: none;
    transform: scaleY(0);
    transform-origin: top;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.header-subnavi-wrapper:not([aria-hidden="true"]) {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
    transform-origin: top;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* Hilfsklasse für Ausblend-Animation */
.header-subnavi-wrapper.is-hiding {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s cubic-bezier(0.4,0,0.2,1);
    /* display bleibt erhalten, damit Animation sichtbar ist */
}

.header-nav-item ul {
    display: block !important;
}

/* Stellt sicher, dass der Header als Bezugspunkt dient */
.drk-header {
    position: relative;
    z-index: 1100;
}

/* Header immer oben fixiert */
.drk-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1100;
    background: #fff;
}

/* Platzhalter für den fixierten Header, damit der Content nicht überlappt */
.header-placeholder {
    height: 5rem;
    width: 100vw;
    display: block;
}

/* Subnavi-Listen-Layout */
.header-nav-list.header-subnavi.level-2 {
    background: #fff;
    column-count: 5;
    column-gap: 1rem;
    list-style: none;
    margin: 0 auto;
    max-width: 80rem;
    padding-bottom: 2rem;
    padding-left: 1.05rem;
    padding-top: 2rem;
  }

.header-nav-item.parent {
    break-inside: avoid;
}

.header-nav-item.parent > span {
    font-weight: bold;
    color: #000;
    font-size: 1.0rem;
    display: block;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.header-nav-list.header-subnavi.level-3-or-deeper {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0.5rem;
    margin-bottom: 1rem;
}

.header-nav-link {
    text-decoration: none;
    display: block;
    padding: .3rem 0;
    color: var(--drk-dunkelgrau);
    font-size: 0.85rem;
    line-height: 1.2em;
    break-inside: avoid;
    padding-left: 0.5rem;
}
.header-nav-link:hover {
    color: #000;
}


/* --- Button-Highlight bei expanded (Subnavi offen) --- */
.nav-item-button[aria-expanded="true"] {
    position: relative;
    z-index: 20;
}

.nav-item-button[aria-expanded="true"]::before {
    /* Rahmen oben, links, rechts */
    display: block;
    position: absolute;
    content: "";
    left: -1px;
    right: -1px;
    top: -8px;
    height: 4rem;
    border-left: 1px solid var(--drk-mittelgrau, #ccc);
    border-right: 1px solid var(--drk-mittelgrau, #ccc);
    border-top: 1px solid var(--drk-mittelgrau, #ccc);
    background: transparent;
    opacity: 1;
    transition: all 0.2s;
    z-index: -5;
}

.nav-item-button[aria-expanded="true"]::after {
    /* Weißer Hintergrund unterhalb des Buttons */
    display: block;
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    bottom: -1.75rem;
    height: 1.75rem;
    background: #fff;
    opacity: 1;
    transition: all 0.2s;
    z-index: 10;
}

/* Standardmäßig sind die Pseudo-Elemente unsichtbar */
.nav-item-button::before,
.nav-item-button::after {
    display: none;
    opacity: 0;
    height: 0;
}


/* Content-Filter wenn Menü geöffnet ist */
body.menu-open {
    overflow: hidden;
}

body.menu-open .drk-header-placeholder,
body.menu-open main,
body.menu-open .drk-footer {
    filter: blur(2px) grayscale(0.25) opacity(0.75);
    transition: filter 0.3s cubic-bezier(0.4,0,0.2,1);
}

.burger-menu-toggle {
    background: var(--blue-gradient);
    color: #fff;
    border-radius: 1rem;
    width: 5.8rem;
    height: 2rem;
    display: block;
    border: none;
    font-size: 0.8rem;
    font-weight: 500;
}

.content-item {
  margin-block-end: 4rem;
  max-width: calc(80vw);
  margin: 0 auto;
}

.content-type-heading {
  margin-block-end: 0;
}

.media_copyright {
  background: rgba(255,255,255,0.8);
  bottom: 0;
  color: #000;
  font-size: 0.6875rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  position: absolute;
  right: 0;
  border-top-left-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
}

.nav-search-button {
    cursor: pointer;
}

.global-search {
  background-color: #fff;
  border-radius: 2rem;
  box-shadow: 0 .5rem 1rem 0 rgba(0,0,0,.2);
  left: 50%;
  max-width: 22.5rem;
  padding-block-end: 1.5rem;
  position: fixed;
  top: .75rem;
  transform: translateX(-50%);
  width: 100%;
  z-index: 720;
  max-width: 33rem;
}

.global-search-form {
  margin: 0;
  padding: 0;
  background: none;
}

.global-search-fieldset {
  border-radius: 62.4375rem;
  box-shadow: none;
  margin: 0;
  margin-block-end: 1rem;
  position: relative;
  background: none;
  border: 0;
  outline: 0;
  padding: 0;
  text-align: left;
}

.global-search-input {
  box-shadow: inset 0 0 0 .1875rem var(--drk-mittelblau);
  font-size: 1.0rem;
  border: none;
  border-radius: 62.4375rem;
  caret-color: var(--drk-mittelblau);
  padding: 1rem 1rem 1rem 3.75rem;
  display: block;
  font-weight: 700;
  transition: border .4s ease-in-out,box-shadow .4s ease-in-out;
  width: 100%;
  outline: none;
}

.global-search-input::placeholder {
  color: var(--drk-dunkelgrau);
}

.global-search-submit {
  align-items: center;
  border: none;
  background: none;
  display: flex;
  height: 2.5rem;
  justify-content: center;
  left: 1rem;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  cursor: pointer;
}

.global-search-close {
  background-color: var(--drk-dunkelgrau);
  border-radius: 100%;
  display: block;
  height: 1.5rem;
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 1.5rem;
  border: none;
  cursor: pointer;
}

.global-search-close::after {
  color: #fff;
  content: "\f00d";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  display: block;
  position: relative;
  transform: translate(-30%,-11%);
  font-size: 0.7em;
  rotate: 45deg;
}

.quicklinks {
  font-size: 0.8rem;
  padding-inline: 1.5rem;
  height: 0%;
}

.quicklinks-title {
  font-size: 1.0rem;
  color: var(--drk-dunkelgrau);
  margin-block-end: 1rem;
  text-transform: uppercase;
}

.quicklinks ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.quicklinks-link {
  color: var(--drk-dunkelblau);
  display: block;
  line-height: 1.2em;
  padding: .5rem 0;
  font-size: 1.0rem;
}
.quicklinks-link:hover {
  color: var(--drk-dunkelblau);
}

.columns-count-2 {
  max-width: calc(80vw);
}

.columns-count-3 {
  max-width: calc(80vw);
}


@media (min-width: 993px) {
    .menu-toggle-icon,
    .subnavi-toggle {
      
    }   

    .menu-toggle-icon {
        display: none;
    }
}

/* Responsive Footer-Menü: Unter 992px als aufklappbares Akkordeon */
@media (max-width: 992px) {
  .drk-footer__menus {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid #cbcbcb;
    margin-left: auto;
    margin-right: auto;
    max-width: 85vw;
  }
  .drk-footer__menu {
    min-width: 0;
    width: 100%;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 0.5rem;
    background: #fff;
  }
  .drk-footer__menu:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  .drk-footer__menu h4 {
    cursor: pointer;
    margin-bottom: 0;
    padding: 0.7rem 0;
    font-size: 1.0rem;
    position: relative;
  }
  .drk-footer__menu ul {
    display: none;
    padding-left: 0.5rem;
    margin: 0;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s cubic-bezier(0.4,0,0.2,1);
  }
  .drk-footer__menu.active ul {
    display: block;
    transform: scaleY(1);
    opacity: 1;
  }
  .drk-footer__menu h4::after {
    content: '\2b'; /* Font Awesome Plus Icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    font-size: 1.2rem;
    width: 2rem;
    height: 2rem;
    background: transparent;
    color: var(--drk-dunkelblau);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s, border 0.2s;
    border: 1px solid var(--drk-mittelgrau);
  }
  .drk-footer__menu.active h4::after {
    transform: translateY(-50%) rotate(45deg);
    border: 2px solid var(--drk-mittelblau);
  }
  .drk-footer__menu h4:focus::after {
    border-color: var(--drk-mittelblau);
  }
  .drk-footer__social {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
  }
  .drk-footer__icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
  }
  .drk-footer__icon svg {
    width: 2.0rem;
    height: 2.0rem;
    fill: #fff;
}
  .drk-header__logo {
    height: 2rem;
    display: flex;
    align-items: center;
    width: 17rem;
  }

  .content-item {
    max-width: calc(85vw);
  }

  .nav-search-button-wrapper {
      display: none !important;
  }
}

@media (max-width: 1300px) {
    .drk-footer {
        margin-left: auto;
        margin-right: auto;
        max-width: 85vw;
    }

    .drk-header {
        padding: 0px 8px;
      }

    .drk-footer__menus {
        display: flex;
        align-items: stretch;
        gap: .75rem;
        width: 80rem;
        grid-template-columns: repeat(auto-fit,minmax(208px,1fr));
        border-top: 1px solid #cbcbcb;
        margin-left: auto;
        margin-right: auto;
        max-width: 85vw;
    }

    .drk-footer__signature {
        border-top: 1px solid #cbcbcb;
        padding-top: .0625rem;
        font-size: 1rem;
        color: #333;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 85vw;
    }

    .content-block {
      margin-bottom: 0rem;
    }
}

/* Burger-Menü für kleine Bildschirme (<=992px) */
@media (max-width: 992px) {
  .content-block {
    margin-bottom: 0rem;
  }
  
  .nav-item-button[aria-expanded="true"]::before {
    /* Rahmen oben, links, rechts */
    display: block;
    position: absolute;
    content: "";
    left: -1px;
    right: -1px;
    top: -10px;
    height: 4rem;
    border: none;
    background: transparent;
    opacity: 1;
    transition: all 0.2s;
    z-index: -5;
}
    .header-subnavi-wrapper {
        background: none;
    }
  .drk-header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #f2f2f2;
    z-index: -1;
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    margin-top: 0;
  }
  .drk-header__nav.active {
    transform: translateY(0);
    margin-top: 5.0rem;
    z-index: -1;
  }
  .drk-header__nav .main-nav-list {
    flex-direction: column;
    gap: 0rem;
    width: 100%;
    padding: 0 1rem;
  }
  .drk-header__nav .main-nav-item-button-wrapper,
  .drk-header__nav .main-nav-list > li {
    width: 100%;
    position: relative;
    display: block;
    margin: 0 auto;
  }
  .drk-header__nav button.nav-item-button {
    width: 100%;
    text-align: left;
    padding: 1rem 0 1rem 0;
    font-size: 1.2rem;
    color: #000;
    border-bottom: 1px solid #cbcbcb;
    background: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .drk-header__nav button.nav-item-button .menu-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-left: auto;
    font-size: 1.2rem;
    transition: transform 0.3s, background 0.3s, color 0.3s;
  }
  .drk-header__nav button.nav-item-button[aria-expanded="true"] .menu-toggle-icon {
    transform: rotate(45deg);
    color: var(--drk-mittelblau);
  }
  .drk-header__nav button.nav-item-button:focus .menu-toggle-icon {
    color: var(--drk-mittelblau);
  }
  .nav-item-button[aria-expanded="true"]::after {
    background: none;
  }
  /* Subnavi-Wrapper Animation */
  .header-subnavi-wrapper {
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s, transform 0.3s cubic-bezier(0.4,0,0.2,1);
    transform: scaleY(1);
    opacity: 1;
    max-height: 1000px;
    overflow: hidden;
  }
  .header-subnavi-wrapper.open {
    max-height: 1000px;
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }
  .header-subnavi-wrapper.is-hiding {
    opacity: 0;
    transform: scaleY(0);
    pointer-events: none;
    max-height: 0;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s, transform 0.3s cubic-bezier(0.4,0,0.2,1);
  }
  /* Subnavi-Button für tieferes Level */
  .header-nav-item.parent > .subnavi-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    padding: 0;
    font-size: 1.1rem;
    color: #000;
    background: none;
    position: relative;
    border-radius: 0;
    font-weight: bold;
    gap: 0.5rem;
  }
  .header-nav-item.parent > .subnavi-toggle .menu-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-left: auto;
    font-size: 1.2rem;
    transition: transform 0.3s, color 0.3s;
  }
  .header-nav-item.parent > .subnavi-toggle[aria-expanded="true"] .menu-toggle-icon {
    transform: rotate(45deg);
    color: var(--drk-mittelblau);
  }
  .header-nav-item.parent > .subnavi-toggle:focus .menu-toggle-icon {
    color: var(--drk-mittelblau);
  }
  .header-nav-item.parent > .subnavi-toggle span {
    font-weight: bold;
    color: #000;
    font-size: 1.0rem;
    display: block;
    line-height: 1.2;
    margin-bottom: 0;
  }
  .drk-header__nav .header-subnavi-wrapper {
    width: 100%;
    margin: 0;
    padding-left: 1.5rem;
    box-shadow: none;
    border-radius: 0;
    border: none;
    position: static;
    max-width: 100%;
    transition: none;
  }
  .drk-header__nav .header-subnavi.level-2 {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    background: none;
  }
  .drk-header__nav .header-nav-item.parent {
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    color: #000;
    background: none;
    position: relative;
    display: block;
    align-items: center;
    justify-content: space-between;
  }
  .drk-header__nav .header-nav-item.parent > span,
  .drk-header__nav .header-nav-item.parent > .subnavi-toggle {
    vertical-align: middle;
    border-bottom: 1px solid #cbcbcb;
    padding: 1rem 0 1rem 0;
  }
  .drk-header__nav .header-nav-list.header-subnavi.level-3-or-deeper {
    display: block;
    width: 100%;
    margin: 0;
    background: none;
  }
  .drk-header__nav .header-nav-list.header-subnavi.level-3-or-deeper .header-nav-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 0;
  }
  .drk-header__nav .header-nav-list.header-subnavi.level-3-or-deeper .header-nav-link {
    display: block;
    font-size: 1.0rem;
    color: #000;
    font-weight: bold;
    border-bottom: 1px solid #cbcbcb;
    padding: 1rem 0 1rem 0;
  }
  .header-nav-list.header-subnavi.level-3-or-deeper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s;
  }
  .header-nav-list.header-subnavi.level-3-or-deeper.open {
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.25s;
  }
  .menu-toggle-icon,
  .subnavi-toggle {
    display: inline-flex;
  }
  .nav-search-button-wrapper {
    display: none !important;
  }

  .row .col-md-6 {
    width: 100%;
  }
  
  .row .col-md-4 {
    width: 100%;
  }

  .col-md-6:not(:first-child) {
    padding-inline-start: 0;
    padding-block-start: 4rem;
  }
  .col-md-4:not(:first-child) {
    margin-inline-start: 0;
    padding-block-start: 4rem;
  }

}

/* Burger-Button auf größeren Bildschirmen verstecken */
@media (min-width: 993px) {
  .burger-menu-toggle {
    display: none;
  }
}

/*
====================================================
  ALERT STYLES (Bootstrap-ähnlich, DRK-Design)
====================================================
*/

/*
Basis-Alert-Box: Grundlayout und Standardfarben
*/
.alert {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0.35rem;
  border: 1px solid var(--drk-mittelgrau);
  background-color: var(--drk-hellgrau);
  color: var(--drk-dunkelgrau);
  font-size: 1.1rem;
  font-weight: 400;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

/*
Fehler-Alert (z.B. für Fehlermeldungen)
*/
.alert-danger {
  background-color: rgba(230, 0, 5, 0.08); /* sehr helles DRK-Rot */
  border-color: var(--drk-red);
  color: var(--drk-red);
}

/*
Erfolgs-Alert (z.B. für Erfolgsmeldungen)
*/
.alert-success {
  background-color: #e6f7e6; /* sehr helles Grün */
  border-color: #3bb143;      /* kräftiges Grün */
  color: #217a2c;             /* dunkleres Grün */
}

/*
Warn-Alert (z.B. für Hinweise)
*/
.alert-warning {
  background-color: #fff8e1; /* sehr helles Gelb */
  border-color: #ffc107;     /* kräftiges Gelb */
  color: #b28704;            /* dunkleres Gelb */
}

/*
Info-Alert (z.B. für neutrale Hinweise)
*/
.alert-info {
  background-color: rgba(0, 140, 205, 0.08); /* sehr helles DRK-Blau */
  border-color: var(--drk-mittelblau);
  color: var(--drk-dunkelblau);
}

/*
Optional: Schließen-Button für Alerts (wenn gewünscht)
*/
.alert .close {
  position: absolute;
  top: 0.7rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.alert .close:hover {
  opacity: 1;
}

/*
Responsives Verhalten: Alerts auf kleinen Bildschirmen
*/
@media (max-width: 600px) {
  .alert {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 960px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  padding: 1.5rem;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1090;
}

.cookie-consent.is-visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cookie-consent__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cookie-consent__icon {
  font-size: 2rem;
}

.cookie-consent__content {
  flex: 1 1 auto;
}

.cookie-consent__title {
  margin: 0 0 0.25rem 0;
  font-weight: 700;
  font-size: 1.1rem;
}

.cookie-consent__description {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-consent__link {
  border: none;
  background: none;
  color: #e60005;
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
  padding: 0;
}

.cookie-consent__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 210px;
}

.cookie-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
  border: none;
  padding: 1em 1.7em;
  font-weight: 600;
  font-size: .82em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cookie-button--primary {
  background-color: #e60005;
  color: #ffffff;
}

.cookie-button--primary:hover,
.cookie-button--primary:focus {
  background-color: #bf0004;
}

.cookie-button--ghost {
  background-color: rgba(0, 0, 0, 0.05);
  color: #333333;
}

.cookie-button--ghost:hover,
.cookie-button--ghost:focus {
  background-color: rgba(0, 0, 0, 0.12);
}

.cookie-button--outline {
  background: transparent;
  color: #e60005;
  border: 2px solid #e60005;
}

.cookie-button--outline:hover,
.cookie-button--outline:focus {
  background-color: rgba(230, 0, 5, 0.08);
}

.floating-action-cluster {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  z-index: 1080;
}

.floating-action-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--drk-dunkelblau, #1c3d6e);
  color: #ffffff;
  border: 1px solid var(--drk-dunkelblau, #1c3d6e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.0rem;
  cursor: pointer;
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.18);
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 180ms ease;
}

.floating-action-button.is-active {
  background-color: #e60005;
  border-color: #e60005;
  box-shadow: none;
}

.floating-action-button--light {
  background-color: var(--drk-dunkelblau, #1c3d6e);
  color: #ffffff;
  border: 1px solid var(--drk-dunkelblau, #1c3d6e);
}

.cookie-floating-button {
  background-color: var(--drk-dunkelblau, #1c3d6e);
  color: #ffffff;
}

.floating-action-cluster .cookie-floating-button {
  position: static;
  left: auto;
  bottom: auto;
  margin: 0;
}

.cookie-floating-button.is-hidden {
  display: none;
}

.llm-translate-group {
  position: relative;
  display: flex;
  align-items: center;
}

.llm-translate-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border: 1px solid #dfe3eb;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 0.75rem;
  min-width: 300px;
  max-width: min(90vw, 460px);
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 1090;
}

.llm-translate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.llm-translate-overlay__box {
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 320px;
}

.llm-translate-overlay__spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid #e0e7ef;
  border-top-color: #e60005;
  animation: llm-spin 1s linear infinite;
}

.llm-translate-overlay__title {
  margin: 0 0 0.15rem;
  font-weight: 700;
  color: #1c3d6e;
}

.llm-translate-overlay__message,
.llm-translate-overlay__progress {
  margin: 0;
  color: #4a5568;
  font-size: 0.95rem;
}

@keyframes llm-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.llm-translate-panel.is-open {
  display: flex;
}

.llm-translate-title {
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--drk-dunkelblau, #1c3d6e);
}

.llm-translate-panel label {
  font-size: 0.9rem;
  color: #555555;
}

.llm-translate-panel select {
  width: 100%;
  border: 1px solid #dfe3eb;
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font-size: 0.95rem;
}

.llm-translate-panel .cookie-button {
  width: 100%;
  margin-top: 0.25rem;
}

/* Accessibility Center */
.a11y-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1600;
}

.a11y-modal.is-open {
  display: flex;
}

.a11y-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}

.a11y-modal__panel {
  position: relative;
  background: #ffffff;
  border: 1px solid #dfe3eb;
  border-radius: 16px;
  width: min(1080px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
}

.a11y-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 2;
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
  background: inherit;
  border-bottom: 1px solid #e3e8f0;
}

.a11y-modal__titles h3 {
  margin: 0 0 0.25rem;
  color: var(--drk-dunkelblau, #1c3d6e);
}

.a11y-lead {
  margin: 0;
  color: #4a5568;
}

.a11y-eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #e60005;
  font-size: 0.8rem;
}

.a11y-close {
  border: none;
  background: #f3f5f9;
  color: #1c3d6e;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.a11y-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.a11y-card {
  border: 1px solid #e3e8f0;
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 0.75rem;
  row-gap: 0.5rem;
  align-items: start;
}

.a11y-card__title {
  margin: 0 0 0.2rem;
  font-weight: 700;
  color: #1c3d6e;
}

.a11y-card__desc {
  margin: 0;
  color: #4a5568;
  font-size: 0.95rem;
}

.a11y-actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.a11y-actions--stacked {
  width: 100%;
  justify-content: flex-start;
  gap: 0.65rem;
}

.a11y-font-value {
  min-width: 52px;
  text-align: center;
  font-weight: 700;
  color: #1c3d6e;
}

.a11y-select {
  width: 150px;
  border-radius: 10px;
  border: 1px solid #dfe3eb;
  padding: 0.35rem 0.5rem;
  background: #ffffff;
  color: #1c3d6e;
}

.a11y-card > .a11y-actions,
.a11y-card > .a11y-actions--stacked,
.a11y-card > .a11y-range,
.a11y-card > .a11y-select {
  grid-column: 1 / -1;
}

.a11y-card > .a11y-toggle {
  grid-row: 1;
  grid-column: 2;
  justify-self: end;
  align-self: flex-start;
}

.a11y-card > div:first-child {
  grid-column: 1 / 2;
}

.a11y-range {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.a11y-range__label {
  display: block;
  font-size: 0.9rem;
  color: #4a5568;
  grid-column: 1 / -1;
}

.a11y-range input[type="range"] {
  width: 100%;
  accent-color: #e60005;
}

.a11y-range__value {
  min-width: 56px;
  text-align: right;
  font-weight: 700;
  color: #1c3d6e;
}

.a11y-read-focus {
  outline: 3px solid #e60005 !important;
  outline-offset: 2px;
}

.a11y-modal__footer {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
}

.a11y-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.a11y-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

.a11y-switch__slider {
  width: 46px;
  height: 26px;
  background: #cfd7e5;
  border-radius: 999px;
  position: relative;
  transition: background 0.2s ease;
}

.a11y-switch__slider::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.a11y-switch input:checked + .a11y-switch__slider {
  background: #e60005;
}

.a11y-switch input:checked + .a11y-switch__slider::after {
  transform: translateX(20px);
}

body.a11y-modal-open {
  overflow: hidden;
}

body.a11y-keyboard :focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(255, 191, 71, 0.3);
}

body.a11y-high-contrast {
  background: #000000;
  color: #ffffff;
}

body.a11y-high-contrast a {
  color: #ffe600;
}

body.a11y-high-contrast .a11y-modal__panel {
  background: #000000;
  border-color: #ffe600;
  color: #ffffff;
}

body.a11y-high-contrast .a11y-modal__header {
  background: #000000;
  border-color: #ffe600;
}

body.a11y-high-contrast .a11y-modal__titles h3,
body.a11y-high-contrast .a11y-card__title {
  color: #ffe600;
}

body.a11y-high-contrast .a11y-select {
  background: #000000;
  color: #ffffff;
  border-color: #ffe600;
}

body.a11y-high-contrast .a11y-modal__overlay {
  background: rgba(0, 0, 0, 0.8);
}

body.a11y-high-contrast .a11y-card {
  background: #000000;
  border-color: #ffe600;
  color: #ffffff;
}

body.a11y-dark-mode {
  background: #0b1224;
  color: #e2e8f0;
}

body.a11y-dark-mode .a11y-modal__panel {
  background: #0f172a;
  border-color: #1f2937;
  color: #e2e8f0;
}

body.a11y-dark-mode .a11y-modal__header {
  background: #0f172a;
  border-color: #1f2937;
}

body.a11y-dark-mode .a11y-modal__titles h3,
body.a11y-dark-mode .a11y-card__title {
  color: #bfdbfe;
}

body.a11y-dark-mode .a11y-select {
  background: #111827;
  color: #e5e7eb;
  border-color: #1f2937;
}

body.a11y-dark-mode .a11y-lead {
  color: #cbd5e1;
}

body.a11y-dark-mode .a11y-card {
  background: #0f172a;
  border-color: #1f2937;
  color: #e2e8f0;
}

body.a11y-dark-mode .a11y-card__desc {
  color: #cbd5e1;
}

body.a11y-dark-mode .a11y-range {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 0.35rem 0.45rem;
}

body.a11y-dark-mode .a11y-range__value,
body.a11y-dark-mode .a11y-range__label {
  color: #e5e7eb;
}

body.a11y-dark-mode .a11y-range input[type="range"] {
  accent-color: #e60005;
  background-color: transparent;
}

body.a11y-dark-mode .a11y-switch__slider {
  background: #2d3b55;
}

body.a11y-dark-mode .a11y-switch input:checked + .a11y-switch__slider {
  background: #e60005;
}

body.a11y-dark-mode .a11y-modal .cookie-button.cookie-button--ghost,
body.a11y-dark-mode .a11y-modal .cookie-button.cookie-button--outline {
  background: #111827;
  color: #e5e7eb;
  border-color: #1f2937;
}

body.a11y-dark-mode .a11y-modal .cookie-button.cookie-button--primary {
  background: #e60005;
  color: #ffffff;
  border-color: #e60005;
}

body.a11y-reduce-motion * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

body.a11y-hide-images img,
body.a11y-hide-images picture,
body.a11y-hide-images figure {
  display: none !important;
}

body.a11y-readable-font {
  font-family: "Arial", "Helvetica", sans-serif !important;
}

body.a11y-large-cursor {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><circle cx="8" cy="8" r="7" fill="%23e60005"/><circle cx="8" cy="8" r="4" fill="white"/></svg>') 2 2, auto;
}

body.a11y-large-cursor * {
  cursor: inherit !important;
}

@media (max-width: 640px) {
  .a11y-modal__panel {
    padding: 1rem;
  }

  .a11y-modal__grid {
    grid-template-columns: 1fr;
  }
}

.cookie-settings {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
  pointer-events: none;
  z-index: 1100;
}

body.cookie-settings-open {
  overflow: hidden;
}

.cookie-settings__overlay {
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-settings__panel {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: min(512px, 90vw);
  background: #ffffff;
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
}

.cookie-settings.is-open {
  pointer-events: auto;
}

.cookie-settings.is-open .cookie-settings__overlay {
  opacity: 1;
}

.cookie-settings.is-open .cookie-settings__panel {
  transform: translateX(0);
}

.cookie-settings__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#cookie-settings-title {
  margin-top: 0;
}

.cookie-settings__logo {
  width: 350px;
  height: 60px;
}

.cookie-settings__close {
  border: none;
  background: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #333333;
}

.cookie-settings__content {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1 1 auto;
}

.cookie-settings__intro {
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-settings__categories {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-category {
  border: 1px solid #d8e0e6;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  background-color: #eaeff2;
  color: #2d4156;
}

.cookie-category summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.cookie-category summary::-webkit-details-marker {
  display: none;
}

.cookie-category__title {
  font-weight: 700;
  font-size: .95em;
  flex: 1 1 auto;
  color: #2d4156;
}

.cookie-category__description {
  margin: 0.75rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #2d4156;
}

.cookie-category--locked {
  background-color: #eaeff2;
}

.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 106px;
  height: 32px;
  flex-shrink: 0;
}

.cookie-toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.cookie-toggle input:disabled {
  cursor: not-allowed;
}

.cookie-toggle__track {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background-color: #d8e0e6;
  position: relative;
  transition: background-color 0.25s ease;
}

.cookie-toggle__track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease;
}

.cookie-toggle input:checked + .cookie-toggle__track {
  background-color: #2d4156;
}

.cookie-toggle input:checked + .cookie-toggle__track::after {
  transform: translateX(32px);
}

.cookie-toggle input:disabled + .cookie-toggle__track {
  background-color: rgba(0, 0, 0, 0.35);
}

.cookie-table {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  padding: 0.85rem;
}

.cookie-table__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-table__row:nth-child(even) {
  background-color: #f0f4f8;
}

.cookie-table__row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.9rem;
  border-radius: 10px;
  background-color: #f8fafc;
  border: 1px solid #e1e7ed;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cookie-table__row--empty {
  background: #f9fbfd;
  border-style: dashed;
}

.cookie-table__field {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: flex-start;
  gap: 0.45rem 0.75rem;
}

.cookie-table__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5d6b7a;
  white-space: nowrap;
}

.cookie-table__value {
  font-size: 0.95rem;
  color: #1f2f3d;
  line-height: 1.45;
  word-break: break-word;
}

@media (max-width: 640px) {
  .cookie-table__field {
    grid-template-columns: 1fr;
  }

  .cookie-table__label {
    white-space: normal;
  }
}

.cookie-settings__info {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #eaeff2;
  border-radius: 10px;
  border: 1px solid #d8e0e6;
  color: #2d4156;
}

.cookie-settings__footer {
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.cookie-settings__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.cookie-settings__actions .cookie-button {
  background-color: #eaeff2;
  color: #2d4156;
  border: 1px solid #d8e0e6;
  font-weight: 600;
}

.cookie-settings__actions .cookie-button:hover,
.cookie-settings__actions .cookie-button:focus {
  background-color: #d8e0e6;
  color: #2d4156;
}

.cookie-settings__actions .cookie-button.cookie-button--outline,
.cookie-settings__actions .cookie-button.cookie-button--primary,
.cookie-settings__actions .cookie-button.cookie-button--ghost {
  border: 1px solid #d8e0e6;
}

.cookie-blockable {
  position: relative;
  display: block;
  border-radius: 12px;
  border: 1px dashed rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 1rem 0;
}

.cookie-blockable iframe,
.cookie-blockable [data-cookie-embedded] {
  width: 100%;
  display: block;
}

.cookie-blockable__notice {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  gap: 1rem;
}

.cookie-blockable__notice p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-blockable__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-blockable--blocked .cookie-blockable__notice {
  display: flex;
}

.cookie-blockable--blocked iframe,
.cookie-blockable--blocked [data-cookie-embedded] {
  opacity: 0;
  pointer-events: none;
}

.cookie-blockable__allow {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: none;
  background-color: #e60005;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.cookie-blockable__allow:hover,
.cookie-blockable__allow:focus {
  background-color: #bf0004;
}

.cookie-blockable__settings {
  border: none;
  background: none;
  color: #333333;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-blockable__settings:hover,
.cookie-blockable__settings:focus {
  color: #e60005;
}

@media (max-width: 768px) {
  .cookie-settings__panel {
    width: 100vw;
  }

  .cookie-consent {
    bottom: 1rem;
    padding: 1.25rem;
  }

  .cookie-consent__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent__actions {
    width: 100%;
    flex-direction: row;
    justify-content: stretch;
  }

  .cookie-consent__actions .cookie-button {
    flex: 1 1 50%;
  }

  .floating-action-cluster {
    left: 50%;
    transform: translateX(-50%);
    bottom: 1rem;
  }

  .floating-action-cluster .cookie-floating-button {
    margin-left: 0;
  }

  .llm-translate-panel {
    max-width: 92vw;
  }

  .cookie-settings__actions {
    flex-wrap: nowrap;
  }
}

/* News Detail Galerie */
.news-gallery {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.news-gallery__track {
    display: flex;
    transition: transform 0.4s ease;
}

.news-gallery__slide {
    min-width: 100%;
}

.news-gallery__slide img {
    width: 100%;
    height: 39rem;
    object-fit: cover;
    border-radius: 6px;
}

.news-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(0, 45, 85, 0.75);
    color: #fff;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.news-gallery__nav:hover {
    background: rgba(0, 45, 85, 0.95);
    transform: translateY(-50%) scale(1.05);
}

.news-gallery__nav--prev {
    left: 1rem;
}

.news-gallery__nav--next {
    right: 1rem;
}

.news-gallery__dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.news-gallery__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--drk-dunkelblau);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-gallery__dot.is-active {
    background: var(--drk-dunkelblau);
}

@media (max-width: 992px) {
    .news-gallery__slide img {
        height: 28rem;
    }
}

@media (max-width: 576px) {
    .news-gallery {
        margin: 1.5rem 0;
        border-radius: 1rem;
    }

    .news-gallery__slide img {
        height: 20rem;
    }

    .news-gallery__nav {
        width: 2.5rem;
        height: 2.5rem;
    }
}
