/*
Theme Name: Kanzlei Kronrath & Partner - Styles
Description: CSS nur für Kanzlei-Website (NICHT Portal)
Version: 1.0.0
*/

/* ============================================
   WICHTIG: Keine globalen Größen ändern!
   ============================================ */

/* ============================================
   STICKY HAUPTMENÜ
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-header-bar {
    transition: padding 0.3s ease;
}

.site-header.scrolled .main-header-bar {
    padding: 8px 0;
}

.main-header-menu a {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.main-header-menu a:hover {
    color: #1e3a5f !important;
}

.main-header-menu .sub-menu {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #1e3a5f;
}

/* ============================================
   ZERTIFIZIERUNGEN NEBENEINANDER
   ============================================ */

.zertifikate-group-wrapper {
    display: flex !important;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
}

.zertifikate-group-wrapper > * {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 200px;
    max-width: 300px;
}

.zertifikate-group-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .zertifikate-group-wrapper > * {
        flex: 0 1 calc(50% - 15px);
    }
}

@media (max-width: 600px) {
    .zertifikate-group-wrapper > * {
        flex: 0 1 100%;
        max-width: 250px;
    }
}

/* ============================================
   FÜHRUNGSKRÄFTE SECTION (SPEZIFISCH)
   ============================================ */

.fuehrungskraefte-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 20px 0;
    border: 1px solid #e5e7eb;
}

.fuehrungskraefte-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

.fuehrungskraefte-box .wp-block-columns {
    align-items: stretch !important;
}

.fuehrungskraefte-box .wp-block-column {
    display: flex !important;
    flex-direction: column;
}

.fuehrungskraefte-box .wp-block-column:first-child {
    flex: 0 0 35% !important;
}

.fuehrungskraefte-box .wp-block-column:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.fuehrungskraefte-box .wp-block-column:last-child {
    flex: 1 !important;
}

.fuehrungskraefte-box > .wp-block-buttons,
.fuehrungskraefte-box > .wp-block-button {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.fuehrungskraefte-box .wp-block-button a {
    background: #1e3a5f;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.fuehrungskraefte-box .wp-block-button a:hover {
    background: #2c5aa0;
    transform: scale(1.05);
}

.fuehrungskraefte-box h2,
.fuehrungskraefte-box h3 {
    color: #1e3a5f;
    margin-top: 0;
}

@media (max-width: 768px) {
    .fuehrungskraefte-box .wp-block-column:first-child img {
        height: auto;
    }
}

/* ============================================
   VORTEILE/PLUSPUNKTE SECTION
   CSS-Klasse für Hauptgruppe: vorteile-section
   CSS-Klasse für jeden Punkt: vorteil-box
   ============================================ */

/* Hauptcontainer */
.vorteile-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
}

/* Einzelner Vorteil - Box */
.vorteil-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

/* Hover-Effekt */
.vorteil-box:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #1e3a5f;
}

/* Spalten-Layout */
.vorteil-box .wp-block-columns {
    align-items: center !important;
    margin: 0 !important;
}

/* Bild-Spalte (links) - ALLE GLEICHE GRÖSSE */
.vorteil-box .wp-block-column:first-child {
    flex: 0 0 180px !important;
    max-width: 180px !important;
}

.vorteil-box .wp-block-column:first-child img {
    width: 180px !important;
    height: 140px !important;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Text-Spalte (rechts) */
.vorteil-box .wp-block-column:last-child {
    flex: 1 !important;
}

/* Überschriften */
.vorteil-box h3,
.vorteil-box h4 {
    color: #1e3a5f;
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

/* Absatz */
.vorteil-box p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .vorteil-box .wp-block-column:first-child {
        flex: 0 0 120px !important;
        max-width: 120px !important;
    }
    
    .vorteil-box .wp-block-column:first-child img {
        width: 120px !important;
        height: 100px !important;
    }
    
    .vorteil-box:hover {
        transform: translateY(-5px);
    }
}

/* ============================================
   EXPERTISE KARUSSELL - EXPANDIERBAR
   ============================================ */

.expertise-carousel-wrapper {
    margin: 40px 0;
    position: relative;
}

.expertise-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 5px;
    -webkit-overflow-scrolling: touch;
}

.expertise-carousel::-webkit-scrollbar {
    height: 8px;
}

.expertise-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.expertise-carousel::-webkit-scrollbar-thumb {
    background: #1e3a5f;
    border-radius: 10px;
}

