/* ===================================================================
   Inhaltsverzeichnis
   ===================================================================
   01. Allgemeine Stile & Grundlayout
   02. Karten & Container
   03. Formularelemente
   04. Buttons
   05. Tabellen & Listen 
   06. Modals (Pop-up Fenster)
   07. Statusmeldungen & Feedback-Animationen
   08. Komponenten-spezifische Stile (Kalender, Prio-Button etc.)
   09. Seiten-spezifische Stile (Login, Wochenansicht, Archiv etc.)
   10. Media Queries (Responsivität & Drucken)
   11. Neues Navigations-Layout (für index.html)
   12. Drag & Drop Cursor Stile (NEU)
   13. Verbesserte Navigation
   14. Neue Button-Navigationsleiste
   15. Seiten-Header mit Logo
   =================================================================== */


/* ===================================================================
   01. Allgemeine Stile & Grundlayout
   =================================================================== */
body { 
    font-family: 'Inter', "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    background-color: #f8f9fa; /* Helleres, neutraleres Grau */
    color: #212529; 
    margin: 0; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-container { 
    width: 85%; 
    max-width: 1800px; 
    margin: 0 auto; 
}

.container-fluid { 
    max-width: 1800px; 
}

h1, h2, h3 { 
    margin-top: 0;
    font-family: 'Inter', "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
}

h1.page-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #b0142c !important;
    font-size: 1.9em;
}

.user-info { 
    font-size: 0.9em; 
    color: #555; 
    background-color: #ecf0f1; 
    padding: 9px 15px; 
    border-radius: 4px; 
    border: 1px solid #e0e0e0; 
}


/* ===================================================================
   02. Karten & Container
   =================================================================== */
.controls-card, .display-card, .report-card { 
    background-color: #ffffff; 
    padding: 30px; 
    border-radius: 12px; 
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04); 
}

.card-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 25px; 
    flex-wrap: wrap; 
    gap: 10px; 
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f2f5;
}

.card-header h2 { 
    margin-bottom: 0; 
    font-size: 1.5rem; 
}

.card-header-actions { 
    display: flex; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 15px; 
}

.reports-layout { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
    gap: 20px; 
}

.report-card h2 { 
    border-bottom: 2px solid #ecf0f1; 
    padding-bottom: 10px; 
    margin-bottom: 20px; 
}

.stat-item { 
    text-align: center; 
}

.stat-value { 
    font-size: 2.5em; 
    font-weight: bold; 
    color: #3498db; 
}

.stat-label { 
    font-size: 1em; 
    color: #7f8c8d; 
}


/* ===================================================================
   03. Formularelemente
   =================================================================== */
.controls-card form { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 15px; 
    align-items: end; 
}

.form-group { 
    margin-bottom: 0; 
}

label { 
    display: block; 
    margin-bottom: 5px; 
    font-weight: 600; 
}

input[type="number"], select, input[type="file"], input[type="text"], input[type="password"], textarea { 
    width: 100%; 
    padding: 10px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    box-sizing: border-box; 
    transition: all 0.2s ease-in-out;
}

input:focus, select:focus, textarea:focus {
    border-color: #b0142c;
    box-shadow: 0 0 0 3px rgba(176, 20, 44, 0.15);
    outline: none;
}

.gestell-input-wrapper { 
    display: flex; 
    align-items: flex-end; 
    gap: 15px; 
}

.stein-info { 
    white-space: nowrap; 
    color: #555; 
    font-size: 0.9em; 
    font-style: italic; 
    padding-bottom: 10px; 
}

.form-group.priority-group { 
    grid-column: 1 / -1; 
    margin-top: 10px; 
}

.priority-label { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-weight: bold; 
    cursor: pointer; 
}

#prioritaet, #edit-prioritaet { 
    width: auto; 
    height: 1.2em; 
    width: 1.2em; 
}

.import-hinweis { 
    display: block; 
    font-size: 0.8em; 
    color: #555; 
    margin-top: 10px; 
}


/* ===================================================================
   04. Buttons
   =================================================================== */
