:root {
	--blue-darker: hsl(200 49% 30%);
	--blue: hsl(201 50% 40%);
	;
	--blue2: hsl(201 50% 75%);
	--red: hsl(13 96% 40%);
	--yellow: hsl(44 75% 50%);
	--bgcolor: var(--blue-darker);
	}

        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; 
      	background-color: #f0f0f0; /* Helles Grau */
      	color: #333; /* Dunkelgrau für Text */
      	font-family: sans-serif;
      	margin: 0; /* Entfernt den Standardrand */
	}

        .container { max-width: 900px; 
	margin: 2em auto; 
	background: white; 
	padding: 2em; 
	border-radius: 8px; 
	box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
	}



        .header1 { border-bottom: 2px solid #eee; 
	padding-bottom: 1em; 
	margin-bottom: 2em; 
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1em; }
        h1 { color: #2c3e50; margin: 0; line-height: 1.2; }
        .action-buttons a { text-decoration: none; color: white; padding: 0.6em 1.2em; border-radius: 4px; margin-left: 10px; font-size: 14px; white-space: nowrap; }
        .btn-edit { background-color: #f39c12; }
        .btn-delete { background-color: #e74c3c; }
	.btn-export { background-color: #16a085; }
        .btn-back { background-color: #95a5a6; }

        .details-grid { display: grid; grid-template-columns: 250px 1fr; gap: 15px 20px; }
        .details-grid dt { font-weight: 600; color: #555; text-align: right; }
        .details-grid dd { margin: 0; word-break: break-word; }
	.details-grid a { text-decoration: none; color: #2980b9; } /* Styling für Links in Listen */

        .empty { color: #aaa; }

        .footer-actions { margin-top: 2em; border-top: 2px solid #eee; padding: 1.5em; text-align: right; }

        /* NEU: Media Query für mobile Geräte (Bildschirme bis 768px Breite) */
        @media (max-width: 768px) {
            .container { margin: 1em; padding: 1.5em; }
	    .details-grid a { text-decoration: none; color: #2980b9; } /* Styling für Links in Listen */
            .header { flex-direction: column; align-items: flex-start; }
            .action-buttons { margin-left: -10px; } /* Korrektur für den negativen margin */
            .details-grid { grid-template-columns: 1fr; /* Stapelt die Spalten */ gap: 5px 0; }
            .details-grid dt { text-align: left; /* Richtet Label links aus */ color: #333; }
            .details-grid dd { margin-bottom: 1em; /* Fügt Abstand nach dem Wert hinzu */ }
            .footer-actions { display: flex; flex-direction: column; gap: 10px; }
            .footer-actions a { text-align: center; width: 100%; box-sizing: border-box; }
        }


.btn-back {
    background: linear-gradient(135deg, #003b63 0%, #009ee0 100%);
    text-decoration: none; 
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-edit {
    background: linear-gradient(135deg, #f39c12 0%, #f39c14 100%);
    text-decoration: none; 
    color: #fff;
    border: none;
    padding: 0.55rem 0.55rem;
    font-weight: 400;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.action-buttons a { 
    background: linear-gradient(135deg, #f39c12 0%, #f39c14 100%);
    text-decoration: none; 
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}
    <style>
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: #f4f7f6; color: #333; margin: 0; }
        .container { max-width: 1400px; margin: 2em auto; padding: 0 2em; }
        .main-content { background: white; padding: 2em; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
	.main-content a { text-decoration: none; } /* color: #2980b9; Styling für Links in Listen */
        h1, h2 { color: #2c3e50; }
	a { color: #2980b9; }
hr { color: #2980b9; }
hr.new1 {
  border-top: 1px solid red;
}

/* Red border */
hr.new1 {
  border-top: 1px solid #2980b9;
}

/* Dashed red border */
hr.new2 {
  border-top: 1px dashed red;
}

/* Dotted red border */
hr.trenner3 {
  border-top: 2px dotted #2980b9;
}

/* Thick red border */
hr.new4 {
  border: 1px solid red;
}

/* Large rounded green border */
hr.new5 {
  border: 10px solid green;
  border-radius: 5px;
}


        /* NEU: Auswertungs-Sektion */
        .summary-grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 20px; margin-bottom: 2em; }
        .stat-card { background-color: #fff; padding: 1.5em; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); border: 1px solid #e9ecef; }
        .stat-card h3 { margin: 0 0 10px 0; color: #34495e; font-size: 16px; }
        .stat-card .value { font-size: 28px; font-weight: 600; color: #2980b9; }
        .stat-card ol { padding-left: 20px; margin: 0; }
        .stat-card ol li { font-size: 14px; margin-bottom: 8px; }
        .stat-card ol li a { text-decoration: none; color: #2980b9; } /* Styling für Links in Listen */
        .stat-card ol li a:hover { text-decoration: underline; }

        /* Toolbar für Suche und Aktionen */
        .toolbar { /*  display: flex; justify-content: space-between; */ align-items: center; margin-bottom: 1.5em; flex-wrap: wrap; gap: 1em; }
        .search-form input { border: 1px solid #ddd; padding: 0.75em; border-radius: 4px; width: 300px; }
        .action-buttons a { text-decoration: none; color: white; padding: 0.75em 0.75em; border-radius: 4px; }
        .btn-add { background-color: #27ae60; } .btn-import { background-color: #2980b9; } .btn-export { background-color: #16a085; } .btn-export-xls { background-color: #1abc9c; }

/* <button class="button-65" role="button">Button 65</button>  */

/* CSS */
.button {
  appearance: none;
  backface-visibility: hidden;
  background-image: linear-gradient(-180deg, #37AEE2 0%, #1E96C8 100%);
  border-radius: 10px;
  border-style: none;
  box-shadow: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: Inter,-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif;
  font-size: 15px;
  font-weight: 500;
  height: 50px;
  letter-spacing: normal;
  line-height: 1.5;
  outline: none;
  overflow: hidden;
  padding: 14px 30px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transform: translate3d(0, 0, 0);
  transition: all .3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: top;
  white-space: nowrap;
}

.button:hover {
  background-image: linear-gradient(-180deg, #37AEE2 0%, #1E96C8 100%);
  box-shadow: rgba(0, 0, 0, .05) 0 5px 30px, rgba(0, 0, 0, .05) 0 1px 4px;
  opacity: 1;
  transform: translateY(0);
  transition-duration: .35s;
}

.button a {
  color: #fff;
}



        /* Tabelle */
        .table-wrapper { overflow-x: auto; } /* Wichtig für mobile Ansicht */
        table { width: 100%; border-collapse: collapse; white-space: nowrap; }
        th, td { padding: 0.6em; text-align: left; border-bottom: 1px solid #c5c9f1; }
        th a { text-decoration: none; color: #34495e; font-weight: 600; }
        .actions a { margin-right: 10px; text-decoration: none; color: #3498db; }
        .actions a:hover { text-decoration: underline; color: #fff; }

	tr:nth-child(even) { background-color: #f2f2f2;}
	thead th { background-color: #2980b9; }
	thead a { color: #fff;}


        /* NEU: Styles für die Filter-Form */
        .filter-form { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
        .filter-form .search-bar input { border: 1px solid #ddd; padding: 0.75em; border-radius: 4px; width: 300px; }
        .status-filter fieldset { border: none; padding: 0; margin: 0; display: flex; gap: 15px; }
        .status-filter label { cursor: pointer; }


/* NEU: Styles für die Titel-Spalte */
        .col-title {
            max-width: 400px; /* Maximale Breite, bevor der Text umbricht */
            white-space: normal; /* Erlaubt den Zeilenumbruch */
        }
        .truncate-2-lines {
            display: -webkit-box;
            -webkit-line-clamp: 2; /* Limitiert den Text auf 2 Zeilen */
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* Pagination */
        .pagination { text-align: center; margin-top: 2em; }
        .pagination a, .pagination span { display: inline-block; padding: 0.5em 1em; margin: 0 2px; border: 1px solid #ddd; text-decoration: none; color: #2980b9; border-radius: 4px; }
        .pagination span.current { background-color: #2980b9; color: white; border-color: #2980b9; }

        /* NEU: Responsive Anpassungen */
        @media (max-width: 992px) {
            .summary-grid { grid-template-columns: 1fr 1fr; }
            .summary-grid .top-10 { grid-column: 1 / -1; } /* Top 10 nimmt volle Breite ein */
        }


        @media (max-width: 768px) {
            .container { padding: 0 1em; }
            .main-content { padding: 0.5em; }
	    .main-content a { text-decoration: none; } /* Styling für Links in Listen */
            .toolbar { flex-direction: column; align-items: stretch; }
            .search-form input { width: 100%; box-sizing: border-box; }
            .summary-grid { grid-template-columns: 1fr; }
            .action-buttons a { text-decoration: none; color: white; font-size: 12px; padding: 0.5em 0.5em; border-radius: 4px; }
            .col-title { max-width: 300px;}
	    .button-container { display: flex; flex-direction: column; width: 100%;}
	    .button-container button { margin-bottom: 10px; /* Fügt etwas Abstand zwischen den Buttons hinzu */width: 100%; /* Button nimmt volle Breite ein */}
	    .button { margin-top: 5px;}
        }

input[type="date" i] {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    padding-inline-start: 1px;
    cursor: default;
    padding: 0px;
}
