:root {
  /* Hintergrund & Flächen */
  --color-bg: #FFFBF5;
  /* Ersetzt: #870000 (Dunkelrot) */
  --color-surface: #F2E8D5;
  /* Ersetzt: #190a05 (Schwarz-Braun) */
  --color-main-box: #FFFFFF;
  /* Ersetzt: #faeeee (Altrosa/Hell) */

  /* Texte & Kontraste */
  --color-text-main: #3D3530;
  /* Ersetzt: #fff (auf dunklem Grund) oder #660000 */
  --color-text-light: #8B6348;
  /* Ersetzt: Goldene/Gelbe Akzent-Texte */

  /* Akzente & Interaktion */
  --color-accent-warm: #C4956A;
  /* Ersetzt: Maroon oder dunkle Rottöne */
  --color-accent-stille: #5B8E7D;
  /* Ersetzt: Das grelle Grün (#75be07) */
  --color-link-hover: #8B6348;
}

/* CSS RESET & GENERAL STYLES */
*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
  /* inherits the border-box box-sizing from the body */
}

html {
  font-size: 45%;
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
  font-family: sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  overflow-x: hidden;
}

li {
  list-style: none;
}

a:link,
a:visited {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  /*color: black;*/
  transition: all 0.3s;
}

header a:hover,
footer a:hover {
  transform: scale(1.05);
}

img {
  /* border: 5px solid var(--color-text-main); */
  border-radius: 5px;
  max-width: 100%;
}

table {
  border-collapse: collapse;
}

th,
td {
  border: 2px solid var(--color-surface);
  padding: 1rem;
  text-align: center;
  padding: 2rem 1rem;
}

th {
  background-color: var(--color-text-light);
  color: #fff;
  border-color: var(--color-surface);
}

td {
  border: 2px solid var(--color-surface);
}

tbody tr:nth-child(odd) {
  background: var(--color-surface);
}

/* HEADER STYLES (MOBILE VIEW) */
.header {
  display: flex;
  font-size: 2.4rem;
  padding: 1.6rem;
}

.header__logo {
  padding-left: 1.6rem;
  font-family: "Dancing Script", cursive;
  font-size: 4rem;
  transform: translateY(-0.32rem);
  animation: slideInRight 1s ease-out;
}

.header__nav {
  animation: none;
}

.header__nav--main {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: -100%;
  width: 100vw;
  min-height: 100vh;
  height: 0;
  background-color: var(--color-surface);
  padding-top: 60px;
  padding-left: 30px;
  transition: left 0.5s;
  animation: none;
}

.header__nav--main.is-active {
  left: 0;
  height: auto;
}

.header__nav--main li a {
  padding: 1.6rem;
}

.header__nav--main li a.btn-newsletter {
  background-color: var(--color-accent-stille);
  color: white;
  border-radius: 20px;
  width: 93%;
  text-align: center;
}

.header__nav--dropdown {
  position: relative;
  max-width: 92%;
  background-color: #f9f9f9;
  color: var(--color-surface);
  color: var(--color-text-main);
  font-weight: bold;
  padding-left: 2rem;
  margin-bottom: 2rem;
  border-radius: 20px;
}

.header__nav--dropdown li a {
  font-size: 1.8rem;
}

.hamburger {
  display: block;
  z-index: 1000;
  animation: slideInLeft 1s ease-out;
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--color-accent-warm);
  appearance: none;
  outline: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.hamburger.is-active::before {
  transform: rotate(-45deg) translate(-8px, 6px);
}

.hamburger.is-active .hamburger__bar {
  opacity: 0;
}

.hamburger.is-active::after {
  transform: rotate(45deg) translate(-9px, -8px);
}

.hamburger__bar,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  width: 80%;
  height: 5px;
  background-color: var(--color-bg);
  margin: 6px auto;
  transition: 0.5s;
}

/* ANIMATION STYLES FOR THE HAMBURGER ICON AND LOGO */
.animateBar1 {
  animation: flipBar1 0.5s;
  animation-fill-mode: forwards;
}

.animateBar2 {
  animation: fadeBar2 0.5s;
  animation-fill-mode: forwards;
}

.animateBar3 {
  animation: flipBar3 0.5s;
  animation-fill-mode: forwards;
}

.hide-element {
  display: none;
}

.show-element {
  display: block !important;
}

