/* =========================================================
   DORFGEMEINSCHAFT SPREDA-DEINDRUP
   JOOMLA / JA STARK / T4

   BEREINIGTE CSS-DATEI
   ========================================================= */


/* =========================================================
   1. ZENTRALE FARBEN UND SCHATTEN
   ========================================================= */

:root {
    --dg-gelb-hell: #FFFBEA;
    --dg-gelb-mittel: #FFF8D1;
    --dg-gelb-rahmen: #EEE6C8;

    --dg-text: #333333;
    --dg-text-hell: #555555;
    --dg-gold: #A87916;

    --dg-schatten: 0 5px 20px rgba(0, 0, 0, 0.08);
    --dg-schatten-hover: 0 12px 30px rgba(0, 0, 0, 0.14);
}


/* =========================================================
   2. ALLGEMEINE SCHRIFTART
   ========================================================= */

body,
button,
input,
select,
textarea {
    font-family: Aptos, "Segoe UI", Arial, sans-serif;
}


/* =========================================================
   3. KOPFBEREICH
   ========================================================= */

#t4-header {
    padding: 0 !important;
}

#t4-header .t4-section-inner,
#t4-header .t4-row {
    min-height: 90px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* =========================================================
   4. LOGO
   ========================================================= */

#t4-header .t4-col.logo {
    display: flex !important;
    align-items: center !important;
    align-self: center !important;
}

#t4-header .navbar-brand {
    margin: 0 !important;
    padding: 0 !important;
}

#t4-header .logo-img,
#t4-header .logo-img-sm {
    width: 140px !important;
    height: auto !important;
    max-height: 70px !important;
    object-fit: contain !important;
}


/* =========================================================
   5. HAMBURGER-MENÜ
   ========================================================= */

#t4-header .t4-col.mainnav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

#t4-header .t4-offcanvas-toggle,
#t4-header .t4-offcanvas-toggle i {
    color: #333333 !important;
}

#t4-header .t4-offcanvas-toggle {
    margin: 0 !important;
}


/* Hauptmenü ausblenden – Hamburger bleibt sichtbar */

#t4-header .t4-megamenu-mainmenu {
    display: none !important;
}


/* =========================================================
   6. OFFCANVAS-MENÜ
   ========================================================= */

#off-canvas-right .t4-off-canvas-header {
    background: var(--dg-gelb-mittel) !important;
}

#off-canvas-right .t4-off-canvas-body {
    background: #FFFFFF !important;
}

#off-canvas-right .nav-link {
    color: #333333 !important;
}

#off-canvas-right .js-offcanvas-close {
    background: transparent !important;
    color: #333333 !important;
    border: none !important;
}

#off-canvas-right .js-offcanvas-close .c-button__text {
    color: #333333 !important;
}


/* =========================================================
   7. PANORAMABILD
   ========================================================= */

#t4-hero {
    padding: 0 !important;
    margin: 0 !important;
}

#t4-hero .t4-section-inner,
#t4-hero .t4-container,
#t4-hero .container,
#t4-hero .container-fluid,
#t4-hero .t4-row,
#t4-hero .t4-col {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

#t4-hero .startseite-panorama,
#t4-hero .startseite-panorama p {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

#t4-hero .startseite-panorama img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   8. FOOTER
   ========================================================= */

#t4-footnav .navbar-brand {
    display: block !important;
    position: relative !important;

    width: 140px !important;
    min-height: 110px !important;

    background-image:
        url('/images/Grunddaten/DG%20Logo%20-%20weiss%20-%20transparent.png') !important;

    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
}

#t4-footnav .navbar-brand img {
    visibility: hidden !important;
}


/* =========================================================
   9. WILLKOMMENSBEREICH
   ========================================================= */

#t4-section-1 {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
}


/* Modul über die gesamte Breite */

#t4-section-1 .module-inner > .row {
    display: block !important;
    margin: 0 !important;
}

#t4-section-1 .module-inner > .row > .module-head-group {
    display: none !important;
}

#t4-section-1 .module-inner > .row > .module-ct {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}

#t4-section-1 .module-inner,
#t4-section-1 .module-ct,
#t4-section-1 .custom {
    width: 100%;
    max-width: 100%;
}


/* Foto links – Text rechts */

#t4-section-1 .dg-willkommen-bereich {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 45px;
    align-items: center;

    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

#t4-section-1 .dg-willkommen-bild,
#t4-section-1 .dg-willkommen-inhalt {
    min-width: 0;
}


/* Willkommensfoto */

.dg-willkommen-foto {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

.dg-willkommen-foto img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 8px;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


/* Fotoeffekt */

.dg-willkommen-foto:hover img {
    transform: scale(1.025);
    filter: brightness(1.05);
}


/* Spruch auf dem Foto */

.dg-foto-spruch {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 16px 20px;

    background: rgba(0, 0, 0, 0.55);
    color: #FFFFFF !important;

    font-size: clamp(15px, 1.3vw, 20px);
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}


/* Willkommenstext */

.dg-willkommen-text {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.dg-willkommen-text h2 {
    font-size: clamp(26px, 2.5vw, 38px);
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 22px;
}

.dg-willkommen-text h3 {
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.35;
    margin-bottom: 20px;
}

.dg-willkommen-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}


/* =========================================================
   10. WILLKOMMENSBEREICH – SMARTPHONE
   ========================================================= */

@media (max-width: 768px) {

    #t4-section-1 {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    #t4-section-1 .dg-willkommen-bereich {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .dg-willkommen-text h2 {
        font-size: 26px;
    }

    .dg-willkommen-text h3 {
        font-size: 21px;
    }

    .dg-willkommen-text p {
        font-size: 17px;
    }
}
/* =========================================================
   11. STARTSEITE – AKTUELLES
   Modul 118
   ========================================================= */

/* Überschrift und Inhalt über die gesamte Breite */

#Mod118 .module-inner > .row {
    display: block;
}

#Mod118 .module-head-group,
#Mod118 .module-ct {
    width: 100%;
    max-width: 100%;
}

/* Überschrift */

#Mod118 .module-title {
    color: #444444 !important;
    font-size: 34px !important;
    font-weight: 600;
    line-height: 1.3;
}

/* Drei Spalten auf dem Desktop */

#Mod118 .mod-articles-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Einzelne Beitragskacheln */

#Mod118 .mod-articles-items > li {
    min-width: 0;
    list-style: none;

    background: var(--dg-gelb-hell) !important;
    border: 1px solid var(--dg-gelb-rahmen);
    border-radius: 16px;

    padding: 22px;

    box-shadow: var(--dg-schatten);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Bewegung beim Darüberfahren */

@media (hover: hover) {

    #Mod118 .mod-articles-items > li:hover {
        transform: translateY(-6px);
        box-shadow: var(--dg-schatten-hover);
    }

}

/* Weiterlesen-Links */

#Mod118 .readmore a {
    display: inline-block;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    color: #666666 !important;
    padding: 0 !important;

    font-size: 0;
    text-decoration: none;
}

#Mod118 .readmore a::after {
    content: "Weiterlesen →";
    font-size: 16px;
}

#Mod118 .readmore a:hover {
    color: #222222 !important;
}

/* Tablet */

@media (max-width: 991px) {

    #Mod118 .mod-articles-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* Smartphone */

@media (max-width: 600px) {

    #Mod118 .mod-articles-items {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   12. STARTSEITE – TERMINBEREICH
   Sektion 3
   ========================================================= */

#t4-section-3 {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#t4-section-3 .t4-section-inner {
    padding-top: 0 !important;
}

/* Terminmodul über die gesamte Breite */

#t4-section-3 .module-head-group {
    display: none !important;
}

#t4-section-3 .module-ct {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}


/* =========================================================
   13. UNSERE DORFGEMEINSCHAFT
   Modul 119
   ========================================================= */

/* Leere Überschriftenspalte entfernen */

#Mod119 .module-head-group {
    display: none !important;
}

/* Modulinhalt über die gesamte Breite */

#Mod119 .module-ct {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}


/* =========================================================
   14. UNSERE DORFGEMEINSCHAFT – BILDKACHELN
   ========================================================= */

/* Kachelraster */

.dg-kacheln {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 45px 0 30px;
}

/* Einzelne Kachel */

