/* WordPress-specific additions on top of the original stylesheet (style.css). */

/* The fixed header must not cover the admin bar. */
.admin-bar .header {
    top: 32px;
}
@media (max-width: 782px) {
    .admin-bar .header {
        top: 46px;
    }
}

.mobil-menu {
    padding: 0;
}

/* Footer menu labels are regular page titles; the old site showed them in capitals. */
.footer__bottom--links {
    text-transform: uppercase;
}
/* "Cookie-Einstellungen" opens the consent banner; it looks like the links next to it. */
.footer__consent {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-transform: inherit;
    cursor: pointer;
}
@media (hover: hover) {
    .footer__consent:hover {
        text-decoration: underline;
    }
}

/* Text pages without hero (Impressum, AGB), formerly inline styles. */
.page-simple {
    padding-top: 56px;
    padding-bottom: 24px;
}
.page-simple h1 {
    padding-bottom: 32px;
}

/* "Rückruf" dialog, replaces the Colorbox popup. */
.callback-dialog {
    width: min(470px, calc(100vw - 32px));
    padding: 0;
    border: none;
    border-radius: 16px;
    background-color: var(--main-yellow);
    color: var(--black);
}
.callback-dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.6);
}
.callback-dialog__inner {
    position: relative;
    padding: 40px 32px 32px;
}
.callback-dialog__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    font-size: 32px;
    line-height: 1;
    color: var(--black);
}
.callback-dialog__title {
    font-size: 22px;
    font-weight: 600;
    color: var(--main-blue);
}

.screen-reader-text {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.skip-link:focus {
    clip-path: none;
    height: auto;
    width: auto;
    top: 8px;
    left: 8px;
    z-index: 1000000;
    padding: 12px 20px;
    background-color: #fff;
    color: var(--main-blue);
}
