/*
 Theme Name:   Twenty Twenty-One Child
 Description:  DSNO Child Theme für Twenty Twenty-One
 Author:       Marco Meyer
 Template:     twentytwentyone
 Version:      1.0.0
*/


:root {
    --nav-bg: #ffffff;
    --nav-text: #1a2530;
    --nav-accent: #048598; 
    --nav-hover-bg: #048598;
    --transition-speed: 0.2s;
    --container-width: 1300px;
    --benefits-accent: #0b93a6;
	--benefits-accent-light: #22b9ad;
	--benefits-heading: #123348;
	--benefits-text: #4a4a4a;
	--benefits-card-bg: #f7f8f9;
	--benefits-card-border: rgba(18, 51, 72, 0.05);
    --nav-bg: #ffffff;
    
    --pakete2027-navy: #003E5C;
    --pakete2027-navy-dark: #002A3F;
    --pakete2027-cyan: #00A3C4;
    --pakete2027-bg-light: #F4F7F9;
    --pakete2027-gray-text: #556B73;
}
@font-face {
    font-family: "Asap";
    
    font-stretch: 100% !important;
    src: url(fonts/asap-variablefont_wdthwght-webfont.woff?#iefix) format("embedded-opentype"),url(fonts/asap-variablefont_wdthwght-webfont.woff2) format("woff2"),url(fonts/asap-variablefont_wdthwght-webfont.woff) format("woff");
}
@font-face {
    font-family: "AsapBold";
    font-style: bold;
    font-weight: 700;
    src: url(fonts/asap-bold-webfont.woff?#iefix) format("embedded-opentype"),url(fonts/asap-bold-webfont.woff2) format("woff2"),url(fonts/asap-bold-webfont.woff) format("woff");
}
* {
    box-sizing: border-box;
    padding: 0;
}



body {
    font-family: Asap, Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    /* WICHTIG: Verhindert, dass der Inhalt unter dem fixen Header startet */
    padding-top: 130px; 
}


h1 {
	font-size: 40px;
	line-height: 35px;
	font-family: AsapBold,sans-serif;
	font-weight:600;
	line-height: 50px;
	margin-bottom:25px !important;
}
h2 {
	font-size: 35px;
	font-family: AsapBold,sans-serif;
	margin-bottom:15px !important;
	margin-top: 25px !important;
}
h3 {
	font-size: 30px;
	font-weight: 700;
	font-family: AsapBold,sans-serif;
	margin-bottom:15px !important;
	margin-top: 25px !important;
}
p {
	margin-bottom:15px !important;
	font-family: Asap,sans-serif;
}
ul, ol {
	margin-bottom:15px !important;
	font-family: Asap,sans-serif;
}
li {
	font-family: Asap,sans-serif;
}





/********************************* Navigations-Grundgerüst ***********************************************/
/********************************* Navigations-Grundgerüst ***********************************************/
#site-navigation.custom-mega-nav {
    position: relative;
    display: block;
    margin-left:55px;
}

/* Erhöhte Spezifität mit ID sorgt dafür, dass das Theme-Gap überschrieben wird */
#site-navigation .nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem !important; /* !important als Absicherung gegen hartnäckige Theme-Vorgaben */
}

#site-navigation .nav-item {
    position: relative;
    list-style: none;
    margin: 0;
}

/* Ebene 1 Links & Trigger-Buttons */
#site-navigation .nav-link,
#site-navigation .menu-toggle {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nav-text);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0.6rem 0.65rem !important; /* Überschreibt standardmäßige Paddings des Themes */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    transition: color var(--transition-speed) ease;
}

/* Hover- & Focus-Effekt */
#site-navigation .nav-link:hover, 
#site-navigation .nav-link:focus,
#site-navigation .menu-toggle:hover,
#site-navigation .menu-toggle:focus {
    color: var(--nav-accent);
}


/* Pfeil-Indikator */
.arrow {
    border: solid currentcolor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: transform var(--transition-speed) ease;
}
.has-megamenu[data-open="true"] .arrow {
    transform: rotate(-135deg);
}

/* Das ausklappbare Mega-Menü Panel (Level 2) */
.megamenu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: var(--container-width);
    background-color: var(--nav-bg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    border-top: 4px solid var(--nav-accent);
    padding: 2rem;
    z-index: 99999;
}
.has-megamenu[data-open="true"] .megamenu-panel {
    display: block;
}

/* Das Grid-Layout für die Spalten */
.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}
.megamenu-column {
    display: flex;
    flex-direction: column;
}
.column-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
    font-weight: 700;
    margin: 0 0 1.25rem 0;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}
.column-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.column-list li {
    list-style: none;
    margin: 0;
}
.column-list a {
    color: var(--nav-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
    display: block;
}
.column-list a:hover, .column-list a:focus {
    color: var(--nav-accent);
    transform: translateX(4px);
}

/* Mobile Fallback: Untereinander stapeln */
@media (max-width: 921px) {
    .nav-menu { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .megamenu-panel { position: static; transform: none; width: 100%; box-shadow: none; padding: 1rem 0; }
    .megamenu-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
/* ==========================================================================
   DOPPELTER SICHERHEITS-ANCHOR FÜR TWENTY TWENTY-ONE MEGA MENU
   ========================================================================== */

/* 1. Standardmäßig MUSS das Panel komplett unsichtbar sein */
#masthead .custom-mega-nav .megamenu-panel {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* 2. Sobald JS das Attribut 'data-open' setzt, erzwingen wir die Sichtbarkeit */
#masthead .custom-mega-nav .has-megamenu[data-open="true"] .megamenu-panel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 3. Reiner CSS-Fallback (Falls JS blockiert wird, öffnet es sich trotzdem per CSS-Hover) */
#masthead .custom-mega-nav .has-megamenu:hover .megamenu-panel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}




/******************  HEADER *******************************************/

.header-container {
	width: 100%;
}
.custom-logo {
    width: 60px;
    height: auto; /* Behält das Seitenverhältnis des Logos bei */
    display: block; /* Verhindert unerwünschte Abstände unter dem Bild */
}
.site-title a {
    color: #0086a3 !important;
    text-decoration: none;
    font-family: Asap, sans-serif;
    font-weight: 800;
    display: block;
    font-size: 21px;
}
/* Haupt-Container: Richtet Icons und Button nebeneinander aus */
.contact-container {
	width:100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px; /* Abstand zwischen Icon-Gruppe und Button */
    margin-top: -20px !important;
}

/* Icon Box */
.social-icons {
    display: flex;
    align-items: center;
    gap: 15px; 
}

/* Definition für die eingebetteten SVG Grafiken */
.social-icons .icon {
    width: 24px;       /* Breite des Icons */
    height: 24px;      /* Höhe des Icons */
    fill: #000000;     /* Farbe der SVGs direkt via CSS steuern */
    transition: opacity 0.2s ease;
    display: block;
}

.social-icons a:hover .icon {
    opacity: 0.7;
}

/* Telefon Button */
.phone-button {
    display: inline-block;
    background-color: #008197; 
    color: #ffffff; 
    font-size: 16px;
    font-weight: normal;
    text-decoration: none;
    padding: 8px 20px; 
    border-radius: 10px; 
    transition: background-color 0.2s ease;
}

.phone-button:hover {
    background-color: #00687c; 
}


/*************************************************** NEU 26 ******************************************************/
 /* ==========================================================================
   1. GLOBALER CONTAINER & TRÄGERLAYOUT (Zentrierter Inhalt)
   ========================================================================== */




/* Der zentrierte Hauptbereich (Inhalt + rechte Sidebar) */
.main-wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 30px;
}

.content {
    flex: 3;
    background: #ffffff;
    padding: 30px;
}

.sidebar {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    height: fit-content;
}

@media (max-width: 768px) {
    .main-wrapper {
        flex-direction: column;
    }
    body {
        padding-top: 100px;
    }
}


/* ==========================================================================
   2. FIXER & STRUKTURIERTER HEADER
   ========================================================================== */
#logo {
    display: inline-flex;
    align-items: center;
    gap: 15px; /* Optional: Abstand zwischen Logo und Text */
}

#masthead {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--nav-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    /* Steuert das weiche Schrumpfen des gesamten Balkens */
    transition: padding var(--transition-speed) ease;
    padding: 20px 0; 
}

#masthead .header-container {
    display: flex; 
    align-items: center; 
    /*justify-content: space-between;*/ 
    max-width: var(--container-width); 
    margin: 0 auto; 
    padding: 0 0;
}

/* Sorgt dafür, dass WordPress-Grafiklogos oder Text-Logos fließend mitskalieren */
#masthead .custom-logo-link, /* Hier auf den Link-Container anwenden statt direkt auf das img */
#masthead .site-branding,
#masthead .site-title {
    transition: transform var(--transition-speed) ease, font-size var(--transition-speed) ease;
    display: inline-block;
    transform-origin: left center;
}


/* ==========================================================================
   3. SCHRUMPF-EFFEKT 
   ========================================================================== */
#masthead.shrink {
    padding: 8px 0;
}

/* Skaliere den Link-Container statt nur des img-Tags, damit die Flexbox-Zentrierung intakt bleibt */
#masthead.shrink .custom-logo-link,
#masthead.shrink .site-title {
    transform: scale(0.85);
}