/* Karte - ALLE GLEICH */
.expertise-card {
    flex: 0 0 350px;
    width: 350px;
    min-width: 350px;
    max-width: 350px;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

/* EXPANDIERT */
.expertise-card.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    z-index: 1000;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Overlay beim Expandieren */
.expertise-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.expertise-overlay.active {
    display: block;
}

.expertise-card h3,
.expertise-card h4 {
    color: #1e3a5f;
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
}

/* Text - gekürzt in Normal-Ansicht */
.expertise-card p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Text - voll in expandierter Ansicht */
.expertise-card.expanded p {
    display: block;
    -webkit-line-clamp: unset;
}

.expertise-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin: 15px 0 20px 0;
}

/* Button Container */
.expertise-card .wp-block-button {
    margin-top: auto;
}

.expertise-card .wp-block-button a {
    background: #1e3a5f;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    display: block;
    text-align: center;
    cursor: pointer;
}

.expertise-card .wp-block-button a:hover {
    background: #2c5aa0;
}

/* Schließen-Button - KOMPLETT AUSGEBLENDET */
.expertise-close-btn {
    display: none !important;
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ef4444;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    z-index: 10;
}

.expertise-card.expanded .expertise-close-btn {
    display: block;
}

@media (max-width: 768px) {
    .expertise-card {
        flex: 0 0 280px;
        width: 280px;
        min-width: 280px;
    }
}

/* ============================================
   PHILOSOPHIE SECTION
   CSS-Klasse für Gruppe: philosophie-box
   ============================================ */

.philosophie-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 40px 0;
}

/* Hover-Effekt */
.philosophie-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

/* Spalten gleichmäßig */
.philosophie-box .wp-block-columns {
    gap: 40px;
}

