/* ===========================
   RESET.CSS
   ===========================
   Zweck:
   Modernes CSS Reset für konsistentes
   Rendering über alle Browser hinweg.
   =========================== */

/* ========================================
   BOX-SIZING - GLOBAL
   ======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ========================================
   DOCUMENT BASE
   ======================================== */

html {
    height: 100%;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* ========================================
   MARGINS & PADDINGS RESET
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
    padding: 0;
}

/* ========================================
   TYPOGRAFIE RESET
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    text-wrap: balance;
}

/* Wichtig: <strong> und <b> sollen weiterhin bold sein */
strong,
b {
    font-weight: 700;
}

/* <em> und <i> sollen kursiv bleiben */
em,
i {
    font-style: italic;
}

/* Andere text-level semantics normalisieren */
address,
caption,
cite,
code,
dfn,
th,
var {
    font-style: normal;
    font-weight: inherit;
}

/* ========================================
   LISTEN RESET
   ======================================== */

ol,
ul {
    list-style: none;
}

/* ========================================
   TABELLEN RESET
   ======================================== */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption,
th {
    text-align: left;
}

/* ========================================
   FORMULARE RESET
   ======================================== */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

/* Remove default button styling */
button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* ========================================
   BILDER & MEDIA
   ======================================== */

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Fieldsets und Images ohne Border */
fieldset,
img {
    border: 0;
}

/* ========================================
   LINKS
   ======================================== */

a {
    color: inherit;
    text-decoration: none;
}


/* ========================================
   UTILITIES
   ======================================== */

.clear {
    clear: both;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 0.063rem;
    height: 0.063rem;
    padding: 0;
    margin: -0.063rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   PRINT OPTIMIERUNGEN
   ======================================== */

@media print {
    *,
    *::before,
    *::after {
        background: transparent;
        color: #000;
        box-shadow: none;
        text-shadow: none;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    img {
        page-break-inside: avoid;
    }

    h2,
    h3,
    p {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}