html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    height: 100%;
    background: url('bunny.webp') repeat;
    color: #333;
}

.seite {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.inhalt {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    text-align: center;
}

h1 {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-shadow: 0 0 4px rgba(0,0,0,0.7);
    border-radius: 5px;
    margin-bottom: 20px;
}

.tabelle-wrapper {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    max-width: 100%;
    margin: 0 auto 20px auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    word-wrap: break-word;
}

thead {
    background: #eee;
}

thead th {
    padding: 8px;
    text-align: center;
    font-weight: 700;
    border-bottom: 2px solid #ccc;
    white-space: normal;
}

tbody td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    white-space: normal;
}

tbody tr:last-child td {
    border-bottom: none;
}

.einnahme {
    color: green;
    font-weight: bold;
}

.ausgabe {
    color: red;
    font-weight: bold;
}

.summen {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    max-width: 250px;
    margin: 0 auto;
}

.summe-zeile {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 1em;
}

.summe-zeile.netto {
    font-weight: bold;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 10px;
}

.bezeichnung {
    color: #555;
}

.wert {
    color: #333;
}