/* Überschriften (Absätze die als Überschrift formatiert sind) */
.philosophie-box p strong,
.philosophie-box p b {
    color: #1e3a5f;
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

/* Normale Absätze */
.philosophie-box p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Erste Zeile (Hauptüberschrift falls vorhanden) größer */
.philosophie-box > p:first-child {
    font-size: 24px;
    color: #1e3a5f;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

/* Responsive: Mobile untereinander */
@media (max-width: 768px) {
    .philosophie-box {
        padding: 25px;
    }
    
    .philosophie-box .wp-block-columns {
        gap: 20px;
    }
}

/* ============================================
   CALL-TO-ACTION SECTION (Cover mit Bild)
   CSS-Klasse für Cover: cta-section
   ============================================ */

.wp-block-group .wp-block-image {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wp-block-group .wp-block-image img {
    margin: 0 auto !important;
    display: block !important;
}

.wp-block-group .wp-block-image figure {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ============================================
   CALL-TO-ACTION SECTION (Cover mit Bild)
   CSS-Klasse für Cover: cta-section
   ============================================ */

.cta-section {
    position: relative;
    padding: 80px 40px !important;
    border-radius: 12px;
    overflow: hidden;
    margin: 60px 0 !important;
}

/* Dunkles Overlay für bessere Lesbarkeit */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 95, 0.75);
    z-index: 1;
}

/* Inhalt über Overlay */
.cta-section > * {
    position: relative;
    z-index: 2;
}

/* Überschrift */
.cta-section h2,
.cta-section h3 {
    color: #ffffff !important;
    text-align: center;
    font-size: 36px !important;
    font-weight: 700 !important;
    margin: 0 0 20px 0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Absatz */
.cta-section p {
    color: #ffffff !important;
    text-align: center;
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin: 0 auto 30px auto !important;
    max-width: 800px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Buttons Container */
.cta-section .wp-block-buttons {
    justify-content: center !important;
    gap: 15px;
}

/* Button Styling */
.cta-section .wp-block-button a {
    background: #ffffff !important;
    color: #1e3a5f !important;
    padding: 15px 35px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Button Hover */
.cta-section .wp-block-button a:hover {
    background: #1e3a5f !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Alternativer Button (zweiter Button) */
.cta-section .wp-block-button:nth-child(2) a {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.cta-section .wp-block-button:nth-child(2) a:hover {
    background: #ffffff !important;
    color: #1e3a5f !important;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 30px !important;
    }
    
    .cta-section h2,
    .cta-section h3 {
        font-size: 28px !important;
    }
    
    .cta-section p {
        font-size: 16px !important;
    }
    
    .cta-section .wp-block-buttons {
        flex-direction: column;
    }
}

/* ============================================
   ANWÄLTE SECTION
   CSS-Klasse für Gruppe: anwaelte-box
   ============================================ */

.anwaelte-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 20px 0;
}

.anwaelte-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

.anwaelte-box h2,
.anwaelte-box h3 {
    color: #1e3a5f;
    text-align: center;
    margin-bottom: 20px;
}

.anwaelte-box p {
    color: #4b5563;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 30px;
}

.anwaelte-box .wp-block-columns {
    gap: 30px;
    margin-bottom: 30px;
}

.anwaelte-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.anwaelte-box img:hover {
    transform: scale(1.02);
}

.anwaelte-box .wp-block-buttons {
    justify-content: center;
}

.anwaelte-box .wp-block-button a {
    background: #1e3a5f;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.anwaelte-box .wp-block-button a:hover {
    background: #2c5aa0;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .anwaelte-box {
        padding: 20px;
    }
}

/* ============================================
   EXPERTISEN SECTION
   CSS-Klasse für Gruppe: expertisen-box
   ============================================ */

.expertisen-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 20px 0;
}

.expertisen-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

.expertisen-box h2,
.expertisen-box h3 {
    color: #1e3a5f;
    text-align: center;
    margin-bottom: 20px;
}

.expertisen-box p {
    color: #4b5563;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 30px;
}

.expertisen-box ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px auto;
    max-width: 600px;
}

.expertisen-box ul li {
    color: #4b5563;
    padding: 12px 20px;
    margin: 8px 0;
    background: #f9fafb;
    border-left: 4px solid #1e3a5f;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.expertisen-box ul li:hover {
    background: #f3f4f6;
    transform: translateX(5px);
    border-left-width: 6px;
}

.expertisen-box .wp-block-buttons {
    justify-content: center;
}

.expertisen-box .wp-block-button a {
    background: #1e3a5f;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.expertisen-box .wp-block-button a:hover {
    background: #2c5aa0;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .expertisen-box {
        padding: 25px;
    }
    
    .expertisen-box ul {
        max-width: 100%;
    }
}

/* ============================================
   TEAM ANWÄLTE GRID
   CSS-Klasse für Gruppe: team-anwaelte-grid
   ============================================ */

.team-anwaelte-grid {
    margin: 40px 0;
}

.team-anwaelte-grid .wp-block-columns {
    gap: 30px;
    margin-bottom: 30px;
}

.team-anwaelte-grid .wp-block-column {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.team-anwaelte-grid .wp-block-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

.team-anwaelte-grid .wp-block-column img {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    object-fit: cover;
    object-position: center top;
    margin: 0 auto 15px auto;
    display: block;
    border: 4px solid #1e3a5f;
    transition: transform 0.3s ease;
}

.team-anwaelte-grid .wp-block-column:hover img {
    transform: scale(1.05);
}

.team-anwaelte-grid .wp-block-column h3,
.team-anwaelte-grid .wp-block-column h4 {
    color: #1e3a5f;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.team-anwaelte-grid .wp-block-column p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin: 8px 0;
    text-align: left;
}

.team-anwaelte-grid .wp-block-column p:first-of-type {
    font-weight: 600;
    color: #1e3a5f;
    font-size: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .team-anwaelte-grid .wp-block-column {
        padding: 20px 15px;
    }
    
    .team-anwaelte-grid .wp-block-column img {
        width: 120px !important;
        height: 120px !important;
    }
}

/* ============================================
   TEAM BACKOFFICE GRID
   CSS-Klasse für Gruppe: team-backoffice-grid
   ============================================ */

.team-backoffice-grid {
    margin: 40px 0;
}

.team-backoffice-grid .wp-block-columns {
    gap: 30px;
    margin-bottom: 30px;
}

.team-backoffice-grid .wp-block-column {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.team-backoffice-grid .wp-block-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

.team-backoffice-grid .wp-block-column img {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    object-fit: cover;
    object-position: center top;
    margin: 0 auto 15px auto;
    display: block;
    border: 4px solid #1e3a5f;
    transition: transform 0.3s ease;
}

.team-backoffice-grid .wp-block-column:hover img {
    transform: scale(1.05);
}

.team-backoffice-grid .wp-block-column h3,
.team-backoffice-grid .wp-block-column h4 {
    color: #1e3a5f;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.team-backoffice-grid .wp-block-column p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin: 8px 0;
    text-align: left;
}

.team-backoffice-grid .wp-block-column p:first-of-type {
    font-weight: 600;
    color: #1e3a5f;
    font-size: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .team-backoffice-grid .wp-block-column {
        padding: 20px 15px;
    }
    
    .team-backoffice-grid .wp-block-column img {
        width: 120px !important;
        height: 120px !important;
    }
}

/* ============================================
   STELLENANZEIGEN GRID
   CSS-Klasse für Gruppe: stellenanzeigen-grid
   ============================================ */

.stellenanzeigen-grid {
    margin: 40px 0;
}

.stellenanzeigen-grid .wp-block-columns {
    gap: 30px;
}

.stellenanzeigen-grid .wp-block-column {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.stellenanzeigen-grid .wp-block-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

.stellenanzeigen-grid .wp-block-column h3,
.stellenanzeigen-grid .wp-block-column h4 {
    color: #1e3a5f;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.stellenanzeigen-grid .wp-block-column p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.stellenanzeigen-grid .wp-block-column .wp-block-buttons {
    margin-top: auto;
}

.stellenanzeigen-grid .wp-block-button a {
    background: #1e3a5f;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.stellenanzeigen-grid .wp-block-button a:hover {
    background: #2c5aa0;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .stellenanzeigen-grid .wp-block-column {
        padding: 20px 15px;
    }
}

/* ============================================
   KARRIERE VORTEILE GRID
   CSS-Klasse für Gruppe: karriere-vorteile-grid
   ============================================ */

.karriere-vorteile-grid {
    margin: 40px 0;
}

.karriere-vorteile-grid .wp-block-columns {
    gap: 25px;
}

.karriere-vorteile-grid .wp-block-column {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.karriere-vorteile-grid .wp-block-column:hover {
    background: #ffffff;
    border-color: #1e3a5f;
    transform: translateY(-3px);
}

.karriere-vorteile-grid .wp-block-column h3,
.karriere-vorteile-grid .wp-block-column h4 {
    color: #1e3a5f;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.karriere-vorteile-grid .wp-block-column p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .karriere-vorteile-grid .wp-block-column {
        padding: 20px 15px;
    }
}

/* ============================================
   BEWERBUNGSPROZESS BOX
   CSS-Klasse für Gruppe: bewerbungsprozess-box
   ============================================ */

.bewerbungsprozess-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 40px 0;
}

.bewerbungsprozess-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

.bewerbungsprozess-box .wp-block-columns {
    align-items: stretch !important;
}

.bewerbungsprozess-box .wp-block-column:first-child {
    display: flex;
    flex-direction: column;
}

.bewerbungsprozess-box .wp-block-column:last-child {
    display: flex;
    align-items: stretch;
}

.bewerbungsprozess-box .wp-block-column:last-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.bewerbungsprozess-box h2,
.bewerbungsprozess-box h3 {
    color: #1e3a5f;
    margin-bottom: 20px;
}

.bewerbungsprozess-box p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.bewerbungsprozess-box ol {
    color: #4b5563;
    line-height: 1.8;
    padding-left: 20px;
}

.bewerbungsprozess-box ol li {
    margin-bottom: 15px;
}

.bewerbungsprozess-box ol li strong {
    color: #1e3a5f;
    font-weight: 600;
}

@media (max-width: 768px) {
    .bewerbungsprozess-box {
        padding: 25px;
    }
    
    .bewerbungsprozess-box .wp-block-column:last-child img {
        height: auto;
    }
}

/* ============================================
   EXPERTISEN KARTEN GRID (für alle Expertisen-Seiten)
   CSS-Klasse für Gruppe: expertisen-karten-grid
   ============================================ */

.expertisen-karten-grid {
    margin: 40px 0;
}

.expertisen-karten-grid .wp-block-columns {
    gap: 30px;
}

.expertisen-karten-grid .wp-block-column {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.expertisen-karten-grid .wp-block-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

.expertisen-karten-grid .wp-block-column img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin: 0;
    display: block;
}

.expertisen-karten-grid .wp-block-column h3,
.expertisen-karten-grid .wp-block-column h4 {
    color: #1e3a5f;
    font-size: 20px;
    font-weight: 600;
    margin: 20px 25px 15px 25px;
}

.expertisen-karten-grid .wp-block-column p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 25px 20px 25px;
}

@media (max-width: 768px) {
    .expertisen-karten-grid .wp-block-column img {
        height: 200px;
    }
    
    .expertisen-karten-grid .wp-block-column h3,
    .expertisen-karten-grid .wp-block-column h4 {
        margin: 15px 20px 12px 20px;
        font-size: 18px;
    }
    
    .expertisen-karten-grid .wp-block-column p {
        margin: 0 20px 15px 20px;
    }
}

/* ============================================
   LEISTUNGEN LISTEN BOX (für alle Expertisen-Seiten)
   CSS-Klasse für Gruppe: leistungen-listen-box
   ============================================ */

.leistungen-listen-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 40px 0;
}

