/*GENERAL*/

:root {
  --color-one: white;
  --color-two: black;
  --color-three: rgba(84, 94, 233, 0.233);
  --color-four: rgb(240, 240, 240);
  --color-five: #abd2ba;
  --color-six: #55a675;
  --color-seven: rgb(217, 224, 219);
}

@font-face {
  font-family: "GT-Standart";
  src: url("/assets/font/GT-Standard-M-Standard-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "GT-Standart";
  src: url("/assets/font/GT-Standard-M-Standard-Light-Oblique.woff2")
    format("woff2");
  font-weight: 300;
  font-style: oblique;
}

@font-face {
  font-family: "GT-Standart";
  src: url("/assets/font/GT-Standard-M-Standard-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "GT-Standart";
  src: url("/assets/font/GT-Standard-M-Standard-Medium-Oblique.woff2")
    format("woff2");
  font-weight: 500;
  font-style: oblique;
}

@font-face {
  font-family: "GT-Standart";
  src: url("/assets/font/GT-Standard-M-Standard-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

*,
*:before,
*:after {
  border: 0px;
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

/* Hide scrollbar for Chrome, Safari and Opera */

*::-webkit-scrollbar {
  display: none;
}

html,
body {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  overflow: none;
  color: var(--color-two);
  position: relative;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  margin: 0px;
  padding: 0px;
  font-family: "Gt-Standart", sans-serif;
  font-size: 1.2rem;
  line-height: 1.8rem;
  -webkit-appearance: none;
  text-rendering: optimizeLegibility;
  font-weight: 200;
  text-align: left;
  overflow-x: hidden;
}

h1 {
  font-size: 1.6rem;
  font-family: "Gt-Standart", sans-serif;
  font-weight: 600;
}

h2 {
  font-size: 1.2rem;
  font-family: "Gt-Standart", sans-serif;
  font-weight: 600;
  line-height: 2rem;
}

.h2 {
  font-size: 1.2rem;
  font-family: "Gt-Standart", sans-serif;
  font-weight: 600;
  line-height: 2rem;
}

h3 {
  font-size: 1.1rem;
  font-family: "Gt-Standart", sans-serif;
  font-weight: 600;
}

strong {
  font-family: "Gt-Standart", sans-serif;
  font-weight: 600;
}

a {
  font-family: "Gt-Standart", sans-serif;
  font-weight: 800;
  color: var(--color-two);
  text-decoration: none;
}

video {
  max-width: 600px;
}

img {
  width: 100%;
  display: block;
}

input[type="search"] {
  border: 2px solid black;
  font-size: 1.8rem;
  border-radius: 10px;
  width: 100%;
}

p {
  margin-bottom: 1rem;
}

li {
  list-style: none;
}

::selection {
  background: blue;
}

::-moz-selection {
  background: blue;
}

.debug {
  outline: 2px solid red;
}

.container-fluid {
  margin: 0;
  padding: 0px;
}

div#wrapper {
  max-width: 100vw;
  min-width: 100vw;
}

.padding-20 {
  padding: 20px 20px 20px 20px !important;
}

.text-align-left {
  text-align: left;
}
/*//////////////////////////////////////////*/

/* W R A P P E R */

#wrapper {
  position: relative;
  margin: 0px;
  padding: 0px;
  margin-bottom: 0px;
}

/*//////////////////////////////////////////*/

/* H E A D E R */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  margin: 0;
  padding: 0;
  background: var(--color-one) !important;
}

header .row {
  padding: 0px !important;
  margin: 0px !important;
}

/*//////////////////////////////////////////*/

/* C O N T E N T */

section {
  position: relative;
}

main {
  margin: 130px 0 80px 0 !important;
}

hr {
  height: 3px;
  background: #ffffff;
  margin: 20px 0 0px 0;
}

main hr {
  height: 3px;
  background: #000000;
  margin: 20px 0 0px 0;
}

/*shaking element*/

@keyframes tilt-shaking {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(0eg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.shop-button-add {
  font-weight: bold !important;
  cursor: pointer;
  color: blue;
}

/*//////////////////////////////////////////*/

/* TEMPLATE: HOME */

/*//////////////////////////////////////////*/

.aktuell-wrapper {
  background: none;
  padding: 50px 0 50px 0;
}

.aktuell-wrapper img {
  margin-bottom: 20px;
}

.agenda-wrapper {
  background: var(--color-five);
  padding: 50px 0 50px 0;
}

.agenda-wrapper .news .news-article {
  padding: 10px 10px 10px 10px;
  background: white;
  background-clip: content-box;
}

article.news img {
  padding: 0px;
  background: white;
  min-height: 600px;
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 70vw;
  max-height: 70vh;
  background: white;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  padding: 40px;
}

.modal.active {
  display: block;
  opacity: 1;
}

.open-modal-parent {
  height: 100%;
}

.open-modal {
  position: relative;
  cursor: pointer;
  min-height: 30px;
  min-width: 30px;
  cursor: pointer;
}

.open-modal span {
  position: absolute;
  background-color: #000;
  top: 50%;
  left: 50%;
  max-width: 30px;
  max-height: 30px;
  transform: translate(-50%, -50%);
}

.open-modal span:first-child {
  width: 100%;
  height: 2px;
}

.open-modal span:last-child {
  width: 2px;
  height: 100%;
}

.close-modal {
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: sticky;
  top: 10px; /* nicht right/left */
  align-self: flex-end; /* falls in einem Flex-Container */
  margin-left: auto; /* oder margin-right: 10px */
}

.close-modal span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #000000;
  top: 50%;
  left: 50%;
}

.close-modal span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-modal span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.only-mobile {
  display: none;
}

/*//////////////////////////////////////////*/

/* TEMPLATE: PAGE */

/*//////////////////////////////////////////*/

/*//////////////////////////////////////////*/

/* TEMPLATE: TITEL-OVERVIEW */

#titel-overview .image-box {
  min-height: 550px;
  max-height: 550px;
  overflow: hidden;
  margin: 20px 0 20px 0;
}

#titel-overview .image-box img {
  width: 100%;
  height: auto;
}

#titel-overview .item {
  margin: 0 0 40px 0;
}

