@charset "utf-8";
/* CSS Document */
/* open-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/open-sans-v36-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v36-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v36-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
body {
  background-image: url(../img/screen-black.png);
  background-color: #333;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: #ADADAD;
  margin: 0;
  overflow-x: hidden;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
div.outer-wrap {
  width: 100%;
  height: auto;
  float: left;
  display: block;
}
div.wrap {
  max-width: 1000px;
  margin: auto;
  padding-top: 48px;
}
div.sticky-trigger {
  width: 100%;
  height: 5px;
  float: left;
}
div.container {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  background-color: #333;
  -moz-box-shadow: 0 0 5px #000;
  -webkit-box-shadow: 0 0 5px #000;
  box-shadow: 0 0 5px #000;
  position: relative;
  z-index: 2;
  margin-top: 50px;
}
div.top {
  width: 100%;
  height: auto;
  background-color: #fff;
  position: fixed;
  z-index: 3;
}
div.top-wrap {
  max-width: 1000px;
  margin: auto;
}
div.top-inner {
  width: 100%;
  height: auto;
  float: left;
}
div.navi-toggle {
  width: 30px;
  height: 30px;
  float: right;
  position: relative;
  margin-top: 5px;
  display: none;
}
div.navi-toggle .mbtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  cursor: pointer;
}
div.navi-toggle span {
  display: block;
  width: 100%;
  border-radius: 1px;
  height: 3px;
  background: #A6000B;
  transition: all .3s;
  position: relative;
}
div.navi-toggle .mbtn.active span {
  background: #A6000B;
}
div.navi-toggle span + span {
  margin-top: 8px;
}
div.navi-toggle .active span:nth-child(1) {
  animation: ease .7s top forwards;
}
div.navi-toggle .not-active span:nth-child(1) {
  animation: ease .7s top-2 forwards;
}
div.navi-toggle .active span:nth-child(2) {
  animation: ease .7s scaled forwards;
}
div.navi-toggle .not-active span:nth-child(2) {
  animation: ease .7s scaled-2 forwards;
}
div.navi-toggle .active span:nth-child(3) {
  animation: ease .7s bottom forwards;
}
div.navi-toggle .not-active span:nth-child(3) {
  animation: ease .7s bottom-2 forwards;
}
@keyframes top {
  0% {
    top: 0;
    transform: rotate(0);
  }
  50% {
    top: 22px;
    transform: rotate(0);
  }
  100% {
    top: 22px;
    transform: rotate(45deg);
  }
}
@keyframes top-2 {
  0% {
    top: 22px;
    transform: rotate(45deg);
  }
  50% {
    top: 22px;
    transform: rotate(0deg);
  }
  100% {
    top: 0;
    transform: rotate(0deg);
  }
}
@keyframes bottom {
  0% {
    bottom: 0;
    transform: rotate(0);
  }
  50% {
    bottom: 22px;
    transform: rotate(0);
  }
  100% {
    bottom: 0px;
    transform: rotate(135deg);
  }
}
@keyframes bottom-2 {
  0% {
    bottom: 22px;
    transform: rotate(135deg);
  }
  50% {
    bottom: 22px;
    transform: rotate(0);
  }
  100% {
    bottom: 0;
    transform: rotate(0);
  }
}
@keyframes scaled {
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes scaled-2 {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
div.logo {
  width: 158px;
  height: 40px;
  float: left;
  margin-top: 10px;
}
div.logo img {
  width: 100%;
  height: auto;
  float: left;
}
div.logo span {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: #666;
  padding: 0;
  margin: 0;
}
div.main-footer {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  position: relative;
  z-index: 1;
  background-color: #111;
  background-image: url(../img/screen-black.png);
  padding-top: 15px;
  padding-bottom: 20px;
}
ul.address-footer {
  width: auto;
  height: auto;
  float: right;
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
  padding-left: 35px;
  padding-right: 35px;
}
ul.address-footer li {
  width: auto;
  height: auto;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  font-size: 0.8em;
  padding-right: 5px;
  padding-left: 5px;
  font-weight: 600;
  color: #ADADAD;
}
ul.address-footer li a {
  color: #ADADAD;
  text-decoration: none;
}
ul.main-navi {
  width: 100%;
  height: 49px;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
  background-color: #111;
  padding-left: 25px;
  position: relative;
  z-index: 999;
}
ul.main-navi li ul {
  display: none;
}
ul.main-navi.sticky {
  position: fixed;
  top: 50px;
  left: 50%;
  width: 1000px;
  margin-left: -500px;
  z-index: 10;
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.83);
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.83);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.83);
}
ul.main-navi li {
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  float: left;
  display: block;
  margin-right: 2px;
}
ul.main-navi li a {
  width: auto;
  height: auto;
  display: block;
  padding: 15px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0;
  float: left;
  text-decoration: none;
  color: #D8D8D8;
  font-weight: 600;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
ul.main-navi li a:hover, ul.main-navi li.active a {
  color: #D8000E;
}
div.main-slider {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  position: relative;
  overflow: hidden;
}
div.main-slider div.slide {
  width: 100%;
  height: 395px;
  float: left;
  display: block;
  background-repeat: no-repeat;
  object-fit: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: inherit;
}
div.slide.folge-slide {
  height: 295px;
}
div.main-slider.sticky {
  margin-top: 48px;
}
div.hero-banner {
  width: 400px;
  height: auto;
  display: block;
  float: left;
  margin: 0;
  position: absolute;
  right: -50px;
  top: 60px;
  background-color: #E3000F;
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  -moz-transform: rotate(30deg);
  -webkit-transform: rotate(30deg);
  -o-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  transform: rotate(30deg);
  z-index: 2;
  text-align: center;
  padding-left: 70px;
  padding-right: 50px;
}
div.hero-banner span {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  text-align: center;
}
div.hero-banner span a {
  text-decoration: none;
  color: #fff;
}
ul.impressum {
  width: auto;
  height: auto;
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
  position: fixed;
  top: 0px;
  right: 30px;
  right: 50%;
  margin-right: -500px;
  z-index: 4;
}
div.fb {
  width: 20px;
  height: 20px;
  position: fixed;
  top: 25px;
  right: 30px;
  right: 50%;
  margin-right: -500px;
  z-index: 4;
}
ul.impressum li {
  width: auto;
  height: auto;
  display: block;
  float: left;
  padding: 0;
  margin: 0;
}
ul.impressum li a, ul.impressum li span {
  width: auto;
  height: auto;
  float: left;
  display: block;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-right: 0px;
  padding-left: 0px;
  margin-left: 10px;
  font-weight: 600;
  font-size: 0.8em;
  text-decoration: none;
  color: #585858;
  cursor: pointer;
}
img.feuer-logo {
  width: 65%;
  height: auto;
  position: absolute;
  bottom: 20px;
  left: 40px;
  z-index: 2;
}
div.teaser-row {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 10px;
  background-color: #222;
  background-image: url(../img/screen-black.png);
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 30px;
  padding-right: 30px;
}
div.teaser-row-item {
  width: 25%;
  height: auto;
  float: left;
  display: block;
  padding: 10px;
}
div.teaser-row-item-inner {
  width: 100%;
  height: auto;
  float: left;
  background-color: #333;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
div.teaser-row-item-inner:hover {
  -moz-box-shadow: 0 0 20px rgba(166, 0, 11, 0.83);
  -webkit-box-shadow: 0 0 20px rgba(166, 0, 11, 0.83);
  box-shadow: 0 0 20px rgba(166, 0, 11, 0.83);
  cursor: pointer;
}
span.teaser-title {
  width: 100%;
  height: auto;
  display: block;
  background-color: rgba(166, 0, 11, 1.00);
  font-size: 0.8em;
  padding-left: 8px;
  padding-right: 8px;
  padding-bottom: 3px;
  padding-top: 3px;
  color: #efefef;
  font-weight: 600;
  float: left;
}
div.teaser-row-item-inner img {
  width: 100%;
  height: auto;
  float: left;
  display: block;
}
div.ruegg-logo {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 12px;
}
div.ruegg-logo img {
  width: 100%;
  height: auto;
  float: left;
}
/* Das Studio-Logo war breit und flach (200x59), das Premium-Abzeichen ist rund.
   Ueber die volle Spaltenbreite waere es fast 190px hoch und wuerde den Text
   darunter zu weit nach unten schieben - deshalb feste 140px, mittig in der
   Spalte. Kein float, sonst greift margin auto nicht. Wie auf der Kontaktseite
   dient die SVG-Datei als Maske, damit die Farbe im Hover wechseln kann. */
