/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@font-face {
  font-family: 'Futura';
  src: url(../fonts/FuturaStd-Book.woff);
  font-style: normal;
  font-weight: 300;
}
@font-face {
  font-family: 'Futura';
  src: url(../fonts/FuturaStd-Bold.woff);
  font-style: normal;
  font-weight: bold;
}
@font-face {
  font-family: 'Futura';
  src: url(../fonts/FuturaStd-Bold.woff);
  font-style: normal;
  font-weight: 700;
}

html {
  color: #222;
  font-size: 1.063em;
  line-height: 1.4;
  font-family: 'Futura', sans-serif;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  height: 100%;
  display: flex;
  flex-flow: column;
}

main {
  margin: auto 0;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


p {
  line-height: 1.76;
}

.my-block {
  margin-bottom: 100px;
  margin-top: 100px;
}
.py-block {
  padding-bottom: 100px;
  padding-top: 100px;
}
.mb-block {
  margin-bottom: 100px;
}
.mt-block {
  margin-top: 100px;
}

#main-header {
  position: sticky;
  top: 0;
  z-index: 999;
}

img {
  max-width: 100%;
  height: auto;
}

.fs-14 {
  font-size: 14px;
}

.fw-bold {font-weight: bold;}

.h1 {
  font-size: 48px;
  font-weight: bold;
}

.h2 {
  font-size: 34px;
  font-weight: bold;
}

.h3 {
    font-size: 24px;
  font-weight: bold;
}

.h3 {
    font-size: 20px;
  font-weight: bold;
}

ul {
  margin: 0;
  padding: 0;
  padding-left: 1em;
}
ul {
  list-style: none; /* Remove default bullets */
}

ul li::before {
  content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: #E30613; /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
}

.rounded-sm {
  border-radius: 2px;
}

.rounded-lg {
  border-radius: 20px;
}

.shadow-md {
  box-shadow: 0px 4px 8px #E4E4E4;
}

.header-image {
  max-height: 400px;
  width: 100%;
  height: 35vw;
  position: relative;
  background-color: #F8F8F8;
}
.header-image img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}

.breadcrumbs {
  font-size: 12px;
}
.breadcrumbs a {
  display: inline-block;
  color: #C7C7C7;
}
.breadcrumbs a:hover {
  color: #E30613;
}
.breadcrumbs-divider:after {
  content: ' / ';
  color: #C7C7C7;
}

blockquote {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 24px;
  line-height: 29px;
  color: #E30613;
  margin: 0;
  margin-bottom: 40px;
}

.card-projekt {
  border: 2px solid white;
  background-color: white;
  transition: 100ms ease-in-out all;
}
.card-projekt:hover {
  border-color: #E30613;
}

.card-projekt-link {
  font-size: 20px;
  font-weight: bold;
}
.card-projekt-link img {
  margin-left: 15px;
  transition: 200ms ease-in-out all;
}
.card-projekt:hover .card-projekt-link img {
  margin-left: 50px;
}
.on_hover {
  opacity: 0;
  transition: 100ms ease-in-out all;
  color: #161615;
}
a.card-projekt:hover .on_hover {
  opacity: 1;
}

.heading-line {
  padding-left: 18px;
  position: relative;
}
.heading-line:before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 2px;
  border-radius: 2px;
  background-color: #E30613;
}

.subheadline {
  font-weight: bold;
  color: #C6C6C6;
}

.c-red {
  color: #E30613;
}
.c-white {
  color: white;
}

.bg-black {
  background-color: black;
}
.bg-white {
  background-color: white;
}

.bg-grey {
  background-color: #C7C7C7;
}
.bg-lightgrey {
  background-color: #F8F8F8;
}
.bg-red {
  background-color: #E30613;
}

.bg-slant-grey {
background: rgb(248,248,248);
background: -moz-linear-gradient(-3deg, rgba(248,248,248,1) 80%, rgba(255,255,255,1) 80%);
background: -webkit-linear-gradient(-3deg, rgba(248,248,248,1) 80%, rgba(255,255,255,1) 80%);
background: linear-gradient(-3deg, rgba(248,248,248,1) 80%, rgba(255,255,255,1) 80%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f8f8f8",endColorstr="#ffffff",GradientType=1);
}

.footer-copyright {
  font-size: 12px;
  padding: 15px;
}
.footer-main {
  padding-top: 80px;
  padding-bottom: 80px;
}
a {
  text-decoration: none;
  color: black;
  transition: 100ms ease-in-out color,  100ms ease-in-out background-colo,  100ms ease-in-out border-colorr;
}

#burger {
  border-radius: 2px;
  background-color: white;
  color: #E30613;
  border: 2px solid #E30613;
  padding: 10px 15px;
  line-height: 1;
  display: inline-block;
  text-align: center;
  font-size: 24px;
  cursor: pointer;
  transition: 100ms ease-in-out color,  100ms ease-in-out background-colo,  100ms ease-in-out border-colorr;
}
#burger:hover {
    background-color: #E30613;
  color: white;
}
.active .burger-closed,
.burger-open {
  display: none;
}
.burger-closed,
.active .burger-open {
  display: block;
}

