/* 
 * Reset CSS für wissen4vertrieb.de
 * Normalisiert Browser-Standardstile
 */

/* Box-Sizing für alle Elemente */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Entfernt Margin und Padding von allen Elementen */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

/* HTML5 Display-Definitionen für ältere Browser */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* Basis-Stile für den Body */
body {
  line-height: 1;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  color: var(--text-color);
  background-color: var(--primary-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Listen-Stile zurücksetzen */
ol, ul {
  list-style: none;
}

/* Blockquote und Quote-Stile zurücksetzen */
blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

/* Tabellen-Stile zurücksetzen */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Links-Stile zurücksetzen */
a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

/* Bilder responsive machen */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Formulare und Eingabefelder zurücksetzen */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/* Entfernt den Umriss bei Fokus für bessere Barrierefreiheit */
:focus {
  outline: 0;
}

/* Verhindert Textvergrößerung bei Orientierungsänderungen auf iOS */
html {
  -webkit-text-size-adjust: 100%;
}

/* Verbesserte Darstellung in allen Browsern */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/* Entfernt die Standardstile für Textmarkierungen */
::selection {
  background-color: var(--primary-color);
  color: white;
}

/* Scrollbar-Anpassungen für WebKit-Browser */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
} 