
/* ==================== style/vars.css ==================== */


:root {
  --color-primary: #044ea2;
  --color-secondary: #a70000;
  --color-text: #3A3938;
  --bgcolor-body: white;
  --color-footer: #044ea2;

  --page-padding: 15px;    /* linker und rechter Seitenrand */
  --main-width: 744px;     /* Breite des Satzspiegels */
  --margin-bottom: 0.66em; /* Standard-Durchschuss zwischen Absätzen */
  --footer-height: 11em;   /* Wert austesten */
}


@media screen and (prefers-color-scheme: dark) {
  :root {
    --color-primary: #b5bee1;
    --color-secondary: #e2b09c;
    --color-text: white;
    --bgcolor-body: black;
    --color-footer: #044ea2;
  }
}

/* ==================== style/fonts.css ==================== */


/*

Fonts einbinden:

1. Gehe zu https://google-webfonts-helper.herokuapp.com/fonts und klicke die gewünschten Schrift-Stile an

2. Klicke im Bereich "3. Copy CSS" auf den Button "Modern Browsers"

3. Gib im Feld "Customize folder prefix (optional):" den Pfad "../Fonts/" an.

4. Kopiere den resultierenden CSS-Code in diese Datei

5. Lade das ZIP mit den Schriften herunter und lege die Fontdateien in den Ordner "../Fonts/"

Für weitere Schriftarten wiederhole dieses Prozedere. 

*/


/* roboto-300 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('Roboto Light'), local('Roboto-Light'),
       url('Fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('Fonts/roboto-v30-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular'),
       url('Fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('Fonts/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-500 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Roboto'), local('Roboto-Regular'),
       url('Fonts/roboto-v30-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('Fonts/roboto-v30-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Roboto Bold'), local('Roboto-Bold'),
       url('Fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('Fonts/roboto-v30-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* roboto-condensed-300 - latin */
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('Roboto Condensed Light'), local('RobotoCondensed-Light'),
       url('Fonts/roboto-condensed-v19-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('Fonts/roboto-condensed-v19-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-condensed-400 - latin */
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Roboto Condensed Regular'), local('RobotoCondensed-Regular'),
       url('Fonts/roboto-condensed-v19-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('Fonts/roboto-condensed-v19-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* ==================== style/normalize.css ==================== */


/* Auszüge aus: https://github.com/necolas/normalize.css/blob/master/normalize.css */

html {
  -webkit-text-size-adjust: none; /* nur iPhone */
  text-size-adjust: none;
  font-variant-ligatures: no-common-ligatures;
}

body,
figure {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure, /* Safari iPhone 3, MSIE 8 */
footer,
header,
main, /* wichtig für MSIE bis 11, Android bis 4.3, Opera 12 */
nav,
section {
  display: block;
}

summary {
  display: list-item;
}

a:active {
  outline: 0;
}

b, strong {
  font-weight: 500;
}

small {
  font-size: 82%;
}
small small {
  font-size: 1em;
}

sub,
sup {
  font-size: 82%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.34em;
}
sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

button,
input,
optgroup,
select,
textarea {
  font-size: inherit;
  margin: 0; /* Firefox 4+, Safari, and Chrome */
}

button::-moz-focus-inner, /* Remove inner padding and border in Firefox 4+ */
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}


/* ==================== style/html-body.css ==================== */


@media screen {
	html {
		overflow-y: scroll;
	}

	body {
		color: var(--color-text);
		background-color: var(--bgcolor-body);
	}
}

html {
	font-size: 100%; /* damit man die Einheit "rem" verwenden kann */
}

body {
  font-family: 'Roboto', sans-serif;
	font-size: 125%;
  font-weight: 300;
	line-height: 1.5;
	margin: 0;
}

.nowrap {
  white-space: nowrap;
}


@media only screen and (max-width: 739px){
	body {
    font-size: 105%;
	}
}

@media only screen and (max-width: 479px){
	body {
    font-size: 100%;
	}
}


/* ==================== style/header.css ==================== */


body > header {
  padding-bottom: 1em;
}

@media screen {
  body > header {
    background-color: var(--bgcolor-body);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  }
}

@media (max-height: 480px) {
  body > header {
    position: static;
  }
}

@media screen and (prefers-color-scheme: dark) {
  body > header {
    border-bottom: 1px solid #333;
  }
}


body > header > div {
  max-width: 744px;
  padding-top: 10px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}


body > header .table {
  display: table;
  width: 100%;
}

body > header .table > * {
  display: table-cell;
  vertical-align: middle;
}

body > header .table > *:first-child {
  width: 320px;
}


body > header img {
  width: 100%;
  height: auto;
}


@media (hover: hover) {
  body > header a img {
    transition: filter, transform 300ms;
  }
  body > header a:hover img {
    transform: scale(102%);
  }
  body > header a:active img {
    filter: brightness(0.9);
  }
  body > header a:focus img {
    transform: scale(102%);
  }
}


/* ==================== style/nav.css ==================== */


body > header nav {
  font-size: 0.9em;
  font-weight: 400;
  text-align: right;
}

body > header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}


body > header nav li {
  display: inline-block;
  margin-top: 8px;
  margin-left: 18px;
}

body > header nav li.block {
  display: block;
}

body > header nav li.menu-opener {
  display: none;
}

@media only screen and (max-width: 600px) {
  body > header nav li:not(.menu-opener) {
    display: none;
  }

  body > header nav li.menu-opener {
    display: inline-block;
    font-size: 1.5em;
    letter-spacing: 2px;
    margin-top: 2.5em;
  }
}


body > header nav a {
  text-decoration: none;
}

body > header nav a:link    { color: var(--color-secondary); }
body > header nav a:visited { color: var(--color-secondary); }
@media (hover: hover) {
  body > header nav a:hover   { color: var(--color-primary); }
  body > header nav a:active  { color: black; }
  body > header nav a:focus   { color: var(--color-primary); }
}

body > header nav li:not(.menu-opener) a::before {
  content: '» ';
}



/* ==================== style/hero.css ==================== */


.hero {
  max-width: 744px;
  margin: 0 auto;
}

.hero img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}