/* ==========================================================================
   4. MEGA-MENÜ 
   ========================================================================== */
.custom-mega-nav {
    position: relative;
    display: block;
}
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}
.nav-item {
    position: relative;
    list-style: none;
    margin: 0;
}

.nav-link {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--nav-text);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-speed) ease;
}
.nav-link:hover, .nav-link:focus {
    color: var(--nav-accent);
}

.arrow {
    border: solid currentcolor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: transform var(--transition-speed) ease;
}
.has-megamenu[data-open="true"] .arrow {
    transform: rotate(-135deg);
}

.megamenu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: var(--container-width);
    background-color: var(--nav-bg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    border-top: 4px solid var(--nav-accent);
    padding: 2rem;
    z-index: 99999;
}
.has-megamenu[data-open="true"] .megamenu-panel {
    display: block;
}

.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}
.megamenu-column {
    display: flex;
    flex-direction: column;
}
.column-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c757d;
    font-weight: 700;
    margin: 0 0 1.25rem 0;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}
.column-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.column-list li {
    list-style: none;
    margin: 0;
}
.column-list a {
    color: var(--nav-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
    display: block;
}
.column-list a:hover, .column-list a:focus {
    color: var(--nav-accent);
    transform: translateX(4px);
}




/* ==========================================================================
   5.  INTEGRATIONS-ANCHOR
   ========================================================================== */
#masthead .custom-mega-nav .megamenu-panel {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

#masthead .custom-mega-nav .has-megamenu[data-open="true"] .megamenu-panel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#masthead .custom-mega-nav .has-megamenu:hover .megamenu-panel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ==========================================================================
   6. MOBILE HAMBURGER & NAVIGATION OVERLAY (Erweiterung)
   ========================================================================== */

.menu-toggle.hamburger-trigger {
    display: none;
    background: none;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10001;
}

.hamburger-box {
    display: inline-block;
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger-inner, 
.hamburger-inner::before, 
.hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: var(--nav-text);
    position: absolute;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.hamburger-inner { top: 50%; transform: translateY(-50%); }
.hamburger-inner::before { content: ""; top: -7px; }
.hamburger-inner::after { content: ""; bottom: -7px; }

/* Hamburger Animation bei Aktivierung */
.menu-toggle.hamburger-trigger[aria-expanded="true"] .hamburger-inner { background-color: transparent; }
.menu-toggle.hamburger-trigger[aria-expanded="true"] .hamburger-inner::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle.hamburger-trigger[aria-expanded="true"] .hamburger-inner::after { transform: translateY(-7px) rotate(-45deg); }



/* ==========================================================================
   7. SEMINARKALENDER: in der Sidebar
========================================================================== */
/* Container für die gesamte Widget-Box */
.seminar-sidebar-list-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
}

/* Einzelne Seminar-Zeile */
.sidebar-seminar-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e2e8f0;
}

.sidebar-seminar-row:last-of-type {
    border-bottom: none;
    margin-bottom: 10px;
}

