:root {
    --light-color: #fff;
    --dark-color: #000;

    --main-color: #e68a00;
    --main-color-invert: #fff;
    /*
    --secondary-color: #005795;
    --secondary-color-invert: #fff;
*/
    --secondary-color: #666;
    --secondary-color-invert: #fff;

    --error-color: hsl(0, 100%, 45%);
    --error-color-invert: #fff;

    --line-height-25: 0.375rem;
    --line-height-50: 0.75rem;
    --line-height-75: 1.125rem;
    --line-height-100: 1.5rem;
    --line-height-150: 1.875rem;
    --line-height-150: 2.25rem;
    --line-height-200: 3rem;
    --line-height-300: 4.5rem;
    --line-height-400: 6rem;

    --border-radius: 0.25em;
    --border-radius-big: 0.5em;
    --border-radius-small: 0.125em;
}
@media (prefers-contrast: more) {
    :root {
        --main-color: hsl(36, 100%, 35%);
        --secondary-color: #4f4f4f;
    }
}
* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-synthesis: none;
}
::selection {
    background: var(--main-color);
    color: var(--main-color-invert);
}
::-moz-selection {
    background: var(--main-color);
    color: var(--main-color-invert);
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary,
video {
    display: block;
}
[hidden] {
    display: none;
}
body {
    margin: 0;
}
th,
b,
strong {
    font-weight: 550;
}
blockquote {
    font-size: 1.25em;
    margin: 1em 1.5em;
}
hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
    border: none;
    border-top: 1px solid var(--main-color);
}
small {
    font-size: 0.875rem;
}
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
h1,
h2,
h3,
h4,
h5,
p,
dl,
menu,
ol,
ul {
    margin: 0;
}
dd {
    margin: 0 0 0 40px;
}
menu,
ol,
ul {
    padding: 0 0 0 1.5em;
}
img {
    border: 0;
    -ms-interpolation-mode: bicubic;
}
video {
    width: 100%;
    height: auto;
}
svg:not(:root) {
    overflow: hidden;
}
form {
    margin: 0;
}
fieldset {
    margin: 0.75em 0;
    padding: 0;
}
input,
textarea,
select,
button,
.button {
    border-radius: var(--border-radius);
    font-size: inherit;
}
input[type="text"],
input[type="email"],
input[type="phone"],
input[type="number"],
input[type="button"],
input[type="reset"],
input[type="submit"],
input[type="search"],
input[type="password"],
textarea,
.button {
    -webkit-appearance: none;
    text-align: left;
    border: 1px solid var(--main-color);
}
button,
select {
    text-transform: none;
    border: 1px solid currentColor;
    background: var(--main-color);
    color: var(--main-color-invert);
    display: block;
    -webkit-appearance: none;
}
.button,
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
}
button[disabled],
html input[disabled] {
    cursor: default;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
textarea {
    overflow: auto;
    vertical-align: top;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
pre,
xmp,
plaintext,
listing {
    font-family: inherit;
}
/* customization */
@font-face {
    font-display: swap;
    font-family: "Source Sans 3 Variable";
    font-style: normal;
    src: url("../fonts/source-sans-3-wght.woff2") format("woff2");
}
html {
    font-size: 16px;
    font-family:
        "Source Sans 3 Variable",
        -apple-system,
        BlinkMacSystemFont,
        avenir next,
        avenir,
        segoe ui,
        helvetica neue,
        Adwaita Sans,
        Cantarell,
        Ubuntu,
        roboto,
        noto,
        helvetica,
        arial,
        sans-serif;
    font-weight: 400;
    font-style: normal;
    font-synthesis-small-caps: none;
}
body {
    line-height: var(--line-height-100);
    text-align: left;
    max-width: 1536px;
    margin: 0 auto;
}
img {
    max-width: 100%;
}
.labelInputContainer,
.button,
button,
input[type="reset"],
input[type="button"],
input[type="submit"] {
    display: block;
    position: relative;
    margin: 3rem 0 1.5rem 0;
}
.button,
button,
input,
textarea,
label {
    width: 100%;
    padding: 1rem;
}
.button,
button,
input[type="reset"],
input[type="button"],
input[type="submit"] {
    border-radius: var(--border-radius);
    color: var(--main-color-invert);
    background: var(--main-color);
    text-align: center;
    text-decoration: none;
    font-size: 1.5em;
}
.button:focus,
button:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    color: var(--main-color);
    background: var(--main-color-invert);
}
textarea {
    height: 20rem;
    line-height: var(--line-height-125);
}
#contentStory {
    margin-bottom: var(--line-height-200);
}
#contentStory > .column > .labelInputContainer:first-child {
    margin-top: 0;
}
.labelInputContainer label {
    will-change: transform;
    transition: transform ease-out 0.25s;
    transform-origin: left center;
    display: block;
    position: absolute;
    margin-top: -3.15rem;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
}
.labelInputContainer.textarea label {
    margin-top: -20rem;
}
.labelInputContainer input {
    position: relative;
    z-index: 0;
}
.labelInputContainer input:focus ~ label,
.labelInputContainer textarea:focus ~ label {
    transform: translate(0, -2.5rem);
}
.labelInputContainer input:valid ~ label,
.labelInputContainer textarea:valid ~ label {
    text-transform: uppercase;
    font-weight: 600;
    color: var(--secondary-color);
    transform: translate(-0.5rem, -2.5rem) scale(0.75);
}
.labelInputContainer input:placeholder-shown:not(:focus) + label {
    text-transform: initial;
    font-weight: initial;
    color: initial;
    transform: initial;
}
[required] + label {
    font-weight: 550;
}
form:has([type="submit"]:hover) :invalid + label {
    color: var(--error-color);
}
form.notReady input[type="submit"] {
    opacity: 0.5;
    cursor: not-allowed;
}
a {
    color: inherit;
    text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
table {
    width: 100%;
    margin: var(--line-height-150) 0 0 0;
}
h1,
h2,
h3 {
    font-weight: 550;
}
h1 {
    font-weight: 400;
    font-size: 1.75rem;
    line-height: var(--line-height-150);
    color: var(--main-color);
    margin-bottom: var(--line-height-150);
}
h1 > .line:nth-of-type(1) {
    display: block;
    margin-left: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5em;
    font-weight: 350;
    line-height: var(--line-height-200);
}
h1 > .line:nth-of-type(2) {
    display: inline-block;
    background: var(--main-color);
    color: var(--main-color-invert);
    padding-left: var(--line-height-25);
    padding-right: var(--line-height-25);
    position: relative;
    border-radius: var(--border-radius-small);
}
h2 {
    font-size: 1.25rem;
    color: var(--secondary-color);
}
h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
}
.newsEntry > h3 {
    margin-top: 0;
}
h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--secondary-color);
}
h1 + h2,
h2 + h3,
h3 + h4,
h4 + h5,
h1 + p,
h2 + p,
h3 + p,
h4 + p,
h5 + p,
h1 + ul,
h2 + ul,
h3 + ul,
h4 + ul,
h5 + ul,
#contentStory > h2:first-child,
#contentStory > h3:first-child,
#contentStory > h4:first-child,
#contentStory > h5:first-child,
#contentStory > p:first-child,
#contentStory > ul:first-child {
    margin-top: 0;
}
ul {
    padding: 0 0 0 0.75em;
    list-style-image: url(../images/textures/listIcon.svg);
}
img {
    border-radius: var(--border-radius);
}
header {
    padding: var(--line-height-50) var(--line-height-25);
    background-color: var(--main-color);
}
.headerLogoContainer {
    position: relative;
}
.logo {
    display: block;
    width: 13rem;
    height: 3.25rem;
    background: url(../images/textures/headerLogo.svg) left top no-repeat;
    background-size: contain;
    text-indent: 150%;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.5s ease-out;
}
.headerPhoneNumber {
    pointer-events: none;
    position: absolute;
    top: -0.375rem;
    left: 0;
    padding: 0 var(--line-height-25);
    height: 4rem;
    line-height: 2.5rem;
    vertical-align: middle;
    text-decoration: none;
    text-align: center;
    padding: var(--line-height-50);
    font-size: 2rem;
    color: var(--main-color-invert);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease-out;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    visibility: hidden;
}
article {
    margin: var(--line-height-150) 0;
    padding: 0 var(--line-height-50);
}

