.mod-custom .page-header h1 {display: none;}

/*teaser cards*/
h2 {
    margin-bottom: 1rem;
}

.cards > ul {
    list-style: none;
}

.card + .card {
    margin-top: 1.5rem;
}

@supports (display: grid) {
    .cards > ul {
        display: grid;
        /*grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));*/
        grid-template-columns: 1fr 1fr 1fr;
        grid-column-gap: 28px;
        grid-row-gap:28px;
        margin-left:0px;
    }
    body.is_smartphone .cards > ul {grid-template-columns: 1fr;}

    .card + .card {
        margin-top: 0;
    }
}

.card {
    /*border: 1px solid;*/
    box-shadow: 0px 3px 6px #ccc;
    background-color: white;
    border-radius: 0.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card .text {
    padding: 14px 14px 14px 21px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.card p {
    max-width: 60ch;
}

/*.card .img {
    height: 6.5rem;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 1rem));
}*/

.card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*filter: grayscale(100%);*/
}

.card a {
    text-decoration: none;
}

.card a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.card a:focus,
.card a:focus-visible {
    outline: none;
    text-decoration: underline;
}


.card:focus-within, .card:hover {
    box-shadow: 0 0 0 0.3rem;
}

.card:focus-within a:focus {
    text-decoration: none;
}

.card small {
    display: block;
}

.card .text > * + * {
    /*margin-top: 0.75rem;*/
}

.card .text > :last-child {
    /*margin-top: auto;*/
    padding-top: 0.75rem;
}


a:focus-within, a:hover
/*p.readmore:focus-within, p.readmore:hover*/
{
    /*box-shadow: 0 0 0 0.3rem;*/
    /*border: 2px solid black;*/
	outline: 2px solid black;
    outline-offset: -2px;
}

/*aufklappbare boxen*/
/* Container-Styling */
.accordion-item {
    background-color: #f4f4f9; /* Hintergrundfarbe des Accordions */
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
    font-family: sans-serif;
    border: 1px solid #dcdcdc;
}

/* Styling für den Header (Summary) */
.accordion-item summary {
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* Entfernt den Standard-Pfeil in Chrome/Firefox */
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

/* Entfernt den Standard-Pfeil in Safari */
.accordion-item summary::-webkit-details-marker {
    display: none;
}

/* Fokus-Zustand für Barrierefreiheit (Tastaturbedienung) */
.accordion-item summary:focus {
    outline: 2px solid #0056b3;
    outline-offset: -2px;
}

/* Das Plus-Zeichen auf der rechten Seite */
.accordion-item summary::after {
    content: "+";
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

/* Verwandelt das Plus in ein Minus (oder dreht es), wenn das Accordion offen ist */
.accordion-item[open] summary::after {
    content: "−"; /* Typografisches Minuszeichen */
}

/* Styling für den Inhalt */
.accordion-content {
    padding: 15px;
    background-color: #ffffff; /* Hintergrund für den Textbereich */
    border-top: 1px solid #dcdcdc;
}