/*
Theme Name: Divi5Child
Description: Divi Child Theme
Version: 1.0.0
Template: Divi
*/

/* ========== Custom CSS from Generator ========== */

/* Fonts einbinden: */
@font-face {
  font-display: swap;
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200;
  src: url('/wp-content/themes/divi5child/fonts/plus-jakarta-sans-v12-latin-200.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  src: url('/wp-content/themes/divi5child/fonts/plus-jakarta-sans-v12-latin-300.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/divi5child/fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/themes/divi5child/fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  src: url('/wp-content/themes/divi5child/fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/wp-content/themes/divi5child/fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  src: url('/wp-content/themes/divi5child/fonts/plus-jakarta-sans-v12-latin-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(/wp-content/themes/divi5child/fonts/Material-Icons.woff2) format('woff2');
}

.gIcon {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 120%;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -moz-font-feature-settings: 'liga';
  -moz-osx-font-smoothing: grayscale;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}


body, h1, h2, h3, h4, h5, h6, input, button, select, textarea {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

body.menuOpen { overflow-y: hidden; }
/* h1 styling */
h1 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 800 !important;
    color: #333 !important;
    position: relative;
    display: inline-block; 
}
h1::after {
    content: "";
    display: block;
    width: 60px;          
    height: 4px;
    background: #2b6080;  
    margin-top: 10px;
    border-radius: 2px;
}

a {
    color: #2b6080;
}

/* Navieinstellungen Beginn: */
header { box-shadow:0 0 10px #aaaaaa; }
header .et_pb_column:nth-child(1) { width:334px; }
header .et_pb_column:nth-child(1) img { transition:all 0.5s ease-in-out; }
header { position:sticky; top:1px; z-index: 100;background-color: #fff; }
.main-header-row .et_pb_column:nth-child(4) { flex-basis:100%; }
header .et_pb_menu__wrap, header .et_pb_menu__menu, header .et-menu-nav, header #menu-header-navi { width:100%; }
.et_pb_menu .et_pb_menu__menu > nav > ul { justify-content: space-between; }
.et_pb_menu_0_tb_header.et_pb_menu ul li ul li a { font-size: 16px; line-height: 30px; }
.nav ul li a:hover, .et-menu a:hover { background-color: unset; opacity: unset; }
header .et_pb_menu .et-menu { margin:0; }
header .et_pb_menu .et-menu > li { padding:4px 10px 0 10px; }

header .gIcon { font-size: 250%; }
.iconText { display: inline-flex; align-items: center; column-gap:10px; }

.isSticky header .et_pb_column:nth-child(1) img { width:50px; }
.isSticky .main-header-row { row-gap:0; }
/*
#menu-header-navi { display: none !important; }
.et_mobile_nav_menu { display: block !important; }

.et_mobile_nav_menu .et_mobile_menu {
    width: 100vw !important;
    position: fixed !important;
    left: 0 !important;
    top: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}
.et_mobile_nav_menu .et_mobile_menu li {
    list-style-type: none !important;
    text-align: center !important;
    width: 100% !important;
}

.et_mobile_nav_menu .et_mobile_menu ul.sub-menu {
    display: none !important;
    visibility: hidden !important;
}

.et_mobile_nav_menu .et_mobile_menu li.visible > ul.sub-menu {
    display: block !important;
    visibility: visible !important;
}

.et_mobile_nav_menu .et_mobile_menu li a {
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
    display: block !important;
    padding: 12px 0 !important;
    border: none !important; 
}

.et_mobile_nav_menu .et_mobile_menu ul.sub-menu li a {
    font-size: 0.9em !important;
    background-color: rgba(0, 0, 0, 0.03) !important; 
}

.et_mobile_nav_menu .et_mobile_menu li.menu-item-has-children > a:after {
    content: " \25bc"; 
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}
*/

@media (max-width: 1660px) {
	header { padding:0 4%; }
}
/* Header Styling Desktop: */
@media (min-width: 981px) {
    /*
	.main-header-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 15px 0 !important;
    }
	*/
	/*
    .main-header-row .et_pb_column:nth-child(1) { flex: 0 0 220px !important; }
    .main-header-row .et_pb_column:nth-child(2) { flex: 1 !important; margin: 0 40px !important; }
    .main-header-row .et_pb_column:nth-child(3) { flex: 0 0 auto !important; }
    .main-header-row .et_pb_column:nth-child(4) { flex: 0 0 50px !important; display: flex; justify-content: flex-end; }
	*/
    .social-container {
        display: flex !important;       
        flex-direction: row !important; 
        gap: 15px;                      
        align-items: center;            
        justify-content: flex-end;      
        width: auto !important;         
    }
    .social-container img { width: 50px !important; height: auto !important; }
    .social-container p { display: inline-flex; align-items: center; }
}

/*Fixed Header */

/* Grundlegende Fixierung für Desktop & Mobile */
/*
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: #ffffff;
    padding: 0;
    transition: all 0.4s ease-in-out;
}
*/
/*
#page-container {
    padding-top: 0px !important; 
}
*/
/* Floating Glass-Header */
@media (max-width: 980px) {
    header .et_pb_column:nth-child(1) { width:auto; }

    
    /*.et_pb_section.main-header-section {
        top: 10px !important;
        width: 96% !important;
        left: 2% !important;
        border-radius: 50px !important; 
        background-color: rgba(255, 255, 255, 0.9)!important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
    }*/

    
    .main-header-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        padding: 8px 15px !important;
        gap: 0 !important;
    }

    /*
	.main-header-row .et_pb_column {
        width: auto !important;
        margin: 0 !important;
    }
	*/

    /* Spalte 1: Logo klein */
    .main-header-row .et_pb_column:nth-child(1) { order: 1; flex: 0 0 auto !important; }
    .main-header-row .et_pb_column:nth-child(1) img { max-width: 45px !important; padding-right: 8px; }

    /* Spalte 2: Suche füllt die Mitte */
    .main-header-row .et_pb_column:nth-child(2) { order: 2; flex: 1 !important; max-width: 300px; width:70%; }
    .et_pb_search { width: 100% !important; }

    /* Spalte 3: Social Media auf Mobile ausblenden -> nochmal überlegen */
    .main-header-row .et_pb_column:nth-child(3) { display: none !important; }

    /* Spalte 4: Burger-Menü rechts neben Suche */
	.main-header-row .et_pb_column:nth-child(4) { 
		flex-basis:unset;
		width:auto;
        order: 3; 
    }
    /* Burger-Menü Fix: Entfernt den weißen Hintergrund/Kasten hinter den Strichen */
    .et_mobile_nav_menu .mobile_nav .mobile_menu_bar {
        background: transparent !important;
        box-shadow: none !important;
    }
    .et_mobile_nav_menu .mobile_nav .mobile_menu_bar:before {
        color: #2b6080 !important; 
        background: transparent !important;
    }

    
    .et_mobile_nav_menu .et_mobile_menu {
		width:100vw; position: fixed; left:0; top:66px; z-index: 10000; height:calc(100vh - 66px); overflow-y: scroll; }
    }
}

/* Ende */

/*hero section */
.main-hero {
    display: flex !important;
    align-items: center !important; 
    justify-content: flex-start !important; 
    min-height: 70vh !important; 
    position: relative;
    padding: 5% !important; 
}

.main-hero h2 {
    background: none !important; 
    box-shadow: none !important;
    padding: 0 !important;
    font-size: 3.5rem !important; 
    font-weight: 800 !important;
    line-height: 1.7 !important; 
    color: #ffffff !important;
    margin: 0 !important;
    text-shadow: 0px 2px 10px rgba(0,0,0,0.2);
}

.hero-line-1, 
.hero-line-2 {
    background-color: rgba(0, 95, 131, 0.85) !important; 
    padding: 10px 30px !important;
    display: inline-block !important; 
    border-radius: 4px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hero-line-1 {
    display: table !important; 
    margin-top: 120px !important; 
}

.hero-line-2 {
    display: table !important; 
    margin-top: -70px !important; 
}

@media (max-width: 980px) {
    .main-hero {
        min-height: 50vh !important;
        justify-content: center !important; 
        text-align: center;
    }
    .main-hero h2 {
        font-size: 2.2rem !important;
        line-height: 1.6 !important;
    }
    .hero-line-2 { 
        display: table !important; 
    	margin-top: -20px !important; 
    }
}

/* Ende */

/*Layout Unterseiten*/

/* Sub-Page Hero */
.sub-hero {
    background-color: #f4f7f6 !important; /* Ganz helles Graugrün */
    padding: 60px 0 40px 0 !important;
    border-bottom: 1px solid #e2e2e2;
}

/* Sidebar Styling  */
.sidebar-column {
    border-left: 2px solid #2b6080 !important; /* BDHN Grün als Akzentlinie */
    padding-left: 30px !important;
}

@media (max-width: 980px) {
    .sidebar-column {
        border-left: none !important;
        border-top: 2px solid #2b6080 !important;
        padding-left: 0 !important;
        padding-top: 30px !important;
        margin-top: 40px !important;
    }
}

/* Custom List-Style */
.bdhn-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.bdhn-list li::before {
    content: "•"; 
    color: #2b6080;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: 0;
}

/* Content-Optimierung */

.entry-content p {
    line-height: 1.8;
    color: #444;
    margin: 30px 0;
}

/* Ende */


/* SUBPAGE */

/* 1. DIE SEKTION */
.sub-hero-section {
    background: #ffffff !important;
    padding: 0px 0 0px 0 !important;
    overflow: visible !important;
}

/* 2. DIE ZEILE (ROW) - Erzeugt das 40/60 Layout */
.sub-hero-section .et_pb_row {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important; /* Geht bis zum Rand für die Schräge */
    margin: 0 auto !important;
    align-items: center !important;
    column-gap: 0 !important;
}

/* 3. TEXT-SPALTE (Links - ca. 40%) */
.hero-text-col {
    width: 45% !important;
    flex: 0 0 45% !important;
    padding-left: 8% !important; /* Abstand zum linken Rand */
    padding-right: 5% !important;
    z-index: 10 !important;
}

.hero-text-col h1 {
    font-size: 3.5vw;
    font-weight: 200 !important; /* Der dünne Magazin-Look */
    line-height: 1.1 !important;
    color: #1a1a1a !important;
    margin-bottom: 20px !important;
    display: block !important;
}

/* Strich unter H1 auf Unterseiten entfernen*/
.hero-text-col h1::after { display: none !important; }

.hero-text-col .hero-subtitle {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #2b6080 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 10px !important;
    display: block !important;
}

/* 4. BILD-SPALTE (Rechts - ca. 60%) */
.hero-img-col {
    width: 55% !important;
    flex: 0 0 55% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-img-col img {
    width: 100% !important;
    height: 75vh !important; /* Höhe wie im Entwurf */
    min-height: 500px !important;
    object-fit: cover !important;
    /* Clip-Path */
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%) !important;
}

/* 5. CONTENT-BEREICH (Der Text darunter) */
.sub-content-section .et_pb_row {
    max-width: 1200px !important;
    margin-top: -80px !important; /* Der Überlapp-Effekt */
    background: #ffffff !important;
    padding: 60px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05) !important;
    z-index: 20 !important;
    position: relative !important;
}

/* 6. MOBILE ANPASSUNG */
@media (max-width: 980px) {
    .sub-hero-section .et_pb_row {
        flex-direction: column !important;
    }
    .hero-text-col, .hero-img-col {
        width: 100% !important;
        flex: 0 0 100% !important;
        padding: 20px 5% !important;
    }
    .hero-img-col img {
        clip-path: none !important; /* Mobil keine Schräge für besseren Fokus */
        height: 400px !important;
    }
    .sub-content-section .et_pb_row {
        margin-top: 0 !important;
        padding: 30px !important;
    }
}

/* Ende */

/* Test */

/*header Padding */

.et_pb_section.et_pb_section_0 {
    padding: 0 !important;
}

/* footer */

/*.footer-styler {color:#ffffff;}*/

/*startseite abschnitt unter header */

/* Die Spalte auf 100% Breite setzen */
.start-hero-full {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0px 8% !important; 
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

/* Den Text-Container begrenzen, damit die Zeilen nicht zu lang werden */
.start-hero-full .et_pb_module_inner {
    max-width: 850px; /* Ideale Lesebreite */
}

/* Titel-Styling für die Startseite */
.start-hero-full h1 {
    font-size: clamp(3rem, 7vw, 5rem) !important; 
    font-weight: 200 !important;
    line-height: 1.05 !important;
    margin-bottom: 30px !important;
}

/* Der grüne Untertitel */
.start-hero-full .hero-subtitle {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #2b6080 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    margin-bottom: 15px !important;
    display: block !important;
}

/* hero button */

/* Kantiger CTA ohne Border */
.cta-sharp {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff; 
	color: #2b6080;
    padding: 18px 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none !important;
    margin-top: -20px;
    transition: all 0.3s ease;
    border: none !important; /* Keine Border */
    border-radius: 0 !important; /* Absolut kantig */
}


/* Hover-Effekt: 
.cta-sharp:hover {
    background-color: #005a42;
    padding-right: 35px; 
}
*/
.cta-sharp.et_pb_button:after {
    display: none !important;
}


/* news */

/* News-Kacheln in BDHN-Grün */
.bdhn-news-grid .et_pb_post {
    border: none !important;
    background: #2b6080 !important; /* Dein Grün als Hintergrund */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    padding: 0 25px 25px 25px;
    display: flex;
    flex-direction: column;
}

/* Hover-Effekt */
.bdhn-news-grid .et_pb_post:hover {
    transform: translateY(-5px);
    background: #004a66 !important; /* Etwas dunkler beim Drüberfahren */
}

/* Padding & Textfarbe für Titel */
.bdhn-news-grid .entry-title {
    /*padding: 0px 25px 25px 25px;*/ /* Mehr Abstand oben und an den Seiten */
}

.bdhn-news-grid .entry-title a {
    color: #ffffff !important; /* Weißer Text */
    font-size: 20px !important;
    line-height: 1.3em !important;
}

/* Padding & Textfarbe für Meta (Datum) */
.bdhn-news-grid .post-meta {
    padding: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.7) !important; /* Leicht transparentes Weiß */
}

/* Padding für den Auszug (Excerpt) - Fix für die rechte Kachel */
.bdhn-news-grid .post-content {
    padding: 0 25px 25px 25px !important;
    color: #ffffff !important;
}

.bdhn-news-grid .post-content p {
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.6em !important;
}

/* Beitragsbild-Fix */
.bdhn-news-grid .entry-featured-image-url {
    margin-bottom: 0 !important;
}



/* cards */

/* Container-Design der Karte */
.bdhn-quicklink-card {
    background: #ffffff !important;
   /* padding: 40px 30px !important; */ /* Viel Platz für ein edles Design */ 
    border-radius: 0px !important; /* Kantig passend zu deinem Stil */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    height: 100%; /* Sorgt für gleiche Höhe bei allen Karten */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

/* Icon / Bild Styling */
.bdhn-quicklink-card img, 
.bdhn-quicklink-card .et-pb-icon {
    margin-bottom: 25px !important;
    transition: transform 0.4s ease !important;
    /* width: 60px !important; Einheitliche Icon-Größe */
}

/* Titel Styling */
.bdhn-quicklink-card h4, 
.bdhn-quicklink-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    font-size: 20px !important;
}

/* Beschreibungstext */
.bdhn-quicklink-card p {
    font-size: 15px !important;
    line-height: 1.6em !important;
    color: #666 !important;
}

/* --- HOVER EFFEKTE --- */

.bdhn-quicklink-card:hover {
    transform: translateY(-10px); /* Karte schwebt hoch */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    background-color: #f9f9f9 !important; /* Ganz leichter Grauton beim Hover */
}

.bdhn-quicklink-card:hover img {
    transform: scale(1.1); /* Icon wird dezent größer */
}

/* Akzent unten beim Hover */
.bdhn-quicklink-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #2b6080;
    transition: width 0.3s ease;
}

.bdhn-quicklink-card:hover::after {
    width: 100%;
}


/*bento-section*/

/* Sektion & Row Layout */
.bdhn-bento-grid {
    padding: 30px 0 !important;
}

.bdhn-bento-grid .et_pb_row {
    display: flex !important;
    gap: 15px !important;
    padding: 0 !important;
    max-width: 1100px !important;
    align-items: stretch !important; /* WICHTIG: Erzwingt gleiche Höhe */
}

.bdhn-bento-grid .et_pb_column {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 15px !important;
}

/* Gemeinsame Kachel-Basis */
.bento-main, .bento-small {
    position: relative;
    border: 1px solid #e5e5e5;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease !important;
    margin: 0 !important;
}

/* GROSSE KACHEL (LINKS) */
.bento-main {
    background-color: #2b6080 !important;
    padding: 30px !important;
    min-height: 295px !important; /* Höhe angepasst an 2x 140px + 15px Gap */
    height: 100% !important;
    flex: 1;
    z-index: 10;
    overflow: visible !important; /* Erlaubt dem Ribbon aus der Box zu ragen */
}

/* DER RIBBON-EFFEKT (DREIECK UNTEN LINKS) */
.bento-main::after {
    content: "";
    position: absolute;
    bottom: -15px; /* Genau die Höhe des Dreiecks */
    left: -0px;    /* Bündig mit dem Border der Kachel */
    width: 15px;
    height: 15px;
    background-color: #004561 !important; /* Schattenfarbe Petrol */
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: -1;
}

/* Texte in der Petrol-Kachel */
.bento-main h3, .bento-main p {
    color: #ffffff !important;
}

.bento-main h3 {
    font-size: 22px !important;
    margin: 10px 0 !important;
}

.bento-main p {
    font-size: 14px !important;
    line-height: 1.5em !important;
    margin: 0 0 30px 0;
    opacity: 0.9;
}

/* Logo & Button Styling */
.bento-logo {
    max-width: 90px !important;
    margin-bottom: 10px !important;
    filter: brightness(0) invert(1);
}

.bento-button {
    display: inline-block;
    background-color: #ffffff !important;
    color: #2b6080 !important;
    padding: 10px 22px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.bento-button:hover {
    background-color: #f0f0f0 !important;
    transform: scale(1.05);
}

/* KLEINE KACHELN (RECHTS) */
.bento-small {
    background-color: #ffffff !important;
    padding: 20px !important;
    height: 140px !important;
}

.bento-small h4 {
    color: #2b6080 !important;
    font-size: 16px !important;
    margin-top: 10px !important;
}

.bento-small i, .bento-small span {
    font-size: 35px !important;
    color: #2b6080 !important;
}

/* Hover-Effekte */
.bento-main:hover, .bento-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

/* Responsive Fix */
@media (max-width: 980px) {
    .bdhn-bento-grid .et_pb_row { flex-direction: column; padding: 0 20px !important; }
    .bento-main { min-height: auto !important; }
    .bento-main::after { display: none; } /* Ribbon mobil ausblenden für sauberen Look */
}
/*ende*/

/* kalender */

.bdhn-calendar-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    max-width: 400px;
    font-family: inherit;
}

.calendar-header {
    background: #2b6080;
    padding: 15px;
    text-align: center;
}

.calendar-header h4 {
    color: #ffffff !important;
    margin: 0 !important;
    font-size: 16px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-body {
    padding: 10px 0;
}

.calendar-event {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s ease;
}

.calendar-event:last-child {
    border-bottom: none;
}

.calendar-event:hover {
    background: #f9f9f9;
}

/* Datums-Box */
.event-date {
    background: #f4f4f4;
    color: #2b6080;
    min-width: 50px;
    text-align: center;
    padding: 5px;
    border-left: 3px solid #2b6080;
    margin-right: 15px;
}

.event-date .day {
    display: block;
    font-size: 18px;
    font-weight: 800;
}

.event-date .month {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Info Bereich */
.event-info {
    flex-grow: 1;
}

.event-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.event-location {
    display: block;
    font-size: 12px;
    color: #777;
    margin-top: 2px;
}

/* Link-Pfeil */
.event-link {
    color: #2b6080;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    margin-left: 10px;
}

.calendar-footer {
    padding: 15px;
    text-align: center;
    background: #fdfdfd;
    border-top: 1px solid #eeeeee;
}

.calendar-footer a {
    color: #2b6080 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.calendar-footer a:hover {
    text-decoration: underline;
}

/*ende*/



/* ende */

/*behandlungs kacheln*/

/* ==========================================================================
   1. GRUNDSTYLING (Für alle Geräte)
   ========================================================================== */
.kachel-container {
  display: grid;
  gap: 20px; /* Abstand zwischen den Kacheln */
}

/* Die Inhaltsboxen sind standardmäßig unsichtbar */
.kachel-inhalt {
  display: none;
  background: #f4f4f4; /* Hintergrundfarbe des aufgeklappten Bereichs */
  padding: 30px;
  border-radius: 4px;
}

/* Klasse, die per JavaScript hinzugefügt wird, um den Inhalt anzuzeigen */
.kachel-inhalt.is-open {
  display: block;
}

.kachel-button {
  cursor: pointer;
  transition: transform 0.2s ease;
}
.kachel-button:hover {
  transform: translateY(-2px);
}


/* ==========================================================================
   2. DESKTOP-ANSICHT (Ab 981px) -> Kacheln fix oben, Inhalt vollflächig darunter
   ========================================================================== */
@media (min-width: 981px) {
  
  .kachel-container {
    /* Wir bauen ein sauberes 4-Spalten-Raster auf */
    grid-template-columns: repeat(4, 1fr);
  }
  .page-id-760 .kachel-container {
    /* Wir bauen ein sauberes 4-Spalten-Raster auf */
    grid-template-columns: repeat(5, 1fr);
  }

  /* Der Trick: Wir sagen den Kacheln, dass sie immer in Spalte 1, 2, 3 oder 4 sitzen */
  .kachel-button.kachel-1 { grid-column: 1; grid-row: 1; }
  .kachel-button.kachel-2 { grid-column: 2; grid-row: 1; }
  .kachel-button.kachel-3 { grid-column: 3; grid-row: 1; }
  .kachel-button.kachel-4 { grid-column: 4; grid-row: 1; }
  .kachel-button.kachel-5 { grid-column: 5; grid-row: 1; }
  .page-id-760 .kachel-button.kachel-1 { grid-column: 1; grid-row: 1; }
  .page-id-760 .kachel-button.kachel-2 { grid-column: 2; grid-row: 1; }
  .page-id-760 .kachel-button.kachel-3 { grid-column: 3; grid-row: 1; }
  .page-id-760 .kachel-button.kachel-4 { grid-column: 4; grid-row: 1; }
  .page-id-760 .kachel-button.kachel-5 { grid-column: 5; grid-row: 1; }

  /* Wenn ein Inhalt aktiv wird, zwingen wir ihn in Reihe 2 über die VOLLE Breite */
  .kachel-inhalt.is-open {
    grid-column: 1 / -1; /* Geht von Spalte 1 bis zum Ende */
    grid-row: 2;         /* Setzt sich fix in die zweite Reihe unter ALLE Kacheln */
  }
}


/* ==========================================================================
   3. TABLET-ANSICHT (768px bis 980px) -> 2x2 Raster
   ========================================================================== */
@media (min-width: 768px) and (max-width: 980px) {
  .kachel-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .kachel-button.kachel-1 { grid-column: 1; }
  .kachel-button.kachel-2 { grid-column: 2; }
  .kachel-button.kachel-3 { grid-column: 1; }
  .kachel-button.kachel-4 { grid-column: 2; }

  .kachel-inhalt.is-open {
    grid-column: 1 / -1;
  }
}


/* ==========================================================================
   4. HANDY-ANSICHT (Unter 768px) -> Normales Akkordeon
   ========================================================================== */
@media (max-width: 767px) {
  .kachel-container {
    grid-template-columns: 1fr;
  }
  
  /* Auf dem Handy setzen wir alle Grid-Spezifikationen zurück */
  .kachel-button, .kachel-inhalt.is-open {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}
@media (max-width: 1600px) {
	:root {
		--content-width: 90%;
	}
	.start-hero-full h1 { font-size: clamp(2.5rem, 7vw, 5rem) !important; }
}
/* ende */

.entry-content ul.bdhn-praxen-liste { list-style: none; }

.bdhn-va-item { display: flex; flex-direction: column; padding-bottom:30px; margin-bottom:30px; border-bottom:1px solid var(--gcid-body-color); }
.bdhn-va-item:nth-of-type(even) { }
.bdhn-va-item p { margin:0 !important; padding:0; }
.bdhn-va-datum { order:1; }
.bdhn-va-titel { order:2; margin:0 0 20px 0; }
.bdhn-va-link { order:3; }
.bdhn-va-link a { display: inline-flex; background-color: var(--gcid-primary-color); color:#fff !important; font-size: 120%; padding:3px 19px; border-radius: 3px; }

.et_pb_contact .et_pb_contact_field input, .et_pb_contact .et_pb_contact_field textarea, .um .um-form input[type="text"], .um .um-form input[type="password"] { color:unset; color:inherit; background-color: #f5f5f5; border:none !important; }
.um .um-form input[type="submit"] { background-color: var(--gcid-primary-color); }
.bdhn-search, .bdhn-kat-chip { font-size: unset; font-weight: unset; font-family: unset; }
.bdhn-kat-chip { border-radius:0px; }
.bdhn-news-grid .et_pb_post .entry-title { order:2; }
.bdhn-news-grid .et_pb_post .post-meta { order:1; margin:0 0 10px 0; padding-bottom:0; }
.bdhn-quicklink-card p { margin-top:0; }
.et_pb_menu--without-logo .et_pb_menu__menu > nav > ul > li { margin-top:8px; }
.downloadList ul { margin:30px 0; }
.downloadList ul > li { margin:15px 0; }
.et_pb_team_member { text-align:left !important; }
.et_pb_toggle.et_pb_text_align_left .et_pb_toggle_title, .et_pb_toggle.et_pb_text_align_left h5.et_pb_toggle_title, .et_pb_toggle .et_pb_toggle_title, .et_pb_toggle h5.et_pb_toggle_title { line-height: unset; }
h1, h2, h3, h4, h5, h6 { line-height: unset; }

@media (min-width: 981px) {
	.current_page_item, .current-menu-parent { background-color: var(--gcid-primary-color); border-top-left-radius: 3px; border-top-right-radius: 3px; }
	.current_page_item > a, .current-menu-parent > a { color:#fff;  }
}

@media (max-width: 980px) {
	.current_page_item { background-color: var(--gcid-primary-color); border-top-left-radius: 3px; border-top-right-radius: 3px; }
	.current_page_item > a { color:#fff !important;  }
	h1, h2, h3, h4, h5, h6 { line-height: 2.5rem; }
	.hero-text-col h1 { font-size: 6vw; }
}

@media (max-width: 650px) {
	.hero-text-col h1 { font-size: 7vw; }
}