footer {
    padding: var(--line-height-50);
    background-color: var(--main-color);
    color: var(--main-color-invert);
    text-align: center;
    margin-top: var(--line-height-200);
}

footer a {
    display: block;
    line-height: var(--line-height-100);
    text-decoration: none;
    padding: var(--line-height-50) var(--line-height-100);
}
.iconslist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: var(--line-height-100);
    overflow: hidden;
    margin: var(--line-height-100) 0;
}
.icon {
    width: 96px;
    height: 128px;
    display: block;
    text-align: center;
    font-size: 0.75em;
    margin: var(--line-height-50);
}
.icon > img {
    width: 96px;
    height: 96px;
    display: block;
}
.linkslist {
    width: auto;
}
.webAddress {
    display: flex;
    justify-content: left;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--line-height-100);
    overflow: hidden;
    margin: 0 0 var(--line-height-200) 0;
    width: 100%;
    text-decoration: none;
    text-align: center;
}
.webAddress .icon {
    width: 16rem;
    height: auto;
    flex-grow: 0;
    flex-shrink: 0;
    margin: 0 auto;
}
.webAddress .text {
    width: 16rem;
    flex-grow: 1;
}
.webAddress:hover .uri {
    text-decoration: underline;
}
.unterschrift {
    font-weight: 550;
}
.uiMessages {
    margin: var(--line-height-100) var(--line-height-50);
    padding: var(--line-height-50);
    background: #600;
    border: #f00 solid var(--line-height-25);
    color: #fff;
    font-weight: 600;
    border-radius: var(--border-radius);
}
/* nav */
nav {
    margin: 0;
}
nav > ul {
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav > ul > li {
    margin: 0;
    padding: 0;
}
nav > ul > li > a {
    display: block;
    color: var(--main-color-invert);
    padding: var(--line-height-100) 0;
    margin: var(--line-height-50) 0;
    text-decoration: none;
    font-size: 2rem;
    border-radius: var(--border-radius);
}
nav > ul > li > a:hover,
nav > ul > li > a:focus,
nav > ul > li.active > a {
    background-color: var(--main-color-invert);
    color: var(--main-color);
}
nav > ul > li > a:hover,
nav > ul > li > a:focus {
    box-shadow: rgba(255, 255, 255, 0.75) 0 0 0.5em;
}

@media (min-width: 480px) {
    .headerPhoneNumber::before {
        content: "";
        width: 1em;
        height: 1em;
        display: inline-block;
        margin-right: var(--line-height-25);
        position: relative;
        top: var(--line-height-25);
        background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjIiIGNsaXAtcnVsZT0iZXZlbm9kZCIgdmlld0JveD0iMCAwIDY0IDY0Ij48cGF0aCBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik02MiA0OGEzNC43IDM0LjcgMCAwIDAtMTEtOS44IDcgNyAwIDAgMC01LjQtLjljLTEuMy40LTMuNiAzLTMuOSAzLjMtMiAxLjQtMy40IDEuMy01LjEtLjVsLTEzLTEzYy0xLjgtMS44LTItMy4xLS42LTUgLjMtLjQgMy0yLjggMy40LTQuMS40LTEuNy4xLTMuNi0xLTUuNC0uNC0xLTUuNy03LjktOS43LTExLjEtMy40LTIuOC05LjMgMi40LTkuMyAyLjQtNS4yIDUuMi0xMS41IDE2LjMgNC41IDMyLjNsMTYuNiAxNi42QzM1IDYwLjUgNDEuNiA2MyA0Ni45IDYzYzUuOCAwIDEwLjEtMyAxMi44LTUuNyAwIDAgNi40LTUuMyAyLjQtOS4zeiIvPjwvc3ZnPg==) center center no-repeat;
        background-size: contain;
    }
}

