.tmpl--glm body {
	background-color: #f5f5f5;
}

a, a:link,
.services a:hover, .services a:focus,
.card--news-lst a .mod-entry-title,
.section--gl-home :is(.card-content, .card__content) a:any-link {
	color: #cc0000;
}
a:focus, a:hover, a:active,
.section--gl-home :is(.card-content, .card__content) a:is(:hover, :focus) {
	color: #000;
}
.btn, .btn:link, .btn:visited {
	background-color: #cc0000;
}
.btn:hover,
.btn:focus {
	background-color: #000;
}

.card:not(.card--negative-title) header {
    background-color: #444;
}

/* =temp Label für Aufbau Website 2022
--------------------------------------------------------------- */
.website-2022 .header::before {
    content: "Beta";
    position: absolute;
    border: 2px solid #fff;
    padding: 0.25em 5em;
    color: #fff;
    background-color: #cc0000;
    transform: rotate(-45deg) translate(-50%, 125%);
    transform-origin: top left;
    z-index: -1;
    box-shadow: var(--shadow-sm);
}

/* =Home temp Gästelenkung Klöntal
--------------------------------------------------------------- */
.btn-lst {
    display: flex;
    justify-content: space-between;
}
.btn-lst li {
    text-align: center;
}
.btn-lst li + li {
    margin-left: 0.833333333333333em; /* 15/18 */
}
.btn-lst a.btn:any-link,
:is(.card-content, .card__content) a.btn:any-link {
    color: #fff;
    font-weight: normal;
    text-decoration: none;
}
.btn-lst a.btn::after,
.card-content a.btn::after {
    content: none;
}

/* =Home
--------------------------------------------------------------- */
.showmore {
	background-color: #cc0000;
}
.section--gl-home .mod-wrapper.mod-news {
    margin-bottom: 0;
}

.newsletter-link {
    margin-left: auto;
}
.rss-link {
    margin-left: 1em;
}


.section--home {
    padding-block: min(6vw, 1.666666666666667em);
}
.section--gl-teaser {
    background-color: #fff;
}
.section--my-gl-ch {
    padding-block-start: 0;
}

.mod-cards {
    margin-block-end: 0;

    .card {
        &.card--important {
            --card-important-title-bg: #cc0000;
        }

        .card__title {
            --card-title-bg: #444;
        }
        &:not(.card--nolink):is(:hover, :focus-within) .card__title {
            --card-title-bg-active: #000;
        }

        .card__content {
            --card-content: #444;
            --card-content-bg: #f5f5f5;

            .section--gl-home & {
                --card-content-bg: #fff;
            }
        }
        &:not(.card--nolink):is(:hover, :focus-within) .card__content {
            --card-content-active: #000;
        }
    }
}

.lst-podcasts {
    margin-block: 1.5em;
    display: flex;
    flex-wrap: wrap;
    gap: .25em .75em;

    a {
        white-space: no-wrap;
    }
}

.wrapper--section.row > [class*=col-]:has(> .mod-cards) {
    display: block;
    background-color: #fff;
}

/* =header
--------------------------------------------------------------- */
.tmpl--glm .website-switch .dropdown {
    border-top-color: #ececec;
}
.hamburger,
.mobilenav-current-pagetitle a {
    background-color: #cc0000 !important;
}
.tmpl--glm .partnerlogo {
    margin: 0 1em;
    width: 15%;
    min-width: 80px;
}
.tmpl--glm .partnerlogo img {
    width: 150px;
}
.logo {
    min-width: 200px;
}
@media only screen and (max-width: 32.5em) {
    .tmpl--glm .partnerlogo {
        margin-top: 1em;
        margin-left: 0;
    }
}