.dg-kachel {
    display: flex;
    flex-direction: column;
    overflow: hidden;

    background: var(--dg-gelb-hell) !important;
    border: 2px solid var(--dg-gelb-rahmen);
    border-radius: 16px;

    box-shadow: var(--dg-schatten);

    text-decoration: none !important;
    color: #333333;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Bildbereich */

.dg-kachel-bild {
    height: 230px;
    overflow: hidden;
}

.dg-kachel-bild img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: blur(1.5px);
    transform: scale(1.03);

    transition:
        filter 0.6s ease,
        transform 0.8s ease;
}

/* Textbereich */

.dg-kachel-inhalt {
    padding: 25px;
    flex-grow: 1;
}

.dg-kachel-inhalt h3 {
    font-size: 1.4rem;
    margin: 0 0 15px;
    color: #333333;
}

.dg-kachel-inhalt p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 20px;
}

.dg-kachel-link {
    font-weight: 600;
    color: var(--dg-gold);
}

/* Hover-Effekte */

@media (hover: hover) {

    .dg-kachel:hover {
        transform: translateY(-7px);
        border-color: #D6B35A;
        box-shadow: var(--dg-schatten-hover);
        color: #333333;
    }

    .dg-kachel:hover img {
        filter: blur(0);
        transform: scale(1.1);
    }

}

/* Tastaturbedienung */

.dg-kachel:focus-visible {
    outline: 3px solid var(--dg-gold);
    outline-offset: 4px;
}

/* Tablet */

@media (max-width: 991px) {

    .dg-kacheln {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* Smartphone */

@media (max-width: 650px) {

    .dg-kacheln {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .dg-kachel-bild {
        height: 220px;
    }

}


/* =========================================================
   15. UNSERE DÖRFER – GEMEINSAM AKTIV
   Modul 131 – Neun Fotokacheln
   ========================================================= */

/* Modul über die gesamte Breite */

#Mod131 .module-inner > .row {
    display: block !important;
    margin: 0 !important;
}

#Mod131 .module-head-group {
    display: none !important;
}

#Mod131 .module-ct {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}

/* Gesamter Kachelbereich */

#Mod131 .dg-doerfer {
    width: 100%;
}

/* Überschrift und Einleitung */

#Mod131 .dg-doerfer-kopf {
    text-align: center;
    margin-bottom: 35px;
}

#Mod131 .dg-doerfer-untertitel {
    display: block;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

#Mod131 .dg-doerfer-kopf h2 {
    margin-bottom: 15px;
}

#Mod131 .dg-doerfer-kopf p {
    max-width: 750px;
    margin: 0 auto;
}

/* Drei Spalten auf dem Desktop */

#Mod131 .dg-doerfer-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

/* Einzelne Fotokachel */

#Mod131 .dg-doerfer-karte {
    display: flex;
    flex-direction: column;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100%;

    grid-column: auto !important;
    grid-row: auto !important;

    background: var(--dg-gelb-hell) !important;
    border: 1px solid var(--dg-gelb-rahmen);
    border-radius: 16px;

    overflow: hidden;

    box-shadow: var(--dg-schatten);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Hover-Effekt */

@media (hover: hover) {

    #Mod131 .dg-doerfer-karte:hover {
        transform: translateY(-6px);
        box-shadow: var(--dg-schatten-hover);
    }

}

/* Bildbereich */

#Mod131 .dg-doerfer-bild {
    width: 100%;
    height: 210px;
    overflow: hidden;
}

#Mod131 .dg-doerfer-bild img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

/* Bild beim Darüberfahren vergrößern */

@media (hover: hover) {

    #Mod131 .dg-doerfer-karte:hover img {
        transform: scale(1.05);
    }

}

/* Textbereich */

#Mod131 .dg-doerfer-inhalt {
    flex: 1;
    padding: 20px;
}

#Mod131 .dg-doerfer-inhalt h3 {
    font-size: 19px;
    margin: 0 0 12px;
}

#Mod131 .dg-doerfer-inhalt h3 a {
    color: inherit;
    text-decoration: none;
}

#Mod131 .dg-doerfer-inhalt p {
    margin: 0;
    line-height: 1.6;
}

/* Tablet */

@media (min-width: 601px) and (max-width: 991px) {

    #Mod131 .dg-doerfer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}

/* Smartphone */

@media (max-width: 600px) {

    #Mod131 .dg-doerfer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

}


/* =========================================================
   16. VORSTANDSKARTEN
   ========================================================= */

/* Fünf Karten nebeneinander */

.dg-vorstand-karten {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin: 30px 0 50px;
}

/* Einzelne Karte */

.dg-vorstand-karte {
    min-width: 0;
    padding: 18px 12px 22px;

    background: var(--dg-gelb-hell) !important;
    border: 2px solid var(--dg-gelb-rahmen);
    border-radius: 16px;

    text-align: center;

    box-shadow: var(--dg-schatten);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Hover-Effekt */

@media (hover: hover) {

    .dg-vorstand-karte:hover {
        transform: translateY(-6px);
        border-color: #D5B66D;
        box-shadow: var(--dg-schatten-hover);
    }

}

/* Personenfotos */

.dg-vorstand-karte img {
    display: block;

    width: 100%;
    max-width: 125px;
    height: 155px;

    margin: 0 auto 16px;

    object-fit: cover;
    object-position: center top;

    border-radius: 10px;

    transition: transform 0.35s ease;
}

.dg-vorstand-karte:hover img {
    transform: scale(1.04);
}

/* Name */

.dg-vorstand-karte h4 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #333333;
}

/* Funktion */

.dg-vorstand-karte p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #777777;
}

/* Tablet */