div.ruegg-logo a.ruegg-badge {
  width: 140px;
  height: 140px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-color: #D8D8D8;
  -webkit-mask: url(../img/ruegg_premium_partner.svg) no-repeat center center;
  mask: url(../img/ruegg_premium_partner.svg) no-repeat center center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: background-color .2s;
}
div.ruegg-logo a.ruegg-badge:hover {
  background-color: #D8000E;
}
p.ruegg-text {
  font-size: 0.85em;
  line-height: 1.7;
  padding-left: 10px;
  padding-right: 10px;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  text-align: justify;
  color: #666;
  font-weight: 600;
}
.content {
  width: 100%;
  height: auto;
  float: left;
  background-color: #111;
  padding-bottom: 30px;
  padding-top: 30px;
  padding-left: 20px;
  padding-right: 20px;
}
div.row {
  width: 100%;
  height: auto;
  float: left;
}
.col-25 {
  width: 25%;
  height: auto;
  padding: 10px;
}
.col-50 {
  width: 50%;
  height: auto;
  padding: 10px;
}
.col-75 {
  width: 75%;
  height: auto;
  padding: 10px;
}
.fl-left {
  float: left;
}
.fl-right {
  float: right;
}
div.ruegg-link {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}
div.ruegg-link a {
  width: auto;
  height: auto;
  display: block;
  background-color: #A6000B;
  color: #efefef;
  text-decoration: none;
  padding: 5px;
  line-height: 1;
  padding-left: 10px;
  padding-right: 10px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  font-size: 0.8em;
  font-weight: 600;
  float: left;
}
div.partners {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  background-color: #0B0B0B;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 10px;
  padding-top: 20px;
}
div.partners span.partners-title {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  font-size: 1em;
  font-weight: 600;
  color: #666;
  padding-bottom: 10px;
}
div.partners div.swiper {
  width: 100%;
  height: auto;
  float: left;
}
div.partners div.swiper div.swiper-slide {
  height: 100px;
  background-color: #1A1A1A;
  position: relative;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
div.partners div.swiper div.swiper-slide div.table-div {
  width: 100%;
  height: 100%;
  display: table;
  padding: 0;
}
div.partners div.swiper div.swiper-slide div.table-div div.tr-div {
  width: 100%;
  height: 100%;
  display: table-row;
  padding: 0;
}
div.partners div.swiper div.swiper-slide div.table-div div.tr-div div.td-div {
  width: 100%;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding: 0px;
}
div.partners div.swiper div.swiper-slide div.table-div div.tr-div div.td-div img {
  max-width: 113px;
  display: inline-block;
 transition: opacity 0.3s ease-in-out;
}
div.partners div.swiper div.swiper-slide div.table-div div.tr-div div.td-div img:hover {
    opacity: 0.5;
    cursor: pointer;
}
ul.subnavi {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  float: left;
  display: block;
  list-style: none;
  padding-left: 10px;
  padding-right: 10px;
  padding-right: 20px;
}
ul.subnavi li {
  width: 100%;
  height: auto;
  display: block;
  padding: 0;
  margin: 0;
  padding-top: 4px;
  float: left;
}
ul.subnavi li ul {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  float: left;
  list-style: none;
  padding-left: 30px;
  display: none;
}
ul.subnavi li.active ul {
  display: block;
}
ul.subnavi li a {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  background-color: #222222;
  color: #ADADAD;
  padding: 5px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: none;
  padding-left: 12px;
}
ul.subnavi li a:hover, ul.subnavi li.active a {
  background-color: #A6000B;
  color: #efefef;
}
ul.subnavi li.active ul li a {
  background-color: #222222;
  color: #ADADAD;
}
ul.subnavi li.active ul li a:hover, ul.subnavi li.active ul li.active a {
  background-color: #A6000B;
  color: #efefef;
}
div.profile-wrap {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding-left: 10px;
  padding-right: 10px;
}
div.profile-wrap h2 {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  font-size: 1.2em;
  font-weight: 600;
  padding: 0;
  padding-bottom: 15px;
  margin: 0;
  color: #A6000B;
}
span.profile-caption {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  font-size: 0.6em;
  padding-top: 5px;
}
div.profile-img {
  width: 100%;
  height: auto;
  float: left;
  display: block;
}
div.profile-img img {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
div.aside-address {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding-left: 10px;
  padding-right: 10px;
}
div.platin-membership {
  width: 100%;
  height: auto;
  float: left;
  padding-top: 20px;
}
div.platin-membership img {
  width: auto;
  max-width: 120px;
  height: auto;
  float: left;
  display: block;
}
/* Das Premium-Abzeichen von Rüegg. Als <img> eingebunden liesse sich die Farbe
   nicht umschalten - die SVG-Datei liegt in einem eigenen Dokument und erbt
   nichts von der Seite. Deshalb dient sie hier als Maske, die eigentliche
   Farbe kommt aus background-color und kann im Hover wechseln. */
div.platin-membership a.ruegg-badge {
  width: 120px;
  height: 120px;
  float: left;
  display: block;
  background-color: #D8D8D8;
  -webkit-mask: url(../img/ruegg_premium_partner.svg) no-repeat center center;
  mask: url(../img/ruegg_premium_partner.svg) no-repeat center center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: background-color .2s;
}
div.platin-membership a.ruegg-badge:hover {
  background-color: #D8000E;
}
div.aside-address h3 {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  font-size: 1em;
  font-weight: 600;
  padding: 0;
  padding-bottom: 10px;
  margin: 0;
  color: #A6000B;
  padding-top: 20px;
}
div.aside-address ul {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
}
div.aside-address ul li {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  font-size: 0.9em;
  line-height: 1.7;
}
div.aside-address ul li a {
  color: #ADADAD;
  text-decoration: none;
}
div.aside-address ul li a:hover {
  color: #A6000B;
}
div.form-group {
  width: 100%;
  height: auto;
  float: left;
}
div.frame form, div.frame form fieldset {
  width: 100%;
  height: auto;
  float: left;
  display: block;
}
div.frame form fieldset legend {
  display: none;
}
div.frame p, div.acc-content p {
  line-height: 1.8;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  text-align: justify;
}
div.frame {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 10px;
}
div.frame header {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  padding-bottom: 10px;
}
div.frame header h1 {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  font-size: 1.8em;
  font-weight: 300;
  padding: 0;
  margin: 0;
  color: #D8000E;
}
/*Text Frames*/
div.frame.frame-type-text {
  padding: 10px;
}
/*Text Frames Ende*/
/*Bildframes*/
div.frame-type-image {
  padding: 5px;
}
div.frame-type-image header {
  padding-left: 5px;
  padding-right: 5px;
}
div.frame-type-image div.ce-image {
  width: 100%;
  height: auto;
  float: left;
}
div.ce-gallery div.ce-image .ce-outer, div.ce-gallery div.ce-image .ce-inner {
  width: 100%;
  height: auto;
  float: left;
}
div.ce-gallery div.ce-row {
  width: 100%;
  height: auto;
  float: left;
}
div.ce-gallery div.ce-column {
  height: auto;
  display: inline-block;
}
div.ce-gallery[data-ce-columns='1'] div.ce-column {
  width: 100%;
}
div.ce-gallery[data-ce-columns='2'] div.ce-column {
  width: 50%;
}
div.ce-gallery[data-ce-columns='3'] div.ce-column {
  width: 33.3333%;
}
div.ce-gallery[data-ce-columns='4'] div.ce-column {
  width: 25%;
}
div.ce-gallery[data-ce-columns='5'] div.ce-column {
  width: 20%;
}
div.ce-gallery[data-ce-columns='6'] div.ce-column {
  width: 16.6666%;
}
div.ce-gallery[data-ce-columns='7'] div.ce-column {
  width: 14.2857%;
}
div.ce-gallery[data-ce-columns='8'] div.ce-column {
  width: 12.5%;
}
div.ce-gallery figure.image {
  max-width: 100%;
  height: auto;
  float: left;
  display: block;
  margin: 0;
  padding: 5px;
}
div.ce-gallery figure.image img {
  width: 100%;
  height: auto;
  float: left;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
/*Bildframes Ende*/
/*Bild & Text Start*/
div.frame-type-textpic div.ce-gallery {
  height: auto;
  float: left;
  display: block;
}
figcaption.image-caption {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  font-size: 0.8em;
  padding-top: 3px;
  padding-bottom: 3px;
}
div.frame-type-textpic .ce-above div.ce-gallery, div.frame-type-textpic .ce-below div.ce-gallery {
  width: 100%;
}
div.frame-type-textpic .ce-above div.ce-bodytext, div.frame-type-textpic .ce-below div.ce-bodytext {
  width: 100%;
  float: left;
  display: block;
  padding-left: 5px;
  padding-right: 5px;
}
div.frame-type-textpic div.ce-textpic.ce-intext div.ce-gallery {
  width: 40%;
}
div.frame-type-textpic div.ce-textpic.ce-intext.ce-right div.ce-gallery {
  float: right;
  padding-left: 20px;
}
div.frame-type-textpic div.ce-textpic.ce-intext.ce-right div.ce-bodytext {
  padding-left: 5px;
  padding-right: 5px;
}
div.frame-type-textpic div.ce-textpic.ce-intext.ce-left div.ce-gallery {
  float: left;
  padding-right: 20px;
}
div.frame-type-textpic div.ce-textpic.ce-intext.ce-left div.ce-bodytext {
  padding-left: 5px;
  padding-right: 5px;
}
div.frame-type-textpic div.ce-textpic.ce-right.ce-intext.ce-nowrap div.ce-gallery {
  width: 40%;
  float: right;
  padding-left: 20px;
}
div.frame-type-textpic div.ce-textpic.ce-right.ce-intext.ce-nowrap div.ce-bodytext {
  width: 60%;
  float: left;
  height: auto;
}
div.frame-type-textpic div.ce-textpic.ce-right.ce-intext.ce-nowrap div.ce-bodytext header {
  padding-left: 0;
  padding-right: 0px;
}
div.frame-type-textpic div.ce-textpic.ce-left.ce-intext.ce-nowrap div.ce-gallery {
  width: 40%;
  float: left;
  padding-right: 20px;
}
div.frame-type-textpic div.ce-textpic.ce-left.ce-intext.ce-nowrap div.ce-bodytext {
  width: 60%;
  float: right;
  height: auto;
}
div.frame-type-textpic div.ce-textpic.ce-left.ce-intext.ce-nowrap div.ce-bodytext header {
  padding-left: 0;
  padding-right: 0px;
}
div.frame-type-textpic {
  padding: 5px;
}
div.frame-type-textpic header {
  padding-left: 5px;
  padding-right: 5px;
}
/*Bild & Text Ende*/
/*Downloads Start*/
ul.ce-uploads {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.ce-uploads li {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding-bottom: 10px;
  position: relative;
}
ul.ce-uploads li div.file-properties {
  width: 100%;
  height: auto;
  float: left;
}
span.ce-uploads-fileName {
  width: 100%;
  height: auto;
  float: left;
  color: #D8000E;
  font-size: 1.1em;
}
span.ce-uploads-fileName:hover {
  text-decoration: underline;
}
span.ce-uploads-description, span.ce-uploads-filesize {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  font-size: 0.9em;
}
span.ce-uploads-filesize {
  font-size: 0.7em;
  font-weight: 600;
  color: #666;
}
ul.ce-uploads li.upload-img-link img {
  width: 80px;
  height: auto;
  position: relative;
  float: left;
  z-index: 2;
  background-color: #efefef;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
ul.ce-uploads li.upload-img-link div.file-properties {
  padding-left: 100px;
  position: absolute;
  top: 0px;
  left: 0px;
}
ul.ce-uploads li.upload-icon-link div.file-properties {
  padding-left: 24px;
  position: inherit;
  top: inherit;
  left: inherit;
  float: left;
}
ul.ce-uploads li.upload-icon-link.pdf-icon div.file-properties {
  background-image: url(../icons/pdf-icon.svg);
  background-size: 14px auto;
  background-repeat: no-repeat;
}
/*Downloads Ende*/
/*Powermail Start*/
div.tx-powermail, div.container-fluid {
  width: 100%;
  height: auto;
  float: left;
}
div.powermail_fieldset {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
}
div.powermail_fieldwrap {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  padding-bottom: 8px;
}
label.powermail_label {
  width: 100%;
  height: auto;
  float: left;
  font-weight: 600;
  color: #ADADAD;
  font-size: 0.8em;
  padding-bottom: 5px;
  display: none;
}
label.powermail_label span.mandatory {
  color: #D8000E;
  margin-left: 3px;
  font-weight: 300;
}
div.powermail_field select {
  width: auto;
  height: auto;
  display: block;
  float: left;
  padding: 10px;
}
div.powermail_field input.powermail_input, div.powermail_field select, div.powermail_field textarea {
  height: auto;
  display: block;
  float: left;
  padding: 8px;
  border: 1px solid #999;
  background-color: #222;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
div.powermail_field select {
  width: auto;
}
div.powermail_field input.powermail_input, div.powermail_field textarea {
  width: 100%;
}
div.powermail_field textarea {
  height: 135px;
}
ul.powermail-errors-list {
  width: 100%;
  height: auto;
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
  float: left;
}
ul.powermail-errors-list li {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  font-size: 0.8em;
  padding-left: 10px;
  padding-top: 2px;
  color: #D8000E;
  font-weight: 600;
}
div.powermail_field input.powermail_submit {
  width: auto;
  height: auto;
  float: left;
  display: block;
  border: 0;
  color: #efefef;
  background-color: #D8000E;
  font-weight: 600;
  padding: 8px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 15px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  cursor: pointer;
}
div.powermail_fieldwrap_type_submit {
  padding-top: 20px;
}
div.powermail_field select.powermail_select.powermail_field_error, div.powermail_field input.powermail_input.powermail_field_error, div.powermail_field textarea.powermail_textarea.powermail_field_error {
  background-color: rgba(216, 0, 14, 0.22);
  border: 1px solid #D8000E;
}
/* Das Datenschutz-Hakchen ist ein normales Browser-Kastchen - ein Rahmen von
   1px ginge darin unter, deshalb eine Kontur aussen herum. */
div.powermail_field input.powermail_checkbox.powermail_field_error {
  outline: 2px solid #D8000E;
  outline-offset: 2px;
}
/* Bis zur Migration sah dieser Link aus wie ein Eingabefeld: gleicher dunkler
   Kasten, gleiche Rundung, gleiche Breite wie Name oder Ort - nur ohne
   Cursor. Jetzt ist er als Link erkennbar, in Pernet-Rot und unterstrichen. */
span.privacy-link {
  height: auto;
  margin: 10px 0 0;
  display: inline-block;
  padding: 0;
  background: none;
  color: #D8000E;
  font-weight: 600;
  font-size: 0.9em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
span.privacy-link:hover {
  background: none;
  color: #A6000B;
}
/* Das Datenschutz-Hakchen war ein unveraendertes Browser-Kastchen, das nicht
   auf der Grundlinie des Textes sass. Groesse und Farbe kommen jetzt von der
   Seite, accent-color faerbt das native Kastchen ohne Ersatzkonstruktion. */
div.powermail_fieldwrap_datenschutz label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.5;
  font-size: 0.9em;
}
div.powermail_field input.powermail_checkbox {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: #D8000E;
  cursor: pointer;
}
/*Powermail Ende*/
div#c58.frame {
  padding: 0;
}
div.privacy-modal-layer {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 998;
  display: none;
}
div.privacy-modal {
  width: 800px;
  height: 80%;
  position: fixed;
  background-color: #111;
  top: 10%;
  left: 50%;
  margin-left: -400px;
  z-index: 999;
  overflow: hidden;
  padding: 30px;
  display: none;
}
div.privacy-modal-layer.active, div.privacy-modal-layer.active div.privacy-modal {
  display: block;
}
div.privacy-modal-inner {
  width: 100%;
  height: 100%;
  position: relative;
  float: left;
  overflow-x: hidden;
  overflow-y: scroll;
}
div.privacy-close {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  padding: 30px;
  padding-top: 15px;
  padding-right: 15px;
  z-index: 10;
}
div.privacy-close span {
  float: right;
  height: auto;
  width: auto;
  display: block;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background-color: #D8000E;
  color: #efefef;
  font-weight: 600;
  font-size: 0.8em;
  cursor: pointer;
}
div.map-holder {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 10px;
}
div.google-maps-holder-big {
  width: 100%;
  height: 420px;
}
div.map-holder div#map {
  height: 100%;
  width: 100%;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  overflow: hidden;
}
ul.accordion {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
  padding-left: 10px;
  padding-right: 10px;
}
ul.accordion li {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  margin-bottom: 2px;
}
div.acc-title {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 10px;
  cursor: pointer;
  background-color: #222222;
  font-weight: 600;
  font-size: 1em;
  padding-right: 20px;
  position: relative;
  padding-left: 40px;
}
div.acc-title header {
  width: 100%;
  height: auto;
  float: left;
  display: block;
  padding: 0;
}
div.acc-title header h1, div.acc-title header h2, div.acc-title header h3, div.acc-title header h4 {
  font-size: 1em;
  width: 100%;
  height: auto;
  display: block;
  padding: 0;
  margin: 0;
  float: left;
  color: #ADADAD;
  font-weight: 600;
}
div.acc-content {
  width: 100%;
  height: auto;
  float: left;
  background-color: #222222;
  padding: 20px;
  padding-top: 10px;
  padding-bottom: 30px;
  padding-left: 40px;
}
ul.accordion li div.acc-title::before {
  position: absolute;
  top: 10px;
  left: 15px;
  transform-origin: center;
  transition: 0.1s transform ease;
  content: "+";
  color: #ADADAD;
  font-size: 1.5rem;
  line-height: 1rem;
  transform: rotate(0deg);
}
ul.accordion li div.acc-title.active::before {
  top: 11px;
  font-size: 1.6rem;
  color: #A6000B;
  transform: rotate(-45deg);
  transition: color ease 0.1s, transform ease 0.1s;
}
@media only screen and (max-width:1000px) {
  div.logo {
    margin-left: 40px;
  }
  ul.impressum, div.fb {
    margin-right: -460px;
  }
  div.partners {
    padding-bottom: 40px;
  }
}
@media only screen and (max-width:960px) {
  div.navi-toggle {
    display: block;
    margin-top: 10px;
    margin-right: 40px;
  }
  ul.main-navi.sticky {
    position: static;
    top: inherit;
    left: inherit;
    width: 100%;
    margin-left: inherit;
    z-index: inherit;
    -moz-box-shadow: 0 0 0px rgba(0, 0, 0, 0.83);
    -webkit-box-shadow: 0 0 0px rgba(0, 0, 0, 0.83);
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.83);
  }
  div.second-footer {
    width: 100%;
    height: auto;
    float: left;
    display: block;
    background-color: #111;
  }
  ul.impressum {
    width: auto;
    height: auto;
    display: block;
    padding: 0;
    margin: 0;
    list-style: none;
    position: static;
    top: inherit;
    right: inherit;
    margin-right: 0;
    z-index: inherit;
    float: right;
    padding-right: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  div.fb {
    width: 20px;
    height: 20px;
    position: inherit;
    top: inherit;
    right: inherit;
    margin-right: 0;
    z-index: 1;
    margin-top: 10px;
    margin-left: 40px;
    float: left;
  }
  div.main-slider.sticky {
    margin-top: 0px;
  }
  div.sticky-trigger {
    display: none;
  }
  div.wrap {
    width: 100%;
    float: left;
    padding: 0;
    margin: 0;
  }
  div.navi {
    width: 300px;
    height: 100%;
    display: block;
    background-color: #A6000B;
    left: -310px;
    position: fixed;
    z-index: 10;
    padding-top: 50px;
    -moz-box-shadow: 0 0 5px #000;
    -webkit-box-shadow: 0 0 5px #000;
    box-shadow: 0 0 5px #000;
    overflow-x: hidden;
    overflow-y: scroll;
  }
  div.navi.open {
    left: 0;
  }
  ul.main-navi, ul.main-navi.sticky {
    width: 100%;
    height: auto;
    float: left;
    display: block;
    padding: 0;
    margin: 0;
    background-color: #A6000B;
    padding-bottom: 100px;
  }
  ul.main-navi li {
    width: 100%;
    height: auto;
    float: left;
    display: block;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  ul.main-navi li ul {
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;
    float: left;
  }
  ul.main-navi li a {
    text-align: left;
    width: 100%;
    height: auto;
    float: left;
    border-top: 1px solid #efefef;
    padding-top: 10px;
    padding-bottom: 10px;
    display: block;
    font-size: 1em;
    padding-left: 20px;
    text-transform: none;
    color: #efefef;
    font-weight: 400;
  }
  ul.main-navi li ul li a {
    font-size: 0.9em;
    padding-left: 40px;
    background-color: #790008;
  }
  ul.main-navi li a:hover, ul.main-navi li.active a {
    color: #efefef;
  }
}
@media only screen and (max-width:820px) {
  div.frame-type-textpic div.ce-textpic.ce-left.ce-intext.ce-nowrap div.ce-gallery, div.frame-type-textpic div.ce-textpic.ce-left.ce-intext div.ce-gallery {
    width: 50%;
  }
  div.frame-type-textpic div.ce-textpic.ce-left.ce-intext.ce-nowrap div.ce-bodytext {
    width: 50%;
  }
  div.frame-type-textpic div.ce-textpic.ce-right.ce-intext.ce-nowrap div.ce-gallery, div.frame-type-textpic div.ce-textpic.ce-right.ce-intext div.ce-gallery {
    width: 50%;
  }
  div.frame-type-textpic div.ce-textpic.ce-right.ce-intext.ce-nowrap div.ce-bodytext {
    width: 50%;
  }
  div.main.col-50 {
    width: 70%;
  }
  div.side.contact-aside.col-25 {
    width: 30%;
  }
  div.teaser-row-item {
    width: 50%;
  }
  span.teaser-title {
    position: absolute;
    bottom: 0;
    left: 0px;
    height: auto;
    font-size: 1em;
    padding: 10px;
    background-color: rgba(166, 0, 11, 0.8);
  }
  div.main.col-75 {
    width: 100%;
    height: auto;
    float: left;
  }
  div.ruegg-aside {
    width: 100%;
    height: auto;
    float: left;
  }
  div.ruegg-aside div.ruegg-logo {
    width: 30%;
    height: auto;
    float: left;
    padding-top: 20px;
  }
  div.ruegg-text-wrap {
    width: 70%;
    height: auto;
    float: right;
    padding-left: 20px;
  }
  p.ruegg-text {
    color: #ADADAD;
  }
  .navi-aside {
    display: none;
  }
  .content {
    padding-top: 20px;
  }
}
@media only screen and (max-width:800px) {
  div.privacy-modal {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #111;
    top: 0;
    left: 0;
    margin-left: 0;
    z-index: 999;
    overflow: hidden;
    padding: 30px;
    display: none;
  }
}
@media only screen and (max-width:768px) {
  div.fb {
    margin-top: 0;
    margin-left: 20px;
  }
  div.main-footer, div.second-footer {
    width: 50%;
    height: auto;
    float: left;
    display: block;
    background-color: #111;
    background-image: none;
  }
  div.footer-wrap {
    width: 100%;
    height: auto;
    float: left;
    background-color: #111;
    font-size: 0.9em;
  }
  img.feuer-logo {
    left: 20px;
  }
  div.navi-toggle {
    margin-right: 20px;
  }
  div.logo {
    margin-left: 20px;
  }
  div.teaser-row {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content {
    padding: 0;
  }
  div.main-footer ul, div.second-footer ul {
    width: 100%;
    height: auto;
    float: left;
    padding-left: 20px;
    padding-right: 20px;
  }
  div.main-footer ul li, div.second-footer ul li {
    width: 100%;
    height: auto;
    float: left;
    font-size: 1em;
    padding: 0;
    margin: 0;
    padding-bottom: 5px;
    padding-top: 5px;
  }
  div.main-footer ul li a, div.second-footer ul li a, div.second-footer ul li span {
    width: 100%;
    height: auto;
    display: block;
    float: left;
    padding: 0;
    margin: 0;
    font-size: 1em;
    color: #ADADAD;
  }
  div.partners {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media only screen and (max-width:650px) {
  div.main.col-50 {
    width: 60%;
  }
  div.side.contact-aside.col-25 {
    width: 40%;
  }
}
@media only screen and (max-width:490px) {
  div.privacy-modal {
    padding-left: 5px;
    padding-right: 5px;
  }
  div.frame-type-textpic div.ce-textpic.ce-left.ce-intext.ce-nowrap div.ce-gallery, div.frame-type-textpic div.ce-textpic.ce-left.ce-intext div.ce-gallery, div.frame-type-textpic div.ce-textpic.ce-left.ce-intext.ce-nowrap div.ce-bodytext, div.frame-type-textpic div.ce-textpic.ce-left.ce-intext div.ce-bodytext, div.frame-type-textpic div.ce-textpic.ce-right.ce-intext.ce-nowrap div.ce-gallery, div.frame-type-textpic div.ce-textpic.ce-right.ce-intext div.ce-gallery, div.frame-type-textpic div.ce-textpic.ce-right.ce-intext.ce-nowrap div.ce-bodytext, div.frame-type-textpic div.ce-textpic.ce-right.ce-intext div.ce-bodytext {
    width: 100%;
  }
  div.frame-type-textpic div.ce-textpic.ce-left.ce-intext.ce-nowrap div.ce-gallery, div.frame-type-textpic div.ce-textpic.ce-left.ce-intext div.ce-gallery, div.frame-type-textpic div.ce-textpic.ce-right.ce-intext.ce-nowrap div.ce-gallery, div.frame-type-textpic div.ce-textpic.ce-right.ce-intext div.ce-gallery {
    padding-left: 0;
    padding-right: 0;
  }
  div.ce-gallery[data-ce-columns="4"] div.ce-column {
    width: 50%;
  }
  div.ce-gallery figure.image {
    width: 100%;
  }
  div.ruegg-aside div.ruegg-logo, div.ruegg-text-wrap {
    width: 100%;
    padding: 0;
  }
  div.ruegg-aside div.ruegg-logo {
    padding-left: 10px;
    padding-right: 20px;
    padding-bottom: 20px;
    margin-top: 40px;
  }
  div.ruegg-link a {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1.1em;
  }
  div.side.contact-aside.fl-left.col-25 {
    padding-bottom: 20px;
  }
  div.hero-banner {
    font-size: 0.8em;
    top: 30px;
    right: -65px;
    -moz-transform: rotate(20deg);
    -webkit-transform: rotate(20deg);
    -o-transform: rotate(20deg);
    -ms-transform: rotate(20deg);
    transform: rotate(20deg);
  }
  div.main.col-50, div.side.contact-aside.col-25 {
    width: 100%;
  }
  div.profile-wrap, div.aside-address {
    width: 50%;
  }
  div.main-slider div.slide {
    height: 220px;
    width: 100%;
    float: left;
    overflow: hidden;
  }
  div.main-slider div.slide img {
    height: 100%;
    width: auto;
  }
}
@media only screen and (max-width:480px) {
  span.teaser-title {
    font-size: 0.8em;
    font-weight: 600;
  }
  div.main-footer, div.second-footer {
    width: 100%;
  }
  div.second-footer {
    padding-bottom: 30px;
  }
}
@media only screen and (max-width:404px) {
  div.teaser-row-item {
    width: 100%;
  }
  span.teaser-title {
    font-size: 1.2em;
    font-weight: 600;
  }
}
@media only screen and (max-width:368px) {
  div.profile-wrap, div.aside-address {
    width: 100%;
  }
}
div#klaro div.klaro div.cookie-notice:not(.cookie-modal-notice) {
  background-color: rgb(82, 66, 66);
  color: rgb(255, 255, 255);
}
div#klaro div.klaro .cookie-modal .cm-modal.cm-klaro {
  background-color: rgb(82, 66, 66);
}
div#klaro div.klaro .cookie-modal .cm-btn.cm-btn-success, div#klaro div.klaro .context-notice .cm-btn.cm-btn-success, div#klaro div.klaro .cookie-notice .cm-btn.cm-btn-success {
  background-color: rgb(227, 0, 15);
}
div#klaro div.klaro .cookie-modal a, div#klaro div.klaro .context-notice a, div#klaro div.klaro .cookie-notice a {
  color: #F7E2C6;
}
div#klaro div.klaro .cookie-modal p, div#klaro div.klaro .cookie-modal strong, div#klaro div.klaro .cookie-modal h1, div#klaro div.klaro .cookie-modal h2, div#klaro div.klaro .cookie-modal ul, div#klaro div.klaro .cookie-modal li, div#klaro div.klaro .context-notice p, div#klaro div.klaro .context-notice strong, div#klaro div.klaro .context-notice h1, div#klaro div.klaro .context-notice h2, div#klaro div.klaro .context-notice ul, div#klaro div.klaro .context-notice li, div#klaro div.klaro .cookie-notice p, div#klaro div.klaro .cookie-notice strong, div#klaro div.klaro .cookie-notice h1, div#klaro div.klaro .cookie-notice h2, div#klaro div.klaro .cookie-notice ul, div#klaro div.klaro .cookie-notice li {
  color: rgb(255, 255, 255);
}
div.google-maps-holder-big div.klaro.cm-as-context-notice div.context-notice {
  background-color: rgb(82, 66, 66);
}
div.google-maps-holder-big div.klaro.cm-as-context-notice div.context-notice p {
  color: rgb(255, 255, 255);
}
body.no-scroll {
  overflow: hidden;
}

/* Links im redaktionellen Text
   Bis zur Migration gab es dafuer keine Regel - Links in Fliesstext, Listen
   und im Datenschutz-Accordion erschienen im Browser-Blau. Sie nehmen jetzt
   das Rot der Seite auf, im Hover den dunkleren Ton wie die uebrigen
   Hover-Zustaende. Unterstreichung bleibt wie gehabt. */
div.frame a,
div.acc-content a,
div.privacy-modal-inner a {
  color: #D8000E;
}
div.frame a:hover,
div.acc-content a:hover,
div.privacy-modal-inner a:hover {
  color: #A6000B;
}


/* Cookie-Consent
   Gestaltung uebernommen aus den Consartis-Sitepackages (site_<name>/Resources/
   Public/Css/consent.css), damit alle unsere Seiten denselben Dialog haben:
   Karte unten rechts, Schalter statt Haekchen, aufklappbare Details.
   Angepasst ist nur die Farbgebung - statt Consartis-Rot #D8000E das Pernet-Rot
   #D8000E, im Hover der dunklere Ton #A6000B wie ueberall sonst auf der Seite. */
.consent-banner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  max-width: 440px;
  background: #333;
  color: #D8D8D8;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .15);
  z-index: 9999;
}
.consent-banner p {
  margin: 0 0 12px;
}
.consent-banner-privacy {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: #999;
  text-decoration: underline;
}
.consent-banner-privacy:hover {
  color: #A6000B;
}
.consent-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}
.consent-btn {
  padding: 7px 12px;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.consent-banner .consent-btn svg {
  width: 12px;
  height: 12px;
}
.consent-btn svg {
  flex-shrink: 0;
}
.consent-btn-accept {
  background: #D8000E;
  color: #fff;
}
.consent-btn-accept:hover {
  background: #A6000B;
}
.consent-btn-decline,
.consent-btn-settings {
  background: #444;
  color: #D8D8D8;
}
.consent-btn-decline:hover,
.consent-btn-settings:hover {
  background: #555;
}
.consent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 9998;
}
.consent-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  background: #333;
  color: #D8D8D8;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  padding: 28px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .2);
  z-index: 10000;
}
.consent-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 4px;
  line-height: 0;
  border-radius: 4px;
  transition: color .2s, background-color .2s;
}
.consent-modal-close:hover {
  color: #D8D8D8;
  background: #444;
}
.consent-modal-close:focus-visible {
  outline: 2px solid #D8000E;
  outline-offset: 2px;
}
.consent-modal h2 {
  font-size: 1.25em;
  font-weight: 600;
  margin: 0 0 8px;
  color: #D8D8D8;
}
.consent-modal > p {
  margin: 0 0 20px;
  color: #ADADAD;
}
.consent-services {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.consent-service {
  border: 1px solid #4a4a4a;
  border-radius: 6px;
  padding: 12px 14px;
}
.consent-service-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.consent-service-header strong {
  font-size: 14px;
}
.consent-badge {
  font-size: 11px;
  color: #D8000E;
  font-weight: 600;
  margin-left: auto;
}
.consent-details-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #999;
  transition: transform .2s;
  flex-shrink: 0;
  line-height: 0;
}
/* Ohne Abzeichen "Immer aktiv" fehlt das Element mit margin-left:auto, das den
   Aufklapper nach rechts schiebt - dann uebernimmt er das selbst. */
