/* ---------------------------------------------------------------------------
   Grundlagen: Schriften, Tokens, Reset, Typografie
   Werte uebernommen aus dem Vorgaenger-Auftritt (Unify 1.x / Bootstrap 3):
   Primaerfarbe #72c02c, Text #333, Fliesstext 13px/1.6, Open Sans
   --------------------------------------------------------------------------- */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/open-sans-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/open-sans-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/open-sans-latin-700-normal.woff2') format('woff2');
}

:root {
  --color-primary:      #72c02c;
  --color-primary-dark: #5fb611;
  --color-primary-pale: #defce7;

  --color-text:      #333;
  --color-muted:     #687074;
  --color-heading:   #585f69;
  --color-border:    #eee;
  --color-dotted:    #e4e9f0;

  --color-footer-bg:      #585f69;
  --color-footer-text:    #dadada;
  --color-copyright-bg:   #3e4753;

  --font: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Fliesstextgroesse des Originals. Ein hoeherer Wert (15-16px) laesst sich
     hier zentral setzen, ohne das uebrige Layout anzufassen. */
  --font-size-base: 15px;
  --line-height:    1.6;

  --container: 1170px;
  --gutter:    30px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-text);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--color-heading);
  font-weight: 400;
  margin: 0 0 10px;
  line-height: 1.3;
}

h1 { font-size: 28px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
h4 { font-size: 15px; }

p {
  margin: 0 0 10px;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover,
a:focus-visible {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

ul, ol {
  margin: 0 0 10px;
  padding-left: 25px;
}

abbr[title] {
  border-bottom: 1px dotted var(--color-muted);
  cursor: help;
  text-decoration: none;
}

address {
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 20px;
}

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 20px 0;
}

:focus-visible {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 2px;
}

.text-justify {
  text-align: justify;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Sprungmarke fuer Tastaturnutzung */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #fff;
  padding: 10px 15px;
  border: 2px solid var(--color-primary);
}

.skip-link:focus {
  left: 10px;
}