#titel-overview .item a {
  font-weight: 200;
}

#titel-overview .item a:hover {
  font-weight: bold;
}

.bold {
  font-weight: bold !important;
}

#titel-overview main hr {
  margin: 20px 0 20px 0;
}

/* TEMPLATE: TITEL */

.title {
  margin: 0 0 30px 0;
}

.cover {
  margin: 0 0 40px 0;
}

.cover img {
  min-width: 100% !important;
}

/* TEMPLATE: TITEL */

#title main hr {
  margin: 60px 0 60px 0;
}

#title .klappentext {
  font-style: oblique;
  font-weight: 200;
}

#title .text {
  padding: 0 120px 0 0;
}

#title .press {
  font-style: oblique;
  font-weight: 200;
}

/* TEMPLATE: AUTOREN-OVERVIEW */

#autoren-overview .image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #ee8888;
  margin: 20px 0 20px 0;
}

#autoren-overview .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#autoren-overview .item {
  margin: 0 0 40px 0;
}

#autoren-overview .item a {
  font-weight: 200;
}

#autoren-overview .item a:hover {
  font-weight: bold;
}

#autoren-overview .item a.bold {
  font-weight: bold !important;
}

#autoren main hr {
  margin: 60px 0 60px 0;
}

/* S E A R C H*/

#search-field {
  display: none;
  padding: 10px;
  font-size: 1rem;
}

/*//////////////////////////////////////////*/

/* TEMPLATE: SEARCH */

#search .item {
  margin: 0 0 40px 0;
}

#search .item a {
  font-weight: 200;
}

#search .item a:hover {
  font-weight: bold;
}

#search .item a.bold {
  font-weight: bold !important;
}

#search .autoren > .image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #ee8888;
  margin: 20px 0 20px 0;
}

#search .autoren > .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*//////////////////////////////////////////*/