.mobile_nav {
  display: none;
  background-color: rgba(248,248,248,1);
  text-align: center;
}
.mobile_nav nav {
  padding: 15px;
}
.mobile_nav a {
  display: block;
}
.mobile_nav a+a {
  margin-top: 15px;
}

a.btn {
  border-radius: 2px;
  background-color: #E30613;
  border: 2px solid #E30613;
  padding: 10px 20px;
  line-height: 1;
  color: white;
  display: inline-block;
  text-align: center;
}
a.btn.btn_large {
  padding: 15px 40px;
}
a.btn.btn_ghost {
  background-color: white;
  color: #E30613;
}

a.btn.btn_ghost:hover {
  background-color: #E30613;
  border-color: #E30613;
  color: white;
}

a.btn.btn_ghost.btn_ghost_invert:hover {
  background-color: #E33943;
  border-color: white;
  color: white;
}

a.btn:hover, a.btn.btn_ghost:active {
  background-color: #E33943;
  border-color: #E33943;
  color: white;
}


.main-nav {
  background-color: white;
  box-shadow: 0px 2px 20px rgba(22,22,21,0.05);
}

.footer-nav a,
.main-nav nav a {
  font-size: 16px;
}

.footer-nav a {
  margin-bottom: 10px;
  margin-top: 10px;
  display: inline-block;
}

.footer-nav a+a,
.main-nav nav a+a {
  margin-left: 26px;
}

.footer-nav a:hover,
.main-nav nav a:hover {
  color: #E33943;
}

.footer-nav a.is_active,
.main-nav nav a.is_active {
  color: #E30613;
}

.card-vorstand-image {
  position: relative;
  background: rgb(255,255,255);
  background: -moz-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(199,199,199,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(199,199,199,1) 100%);
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(199,199,199,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#c7c7c7",GradientType=1);
}
.card-vorstand-image:after {
  content: '';
  display: block;
  padding-top: 90%;
}
.card-vorstand-image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.bg-top-grey {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: -1;
  background-color: rgba(248,248,248,1);
  height: 25%;
}

.position-relative {
  position: relative;
}

.home_header-animation {
  position: relative;
  width: 100%;
}
.home_header-ratio {
  display: block;
  width: 100%;
  padding-top: 118%;
}
.home_header-animation .block {
  position: absolute;
  display: block;
  background-blend-mode: multiply;
}
.home_header-animation .block {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  mix-blend-mode: multiply;
  transition: 500ms ease-in-out transform, 250ms ease opacity;
  opacity: 0;
}

.animate .home_header-animation .block {
  opacity: 1;
  transform: translate(0,0);
}

.home_header-animation .block-1 {
  top: 0;
  left: 17%;
  height: 44%;
  width: 48%;
  transform: translate(10%,10%);
}
.home_header-animation .block-2 {
  top: 16%;
  left: 53%;
  height: 28%;
  width: 47%;
  transform: translate(-10%,10%);
}
.home_header-animation .block-3 {
  top: 44%;
  left: 35%;
  height: 56%;
  width: 65%;
    background-color: #E30613;
  transform: translate(-10%,-10%);
}
.home_header-animation .block-4 {
  top: 31%;
  left: 0;
  height: 56%;
  width: 83%;
  transform: translate(10%,-10%);
}

.fadeInUp {
  transition: 300ms ease-in-out all;
  opacity: 0;
  transform: translateY(15%);
}
.animate .fadeInUp {
  opacity: 1;
  transform: translateY(0);
}

.fadeInLeft {
  transition: 300ms ease-in-out all;
  opacity: 0;
  transform: translateX(-15%);
}
.animate .fadeInLeft {
  opacity: 1;
  transform: translateX(0);
}

.fadeInRight {
  transition: 300ms ease-in-out all;
  opacity: 0;
  transform: translateX(15%);
}
.animate .fadeInRight {
  opacity: 1;
  transform: translateX(0);
}

.fadeIn {
  transition: 300ms ease-in-out all;
  opacity: 0;
}
.animate .fadeIn {
  opacity: 1;
}

@media screen and (max-width: 575.98px) {
  .card-kuratorium .card-vorstand-image {
    height: auto !important;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

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

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