button, .btn {
    transition: all 0.2s ease-in-out;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.controls-card .form-actions { 
    display: flex; 
    gap: 10px; 
    grid-column: 1 / -1; 
    margin-top: 10px; 
}

.controls-card .form-actions button { 
    width: 100%; 
}

button[type="submit"], .btn-primary { 
    background-color: #b0142c; 
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
}

button[type="submit"]:hover, .btn-primary:hover { 
    background-color: #911024; 
    color: white;
}

.danger-btn { 
    background-color: #d9534f; 
    color: white; 
    padding: 12px;
    border: none;
    border-radius: 6px;
}

.danger-btn:hover { 
    background-color: #c9302c; 
}

.print-btn, .secondary-btn { 
    width: auto; 
    padding: 8px 15px; 
    font-size: 0.9em; 
    background-color: #6c757d; 
    color: white; 
    border-radius: 4px;
}

.print-btn:hover, .secondary-btn:hover { 
    background-color: #5a6268; 
}

.action-buttons button { 
    background: none; 
    color: #333; 
    padding: 6px 10px; 
    margin-left: 5px; 
    font-size: 1.2em; 
    line-height: 1; 
    border: none;
    border-radius: 4px;
}
.action-buttons button:hover {
    background-color: #e9ecef;
}


.btn-loading { 
    opacity: 0.7; 
    cursor: wait; 
    position: relative; 
}

.btn-loading::after { 
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    width: 16px; 
    height: 16px; 
    margin: -8px 0 0 -8px; 
    border: 2px solid #fff; 
    border-right-color: transparent; 
    border-radius: 50%; 
    animation: spin 0.6s linear infinite; 
}


/* ===================================================================
   05. Tabellen & Listen 
   =================================================================== */
.table-container, .table-wrapper { 
    max-height: 60vh; 
    overflow-y: auto; 
    overflow-x: hidden; 
    border: 1px solid #e0e0e0; 
    border-radius: 4px; 
}

.table-wrapper {
    max-height: 400px;
}

table { 
    width: 100%; 
    border-collapse: collapse; 
}

th, td { 
    padding: 12px 15px; 
    text-align: left; 
    border-bottom: 1px solid #e0e0e0; 
    vertical-align: middle; 
}

thead th { 
    background-color: #ecf0f1; 
    position: sticky; 
    top: 0; 
    z-index: 10; 
}

tbody tr {
    transition: all 0.15s ease-in-out;
}

tbody tr:last-child td { 
    border-bottom: none; 
}

tbody tr:hover { 
    background-color: #f5f5f5;
    transform: scale(1.01);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 2;
    position: relative;
}

.action-buttons { 
    text-align: right; 
    white-space: nowrap; 
}


/* ===================================================================
   06. Modals (Pop-up Fenster)
   =================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1055;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 25px;
    border: 1px solid #ccc;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-button:hover, .close-button:focus { 
    color: black; 
    text-decoration: none; 
}

.kommentar-liste-wrapper { 
    max-height: 300px; 
    overflow-y: auto; 
    border: 1px solid #e0e0e0; 
    padding: 15px; 
    margin-bottom: 15px; 
    border-radius: 4px; 
}

#kommentar-liste { 
    list-style-type: none; 
    padding: 0; 
    margin: 0; 
}

#kommentar-liste li { 
    padding: 10px; 
    border-bottom: 1px solid #f0f0f0; 
}

#kommentar-liste li:last-child { 
    border-bottom: none; 
}

#kommentar-liste p { 
    margin: 5px 0 0 0; 
}

#kommentar-form textarea { 
    width: 100%; 
    min-height: 80px; 
    padding: 10px; 
    border-radius: 4px; 
    border: 1px solid #ccc; 
    margin-bottom: 10px; 
}


/* ==============================================================================
   07. Statusmeldungen & Feedback-Animationen
   =============================================================================== */

/* Basis-Styling für alle Statusmeldungen */
.status-message {
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    display: none; /* Standardmäßig ausgeblendet */
    text-align: center;
    font-weight: bold;
    transition: opacity 0.3s ease-in-out;
}

/* Grüne Box für Erfolgsmeldungen */
.status-message.success {
    background-color: #d4edda; /* Heller Grünton */
    color: #155724;             /* Dunkelgrüner Text */
    border: 1px solid #c3e6cb;
}

/* Rote Box für Fehlermeldungen */
.status-message.error {
    background-color: #f8d7da; /* Heller Rotton */
    color: #721c24;             /* Dunkelroter Text */
    border: 1px solid #f5c6cb;
}

@keyframes spin { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}

@keyframes fadeOut { 
    from { opacity: 1; } 
    to { opacity: 0; transform: scale(0.95); } 
}

@keyframes flash-update { 
    0% { background-color: inherit; } 
    50% { background-color: #fffbe6; } 
    100% { background-color: inherit; } 
}

.row-fade-out { 
    animation: fadeOut 0.5s ease-out forwards; 
}

.row-flash-update { 
    animation: flash-update 0.8s ease-in-out; 
}

.loading-spinner { 
    margin: 40px auto; 
    border: 5px solid #f3f3f3; 
    border-top: 5px solid #3498db; 
    border-radius: 50%; 
    width: 40px; 
    height: 40px; 
    animation: spin 1s linear infinite; 
}

.loading-row td { 
    text-align: center; 
    padding: 20px; 
    border: none; 
}


/* ======================================================================
   08. Komponenten-spezifische Stile
   ====================================================================== */
/* Flatpickr Kalender */
.date-picker-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}
.date-picker-wrapper label { 
    font-weight: 600; 
}
#date-picker { 
    padding: 8px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    font-size: 1em; 
    background-color: white; 
}
.flatpickr-day.has-events { 
    position: relative; 
    font-weight: bold; 
    color: #3498db; 
}
.flatpickr-day.has-events::after { 
    content: ''; 
    position: absolute; 
    bottom: 4px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 5px; 
    height: 5px; 
    border-radius: 50%; 
    background-color: #e74c3c; 
}
.flatpickr-day.is-holiday { 
    background-color: #ffdddd; 
    color: #d63333; 
    font-weight: bold; 
}

