
main {
    background-color: #faf9f7;
}

.row > * {
    min-width: 0;
}


/* =========================================================
   EDITORIAL / NEWS-BEREICH
   ========================================================= */

.editorial-section {
    padding: 5rem 0;
    background: #f5f6f7;
}

.editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 2rem;
    align-items: start;
}


/* Neuigkeiten + Thema des Jahres */

.news-topic-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    gap: 40px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    align-items: start !important;
}

.news-topic-grid > section {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Laptop: Neuigkeiten + Thema des Jahres */

@media screen and (max-width: 900px) {

    .news-topic-grid {
        grid-template-columns: 1fr !important;

        /*
         * 20px Abstand zum Bildschirmrand.
         * !important bleibt hier absichtlich erhalten,
         * da die vorhandenen Styles sonst wieder
         * den ursprünglichen Abstand herstellen.
         */
        width: calc(100% - 40px) !important;
        margin-left: 20px !important;
        margin-right: 20px !important;

        gap: 25px !important;
    }
}

/* Smartphone: Neuigkeiten + Thema des Jahres */

@media screen and (max-width: 736px) {

    .news-topic-grid {
        grid-template-columns: 1fr !important;

        /*
         * 20px Abstand zum Bildschirmrand.
         * !important bleibt hier absichtlich erhalten,
         * da die vorhandenen Styles sonst wieder
         * den ursprünglichen Abstand herstellen.
         */
        width: calc(100% - 40px) !important;
        margin-left: 20px !important;
        margin-right: 20px !important;

        gap: 25px !important;
    }
}


/* =========================================================
   NEWS-PANELS
   ========================================================= */

.news-panel,
.annual-topic {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}


/* Alte / allgemeine News-Struktur */

.news-item {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.news-item:first-of-type {
    padding-top: 0;
}

.news-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.news-image img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.news-content time {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

.news-content h3 {
    margin: 0 0 0.75rem;
}

.news-content h3 a,
.topic-card h3 a {
    text-decoration: none;
}

.news-content p {
    margin-bottom: 0;
}


/* =========================================================
   AKTUELLE HTML-STRUKTUR:
   article-list / excerpt
   ========================================================= */

.news-topic-grid .article-list .excerpt > a.image.left {
    width: 50px;
    height: 50px;
    min-width: 50px;
    max-width: 50px;
    flex: 0 0 50px;
    display: block;
    overflow: hidden;
}

.news-topic-grid .article-list .excerpt > a.image.left img {
    display: block;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px;
    max-width: 50px;
    min-height: 50px;
    max-height: 50px;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   THEMA DES JAHRES
   ========================================================= */

.topic-card {
    text-align: left;
}

.topic-image {
    display: block;
    margin-bottom: 1.5rem;
    text-align: center;
}

.topic-image img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.topic-card header h3 {
    margin-bottom: 0.35rem;
}

.topic-card header p {
    margin-bottom: 1.5rem;
}

.topic-content p:last-child {
    margin-bottom: 0;
}

.topic-card footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.topic-card footer h3 {
    margin-bottom: 1rem;
}


/* =========================================================
   MOBILE EDITORIAL
   ========================================================= */

@media screen and (max-width: 600px) {

    .editorial-section {
        padding: 3rem 0;
    }

    .news-panel,
    .annual-topic {
        padding: 1.25rem;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .news-image img {
        width: 50px;
        height: 50px;
    }
}


/* =========================================================
   KONTAKT
   ========================================================= */

.contact-section {
    padding: 60px 0;
    background-color: #faf9f7;
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-card {
    text-align: center;
    padding: 30px 20px;
}

.contact-card h3 {
    margin: 15px 0;
}

.contact-card p {
    margin-bottom: 25px;
}

.contact-card .button {
    display: inline-block;
}

.contact-icon {
    margin-bottom: 10px;
}

.contact-button {
    min-width: 250px;
    min-height: 60px;
}


/* Tablet */

@media screen and (max-width: 980px) {

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Smartphone */

@media screen and (max-width: 736px) {

    .contact-section {
        padding: 40px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 25px 15px;
    }
}


/* =========================================================
   ALLGEMEINE ELEMENTE
   ========================================================= */

.section-title {
    text-align: left;
}

.section {
    margin-bottom: 4rem;
}

.contact-box {
    padding: 2rem;
}


/* =========================================================
   BILDER / MEDIEN
   ========================================================= */

.image-container {
    text-align: center;
}

.image-container2 {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.responsive-image2 {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.responsive-image3 {
    width: 100%;
    max-width: 618px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.responsive-media {
    width: 100%;
    height: auto;
    display: block;
}

.responsive-table {
    width: 100%;
    table-layout: fixed;
}


/* =========================================================
   VIDEO / HERO-MEDIENBEREICH
   ========================================================= */

.hero {
    display: flex;
    gap: 40px;
    align-items: center;
}

.video {
    flex: 1.5;
}

.info {
    flex: 1;
}

.video video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

@media screen and (max-width: 900px) {

    .hero {
        flex-direction: column;
    }

    .video,
    .info {
        width: 100%;
    }
}


/* =========================================================
   PULSE-BUTTON
   ========================================================= */

.pulse-button {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 50em;
}

.pulse-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* =========================================================
   SMARTPHONE: ABSTAND ZUM BILDSCHIRMRAND
   ========================================================= */

/*
 * Die main.css übernimmt grundsätzlich die Container-Struktur.
 *
 * Auf Smartphones geben wir dem eigentlichen Seiteninhalt
 * zusätzlich 20px Innenabstand.
 *
 * Dieser Bereich bleibt bewusst getrennt vom
 * .news-topic-grid, weil dort eine eigene Breitenlogik
 * erforderlich ist.
 */

@media screen and (max-width: 736px) {

    #main-content .container {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
}