.leistungen-listen-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

.leistungen-listen-box .wp-block-columns {
    gap: 40px;
}

.leistungen-listen-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leistungen-listen-box ul li {
    color: #4b5563;
    padding: 15px 20px 15px 50px;
    margin: 12px 0;
    background: #f9fafb;
    border-left: 4px solid #1e3a5f;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.leistungen-listen-box ul li:before {
    content: "✓";
    position: absolute;
    left: 18px;
    color: #1e3a5f;
    font-weight: bold;
    font-size: 18px;
}

.leistungen-listen-box ul li:hover {
    background: #ffffff;
    transform: translateX(5px);
    border-left-width: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.leistungen-listen-box ul li strong {
    color: #1e3a5f;
    font-weight: 600;
}

@media (max-width: 768px) {
    .leistungen-listen-box {
        padding: 25px;
    }
    
    .leistungen-listen-box .wp-block-columns {
        gap: 20px;
    }
    
    .leistungen-listen-box ul li {
        padding: 12px 15px 12px 40px;
    }
    
    .leistungen-listen-box ul li:before {
        left: 15px;
        font-size: 16px;
    }
}

/* ============================================
   EXPERTISE & REFERENZEN BOX (für alle Expertisen-Seiten)
   CSS-Klasse für Gruppe: expertise-referenzen-box
   ============================================ */

.expertise-referenzen-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 40px auto;
    max-width: 900px;
    text-align: center;
}

