/* General */

/*@import url('https://fonts.googleapis.com/css?family=Helvetica+Neue:300,400,500,600,700');*/

body {
    font-display: swap;
}

#start,
#header > .container,
#footer > .container
{
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

body, h1, h2, h3, h4, h5, h6 {
	font-family: "Segoe UI", Roboto, sans-serif !important;
    color: #433E44;
}

html, body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

h1, h2, h3, h4, h5, h6, li {
	hyphens: auto;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.h2-no-margin h2 {
    margin-top: 0;
}

h1 {
    font-size: 2.5rem;
}

.lighter {
    font-weight: lighter;
}

body {
    font-size: 1.4rem;
}

/* ul: prevent list splitting when float*/
.start ul:not(.treemenu), 
.start ol:not(.treemenu) {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
	overflow: auto;
	padding-left: 3rem;
}

.start ul:not(.treemenu) {
	list-style: disc inside;
	text-indent: -1.5em;
}

.start ol:not(.treemenu) {
	list-style: decimal outside;
    text-indent: inherit;
}

/* but not in navigation */
.navbar-section ul {
	text-indent: 0;
}

.start li {
    word-wrap: normal;
    hyphens: auto;
}

.start li:not(:last-child) {
    margin-bottom: 1.5rem;
}

/* li with custom symbols */
.custom-ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-indent: inherit !important;
    overflow: hidden !important;
}

.custom-ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5em;
}

.custom-ul .marker {
  min-width: 3em;
  font-weight: bold;
}

.custom-ul ul {
	padding-left: 1em;
}

.custom-ul li > span:not(.marker) {
    min-width: 0;
}

.custom-ul .custom-ul {
    padding-left: 3em !important;
}

.visibly-hidden {
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
}

#page-wrapper,
#header 
{
	max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.page-wrapper {
    max-width: 1400px;
}

section.section {
    padding-left: 0;
    padding-right: 0;
}

section.boxed {
    padding-left: 3rem;
    padding-right: 3rem;
}

.full-width {
    left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 100vw;
	position: relative;
	right: 50%;
	width: 100vw !important;
}

a {
    text-decoration-thickness: 4px !important;
    text-decoration: underline;
    color: inherit;
    text-decoration-skip-ink: none;
}

a:hover,
a:focus
{
    text-decoration-color: #FF6600 !important;
    color: inherit;
}

a:focus-visible {
	outline: 1px dashed #433E44;
}

a:visited {
    color: inherit;
}

.container {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.first-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.bg-gray {
    background-color: #433E44 !important;
}

.display-flex {
    display: flex;
}

.flex-dir-col {
    flex-direction: column;
} 

.flex-dir-row {
    flex-direction: row;
}

.flex-align-center {
    justify-content: center;
    align-items: center;
}

.flex-gap-10px {
    gap: 10px;
}

.padding-bottom-2 {
    padding-bottom: 2rem;
}

.p-child-without-margin p {
    margin-bottom: 0;
}

/* Button */

/* Verhindert, dass die Größe des Buttons bei Hover springt (durch font-weight Änderung) */
.nsd-btn::after {
  content: attr(data-label);  /* nimmt den Text aus data-label */
  grid-area: 1 / 1;
  font-weight: 700;
  visibility: hidden;         /* unsichtbar, aber nimmt Platz ein */
  white-space: nowrap;
  height: 0;
}

.nsd-btn {
    display: inline-grid;
    padding: 10px 20px;
    transition: all 100ms linear;
    text-transform: uppercase;
    font-size: 24px;
}

.nsd-btn,
.nsd-btn:visited 
{
    border: 1px solid #001D1D;
    text-decoration: none;
    background-color: #663399;
    color: white;
}

.nsd-btn:hover,
.nsd-btn:focus-visible,
.nsd-btn:focus,
.nsd-btn:active 
{
    text-decoration: none;
    font-weight: 600;
    color: #001D1D;
    background-color: #FF6600;
}

/* Menü */

#header,
.navbar-brand,
#header .navbar-section 
{
    height: auto;
}

#header .container {
    padding: 0;
}

#header {
    padding-top: 4em;
    padding-bottom: 4em;
    padding-left: 2em;
    padding-right: 2em;
    border-bottom: none;
}

