
/* ==================== fonts.css ==================== */


@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('Roboto Condensed Light'), local('RobotoCondensed-Light'),
       url('../Medien/Fonts/roboto-condensed-v27-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../Medien/Fonts/roboto-condensed-v27-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Roboto Condensed Bold'), local('RobotoCondensed-Bold'),
       url('../Medien/Fonts/roboto-condensed-v27-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../Medien/Fonts/roboto-condensed-v27-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* ==================== all.css ==================== */


html {
  overflow-y: scroll;
  visibility: hidden;
}

html.ready {
  visibility: visible;
}

body {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 130%;
  font-weight: 300;
  line-height: 1.5;
  color: rgb(64, 64, 64);
  background-color: white;
}

@media print {
  html {
    overflow-y: visible;
  }
  body {
    color: black;
    background-color: white;
  }
}


/* ----------------------- Helper ------------------------- */

p, .p {
  margin-top: 0;
  margin-bottom: 0.8em;
}

main p:last-child,
main .p:last-child,
main hr:last-child,
main ul:last-child,
main ol:last-child {
  margin-bottom: 0;
}

hr {
  color: transparent;
  height: 0;
  padding: 0;
  border: none;
  border-top: 1px solid rgb(34, 129, 196);
  margin-top: 1em;
  margin-bottom: 1em;
}

.nowrap {
  white-space: nowrap;
}


@media screen {
  .printonly {
    height: 1px !important;
    width: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    line-height: 2 !important;
    position: absolute !important;
  }
}

@media print {
  .noprint {
    display: none !important;
  }
}


/* ----------------------- Normalize.css (Auszüge) ------------------------- */

/* 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,
hgroup,
main, /* wichtig für MSIE bis 11, Android bis 4.3, Opera 12 */
nav,
section {
  display: block;
}

summary {
  display: list-item;
}

figcaption:empty {
  display: none;
}

a:active {
  outline: 0;
}

b, strong {
  font-weight: bold; /* style set to "bolder" in Firefox 4+, Safari, and Chrome */
}

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;
}


/* ==================== header.css ==================== */


header {
  color: white;
  background-color: rgb(34, 129, 196);
}


/* -------------- nav -------------- */

@media screen {
  header nav {
    position: relative;
    max-width: 1024px;
    padding: 0.8em 2.5%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 600px) {
  header nav {
    padding: 0.3em 2.5%;
  }
}


header nav img {
  vertical-align: bottom;
}


/* ---------- Zurück-Pfeil ---------- */


header nav a:first-child {
  position: absolute;
  top: 50%;
  margin-top: -15px;
  width: 48px;
  height: 30px;
}

@media only screen and (max-width: 479px) {
  header nav a:first-child {
    margin-top: -19px;
  }
  header nav a:first-child,
  header nav a:first-child img {
    width: 36px;
    height: auto; /* 22.5px */
  }
}

@media print {
  header nav a:first-child {
    display: none;
  }
}


/* --------------- Logo ------------- */

header nav a:last-child {
  display: block;
  width: 360px;
  max-width: 70%;
  margin: 0 auto;
}

@media only screen and (max-width: 600px) {
  header nav a:last-child {
    margin: 0 0 0 auto;
  }
}


header nav a:last-child span {
  position: relative;
  display: block;
  height: 0;
  padding-bottom: 27.77777778%;
}

header nav a:last-child img {
  position: absolute;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
}



/* ==================== main.css ==================== */


main {
  max-width: 744px;
  padding: 1.5em 2.5%;
  margin: 0 auto;
}

@media print {
  main {
    max-width: none;
    padding: 1.5em 0 0 0;
    margin: 0;
  }
}


/* -------------------------- Hauptüberschrift --------------------------- */

h1 {
  font-size: 1.95em;
  font-weight: 300;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0.7em;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.75em;
  }
}


/* ------------------- Zwischen- und Unterüberschriften ------------------- */

h2 {
  font-size: 1.5em;
  font-weight: 300;
  line-height: 1.3;
  margin-top: 1em;
  margin-bottom: 0.4em;
}

h3 {
  font-size: 1em;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 0.5em;
  margin-bottom: 0;
}


h2:first-child,
h1 + h2,
h2 + h3 {
  margin-top: 0;
}

/* ---------------------- Links im Inhaltsbereich -------------------------- */

main a {
  color: rgb(34, 129, 196);
}
main a:visited {
  color: gray;
}
@media (hover: hover) {
  main a:hover {
    color: gray;
  }
  main a:active {
    color: black;
  }
  main a:focus {
    color: gray;
  }
}

