/* ICON – icon.nrw
   Statische Neuauflage der Joomla-Seite. Keine externen Ressourcen.
   ========================================================================= */

/* Schriften (lokal eingebettet)
   ------------------------------------------------------------------------- */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-400-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lato-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Droid Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/droidserif-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Droid Serif';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/droidserif-700-latin.woff2') format('woff2');
}

/* Grundlagen
   ------------------------------------------------------------------------- */
:root {
  --orange: #ff4411;
  --grey: #808080;
  --text: #333;
  --container: 940px;
}

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

html { overflow-y: scroll; overflow-x: hidden; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 50px 0 0;
  overflow-x: hidden;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
  background: #ff4411 url('../images/template/background-pattern.gif');
}

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

a { color: var(--orange); text-decoration: none; }
a:hover, a:focus { color: var(--orange); text-decoration: underline; }

p { margin: 0 0 10px; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 10px 0;
}
h1 {
  font-size: 24px;
  color: var(--orange);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 10px;
  margin: 10px 0 20px;
  line-height: 40px;
}
h1 small { font-size: 14pt; }
h2 { font-size: 22px; line-height: 30px; }
h3 { font-size: 18px; line-height: 30px; }
h4 { font-size: 14px; line-height: 20px; }

ul, ol { margin: 0 0 10px 25px; padding: 0; }
li { line-height: 20px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

/* Navigation
   ------------------------------------------------------------------------- */
#navi {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  background: #fff;
  border-top: 3px solid var(--grey);
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 10px rgba(0, 0, 0, .1);
}
#navi .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 68px;
}
#navi .brand {
  display: block;
  width: 200px;
  padding: 10px 0 0;
  flex: 0 0 auto;
}
#navi .brand img { width: 200px; display: block; }

#navi .nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
#navi .nav li { margin: 0; }
#navi .nav a {
  display: block;
  padding: 20px 10px 14px;
  margin: 0 5px;
  font-size: 17px;
  line-height: 20px;
  color: #777;
  border-top: 7px solid transparent;
  margin-top: -7px;
}
#navi .nav a:hover,
#navi .nav a:focus,
#navi .nav li.active a {
  color: var(--text);
  text-decoration: none;
  border-top-color: var(--orange);
}

#navi .btn-navbar {
  display: none;
  margin: 10px 10px 0 0;
  padding: 7px 10px;
  background: #ededed;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}
#navi .btn-navbar .icon-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #f5f5f5;
  border-radius: 1px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .25);
  background: #888;
}
#navi .btn-navbar .icon-bar + .icon-bar { margin-top: 3px; }

/* Slider
   ------------------------------------------------------------------------- */
#slider {
  position: relative;
  margin: 30px auto 20px;
  user-select: none;
}
#slider .slides {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #222;
}
#slider .slides li {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
#slider .slides li.current { opacity: 1; z-index: 1; }
#slider .slides img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#slider .nav-arrows a {
  position: absolute;
  top: 42%;
  width: 39px;
  height: 39px;
  margin-top: -5px;
  border-radius: 50%;
  background: rgba(200, 200, 200, .5);
  z-index: 2;
  text-indent: -9999px;
  overflow: hidden;
}
#slider .nav-arrows a::after {
  content: '';
  position: absolute;
  top: 13px;
  width: 10px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
}
#slider .nav-arrows .next { right: 5px; }
#slider .nav-arrows .next::after { left: 11px; transform: rotate(-45deg); }
#slider .nav-arrows .prev { left: 5px; }
#slider .nav-arrows .prev::after { left: 16px; transform: rotate(135deg); }
#slider .nav-arrows a:hover { background: rgba(255, 255, 255, .7); }

#slider .nav-dots {
  text-align: center;
  margin-top: 10px;
  line-height: 0;
}
#slider .nav-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
}
#slider .nav-dots span.current { background: #f2f2f2; }

/* Inhalt
   ------------------------------------------------------------------------- */
#wrapper {
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .25);
}
body.subpage #wrapper { margin-top: 30px; }

#teaser {
  display: flex;
  flex-wrap: wrap;
  padding: 25px 0 10px;
  background: url('../images/template/teaser-pattern.gif');
  border-bottom: 1px solid #eee;
  text-align: center;
}
#teaser .item {
  width: 25%;
  padding: 0 10px;
}
#teaser .item a { display: block; color: var(--grey); text-decoration: none; }
#teaser .item img {
  max-height: 130px;
  width: auto;
  margin-bottom: 10px;
  transition: transform .2s;
}
#teaser .item h3 {
  font-size: 1.2em;
  font-weight: 400;
  color: var(--grey);
  text-transform: uppercase;
  margin: 10px 0;
}
#teaser .item a:hover h3 { color: var(--orange); }

