/* --------------- Grund-Resets --------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Open Sans, serif;
    line-height: 1.4;
    color: var(--primary-color);
    background: #f9f9f9;
    padding: 16px;
}

h1, h2, h3 {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom:20px;
}

a {
    text-decoration: none;
}

.navbar {
    border-bottom: 1px solid #e9e4e4;
    --bs-navbar-padding-y: 1rem;
}

.adminArea {
}
/* --------------- HEADER --------------- */
.space-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.space-header h1 {
    font-size: 2rem;
}
.space-header .logo {
    height: 40px;
    margin-top: 8px;
}

.logo {
    height:30px;
}

.highlight-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 150px;
    gap: 16px;
}

/* Gemeinsame Styles für alle Kacheln */
.highlight-cards .card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #333 center/cover no-repeat;
    display: flex;
    align-items: flex-start;
    padding: 12px;
    color: #fff;
    cursor: pointer;
}

/* Überschrift in der Card */
.highlight-cards .card h4 {
    margin: 0;
    font-size: 1.1rem;
    background-color: #161037;
    color: #fff;
    padding: 6px 8px;
    border-radius: 4px;
}

/* "small" = 1 Zeile */
.highlight-cards .card.small {
    grid-row: span 1;
}

/* "medium" = 2 Zeilen */
.highlight-cards .card.medium {
    grid-row: span 2;
}

/* featured-Variante (ebenfalls small-Span) */
.highlight-cards .card.featured {
    background: #fff;
    color: #333;
    display: grid;
    grid-template-columns: 100px 1fr;
}

.highlight-cards .card.featured img {
    width: 100px;
    height: 100%;
    object-fit: cover;
}

.highlight-cards .card.featured .featured-content {
    padding: 8px;
}

.highlight-cards .card.featured .tag {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.highlight-cards .card.featured p {
    font-size: 0.85rem;
    margin: 0;
}


/* --- Responsive Anpassungen --- */
@media (max-width: 900px) {
    .highlight-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .highlight-cards {
        grid-template-columns: 1fr;
    }
}

.lowlight-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* Gemeinsame Styles für alle Kacheln */
.lowlight-cards .card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    background: #eee center/cover no-repeat;
    display: flex;
    align-items: flex-start;
    padding: 0;
}

/* Überschrift in der Card */
.lowlight-cards .card h4 {
    margin: 0;
    font-size: 1.1rem;
    background: rgba(0,0,0,0.4);
    padding: 6px 8px;
    border-radius: 4px;
}

/* "small" = 1 Zeile */
.lowlight-cards .card.small {
    grid-row: span 1;
    background-color: #161037;
}

.card.small a {
    color: #fff;
}

.article-card.horizontal {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.article-card.horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Bild-Wrapper: links, starre Breite, ganze Höhe */
.card-image-wrapper {
    flex: 0 0 150px;      /* fest 180px breit, nicht schrumpfen */
    height: auto;
}

.card-image-wrapper .card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content: rechts, vertikal zentriert, Text rechtsbündig */
.card-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    align-items: center;    /* vertikal zentrieren */
    justify-content: flex-start; /* horizontal an den rechten Rand */
    text-align: left;         /* Zeilen rechtsbündig */
}

.teaser-title {
    margin: 0;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.4;
    color: var(--primary-color);
}

.articles-row a {
    flex: 1 1 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    /* anklickbar als flex-Item – damit die Kind-.article-card ihn ausfüllen kann: */
    display: flex;
    flex-direction: column;
}

.articles-row a .article-card.horizontal {
    flex: 1;            /* füllt die komplette Höhe des <a> */
    display: flex;      /* behält dein horizontales Layout bei */
    flex-direction: row;
}

/* Responsive: bei kleinen Bildschirmen übereinander */
/* Tablet & Mobile: Karten untereinander */
@media (min-width: 769px) {
    .articles-row {
        flex-direction: row;
    }
    .articles-row a {
        flex: 1 1 calc(33.333% - 1rem); /* 3 Spalten à 1/3 Breite minus Gap */
        max-width: calc(33.333% - 1rem);
    }
}

.articles-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
}

/* Tablet & Mobile: Einspaltig */
@media (max-width: 1100px) {
    .articles-row {
        flex-direction: column;    /* Stapelt die Items untereinander */
    }
    .articles-row a {
        flex: 1 1 100%;            /* Basis = 100% der Container-Breite */
        max-width: 100%;           /* sicherheitshalber auch hier */
    }

    .article-card.horizontal {
        flex-direction: column;    /* optional: Bild oben, Text unten */
    }
    .card-image-wrapper {
        width: 100%;
        height: 100px;             /* oder deine Wunsch-Höhe */
    }
    .card-content {
        text-align: left;
        justify-content: left;
    }
}

.articleImage {
    border-radius: 10px;
    margin:30px 0;
    max-width: 100%;
}

.articleIntro {
    font-weight: 800;
    font-size: 18px;
}

.articleBody {
    font-size:18px;
}

@media (min-width: 1200px) {
    .articleBody h3 {
        font-size: 24px;
    }
}

@media (max-width: 1200px) {
    .articleBody h3 {
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    .articleBody h3 {
        font-size: 20px;
    }
}

.articleConclusion {
    font-size: 18px;
}

.mainArticleTeaserImage {
    max-width: 100%;
    border-radius: 10px;
}

.mainArticleTeaserIntro {

}

.articleCoreStatements h2 {

}
.articleCoreStatements {
    padding: 15px;
    /* background-color: #5941E1; */
    /* color: #fff; */
    background-color: #fff;
    /* border: 1px solid #5941E1; */
    border-radius: 15px;
    margin: 20px 0;
    font-size: 18px;
}

.frontContainer {
    margin-bottom:30px;
}

.text-white a {
    color: #fff;
}

.footerItem {
    display: inline-block;
    margin:0 5px;
}

.contactButton {
    margin-top:40px;
    background-color: var(--secondary-color);
    color: #fff;
    border: 0;
    border-radius:20px;
}

.accordion-button {
    font-weight: 800;
    color: var(--primary-color);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
}

.aboutUsSticker {
    position: sticky;
    top: 100px;
    z-index: 1020;
    margin-top:30px;
}

.aboutUs {
    padding:20px;
    background-color: #fff;
    border-radius:15px;
    margin-bottom:20px;
}

.aboutUs span {
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 18px;
    display: inline-block;
    margin-bottom: 15px;
}

.aboutUs .contactButton {
    margin-top: 4px;
}
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f8f9fa;
    border-top: 1px solid #ddd;
    padding: 15px;
    z-index: 1050;
    text-align: center;
}