@media print {
  main a,
  main a:visited,
  main a:hover,
  main a:active {
    color: inherit;
    text-decoration: underline;
  }

  main a[href^="http"]:after { content: " <"attr(href)">"; }
  main .notprinturl a[href^="http"]:after,
  main a[href^="http"].notprinturl:after { content: ""; }
}


/* ---------------------- Listen -------------------- */

.blindlist {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

/* ----------------------- Zitate -------------------- */

blockquote {
  font-size: 1em;
  font-weight: 700;
  line-height: 1.4;
  margin: 0.5em 0 0 0;
}

cite {
  display: block;
  font-style: normal;
  font-weight: normal;
}

/* ==================== auswahlseiten.css ==================== */


main.auswahl {
  max-width: 1280px;
  text-align: center;
  padding-top: 2em;
}


/* ------------------- Block mit Symbolen ------------------- */

.auswahl ul {
  list-style: none;
  padding: 0;
  margin: 1em 0 0 0;
  font-size: 1.2em;
  text-align: center;
  line-height: 1.3;
}

.auswahl li {
  display: inline-block;
  width: 256px;
  height: 256px;
  padding-top: 24px;
  box-sizing: border-box;
  vertical-align: top;
}

@media (max-width: 360px) {
  .auswahl li {
    display: block;
    width: auto;
    height: auto;
  }
 .auswahl li:not(:last-child) {
    padding-bottom: 1em;
    border-bottom: 1px solid rgb(175, 175, 175);
    margin-bottom: 1em;
  }
}


.auswahl li.checked {
  outline: 1px dashed gray;
}


/* ------------------- Symbol-Link ------------------- */

.auswahl a,
.auswahl a:visited {
  color: inherit;
  text-decoration: none;
}

@media (hover: hover) {
  .auswahl a:hover {
    color: inherit;
    text-decoration: none;
  }
}

.auswahl a img {
  transition: transform 200ms;
}

@media (hover: hover) {
  .auswahl a:hover img {
    transform: scale(1.08);
  }
}

.auswahl span {
  display: block;
  padding-top: 0.2em;
}



/* --------------------- Textarea --------------------- */

.auswahl textarea {
  font-family: inherit;
  font-size: 1.2em;
  background-color: rgb(250, 250, 250);
  width: 100%;
  max-width: 744px;
  box-sizing: border-box;
  padding: 0.4em;
  border: 1px solid rgb(175, 175, 175);
}


/* ------------------- Adress-Formular ------------------- */

.auswahl input[type="file"] {
  font-family: inherit;
  font-size: 16px;
  font-size: 1rem;
}

.auswahl label > input:not([type="file"]) {
  vertical-align: middle;
}

.auswahl label[for] {
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.auswahl input[type="text"],
.auswahl input[type="number"],
.auswahl input[type="email"],
.auswahl input[type="tel"] {
  font-family: inherit;
  font-size: 1.2em;

  width: 100%;
  max-width: 360px;
  box-sizing: border-box;

  background-color: rgb(250, 250, 250);
  padding: 0.4em;
  border: 1px solid rgb(175, 175, 175);
  margin: 0.4em 0;  
}

/* Pfeile von input type=number entfernen: */
/* Chrome, Safari, Edge, Opera */
.auswahl input[type="number"]::-webkit-outer-spin-button,
.auswahl input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.auswahl input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
  appearance: textfield; /* alle anderen modernen Browser */
}


/* ------------------------------- Messagebox ------------------------------ */

.msgbox {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 99;
  width: 90%;
  max-width: 480px;
  max-height: 70%;
  max-height: 70vh;
  box-sizing: border-box;
  text-align: right;
  color: #333;
  background-color: white;
  padding: 20px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  outline: 5000px solid rgba(0,0,0,0.3);
}

.msgbox > div {
  text-align: left;
  max-height: calc(70vh - 5.5em);
  margin-bottom: 24px;
  overflow-y: auto;
}

.msgbox > div input[type="text"],
.msgbox > div input[type="password"],
.msgbox > div input[type="number"],
.msgbox > div input[type="tel"] {
  font: inherit;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ddd;
  padding: 4px;
}

.msgbox > button {
  font: inherit;
  border: none;
  background-color: #ddd;
  padding: 5px 20px;
  cursor: pointer;
  margin: 0 0 0 16px;
}

.msgbox > button:active {
  color: gray;
  background-color: #ccc;
}



/* ==================== footer.css ==================== */


/* Footer unten ankleben */

html {
  height: 100%;
}

body {
  min-height: 100%;
  position: relative;
}

main {
  padding-bottom: 13.5em; /* Footer: 11em + eigener Abstand: 2.5em */
}


footer {
  position: absolute;
  bottom: 0px;
  width: 100%;
}

@media print {
  html {
    height: auto;
  }
  body {
    min-height: 0;
    position: static;
  }
}

/* ENDE Footer unten ankleben */


footer {
  color: white;
  background-color: rgb(34, 129, 196);
  min-height: 9.5em;
  padding-top: 1.5em;
}

@media print {
  footer {
    display: none;
  }
}


/* ---------------------- UL-Tag ------------------------ */

footer ul {
  list-style: none;
  font-size: 1.15em;
  text-align: center;
  max-width: 744px;
  padding: 0 2.5%;
  margin: 0 auto;
}


/* ---------------------- LI-Tags ------------------------ */

footer li {
  display: inline-block;
}

footer li:not(:first-child):before {
  content: '·';
  display: inline-block;
  margin-left: 0.5em;
  margin-right: 0.7em;
}


@media (max-width: 600px) {
  footer li {
    display: block;
    line-height: 1.7;
  }
  footer li:not(:first-child):before {
    display: none;
  }
}

/* ---------------------- A-Tags ------------------------ */

footer a {
  color: white;
  text-decoration: none;
}
footer a:visited {
  color: white;
}
@media (hover: hover) {
  footer a:hover {
    color: black;
  }
  footer a:active {
    color: black;
  }
  footer a:focus {
    color: black;
  }
}

/* ---------------------- Counter ------------------------ */

footer {
  background-image: url('../counter/count.php');
  background-repeat: no-repeat;
}



/* ==================== startseite.css ==================== */


/* ------------------------- Hero ------------------------ */

.startseite header {
  max-width: 1024px;
  margin: 0 auto;
}

.startseite header a {
  position: relative;
  display: block;
  height: 0;
  padding-bottom: 41.015625%;
  overflow: hidden;
}

.startseite header img {
  position: absolute;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  transition: transform 200ms;
}

@media (max-width: 600px) {
  .startseite header a {
    padding-bottom: 55%;
  }
  .startseite header img {
    max-width: none;
  }
}

@media (hover: hover) {
  .startseite header a:hover img {
    transform: scale(1.02);
  }
}

/* ------------------------ Text ------------------------ */


.startseite h1,
.startseite h1 + p,
.startseite h2 {
  text-align: center;
}


.startseite h1 + p {
  font-size: 1.4em;
  line-height: 1.3;
}


/* ------------------------ Pfeil/Startbutton ------------------------ */

.startseite .startbutton {
  text-align: center;
  margin-top: 1.5em;
}

.startseite .startbutton a {
  display: inline-block;
  transition: transform 200ms;
}

@media (hover: hover) {
  .startseite .startbutton a:hover {
    transform: scale(1.05);
  }
  .startseite .startbutton a:active {
    opacity: 0.8;
  }
}

/* ------------------------- Portrait ------------------------ */

.portrait {
  padding-top: 0.75em;
  margin-bottom: 1em;
  text-align: center;
}

.portrait:after { /* clearfix */
  content: '';
  display: block;
  clear: both;
  width: 0;
  height: 0;
}

.portrait img {
  max-width: 160px;
  height: auto;
  margin-bottom: 0.5em;
}

.portrait > div {
  text-align: left;
}


@media (min-width: 767px) {
  .portrait img {
    float: right;
    max-width: 33%;
  }

  .portrait > div {
    float: left;
    max-width: 67%;
    box-sizing: border-box;
    padding-right: 11px;
  }

  .portrait h2 {
    text-align: left;
  }
}


/* ==================== impressum.css ==================== */


.impressum .links {
  line-height: 1.2;
  color: gray;
}

.impressum .links li {
  margin-top: 1em;
}


.impressum .links a {
  color: inherit;
}


@media (min-width: 768px) {
  .impressum .links {
    font-size: 0.85em;
  }

  .impressum .links li {
    white-space: nowrap;
    display: inline-block;
  }

  .impressum .links li:not(:last-child) > *:after {
    content: ' · ';
    display: inline-block;
    margin: 0 5px;
  }
}

@media (min-width: 768px) and (hover: hover) {
  .impressum .links a {
    text-decoration: none;
  }
  .impressum .links a:hover {
    text-decoration: underline;
  }
}