.consent-service-header strong + .consent-details-toggle {
  margin-left: auto;
}
.consent-details-toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}
.consent-details-toggle:hover,
.consent-details-toggle:focus-visible {
  color: #D8000E;
  outline: 2px solid #D8000E;
  outline-offset: 2px;
  border-radius: 2px;
}
.consent-details {
  padding: 8px 0 0 48px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #ADADAD;
}
.consent-details p {
  margin: 0 0 4px;
}
.consent-purpose {
  font-size: 11.5px;
  color: #999;
  font-style: italic;
}
.consent-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
}
.consent-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.consent-slider {
  position: absolute;
  inset: 0;
  background: #666;
  border-radius: 22px;
  cursor: pointer;
  transition: background .2s;
}
.consent-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}
.consent-switch input:checked + .consent-slider {
  background: #D8000E;
}
.consent-switch input:disabled + .consent-slider {
  background: #D8000E;
  opacity: .7;
  cursor: default;
}
.consent-switch input:checked + .consent-slider::before {
  transform: translateX(16px);
}
.consent-modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #4a4a4a;
}
.consent-privacy-link {
  color: #D8000E;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.consent-privacy-link:hover {
  text-decoration: underline;
}

/* Platzhalter statt Karte, solange Google Maps nicht freigegeben ist.
   Bei Consartis gibt es das nicht - die Karte auf /standort schon. */
.consent-placeholder {
  height: 100%;
  min-height: 220px;
  box-sizing: border-box;
  padding: 24px;
  background: #3a3a3a;
  border: 1px solid #4a4a4a;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #D8D8D8;
}
.consent-placeholder p {
  margin: 0 0 14px;
  max-width: 420px;
}
.consent-placeholder .consent-privacy-link {
  margin-top: 14px;
}

@media (max-width: 480px) {
  .consent-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    max-width: none;
  }
  .consent-banner .consent-buttons {
    flex-direction: column;
  }
  .consent-banner .consent-btn {
    justify-content: center;
    width: 100%;
  }
  .consent-modal {
    width: 95%;
    padding: 20px 16px;
  }
  .consent-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .consent-modal-footer .consent-buttons {
    flex-direction: column;
  }
  .consent-modal-footer .consent-btn {
    justify-content: center;
    width: 100%;
  }
}