.expertise-referenzen-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

.expertise-referenzen-box img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
}

.expertise-referenzen-box p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 700px;
}

.expertise-referenzen-box .wp-block-buttons {
    justify-content: center;
    margin-top: 10px;
}

.expertise-referenzen-box .wp-block-button a {
    background: #1e3a5f;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.expertise-referenzen-box .wp-block-button a:hover {
    background: #2c5aa0;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .expertise-referenzen-box {
        padding: 25px;
    }
}

/* ============================================
   ZWEISPALTEN LISTE (für alle Mandanten-Seiten)
   CSS-Klasse für Gruppe: zweispalten-liste
   ============================================ */

.zweispalten-liste {
    margin: 40px 0;
}

.zweispalten-liste .wp-block-columns {
    gap: 40px;
}

.zweispalten-liste ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zweispalten-liste ul li {
    color: #4b5563;
    padding: 15px 20px 15px 50px;
    margin: 12px 0;
    background: #f9fafb;
    border-left: 4px solid #1e3a5f;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.zweispalten-liste ul li:before {
    content: "✓";
    position: absolute;
    left: 18px;
    color: #1e3a5f;
    font-weight: bold;
    font-size: 18px;
}

.zweispalten-liste ul li:hover {
    background: #ffffff;
    transform: translateX(5px);
    border-left-width: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.zweispalten-liste ul li strong {
    color: #1e3a5f;
    font-weight: 600;
}

@media (max-width: 768px) {
    .zweispalten-liste .wp-block-columns {
        gap: 20px;
    }
    
    .zweispalten-liste ul li {
        padding: 12px 15px 12px 40px;
    }
    
    .zweispalten-liste ul li:before {
        left: 15px;
        font-size: 16px;
    }
}

/* ============================================
   BEMERKUNG BOX (für alle Mandanten-Seiten)
   CSS-Klasse für Absatz: bemerkung-box
   ============================================ */

.bemerkung-box {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-left: 6px solid #1e3a5f;
    border-radius: 8px;
    padding: 25px 30px;
    margin: 30px 0;
    color: #4b5563;
    line-height: 1.8;
    text-align: center;
}

.bemerkung-box strong {
    color: #1e3a5f;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    text-align: center;
}

@media (max-width: 768px) {
    .bemerkung-box {
        padding: 20px 25px;
    }
}

/* ============================================
   GIS INFO BOX
   CSS-Klasse für Gruppe: gis-info-box
   ============================================ */

.gis-info-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 40px 0;
    text-align: center;
}

.gis-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

.gis-info-box h2,
.gis-info-box h3 {
    color: #1e3a5f;
    margin-bottom: 20px;
}

.gis-info-box p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.gis-info-box .wp-block-buttons {
    justify-content: center;
}

