/*! HTML5 Boilerplate v8.0.0 | 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.
 */



/* ==========================================================================
   Fonts
   ========================================================================== */



/* poppins-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: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/poppins-v20-latin-300.eot');
  /* IE9 Compat Modes */
  src: url('../fonts/poppins-v20-latin-300.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('../fonts/poppins-v20-latin-300.woff2') format('woff2'),
    /* Super Modern Browsers */
    url('../fonts/poppins-v20-latin-300.woff') format('woff'),
    /* Modern Browsers */
    url('../fonts/poppins-v20-latin-300.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('../fonts/poppins-v20-latin-300.svg#Poppins') format('svg');
  /* Legacy iOS */
}

/* poppins-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: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v20-latin-regular.eot');
  /* IE9 Compat Modes */
  src: url('../fonts/poppins-v20-latin-regular.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('../fonts/poppins-v20-latin-regular.woff2') format('woff2'),
    /* Super Modern Browsers */
    url('../fonts/poppins-v20-latin-regular.woff') format('woff'),
    /* Modern Browsers */
    url('../fonts/poppins-v20-latin-regular.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('../fonts/poppins-v20-latin-regular.svg#Poppins') format('svg');
  /* Legacy iOS */
}

/* poppins-700 - 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: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v20-latin-700.eot');
  /* IE9 Compat Modes */
  src: url('../fonts/poppins-v20-latin-700.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('../fonts/poppins-v20-latin-700.woff2') format('woff2'),
    /* Super Modern Browsers */
    url('../fonts/poppins-v20-latin-700.woff') format('woff'),
    /* Modern Browsers */
    url('../fonts/poppins-v20-latin-700.ttf') format('truetype'),
    /* Safari, Android, iOS */
    url('../fonts/poppins-v20-latin-700.svg#Poppins') format('svg');
  /* Legacy iOS */
}


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  color: var(--black);
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

/*
 * 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
   ========================================================================== */
:root {
  --white: rgb(247, 247, 247);
  --blue: rgb(0, 85, 135);
  --bluealpha: rgba(0, 85, 135, 0.7);
  --lightblue: rgb(2, 114, 179);
  --gray: rgb(224, 224, 224);
  --orange: rgb(255, 165, 0);
  --black: rgb(34, 34, 34);
}

main {
  padding-top: 4rem;
}

a {
  text-decoration: none;
  color: var(--black);
}

p {
  margin-top: 0;
}

a:hover {
  color: var(--blue);
}

section>div, footer>div {
  padding: 2rem;
}

footer>div {
  text-align: center;
}

h1 span, h2 span {
  color: var(--orange);
}

#start {
  display: flex;
  align-items: center;
  background: var(--blue);
  background-image: linear-gradient(0deg, rgba(0, 85, 135, 0.4) 0%, rgba(0, 85, 135, 0.8) 100%), url(../img/shutterstock_128810011.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 35em;
  /*padding-top: 7rem;*/
  color: var(--white);
  text-align: center;
  background-attachment: fixed;

}

#google__sichtbarkeit #start {
  background-image: linear-gradient(0deg, rgba(0, 85, 135, 0.4) 0%, rgba(0, 85, 135, 0.8) 100%), url(../img/shutterstock_1409647679.jpg);
  background-position: center 40%;
}

#umsatz #start {
  background-image: linear-gradient(0deg, rgba(0, 85, 135, 0.4) 0%, rgba(0, 85, 135, 0.8) 100%), url(../img/shutterstock_748617433.jpg);
  background-position: 80% 220%;
}

#mitarbeiter #start {
  background-image: linear-gradient(0deg, rgba(0, 85, 135, 0.4) 0%, rgba(0, 85, 135, 0.8) 100%), url(../img/shutterstock_2055858071.jpg);
  background-position: center top;
}

#kontakt {
  background-image: url(../img/kontakt.jpg) !important;
  background-position: center 23%;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 5rem;
  text-align: center;

}

#kontakt>div {
  background-color: var(--bluealpha);
  padding: 3rem;
  color: var(--white);
}


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

.btn {
  background-color: var(--orange);
  padding: 1rem 2rem;
  border-radius: 7rem;
  color: var(--white);
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.btn:hover {
  color: var(--blue);
}

.btn i {
  display: inline-block;
  margin-right: 0.5rem;
}

p a {
  color: var(--orange);
}

p a:hover {
  color: var(--blue);
}

#teaser {
  background-color: var(--white);
}

#teaser__wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;

}

#teaser__wrapper>div {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

#teaser__wrapper>* {
  margin: 1rem 0;
  text-align: center;
  width: 100%;

}

#teaser__wrapper>div>div>i {
  font-size: 2.5rem;
  color: var(--blue);
}

.teaser__link {
  padding: 0.5rem;
  border-bottom: 3px solid var(--orange);

}

.teaser__link i {
  color: var(--orange);
  margin-left: 0.5rem;
}

.teaser__link:hover {
  color: var(--blue);
}

/* Header */
header {
  width: 100%;
  background-color: var(--white);
  position: fixed;
  -webkit-box-shadow: 0px -2px 25px 0px rgba(0, 0, 0, 0.56);
  -moz-box-shadow: 0px -2px 25px 0px rgba(0, 0, 0, 0.56);
  box-shadow: 0px -2px 25px 0px rgba(0, 0, 0, 0.56);
}

header>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;

}



/* Logo */
.logo img {
  display: inline-block;
  max-height: 4em;
  width: auto;
}

/* Nav menu */
nav {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: var(--blue);
  overflow: hidden;
  top: 6rem;
  left: 0;
}