/* F O O T E R */

footer {
  color: var(--color-one);
  background: var(--color-six);
}

footer a {
  color: var(--color-one) !important;
  font-weight: bold;
}

footer div.footer-inner {
  position: relative;
  margin: 0px 0 0 0;
  max-width: 100vw;
  padding: 40px 10px 120px 10px;
}

/*//////////////////////////////////////////*/

/*N A V I G A T I O N*/

nav {
  background: none;
  margin: 0px;
  padding: 0px;
  min-width: 100vw;
}

#navigation {
  position: relative;
}

#logo {
  font-size: 3rem;
  font-weight: bold;
}

#navigation #navigation-wrapper div#menu-button {
  cursor: pointer;
}

#navigation #navigation-wrapper {
  height: 130px;
  padding: 0px;
  margin: 0px 0 0 0px;
}

#navigation #navigation-wrapper div#menu-button #status {
  cursor: pointer;
  border-bottom: 4px solid black;
  width: fit-content;
  font-size: 1.8rem;
  font-weight: bold;
}

div#navigation-control {
  position: relative;
  background: none;
  height: 100%;
  min-width: 100vw;
  max-width: 100vw;
}

body#title-page div#status {
  opacity: 0;
}

div#navigation-content {
  position: relative;
  display: none;
  margin: 0px 0 0 0;
  background: var(--color-seven) !important;
  padding: 30px;
  line-height: 2.4rem;
  font-size: 1.6rem;
}

div#navigation-content .section {
  margin-bottom: 20px;
}

div#navigation-content .section hr {
  border-bottom: 3px solid black;
}

nav div#navigation-content div.navigation-content-inner {
  position: relative;
  overflow: scroll;
}

nav a {
  font-weight: 200;
  text-decoration: none;
}

nav a.active {
  font-weight: bold !important;
  text-decoration: none;
}

nav a:hover {
  font-weight: bold !important;
  text-decoration: none;
}

#warenkorb #form-val-error {
  position: fixed;
  z-index: 2;
  background: white;
  color: black;
  max-width: 50vw;
  padding: 20px;
  outline: 3px solid silver;
  border-radius: 10px;
  display: none;

  /* Zentrieren */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#warenkorb #form-val-error div {
  display: none;
}

#warenkorb .text {
  padding: 20px;
}

#warenkorb .container a {
  color: blue;
}

.basket-list {
  border-top: 4px solid black;
  padding-top: 40px;
}

.list-head div {
  font-weight: bold;
  margin: 0 0 20px 0;
}

#warenkorb #shop-form,
fieldset {
  min-width: 100% !important;
  padding: 0px !important;
}

@keyframes tilt-shaking {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

div#shop-basket-button {
  display: block;
  background: black;
  color: white;
  padding: 5px;
  position: fixed;
  right: 10px;
  bottom: 10px;
}

.wobble {
  animation-name: tilt-shaking;
  animation-duration: 1.2s;
  animation-fill-mode: forwards;
}

#warenkorb div#shop-basket-button {
  display: none !important;
}

#warenkorb .list-item > div {
  margin: 0 0 15px 0;
}

#warenkorb select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: var(--color-five);
  font-size: 16px;
  cursor: pointer;
}

fieldset {
  margin: 0px;
  padding: 0;
  border: 1px solid #c0c0c0;
}

#warenkorb .trash-icon {
  max-width: 15px;
  margin-left: 10px;
}

#warenkorb input {
  width: 100%;
  background-color: var(--color-five);
}

#warenkorb input#agb {
  width: auto;
}

#warenkorb input.submit {
  width: 100%;
}

#warenkorb input.submit:hover {
  width: 100%;
  color: black;
  font-weight: bold;
}

#warenkorb textarea {
  width: 100%;
}

#warenkorb form .row {
  margin: 0 0 10px 0;
}

.shop-form {
  margin: 0;
  padding: 0;
}

.shop-form fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

.submit {
  background: black;
  color: white;
  font-size: 1.2rem;
  padding: 20px;
}