/* Das Kalenderblatt-Icon */
.seminar-calendar-sheet {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    min-width: 50px;
    height: 52px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Der obere farbige Balken des Kalenderblatts (z.B. Blau für Datenschutz) */
.seminar-calendar-sheet .sheet-month {
    display: block;
    width: 100%;
    background: #006699; /* Nutzen Sie hier Ihren exakten Blauton */
    color: #ffffff;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 2px 0;
}

/* Farbwechsel für KI-Seminare (z.B. ein moderner Lila- oder Grünton) */
.type-ki .seminar-calendar-sheet .sheet-month {
    background: #2e7d32; 
}

/* Die Zahl im Kalenderblatt */
.seminar-calendar-sheet .sheet-day {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    padding-top: 2px;
}

/* Textbereich rechts daneben */
.seminar-text-content {
    flex: 1;
}

.seminar-text-content .seminar-link {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.seminar-text-content .seminar-link:hover {
    color: #006699;
    text-decoration: underline;
}

/* ==========================================================================
   7a. SEMINARKALENDER: auf Homepage
========================================================================== */
/* Container */
.hp-timeline-section {
    padding: 60px 0;
    background-color: #ffffff;
}
.hp-timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.hp-timeline-intro {
    text-align: center;
    margin-bottom: 40px;
}
.hp-timeline-intro h2 {
    color: #1d3557;
    font-size: 2.2rem;
    font-weight: 700;
}

/* Das Grid-System für die Kacheln */
.hp-timeline-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-row {
    display: grid;
    /* Definiert 4 feste Spalten: Block links (140px), Titel (flexibel), Zeiten (300px), Button (180px) */
    grid-template-columns: 140px 1fr 300px 180px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden; /* Wichtig, damit die Ecken des farbigen Blocks abgerundet bleiben */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    min-height: 110px;
}

/* FÜHRENDER BLOCK LINKS (Vollflächig eingefärbt) */
.timeline-badge-block {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 20px;
    text-align: center;
}

/* Farbzuweisung basierend auf Kategorien */
.cat-ds .timeline-badge-block {
    background-color: #1d3557; /* Dunkelblau für Datenschutz */
}
.cat-ki .timeline-badge-block {
    background-color: #104c64; /* Teal/Blaugrün für KI */
}
.cat-default .timeline-badge-block {
    background-color: #64748b;
}

/* Text im farbigen Block */
.timeline-badge-block .badge-text {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mittlere Spalte: Titel */
.timeline-content-block {
    padding: 20px 25px;
}
.timeline-content-block h4 {
    margin: 0 0 6px 0;
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}
.timeline-venue {
    font-size: 0.9rem;
    color: #64748b;
}

/* Rechte Spalte: Blockzeiten */
.timeline-dates-block {
    padding: 20px;
    border-left: 1px solid #edf2f7;
    border-right: 1px solid #edf2f7;
    height: 80%; /* Zieht die Trennlinien nicht ganz bis zum Rand */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.block-time-info {
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 6px;
}
.block-time-info:last-child {
    margin-bottom: 0;
}

/* Rechte Spalte: Button-Verankerung */
.timeline-action-block {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-action-block .tl-btn {
    display: block;
    width: 100%;
    background-color: #ffffff;
    color: #1d3557;
    border: 1px solid #cbd5e1;
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.timeline-action-block .tl-btn:hover {
    background-color: #1d3557;
    color: #ffffff;
    border-color: #1d3557;
}

/* STYLING FÜR DEN GLOBALEN LINK UNTEN DRUNTER */
.global-archive-link {
    display: inline-block;
    color: #006699;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 20px;
    transition: color 0.2s ease;
}
.global-archive-link:hover {
    color: #1d3557;
    text-decoration: underline;
}

/* Mobil-Optimierung: Bricht das Grid sauber in Zeilen auf */
@media (max-width: 992px) {
    .timeline-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .timeline-badge-block {
        padding: 12px;
    }
    .timeline-dates-block {
        border-left: none;
        border-right: none;
        border-top: 1px solid #edf2f7;
        border-bottom: 1px solid #edf2f7;
    }
}









/*****************************************************************************************
 * ****
 * *****  DATENSCHUTZPAKETE 2027 *********************************************************
 * ****
 * ***************************************************************************************/


:root {
    --pakete2027-navy: #003E5C;
    --pakete2027-navy-dark: #002A3F;
    --pakete2027-cyan: #00A3C4;
    --pakete2027-bg-light: #F4F7F9;
    --pakete2027-gray-text: #556B73;
}

.pakete2027_container {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    max-width: 1250px;
    margin: 30px auto;
    padding: 0 15px;
    color: #333;
}

/* Das neue 2-Spalten-Layout für maximale Übersicht */
@media (min-width: 992px) {
    .pakete2027_main_layout {
        display: flex;
        gap: 25px;
        align-items: start;
    }
    .pakete2027_sidebar {
        flex: 0 0 350px; /* Feste Breite links für die Regler */
    }
    .pakete2027_packages_side_grid {
        flex: 1;
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2x2 Raster auf der rechten Seite */
        gap: 15px;
    }
}

@media (max-width: 991px) {
    .pakete2027_packages_side_grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 15px;
        margin-top: 25px;
    }
}

/* Kompakte Boxen links */
.pakete2027_step {
    background: var(--pakete2027-bg-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.pakete2027_step_title {
    color: var(--pakete2027-navy);
    font-size: 1.15rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    border-left: 3px solid var(--pakete2027-cyan);
    padding-left: 8px;
}

/* Ultrakompakte Kacheln */
.pakete2027_grid_presets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pakete2027_preset_tile {
    background: #FFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 10px 5px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.pakete2027_preset_tile.pakete2027_active {
    background: var(--pakete2027-navy);
    border-color: var(--pakete2027-navy);
    color: #0b3d56;
}

.pakete2027_tile_icon {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
    color: var(--pakete2027-cyan);
}
.pakete2027_preset_tile.pakete2027_active .pakete2027_tile_icon { color: #0b3d56; }
.pakete2027_tile_icon svg { width: 100%; height: 100%; }
.pakete2027_tile_name { font-size: 0.75rem; font-weight: 600; white-space: nowrap; }

/* Kompakte Regler */
.pakete2027_slider_wrapper { margin-bottom: 12px; }
.pakete2027_slider_header { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.pakete2027_slider_value { background: var(--pakete2027-cyan); color: #FFF; padding: 1px 8px; border-radius: 10px; font-size: 0.8rem; }
.pakete2027_input_range { -webkit-appearance: none; width: 100%; height: 6px; background: #E2E8F0; border-radius: 3px; outline: none; }
.pakete2027_input_range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--pakete2027-cyan); cursor: pointer; }

.pakete2027_legal_alert { color: #C53030; font-size: 0.75rem; font-weight: bold; margin-top: 4px; }

/* Kompakte Paketkarten (Rechte Spalte) */
.pakete2027_card {
    background: #FFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    transition: all 0.25s ease;
}

.pakete2027_pkg_name { margin: 0 0 5px 0; color: var(--pakete2027-navy); font-size: 1.2rem; font-weight: 700; }
.pakete2027_price { font-size: 1.8rem; font-weight: 800; color: var(--pakete2027-navy-dark); margin-bottom: 8px; }
.pakete2027_price small { font-size: 0.8rem; color: var(--pakete2027-gray-text); font-weight: 400; }
.pakete2027_pain_statement { font-style: italic; font-size: 0.8rem; color: var(--pakete2027-gray-text); margin: 0 0 12px 0; min-height: 38px; line-height: 1.3; }
.pakete2027_feature_list { list-style: none; padding: 12px 0 0 0; margin: 0; border-top: 1px solid #EEF2F6; }
.pakete2027_feature_list li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: 0.8rem; color: #4A5568; }
.pakete2027_feature_list li::before { content: "✓"; position: absolute; left: 0; color: var(--pakete2027-cyan); font-weight: bold; }
.pakete2027_feature_list li.pakete2027_feature_include { font-weight: 600; color: var(--pakete2027-navy); }

.pakete2027_badge {
    position: absolute; top: -10px; right: 15px; background: var(--pakete2027-cyan); color: #FFF;
    padding: 2px 10px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; border-radius: 10px;
    opacity: 0; transition: opacity 0.2s;
}

.pakete2027_card.pakete2027_active {
    border-color: var(--pakete2027-cyan);
    box-shadow: 0 4px 20px rgba(0, 62, 92, 0.08);
    background: #FFF;
}
.pakete2027_card.pakete2027_active .pakete2027_badge { opacity: 1; }
.pakete2027_card.pakete2027_locked { opacity: 0.3; pointer-events: none; }


/* Button Styling */
.pakete2027_cta_btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    margin-top: auto; /* Schiebt den Button immer ganz nach unten, unabhängig vom Textumfang */
    border: 2px solid var(--pakete2027-navy);
    color: var(--pakete2027-navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.25s ease;
}

/* Hover-Effekt für Standard-Buttons */
.pakete2027_cta_btn:hover {
    background: var(--pakete2027-bg-light);
}

/* Der magische Effekt: Wenn die Karte aktiv geschaltet wird, poppt der Button farblich voll auf */
.pakete2027_card.pakete2027_active .pakete2027_cta_btn {
    background: var(--pakete2027-cyan);
    border-color: var(--pakete2027-cyan);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 163, 196, 0.3);
}

.pakete2027_card.pakete2027_active .pakete2027_cta_btn:hover {
    background: var(--pakete2027-navy);
    border-color: var(--pakete2027-navy);
}

/* Umfärbung des Hinweistextes im START-Paket, da es nun sachlich/orange statt rot-blockierend ist */
.pakete2027_legal_alert {
    background: #FFF9E6;
    border-left: 4px solid #D97706;
    color: #B45309;
    padding: 10px 15px;
    border-radius: 0 6px 6px 0;
    margin-top: 10px;
    font-size: 0.8rem;
    line-height: 1.4;
}



















/*************************** HOMEPAGE ***********************************************/
.ki2026header {
	background-color: #0b3d56;
	text-align: center;
	padding-top: 30px;
	padding-bottom: 30px;
}
.ki2026header2 {
	background-color: #0b3d56;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 10px;
	max-width: var(--container-width);
	width: var(--container-width);
	margin: auto;
	margin-top:20px;
}
.ki2026info-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: #8ac6d0;
  color: #0b3d56;           
  font-size: 17px;
  font-weight: 600;
  border-radius: 20px;       /* Sorgt für die runde "Pillen"-Form */
  border: 1px solid #ffffff; /* Dezenter grauer Rahmen */
  margin-bottom: 15px;       /* Abstand nach unten zur H1-Überschrift */
  user-select: none;         /* Verhindert versehentliches Markieren beim Klicken */
  cursor: default;           /* Zeigt den normalen Mauszeiger, keinen Klick-Finger */
}
.ki2026header2 h1 {
	color: #ffffff;
	font-size: 37px;
	font-weight: 600;
	font-family: 'Asap',sans-serif;
	line-height: 1.4em;
}
/* Der übergeordnete Container für die Benefit-Liste */
.benefit-list-container {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Abstand zwischen den Zeilen */
    width: 100%;
    margin-top: 25px;
}

/* Die einzelne Benefit-Zeile als flache Karte */
.benefit-list-item {
    display: flex;
    align-items: flex-start; /* Richtet Icon und Text oben aus */
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-list-item:hover {
    transform: translateX(4px); /* Ganz dezent nach rechts schieben bei Hover */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
}

/* Icon-Bereich links */
.benefit-list-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #f1f5f9; /* Hellgrauer Kreis-Hintergrund */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    color: #0284c7; /* Ihr Business-Blau für die Icons */
}

/* Der Text-Bereich rechts */
.benefit-list-text {
    flex-grow: 1;
}

.benefit-list-text h4 {
    margin: 0 0 4px 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a;
}

.benefit-list-text p {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    color: #475569;
}

/* 📱 Optimierung für sehr schmale Bildschirme (Smartphones) */
@media (max-width: 480px) {
    .benefit-list-item {
        flex-direction: column; /* Icon über den Text brechen auf Handys */
        align-items: center;
        text-align: center;
    }
    .benefit-list-icon {
        margin-right: 0;
        margin-bottom: 12px;
    }
}


/* Globale Anpassungen für die Inhaltserweiterung */
.startseite-erweiterung-container {
    width: 100%;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.front-section {
    background: #ffffff;
    border-radius: 8px;
    box-sizing: border-box;
}

.section-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
}

.section-subtitle {
    font-size: 15px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin: 0 0 25px 0 !important;
}

/* --- SEKTION 1: BRANCHEN GRID --- */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.branch-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.branch-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.branch-card h5 {
    margin: 0 0 8px 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a;
}

.branch-card p {
    font-size: 17px !important;
    color: #475569 !important;
    line-height: 1.5 !important;
    margin: 0 0 15px 0 !important;
}

.branch-link {
    font-size: 17px;
    font-weight: 600;
    color: #0284c7;
    text-decoration: none;
}

.branch-link:hover {
    text-decoration: underline;
}

/* --- SEKTION 2: KI HIGHLIGHT BOX --- */
.ki-highlight-box {
    background: #f0f7ff; /* Extrem helles, edles Blau zur optischen Abgrenzung */
    border: 1px solid #e0f2fe;
    padding: 30px 25px;
    border-radius: 8px;
}

.ki-product-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 25px;
}

.ki-product-block {
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.ki-block-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.ki-badge-icon {
    font-size: 18px;
}

.ki-product-block h4 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a;
}

.ki-product-block p {
    font-size: 17px !important;
    color: #64748b !important;
    margin: 0 0 12px 0 !important;
}

.ki-product-block ul {
    margin: 0 !important;
    padding-left: 18px !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ki-product-block li {
    font-size: 17px !important;
    color: #334155 !important;
    line-height: 1.4 !important;
}

/* --- SEKTION 3: PAKETE ROW --- */
.paket-teaser-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.paket-teaser-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px 15px;
    text-align: center;
    position: relative;
}

.popular-card {
    border: 2px solid #0284c7;
    background: #fafafa;
}

.p-badge {
    font-size: 17px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.popular-badge {
    color: #0284c7;
}

.paket-teaser-card h4 {
    margin: 0 0 10px 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a;
}

.p-price {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 12px 0 !important;
}

.p-price span {
    font-size: 17px;
    font-weight: 400;
    color: #64748b;
}

.p-desc {
    font-size: 17px !important;
    color: #475569 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* --- BUTTON STYLING --- */
.center-btn-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.cta-button-primary, .cta-button-secondary {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 6px;
    transition: background 0.15s ease, transform 0.15s ease;
    text-align: center;
}

.cta-button-primary {
    background: #0284c7;
    color: #ffffff !important;
}

.cta-button-primary:hover {
    background: #0369a1;
}

.cta-button-secondary {
    background: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
}

.cta-button-secondary:hover {
    background: #e2e8f0;
}

/* 📱 RESPONSIVE CODES FÜR TABLETS & HANDYS */
@media (max-width: 768px) {
    .branch-grid, .ki-product-split {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .paket-teaser-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ki-highlight-box {
        padding: 20px 15px;
    }
}

/* Container für die gesamte Sektion */
.about-video-section-container {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding-top: 40px;
    margin-top: 20px;
}

/* Das 2-Spalten-Grid */
.about-video-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Text bekommt etwas mehr Platz als das Video */
    gap: 40px;
    align-items: flex-start;
}

/* Text-Spalte Styling */
.about-section-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.3 !important;
}

.about-paragraph {
    font-size: 17px !important;
    color: #334155 !important;
    line-height: 1.6 !important;
    margin: 0 0 15px 0 !important;
}

.about-btn-wrapper {
    margin-top: 20px;
}

.about-cta-link {
    font-size: 17px;
    font-weight: 600;
    color: #0284c7;
    text-decoration: none;
    transition: color 0.15s ease;
}

.about-cta-link:hover {
    color: #0369a1;
    text-decoration: underline;
}

/* Video-Spalte & Responsive Video-Hacking */
.about-video-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Bildverhältnis erzwingen */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    background: #000000;
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    font-size: 16px;
    color: #64748b;
    text-align: center;
    line-height: 1.4;
    font-style: italic;
}

/* 📱 Responsive Umbruch für Tablets und Smartphones */
@media (max-width: 991px) {
    .about-video-grid {
        grid-template-columns: 1fr; /* Schaltet bei kleineren Bildschirmen untereinander */
        gap: 30px;
    }
    
    .about-video-column {
        max-width: 560px; /* Verhindert, dass das Video auf Tablets riesig wird */
        width: 100%;
        margin: 0 auto;
    }
}


/******************* MODERNE SERVICE-FORMULARE ***************************************************/
/* Entfernt das verzerrte Icon-Element des Themes komplett */
.woocommerce-checkout input[type="checkbox"]::before,
.woocommerce-checkout input[type="checkbox"]::after {
    content: none !important;
    display: none !important;
}

/* Setzt die Checkbox auf den sauberen Browser-Standard zurück */
.woocommerce-checkout input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    border: 1px solid #ccc !important;
    background: #fff !important;
    vertical-align: middle !important;
    margin-right: 8px !important;
    cursor: pointer !important;
}


/* Zwingt den WooCommerce-Wrapper auf die volle Breite, falls nötig */
.woocommerce-input-wrapper {
    display: block !important;
    width: 100%;
}

/* Richtet das Label als Flex-Container aus */
span.woocommerce-input-wrapper label.checkbox {
    display: flex !important;
    align-items: flex-start !important; /* Richtet Box oben aus, falls der Text mehrzeilig ist */
    gap: 10px !important;               /* Abstand zwischen Box und Text */
    width: 100% !important;
}

/* Verhindert, dass die Checkbox zum Strich zusammengedrückt wird */
span.woocommerce-input-wrapper input.input-checkbox {
    flex-shrink: 0 !important;
    width: 16px !important;
    height: 16px !important;
    margin: 4px 0 0 0 !important;       /* Feinjustierung für die Höhe der ersten Textzeile */
}


.dno-conversion-card {
    background: #7ec1d1; /* Dein exakter Farbton aus dem Screenshot */
    border-radius: 12px;
    padding: 30px;
    color: #023652; /* Dunkelblau für perfekten Kontrast und Lesbarkeit */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.dno-conversion-card h3 {
    margin: 0 0 15px 0 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #023652 !important;
    line-height: 1.2 !important;
}

/* Die scannbaren Vorteile */
.dno-benefit-mini-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 15px;
    border-radius: 6px;
}

.dno-bmi {
    font-size: 13.5px;
    line-height: 1.4;
}

.dno-bmi span {
    color: #023652;
    font-weight: bold;
    margin-right: 6px;
}

.dno-step-info {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Formularfelder */
.dno-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.dno-form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #023652;
}

.dno-form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    background: #ffffff;
    font-size: 14.5px;
    color: #0f172a;
    box-sizing: border-box;
}

.dno-form-group input:focus {
    outline: none;
    border-color: #023652;
    box-shadow: 0 0 0 3px rgba(2, 54, 82, 0.15);
}

/* Checkbox Bereich */
.dno-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.dno-form-checkbox input {
    margin-top: 3px;
    flex-shrink: 0;
}

.dno-form-checkbox label {
    font-size: 12.5px;
    line-height: 1.4;
}

.dno-form-checkbox a {
    color: #023652;
    text-decoration: underline;
    font-weight: 600;
}

/* Der konvertierende Button */
.dno-submit-btn {
    width: 100%;
    background: #ff7a59; /* Aufmerksamkeitsstarkes, warmes Orange (Komplementärfarbe zu Blau) */
    color: #ffffff !important;
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background 0.15s ease, transform 0.1s ease;
}

.dno-submit-btn:hover {
    background: #e56342;
}

.dno-submit-btn:active {
    transform: scale(0.98);
}





p.wp-block-paragraph img {
	margin-right: 20px;
	margin-bottom: 20px;
}






.customer-benefits {
  background: #ffffff;
  font-family:
    "Poppins",
    "Montserrat",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.customer-benefits__container {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.customer-benefits__title {
  margin: 0 0 48px;
  color: var(--benefits-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  letter-spacing: -0.03em;
}

.customer-benefits__title span {
  color: var(--benefits-accent-light);
}

.customer-benefits__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

/* Erste Reihe: drei Karten */
.benefit-card:nth-child(1),
.benefit-card:nth-child(2),
.benefit-card:nth-child(3) {
  grid-column: span 2;
}

/* Zweite Reihe: zwei mittig angeordnete Karten */
.benefit-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.benefit-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.benefit-card {
  display: flex;
  align-items: center;
  min-height: 150px;
  padding: 28px 30px;
  border: 1px solid var(--benefits-card-border);
  border-radius: 18px;
  background: var(--benefits-card-bg);
  box-shadow: 0 10px 30px rgba(18, 51, 72, 0.04);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 147, 166, 0.16);
  box-shadow: 0 16px 38px rgba(18, 51, 72, 0.09);
}

.benefit-card__icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  margin-right: 22px;
  color: var(--benefits-accent);
}

.benefit-card__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.benefit-card__content {
  min-width: 0;
}

.benefit-card h3 {
  margin: 0 0 8px;
  color: #4a4a4a;
  font-weight: 700;
  line-height: 1.35;
}

.benefit-card p {
  margin: 0;
  color: #666666;
  font-weight: 400;
  line-height: 1.55;
}

/* Tablet */
@media (max-width: 1050px) {
  .customer-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-card:nth-child(n) {
    grid-column: auto;
  }

  .benefit-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
    justify-self: center;
  }
}

/* Mobil */
@media (max-width: 720px) {
  .customer-benefits {
    padding: 52px 18px;
  }

  .customer-benefits__title {
    margin-bottom: 32px;
  }

  .customer-benefits__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-card:nth-child(n),
  .benefit-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .benefit-card {
    min-height: auto;
    padding: 24px;
    border-radius: 15px;
  }

  .benefit-card__icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    margin-right: 18px;
  }
}

/* Sehr kleine Displays */
@media (max-width: 440px) {
  .benefit-card {
    align-items: flex-start;
  }

  .benefit-card__icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    margin-right: 15px;
  }

  .benefit-card h3 {
    font-size: 1rem;
  }

  .benefit-card p {
    font-size: 0.9rem;
  }
}

/* Barrierefreiheit: Animation deaktivieren */
@media (prefers-reduced-motion: reduce) {
  .benefit-card {
    transition: none;
  }

  .benefit-card:hover {
    transform: none;
  }
}


/**************************************************************
 * PAKET FREISCHALTEN FORMULAR ********************************
 * ************************************************************/
 /* Das Formular als edle, freistehende Hintergrund-Box */
.dsno-premium-anfrage-box {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-top: 4px solid #004b7c !important; /* Kanzlei-Blau als edle Oberkante */
    border-radius: 6px !important;
    padding: 35px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    max-width: 650px;
    margin: 40px auto !important; /* Zentriert die Box perfekt auf der Seite */
}

.dsno-box-title {
    margin-top: 0 !important;
    font-size: 20px !important;
    color: #111827 !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

.dsno-box-subtitle {
    font-size: 14px !important;
    color: #64748b !important;
    margin-bottom: 25px !important;
}

/* Das neue, sichtbare Paket-Auswahlfeld stylen */
.dsno-paket-dropdown {
    background-color: #f0fdf4 !important; /* Ganz zarter, unaufdringlicher grüner/frischer Schimmer für "Auswahl" */
    border: 1px solid #bbf7d0 !important;
    color: #166534 !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer;
}

/* Standard-Eingabefelder im flachen Kanzlei-Look */
.dsno-premium-anfrage-box input[type="text"],
.dsno-premium-anfrage-box input[type="email"],
.dsno-premium-anfrage-box select,
.dsno-premium-anfrage-box textarea {
    width: 100% !important;
    border: 1px solid #d1d5db !important;
    border-radius: 4px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    background-color: #f9fafb !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

/* Fokus bei Klick */
.dsno-premium-anfrage-box input:focus,
.dsno-premium-anfrage-box select:focus,
.dsno-premium-anfrage-box textarea:focus {
    border-color: #004b7c !important;
    background-color: #ffffff !important;
    outline: none !important;
}

.dsno-form-row {
    margin-bottom: 18px;
}

.dsno-form-row label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 6px !important;
}

.dsno-form-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.dsno-form-grid .dsno-form-row {
    flex: 1;
    min-width: 240px;
}

/* Der mächtige B2B-Absende-Button */
.dsno-form-btn {
    display: block !important;
    width: 100% !important;
    background-color: #004b7c !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 28px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    transition: background-color 0.2s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dsno-form-btn:hover {
    background-color: #003356 !important;
}
/* Neutralisiert die automatischen CF7-Absätze AUSSCHLIESSLICH in dieser Box */
.dsno-premium-anfrage-box p {
    margin: 0 !important;
    padding: 0 !important;
    display: contents !important; /* Löst die umschließende p-Klammer im Layout komplett auf */
}

.dsno-premium-anfrage-box br {
    display: none !important; /* Schaltet die künstlichen Zeilenumbrüche unsichtbar */
}

/* Garantiert, dass die Labels trotzdem sauber über den Eingabefeldern stehen */
.dsno-premium-anfrage-box .dsno-form-row {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 18px !important;
}









/*************** ALLGEMEIN *******************************************************************/
button:not(:hover):not(:active):not(.has-background) {
    background-color: transparent; /* Oder deine Wunschfarbe, z.B. #ffffff */
    color: inherit; /* Setzt bei Bedarf auch die Textfarbe zurück */
}





/************** SEIDEBAR *************************************************************************/
/* Verhindert den unschönen Umbruch von E-Mail-Adressen in der Sidebar */
.widget_text .textwidget table,
.widget_text .textwidget p,
.sidebar td {
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

.sidebar a[href^="mailto:"] {
    display: inline-block !important;
    white-space: nowrap !important; /* Zwingt die E-Mail in eine einzige Zeile */
    font-size: 13px !important;    /* Verkleinert die Schrift minimal, damit sie perfekt in die Box passt */
    word-break: break-all !important; /* Sicherheits-Fallback für extrem kleine Bildschirme */
}

.sidebar-hero-thumb {
	border-radius: 0;
	width: 100%;                 
    max-height: 150px;         
    object-fit: cover;          
    object-position: center center;
    display: block;
    margin-bottom: 1.5rem;     
}
/* Hauptüberschrift über den Standort-Boxen */
.sidebar-main-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #475569; /* Edles Schiefergrau */
    margin-bottom: 15px !important;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0; /* Dezente Trennlinie nach unten */
    position: relative;
}

/* Kleiner optischer Akzent unter der Überschrift */
.sidebar-main-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #0284c7; /* Das Business-Blau als Akzentfarbe */
}

/* Container-Styling für die Seitenleiste */
.sidebar-location-container {
    display: flex;
    flex-direction: column;
    gap: 25px; /* Abstand zwischen den beiden Regionen-Blöcken */
    font-family: inherit;
    width: 100%;
}

/* Einzelne Standort-Karte */
.location-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

/* Bild-Bereich & Reduzierung des Tourismus-Effekts */
.location-image-wrapper {
    position: relative;
    width: 100%;
    height: 140px; /* Feste Höhe, damit beide Blöcke exakt symmetrisch sind */
    overflow: hidden;
    background: #000; /* Untergrund für den Filter-Effekt */
}

.location-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Schneidet das Bild sauber ein */
    /* Dezent kühler Business-Filter: Nimmt die bunten Postkartenfarben heraus */
    filter: grayscale(30%) contrast(110%) brightness(90%); 
    transition: filter 0.3s ease;
}

.location-card:hover .location-img {
    filter: grayscale(0%) contrast(100%) brightness(100%); /* Farb-Effekt bei Hover */
}

/* Kleines Label über dem Bild */
.location-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85); /* Dunkles Schiefergrau */
    color: #ffffff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

/* Inhalts-Bereich */
.location-content {
    padding: 18px;
}

.location-content h4 {
    margin: 0 0 4px 0 !important;
    font-size: 18px !important;
    font-weight: 700;
    color: #0f172a; /* Dunkelblau / Schiefergrau */
}

.location-hub {
    margin: 0 0 14px 0;
    font-size: 13px;
    color: #64748b; /* Neutrales Grau für den Untertitel */
    font-style: italic;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
}

/* Kontaktdaten */
.location-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.loc-item {
    font-size: 17px;
    color: #334155;
    line-height: 1.4;
}

.loc-item strong {
    color: #0f172a;
    /*display: inline-block;*/
    width: 110px; /* Richtet den Text tabellarisch sauber aus */
}

.loc-item a {
    color: #0284c7; /* Professionelles Business-Blau für Links */
    text-decoration: none;
    transition: color 0.15s ease;
}

.loc-item a:hover {
    color: #0369a1;
    text-decoration: underline;
}


/****************** CALL-TU-ACTIONS *************************************************/
/* Gemeinsame Basis für alle Pfeile (Abstand zum Text & Animation) */
.cta-main .wp-block-button__link::after,
.cta-sub .wp-block-button__link::after,
.cta-outline .wp-block-button__link::after {
  content: " →";              /* Der Pfeil, der automatisch angehängt wird */
  display: inline-block;
  margin-left: 8px;           /* Abstand zum Text */
  transition: transform 0.2s ease-in-out;
}

/* Hover-Effekt: Der Pfeil schiebt sich bei allen Buttons nach rechts */
.cta-main:hover .wp-block-button__link::after,
.cta-sub:hover .wp-block-button__link::after,
.cta-outline:hover .wp-block-button__link::after {
  transform: translateX(4px);
}

/* 🔴 Klasse: cta-main (Haupt-Button) */
.cta-main .wp-block-button__link,
input[type="submit"] {
  background-color: #048598 !important; 
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.2) !important;
  transition: all 0.2s ease-in-out !important;
  border: 2px solid 048598 !important;
}
.cta-main .wp-block-button__link:hover,
input[type="submit"]:hover  {
  background-color: #123f57 !important;
  border-color: #123f57 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 82, 204, 0.3) !important;
}