/* =mainnav
--------------------------------------------------------------- */
.tmpl--glm .mainnav {
    border-bottom-color: #cc0000;
    background-color: #505050;
}
.tmpl--glm .wrapper--mainnav > ul,
.tmpl--glm .wrapper--mainnav > ul > li > a {
    border: 0;
    color: #fff;
}
.tmpl--glm .wrapper--mainnav > ul > li.active > a {
	color: #fff;
    background-color: #cc0000;
}
.wrapper--mainnav > ul > li:hover > a,
.wrapper--mainnav > ul > li > a:hover,
.wrapper--mainnav > ul > li > a:focus,
.wrapper--mainnav > ul > li.active:hover > a,
.wrapper--mainnav > ul > li.active > a:hover,
.wrapper--mainnav > ul > li.active > a:focus {
    color: #000;
    background-color: #e0e0e0;
    box-shadow: none;
}
.wrapper--mainnav > ul > li:focus-within > a,
.wrapper--mainnav > ul > li.active:focus-within > a {
    color: #000;
    background-color: #e0e0e0;
    box-shadow: none;
}
.mainnav .dropdown {
    background-color: #e0e0e0;
    box-shadow: none;
}
.mainnav .dropdown a {
    color: #757575;
}
.mainnav .dropdown a:hover,
.mainnav .dropdown a:focus,
.mainnav .dropdown .active a {
    color: #000;
    background-color: transparent;
}

/* =breadcrumb
--------------------------------------------------------------- */
.tmpl--glm .breadcrumb {
	background-color: #f7f7f7;
	}
.tmpl--glm .breadcrumb a,
.breadcrumb-submenues-disabled li:not(:first-child)::before{
	color: #757575;
	}
.tmpl--glm .breadcrumb a:hover,
.tmpl--glm .breadcrumb a:focus {
	color: #000;
	}

/* =content, subnav & sidebar
--------------------------------------------------------------- */
.subnav-parent {
    border-right-color: #ececec;
    border-bottom-color: #ececec;
	}
h1,
.content-maintitle, .main__title,
h1.news-title {
	color: #cc0000;
}
blockquote {
	background-color: #cc0000;
}

/* =subnav
--------------------------------------------------------------- */
.subnav {
    background-color: #f7f7f7;
    box-shadow: none;
	}
.sub2nav-title {
    color: #525252;
    background-color: transparent;
	}
.subnav a {
  display: block;
  text-decoration: none;
  color: #000;
  }
.subnav a:hover,
.subnav a:focus,
.subnav .active > a {
  color: #cc0000;
  }

/* =footer
--------------------------------------------------------------- */
.tmpl--glm footer {
    padding-top: 1.666666666666667em;
	background-color: #505050;
    background-image: none;
	}
.tmpl--glm footer h3 {
	border-bottom-color: #bdbdbd;
	}

footer a img {
    opacity: 0.5;
    transition: opacity 0.2s ease-in-out;
	}
footer a:hover img,
footer a:focus img {
    opacity: 1;
	}

/* =GLN-colors & backgrounds
--------------------------------------------------------------- */
.gln-color-bright {
	background-color: #ececec;
	}
.glm-color-red {
	background-color: #cc0000;
	}
.glm-color-grey {
	background-color: #444;
	}

/* =Standorte
--------------------------------------------------------------- */
.standorte-lst {
	display: flex;
	justify-content: space-between;
	margin-left: -1.666666666666667em;
	}
.standorte-lst > li {
	margin-left: 1.666666666666667em; /* 30/18 */
	}
.standorte-lst > li a {
	text-decoration: none;
	}
.tmpl--glm .standorte-lst > li.standort-entry figcaption {
	position: static;
	width: auto;
	background-color: transparent;
	color: #000;
	}

/* =eGov Abteilungsausgabe (Departemente und Abteilungen)
--------------------------------------------------------------- */
.egov-contact__lst {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 30px;
}
.egov-contact__item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.egov-contact__container-txt {
    width: 55.555555555555556%; /* 450/810 */
}
.egov-contact__container-img {
    width: 40.740740740740741%; /* 330/810 */
}

.egov-contact__title > a {
    text-decoration: none;
}
.egov-contact__title:hover {
    text-decoration: underline;
}

.egov-contact__lst > .mod-entry--no-img .egov-contact__function {
    margin-bottom: 0;
}