input,
textarea {
  background-color: var(--color-five);
  padding: 10px;
}

@media screen and (min-width: 1300px) and (max-width: 1500px) {
  div.container {
    padding: 20px;
  }

  #logo {
    font-size: 2.2rem;
  }

  .only-mobile {
    display: block;
  }

  div#navigation-content {
    position: relative;
    display: none;
    margin: 0px 0 0 0;
    background: var(--color-seven) !important;
    padding: 30px;
    line-height: 2rem;
    font-size: 1.2rem;
  }
  #title img {
    min-width: 90%;
    max-width: 90%;
  }

  .container {
    max-width: 100vw;
    background: rgb(18, 128, 218);
  }
}

@media screen and (min-width: 1000px) and (max-width: 1300px) {
  .container {
    max-width: 100vw;
  }
  article.news img {
    height: auto;
    min-height: auto;
    object-fit: contain;
    padding: 0px;
  }

  h1 {
    font-size: 1.2rem;
  }

  body#home h2 {
    font-size: 1.2rem;
    line-height: 2rem;
    padding: 20px;
  }

  h2 {
    font-size: 1.2rem;
    line-height: 2rem;
  }

  .h2 {
    font-size: 1.2rem;

    line-height: 2rem;
  }

  h3 {
    font-size: 1.1rem;
    font-weight: 600;
  }

  main {
    padding: 30px 20px 20px 20px;
  }

  .only-mobile {
    display: block;
  }
  div#navigation-content {
    min-height: 90vh !important;
    max-height: 90vh !important;
    min-width: 100vw;
    max-width: 100vw;

    overflow: hidden;
    left: 0px;
  }

  #titel-overview .item {
    min-width: 100vw;
  }

  #titel-overview hr {
    background: none;
  }

  #autoren-overview hr {
    background: none;
  }

  #page hr {
    background: none;
  }

  #title img {
    min-width: 90%;
    max-width: 90%;
  }

  #search hr {
    background: none;
  }

  #search .item {
    min-width: 100vw;
  }

  #page img {
    min-width: 100%;
  }

  #autoren-overview .text {
    padding: 0 10px 0 10px;
  }

  .text {
    padding: 0 20px 0 20px;
    display: block;
  }

  #title .text {
    padding: 0 20px 0 20px;
  }

  #logo {
    font-size: 1.5rem;
  }

  .logo-wrapper {
    order: 1;

    position: fixed;
    left: 10px;
  }
  .search-box {
    order: 3;
    padding: 0 30px 0 30px;
  }

  .menu-box {
    order: 2;
    position: fixed;
    right: 10px;
  }

  #navigation {
    left: 0px;
  }

  #navigation #navigation-wrapper {
    height: 50px;
    padding: 0px;
    margin: 0px;
  }

  nav #navigation-content {
    padding: 30px;
    line-height: 2.4rem;
    font-size: 1.1rem;
    overflow: scroll;
    position: relative;
    left: 0px;
    position: fixed;
  }

  nav {
    background: none;
    margin: 10px;
    padding: 0px;
    left: 0px;
    position: relative;
    min-width: 100vw;
    z-index: 2;
    background: white;
  }

  main {
    max-width: 100vw;
    min-width: 100vw;
    padding: 0px;
    margin: 70px 0 80px 0 !important;
  }

  body#search main {
    margin: 120px 0 0 0 !important;
  }

  body#search #navigation #navigation-wrapper {
    height: 120px;
    padding: 0px;
    margin: 0px;
  }

  .row {
    padding: 0px;
    margin: 0px;
  }

  p {
    max-width: 90vw;
  }

  #status {
    display: none;
  }

  #search-link {
    display: none;
  }

  #menu-button {
    width: 30px !important;
    height: 30px !important;
    cursor: pointer;
    margin-top: 8px;
  }

  #menu-button span {
    width: 30px !important;
    height: 3px !important;
    cursor: pointer;
    border: 2px solid black;
    margin-bottom: 4px;
    margin-left: -8px;
    display: block;
  }

  body {
    font-size: 1.1rem;
    line-height: 1.8rem;
  }

  .modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 90vw;

    max-width: 90vw;
    max-height: 90vh;

    background: white;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    padding: 10px;
  }

  .open-modal span {
    margin-left: -10px !important;
  }

  footer {
    padding: 0 10px 0 10px !important;
  }
}