/* 🔵 Klasse: cta-sub (Zweit-Button) */
.cta-sub .wp-block-button__link {
  background-color: #89c5cf !important; /* Hellblau */
  color: #123f57 !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease-in-out !important;
  border: 2px solid #89c5cf !important;
}
.cta-sub .wp-block-button__link:hover {
  background-color: #0052cc !important;
  border-color: #0052cc !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ⚪ Klasse: cta-outline (Dritt-Button) */
.cta-outline .wp-block-button__link {
  background-color: transparent !important;
  color: #1a202c !important; /* Anthrazit */
  font-weight: 700 !important;
  padding: 14px 28px !important;
  border-radius: 8px !important;
  border: 2px solid #1a202c !important;
  transition: all 0.2s ease-in-out !important;
}
.cta-outline .wp-block-button__link:hover {
  background-color: #1a202c !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* 📦 Hilfsklasse für DIV / Gruppe / Spalten (Buttons nebeneinander) */
.cta-flex-container {
  display: flex !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

.wp-block-buttons {

	  margin-top: 60px !important;
	  margin-bottom: 80px !important;
	  display: flex !important;
  justify-content: center !important;
}


/************ RANK-MATH FAQ ACCORDION ********************************************************/

#rank-math-faq .rank-math-list-item {
    position: relative;
    background: #f7fafc;              /* Moderneres, helleres Grau */
    border: 1px solid #e2e8f0;         /* Subtiler Rahmen für Struktur */
    border-radius: 8px;                /* Sanfte Ecken analog zu den Buttons */
    margin-bottom: 14px;               /* Großzügiger Abstand zwischen den Fragen */
    transition: all 0.2s ease-in-out;
}

/* Hover-Effekt und Zustand bei geöffneter Frage */
#rank-math-faq .rank-math-list-item:hover,
#rank-math-faq .rank-math-list-item:has(input:checked) {
    background: #ffffff;
    border-color: #0052cc;             /* Ihr neues Signalblau als Fokus-Rahmen */
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.06); /* Subtiler Schatten */
}