.menu a {
  display: block;
  padding: 2rem;
  color: var(--white);

}

.menu a:hover {
  background-color: var(--lightblue);
}

nav {
  max-height: 0;
  transition: max-height .5s ease-out;
}

/* Menu Icon */

.hamb {
  cursor: pointer;
  display: flex;
  height: 1.5rem;
  align-items: center;
}


.hamb-line {
  background: var(--orange);
  display: block;
  height: 2px;
  position: relative;
  width: 1.5rem;

}

.hamb-line::before,
.hamb-line::after {
  background: var(--orange);
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.hamb-line::before {
  top: 5px;
}

.hamb-line::after {
  top: -5px;
}


.side-menu {
  display: none;
}

/* Toggle menu icon */

.side-menu:checked~nav {
  max-height: 100%;
}

.side-menu:checked~.hamb .hamb-line {
  background: transparent;
}

.side-menu:checked~.hamb .hamb-line::before {
  transform: rotate(-45deg);
  top: 0;

}

.side-menu:checked~.hamb .hamb-line::after {
  transform: rotate(45deg);
  top: 0;
}

/*Content Container Anfang*/
section.content-container {
  display: flex;
  flex-direction: column;
}

section.content-container>div {
  margin: 1rem 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section.content-container>div .btn {
  text-align: center;
}

section.content-container h2,
section.content-container p {
  text-align: center;
}

section.content-container>div.img-container {
  margin-bottom: 0;
  padding-bottom: 0;

}

section.content-container>div.img-container img {
  object-fit: cover;
}

section.content-container>div.txt-container {
  margin-top: 0;
  padding-top: 0;

}

/*Content Container Ende*/
/*Zurück zur Startseite Link-Section Anfang*/
section#back {
  display: flex;
}

section#back a.teaser__link {
  margin: 3rem auto;
  display: inline-block;
}

/*Zurück zur Startseite Link-Section Ende*/


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

@media only screen and (min-width: 40em) {

  /* Style adjustments for viewports that meet the condition */

}

/*****************************************************************************************/
/**
  *
  * GROSSE SMART PHONES: Anfang
  *
 **/
@media only screen and (min-width: 600px) {}

/**
  *
  * B GROSSE SMART PHONES: Ende
  *
 **/
/*****************************************************************************************/
/**
  *
  * C TABLETS hoch: Anfang
  *
 **/
@media only screen and (min-width: 768px) {


  header>div, #start>div, footer>div {
    /*max-width: 70em;*/
    margin: 0 auto;
  }

  #teaser__wrapper {
    /*max-width: 90em;*/
    margin: 0 auto;
  }

  #kontakt>div {
    max-width: 40rem;
    margin: 0 auto;
  }

  /*Content Container Anfang*/
  section.content-container>div.img-container img {
    max-width: 500px;
    margin: 0 auto;
  }

  /*Content Container Ende*/
  /* NAVIGATION ANFANG*/

  .logo {
    margin-left: 0;
  }

  nav {
    max-height: none;
    top: 0;
    position: relative;
    float: right;
    width: fit-content;
    background-color: transparent;
  }

  .menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .menu li {
    display: flex;
  }

  .menu a {
    padding: 0.5rem 1rem;
    border-bottom: 3px solid transparent;
    color: var(--black);

  }

  .menu a:hover {
    background-color: transparent;
    color: var(--blue);
    border-bottom: 3px solid var(--orange);

  }

  .menu a.active {
    background-color: transparent;
    color: var(--orange);

  }

  .hamb {
    display: none;
  }

  /* NAVIGATION ENDE*/

  #teaser__wrapper>* {
    margin: 5rem 0;
    text-align: center;
    width: calc(100% / 3 - 2rem);

  }

  #teaser__wrapper {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 3rem;

  }


}

/**
*
* C TABLETS hoch: Ende
*
**/
/*****************************************************************************************/
/**
*
* D TABLETS quer: Anfang
*
**/
@media only screen and (min-width: 992px) {}

/**
 *
 * D TABLETS quer: Ende
 *
**/
/*****************************************************************************************/
/**
 *
 * E Desktop-PC: Anfang
 *
**/
@media only screen and (min-width: 1220px) {

  header,
  #start,
  #teaser,
  footer,
  section.content-container {
    padding: 0 8rem;
  }

  /*Content Container Anfang*/
  section.content-container {
    justify-content: center;
    flex-direction: row;
    margin: 2rem 0;
  }

  section.content-container>div {
    margin: 0;
    width: 50%;
    padding-top: 0;
    justify-content: flex-start;

  }

  section.content-container h2,
  section.content-container p {
    text-align: left;
  }

  section.content-container h2 {
    padding-top: 0;
    margin-top: 0;
  }

  section.content-container>div.img-container {
    width: 35%;
  }

  section.content-container>div.txt-container {
    width: 65%;

  }

  section.content-container>div.img-container img {
    margin: 0;
    max-width: none;
  }

  /*Content Container Ende*/

}

/**
 *
 * Desktop-PC: Ende
 *
**/
/*****************************************************************************************/
/**
 *
 * F Large-Format (TV Screen etc.): Anfang
 *
**/
@media only screen and (min-width: 1920px) {

  header,
  #start,
  #teaser,
  footer,
  section.content-container {
    padding: 0 15rem;
  }

  /*Content Container Anfang*/
  section.content-container {}

  /*Content Container Ende*/
}

/**
 *
 * Large-Format (TV Screen etc.): Ende
 *
**/
/*****************************************************************************************/




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