/*
    File: custom.css
    Purpose: Custom main stylesheet for the PBSBW pages.
    Created by: Björn Krzyzelewski

    Description:
    This style sheet defines the custom basic styles and layouts for the various
    Templates. It follows a mobile-first approach and is divided into several sections
    divided into specific UI components.

   Viewport sizes:
   - Everything under 36.25em: Mobile (mobile first approach)
   - From 36.25em: Small screens (e.g. tablets)
   - From 51.25em: Medium screens (e.g. small laptops)
   - From 68.125em: Large screens (e.g. desktops)
*/

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ----------------------------------- START "Generally" ---------------------------------- */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.link--inverted:not(:focus),
.link--inverted:not(:hover) {
    box-shadow: inset 0 -2px 1px -1px transparent;
}

.form__field--website {
    display: none;
}

.media-button--large {
    width: 6.4rem;
    height: 6.4rem;
    font-size: var(--bw-font-size-700);
    align-items: center;
    display: inline-flex;
    padding: var(--bw-space-200);
    justify-content: center;
}

.figure__play--off:focus .figure__media-button,
.figure__play--off:hover .figure__media-button {
    background-color: var(--bw-background-accent);
    color: var(--bw-foreground-on-accent);
    border: 2px solid var(--bw-foreground-on-accent);
}

.figure__play--off:focus .figure__media-button {
    outline: var(--focus-border-width) solid var(--focus-border-color);
    outline-offset: var(--focus-border-offset);
    border-radius: var(--bw-border-radius-100);
}

hr {
    margin: 1rem 0 !important;
    padding: 0 !important;
}

hr.seperator-dashed {
    border-style: dashed;
}

@media (max-width: 36.25em) {
    .hide-mobile {
        display: none;
    }
}

.visually-hidden {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}

