/* Gestaltung, Teil 2: Grundstile (Zurücksetzen, Schrift, Links, Formularelemente). */

*, *::before, *::after { box-sizing: border-box; }
html { font-family: sans-serif; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--color-page); color: var(--color-text); font: var(--font-size-body)/var(--line-height-body) var(--font-body); }
button, input, select, textarea { margin: 0; color: inherit; font: inherit; }
article, aside, figure, footer, header, main, nav, section { display: block; }
img { max-width: 100%; height: auto; border: 0; }
figure { margin: 1em 0; }
hr { height: 1px; margin: 0 0 1.5em; border: 0; background: var(--color-border); }
table { width: 100%; margin: 0 0 1.5em; border-collapse: collapse; border-spacing: 0; table-layout: fixed; }
th, td { padding: 0.3em 0.6em; border: 1px solid var(--color-border); text-align: left; }
iframe, video, embed, object { max-width: 100%; }

h1, h2, h3, h4, h5, h6 { clear: both; margin: 0.75em 0; line-height: 1.4; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.375rem; }
p { margin: 0 0 1.5em; }
em, i, cite { font-style: italic; }
ul, ol { margin: 0 0 1.5em 1.5em; padding: 0; }
ul { list-style: disc; }
ol { list-style: decimal; }
li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; }
pre { overflow: auto; max-width: 100%; margin: 0 0 1.5em; padding: 1.5em; border: 1px solid var(--color-line); background: var(--color-page); font: 0.9375rem/1.6 "Courier 10 Pitch", Courier, monospace; }

a { color: var(--color-accent); text-decoration: underline; }
a:hover, a:focus, a:active { color: var(--color-text); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

button, input[type="submit"] {
  margin: 0; padding: 0.6em 1em; border: 0; background: var(--color-accent); color: #fff; cursor: pointer;
  text-decoration: none; text-transform: uppercase; font: 700 0.9375rem var(--font-head); transition: background 0.2s ease;
}
button:hover, input[type="submit"]:hover, button:focus, input[type="submit"]:focus { background: var(--color-text); }

input[type="text"], input[type="email"], input[type="search"], textarea {
  max-width: 100%; padding: 0.3em 0.6em; border: 1px solid var(--color-border); border-radius: 0; background: #fff; color: #666;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="search"]:focus, textarea:focus { border-color: #ccc; color: #111; }
textarea { width: 100%; }

.screen-reader-text { position: absolute !important; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; padding: 0.5em 1em; background: #fff; color: var(--color-text); }
.skip-link:focus { left: 0; }
.clearfix::before, .clearfix::after { display: table; content: ""; }
.clearfix::after { clear: both; }