/* Prioritäts-Button */
.priority-row { 
    background-color: #fff3cd !important; 
}
.priority-toggle-btn { 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 0; 
    line-height: 1; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
}
.priority-toggle-btn img { 
    width: 28px; 
    height: 28px; 
    transition: filter 0.2s ease-in-out; 
}
.priority-toggle-btn img.not-priority { 
    filter: grayscale(100%) opacity(0.5); 
}
.priority-toggle-btn img.is-priority { 
    filter: none; 
}

/* Kommentar-Button */
.comment-btn { 
    position: relative; 
}
.comment-btn.has-comments::after { 
    content: ''; 
    position: absolute; 
    top: 0px; 
    right: 0px; 
    width: 8px; 
    height: 8px; 
    background-color: #e74c3c; 
    border-radius: 50%; 
    border: 1px solid white; 
}

/* Rüstzeit-Bearbeitung */
.ruestzeit-actions { 
    display: none; 
    align-items: center; 
    gap: 5px; 
}
.ruestzeit-display { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}
.ruestzeit-actions .secondary-btn { 
    padding: 5px 8px; 
    font-size: 1em; 
    line-height: 1; 
}


/* ===================================================================
   09. Seiten-spezifische Stile
   =================================================================== */
/* Login-Seite */
.login-body { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/static/Logo.png'); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    background-attachment: fixed; 
}
.login-container { 
    width: 100%; 
    max-width: 400px; 
    padding: 40px; 
    background-color: white; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    border-radius: 8px; 
}
.login-container h1 { 
    text-align: center; 
    margin-bottom: 25px; 
}
.login-container .form-group { 
    margin-bottom: 20px; 
}
.login-container button { 
    width: 100%; 
}

/* Tagesansicht: Kombinierte Wochenübersicht */
#wochenplan-kombiniert-tabelle thead th { 
    text-align: center; 
    vertical-align: middle; 
}
#wochenplan-kombiniert-tabelle .datum-spalte { 
    width: 120px; 
    text-align: center; 
    vertical-align: middle; 
}
#wochenplan-kombiniert-tabelle .sk1-header { 
    background-color: #e1eaf0 !important; 
}
#wochenplan-kombiniert-tabelle .sk2-header { 
    background-color: #e8f0e1 !important; 
}
#wochenplan-kombiniert-tabelle .sk1-produkt, 
#wochenplan-kombiniert-tabelle .sk1-steine, 
#wochenplan-kombiniert-tabelle .sk2-produkt, 
#wochenplan-kombiniert-tabelle .sk2-steine { 
    width: 21.25%; 
}
#wochenplan-kombiniert-tabelle .sk1-header:last-of-type, 
#wochenplan-kombiniert-tabelle td.sk1-steine { 
    border-right: 3px solid #dee2e6; 
}
tr.tages-trenner td { 
    padding: 0 !important; 
    border-bottom: 2px solid #82807F; 
}
.profilwechsel td { 
    border-top: 2px dashed #A6A6A4; 
}