#header a {
    color: #433E44;
}

#header .logo img {
    height: 200px;
}

#header .navbar-brand:focus-visible {
	outline: 1px #433E44 dashed !important;
}

.navbar-section.desktop-menu {
    position: absolute;
    bottom: 0;
    right: 0;
    padding-right: 1rem;
    font-size: 2rem;
    padding-right: 0;
}

.navbar-section.desktop-menu a:hover,
.navbar-section.desktop-menu a.active,
.navbar-section.desktop-menu a:focus
{
    color: #433E44 !important;
}

.navbar-section.desktop-menu li a::after {
    content: '';
    /*background-color: #663399;*/
    height: 10px;
    width: 100%;
    position: absolute;
    display: none;
    bottom: 0;
	left: 0;
}

.navbar-section.desktop-menu li a:hover::after,
.navbar-section.desktop-menu li:has(.active) a::after,
.navbar-section.desktop-menu li a:focus::after
{
    display: block;
}

.navbar-section.desktop-menu li a::after,
.navbar-section.desktop-menu li:has(.active) a::after 
{
    background-color: #FF6600;
}

.navbar-section.desktop-menu li a:focus-visible {
	outline: 1px dashed #433E44 !important;
}

/* Footer */

#footer
{
    color: white;
}

#footer {
    padding-bottom: 1rem;
    padding-top: 2.5rem;
    padding-left: 0;
    padding-right: 0;
    font-size: 22px;
}

#footer a  {
	text-decoration: underline;
}

#footer a:focus-visible {
	outline: 1px dashed white !important;
}

.footer-menu a {
    font-weight: bold;
    text-transform: uppercase;
}

.copyright-text {
    font-size: 16px;
}

.copyright-text a:hover,
.footer-menu a:hover 
{
    text-decoration: underline;
    text-decoration-color: #FF6600;
}

/* Mobile menu */

#toggle {
    width: 40px;
}

#toggle span {
    background: #433E44;
}

.mobile-container .overlay {
    background: #fff;
}

.mobile-container .treemenu {
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin: 0;
}

.mobile-container .treemenu li {
    line-height: normal;
    background: transparent;
	margin: 0;
	padding: 0;
}

.mobile-container .treemenu li a {
    font-size: 3rem;
    font-weight: bold;
    color: #001D1D;
    text-decoration: none;
    margin-left: 0;
	padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.mobile-container .treemenu li a:hover,
.mobile-container .treemenu li a:focus,
.mobile-container .treemenu li a.active
{
    text-decoration: none;
    color: #001D1D !important;
    background-color: #FF6600;
}

.mobile-container .treemenu .toggler {
    display: none;
}

.mobile-container .mobile-logo img {
    margin-left: 3rem;
    margin-top: 1rem;
}

/* Responsive Mobile Portrait */

@media screen and (max-width: 767px) {
    #header .logo img {
        height: 100px;
    }

    .nsd-btn {
        font-size: 1.2rem;
    }

    .flex-dir-row {
        flex-direction: column;
    }

    #footer .p-child-without-margin > p {
        margin-bottom: 2rem;
    }

    #footer .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .mobile-container .treemenu li a {
        font-size: 2rem;
    }

    ul:not(.treemenu), 
    ol:not(.treemenu) {
        padding-left: 2.1rem;
    }

    .custom-ul .custom-ul {
        padding-left: 1em !important;
    }

    #footer p:not(.copyright-text) {
        font-size: 1.2rem;
    }
}

/* Responsive Mobile Landscape */

@media screen and (max-width: 767px) and (max-height: 400px) {
    #header {
        padding-top: 2em;
        padding-bottom: 2em;
    }

    .mobile-container .treemenu {
        padding-top: 1rem;
    }

    .mobile-container .treemenu li {
        line-height: 1.5rem;
    }
	
	.mobile-container .treemenu a {
        font-size: 2rem;
    }
}