.contact-table-lst [href^="tel:"]::before,
.contact-table-lst [href^="mailto:"]::before,
.egov-contact [href^="tel:"]::before,
.egov-contact [href^="mailto:"]::before,
.egov-contact__container-txt [href^="tel:"]::before,
.egov-contact__container-txt [href^="mailto:"]::before,
.egov-contact__container-txt [data-email-link]::before,
.egov-contact__container-txt [href^="javascript:sendData"]::before {
    text-align: center;
    width: 1.25em;
}

.egov-contact__lst > .mod-entry--no-img .egov-contact__getincontact {
    display: none;
}

/* =eGov Departementsseiten
--------------------------------------------------------------- */
.egov-org--departement .egov-contact__lst > .mod-entry {
    border: 0;
    border-bottom: 1px solid #b4b4b4;
    padding-top: 0;
}
.egov-org--departement .egov-contact__lst > .mod-entry--has-img {
    display: flex;
    flex-direction: column;
}
.egov-org--departement .egov-contact__container-txt,
.egov-org--departement .egov-contact__container-img {
    width: 100%;
}
.egov-org--departement .egov-contact__lst > .mod-entry--has-img .egov-contact__container-txt {
    margin-bottom: auto;
}
.egov-org--departement .egov-contact__lst > .mod-entry--has-img .egov-contact__container-img {
    order: -1;
    margin-bottom: 0.75em;
}

/* =eGov Abteilungsseiten
--------------------------------------------------------------- */
.egov-org--abteilung .egov-contact__lst > .mod-entry--has-img {
    grid-column: 1/-1;
}
.egov-org--abteilung .egov-contact__lst > .mod-entry--has-img > * {
    flex: 0 1 auto;
    width: calc(50% - 15px);
    gap: 30px;
}
.egov-org--abteilung .egov-contact__lst > .mod-entry--no-img:first-child {
    border-top: 1px solid #b4b4b4;
    padding: 0.75em 0;
}
.egov-org--abteilung .egov-contact__lst > .mod-entry--no-img:only-child {
    border: 0;
    padding: 0;
}
.egov-org--abteilung .egov-contact__lst > .mod-entry--no-img .egov-contact__container-txt,
.egov-org--abteilung .egov-contact__lst > .mod-entry--no-img .egov-contact__container-img {
    width: 100%;
}

.egov-contact__lst {
    margin-top: 1.5em;
}
.egov-org--abteilung .egov-contact__lst > .mod-entry.mod-entry--has-img:first-child {
	border-top: 1px solid #b4b4b4;
    padding-top: 0.75em;
}

/* =eGov Kontaktliste/Mitarbeitende
--------------------------------------------------------------- */
.contact-name {
    width: 30%;
}
.contact-department {
    width: 40%;
}
.contact-contact {
    width: 30%;
}

@media only screen and (max-width: 32.5em) { /* 520/16 */
    .tmpl--content-nosidebar .egov-contact .col-half {
        float: none;
        width: 100%;
        margin-left: 0;
    }
    .egov-contact__item {
        flex-wrap: wrap;
    }
    .egov-contact__container-txt,
    .egov-contact__container-img {
        width: 100%;
    }
	.egov-contact__container-img {
        order: -1;
        padding-bottom: 0.75em;
    }
}

/* =Footer
--------------------------------------------------------------- */
.link-lst--sm {
    margin-top: 1em;
}
.footer a img {
    opacity: 0.8;
    transition: opacity .2s;
}
.footer a:hover img,
.footer a:focus img {
    opacity: 1;
}

/* =Baustelleninfos
--------------------------------------------------------------- */

