:root {
  --text-main: rgb(221, 221, 221);
  --light-grey: rgba(255, 255, 255, 0.2);
  --dark-grey: rgba(64, 64, 64, 0.3);
  --text-2: rgb(221, 221, 221);
  --dark-color: rgb(165, 165, 165);
  --gradient-1: rgb(109, 7, 7);
  --gradient-2: #66191d;
  --gradient-3: #8d8d8d;
}

* {
  box-sizing: border-box;
  font-family: 'Roboto', Arial, sans-serif;
}

body {
  margin: 0;
  color: var(--text-main);
  background-color: rgb(53, 2, 2);
}


/*----------------Hintergrund------------------*/

.spacer {
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: absolute;
  top: 0;
  z-index: -1;
}

.layer1 {
  background-image: url(./layered-peaks-haikei.svg);
}

/*---------------------Button---------------------*/

.btn {
  padding: 18px 25px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  color: var(--text-main); 
  border: 1px solid var(--light-grey);
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  margin-bottom: 5px;
  margin-top: auto;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: var(--dark-grey);
  border-color: var(--light-grey);
  box-shadow: 0 0 25px var(--dark-grey);
}

/*---------------Cards---------------*/

.card {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-start;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  background-color: var(--dark-grey);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin: 3vh auto;
  z-index: 9;
  border: 1px solid var(--light-grey);
  border-radius: 20px;
  padding: 20px 30px 20px 30px;
  max-width: 400px;
  min-width: 270px;
}

/*--------------Navigation-Bar-------------*/

.navigation-bar {
  display: flex;
  align-self: top;
  align-items: center;
  z-index: 10;
  width: 100%;
  height: 75px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--light-grey);
  background: var(--dark-grey);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.headline {
  position: absolute;
  display: fixed;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 17px 0 0 30px;
  z-index: 1001;
}

/*------Paragraph (der Text außerhalb der Boxen)------*/

.paragraph {
  margin: 30px 30px 15px 30px;
}

.paragraph-header {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.paragraph-subtitle {
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
}

.paragraph-text {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

/*------------Container (box content)-------------*/

.container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px;
  gap: 20px;
}

.box-img-div {
  height: 150px;
  width: 100%;
  background-color: rgb(165, 42, 42);
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/*hier für Mobilversion die Bildhöhe angepasst*/
@media (max-width: 1000px) {
  .box-img-div {
    height: 225px;
  }
}

.box-img {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.box-title {
  color: var(--gradient-3);
  font-size: 22px;
  font-weight: 600;
  margin: 15px 0 0 0;
}

.box-title2 {
  font-size: 20px;
  font-weight: bold;
  margin: 15px 0 0 0;
}

.box-text {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;  
  margin: 20px 0 10px 0;
}

details {
  margin-bottom: 12px;
  padding: 10px;
  border-bottom: 1px solid var(--light-grey);
}

/* Die klickbare Frage */
summary {
  font-weight: bold;
  cursor: pointer;
}

details p {
  margin-top: 8px;
  color: #333;
}

/*------------side menu-------------*/

.btn_menu {
  position: fixed;
  top: 16.5px;
  right: 20px;
  z-index: 2001;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.btn_menu.open {
  transform: rotate(-90deg);
}

.bar1, .bar2, .bar3 {
  width: 30px;
  height: 5px;
  background-color: var(--text-main);
  margin: 6px 0;
  border-radius: 1px;
}

.side_menu {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  border: 1px solid var(--text-light);
  color: white;
  height: 100%;
  z-index: 2000;
  transition: right 0.3s ease;
  box-sizing: border-box;
  padding: 60px 20px;
  background-image: url(./layered-peaks-haikei.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

.side_menu.open {
  right: 0;
}

.menu_options {
  display: block;
  margin: 40px 0 0 0;
  font-weight: 300;
  font-size: 24px;
}

.menu_text {
  border-bottom: 1px solid var(--text-main);
  margin: 0;
  padding: 10px 0 10px 0;
  transition: padding 0.2s;
}

.menu_text:hover {
  cursor: pointer;
  padding-left: 7px;
}