.strong {
    font-weight: bold;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ------------------------------ START "Allgemeines-modul" ------------------------------- */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.custom-border.module-child .composedcontent-pbsbw2---allgemeines-modul,
.custom-background.module-child .composedcontent-pbsbw2---allgemeines-modul {
    padding: var(--bw-space-300) var(--bw-space-300) 0;
}

@media (min-width: 36.25em) {
    .grid__item .composedcontent-pbsbw2---allgemeines-modul .headline--4 {
        font-size: var(--bw-font-size-400);
    }
}

.module-child {
    height: 100%;
}

.composedcontent-pbsbw2---allgemeines-modul .mod-body {
    padding-bottom: var(--bw-space-300);
}

.composedcontent-pbsbw2---allgemeines-modul.hint > .mod-body {
    padding-bottom: 0;
}

.composedcontent-pbsbw2---allgemeines-modul .mod-body .text > :last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.composedcontent-pbsbw2---allgemeines-modul .mod-footer {
    padding-bottom: var(--bw-space-300);
}

.composedcontent-pbsbw2---allgemeines-modul .mod-footer .text > * {
    margin-bottom: 0;
}

.composedcontent-pbsbw2---allgemeines-modul.hint {
    padding: var(--bw-space-500) !important;
}

.module-child.fixHeight {
    overflow: hidden;
    position: relative;
}

.fixHeight.height3 {
    height: 16em;
}

.fixHeight.height6 {
    height: 33.15em;
}

.fixHeight.height9 {
    height: 50.3em;
}

@media (max-width: 51.24em) {
    .fixHeight {
        height: auto !important;
    }
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ------------------------------ START "Contact-Form-Link" ------------------------------- */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.link--contact-form:any-link,
.link-contact-form:any-link,
.link.link--contact-form,
.link.link-contact-form {
    --focus-border-offset: 3px;
    color: #2a2623;
    cursor: pointer;
    display: inline;
    position: relative;
    text-decoration: none;
    -webkit-user-select: text;
    user-select: text;
    line-height: var(--bw-leading-compact);
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
    box-shadow: 0 1px #2a2623;
    background-color: initial;
    padding: 0 .2rem 0 1.4em;
}

.link--contact-form:any-link:before,
.link-contact-form:any-link:before,
.link.link--contact-form:before,
.link.link-contact-form:before {
    content: "";
    width: 1.1em;
    height: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 0;
}

.link-contact-form:before,
.link--contact-form:before {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 2H20V9.27924L22 8.61257V21H2V8.61257L4 9.27924V2ZM4 11.3874V19H20V11.3874L12 14.0541L4 11.3874ZM18 9.94591V4H6V9.94591L12 11.9459L18 9.94591Z' /%3E%3C/svg%3E");
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ------------------------------------ START "Header" ------------------------------------ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.header__logo .logo {
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
}

.header__logo .logo__text {
    font-size: 1.5rem;
    line-height: 1.5rem;
}

.header__internal {
    display: none;
}

@media (min-width: 51.25em) {
    .header__external a.icon-link {
        margin-left: var(--bw-space-300) !important;
    }

    .header__logo .logo__text {
        font-size: 1.8rem;
        line-height: 1.8rem;
    }
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ------------------------------------ START "Footer" ------------------------------------ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.footer__navigation .footer__navigation-text {
    margin-top: var(--bw-space-600);
}

.footer__navigation .footer__navigation-title:not(:first-child) {
    margin-top: var(--bw-space-600);
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ----------------------------------- START "Multibox" ----------------------------------- */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

@media (min-width: 36.25em) {
    .multibox-teaser-slider--one {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 51.25em) {
    .multibox-teaser-slider--one {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 68.125em) {
    .multibox-teaser-slider--one {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ------------------------------- START "Navigation Modul" ------------------------------- */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.navigation-modul nav div > nav.navigation-modul__list {
    padding-left: 20px;
}

.navigation-modul__link-list {
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (min-width: 51.25em) {
    .grid .navigation-modul__list {
        column-count: 1;
        flex-grow: 1;
    }
}

.navigation-modul__item {
    break-inside: avoid-column;
    padding: var(--bw-space-100) 0;
}

.text .navigation-modul__link {
    padding: 0;
    box-shadow: none;
}

.navigation-modul__link, .text .navigation-modul__link {
    display: grid;
    grid-template-columns: 2.5rem auto;
    font-weight: var(--bw-font-weight-bold);
    line-height: var(--bw-leading-narrow);
    font-size: var(--bw-font-size-300);
    align-items: flex-start;
}

.navigation-modul__icon {
    font-size: var(--bw-font-size-300);
    display: flex;
    align-items: center;
}

.navigation-modul__text {
    -webkit-text-decoration-color: transparent;
    text-decoration-color: transparent;
    transition-property: -webkit-text-decoration-color;
    transition-property: text-decoration-color,-webkit-text-decoration-color;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
    -webkit-user-select: auto;
    user-select: auto;
}

a.navigation-modul__link.focus-within,
a.navigation-modul__link:focus,
a.navigation-modul__link:hover {
    box-shadow: none;
    background: none;
    text-decoration: underline;
    -webkit-text-decoration-color: #2a2623;
    text-decoration-color: #2a2623;
    text-decoration-thickness: 2px;
    text-underline-offset: .3rem;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ------------------------------- START "Stage Illustration" ----------------------------- */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

@media (min-width: 64.0625em) {
    .stage-illu {
        height: initial;
    }
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* --------------------------------- START "Dossier Header" ------------------------------- */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.dossier-header__button {
    margin-bottom: var(--bw-space-600);
}

@media (max-width: 51.24em) {
    .dossier-header__image-hide-mobile {
        display: none;
    }

    .dossier-header__image-show-mobile {
        display: block;
    }
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ------------------------------------ START "Formular" ---------------------------------- */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.remove-attachment-button {
    float: right;
    height: 40px;
    padding-left: 10px;
    padding-right: 10px;
}

@media (max-width: 767px) {
    .input__attachment {
        width: 100% !important;
    }

    .remove-attachment-button {
        float: none;
        margin-top: 10px;
    }
}

.form__field--fileRemove {
    margin-top: 8px;
    margin-bottom: 20px;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ----------------------------- START "Datenschutz-Popup" -------------------------------- */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.datenschutz-popup, .sprachwaehler-popup {
    padding: 20px;
}

.datenschutz-popup p > a, .sprachwaehler-popup p > a {
    cursor: pointer;
    display: inline;
    position: relative;
    text-decoration: none;
    transition-property: box-shadow;
    user-select: text;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ----------------------------- START "Newsletter-Breaker" ------------------------------- */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

@media (min-width: 51.25em) {
    .newsletter-breaker__content-inner {
        align-items: flex-start;
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: flex-start;
    }

    .newsletter-breaker__content-inner > * {
        width: 50%;
    }
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* --------------------- START "Download-Liste Datenschutz-Hinweis" ----------------------- */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.policy-hint-content,
.policy-hint-content-link {
    display: none;
}

.download-list-item a {
    font-weight: var(--bw-font-weight-bold);
}

.download-list-item .teaser__text {
    font-size: var(--bw-font-size-250);
    font-style: italic;
}

.download-list-item .picture__image {
    width: initial;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* -------------------------------- START "AUTHOR-FUNCTION" ------------------------------- */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.author-functions p > a {
    display: inline-block;
    margin-bottom: 2rem;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ------------------------------------ START "Altcha" ------------------------------------ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

#altcha-container {
    display: flex;
}

.altcha-main {
    gap: .8rem !important;
    padding: 1rem 1rem 1.6rem 1rem !important;
}

.altcha-footer {
    font-size: 1.4rem !important;
    padding: .6rem .9rem !important;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* --------------------------------- START "Person-teaser" -------------------------------- */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.person-teaser {
    width: 100%;
}

@media (min-width: 36.25em) {
    .multibox__panel-grid .person-teaser {
        max-width: 25rem;
    }
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* -------------------------------- START "Verlinktes Video" ------------------------------ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

a.figure__play--off {
    -webkit-appearance: none;
    appearance: none;
    background-color: initial;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: inline;
    margin: 0;
    padding: 0;
    text-decoration: none;
    -webkit-user-select: text;
    user-select: text;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
    position: initial;
}