/* Inpage-Nav, #6695 & #6705*/
.nav-inpage {
    display: flex;
    border-bottom: 1px solid #666;
}
.nav-inpage__item {
	position: relative;
    top: 1px;
    border: 1px solid #c5c3c2;
	border-bottom-color: #666;
    background-color: #f6f4f3;
    border-radius: 3px 3px 0 0;
}
.nav-inpage__item.active {
    border-color: #666;
	border-bottom-color: transparent;
    border-bottom: 0;
    background-color: #fff;
}
.nav-inpage__item + .nav-inpage__item {
    margin-left: .75em;
}
.nav-inpage__item a {
	display: block;
    padding: 0.5em 1em;
    color: #666;
    text-align: center;
    text-decoration: none;
    hyphens: auto;
}
.nav-inpage__item a:hover,
.nav-inpage__item.active a {
	color: #000;
}
.nav-inpage__item.active a {
    cursor: default;
}

/* Sitemap-Ausgabe ändern, #6705 */
.cms-p-6705 .mod-sitemap > .mod-sitemap-lst > li {
    list-style: none;
    margin-left: 0;
    margin-bottom: 1.5em;
}
.cms-p-6705 .mod-sitemap > .mod-sitemap-lst > li > a {
	display: block;
    margin-bottom: 0.75em;
    text-decoration: none;
    font-size: 1.666666666666667em;
    line-height: 1.2;
}