.gis-info-box .wp-block-button a {
    background: #1e3a5f;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.gis-info-box .wp-block-button a:hover {
    background: #2c5aa0;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gis-info-box {
        padding: 25px;
    }
}

/* ============================================
   FORDERUNG SCHRITTE LISTE
   CSS-Klasse für Liste: forderung-schritte-liste
   ============================================ */

.forderung-schritte-liste {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    counter-reset: step-counter;
}

.forderung-schritte-liste li {
    color: #4b5563;
    padding: 20px 25px 20px 80px;
    margin: 15px 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 5px solid #1e3a5f;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    line-height: 1.7;
    counter-increment: step-counter;
}

.forderung-schritte-liste li:before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #1e3a5f;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.forderung-schritte-liste li:hover {
    background: #f9fafb;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-width: 7px;
}

@media (max-width: 768px) {
    .forderung-schritte-liste li {
        padding: 15px 20px 15px 70px;
    }
    
    .forderung-schritte-liste li:before {
        left: 15px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* ============================================
   FORMULAR DOWNLOAD BOX
   CSS-Klasse für Gruppe: formular-download-box
   ============================================ */

.formular-download-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 40px 0;
    text-align: center;
}

.formular-download-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

.formular-download-box h2,
.formular-download-box h3 {
    color: #1e3a5f;
    margin-bottom: 20px;
}

.formular-download-box p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.formular-download-box .wp-block-file {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.formular-download-box .wp-block-file a {
    color: #1e3a5f;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.formular-download-box .wp-block-file a:hover {
    color: #2c5aa0;
}

.formular-download-box .wp-block-file .wp-block-file__button {
    background: #1e3a5f;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-weight: 600;
}

.formular-download-box .wp-block-file .wp-block-file__button:hover {
    background: #2c5aa0;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .formular-download-box {
        padding: 25px;
    }
}

/* ============================================
   GLOSSAR LISTE
   CSS-Klasse für Gruppe: glossar-liste
   ============================================ */

.glossar-liste {
    margin: 40px 0;
}

.glossar-liste .wp-block-columns {
    gap: 30px;
}

.glossar-liste ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.glossar-liste ul li {
    color: #4b5563;
    padding: 20px;
    margin: 15px 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #1e3a5f;
    border-radius: 8px;
    transition: all 0.3s ease;
    line-height: 1.7;
}

.glossar-liste ul li:hover {
    background: #f9fafb;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-width: 6px;
}

.glossar-liste ul li strong {
    color: #1e3a5f;
    font-weight: 700;
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .glossar-liste .wp-block-columns {
        gap: 15px;
    }
    
    .glossar-liste ul li {
        padding: 15px;
        margin: 10px 0;
    }
}

/* ============================================
   KONTAKT INFO GRID
   CSS-Klasse für Gruppe: kontakt-info-grid
   ============================================ */

.kontakt-info-grid {
    margin: 40px 0;
}

.kontakt-info-grid .wp-block-columns {
    gap: 25px;
    align-items: stretch !important;
}

.kontakt-info-grid .wp-block-column {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 150px;
}

.kontakt-info-grid .wp-block-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

.kontakt-info-grid .wp-block-column h3,
.kontakt-info-grid .wp-block-column h4 {
    color: #1e3a5f;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.kontakt-info-grid .wp-block-column p {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.kontakt-info-grid .wp-block-column a {
    color: #1e3a5f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.kontakt-info-grid .wp-block-column a:hover {
    color: #2c5aa0;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .kontakt-info-grid .wp-block-column {
        padding: 20px;
    }
}

/* ============================================
   KONTAKT FORMULAR BOX
   CSS-Klasse für Gruppe: kontakt-formular-box
   ============================================ */

.kontakt-formular-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 40px 0;
}

.kontakt-formular-box:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #1e3a5f;
}

.kontakt-formular-box input[type="text"],
.kontakt-formular-box input[type="email"],
.kontakt-formular-box textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.kontakt-formular-box input[type="text"]:focus,
.kontakt-formular-box input[type="email"]:focus,
.kontakt-formular-box textarea:focus {
    border-color: #1e3a5f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.kontakt-formular-box input[type="submit"],
.kontakt-formular-box button[type="submit"] {
    background: #1e3a5f;
    color: #ffffff;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kontakt-formular-box input[type="submit"]:hover,
.kontakt-formular-box button[type="submit"]:hover {
    background: #2c5aa0;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .kontakt-formular-box {
        padding: 25px;
    }
}