@media (max-width: 1100px) {

    .dg-vorstand-karten {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

/* Smartphone */

@media (max-width: 650px) {

    .dg-vorstand-karten {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

}

@media (max-width: 380px) {

    .dg-vorstand-karten {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   17. BEIRATSKARTEN
   ========================================================= */

/* Sechs Karten auf dem Desktop */

.dg-beirat-karten {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

/* Kleinere Karten */

.dg-beirat-karten .dg-vorstand-karte {
    padding: 14px 8px 18px;
}

/* Fotos */

.dg-beirat-karten .dg-vorstand-karte img {
    max-width: 100px;
    height: 125px;
    margin-bottom: 12px;
}

/* Name */

.dg-beirat-karten .dg-vorstand-karte h4 {
    font-size: 0.95rem;
    line-height: 1.35;
}

/* Funktion */

.dg-beirat-karten .dg-vorstand-karte p {
    font-size: 0.8rem;
}

/* Tablet */

@media (max-width: 1100px) {

    .dg-beirat-karten {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

}

/* Smartphone */

@media (max-width: 650px) {

    .dg-beirat-karten {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   18. STARTSEITE – UNSER DÖRPERBLATT
   Sektion 5
   ========================================================= */

/* Leere Überschriftenspalte entfernen */

#t4-section-5 .module-head-group {
    display: none !important;
}

/* Modul über die gesamte Breite */

#t4-section-5 .module-inner > .row {
    display: block !important;
    margin: 0 !important;
}

#t4-section-5 .module-ct {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}
/* =========================================================
   19. INKLUSIONSHAUS SPREDA-DEINDRUP
   Beitrag 98
   ========================================================= */

/* Allgemeiner Seitenaufbau */

.dg-inklusionshaus {
    --inklusion-gelb: #F5D77B;
    --inklusion-gelb-hell: #FFF9E9;
    --inklusion-text: #333333;
    --inklusion-grau: #F6F6F6;

    max-width: 1150px;
    margin: 0 auto;
    padding: 20px 15px 60px;

    color: var(--inklusion-text);
    line-height: 1.8;
}

.dg-inklusionshaus *,
.dg-inklusionshaus *::before,
.dg-inklusionshaus *::after {
    box-sizing: border-box;
}

.dg-inklusionshaus h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #303030;
}

.dg-inklusionshaus h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

.dg-inklusionshaus p {
    margin-bottom: 18px;
}


/* ---------------------------------------------------------
   19.1 Einleitung
   --------------------------------------------------------- */

.dg-inklusion-intro {
    text-align: center;
    max-width: 950px;
    margin: 20px auto 90px;
    padding: 55px 45px;

    background: linear-gradient(
        135deg,
        #FFFDF7 0%,
        #FFF5D7 100%
    );

    border-radius: 22px;
    position: relative;
    overflow: hidden;
}

.dg-inklusion-intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 130px;
    height: 5px;

    background: var(--inklusion-gelb);
    border-radius: 0 0 8px 8px;
}

.dg-inklusion-untertitel {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: #80651F;
    margin-bottom: 18px;
}

.dg-inklusion-intro h2 {
    margin-bottom: 30px;
}

.dg-inklusion-intro p:not(.dg-inklusion-untertitel) {
    max-width: 760px;
    margin: 0 auto 18px;
    font-size: 1.08rem;
}


/* ---------------------------------------------------------
   19.2 Inhaltsabschnitte
   --------------------------------------------------------- */

.dg-inklusion-abschnitt {
    margin: 0 auto 95px;
}

.dg-inklusion-abschnitt > h2 {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 35px;
}

.dg-inklusion-abschnitt > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;

    width: 85px;
    height: 4px;

    background: var(--inklusion-gelb);
    border-radius: 4px;
}

.dg-inklusion-abschnitt > p {
    max-width: 950px;
}


/* ---------------------------------------------------------
   19.3 Zeitleiste
   --------------------------------------------------------- */

.dg-inklusion-timeline {
    position: relative;
    margin: 65px auto 30px;
    padding: 20px 0;
}

/* Senkrechte Mittellinie */

.dg-inklusion-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 4px;

    background: linear-gradient(
        to bottom,
        #F5D77B,
        #E5BD4D,
        #F5D77B
    );

    border-radius: 4px;
}

/* Einzelne Station */

.dg-inklusion-ereignis {
    position: relative;
    width: 50%;
    padding: 0 45px 55px 0;
}

/* Abwechselnd rechts */

.dg-inklusion-ereignis:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 55px 45px;
}

/* Punkte auf der Mittellinie */

.dg-inklusion-ereignis::before {
    content: "";
    position: absolute;
    top: 20px;
    right: -11px;

    width: 22px;
    height: 22px;

    background: #FFFFFF;
    border: 5px solid #E7BC46;
    border-radius: 50%;
    z-index: 2;

    box-shadow: 0 0 0 6px #FFF8E5;
}

.dg-inklusion-ereignis:nth-child(even)::before {
    right: auto;
    left: -11px;
}

/* Datum */

.dg-inklusion-datum {
    display: inline-block;
    padding: 8px 17px;
    margin-bottom: 15px;

    background: #F5D77B;
    color: #333333;

    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 30px;
}

/* Ereigniskarte */

.dg-inklusion-inhalt {
    background: #FFFFFF;
    padding: 28px 30px;

    border: 1px solid #EEEEEE;
    border-radius: 16px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.dg-inklusion-inhalt h3 {
    margin-top: 0;
}

.dg-inklusion-inhalt p:last-child {
    margin-bottom: 0;
}

/* Hover-Effekt */

@media (hover: hover) and (pointer: fine) {

    .dg-inklusion-inhalt:hover {
        transform: translateY(-6px);
        border-color: #F5D77B;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.11);
    }

}


/* ---------------------------------------------------------
   19.4 Historische Bilder innerhalb der Zeitleiste
   --------------------------------------------------------- */

.dg-inklusion-inhalt img {
    display: block;
    width: 100%;
    height: auto;

    margin: 20px 0 10px;
    border-radius: 12px;

    filter: saturate(0.9);

    transition:
        filter 0.4s ease,
        transform 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {

    .dg-inklusion-inhalt img:hover {
        filter: saturate(1.15);
        transform: scale(1.02);
    }

}


/* ---------------------------------------------------------
   19.5 Drei Nutzungskarten
   --------------------------------------------------------- */

.dg-inklusion-nutzung {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.dg-inklusion-nutzungskarte {
    position: relative;

    background: var(--dg-gelb-mittel);
    padding: 35px 28px;

    border-radius: 18px;
    border: 1px solid #EEEEEE;
    border-top: 5px solid var(--inklusion-gelb);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.dg-inklusion-nutzungskarte h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.dg-inklusion-nutzungskarte p:last-child {
    margin-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {

    .dg-inklusion-nutzungskarte:hover {
        transform: translateY(-8px);
        background: #FFF9E9;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
    }

}


/* ---------------------------------------------------------
   19.6 Hinweis zur Nutzung und Belegung
   --------------------------------------------------------- */

.dg-inklusion-hinweis {
    margin-top: 40px;
    padding: 35px 40px;

    background: var(--inklusion-gelb-hell);

    border-left: 5px solid #E5BD4D;
    border-radius: 0 16px 16px 0;
}

.dg-inklusion-hinweis h3 {
    margin-top: 0;
    margin-bottom: 18px;
}

.dg-inklusion-hinweis p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   19.7 Abschlussbereich
   --------------------------------------------------------- */

.dg-inklusion-abschluss {
    text-align: center;

    margin-top: 80px;
    padding: 55px 45px;

    background: linear-gradient(
        135deg,
        #FFF9E9,
        #F7E6AE
    );

    border-radius: 22px;
}

.dg-inklusion-abschluss h2 {
    margin-bottom: 30px;
}

.dg-inklusion-abschluss p {
    max-width: 800px;
    margin: 0 auto 18px;
    font-size: 1.08rem;
}

.dg-inklusion-abschluss p:last-child {
    font-weight: 700;
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   19.8 Tablet
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .dg-inklusion-nutzung {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dg-inklusion-ereignis {
        padding-right: 30px;
    }

    .dg-inklusion-ereignis:nth-child(even) {
        padding-left: 30px;
    }

}


/* ---------------------------------------------------------
   19.9 Smartphone
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .dg-inklusionshaus {
        padding: 10px 5px 40px;
    }

    .dg-inklusion-intro {
        padding: 35px 22px;
        margin-bottom: 65px;
    }

    .dg-inklusion-intro p:not(.dg-inklusion-untertitel) {
        font-size: 1rem;
    }

    .dg-inklusion-untertitel {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .dg-inklusion-abschnitt {
        margin-bottom: 65px;
    }

    /* Zeitleiste links statt mittig */

    .dg-inklusion-timeline {
        margin-top: 40px;
    }

    .dg-inklusion-timeline::before {
        left: 11px;
        transform: none;
    }

    .dg-inklusion-ereignis,
    .dg-inklusion-ereignis:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 35px 40px;
    }

    .dg-inklusion-ereignis::before,
    .dg-inklusion-ereignis:nth-child(even)::before {
        left: 2px;
        right: auto;
    }

    .dg-inklusion-inhalt {
        padding: 23px 20px;
    }

    .dg-inklusion-datum {
        font-size: 0.85rem;
        padding: 7px 13px;
    }

    /* Nutzungskarten untereinander */

    .dg-inklusion-nutzung {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dg-inklusion-nutzungskarte {
        padding: 28px 23px;
    }

    .dg-inklusion-hinweis {
        padding: 28px 23px;
    }

    .dg-inklusion-abschluss {
        padding: 40px 25px;
        margin-top: 50px;
    }

    .dg-inklusion-abschluss p {
        font-size: 1rem;
    }

}


/* =========================================================
   20. SONNENHOF
   Beitrag 100
   ========================================================= */

.dg-sonnenhof {
    max-width: 1180px;
    margin: 0 auto;
    color: #333333;
    line-height: 1.8;
}

.dg-sonnenhof * {
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   20.1 Einleitung
   --------------------------------------------------------- */

.dg-sh-hero {
    text-align: center;
    padding: 55px 30px;

    background: linear-gradient(
        135deg,
        #F6F5E9,
        #E9F0DF
    );

    border-radius: 22px;
    margin-bottom: 45px;
}

.dg-sh-eyebrow {
    color: #66814B;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dg-sh-hero h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    margin: 15px 0 25px;
    color: #405B38;
}

.dg-sh-hero p {
    max-width: 830px;
    margin: 0 auto 18px;
    font-size: 18px;
}


/* ---------------------------------------------------------
   20.2 Allgemeine Abschnitte
   --------------------------------------------------------- */

.dg-sh-section {
    margin: 55px 0;
}

.dg-sh-section h2 {
    color: #405B38;
    font-size: clamp(25px, 3vw, 34px);
    margin-bottom: 22px;
}

.dg-sh-section > p {
    max-width: 950px;
}


/* ---------------------------------------------------------
   20.3 Drei Themenkarten
   --------------------------------------------------------- */

.dg-sh-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.dg-sh-card {
    padding: 30px 25px;

    background: var(--dg-gelb-hell);
    border-radius: 16px;
    border-top: 5px solid #A4BB8B;

    box-shadow: var(--dg-schatten);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

@media (hover: hover) {

    .dg-sh-card:hover {
        transform: translateY(-7px);
        box-shadow: var(--dg-schatten-hover);
    }

}

.dg-sh-icon {
    font-size: 34px;
    margin-bottom: 15px;
}

.dg-sh-card h3 {
    color: #405B38;
    font-size: 22px;
    margin: 0 0 15px;
}


/* ---------------------------------------------------------
   20.4 Inklusion
   --------------------------------------------------------- */

.dg-sh-highlight {
    background: var(--dg-gelb-mittel);
    border-radius: 20px;
    padding: 38px;
    margin: 55px 0;
    border-left: 6px solid #D3BC73;
}

.dg-sh-highlight h2 {
    color: #5A5835;
    margin-top: 0;
}


/* ---------------------------------------------------------
   20.5 Zitat
   --------------------------------------------------------- */

.dg-sh-quote {
    text-align: center;
    font-size: 23px;
    line-height: 1.6;
    font-style: italic;
    color: #526C46;
    max-width: 850px;
    margin: 55px auto;
    padding: 20px;
}


/* ---------------------------------------------------------
   20.6 Sonnenhofblatt – Archiv
   --------------------------------------------------------- */

.dg-sh-archive {
    background: #F7F8F3;
    padding: 40px 30px;
    border-radius: 20px;
    margin: 55px 0;
}

.dg-sh-archive h2 {
    text-align: center;
    color: #405B38;
}

.dg-sh-archive-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 35px;
}

.dg-sh-issues {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* Einzelne Zeitungskacheln */

.dg-sh-issue {
    background: var(--dg-gelb-hell);
    border-radius: 16px;
    overflow: hidden;

    box-shadow: var(--dg-schatten);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

@media (hover: hover) {

    .dg-sh-issue:hover {
        transform: translateY(-5px);
        box-shadow: var(--dg-schatten-hover);
    }

}

/* Kopfbereich der Zeitungskachel */

.dg-sh-issue-top {
    background: linear-gradient(
        135deg,
        #789566,
        #B1C79C
    );

    padding: 30px 20px;
    text-align: center;
    color: #FFFFFF;
}

.dg-sh-issue-top span {
    display: block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dg-sh-issue-top strong {
    display: block;
    font-size: 42px;
    line-height: 1.3;
}

/* Textbereich */

.dg-sh-issue-body {
    padding: 22px;
    text-align: center;
}

.dg-sh-issue-body h3 {
    font-size: 19px;
    margin: 0 0 10px;
    color: #405B38;
}

.dg-sh-issue-body p {
    font-size: 14px;
    margin-bottom: 20px;
}


/* ---------------------------------------------------------
   20.7 Schaltflächen
   --------------------------------------------------------- */

.dg-sh-button {
    display: inline-block;
    padding: 11px 20px;

    background: #688753;
    color: #FFFFFF !important;

    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;

    transition: background 0.3s ease;
}

.dg-sh-button:hover {
    background: #405B38;
    color: #FFFFFF !important;
}

.dg-sh-button-light {
    background: #E5E9DE;
    color: #405B38 !important;
}

.dg-sh-button-light:hover {
    background: #D3DFC8;
    color: #405B38 !important;
}


/* ---------------------------------------------------------
   20.8 Kontakt
   --------------------------------------------------------- */

.dg-sh-info {
    background: #FFFFFF;
    border: 1px solid #E2E8DA;
    border-radius: 15px;
    padding: 28px;
    margin-top: 30px;
}

.dg-sh-info h3 {
    color: #405B38;
    margin-top: 0;
}


/* ---------------------------------------------------------
   20.9 Abschluss
   --------------------------------------------------------- */

.dg-sh-footer {
    text-align: center;
    padding: 35px 20px 50px;
}

.dg-sh-footer h2 {
    color: #405B38;
}


/* ---------------------------------------------------------
   20.10 Tablet
   --------------------------------------------------------- */

@media (max-width: 850px) {

    .dg-sh-grid,
    .dg-sh-issues {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

/* Smartphone */

@media (max-width: 600px) {

    .dg-sh-grid,
    .dg-sh-issues {
        grid-template-columns: 1fr;
    }

    .dg-sh-hero {
        padding: 35px 20px;
    }

    .dg-sh-highlight,
    .dg-sh-archive {
        padding: 28px 20px;
    }

    .dg-sh-quote {
        font-size: 20px;
    }

}


/* =========================================================
   21. SCHÜTZENKOMPANIE SPREDA
   Beitrag 101
   Vereinsfarben Rot / Weiß / Grau
   ========================================================= */

.dg-schuetzen-spreda {
    --dg-red: #A52E36;
    --dg-red-dark: #782027;
    --dg-red-light: #F9EDED;
    --dg-text: #333333;
    --dg-muted: #666666;

    max-width: 1120px;
    margin: 0 auto;
    padding: 15px 10px 60px;

    color: var(--dg-text);
    line-height: 1.8;
}


/* ---------------------------------------------------------
   21.1 Allgemeine Überschriften
   --------------------------------------------------------- */

.dg-schuetzen-spreda h2 {
    color: var(--dg-red-dark);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 22px;
}

.dg-schuetzen-spreda h3 {
    color: var(--dg-red);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 28px 0 10px;
}

.dg-schuetzen-spreda p {
    margin: 0 0 17px;
}


/* ---------------------------------------------------------
   21.2 Kopfbereich
   --------------------------------------------------------- */

.dg-schuetzen-spreda > header {
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #F9EDED 100%
    );

    border-radius: 22px;
    border-left: 6px solid var(--dg-red);

    padding: 55px 50px;
    margin-bottom: 45px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.055);
}

.dg-schuetzen-spreda > header::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -90px;

    width: 260px;
    height: 260px;

    border: 45px solid rgba(165, 46, 54, 0.055);
    border-radius: 50%;

    pointer-events: none;
}

.dg-schuetzen-spreda > header > p:first-child {
    display: inline-block;

    color: var(--dg-red);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    margin-bottom: 18px;
}

.dg-schuetzen-spreda > header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dg-red-dark);
    margin-bottom: 20px;
}

.dg-schuetzen-spreda > header > p {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.dg-schuetzen-spreda > header > p:last-child {
    font-size: 1.18rem;
    line-height: 1.7;
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   21.3 Inhaltsbereiche
   --------------------------------------------------------- */

.dg-schuetzen-spreda > section {
    background: #FFFFFF;

    border: 1px solid #ECE8E8;
    border-radius: 18px;

    padding: 38px 42px;
    margin-bottom: 28px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.035);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

@media (hover: hover) {

    .dg-schuetzen-spreda > section:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.075);
        border-color: #DFB8BB;
    }

}

/* Überschriften in Inhaltsbereichen */

.dg-schuetzen-spreda > section h2 {
    position: relative;
    padding-bottom: 17px;
}

.dg-schuetzen-spreda > section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 65px;
    height: 4px;

    background: var(--dg-red);
    border-radius: 4px;
}

/* Abwechselnde Hintergründe */

.dg-schuetzen-spreda > section:nth-of-type(even) {
    background: #FAF7F7;
}

.dg-schuetzen-spreda > section:nth-of-type(3) {
    background: linear-gradient(
        135deg,
        #FFFAFA 0%,
        #F8EEEE 100%
    );
}

/* Unterüberschriften */

.dg-schuetzen-spreda > section h3 {
    border-left: 3px solid var(--dg-red);
    padding-left: 15px;
}


/* ---------------------------------------------------------
   21.4 Abschlussbereich
   --------------------------------------------------------- */

.dg-schuetzen-spreda > footer {
    background: linear-gradient(
        135deg,
        #A52E36 0%,
        #782027 100%
    );

    color: #FFFFFF;

    padding: 45px 48px;
    border-radius: 20px;
    margin-top: 35px;

    box-shadow: 0 12px 30px rgba(120, 32, 39, 0.15);
}

.dg-schuetzen-spreda > footer h2 {
    color: #FFFFFF;
}

.dg-schuetzen-spreda > footer p {
    font-size: 1.08rem;
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   21.5 Smartphone
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .dg-schuetzen-spreda {
        padding: 10px 0 35px;
    }

    .dg-schuetzen-spreda > header {
        padding: 32px 25px;
        border-radius: 15px;
        margin-bottom: 25px;
    }

    .dg-schuetzen-spreda > section {
        padding: 28px 24px;
        border-radius: 14px;
        margin-bottom: 20px;
    }

    .dg-schuetzen-spreda > footer {
        padding: 32px 25px;
        border-radius: 15px;
    }

    .dg-schuetzen-spreda > header > p:last-child {
        font-size: 1.05rem;
    }

}
/* =========================================================
   22. STARTSEITE – JAHRESARCHIV
   Sektion 7b
   ========================================================= */

/* Modul über die gesamte Breite */

#t4-section-7b .module-inner > .row {
    display: block !important;
    margin: 0 !important;
}

#t4-section-7b .module-head-group {
    display: none !important;
}

#t4-section-7b .module-ct {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}

/* Gesamter Teaser */

.dg-jahresarchiv-teaser {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
    text-align: center;
}

/* Teaserbild */

.dg-jahresarchiv-teaser-bild {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
}

.dg-jahresarchiv-teaser-bild img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* Bildeffekt */

@media (hover: hover) {
    .dg-jahresarchiv-teaser-bild:hover img {
        transform: scale(1.025);
        filter: brightness(1.05);
    }
}

/* Textbereich */

.dg-jahresarchiv-teaser-inhalt {
    max-width: 850px;
    margin: 30px auto 0;
}

.dg-jahresarchiv-teaser-inhalt h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: #333333;
    margin-bottom: 20px;
}

.dg-jahresarchiv-teaser-inhalt p {
    font-size: 17px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 28px;
}

/* Schaltfläche */

.dg-jahresarchiv-teaser-button {
    display: inline-block;
    padding: 13px 28px;
    background: #E6C45A;
    color: #333333 !important;
    border-radius: 7px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dg-jahresarchiv-teaser-button:hover {
    background: #D6AD32;
    color: #222222 !important;
    transform: translateY(-3px);
}

/* Smartphone */

@media (max-width: 575px) {
    .dg-jahresarchiv-teaser {
        padding: 0 15px 35px;
    }

    .dg-jahresarchiv-teaser-inhalt {
        margin-top: 22px;
    }

    .dg-jahresarchiv-teaser-inhalt p {
        font-size: 16px;
    }
}


/* =========================================================
   23. JAHRESARCHIV
   Beitrag 115
   ========================================================= */

.dg-jahresarchiv {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 20px 65px;
}

/* Einleitung */

.dg-jahresarchiv-intro {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

.dg-jahresarchiv-intro h2 {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    color: #333333;
    margin-bottom: 22px;
}

.dg-jahresarchiv-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: #555555;
}

/* Jahresübersicht */

.dg-jahresarchiv-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Einzelne Jahreskachel */

.dg-jahreskarte {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 205px;
    padding: 25px 15px;

    background: var(--dg-gelb-hell);
    border: 1px solid var(--dg-gelb-rahmen);
    border-radius: 16px;

    box-shadow: var(--dg-schatten);
    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Hover-Effekt */

@media (hover: hover) {
    .dg-jahreskarte:hover {
        transform: translateY(-7px);
        box-shadow: var(--dg-schatten-hover);
        border-color: #D8B44A;
    }
}

/* Beschriftung */

.dg-jahreskarte-label {
    font-size: 15px;
    color: #888888;
    margin-bottom: 8px;
}

/* Jahreszahl */

.dg-jahreskarte-jahr {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.2;
    color: #333333;
}

/* Unterer Hinweis */

.dg-jahreskarte-info {
    margin-top: 14px;
    font-size: 13px;
    color: #B18B24;
    font-weight: 600;
}

/* Zukünftiges Jahr */

.dg-jahr-zukunft {
    background: var(--dg-gelb-hell);
    border-style: dashed;
}

.dg-jahr-zukunft .dg-jahreskarte-info {
    color: #999999;
}

/* Tablet */

@media (max-width: 991px) {
    .dg-jahresarchiv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphone */

@media (max-width: 575px) {
    .dg-jahresarchiv {
        padding: 30px 15px 45px;
    }

    .dg-jahresarchiv-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dg-jahreskarte {
        min-height: 155px;
    }
}


/* =========================================================
   24. DORFERNEUERUNG – ÜBERSICHTSKACHELN
   ========================================================= */

.dg-dorferneuerung-kacheln {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 40px 0;
}

/* Einzelne Kachel */

.dg-dorferneuerung-kachel {
    display: flex;
    flex-direction: column;
    padding: 30px;

    background: var(--dg-gelb-hell);
    border: 2px solid var(--dg-gelb-rahmen);
    border-radius: 16px;

    box-shadow: var(--dg-schatten);

    text-decoration: none !important;
    color: #333333;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.dg-dorferneuerung-kachel h3 {
    margin: 0 0 15px;
    font-size: 1.4rem;
    color: #333333;
}

.dg-dorferneuerung-kachel p {
    flex-grow: 1;
    margin: 0 0 22px;
    line-height: 1.65;
    color: #555555;
}

.dg-dorferneuerung-kachel span {
    font-weight: 600;
    color: var(--dg-gold);
}

/* Hover-Effekt */

@media (hover: hover) {
    .dg-dorferneuerung-kachel:hover {
        transform: translateY(-7px);
        border-color: #D6B35A;
        box-shadow: var(--dg-schatten-hover);
    }
}

/* Tastaturbedienung */

.dg-dorferneuerung-kachel:focus-visible {
    outline: 3px solid var(--dg-gold);
    outline-offset: 4px;
}


/* =========================================================
   25. ARBEITSKREIS – MITGLIEDERLISTE
   ========================================================= */

.dg-arbeitskreis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 30px 0 40px;
}

.dg-arbeitskreis > div {
    min-width: 0;
    padding: 22px;

    background: var(--dg-gelb-hell);
    border-radius: 16px;
    box-shadow: var(--dg-schatten);
}

.dg-arbeitskreis p {
    margin: 0 0 22px;
    line-height: 1.55;
    color: #555555;
}

.dg-arbeitskreis p:last-child {
    margin-bottom: 0;
}

.dg-arbeitskreis strong {
    color: #333333;
}


/* =========================================================
   26. SITZUNGSPROTOKOLLE
   ========================================================= */

.dg-protokolle {
    margin: 25px 0 40px;
    padding: 0;

    background: var(--dg-gelb-mittel);
    border: 1px solid #E8DDB5;
    border-radius: 12px;

    overflow: hidden;
}

.dg-protokolle summary {
    padding: 18px 22px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    background: var(--dg-gelb-mittel);
}

.dg-protokolle summary:hover {
    background: #F5EDBF;
}

.dg-protokolle ol {
    margin: 0;
    padding: 20px 25px 25px 55px;
}

.dg-protokolle li {
    padding: 5px 0;
    line-height: 1.6;
}

.dg-protokolle a {
    color: var(--dg-gold);
    text-decoration: none;
}

.dg-protokolle a:hover {
    text-decoration: underline;
}


/* =========================================================
   27. DORFERNEUERUNG UND ARBEITSKREIS
   RESPONSIVE DARSTELLUNG
   ========================================================= */

/* Tablet */

@media (max-width: 991px) {
    .dg-arbeitskreis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphone */

@media (max-width: 650px) {
    .dg-dorferneuerung-kacheln,
    .dg-arbeitskreis {
        grid-template-columns: 1fr;
    }

    .dg-dorferneuerung-kachel {
        padding: 24px;
    }

    .dg-arbeitskreis > div {
        padding: 18px;
    }
}


/* =========================================================
   28. FOTOARCHIV – MODUL 132
   Volle Breite des Modulinhalts
   ========================================================= */

#Mod132 .module-inner > .row {
    display: block !important;
    margin: 0 !important;
}

#Mod132 .module-head-group {
    display: none !important;
}

#Mod132 .module-ct {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}


/* =========================================================
   29. FOTOARCHIV
   Beitrag 113
   ========================================================= */

/* Jahresauswahl */

.dg-fotoarchiv #fotoarchiv-oben .btn {
    background: #F4D875 !important;
    color: #303030 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;

    transition: all 0.3s ease;
}

.dg-fotoarchiv #fotoarchiv-oben .btn:hover {
    background: #E8C65C !important;
    color: #222222 !important;
    transform: translateY(-3px);
}

/* Abstand zwischen den Jahrgängen */

.dg-fotoarchiv .dg-archive section {
    margin-bottom: 55px;
    scroll-margin-top: 110px;
}

/* Jahresüberschriften */

.dg-fotoarchiv .dg-archive .year {
    font-size: 32px;
    font-weight: 700;
    color: #333333;

    margin: 0 0 25px;
    padding-bottom: 12px;

    border-bottom: 3px solid #F4D875;
}

/* Veranstaltungskarten */

.dg-fotoarchiv .dg-archive .grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.dg-fotoarchiv .dg-archive .card {
    display: block;
    background: var(--dg-gelb-hell);
    border: 1px solid var(--dg-gelb-rahmen);
    border-radius: 16px;
    padding: 24px;

    box-shadow: var(--dg-schatten);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

@media (hover: hover) {
    .dg-fotoarchiv .dg-archive .card:hover {
        transform: translateY(-5px);
        box-shadow: var(--dg-schatten-hover);
    }
}

/* Veranstaltungsüberschriften */

.dg-fotoarchiv .dg-archive .card h3 {
    font-size: 19px;
    line-height: 1.4;
    color: #333333;
    margin: 0 0 16px;
}

/* Galerielinks */

.dg-fotoarchiv .dg-archive .card ul {
    margin: 0 0 15px;
    padding-left: 20px;
}

.dg-fotoarchiv .dg-archive .card li {
    margin-bottom: 8px;
}

.dg-fotoarchiv .dg-archive .card a {
    color: #806000;
    text-decoration: none;
    font-weight: 500;
}

.dg-fotoarchiv .dg-archive .card a:hover {
    text-decoration: underline;
}

/* Bildnachweise */

.dg-fotoarchiv .dg-archive .credit {
    font-size: 13px;
    line-height: 1.5;
    color: #777777;
    margin-top: 15px;
}

/* Zurück zur Jahresauswahl */

.dg-fotoarchiv .dg-archive .back {
    text-align: right;
    margin-top: 22px;
}

.dg-fotoarchiv .dg-archive .back a {
    color: #806000;
    font-weight: 600;
    text-decoration: none;
}

.dg-fotoarchiv .dg-archive .back a:hover {
    text-decoration: underline;
}

/* Einheitliche Bilder */

.dg-fotoarchiv .dg-archive .card img {
    display: block;
    width: 100% !important;
    height: 220px !important;

    object-fit: cover !important;
    object-position: center !important;

    border-radius: 8px;
    margin-bottom: 12px;
}

/* Tablet */

@media (max-width: 991px) {
    .dg-fotoarchiv .dg-archive .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphone */

@media (max-width: 575px) {
    .dg-fotoarchiv .dg-archive .grid {
        grid-template-columns: 1fr;
    }

    .dg-fotoarchiv .dg-archive .card {
        padding: 20px;
    }
}


/* =========================================================
   30. DÖRPERBLATT – ARCHIV
   Beitrag 92
   ========================================================= */

/* Drei Spalten */

.doerperblatt-archiv {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 30px 0;
    align-items: stretch;
}

/* Einzelne Ausgabe */

.doerperblatt-archiv .doerperblatt-kachel {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
    padding: 16px;

    background: var(--dg-gelb-hell);
    border: 1px solid var(--dg-gelb-rahmen);
    border-radius: 16px;

    color: #333333;
    text-decoration: none !important;

    box-shadow: var(--dg-schatten);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* Titelseiten */

.doerperblatt-archiv .doerperblatt-kachel img {
    display: block;
    width: 100% !important;
    max-width: 260px !important;
    height: auto !important;
    max-height: none !important;

    margin: 0 auto !important;

    object-fit: contain;
    border-radius: 4px;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

/* Beschriftung */

.doerperblatt-archiv .doerperblatt-titel {
    display: block;
    margin-top: 14px;
    color: #333333;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

/* Hover-Effekt */

@media (hover: hover) {
    .doerperblatt-archiv .doerperblatt-kachel:hover {
        transform: translateY(-5px);
        box-shadow: var(--dg-schatten-hover);
    }
}

/* Tablet */

@media (max-width: 991px) {
    .doerperblatt-archiv {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Smartphone */

@media (max-width: 600px) {
    .doerperblatt-archiv {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .doerperblatt-archiv .doerperblatt-kachel img {
        max-width: 240px !important;
    }
}
/* =========================================================
   31. BILDUNTERSCHRIFTEN – WEGEGENOSSENSCHAFTEN
   ========================================================= */

.dg-wege-spreda figure figcaption,
.dg-wege-deindrup figure figcaption {
    background: transparent !important;
    color: #333333 !important;
    padding: 10px 0 !important;
    border: none !important;
    box-shadow: none !important;
}


/* =========================================================
   32. GESCHICHTE UNSERER DÖRFER
   Beitrag 109
   ========================================================= */

.dg-geschichte {
    max-width: 1120px;
    margin: 0 auto;
    padding: 15px 10px 60px;
    color: #333333;
    line-height: 1.8;
}

/* Überschriften */

.dg-geschichte h2 {
    color: #333333;
    margin-bottom: 22px;
}

.dg-geschichte h3 {
    color: #806000;
}

/* Aufklappbare Bereiche */

.dg-geschichte details {
    margin: 20px 0;
    border: 1px solid #E8DDB5;
    border-radius: 12px;
    overflow: hidden;
    background: #FFFFFF;
}

/* Überschrift des Klappbereichs */

.dg-geschichte summary {
    padding: 18px 22px;
    background: var(--dg-gelb-mittel);
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

/* Hover */

.dg-geschichte summary:hover {
    background: #F5EDBF;
}

/* Geöffneter Bereich */

.dg-geschichte details[open] summary {
    border-bottom: 1px solid #E8DDB5;
}


/* =========================================================
   33. JAHRESARCHIV – EINHEITLICHE BERICHTSKARTEN
   Joomla-Kategorieblog
   ========================================================= */

/* Gleich hohe Karten */

.com-content-category-blog .blog-items {
    align-items: stretch;
}

.com-content-category-blog .blog-items .items-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.com-content-category-blog .blog-items .items-row > div {
    display: flex;
    flex-direction: column;
}

/* Einzelne Berichtskarte */

.com-content-category-blog .blog-items .item,
.com-content-category-blog .blog-items .blog-item {
    display: flex;
    flex-direction: column;

    min-width: 0;
    height: 100%;

    background: var(--dg-gelb-hell);
    border: 1px solid var(--dg-gelb-rahmen);
    border-radius: 16px;

    padding: 22px;
    margin-bottom: 25px;

    box-shadow: var(--dg-schatten);
    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Hover */

@media (hover: hover) {

    .com-content-category-blog .blog-items .item:hover,
    .com-content-category-blog .blog-items .blog-item:hover {
        transform: translateY(-6px);
        border-color: #DFC77B;
        box-shadow: var(--dg-schatten-hover);
    }

}

/* Bildcontainer */

.com-content-category-blog .blog-items .item-image,
.com-content-category-blog .blog-items
.dg-jahresbericht-bildlink {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    float: none !important;
    overflow: hidden;
    border-radius: 10px;
}

/* Vorschaubilder */

.com-content-category-blog .blog-items .item-image img,
.com-content-category-blog .blog-items
.dg-jahresbericht-bild {
    display: block;

    width: 100% !important;
    max-width: 100% !important;

    height: 220px !important;
    max-height: 220px !important;

    object-fit: cover !important;
    object-position: center center !important;

    margin: 0 !important;
    border-radius: 10px;

    transition: transform 0.4s ease;
}

/* Bildvergrößerung */

@media (hover: hover) {

    .com-content-category-blog .blog-items
    .item-image:hover img,

    .com-content-category-blog .blog-items
    .dg-jahresbericht-bildlink:hover img {
        transform: scale(1.04);
    }

}

/* Beitragsüberschriften */

.com-content-category-blog .blog-items
.page-header h2 {
    font-size: 23px;
    line-height: 1.35;
    margin: 0 0 15px;
}

.com-content-category-blog .blog-items
.page-header h2 a {
    color: #333333 !important;
    text-decoration: none !important;
}

.com-content-category-blog .blog-items
.page-header h2 a:hover {
    color: var(--dg-gold) !important;
}

/* Textcontainer */

.com-content-category-blog .blog-items
.item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

/* Vorschautext auf vier Zeilen begrenzen */

.com-content-category-blog .blog-items .item-intro,
.com-content-category-blog .blog-items
.dg-jahresbericht-vorschau {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;

    overflow: hidden;
    max-height: 6.8em;

    line-height: 1.7;
    color: #444444;
}

/* Bei älteren Joomla-Berichten:
   Nur den ersten direkten Textabsatz anzeigen */

.com-content-category-blog .blog-items
.item .item-content > p {
    display: none !important;
}

.com-content-category-blog .blog-items
.item .item-content > p:first-of-type {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;

    overflow: hidden;
    max-height: 6.8em;
    line-height: 1.7;
}

/* Beitragsinformationen */

.com-content-category-blog .blog-items
.article-info {
    color: #777777;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Hinweis am Kartenende */

.com-content-category-blog .blog-items
.dg-jahresbericht-hinweis {
    margin-top: auto;
    padding-top: 18px;

    color: var(--dg-gold);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

/* Bilder innerhalb des Vorschautextes */

.com-content-category-blog .blog-items
.item .item-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 15px auto !important;
    float: none !important;
}

/* Tablet */

@media (max-width: 991px) {

    .com-content-category-blog .blog-items
    .item-image img,

    .com-content-category-blog .blog-items
    .dg-jahresbericht-bild {
        height: 200px !important;
        max-height: 200px !important;
    }

}

/* Smartphone */

@media (max-width: 600px) {

    .com-content-category-blog .blog-items .item,
    .com-content-category-blog .blog-items
    .blog-item {
        padding: 18px;
    }

    .com-content-category-blog .blog-items
    .page-header h2 {
        font-size: 21px;
    }

    .com-content-category-blog .blog-items
    .item-image img,

    .com-content-category-blog .blog-items
    .dg-jahresbericht-bild {
        height: 190px !important;
        max-height: 190px !important;
    }

}


/* =========================================================
   34. MENSCHEN UNSERER DÖRFER
   Beitrag 286 / Modul 136
   ========================================================= */

/* Listenformatierung entfernen */

.dg-menschen .mod-articles-items {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dg-menschen .mod-articles-items > li {
    list-style: none !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
}

/* Einzelner Link */

.dg-menschen .mod-articles-link {
    display: block !important;
    position: relative;

    padding: 12px 42px 12px 18px !important;

    background: var(--dg-gelb-mittel) !important;
    border: 1px solid var(--dg-gelb-rahmen);
    border-radius: 8px;

    color: #465A46 !important;

    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;

    text-decoration: none !important;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

/* Pfeil rechts */

.dg-menschen .mod-articles-link::after {
    content: "›";

    position: absolute;
    right: 17px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 22px;
    font-weight: 400;
}

/* Hover */

.dg-menschen .mod-articles-link:hover {
    background: #F7EDC9 !important;
    color: #354735 !important;
    transform: translateX(3px);
}

/* Smartphone */

@media (max-width: 767px) {

    .dg-menschen .mod-articles-link {
        padding: 11px 35px 11px 14px !important;
        font-size: 16px !important;
    }

}


/* =========================================================
   35. HISTORISCHE BERICHTE
   ========================================================= */

.com-content-article .dg-archivbeitrag {
    background: var(--dg-gelb-hell) !important;

    border-radius: 14px;
    padding: 25px 30px;
    margin: 20px 0 30px;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
}

/* Bilder in historischen Berichten */

.com-content-article .dg-archivbeitrag img {
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    margin-bottom: 12px;
}

/* Fließtext */

.com-content-article .dg-archivbeitrag div {
    line-height: 1.7;
}


/* =========================================================
   36. EINHEITLICHER ARTIKELHINTERGRUND
   ========================================================= */

/* Gesamter Joomla-Beitrag */

.com-content-article {
    background-color: var(--dg-gelb-hell) !important;

    padding: 30px !important;
    border-radius: 12px;
}

/* Innere Inhaltscontainer */

.com-content-article .com-content-article__body,
.com-content-article .article-body,
.com-content-article .article-content,
.com-content-article
.com-content-article__body > div {
    background-color: var(--dg-gelb-hell) !important;
}


/* =========================================================
   37. BILDUNTERSCHRIFTEN
   Gesamte Homepage
   ========================================================= */

figcaption,
.figure-caption,
.caption,
.img_caption,
.img_caption p {
    background: transparent !important;
    background-color: transparent !important;

    color: #555555 !important;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;

    text-align: center;

    padding: 6px 4px;
    margin-top: 4px;

    border: none;
    box-shadow: none;
}


/* =========================================================
   38. LIGHTBOX – BILDER VERGRÖSSERN
   ========================================================= */

/* Mauszeiger bei Beitragsbildern */

.com-content-article img {
    cursor: zoom-in;
}

/* Abdunkelung */

.dg-lightbox {
    display: none;

    position: fixed;
    inset: 0;
    z-index: 99999;

    background: rgba(0, 0, 0, 0.88);

    align-items: center;
    justify-content: center;

    padding: 30px;
    box-sizing: border-box;
}

/* Geöffnete Lightbox */

.dg-lightbox.dg-lightbox-open {
    display: flex;
}

/* Vergrößertes Bild */

.dg-lightbox img {
    display: block;

    max-width: 95%;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 8px 35px rgba(0, 0, 0, 0.5);
}

/* Schließen */

.dg-lightbox-close {
    position: absolute;

    top: 15px;
    right: 25px;

    background: transparent;
    border: none;

    color: #FFFFFF;

    font-size: 44px;
    line-height: 1;

    cursor: pointer;
    z-index: 100000;
}

/* Smartphone */

@media (max-width: 768px) {

    .dg-lightbox {
        padding: 15px;
    }

    .dg-lightbox img {
        max-width: 100%;
        max-height: 85vh;
    }

    .dg-lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 38px;
    }

}


/* =========================================================
   39. EINHEITLICHES KACHELDESIGN
   Gemeinsame Farben, Rahmen und Schatten
   ========================================================= */

/* Grundgestaltung */

#Mod118 .mod-articles-items > li,
.dg-kachel,
#Mod131 .dg-doerfer-karte,
.dg-dorferneuerung-kachel,
.dg-jahreskarte,
.com-content-category-blog .blog-items .item,
.com-content-category-blog .blog-items .blog-item,
.dg-fotoarchiv .dg-archive .card,
.doerperblatt-archiv .doerperblatt-kachel,
.dg-sh-card,
.dg-sh-issue,
.dg-vorstand-karte,
.dg-arbeitskreis > div {
    background: var(--dg-gelb-hell) !important;
    border-color: var(--dg-gelb-rahmen) !important;
    box-shadow: var(--dg-schatten) !important;
    border-radius: 16px !important;
}

/* Etwas kräftigerer Gelbton */

.dg-protokolle,
.dg-geschichte summary,
.dg-inklusion-nutzungskarte,
.dg-sh-highlight,
.dg-menschen .mod-articles-link {
    background: var(--dg-gelb-mittel) !important;
}

/* Einheitliche Schatten beim Darüberfahren */

@media (hover: hover) {

    #Mod118 .mod-articles-items > li:hover,
    .dg-kachel:hover,
    #Mod131 .dg-doerfer-karte:hover,
    .dg-dorferneuerung-kachel:hover,
    .dg-jahreskarte:hover,
    .com-content-category-blog .blog-items .item:hover,
    .com-content-category-blog .blog-items .blog-item:hover,
    .dg-fotoarchiv .dg-archive .card:hover,
    .doerperblatt-archiv .doerperblatt-kachel:hover,
    .dg-sh-card:hover,
    .dg-sh-issue:hover,
    .dg-vorstand-karte:hover {
        box-shadow: var(--dg-schatten-hover) !important;
    }

}


/* =========================================================
   40. BARRIEREFREIHEIT
   Reduzierte Animationen
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    #Mod118 .mod-articles-items > li,
    .dg-kachel,
    #Mod131 .dg-doerfer-karte,
    .dg-dorferneuerung-kachel,
    .dg-jahreskarte,
    .com-content-category-blog .blog-items .item,
    .com-content-category-blog .blog-items .blog-item,
    .dg-fotoarchiv .dg-archive .card,
    .doerperblatt-archiv .doerperblatt-kachel,
    .dg-sh-card,
    .dg-sh-issue,
    .dg-vorstand-karte {
        transition: none !important;
        transform: none !important;
    }

}


/* =========================================================
   ENDE DER BEREINIGTEN CSS-DATEI
   DORFGEMEINSCHAFT SPREDA-DEINDRUP
   ========================================================= */

/* Inklusionshaus-Hintergrund im Fotoarchiv entfernen */
#t4-section-7a .bg-overlay.bg-overlay-image {
    background-image: none !important;
}
/* Jahresarchiv – Kachelübersicht */

.dg-jahresraster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.dg-jahreskachel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85px;
    background: #f5e6a8;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    color: #333;
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.dg-jahreskachel:hover {
    background: #efd77e;
    color: #333;
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    text-decoration: none;
}

@media (max-width: 600px) {
    .dg-jahresraster {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .dg-jahreskachel {
        min-height: 65px;
        font-size: 20px;
    }
}
/* Historisches Archiv – vor Gründung der Dorfgemeinschaft */

.dg-archiv-historisch {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 2px solid #e0e0e0;
}

.dg-jahresraster-alt .dg-jahreskachel {
    background: #e8e8e8;
    color: #444;
}

.dg-jahresraster-alt .dg-jahreskachel:hover {
    background: #d0d0d0;
    color: #222;
}
/* =========================================================
   41. STARTSEITE – ARCHIV-SCHALTFLÄCHEN
   Einheitlicher kräftiger Gelbton
   ========================================================= */

.dg-jahresarchiv-teaser-button,
#t4-section-7a a.btn,
#t4-section-7a .btn {
    background: #E6C45A !important;
    color: #333333 !important;
    border-color: #E6C45A !important;
}

.dg-jahresarchiv-teaser-button:hover,
#t4-section-7a a.btn:hover,
#t4-section-7a .btn:hover {
    background: #D6AD32 !important;
    color: #222222 !important;
    border-color: #D6AD32 !important;
}


/* =========================================================
   42. UNSERE DORFGEMEINSCHAFT – KACHELFORMAT
   Zwei Spalten, Bilder 16:9
   ========================================================= */

/* Zwei Kacheln nebeneinander */

.dg-kacheln {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

/* Gleichmäßige Kachelhöhen */

.dg-kacheln > .dg-kachel {
    height: 100%;
}

/* Bildbereich im Format 16:9 */

.dg-kacheln .dg-kachel-bild {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

/* Bilder vollständig auf 16:9 strecken */

.dg-kacheln .dg-kachel-bild img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* Smartphone: Kacheln untereinander */

@media (max-width: 650px) {
    .dg-kacheln {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .dg-kacheln .dg-kachel-bild {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}
/* =========================================================
   43. SCHRIFTFARBEN – BESSERE LESBARKEIT
   ========================================================= */

/* Allgemeiner Fließtext */
body {
    color: #222222;
}

/* Normale Überschriften */
h1, h2, h3, h4, h5, h6 {
    color: #222222;
}

/* Bildunterschriften */
figcaption,
.figure-caption {
    color: #444444 !important;
}
/* Kontaktseite – Überschriften und Schaltfläche */
.contact .contact-title h2,
.contact .contact-form-wrap h3 {
    color: #2c5065 !important;
}

.contact .btn-primary {
    color: #333333 !important;
}
/* =========================================
   DG – NAVIGATION
   ZURÜCK OBEN UND UNTEN / NACH OBEN
   ========================================= */

/* Zurück-Buttons oben und unten */

#dg-zurueck,
#dg-zurueck-oben {
    display: inline-block;
    padding: 11px 22px;
    background: #416e57;
    color: #ffffff;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
}

/* Abstand oberer Zurück-Button */

#dg-zurueck-oben {
    margin: 10px 0 25px;
}

/* Abstand unterer Zurück-Button */

#dg-zurueck {
    margin: 35px 0 20px;
}

/* Hover-Effekt */

#dg-zurueck:hover,
#dg-zurueck-oben:hover {
    background: #2c503e;
    color: #ffffff;
    transform: translateX(-4px);
}


/* =========================================
   NACH-OBEN-BUTTON
   ========================================= */

#dg-nach-oben {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;

    padding: 12px 18px;
    background: #416e57;
    color: #ffffff;

    border: none;
    border-radius: 10px;

    font-size: 15px;
    font-weight: 600;
    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition:
        opacity 0.3s,
        visibility 0.3s,
        transform 0.3s,
        background 0.3s;
}

/* Beim Scrollen sichtbar */

#dg-nach-oben.dg-sichtbar {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover-Effekt */

#dg-nach-oben:hover {
    background: #2c503e;
    transform: translateY(-3px);
}

/* Darstellung auf Smartphones */

@media (max-width: 767px) {

    #dg-nach-oben {
        right: 15px;
        bottom: 15px;
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Barrierefreiheit: Animationen reduzieren */

@media (prefers-reduced-motion: reduce) {

    #dg-zurueck,
    #dg-zurueck-oben,
    #dg-nach-oben {
        transition: none;
    }
}

/* =========================================================
   44. TERMINWALZEN – WIEDERHERGESTELLTE ERGÄNZUNGEN
   28.10.2026
   ========================================================= */

/* Beide äußeren Terminwalzen im vorhandenen Homepage-Gelb.
   Einzelne laufende Terminkarten bleiben unverändert. */
.dg-termine .dg-terminwalze {
    background-color: var(--dg-gelb-hell) !important;
}

/* Die gestern besprochene Höhe von 300 px betraf den
   Terminbereich. Vor Aktivierung bitte prüfen, ob die
   Terminwalzen als iFrame in Sektion 3 eingebunden sind.
   Daher bewusst noch NICHT als aktive Regel gesetzt.

#t4-section-3 iframe {
    height: 300px !important;
}
*/
/* =========================================================
   DG – HEADER-PANORAMA
   5 Motive im automatischen Wechsel
   4 Bilder + 1 Video
   Alle 4 Sekunden ein Wechsel
   Modul 115
   ========================================================= */

/* Panorama-Grundfläche */

#t4-hero .dg-panorama-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1920 / 550;
    background: #FFFBEA;
}

/* Gemeinsame Darstellung für Bilder und Video */

#t4-hero .dg-panorama-slider img,
#t4-hero .dg-panorama-slider video {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    animation-name: dgPanoramaWechsel;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

/* =========================================================
   ZEITSTEUERUNG
   ========================================================= */

/* Motiv 1 – Bild */

#t4-hero .dg-panorama-slider > :nth-child(1) {
    animation-delay: 0s;
}

/* Motiv 2 – Video */

#t4-hero .dg-panorama-slider > :nth-child(2) {
    animation-delay: -16s;
}

/* Motiv 3 – Bild */

#t4-hero .dg-panorama-slider > :nth-child(3) {
    animation-delay: -12s;
}

/* Motiv 4 – Bild */

#t4-hero .dg-panorama-slider > :nth-child(4) {
    animation-delay: -8s;
}

/* Motiv 5 – Bild */

#t4-hero .dg-panorama-slider > :nth-child(5) {
    animation-delay: -4s;
}

/* =========================================================
   WEICHE ÜBERBLENDUNG
   20 Sekunden Gesamtdauer
   ========================================================= */

@keyframes dgPanoramaWechsel {

    0% {
        opacity: 1;
    }

    16% {
        opacity: 1;
    }

    20% {
        opacity: 0;
    }

    96% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* =========================================================
   DG – BREADCRUMB-NAVIGATION
   ========================================================= */

/* Kategorie Uncategorised ausblenden */

.breadcrumb-item:has(a[href*="uncategorised"]),
.breadcrumb-item:has(a[href*="uncategorized"]) {
    display: none !important;
}

/* Doppelte Trennzeichen entfernen */

.breadcrumb-item::before {
    content: none !important;
}

/* Einheitliches Trennzeichen */

.breadcrumb-item + .breadcrumb-item::before {
    content: "›" !important;
    padding: 0 12px !important;
    color: #888 !important;
}