/* ==================== style/menue.css ==================== */


.menue {
  font-family: 'Roboto Condensed', sans-serif;
  max-width: 426px;
  padding: 0 18px;
  margin: 0 auto;
}


.menue .header {
  text-align: right;
  margin-bottom: 1em;
}


.menue .header a {
  font-family: 'Roboto', sans-serif;
  font-size: 3.3rem;
  line-height: 1.25;
  text-decoration: none;
  color: var(--color-secondary);
}

@media (hover: hover) {
  .menue .header a:hover {
    color: var(--color-primary);
  }
  .menue .header a:active {
    color: black;
  }
  .menue .header a:focus {
    color: var(--color-primary);
  }
}

.tree,
.tree ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.tree {
  line-height: 1.35;
  font-size: 1.7rem;
}

.tree ul  {
  font-size: 1.35rem;
  margin-left: 20px;
  margin-top: 0.25em;
  margin-bottom: 0.6em;
}


.tree > li {
  margin-top: 1rem;
}


main .tree > li > ul li {
  padding-left: 0;
}

main .tree ul li::before {
  display: none;
}


main .tree a {
  color: rgb(128,128,128);
  font-weight: inherit;
}

@media (hover: hover) {
  .tree a:hover {
    color: var(--color-secondary);
  }
  .tree a:active {
    color: black;
  }
  .tree a:focus {
    color: var(--color-primary);
  }
}

/* ==================== style/main/main.css ==================== */


@media screen {
  main {
    padding-bottom: 2.2em;
  }

	main > * {
		max-width: var(--main-width);
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
		margin-left: auto;
		margin-right: auto;
	}
}

main > * {
  margin-top: 0;
  margin-bottom: var(--margin-bottom);
}

main > *:last-child {
  margin-bottom: 0;
}

/* ==================== style/main/h1-h6.css ==================== */


h1 {
  color: var(--color-primary);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 2em;
  font-weight: 300;
  line-height: 1.25;
  margin-top: 0.5em;
  margin-bottom: 0.25em;
}


h2 {
  font-size: 1.25em;
  font-weight: 400;
  line-height: 1.33;
  margin-bottom: 0.25em;
}

h3, .h3 {
  font-size: 1em;
  font-weight: 500;
  line-height: 1.33;
  margin-bottom: 0em;
}

h4, h5, h6 {
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 0;
}

main > h1 > span {
  display: block;
  position: relative;
}

main > h1 > span > a + span {
  display: inline-block;
  margin: 0 1em;
}

main > h1 > span > a {
  color: var(--color-secondary);
  text-align: left;
  position: absolute;
  left: 0;
  width: 10%;
  padding-right: 2.5%;
}
main > h1 > span > a:visited {
  color: var(--color-secondary);
}

/* ==================== style/main/a.css ==================== */


main a {
  font-weight: 400;
  color: var(--color-secondary);
  text-decoration: none;
}