/* Der unsichtbare Klickbereich (wurde leicht vergrößert für die dickere Überschrift) */
#rank-math-faq .rank-math-list-item input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 52px;                      /* An neue h3-Höhe angepasst */
    opacity: 0;
    cursor: pointer;
    z-index: 999;
}

/* Die Frage-Zeile (H3) */
#rank-math-faq .rank-math-list-item h3 {
    background: transparent !important; /* Hintergrund wird jetzt vom List-Item gesteuert */
    padding: 16px 50px 16px 20px;      /* Mehr Atemluft, Platz rechts für das Plus */
    cursor: pointer;
    font-size: 16px !important;        /* Etwas kompakter, dafür präsenter */
    font-weight: 700 !important;       /* Dicke Schrift analog zu den Buttons */
    color: #1a202c !important;         /* Hartes Anthrazit für perfekten Kontrast */
    position: relative;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ALTES DREIECK ENTFERNT & DURCH MODERNES PLUS AN DER RECHTEN SEITE ERSETZT */
#rank-math-faq .rank-math-list-item h3:before {
    display: none;                     /* Das alte schwarze Dreieck links wird ausgeblendet */
}

/* Das neue Plus-Icon ganz rechts */
#rank-math-faq .rank-math-list-item h3:after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 24px;
    font-weight: 400;
    color: #0052cc;                    /* Ihr Signalblau */
    transition: transform 0.2s ease-in-out;
}

/* Wenn die Checkbox aktiv (geöffnet) ist: Aus dem Plus wird ein Minus */
#rank-math-faq .rank-math-list-item input:checked + h3:after {
    content: "−";                      /* Echtes Minus-Zeichen */
    transform: rotate(180deg);         /* Sanfte Drehanimation */
}

