.fak, .fa-kit
{
  font-weight: 100;
}

h2
{
  font-family: "DIN Next LT Pro", Arial, Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: -0.25px;
  font-size: 26px;
  line-height: 30px;
  margin: 0px;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 8px;
  padding-top: 8px;
}

h3
{
  font-family: "DIN Next LT Pro", Arial, Roboto, sans-serif;
  font-weight: 500;
  font-size: 22px;
  margin: 0px;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 4px;
  padding-top: 4px;
}

h4
{
  font-family: "DIN Next LT Pro", Arial, Roboto, sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0px;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 4px;
  padding-top: 4px;
}

.errorbox
{
  border-radius: 8px;
  background-size: contain;
  height: 580px;
  background-color: #fea918;
  background-position: center center;
  background-repeat: no-repeat;
}

.errorbox.error400
{
  background-image: url(/images/error/400.webp);
}

.errorbox.error401
{
  background-image: url(/images/error/401.webp);
}

.errorbox.error403
{
  background-image: url(/images/error/403.webp);
}

.errorbox.error404
{
  background-image: url(/images/error/404.webp);
}

.errorbox.error500
{
  background-image: url(/images/error/500.webp);
}

.dhpimage
{
  vertical-align: baseline;
  height: 18px;
  width: auto !important;
}

.btn:hover
{
  color: #ffffff;
}

/* ##################### Formulare ##################### */

.cbox select
{
  font-size: 16px !important;
  border-radius: 4px;
}

.cbox select option
{
  background-color: var(--neutral-000);
  color: #000000;
  font-size: 16px;
}



.cbox input
{
  display: block;
	font-size: 16px;
	margin-bottom: 4px;
}

.cbox input,
.cbox select,
.cbox textarea
{
  background-color: #ffffff;
  border: 1px solid #99afc2;
  border-radius: 4px;
  color: #000000;
  padding: 11px 12px;
}

.cbox input.inputerror,
.cbox select.inputerror,
.cbox textarea.inputerror
{
  border-color: rgb(255, 0, 0);
  box-shadow: rgb(255, 128, 128) 0px 0px 0px 1px;
  background-color: #ffcccc;
}

.cbox input:hover,
.cbox select:hover,
.cbox textarea:hover,
.cbox input:focus,
.cbox select:focus,
.cbox textarea:focus
{
  border-color: rgb(89, 122, 150);
  box-shadow: rgb(184, 231, 136) 0px 0px 0px 1px;
}

.cbox label
{
  display: block;
	font-size: 12px;
	margin-bottom: 4px;
  margin-top: 10px;
  color: #0f151a;
}

.cbox .checkbox
{
	background-color: var(--neutral-000);
	border-radius: 2px;
	color: #99afc2;
	height: 16px;
	width: 16px;
	top: 7px;
	float: left;
	margin-right: 10px;
	padding-bottom: 10px;
}

.cbox label
{
  display: block;
  margin-bottom: 5px;
}

.cbox label.checklabel
{
  display: block;
  margin: 10px 0 5px 35px;
  font-size: 16px;
}

.cbox input[type="checkbox"]
{
  float: left;
  clear: left;
  display: block;
  margin-right: 5px;
}

.cbox .btn
{
  color: #ffffff;
  margin-right: 10px;
}

.cbox .btn
{
  cursor: pointer;
  text-align: center;
  display: inline-block;
  padding: 10px 15px;
  font-weight: 500;
  background-color: rgb(107, 176, 36);
  border: 1px solid rgb(107, 176, 36);
  border-radius: 4px;
  color: rgb(255, 255, 255);
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 10px;
}


@media (prefers-color-scheme: dark)
{
  .cbox label
  {
    color: #ffffff;
  }

}

/* ##################### Cards ##################### */

.header-image
{
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
}

.cards
{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 1rem;
}

.cards > div
{
  background: #ffffff;
  padding: 1rem;
  position: relative;
  border-radius: 8px;
  padding: 0;
  min-width: 230px;
}