/* Wochenansicht (Drag & Drop) */
.wochen-navigation { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px; 
    margin-bottom: 20px; 
}
#wochenansicht-container { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px; 
    min-height: 60vh; 
}
.tages-spalte { 
    background-color: #f8f9fa; 
    border-radius: 8px; 
    border: 1px solid #e9ecef; 
    display: flex; 
    flex-direction: column; 
}
.spalten-header { 
    padding: 15px; 
    border-bottom: 1px solid #dee2e6; 
    text-align: center; 
}
.spalten-header h3 { 
    margin: 0 0 5px 0; 
    font-size: 1.2em; 
}
.spalten-header p { 
    margin: 0; 
    color: #6c757d; 
}
.auftrags-liste { 
    list-style-type: none; 
    padding: 10px; 
    margin: 0; 
    flex-grow: 1; 
    min-height: 100px; 
}
.auftrag-karte { 
    background-color: white; 
    border: 1px solid #ddd; 
    border-radius: 5px; 
    padding: 12px; 
    margin-bottom: 10px; 
    cursor: grab; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
    position: relative; 
}
.auftrag-karte:active { 
    cursor: grabbing; 
}
.auftrag-inhalt { 
    display: flex; 
    flex-direction: column; 
    gap: 4px; 
}
.auftrag-inhalt strong { 
    font-size: 1em; 
}
.auftrag-inhalt span { 
    font-size: 0.9em; 
    color: #555; 
}
.auftrag-inhalt small { 
    display: block; 
    margin-top: 3px; 
    color: #555; 
}
.auftrag-karte.priority { 
    background-color: #fff3cd; 
    border-left: 5px solid #ffeeba; 
}
.auftrag-karte.farbwechsel { 
    border-top: 2px solid #dc3545; 
    margin-top: 15px; 
    padding-top: 10px; 
}
.auftrag-karte:not(.farbwechsel).profilwechsel { 
    border-top: 2px dotted #6c757d; 
    margin-top: 15px; 
    padding-top: 10px; 
}
.auftrag-karte.uebertrag .auftrag-inhalt strong::before { 
    content: '↪️ '; 
    margin-right: 4px; 
}
.tages-spalte.freier-tag { 
    background-color: #e9ecef; 
    border-style: dashed; 
}
.tages-spalte.freier-tag .auftrags-liste::before { 
    content: "Kurze Woche"; 
    display: block; 
    text-align: center; 
    padding-top: 30px; 
    font-size: 1.1em; 
    color: #6c757d; 
    font-style: italic; 
}
.sortable-ghost { 
    background-color: #d1eaff; 
    opacity: 0.7; 
}
.sortable-drag { 
    background-color: #ffffff; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

/* Wochenarchiv */
.sk1-header-archiv { 
    background-color: #e1eaf0 !important; 
}
.sk2-header-archiv { 
    background-color: #e8f0e1 !important; 
}
.archiv-tages-trenner td { 
    border-bottom: 2px solid #343a40 !important; 
    padding: 0 !important; 
}


/* ===================================================================
   10. Media Queries (Responsivität & Drucken)
   =================================================================== */
@media screen and (max-width: 1200px) { 
    #wochenansicht-container { 
        grid-template-columns: 1fr; 
    } 
}

@media screen and (max-width: 992px) {
    .reports-layout { 
        grid-template-columns: 1fr; 
    }
    .controls-card form { 
        grid-template-columns: 1fr; 
    }
}

@media print {
    .no-print { 
        display: none !important; 
    }
    body, html { 
        background: #fff !important; 
        color: #000 !important; 
        box-shadow: none; 
    }
    .printable-area { 
        width: 100%; 
        position: static; 
        margin: 0; 
        padding: 0; 
        border: none; 
        box-shadow: none; 
    }
    .table-container { 
        max-height: none; 
        overflow: visible; 
        border: none; 
    }
    @page { 
        size: A4 portrait; 
        margin: 15mm; 
    }
    table { 
        width: 100%; 
        font-size: 10pt; 
        -webkit-print-color-adjust: exact !important; 
        print-color-adjust: exact !important; 
    }
}

