/* === Basis-Reset === */
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background-color: #fff;
    color: #000;
}

/* === Headings === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    margin: 1em 0 0.5em;
}

/* === Paragraphs & Text === */
p {
    margin: 0 0 1em;
}

strong,
b {
    font-weight: bold;
}

em,
i {
    font-style: italic;
}

/* === Links === */
a {
    color: inherit;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

/* === Lists === */
ul,
ol {
    margin: 1em 0;
    padding-left: 2em;
}

li {
    margin-bottom: 0.5em;
}

/* === Forms === */
input,
button,
select,
textarea {
    font: inherit;
    color: inherit;
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5em;
    box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

button {
    background-color: #f0f0f0;
    cursor: pointer;
}

button:hover {
    background-color: #e0e0e0;
}

/* === Tables === */
table {
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    padding: 0.5em;
    border: 1px solid #ddd;
    text-align: left;
}

/* === Images === */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === Misc === */
hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 2em 0;
}

pre,
code {
    font-family: monospace;
    background-color: #f5f5f5;
    padding: 0.25em 0.5em;
    border-radius: 4px;
}

/* --- Firefox-artiger Stil für Formularelemente --- */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 1rem;
    background-image: none;
    box-shadow: none;
}


input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 4px;
    color: #333;
    font-family: inherit;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 1;
    display: block;
    cursor: pointer;
}