/* ========================================
   Modern CSS Reset
   ======================================== */

/* Box-Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Margin entfernen */
* {
  margin: 0;
}

/* Bessere Scroll- und Textdarstellung */
html {
  color-scheme: light dark;
  hanging-punctuation: first last;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Medien */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Formulare */
input,
button,
textarea,
select {
  font: inherit;
}

/* Lange Wörter umbrechen */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* Überschriften */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/* Fließtext */
p,
li,
figcaption {
  text-wrap: pretty;
}

/* Listen */
ul,
ol {
  list-style: none;
  padding: 0;
}

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

/* Tabellen */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Buttons */
button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Textareas */
textarea {
  resize: vertical;
}

/* Fokus */
:focus-visible {
  outline: 2px solid Highlight;
  outline-offset: 2px;
}

/* Root Isolation */
#root,
#__next {
  isolation: isolate;
}