main a:visited {
  color: var(--color-secondary);
}

@media (hover: hover) {
  main a:hover {
    color: var(--color-primary);
  }
  main a:active {
    color: black;
  }
  main a:focus {
    color: var(--color-primary);
  }


  main a img {
    transition: filter, transform 300ms;
  }
  main a:hover img {
    transform: scale(102%);
    filter: brightness(0.9);
  }
  main a:active img {
    filter: brightness(0.9);
  }
  main a:focus img {
    transform: scale(102%);
  }


  .thumbnav-links a {
    transition: filter, transform 300ms;
  }
  .thumbnav-links a:hover {
    transform: scale(102%);
    filter: brightness(1.1);
  }
  .thumbnav-links a:active {
    filter: brightness(0.9);
  }
  .thumbnav-links a:focus {
    transform: scale(102%);
  }
}


@media print {
  main a,
  main a:visited,
  main a:hover,
  main a:active {
    color: black;
    text-decoration: none;
  }

  main a[href^="http"]:after { content: " <"attr(href)">"; }
  main .notprinturl a[href^="http"]:after,
  main a[href^="http"].notprinturl:after { content: ""; }
}




/* ==================== style/main/figure-img.css ==================== */


main > figure:not([class]) {
  margin-top: 1.5em;
  margin-bottom: 1.25em;
}

main > img,
main > figure:not([class]) img {
  outline: 1px solid;
  color: rgb(222,222,222);
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}


main > figure:not([class]) figcaption:not(:empty) {
	color: rgb(128, 128, 128);
  margin-top: 0.4em;
}


/* ==================== style/main/figure-video.css ==================== */


main > video,
main > figure:not([class]) video {
  outline: 1px solid;
  color: rgb(222,222,222);
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  cursor: pointer;
  margin-bottom: 1.0em;
}

main > figure:not([class]) video > figcaption:not(:empty) {
  color: rgb(128,128,128);
  margin-top: 0.5em;
}

/* ==================== style/main/hr.css ==================== */


main > hr {
  max-width: var(--main-width);
  height: 0;
  padding: 0;
  border: none;
  border-top: 1px solid var(--color-primary);
  opacity: 0.5;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

@media only screen and (max-width: 774px){
	hr {
  margin-left: 15px;
  margin-right: 15px;
	}
}

@media only screen and (max-width: 567px){
	hr {
  margin-left: 15px;
  margin-right: 15px;
	}
}


/* ==================== style/main/ul-li.css ==================== */


main ul:not([class]) {
  list-style-type: none;
  margin-bottom: 0.75em;
}

main ul:not([class]) ul {
  margin: 0.25em 0;
  padding: 0;
}


main ul:not([class]) p {
  font-weight: 600;
  padding-left: 24px;
  position: relative;
  margin-bottom: 0.25em;
}


main ul:not([class]) li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 0.25em;
}

main ul:not([class]) li:before {
  content: url('Layout/bullet.svg');
  position: absolute;
  left: -1px;
  top: 1px;
  width: 0.9rem;
  height: 0.9rem;
}

@media screen and (prefers-color-scheme: dark) {
  main ul:not([class]) li:before {
    content: url('Layout/bullet-dark.svg');
  }
}


main ul:not([class]) ul li:before {
  opacity: 0.5;
}


main ul.blindlist {
  list-style-type: none;
}

main ul.blindlist a { /* Impressum */
  display: inline-block;
}

@media only screen and (max-width: 467px) {
  main ul.blindlist a {
    padding: 12px 0;
  }
}


/* ==================== style/main/thumbnav.css ==================== */


.thumbnav {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 1.33;
  max-width: 744px;
  margin-top: 1em;
  margin-bottom: 0.5em;
}


/* ----------------------------- Boxen ----------------------------- */

.thumbnav a {
  text-align: left;
  text-decoration: none;
  color: var(--color-secondary);
}


.thumbnav img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  margin-bottom: 3.33%;
}


/* ----------------------------- Grid ----------------------------- */

@media (min-width: 721px) {
  .thumbnav {
    --spalten: 2;
    --abstand: 3%;
  }
  .thumbnav > *:nth-child(2n) {
    margin-right: 0;
  }
}

@media (max-width: 720px) and (min-width: 391px)  { /* 390 = 15px Seitenrand + 360px Thumbnailbreite + 15px Seitenrand */
  .thumbnav {
    --spalten: 2;
    --abstand: 3%;
  }
  .thumbnav > *:nth-child(2n) {
    margin-right: 0;
  }
}