.show-dropdown+.dropdown-content {
  display: block !important;
  margin-bottom: 1.5rem;
}

/* MAIN STYLES */
main {
  font-size: 2rem;
  background-color: var(--color-main-box);
  color: var(--color-text-main);
  border: 1px solid #E0D7C6;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 4.8rem 3.2rem;
  animation: fadeIn 1.5s ease-out;
}

main h1,
main h2,
main h3 {
  /* font-family: 'Cormorant Garamond', serif; */
  text-align: center;
  margin-top: 5.5rem;
  margin-bottom: 2rem;
}

main h1 {
  font-size: 3rem;
  font-size: 3.4rem;
  /* font-weight: 700; */
}

main h2 {
  font-size: 2.5rem;
  font-size: 2.8rem;
}

main p {
  line-height: 1.6;
  margin-bottom: 1.6rem;
  font-size: 2.3rem;
}

main a:link,
main a:visited {
  font-weight: bold;
  color: var(--color-accent-warm);
}

main a:hover {
  text-decoration: underline;
}

main ul li {
  color: hsl(65 93% 25% / 1);
  color: var(--color-text-main);
  padding: 1rem;
  margin-left: 1.5rem;
  /* list-style: disc; */
}

main ul li:last-child {
  margin-bottom: 3rem;
}

main ul li::before {
  /* content: "✔"; */
  color: var(--color-accent-stille);
  position: absolute;
  margin-right: 1px;
  margin-left: -25px;
  margin-top: -3px;
}

main ul.bio li {
  color: var(--color-surface);
}

main ul.bio li::before {
  content: "★";
  color: var(--color-surface);
  margin-right: 1px;
  margin-left: -25px;
  margin-top: -6px;
}

main ul li .greyed {
  color: rgb(224, 222, 222);
  font-size: 0.8em;
  font-style: italic;
  text-align: center;
}

.hero-section {
  font-size: 2rem;
  padding: 3rem;
  background-color: var(--color-surface);
  /* min-height: 18rem; */
}

.hs-index {
  /* background-image: linear-gradient(to right bottom,
      rgba(128, 0, 2, 0.8),
      rgba(129, 1, 0, 0.8)),
    url(../img/was-ist-awakening-tantra.jpg); */
  background-image: linear-gradient(to right bottom, rgba(255, 251, 245, 0.9), rgba(242, 232, 213, 0.8));
  background-size: cover;
  background-position: center;
}

.hs-was-ist-tantra {
  background-image: linear-gradient(to right bottom,
      rgba(128, 0, 2, 0.8),
      rgba(129, 1, 0, 0.8)),
    url(../img/tantra-awakening.jpg);
  background-size: cover;
  background-position: center;
}

.hs-institutsleitung {
  background-image: linear-gradient(to right bottom,
      rgba(128, 0, 2, 0.6),
      rgba(129, 1, 0, 0.6)),
    url(../img/nils-grunewald.jpg);
  background-size: cover;
  background-position: center;
}

.hero-quote {
  padding: 3rem 0;
  color: #ffef9e;
  animation: fadeIn 3s ease-out 1.5s backwards;
}

.hero-message {
  text-align: right;
  font-style: italic;
  padding: 1rem;
  margin-top: 5rem;
}

.hm-1 {
  color: var(--color-text-light);
  animation: slideInLeft 1s ease-out 2.5s backwards;
  font-weight: normal;
}

.hm-2 {
  color: var(--color-accent-stille);
  animation: slideInLeft 1s ease-out 3.5s backwards;
}

.content-img {
  max-width: 70%;
  display: flex;
  margin: 6rem auto;
}


.grid-container>div {
  background: var(--color-surface);
  color: var(--color-text-main);
  padding: 1.6rem;
  padding-left: 2.5rem;
  margin: 1rem;
  border-radius: 10px;
}

.grid-container>div li {
  color: var(--color-text-main);
}

.grid-container>div li::before {
  color: greenyellow;
}

.flex-container {
  display: flex;
  flex-direction: column;
}

.flex-container>div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-surface);
  color: var(--color-text-main);
  padding: 1.6rem;
  margin: 1rem;
  border-radius: 10px;
}

.flex-container li {
  color: white;
  text-align: left;
}

.flex-container li::before {
  color: greenyellow;
}

.auflistung {
  padding: 2rem 1rem;
}