/* Der Antwort-Text im geöffneten Zustand */
#rank-math-faq .rank-math-answer {
    padding: 0px 20px 20px 20px;       /* Harmonischer Innenabstand zur Frage */
    max-height: 0;
    overflow: hidden;
    transition: all 0.2s ease-in-out;  /* Macht das Aufklappen geschmeidig */
    color: #4a5568;                    /* Angenehmes Lesegrau */
    font-size: 15px !important;
    line-height: 1.6;
}

/* Aktivierungs-Zustand für die Antwort */
#rank-math-faq .rank-math-list-item input:checked + h3 ~ .rank-math-answer {
    max-height: 100vh;
    overflow: visible;
    padding-top: 4px;                  /* Minimaler Abstand zum Titel im offenen Zustand */
}

/***************************** CF7 FORMULARE ******************************************/
.dsb-form-group {
  margin-bottom: 20px;
}
.dsb-form-group label {
  font-weight: 600;
  color: #1a202c;
  font-size: 15px;
}
.wpcf7-form-control:not([type="submit"]) {
  width: 100%;
  padding: 12px;
  border: 2px solid #cbd5e0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  margin-top: 6px;
  box-sizing: border-box;
}
.wpcf7-form-control:not([type="submit"]):focus {
  border-color: #0052cc;
  outline: none;
}



/***********************************************************
 * WOOCOMMERCE *********************************************
 * *********************************************************/
 /* 1. Das gesamte Checkout-Formular einspaltig und zentriert aufbauen */
.woocommerce-checkout form.checkout {
    max-width: 750px !important;
    margin: 0 auto !important;
    display: block !important;
    float: none !important;
}

/* 2. Linke Spalte (Rechnungsdaten & Teilnehmer) auf volle Breite setzen */
.woocommerce-checkout #customer_details,
.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    display: block !important;
}

/* 3. Rechte Spalte (Ihre Bestellung & Button) unter die Adressdaten zwingen */
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-top: 40px !important;
    display: block !important;
}

/* 4. Preistabelle und Zahlungstext optisch bereinigen */
.woocommerce-checkout table.shop_table {
    width: 100% !important;
    margin-bottom: 20px !important;
}

/* 5. Den finalen Buchungs-Button massiv aufwerten */
.woocommerce-checkout #place_order {
    display: block !important;
    width: 100% !important; /* Volle Breite für maximale Klick-Sicherheit */
    max-width: 400px !important;
    margin: 30px auto 0 auto !important; /* Zentriert unter der Tabelle */
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 4px !important;
    text-align: center !important;
    cursor: pointer !important;
}

/* 1. EINGABEFELDER: Fette Rahmen entfernen & kompakter gestalten */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border: 1px solid #d1d5db !important; /* Sehr dünner, dezenter Grauton */
    border-radius: 3px !important; /* Leicht abgerundet, nicht klobig */
    padding: 8px 12px !important; /* Weniger Innenabstand, Felder werden flacher */
    font-size: 14px !important; /* Etwas kleinere, sauberere Schrift */
    background-color: #f9fafb !important; /* Ganz leichtes Off-White für edlen Look */
    box-shadow: none !important; /* Eventuelle Standard-Schatten entfernen */
    transition: border-color 0.2s ease;
    height: auto !important;
}

/* Fokus-Effekt, wenn man in ein Feld klickt (Kanzlei-Blau) */
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: #004b7c !important; /* Hier Ihr exaktes Kanzlei-Blau eintragen */
    background-color: #ffffff !important;
    outline: none !important;
}

/* 2. LABELS & TEXTE: Filigraner und kompakter */
.woocommerce-checkout label {
    font-weight: 500 !important; /* Weniger fett, eher elegant halbfett */
    font-size: 13px !important;
    margin-bottom: 4px !important;
    color: #374151 !important;
}

/* 3. ZWISCHENRÄUME: Radikal verkleinern */
.woocommerce-checkout .form-row {
    margin-bottom: 12px !important; /* Abstand zwischen den einzelnen Feldern halbieren */
    padding: 0 !important;
}

.woocommerce-checkout #customer_details h3,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout .teilnehmer-informationen-heading {
    margin-top: 25px !important; /* Weniger Abstand über den großen Zwischenüberschriften */
    margin-bottom: 15px !important;
    font-size: 18px !important;
    border-bottom: 1px solid #e5e7eb; /* Dezente Trennlinie unter den Abschnitten */
    padding-bottom: 8px;
}

/* 4. DIE PREISTABELLE: Minimalistisch aufbauen */
.woocommerce-checkout table.shop_table {
    border: none !important; /* Harten Außenrahmen entfernen */
    border-collapse: collapse !important;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
    border-bottom: 1px solid #f3f4f6 !important; /* Ganz feine Trennlinien */
    padding: 10px 0 !important; /* Kompakterer Zeilenabstand */
    font-size: 14px !important;
    background: none !important;
}

.woocommerce-checkout table.shop_table .order-total {
    border-top: 2px solid #004b7c !important; /* Kanzlei-Blau als Akzent über der Gesamtsumme */
}

/* 5. DER BUTTON: Vom Text-Link zum echten Kanzlei-Premium-Button */
.woocommerce-checkout #place_order {
    background-color: #004b7c !important; /* Ihr Kanzlei-Blau als Hintergrund */
    color: #ffffff !important; /* Weißer Text */
    border: none !important;
    padding: 12px 24px !important; /* Elegante Proportionen */
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important; /* Ganz dezenter Schatten für Tiefe */
    transition: background-color 0.2s ease, transform 0.1s ease !important;
}

/* Hover-Effekt für den Button */
.woocommerce-checkout #place_order:hover {
    background-color: #003356 !important; /* Etwas dunkleres Blau beim Drüberfahren */
    color: #ffffff !important;
}

/* 1. Überschrift von "Kasse" zu "Buchungsbestätigung" ändern */
.woocommerce-order-received h1.entry-title {
    visibility: hidden;
    position: relative;
}
.woocommerce-order-received h1.entry-title::after {
    content: "Buchungsbestätigung";
    visibility: visible !important;
    position: absolute;
    left: 0;
    top: 0;
}

/* 2. Formatierung der Bestelldaten-Liste aufwerten */
.woocommerce-order-received ul.woocommerce-thankyou-order-details {
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 4px !important;
    padding: 20px !important;
    list-style: none !important;
    margin-bottom: 30px !important;
}
.woocommerce-order-received ul.woocommerce-thankyou-order-details li {
    font-size: 14px !important;
    border-right: 1px solid #e5e7eb !important;
    padding-right: 20px !important;
}
.woocommerce-order-received ul.woocommerce-thankyou-order-details li:last-child {
    border-right: none !important;
}

/* 3. Preistabelle kompakt und sauber wie im Checkout formatieren */
.woocommerce-order-received table.shop_table.order_details {
    border: none !important;
}
.woocommerce-order-received table.shop_table.order_details th,
.woocommerce-order-received table.shop_table.order_details td {
    border-bottom: 1px solid #f3f4f6 !important;
    padding: 12px 0 !important;
    font-size: 14px !important;
    background: none !important;
}



/* Ändert die H1-Überschrift exakt auf der WooCommerce-Danke-Seite */
.woocommerce-order-received h1.entry-title {
    visibility: hidden;
    position: relative;
}

.woocommerce-order-received h1.entry-title::after {
    content: "Buchungsbestätigung";
    visibility: visible !important;
    position: absolute;
    left: 0;
    top: 0;
}

/* Letzte Reste der B2C-Formatierung auf der Danke-Seite glätten */
.woocommerce-thankyou-order-received {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #111827 !important;
    margin-bottom: 25px !important;
}


/* Ändert die Hauptüberschrift der Kassen-Seite von "Kasse" zu "Seminarbuchung" */
.woocommerce-checkout h1.entry-title {
    visibility: hidden;
    position: relative;
    margin-bottom: 40px !important;
}

.woocommerce-checkout h1.entry-title::after {
    content: "Seminarbuchung";
    visibility: visible !important;
    position: absolute;
    left: 0;
    top: 0;
    color: #1d3557; /* Passt sich exakt an den dunkelblauen Farbton Ihrer Kanzlei-Überschriften an */
    font-weight: 700;
}

/* Styling für den eleganten Rücksprung-Link über dem Seminartitel */
.seminar-back-link {
    display: inline-block !important;
    font-size: 16px !important;
    color: #64748b !important; /* Dezentere, unaufdringliche Farbe */
    text-decoration: none !important;
    margin-bottom: 15px !important;
    font-weight: 500 !important;
    transition: color 0.2s ease;
}

/* Wechselt beim Drüberfahren elegant auf Ihr Kanzlei-Blau */
.seminar-back-link:hover {
    color: #004b7c !important; 
    text-decoration: underline !important;
}


/**************************************************
 * 
 * BLOG NEU in Sidebar  ***************************
 * 
 * ************************************************/

/* Hauptcontainer für den Blog-Block (Übernimmt Schatten & Rundungen deiner Cards) */
.sidebar-blog-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Weicher Schatten wie bei den Location-Cards */
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
}