/* =CTA-Button ESAF 2025 - Ticket #73171
--------------------------------------------------------------- */
.wrapper--headerpano-cta {
    position: relative;
    height: 100%;
}
.tmpl--home .wrapper--headerpano-cta {
	display: block;
}
.headerpano__cta {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 2em;
    bottom: clamp(2vw, 2vw + 1vw, 2em);
}
.headerpano__cta::before {
    content: '';
    position: absolute;
    z-index: 0;
    border: 2px solid #fed060;
    left: -20px;
    opacity: 0;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: pulse 2.5s linear infinite;
}
.headerpano__cta a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .15em;
    width: 6em;
    height: 6em;
    border: 0.131578947368421em solid #fff; /* 5/38 */
    padding: 0.5em;
    color: #fff;
    background-color: #fed060;
    text-decoration: none;
    border-radius: 50%;
    text-align: center;
    font-size: clamp(0.8em, 0.8em + 2vw, 2.5em);
    line-height: 1.1;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.06em;
	box-shadow: var(--shadow-md);
    transform: rotate(7deg);
    transition: color .2s, background-color .2s;
}
.headerpano__cta a b {
    font-size: .8em;
}
.headerpano__cta a span {
    font-size: .6em;
}
.headerpano__cta a::after {
    content: "";
    position: absolute;
    width: 2em;
    height: 2em;
    right: .5em;
    bottom: -.5em;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='448' height='512' viewBox='0 0 448 512'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fff;%7D%3C/style%3E%3C/defs%3E%3Cg id='Ebene_2'%3E%3Cpath class='cls-1' d='m212.8,485c-37.21,0-72.78-17.96-95.17-48.04l-84.49-114.69c-3.92-4.39-6.16-10.74-6.16-17.47,0-12.21,9.49-30.28,29.85-30.28,13.47,0,21.17,8.45,23.86,12.09l30.46,41.01c2.07,2.79,5.38,4.45,8.84,4.45,8.34,0,10.1-9.21,10.1-11.02V61c.01-18.43,15.82-34,34.51-34s33.6,15.25,33.6,34v131.7c0,4.43,3.5,10.98,11,10.98,3.75,0,5.8-1.6,8.91-4.01,4.38-3.4,9.83-7.64,20.78-7.64h14.88c15.51,0,21.95,7.98,26.66,13.81,3.92,4.86,6.03,7.19,10.95,7.19,2.56,0,4.21-.83,6.7-2.09,3.45-1.74,7.75-3.91,15.13-3.91h14.84c14.13,0,26.81,9.19,31.54,22.87,1.55,4.46,7.75,7.13,12.84,7.13l14.96-.03c18.54,0,33.61,15.25,33.61,34v120.2c0,23.17-8.48,44.99-23.88,61.45-14.59,16-33.71,26.4-56.8,30.84-3.15,1.03-5.9,1.51-8.62,1.51h-118.9Z'/%3E%3Cpath class='cls-1' d='m416,391.2c0,21.89-7.94,42.44-22.53,58.03-13.78,15.12-31.91,25.14-54.41,29.41-2.86.96-5.16,1.36-7.36,1.36h-118.9c-35.66,0-69.72-17.22-91.16-46.03l-84.62-114.87c-3.4-3.7-5.04-9-5.04-14.3,0-8.39,6.57-25.28,24.85-25.28,10.27,0,16.79,5.93,19.84,10.06l30.47,41.02c3.08,4.14,7.9,6.47,12.85,6.47,11.1,0,15.1-10.83,15.1-16.02V61c.01-15.98,13.71-29,29.51-29s28.6,13.02,28.6,29v131.7c0,6.91,5.42,15.98,16,15.98,11.97,0,12.7-11.65,29.69-11.65h14.88c24.02,0,21.02,21,37.61,21,8.19,0,10.4-6,21.83-6h14.84c12,0,22.78,7.84,26.81,19.5,2.33,6.68,10.37,10.5,17.57,10.5l14.97-.03c15.8,0,28.6,13,28.6,29v120.2Z'/%3E%3C/g%3E%3Cg id='Ebene_1'%3E%3Cpath d='m387.4,210h-7.47c-10.75-18.33-30.41-30-51.97-30h-14.84c-5.78,0-11.5.86-17.03,2.55-11.19-11.15-26.29-17.55-42.39-17.55h-14.88c-4.62,0-9.22.55-13.69,1.61V61c.07-33.64-28.03-61-60.53-61s-61.5,27.36-61.5,61v211.6l-.7-2.1c-7.05-9.5-22.09-23-45.65-23-41.59,0-56.75,37.41-56.75,57.33,0,11.94,3.69,23.97,11.33,34.23l84.66,114c27.41,36.04,71.11,58.94,116.81,58.94h118.9c5.5,0,11.06-.92,15.09-2.34,27.47-5.06,51.81-18.5,70.19-38.69,20.02-21.37,31.02-49.67,31.02-79.77v-120.2c0-33.6-27.2-61-60.6-61Zm28.6,181.2c0,21.89-7.94,42.44-22.53,58.03-13.78,15.12-31.91,25.14-54.41,29.41-2.86.96-5.16,1.36-7.36,1.36h-118.9c-35.66,0-69.72-17.22-91.16-46.03l-84.62-114.87c-3.4-3.7-5.04-9-5.04-14.3,0-8.39,6.57-25.28,24.85-25.28,10.27,0,16.79,5.93,19.84,10.06l30.47,41.02c3.08,4.14,7.9,6.47,12.85,6.47,11.1,0,15.1-10.83,15.1-16.02V61c.01-15.98,13.71-29,29.51-29s28.6,13.02,28.6,29v131.7c0,6.91,5.42,15.98,16,15.98,11.97,0,12.7-11.65,29.69-11.65h14.88c24.02,0,21.02,21,37.61,21,8.19,0,10.4-6,21.83-6h14.84c12,0,22.78,7.84,26.81,19.5,2.33,6.68,10.37,10.5,17.57,10.5l14.97-.03c15.8,0,28.6,13,28.6,29v120.2Zm-191.3-87.2c-8.84,0-16,7.16-16,16v96c0,8.84,7.16,16,16,16s16-7.16,16-16v-96c0-8.8-7.2-16-16-16Zm62.4,0c-8.84,0-16,7.16-16,16v96c0,8.84,7.16,16,16,16s15.1-7.16,15.1-16v-96c.9-8.8-5.4-16-15.1-16Zm64.9,0c-8.84,0-16,7.16-16,16v96c0,8.84,7.16,16,16,16s16-7.16,16-16v-96c0-8.8-7.2-16-16-16Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(341deg);
}
.headerpano__cta a:hover,
.headerpano__cta a:focus {
    color: #fff;
    background-color: #505050;
}

@media only screen and (max-width: 32.5em) { /* 520/16 */
    .headerpano {
        overflow-x: clip;
    }
    .headerpano__cta {
        right: 3vw;
        bottom: 50%;
        transform: translateY(50%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}