@media (max-width: 390px) {
  .thumbnav {
    --spalten: 1;
    --abstand: 1em;
  }
  .thumbnav > *:nth-child(1n) {
    margin-right: 0;
  }
}


/* ==================== style/main/thumbnav-links.css ==================== */


.thumbnav-links {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 1.33;
  max-width: 744px;
  margin-top: 1em;
}


/* ----------------------------- Boxen ----------------------------- */

.thumbnav-links a {
  text-align: left;
  text-decoration: none;
  color: var(--color-secondary);
}


.thumbnav-links img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  margin-left: -5px;
}


/* ----------------------------- Grid ----------------------------- */

@media (min-width: 391px)  { /* 390 = 15px Seitenrand + 360px Thumbnailbreite + 15px Seitenrand */
  .thumbnav-links {
    --spalten: 2;
    --abstand: 3%;
  }
  .thumbnav-links > *:nth-child(2n) {
    margin-right: 0;
  }
}

@media (max-width: 390px) {
  .thumbnav-links {
    --spalten: 1;
    --abstand: 1em;
  }
  .thumbnav-links > *:nth-child(1n) {
    margin-right: 0;
  }
}


/* ==================== style/main/partner.css ==================== */


.partner {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.5em;
  font-weight: 300;
  line-height: 1.33;
  text-align: center;
  max-width: 744px;
  margin-top: 0.6em;
}


/* ----------------------------- Boxen ----------------------------- */

.partner a {
  text-decoration: none;
}


.partner img {
  width: 100%;
	height: auto;
	vertical-align: bottom;
  margin-bottom: 2.5%;
}


/* ----------------------------- Grid ----------------------------- */

@media (min-width: 721px) {
  .partner {
    --spalten: 6;
    --abstand: 2%;
  }
  .partner > *:nth-child(6n) {
    margin-right: 0;
  }
}

@media (max-width: 720px) and (min-width: 521px)  { /* 390 = 15px Seitenrand + 360px Thumbnailbreite + 15px Seitenrand */
  .partner {
    --spalten: 6;
    --abstand: 2%;
  }
  .partner > *:nth-child(6n) {
    margin-right: 0;
  }
}

@media (max-width: 520px) and (min-width: 391px)  { /* 390 = 15px Seitenrand + 360px Thumbnailbreite + 15px Seitenrand */
  .partner {
    --spalten: 4;
    --abstand: 2%;
  }
  .partner > *:nth-child(4n) {
    margin-right: 0;
  }
}


@media (max-width: 390px) {
  .partner {
    --spalten: 3;
    --abstand: 2%;
  }
  .partner > *:nth-child(3n) {
    margin-right: 0;
  }
}




/* ==================== style/main/grid-2-spaltig.css ==================== */


@media (min-width: 480px)  { 
  .grid-2 {
    --spalten: 2;
    --abstand: 3%;
  }
  .grid-2 > *:nth-child(2n) {
    margin-right: 0;
  }
}

@media (max-width: 479px) {
  .grid-2 {
    --spalten: 1;
    --abstand: 1em;
  }
  .grid-2 > *:nth-child(1n) {
    margin-right: 0;
  }
}

.grid-2 img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}


/* ==================== style/main/newsbox.css ==================== */


@media screen {
  .newsbox {
    box-sizing: border-box;
    padding: 18px 20px;
    background-color: #fdf0ef;
    margin-top: 1em;
    margin-bottom: 1.75em;
  }

  .newsbox h2 {
    font-size: 1.25em;
    font-weight: 500;
    line-height: 1.33;
    margin-top: 0;
    margin-bottom: 0.25em;
  }

  .newsbox p {
    font-weight: 300;
    text-decoration: none;
    padding-bottom: 0.67em;
    margin-top: 0;
    margin-bottom: 0.67em;
  }

  .newsbox p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .newsbox a {
    font-weight: 400;
    color: var(--color-secondary);
    text-decoration: none;
  }
}

@media print {
  .newsbox {
    border: 3px solid var(--color-primary);
    padding: 15px 15px;
  }
}

@media (max-width: 567px) {
  .newsbox {
    box-sizing: border-box;
    padding: 15px 15px;
    font-weight: 400;
    color: black;
  }
}


.newsbox h2::before,
.newsbox h2::after {
  content: "+ + +";
  font-weight: 700;
  color: var(--color-secondary);
}

.newsbox h2::before {
  padding-right: 0.5em;
}

.newsbox h2::after {
  padding-left: 0.5em;
}