/* Liste- & Element-Layout */
.sidebar-blog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-blog-item {
    border-bottom: 1px dashed #e0e0e0; /* Gestrichelte Trennlinie wie im Seminar-Block */
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.sidebar-blog-item:last-of-type {
    border-bottom: none;
    margin-bottom: 10px;
}

/* Link-Container */
.blog-item-link {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

/* Rundes Thumbnail */
.blog-item-thumbnail {
	width: 55px !important;
    flex-shrink: 0;
    margin-right: 15px;
}

.blog-img-circle {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    border: 1px solid #e0e0e0;
}

/* Textinhalte */
.blog-item-content {
    flex-grow: 1;
}

/* Datum-Styling */
.blog-item-date {
    display: block;
    font-size: 11px;
    color: #777777;
    text-transform: uppercase;
    margin-bottom: 3px;
    letter-spacing: 0.3px;
}

/* Beitragstitel (Nutzt deine Hauptfarbe für Texte) */
.blog-item-title {
    font-family: 'AsapBold', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0b3d56;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.blog-item-link:hover .blog-item-title {
    color: #0073aa; /* Färbt sich beim Hovern blau */
    text-decoration: underline;
}

/* Teaser-Text */
.blog-item-teaser {
    font-size: 12px;
    color: #555555;
    line-height: 1.45;
}

/* "Alle Meldungen anzeigen" Link am Fuß der Box */
.sidebar-blog-footer-link {
    padding-top: 5px;
}

.sidebar-blog-footer-link a {
    font-family: 'AsapBold', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0b3d56;
    text-decoration: underline;
}

.sidebar-blog-footer-link a:hover {
    color: #0073aa;
}

/************************************************
 * BLOG-ÜBERSICHTSSEITE *************************
 * **********************************************/
 /* Layout-Struktur (Zweispaltig) */
.dsno-content-layout {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-area {
    flex: 1;
    min-width: 0; /* Verhindert das Ausbrechen von Flex-Elementen */
}

.sidebar-area {
    width: 320px;
    flex-shrink: 0;
}

/* Kategorie-Überschrift */
.blog-archive-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.blog-archive-header .page-title {
    font-family: 'AsapBold', sans-serif;
    font-size: 28px;
    color: #0b3d56;
}

/* Teaser Grid (Untereinander im Card-Design) */
.blog-teaser-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Einzelne Beitrags-Card */
.blog-teaser-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    display: flex; /* Richtet Bild links und Text rechts aus */
}

/* Bild-Bereich */
.blog-teaser-image-wrapper {
    width: 250px;
    flex-shrink: 0;
}

.blog-teaser-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text-Bereich */
.blog-teaser-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-teaser-date {
    font-size: 12px;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.blog-teaser-title {
    font-family: 'AsapBold', sans-serif;
    font-size: 20px;
    margin: 0 0 10px 0;
}

.blog-teaser-title a {
    color: #0b3d56;
    text-decoration: none;
}

.blog-teaser-title a:hover {
    color: #0073aa;
    text-decoration: underline;
}

.blog-teaser-excerpt {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Weiterlesen Link */
.blog-readmore-btn {
    font-family: 'AsapBold', sans-serif;
    font-size: 14px;
    color: #0073aa;
    text-decoration: none;
    font-weight: 700;
}

.blog-readmore-btn:hover {
    color: #0b3d56;
    text-decoration: underline;
}

/* Seitennummerierung */
.blog-pagination {
    margin-top: 40px;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.blog-pagination a, .blog-pagination .current {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: #0b3d56;
}

.blog-pagination .current, .blog-pagination a:hover {
    background-color: #0b3d56;
    color: #ffffff;
    border-color: #0b3d56;
}

/* Responsive Design für Smartphones */
@media (max-width: 768px) {
    .dsno-content-layout {
        flex-direction: column;
    }
    
    .sidebar-area {
        width: 100%;
    }
    
    .blog-teaser-card {
        flex-direction: column; /* Bild rutscht auf Handys über den Text */
    }
    
    .blog-teaser-image-wrapper {
        width: 100%;
        height: 200px;
    }
}


























/***********************    ALT ***********************************************************/
img {
	/*border-radius: 20px;*/
}

.entry-content > .wp-block-columns {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.has-background {
	margin-block-start: 0 !important;
}
h2.wp-block-heading.has-text-align-center.has-background {
	margin-block-end: 0 !important;
}
.absatzblock {
	margin-bottom: 0 !important;	
}
.wp-block-latest-posts__featured-image {
	display: inline-block;
}
.wp-block-button__link {
	/*display: inline !important;*/
}
.columns-2,
.homepage-post-block {
	display: flex !important;             /* Flexbox aktivieren */  
	align-items: stretch !important;
	 justify-content: space-between; /* Gleicher Abstand zwischen den DIVs */
}
.rounded {
	display: flex !important;
	flex-grow: 1 !important;              /* Beide Boxen sollen den gleichen Platz einnehmen */
  flex-basis: 0 !important;             /* Gleiche Anfangsgröße für beide Boxen */
	width:100% !important;
  flex-direction: column;    /* Inhalte des DIVs vertikal anordnen */
  border-style: solid;
  border-color: #F1F1F1;
  border-width: 2px;
  border-radius: 20px;
  padding: 20px;
  box-sizing: border-box;     /* Padding und Border in der Höhe/Breite berücksichtigen */
  height: 100%;     
}
.homepage-post-block li {
	width: 50% !important;
}
video {
	border-radius: 20px;
}
.wp-block-video {
	margin-right: 20px;
}
.rounded-filled {
	border-style: solid;
	border-color: #F1F1F1;
	border-width: 2px;
	border-radius: 20px;
	background-color: #F1F1F1;
	margin-top: 40px;
	padding: 20px !important;
}
.frontpage-content-button {
	border-bottom-left-radius: 20px;
	border-bottom-right-radius:20px;
	background-color: #F1F1F1;
	padding: 20px;
	margin-top: 0 !important;
	justify-content: center;
	
}
.news-button-spalte {
	display: flex;
    justify-content: flex-end;
}
.front-headline-column {
	padding-bottom: 5px !important;
}
.site-footer {
	margin-top: 40px;
}
p.custom-footer {
	height:260px !important;
	border-radius: 20px;
}

.ast-single-post-featured-section img {
	height: 500px !important;
	object-fit: cover; 
  	object-position: center;
}
.wp-block-post-featured-image img {
	height: 125px !important;
	object-fit: cover; 
  	object-position: center;
}





/********************************************
***  	NEWSLETTER                ************
*********************************************/
#newsletter-anmelde-block {
	background-color: #8ac6d0;
	border-radius: 20px;
	padding: 20px;
}

#newsletter-anmelde-block h3 {
	margin-top: 0 !important;
}

#newsletter-anmelde-block button,
#newsletter-anmelde-block p {
	margin-top: 15px;
}

#newsletter-anmelde-block img {
	border-radius: 10px;
}
#newsletter-anmelde-block table,
#newsletter-anmelde-block table tr td {
	border-width: 0;
	vertical-align: top;
}


.portalcontainer {
	display: flex !important;
	flex-wrap: wrap;
	gap: 20px;           /* Abstand zwischen den Blöcken */

	max-width: 100%;         
	padding: 20px;
}

.portalkachel {
	flex: 0 0 48% !important;    
	flex-direction: column;
	box-sizing: border-box;
	min-height: 180px;
	background: #90c8d6;
	border: 2px solid #0d3c58;
	border-radius: 10px;
	padding:10px;

	display: flex;
	align-items: center;
	justify-content: flex-start;
	color: #0d3c58;
	text-align: center;   
}
.portalkachel h3 {
	font-size: 1.4rem;
	font-weight: bold;
	color: #0d3c58;
}




/********************************************
***  	Eigener Shop         ****************
*********************************************/
.shop-block{
	background-color: #bedbdf;
	border-radius: 20px;
	margin-bottom: 30px;
}
.cta-button {
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.4rem;
  border-radius: 25px;
  background: #008699;
  color: #ffffff;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  transition: background 0.2s ease, transform 0.1s ease;
  text-align: center;
}

.cta-button:hover {
  background: #0b3d56;
  color: #ffffff;
  transform: translateY(-1px);
}

.cta-title {
  font-size: 1.3rem;
  font-weight: 600;
}

.cta-sub {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 600;
  font-style: italic;
}

.cta-action {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.25rem;
  font-weight: 600;
}


.optionskasten {
	display: block;
	width: 100%;
	border-style: solid;
	border-width:1px;
	border-color: #0b3d56;
	padding: 5px;
	border-radius: 10px;
	margin-bottom: 5px;
}

.optionskasten {
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f9f9f9;
}

.optionskasten label {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  width: 100%;
}

.optionskasten input[type="radio"] {
  margin-right: 8px;
}

.optionskasteninput {
	display: inline;
	width:30% !important;
}
.optionskasten img {
  margin: 0 8px;
}

.optionskasten b {
  flex: 1;
}

.pakettoggle {
  width: 24px;
  height: 24px;
  margin-left: 12px;
  background: #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #444;
  transition: all 0.25s;
  flex-shrink: 0;
}

.pakettoggle::before {
  content: "↓";
}

.pakettoggle.active {
  background: #1e73be;
  color: white;
  transform: rotate(180deg);
}

.paketinfotext {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  padding: 0 12px;
  background: #fff;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.paketinfotext.active {
  max-height: 700px;        
  padding: 12px;
}



/********************************************
***  	Woocommerce-Shop         ************
*********************************************/
#order_review_heading {
	width: 100% !important;
	padding: 5px !important;
	border-width: 2px !important;
	margin-bottom: 5px !important;
}
.order-total > th,
.order-total > td > strong > span > bdi {
	font-weight: 600 !important;
}
.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
	width: 200px !important;
}
.woocommerce-product-gallery__image {
	width: 300px !important;
}

