/* Anfang Anweisungen Barrierefreiheit */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* Grundlegende Navigation Styles */

a.invisible:before, a.invisible:after {
	display: none !important;
}
.mod_customnav a.invsible, a.invisible {
    color: #000 !important;
    background-color: #fff !important;
}
/* Styles für "Skip Navigation" Link */
.invisible {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);                                         
    white-space: nowrap;
    border: 0;
}

.invisible:focus {
    position: fixed;
    top: 0;
    left: calc(0% + 114px);
    transform: translateX(-50%);
    width: auto;
    height: auto;
    padding: 1rem;
    margin: 0;
    background: #fff;
    color: #000;
    clip: auto;
    z-index: 9999;
    text-decoration: none;
}

.link a:focus,
.linkm a:focus {
    border-left-color: #ffaa33;
    text-decoration: underline;
    outline: 2px solid #0066cc !important;
    outline-offset: 2px;

}
.link a::before, .linkm a::before {
  height: 0px;
  width: 0%;
  transition: unset;
}

span.mandatory {
    color: #000 !important;
}
#familienanzeige span.mandatory {
    color: #000 !important;
}
/* Grundstyle für den Button */
.ce_searchicon {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    position: relative;
}

/* Focus Styles */
.ce_searchicon:focus {
    outline: 2px solid #0066cc; /* Farbe anpassen */
    outline-offset: 2px;
    border-radius: 2px;
}
figure.image_container img:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Focus-visible für Tastaturnavigation */
.ce_searchicon:focus-visible {
    outline: 2px solid #0066cc; /* Farbe anpassen */
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0,0,0,0.1);
}

/* Hover Effekt */
.ce_searchicon:hover {
    opacity: 0.8;
}
.mainmenu ul>li a:focus {
    text-decoration: underline;  /* Zusätzliche visuelle Hervorhebung */
    outline: 2px solid #0066cc;  /* Weißer Outline für hohen Kontrast */
    outline-offset: 2px;  /* Abstand zwischen Button und Outline */    
}

.mod_navigation a.invisible:focus, .mod_customnav a.invisible:focus, .mod_customnav a.visually-hidden:focus{
	height: auto;
	width: auto;
	font-size: inherit;
	line-height: inherit;
}
.mod_customnav a.invisible:focus, .mod_customnav a.visually-hidden:focus {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	padding: 1rem;
	margin: 0;
	background: #fff;
    background-color: rgb(255, 255, 255);
	color: #000;
	clip: auto;
	z-index: 9999;
	text-decoration: none;
	display: block;
	background-color: white;
	min-height: 1rem;
	line-height: 38px;
}
.btn-toggle-submenu {
	background-color: transparent;
	cursor: pointer;
	color: currentColor;
	padding: 12px;
	padding-left: 5px;
	right: 0;
	line-height: 1;
}
.btn-toggle-submenu:focus {
	background-color: #097A6B;
	outline: 2px solid #0066cc;
	border-radius:2px;
}

.btn-toggle-submenu:before {
	content: "\f107";
	font-size: 12px;
	line-height: 1;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	color: #fff;
}

.mainmenu > ul > li > a, .mainmenu > ul > li > strong {
	display: inline-block;
	padding-right: 0px;
}

.mainmenu ul li.submenu a::after, .mainmenu ul li.submenu strong::after {
	display: none;
}

.mainmenu li:hover ul.level_2 {
	display: none;
}

.mainmenu li.nav-expanded ul.level_2 {
	display: block;
	top: auto;
	left: auto;
	width: 200px;
	height: auto;
	background-color: rgba(255,255,255,1);
	box-shadow: 0 0 3px rgba(0, 0, 0, .2);
	z-index: 99;
	animation-duration: 0.2s;
	animation-fill-mode: both;
	animation-name: fadeInUp;
}

.mainmenu ul ul li a:focus {
	background-color: #097A6B !important;
	color: rgba(255,255,255,1) !important;
	outline: 2px solid #0066cc;
	border-radius:2px;
}

.mainmenu {
	overflow: visible;
}