@media screen and (prefers-color-scheme: dark) {
  .newsbox {
    color: white;
    background-color: #a70000;
  }
}



/* ==================== style/main/ansprechpartner.css ==================== */


.team section {
  border-top: 1px solid var(--color-primary);
  padding-top: 1.5em;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.team section::after { /* clearfix */
  content: '';
  display: block;
  clear: both;
  width: 0;
  height: 0;
}

.team section h2 {
  margin-top: 0;
  margin-bottom: 0.34;
  line-height: 1.2;
}

.team section h3 {
  font-weight: 500;
  padding-left: 24px;
  position: relative;
  margin-bottom: 0.25em;
}

.team section p {
  margin-top: 0 !important;
  text-align: left;
  margin: var(--margin-bottom) 0;
}

.team section img {
  max-width: 100%;
  height: auto;
  margin-bottom: 0.67em;
}

@media (min-width: 774px) {
  .team section > div {
    width: 50%;
    box-sizing: border-box;
  }

  .team section img {
    max-width: 50%;
  }

  .team section:nth-child(odd) > div {
    float: left;
    padding-right: 12px;
  }

  .team section:nth-child(odd) img {
    float: right;
  }


  .team section:nth-child(even) > div {
    float: right;
    padding-left: 12px;
  }

  .team section:nth-child(even) img {
    float: left;
  }
}


.team section h3 {
  font-weight: 500;
  padding-left: 24px;
  position: relative;
  margin-bottom: 0.34em;
}


.team section ul {
  margin-bottom: 0.75em;
  padding-left: 0;
}

.team section ul > li {
  margin-bottom: 0.34em;
}


/* ==================== style/main/thumbnails.css ==================== */


main > .thumbnails {
  padding: 0;
  max-width: var(--main-width);
  margin-top: 1em;
  margin-bottom: 1.67em;
}


.thumbnails {
  --spalten: 4;
  --abstand: 1px;
}

.thumbnails > *:nth-child(4n) { /* 4n = var(--spalten) + 'n' */
  margin-right: 0;
}


.thumbnails a {
  text-align: left; /* siehe main.css */
  overflow: hidden;
  background-color: black;
  position: relative;
}

.thumbnails a:before {
  content: '';
  display: inline-block;
  vertical-align: top;
  width: 0;
  height: 0;
  padding-bottom: 100%;
}


.thumbnails a img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
}



/* ==================== style/footer.css ==================== */


/* Footer unten ankleben */

@media screen {
	html {
		height: 100%;
	}

	body {
		min-height: 100%;
		position: relative;
		padding-bottom: var(--footer-height);
		box-sizing: border-box;
	}

	footer {
		position: absolute;
		bottom: 0;
		width: 100%;
		box-sizing: border-box;
	}
}

/* ENDE Footer unten ankleben */


@media print {
  footer {
    display: none;
  }
}


footer {
  background-color: var(--color-footer);
  height: var(--footer-height);
  padding: 0 var(--page-padding);
}


footer nav {
  font-size: 1.33rem;
  font-weight: 300;
  max-width: var(--main-width);
  padding-top: 1.125rem;
  margin: 0 auto;
}


/* ---------------------- Links ------------------------ */


footer a {
  color: white !important;
  text-decoration: none;
  display: inline-block;
  margin-right: 1.5rem;
}


@media (hover: hover) {
  footer a:hover {
    opacity: 0.8;
  }
  footer a:active {
    opacity: 1;
  }
  footer a:focus {
    text-decoration: underline;
  }
}


@media only screen and (max-width: 467px) {
  footer a {
    display: block;
    padding-bottom: 0.25rem;
    margin-right: 0;
  }
}


/* ---------------------- Counter ------------------------ */

footer {
  background-image: url('../counter/count.php');
  background-repeat: no-repeat;
}



/* ==================== style/grid.css ==================== */


.grid {
  display: block; /* vorsichtshalber */
}

ul.grid,
ol.grid {
  list-style-type: none;
  padding-left: 0;
}

.grid:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  clear: both; 
}


.grid > * {
  float: left;
  box-sizing: border-box;
  width: calc((100% - var(--abstand, 0.67em) * (var(--spalten, 1) - 1)) / var(--spalten, 1));
  margin: 0 var(--abstand, 0) var(--abstand, 0.67em) 0;
}


/* Anwendersyntax:

.grid {
  --spalten: 3;
  --abstand: 2.126%;
}

.grid > *:nth-child(3n) { 3n = var(--spalten) + 'n'
  margin-right: 0;
}

*/