.price-container {
  color: inherit !important;
  display: inline !important;
  text-align: center;
}

.price-container:hover {
  text-decoration: none;
}

.price {
  background-color: darkseagreen;
  font-weight: bold;
  padding: 1rem;
  border-radius: 10px;
}

.price.gold {
  background-color: #669b28;
}

.price.vip {
  background-color: #8324db;
}

.top-text,
.bottom-text,
.bottom-link:visited,
.bottom-link:link {
  font-weight: bold;
  text-align: center;
}

.top-text,
.bottom-text {
  font-style: italic;
}

.top-text {
  margin: 4rem 0;
}

.top-text.update {
  background-color: rgb(238, 164, 156);
  padding: 1rem;
}

.bottom-text {
  margin: 7rem 2rem;
}

.bottom-link:visited,
.bottom-link:link {
  display: block;
  background-color: var(--color-accent-warm);
  color: var(--color-main-box);
  border-radius: 10px;
  padding: 2rem 4rem;
  text-decoration: none;
}

.bottom-link:hover {
  background-color: var(--color-text-light);
}

#to-top-button {
  z-index: 9999;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #e63946 !important;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 24px;
  width: 50px;
  height: 50px;
  text-align: center;
}

#to-top-button:hover {
  background-color: #c9184a !important;
  transform: scale(1.1);
}

.featured-top {
  margin-top: 3rem;
}

/* FOOTER STYLES */
footer {
  padding: 1.6rem;
  font-size: 1.5rem;
  color: var(--color-accent-dark);
}

footer nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

footer nav ul li a {
  padding: 1rem;
}

/* UTILITY CLASSES */
.sub-text-h1 {
  font-size: 0.7em;
}

.align-center {
  text-align: center;
}

.italic-style {
  font-style: italic;
}

.float-left {
  float: left;
  width: 40%;
  margin-right: 3rem;
  margin-bottom: 2rem;
}

.float-right {
  float: right;
  width: 40%;
  margin-right: 3rem;
  margin-bottom: 2rem;
}

/* TABLET STYLES */
@media screen and (min-width: 746px) {
  html {
    font-size: 55%;
  }

  main {
    max-width: 1000px;
    margin: 3.2rem auto;
    border-radius: 5px;
  }

  .header {
    flex-direction: column;
    align-items: center;
  }

  .header__logo {
    padding-left: 0;
  }

  .header__nav {
    animation: slideInLeft 1s ease-out;
  }

  .header__nav--main {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0;
    min-height: 0;
    height: auto;
    background-color: transparent;
  }

  .header__nav--dropdown {
    display: none;
    position: absolute;
    color: var(--color-text-main);
    background-color: var(--color-main-box);
    border-radius: 20px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.05);
    padding-left: 0;
    font-weight: normal;
    border: 1px solid var(--color-surface);
  }

  .header__nav--main li:hover .header__nav--dropdown {
    display: block;
  }

  .header__nav--main li a.btn-newsletter {
    width: auto;
  }

  .hamburger {
    display: none;
  }

  .hero-message {
    padding-left: 8rem;
  }

  .hm-1 {
    animation: fadeIn 3s ease-out 2.5s backwards;
  }

  .hm-2 {
    animation: fadeIn 3s ease-out 3.5s backwards;
  }

  .float-left {
    width: 35%;
  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-container>div {
    padding-left: 1.6rem;
  }

  .flex-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
  }
}

/* DESKTOP STYLES */
@media screen and (min-width: 1101px) {
  html {
    font-size: 62.5%;
  }

  .header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .header__logo {
    padding-left: 1.6rem;
  }

  .header__nav--main {
    width: auto;
  }

  .hero-message {
    padding-left: 15rem;
  }
}

/* KEYFRAME ANIMATION STYLES */
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translate(-100vw, -0.32rem);
  }

  80% {
    transform: translate(3vw, -0.32rem);
  }

  100% {
    opacity: 1;
    transform: translate(0, -0.32rem);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(100vw);
  }

  80% {
    transform: translateX(-3vw);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes flipBar1 {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(45deg) translate(2px, 6px);
  }
}

@keyframes fadeBar2 {
  from {
    transform: scale(1);
    opacity: 1;
  }

  to {
    transform: scale(0);
    opacity: 0;
  }
}

@keyframes flipBar3 {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(-45deg) translate(4px, -10px);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}