html {
    scroll-behavior: smooth;
    background-color: #ececec;
}

body {
    background-color: #ececec;
    font-family: 'Muli','Helvetica Neue',Helvetica,Arial,sans-serif;
}

main { background: url(../img/header_shadow_tile.png) repeat-x #fff; }

section { scroll-margin-top: 32px; }

footer {
    background-color: #ececec;
}

.partnerlogos img {
  height: 100px;
  transition: height 0.5s ease;
}
.kundenlogos  img {
  height: 100px;
  transition: height 0.5s ease;
}
/*
.partnerlogos a:hover img { height: 120px }
.kundenlogos  a:hover img { height: 120px }
*/

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em; /* optische Ausrichtung zur Textlinie */
  fill: currentColor;
}

main ul {
  list-style-type: none;
  padding-left: 0;
}
main li {
  padding-left: 1.5em;
  position: relative;
}
main li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #aaa;
  content: "\25B8";   /* ▸ */
  padding-left: 0.7em;
}

.rtl { direction: rtl; unicode-bidi: bidi-override; }

.avatar {
  max-width: 300px;
  border-radius: 50%;
}

/**
 * BS5 overrides
 **/
:root {
  --bs-body-font-size: 1.25rem;
  --bs-primary-rgb: 141, 187, 243;
}

.navbar-dark {
  --bs-navbar-color: rgba(255, 255, 255, 0.75);
  --bs-navbar-hover-color: rgba(255, 255, 255, 0.9);
}

/**
 * HEADER
 **/
.header { border-bottom: 1px solid #8dbbf3; color: #ccc; }
a.meta-mail { font-size: 3.5rem; color: inherit; }
a.meta-mail:hover { color: #fff; }

/**
 * Top Navigation mit sticky animation
 **/

#mainNav {
    background: #6290c7;
    font-size: 1.25rem;
    line-height: 2.5rem;
    transition: background-color 1.0s ease;
}
#mainNav.is-sticky { background: #111; }
#mainNav a {
    font-family: 'Orbitron','Helvetica Neue',Helvetica,Arial,sans-serif;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 #0006;    
}

#mainNav .navbar-brand {
  position: relative;
  display: inline-block;
  height: 40px;
  min-width: 160px;
}

#mainNav .brand-full,
#mainNav .brand-compact {
  position: absolute;
  left: 0;
  top: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 1.0s ease;
  white-space: nowrap;
}

#mainNav .brand-full    { opacity: 100; }
#mainNav .brand-compact { opacity: 0; }
#mainNav.is-sticky .brand-full    { opacity: 0; }
#mainNav.is-sticky .brand-compact { opacity: 100; }

@media (min-width: 992px) {
  #mainNav a {
    position: relative;
  }
  #mainNav a:hover::after,
  #mainNav a.active::after {
    content: "\23F6";
    position: absolute;
    left: 50%;
    bottom: -16px;
    border: 0;
    transform: translateX(-50%);
    font-size: 32px;
    color: #fffa;
    line-height: inherit;
  }
}

/**
 * FONTS
 **/

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron','Helvetica Neue',Helvetica,Arial,sans-serif;
    font-weight: bold;
    line-height: 1.5em;
    margin: 20px 0 10px 0;
    color: #30527a;
}

/* Muli Regular */
@font-face {
  font-family: 'Muli';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/muli-v11-latin-regular.woff2') format('woff2');
}

/* Muli Italic */
@font-face {
  font-family: 'Muli';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/muli-v11-latin-italic.woff2') format('woff2');
}

/* Orbitron Regular */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/orbitron-v9-latin-regular.woff2') format('woff2');
}

/* Orbitron Bold */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/orbitron-v9-latin-700.woff2') format('woff2');
}
