/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.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: 'OpenSansBold';
  font-width: 600;
  src: url(../fonts/OpenSans-Bold.woff2) format('woff2'),
       url(../fonts/OpenSans-Bold.ttf)  format('truetype');
}

@font-face {
  font-family: 'OpenSans';
  font-width: 400;
  src: url(../fonts/OpenSans-Regular.woff2) format('woff2'),
       url(../fonts/OpenSans-Regular.ttf)  format('truetype');
}



html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  font-family: OpenSans, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: OpenSansBold, Arial, sans-serif;
  font-weight: 600;
  margin-top: 2rem;
}

section {
  margin-bottom: 7rem;
}

section.hero {
  margin-bottom: 0;
}

body {
  padding: 0 1em;
  max-width: 1260px;
  margin: 0 auto;
}

.fullwidth {
  margin-left: -1em;
  margin-right:-1em;
}

header {
  padding: 1em 0;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background: #fff;
  z-index: 1;
  border-bottom: #222222 1px solid;
}

header span {
  display: block;
  margin-left: 1em;
}

header nav {
  margin-right: 1em;
}

header nav ul {
  display: flex;
  padding: 0;
  margin:0;
  list-style-type: none;
}

header nav ul li {
  padding-right: 1em;
}

header nav ul li:last-of-type {
  padding-right: 0;
}

a
{
  font-weight: 600;
  color: #222;
}

strong {
  font-family: OpenSansBold, Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25em;
}

.hero {
  position: relative;
  height: 750px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 100px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 1292px;
  margin-left: -1em;
  margin-right: -1em;
  z-index: 1;
}

.sticky + .hero {
  padding-top: 100px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/skylla-420-alu-angelbot-auf-pega-trailer-1300px-wide-v2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.hero .hero-content {
  position: relative;
  text-align: center;
  margin-top: -9em;
}

.hero .hero-content .hero-title {
  color: #fff;
}

.hero h2 {
  font-size: 17px;
  margin-bottom: 2px;
}

.hero h1 {
  margin-top: 0;
  font-size: 2rem;
}

.specs {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 5rem;
}

.specs-image {
  width: 35%;
}

.specs-image ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.specs-image ul.full li {
  padding-bottom: 1em;
  width: 100%;
}

.specs-image ul.half {
  flex-direction: row;
  justify-content: space-between;
}

.specs-image ul.half li {
  width: 48%;
}

.specs-image img {
  width: 100%;
}

.specs-list {
  width: 55%;
}

.specs-list ul {
  padding-left: 0;
}

.specs-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1em;
}

.specs-list li span {
  display: inline-block;
  width: 60%;
}

.specs-list li div {
  width: 60%;
}

.specs-list li div span {
  display: inline-block;
  width: 100%;
}

.specs-list li span:first-of-type {
  font-family: OpenSansBold, Arial, sans-serif;
  width: 30%;
  font-weight: 600;
}

.specs-list li div span:first-of-type {
  width: 100%;
  font-family: OpenSans, Arial, sans-serif;
  font-weight: 400;
}

ul.pricing-day {
  list-style: none;
  padding-left: 0;
}

ul.pricing-day li:first-of-type {
  padding-bottom: .5em;
}

ul.pricing {
  list-style: none;
  display: flex;
  padding: 0;
  justify-content: space-between;
  flex-wrap: wrap;
}

ul.pricing li {
  width: 48%;
}

footer {
  margin-top: 3em;
  padding: 1em 0;
  display: flex;
  justify-content: space-between;
}

footer .nav--footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
}

footer .nav--footer ul li {
  padding-right: 2em;
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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
   ========================================================================== */

/* ==========================================================================
   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
 */

.visually-hidden {
  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 .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.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
 *
 * 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.
   ========================================================================== */

/* ==========================================================================
   Hero
   ========================================================================== */
@media only screen and (max-width: 586px) {
  .hero::before {
    background: url("../img/skylla-420-alu-angelbot-auf-pega-trailer-crop-v2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }
}
/* ==========================================================================
   SPECS
   ========================================================================== */
@media only screen and (max-width: 1025px) {
  .specs-image {
    width: 42%;
  }

  .specs-list {
    width: 55%;
  }

  .specs-image ul.half {
    flex-direction: column;
  }

  .specs-image ul.half li {
    width: 100%;
    padding-bottom: 1em;
  }

  .specs-image ul.half li:last-of-type {
    padding-bottom: 0;
  }

  .specs-list li span,
  .specs-list li span:first-of-type,
  .specs-list li div {
    width: 100%;
  }

  .specs-list li>span:first-of-type {
    font-family: OpenSansBold, Arial, sans-serif;
    font-weight: 600;
  }
}

@media only screen and (max-width: 700px) {
  .specs {
    flex-direction: column;
  }

  .specs-image {
    width: 100%;
  }

  .specs-list {
    width: 100%;
    margin-top: 2em;
  }
}

/* ==========================================================================
   Prices
   ========================================================================== */
@media only screen and (max-width: 909px) {
  ul.pricing li {
    width: 100%;
    padding-bottom: .5em;
  }

  ul.pricing li:nth-of-type(1) {
    order: 1;
  }
  ul.pricing li:nth-of-type(2) {
    order: 8;
  }
  ul.pricing li:nth-of-type(3) {
    order: 2;
  }
  ul.pricing li:nth-of-type(4) {
    order: 9;
  }
  ul.pricing li:nth-of-type(5) {
    order: 3;
  }
  ul.pricing li:nth-of-type(6) {
    order: 10;
  }
  ul.pricing li:nth-of-type(7) {
    order: 4;
  }
  ul.pricing li:nth-of-type(8) {
    order: 11;
  }
  ul.pricing li:nth-of-type(9) {
    order: 5;
  }
  ul.pricing li:nth-of-type(10) {
    order: 12;
  }
  ul.pricing li:nth-of-type(11) {
    order: 6;
  }
  ul.pricing li:nth-of-type(12) {
    order: 13;
  }
  ul.pricing li:nth-of-type(13) {
    order: 7;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
@media only screen and (max-width: 975px) {
  footer {
    flex-direction: column;
  }

  footer .nav--footer ul {
    width: 100%;
    justify-content: center;
    padding-bottom: 1em;
  }

  footer .nav--contact {
    width: 100%;
    text-align: center;
    padding-bottom: 1em;
  }
}

@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;
  }

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

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

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

h2, h3, .specs-list > strong {
  color: #177dc9;
}

h2+h3 {
  margin-top: -1em;
}

.intro > p > strong {
  font-size: 1em;
}

#ausstattung .intro,
#buchen .intro,
#preise .intro {
  width: 80%;
}

p {
  line-height: 1.7em;
}

@media only screen and (max-width: 950px) {
  #ausstattung .intro,
  #buchen .intro,
  #preise .intro {
    width: 100%;
  }
}

footer a {
  text-decoration: none;
  color: #177dc9;
}