.nav--slide_in.js--is-fixed .mainmenu ul>li a:focus,
.nav--slide_in.js--is-fixed .mainmenu ul>li a:active {
   color: #00866A;
}

.link a:focus,
.link a:hover,
.linkm a:focus,
.linkm a:hover {
    text-decoration: underline;  /* Zusätzliche visuelle Hervorhebung */
    outline: 2px solid #0066cc;  /* Weißer Outline für hohen Kontrast */
    outline-offset: 2px;  /* Abstand zwischen Button und Outline */
}
.link a::before, .linkm a::before {
  height: 0px;
  width: 0%;
  transition: unset;
}
.bg-grey h1.ce_headline {
    color: #000;
}
#backtotop ul li a:before {
    color: #1C2327;
}

.banner_wrap:focus {
    outline: 2px solid #4A90E2;  /* Blaue Umrandung */
    outline-offset: 2px;         /* Kleiner Abstand zur Umrandung */
}

/* Optional: Spezifischer Focus-Style für High Contrast Mode */
@media (forced-colors: active) {
    .banner_wrap:focus {
        outline: 3px solid CanvasText;
    }
}
.iconbox {
    --focus-outline-color: #2f7c82;
    --focus-outline-width: 2px;
    --focus-outline-offset: 2px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Fokus-Styles */
.iconbox:focus,
.iconbox:focus-within {
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset);
    box-shadow: 0 0 0 4px rgba(47,124,130,0.2);
    transform: translateX(5px);
}
.ctsquicklinks {
    position: relative;
    z-index: 100;
}
.top .mod_customnav.socialsnavi li:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
    border-radius: 2px;
    background-color: rgba(74, 144, 226, 0.1);
}
/* Quicklinks Basis-Struktur */
.ctsquicklinks {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 100;
}

.icongroup {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

/* Icon-Styles */
.ctsquicklinks .iconbox {
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Content-Box Styles */
.ctsquicklinks .ctsboxen {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
    visibility: hidden;
}

.ctsquicklinks .ctsboxen.visible {
    display: block;
    visibility: visible;
}

/* Link-Styles */
.ctsquicklinks a {
    text-decoration: none;
    outline: none;
}

/* Focus-Styles */
.ctsquicklinks a:focus,
.ctsquicklinks .iconbox:focus,
.ctsquicklinks i:focus {
    outline: 2px solid #4A90E2;
}

/* High Contrast Mode Support */
@media (forced-colors: active) {
    .ctsquicklinks a:focus,
    .ctsquicklinks .iconbox:focus,
    .ctsquicklinks i:focus {
        outline: 3px solid CanvasText;
    }
}

/* Sonstige Styles */
.ctsquicklinks.fixed.gruppe1.links.icon60 {
    border-bottom: 1px solid #cad0d7;
}

/* Accessibility Skip Link */
.ctsquicklinks-skip {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1em;
    background: white;
    text-decoration: none;
}

.ctsquicklinks-skip:focus {
    left: 0;
    outline: none;
    box-shadow: 0 0 0 3px #4A90E2;
}

/* Content-Box */
.ctsboxen {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ctsboxen.visible {
    display: block;
    opacity: 1;
}
@media only screen and (min-width: 768px) {
.ctsquicklinks .ctsboxen .content {
    display: none;
    max-width: 500px;
    padding: 20px;
    transform: none;
    width: 400px;
}
}

/* Tastatur-Fokus innerhalb der Content-Box */
.ctsboxen a:focus,
.ctsboxen button:focus {
    outline: var(--focus-outline-width) solid var(--focus-outline-color);
    outline-offset: var(--focus-outline-offset);
}
button[type="submit"], input[type="submit"] {
    font-size: 18px;
}
table {
    border-bottom: 0px;
}

.inside.bgfix.bggreen.standardicon a:focus,
.inside.bgfix.bggreen.standardicon a:hover {
    outline: 2px solid #0066cc;  /* Weißer Outline für hohen Kontrast */
    outline-offset: 2px;  /* Abstand zwischen Button und Outline */
}
.mod_customnav a:focus, .contactdetails a:focus, .austraeger a:focus, .top .mod_search .ce_searchicon:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
    border-radius: 2px;
    background-color: rgba(74, 144, 226, 0.1);
    text-decoration: underline;
}
#footer .mod_customnav a:focus, #footer .contactdetails a:focus, #footer .ce_ctsteam .contact a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
    border-radius: 2px;
    min-height: 44px;
    background-color: rgba(74, 144, 226, 0.1);
    text-decoration: underline;
}
.ce_text a:focus {
    outline: 2px solid #0066cc; /* Deutliche Outline in Linkfarbe */
    outline-offset: 2px;        /* Abstand zwischen Text und Outline */
    background-color: rgba(0, 102, 204, 0.1); /* Subtiler Hintergrund */
    text-decoration: none;      /* Unterstreichung entfernen im Fokus */
    border-radius: 2px;         /* Abgerundete Ecken für die Outline */
}
.mod_navigation a.invisible:focus, .mod_customnav a.invisible:focus, .mod_customnav a.visually-hidden:focus{
	height: auto;
	width: auto;
	font-size: inherit;
	line-height: inherit;
}
.mod_customnav a.invisible:focus, .mod_customnav a.visually-hidden:focus {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	padding: 1rem;
	margin: 0;
	background: #fff;
    background-color: rgb(255, 255, 255);
	color: #000;
	clip: auto;
	z-index: 9999;
	text-decoration: none;
	display: block;
	background-color: white;
	min-height: 1rem;
	line-height: 38px;
}

#footer ul li {
    padding: 5px 5px;
}
.opening-hours {
    margin: 0;
    padding: 0;
}
.opening-hours .day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.opening-hours dt {
    font-weight: normal;
    margin: 0;
}
.opening-hours dd {
    margin: 0;
}
figure.image_container a {
    display: inline-block;
    position: relative;
    z-index: 1;
}
figure.image_container a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}


