:root {
            --primary-color: #1f77b4;
            --secondary-color: #2e86ab;
            --primary: #c20c0c;
            --primary-dark: #9d0000;
            --secondary: #333333;
            --dark: #1a1a1a;
            --light: #f5f5f5;
            --white: #ffffff;
            --gray: #6f6f6f;
            --accent-turkis: #2acccc;
            --cost-color: #2c5aa0;
            --border-color: #dee2e6;
            --transition: all 0.3s ease;
            --residential-color: #c20c0c;
            /* Jetzt Rot */
            --gross-color: #333333;
            /* Jetzt Schwarz/Grau */
            --height-color: #8e44ad;
            --parking-color: #e91e63;
            /* Pink für Stellplatz */
            --playground-color: #ffc107;
            /* Gelb für Spielplatz */
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        h1,
        h2,
        h3,
        h4,
        h5 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            color: var(--dark);
            line-height: 1.3;
        }

        body {
            background-color: #f5f5f5;
            color: var(--secondary);
            font-family: 'Montserrat', sans-serif;
            line-height: 1.6;
            transition: var(--transition);
            overflow: hidden;
            height: 100vh;
            margin: 0;
            padding: 0;
            font-size: 10px;
        }

        /* Main wrapper container */
        .app-wrapper {
            display: grid;
            grid-template-columns: 420px 1fr 320px;
            width: 100%;
            margin: 0;
            background: white;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            height: 100vh;
            position: relative;
        }

        /* Sidebar Styles (Left) */
        .sidebar {
            grid-column: 1;
            height: 100%;
            overflow-y: auto;
            border-right: 1px solid #e2e8f0;
            display: flex;
            flex-direction: column;
            background: white;
            position: relative;
            z-index: 100;
        }

        .brand {
            border-left: 5px solid var(--primary);
            padding: 15px;
            background: #fff;
            border-radius: 8px;
            margin-bottom: 25px;
            box-shadow: 0 4px 6px rgba(0,0,0,.05);
        }

        .sidebar-logo {
            font-family: 'Playfair Display', serif !important;
            font-size: 24px !important;
            font-weight: 700 !important;
            color: #1a1a1a !important;
            text-decoration: none;
            display: block;
            margin: 0;
            line-height: 1.2;
        }

        .sidebar-logo span {
            color: var(--primary) !important;
        }

        .sidebar-logo span.secondary {
            color: #333 !important;
        }

        /* Project List Styles */
        .project-list-sidebar {
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 15px;
            overflow-y: auto;
            flex: 1;
        }

        .project-item {
            background: #fff;
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            flex-direction: column;
            gap: 10px;
            position: relative;
        }

        .project-item:hover {
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .project-item.active {
            border-color: var(--primary);
            border-width: 2px;
            background-color: #fff9f9;
        }

        .proj-name-container {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 10px;
        }

        .project-name {
            font-weight: 700;
            color: #1e293b;
            font-size: 15px;
            line-height: 1.3;
            flex: 1;
        }

        .favorite-star {
            cursor: pointer;
            font-size: 20px;
            color: #ccc;
            transition: color 0.2s;
            line-height: 1;
        }

        .favorite-star.active {
            color: #ffc107;
        }

        .project-thumb {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 6px;
            background-color: #f8f9fa;
            border: 1px solid #eee;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            color: #ccc;
        }

        .project-details {
            font-size: 12px;
            color: #64748b;
            line-height: 1.4;
        }

        .sidebar-bottom {
            margin-top: auto;
            padding: 20px;
            border-top: 1px solid #e2e8f0;
            background: #f8fafc;
        }

        .sidebar-actions {
            margin-top: auto;
            padding: 0;
            border-top: 1px solid var(--border-color);
            background: transparent;
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding-top: 20px;
        }

        .sidebar-header {
            padding: 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .sidebar-logo {
            font-family: 'Playfair Display', serif !important;
            font-size: 20px !important;
            font-weight: 700 !important;
            color: #000 !important;
            text-decoration: none;
            display: block;
            margin-bottom: 5px;
        }

        .sidebar-logo span {
            color: var(--primary) !important;
        }

        .back-link {
            display: block;
            margin-top: 5px;
            color: var(--primary);
            text-decoration: none;
            font-size: 12px;
            transition: var(--transition);
        }

        .back-link:hover {
            color: var(--primary);
        }

        .sidebar-search {
            padding: 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .sidebar-search h4 {
            font-size: 14px;
            margin-bottom: 10px;
            font-weight: 600;
            color: #495057;
        }

        .search-input-wrapper {
            position: relative;
        }

        .search-input-wrapper i {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
        }

        .search-input {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #ced4da;
            border-radius: 4px;
            font-size: 14px;
            outline: none;
            transition: border-color 0.3s;
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(31, 119, 180, 0.25);
        }

        .sidebar-user {
            margin-top: auto;
            padding: 0;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
            background-color: transparent;
        }

        /* Card Styles */
        .card {
            background: white;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            border: 1px solid #e9ecef;
        }

        .card h3 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--dark);
            font-family: 'Playfair Display', serif;
        }

        .firma-card {
            background: white;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 25px;
            border-left: 4px solid var(--primary);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .firma-card h3 {
            color: var(--primary);
            margin-bottom: 15px;
            font-family: 'Playfair Display', serif;
            font-size: 20px;
            font-weight: 700;
            margin-top: 0;
        }

        .firma-info {
            font-size: 14px;
            line-height: 1.6;
            color: var(--secondary);
        }

        /* Main Content Styles */
        .main-content {
            grid-column: 2;
            height: 100%;
            overflow-y: auto;
            padding: 20px;
            background-color: #ffffff;
        }

        /* Right Sidebar Styles */
        .sidebar-right {
            grid-column: 3;
            height: 100%;
            overflow-y: auto;
            background: white;
            border-left: 1px solid #e2e8f0;
            padding: 25px 15px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .sidebar-right h3 {
            font-size: 16px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
            border-bottom: 2px solid #f1f5f9;
            padding-bottom: 10px;
        }

        .sidebar-right .info-content {
            font-size: 13px;
            color: #444;
            line-height: 1.6;
        }

        .sidebar-right .info-content strong {
            color: var(--dark);
        }

        .sidebar-right .info-content ul {
            margin-top: 10px;
            padding-left: 20px;
        }

        .sidebar-right .info-content li {
            margin-bottom: 8px;
        }

        .project-card {
            background: white;
            padding: 20px;
            border-radius: 8px;
            border: 1px solid #e0e0e0;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        .project-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            border-color: var(--primary);
        }

        .project-card.active {
            border-left: 4px solid var(--primary);
            background-color: #f0f7ff;
        }

        .project-card button {
            white-space: nowrap;
        }


        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0;
            padding: 0;
        }

        .btn {
            display: inline-block;
            background-color: var(--primary);
            color: var(--white);
            padding: 0.8rem 2rem;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            text-transform: uppercase;
            letter-spacing: 1px;
            border: 2px solid var(--primary);
            cursor: pointer;
        }

        .btn:hover {
            background-color: transparent;
            color: var(--primary);
        }

        /* Letterhead */
        .letterhead {
            background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), #ffffff;
            border: 2px solid var(--primary);
            padding: 20px;
            margin-bottom: 20px;
            position: relative;
            background-color: var(--white);
            page-break-inside: avoid;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
            border-radius: 6px;
            min-height: auto;
        }

        .letterhead::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--primary);
            border-radius: 6px 6px 0 0;
        }

        .letterhead-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
            padding-bottom: 10px;
        }

        .company-info {
            flex: 1;
            width: 100%;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            font-family: 'Playfair Display', serif;
            text-decoration: none;
            margin-bottom: 3px;
        }

        .logo span {
            color: var(--dark);
            font-family: 'Playfair Display', serif;
        }

        .company-subtitle {
            font-size: 0.9rem;
            color: var(--gray);
            font-style: italic;
            text-align: right;
            white-space: nowrap;
        }

        .document-title {
            text-align: right;
            flex: 1;
        }

        .document-date {
            color: var(--gray);
            font-size: 0.8rem;
            display: inline-block;
            text-align: right;
            margin-top: 5px;
        }

        .document-date input {
            border: none;
            background: transparent;
            color: var(--gray);
            font-size: 0.8rem;
            width: 80px;
            text-align: left;
            padding: 0;
            cursor: text;
        }

        /* Projekt-Content */
        .project-content {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 15px;
        }

        .image-section {
            display: flex;
            flex-direction: column;
            flex: 1.2;
            min-width: 0;
        }

        .info-section {
            display: flex;
            flex-direction: row;
            gap: 20px;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .metadata-column {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        /* Kombinierte Objekt- und Bauherr-Info */
        .combined-info-card {
            background: #ffffff;
            padding: 15px;
            border-radius: 6px;
            box-shadow: none;
            margin-bottom: 5px;
        }

        .combined-info-card h3 {
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 11px;
            border-bottom: 1px solid var(--primary);
            padding-bottom: 6px;
        }

        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .info-group {
            margin-bottom: 5px;
        }

        .info-label {
            font-weight: 600;
            font-size: 11px;
            margin-bottom: 2px;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .info-value {
            font-size: 11px;
        }

        /* Textarea für mehrzeilige Eingaben */
        .info-value textarea {
            width: 100%;
            border: none;
            background: transparent;
            resize: none;
            font-size: 11px;
            line-height: 1.3;
            padding: 2px;
            font-family: inherit;
            min-height: 20px;
        }

        .info-value textarea.one-line {
            min-height: 15px;
            height: 15px;
        }

        .info-value textarea.two-lines {
            min-height: 30px;
            height: 30px;
        }

        .info-value textarea.three-lines {
            min-height: 45px;
            height: 45px;
        }

        /* Bild-Upload */
        .image-upload {
            padding: 12px;
            text-align: center;
            border-radius: 6px;
            background: #ffffff;
            height: 350px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-bottom: 0;
            position: relative;
            cursor: pointer;
            border: none;
        }

        .image-upload h3 {
            margin-bottom: 5px;
            font-size: 11px;
        }

        .image-upload p {
            font-size: 11px;
        }

        /* Wide Image Section for Bruttoraumberechnung */
        .image-upload-wide {
            padding: 10px;
            text-align: center;
            border-radius: 6px;
            background: #ffffff;
            height: 280px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
            position: relative;
            cursor: pointer;
            width: 100%;
            border: none;
        }

        .image-upload-wide img {
            max-width: 100%;
            max-height: 280px;
            display: none;
            margin: 0 auto;
            border-radius: 3px;
            object-fit: contain;
        }

        .image-upload-wide #upload-area-wide {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .image-upload img {
            max-width: 100%;
            max-height: 280px;
            display: none;
            margin: 0 auto;
            border-radius: 3px;
        }

        .upload-btn {
            background: var(--primary);
            color: white;
            padding: 5px 10px;
            border-radius: 3px;
            cursor: pointer;
            display: inline-block;
            margin-top: 6px;
            font-size: 11px;
        }

        #upload-area {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            width: 100%;
        }

        /* Übersicht */
        .combined-overview {
            background: #ffffff;
            padding: 15px;
            border-bottom: 2px solid var(--primary);
            margin-bottom: 15px;
        }

        .combined-overview h3 {
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 11px;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 6px;
        }

        .overview-grid {
            display: block !important;
        }

        .overview-section {
            display: flex;
            flex-direction: column;
        }

        .summary-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 3px;
            font-size: 11px;
            padding: 1px 0;
        }

        .summary-item span,
        .summary-item strong {
            font-size: 11px;
        }

        .summary-total {
            font-weight: 600;
            border-top: 1px solid var(--primary);
            padding-top: 6px;
            margin-top: 6px;
            font-size: 11px;
            background: rgba(194, 12, 12, 0.03);
        }

        /* Inhaltsverzeichnis */
        .toc-card {
            background: #ffffff;
            padding: 12px;
            margin-bottom: 15px;
            page-break-inside: avoid;
        }

        .toc-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .toc-header h3 {
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 11px;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 4px;
        }

        .page-number-input {
            width: 30px;
            text-align: center;
            border: 1px solid #eee;
            border-radius: 3px;
            font-size: 11px;
            padding: 2px;
            background: transparent;
        }

        .summary-item {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 3px;
            font-size: 9px;
            padding: 1px 0;
        }

        .summary-item span:first-child {
            flex: 1;
        }

        .status-marker {
            width: 60px;
            text-align: right;
        }

        /* Kataster-Info */
        .cadastral-info {
            background: #ffffff;
            padding: 12px;
            border-radius: 6px;
            margin-bottom: 15px;
            border: 1px solid var(--primary);
        }

        .category-filter {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
            flex-wrap: wrap;
            background: var(--white);
            padding: 20px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }

        .filter-checkbox {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            font-weight: 500;
            font-size: 11px;
            padding: 8px 15px;
            background: var(--light);
            border-radius: 20px;
            border: 1px solid var(--border-color);
            transition: var(--transition);
        }

        .filter-checkbox:hover {
            border-color: var(--primary);
            background: var(--white);
        }

        .filter-checkbox input[type="checkbox"] {
            width: 16px;
            height: 16px;
            cursor: pointer;
            accent-color: var(--primary);
        }

        .cadastral-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            gap: 10px;
        }

        .cadastral-info label {
            font-weight: 600;
            font-size: 11px;
            margin-bottom: 2px;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .cadastral-info input {
            font-size: 11px;
            padding: 4px 8px;
            border: 1px solid #ced4da;
            border-radius: 4px;
            background: transparent;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #495057;
        }

        input,
        select,
        textarea {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #ced4da;
            border-radius: 4px;
            font-size: 14px;
            transition: border-color 0.3s;
        }

        input:focus,
        textarea:focus,
        select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(31, 119, 180, 0.25);
        }

        button {
            background-color: var(--primary-color);
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s;
        }

        button:hover {
            background-color: #2e86ab;
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        .btn-danger {
            background-color: var(--accent-turkis);
        }

        .btn-danger:hover {
            background-color: #c0392b;
        }

        .btn-small {
            padding: 3px 6px;
            font-size: 8px;
        }

        /* Tabs */
        .tabs {
            display: flex;
            margin-bottom: 20px;
            border-bottom: 2px solid var(--primary);
        }

        .tab {
            padding: 12px 24px;
            background: none;
            border: none;
            cursor: pointer;
            border-bottom: 3px solid transparent;
            font-weight: 600;
            color: #6c757d;
            transition: all 0.3s;
            font-size: 14px;
        }

        .tab:hover {
            color: #495057;
        }

        .tab.active {
            border-bottom-color: var(--primary);
            color: var(--primary);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* Gebäude und Geschosse */
        .building,
        .floor,
        .unit {
            margin-bottom: 15px;
        }

        /* Gleiche Höhen und Hintergrundfarben für alle Header */
        .building-header,
        .floor-header {
            min-height: 32px !important;
            height: 32px !important;
            padding: 4px 10px !important;
            display: flex;
            align-items: center;
            gap: 8px;
            border-radius: 4px;
            position: relative;
            padding-bottom: 6px !important;
        }

        /* Trennlinie unter Gebäudenamen-Boxen */
        .building-header::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--primary);
            border-radius: 0 0 4px 4px;
        }

        /* Hintergrundfarben für Gebäude-Header */
        #gross .building-header {
            background-color: rgba(30, 30, 30, 0.15) !important;
            border-left: 4px solid var(--gross-color) !important;
        }

        #residential .building-header {
            background-color: rgba(194, 12, 12, 0.08) !important;
            border-left: 4px solid var(--residential-color) !important;
        }

        #utility .building-header {
            background-color: rgba(42, 204, 204, 0.08) !important;
            border-left: 4px solid var(--accent-turkis) !important;
        }

        /* Farbige Trennlinien für Gebäude-Header */
        #gross .building-header::after {
            background: var(--gross-color) !important;
        }

        #residential .building-header::after {
            background: var(--residential-color) !important;
        }

        #utility .building-header::after {
            background: var(--accent-turkis) !important;
        }

        /* Geschoss-Header etwas heller */
        #gross .floor-header {
            background-color: rgba(30, 30, 30, 0.08) !important;
            border-left: 4px solid var(--gross-color) !important;
        }

        #residential .floor-header {
            background-color: rgba(194, 12, 12, 0.04) !important;
            border-left: 4px solid var(--residential-color) !important;
        }

        #utility .floor-header {
            background-color: rgba(42, 204, 204, 0.04) !important;
            border-left: 4px solid var(--accent-turkis) !important;
        }

        /* Themen-spezifische Tabellenfarben */
        #gross th,
        #gross .unit-name-cell {
            color: var(--gross-color) !important;
        }

        #residential th,
        #residential .unit-name-cell {
            color: var(--residential-color) !important;
        }

        #utility th,
        #utility .unit-name-cell {
            color: var(--accent-turkis) !important;
        }

        #gross .total-row td {
            border-top: 2px solid var(--gross-color) !important;
        }

        #residential .total-row td {
            border-top: 2px solid var(--residential-color) !important;
        }

        #utility .total-row td {
            border-top: 2px solid var(--accent-turkis) !important;
        }

        #gross .summary-total {
            border-top: 2px solid var(--gross-color) !important;
            background: rgba(30, 30, 30, 0.06) !important;
        }

        #residential .summary-total {
            border-top: 2px solid var(--residential-color) !important;
            background: rgba(194, 12, 12, 0.03) !important;
        }

        #utility .summary-total {
            border-top: 2px solid var(--accent-turkis) !important;
            background: rgba(42, 204, 204, 0.03) !important;
        }

        #gross .building-type-row label {
            color: var(--gross-color) !important;
        }

        #residential .building-type-row label {
            color: var(--residential-color) !important;
        }

        #utility .building-type-row label {
            color: var(--accent-turkis) !important;
        }

        #gross .section-title {
            color: #000 !important;
            border-bottom-color: var(--gross-color) !important;
        }

        #gross .volume-display {
            color: var(--gross-color) !important;
        }

        #residential .section-title {
            color: #000 !important;
            border-bottom-color: var(--residential-color) !important;
        }

        #residential .volume-display {
            color: var(--residential-color) !important;
        }

        #utility .section-title {
            color: #000 !important;
            border-bottom-color: var(--accent-turkis) !important;
        }

        #utility .volume-display {
            color: var(--accent-turkis) !important;
        }

        #residential .editable-unit-name:focus,
        #residential .note-input:focus {
            border-color: var(--residential-color) !important;
            box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.1) !important;
        }

        #utility .editable-unit-name:focus,
        #utility .note-input:focus {
            border-color: var(--accent-turkis) !important;
            box-shadow: 0 0 0 2px rgba(42, 204, 204, 0.1) !important;
        }

        /* Neue Themen-Bereiche */
        #cost .section-title {
            color: #000 !important;
            border-bottom-color: var(--cost-color) !important;
        }

        #height .section-title {
            color: #000 !important;
            border-bottom-color: var(--height-color) !important;
        }

        #parking .section-title {
            color: #000 !important;
            border-bottom-color: var(--parking-color) !important;
        }

        #playground .section-title {
            color: #000 !important;
            border-bottom-color: var(--playground-color) !important;
        }

        .tab.active[data-tab="gross"] {
            border-bottom-color: var(--gross-color) !important;
            color: var(--gross-color) !important;
        }

        .tab.active[data-tab="residential"] {
            border-bottom-color: var(--residential-color) !important;
            color: var(--residential-color) !important;
        }

        .tab.active[data-tab="utility"] {
            border-bottom-color: var(--accent-turkis) !important;
            color: var(--accent-turkis) !important;
        }

        .tab.active[data-tab="cost"] {
            border-bottom-color: var(--cost-color) !important;
            color: var(--cost-color) !important;
        }

        .tab.active[data-tab="height"] {
            border-bottom-color: var(--height-color) !important;
            color: var(--height-color) !important;
        }

        .tab.active[data-tab="parking"] {
            border-bottom-color: var(--parking-color) !important;
            color: var(--parking-color) !important;
        }

        .tab.active[data-tab="playground"] {
            border-bottom-color: var(--playground-color) !important;
            color: var(--playground-color) !important;
        }

        .building-header .editable-name,
        .floor-header .editable-name {
            height: 24px !important;
            min-height: 24px !important;
            padding: 2px 6px !important;
            flex: 1;
            max-width: 200px;
            background: transparent !important;
            border: 1px dashed transparent;
        }

        .building-header .editable-name:hover,
        .floor-header .editable-name:hover {
            border-color: var(--border-color);
            background-color: var(--white) !important;
        }

        .building-header .editable-name:focus,
        .floor-header .editable-name:focus {
            border-color: #333;
            background-color: var(--white) !important;
            outline: none;
        }

        .building-header .btn-small,
        .floor-header .btn-small {
            padding: 3px 8px !important;
            font-size: 9px !important;
            white-space: nowrap;
        }

        /* Gebäude und Geschosse näher zusammen */
        .building {
            margin-bottom: 15px;
        }

        .floor {
            margin-bottom: 10px;
        }

        /* Für die Gebäudetyp-Zeile in Nutzflächen */
        .building-type-row {
            margin: 10px 0;
            padding: 8px 12px;
            background-color: #f8f9fa;
            border-radius: 4px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .building-type-row label {
            margin-bottom: 0;
            font-weight: 600;
            color: var(--primary);
        }

        .building-type-select {
            min-width: 350px;
            font-size: 9px;
            padding: 4px 6px;
        }

        /* Gebäudeklasse - Header bündig mit linkem Rahmen */
        #height .combined-info-card h3 {
            color: #000;
            margin-bottom: 15px;
            font-size: 11px;
            border-bottom: 2px solid var(--height-color);
            padding: 10px 12px;
            background: rgba(142, 68, 173, 0.08);
            border-radius: 4px 4px 0 0;
            margin: -15px -15px 15px -15px;
            border-left: none !important;
            border-right: none;
            border-top: none;
        }

        /* Combined Info Card für Gebäudeklasse anpassen */
        #height .combined-info-card {
            background: var(--light);
            padding: 15px;
            border-radius: 6px;
            border-left: 3px solid var(--height-color);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
            position: relative;
            overflow: hidden;
        }

        /* Speziell für OKFF Erdgeschoss und Bezugshöhe Gelände */
        #height .info-value input[type="number"] {
            font-size: 11px !important;
            height: 24px;
            padding: 2px 4px;
            border: 1px solid #ced4da;
            border-radius: 4px;
            background: transparent;
        }

        #height .summary {
            border-left: 4px solid var(--height-color) !important;
        }

        #height .grand-total {
            background: rgba(142, 68, 173, 0.05) !important;
            border-top: 2px solid var(--height-color) !important;
        }

        /* Tabelle für Geschosse mit Löschfunktion */
        .floor-controls {
            display: flex;
            gap: 5px;
            align-items: center;
        }

        /* Tabellen */
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 5px 0 10px;
            font-size: 11px;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        th,
        td {
            padding: 5px 8px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }

        th {
            background-color: #f1f1f1;
            font-weight: bold;
            color: var(--primary);
        }

        .unit-name-cell {
            background-color: #f1f1f1;
            font-weight: bold;
            text-align: center;
            width: 120px;
            color: var(--primary);
            font-size: 11px;
        }

        .room-number-cell {
            text-align: center;
            width: 40px;
            font-size: 11px;
        }

        .room-name-cell {
            width: 180px;
        }

        .area-cell {
            text-align: right;
            width: 120px;
        }

        .volume-cell {
            text-align: right;
            width: 120px;
        }

        .height-cell {
            text-align: right;
            width: 100px;
        }

        /* Reduzierte Zeilenhöhe für Räume */
        .room td {
            padding-top: 2px;
            padding-bottom: 2px;
            font-size: 11px;
        }

        .note-cell {
            width: 80px;
        }

        .total-row {
            font-weight: bold;
            background-color: #f1f1f1;
        }

        .total-row td {
            font-size: 11px;
        }

        #gross .total-row td {
            border-top: 2px solid var(--gross-color) !important;
        }

        #residential .total-row td {
            border-top: 2px solid var(--residential-color) !important;
        }

        #utility .total-row td {
            border-top: 2px solid var(--accent-turkis) !important;
        }

        #cost .total-row td {
            border-top: 2px solid var(--cost-color) !important;
        }

        #height .total-row td {
            border-top: 2px solid var(--height-color) !important;
        }

        #parking .total-row td {
            border-top: 2px solid var(--parking-color) !important;
        }

        #playground .total-row td {
            border-top: 2px solid var(--playground-color) !important;
        }

        /* Parkplatz-Ergebnistabelle Spaltenbreiten */
        .parking-table th:nth-child(1) {
            width: 12%;
        }

        .parking-table th:nth-child(2) {
            width: 10%;
            text-align: center;
        }

        .parking-table th:nth-child(3) {
            width: 8%;
            text-align: center;
        }

        .parking-table th:nth-child(4) {
            width: 18%;
        }

        .parking-table th:nth-child(5) {
            width: 42%;
        }

        .parking-table th:nth-child(6) {
            width: 10%;
            text-align: right;
        }

        .parking-table td:nth-child(2),
        .parking-table td:nth-child(3) {
            text-align: center;
        }

        #parking .parking-table td:nth-child(6) {
            text-align: right;
            font-weight: bold;
            color: var(--parking-color) !important;
            font-size: 13px;
        }

        /* Summary Boxen mit farbigen linken Rändern für alle Reiter */
        .summary {
            margin-top: 20px;
            padding: 15px;
            background-color: var(--light);
            border-radius: 8px;
            border-left: 4px solid var(--primary);
        }

        /* Farbige linke Rahmen für Summary Boxen */
        #gross .summary {
            border-left: 4px solid var(--gross-color) !important;
        }

        #residential .summary {
            border-left: 4px solid var(--residential-color) !important;
        }

        #utility .summary {
            border-left: 4px solid var(--accent-turkis) !important;
        }

        #cost .summary {
            border-left: 4px solid var(--cost-color) !important;
        }

        #height .summary {
            border-left: 4px solid var(--height-color) !important;
        }

        /* STELLPLATZ - PINK */
        #parking .combined-info-card {
            border-left: 4px solid var(--parking-color) !important;
        }

        #parking .summary {
            border-left: 4px solid var(--parking-color) !important;
        }

        .parking-table th {
            background-color: #fce4ec;
            font-weight: bold;
            color: #000;
        }

        /* SPIELPLATZ - GELB */
        #playground .combined-info-card {
            border-left: 4px solid var(--playground-color) !important;
        }

        #playground .summary {
            border-left: 4px solid var(--playground-color) !important;
        }

        .playground-table th {
            background-color: #fff9e6;
            font-weight: bold;
            color: #000;
        }

        .grand-total {
            font-weight: bold;
            padding-top: 10px;
            margin-top: 10px;
            font-size: 13px;
            margin: 10px -15px -15px -15px;
            padding: 10px 15px;
            border-radius: 0 0 8px 8px;
        }

        #gross .grand-total {
            background: rgba(30, 30, 30, 0.10) !important;
            border-top: 2px solid var(--gross-color) !important;
        }

        #residential .grand-total {
            background: rgba(194, 12, 12, 0.05) !important;
            border-top: 2px solid var(--residential-color) !important;
        }

        #utility .grand-total {
            background: rgba(42, 204, 204, 0.05) !important;
            border-top: 2px solid var(--accent-turkis) !important;
        }

        /* STELLPLATZ GRAND TOTAL COLORING */
        #parking .summary-item.grand-total span:last-child {
            color: var(--parking-color) !important;
            font-weight: bold;
        }

        #playground .summary-item.grand-total span:last-child {
            color: var(--playground-color) !important;
            font-weight: bold;
        }

        .hidden {
            display: none;
        }

        .print-btn {
            background-color: var(--primary);
            margin-top: 15px;
            display: block;
            width: 100%;
            padding: 10px;
            font-size: 12px;
            border-radius: 4px;
            border: 2px solid var(--primary);
            color: var(--white);
            cursor: pointer;
            transition: var(--transition);
        }

        .print-btn:hover {
            background-color: transparent;
            color: var(--primary);
        }

        .editable-name {
            background: transparent;
            border: 1px dashed transparent;
            padding: 2px 4px;
            border-radius: 2px;
            font-weight: bold;
            font-size: 12px;
            transition: var(--transition);
        }

        .editable-name:hover {
            border-color: var(--border-color);
            background-color: var(--white);
        }

        .editable-name:focus {
            border-color: var(--primary);
            background-color: var(--white);
            outline: none;
            box-shadow: 0 0 0 2px rgba(194, 12, 12, 0.1);
        }

        .controls {
            margin-bottom: 10px;
        }

        .room-inputs {
            display: none;
        }

        .add-room-btn {
            margin-left: 5px;
        }

        .remove-room {
            background-color: var(--accent-turkis);
            color: white;
            border: none;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 10px;
            padding: 0;
            transition: var(--transition);
        }

        .remove-room:hover {
            background-color: #c0392b;
            transform: scale(1.1);
        }

        /* Stil für die Button-Gruppe */
        .unit-controls {
            display: flex;
            gap: 5px;
            align-items: center;
        }

        .remove-unit {
            background-color: var(--accent-turkis);
            color: white;
            border: none;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 10px;
            padding: 0;
            transition: var(--transition);
        }

        .remove-unit:hover {
            background-color: #c0392b;
            transform: scale(1.1);
        }

        .editable-unit-name {
            background: transparent;
            border: 1px dashed transparent;
            padding: 2px 4px;
            border-radius: 2px;
            font-weight: bold;
            text-align: center;
            transition: var(--transition);
        }

        .editable-unit-name:hover {
            border-color: var(--border-color);
            background-color: var(--white);
        }

        .editable-unit-name:focus {
            border-color: var(--primary);
            background-color: var(--white);
            outline: none;
            box-shadow: 0 0 0 2px rgba(194, 12, 12, 0.1);
        }

        .note-input {
            width: 100%;
            border: none;
            background: transparent;
            font-size: 11px;
            padding: 2px;
            transition: var(--transition);
        }

        .note-input:focus {
            outline: none;
            background-color: var(--white);
            border: 1px dashed var(--primary);
            border-radius: 2px;
        }

        .volume-inputs {
            display: flex;
            gap: 5px;
            margin-bottom: 5px;
        }

        .volume-input {
            width: 120px;
            text-align: right;
        }

        .height-input {
            width: 100px;
            text-align: right;
        }

        .volume-display {
            font-weight: bold;
            color: var(--primary);
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: bold;
            color: #000;
            margin: 25px 0 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--primary);
        }

        .table-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 5px;
        }

        .add-room {
            white-space: nowrap;
            width: auto;
            min-width: 150px;
        }

        .add-unit {
            white-space: nowrap;
            width: auto;
            min-width: 200px;
        }

        /* Herstellungskosten Tabelle */
        .cost-table {
            width: 100%;
            border-collapse: collapse;
            margin: 10px 0;
            font-size: 11px;
        }

        .cost-table th,
        .cost-table td {
            padding: 8px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }

        .cost-table th {
            background-color: #f1f1f1;
            font-weight: bold;
            color: var(--cost-color);
        }

        .cost-table .cost-header {
            background-color: #e6f0ff;
            font-weight: bold;
        }

        .cost-table .total-row {
            font-weight: bold;
            background-color: #e6f0ff;
        }

        .cost-table .total-row td {
            border-top: 2px solid var(--cost-color);
        }

        .cost-input {
            width: 80px;
            text-align: right;
            border: 1px solid var(--border-color);
            border-radius: 3px;
            padding: 2px 4px;
            font-size: 11px;
            /* ← Das sollte 11px sein */
        }

        .section-header {
            font-weight: 600;
            font-size: 11px;
            margin-bottom: 10px;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 0.3px;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 6px;
        }

        /* Stellplatz Section Header - PINK */
        #parking .section-header {
            color: #000 !important;
            border-bottom-color: var(--parking-color) !important;
        }

        /* Spielplatz Section Header - GELB */
        #playground .section-header {
            color: #000 !important;
            border-bottom-color: var(--playground-color) !important;
        }

        /* Farbige Texte in der Zusammenfassung */
        #parking .summary-item span {
            color: var(--parking-color);
        }

        #playground .summary-item span {
            color: #ff8f00;
        }

        /* Besondere Hervorhebungen */
        #parking .summary-item[style*="color: #27ae60"] span,
        #parking .summary-item[style*="color: #e67e22"] span,
        #parking .summary-item[style*="color: #3498db"] span {
            color: var(--parking-color) !important;
        }

        #playground .summary-item[style*="color: #e74c3c"] span {
            color: #ff8f00 !important;
        }

        /* Stile für Eingabefelder in den neuen Tabs */
        .parking-input,
        .playground-input {
            width: 100%;
            border: 1px solid var(--border-color);
            border-radius: 3px;
            padding: 4px 6px;
            font-size: 10px;
        }

        .factor-select {
            width: 100%;
            border: 1px solid var(--border-color);
            border-radius: 3px;
            padding: 2px 4px;
            font-size: 9px;
            background-color: white;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .project-content {
                grid-template-columns: 1fr;
            }

            .overview-grid {
                grid-template-columns: 1fr;
            }

            .cadastral-grid {
                grid-template-columns: 1fr 1fr;
            }

            .letterhead-header {
                flex-direction: column;
                text-align: center;
            }

            .document-title {
                text-align: center;
                margin-top: 15px;
            }

            .room-inputs {
                flex-wrap: wrap;
            }

            .building-header,
            .floor-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .building-type-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }

            .info-grid-columns {
                flex-direction: column;
            }

            .building-type-select {
                min-width: 280px;
            }
        }

        @media (max-width: 480px) {
            .btn {
                padding: 0.6rem 1.5rem;
                font-size: 0.9rem;
            }
        }

        /* Druckoptimierungen */
        @media print {
            @page {
                size: A4 portrait;
                margin: 1.5cm;

                @bottom-right {
                    content: "Seite " counter(page);
                    font-size: 8px;
                    color: #777;
                }

                @top-center {
                    content: none;
                }
            }

            .print-footer {
                display: none !important;
            }

            .page-number-input {
                border: none !important;
                outline: none !important;
            }

            .reason-textarea {
                font-size: 8px !important;
                line-height: 1 !important;
                height: auto !important;
                min-height: unset !important;
                border: none !important;
                padding: 0 !important;
                background: transparent !important;
                overflow: hidden !important;
            }

            body, .app-wrapper, .main-content {
                padding: 0 !important;
                font-size: 10px !important;
                line-height: 1.2 !important;
                background-color: #fff !important;
                margin: 0 !important;
                display: block !important;
                overflow: visible !important;
                height: auto !important;
            }

            .app-wrapper {
                box-shadow: none !important;
                border-radius: 0 !important;
                max-width: none !important;
            }

            /* Rahmen für Titelseite beim Druck beibehalten */
            .letterhead {
                border: 2px solid var(--primary) !important;
                box-shadow: none !important;
                min-height: auto;
                margin-bottom: 15px;
                page-break-after: avoid;
            }

            /* Schatten und Ränder für alle anderen Karten entfernen */
            .combined-info-card,
            .combined-overview,
            .toc-card,
            .tab-content,
            .summary,
            table {
                box-shadow: none !important;
                border: none !important;
            }

            tfoot {
                display: table-row-group;
            }

            .container {
                max-width: 100%;
            }

            .letterhead {
                border: 2px solid var(--primary) !important;
                box-shadow: none;
                min-height: auto;
                margin-bottom: 15px;
                page-break-after: avoid;
            }

            .letterhead .project-content,
            .letterhead .combined-overview {
                margin-bottom: 10px;
            }

            .letterhead-header {
                margin-bottom: 15px;
                padding-bottom: 10px;
            }

            .logo {
                font-size: 1.4rem;
            }

            .company-subtitle {
                font-size: 0.8rem;
                text-align: right !important;
                white-space: nowrap !important;
            }

            .letterhead-header {
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
            }

            .project-content {
                display: flex !important;
                flex-direction: column !important;
                gap: 2px !important;
                margin-bottom: 2px !important;
            }

            .image-section {
                display: flex !important;
                flex-direction: column !important;
                flex: 1.2 !important;
                min-width: 0 !important;
            }

            .info-section {
                display: flex !important;
                flex-direction: row !important;
                gap: 15px !important;
                align-items: flex-start !important;
                margin-bottom: 10px !important;
            }

            .metadata-column {
                flex: 1 !important;
                display: flex !important;
                flex-direction: column !important;
                gap: 5px !important;
            }

            .combined-info-card {
                padding: 5px !important;
                margin-bottom: 2px !important;
                padding-bottom: 2px !important;
            }

            /* Korrektur für Checkboxen im Druck */
            .combined-info-card .info-label {
                justify-content: flex-start;
            }

            .combined-info-card .info-label input[type="checkbox"] {
                transform: scale(1.0);
                width: 15px;
                height: 15px;
                flex-shrink: 0;
            }

            /* Für die Höhen-Gebäude: 4 Spalten im Druck beibehalten */
            #height .combined-info-card .info-grid {
                grid-template-columns: 1fr 1fr 1fr 1fr !important;
                gap: 10px !important;
            }

            /* Optimierung für Checkboxen in der Höhenberechnung */
            #height .combined-info-card .info-label {
                white-space: normal !important;
                line-height: 1.2 !important;
            }

            #height .combined-info-card .info-label span {
                font-size: 8px !important;
                line-height: 1.2 !important;
            }

            /* Standard für andere combined-info-cards (2 Spalten) */
            /* Verhindere Scrollbars und Scroll-Menüs in Print */
            textarea {
                overflow: hidden !important;
                resize: none !important;
            }

            .info-grid-columns {
                flex-direction: row !important;
                gap: 10px !important;
                display: flex !important;
            }

            #height .cost-table th:first-child,
            #height .cost-table td:first-child {
                width: 120px !important;
                min-width: 120px !important;
                white-space: nowrap !important;
            }

            /* Gebäudename im Druck ohne Rahmen */
            #height .combined-info-card h3 {
                border: none !important;
                padding: 0 !important;
                margin-bottom: 10px !important;
                background: transparent !important;
            }

            .combined-info-card .info-label span {
                white-space: nowrap;
            }

            .image-upload {
                height: 280px;
                padding: 0 !important;
                margin-bottom: 0;
                margin-top: 0 !important;
            }

            .toc-card .summary-item {
                margin-bottom: 2px;
            }

            .image-upload h3 {
                display: none;
            }

            .image-upload img, 
            .image-upload-wide img,
            .page-tab-content img,
            .excel-wrapper img {
                max-height: 170px !important;
                object-fit: contain !important;
                height: auto !important;
            }

            .combined-overview {
                padding: 10px;
                margin-bottom: 15px;
                border-bottom: 2px solid var(--primary) !important;
            }

            .overview-grid {
                gap: 15px !important;
                margin-bottom: 10px !important;
            }

            .cadastral-info {
                padding: 4px !important;
                margin-bottom: 5px !important;
                min-height: auto !important;
                background-color: #f5f5f5 !important;
                border: 2px solid var(--primary) !important;
                -webkit-print-color-adjust: exact !important;
                print-color-adjust: exact !important;
            }

            .cadastral-info .form-group {
                margin-bottom: 0 !important;
            }

            .cadastral-grid {
                gap: 5px !important;
            }

            button,
            .tabs,
            .print-btn,
            .controls,
            .add-room-btn,
            .remove-room,
            .upload-btn,
            .building-type-row,
            .sidebar,
            .sidebar-right,
            /* Sidebar im Druck verstecken */
            .back-link,
            .sidebar-actions,
            #project-navigation,
            .sidebar-user {
                display: none !important;
            }

            .app-wrapper,
            .main-content {
                margin-left: 0 !important;
                width: 100% !important;
                height: auto !important;
                overflow: visible !important;
                display: block !important;
                position: static !important;
            }

            .tab-content {
                display: block !important;
                page-break-before: always !important;
                break-before: page !important;
                padding: 0;
                margin-bottom: 2cm !important;
                height: auto !important;
                overflow: visible !important;
            }

            /* Selektives Drucken */
            .tab-content.no-print {
                display: none !important;
            }

            .letterhead {
                border: none !important;
                box-shadow: none !important;
                padding: 0 !important;
                page-break-before: avoid !important;
                margin-top: 0 !important;
            }

            html,
            body,
            .main-content,
            .container {
                margin-top: 0 !important;
                padding-top: 0 !important;
            }

            .letterhead::before {
                display: none !important;
            }


            .section-title {
                font-size: 16px;
                margin-top: 20px;
            }

            .editable-name,
            .editable-unit-name {
                border: none;
            }

            .note-input {
                border: none;
            }

            .building,
            .floor,
            .unit {
                margin-bottom: 10px;
            }

            table {
                font-size: 9px;
            }

            input[type="text"],
            input[type="number"],
            textarea {
                border: none !important;
                background: transparent !important;
                padding: 0 !important;
                resize: none !important;
            }

            .page-number-input {
                border: none !important;
                border-bottom: 1px dotted #888 !important;
                background-color: transparent !important;
                border-radius: 0 !important;
            }

            .info-value textarea {
                border-bottom: 1px dotted #ccc !important;
            }

            .building-type-select {
                border: none !important;
                background: transparent !important;
                min-width: auto;
            }

            /* Trennlinien im Druck */
            .building-header::after {
                display: none !important;
            }

            .building-header {
                border-bottom: 2px solid var(--primary) !important;
            }

            #gross .building-header {
                border-bottom-color: var(--gross-color) !important;
            }

            #residential .building-header {
                border-bottom-color: var(--residential-color) !important;
            }

            #utility .building-header {
                border-bottom-color: var(--accent-turkis) !important;
            }

            /* Gebäudeklasse im Druck */
            #height .combined-info-card {
                background: transparent !important;
                border: none !important;
                border-left: 3px solid var(--height-color) !important;
                padding: 10px !important;
                box-shadow: none !important;
                overflow: hidden !important;
            }

            #height .combined-info-card h3 {
                border-bottom: 2px solid var(--height-color) !important;
                margin: -10px -10px 10px -10px !important;
                padding: 8px 10px !important;
                border-left: none !important;
                background: rgba(142, 68, 173, 0.08) !important;
            }

            /* Summary Boxen im Druck mit farbigen Rändern */
            .summary {
                border-left: 4px solid var(--primary) !important;
            }

            #gross th,
            #gross .unit-name-cell {
                color: var(--gross-color) !important;
            }

            #gross .summary {
                border-left: 4px solid var(--gross-color) !important;
            }

            #residential .summary {
                border-left: 4px solid var(--residential-color) !important;
            }

            #utility .summary {
                border-left: 4px solid var(--accent-turkis) !important;
            }

            #cost .summary {
                border-left: 4px solid var(--cost-color) !important;
            }

            #height .summary {
                border-left: 4px solid var(--height-color) !important;
            }

            /* STELLPLATZ IM DRUCK - PINK */
            #parking .combined-info-card {
                border-left: 4px solid var(--parking-color) !important;
            }

            #parking .summary {
                border-left: 4px solid var(--parking-color) !important;
            }

            /* SPIELPLATZ IM DRUCK - GELB */
            #playground .combined-info-card {
                border-left: 4px solid var(--playground-color) !important;
            }

            #playground .summary {
                border-left: 4px solid var(--playground-color) !important;
            }
        }

        /* Hide project title header in print */
        @media print {
            .project-title-header {
                display: none !important;
            }
        }