@media screen and (min-width: 0px) and (max-width: 1000px) {
  h1 {
    font-size: 1.2rem;
  }

  body#home h2 {
    font-size: 1.2rem;
    line-height: 2rem;
    padding: 20px;
  }

  h2 {
    font-size: 1.2rem;
    line-height: 2rem;
  }

  .h2 {
    font-size: 1.2rem;

    line-height: 2rem;
  }

  h3 {
    font-size: 1.1rem;
    font-weight: 600;
  }

  main {
    padding: 30px 20px 20px 20px;
  }
  .image-box {
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .image-box img {
    width: 100%;
    height: auto;
    display: block;
  }

  .only-mobile {
    display: block;
  }
  div#navigation-content {
    min-height: 90vh !important;
    max-height: 90vh !important;
    min-width: 100vw;
    max-width: 100vw;

    overflow: hidden;
    left: 0px;
  }

  #titel-overview .item {
    min-width: 100vw;
  }

  #titel-overview hr {
    background: none;
  }

  #autoren-overview hr {
    background: none;
  }

  #page hr {
    background: none;
  }

  #search hr {
    background: none;
  }

  #search .item {
    min-width: 100vw;
  }

  #page img {
    min-width: 100%;
  }

  #autoren-overview .text {
    padding: 0 10px 0 10px;
  }

  .text {
    padding: 0 20px 0 20px;
    display: block;
  }

  #title .text {
    padding: 0 20px 0 20px;
  }

  #logo {
    font-size: 1.5rem;
  }

  .logo-wrapper {
    order: 1;

    position: fixed;
    left: 10px;
  }
  .search-box {
    order: 3;
    padding: 0 30px 0 30px;
  }

  .menu-box {
    order: 2;
    position: fixed;
    right: 10px;
  }

  #navigation {
    left: 0px;
  }

  #navigation #navigation-wrapper {
    height: 50px;
    padding: 0px;
    margin: 0px;
  }

  nav #navigation-content {
    padding: 30px;
    line-height: 2.4rem;
    font-size: 1.1rem;
    overflow: scroll;
    position: relative;
    left: 0px;
    position: fixed;
  }

  nav {
    background: none;
    margin: 10px;
    padding: 0px;
    left: 0px;
    position: relative;
    min-width: 100vw;
    z-index: 2;
    background: white;
  }

  main {
    max-width: 100vw;
    min-width: 100vw;
    padding: 0px;
    margin: 70px 0 80px 0 !important;
  }

  body#search main {
    margin: 120px 0 0 0 !important;
  }

  body#search #navigation #navigation-wrapper {
    height: 120px;
    padding: 0px;
    margin: 0px;
  }

  .row {
    padding: 0px;
    margin: 0px;
  }

  p {
    max-width: 90vw;
  }

  #status {
    display: none;
  }

  #search-link {
    display: none;
  }

  #menu-button {
    width: 30px !important;
    height: 30px !important;
    cursor: pointer;
    margin-top: 8px;
  }

  #menu-button span {
    width: 30px !important;
    height: 3px !important;
    cursor: pointer;
    border: 2px solid black;
    margin-bottom: 4px;
    margin-left: -8px;
    display: block;
  }

  body {
    font-size: 1.1rem;
    line-height: 1.8rem;
  }

  .modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 90vw;

    max-width: 90vw;
    max-height: 90vh;

    background: white;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    padding: 10px;
  }

  article.news img {
    height: auto;
    min-height: auto;
    object-fit: contain;
    padding: 0px;
  }

  .open-modal span {
    margin-left: -10px !important;
  }

  footer {
    padding: 0 10px 0 10px !important;
  }
}
