@charset "UTF-8";
/**
 * Colors
 */
/**
 * Fonts
 */
/**
 * Reset
 */
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden], template {
  display: none;
}

a {
  background-color: transparent;
}

a:active, a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: 700;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code, kbd, pre, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html input[type=button], input[type=reset], input[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled], html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type=checkbox], input[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  height: auto;
}

input[type=search] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

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

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: 700;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td, th {
  padding: 0;
}

/**
 * General
 */
.preload * {
  transition: none !important;
}

html {
  -webkit-text-size-adjust: none;
          text-size-adjust: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-y: scroll;
  overflow-x: hidden;
  font-size: 22px;
  line-height: 1.36;
}

body {
  font-family: "Raleway", sans-serif;
  -webkit-font-variant-ligatures: no-common-ligatures;
}
a, a:visited {
  color: #780000;
  text-decoration: none;
}

.nav ul {
  padding: 0;
}
.nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/**
 * off-canvas-nav
 */
.off-canvas-nav {
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 480px;
  box-sizing: border-box;
  padding: 0 2.5%;
  background: #780000;
  z-index: 99;
  will-change: transform;
  transform: translateX(-100%);
  transition: transform 0.375s ease-in-out;
}
@media only screen and (max-width: 576px) {
  .off-canvas-nav {
    width: calc(100% - 5rem);
  }
}
.off-canvas-nav.open {
  transform: translateX(0%);
}
.off-canvas-nav a {
  color: white;
}
.off-canvas-nav .nav-toggle {
  position: absolute;
  top: 0;
  right: -0.6rem;
  transform: translateX(100%);
  background: none;
  width: 3rem;
  height: 3rem;
  background-image: url(../img/menu.svg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: contain;
  border: none;
  transition: background-image 0.25s;
}
.off-canvas-nav .nav-toggle.dark {
  color: #780000;
  transition: color 0.25s;
}
.off-canvas-nav ul ul li {
  padding-left: 1rem;
}

.off-canvas-menu {
  max-height: 90%;
  overflow-y: auto;
  font-size: 0.75rem;
}
@media only screen and (max-width: 1024px) {
  .off-canvas-menu {
    font-size: 1rem;
  }
}
.off-canvas-menu > li {
  padding: 0.5rem 0;
  border-bottom: 1px solid white;
}
.off-canvas-menu > li:last-child {
  border: none;
}
.off-canvas-menu > li > a {
  text-transform: uppercase;
}
.off-canvas-menu > li .children {
  padding-left: 1rem;
}

.off-canvas-container {
  will-change: transform;
  transform: translateX(0);
  transition: transform 0.375s ease-in-out;
}
.off-canvas-container.open {
  transform: translateX(480px);
}
@media only screen and (max-width: 576px) {
  .off-canvas-container.open {
    transform: translateX(100%) translateX(-5rem);
  }
}
@media only screen and (max-width: 480px) {
  .off-canvas-container.open {
    transform: translateX(75%);
  }
}

/**
 * Header
 */
.header {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.arrow-down {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  top: 90vh;
  padding: 0.75rem;
  text-align: center;
  font-size: 2.5rem;
  color: white;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  z-index: 99;
  height: 2.25rem;
}

.standard, .galerie {
  max-height: 17.75rem;
  margin-top: 0;
  margin-bottom: 0.2rem;
}

.fotorama {
  display: flex;
  justify-content: center;
}
.fotorama__video {
  top: 50%;
  transform: translateY(-54%);
  width: 100%;
}
.fotorama__arr {
  display: block !important;
  width: 50%;
  height: 100%;
  top: 0;
  margin-top: 0;
  background: none;
}

.galerie {
  height: 17.75rem;
  max-width: 1280px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

.title {
  position: absolute;
  left: 4.5rem;
  top: 50vh;
  padding-top: 157px;
  padding-left: 8.5rem;
  margin: auto;
  /*
  &::before {
  	position: absolute;
  	left: 0;
  	top: 0;
  	margin: auto;
  	content: '';
  	width: 12.5rem;
  	height: 10.8rem;
  	background: {
  		image: url(../img/logo_ritter-bw.svg);
  		repeat: no-repeat;
  		position: 50% 50%;
  		size: contain;
  	}
  }
  */
}
.title .titlehome {
  font-size: 3rem;
  color: white;
  text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
}
.title .subtitlehome {
  margin-top: 0;
  font-size: 2rem;
  color: white;
  text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
  font-style: italic;
}

/**
 * main-nav
 */
.main-nav {
  position: relative;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.125);
  line-height: 1;
}
.main-nav::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 1.5rem;
  background-color: #780000;
}
.main-nav .nav-toggle {
  display: none;
}
.main-nav .main-menu {
  display: flex;
}
.main-nav .main-menu > li {
  position: relative;
}
.main-nav .main-menu > li > a {
  text-transform: uppercase;
  padding: 1rem;
  display: inline-block;
  letter-spacing: 2px;
  white-space: nowrap;
}
.main-nav .main-menu > li.first:hover, .main-nav .main-menu > li.first.active {
  background-color: transparent;
}
.main-nav .main-menu > li.first > a {
  text-indent: -999rem;
  width: 3rem;
  background-image: url(../img/logo_ritter-bw.svg);
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: left 50%;
  background-size: auto 80%;
}
.main-nav .main-menu .children {
  position: absolute;
  left: 0;
  top: 2.75rem;
  z-index: 50;
  padding: 0rem 1.25rem 1rem 1rem;
  display: none;
  background: #780000;
  min-width: 100%;
}
.main-nav .main-menu .children a {
  line-height: 1.25;
}
.main-nav .main-menu .children .children {
  position: relative;
  min-width: 95%;
  top: 0;
  padding: 0 0.5rem 0.5rem 1rem;
}
.main-nav .main-menu > li:hover {
  background: #780000;
}
.main-nav .main-menu > li:hover a {
  color: white;
}
.main-nav .main-menu > li:hover .children {
  display: block;
}
.main-nav .main-menu > li:hover .children > li:hover a {
  color: #ffc5c5;
}
.main-nav .main-menu > li:hover .children > li:hover ul a {
  color: white;
}
.main-nav .main-menu > li:hover .children > li:hover ul li:hover a {
  color: #ffc5c5;
}
.main-nav .main-menu > li.active {
  background: #780000;
}
.main-nav .main-menu > li.active a {
  color: white;
}

/**
 * breadcrumb-nav
 */
.breadcrumb-nav {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  font-size: 0.75rem;
  line-height: 1.5rem;
}
@media only screen and (max-width: 1024px) {
  .breadcrumb-nav {
    font-size: 0.75rem;
  }
}
@media only screen and (max-width: 968px) {
  .breadcrumb-nav::after {
    content: "";
    position: absolute;
    top: 0;
    left: -1.25rem;
    width: calc(100% + 2.5rem);
    height: 1.5rem;
    background-color: #780000;
  }
}

.breadcrumb-menu {
  position: relative;
  z-index: 10;
  display: flex;
  margin: 0;
  overflow-x: auto;
}
.breadcrumb-menu li + li > a::before {
  font-family: FontAwesome;
  content: "";
  margin: 0 0.125rem;
  color: white;
}
.breadcrumb-menu a {
  color: white;
  white-space: nowrap;
}

/**
 * Content
 */
.main-menu, .main {
  width: 87%;
  max-width: 1280px;
  margin: auto;
  padding: 0 1.5%;
  font-size: 0.75rem;
}
@media only screen and (max-width: 1024px) {
  .main-menu, .main {
    font-size: 1rem;
  }
}

.main {
  position: relative;
  padding: 3.5rem 0;
  font-size: 0.75rem;
  line-height: 1.25;
}
@media only screen and (max-width: 1024px) {
  .main {
    font-size: 1rem;
  }
}
.main h1, .main h2 {
  color: #780000;
  text-transform: uppercase;
}
.main h1:first-child, .main h2:first-child {
  margin-top: 0;
  margin-bottom: 1.6rem;
  line-height: 1.25;
}
.main h1 {
  margin-bottom: 1.6rem;
  font-size: 1.25rem;
  line-height: 1.5;
}
.main h2 {
  margin-bottom: 0rem;
  font-size: 0.9rem;
}
.main h3, .main h4, .main h5, .main h6 {
  margin-bottom: 0rem;
  font-size: 0.75rem;
}
@media only screen and (max-width: 1024px) {
  .main h3, .main h4, .main h5, .main h6 {
    font-size: 1rem;
  }
}
.main p {
  margin: 0;
}

.section img {
  max-width: 100%;
}

.castle-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.castle-link {
  position: relative;
  width: 30%;
  text-indent: -999rem;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  margin-bottom: 2rem;
}
.castle-link::before {
  content: "";
  height: 0;
  padding-bottom: 66%;
  display: inline-block;
}
.castle-link::after {
  content: attr(data-title);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(120, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-indent: 0;
  text-align: center;
  line-height: 1.5;
  font-weight: 500;
  display: flex;
  visibility: visible;
  opacity: 1;
  transition: all 0.25s;
  padding: 0.25rem;
}
.castle-link:hover::after {
  visibility: hidden;
  opacity: 0;
  transition: all 0.25s;
}
.castle-link:nth-of-type(3n-1) {
  margin: 0 5% 2rem 5%;
}

.content-section {
  width: 63.66%;
  float: left;
  padding-right: 3%;
}

.aside {
  width: 33.33%;
  float: right;
  padding-left: 3%;
  border-left: 1px solid #780000;
  box-sizing: border-box;
}

.content-section img, .aside img {
  display: block;
  max-width: 100%;
  height: auto;
}

.topictitle {
  color: #780000;
  cursor: pointer;
}

.topictitle::after {
  font-family: FontAwesome;
  content: "";
  padding: 0 0 0 0.4rem;
  transform: rotate(0deg);
  display: inline-block;
  transition: transform 0.25s;
}

.topictitleopen::after {
  transform: rotate(90deg);
  display: inline-block;
  transition: transform 0.25s;
}

#moretopic {
  display: none;
  padding: 0 1.25rem;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/**
 * Formular
 */
.form-row, .button-row {
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem;
  justify-content: space-between;
  max-width: 40rem;
}

.form-row:nth-child(even) {
  background-color: #fff;
}

.form-row:nth-child(odd) {
  background-color: #fafafa;
}

.form-item {
  width: 18rem;
}

.form-item input, .form-item textarea, .form-item select {
  width: 18rem;
}

.form-label {
  width: 16rem;
}

form .error, form .formError {
  color: #780000;
  display: block;
}

/**
* Login
*/
fieldset label {
  display: flex;
  justify-content: space-between;
  width: 14rem;
  padding-top: 0.5rem;
}
fieldset label.loginPasswordLabel {
  padding-bottom: 0.5rem;
}

/**
 * Footer
 */
.footer {
  margin: 2.5rem 0;
  text-align: center;
  color: #780000;
  clear: both;
}

.miux {
  position: fixed;
  bottom: 20px;
  right: 20px;
  height: 10px;
  width: 50px;
  background: url(../img/miux_grau.svg) no-repeat 50% 50%;
  text-indent: -999rem;
}

/**
 * Mediaqueries
 */
@media only screen and (max-width: 1280px) {
  html {
    font-size: 20px;
  }

  .main-nav .main-menu > li > a {
    padding: 1rem 0.75rem;
  }

  .title {
    padding-top: 143px;
  }
}
@media only screen and (max-width: 1024px) {
  html {
    font-size: 16px;
  }

  .main-menu, .main {
    width: calc(100% - 2.5rem);
  }

  .title {
    padding-top: 112px;
  }
}
@media only screen and (max-width: 968px) {
  .main-nav {
    display: none;
  }

  .castle-list {
    justify-content: space-between;
  }

  .castle-link {
    width: 47.5%;
  }
  .castle-link:nth-of-type(3n-1) {
    margin: 0 0 2rem 0;
  }

  .title {
    padding-top: 100px;
    padding-left: 6rem;
    font-size: 2rem;
    top: 10vh;
  }
  .title::before {
    width: 7.5rem;
  }

  .galerie {
    height: 15.5rem;
  }
}
@media only screen and (max-width: 968px) {
  .content-section, .aside {
    float: none;
    width: 100%;
    padding-right: 0;
  }

  .aside {
    margin-top: 5rem;
    padding-left: 0;
    border-left: none;
  }
}
@media only screen and (max-width: 576px) {
  .content-section, .aside {
    float: none;
    width: 100%;
    max-width: 480px;
    padding-right: 0;
  }

  .aside {
    margin-top: 5rem;
    padding-left: 0;
    border-left: none;
  }

  .castle-link {
    width: 100%;
  }

  .title {
    padding-top: 136px;
    padding-left: 0;
    text-align: left;
  }

  .galerie {
    height: 11.5rem;
  }
}
@media only screen and (max-width: 480px) {
  .content-section, .aside {
    width: 100%;
  }

  .galerie {
    height: 9.75rem;
  }
}
/* tablet general */
/* phone general */
@media only screen and (max-width: 480px) {
  .miux {
    display: none;
  }
}
/* phone portrait */
/* phone landscape */