/********************************************
***  	RESPONSIVE MOBILE        ************
*********************************************/
@media (max-width: 600px) {
	.wp-block-buttons.is-content-justification-space-between {display: block !important;}	
	.wp-block-buttons div {display: block; width:100% !important; padding-top: 10px;}
	.homepage-post-block {display: block !important;}
	.homepage-post-block li {width: 100% !important;margin-bottom: 10px;}
	.site-primary-footer-wrap {padding: 10px;}
	.portalkachel {flex: 0 0 100%;}
}



/*********************************************++
 * BLOG ****************************************
 * *********************************************/
.blog-article-hero {
	width: 200px !important;
	height: auto !important;
}



























/* ==========================================================================
   TWENTY TWENTY-ONE MEGA MENU VISIBILITY LOGIC
   ========================================================================== */

/* 1. Das Panel MUSS standardmäßig absolut unsichtbar und versteckt sein */
#masthead .custom-mega-nav .megamenu-panel {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100vw;
    max-width: 1300px;
    z-index: 99999;
    border-top: 4px solid #048598;
}

/* 2. ERZWINGEN der Sichtbarkeit, sobald das JS-Attribut oder das CSS-Hover greift */
#masthead .custom-mega-nav .has-megamenu[data-open="true"] .megamenu-panel,
#masthead .custom-mega-nav .has-megamenu:hover .megamenu-panel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 3. Das Grid-Layout innerhalb des Panels aktivieren */
#masthead .custom-mega-nav .megamenu-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3rem !important;
}
/* Erlaubt dem Header, Elemente nach unten herausragen zu lassen */
#masthead, 
.header-container, 
.site-header,
.custom-mega-nav,
.nav-menu,
.nav-item {
    overflow: visible !important;
}
.site-header {
	row-gap: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	
}

/* Positionierungs-Anker für das Panel setzen */
#masthead .custom-mega-nav .nav-item.has-megamenu {
    position: relative !important;
}

/* Das Panel absolut zum Listenpunkt positionieren */
#masthead .custom-mega-nav .megamenu-panel {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important; /* Richtet das Menü linksbündig am Hauptpunkt aus */
    width: 600px !important; /* Feste, sichere Breite für das 2-Spalten-Grid */
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    border-top: 4px solid #048598 !important;
    padding: 1.5rem !important;
    z-index: 999999 !important;
}

/* Sichtbarkeit erzwingen, wenn 'data-open' aktiv ist ODER die Maus drüberfährt */
#masthead .custom-mega-nav .has-megamenu[data-open="true"] .megamenu-panel,
#masthead .custom-mega-nav .has-megamenu:hover .megamenu-panel {
    display: block !important;
}

/* Das Grid für die zwei Spalten */
#masthead .custom-mega-nav .megamenu-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
}

/* ==========================================================================
   KORREKTUR FÜR EINSPALTIGE STANDARD-DROPDOWNS (Z.B. SERVICE, ÜBER UNS)
   ========================================================================== */

/* 1. Der Hauptpunkt muss der absolute Anker für sein Untermenü sein */
#masthead .custom-mega-nav .nav-item.has-dropdown {
    position: relative !important;
}

/* 2. Das schmale Untermenü (sub-menu) standardmäßig komplett verstecken */
#masthead .custom-mega-nav .nav-item .sub-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    border-top: 3px solid #048598 !important;
    min-width: 240px !important; /* Angenehme Breite für die Links */
    padding: 10px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    z-index: 999999 !important;
}

/* 3. Beim Hovern über den Hauptpunkt das schmale Dropdown einblenden */
#masthead .custom-mega-nav .nav-item.has-dropdown:hover .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 4. Die Links im schmalen Dropdown untereinander anordnen */
#masthead .custom-mega-nav .sub-menu .sub-menu-item {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
}

#masthead .custom-mega-nav .sub-menu .sub-menu-item a {
    display: block !important;
    padding: 10px 20px !important;
    color: #1a2530 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-align: left !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}

/* Hover-Effekt für die einzelnen schmalen Links */
#masthead .custom-mega-nav .sub-menu .sub-menu-item a:hover {
    background-color: #f8f9fa !important;
    color: #048598 !important;
}





/* ==========================================================================
   MOBILE NAVIGATION 2026
   ========================================================================== */

.mobile-menu-toggle {
    display: none;
}
@media (max-width: 921px) {
    
    .contact-container {
        display: none !important; 
    }
    
    .menu-toggle.hamburger-trigger {
        display: block;
    }

    /* Mobile Navigation Container */
    .custom-mega-nav {
        display: block !important;
        position: fixed !important;
        top: 80px; 
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 80px) !important;
        background-color: var(--nav-bg) !important;
        padding: 2rem !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
    }

    .custom-mega-nav.is-active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .nav-menu {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        width: 100% !important;
    }

    .nav-item {
        width: 100% !important;
        border-bottom: 1px solid #e9ecef !important;
    }

    .nav-link {
        width: 100% !important;
        justify-content: space-between !important; 
        padding: 1.25rem 0.5rem !important;
        font-size: 1.1rem !important;
    }

    /* ==========================================================================
       AKKORDEON ANPASSUNG FÜR DEN PHP WALKER (Wichtig für Fehlerbehebung!)
       ========================================================================== */
    
    /* Standardmäßig sind ALLE Panels auf Mobile geschlossen */
    #masthead .custom-mega-nav .megamenu-panel {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: static !important;
        width: 100% !important;
        transform: none !important;
        box-shadow: none !important;
        border-top: none !important;
        padding: 0 1rem 1rem 1rem !important;
        background: transparent !important;
    }

    /* NUR WENN data-open="true" gesetzt ist, wird das Panel sichtbar */
    #masthead .custom-mega-nav .has-megamenu[data-open="true"] .megamenu-panel {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Deaktiviert den Desktop :hover Effekt auf Mobile komplett */
    #masthead .custom-mega-nav .has-megamenu:hover .megamenu-panel {
        display: none !important;
    }
    #masthead .custom-mega-nav .has-megamenu[data-open="true"]:hover .megamenu-panel {
        display: block !important;
    }

    /* Setzt das Grid zurück auf eine vertikale Spalte */
    .megamenu-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Die vom Walker generierten Spaltenblöcke */
    .megamenu-column {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Titel der Unterkategorie */
    .column-title {
        font-size: 1rem !important;
        margin: 0 0 0.5rem 0 !important;
        color: var(--nav-accent) !important;
        border-bottom: 1px solid #e9ecef !important;
        padding-bottom: 0.25rem !important;
    }

    /* Die finale Linkliste */
    .column-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        padding-left: 0.5rem !important;
    }

    .column-list li {
        display: block !important;
    }

    .column-list a {
        font-size: 1rem !important;
        padding: 0.4rem 0 !important;
        display: block !important;
        transform: none !important;
    }
    
     /* Sicherstellen, dass die Buttons auf Mobile Klicks registrieren */
    #site-navigation button.nav-link {
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 10 !important;
    }

    /* Verhindert, dass das Icon/der Pfeil im Button den Klick verschluckt */
    #site-navigation button.nav-link * {
        pointer-events: none !important;
    }
    
    /* 1. Das zweispaltige Desktop-Grid auflösen und in eine vertikale Liste umwandeln */
    #masthead .custom-mega-nav .has-megamenu[data-open="true"] .megamenu-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important; /* Abstand zwischen den beiden Unterblöcken */
        width: 100% !important;
        height: auto !important;
    }

    /* 2. Sicherstellen, dass jede Spalte die volle Breite nutzt */
    #masthead .custom-mega-nav .megamenu-column {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
    }

    /* 3. Titel der Unterblöcke optisch trennen */
    .column-title {
        font-size: 1rem !important;
        margin: 0 0 0.75rem 0 !important;
        color: var(--nav-accent) !important; /* Nutzt Ihre Akzentfarbe zur besseren Strukturierung */
        border-bottom: 1px solid #e9ecef !important;
        padding-bottom: 0.5rem !important;
    }

    /* 4. Die eigentliche Linkliste innerhalb des Blocks untereinander anordnen */
    .column-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important; /* Abstand zwischen den einzelnen Links */
        padding-left: 0.5rem !important; /* Leicht eingerückt für bessere Lesbarkeit */
    }

    .column-list li {
        display: block !important;
        width: 100% !important;
    }

    .column-list a {
        font-size: 1rem !important;
        padding: 0.5rem 0 !important;
        display: block !important;
        transform: none !important; /* Hover-Effekt von Desktop (translateX) auf Mobile deaktivieren */
    }

    .ki2026header2 {
		max-width: 100% !important;
    }
    .ki2026info-badge {
		width: 90%;
    }
}