/* ===================================================================
   11. Neues Navigations-Layout (für index.html)
   =================================================================== */
.nav-link-final {
    padding: 0.5rem 0.75rem;
    color: var(--bs-link-color);
    text-decoration: none;
    transition: color .15s ease-in-out;
    margin-right: 0.5rem;
    font-weight: 500;
}

.nav-link-final:hover {
    color: var(--bs-link-hover-color);
}

.nav-link-final.active {
    font-weight: 700;
    color: #0d6efd;
    border-bottom: 2px solid #0d6efd;
}
/* ===================================================================
   12. Drag & Drop Cursor Stile 
   =================================================================== */

/* Zeigt eine "offene Hand", wenn man über eine verschiebbare Zeile im Tagesplan fährt */
#sk1-plan-body tr {
    cursor: grab;
}

/* Zeigt eine "greifende Hand", während eine Zeile aktiv verschoben wird */
#sk1-plan-body .sortable-drag {
    cursor: grabbing;
}

/* ===================================================================
   13. Verbesserte Navigation
   =================================================================== */

.main-navbar {
    background-color: #ffffff; /* Heller Hintergrund */
    border-bottom: 1px solid #dee2e6; /* Dezente Trennlinie */
    padding: 0.75rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.main-navbar .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #b0142c !important; /* Deine Markenfarbe */
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.main-navbar .nav-link {
    color: #495057; /* Dunkleres Grau für besseren Kontrast */
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-bottom: 3px solid transparent; /* Platzhalter für Hover/Aktiv-Effekt */
    transition: all 0.2s ease-in-out;
    margin: 0 0.25rem;
}

.main-navbar .nav-link:hover {
    color: #b0142c;
    border-bottom-color: #fdd8de; /* Heller Akzentton */
}

.main-navbar .nav-link.active {
    color: #b0142c !important;
    font-weight: 700;
    border-bottom-color: #b0142c; /* Markenfarbe für aktiven Link */
}

/* Anpassungen für die User-Info in der neuen Leiste */
.main-navbar .user-info {
    font-size: 0.9em;
    padding: 0.375rem 0.75rem;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 4px;
    color: #495057;
}
/* ===================================================================
   13. Verbesserte Navigation (Überschreiben)
   =================================================================== */

/* Alte main-navbar Stile entfernen/deaktivieren, falls vorhanden */
.main-navbar { display: none; }

/* ===================================================================
   14. Neue Button-Navigationsleiste
   =================================================================== */
.button-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.user-info-box {
    font-size: 0.9em;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    white-space: nowrap;
}

.button-group-nav, .button-group-user {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* Abstand zwischen den Buttons */
    align-items: center;
}

.nav-button {
    border: 1px solid #ced4da;
    background-color: #f8f9fa;
    color: #495057;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-button:hover {
    border-color: #adb5bd;
    background-color: #e9ecef;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-button.active {
    background-color: #b0142c;
    color: #ffffff;
    border-color: #b0142c;
}

/* Spezielle Farben wie im Screenshot */
.nav-button.btn-tour {
    background-color: #0dcaf0;
    color: #ffffff;
    border-color: #0dcaf0;
}
.nav-button.btn-tour:hover {
    background-color: #0b9ead;
    border-color: #0b9ead;
}

.nav-button.btn-arbeitszeiten {
    background-color: #e0e7ff; /* Heller Lilaton */
    border-color: #c7d2fe;
}
.navbar-logo {
    height: 80px;
    width: auto;
    vertical-align: middle;
}
/* Korrektur für vertikale Ausrichtung des Logos */
.logo-link {
    position: relative;
    top: 18px; /* Schiebt das Logo 12px nach unten */
}
/* ===================================================================
   15. Seiten-Header mit Logo (FINALE VERSION)
   =================================================================== */

.page-header-with-logo {
    display: flex;
    align-items: center;

}

.page-logo {
    height: 60px; 
    width: auto;  /* Stellt sicher, dass das Seitenverhältnis erhalten bleibt */
    margin-right: 25px;
}

h1.page-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #b0142c !important;
    font-size: 1.9em;
    margin: 0; /* Setzt margin-top und margin-bottom auf 0 */
    

    line-height: 60px; /* Erzwingt die gleiche Höhe wie das Logo */
}