/* ==========================================================================
   GLOBALES RESET & BASIS-STYLING
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #dbe3e6; /* Originaler hellgrau-blauer Hintergrund */
    color: #333333;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   GLOBALER HEADER (LOGO & PRAXISTEXT)
   ========================================================================== */
.main-header {
    background-color: #ffffff;
    max-width: 100%;
    margin: 0 auto;
    padding: 35px 40px 25px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-text {
    font-size: 46px;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 1.1;
}

.word-blue { 
    color: #3b7bbf; 
}

.word-small { 
    font-size: 18px; 
    color: #333333; 
    font-weight: normal; 
    margin: 0 8px; 
    vertical-align: middle;
}

.word-red { 
    color: #8b0000; 
}

.logo-sub { 
    font-size: 11px; 
    color: #555555; 
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.header-title {
    font-size: 26px;
    font-weight: 300;
    color: #111111;
    line-height: 1.15;
    letter-spacing: 1px;
}

/* ==========================================================================
   GLOBALE NAVIGATION
   ========================================================================== */
.main-nav {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 0px;
    padding: 0;
    margin-bottom: 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
}

.main-nav li { 
    display: flex; 
    align-items: center; 
}

/* Trennstriche exakt zwischen den unselektierten Menüpunkten */
.main-nav li:not(:last-child)::after { 
    content: "|"; 
    color: #cccccc; 
    margin: 0;
    font-size: 16px;
    font-weight: 300;
}

.main-nav a {
    text-decoration: none;
    color: #333333;
    font-size: 15.5px;
    padding: 10px 24px;
    display: inline-block;
    transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
}

/* Aktiver Zustand und Hover: Strikt eckig, weinroter Block */
.main-nav a.active, 
.main-nav a:hover {
    background-color: #661c24; 
    color: #ffffff;
    border-radius: 0 !important; 
}

/* ==========================================================================
   HAUPTCONTAINER & KARTEN-STRUKTUR
   ========================================================================== */
.content-container {
    max-width: 980px;
    margin: 40px auto;
    padding: 0 20px;
}

.white-card {
    background-color: #ffffff;
    padding: 40px;
    box-shadow: none; /* Flaches Design laut Original-Screenshot */
}

/* ==========================================================================
   ÜBERSCHRIFTEN-BANNER & SUB-HEADER
   ========================================================================== */
.title-banner {
    color: #ffffff;
    padding: 14px 20px;
    margin-bottom: 25px;
}

.bg-teal { 
    background-color: #0d6b8c; 
}

.bg-maroon { 
    background-color: #661c24; 
}

.title-banner h2 { 
    font-size: 22px; 
    font-weight: 400; 
    letter-spacing: 0.5px;
}

.subtitle { 
    font-size: 15px; 
    font-weight: bold; 
    margin-top: 25px; 
    margin-bottom: 12px; 
    border-bottom: 1px solid #eaeaea; 
    padding-bottom: 4px; 
    color: #3b7bbf;
}

/* ==========================================================================
   SPALTEN-GRIDS (ASYNCHRON)
   ========================================================================== */
.card-body { 
    display: grid; 
    gap: 30px; 
    align-items: start;
}

.grid-55-45 { grid-template-columns: 56fr 44fr; }
.grid-35-65 { grid-template-columns: 35fr 65fr; }
.grid-70-30 { grid-template-columns: 70fr 30fr; }

.text-column {
    display: flex;
    flex-direction: column;
}

.main-text-content p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

/* ==========================================================================
   BILDER & PRODUKTIONS-ELEMENTE
   ========================================================================== */
img { 
    width: 100%; 
    height: auto; 
    display: block; 
}

.image-column img {
    box-shadow: none;
}

.btn-outline {
    display: inline-block;
    padding: 6px 25px;
    border: 1px solid #333333;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    margin-top: 15px;
    background-color: #ffffff;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.btn-outline:hover { 
    background-color: #f5f5f5; 
}

/* ==========================================================================
   TEAM-SEITE SPEZIFISCH
   ========================================================================== */
.name-bar { 
    background-color: #661c24; 
    color: #ffffff; 
    font-size: 17px; 
    font-weight: bold; 
    padding: 6px 15px; 
    margin-bottom: 20px; 
}

.profile-list { 
    list-style-type: none; 
    padding-left: 15px; 
    margin-bottom: 15px; 
}

.profile-list li { 
    font-size: 14px; 
    line-height: 1.6; 
    margin-bottom: 4px; 
    position: relative; 
}

.profile-list li::before { 
    content: "•"; 
    color: #333333; 
    position: absolute; 
    left: -15px; 
}

/* ==========================================================================
   GLOBALER FOOTER
   ========================================================================== */
.main-footer {
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 50px 0 30px 0;
    font-size: 14px;
    color: #333333;
    line-height: 1.6;
}

.footer-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    gap: 40px;
}

.footer-col p { 
    margin-bottom: 5px; 
}

.footer-col a { 
    color: #333333; 
    text-decoration: underline; 
}

.footer-col a:hover { 
    color: #661c24; 
}

.footer-copyright { 
    text-align: center; 
    margin-top: 45px; 
    font-size: 13px; 
    color: #4a4a4a; 
}

/* ==========================================================================
   UTILITIES & REUSABLE CLASSES
   ========================================================================== */
.font-bold { font-weight: bold; }
.text-darkred { color: #8b0000; }
.text-blue { color: #3b7bbf; }
.text-center { text-align: center !important; }
.block { display: block; }
.margin-top-small { margin-top: 10px; }
.margin-top-medium { margin-top: 20px; }
.margin-top-large { margin-top: 35px; }
.mb-medium { margin-bottom: 20px; }

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 768px) {
    .main-header { 
        flex-direction: column; 
        gap: 15px; 
        text-align: center; 
        padding: 25px 20px;
    }
    
    .header-title {
        font-size: 22px;
    }
    
    .main-nav ul { 
        flex-direction: column;
    }
    
    .main-nav li {
        width: 100%;
        justify-content: center;
    }
    
    .main-nav li:not(:last-child)::after { 
        display: none; 
    }
    
    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .grid-55-45, .grid-35-65, .grid-70-30 { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .white-card { 
        padding: 20px; 
    }
    
    .footer-container { 
        grid-template-columns: 1fr; 
        gap: 25px; 
        text-align: center; 
        padding: 0 20px; 
    }
    
    .footer-copyright { 
        margin-top: 30px; 
    }
}