.cards > div img
{
	width: 100%;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

/* Mario */
div.card-info
{
	padding: 15px;
}

p.card-header
{
	font-weight: 700;
	font-size: 20px;
}

p.card-colored
{
	color: #6bb024;
	margin-bottom: 10px;
}

p.card-small
{
	font-size: 14px;
	margin: 5px;
}
/* Mario */

@media (prefers-color-scheme: dark)
{
  .cards > div
  {
    background: rgb(41, 56, 69);
    color: #ffffff;
  }
}

@media (max-width: 767px)
{
  .cards > div
  {
    border-radius: 0;
  }

  .cards > div img
  {
  	border-radius: 0;
  }
}

/* ##################### Boxes ##################### */


.centered-in-box
{
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 40px;
  font-family: inherit;
  font-style: normal;
  font-weight: normal;
  margin-bottom: 12px;
}

.centered-in-box-bold
{
  font-family: "DIN Next LT Pro", "Inter", sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
}


.top-border-image
{
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-right: -16px;
  margin-top: -16px;
  margin-bottom: 16px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}



.image-right-box
{
  border-radius: 8px;
  background-color: #ffffff;
  display: flex;
  margin-bottom: 16px;
  color: #000000;
}

.image-right-box > div:first-child
{
  padding: 16px;
  flex: 1;
}

.image-right-box-image
{
  width: 350px;
  max-width: 30vw;
  background-image: url(https://picsum.photos/363/580);
  background-size: cover;
  background-position: center right;
  border-radius: 0 8px 8px 0;
}



.quad-tile
{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 1rem;
}

.quad-tile > div
{
  padding: 1rem;
  position: relative;
  border-radius: 8px;
}

.quad-tile span.text
{
  padding: 10px;
  position: absolute;
  top: 75%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 22px;
  font-weight: 500;
  background-color: rgba(0,0,0,0.6);
	display: flex;
	height: 90px;
	align-items: flex-end;
}

.quad-tile > div::before
{
  content: "";
  display: block;
  padding-bottom: 100%;
}

.quad-tile > div img
{
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
}



.angebot-page
{
  background-image: linear-gradient(#293845, #5a6670, #293845);
  padding: 25px;
  max-width: 650px;
  margin: 0 auto;
}

.angebot-box
{
  border-radius: 8px;
  width: 310px;
  height: 310px;
  background-color: #ffffff;
  margin: 0 auto;
}

.angebot-page .image > img
{
  padding-top: 35px;
  width: 100%;
}

.angebot-box > .dhplus-logo
{
  position: relative;
  color: #006633;
  text-align: center;
  font-size: 34px;
  top: 27px;
}

.angebot-box > .zeitraum
{
  position: relative;
  color: #006633;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  top: 27px;
}

.angebot-box > .old-price
{
  position: relative;
  color: #597a96;
  text-align: center;
  font-size: 16px;
  top: 40px;
  font-weight: 700;
  text-decoration: line-through;
}

.angebot-box > .current-price
{
  position: relative;
  color: #000000;
  text-align: center;
  font-size: 34px;
  top: 35px;
  font-weight: 700;
}

.angebot-box > .info
{
  position: relative;
  color: #000000;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  top: 45px;
}

.angebot-box > .bestellen
{
  text-align: center;
}

.angebot-box > .bestellen > button
{
  position: relative;
  background-color: #e84f1c;
  border: none;
  color: #ffffff;
  text-align: center;
  font-size: 18px;
  top: 55px;
  border-radius: 4px;
  padding: 10px 20px 10px 20px;
}

.angebot-box > .bestellen > button:hover
{
  background-color: #ca3e10;
}

.angebot-header
{
  text-align: center;
  padding-bottom: 35px;
  color: #ffffff;
}

.angebot-header > h2
{
  font-size: 32px;
}


@media (prefers-color-scheme: dark)
{
  .image-right-box
  {
    background-color: rgb(41, 56, 69);
    color: #ffffff;
  }

  .quad-tile > div
  {
    background-color: rgb(41, 56, 69);
    color: #ffffff;
  }
}



/* ##################### Allgemeine Media Queries ##################### */

@media (prefers-color-scheme: light)
{
  .nolight { display: none; }
}

@media (prefers-color-scheme: dark)
{
  .nodark { display: none; }
}

@media (max-width: 1008px)
{
  .errorbox
  {
    border-radius: 8px;
    background-size: 800px 533px;
  }
}

@media (max-width: 767px)
{
  .errorbox
  {
    border-radius: 0;
  }

  .nomobile
  {
    display: none !important;
  }
}