#wrapper .intro {
  margin: 0;
  padding: 18px 25px;
  font-size: 15px;
  line-height: 22px;
  color: #555;
  text-align: center;
  border-bottom: 1px solid #eee;
}
#content { padding: 25px; }
#content img.right { float: right; margin: 0 0 10px 10px; }
#content ul { list-style: disc; }
#content .impressum ul { list-style: none; }
#content ul li { margin-bottom: 2px; }

.two-col {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.two-col .text { flex: 1 1 auto; }
.two-col .media { flex: 0 0 350px; }

.video-box {
  width: 100%;
  max-width: 550px;
  margin: 10px auto 20px;
  background: #000;
  border: 7px solid #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .25);
}
.video-box video { display: block; width: 100%; height: auto; background: #000; }
.media .video-box { max-width: 350px; margin: 0; }

/* Kontaktformular
   ------------------------------------------------------------------------- */
.contact-form .control { margin-bottom: 10px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 6px 8px;
  font: inherit;
  color: #555;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 68, 17, .8);
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px rgba(255, 68, 17, .5);
}
.contact-form textarea { min-height: 200px; resize: vertical; }
.contact-form label.checkbox {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  cursor: pointer;
}
.contact-form label.checkbox input { margin-top: 4px; }
.contact-form .required::before { content: '*'; color: var(--orange); }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form button {
  padding: 6px 14px;
  font: inherit;
  color: #333;
  background: linear-gradient(#fff, #e6e6e6);
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}
.contact-form button:hover { background: #e6e6e6; }
.contact-form button:disabled { opacity: .6; cursor: default; }
.form-message:empty { display: none; }
.form-message {
  padding: 10px 15px;
  margin: 15px 0;
  border: 1px solid transparent;
  border-radius: 4px;
}
.form-message.ok { color: #3c763d; background: #dff0d8; border-color: #d6e9c6; }
.form-message.error { color: #a94442; background: #f2dede; border-color: #ebccd1; }

/* Impressum
   ------------------------------------------------------------------------- */
.impressum .imp-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  padding: 18px 22px;
  margin-bottom: 20px;
}
.impressum .imp-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 22px;
  color: var(--text);
}
.impressum .imp-row {
  display: flex;
  gap: 20px;
}
.impressum .imp-row .imp-card { flex: 1 1 0; }
.impressum .imp-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 50px;
}
.impressum address {
  font-style: normal;
  line-height: 22px;
  flex: 0 0 auto;
}
.impressum .imp-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 260px;
}
.impressum .imp-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  line-height: 18px;
}
.impressum .ico {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 8px;
  fill: var(--orange);
}
.impressum .lbl {
  display: block;
  font-size: 11px;
  line-height: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #999;
}
.impressum dl { margin: 0; }
.impressum dt {
  font-size: 11px;
  line-height: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #999;
  margin-top: 10px;
}
.impressum dt:first-child { margin-top: 0; }
.impressum dd { margin: 2px 0 0; line-height: 20px; }
.impressum .imp-cta { margin: 15px 0 0; }
.impressum .btn {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--orange);
  border-radius: 4px;
  color: var(--orange);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.impressum .btn:hover { background: var(--orange); color: #fff; }
.impressum .imp-note {
  font-size: 13px;
  line-height: 20px;
  color: #777;
  margin: 0;
}

/* Footer
   ------------------------------------------------------------------------- */
#footer {
  position: relative;
  z-index: 10;
  display: flex;
  background: #888 url('../images/template/footer-pattern.png');
  color: #fff;
}
#footer h3 {
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 2px rgba(0, 0, 0, .5);
}
#footer .col { position: relative; z-index: 6; margin: 15px; text-align: center; }
#footer .footer-left { width: 320px; margin-left: 40px; flex: 0 0 auto; }
#footer .footer-center { flex: 0 0 140px; margin-left: 0; margin-right: 0; }
#footer .footer-right { flex: 1 1 auto; min-width: 0; }
#footer ul.menu {
  margin: 0 0 0 13px;
  padding: 0;
  list-style: none;
}
#footer ul.menu li { text-align: center; line-height: 2; }
#footer ul.menu a {
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 0 2px rgba(0, 0, 0, .5);
}
#footer ul.menu a:hover { text-decoration: none; }
#footer ul.menu li.active {
  background: url('../images/template/footer-nav-underline.png') 10px 23px no-repeat;
}

#footer .footer-contact { margin: 10px 0 0; font-size: 13px; line-height: 20px; }
#footer .footer-contact a { color: #fff; text-shadow: 0 0 2px rgba(0,0,0,.5); }