@media (max-width: 719.5px) {
    header {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    nav > .toggle {
        position: absolute;
        display: block;
        top: var(--line-height-25);
        right: var(--line-height-25);
        width: 4em;
        height: 4em;
        z-index: 9999;
        cursor: pointer;
        background: var(--main-color-invert);
        overflow: hidden;
        border-radius: var(--border-radius);
    }
    nav > .toggle > span,
    nav > .toggle > span::before,
    nav > .toggle > span::after {
        cursor: pointer;
        content: "";
        position: absolute;
        display: block;
        width: 2em;
        height: 0.375em;
        background: var(--main-color) none repeat scroll 0% 0%;
        transition:
            transform 0.5s ease-in-out,
            opacity 0.25s ease-in-out;
        transition-delay: 0, 0.25s;
        border-radius: var(--border-radius-small);
    }
    nav > .toggle > span {
        left: 1rem;
        top: 1rem;
    }
    nav > .toggle > span::before {
        top: 0.75em;
    }
    nav > .toggle > span::after {
        top: 1.5em;
    }
    nav.active > .toggle > span {
        transform: translate(0em, 0.75em) rotate(45deg);
        transform-origin: center center;
    }
    nav.active > .toggle > span::before {
        opacity: 0;
        transition-delay: 0;
    }
    nav.active > .toggle > span::after {
        transform: translate(0, -1.5em) rotate(-90deg);
        transform-origin: center center;
    }
    nav ul {
        transition: all 0.5s 0.116s ease-out;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        margin: 0 auto;
    }
    body nav:has(a:focus) ul,
    body:has(.toggle:active) nav ul,
    body.spNavOpen nav ul {
        max-height: 96rem;
        opacity: 1;
        margin: var(--line-height-25) auto;
    }
    .logo {
        max-width: calc(100% - 5rem);
    }
    body.spNavOpen .logo {
        pointer-events: none;
        opacity: 0;
    }
    body.spNavOpen .headerPhoneNumber {
        max-width: calc(100% - 5rem);
        pointer-events: all;
        opacity: 1;
        white-space: nowrap;
        visibility: visible;
    }
    .hideOnSmartphone {
        display: none !important;
    }
}
@media (min-width: 560px) {
    .webAddress {
        text-align: left;
    }
    .webAddress .icon {
        margin: 0;
    }
}
@media (min-width: 760px) {
    header {
        display: flex;
        justify-content: space-between;
    }
    .logo {
        order: 1;
        margin: 0 var(--line-height-50);
        width: 14rem;
        height: 3.3rem;
    }
    nav {
        order: 2;
        margin: 0;
        display: flex;
        align-items: stretch;
        max-height: none;
        overflow: visible;
    }
    nav > ul {
        width: auto;
        display: flex;
        justify-content: center;
        align-items: stretch;
    }
    nav > ul > li {
        margin: 0 var(--line-height-25);
    }
    nav > ul > li > a {
        padding: var(--line-height-50) var(--line-height-25);
        font-size: 1.25rem;
        text-align: left;
    }
    nav > ul > li:has(a:focus) > a,
    nav > ul > li:hover > a {
        color: var(nav-color-invert);
        background: var(accent-color-global);
    }
    article {
        margin: 0;
    }
    #mainContent,
    .contentTwoColumns #contentStory {
        display: flex;
        flex-wrap: wrap;
        gap: 0 var(--line-height-200);
        justify-content: space-between;
    }
    #contentStory:first-child:last-child {
        width: 100%;
        max-width: none;
    }
    #contentStory,
    .contentTwoColumns #contentStory .column:nth-of-type(odd) {
        width: 24rem;
        flex-grow: 1;
    }
    #contentImages,
    .contentTwoColumns #contentStory .column:nth-of-type(even) {
        width: 16rem;
        flex-grow: 0.5;
    }
    .contentTwoColumns.equalWidth #contentStory .column:nth-of-type(odd),
    .contentTwoColumns.equalWidth #contentStory .column:nth-of-type(even) {
        width: 20rem;
        flex-grow: 1;
    }
    #mainContent.contentTwoColumns {
        display: initial;
    }
    #mainContent.contentTwoColumns #contentStory {
        width: initial;
        max-width: initial;
        flex-grow: initial;
    }
    #mainContent.contentTwoColumns > #contentStory > .column > .labelInputContainer:first-child {
        margin-top: 0;
    }
    h1 > .line:nth-of-type(2) {
        padding-left: var(--line-height-50);
        padding-right: var(--line-height-50);
    }
    footer a {
        display: inline-block;
    }
    .showOnlyOnSmartphone {
        display: none;
    }
}
@media (min-width: 840px) {
    .logo {
        width: 16rem;
        height: 3.8rem;
    }
    nav > ul > li > a {
        font-size: 1.125rem;
        padding: var(--line-height-50) var(--line-height-50);
    }
}
@media (min-width: 920px) {
    nav > ul > li > a {
        padding: var(--line-height-50) var(--line-height-75);
    }
}
@media (min-width: 1000px) {
    html {
        font-size: 18px;
    }
}
@media (min-width: 720px) and (max-width: 1079.5px) {
    .hideOnTablet {
        display: none !important;
    }
}
@media (min-width: 1280px) {
    html {
        font-size: 19px;
    }
    nav > ul > li > a {
        font-size: 1.33rem;
        padding: var(--line-height-50) var(--line-height-100);
    }
    #mainContent,
    #contentStory.contentTwoColumns {
        gap: 0 var(--line-height-300);
    }
}
@media (min-width: 1540px) {
    html {
        font-size: 20px;
    }
    header {
        border-bottom-left-radius: var(--border-radius-big);
        border-bottom-right-radius: var(--border-radius-big);
    }
    nav > ul > li > a {
        padding: var(--line-height-50) var(--line-height-100);
        font-size: 1.5rem;
    }
    footer {
        border-radius: var(--border-radius-big);
        margin-bottom: var(--line-height-100);
    }
}
@media (min-width: 1560px) {
    header,
    article,
    footer {
        margin-left: 0;
        margin-right: 0;
    }
    #mainContent,
    #contentStory.contentTwoColumns {
        gap: 0 var(--line-height-400);
    }
}
@media screen and (prefers-reduced-motion: no-preference) {
}