/* Handorgel */
.handorgel__header__button {
    padding: 18px 24px 18px 24px;
}

button.handorgel__header__button:focus {
    background-color: #f4f7fb;
}

.handorgel__content {
    border-top: 0px;
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
    background-color: #fff;
}

.date-accordion .handorgel__header__button {
    padding: 18px 24px 12px 24px;
}

.handorgel__header__button:after {
    transition: opacity ease-in-out .2s;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 5;
    width: 2rem;
    height: 2rem;
    background: rgba(0, 0, 0, 0) url(/files/theme/icons/plus-circle.svg) center center no-repeat;
    content: "";
}

.handorgel__header--open .handorgel__header__button::after {
    transition: opacity ease-in-out .2s;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 5;
    width: 2rem;
    height: 2rem;
    background: rgba(0, 0, 0, 0) url(/files/theme/icons/minus-circle.svg) center center no-repeat;
    content: "";
}

.handorgel__header {
    border-bottom: 0px solid lightgrey;
    border-top: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
}

.handorgel__header:first-of-type {
    border-bottom: 0px solid lightgrey;
}

.handorgel__header:last-of-type {
    border-bottom: 0px solid lightgrey;
    border-top: 1px solid lightgrey;
}

.handorgel__header .handorgel__header--opened:last-of-type {
    border-bottom: 0px;
}

h2.handorgel__header,
h3.handorgel__header {
    font-size: 1.2em;
}

.content-accordion {
    border-bottom: 1px solid lightgrey;
    margin-bottom: 10px;
}
/* Globale Regel für alle Font-Awesome Pseudoelemente */
[class*="fa-"]:before,
[class^="fa-"]:before,
.icon:before {
    speak: never !important;
    -webkit-speak: none;
    aria-hidden: true;
}

/* Unterstützung für ältere Browser */
@supports not (speak: never) {
    [class*="fa-"]:before,
    [class^="fa-"]:before,
    .icon:before {
        speak: none;
    }
}

/* Fokus-Styles */

a:focus, #logo a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}
#logo:hover {
    opacity: 0.9;                  /* Subtile Transparenz beim Hover */
}
button.nav-mobile:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