#roboter {
  position: absolute;
  z-index: 11;
  left: 0;
  margin: 125px 0 0 -255px;
}

#shadow { position: relative; z-index: 3; margin-top: -8px; }
#shadow img { display: block; width: 100%; }

#ground {
  position: absolute;
  left: 0; right: 0;
  margin-top: -30px;
  height: 140px;
  background: url('../images/template/ground-pattern.gif');
}

#copyright {
  position: relative;
  margin-top: 30px;
  padding: 25px 0 40px;
  text-align: center;
  color: #999;
}

/* Responsiv
   ------------------------------------------------------------------------- */
@media (max-width: 979px) {
  body { padding-top: 85px; }
  .container { padding: 0 10px; }
  #navi .container { padding: 0 10px; }
  #navi .nav a { font-size: 15px; padding-top: 27px; margin: -7px 0 0; }
  #footer .footer-left { width: 260px; margin-left: 25px; }
  #footer .footer-center { flex: 0 0 120px; }
  #footer .footer-contact { margin: 10px 0 0; font-size: 13px; line-height: 20px; }
#footer .footer-contact a { color: #fff; text-shadow: 0 0 2px rgba(0,0,0,.5); }

#roboter { margin: 115px 0 0 -205px; }
}

@media (max-width: 767px) {
  body { padding: 85px 10px 0; }
  #navi .container {
    flex-wrap: wrap;
    align-items: center;
  }
  #navi { border-top: 0; }
  #navi .btn-navbar { display: block; }
  #navi .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 5px 0 10px;
  }
  #navi .nav.open { display: flex; }
  #navi .nav a {
    margin: 0;
    padding: 8px 10px;
    border-top: 0;
    border-left: 5px solid transparent;
  }
  #navi .nav a:hover, #navi .nav li.active a { border-left-color: var(--orange); }
  #teaser .item { width: 50%; }
  /* Slider: höher und bis an den Rand, sonst wird er auf dem Handy zum Streifen */
  #slider { margin: 15px -10px 15px; width: auto; padding: 0; }
  #slider .slides { aspect-ratio: 2 / 1; }
  #slider .nav-arrows a { top: 50%; margin-top: -20px; }
  .two-col { flex-direction: column; }
  .impressum .imp-row { flex-direction: column; gap: 0; }
  .two-col .media { flex: 1 1 auto; width: 100%; }
  .media .video-box { max-width: 550px; margin: 0 auto; }
  #content img.right { float: none; display: block; margin: 0 auto 15px; }
  #footer { flex-direction: column; text-align: center; }
  #footer .footer-left, #footer .footer-center, #footer .footer-right {
    width: 90%;
    margin: 5%;
  }
  #footer .footer-contact { margin: 10px 0 0; font-size: 13px; line-height: 20px; }
#footer .footer-contact a { color: #fff; text-shadow: 0 0 2px rgba(0,0,0,.5); }

#roboter { display: none; }
  #ground { display: none; }
  #copyright {
    width: calc(100% + 20px);
    max-width: none;
    margin: -8px -10px 0;
    padding: 35px 15px 40px;
    background: url('../images/template/ground-pattern.gif');
  }
}

@media (max-width: 480px) {
  #teaser { padding-top: 15px; }
  #teaser .item { padding: 0 5px; margin-bottom: 10px; }
  #teaser .item img { max-height: 100px; }
  #teaser .item h3 { font-size: 1em; margin: 5px 0; }
  #content { padding: 15px; }
}

/* Elemente der neuen Designs, im klassischen Design unsichtbar
   ------------------------------------------------------------------------- */
.hero, #teaser .ico, .footer-address, #navi .brand img.logo-dark { display: none; }

/* Design-Vorschau-Schalter */
#theme-switch {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 2000;
  display: flex;
  background: rgba(30, 30, 30, .9);
  border-radius: 20px;
  padding: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}
#theme-switch button {
  font: 12px/1 'Lato', Arial, sans-serif;
  color: #ddd;
  background: transparent;
  border: 0;
  border-radius: 17px;
  padding: 8px 12px;
  cursor: pointer;
}
#theme-switch button.on { background: #ff4411; color: #fff; }

/* Elemente des Industrie-Designs */
.v3, .v3-only { display: none; }

/* Bildergalerie (3D-Druck) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 15px 0 25px; }
.gallery figure { margin: 0; background: #f4f4f4; border-radius: 3px; overflow: hidden; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 8px 10px; font-size: 12px; line-height: 16px; color: #777; }
@media (max-width: 767px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