button.nav-mobile {
    width: 48px;
    height: 48px;
    margin-left: 0;
    font-size: 0;
    line-height: 1;
    padding: 6px;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    appearance: none;
    outline: 0;
    position:relative;
    display: none;
}
.navi-section.nav--slide_in.navisectionfixed.is-fixed.js--is-fixed button.nav-mobile {
    width: 48px;
    height: 48px;
    margin-left: 0;
    font-size: 0;
    line-height: 1;
    padding: 6px;
    background-color: transparent;
    color: #000 !important;
    text-decoration: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    appearance: none;
    outline: 0;
    position:relative;
}

button.nav-mobile span.line {
    display: block;
    position: absolute;
    left: 8px;
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: currentColor;
    color: inherit;
    opacity: 1;
}

button.nav-mobile span.line:nth-of-type(1) {
    bottom: 32px;
    transition: bottom .2s ease,transform .2s ease,width .2s ease;
}

button.nav-mobile span.line:nth-of-type(2) {
    top: 22px;
    transition: opacity .2s ease;
}

button.nav-mobile span.line:nth-of-type(3) {
    top: 32px;
    transition: top .2s ease,transform .2s ease,width .2s ease;
}

.mm-wrapper_opened button.nav-mobile span.line:nth-of-type(1) {
    bottom: 23px;
    transform: rotate(45deg);
}

.mm-wrapper_opened button.nav-mobile span.line:nth-of-type(2) {
    opacity: 0;
}

.mm-wrapper_opened button.nav-mobile span.line:nth-of-type(3) {
    top: 23px;
    transform: rotate(-45deg);
}
/* Styling für Weiterleitungsseiten */
.nav-section {
    display: block;
    padding: 0.75em 1em;
    color: inherit;
    cursor: default;
    position: relative;
}

/* Visueller Indikator für Untermenüs */
.nav-section[aria-haspopup="true"]::after {
    content: '';
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-left: 0.5em;
    vertical-align: middle;
}

/* Fokus-Management */
.nav-section:focus-visible {
    outline: 2px dotted currentColor;
    outline-offset: -2px;
    background-color: rgba(255, 255, 255, 0.1);
}
/* Focus-Styles für Links */
.mod_navigation.submenulr a:focus,
.mod_navigation.submenulr a:focus-visible {
    outline: 2px dotted #00866a; /* Primärfarbe */
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 134, 106, 0.2); /* Primärfarbe mit Transparenz */
    border-radius: 2px;
}

/* Focus für aktuelle Seite */
.mod_navigation.submenulr .active strong:focus,
.mod_navigation.submenulr .active strong:focus-visible {
    outline: 2px dotted #00866a;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 134, 106, 0.2);
    border-radius: 2px;
}

/* Hover-Effekt */
.nav-section:hover {
    background-color: rgba(255, 255, 255, 0.05);
}
@media only screen and (max-width: 991px) {
    button.nav-mobile {
        display: flex;
    }
}

/* Mini-Calendar */
.minicalendar [role="gridcell"]:focus,
.minicalendar [role="gridcell"] a:focus {
    outline: 2px solid #0066cc;
    outline-offset: -2px;
    background-color: #e6f0fa;
}

.minicalendar .head a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
    text-decoration: underline;
}

/* Für bessere Sichtbarkeit bei Tastaturnavigation */
.minicalendar .nav-link {
    display: inline-block;
    padding: 5px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.minicalendar .nav-link:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
    text-decoration: underline;
}

.minicalendar .nav-link:hover {
    text-decoration: underline;
}

.minicalendar [role="gridcell"]:focus,
.minicalendar [role="gridcell"] a:focus {
    outline: 2px dotted #00866a !important;  /* Weißer Outline für hohen Kontrast */
    outline-offset: 3px;  /* Abstand zwischen Button und Outline */
    background-color: transparent;
}

.minicalendar [role="gridcell"] {
    position: relative;
    cursor: pointer;
}

.minicalendar [role="gridcell"]:focus::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #0066cc;
    pointer-events: none;
}
/* Ende Anweisungen Barrierefreiheit */